Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
de7e2b36
SM
12012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4 * emacs-lisp/cl-macs.el: Provide itself.
5 (cl--labels-convert-cache): New var.
6 (cl--labels-convert): New function.
7 (cl-flet, cl-labels): New implementation with new semantics, relying on
8 lexical-binding.
9 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10 (cl-closure-vars, cl--function-convert-cache)
11 (cl--function-convert): Move from cl-macs.el.
12 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13 rename by removing the "cl-" prefix.
14 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
15
6fa6c4ae
SM
162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
19 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
20 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
21 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
22 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
23 (cl-hash-table-count): Add old compatibility aliases.
24
25 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
26 Use macroexpand-all-environment instead.
27 (cl--old-macroexpand): New var.
28 (cl--sm-macroexpand): New function.
29 (cl-symbol-macrolet): Use it during macro expansion.
30 (cl--function-convert-cache): New var.
31 (cl--function-convert): New function, extracted from
32 cl-macroexpand-all.
33 (cl-lexical-let): Use it.
34
35 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
36 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
37 (cl-member): Remove old alias.
38
39 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
40 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
41 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
42 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
43 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
44 (cl-macroexpand-cmacs): Remove var.
45 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
46 Use macroexpand-all instead.
47
4dd1c416
SM
482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
51 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
52 (macroexp-copyable-p): New functions and macros.
53 * emacs-lisp/edebug.el (edebug-unwrap):
54 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
55 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
56 (pcase--let*): Remove.
57 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
58 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
59 macroexp-const-p instead.
60 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
61
62 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
63 instead of "cl-" for internal definitions. Use macroexp-const-p.
64 (cl-old-bc-file-form): Remove var.
65 (cl-const-exprs-p): Remove fun.
66 (cl-labels, cl-macrolet): Use backquote.
67 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
68 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
69 (cl-define-setf-expander): Rename from cl-define-setf-method.
70 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
71
72 * international/mule-cmds.el: Don't require CL.
73 (view-hello-file): Don't use `letf'.
74
ed8bd4d7
SM
752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
76
7287f2f3
SM
77 * tmm.el (tmm-prompt): Use string-prefix-p.
78 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
79 (tmm-add-prompt): Use minibuffer-completion-help.
80 (tmm-delete-map): Remove.
81
ed8bd4d7
SM
82 * subr.el (kbd): Make it its own function.
83
7b4cdbf4
SM
842012-06-07 Stefan Merten <smerten@oekonux.de>
85
86 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
87 Silence compiler warnings. Fix versions.
ed8bd4d7 88 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 89 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 90 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
91 (rst-package-emacs-version-alist): Correct Emacs version to
92 represent major merge with upstream.
ed8bd4d7 93 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 94
2b48d721
GM
952012-06-06 Glenn Morris <rgm@gnu.org>
96
97 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
98 Only print environment variables if set.
99
fa779ab0
SM
1002012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
103 (macroexp--cons): Rename from maybe-cons.
104 (macroexp--accumulate): Rename from macroexp-accumulate.
105 (macroexp--all-forms): Rename from macroexpand-all-forms.
106 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
107 (macroexp--expand-all): Rename from macroexpand-all-1.
108
628299e0
SS
1092012-06-06 Sam Steingold <sds@gnu.org>
110
111 * calendar/calendar.el (calendar-in-read-only-buffer):
112 Call `special-mode' to enable the standard read-only keybindings.
113
b7bb5838
SM
1142012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
117 with "loading" messages (bug#11635).
118
dfb308ba
MA
1192012-06-06 Michael Albinus <michael.albinus@gmx.de>
120
121 * files.el (enable-remote-dir-locals): New option.
122 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
123
0372ee92
MA
124 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
125 Ensure, that the temp directory is local.
126
127 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
128 `temporary-file-directory'.
129
eed0bb91
MA
130 * progmodes/python.el (python-send-region): Ensure, that the
131 temporary file is created also in the remote case.
132
7a58f64d
GM
1332012-06-06 Glenn Morris <rgm@gnu.org>
134
f7dd4e98
GM
135 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
136 (vc-rcs-update-changelog): Use it.
137
276d5f5d
GM
138 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
139
7a58f64d
GM
140 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
141 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
142 (vc-sccs-diff): Replace use of the external vcdiff script.
143
daed4003
GM
1442012-06-05 Glenn Morris <rgm@gnu.org>
145
146 * ledit.el: Move to obsolete/.
147
48c455c7
SS
1482012-06-05 Sam Steingold <sds@gnu.org>
149
150 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
151 patch (Bug#11140).
152
57a7d507
SM
1532012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
154
d32926ff
SM
155 * emacs-list/cust-print.el: Move to obsolete.
156
53aacf21
SM
157 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
158 compiler-macro expansion.
159
57a7d507
SM
160 Add native compiler-macro support.
161 * emacs-lisp/macroexp.el (macroexpand-all-1):
162 Support compiler-macros directly. Properly follow aliases and apply
163 the compiler macros more thoroughly.
164 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
165 macroexpand now properly follows aliases.
166 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
167 (cl-compiler-macroexpand): Use new prop.
168 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
169
170 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
171
51a5f9d8
MR
1722012-06-05 Martin Rudalics <rudalics@gmx.at>
173
174 * window.el (get-lru-window, get-mru-window, get-largest-window):
175 New argument NOT-SELECTED to avoid picking the selected window.
176 (window--display-buffer-1, window--display-buffer-2): Replace by
177 new function window--display-buffer
178 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
179 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
180 Use window--display-buffer.
51a5f9d8
MR
181 (display-buffer-use-some-window): Remove temporary dedication
182 hack by calling get-lru-window and get-largest-window with
183 NOT-SELECTED argument non-nil. Call window--display-buffer.
184
08f9f738
GM
1852012-06-05 Glenn Morris <rgm@gnu.org>
186
187 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
188 Replace external vcdiff script.
189
e364a2b7
SM
1902012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
193
041df390
CY
1942012-06-04 Chong Yidong <cyd@gnu.org>
195
e364a2b7
SM
196 * image.el (imagemagick-types-inhibit): Revert last change.
197 Add INFO and M.
47b36b94 198 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 199
7c1898a7
SM
2002012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emacs-lisp/cl-lib.el: Rename from cl.el.
203 * emacs-lisp/cl.el: New compatibility file.
204 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
205 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
206 to obey the "cl-" prefix.
207 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
208
0c3461de
GM
2092012-06-03 Glenn Morris <rgm@gnu.org>
210
1e266c88
GM
211 * emacs-lisp/authors.el (authors-aliases): Addition.
212
0c3461de
GM
213 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
214 Fix :version.
215
d8a52e15
SM
2162012-06-03 Stefan Merten <smerten@oekonux.de>
217
218 * textmodes/rst.el: Add comments.
219 (rst-transition, rst-adornment): New faces.
220 (rst-adornment-faces-alist): Make default safe to reevaluate.
221 Fixes
222 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
223 Improve customization tags.
224 (rst-define-level-faces): Clarify meaning.
225
5205d6f6
CY
2262012-06-03 Chong Yidong <cyd@gnu.org>
227
228 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
229 (compilation-mode-line-run, compilation-mode-line-exit):
230 New faces.
5205d6f6
CY
231 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
232
757ee657
JD
2332012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
234
7c1898a7
SM
235 * progmodes/which-func.el (which-func-update-ediff-windows):
236 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 237
5f2c76c6
CY
2382012-06-03 Chong Yidong <cyd@gnu.org>
239
240 * bindings.el: Remove explicit help text from format-mode-line.
241 It is now supplied by mode-line-default-help-echo.
242 (mode-line-front-space, mode-line-end-spaces)
243 (mode-line-misc-info): New variables.
244 (mode-line-modes, mode-line-position): Move the default value to
245 the variable definition.
246 (mode-line-default-help-echo): New defcustom.
383f7350
CY
247 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
248 (mode-line-modified-help-echo): New functions.
249 (mode-line-mule-info, mode-line-modified): Use them.
250 (mode-line-eol-desc, propertized-buffer-identification):
251 Consistency fixes for help text.
cbe46e5f
CY
252 (mode-line-coding-system-map): Allow using mouse-3 to invoke
253 set-buffer-file-coding-system (Bug#289).
254 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 255
f2d6a3df
SM
2562012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * simple.el (execute-extended-command): Set real-this-command
259 (bug#11506).
260
37269466
CY
2612012-06-02 Chong Yidong <cyd@gnu.org>
262
263 Remove incorrect uses of "modeline" in comments, docstrings, and
264 function/variable names (Bug#10329).
265
266 * cus-edit.el (mode-line):
267 * dframe.el (dframe-mouse-hscroll):
268 * emacs-lisp/re-builder.el:
269 * emacs-lisp/easy-mmode.el (define-minor-mode):
270 * frame.el (set-frame-name):
271 * help.el (lookup-minor-mode-from-indicator):
272 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
273 * progmodes/cc-cmds.el (c-toggle-auto-newline)
274 (c-toggle-hungry-state):
275 * progmodes/antlr-mode.el (antlr-language-alist):
276 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
277 * progmodes/vhdl-mode.el (vhdl-mode):
278 * progmodes/which-func.el (which-func, which-func-cleanup-function):
279 * term/ns-win.el (ns-face-at-pos):
280 * term/sup-mouse.el (sup-mouse-report):
281 * textmodes/flyspell.el (flyspell-mode-line-string):
282 * textmodes/ispell.el (ispell-highlight-face):
283 * textmodes/reftex-global.el:
284 * vc/vc-arch.el (vc-arch-mode-line-string):
285 * vc/vc-cvs.el (vc-cvs-mode-line-string):
286 * vc/vc-git.el (vc-git-mode-line-string):
287 * vc/vc-hooks.el (vc-display-status)
288 (vc-default-mode-line-string):
289 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
290
291 * ansi-color.el (ansi-color-faces-vector): Change default faces.
292
293 * dired.el (dired-sort-set-mode-line): Rename from
294 dired-sort-set-modeline. All callers changed.
295
296 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
297 eshell-status-in-modeline.
298
299 * foldout.el (foldout-mode-line-string): Rename from
300 foldout-modeline-string. All callers changed.
301 (foldout-update-mode-line): Rename from foldout-update-modeline.
302
303 * subr.el (redraw-modeline): Make into obsolete alias.
304
305 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
306 timeclock-modeline-display. Make old name an alias.
307 (timeclock-update-mode-line): Likewise. All callers changed.
308 (timeclock-mode-line-display): No need to check before using
309 add-hook.
310 (timeclock-relative, timeclock-day-over-hook)
311 (timeclock-use-elapsed, timeclock-mode-string)
312 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
313
314 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
315 crisp-mode-modeline-string.
316
317 * play/solitaire.el (solitaire-build-mode-line): Rename from
318 solitaire-build-modeline. All callers changed.
319
320 * play/zone.el (zone-hiding-mode-line): Rename from
321 zone-hiding-modeline. All callers changed.
322 (zone): Remove unusued `modeline-hidden-level' property.
323
324 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
325 xscheme-modeline-initialize. All callers changed.
326
327 * strokes.el (strokes-lighter): Rename from
328 strokes-modeline-string.
329
330 * textmodes/sgml-mode.el (html-face-tag-alist)
331 (html-tag-face-alist): Use mode-line face instead of obsolete
332 alias modeline.
333
42152ee4
SM
3342012-06-02 Stefan Merten <smerten@oekonux.de>
335
336 * textmodes/rst.el: Always require `cl'.
4cf9b38d 337 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 338
95f520b5
CY
3392012-06-02 Chong Yidong <cyd@gnu.org>
340
341 * image.el (imagemagick-enabled-types): Rename from
342 imagemagick-types-enable. Add many more types.
343 (imagemagick-types-inhibit): Change default to nil.
344 (imagemagick-filter-types): Caller changed.
345
4a5f187a
SM
3462012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
347
03fef3e6
SM
348 * emacs-lisp/cl-macs.el: Use backquotes.
349 (cl-transform-function-property): Use eval-and-compile rather than
350 abusing `require'.
351 (defstruct): Use declare-function instead of with-no-warnings.
352
4a5f187a
SM
353 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
354 (byte-compile-output-docform): Re-add the print-circle bindings.
355 (byte-compile-fix-header): Use #$ just because it's shorter.
356 (byte-compile-output-file-form): Remove defun/defmacro.
357
bd56924f
MR
3582012-06-01 Martin Rudalics <rudalics@gmx.at>
359
360 * simple.el (choose-completion): Remove now obsolete binding for
361 owindow.
362
046e38ce
MA
3632012-06-01 Michael Albinus <michael.albinus@gmx.de>
364
365 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
366 in order to avoid "Stack overflow in regexp matcher".
367
32d72c2f
GM
3682012-05-31 Glenn Morris <rgm@gnu.org>
369
370 * image.el: For clarity, call imagemagick-register-types at
371 top-level, rather than relying on a custom :initialize.
372 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
373 (imagemagick-filter-types): New function. (Bug#7406)
374 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
375 If disabling support, remove elements altogether rather
376 than using an impossible regexp.
377 (imagemagick-types-inhibit): Give it the default init function.
378
dd41169b
SM
3792012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
380
4a5f187a
SM
381 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
382 Handle arbitrary file name lengths (Bug#11585).
dd41169b 383
efc00ab1 3842012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
385
386 * desktop.el (desktop-read): Clear previous and next buffers for
387 all windows and bury *Messages* buffer (bug#11556).
388
500fcedc
SM
3892012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 Add `declare' for `defun'. Align `defmacro's with it.
392 * emacs-lisp/easy-mmode.el (define-minor-mode)
393 (define-globalized-minor-mode): Don't autoload the var definitions.
394 * emacs-lisp/byte-run.el: Use lexical-binding.
395 (defun-declarations-alist, macro-declarations-alist): New vars.
396 (defmacro, defun): Use them.
397 (make-obsolete, define-obsolete-function-alias)
398 (make-obsolete-variable, define-obsolete-variable-alias):
399 Use `declare'.
400 (macro-declaration-function): Mark obsolete.
401 * emacs-lisp/autoload.el: Use lexical-binding.
402 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
403
6e8a1786
AM
4042012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
405
406 * textmodes/ispell.el (ispell-with-no-warnings):
407 Define as a macro.
500fcedc
SM
408 (ispell-kill-ispell, ispell-change-dictionary):
409 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
410 `interactive-p'.
411
61b108cc
SM
4122012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
415 (macro-declaration-function): Move var from C code.
416 (macro-declaration-function): Define function with defalias.
417 * emacs-lisp/macroexp.el (macroexpand-all-1):
418 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
419 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
420 defun/defmacro any more.
421 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
422 Provide fallback for unknown arglist.
423 (byte-compile-arglist-warn): Change calling convention.
424 (byte-compile-output-file-form): Move print-vars binding.
425 (byte-compile-output-docform): Simplify accordingly.
426 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
427 (byte-compile-defmacro-declaration): Remove.
428 (byte-compile-file-form-defmumble): Generalize to defalias.
429 (byte-compile-output-as-comment): Return byte-positions.
430 Simplify callers accordingly.
431 (byte-compile-lambda): Use `assert'.
432 (byte-compile-defun, byte-compile-defmacro): Remove.
433 (byte-compile-file-form-defalias):
434 Use byte-compile-file-form-defmumble.
435 (byte-compile-defalias-warn): Remove.
436
6d3f7c2f
SM
4372012-05-29 Stefan Merten <smerten@oekonux.de>
438
439 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 440 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
441
442 (rst-mode-abbrev-table): Merge definition.
443 (rst-mode): Make sure `font-lock-defaults' is buffer local.
444 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
445
6dbaa1c7
UJ
4462012-05-29 Ulf Jasper <ulf.jasper@web.de>
447
448 * calendar/icalendar.el
449 (icalendar-export-region): Export UID properly.
450
4512012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
452 * calendar/icalendar.el (icalendar-import-format):
453 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
454 (icalendar-import-format-uid): New.
455 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
456 Export UID.
457
6876a58d
SM
4582012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
461 different alternative patterns.
462 (pcase-codegen): Be more careful to preserve identity.
463 (pcase--u1): Don't forget to mark vars as used.
464
465 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
466 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
467 (byte-compile-from-buffer): ...rather than here.
468
469 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
470 functions from byte-compile-function-environment.
471
46b7967e
TN
4722012-05-29 Troels Nielsen <bn.troels@gmail.com>
473
474 * window.el (window-deletable-p): Avoid deleting the root window
475 of a frame with an active minibuffer.
476
69d565e2
MR
4772012-05-29 Martin Rudalics <rudalics@gmx.at>
478
479 * simple.el (choose-completion): Use quit-window (Bug#11567).
480
a149fa51
CY
4812012-05-29 Chong Yidong <cyd@gnu.org>
482
483 * whitespace.el (whitespace-cleanup): Fix usage of
484 whitespace-empty-at-bob-regexp (Bug#11492).
485
2b311310
AH
4862012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
487
488 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
489 revert (Bug#11488).
490
b9cb2387
JL
4912012-05-29 Juri Linkov <juri@jurta.org>
492
493 * isearch.el (isearch-mode-map): Bind `M-s _' to
494 `isearch-toggle-symbol'. Bind `M-s c' to
495 `isearch-toggle-case-fold'.
496 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
497 (isearch-forward): Add `M-s _' to the docstring.
498 (isearch-forward-symbol, isearch-toggle-case-fold)
499 (isearch-symbol-regexp): New functions. (Bug#11381)
500
d5e61c1c
JL
5012012-05-29 Juri Linkov <juri@jurta.org>
502
503 * isearch.el (isearch-word): Add docstring. (Bug#11381)
504 (isearch-occur, isearch-search-and-update): If `isearch-word' is
505 a function, call it to get the regexp.
506 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
507 property `isearch-message-prefix' instead of the string "word ".
508 (isearch-search-fun-default): For the case of `isearch-word',
509 return a lambda that calls re-search-forward/re-search-backward
510 with a regexp returned by `word-search-regexp' or by the function
511 in `isearch-word'.
512
8cbd80f7
JL
5132012-05-29 Juri Linkov <juri@jurta.org>
514
515 * isearch.el (isearch-search-fun-default): New function.
516 (isearch-search-fun): Move default part to the new function
517 `isearch-search-fun-default'.
518 (isearch-search-fun-function): Set the default value to
519 `isearch-search-fun-default'. (Bug#11381)
520
521 * comint.el (comint-history-isearch-end):
522 Use `isearch-search-fun-default'.
523 (comint-history-isearch-search): Use `isearch-search-fun-default'
524 and remove spacial case for `isearch-word'.
525 (comint-history-isearch-wrap): Remove spacial case for
526 `isearch-word'.
527
528 * hexl.el (hexl-isearch-search-function):
529 Use `isearch-search-fun-default'.
530
531 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
532 Use `word-search-regexp' for `isearch-word'.
533
534 * misearch.el (multi-isearch-search-fun):
535 Use `isearch-search-fun-default'.
536
537 * simple.el (minibuffer-history-isearch-search):
538 Use `isearch-search-fun-default' and remove spacial case for
539 `isearch-word'.
540 (minibuffer-history-isearch-wrap): Remove spacial case for
541 `isearch-word'.
542
543 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
544 Remove spacial case for `isearch-word'.
545 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
546
85c8c5b6
AM
5472012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
548
549 Decrease XEmacs incompatibilities.
550 * textmodes/flyspell.el (flyspell-check-pre-word-p):
551 Use `string-match'.
552 (flyspell-delete-region-overlays): Use alternative definition for
553 XEmacs.
554 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
555 (flyspell-word): Use `process-kill-without-query' if XEmacs.
556 (flyspell-mode-on): Use `interactive-p' if XEmacs.
557 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
558 `define-obsolete-face-alias' under XEmacs, but old method.
559
560 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
561 `with-no-warnings' definition or Emacs alias.
562 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
563 (ispell-word): Do not use `region-p' if XEmacs.
564
8cab9efc
AM
5652012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
566
567 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
568 Check for `ispell-dictionary-base-alist' instead of full
569 `ispell-dictionary-alist'.
570 (ispell-init-process): Show spellchecker when starting new Ispell
571 process.
572
fda91268
RZ
5732012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
576 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
577
694ea8e3
JB
5782012-05-27 Juanma Barranquero <lekktu@gmail.com>
579
580 * version.el (motif-version-string, gtk-version-string)
581 (ns-version-string): Declare.
582
e4d4f539
JL
5832012-05-27 Juri Linkov <juri@jurta.org>
584
585 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
586 after the `eval-defun-1' specialcaseing
587 like in `edebug-eval-defun' (bug#10181).
588
589 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
590 like in `eval-defun-1'.
591
33017faf 5922012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 593
fda91268
RZ
594 * mail/sendmail.el (mail-yank-region):
595 Recognize rmail-yank-current-message in addition to insert-buffer.
596 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
597 a *mail* buffer created through rmail-start-mail with sendmail as
598 mail-user-agent.
599
33017faf
GM
6002012-05-27 Chong Yidong <cyd@gnu.org>
601
602 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
603 Default to 256 (Bug#11267).
604
605 * help.el (describe-mode): Doc fix.
606
04188bb9
GM
6072012-05-26 Glenn Morris <rgm@gnu.org>
608
38264cc9
GM
609 * w32-fns.el (w32-init-info): Remove.
610 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
611
eb7afdad
GM
612 * info.el (info-initialize): For self-contained NS builds, put the
613 included info/ directory at the front. (Bug#2791)
614
04188bb9
GM
615 * paths.el (Info-default-directory-list): Make it a defcustom,
616 mainly so that we can use custom-initialize-delay.
617
a179e3f7
SM
6182012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
619
43416392
SM
620 * subr.el (buffer-has-markers-at): Mark obsolete.
621
a179e3f7 622 * subr.el (lambda): Use declare.
43416392 623
a179e3f7
SM
624 * emacs-lisp/lisp-mode.el (lambda):
625 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
626
34a008d9
AH
6272012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
628
629 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
630
0a3b289f
GM
6312012-05-26 Glenn Morris <rgm@gnu.org>
632
633 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
634
758c81e8
GM
6352012-05-25 Glenn Morris <rgm@gnu.org>
636
f9f334f0
GM
637 * paths.el: Remove no-byte-compile.
638 * loadup.el: No need to load paths.el uncompiled.
639
87eb79c2
GM
640 * image.el (imagemagick-types-inhibit): Doc fix.
641
758c81e8
GM
642 * version.el: Remove no-byte-compile and associated formatting.
643 * loadup.el: No need to load version.el uncompiled. AFAICS, this
644 is ancient code from when there was an "inc-vers.el".
645
e7e85dc0
SM
6462012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * progmodes/gdb-mi.el: Minor style changes.
649 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
650 Turn into minor modes.
651 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
652 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
653 (gdb-shell): Remove unneeded let-binding.
654 (gdb-get-many-fields): Eliminate O(n²) behavior.
655
f31237a4
EZ
6562012-05-25 Eli Zaretskii <eliz@gnu.org>
657
658 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
659 platforms that don't link in fontset.c.
660
bc1b21bb
JL
6612012-05-25 Juri Linkov <juri@jurta.org>
662
663 Use the same diff color scheme as in modern VCSes (bug#10181).
664
665 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
666 to avoid confusion with `diff-added' that now uses green colors.
667 (diff-removed): Use shades of red.
668 (diff-added): Use shades of green.
669 (diff-changed): Leave just the yellow color.
670 (diff-use-changed-face): New variable.
671 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
672 how to highlight context diff changes.
673 (diff-refine-change): Use shades of yellow.
674 (diff-refine-removed): New face that uses shades of red.
675 (diff-refine-added): New face that uses shades of green.
676 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
677 `diff-refine-removed' in the call to `smerge-refine-subst'
678 depending on the value of `diff-use-changed-face'.
679
680 * vc/smerge-mode.el (smerge-mine): Use shades of red.
681 (smerge-other): Use shades of green.
682 (smerge-base): Use shades of yellow.
683 (smerge-refined-change): Empty face.
684 (smerge-refined-removed): New face that uses shades of red.
685 (smerge-refined-added): New face that uses shades of green.
686 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
687 args `props-r' and `props-a', and use them. Doc fix.
688 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
689 on its value use different faces `smerge-refined-change',
690 `smerge-refined-removed', `smerge-refined-added' in the call to
691 `smerge-refine-subst'.
692
693 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
694 Add face condition `min-colors 88' with shades of red.
695 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
696 `min-colors 88' with shades of green.
697 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
698 `min-colors 88' with shades of yellow.
699
6df9112c
GM
7002012-05-24 Glenn Morris <rgm@gnu.org>
701
ead5edc0
GM
702 * paths.el (prune-directory-list, remote-shell-program): Move to...
703 * files.el (prune-directory-list, remote-shell-program): ...here.
704 For the latter, delay initialization, prefer ssh, just search PATH.
705
f18b81e6
GM
706 * paths.el (term-file-prefix): Move to faces.el (the only user).
707 * faces.el (term-file-prefix): Move here, make it a defcustom.
708
ee2f89a6
GM
709 * paths.el (news-directory, news-path, news-inews-program):
710 Move to gnus/nnspool.el.
61a583ca 711
f8815e4c
GM
712 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
713
c8f3b42c
GM
714 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
715 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
716 Make the latter a defcustom, with a delayed initialization.
717
6df9112c
GM
718 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
719 These were deleted from Gnus itself late 2010.
720
5dadff36
JB
7212012-05-22 Juanma Barranquero <lekktu@gmail.com>
722
9e1701c6
JB
723 * progmodes/which-func.el (which-func-ff-hook):
724 Check against user-error, not error.
725
bd7239f5 726 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
727 cl-specs.el, which no longer exists.
728
3290526d
GM
7292012-05-22 Glenn Morris <rgm@gnu.org>
730
731 * info.el (info-emacs-bug): New command.
732 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
733 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
734
ff0c3cfb
GM
7352012-05-21 Glenn Morris <rgm@gnu.org>
736
737 * makefile.w32-in (update-subdirs-SH):
738 * Makefile.in (update-subdirs): Update for moved update-subdirs.
739
5814f126
SM
7402012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
741
a52c0aa0
SM
742 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
743
5814f126
SM
744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
745 Simplify Maven regexp, and make sure the file can't start with a space
746 (bug#11517).
747
b847032c
GM
7482012-05-21 Glenn Morris <rgm@gnu.org>
749
750 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
751 Scrap superfluous subshells.
752
3858bfe7
SM
7532012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
756 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
757
d14b0029
JB
7582012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
759
760 * calc/calc.el (calc-ensure-consistent-units): New variable.
761
a52c0aa0
SM
762 * calc/calc-units.el (math-consistent-units-p)
763 (math-check-unit-consistency): New functions.
764 (calc-quick-units, calc-convert-units):
765 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
766 is non-nil.
d14b0029
JB
767 (calc-extract-units): Fix typo.
768
60c4db3a
SM
7692012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
770
77f3b62e
SM
771 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
772
60c4db3a
SM
773 * textmodes/flyspell.el: Commenting style, plus code simplifications.
774 (flyspell-default-deplacement-commands): Don't spell check after
775 repeated window/frame switches (e.g. triggered by mouse-movement).
776 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
777 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
778 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
779 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
780 Remove unused vars.
781 (flyspell-get-casechars, flyspell-get-not-casechars):
782 Simplify; Don't bother removing a ] just to add it back.
783 * textmodes/ispell.el (ispell-program-name): Use executable-find.
784
b1a10716
RS
7852012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
786
787 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
788 New functions.
bd7239f5 789 (math-function-table): Add support for more C functions.
b1a10716 790
3f1b25b5
AM
7912012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
792
793 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
794 (flyspell-debug-signal-word-checked): Protect delay handling for
795 otherchars against empty otherchars.
796
b581bb5c
SM
7972012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
800 their respective macro declarations.
801 * skeleton.el (define-skeleton):
802 * progmodes/compile.el (define-compilation-mode):
803 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
804 (define-ibuffer-filter):
805 * emacs-lisp/generic.el (define-generic-mode):
806 * emacs-lisp/easy-mmode.el (define-minor-mode)
807 (define-globalized-minor-mode):
808 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
809 * emacs-lisp/byte-run.el (defsubst):
810 * custom.el (deftheme): Add doc-string metadata.
811
70b8ef8f
SM
8122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
815
b1198e17
SM
8162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
817
9abdc45d
SM
818 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
819
b1198e17
SM
820 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
821 * emacs-lisp/cl-macs.el: Idem.
822 * emacs-lisp/cl-specs.el: Remove.
823
4735906a
SM
8242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 Minor renaming of internal CL functions and variables.
827 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
828 (cl--position): Rename from cl-position.
829 (cl--delete-duplicates): Rename from cl-delete-duplicates.
830 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
831 (cl--random-state): Rename from *random-state*.
832
ac348012
SM
8332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
836 parens around the arg list (bug#11499).
837
a0a79cde
JL
8382012-05-17 Juri Linkov <juri@jurta.org>
839
840 * isearch.el (word-search-regexp, word-search-backward)
841 (word-search-forward, word-search-backward-lax)
842 (word-search-forward-lax): Move functions from search.c
843 (bug#10145, bug#11381).
844
65034a51
AM
8452012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
846
847 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
848 (flyspell-debug-signal-word-checked): Delay for otherchars as for
849 normal word components.
850
1a72a195
SM
8512012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * minibuffer.el (completion--sifn-requote): Fix last change.
854 (minibuffer-local-must-match-filename-map):
855 Move define-obsolete-variable-alias before its var.
856
fdb058c2
SM
8572012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
858
c41045e6
SM
859 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
860
036dfb8b
SM
861 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
862 behavior.
863 (completion--string-equal-p): New function.
864 (completion--twq-all): Use it to get better assertion failure data.
865
2473256d
SM
866 Only handle ".." and '..' quoting in shell-mode (bug#11466).
867 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
868 (shell--requote-argument): New functions.
869 (shell-completion-vars): Use them.
870 (shell--parse-pcomplete-arguments): Rename from
871 shell-parse-pcomplete-arguments.
872 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
873 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
874 Obey comint-file-name-quote-list.
875
fdb058c2
SM
876 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
877 (smie-indent-keyword): Use it.
878
51fa99f1
SM
8792012-05-14 Stefan Merten <smerten@oekonux.de>
880
881 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
882
e18afed7 8832012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
884
885 * net/rlogin.el (rlogin-mode-map): Fix last change.
886
e18afed7 8872012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
888
889 * mail/smtpmail.el (smtpmail-send-command): Send the command and
890 the following \r\n using a single `process-send-string', since the
891 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 892 with two `process-send-string's (Bug#11444).
8633b1f4 893
e18afed7 8942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 895
fdb058c2
SM
896 * shell.el (shell-parse-pcomplete-arguments):
897 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 898
2d21d7f6
WJ
8992012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
900
e18afed7 901 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
902 (image-transform-scale, image-transform-right-angle-fudge): New vars.
903 (image-transform-width, image-transform-fit-width): New functions.
904 (image-transform-properties): Use them.
905 (image-transform-check-size): New function.
906 (image-toggle-display-image): Use it (for testing).
907 (image-transform-set-rotation): Reduce angle mod 360.
908 Delete obsolete comment.
909
7102e6d0
WJ
9102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
911
912 * image-mode.el: Fix scaling (bug#11399).
913 (image-transform-resize): Doc fix.
914 (image-transform-properties): Default scale is 1 and height should
915 be an integer.
916
06bc5e6e
SM
9172012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
918
919 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
920 than hard-coding `car', to fix misbehavior when moving forward.
921
0ae03b6a
CY
9222012-05-13 Chong Yidong <cyd@gnu.org>
923
924 * emacs-lisp/tabulated-list.el (tabulated-list-format)
925 (tabulated-list-entries, tabulated-list-padding)
926 (tabulated-list-sort-key): Make permanent-local.
927
928 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
929 (electric-buffer-list): Put electric buffer menu
930 command descriptions in this docstring, instead of the docstring
931 of electric-buffer-menu-mode. Code cleanups.
932 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
933 Electric-buffer-menu-mode.
934 (electric-buffer-update-highlight): Minor code cleanup.
935
205a7391
MA
9362012-05-13 Michael Albinus <michael.albinus@gmx.de>
937
938 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
939 (Bug#11447)
940
e5bd0a28
SM
9412012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 Move define-obsolete-variable-alias before the var's definition.
944 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
945 * tooltip.el (tooltip-hook):
946 * textmodes/reftex-toc.el (reftex-toc-map):
947 * textmodes/reftex-sel.el (reftex-select-label-map)
948 (reftex-select-bib-map):
949 * textmodes/reftex-index.el (reftex-index-map)
950 (reftex-index-phrases-map):
951 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
952 * progmodes/meta-mode.el (meta-mode-map):
953 * novice.el (disabled-command-hook):
954 * loadhist.el (unload-hook-features-list):
955 * frame.el (blink-cursor):
956 * files.el (find-file-not-found-hooks, write-file-hooks)
957 (write-contents-hooks):
958 * emulation/tpu-edt.el (GOLD-map):
959 * emacs-lock.el (emacs-lock-from-exiting):
960 * emacs-lisp/generic.el (generic-font-lock-defaults):
961 * emacs-lisp/chart.el (chart-map):
962 * dos-fns.el (register-name-alist):
963 * dired-x.el (dired-omit-files-p):
964 * desktop.el (desktop-enable):
965 * cus-edit.el (custom-mode-hook):
966 * buff-menu.el (buffer-menu-mode-hook):
967 * bookmark.el (bookmark-read-annotation-text-func)
968 (bookmark-exit-hooks):
969 * allout.el (allout-mode-deactivate-hook)
970 (allout-exposure-change-hook, allout-structure-added-hook)
971 (allout-structure-deleted-hook, allout-structure-shifted-hook):
972 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
973 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
974 comes before the corresponding variable's definition.
975
ac59c2f6
CY
9762012-05-12 Chong Yidong <cyd@gnu.org>
977
978 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
979 (Buffer-menu-mouse-select): Restore function (Bug#11459).
980 (Buffer-menu-mode-map): Bind it.
981 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 982
dee6c9a3
SM
9832012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
984
2171cea5
SM
985 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
986 (prolog-upper-case-string, prolog-lower-case-string)
987 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
988 (prolog-use-smie, prolog-smie-grammar): New vars.
989 (prolog-smie-forward-token, prolog-smie-backward-token)
990 (prolog-smie-rules): New funs.
991 (prolog-comment-indent): Remove.
992 (prolog-mode-variables): Use default comment indentation instead.
993 Setup SMIE.
994 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
995 (prolog-mode): Don't call them any more.
996 (prolog-electric-colon, prolog-electric-dash)
997 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
998
aa0382bd
SM
999 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1000
dbacb4bd
SM
1001 * minibuffer.el (completion--twq-all): Again, allow case differences.
1002
13bdd94c
SM
1003 * term.el: Move keymap initialization code to be more idiomatic.
1004 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1005 (term-terminal-menu): Move initialization into declaration.
1006 (term-escape-char): Let the user set it in her .emacs.
1007
ff46c759
SM
1008 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1009 Provide SMIE-based indentation (not enabled by default yet).
1010 (sh-mode-map): Don't bind electric keys.
1011 Use electric-pair-mode instead of skeleton-pair.
1012 (sh-assignment-regexp): Fit within 80 columns.
1013 (sh-indent-supported): Specify actual shell name instead of boolean.
1014 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1015 (sh-maybe-here-document): Use it. Make obsolete.
1016 (sh-electric-here-document-mode) New minor mode.
1017 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1018 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1019 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1020 (sh-smie-rc-grammar, sh-use-smie): New vars.
1021 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1022 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1023 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1024 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1025 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1026 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1027 (sh-set-shell): Use smie-setup if requested.
1028
dee6c9a3
SM
1029 * term.el (term-set-escape-char): Properly set term-escape-char.
1030 See http://stackoverflow.com/questions/10524656.
1031
9f9aa044
CY
10322012-05-10 Chong Yidong <cyd@gnu.org>
1033
1034 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1035 Use url-generic-parse-url, and handle host names and Windows
1036 filenames properly.
1037 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1038 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1039 URL schemes to work on.
1040 (ffap--toggle-read-only): New function.
1041 (ffap-read-only, ffap-read-only-other-window)
1042 (ffap-read-only-other-frame): Use it.
1043 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1044 necessary for ffap-url-unwrap-remote.
1045
836d29b3
DA
10462012-05-10 Dave Abrahams <dave@boostpro.com>
1047
1048 * cus-start.el (create-lockfiles): Add it.
1049
00fd78ed
CY
10502012-05-09 Chong Yidong <cyd@gnu.org>
1051
1052 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1053 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1054
666b903b 10552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1056
1057 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1058
666b903b 10592012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1060
1061 * ansi-color.el (ansi-color-process-output): Check for validity of
1062 comint-last-output-start before using it. This avoids a bad
1063 interaction with gdb-mi's input/output buffer.
1064
666b903b 10652012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1066
1067 * files.el (dir-locals-read-from-file):
1068 Mention dir-locals in any error message.
1069
666b903b 10702012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1071
1072 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1073 package (Bug#11410).
1074
f677562b
CY
1075 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1076 variables into description.
1077
666b903b 10782012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1079
1080 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1081 shell-delimiter-argument-list (bug#11348).
1082 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1083
b499d8d0
JB
10842012-05-09 Juanma Barranquero <lekktu@gmail.com>
1085
8f6b6da8
JB
1086 * textmodes/rst.el: Silence byte-compiler warnings.
1087 (rst-re-alist, rst-reset-section-caches): Move around.
1088 (rst-re): Use `characterp', not `char-valid-p'.
1089 (font-lock-beg, font-lock-end): Declare.
1090
4824146a
JB
1091 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1092 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1093
b499d8d0
JB
1094 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1095
ad89bb83
GM
10962012-05-08 Glenn Morris <rgm@gnu.org>
1097
1098 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1099
8bba5a75
SM
11002012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1101
49ed9c8e
SM
1102 * vc/log-edit.el: Add GNU coding standards highlighting.
1103 (log-edit-font-lock-gnu-style)
1104 (log-edit-font-lock-gnu-keywords): New vars.
1105 (log-edit-font-lock-keywords): New fun.
1106 (log-edit-mode): Don't fold case in font-lock.
1107 (log-edit-font-lock-keywords): Do not assume case-folding.
1108
07d00b56
SM
1109 * imenu.el: Misc cleanup. Make docstrings out of comments.
1110 Use lexical-binding.
1111 (imenu--index-alist, imenu--last-menubar-index-alist)
1112 (imenu-menubar-modified-tick): Use defvar-local.
1113 (imenu--split-menu): Remove unused var.
1114 (imenu--cleanup-seen): Declare as global.
1115 (imenu--cleanup): Use dolist.
1116
8bba5a75
SM
1117 * subr.el (defvar-local): Add debug spec and doc-string position.
1118
5075bdb5
GM
11192012-05-08 Glenn Morris <rgm@gnu.org>
1120
c052c904
GM
1121 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1122 * language/english.el, language/georgian.el, language/greek.el:
1123 * language/japanese.el, language/khmer.el, language/korean.el:
1124 * language/lao.el, language/misc-lang.el, language/romanian.el:
1125 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1126 * language/thai.el, language/utf-8-lang.el:
1127 Remove no-byte-compile setting.
1128
5075bdb5
GM
1129 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1130
06f679a7
AH
11312012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1132
1133 * progmodes/make-mode.el (makefile-browse):
1134 Remove unnecessary interactive. (Bug#11324)
1135
03794570
GM
11362012-05-07 Glenn Morris <rgm@gnu.org>
1137
af8630f4
GM
1138 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1139
03794570
GM
1140 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1141
f0809a9d
SM
11422012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1143
28be5ce7
SM
1144 * loadup.el: Preload newcomment.el.
1145 * newcomment.el: Move autoload-only code to toplevel.
1146
f0809a9d
SM
1147 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1148 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1149 Handle new :right-align column property.
1150 (tabulated-list-print-col): Idem, plus use `display' text-property to
1151 try and preserve alignment for variable pitch fonts.
1152
1241b724
CY
11532012-05-07 Chong Yidong <cyd@gnu.org>
1154
1155 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1156 (tabulated-list-use-header-line): New var.
1157 (tabulated-list-init-header): Use it.
1158 (tabulated-list-print-fake-header): New function.
1159 (tabulated-list-print): Use it.
1160 (tabulated-list-sort-button-map): Add non-header-line commands.
1161 (tabulated-list-init-header): Add column name property to basic
1162 labels as well.
1163 (tabulated-list-col-sort): Handle non-header-line button case.
1164 (tabulated-list--sort-by-column-name): Fix a corner case.
1165
f0809a9d
SM
1166 * buff-menu.el (list-buffers--refresh):
1167 Handle Buffer-menu-use-header-line.
1241b724 1168
e5f9458f
CY
11692012-05-06 Chong Yidong <cyd@gnu.org>
1170
1171 * buff-menu.el: Convert to Tabulated List mode.
1172 (Buffer-menu-buffer+size-width): Make obsolete.
1173 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1174 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1175 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1176 documentation into docstring of buffer-menu.
1177 (Buffer-menu-toggle-files-only): Add an informative message.
1178 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1179 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1180 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1181 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1182 (Buffer-menu-execute, Buffer-menu-select)
1183 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1184 (Buffer-menu-bury): Use Tabulated List machinery.
1185 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1186 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1187 Delete.
e5f9458f
CY
1188 (list-buffers--refresh): New function.
1189 (list-buffers-noselect): Use it.
1190 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1191 (Buffer-menu--pretty-file-name): New helper functions.
1192
1193 * loadup.el: Preload tabulated-list.
1194
1195 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1196 tabulated-list-sort-column.
1197 (tabulated-list-init-header): Add the initial aligning space even
1198 if tabulated-list-padding is zero.
1199
e129292c
CS
12002012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1201
1202 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1203 whose cdr is not a cons cell correctly (bug#11038).
1204
6632d361
CY
12052012-05-06 Chong Yidong <cyd@gnu.org>
1206
e129292c
CS
1207 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1208 Accept additional plist in column descriptors.
6632d361
CY
1209 (tabulated-list-init-header): Obey it.
1210 (tabulated-list-get-entry): New function.
1211 (tabulated-list-put-tag): Use it. Use string-width instead of
1212 length.
1213 (tabulated-list--column-number): New function.
1214 (tabulated-list-print): Use it.
e129292c
CS
1215 (tabulated-list-print-col): New function.
1216 Set `tabulated-list-column-name' property on each column's text.
6632d361 1217 (tabulated-list-print-entry): Use it.
e129292c
CS
1218 (tabulated-list-delete-entry, tabulated-list-set-col):
1219 New functions.
6632d361
CY
1220 (tabulated-list-sort-column): New command (Bug#11337).
1221
3cc99f68
CY
1222 * buff-menu.el (list-buffers): Move C-x C-b binding from
1223 buff-menu.el to bindings.el.
1224
1225 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1226 :advertised-binding feature.
1227
52b61776
TN
12282012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1229
1230 * progmodes/compile.el (compilation-internal-error-properties):
1231 Calculate start position correctly when end-col is set but
1232 end-line is not (Bug#11382).
1233
ebfe2597
WJ
12342012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1235
1236 * man.el (Man-unindent): Use text-property-default-nonsticky to
1237 prevent untabify from inheriting face properties (Bug#11408).
1238
6d3f7c2f
SM
12392012-05-05 Stefan Merten <smerten@oekonux.de>
1240
1241 * textmodes/rst.el: Major merge with upstream development up to
1242 Docutils SVN r7399 / rst.el V1.2.1.
1243
1244 Clarify maintainership and authors.
1245
1246 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1247 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1248 (rst-official-version, rst-official-cvs-rev, rst-version)
1249 (rst-package-emacs-version-alist): New functions and variables
1250 for version information.
1251
1252 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1253 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1254 (rst-mode-syntax-table, rst-mode): New and corrected functions
1255 and variables representing reStructuredText features.
1256
1257 (rst-re): New function for reStructuredText regexes. Use in
1258 many places.
1259
1260 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1261 (rst-mode-map): Rebind keys.
1262
1263 (rst-mode-lazy, rst-font-lock-keywords)
1264 (rst-font-lock-extend-region)
1265 (rst-font-lock-extend-region-internal)
1266 (rst-font-lock-extend-region-extend)
1267 (rst-font-lock-find-unindented-line-limit)
1268 (rst-font-lock-find-unindented-line-match)
1269 (rst-adornment-level, rst-font-lock-adornment-level)
1270 (rst-font-lock-adornment-match)
1271 (rst-font-lock-handle-adornment-pre-match-form)
1272 (rst-font-lock-handle-adornment-matcher): Major revision of
1273 font-locking. Integrate with other code. Use `jit-lock-mode'.
1274
1275 (rst-preferred-adornments, rst-adjust-hook)
1276 (rst-new-adornment-down, rst-preferred-bullets)
1277 (rst-preferred-bullets, rst-indent, rst-indent-width)
1278 (rst-indent-field, rst-indent-literal-normal)
1279 (rst-indent-literal-minimized, rst-indent-comment): Change,
1280 extend and improve customization.
1281
1282 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1283 (rst-normalize-cursor-position, rst-get-decoration)
1284 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1285 (rst-rstrip, rst-toc-insert-find-delete-contents)
1286 (rst-shift-fill-region, rst-compute-bullet-tabs)
1287 (rst-debug-print-tabs, rst-debug-mark-found)
1288 (rst-shift-region-guts, rst-shift-region-right)
1289 (rst-shift-region-left, rst-use-char-classes)
1290 (rst-font-lock-keywords-function)
1291 (rst-font-lock-indentation-point)
1292 (rst-font-lock-find-unindented-line-begin)
1293 (rst-font-lock-find-unindented-line-end)
1294 (rst-font-lock-find-unindented-line)
1295 (rst-font-lock-adornment-point, rst-font-lock-level)
1296 (rst-adornment-level-alist): Remove functions and variables.
1297
1298 (rst-compare-adornments, rst-get-adornment-match)
1299 (rst-suggest-new-adornment, rst-get-adornments-around)
1300 (rst-adornment-complete-p, rst-get-next-adornment)
1301 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1302 (rst-straighten-adornments): Standardize function names to
1303 use "adornment" instead of "decoration". Correct callers.
1304 Similar standardizing in many places.
1305
1306 (rst-update-section, rst-adjust, rst-promote-region)
1307 (rst-enumerate-region, rst-bullet-list-region)
1308 (rst-repeat-last-character): Correct use of `interactive'.
1309
1310 (rst-classify-adornment, rst-find-all-adornments)
1311 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1312 (rst-find-leftmost-column, rst-repeat-last-character):
1313 Refactor functions.
1314
1315 (rst-find-title-line, rst-reset-section-caches)
1316 (rst-get-adornments-around, rst-adjust-adornment-work)
1317 (rst-arabic-to-roman, rst-roman-to-arabic)
1318 (rst-insert-list-pos, rst-insert-list-new-item)
1319 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1320 New functions.
1321
1322 (rst-all-sections, rst-section-hierarchy)
1323 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1324 New variables.
1325
1326 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1327 configuration instead of only buffer. Change where necessary.
1328
1329 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1330 (rst-shift-region, rst-adaptive-fill): New functions for
1331 indentation and filling.
1332
1333 (rst-comment-line-break, rst-comment-indent)
1334 (rst-comment-insert-comment, rst-comment-region)
1335 (rst-uncomment-region): New functions for handling comments.
1336
1337 (rst-compile): Quote shell arguments.
1338
1339 (rst-compile-pdf-preview, rst-compile-slides-preview):
1340 Delete temporary files after use.
1341
a43f98b3
GM
13422012-05-05 Glenn Morris <rgm@gnu.org>
1343
48176e8b
GM
1344 * calendar/cal-html.el: Optionally include holidays in the output.
1345 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1346 (cal-html-holidays): New option.
1347 (cal-html-css-default): Add holiday entry.
1348 (holiday-in-range): Autoload it.
1349 (cal-html-htmlify-entry): Add optional class argument.
1350 (cal-html-htmlify-list): Add optional holidays argument.
1351 (cal-html-insert-agenda-days): Include holidays in the output.
1352 (cal-html-one-month): Maybe include holidays.
1353
a43f98b3
GM
1354 * calendar/holidays.el (holiday-in-range):
1355 Move here from cal-tex-list-holidays.
1356 * calendar/cal-tex.el (cal-tex-list-holidays):
1357 Make it an obsolete alias for holiday-in-range. Update all callers.
1358
fef9d149 13592012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1360
1361 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1362 Nextstep.
1363
248da2f4
RW
13642012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1365
1366 * files.el (file-auto-mode-skip): New var.
1367 (set-auto-mode-1): Use it.
1368
f95e9344
SM
13692012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1370
df96ab1e
SM
1371 * repeat.el: Use lexical-binding.
1372 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1373 (repeat-undo-count): Remove.
1374 (repeat):
1375 * progmodes/octave-mod.el (octave-abbrev-start):
1376 * progmodes/f90.el (f90-abbrev-start):
1377 * face-remap.el (text-scale-adjust):
1378 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1379
5342bb06
SM
1380 * emacs-lisp/pcase.el (pcase--let*): New function.
1381 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1382 a bit more.
1383 (pcase--split-pred): Be more clever about ruling out overlap between
1384 a predicate and some constant pattern.
1385 (pcase--q1): Use `null' instead of (eq foo nil).
1386
f95e9344
SM
1387 * subr.el (setq-local, defvar-local): New macros.
1388 (kbd): Redefine as an alias.
1389 (with-selected-window): Leave unrelated frames alone.
1390 (set-temporary-overlay-map): New function.
1391
71873e2b
SM
13922012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * subr.el (user-error): New function.
1395 * window.el (switch-to-buffer):
1396 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1397 (smerge-match-conflict):
1398 * simple.el (previous-matching-history-element)
1399 (next-matching-history-element, goto-history-element, undo-more)
1400 (undo-start):
1401 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1402 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1403 (next-file, tags-loop-scan, list-tags, complete-tag):
1404 * progmodes/compile.el (compilation-loop):
1405 * mouse.el (mouse-minibuffer-check):
1406 * man.el (Man-bgproc-sentinel, Man-goto-page):
1407 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1408 (Info-history-forward, Info-follow-reference, Info-menu)
1409 (Info-extract-menu-item, Info-extract-menu-counting)
1410 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1411 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1412 (Info-next-reference, Info-prev-reference, Info-index)
1413 (Info-index-next, Info-follow-nearest-node)
1414 (Info-copy-current-node-name):
1415 * imenu.el (imenu--make-index-alist)
1416 (imenu-default-create-index-function, imenu-add-to-menubar):
1417 * files.el (basic-save-buffer, recover-file):
1418 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1419 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1420 (checkdoc-message-text, checkdoc-defun):
1421 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1422 * cus-edit.el (customize-changed-options, customize-rogue)
1423 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1424 (custom-variable-mark-to-reset-standard)
1425 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1426 (custom-file):
1427 * completion.el (check-completion-length):
1428 * comint.el (comint-search-arg)
1429 (comint-previous-matching-input-string-position)
1430 (comint-previous-matching-input)
1431 (comint-replace-by-expanded-history-before-point, comint-send-input)
1432 (comint-copy-old-input, comint-backward-matching-input)
1433 (comint-goto-process-mark, comint-set-process-mark):
1434 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1435 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1436
8a61ee22
SM
14372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1438
66408d1e
SM
1439 * dabbrev.el (dabbrev--ignore-case-p): New function.
1440 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1441 Use it.
1442
8a61ee22
SM
1443 * files.el (automount-dir-prefix): Mark as obsolete.
1444
3c74813a
GM
14452012-05-04 Glenn Morris <rgm@gnu.org>
1446
1447 * patcomp.el, play/bruce.el: Move to obsolete/.
1448
0bfcf5c5
PE
14492012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1450
1451 Fix minor Y10k bugs.
1452 * arc-mode.el (archive-unixdate):
1453 * autoinsert.el (auto-insert-alist):
1454 * calc/calc-forms.el (math-this-year):
1455 * emacs-lisp/copyright.el (copyright-current-year)
1456 (copyright-update-year, copyright):
1457 * tar-mode.el (tar-clip-time-string):
1458 * time.el (display-time-update):
1459 Don't assume years have 4 digits.
1460
78f3273a
CY
14612012-05-04 Chong Yidong <cyd@gnu.org>
1462
1463 * dos-w32.el (file-name-buffer-file-type-alist)
1464 (direct-print-region-use-command-dot-com):
1465 * ffap.el (ffap-menu-regexp):
1466 * find-file.el (ff-special-constructs):
1467 * follow.el (follow-debug):
1468 * forms.el (forms--debug):
1469 * iswitchb.el (iswitchb-all-frames):
1470 * ido.el (ido-all-frames):
1471 * emacs-lisp/timer.el (timer-max-repeats):
1472 * mail/feedmail.el (feedmail-mail-send-hook)
1473 (feedmail-mail-send-hook-queued):
1474 * mail/footnote.el (footnote-signature-separator):
1475 * mail/mailabbrev.el (mail-alias-separator-string)
1476 (mail-abbrev-mode-regexp):
1477 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1478 * progmodes/idlwave.el (idlwave-libinfo-file)
1479 (idlwave-default-completion-case-is-down)
1480 (idlwave-library-routines): Convert defvars to defcustoms.
1481
1482 * mail/rmail.el (rmail-decode-mime-charset):
1483 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1484 (idlwave-shell-fix-inserted-breaks)
1485 (idlwave-shell-activate-alt-keybindings)
1486 (idlwave-shell-use-breakpoint-glyph):
1487 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1488
f7ae6719
SM
14892012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1492
47086495
WS
14932012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1494
1495 * progmodes/verilog-mode.el (font-lock-keywords):
1496 Fix mis-highligting auto. Reported by Craig Barner.
1497 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1498 defines from global name space. Reported by Dan Dever.
1499 (verilog-auto-reset, verilog-auto-reset-widths)
1500 (verilog-auto-tieoff): Support using unbased numbers for
1501 AUTORESET and AUTOTIEOFF.
1502 (verilog-submit-bug-report): Update variable list.
1503 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1504 parenthesis from not matching. Reported by Michael Rytting.
1505 (verilog-auto-template-lint): Fix hash error when linting modules
1506 with no used templates.
1507 (verilog-warn, verilog-warn-error)
1508 (verilog-warn-fatal): When non-interactive report multiple
1509 warnings before exiting. Suggested by Brad Dobbie.
1510 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1511 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1512 to report unused template errors. Reported by Brad Dobbie.
1513 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1514 nets, bug438. Reported by Vns Blore.
1515 (verilog-auto-inout-module, verilog-auto-reg)
1516 (verilog-read-decls, verilog-read-sub-decls-sig)
1517 (verilog-signals-edit-wire-reg, verilog-signals-with):
1518 Fix passing of Verilog data types in ANSI input/output ports
1519 such as "output logic" into the AUTOs. Special case "wire" and
1520 "reg" for backwards compatibility presuming Verilog 2001.
1521 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1522 (verilog-preprocess): Fix replication of preprocess output.
1523 Reported by Brad Dobbie.
1524 (verilog-auto-inst-interfaced-ports):
1525 Create verilog-auto-inst-interfaced-ports, bug429.
1526 Reported by Julian Gorfajn.
1527 (verilog-after-save-font-hook)
1528 (verilog-before-save-font-hook): New variable.
1529 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1530 (verilog-save-font-mods): Wrap disabling fontification, reported
1531 by David Rogoff.
1532 (verilog-do-indent, verilog-pretty-declarations-auto)
1533 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1534 Reported by Pierre-David Pfister.
1535 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1536 of class declarations, bug292. Reported by Kevin Heilman.
1537 (verilog-read-decls): Fix 'parameter type' not appearing in
1538 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1539 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1540 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1541 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1542 Reported by David Kravitz.
1543
15442012-05-03 Michael McNamara <mac@mail.brushroad.com>
1545
1546 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1547 assignment with tests in ifs and for loops.
1548 (verilog-extended-complete-re, verilog-complete-reg): Change so
1549 that DPI inport functions don't look like fuction declarations.
1550 (verilog-pretty-expr): Don't line up assignment
1551 operations to the test and increment in if and for loops
1552 (verilog-extended-complete-re, verilog-complete-reg): Change so
1553 that DPI inport functions don't look like fuction declarations
1554
2e51d4b5
KH
15552012-05-03 Kenichi Handa <handa@m17n.org>
1556
1557 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1558 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1559 (Bug#11282).
1560
2bd785a2
SM
15612012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * emacs-lisp/bytecomp.el
1564 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1565 since cconv.el might have introduced :fun-body, internal-make-closure,
1566 and friends for bytecomp to handle (bug#11391).
1567 * custom.el (defcustom): Avoid ((λ ..) ..).
1568
99d27583
SM
15692012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1572
55a71479
JB
15732012-05-02 Juanma Barranquero <lekktu@gmail.com>
1574
1575 * notifications.el (dbus-debug):
1576 * term/linux.el (gpm-mouse-enable):
1577 * term/screen.el (xterm-register-default-colors): Declare.
1578
7b97c764
CY
15792012-05-02 Chong Yidong <cyd@gnu.org>
1580
2bc356d7
CY
1581 * cus-start.el (gc-cons-percentage, exec-suffixes)
1582 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1583 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1584 (make-cursor-line-fully-visible, void-text-area-pointer)
1585 (font-list-limit): Add customization data.
1586
7b97c764
CY
1587 * allout.el (allout-exposure-change-functions)
1588 (allout-structure-added-functions)
1589 (allout-structure-deleted-functions)
1590 (allout-structure-shifted-functions): Rename abnormal hooks from
1591 *-hook, and convert to defcustoms.
5d3385a0
JB
1592 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1593 Convert to defcustoms.
7b97c764
CY
1594 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1595
1596 * allout-widgets.el: Hook callers changed.
1597
90207a15 15982012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1599
1600 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1601 the yanked message in preference to the default value of
1602 buffer-file-coding-system.
1603
90207a15 16042012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1605
5d3385a0
JB
1606 * window.el (display-buffer--action-function-custom-type):
1607 Fix entry.
d9558cad 1608
90207a15 16092012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1610
1611 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1612
d80ac57b
GM
16132012-05-01 Glenn Morris <rgm@gnu.org>
1614
976f7668
GM
1615 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1616
beb83b5a
GM
1617 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1618
d80ac57b
GM
1619 * cus-edit.el (custom-variable-documentation): Simplify with format.
1620
b593d6a9
AH
16212012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1622 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * simple.el (suggest-key-bindings, execute-extended-command):
1625 Move from keyboard.c.
1626
782fbf2a
CY
16272012-05-01 Chong Yidong <cyd@gnu.org>
1628
1629 * follow.el: Eliminate advice.
1630 (set-process-filter, process-filter, sit-for): Advice deleted.
1631 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1632 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1633 Vars deleted.
782fbf2a
CY
1634 (follow-auto): Use a :set function.
1635 (follow-mode): Rewritten. Don't advise process filters.
1636 (follow-switch-to-current-buffer-all, follow-scroll-up)
1637 (follow-scroll-down): Assume follow-mode is bound.
1638 (follow-comint-scroll-to-bottom)
1639 (follow-align-compilation-windows): New functions.
1640 (follow--window-sorter): New function.
1641 (follow-all-followers): Use it to explicitly sort windows by their
1642 positions; don't make assumptions about next-window order.
1643 (follow-windows-start-end, follow-delete-other-windows-and-split)
1644 (follow-calc-win-start): Doc fix.
1645 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1646 vertical-motion unnecessarily.
1647 (follow-adjust-window): New function.
1648 (follow-post-command-hook): Use it.
1649 (follow-call-set-process-filter, follow-call-process-filter)
1650 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1651 (follow-stop-intercept-process-output, follow-generic-filter):
1652 Functions deleted.
1653 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1654 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1655 New functions, replacing advice on scroll-bar-* commands.
87233a14 1656 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1657
1658 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1659 (comint-postoutput-scroll-to-bottom): Use it.
1660 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1661
290af740
GM
16622012-05-01 Glenn Morris <rgm@gnu.org>
1663
1664 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1665 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1666 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1667 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1668 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1669 Remove no-byte-compile setting.
1670
6eac8dc9
SM
16712012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1674 all-completions code to not return a number in the last cdr.
1675
9cc7819c
LL
16762012-04-30 Leo Liu <sdl.web@gmail.com>
1677
1678 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1679 read-only error.
1680
c93b886f
CY
16812012-04-29 Chong Yidong <cyd@gnu.org>
1682
1683 * follow.el (follow-calc-win-end): Rewrite to handle partial
1684 screen lines correctly (Bug#8390).
1685 (follow-avoid-tail-recenter): Minor cleanup.
1686
8b6c19f4
SM
16872012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 Avoid the obsolete `assoc' package.
1690 * speedbar.el (speedbar-refresh): Avoid adelete.
1691 (speedbar-file-lists): Simplify and avoid aput.
1692 * man.el (Man--sections, Man--refpages): New vars, replacing
1693 Man-sections-alist and Man-refpages-alist.
1694 (Man-build-section-alist, Man-build-references-alist):
1695 Use them; avoid aput.
1696 (Man--last-section, Man--last-refpage): New vars.
1697 (Man-follow-manual-reference): Use them.
1698 Use the `default' arg of completing-read.
1699 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1700
c5bb7569
CY
17012012-04-27 Chong Yidong <cyd@gnu.org>
1702
d1d2e2e8
CY
1703 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1704
15cd8efd
CY
1705 * startup.el (x-apply-session-resources): New function.
1706
1707 * term/ns-win.el (ns-initialize-window-system):
1708 * term/w32-win.el (w32-initialize-window-system):
1709 * term/x-win.el (x-initialize-window-system): Use it to properly
1710 set menu-bar-mode and other vars from X resources, even if the
1711 initial frame is not a window-system frame (Bug#2299).
1712
c5bb7569
CY
1713 * subr.el (read-key): Avoid running filter function when setting
1714 up temporary tool bar entries (Bug#9922).
1715
a8e7d6d7 17162012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1717
1718 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1719 (Bug#11344)
1720
a8e7d6d7 17212012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1722
1723 * select.el (xselect--encode-string): New function, split from
1724 xselect-convert-to-string.
1725 (xselect-convert-to-string): Use it.
1726 (xselect-convert-to-filename, xselect-convert-to-os)
1727 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1728 returned strings are properly encoded (Bug#11315).
1729
a8e7d6d7 17302012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1731
1732 * simple.el (delete-active-region): Move to killing custom group.
1733
a8e7d6d7 17342012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1735
1736 * progmodes/which-func.el (which-func-current): Quote %
1737 characters for mode-line processing.
1738
578c1d4b 17392012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1740
1741 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1742 reaching eob (Bug#11286).
1743
a8e7d6d7 17442012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1745
1746 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1747 (gdb): Make it buffer-local and init to zero.
1748 (gdb-control-commands-regexp): New variable.
1749 (gdb-send): Don't wrap in "-interpreter-exec console" if
1750 gdb-control-level is positive. Increment gdb-control-level
1751 whenever the command matches gdb-control-commands-regexp, and
1752 decrement it each time the command is "end". (Bug#11279)
1753
a8e7d6d7 17542012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1755
1756 * window.el (adjust-window-trailing-edge, enlarge-window)
1757 (shrink-window, window-resize):
1758 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1759 windows (Bug#11276).
1760
b3608390
CY
17612012-04-27 Chong Yidong <cyd@gnu.org>
1762
1763 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1764 fix "missing prefix" warning. All callers changed.
b3608390 1765
797e6e88
SM
17662012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * emacs-lisp/assoc.el: Move to obsolete/.
1769
e95a67dc
SM
17702012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1771
657c21e4 1772 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1773
1774 * term/ns-win.el (ns-define-service):
1775 * progmodes/pascal.el (pascal-goto-defun):
1776 * progmodes/js.el (js--read-tab):
1777 * progmodes/etags.el (tags-lazy-completion-table):
1778 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1779 * emacs-lisp/ewoc.el (ewoc--wrap):
1780 * emacs-lisp/assoc.el (aput, adelete, amake):
1781 * doc-view.el (doc-view-convert-current-doc):
1782 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1783
cb3e7ae0
CY
17842012-04-26 Chong Yidong <cyd@gnu.org>
1785
dce04f7f
CY
1786 * image.el (image-type-from-buffer): Only return supported image
1787 type (Bug#9045).
1788
cb3e7ae0
CY
1789 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1790 value, for symmetry with diff-end-of-hunk.
1791 (diff-split-hunk, diff-find-source-location)
1792 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1793 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1794 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1795 compute the relevant hunk or file properly (Bug#6005).
1796 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1797
0d42eb3e
SM
17982012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * vc/vc-mtn.el:
1801 * vc/vc-hg.el:
1802 * vc/vc-git.el:
1803 * vc/vc-dir.el:
1804 * vc/vc-cvs.el:
1805 * vc/vc-bzr.el:
1806 * vc/vc-arch.el:
1807 * vc/vc.el: Replace lexical-let by lexical-binding.
1808 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1809 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1810 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1811
f08ae1c9
CY
18122012-04-26 Chong Yidong <cyd@gnu.org>
1813
8b71081d
CY
1814 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1815 (diff-mode-shared-map): Bind it to / and [remap undo].
1816
f08ae1c9
CY
1817 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1818 (ediff-window-setup-function): Use it as the default, to set up
1819 windows based on whether the current frame is graphical (Bug#2138).
1820 (ediff-choose-window-setup-function-automatically): Make obsolete.
1821
1822 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1823
ef24141c
SM
18242012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1825
cc356a5d
SM
1826 * ffap.el: Remove old code for obsolete package.
1827 (ffap-complete-as-file-p): Remove.
1828
b4ff4f1f
SM
1829 Use completion-table-with-quoting for comint and pcomplete.
1830 * comint.el (comint--unquote&requote-argument)
1831 (comint--unquote-argument, comint--requote-argument): New functions.
1832 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1833 (comint-quote-filename): Use regexp-opt-charset.
1834 (comint--common-suffix, comint--common-quoted-suffix)
1835 (comint--table-subvert): Remove.
1836 (comint-unquote-function, comint-requote-function): New vars.
1837 (comint--complete-file-name-data): Use them with
1838 completion-table-with-quoting.
1839 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1840 * pcomplete.el (pcomplete-arg-quote-list)
1841 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1842 (pcomplete-unquote-argument-function): Default to non-nil.
1843 (pcomplete-unquote-argument): Simplify.
1844 (pcomplete--common-quoted-suffix): Remove.
1845 (pcomplete-requote-argument-function): New var.
1846 (pcomplete--common-suffix): New function.
1847 (pcomplete-completions-at-point): Use completion-table-with-quoting
1848 and completion-table-subvert.
1849
79c4eeb4
SM
1850 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1851 (minibuffer--double-dollars): Preserve properties.
1852 (completion--sifn-requote): New function.
1853 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1854
ef24141c
SM
1855 * minibuffer.el: Add support for completion of quoted/escaped data.
1856 (completion-table-with-quoting, completion-table-subvert): New funs.
1857 (completion--twq-try, completion--twq-all): New functions.
1858 (completion--nth-completion): New function.
1859 (completion-try-completion, completion-all-completions): Use it.
1860
784e7d6e
LL
18612012-04-25 Leo Liu <sdl.web@gmail.com>
1862
dd2ac746
SM
1863 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1864 Use compilation-message if available to find real filename.
784e7d6e 1865
07875ee7
CY
18662012-04-25 Chong Yidong <cyd@gnu.org>
1867
1868 * vc/diff-mode.el (diff-setup-whitespace): New function.
1869 (diff-mode): Use it.
1870
1871 * vc/diff.el (diff-sentinel):
1872 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1873 Whitespace mode variables based on diff style (Bug#8612).
1874
5055880d
LL
18752012-04-25 Leo Liu <sdl.web@gmail.com>
1876
daf75653
LL
1877 * progmodes/python.el (python-send-region): Add suffix .py to the
1878 temp file.
1879
5055880d
LL
1880 * files.el (auto-mode-alist): Use javascript-mode instead.
1881
db9b177b
AH
18822012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1883
ef24141c 1884 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1885
1886 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1887 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1888 references, see Bug#9.
ef24141c 1889 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1890 when receiving a fault reply.
ef24141c 1891 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1892
1893 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1894 (soap-inspect-simple-type): New function.
db9b177b 1895
ef24141c 1896 * soap-client.el (soap-simple-type): New struct.
db9b177b 1897 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1898 (soap-decode-basic-type, soap-encode-basic-type):
1899 support unsignedInt and double basic types.
db9b177b 1900 (soap-resolve-references-for-simple-type)
ef24141c
SM
1901 (soap-parse-simple-type, soap-encode-simple-type): New function.
1902 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1903
1904 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1905 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1906 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1907 the local name of "soapenc:Array".
1908 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1909 decoding integer, byte and anyURI xsd types.
1910
1fc6097b
CY
19112012-04-25 Chong Yidong <cyd@gnu.org>
1912
1913 * cus-edit.el (custom-buffer-create-internal): Update header text.
1914
afc6df87
EZ
19152012-04-25 Eli Zaretskii <eliz@gnu.org>
1916
1917 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1918 settings on 'system-type', not on 'window-system'. On MS-Windows,
1919 set interactive-mode on in GDB.
1920
dfbd787f
SM
19212012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1924 (ruby-syntax-propertize-regexp): Remove.
1925 (ruby-syntax-propertize-function): Split regexp into chunks.
1926 Match following code directly.
1927
85222d44
DG
19282012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1929
51a8ea2a
DG
1930 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1931 (ruby-syntax-propertize-regexp): New function.
1932 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1933 by a special keyword.
1934
85222d44
DG
1935 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1936 (ruby-syntax-general-delimiters-goto-beg)
1937 (ruby-syntax-propertize-general-delimiters): New functions.
1938 (ruby-syntax-propertize-function): Use them to handle GDL.
1939 (ruby-font-lock-keywords): Move old handling of GDL...
1940 (ruby-font-lock-syntactic-keywords): .. to here.
1941 (ruby-calculate-indent): Adjust indentation for GDL.
1942
b613912b
MA
19432012-04-24 Michael Albinus <michael.albinus@gmx.de>
1944
b5380639
MA
1945 * notifications.el (top): Remove unneeded declarations.
1946 (notifications-specification-version): Change to "1.2".
e43042fe 1947 (notifications-interface, notifications-notify-method)
b613912b
MA
1948 (notifications-close-notification-method): Fix docstring.
1949 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1950 (notifications-notify): Add :action-items, :resident and
1951 :transient hints. Change "image_data" to "image-data" and
1952 "image_path" to "image-path".
b613912b
MA
1953 (notifications-get-capabilities): New defun.
1954
257440aa
LL
19552012-04-24 Leo Liu <sdl.web@gmail.com>
1956
1957 * progmodes/python.el: Move hideshow setup to the end.
1958
b1bac16e
MR
19592012-04-24 Martin Rudalics <rudalics@gmx.at>
1960
1961 * window.el (handle-select-window): Clear echo area since this is
1962 no more done by read_char (Bug#11304).
1963
d81bd059
SM
19642012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1967 and `/ M' to filter-derived-mode.
1968 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1969 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1970 (ibuffer-mark-by-mode): Use default rather than initial-input.
1971 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1972
c4cf6d91
IA
19732012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1974
1975 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1976 (ibuffer-filter-by-derived-mode): New filter.
1977 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1978
7511ded8
CY
19792012-04-23 Andreas Politz <politza@fh-trier.de>
1980
1981 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1982
775c916b
CY
19832012-04-23 Chong Yidong <cyd@gnu.org>
1984
1985 * cus-edit.el (customize-apropos, customize-apropos-options):
1986 Disable matching of non-option variables (Bug#11176).
1987 (customize-option, customize-option-other-window)
1988 (customize-changed-options): Doc fix.
1989 (customize-apropos-options, customize-apropos-faces)
1990 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1991
1992 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1993 Fix word list splitting (Bug#11132).
46c71e23
CY
1994 (apropos-symbol, apropos-keybinding, apropos-label)
1995 (apropos-property, apropos-function-button)
1996 (apropos-variable-button, apropos-misc-button): New faces.
1997 (apropos-symbol-face, apropos-keybinding-face)
1998 (apropos-label-face, apropos-property-face, apropos-match-face):
1999 Variables removed (Bug#8396).
2000 (apropos-library-button, apropos-format-plist, apropos-print)
2001 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2002
2df41f9c
MA
20032012-04-23 Michael Albinus <michael.albinus@gmx.de>
2004
2005 * net/xesam.el (xesam-mode-map): Use let-bound map in
2006 initialization. (Bug#11292)
2007
da00640a
AM
20082012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2009
2010 Preserve ispell session localwords when switching back to
2011 original buffer.
2012
2013 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2014 variable to hold buffer session localwords.
2015 (ispell-kill-ispell): add option 'clear to delete session
2016 localwords.
2017 (ispell-command-loop, ispell-change-dictionary)
2018 (ispell-buffer-local-words): Preserve session localwords when
2019 needed.
2020
2021 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2022 Preserve session localwords when needed.
2023
f621ccf5
AM
20242012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2025
2026 * ispell.el (ispell-insert-word) Remove unneeded function using
2027 obsolete `translation-table-for-input'.
ef24141c
SM
2028 (ispell-word, ispell-process-line, ispell-complete-word):
2029 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2030
c2d1019e
CY
20312012-04-22 Chong Yidong <cyd@gnu.org>
2032
2033 * cus-edit.el (custom-variable-menu)
2034 (custom-variable-reset-saved, custom-face-menu)
2035 (custom-face-reset-saved): If there is no saved value, make the
2036 "reset-saved" operation bring back the default (Bug#9509).
2037 (custom-face-state): Properly detect themed faces.
2038
eeddc531
CY
2039 * faces.el (face-spec-set): Stop supporting deprecated form of
2040 third arg.
2041
dcbf5805
MA
20422012-04-22 Michael Albinus <michael.albinus@gmx.de>
2043
2044 Move functions from C to Lisp. Make non-blocking method calls
2045 the default. Implement further D-Bus standard interfaces.
2046
ef24141c
SM
2047 * net/dbus.el (dbus-message-internal): Declare function.
2048 Remove unneeded function declarations.
dcbf5805
MA
2049 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2050 (dbus-message-type-method-return, dbus-message-type-error)
2051 (dbus-message-type-signal): Declare variables. Remove local
2052 definitions.
2053 (dbus-interface-dbus, dbus-interface-peer)
2054 (dbus-interface-introspectable, dbus-interface-properties)
2055 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2056 Adapt docstring.
2057 (dbus-interface-objectmanager): New defconst.
2058 (dbus-call-method, dbus-call-method-asynchronously)
2059 (dbus-send-signal, dbus-method-return-internal)
2060 (dbus-method-error-internal, dbus-register-service)
2061 (dbus-register-signal, dbus-register-method): New defuns, moved
2062 from dbusbind.c
2063 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2064 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2065 New defuns.
dcbf5805
MA
2066 (dbus-call-method-non-blocking): Make it an obsolete function.
2067 (dbus-unregister-object, dbus-unregister-service)
2068 (dbus-handle-event, dbus-register-property)
2069 (dbus-property-handler): Obey the new structure of
2070 `bus-registered-objects'.
2071 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2072 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2073 Use `dbus-call-method'.
2074
cf20dee0
CY
20752012-04-22 Chong Yidong <cyd@gnu.org>
2076
2077 * cus-edit.el (custom-commands, custom-reset-menu)
2078 (Custom-reset-standard): Tweak labels.
2079 (custom-reset-button-menu): Change default to t.
2080 (custom-buffer-create-internal): For the custom-reset-button-menu
2081 case, put the revert button first.
2082 (custom-group-subtitle): New face.
2083 (custom-group-value-create): Align docstring to a specific column.
2084
2085 * wid-edit.el (widget-documentation-link-add): Don't handle
2086 indentation in this function.
2087 (widget-documentation-string-indent-to): New function.
2088 (widget-documentation-string-value-create): Use it.
2089
2090 * autorevert.el (auto-revert):
2091 * epg-config.el (epg):
2092 * ibuffer.el (ibuffer):
2093 * mpc.el (mpc):
2094 * ses.el (ses):
2095 * eshell/eshell.el (eshell):
2096 * net/ange-ftp.el (ange-ftp):
2097 * progmodes/ebnf2ps.el (postscript):
2098 * progmodes/flymake.el (flymake):
2099 * progmodes/prolog.el (prolog):
2100 * progmodes/verilog-mode.el (verilog-mode):
2101 * progmodes/which-func.el (which-func):
2102 * term/xterm.el (xterm):
2103 * textmodes/picture.el (picture):
2104 * textmodes/tildify.el (tildify):
2105 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2106 customization buffers.
2107
583e23bd
AM
21082012-04-22 Alan Mackenzie <acm@muc.de>
2109
2110 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2111 Adding a ) can hide the resulting (..) from searches. Fix it.
2112 Bound the backward search to the position of the existing (.
2113
7dd51bf1
JB
21142012-04-21 Juanma Barranquero <lekktu@gmail.com>
2115
2116 * progmodes/verilog-mode.el (verilog-mode): Check whether
2117 which-func-modes is t before adding verilog-mode.
2118 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2119
d64a438f
LL
21202012-04-21 Leo Liu <sdl.web@gmail.com>
2121
7dd51bf1 2122 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2123
081e8d65
MV
21242012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2125
2126 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2127 filling of the last column of a table (Bug#5635).
2128 (woman-find-next-control-line): New arg, specifying an additional
2129 regexp component for the control line.
2130 (woman2-roff-buffer): Use it.
2131 (woman-break-table): New function.
2132 (woman2-TS): Use it.
2133
21342012-04-21 Chong Yidong <cyd@gnu.org>
2135
2136 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2137 (woman-horizontal-escapes, woman-negative-vertical-space)
2138 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2139 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2140
ed571ccb
SM
21412012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * minibuffer.el (completion-file-name-table): Complete user names.
2144
39773899
LL
21452012-04-20 Leo Liu <sdl.web@gmail.com>
2146
2147 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2148 and pcase-let*.
2149
de6ff46d
CY
21502012-04-20 Chong Yidong <cyd@gnu.org>
2151
2152 * server.el (server-execute): Respect initial-buffer-choice if it
2153 is a string and there are no files to open (Bug#2825).
2154 (server-create-window-system-frame, server-create-tty-frame):
2155 Don't switch buffers here.
2d0e8e61
CY
2156 (server-process-filter): Only try to open a window system frame if
2157 compiled with graphical support (Bug#8314).
de6ff46d 2158
54071013
DN
21592012-04-20 Dan Nicolaescu <dann@gnu.org>
2160
2161 * battery.el (battery-echo-area-format): Display remaining time
2162 for sysfs backend too (Bug#11269).
2163 (battery-linux-sysfs): Fix conditional for the charge.
2164
f30d612a
CY
21652012-04-20 Chong Yidong <cyd@gnu.org>
2166
c07a4c0b 2167 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2168 (gdb-inferior-io--init-proc): New function.
2169 (gdb-init-1): Use it.
2170 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2171 responsible for allocating a new pty and hooking it to gdb when
2172 the old pty gets an EIO due to process exit.
2173 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2174 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2175 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2176
2116e93c
EZ
21772012-04-20 Eli Zaretskii <eliz@gnu.org>
2178
2179 * window.el (window-min-size, window-sizable, window-min-delta)
2180 (window-max-delta, window--resizable, window-resizable)
2181 (window-total-size, window-full-height-p, window-full-width-p)
2182 (window-in-direction, window--resize-mini-window, window-resize)
2183 (window--resize-child-windows-normal)
2184 (window--resize-child-windows, window--resize-siblings)
2185 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2186 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2187
c07a4c0b 21882012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2189
ef24141c
SM
2190 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2191 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2192 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2193 pty process (Bug#11273).
2194 (gdb-update): New arg to suppress talking to the gdb process.
2195 (gdb-done-or-error): Use it.
2196 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2197 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2198 sentinel not being called.
2199
2200 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2201
d02766ab
CY
2202 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2203
c07a4c0b 22042012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2205
2206 * net/network-stream.el (open-network-stream): Doc fix.
2207
c07a4c0b 22082012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2209
2210 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2211
c07a4c0b 22122012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2213
2214 Ensure searching for keywords is case sensitive.
2215
2216 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2217 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2218 (c-defun-name, c-mark-function, c-cpp-define-name)
2219 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2220 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2221
ef24141c
SM
2222 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2223 Bind case-fold-search to nil.
f0f6bc35 2224
c07a4c0b 22252012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2226
2227 * mail/sendmail.el (mail-bury): Call return action with the right
2228 Rmail buffer (Bug#11242).
2229
9a864fa2
CY
2230 * server.el (server-process-filter): Handle corner case where both
2231 tty and nowait options are present (Bug#11102).
2232
539aa513
EZ
22332012-04-20 Eli Zaretskii <eliz@gnu.org>
2234
2235 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2236 (top level): Put into the executable the ident-style '$Id:' tag on
2237 windows-nt as well.
539aa513 2238
cfc7d5da
SM
22392012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * electric.el (electric-indent-post-self-insert-function): Check that
2242 electric-indent-mode is enabled in current buffer.
2243
5b01685c
JB
22442012-04-19 Juanma Barranquero <lekktu@gmail.com>
2245
2246 * imenu.el (imenu-progress-message): Restore; it is "used" in
2247 erc/erc-imenu.el and net/snmp-mode.el.
2248
4d6769e1
JB
22492012-04-19 Juanma Barranquero <lekktu@gmail.com>
2250
2251 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2252 (mouse-avoidance-nudge-mouse): Remove unused binding.
2253
2254 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2255
2256 * descr-text.el (describe-char):
2257 * progmodes/python.el (python-describe-symbol):
2258 Don't call `toggle-read-only', set `buffer-read-only'.
2259
2260 * imenu.el (imenu-default-goto-function): Mark unused args.
2261 (imenu-progress-message): Remove obsolete macro; all callers changed.
2262
2263 * subr.el (keymap-canonicalize): Remove unused binding.
2264 (read-passwd): Mark unused arg.
2265
2266 * tutorial.el (tutorial--display-changes): Remove unused binding.
2267 (tutorial--save-tutorial-to): Remove unused variable.
2268
2269 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2270 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2271 (package-generate-autoloads, package-menu--generate)
2272 (package-menu--find-upgrades): Remove unused bindings.
2273
2274 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2275 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2276 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2277 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2278 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2279 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2280 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2281 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2282 (cua-delete-char-rectangle): Mark unused args.
2283 (cua-align-rectangle): Remove unused binding.
2284
2285 * mail/rmail.el (compilation--message->loc)
2286 (epa--find-coding-system-for-mime-charset): Declare.
2287
2288 * net/dbus.el (dbus-register-service): Declare.
2289 (dbus-name-owner-changed-handler): Remove unused binding.
2290
2291 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2292 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2293 (nxml-scan-backward-within): Mark unused arg.
2294 (nxml-dynamic-markup-word): Remove unused binding.
2295
2296 * mouse.el (mouse-menu-major-mode-map):
2297 * emacs-lisp/authors.el (authors-scan-change-log)
2298 (authors-add-to-author-list):
2299 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2300 * emacs-lisp/smie.el (smie-auto-fill):
2301 * mail/sendmail.el (mail-bury):
2302 * mail/unrmail.el (unrmail):
2303 * net/tls.el (open-tls-stream):
2304 * textmodes/picture.el (picture-mouse-set-point):
2305 Remove unused bindings.
2306
8c8fc5df
MA
23072012-04-19 Michael Albinus <michael.albinus@gmx.de>
2308
2309 * net/tramp.el (tramp-action-password): Let-bind
2310 `enable-recursive-minibuffers' to t.
2311
a77b0ac9
SS
23122012-04-18 Sam Steingold <sds@gnu.org>
2313
2314 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2315 instead of 'string to accommodate values like [f11].
2316 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2317 * progmodes/gdb-mi.el: Likewise.
2318
12a106a9
LL
23192012-04-18 Leo Liu <sdl.web@gmail.com>
2320
2321 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2322 current buffer.
2323 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2324 LOCAL is nil.
2325
bc6494ef
CY
23262012-04-18 Chong Yidong <cyd@gnu.org>
2327
2328 * simple.el (line-move): Use forward-line if in batch mode
2329 (Bug#11053).
2330
c09c46b2
CS
23312012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2332
2333 * files.el (after-find-file): Do not try to add a final newline if
2334 the buffer is read-only (Bug#11156).
2335
5f6530ea
RS
23362012-04-17 Richard Stallman <rms@gnu.org>
2337
2338 * mail/rmail.el (rmail-start-mail):
2339 Pass (rmail-mail-return...) for the return-action.
2340 Pass (rmail-yank-current-message...) for the yank-action.
2341 (rmail-yank-current-message): New function.
2342 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2343 (rmail-reply): Likewise.
2344 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2345
2346 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2347 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2348 buffer, not newbuf.
2349
197b6f3c
JB
23502012-04-17 Juanma Barranquero <lekktu@gmail.com>
2351
2352 * server.el (server-ensure-safe-dir): Simplify.
2353
2311d8e5 23542012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2355
2311d8e5
GM
2356 * emacs-lisp/smie.el: Provide smarter auto-filling.
2357 (smie-auto-fill): New function.
2358 (smie-setup): Use it.
98fb480e 2359
2311d8e5
GM
2360 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2361
23622012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2363
2364 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2365 (comment-indent): Use it.
2366
2311d8e5 23672012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2368
2369 * ses.el: The overall change is to add cell renaming, that is
2370 setting fancy names for cell symbols other than name matching
2371 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2372 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2373 (ses-create-cell-variable): New defun.
2311d8e5 2374 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2375 (ses-relocate-formula): Relocate formulas only for cells the
2376 symbols of which are not renamed, i.e. symbols whose names do not
2377 match regexp "\\`[A-Z]+[0-9]+\\'".
2378 (ses-relocate-all): Relocate values only for cells the symbols of
2379 which are not renamed.
2380 (ses-load): Create cells variables as the (ses-cell ...) are read,
2381 in order to check row col consistency with cell symbol name only
2382 for cells that are not renamed.
2383 (ses-replace-name-in-formula): New defun.
2384 (ses-rename-cell): New defun.
4bdf2ad2 2385
fc72b15c
PO
23862012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2387
2388 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2389 New option (bug#11118).
2390 (perl-calculate-indent): Respect it.
2391
12e10e61
GM
23922012-04-17 Glenn Morris <rgm@gnu.org>
2393
2394 * dired-aux.el (dired-mark-read-string): Doc fix.
2395
30009afd
DA
23962012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2397
2398 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2399 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2400
41f03f4d
GM
24012012-04-17 Glenn Morris <rgm@gnu.org>
2402
2403 * mouse.el (mouse-drag-track):
2404 * speedbar.el (speedbar-frame-mode):
2405 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2406
f45f90f3
LL
24072012-04-16 Leo Liu <sdl.web@gmail.com>
2408
2409 * progmodes/python.el: Trivial cleanup.
2410
94ee8db5
GM
24112012-04-16 Glenn Morris <rgm@gnu.org>
2412
121b8917
GM
2413 * vc/vc.el (vc-string-prefix-p):
2414 * vc/pcvs-util.el (cvs-string-prefix-p):
2415 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2416 * mpc.el (mpc-string-prefix-p):
2417 Make all of these into obsolete aliases for string-prefix-p.
2418 Update callers.
2419 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2420
1197ecfa
GM
2421 * textmodes/two-column.el: Move custom options to the start.
2422 (frame-width): Remove compat definition.
2423 (2C-associate-buffer, 2C-dissociate):
2424 Use with-current-buffer rather than save-excursion.
2425 (2C-dissociate): Force a mode-line update.
2426 (2C-autoscroll): Use ignore-errors.
2427
099e7202
GM
2428 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2429 Autoload trivia.
2430
bf350d6a
GM
2431 * emacs-lisp/cl-extra.el (*random-state*):
2432 Remove unnecessary declaration.
2433
0e829eab
GM
2434 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2435
e3ad7552
GM
2436 * play/cookie1.el (cookie-snarf):
2437 Give an explicit error if input file cannot be read.
2438
68892d27
GM
2439 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2440
20f0c46d
GM
2441 * progmodes/perl-mode.el (c-macro-expand):
2442 Remove unnecessary autoload (it is in loaddefs.el).
2443
5a0978ce
GM
2444 * textmodes/picture.el (picture-desired-column)
2445 (picture-update-desired-column): Convert comments to doc-strings.
2446 (picture-substitute): Remove function.
2447 (picture-mode-map): Initialize in the defvar.
2448
6b955486
GM
2449 * woman.el: Remove eval-after-load for tar-mode.
2450 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2451 (woman-tar-extract-file): Autoload it.
2452
94ee8db5
GM
2453 * frame.el (automatic-hscrolling): Make this alias obsolete.
2454
177eca34
AM
24552012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2456
2457 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2458 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2459 (ispell-dictionary-base-alist): Revert to original XEmacs
2460 friendly version for default. [:alpha:] will be added in
2461 `ispell-set-spellchecker-params' if needed
177eca34 2462
c505aaeb
CY
24632012-04-16 Chong Yidong <cyd@gnu.org>
2464
2465 * image.el (imagemagick--extension-regexp): New variable.
2466 (imagemagick-register-types): Use it.
2467 (imagemagick-types-inhibit): Add :set function. Allow new value
2468 of t to inhibit all types.
2469
2470 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2471 so we can preload it.
2472
2473 * loadup.el (fboundp): Preload regexp-opt, needed by
2474 imagemagick-register-types.
2475
60efac0f
CY
24762012-04-15 Chong Yidong <cyd@gnu.org>
2477
2478 * frame.el (scrolling): Remove nearly unused customization group.
2479
2480 * scroll-all.el (scroll-all-mode): Move to windows group.
2481
5dd1713e
CY
24822012-04-15 Chong Yidong <cyd@gnu.org>
2483
2484 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2485
e6fd457e
CY
24862012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2489 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2490
e153c136
GM
24912012-04-15 Glenn Morris <rgm@gnu.org>
2492
2493 * simple.el (process-file-side-effects): Doc fix.
2494
e6fd457e 24952012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2496
2497 * international/mule-cmds.el (set-language-environment): Doc fix.
2498
3603c3b1
JB
24992012-04-14 Juanma Barranquero <lekktu@gmail.com>
2500
2501 * server.el (server-auth-key, server-generate-key): Doc fixes.
2502 (server-get-auth-key): Doc fix. Use `string-match-p'.
2503 (server-start): Reflow docstring.
2504
e6de100c
LI
25052012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2506
2507 * server.el (server-generate-key): `called-interactively-p'
2508 requires a parameter.
2509
29734c21
MN
25102012-04-14 Michal Nazarewicz <mina86@mina86.com>
2511
2512 * server.el (server-auth-key): New variable.
75f1671a 2513 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2514 (server-start): Use the new variable and functions to allow
2515 setting a permanent server key (bug#9423).
2516
d65c9521
LL
25172012-04-14 Leo Liu <sdl.web@gmail.com>
2518
2519 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2520
5ae255c7
PE
25212012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2522
2523 Spelling fixes.
2524 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2525 Emacs uses American spelling.
2526
d5e6342e
JB
25272012-04-14 Juanma Barranquero <lekktu@gmail.com>
2528
2529 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2530 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2531 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2532 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2533
ab036cd7
SM
25342012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * progmodes/which-func.el (which-func-modes): Change default.
2537
35dc09a1 25382012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2539
2540 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2541 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2542
35dc09a1 25432012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2544
2545 * custom.el (custom-theme-set-variables): Doc fix.
2546
35dc09a1 25472012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2548
2549 * international/mule.el (set-auto-coding-for-load): Doc fix.
2550
35dc09a1 25512012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2552
35dc09a1
GM
2553 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2554 imenu work again for Objective C Mode. Correct the *-index values,
2555 these having been disturbed by a previous change in 2011-08.
57f845ee 2556
0de3da9f
AM
2557 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2558 Correct two search limits.
2559
35dc09a1 25602012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2561
2562 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2563
35dc09a1 25642012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2565
2566 * international/characters.el: Fix sorting.
2567
35dc09a1 25682012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2569
2570 * international/characters.el: Add more missing Latin case pairs.
2571
35dc09a1 25722012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2573
2574 * files.el (dir-locals-set-class-variables): Doc fix.
2575
35dc09a1 25762012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2577
3f1b5bf8
EZ
2578 * international/characters.el: Add set-case-syntax-pair call for
2579 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2580 counterpart. (Bug#11209)
2581
9f847f41
EZ
2582 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2583
35dc09a1 25842012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2585
2586 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2587
35dc09a1 25882012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2589
35dc09a1
GM
2590 * textmodes/ispell.el (ispell-dictionary-base-alist):
2591 Add data for Hebrew.
e2627d21 2592
35dc09a1 25932012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2594
35dc09a1
GM
2595 * net/rcirc.el (rcirc-cmd-quit):
2596 Revert 2012-03-18 change (Bug#11192).
5c14e333 2597
35dc09a1 25982012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2599
2600 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2601
35dc09a1 26022012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2603
4517fe3a
SM
2604 * minibuffer.el (completion-in-region-mode-map):
2605 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2606
b472a594
VD
26072012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2608
2609 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2610
09b95ce3
MY
26112012-04-13 Masatake YAMATO <yamato@redhat.com>
2612
2613 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2614 to allow `C-M-f' and `C-M-b' to move to the nearest path
2615 separator (bug#9511).
2616
4b63a9ca
LI
26172012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2618
2619 * avoid.el: Require cl when compiling. And also move the
2620 `provide' to the end.
2621
7b55b8bf
TV
26222012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2623
2624 * avoid.el (mouse-avoidance-banish-position): New variable.
2625 (mouse-avoidance-banish-destination): Use it (bug#10165).
2626
adedaa1f
LL
26272012-04-13 Leo Liu <sdl.web@gmail.com>
2628
2629 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2630
70e74021
KB
26312012-04-13 Ken Brown <kbrown@cornell.edu>
2632
2633 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2634 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2635 (browse-url-filename-alist): For the same reason, don't modify
2636 file:// URLs on Cygwin.
2637
e75e89ba
SM
26382012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2641 the region on shift if the binding is already shifted (bug#11221).
2642
82f289a4
GM
26432012-04-12 Glenn Morris <rgm@gnu.org>
2644
2645 * mail/mailpost.el: Move to obsolete/.
2646
d333dc4c
DA
26472012-04-12 Drew Adams <drew.adams@oracle.com>
2648
2649 * imenu.el (imenu--generic-function): Ignore invisible definitions
2650 (bug#10123).
2651
0d15b5ba
VD
26522012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2653
2654 * hexl.el (hexl-bits): New variable.
2655 (hexl-options): Mention the variable in the doc string.
75f1671a 2656 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2657 (hexl-mode): Mention the new variable.
75f1671a
JB
2658 (hexl-mode, hexl-current-address, hexl-current-address):
2659 Use the displen.
0d15b5ba
VD
2660 (hexl-ascii-start-column): New function.
2661 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2662 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2663
64a440db
AM
26642012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2665
2666 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2667 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2668 the encoding, as expected by hunspell.
2669
6decb6c2
SM
26702012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * battery.el (battery--linux-sysfs-regexp): New const.
2673 (battery-status-function): Use it. Remove yeeloong special case.
2674 (battery-yeeloong-sysfs): Remove.
2675 (battery-echo-area-format): Remove yeeloong special case.
2676
088be6fb
SM
26772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2678
6622e416
SM
2679 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2680 Reported by Noah Friedman.
2681
088be6fb
SM
2682 * subr.el (read-passwd): Use read-string.
2683
b49f886e
LMI
26842012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2685
2686 * vcursor.el (vcursor-move): Increase the priority of the overlay
2687 (bug#9663).
2688
a63067fc
DD
26892012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2690
2691 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2692 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2693
ac3cf14a
WS
26942012-04-11 William Stevenson <yhvh2000@gmail.com>
2695
2696 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2697 define-minor-mode (bug#10760).
2698
c4fc691b 26992012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2700
4d6769e1 2701 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2702 that directories matching `grep-find-ignored-files' won't be
2703 pruned (bug#10351).
2704
af23e2e5
CY
27052012-04-11 Chong Yidong <cyd@gnu.org>
2706
2707 * startup.el (command-line): Remove support for long-obsolete
2708 variable font-lock-face-attributes.
2709
ab7ce8c1
GM
27102012-04-11 Glenn Morris <rgm@gnu.org>
2711
2712 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2713
de8c03dc
SM
27142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * window.el (window--state-get-1): Obey window-point-insertion-type.
2717
050cc68b
LB
27182012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2719
2720 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2721 to previous function when point is on the first character of a
75f1671a 2722 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2723
a38c310c
GM
27242012-04-11 Glenn Morris <rgm@gnu.org>
2725
effed0c2
GM
2726 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2727 not just file-errors.
2728
a38c310c
GM
2729 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2730 (vc-bzr-sha1): Use internal sha1.
2731
0221e323
SM
27322012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2735
43956923
SG
27362012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2737
2738 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2739 that start in the middle of the line (bug#10496).
2740
6a8c9eaf
DN
27412012-04-10 Dan Nicolaescu <dann@gnu.org>
2742
2743 * battery.el (battery-linux-proc-acpi): Only one battery is
2744 discharged at a time, but that seems to confuse battery.el when
2745 computing `rate-type' for the battery not being discharged
2746 (bug#10332).
2747
1930bf5d
SM
27482012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2a718f6f
SM
2750 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2751
599430d0
SM
2752 * international/quail.el: Use dolist and simplify.
2753 (quail-define-package, quail-update-keyboard-layout)
2754 (quail-define-rules): Use dolist.
2755 (quail-insert-kbd-layout, quail-get-translation): CSE.
2756
a2754b6c
SM
2757 * tmm.el: Use dolist, remove left over hook.
2758 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2759 Use dolist.
2760 (calendar-load-hook): Don't mess with it.
2761
1930bf5d
SM
2762 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2763 Use derived-mode-p. Run the diff asynchronously.
2764
9f67961c
LMI
27652012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2766
2767 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2768
2a8ce227
JB
27692012-04-10 Juanma Barranquero <lekktu@gmail.com>
2770
2771 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2772 (list-dynamic-libraries--loaded): New function.
2773 (list-dynamic-libraries--refresh): Use it.
2774
8f33b5f8
NW
27752012-04-10 Nathan Weizenbaum <nweiz@google.com>
2776
1930bf5d
SM
2777 * progmodes/python.el (python-fill-paragraph):
2778 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2779 disabled (bug#7018).
2780
b12f0439
L
27812012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2782
1930bf5d 2783 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2784 DOS/MS Windows for the Baltic languages. There are still plenty
2785 of texts written in this encoding/codepage (bug#6519).
b12f0439 2786
57c3bd01
GM
27872012-04-10 Glenn Morris <rgm@gnu.org>
2788
2789 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2790 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2791
6c3eab30
FA
27922012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2793
1930bf5d 2794 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2795 next-line "n" and previous-line "p" in order to make recentf more
2796 consistent with ibuffer, dired or org-mode (bug#9387).
2797
24d78a88
LMI
27982012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2799
bc72b5d9
LMI
2800 * image.el (put-image): Return the overlay created instead of the
2801 optional input string (bug#7834). Note that this may break code
2802 that is (for some reason or other) depending on `put-image'
2803 returning the string.
2804
bd2dba5a
LMI
2805 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2806
74beb59f
LMI
2807 * simple.el (zap-to-char): Allow zapping using input methods
2808 (bug#1580).
2809
24d78a88
LMI
2810 * textmodes/fill.el (fill-region): Leave point and mark where they
2811 were before filling (bug#5399).
2812
263f20cd
GM
28132012-04-09 Glenn Morris <rgm@gnu.org>
2814
2815 * version.el (emacs-bzr-get-version):
2816 Handle lightweight checkouts of local branches.
2817
58d1f797
AS
28182012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2819
263f20cd 2820 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2821
b4d3bc10
CY
28222012-04-09 Chong Yidong <cyd@gnu.org>
2823
2824 * custom.el (custom-variable-p): Return nil for non-symbol
2825 arguments instead of signaling an error.
2826 (user-variable-p): Obsolete alias for custom-variable-p.
2827
2828 * apropos.el (apropos-variable):
2829 * files-x.el (read-file-local-variable):
2830 * simple.el (set-variable):
2831 * woman.el (woman-mini-help):
2832 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2833
fd06db5d
GM
28342012-04-09 Glenn Morris <rgm@gnu.org>
2835
e5fcdb5e
GM
2836 * startup.el (normal-top-level): Don't look for leim-list.el
2837 in places where it will not be found. (Bug#910)
2838
fd06db5d
GM
2839 * international/mule-cmds.el (set-default-coding-systems):
2840 * files.el (normal-mode):
2841 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2842 This function was removed with ucs-tables.el in 2008.
2843
b39bb7e1
EZ
28442012-04-08 Eli Zaretskii <eliz@gnu.org>
2845
2846 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2847 ispell-encoding8-command to "-i", without a trailing space.
2848 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2849 separate command-line arguments, to specify the encoding, since
2850 that's how hunspell expects it.
2851
5c5b8e23
GM
28522012-04-08 Glenn Morris <rgm@gnu.org>
2853
2854 * loadup.el: Load bindings before cus-start.
2855 This reduces somewhat the number of "rogue" settings in emacs -Q.
2856
a1ed8b05
GM
28572012-04-07 Glenn Morris <rgm@gnu.org>
2858
2859 * version.el (emacs-bzr-get-version): New function.
dfae128a 2860 (emacs-bzr-version): New variable.
a1ed8b05
GM
2861 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2862 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2863
b142f158
EZ
28642012-04-07 Eli Zaretskii <eliz@gnu.org>
2865
dfae128a
GM
2866 * international/uni-bidi.el, international/uni-category.el:
2867 * international/uni-combining.el, international/uni-decimal.el:
2868 * international/uni-decomposition.el, international/uni-digit.el:
2869 * international/uni-lowercase.el, international/uni-mirrored.el:
2870 * international/uni-name.el, international/uni-numeric.el:
2871 * international/uni-titlecase.el, international/uni-uppercase.el:
2872 Update for Unicode 6.1.
b142f158 2873
9078ead6
EZ
28742012-04-07 Eli Zaretskii <eliz@gnu.org>
2875
2876 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2877
f23d2c7d
LMI
28782012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2879
2880 * window.el (shrink-window): Mention the `window-min-height'
2881 variable in the doc string.
2882
0a0a3573
BG
28832012-04-05 Bastien Guerry <bzg@altern.org>
2884
2885 * color.el (color-lighten-name): Fix typo.
2886
e5248ac9
SM
28872012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * server.el (server--on-display-p): New function.
2890 (server--on-display-p): Use it.
2891
b4243e22
GV
28922012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2893
2894 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2895 (bug#11145).
2896
305d9f44
SM
28972012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * comint.el (comint--common-quoted-suffix): Check string boundary
2900 before comparing (bug#11158).
2901 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2902
3d439cd1
CY
29032012-04-04 Chong Yidong <cyd@gnu.org>
2904
321cc491
CY
2905 * minibuffer.el (completion-extra-properties): Doc fix.
2906
3d439cd1
CY
2907 * subr.el (delayed-warnings-hook): Doc fix.
2908
2d562c0f
DU
29092012-04-04 Daiki Ueno <ueno@unixuser.org>
2910
2911 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2912 selection (Bug#11159).
2913 (epa-insert-keys): Inform that the default public key will be
2914 exported if no key is selected.
2915
4443f204
RS
29162012-04-04 Richard Stallman <rms@gnu.org>
2917
2918 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2919
529c06b6
CY
29202012-04-03 Chong Yidong <cyd@gnu.org>
2921
2922 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2923 mail-insert-file, not its obsolete alias mail-attach-file.
2924
66b907dc
MA
29252012-04-03 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * notifications.el (notifications-notify): Fix docstring.
2928
c0ea195d
GM
29292012-04-02 Glenn Morris <rgm@gnu.org>
2930
2931 * emacs-lisp/authors.el (authors-aliases): Another addition.
2932
5ca64e00
MA
29332012-04-02 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2936 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2937 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2938
42ee526b
CY
29392012-04-01 Chong Yidong <cyd@gnu.org>
2940
2941 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2942 Handle root directory properly.
2943 (copy-directory): Caller changed.
2944
2945 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2946 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2947
0b021094
GM
29482012-03-31 Glenn Morris <rgm@gnu.org>
2949
40f86458
GM
2950 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2951
7019c177
GM
2952 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2953
a1daddd6
GM
2954 * calendar/calendar.el (calendar-window-list)
2955 (calendar-hide-window): Restore. (Bug#11140)
2956 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2957
0b021094
GM
2958 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2959
40311efc
TV
29602012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2961
2962 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2963 Check if file is a symlink (Bug#10489).
2964
2965 * files.el (copy-directory): Likewise.
2966
5319014e
CY
29672012-03-30 Chong Yidong <cyd@gnu.org>
2968
2969 * image.el (imagemagick-types-inhibit)
2970 (imagemagick-register-types): Doc fix.
2971
935d1290
AM
29722012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2973
ef24141c
SM
2974 * ispell.el (ispell-get-extended-character-mode):
2975 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2976 and treats ~word as ordinary words in pipe mode.
935d1290 2977
61c6e8fd
GM
29782012-03-30 Glenn Morris <rgm@gnu.org>
2979
2980 * tutorial.el (help-with-tutorial): Ensure local variables don't
2981 happen to make the buffer read-only. (Bug#11127)
2982
81fdff00
SM
29832012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2986 (perl-calculate-indent): Return `noindent' in strings.
2987
6e7a6ec0
SS
29882012-03-28 Sam Steingold <sds@gnu.org>
2989
2990 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2991 instead of the broken adhockery which does not prevent calendar
2992 buffers from being displayed at random after exit.
2993 (calendar-window-list, calendar-hide-window): Remove the broken
2994 adhockery.
2995
fee88ca0
GM
29962012-03-28 Glenn Morris <rgm@gnu.org>
2997
2998 * replace.el (query-replace-map): Doc fix.
2999
38de3354
AS
30002012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3001
3002 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3003 contents. (Bug#11109)
3004
b973155e
SM
30052012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3008 (bug#11077).
3009 (avl-tree--check, avl-tree--check-node): New funs.
3010
dcb6e7b3
MR
30112012-03-27 Martin Rudalics <rudalics@gmx.at>
3012
3013 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3014 (switch-to-prev-buffer, switch-to-next-buffer):
3015 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3016 showing a buffer already is done on the same frame.
3017
b4fa35fa
GM
30182012-03-27 Glenn Morris <rgm@gnu.org>
3019
3020 * startup.el (mail-host-address): Doc fix.
3021
f9210e18
SM
30222012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3025 than 197 variables.
3026
c0bf7753
AF
30272012-03-26 Ami Fischman <ami@fischman.org>
3028
3029 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3030
33da7b16
GM
30312012-03-26 Glenn Morris <rgm@gnu.org>
3032
02243d9d
GM
3033 * files.el (save-buffers-kill-emacs): Doc fix.
3034
33da7b16
GM
3035 * startup.el (normal-top-level, command-line, command-line-1):
3036 Give them doc strings.
3037
e5a69fd0
EZ
30382012-03-25 Eli Zaretskii <eliz@gnu.org>
3039
3040 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3041 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3042
9a69676a
CY
30432012-03-25 Chong Yidong <cyd@gnu.org>
3044
4125cb8b
CY
3045 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3046 theme if it was previously enabled before (Bug#11031).
3047
dd470960
CY
3048 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3049 spec with custom-face-get-current-spec if its :shown-value is not
3050 determined yet (Bug#9337).
4125cb8b 3051 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3052
9a69676a
CY
3053 * button.el (button-at): Minor addition to docstring.
3054
6e7e90fa
SL
30552012-03-24 Simon Leinen <simon.leinen@gmail.com>
3056
3057 * vc/vc.el (vc-merge): Fix a prompt.
3058
f06e2758
CY
30592012-03-24 Chong Yidong <cyd@gnu.org>
3060
3061 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3062 point (Bug#9623).
3063
6e7e90fa
SL
3064 * button.el (button-at): Minor addition to docstring.
3065
b9d0879b
SM
30662012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * newcomment.el (comment-choose-indent): No space after BOL.
3069
e71cebb3
SS
30702012-03-22 Sam Steingold <sds@gnu.org>
3071
3072 * window.el (switch-to-prev-buffer): Revert last patch because the
3073 bug turned out to be an advertised feature (Elisp manual 28.14).
3074
335aff35
GM
30752012-03-22 Glenn Morris <rgm@gnu.org>
3076
3077 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3078 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3079
c676576a
LMI
30802012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3081
3082 * net/network-stream.el (network-stream-open-starttls): Make error
3083 message under Windows be less misleading.
3084
126f3d39
LW
30852012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3086
3087 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3088 understands (bug#9942).
3089
64fee311
CY
30902012-03-22 Chong Yidong <cyd@gnu.org>
3091
3092 * simple.el (end-of-visible-line): Handle return value of
3093 next-single-property-change properly (Bug#9371).
3094
a640d29a
KH
30952012-03-22 Kenichi Handa <handa@m17n.org>
3096
3097 * international/quail.el (quail-insert-kbd-layout): Fix previous
3098 change. To avoid unwanted bidi reordering, use
3099 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3100
39675016
DG
31012012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3102
3103 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3104 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3105 (ruby-beginning-of-indent): Be more careful with the difference
3106 between word-boundary and symbol boundary.
3107 (ruby-mode-syntax-table): Make : a symbol constituent.
3108
0a6934fc 31092012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3110
3d008e4f
SM
3111 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3112
0a6934fc
SM
31132012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3114
af67c9d7
SM
3115 * progmodes/etags.el (tags-completion-at-point-function):
3116 Improve last fix.
3117
1acad97c
SM
3118 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3119
e298b5da
SS
31202012-03-21 Sam Steingold <sds@gnu.org>
3121
3122 * progmodes/etags.el (tags-completion-at-point-function):
3123 Avoid the error when point is inside the pattern.
3124
91d82a70
JY
31252012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3126
3127 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3128 line (Bug#10855).
3129
69188b79
CY
31302012-03-21 Drew Adams <drew.adams@oracle.com>
3131
3132 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3133
99fc91fe
AK
31342012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3135
3136 * ido.el (ido-set-current-directory, ido-read-internal)
3137 (ido-choose-completion-string, ido-completion-help): Handle nil
3138 value of ido-completion-buffer (Bug#11008).
3139
087bbb4c
SS
31402012-03-21 Sam Steingold <sds@gnu.org>
3141
3142 * window.el (switch-to-prev-buffer): Do not switch to a visible
3143 window previous buffer, just like with the frame previous buffers.
3144
fb5b8aca
CY
31452012-03-21 Chong Yidong <cyd@gnu.org>
3146
3147 * faces.el (make-face, make-empty-face, copy-face):
3148 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3149 Doc fixes.
3150
dc9924b8
SM
31512012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3154 (widget-complete): Remove broken use of it.
3155
f0bcceb9
CY
31562012-03-20 Chong Yidong <cyd@gnu.org>
3157
dc9924b8
SM
3158 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3159 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3160 characters.
3161
ee52ebf3
TH
31622012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3163
3164 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3165 to draw rectangles, not squares. (Regression introduced by revno
3166 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3167
4c5779ab
CY
31682012-03-18 Chong Yidong <cyd@gnu.org>
3169
3170 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3171 it is not yet defined (for temacs).
3172
15360934
LL
31732012-03-18 Leo Liu <sdl.web@gmail.com>
3174
dc9924b8 3175 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3176
d9a8eb66
EZ
31772012-03-17 Eli Zaretskii <eliz@gnu.org>
3178
3179 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3180 (ispell-choices-win-default-height, ispell-silently-savep)
3181 (ispell-dictionary-alist, ispell-encoding8-command)
3182 (ispell-check-version, ispell-aspell-find-dictionary)
3183 (ispell-valid-dictionary-list, ispell-words-keyword)
3184 (ispell-get-word, ispell-internal-change-dictionary)
3185 (ispell-region, ispell-skip-region-list)
3186 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3187 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3188 (ispell-message-text-end, ispell-message)
3189 (ispell-buffer-local-parsing): Doc fix.
3190
f02ff80d
J
31912012-03-13 Jambunathan K <kjambunathan@gmail.com>
3192
3193 * htmlfontify.el: Add support for code block fontification for ODT
3194 export (Bug #9914).
3195 (hfy-optimisations): Define new option
3196 `body-text-only'
3197 (hfy-fontify-buffer): Honor above setting.
3198 (hfy-begin-span, hfy-end-span): New routines factored out form
3199 `hfy-fontify-buffer'.
3200 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3201 that permit insertion of custom tags.
3202 (hfy-fontify-buffer): Use above handlers.
3203 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3204 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3205 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3206 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3207 bind a special variable `hfy-user-sheet-assoc'.
3208 (htmlfontify-string): New defun.
3209 (hfy-compile-face-map): Make sure that the last char in the
3210 buffer is correctly fontified.
3211 (hfy-face-resolve-face): Whitespace only change.
3212
9ac7a13f
EZ
32132012-03-17 Eli Zaretskii <eliz@gnu.org>
3214
3215 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3216 message more clear.
3217
e2b5bdd7
LL
32182012-03-16 Leo Liu <sdl.web@gmail.com>
3219
3220 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3221
2e492df3
AM
32222012-03-16 Alan Mackenzie <acm@muc.de>
3223
3224 Further optimise the handling of large macros.
3225
3226 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3227 limit to a call of `c-literal-limits'.
3228 (c-determine-+ve-limit): New function.
dc9924b8
SM
3229 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3230 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3231 In CASE 5B, restrict a search limit to 500.
3232 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3233
3234 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3235 Restrict macro bounds to +-500 from after-change's BEG END.
3236
50e94f0c
LL
32372012-03-16 Leo Liu <sdl.web@gmail.com>
3238
3239 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3240
6f09f6ed
AH
32412012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3242
3243 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3244 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3245
c7e73d51
GM
32462012-03-16 Glenn Morris <rgm@gnu.org>
3247
da986230
GM
3248 * view.el (view-buffer, view-buffer-other-window)
3249 (view-buffer-other-frame): Doc fixes re special mode-class.
3250
0835f01e
GM
3251 * subr.el (eval-after-load): If named feature is provided not from
3252 a file, run after-load forms. (Bug#10946)
3253
c7e73d51
GM
3254 * calendar/calendar.el (calendar-insert-at-column):
3255 Handle non-unit-width characters a bit better. (Bug#10978)
3256
3f2eafd1
CY
32572012-03-15 Chong Yidong <cyd@gnu.org>
3258
3259 * emacs-lisp/ring.el (ring-extend): New function.
3260 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3261
3262 * comint.el (comint-read-input-ring)
3263 (comint-add-to-input-history): Grow comint-input-ring lazily.
3264
103af3fe
SM
32652012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3266
663b1677
SM
3267 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3268 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3269
103af3fe
SM
3270 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3271 (imenu-add-to-menubar): Don't add a redundant index.
3272 (imenu-update-menubar): Handle a dynamically composed keymap.
3273
899cb7cb
KY
32742012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3275
3276 * mail/sendmail.el (mail-encode-header):
3277 Bind rfc2047-encode-encoded-words to nil.
3278
3809f91d
GM
32792012-03-13 Glenn Morris <rgm@gnu.org>
3280
3281 * calendar/calendar.el (calendar-string-spread):
3282 Handle non-unit-width characters a bit better. (Bug#10978)
3283
9e345a01
LL
32842012-03-13 Leo Liu <sdl.web@gmail.com>
3285
3286 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3287 directory and file as argument (Bug#10822).
3288
4a07df36
KS
32892012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3290
3291 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3292 For dynamically generated code, follow $PC.
3293 (gdb-disassembly-handler-custom): Handle no function name case.
3294
4aaa9356
TL
32952012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3296
3297 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3298 * emulation/ws-mode.el (ws-query-replace):
3299 * sort.el (sort-regexp-fields):
3300 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3301
225979da
SM
33022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * dabbrev.el: Fix cycle completion order (bug#10963).
3305 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3306 (dabbrev-completion): Don't use an obarray; provide
3307 a cycle-sort-function.
3308
e2f1fdab
LL
33092012-03-12 Leo Liu <sdl.web@gmail.com>
3310
dc9924b8 3311 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3312 (kill-do-not-save-duplicates): Doc fix.
3313
b19490ed
SM
33142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * dabbrev.el: Fix cycle completion (bug#10963).
3317 Use lexical binding and wrap to 80 columns.
3318 (dabbrev-completion): Delay computing the list of completions.
3319
4b05d722
KH
33202012-03-12 Kenichi Handa <handa@m17n.org>
3321
3322 * international/quail.el (quail-insert-kbd-layout): Surround each
3323 row by LRO and PDF instead of inserting many LRMs. Pad the left
3324 and right of each non-spacing marks. Insert invisible space
3325 between lower and upper characters to prevent composition.
3326
dbbc2e69
SM
33272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * minibuffer.el (minibuffer-complete): Don't get confused when the
3330 function is run twice via different commands (bug#10958).
3331 (complete-with-action): Fix docstring.
3332
292112ed
CY
33332012-03-12 Chong Yidong <cyd@gnu.org>
3334
5d1ac394
CY
3335 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3336 (nxml-completion-at-point-function): New function.
3337 (nxml-mode): Use it.
3338 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3339
292112ed
CY
3340 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3341 Load generated autoloads file before byte compiling (Bug#10970).
3342 (package--make-autoloads-and-compile): New helper fun.
3343
4098f8f7
CS
33442012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3345
3346 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3347
8f754691
MA
33482012-03-11 Michael Albinus <michael.albinus@gmx.de>
3349
3350 * autorevert.el (auto-revert-handler): Ensure, that
3351 file-readable-p is applied only for local files or in
3352 auto-revert-tail-mode.
3353
e29ab36b
AS
33542012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3355
dbbc2e69
SM
3356 * server.el (server-eval-at): Handle non-tcp connections.
3357 Decode result string.
ad0bf5b6 3358
e29ab36b
AS
3359 * server.el (server-msg-size): New constant.
3360 (server-reply-print): New function.
3361 (server-eval-and-print): Use it.
3362 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3363 Handle -print-nonl.
3364
de5939ba
CS
33652012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3366
3367 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3368 (Bug#10987).
3369
0c93eabf
CY
33702012-03-11 Chong Yidong <cyd@gnu.org>
3371
397a688f
CY
3372 * simple.el (goto-line): Doc fix (Bug#9938).
3373
2cc775f9
CY
3374 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3375
0c93eabf
CY
3376 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3377 when finished (Bug#10963).
3378
c491fa41
MR
33792012-03-11 Martin Rudalics <rudalics@gmx.at>
3380
3381 * window.el (split-window-below): Fix bug in case where
3382 split-window-keep-point is nil (Bug#10971).
3383
300e8fa5
JL
33842012-03-11 Juri Linkov <juri@jurta.org>
3385
3386 * replace.el (replace-highlight): Set isearch-word to nil
3387 unconditionally. (Bug#10887)
3388
dbf6c5a1
EZ
33892012-03-10 Eli Zaretskii <eliz@gnu.org>
3390
3391 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3392 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3393 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3394 (mairix-widget-create-query): Add usage information about mairix
3395 search forms: negating words, searching for substrings, etc.
3396
b9e501de
JP
33972012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3398
3399 * international/fontset.el (font-encoding-alist): Add an entry for
3400 ksx1001 (Bug#5667).
3401
92795c91
RS
34022012-03-10 Richard Stallman <rms@gnu.org>
3403
1694e6c1
RS
3404 * mail/sendmail.el (mail-encode-header):
3405 Set rfc2047-encode-encoded-words.
3406
607e8555
RS
3407 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3408
de3bc99a
RS
3409 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3410 view buffer means not swapped.
3411 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3412 (rmail-write-region-annotate): Error if real text has disappeared.
3413
92795c91
RS
3414 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3415
699bd04e
CY
34162012-03-10 Chong Yidong <cyd@gnu.org>
3417
3418 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3419 * emulation/cua-base.el (cua--init-keymaps):
3420 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3421
570a1714
MR
34222012-03-10 Martin Rudalics <rudalics@gmx.at>
3423
dbbc2e69
SM
3424 * speedbar.el (speedbar-unhighlight-one-tag-line):
3425 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3426
82dcf4e4
CY
34272012-03-10 Chong Yidong <cyd@gnu.org>
3428
7a2c7ca7
CY
3429 * minibuffer.el (completion-in-region, completion-help-at-point):
3430 Give the completion field overlay a high priority (Bug#6830).
3431
82dcf4e4
CY
3432 * dired.el (dired-goto-file): Recognize absolute file name
3433 listings (Bug#7126).
3434 (dired-goto-file-1): New helper function.
3435 (dired-toggle-read-only): Inhibit warnings.
3436
052e28ac
MA
34372012-03-09 Michael Albinus <michael.albinus@gmx.de>
3438
75f1671a 3439 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3440 there are no properties.
3441
95d5e396
LL
34422012-03-09 Leo Liu <sdl.web@gmail.com>
3443
3444 * savehist.el (savehist-printable): Stricter check for string
3445 value (Bug#10937).
3446
3f018d6d
EZ
34472012-03-09 Eli Zaretskii <eliz@gnu.org>
3448
dbbc2e69
SM
3449 * mail/smtpmail.el (smtpmail-send-it):
3450 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3451 valid mbox format.
3452
f7fd3d79
GM
34532012-03-09 Glenn Morris <rgm@gnu.org>
3454
3455 * files.el (dir-locals-find-file):
3456 Don't check result is regular, readable.
3457 (dir-locals-read-from-file): Demote errors.
3458
6ff6e72f
EZ
34592012-03-08 Eli Zaretskii <eliz@gnu.org>
3460
dbbc2e69
SM
3461 * international/quail.el (quail-insert-kbd-layout):
3462 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3463 layout cell, to prevent their reordering by bidi display engine.
3464 For details, see the discussion in
3465 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3466
9cec7834
AM
34672012-03-08 Alan Mackenzie <acm@muc.de>
3468
3469 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3470 the starting position; make it extend the marked region when
3471 invoked repeatedly - all under appropriate circumstances.
3472 Fixes bugs #5525, #10906.
3473
9a40b8d4
GM
34742012-03-08 Glenn Morris <rgm@gnu.org>
3475
3476 * files.el (locate-dominating-file, dir-locals-find-file):
3477 Undo 2012-03-06 change.
3478
7a08ed35
EZ
34792012-03-07 Eli Zaretskii <eliz@gnu.org>
3480
dbbc2e69
SM
3481 * international/quail.el (quail-help):
3482 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3483 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3484 for the reason.
3485
5aca4f71 34862012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3487
3488 Avoid superfluous registering of signals. (Bug#10807)
3489
3490 * notifications.el (notifications-on-action-object)
3491 (notifications-on-close-object): New defvars.
3492 (notifications-on-action-signal, notifications-on-closed-signal):
3493 Unregister the signal if not needed any longer.
3494 (notifications-notify): Register `notifications-action-signal' or
3495 `notifications-closed-signal', if :on-action or :on-close has been
3496 passed as argument.
3497
78e8b10a
CY
34982012-03-07 Chong Yidong <cyd@gnu.org>
3499
3500 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3501 non-X platforms.
3502
69481eb8
GM
35032012-03-06 Glenn Morris <rgm@gnu.org>
3504
3505 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3506 (x-disown-selection-internal, x-get-selection-internal):
3507 Doc fix (add arglist signatures). (Bug#10783)
3508
133b8e11
KS
35092012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3510
3511 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3512 Handle breakpoints with no "type".
3513
99a83064
GM
35142012-03-06 Glenn Morris <rgm@gnu.org>
3515
3516 * files.el (locate-dominating-file): Add optional predicate argument.
3517 (dir-locals-find-file): Make use of above change.
3518
17798e78
TTN
35192012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3520
3521 * info.el (Info-insert-dir): Also try "dir.gz".
3522
eb182446
GM
35232012-03-06 Glenn Morris <rgm@gnu.org>
3524
8f2114ee
GM
3525 * files.el (dir-locals-find-file):
3526 Ignore non-readable or non-regular files. (Bug#10928)
3527
eb182446
GM
3528 * files.el (locate-dominating-file): Doc fix.
3529
24679323
AS
35302012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3531
3532 * calendar/calendar.el (calendar-set-mode-line):
3533 `getenv' returns a string. (Bug#10951)
3534
01d972a9
LL
35352012-03-05 Leo Liu <sdl.web@gmail.com>
3536
109aa8a9
LL
3537 * simple.el (backward-delete-char-untabify): Constrain point to
3538 field (Bug#10939).
3539
01d972a9
LL
3540 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3541
10607bea
CY
35422012-03-05 Chong Yidong <cyd@gnu.org>
3543
3544 * simple.el (count-words): If called from Lisp, return the word
3545 count, for symmetry with `count-lines'. Arglist changed.
3546 (count-words--message): Args changed. Consolidate counting code
3547 from count-words and count-words-region.
3548 (count-words-region): Caller changed.
3549 (count-lines-region): Make it an obsolete alias.
3550
5dd11cfe
TH
35512012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3552
3553 * saveplace.el (save-place-to-alist)
3554 (save-place-ignore-files-regexp): Allow value nil to disable this
3555 feature.
3556
c349f4e6
CY
35572012-03-04 Chong Yidong <cyd@gnu.org>
3558
3559 * faces.el (face-spec-reset-face): For the default face, reset the
3560 attributes to default values (Bug#10748).
3561
e627be4c
LMI
35622012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3563
3564 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3565 previous patch: Check `message-send-mail-function', and not the
3566 default function (bug#10897).
3567
ebeabff4
MA
35682012-03-04 Michael Albinus <michael.albinus@gmx.de>
3569
a41a6cf4
MA
3570 * notifications.el (notifications-on-action-signal)
3571 (notifications-on-closed-signal): Check for unique service name of
3572 incoming event. Fix error in removing entry.
ebeabff4 3573 (top): Register for signals with wildcard service name.
a41a6cf4 3574 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3575
c1ca42b4
CY
35762012-03-04 Chong Yidong <cyd@gnu.org>
3577
dc9924b8 3578 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3579
ea16568d
GM
35802012-03-04 Glenn Morris <rgm@gnu.org>
3581
3582 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3583 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3584 (expand-abbrev, define-abbrev-table): Doc fixes.
3585
fbae4637
LMI
35862012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
3588 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3589 `message-default-send-mail-function' and not `send-mail-function'
3590 when doing the prompting for `sendmail-query-once' before sending
3591 in Message buffers (bug#10897).
3592
a1e7225c
LMI
3593 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3594 This is inconsistent with all the other stream functions, which leave
3595 the setting up to the higher levels (if so wanted) (bug#10931).
3596
56d093a9
AM
35972012-03-02 Alan Mackenzie <acm@muc.de>
3598
3599 Depessimize the handling of very large macros.
3600
3601 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3602 (c-macro-cache-syntactic): New variables to implement a one
3603 element macro cache.
3604 (c-invalidate-macro-cache): New function.
3605 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3606 Adapt to use the new cache.
3607 (c-state-safe-place): Use better the cache of safe positions.
3608 (c-state-semi-nonlit-pos-cache)
3609 (c-state-semi-nonlit-pos-cache-limit):
3610 New variables for...
3611 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3612 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3613 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3614 Use c-state-semi-safe-place.
56d093a9 3615
dbbc2e69
SM
3616 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3617 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3618
817e5c3d
MA
36192012-03-02 Michael Albinus <michael.albinus@gmx.de>
3620
dbbc2e69
SM
3621 * jka-compr.el (jka-compr-call-process):
3622 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3623 not remote.
3624
a032a702
MA
36252012-03-01 Michael Albinus <michael.albinus@gmx.de>
3626
3627 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3628 access of FILE2, if FILE1 does not exist.
3629
99a54f21
MA
3630 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3631 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3632
3633 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3634 Add "PAGER=" to `process-environment'.
3635
f6561e1f
MM
36362012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3637
3638 * progmodes/sql.el: Bug fix
3639 (sql-get-login-ext): Save login values in globals.
3640 (sql-get-login): Use new version of `sql-get-login-ext'.
3641 (sql-interactive-mode): Set global `sql-connection' to nil.
3642 (sql-connect): Set global values for connection.
3643 (sql-product-interactive): Save global values as buffer local.
3644
2d44d9cc
LL
36452012-02-29 Leo Liu <sdl.web@gmail.com>
3646
3647 * abbrev.el (define-abbrevs): Reset sys to nil.
3648
96b49301 36492012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3650
bf7f9bc5
JB
3651 * files.el (file-equal-p): Rename from `files-equal-p'.
3652 Return nil when one or both files don't exist.
96b49301 3653 (file-subdir-of-p): Now only top directory must exists,
3654 return nil if it doesn't.
bf7f9bc5
JB
3655 (copy-directory): No need to test with `file-subdir-of-p' after
3656 creating dir.
3657 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3658 to `file-equal-p'.
96b49301 3659
44e97401
GM
36602012-02-28 Glenn Morris <rgm@gnu.org>
3661
3662 * shell.el (shell-mode):
3663 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3664 * play/landmark.el (landmark-font-lock-face-O):
3665 * play/handwrite.el (handwrite):
3666 * play/gomoku.el (gomoku-O):
3667 * net/browse-url.el (browse-url-browser-display):
3668 * international/mule.el (define-charset):
3669 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3670 * filesets.el (filesets-find-file-delay):
3671 * eshell/em-xtra.el (eshell-xtra):
3672 * eshell/em-unix.el (eshell-grep):
3673 * emulation/viper.el (viper-mode):
3674 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3675 * emacs-lisp/easymenu.el (easy-menu-define):
3676 * calendar/timeclock.el (timeclock-use-display-time):
3677 * bs.el (bs-mode):
3678 * bookmark.el (bookmark-save-flag):
3679 Doc fix (standardize possessive apostrophe usage).
3680
c98c6276
CY
36812012-02-27 Chong Yidong <cyd@gnu.org>
3682
bf7f9bc5
JB
3683 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3684 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3685
c98c6276
CY
3686 * font-lock.el (font-lock-specified-p): Rename from
3687 font-lock-spec-present. Callers changed.
3688
9c62cd04 36892012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3690
bf7f9bc5
JB
3691 * emacs-lisp/package.el (package-compute-transaction):
3692 Handle holding a package version to t in package-load-list.
8ac9e529 3693
530739c9
MA
36942012-02-26 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3697 (tramp-get-inode, tramp-get-device): Use cached values.
3698
487915d7
AM
36992012-02-26 Alan Mackenzie <acm@muc.de>
3700
3701 Check there is a font-lock specification before doing initial
3702 fontification.
3703
3704 * font-core.el (font-lock-mode): Move the conditional from
3705 :after-hook to font-lock-initial-fontify.
3706 (font-lock-default-function): Move the check for a specification
3707 to font-lock-spec-present.
3708
dc9924b8 3709 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3710 (font-lock-spec-present): New function.
3711
4fd96557
JB
37122012-02-26 Jim Blandy <jimb@red-bean.com>
3713
3714 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3715 (gdb-send): Apply it to the operand of the '-interpreter-exec
3716 console' command, so that we can pass arguments with (say) quotes
3717 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3718
9a4888c0
CY
37192012-02-26 Chong Yidong <cyd@gnu.org>
3720
07498861
CY
3721 * help-fns.el (describe-function-1): Clarify description of
3722 remapping (Bug#10844).
3723
9a4888c0
CY
3724 * files.el (files-equal-p): Doc fix.
3725 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3726 and quit the loop once a mismatch is found.
3727
ea8fb88d
JB
37282012-02-25 Juanma Barranquero <lekktu@gmail.com>
3729
3730 * bs.el (bs--show-with-configuration): Don't throw an error
3731 if the window cannot be split; otherwise, subsequent calls to
3732 bs-show fail, restoring a stale window config. (Bug#10882)
3733
525795c1
JD
37342012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3735
3736 * term/ns-win.el (global-map): Bind ns-drag-file to
3737 ns-find-file (Bug#5855, Bug#10050).
3738
f008086f
AS
37392012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3740
3741 * calendar/parse-time.el (parse-time-string): Allow extractor to
3742 return nil.
3743
a3fcfa99
MA
37442012-02-25 Michael Albinus <michael.albinus@gmx.de>
3745
91027d08
JB
3746 * net/tramp.el (tramp-file-name-for-operation):
3747 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3748
3749 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3750 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3751 Add COPY-CONTENTS argument.
a3fcfa99 3752
67b0de11
CY
37532012-02-25 Chong Yidong <cyd@gnu.org>
3754
3755 Add custom groups for VC backends, for consistency with vc-bzr.
3756
3757 * vc/vc-arch.el (vc-arch):
3758 * vc/vc-cvs.el (vc-cvs):
3759 * vc/vc-git.el (vc-git):
3760 * vc/vc-hg.el (vc-hg):
3761 * vc/vc-mtn.el (vc-mtn):
3762 * vc/vc-rcs.el (vc-rcs):
3763 * vc/vc-sccs.el (vc-sccs):
3764 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3765 All relevant defcustoms reassigned.
3766
3c9dfce6
CY
37672012-02-25 Chong Yidong <cyd@gnu.org>
3768
1339bf43
CY
3769 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3770
3c9dfce6
CY
3771 * term/x-win.el (x-initialize-window-system): Reduce default for
3772 x-selection-timeout to 5 seconds (Bug#8869).
3773
25b2e303 37742012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3775
ec70a47d
GM
3776 * files.el (files-equal-p, file-subdir-of-p): New functions.
3777 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3778 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3779 * dired-aux.el (dired-copy-file-recursive): Same.
3780 (dired-create-files): Modify destination when source is equal to
3781 dest when copying files.
53a46cd0 3782 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3783
914260cd
MA
37842012-02-24 Michael Albinus <michael.albinus@gmx.de>
3785
3786 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3787 (Bug#10874)
3788
2cb228f7
AM
37892012-02-23 Alan Mackenzie <acm@muc.de>
3790
3791 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3792 parameter "after-hook:" to allow the expansion to run code after
3793 the execution of the mode hooks.
3794
3795 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3796 from font-lock-mode-internal.
2cb228f7 3797
91027d08 3798 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3799 :after-hook.
3800
8f0fde21
SM
38012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3e88618b
SM
3803 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3804 (completion--cache-all-sorted-completions): New function.
3805 (completion-all-sorted-completions): Use it.
3806 (completion--do-completion, minibuffer-force-complete):
3807 Use it to re-instate the flush hook.
3808
8f0fde21
SM
3809 * icomplete.el (icomplete-completions): Replace last fix with a better
3810 one (bug#10850).
3811
8e911f6f
DG
38122012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3815 when it might call us back infinitely (bug#10797).
3816
49fe4321
GM
38172012-02-23 Glenn Morris <rgm@gnu.org>
3818
3819 * minibuffer.el (completion-category-overrides): Doc fix.
3820
b291b572
SM
38212012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3824 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3825
31a9ef2e
GM
38262012-02-23 Glenn Morris <rgm@gnu.org>
3827
5e6e6794 3828 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3829 (authors-obsolete-files-regexps, authors-ignored-files)
3830 (authors-ambiguous-files, authors-renamed-files-alist):
3831 Add more entries.
3832
0bd1e074
JL
38332012-02-23 Juri Linkov <juri@jurta.org>
3834
3835 * isearch.el (isearch-occur): Sync interactive spec with occur's
3836 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3837
b617673c
JL
3838 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3839
19e9789e
JL
38402012-02-22 Juri Linkov <juri@jurta.org>
3841
3842 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3843 (ucs-insert): Doc fix. Check for hex digits in the string.
3844 Don't display `nil' in the error message. (Bug#10857)
3845
f41ce09d
AM
38462012-02-22 Alan Mackenzie <acm@muc.de>
3847
7a71b18d 3848 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3849
ac2eceee
GM
38502012-02-22 Glenn Morris <rgm@gnu.org>
3851
3852 * ffap.el (ffap-c-path):
3853 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3854
abd1f678
CY
38552012-02-22 Chong Yidong <cyd@gnu.org>
3856
3857 * custom.el (load-theme): Doc fix.
3858
f25aef2e
GM
38592012-02-22 Glenn Morris <rgm@gnu.org>
3860
3861 * dired-x.el (dired-guess-shell-alist-default):
3862 Remove escape sequences from nroff output. (Bug#172)
3863
5f8dc2ca
GM
38642012-02-21 Glenn Morris <rgm@gnu.org>
3865
6ff86ec4
GM
3866 * vc/emerge.el (emerge-defvar-local):
3867 Set `permanent-local' property rather than unused `preserved'.
3868
be3223a3 3869 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3870 (picture-mode-map): Use it. (Bug#10860)
3871 (picture-mode): Doc fix.
3872
3fe58f4f
JB
38732012-02-21 Juanma Barranquero <lekktu@gmail.com>
3874
3875 * newcomment.el (uncomment-region-default): Remove unused binding.
3876
f9a998c3
GM
38772012-02-21 Glenn Morris <rgm@gnu.org>
3878
3879 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3880 (picture-self-insert, picture-tab-chars): Doc fix.
3881 (picture-mode-map): Fix C-a, C-e.
3882
c6029348
GM
38832012-02-20 Glenn Morris <rgm@gnu.org>
3884
3885 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3886
ab1ce9d7
LL
38872012-02-20 Leo Liu <sdl.web@gmail.com>
3888
3889 * icomplete.el (icomplete-completions): Check FROM arg before
3890 passing to substring (Bug#10850).
3891
0fd40f89
CY
38922012-02-19 Chong Yidong <cyd@gnu.org>
3893
3894 * comint.el: Require ansi-color.
3895 (comint-output-filter-functions): Add ansi-color-process-output.
3896
3897 * ansi-color.el: Don't set comint-output-filter-functions; it is
3898 now in the initial value defined in comint.el.
3899 (ansi-color-apply-face-function): New variable.
3900 (ansi-color-apply-on-region): Use it.
3901 (ansi-color-apply-overlay-face): New function.
3902
3903 * shell.el (shell): No need to require ansi-color.
3904 (shell-mode): Use ansi-color-apply-face-function to highlight
3905 color escapes using font-lock-face property (Bug#10835).
3906
20af2394
CY
39072012-02-19 Chong Yidong <cyd@gnu.org>
3908
3909 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3910 mode-line formats (Bug#10839).
3911
e23a3fbe
GM
39122012-02-18 Glenn Morris <rgm@gnu.org>
3913
b474519e
GM
3914 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3915
3916 * mail/undigest.el (unforward-rmail-message): Doc fix.
3917
e23a3fbe
GM
3918 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3919
57939ff4
EZ
39202012-02-18 Eli Zaretskii <eliz@gnu.org>
3921
3922 * international/characters.el (script-list): Sync with the latest
3923 Unicode Character Database.
3924
0c23686e
AS
39252012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 * international/titdic-cnv.el: Remove duplicate coding tag.
3928 * language/cham.el: Likewise.
3929 * language/tai-viet.el: Likewise.
3930
6818b449
GM
39312012-02-18 Glenn Morris <rgm@gnu.org>
3932
3933 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3934 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3935 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3936 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3937 * calendar/holidays.el (holiday-bahai-holidays)
3938 (calendar-holidays, list-holidays):
3939 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
3940
0311a3fc
TH
39412012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3942
3943 * saveplace.el (save-place-ignore-files-regexp): New variable
3944 allowing for excluding files from saving their location of point.
3945 The default value matches the temporary commit message editing
3946 files from Git, SVN, Bazaar, and Mercurial.
3947 (save-place-to-alist): Use it.
3948
eb864a71
LM
39492012-02-17 Lawrence Mitchell <wence@gmx.li>
3950 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * newcomment.el (uncomment-region-default): Don't leave extra space
3953 when an arg is provided (bug#8150).
3954
ee0ce425
TZ
39552012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3956
eb864a71 3957 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3958
95ddf442
GM
39592012-02-17 Glenn Morris <rgm@gnu.org>
3960
3961 * net/socks.el: Require network-stream. (Bug#10599)
3962
48dd1e39 39632012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3964
3965 * international/charprop.el:
3966 * international/uni-name.el:
3967 * international/uni-old-name.el:
3968 * international/uni-comment.el: Regenerate.
3969
d68cd087
GM
39702012-02-16 Glenn Morris <rgm@gnu.org>
3971
3972 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3973 Interactively in calendar buffer, give an error if not on a date.
3974
13932042
GM
39752012-02-15 Glenn Morris <rgm@gnu.org>
3976
3977 * shell.el (shell-delimiter-argument-list):
3978 Revert 2011-02-17 change. (Bug#8027)
3979
c3a70e2b
CY
39802012-02-15 Chong Yidong <cyd@gnu.org>
3981
60236b0d
CY
3982 * minibuffer.el (completion-at-point-functions): Doc fix.
3983
c3a70e2b
CY
3984 * custom.el (defcustom): Doc fix; note use of defvar.
3985
9f26dc24
GM
39862012-02-15 Glenn Morris <rgm@gnu.org>
3987
3988 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3989 Doc fixes.
3990
6546b134
GM
39912012-02-14 Glenn Morris <rgm@gnu.org>
3992
3993 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3994
d29b2b4c
LI
39952012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3996
3997 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3998 way the ports list is computed.
835bdcba
LI
3999 (smtpmail-query-smtp-server): Prompt the user for a port number if
4000 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4001
08dcdbc9
TZ
40022012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4003
4004 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4005
2605051a
GM
40062012-02-13 Glenn Morris <rgm@gnu.org>
4007
4008 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4009
7ee99f32
TZ
40102012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4011
4012 * net/gnutls.el (gnutls-trustfiles): New variable.
4013 (gnutls-negotiate): Use it.
4014
5f0af64f
LI
40152012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4016
4017 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4018 does its stuff if Gnus is running.
4019
c14fcc95
AM
40202012-02-13 Alan Mackenzie <acm@muc.de>
4021
4022 Fix a loop in c-set-fl-decl-start.
4023
7a71b18d 4024 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4025 c-backward-syntactic-ws actually moves backwards.
4026
142b4d90
LL
40272012-02-13 Leo Liu <sdl.web@gmail.com>
4028
4029 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4030 beginning so that all \C-o chars are removed.
4031
fa9958a6
TZ
40322012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4033
dc9924b8 4034 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4035
0bc5886a
AM
40362012-02-12 Alan Mackenzie <acm@muc.de>
4037
4038 Fix infinite loop with long macros.
4d6769e1 4039 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4040
d4bd55e7
CY
40412012-02-12 Chong Yidong <cyd@gnu.org>
4042
4043 * window.el (display-buffer): Doc fix (Bug#10785).
4044
66f3fe22
GM
40452012-02-12 Glenn Morris <rgm@gnu.org>
4046
bd7da63e
GM
4047 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4048 (x-disown-selection-internal, x-get-selection-internal):
4049 Sync docs with the xselect.c versions.
4050
66f3fe22
GM
4051 * allout-widgets.el: Add missing license notice.
4052
3e0d2fa7
GM
40532012-02-11 Glenn Morris <rgm@gnu.org>
4054
cfecdf09
GM
4055 * select.el (x-get-selection-internal, x-own-selection-internal)
4056 (x-disown-selection-internal):
4057 * x-dnd.el (x-get-selection-internal): Update declarations.
4058
6d216d7f
GM
4059 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4060
2bed3f04
GM
4061 * window.el (window-sides-slots):
4062 * tool-bar.el (tool-bar-position):
4063 * term/xterm.el (xterm-extra-capabilities):
4064 * ses.el (ses-self-reference-early-detection):
4065 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4066 (verilog-auto-wire-type)
4067 (verilog-auto-delete-trailing-whitespace)
4068 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4069 (verilog-auto-tieoff-declaration):
4070 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4071 (sql-oracle-statement-starters, sql-oracle-scan-on):
4072 * progmodes/prolog.el (prolog-align-comments-flag)
4073 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4074 (prolog-left-indent-regexp, prolog-paren-indent-p)
4075 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4076 (prolog-types, prolog-mode-specificators)
4077 (prolog-determinism-specificators, prolog-directives)
4078 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4079 (prolog-electric-dot-flag)
4080 (prolog-electric-dot-full-predicate-template)
4081 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4082 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4083 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4084 (prolog-program-switches, prolog-prompt-regexp)
4085 (prolog-debug-on-string, prolog-debug-off-string)
4086 (prolog-trace-on-string, prolog-trace-off-string)
4087 (prolog-zip-on-string, prolog-zip-off-string)
4088 (prolog-use-standard-consult-compile-method-flag)
4089 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4090 (prolog-imenu-max-lines, prolog-info-predicate-index)
4091 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4092 (prolog-char-quote-workaround):
4093 * progmodes/cc-vars.el (c-defun-tactic):
4094 * net/tramp.el (tramp-encoding-command-interactive)
4095 (tramp-local-end-of-line):
4096 * net/soap-client.el (soap-client):
4097 * net/netrc.el (netrc-file):
4098 * net/gnutls.el (gnutls):
4099 * minibuffer.el (completion-category-overrides)
4100 (completion-cycle-threshold)
4101 (completion-pcm-complete-word-inserts-delimiters):
4102 * man.el (Man-name-local-regexp):
4103 * mail/feedmail.el (feedmail-display-full-frame):
4104 * international/characters.el (glyphless-char-display-control):
4105 * eshell/em-ls.el (eshell-ls-date-format):
4106 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4107 (lisp-lambda-list-keyword-parameter-indentation)
4108 (lisp-lambda-list-keyword-parameter-alignment):
4109 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4110 * dired-x.el (dired-omit-verbose):
4111 * cus-theme.el (custom-theme-allow-multiple-selections):
4112 * calc/calc.el (calc-highlight-selections-with-faces)
4113 (calc-lu-field-reference, calc-lu-power-reference)
4114 (calc-note-threshold):
4115 * battery.el (battery-mode-line-limit):
4116 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4117 (archive-7z-update):
4118 * allout.el (allout-prefixed-keybindings)
4119 (allout-unprefixed-keybindings)
4120 (allout-inhibit-auto-fill-on-headline)
4121 (allout-flattened-numbering-abbreviation):
4122 * allout-widgets.el (allout-widgets-auto-activation)
4123 (allout-widgets-icons-dark-subdir)
4124 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4125 (allout-widgets-theme-dark-background)
4126 (allout-widgets-theme-light-background)
4127 (allout-widgets-item-image-properties-emacs)
4128 (allout-widgets-item-image-properties-xemacs)
4129 (allout-widgets-run-unit-tests-on-load)
4130 (allout-widgets-time-decoration-activity)
4131 (allout-widgets-hook-error-post-time)
4132 (allout-widgets-track-decoration):
4133 Add missing :version tags to new defcustoms and defgroups.
4134
5fec1b8e
GM
4135 * progmodes/sql.el (sql-ansi-statement-starters)
4136 (sql-oracle-statement-starters): Add custom type.
4137
3e0d2fa7
GM
4138 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4139 (prolog-system-version): Give it a type.
4140
90b671e2
EZ
41412012-02-11 Eli Zaretskii <eliz@gnu.org>
4142
4143 * term/pc-win.el (x-select-text, x-selection-owner-p)
4144 (x-own-selection-internal, x-disown-selection-internal)
4145 (x-get-selection-internal): Sync doc strings and argument lists
4146 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4147
5eac0c02
LL
41482012-02-11 Leo Liu <sdl.web@gmail.com>
4149
4150 * progmodes/python.el (python-end-of-statement): Fix infinite
4151 loop. (Bug#10788)
4152
f82cb659
GM
41532012-02-10 Glenn Morris <rgm@gnu.org>
4154
4155 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4156 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4157
cc26d239
LI
41582012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4159
4160 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4161 about SMTP before checking the From header.
4162
91027d08 4163 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4164 into own function for reuse by emacsbug.el.
4165
1be3ca5a
LL
41662012-02-10 Leo Liu <sdl.web@gmail.com>
4167
4168 * subr.el (condition-case-unless-debug): Rename from
4169 condition-case-no-debug. All callers changed.
4170 (with-demoted-errors): Fix caller.
4171
4172 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4173 * nxml/rng-valid.el (rng-do-some-validation):
4174 * emacs-lisp/package.el (package-refresh-contents)
4175 (package-menu-execute):
4176 * desktop.el (desktop-create-buffer):
91027d08 4177 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4178
b011fbfe
GM
41792012-02-10 Glenn Morris <rgm@gnu.org>
4180
b2096d72
GM
4181 * textmodes/bibtex.el:
4182 Add missing :version tags for new/changed defcustoms.
4183
b011fbfe
GM
4184 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4185
4c7e65bf
LI
41862012-02-09 Lars Ingebrigtsen <larsi@rusty>
4187
4188 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4189 (smtpmail-via-smtp): Use it, or fall back on the From address.
4190 (smtpmail-send-it): Ditto.
4191
f3934f6f
SM
41922012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4195 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4196 (byte-compile-tmp-var): New const.
4197 (byte-compile-defvar): Use it to minimize .elc size.
4198 Just use `defvar' rather than simulate it (bug#10761).
4199
a075a2c5
GM
42002012-02-09 Glenn Morris <rgm@gnu.org>
4201
cf3aa21b
GM
4202 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4203
354998cd
GM
4204 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4205 Add :version tags.
4206
dc9924b8
SM
4207 * progmodes/compile.el (compilation-error-screen-columns)
4208 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4209
dab3703d
GM
4210 * vc/log-view.el (log-view-toggle-entry-display):
4211 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4212
3f88cd72
GM
4213 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4214 (report-emacs-bug-can-use-xdg-email):
4215 (report-emacs-bug-insert-to-mailer): Doc fixes.
4216 (report-emacs-bug): Message fix.
4217
d95b247d
GM
4218 * net/browse-url.el (browse-url-can-use-xdg-open)
4219 (browse-url-xdg-open): Doc fixes.
4220
a075a2c5
GM
4221 * electric.el (electric-indent-mode, electric-pair-mode)
4222 (electric-layout-rules, electric-layout-mode): Doc fixes.
4223 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4224
ffb6157e
MR
42252012-02-08 Martin Rudalics <rudalics@gmx.at>
4226
4227 * server.el (server-unselect-display): Don't inadvertently kill
4228 the current buffer. (Bug#10729)
4229
e1ac4066
GM
42302012-02-08 Glenn Morris <rgm@gnu.org>
4231
34e8a2da
GM
4232 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4233 (sql-list-table): Doc fixes.
4234
b4ac6e8c
GM
4235 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4236 Comment out (does nothing).
4237
e1ac4066
GM
4238 * completion.el (dynamic-completion-mode):
4239 * dirtrack.el (dirtrack-debug-mode):
4240 * electric.el (electric-layout-mode):
4241 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4242 * face-remap.el (text-scale-mode, buffer-face-mode):
4243 * iimage.el (iimage-mode):
4244 * image-mode.el (image-transform-mode):
4245 * minibuffer.el (completion-in-region-mode):
4246 * scroll-lock.el (scroll-lock-mode):
4247 * simple.el (next-error-follow-minor-mode):
4248 * tar-mode.el (tar-subfile-mode):
4249 * tooltip.el (tooltip-mode):
4250 * vcursor.el (vcursor-use-vcursor-map):
4251 * wid-browse.el (widget-minor-mode):
4252 * emulation/tpu-edt.el (tpu-edt-mode):
4253 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4254 * international/iso-ascii.el (iso-ascii-mode):
4255 * language/thai-util.el (thai-word-mode):
4256 * mail/supercite.el (sc-minor-mode):
4257 * net/goto-addr.el (goto-address-mode):
4258 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4259 * progmodes/cwarn.el (cwarn-mode):
4260 * progmodes/flymake.el (flymake-mode):
4261 * progmodes/glasses.el (glasses-mode):
4262 * progmodes/hideshow.el (hs-minor-mode):
4263 * progmodes/pascal.el (pascal-outline-mode):
4264 * textmodes/enriched.el (enriched-mode):
4265 * vc/smerge-mode.el (smerge-mode):
4266 Doc fixes (minor mode argument).
4267
5e0d957f
EZ
42682012-02-07 Eli Zaretskii <eliz@gnu.org>
4269
4270 * ls-lisp.el (ls-lisp-sanitize): New function.
4271 (ls-lisp-insert-directory): Use it to fix or remove any elements
4272 in file-alist with missing attributes. (Bug#4673)
4273
98d7371e
AM
42742012-02-07 Alan Mackenzie <acm@muc.de>
4275
4276 Fix spurious recognition of c-in-knr-argdecl.
4277
4278 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4279 putative K&R region.
4280
667ced3a
AM
42812012-02-07 Alan Mackenzie <acm@muc.de>
4282
eb864a71
LM
4283 * progmodes/cc-engine.el (c-forward-objc-directive):
4284 Prevent looping in "#pragma mark @implementation".
667ced3a 4285
5b77774d
MA
42862012-02-07 Michael Albinus <michael.albinus@gmx.de>
4287
4288 * notifications.el (notifications-on-closed-signal): Make `reason'
4289 optional. (Bug#10744)
4290
af008560
GM
42912012-02-07 Glenn Morris <rgm@gnu.org>
4292
60d47423
GM
4293 * emacs-lisp/easy-mmode.el (define-minor-mode):
4294 Doc fixes for the macro and the mode it defines.
4295
dd605cc4
GM
4296 * image.el (imagemagick-types-inhibit): Doc fix.
4297
af008560
GM
4298 * cus-start.el (imagemagick-render-type): Add it.
4299
5cc59a37
LI
43002012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4301
4d6769e1
JB
4302 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4303 Set the default at load time, too, so that `font-lock-fontify-buffer'
4304 can be called without setting up the entire mode first. This fixes
4305 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4306
9a6dd747
CY
43072012-02-06 Chong Yidong <cyd@gnu.org>
4308
2d16b285
CY
4309 * simple.el (list-processes--refresh): Delete exited processes
4310 (Bug#8094).
4311
171e9b6e
CY
4312 * comint.el (comint-next-prompt): next-single-char-property-change
4313 and prev-single-char-property-change never return nil (Bug#8657).
4314
9a6dd747
CY
4315 * custom.el (defcustom): Doc fix (Bug#9711).
4316
aa4589a7
CY
43172012-02-05 Chong Yidong <cyd@gnu.org>
4318
5c2a252f
CY
4319 * cus-edit.el (custom-variable-reset-backup): Quote the value
4320 before storing it in the customized-value property (Bug#6712).
4aab9006 4321 (custom-display): Add a customization type tag.
983b9602 4322 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4323
aa4589a7
CY
4324 * wid-edit.el (widget-field-value-get): New optional arg to
4325 suppress trailing whitespace truncation.
4326 (character): Use it (Bug#2689).
4327
1ff980ae
AS
43282012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4329
4330 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4331 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4332
03988c98
CY
43332012-02-05 Chong Yidong <cyd@gnu.org>
4334
eeb6cc88
CY
4335 * cus-edit.el (custom-variable-value-create): For mismatched
4336 types, show the current value (Bug#7600).
4337
03988c98
CY
4338 * custom.el (defcustom): Doc fix.
4339
f8cdeef0
GM
43402012-02-05 Glenn Morris <rgm@gnu.org>
4341
4342 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4343
0696d255
JB
43442012-02-05 Juanma Barranquero <lekktu@gmail.com>
4345
4346 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4347 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4348 (pp-last-sexp): Use `looking-at-p'.
4349
34c99998
GM
43502012-02-04 Glenn Morris <rgm@gnu.org>
4351
8f05da42
GM
4352 * files.el (revert-buffer):
4353 Doc fix (mention revert-buffer-in-progress-p).
4354
f160676e
GM
4355 * emacs-lisp/ert-x.el (ert-simulate-command):
4356 Check deferred-action-list (which is obsolete) is bound.
4357
c7291ad9
GM
4358 * subr.el (with-wrapper-hook): Doc fixes.
4359
34c99998
GM
4360 * simple.el (filter-buffer-substring-functions)
4361 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4362
6283a7d3
LL
43632012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4364
4365 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4366 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4367
e96e3013
LL
43682012-02-04 Leo Liu <sdl.web@gmail.com>
4369
4370 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4371
8ded50f2
GM
43722012-02-04 Glenn Morris <rgm@gnu.org>
4373
82ff1d13
GM
4374 * image.el (image-extension-data): Add obsolete alias.
4375
987a0a16
GM
4376 * isearch.el (isearch-update): Doc fix.
4377
ea32ef46
GM
4378 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4379
8ded50f2
GM
4380 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4381
eea14f31
GM
43822012-02-03 Glenn Morris <rgm@gnu.org>
4383
4384 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4385 (image-animate-timeout): Doc fix.
4386
4387 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4388
12f381b7
GM
43892012-02-02 Glenn Morris <rgm@gnu.org>
4390
953cebf5
GM
4391 * server.el (server-auth-dir): Doc fix.
4392 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4393
12f381b7
GM
4394 * subr.el (run-mode-hooks): Doc fix.
4395
953a8c3b
JL
43962012-02-02 Juri Linkov <juri@jurta.org>
4397
4398 * image-mode.el (image-toggle-display-image): Remove tautological
4399 `major-mode' from the `derived-mode-p' test.
4400
c5d3843c
KH
44012012-02-02 Kenichi Handa <handa@m17n.org>
4402
9f6e692e 4403 * composite.el (compose-region): Cancel previous change.
c5d3843c 4404
159462d4 44052012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4406
4407 * composite.el (compose-region, compose-string): Signal error for
4408 a null string component (Bug#6988).
4409
9f562668
CY
44102012-02-01 Chong Yidong <cyd@gnu.org>
4411
e2cef717
CY
4412 * view.el (view-buffer-other-window, view-buffer-other-frame):
4413 Handle special modes like view-buffer (Bug#10650).
4414 (view-buffer): Simplify.
4415
9f562668
CY
4416 * frame.el (set-frame-font): Tweak meaning of third argument.
4417
9f6e692e
JB
4418 * dynamic-setting.el (font-setting-change-default-font):
4419 Use set-frame-font (Bug#9982).
9f562668 4420
781acb9f
GM
44212012-02-01 Glenn Morris <rgm@gnu.org>
4422
6035be52
GM
4423 * progmodes/compile.el (compilation-internal-error-properties):
4424 Respect compilation-first-column in the "*compilation*" buffer.
4425
781acb9f
GM
4426 * emacs-lisp/easy-mmode.el (define-minor-mode):
4427 Relax :variable's test for a named function.
4428
abbceb00
AM
44292012-01-31 Alan Mackenzie <acm@muc.de>
4430
4431 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4432 off by one error.
4433
fce3fdeb
CY
44342012-01-31 Chong Yidong <cyd@gnu.org>
4435
4436 * frame.el (set-frame-font): New arg ALL-FRAMES.
4437
4438 * menu-bar.el (menu-set-font): Use set-frame-font.
4439
4440 * faces.el (face-spec-reset-face): Don't apply unspecified
4441 attribute values to the default face.
4442
47893581
JB
44432012-01-31 Juanma Barranquero <lekktu@gmail.com>
4444
4445 * progmodes/cwarn.el (cwarn): Remove dead link.
4446 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4447 Remove * from defcustom docstrings.
4448 (turn-on-cwarn-mode): Make obsolete.
4449 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4450 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4451
e58e988a
GM
44522012-01-31 Glenn Morris <rgm@gnu.org>
4453
60dc2671 4454 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4455 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4456 Allow named functions to be used as the cdr of :variable.
e58e988a 4457
7a3f511d
GM
44582012-01-30 Glenn Morris <rgm@gnu.org>
4459
4460 * emacs-lisp/authors.el (authors-fixed-entries):
4461 Remove reference to deleted file rnewspost.el.
4462
cb882333
JB
44632012-01-29 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * window.el (window-with-parameter): Remove unused variable `windows'.
4466 (window--side-check): Remove unused variable `code'.
4467 (window--resize-siblings): Remove unused variable `first'.
4468 (adjust-window-trailing-edge): Remove unused variable `failed'.
4469 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4470 Use `let', not `let*'.
4471 (balance-windows-2): Remove unused variable `found'.
4472 (window--state-put-2): Remove unused variable `splits'.
4473 (window-state-put): Remove unused variable `selected'.
4474 (same-window-p): Use `string-match-p'.
4475 (display-buffer-assq-regexp): Remove unused variable `value'.
4476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4477 Mark argument ALIST as ignored.
4478 (pop-to-buffer): Remove unused variable `old-window'.
4479
907201af
EZ
44802012-01-29 Eli Zaretskii <eliz@gnu.org>
4481
4482 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4483 and .lzma compressed files.
4484
ea162670
CY
44852012-01-29 Chong Yidong <cyd@gnu.org>
4486
5b95ee8a
CY
4487 * frame.el (window-system-default-frame-alist): Doc fix.
4488
ea162670
CY
4489 * dynamic-setting.el (font-setting-change-default-font): Don't
4490 change the default face if SET-FONT argument is non-nil (Bug#9982).
4491
d6e6f4b1
SB
44922012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4493
4494 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4495
0f29fa41 44962012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4497
4498 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4499 breakpoints in files outside current directory (Bug#6098).
4500
db174434
CY
45012012-01-29 Chong Yidong <cyd@gnu.org>
4502
6b25e4e2
SE
4503 * progmodes/python.el: Require ansi-color at top-level.
4504
6df6ae42
JB
4505 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4506 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4507 (lisp-mode-abbrev-table): Add doc.
4508 (lisp-mode-variables): Don't set local-abbrev-table.
4509 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4510
e70ee681
RW
45112012-01-28 Roland Winkler <winkler@gnu.org>
4512
4513 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4514
ace88aa2
RW
45152012-01-28 Roland Winkler <winkler@gnu.org>
4516
4517 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4518 (bibtex-set-dialect): Use it. Either set global values of
4519 dialect-dependent variables or bind these variables buffer-locally
4520 (Bug#10254).
4521 (bibtex-mode): Call bibtex-set-dialect via
4522 hack-local-variables-hook.
eb864a71
LM
4523 (bibtex-dialect): Update docstring.
4524 Add safe-local-variable predicate.
ace88aa2
RW
4525 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4526 bibtex-set-dialect.
4527 (bibtex-mode-map): Define menu for each dialect.
4528 (bibtex-entry): Fix docstring.
4529
93376c5b
CY
45302012-01-28 Chong Yidong <cyd@gnu.org>
4531
4532 * eshell/esh-arg.el (eshell-quote-argument): New function.
4533
4534 * eshell/esh-ext.el (eshell-invoke-batch-file):
4535 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4536 first arg to eshell-parse-command (Bug#10523).
4537
4372494f
DA
45382012-01-28 Drew Adams <drew.adams@oracle.com>
4539
4540 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4541 `default-directory' is non-nil.
4542
4d4ec1f8
EZ
45432012-01-28 Eli Zaretskii <eliz@gnu.org>
4544
4545 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4546 line that displays system-configuration-options. (Bug#9924)
4547
7c188927
DA
45482012-01-28 Drew Adams <drew.adams@oracle.com>
4549
4550 * descr-text.el (describe-char): Show information about POS, in
4551 addition to information about the character at POS. Improve and
4552 update the doc string. Change "code point" to "code point in
4553 charset", to avoid confusion with the character's Unicode code
4554 point shown above that. (Bug#10129)
4555
e0da685a
EZ
45562012-01-28 Eli Zaretskii <eliz@gnu.org>
4557
4558 * descr-text.el (describe-char): Show the raw character, not only
4559 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4560 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4561 for the reasons.
4562
70550acf
PH
45632012-01-28 Phil Hagelberg <phil@hagelb.org>
4564
eb864a71
LM
4565 * emacs-lisp/package.el (package-install):
4566 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4567
0ce8e868
CY
45682012-01-28 Chong Yidong <cyd@gnu.org>
4569
cb882333
JB
4570 * emacs-lisp/package.el (package-maybe-load-descriptor):
4571 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4572 (package-maybe-load-descriptor): Use it.
4573 (package-download-transaction): Fully load required packages
4574 inside the loop, so that `require' calls work (Bug#10593).
4575 (package-install): No need to call package-initialize now.
4576
2e7f3bea
CY
45772012-01-28 Chong Yidong <cyd@gnu.org>
4578
6e9bad14
CY
4579 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4580
f823b8ca
CY
4581 * tooltip.el (tooltip-mode): Doc fix.
4582 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4583
2680c309
CY
4584 * frame.el (set-cursor-color): Doc fix (Bug#352).
4585
d7a9e63b
CY
4586 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4587 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4588
2e7f3bea
CY
4589 * cus-edit.el (custom-buffer-create-internal): Fix search button
4590 action (Bug#10542).
2ae01800 4591 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4592
fc4f7a23
EW
45932012-01-27 Eduard Wiebe <usenet@pusto.de>
4594
4595 * dired.el (dired-mark-files-regexp):
4596 Include any subdirectory components. (Bug#10445)
4597
7dd37071
ML
45982012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4599
4600 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4601 Handle [host]:port syntax. (Bug#10533)
4602
a268160b
AH
46032012-01-27 Alex Harsanyi <harsanyi@mac.com>
4604
4605 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4606
e43273ef
GM
46072012-01-26 Glenn Morris <rgm@gnu.org>
4608
4609 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4610 * term.el (term-raw-escape-map): Use Control-X-prefix.
4611 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4612
1edf595d
MR
46132012-01-25 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (window-state-get, window--state-get-1): Don't deal
4616 with fixed-sizeness of windows. Simplify code.
4617
fa8eafef
JC
46182012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4619
6df6ae42
JB
4620 * window.el (window--state-get-1, window--state-put-2):
4621 Don't save and restore the mark.
fa8eafef 4622
0b21c100
CY
46232012-01-25 Chong Yidong <cyd@gnu.org>
4624
4625 * custom.el (custom-variable-p): Doc fix.
4626
5ae1a6c8
GM
46272012-01-25 Glenn Morris <rgm@gnu.org>
4628
40047858
GM
4629 * dired.el (dired-goto-file): Handle some of the more common
4630 characters that `ls -b' escapes. (Bug#10596)
4631
5ddce96c
GM
4632 * progmodes/compile.el (compilation-next-error-function):
4633 Respect compilation-first-column in the "*compilation*" buffer.
4634 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4635
5ae1a6c8
GM
4636 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4637
b559f1a9
GM
46382012-01-24 Glenn Morris <rgm@gnu.org>
4639
4640 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4641
6725d21a
JD
46422012-01-24 Julien Danjou <julien@danjou.info>
4643
4644 * color.el (color-rgb-to-hsl): Fix value computing.
4645 (color-hue-to-rgb): New function.
4646 (color-hsl-to-rgb): New function.
4647 (color-clamp, color-saturate-hsl, color-saturate-name)
4648 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4649 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4650
70df4bbe
GM
46512012-01-24 Glenn Morris <rgm@gnu.org>
4652
4653 * vc/vc-rcs.el (vc-rcs-create-tag):
4654 * vc/vc-sccs.el (vc-sccs-create-tag):
4655 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4656
802a2ae2
ML
46572012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4658
4659 * eshell/esh-util.el (eshell-read-hosts-file):
4660 Skip comment lines. (Bug#10549)
4661
d7128bb1
ML
4662 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4663
d1a5c3b4
JB
46642012-01-23 Juanma Barranquero <lekktu@gmail.com>
4665
2724d9c7
JB
4666 * subr.el (display-delayed-warnings): Doc fix.
4667 (collapse-delayed-warnings): New function to collapse identical
4668 adjacent warnings.
4669 (delayed-warnings-hook): Add it.
d1a5c3b4 4670
a5509865
MA
46712012-01-22 Michael Albinus <michael.albinus@gmx.de>
4672
4673 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4674
4675 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4676 properties, when "login-as" is set.
4677
4678 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4679 (tramp-default-user-alist): Don't add "pscp".
4680 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4681 property "login-as", if set. (Bug#10530)
4682
cc6d5805
MA
46832012-01-21 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4686 "plink1" and "psftp". (Bug#10530)
4687
46882012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4689
4690 * international/mule-cmds.el (prefer-coding-system): Show a
4691 warning message if the default value of file-name-coding-system
4692 was not changed.
4693
f0960428
JC
46942012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4695
cb882333
JB
4696 * windmove.el (windmove-reference-loc):
4697 Fix windmove-reference-loc miscalculation.
f0960428 4698
dd6f2a63
JB
46992012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4700
4701 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4702 default unit.
4703
7b447e9b
GM
47042012-01-21 Glenn Morris <rgm@gnu.org>
4705
117a9ea1
GM
4706 * international/mule.el (auto-coding-alist): Add .tbz.
4707
7b447e9b
GM
4708 * files.el (local-enable-local-variables): Doc fix.
4709 (inhibit-local-variables-regexps): Rename from
4710 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4711 Doc fix. Add some extensions from auto-coding-alist.
4712 (inhibit-local-variables-suffixes):
4713 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4714 (inhibit-local-variables-p):
4715 New function, extracted from set-auto-mode-1.
4716 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4717 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4718 (hack-local-variables): Doc fix. Make the mode-only case
4719 respect enable-local-variables and friends.
4720 Respect inhibit-local-variables-regexps for file-locals, but
4721 not for directory-locals.
4722 (set-visited-file-name):
4723 Take account of inhibit-local-variables-regexps.
4724 Whether it applies may change as the file name is changed.
4725 * jka-cmpr-hook.el (jka-compr-install):
4726 * jka-compr.el (jka-compr-uninstall):
4727 Update for inhibit-first-line-modes-suffixes name change.
4728
dd6e3cdd
MR
47292012-01-20 Martin Rudalics <rudalics@gmx.at>
4730
4731 * help-macro.el (make-help-screen): Temporarily restore original
4732 binding for minor-mode-map-alist (Bug#10454).
4733
0d0deb38
JD
47342012-01-19 Julien Danjou <julien@danjou.info>
4735
4736 * color.el (color-name-to-rgb): Use the white color to find the max
4737 color component value and return correctly computed values.
4738 (color-name-to-rgb): Add missing float conversion for max value.
4739
34a02f46
MR
47402012-01-19 Martin Rudalics <rudalics@gmx.at>
4741
4742 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4743 special state value for window-persistent-parameters.
4744 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4745 (window--state-put-2): Reset all window parameters to nil before
4746 assigning values of persistent parameters.
4747
606c44c4
AM
47482012-01-18 Alan Mackenzie <acm@muc.de>
4749
4750 Eliminate sluggishness and hangs in fontification of "semicolon
4751 deserts".
4752
cb882333
JB
4753 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4754 Change value 10000 -> 3000.
606c44c4
AM
4755 (c-state-safe-place): Reformulate so it doesn't stack up an
4756 infinite number of wrong entries in c-state-nonlit-pos-cache.
4757 (c-determine-limit-get-base, c-determine-limit): New functions to
4758 determine backward search limits disregarding literals.
4759 (c-find-decl-spots): Amend commenting.
4760 (c-cheap-inside-bracelist-p): New function which detects "={".
4761
4762 * progmodes/cc-fonts.el
4763 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4764 backward search.
4765 (c-font-lock-declarations): Fix an occurrence of point being
4766 undefined. Check additionally for point being in a bracelist or
4767 near a macro invocation without a semicolon so as to avoid a
4768 fruitless time consuming search for a declarator. Give a more
4769 precise search limit for declarators using the new
4770 c-determine-limit.
4771
f3860cea
GM
47722012-01-18 Glenn Morris <rgm@gnu.org>
4773
4774 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4775 (set-auto-mode): Doc fixes.
4776
1db03b16
GM
47772012-01-17 Glenn Morris <rgm@gnu.org>
4778
0e6038be
GM
4779 * isearch.el (search-nonincremental-instead): Fix doc typo.
4780
1db03b16
GM
4781 * dired.el (dired-insert-directory): Handle newlines in directory name.
4782 (dired-build-subdir-alist): Unescape newlines in directory name.
4783
4cb0aa75
MA
47842012-01-17 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4787 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4788 (tramp-action-terminal): Use it. (Bug#10530)
4789
1d00653d
SM
47902012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4793
6a6ee00d
MR
47942012-01-16 Martin Rudalics <rudalics@gmx.at>
4795
4796 * window.el (window-state-ignored-parameters): Remove variable.
4797 (window--state-get-1): Rename argument MARKERS to IGNORE.
4798 Handle persistent window parameters. Make copy of clone-of
4799 parameter only if requested. (Bug#10348)
4800 (window--state-put-2): Install a window parameter only if it has
4801 a non-nil value or an existing parameter shall be overwritten.
4802
97912def
MA
48032012-01-15 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4806
688070a5
EZ
48072012-01-14 Eli Zaretskii <eliz@gnu.org>
4808
4809 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4810 don't pass the (nil) value of `upnode' to string-match.
4811
301afadc
CY
48122012-01-14 Chong Yidong <cyd@gnu.org>
4813
4814 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4815 Fix values recognized by the cursorBlink resource.
301afadc 4816
9e5788aa
PE
48172012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4818
4819 * epg.el (epg--make-temp-file): Avoid permission race condition
4820 when running on old Emacs versions (bug#10403).
4821
3cdb7f5a
GM
48222012-01-14 Glenn Morris <rgm@gnu.org>
4823
4824 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4825
8c82b1b4
AM
48262012-01-13 Alan Mackenzie <acm@muc.de>
4827
4828 Fix filling for when filladapt mode is enabled.
4829
4830 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4831 c-mask-paragraph, pass in `fill-paragraph' rather than
4832 `fill-region-as-paragraph'. (This is a reversion of a previous
4833 change.)
eb864a71
LM
4834 * progmodes/cc-mode.el (c-basic-common-init):
4835 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4836
e517eda4
GM
48372012-01-13 Glenn Morris <rgm@gnu.org>
4838
1498536e
GM
4839 * dired.el (dired-switches-escape-p): New function.
4840 (dired-insert-directory): Use dired-switches-escape-p.
4841 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4842
e517eda4
GM
4843 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4844
328f984d
GM
48452012-01-12 Glenn Morris <rgm@gnu.org>
4846
4847 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4848 changes in adaptive-fill-regexp. (Bug#10276)
4849
2cc769a8
AM
48502012-01-11 Alan Mackenzie <acm@muc.de>
4851
4852 Fix Emacs bug #10463 - put `widen's around the critical spots.
4853
1d00653d 4854 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4855 widen around each invocation of c-state-pp-to-literal. Remove an
4856 unused let variable.
4857
e52c37fa
GM
48582012-01-11 Glenn Morris <rgm@gnu.org>
4859
4860 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4861 Doc fix.
e52c37fa 4862
96f8741e
CY
48632012-01-10 Chong Yidong <cyd@gnu.org>
4864
1d00653d
SM
4865 * net/network-stream.el (network-stream-open-starttls):
4866 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4867 response to the capability command.
4868
b09a806e
GM
48692012-01-10 Glenn Morris <rgm@gnu.org>
4870
4871 * mail/unrmail.el (unrmail): Tweak previous change.
4872
7655cb66
CY
48732012-01-09 Chong Yidong <cyd@gnu.org>
4874
4875 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4876
9d5a8f0b
AM
48772012-01-08 Alan Mackenzie <acm@muc.de>
4878
4879 Optimise font locking in long enum definitions.
4880
4881 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4882 arm to a cond form to handle enums.
4883 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4884 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4885
9a0115ab 48862012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4887
4888 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4889 (Bug#10401)
6bb72cbd 4890
f186bb95
LMI
48912012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4892
29232a68
LMI
4893 * faces.el (set-face-attribute): Clarify the meaning of the nil
4894 frame (bug#10294).
4895
4e5d086d
LMI
4896 * subr.el (with-selected-frame): Mention that the selected frame
4897 is restored (bug#9980).
4898
8e66aebe
LMI
4899 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4900 (bug#9759).
4901
cd394be1 4902 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4903 (password-read): Don't autoload unused function.
4904
adf4e762
JB
49052012-01-07 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * progmodes/which-func.el (which-func-mode): Turn into a
4908 non-interactive function and mark as obsolete (bug#10428).
4909
89bd9ccd
CY
49102012-01-06 Chong Yidong <cyd@gnu.org>
4911
4912 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4913 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4914 functions, along with 1 and -1.
4915
4afee9d5
EZ
49162012-01-06 Eli Zaretskii <eliz@gnu.org>
4917
4918 * time.el (display-time-load-average)
4919 (display-time-default-load-average): Doc fixes. See the thread
4920 starting at
4921 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4922 for the details.
4923
536aea70
GM
49242012-01-06 Glenn Morris <rgm@gnu.org>
4925
665ae865
GM
4926 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4927 has no messages. (Bug#10377)
4928
c869783d
GM
4929 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4930 than Info-edit. (Bug#10385)
4931
2bb4227e
GM
4932 * time.el (display-time-load-average, display-time-next-load-average):
4933 Doc fixes.
4934
7d5944b9
GM
4935 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4936 local setting of buffer-read-only to the input buffer. (Bug#10419)
4937
536aea70
GM
4938 * calendar/calendar.el (calendar-mode):
4939 Locally set scroll-margin to 0. (Bug#10379)
4940
7dccca16
UM
49412012-01-06 Ulrich Mueller <ulm@gentoo.org>
4942
4943 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4944
afbb7930
GM
49452012-01-05 Glenn Morris <rgm@gnu.org>
4946
4947 * eshell/em-unix.el (diff-no-select): Autoload it.
4948 (eshell/diff): Use diff-no-select. (Bug#10420)
4949
04482335
CY
49502012-01-05 Chong Yidong <cyd@gnu.org>
4951
7baca3bc
CY
4952 * shell.el (shell-dynamic-complete-functions): Revert last change.
4953 (shell-command-completion-function): New function.
4954 (shell-completion-vars): Use it to implement
4955 shell-completion-execonly (Bug#10417).
4956
04482335
CY
4957 * custom.el (enable-theme): Don't set custom-safe-themes.
4958
1d00653d
SM
4959 * cus-theme.el (custom-theme-merge-theme):
4960 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4961
bb5aa5d6
MM
49622012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4963
4964 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4965 first prompt in `sql-interacive-mode'.
4966 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4967 keywords.
6df6ae42 4968 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4969 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4970 context of original buffer. Invoke `sql-login-hook'.
4971
a7183d7c
EZ
49722012-01-04 Eli Zaretskii <eliz@gnu.org>
4973
4974 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4975 letters in cite-prefix.
4976
a1eacd1e
LMI
49772012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4978
4979 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4980
787cdb34
CY
49812012-01-03 Chong Yidong <cyd@gnu.org>
4982
1d00653d
SM
4983 * shell.el (shell-dynamic-complete-functions):
4984 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4985 comint-filename-completion first (Bug#10417).
4986
30710442
RS
49872012-01-02 Richard Stallman <rms@gnu.org>
4988
4989 * battery.el (battery-status-function):
4990 Detect when to use battery-yeeloong-sysfs.
4991 (battery-echo-area-format): Add string for Yeeloong.
4992 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4993 (battery-yeeloong-sysfs): New function.
4994
f75bfc33
CY
49952012-01-02 Chong Yidong <cyd@gnu.org>
4996
4997 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4998 (dirtrack): Merge code for handling relative filenames in prompt
4999 from shell-dir-cookie-watcher.
5000 (dirtrack-debug-message): New arg to avoid excess format calls.
5001
5002 * shell.el (shell-dir-cookie-re): Variable deleted.
5003 (shell-dir-cookie-watcher): Function deleted.
5004 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5005 with dirtrack-mode.
5006
651e947e
EZ
50072012-01-01 Eli Zaretskii <eliz@gnu.org>
5008
1d00653d
SM
5009 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5010 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5011 libgnutls-26.dll.
5012
94d4c7dc
AS
50132011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5014
5015 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5016
8d43f3cd
EZ
50172011-12-31 Eli Zaretskii <eliz@gnu.org>
5018
5019 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5020 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5021
98c8795a
MA
50222011-12-29 Michael Albinus <michael.albinus@gmx.de>
5023
5024 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5025 also for alternative shells.
5026 (tramp-open-connection-setup-interactive-shell): Check, whether
5027 the shell is a busybox.
5028 (tramp-send-command): Don't suppress multiple prompts for
5029 busyboxes, it hurts.
5030
51281b32
CY
50312011-12-28 Chong Yidong <cyd@gnu.org>
5032
5033 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5034 (gdb-get-source-file): Move mode line update to
5035 gdb-get-source-file (Bug#10087).
5036
2170cb53
CY
50372011-12-25 Chong Yidong <cyd@gnu.org>
5038
5039 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5040 gud-gdb-marker-filter without taking it as an argument.
5041 (gud-gdb-run-command-fetch-lines): Caller changed.
5042 (gud-gdb-completion-function): New variable.
5043 (gud-gdb-completion-at-point): Use it.
5044 (gud-gdb-completions-1): Split from gud-gdb-completions.
5045
5046 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5047 function as separate arguments.
5048 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5049 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5050 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5051 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5052 (gdb-stopped, def-gdb-auto-update-trigger)
5053 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5054 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5055 Callers changed.
2170cb53
CY
5056 (gud-gdbmi-completions): New function.
5057 (gdb): Use it for generating the completion table.
5058
be8b11bb
AM
50592011-12-24 Alan Mackenzie <acm@muc.de>
5060
5061 Introduce a mechanism to widen the region used in context font
1d00653d 5062 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5063
1d00653d
SM
5064 * progmodes/cc-langs.el (c-before-font-lock-functions):
5065 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5066 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5067 functions to be run just before context (etc.) font locking.
5068
5069 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5070 New, functionality extracted from
be8b11bb 5071 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5072 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5073 (c-after-change): Set c-in-after-change-fontification.
5074 (c-set-fl-decl-start): Rejig its interface, so it can be called
5075 from both after-change and context fontifying.
b81d40f0
JB
5076 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5077 New functions.
5078 (c-standard-font-lock-fontify-region-function): New variable.
5079 (c-font-lock-fontify-region): New function.
be8b11bb 5080
341cf6ac
JL
50812011-12-24 Juri Linkov <juri@jurta.org>
5082
5083 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5084 (Bug#10348)
5085
bffcee0a
MA
50862011-12-23 Michael Albinus <michael.albinus@gmx.de>
5087
5088 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5089 existence of source file. (Bug#10325)
5090
cb5e207c
AM
50912011-12-23 Alan Mackenzie <acm@muc.de>
5092
5093 Fix unstable fontification inside templates.
5094
b81d40f0
JB
5095 * progmodes/cc-langs.el (c-before-font-lock-functions):
5096 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5097 additionally has c-set-fl-decl-start. The other languages (apart
5098 from AWK) have that as a single entry.
5099
b81d40f0
JB
5100 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5101 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5102 c-set-fl-decl-start.
5103
b81d40f0
JB
5104 * progmodes/cc-mode.el (c-common-init, c-after-change):
5105 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5106 (c-set-fl-decl-start): New function, extracted from
5107 c-font-lock-enclosing-decls and enhanced.
5108
60ff536c
JB
51092011-12-23 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5112
1c4757d6
JL
51132011-12-22 Juri Linkov <juri@jurta.org>
5114
5115 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5116
d031f2c7
CY
51172011-12-22 Chong Yidong <cyd@gnu.org>
5118
5119 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5120
bace743a
DA
51212011-12-21 Drew Adams <drew.adams@oracle.com>
5122
5123 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5124
728a1f2b
JC
51252011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5126
5127 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5128
0d373f73
TZ
51292011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5130
fec0aaa4
TZ
5131 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5132 highlighting and support. Fix up comments for capitalization.
5133 (cfengine-mode-debug): New var.
5134 (cfengine3-mode): Change the modeline indicator to "CFE3".
5135 (cfengine3-font-lock-keywords): Improve defun highlighting.
5136 (cfengine2-actions): Rename from `cfengine-actions'.
5137 (cfengine2-font-lock-keywords): Rename from
5138 `cfengine-font-lock-keywords'.
5139 (cfengine2-imenu-expression): Rename from
5140 `cfengine-imenu-expression'.
5141 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5142 (cfengine2-beginning-of-defun): Rename from
5143 `cfengine-beginning-of-defun'.
5144 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5145 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5146 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5147 modeline indicator to "CFE2".
5148 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5149 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5150
bc86f573
CY
51512011-12-21 Chong Yidong <cyd@gnu.org>
5152
5153 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5154 filename argument.
5155
d45ba96b
MR
51562011-12-20 Martin Rudalics <rudalics@gmx.at>
5157
5158 * window.el (window-normalize-buffer-to-display): Remove.
5159 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5160
a6198c90
CY
51612011-12-19 Chong Yidong <cyd@gnu.org>
5162
5163 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5164 Don't signal an error in a predicate function; return non-nil.
5165 (vc-dir-mark-file): Move the error here.
5166 (vc-dir-mark-unmark): If acting on the region, keep going if one
5167 of the entries cannot be marked/unmarked.
5168 (vc-dir-mark-all-files): If current entry is a directory, mark
5169 only child files, as documented.
5170
34c5fb55
VB
51712011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5172
5173 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5174 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5175 addition.
5176
c803b2b7
JD
51772011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5178
5179 * term/ns-win.el (ns-get-selection-internal)
5180 (ns-store-selection-internal): Declare.
1154d12e
JB
5181 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5182 Declare as obsolete.
5183 (ns-get-pasteboard, ns-paste-secondary):
5184 Use ns-get-selection-internal.
5185 (ns-set-pasteboard, ns-copy-including-secondary):
5186 Use ns-store-selection-internal.
c803b2b7 5187
9cff91f8 51882011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5189
5190 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5191 (vc-deduce-fileset): Doc fix.
99a289d9 5192
f16c898a
AS
51932011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5196
763237c4
SS
51972011-12-13 Sam Steingold <sds@gnu.org>
5198
5199 * man.el (Man-getpage-in-background): When running under a
5200 window-system, ignore $MANWIDTH and $COLUMNS.
5201
5fc1c122
KH
52022011-12-15 Kenichi Handa <handa@m17n.org>
5203
5204 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5205 (setup-ethiopic-environment-internal): Comment out key-binding for
5206 ethio-toggle-punctuation.
5207
13d49cbb
AM
52082011-12-13 Alan Mackenzie <acm@muc.de>
5209
898169a2
AM
5210 Add the switch statement to AWK Mode.
5211
7a71b18d 5212 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5213 "default" to the keywords regexp.
5214
7a71b18d 5215 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5216 expression as the rest.
1d00653d
SM
5217 (c-nonlabel-token-key): Allow string literals for AWK.
5218 Refactor for the other modes.
898169a2 5219
13d49cbb 5220 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5221 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5222 routines. Limit backward searching in c-font-lock-enclosing.decl.
5223
5224 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5225 pp-state and literal type in addition to the limits.
1d00653d 5226 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5227 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5228 (c-slow-in-literal, c-fast-in-literal): Remove.
5229 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5230
5231 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5232 being in a literal. Add a limit for backward searching.
5233
5234 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5235 c-slow-in-literal.
5236
15e0efc7
SM
52372011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5240
454592a6
MR
52412011-12-13 Martin Rudalics <rudalics@gmx.at>
5242
5243 * window.el (delete-other-windows): Use correct frame in call to
5244 window-with-parameter.
5245
87393f26
DP
52462011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5247
5248 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5249 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5250 (makefile-gmake-statements, makefile-makepp-statements):
5251 Use it and add new makepp keywords.
5252 (makefile-makepp-font-lock-keywords): Add new patterns.
5253 (makefile-match-function-end): Match new [...] and [[...]].
5254
11636b22
JB
52552011-12-11 Juanma Barranquero <lekktu@gmail.com>
5256
5257 * ses.el (ses-call-printer-return, ses-cell-property-get)
5258 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5259 (ses-create-cell-variable, ses-reset-header-string)
5260 (ses-cell-set-formula, ses-repair-cell-reference-all)
5261 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5262 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5263 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5264 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5265 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5266 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5267 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5268 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5269 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5270 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5271 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5272 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5273
cf018193
VB
52742011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5275
5276 * ses.el: The overall change is to add cell renaming, that is
5277 setting fancy names for cell symbols other than name matching
5278 "\\`[A-Z]+[0-9]+\\'" regexp .
5279 (ses-create-cell-variable): New defun.
5280 (ses-relocate-formula): Relocate formulas only for cells the
5281 symbols of which are not renamed, i.e. symbols whose names do not
5282 match regexp "\\`[A-Z]+[0-9]+\\'".
5283 (ses-relocate-all): Relocate values only for cells the symbols of
5284 which are not renamed.
5285 (ses-load): Create cells variables as the (ses-cell ...) are read,
5286 in order to check row col consistency with cell symbol name only
5287 for cells that are not renamed.
5288 (ses-replace-name-in-formula): New defun.
5289 (ses-rename-cell): New defun.
5290
ee957461
CY
52912011-12-11 Chong Yidong <cyd@gnu.org>
5292
5293 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5294 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5295
9a9e9ef0
MR
52962011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5297
5298 * window.el (other-window): Fix docstring.
5299
92a8eba5
EZ
53002011-12-10 Eli Zaretskii <eliz@gnu.org>
5301
5302 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5303 `from' or `to' address before taking its substring.
5304 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5305 encoded name is chopped in the middle of the encoded string, and
5306 thus displayed encoded.
5307
e152e577
JB
53082011-12-10 Juanma Barranquero <lekktu@gmail.com>
5309
5310 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5311
e5d84bfe
EZ
53122011-12-10 Eli Zaretskii <eliz@gnu.org>
5313
5314 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5315 to use texinfo-update-node and commands that call it if the
5316 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5317 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5318 (texinfo-all-menus-update, texinfo-master-menu)
5319 (texinfo-update-node, texinfo-every-node-update)
5320 (texinfo-multiple-files-update): Doc fix. Warn against updating
5321 all the @node lines.
5322 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5323 argument is numeric. Explain better in the doc string what the
5324 function really does.
5325 (texinfo-insert-master-menu-list): Improve the error message
5326 displayed if there's no menu in the Top node.
5327 (Bug#2975) See also this thread:
e5d84bfe
EZ
5328 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5329
1d84e9bb
MG
53302011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5331
5332 * speedbar.el (speedbar-supported-extension-expressions):
5333 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5334
382c953b
JB
53352011-12-09 Juanma Barranquero <lekktu@gmail.com>
5336
5337 * printing.el (pr-mode-alist):
5338 * simple.el (filter-buffer-substring-functions)
5339 (completion-list-insert-choice-function):
5340 * window.el (window-with-parameter, window-atom-root)
5341 (window-sides-slots, window-size-fixed, window-min-delta)
5342 (window-max-delta, window--resize-mini-window)
5343 (window--resize-child-windows-normal, window-tree)
5344 (delete-other-windows, quit-window, split-window)
5345 (display-buffer-record-window, special-display-buffer-names)
5346 (special-display-regexps, special-display-popup-frame)
5347 (same-window-p, split-window-sensibly)
5348 (display-buffer-overriding-action, display-buffer-alist)
5349 (display-buffer-base-action, display-buffer, switch-to-buffer)
5350 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5351 (fit-window-to-buffer, recenter-positions)
5352 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5353 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5354 and remove unneeded backslashes in docstrings.
5355
39c9faef
SM
53562011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5357
98449af8
SM
5358 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5359
39c9faef
SM
5360 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5361 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5362 end in ".mk".
5363 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5364 when reading the makefile (bug#10116).
5365
86ed9fdc
SM
53662011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5369 (bug#10116).
5370
5580f89d
GM
53712011-12-06 Glenn Morris <rgm@gnu.org>
5372
5373 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5374
28d3917c
CY
53752011-12-06 Chong Yidong <cyd@gnu.org>
5376
5377 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5378
a98edce9
JB
53792011-12-06 Juanma Barranquero <lekktu@gmail.com>
5380
5381 * textmodes/table.el (table-shorten-cell): Fix typo.
5382
e65adfac
CG
53832011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5384
5385 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5386
71cc0b74
EZ
53872011-12-05 Eli Zaretskii <eliz@gnu.org>
5388
5389 * descr-text.el (describe-char): Fix display of strong
5390 right-to-left characters and directional embeddings and overrides.
5391
5392 * simple.el (what-cursor-position): Fix display of codepoints of
5393 strong right-to-left characters.
5394
315bc30d
CY
53952011-12-05 Chong Yidong <cyd@gnu.org>
5396
5397 * faces.el (read-color): Doc fix.
5398
58a70b94
GM
53992011-12-05 Glenn Morris <rgm@gnu.org>
5400
5401 * align.el (align--set-marker): Add doc-string.
5402 Don't try to move something that is not a marker. (Bug#10216)
5403
5158face
GM
54042011-12-04 Glenn Morris <rgm@gnu.org>
5405
5406 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5407 overly zealous deletion of trailing whitespace.
5408
520fca41
JB
54092011-12-04 Juanma Barranquero <lekktu@gmail.com>
5410
5411 * server.el (server-delete-client): On Windows, do not try to delete
5412 the only terminal.
5413 (server-process-filter): On Windows, treat requests for a tty frame as
5414 if they were for a GUI frame if the running server is in GUI mode.
5415
5e605a2e
GM
54162011-12-03 Glenn Morris <rgm@gnu.org>
5417
5418 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5419
5c3fe83f
SM
54202011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5421
6f5e57e7
SM
5422 * electric.el: Streamline electric-indent's hook.
5423 (electric-indent-chars): Revert to simple list.
5424 (electric-indent-functions): New var.
5425 (electric-indent-post-self-insert-function): Use it.
5426
5c3fe83f
SM
5427 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5428 there's no inferior buffer (bug#10196).
5429 (prolog-consult-compile): Don't use toggle-read-only.
5430
6bdac736
MA
54312011-12-02 Michael Albinus <michael.albinus@gmx.de>
5432
5433 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5434 interrupt. (Bug#10187)
5435
6131ba7f
SM
54362011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5437
99c79fee
SM
5438 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5439 (bug#9160).
5440
6131ba7f
SM
5441 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5442 (bug#10191).
5443
cb0a02ea
JL
54442011-12-02 Juri Linkov <juri@jurta.org>
5445
5446 * info.el (Info-search): Display "end of manual" when Isearch
5447 reaches the end of single-file Info manual. (Bug#9918)
5448
66e0570c
EZ
54492011-12-02 Eli Zaretskii <eliz@gnu.org>
5450
5451 * isearch.el (isearch-message-prefix): Run the input method part
5452 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5453
02b16839
JL
54542011-12-02 Juri Linkov <juri@jurta.org>
5455
5456 * isearch.el (isearch-occur): Use `word-search-regexp' for
5457 `isearch-word'.
5458 (isearch-search-and-update): Add condition for `isearch-word' and
5459 call `word-search-regexp'. (Bug#10145)
5460
0b950688
GM
54612011-12-01 Glenn Morris <rgm@gnu.org>
5462
5463 * eshell/em-hist.el (eshell-hist-initialize):
5464 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5465 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5466
9505c3c7
SM
54672011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5470
1bbe96b2 54712011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5472
a1beca85
SM
5473 * progmodes/verilog-mode.el (verilog-pretty-expr):
5474 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5475 verilog, such as += *= and the like.
5476 (verilog-assignment-operator-re): Regular expression to find the
5477 assigment operator in a verilog assignment.
5478 (verilog-assignment-operation-re): Regular expression to find an
5479 assignment statement for pretty-expr.
5480 (verilog-in-attribute-p): Query returns true if point is in an
5481 attribute context; used to skip these for expression line up from
5482 pretty-expr.
5483 (verilog-in-parameter-p): Query returns true if point is in an
5484 parameter definition context; used to skip these for expression
5485 line up from pretty-expr.
5486 (verilog-in-parenthesis-p): Query returns true if point is in a
5487 parenthetical expression, specifically ( ) but not [ ] or { };
5488 used by pretty-expr.
5489 (verilog-just-one-space): If there is no space, don't add one.
5490 (verilog-get-lineup-indent-2): Specifically skip just attribute
5491 contexts for expression lineup, rather than skipping all
5492 parenthetical expressions.
5493 (verilog-calculate-indent): Fix comment, and fix indent.
5494 (verilog-do-indent): Indent declarations in lists (suggested by
5495 Joachim Lechner).
5496 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5497 skeleton items.
5498 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5499 by Alain Mellan).
5500
1bbe96b2 55012011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5502
5503 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5504 parameters with embedded comments. Reported by Ray Stevens.
5505 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5506 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5507 Reported by Tim Holt.
5508 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5509 instantiated by upper module causing wrong expansion until AUTOed a
5510 second time. Reported by K C Buckenmaier.
5511 (verilog-diff-auto): Fix showing .* as a difference when
5512 `verilog-auto-star-save' off. Reported by Dan Dever.
5513 (verilog-auto-reset, verilog-read-always-signals)
5514 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5515 temporary signals in reset list if
5516 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5517 style to each signal's assignment type, bug381.
5518 Reported by Thomas Esposito.
6288f0ca
WS
5519 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5520 (verilog-uvm-statement-re): Support UVM indentation and
5521 highlighting, with old OVM keywords only.
a1beca85 5522 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5523 Support AUTOTIEOFF creating non-wire data types.
5524 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5525 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5526 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5527 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5528 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5529 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5530 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5531 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5532 non-numeric vector width. Reported by Alex Reed.
5533 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5534 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5535 (verilog-auto-delete-trailing-whitespace):
5536 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5537 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5538 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5539 Fix verilog-scan-cache corruption when running user AUTO expansion
5540 hooks that call indentation routines.
5541 (verilog-simplify-range-expression): Fix typo ignoring lower case
5542 identifiers.
5543 (verilog-delete-auto): Fix delete-autos to also remove user created
5544 automatics, as long as they start with AUTO.
5545 (verilog-batch-diff-auto, verilog-diff-auto)
5546 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5547 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5548 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5549 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5550 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5551 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5552 is disabled and its cache will get corrupt, causing AUTOS not to
5553 expand. Instead use only -quick functions.
5554 (verilog-scan-region): Fix scanning over escaped quotes.
5555 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5556 (verilog-re-search-backward-quick)
5557 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5558 related functions now ignore strings, to fix misparsing of strings
5559 with magic comments embedded in them.
a1beca85
SM
5560 (verilog-read-auto-template):
5561 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5562 Reported by Brad Dobbie.
5563 (verilog-read-auto-template):
5564 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5565 Reported by Brad Dobbie.
6288f0ca
WS
5566 (verilog-auto-inst, verilog-auto-inst-param)
5567 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5568 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5569 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5570 debugging templates without merge conflicts, bug357.
5571 Reported by Brad Dobbie.
5572 (verilog-read-auto-template):
5573 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5574 Reported by Brad Dobbie.
5575 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5576 abbrevs so user won't be asked to save.
5577 (verilog-read-auto-lisp-present): Fix to start at beginning of
5578 buffer in case called outside of verilog-auto.
5579 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5580 to "X-2". Reported by Matthew Myers.
5581 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5582 all inputs from module templates. Reported by Leith Johnson.
5583 (verilog-module-inside-filename-p): Fix locating programs as with
5584 modules.
5585 (verilog-auto-inst-port): Fix vl-width expressions when using
5586 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5587 (verilog-decls-get-regs, verilog-decls-get-signals,
5588 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5589 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5590 verilog-read-decls): Combine reg and wire structures into one var
5591 structure to represent SystemVerilog concepts.
5592 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5593 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5594 (verilog-auto-wire-type, verilog-insert-definition):
5595 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5596 SystemVerilog "logic" keyword instead of "wire"/"reg".
5597 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5598 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5599 ifdef or generate if so there's not a driver conflict).
5600 Reported by Matthew Myers.
5601 (verilog-auto-declare-nettype, verilog-insert-definition):
5602 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5603 `default_nettype none. Reported by Julian Gorfajn.
5604 (verilog-read-always-signals-recurse, verilog-read-decls)
5605 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5606 malformed end statement, bug325. Reported by Joshua Wise and
5607 Andrew Drake.
5608 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5609 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5610 when expanding .* in interfaces, bug320.
5611 Reported by Pierre-David Pfister.
6288f0ca 5612 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5613 name and open parenthesis, bug317.
5614 Reported by Pierre-David Pfister.
6288f0ca
WS
5615 (verilog-simplify-range-expression): Fix simplification of
5616 multiplications inside AUTOWIRE connections, bug303.
5617 (verilog-auto-inst-port): Support parameter expansion in
5618 multidimensional arrays.
5619 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5620 after "assert property". Reported by Julian Gorfajn.
5621 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5622 with multiplication, bug303.
5623 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5624 Reported by Jan Frode Lonnum.
5625
1bbe96b2
GM
56262011-11-30 Juanma Barranquero <lekktu@gmail.com>
5627
5628 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5629 (hfy-shell-file-name, hfy-shell):
5630 * international/fontset.el (x-decompose-font-name): Fix typos.
5631
56322011-11-29 Ken Brown <kbrown@cornell.edu>
5633
5634 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5635 (gdb-version): Remove defvar.
5636 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5637 (gdb-gud-context-command, gdb-non-stop-handler)
5638 (gdb-current-context-command, gdb-stopped): Use it.
5639 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5640 (gdb-non-stop-handler): Don't enable pretty-printing here.
5641 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5642 non-stop mode. Use the following.
5643 (gdb-check-target-async): New defun.
5644 (gud-watch, gdb-stopped): Fix whitespace.
5645 (gdb-get-source-file): Don't try to display the source file if
5646 `gdb-main-file' is nil.
5647
56482011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * align.el: Try to generate fewer markers (bug#10047).
5651 (align--set-marker): New macro.
5652 (align-region): Use it.
5653
c935221f
SM
56542011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5657
e70b5064
CY
56582011-11-29 Chong Yidong <cyd@gnu.org>
5659
5660 * indent.el (indent-for-tab-command, indent-according-to-mode):
5661 Doc fix.
5662 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5663
f3af92b7
MA
56642011-11-29 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5667 aware of remote file names. (Bug#10124)
5668
ed472be9
CY
56692011-11-29 Chong Yidong <cyd@gnu.org>
5670
5671 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5672
24510c22
SM
56732011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * files.el (find-file): Don't use force-same-window (bug#10144).
5676 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5677 use pop-to-buffer if the selected window can't be used.
5678 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5679
c60c3703
EZ
56802011-11-28 Eli Zaretskii <eliz@gnu.org>
5681
5682 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5683 special-mode-map.
5684
e95def75
CY
56852011-11-28 Chong Yidong <cyd@gnu.org>
5686
5687 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5688
c3f1c606
NR
56892011-11-27 Nick Roberts <nickrob@snap.net.nz>
5690
5691 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5692 gdb-get-source-file-list on gdb-create-source-file-list.
5693
00db469c
EZ
56942011-11-26 Eli Zaretskii <eliz@gnu.org>
5695
5696 * whitespace.el (whitespace-newline): Use a different foreground
5697 color for 16-color light-background displays.
5698
4ad3bc2a
CY
56992011-11-24 Chong Yidong <cyd@gnu.org>
5700
5701 * window.el (display-buffer--special-action): Doc fix.
5702
e9fce1ac
JB
57032011-11-25 Juanma Barranquero <lekktu@gmail.com>
5704
5705 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5706 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5707 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5708 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5709 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5710 (avl-tree-stack-first):
5711 * emacs-lisp/cconv.el (cconv--analyse-use):
5712 * net/gnutls.el (gnutls-negotiate): Fix typos.
5713
cb825e5d
GM
57142011-11-24 Glenn Morris <rgm@gnu.org>
5715
3adbe224
GM
5716 * lpr.el (lpr-windows-system, lpr-lp-system):
5717 * mail/binhex.el (binhex-begin-line):
5718 * progmodes/grep.el (grep-history, grep-find-history):
5719 * textmodes/flyspell.el:
5720 * vc/pcvs-defs.el (cvs-global-menu):
5721 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5722 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5723 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5724
321decc8
GM
5725 * net/tls.el: Fix case of "GnuTLS".
5726
420b63ad
GM
5727 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5728
cb825e5d
GM
5729 * version.el (emacs-build-system): Give it a doc-string.
5730
a0649f08
JL
57312011-11-24 Juri Linkov <juri@jurta.org>
5732
5733 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5734
c0bc0fd4
GM
57352011-11-24 Glenn Morris <rgm@gnu.org>
5736
5737 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5738 if called on a non-mime message just toggle the headers. (Bug#8006)
5739
20db1522
JB
57402011-11-24 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5743 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5744 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5745 (allout-rebullet-heading, allout-open-sibtopic)
5746 (allout-toggle-current-subtree-encryption)
5747 (allout-toggle-subtree-encryption, allout-encrypt-string)
5748 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5749 (allout-distinctive-bullets-string, allout-auto-activation):
5750 * window.el (window-normalize-buffer-to-display):
5751 * progmodes/verilog-mode.el (verilog-batch-indent):
5752 * textmodes/bibtex.el (bibtex-field-braces-opt)
5753 (bibtex-field-strings-opt):
5754 * vc/cvs-status.el (cvs-tree-merge):
5755 Fix typos.
5756
7262a87c
MA
57572011-11-23 Michael Albinus <michael.albinus@gmx.de>
5758
5759 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5760 `non-essential' to t, in order to avoid remote connections.
5761
283430a1
EZ
57622011-11-23 Eli Zaretskii <eliz@gnu.org>
5763
a1beca85
SM
5764 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5765 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5766 case-insensitively.
5767
d2992a38
ML
57682011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5769
5770 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5771
50419064
GM
57722011-11-23 Glenn Morris <rgm@gnu.org>
5773
da94eca1
GM
5774 * paths.el (rmail-file-name): Reformat the doc-string so that it
5775 is picked up.
5776
9aac4de2
GM
5777 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5778 (rmail-auto-file): Ignore case in the "special" field names,
5779 as mail-fetch-field does for all others.
5780
8038d2d2
GM
5781 * mail/rmail.el (rmail-forward):
5782 * mail/rmailkwd.el (rmail-set-label):
5783 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5784 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5785
f3fe222a
GM
5786 * mail/rmail.el (rmail-current-message): Doc fix.
5787
50419064
GM
5788 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5789
28109f49
SM
57902011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5793
394c65f1
GM
57942011-11-22 Glenn Morris <rgm@gnu.org>
5795
5796 * mail/rmailmm.el (test-rmail-mime-handler)
5797 (test-rmail-mime-bulk-handler)
5798 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5799
f2a0aa3a
JL
58002011-11-21 Juri Linkov <juri@jurta.org>
5801
1154d12e
JB
5802 * calc/calc.el (calc-read-key-sequence):
5803 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5804
9c34a344
LMI
58052011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806
5807 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5808 Tell the caller that the next line needs recomputation, even
5809 though it doesn't start a sexp (bug#10094).
5810
f04a3be9
SM
58112011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5814
7978747f
SM
58152011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5816
f04a3be9
SM
5817 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5818 Use force-same-window.
7978747f 5819
fe7a3057
JB
58202011-11-20 Juanma Barranquero <lekktu@gmail.com>
5821
5822 * descr-text.el (describe-char-unicode-data):
5823 * json.el (json-string-escape):
5824 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5825 (Footnote-unicode, Footnote-style-p):
5826 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5827
24901d61
CY
58282011-11-20 Chong Yidong <cyd@gnu.org>
5829
5830 * window.el (replace-buffer-in-windows): Restore interactive spec.
5831
bac7ff22
SM
58322011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5833
24f3d7b9
SM
5834 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5835
bac7ff22
SM
5836 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5837 (byte-compile-global-not-obsolete-vars): New var.
5838 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5839 Use it.
5840 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5841
cd1181db
JB
58422011-11-20 Juanma Barranquero <lekktu@gmail.com>
5843
5844 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5845 * progmodes/pascal.el (electric-pascal-equal):
5846 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5847 * xml.el (xml-substitute-special): Fix typos.
5848
7fb18e9e
GM
58492011-11-20 Glenn Morris <rgm@gnu.org>
5850
5851 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5852 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5853 Doc fixes.
5854 (rmail-decode-mime-charset): Mark as obsolete.
5855
5856 * mail/rmailsum.el (rmail-message-regexp-p-1):
5857 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5858 Before using mime functions, check they are set. (Bug#10077)
5859
d5a6b3ba
JL
58602011-11-19 Juri Linkov <juri@jurta.org>
5861
5862 * info.el (Info-finder-find-node): Use `package--builtins' instead
5863 of `package-alist'. Use node names formed by the pattern "Keyword "
5864 and the keyword name.
5865
e981b61f
AS
58662011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5867
1d00653d 5868 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5869
3ffbc301
JL
58702011-11-19 Juri Linkov <juri@jurta.org>
5871
5872 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5873 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5874 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5875 `old-history', `old-history-forward'. Add let-binding
5876 `window-selected'. Remove calls to `kill-buffer',
5877 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5878 before calling `Info-find-node', so `Info-find-node-2' will reread
5879 the Info file. Restore window positions only when `window-selected'
5880 is non-nil.
5881
30c62133
JL
58822011-11-19 Juri Linkov <juri@jurta.org>
5883
5884 * isearch.el (isearch-lazy-highlight-new-loop):
5885 Remove condition `(not isearch-error)'. (Bug#9918)
5886
5887 * misearch.el (multi-isearch-search-fun): Add condition
5888 `(not bound)' to ignore lazy-highlighting search.
5889 Add the search-failed message "end of multi" when the end of
5890 multi-sequence is reached. Uncapitalize the search-failed
5891 message "Repeat for next buffer".
5892
5893 * info.el (Info-search): Add the search-failed message
5894 "end of the manual" when the end of the manual is reached
5895 in Isearch mode.
5896
645ca9cf
JL
58972011-11-19 Juri Linkov <juri@jurta.org>
5898
5899 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5900 Use non-destructive `remove' instead of `delete' because
5901 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5902 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5903
df754f66
JL
59042011-11-19 Juri Linkov <juri@jurta.org>
5905
5906 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5907 to nil instead of binding `search-ring' and `regexp-search-ring'.
5908 (Bug#9185)
5909
0e23d96a
EZ
59102011-11-19 Eli Zaretskii <eliz@gnu.org>
5911
5912 * simple.el (line-move): Force movement by logical lines for any
5913 hscrolled window, not only when auto-hscroll-mode is on.
5914 (line-move-visual): Update doc string to that effect. (Bug#10076)
5915
8a6ccb66
AS
59162011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5917
5918 * language/european.el (macintosh): Define as alias for mac-roman.
5919
49ae5b39
EZ
59202011-11-19 Eli Zaretskii <eliz@gnu.org>
5921
5922 * mail/rmailmm.el (rmail-mime-display-header)
5923 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5924 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5925 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5926 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5927 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5928 of a raw aref.
5929 (rmail-mime-entity-segment): To get past the tagline, move forward
5930 2 more lines, to account for the 2 empty lines that precede and
5931 follow the line with the buttons.
5932 (rmail-mime-update-tagline): Move one more line, to get past the
5933 empty line that follows the buttons in the tagline. (Bug#9520)
5934
c56cad4a
MR
59352011-11-19 Martin Rudalics <rudalics@gmx.at>
5936
5937 * window.el (window-max-delta-1, window-min-delta-1)
5938 (window-min-size-1, window-state-get-1, window-state-put-1)
5939 (window-state-put-2): Use "window--" prefix.
5940
cbe71af3
SM
59412011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5942
2ad52c60
SM
5943 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5944 (smie-warning-count): New var.
5945 (smie-set-prec2tab): Use it.
5946 (smie-bnf->prec2): Improve warnings. Add docstring.
5947 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5948 (smie-bnf--set-class): New function.
5949 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5950 corner case.
5951
6944dbc1
SM
5952 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5953 (compilation-error-properties, compilation-move-to-column):
5954 Handle compilation-first-column while in the target buffer.
5955
c400c4d7
SM
5956 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5957 Don't hardcode point-min==1.
5958
6dbe3e96
SM
5959 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5960 (eshell-rewrite-for-command): Remove workaround.
5961 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5962 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5963 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5964
cbe71af3
SM
5965 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5966
a8e1496d
GM
59672011-11-17 Glenn Morris <rgm@gnu.org>
5968
5969 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5970 Ignore buffer-local generated-autoload-file if it is the same
5971 as the global value. (Bug#10049)
5972
df85d315
JB
59732011-11-17 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5976 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5977 (reftex-toc-previous-heading, reftex-toc-max-level)
5978 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5979 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5980 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5981 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5982 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5983 (reftex-toc-rename-label, reftex-toc-visit-location)
5984 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5985 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5986 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5987 leaving "*toc*" only for references to the buffer.
5988
a0c2d0ae
MR
59892011-11-17 Martin Rudalics <rudalics@gmx.at>
5990
5991 * window.el (window-resize, delete-window, split-window):
5992 Replace window-splits by window-combination-resize.
1d00653d 5993 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5994
35c0bac8
GM
59952011-11-17 Glenn Morris <rgm@gnu.org>
5996
5997 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5998 Make bash entry derive from sh entry, not shell entry.
5999
d0c8fc8a
MA
60002011-11-16 Michael Albinus <michael.albinus@gmx.de>
6001
d0c8fc8a
MA
6002 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6003 properties of linked files. (Bug#9879)
6004
7262a87c
MA
6005 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6006 local file name.
6007
7877f373
JB
60082011-11-16 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * menu-bar.el (menu-bar-file-menu):
6011 * printing.el (pr-ps-utility):
6012 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6013 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6014 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6015 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6016 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6017 (icalendar--convert-cyclic-to-ical)
6018 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6019 (icalendar--convert-ical-to-diary)
6020 (icalendar--convert-recurring-to-diary)
6021 (icalendar--convert-non-recurring-all-day-to-diary)
6022 (icalendar-import-format-sample):
6023 * progmodes/idlw-shell.el (idlwave-shell-mode):
6024 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6025 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6026 (vhdl-ps-print-init): Fix typos.
6027
10649b82
KM
60282011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6029
9d0cfcd6
GM
6030 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6031 FSF and collapse date sequence, obscure author/maintainer email address
6032 better, remove extra version line, track relocation of author's webpage.
10649b82 6033
9d0cfcd6
GM
6034 * progmodes/python.el (python-pdbtrack-input-prompt)
6035 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6036 regular python pdb prompts. Adjustments shamelessly taken exactly as
6037 suggested in EmacsWiki page (tiny change):
6038 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6039
58179cce
JB
60402011-11-16 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * expand.el (expand-pos, expand-index, expand-point):
6043 Remove redundant info from docstring.
6044 (expand-add-abbrevs): Doc fix.
6045 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6046 (expand-sample-perl-mode-expand-list): Fix typos.
6047
6048 * net/dbus.el (dbus-event-member-name):
6049 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6050 * term/pc-win.el (msdos-create-frame-with-faces):
6051 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6052
b6f67890
MR
60532011-11-16 Martin Rudalics <rudalics@gmx.at>
6054
6055 * window.el (split-window, window-state-get-1)
6056 (window-state-put-1, window-state-put-2): Rename occurrences of
6057 window-nest to window-combination-limit.
1d00653d 6058 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6059
ce7ddba0
CY
60602011-11-16 Chong Yidong <cyd@gnu.org>
6061
6062 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6063 regexp (Bug#10033).
6064
3ae704f4
SM
60652011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6068 `completing-read' will remove *Completions* and will preserve
6069 current-buffer for us.
6070 (tmm-add-prompt): Users of *Completions* will always (re)set its
6071 major mode.
6072 (tmm-old-comp-map): Remove.
6073
6ad1cdde
GM
60742011-11-16 Glenn Morris <rgm@gnu.org>
6075
6076 * mail/rmailedit.el: Require rmailmm when compiling.
6077 (rmail-old-mime-state): New declaration.
6078 (rmail-edit-current-message): If editing a mime message,
6079 edit the "raw" message from the mbox buffer.
6080 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6081
d20faa20
GM
60822011-11-15 Glenn Morris <rgm@gnu.org>
6083
6084 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6085 which wasn't being used. Add optional arg to force given state.
6086 (rmail-mime): Add optional arg to force given state.
6087
c7015153
JB
60882011-11-15 Juanma Barranquero <lekktu@gmail.com>
6089
6090 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6091 * frame.el (display-mm-dimensions-alist):
6092 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6093 (outline-move-subtree-down):
6094 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6095 (newsticker--treeview-do-get-node):
6096 * net/quickurl.el (quickurl-list-buffer-name):
6097 * progmodes/dcl-mode.el (dcl-mode):
6098 * progmodes/gdb-mi.el (gdb-mapcar*):
6099 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6100
45261b50
GM
61012011-11-15 Glenn Morris <rgm@gnu.org>
6102
6103 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6104 in a boolean sense, so just make it a boolean, and fix the doc.
6105 (rmail-show-mime-function, rmail-mime-feature)
6106 (rmail-require-mime-maybe): Doc fixes.
6107 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6108
6109 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6110
0d26e0b6
JB
61112011-11-15 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6114 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6115 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6116 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6117
447f30f6
GM
61182011-11-15 Glenn Morris <rgm@gnu.org>
6119
672b871d
GM
6120 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6121 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6122 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6123 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6124 (rmail-mime, rmail-show-mime): Doc fixes.
6125
f6aa5bb1
GM
6126 * term/ns-win.el (mode-line-frame-identification):
6127 Leave it alone. (Bug#10051)
6128
947cd66b
GM
6129 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6130
447f30f6
GM
6131 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6132 Handle empty buffers. (Bug#9978)
6133
0b381c7e
JB
61342011-11-14 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * international/mule.el (define-charset):
6137 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6138 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6139 * progmodes/verilog-mode.el (verilog-backward-token):
6140 * textmodes/ispell.el (lookup-words):
6141 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6142
71e027ac
GM
61432011-11-14 Glenn Morris <rgm@gnu.org>
6144
56632ce4
GM
6145 * progmodes/executable.el
6146 (executable-make-buffer-file-executable-if-script-p):
6147 Handle file-modes returning nil.
6148
40500957
GM
6149 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6150 message - not necessary, and causes problems. (Bug#9831)
6151
071c2340
GM
6152 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6153
d3cfca60
GM
6154 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6155
71e027ac
GM
6156 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6157 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6158 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6159
89d61221
MR
61602011-11-12 Martin Rudalics <rudalics@gmx.at>
6161
6162 * window.el (window-resize, delete-window): Use window-splits
6163 variable instead of function.
6164 (window-state-get-1, window-state-put-2, window-state-put):
6165 Don't deal with windows' splits status.
6166
98282f6f
GM
61672011-11-12 Glenn Morris <rgm@gnu.org>
6168
6169 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6170 (apropos-documentation): Doc fixes.
6171
40a8bdf6
JB
61722011-11-11 Juanma Barranquero <lekktu@gmail.com>
6173
6174 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6175 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6176
65bd19ff
SM
61772011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * electric.el (electric-indent-post-self-insert-function): Make it
6180 possible for a char to only indent in some circumstances.
6181 (electric-indent-mode): Simplify.
6182
54f9154c
MR
61832011-11-11 Martin Rudalics <rudalics@gmx.at>
6184
6185 * window.el (windows-with-parameter): Remove unused function.
6186 (windows-at-side): Rename to window-at-side-list.
6187 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6188 (window-side-check, window-size-ignore, window-size-fixed-1)
6189 (window-in-direction-2): Prefix with "window--".
6190 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6191
68cbc58b
GM
61922011-11-11 Glenn Morris <rgm@gnu.org>
6193
6194 * subr.el (eval-after-load): If FILE is already loaded,
6195 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6196
b2621720
GM
61972011-11-10 Glenn Morris <rgm@gnu.org>
6198
9a4de110
GM
6199 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6200 Call svn via vc-svn-command rather than vc-do-command.
6201 (vc-svn-command): Add --non-interactive. (Bug#9993)
6202 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6203
b2621720
GM
6204 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6205 Add toggle-read-only. (Bug#7292)
6206 * files.el (toggle-read-only): Mention that it should only
6207 be used interactively. (Bug#10006)
6208
1dce7193
SM
62092011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6210
d9ac1a1e
SM
6211 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6212 Adjust regexp for OCaml warnings.
6213
0c325082
SM
6214 * electric.el (electric-pair-post-self-insert-function): Let user
6215 turn it off buffer-locally (bug#9932).
6216
90132c14
SM
6217 * progmodes/python.el (python-beginning-of-statement):
6218 Rewrite (bug#2703).
6219
1dce7193
SM
6220 * progmodes/compile.el: Better handle TABs (bug#9749).
6221 (compilation-internal-error-properties)
6222 (compilation-next-error-function): Obey the target buffer's
6223 compilation-error-screen-columns.
6224
c4e7c63a
JB
62252011-11-09 Juanma Barranquero <lekktu@gmail.com>
6226
6227 * progmodes/meta-mode.el: Remove obsolete comments.
6228 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6229 Fix typos in docstrings.
6230
2cffd681
MR
62312011-11-09 Martin Rudalics <rudalics@gmx.at>
6232
6233 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6234 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6235 (window--resizable): New function. Make all callers of
6236 window-resizable call window--resizable instead.
6237 (window-resizable): Rewrite in terms of window--resizable.
6238
0edcba87
GM
62392011-11-08 Glenn Morris <rgm@gnu.org>
6240
6241 * progmodes/delphi.el (delphi-mode-syntax-table):
6242 Let define-derived-mode define a proper syntax table. (Bug#9994)
6243
4b0d61e3
SM
62442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * window.el: Stay away from defsubst.
6247 (window-list-no-nils): Remove.
6248 (window-state-get-1, window-state-get): Use backquote instead.
6249
cd394be1 62502011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6251
4b0d61e3 6252 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6253 Fix incorrect use of default argument in `completing-read'.
6254
e1c2c6f2
MR
62552011-11-08 Martin Rudalics <rudalics@gmx.at>
6256
6257 * window.el (display-buffer-function, special-display-function):
6258 Mention display-buffer-record-window but do not mention
6259 help-setup parameter in doc-strings.
b3f4a882 6260 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6261
105216ed
CY
62622011-11-08 Chong Yidong <cyd@gnu.org>
6263
6264 * window.el (window-total-height, window-total-width): Doc fix.
6265 (window-body-size): Move from C.
6266 (window-body-height, window-body-width): Move to C.
6267
0a9f9ab5
SM
62682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * window.el: Make special-display like display-buffer-alist (bug#9532).
6271 (display-buffer--special-action): New function, morphed
6272 from display-buffer--special.
6273 (display-buffer): Use it to handle special-display-buffers at higher
6274 priority (just after display-buffer-alist).
6275 (display-buffer-fallback-action, display-buffer--other-frame-action)
6276 (pop-to-buffer-same-window): Remove display-buffer--special.
6277
a769dd15
GM
62782011-11-07 Glenn Morris <rgm@gnu.org>
6279
6280 * calendar/cal-menu.el (cal-menu-set-date-title):
6281 Do nothing if not in a calendar. (Bug#9976)
6282
05a61ee3
SM
62832011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * files.el (find-file): Always use selected-window.
6286
be7f5545
MR
62872011-11-07 Martin Rudalics <rudalics@gmx.at>
6288
6289 * window.el (window-combinations): Make WINDOW argument
6290 mandatory. Rewrite doc-string.
6291 (walk-window-subtree, window-atom-check, window-min-delta)
6292 (window-max-delta, window--resize-this-window)
6293 (window--resize-root-window-vertically, window-tree)
6294 (balance-windows, window-state-put): Rewrite doc-strings as to
6295 not mention the term "subwindow".
6296 (window--resize-subwindows-skip-p): Rename to
6297 window--resize-child-windows-skip-p.
6298 (window--resize-subwindows-normal): Rename to
6299 window--resize-child-windows-normal.
6300 (window--resize-subwindows): Rename to
6301 window--resize-child-windows.
6302 (window-or-subwindow-p): Rename to window--in-subtree-p.
6303
3c6702ef
ML
63042011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6305
6306 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6307 Ensure that mbox format messages end in two newlines (Bug#9974).
6308
49745b39
CY
63092011-11-06 Chong Yidong <cyd@gnu.org>
6310
6311 * window.el (window-combination-p): Function deleted; its
6312 side-effect is not used in any existing code.
6313 (window-combinations, window-combined-p): Call window-*-child
6314 directly.
6315
24300f5f
CY
63162011-11-05 Chong Yidong <cyd@gnu.org>
6317
6318 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6319 (window-size-ignore, window-state-get): Callers changed.
6320 (window-normalize-window): Rename from window-normalize-any-window.
6321 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6322 (window-normalize-live-window): Delete.
447f16b8
CY
6323 (window-combination-p, window-combined-p, window-combinations)
6324 (walk-window-subtree, window-atom-root, window-min-size)
6325 (window-sizable, window-sizable-p, window-size-fixed-p)
6326 (window-min-delta, window-max-delta, window-resizable)
6327 (window-resizable-p, window-full-height-p, window-full-width-p)
6328 (window-current-scroll-bars, window-point-1, set-window-point-1)
6329 (window-at-side-p, window-in-direction, window-resize)
6330 (adjust-window-trailing-edge, maximize-window, minimize-window)
6331 (window-deletable-p, delete-window, delete-other-windows)
6332 (record-window-buffer, unrecord-window-buffer)
6333 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6334 (quit-window, split-window, window-state-put)
6335 (set-window-text-height, fit-window-to-buffer)
6336 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6337
89bd5ee1
EZ
63382011-11-04 Eli Zaretskii <eliz@gnu.org>
6339
53479029
EZ
6340 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6341 rfc2047-decode-string.
6342 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6343 warnings.
6344
89bd5ee1
EZ
6345 * window.el (window-body-height, window-body-width): Mention in
6346 the doc string that the return values are in frame's canonical
6347 units. (Bug#9949)
6348
bd17fdee
AM
63492011-11-03 Alan Mackenzie <acm@muc.de>
6350
6351 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6352 change in cc-engine.el.
6353
acc825c5
SM
63542011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6357
1885e5b8
MR
63582011-11-02 Martin Rudalics <rudalics@gmx.at>
6359
6360 * window.el (quit-window): Call unrecord-window-buffer after
6361 showing another buffer in the window. (Bug#9937)
acc825c5 6362 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6363
ebe06da9
JB
63642011-11-02 Juanma Barranquero <lekktu@gmail.com>
6365
6366 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6367 Accept status with more than 9 shelves. (Bug#9935)
6368 Reported by Colin D Bennett <colin@gibibit.com>.
6369
4ee88440
MR
63702011-11-01 Martin Rudalics <rudalics@gmx.at>
6371
6372 * help.el (with-help-window): Don't reference
6373 temp-buffer-show-specifiers in doc-string.
6374
08e1d82c
AS
63752011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6376
6377 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6378 menu-item.
6379
84bd6e9e
VJL
63802011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6381
6382 * whitespace.el: New version 13.2.2.
6383 (whitespace-newline-mode): Disable properly. Reported by Sarah
6384 <EmacsWiki>.
6385
dba0634a
UJ
63862011-10-30 Ulf Jasper <ulf.jasper@web.de>
6387
6388 * net/newst-treeview.el: Remove "Time-stamp".
6389 (newsticker--group-manage-orphan-feeds): Do not call
6390 newsticker--treeview-tree-update.
db22a3c2
JB
6391 (newsticker-treeview-update, newsticker-treeview):
6392 Call newsticker--treeview-tree-update if necessary.
dba0634a 6393
3d8daefe
MR
63942011-10-30 Martin Rudalics <rudalics@gmx.at>
6395
6396 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6397 (window-iso-combinations): Remove "iso-" infix.
6398 Suggested by Chong Yidong.
3d8daefe
MR
6399 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6400 (window-max-delta-1, window-resize, window--resize-siblings)
6401 (window--resize-this-window, adjust-window-trailing-edge)
6402 (split-window, balance-windows-1)
6403 (shrink-window-if-larger-than-buffer):
6404 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6405 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6406
1bc4c3ae
SM
64072011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6410 in place (bug#9907).
6411 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6412 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6413 (eshell-structure-basic-command, eshell-rewrite-while-command)
6414 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6415 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6416 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6417 (eshell-do-pipelines-synchronously, eshell-eval-command):
6418 Use backquotes and prefer setq to set.
6419 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6420 (eshell-macrop): Use functionp.
c1e2f5fa 6421 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6422
30b65d9c
CY
64232011-10-30 Chong Yidong <cyd@gnu.org>
6424
6425 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6426 instead of set-mark (Bug#9810).
6427
2d197ffb
CY
64282011-10-30 Chong Yidong <cyd@gnu.org>
6429
6430 * window.el (split-window-below, split-window-right): Rename from
6431 split-window-above-each-other and split-window-side-by-side
6432 respectively. All callers changed.
6433 (split-window-sensibly, split-window-sensibly): Use them.
6434 (split-window-keep-point): Doc fix.
6435
6436 * isearch.el: Add isearch-scroll property to split-window-below
6437 and split-window-right.
6438
6439 * follow.el (follow-mode):
6440 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6441 * progmodes/ada-xref.el (ada-gdb-application):
6442 * emulation/vip.el (vip-buffer-in-two-windows):
6443 * image-dired.el (image-dired-dired-with-window-configuration):
6444 * dired-x.el (dired-do-find-marked-files):
6445 * dired.el (dired-pop-to-buffer):
6446 * bs.el (bs--show-with-configuration):
6447 * vc/emerge.el (emerge-setup-windows):
6448 * textmodes/two-column.el (2C-two-columns):
6449 * textmodes/reftex-toc.el (reftex-toc):
6450 * progmodes/gdb-mi.el (gdb-setup-windows):
6451 * progmodes/fortran.el (fortran-window-create):
6452 * net/newst-treeview.el (newsticker--treeview-window-init):
6453 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6454 * emulation/tpu-edt.el (tpu-gold-map):
6455 * emulation/crisp.el (crisp-mode-map):
6456 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6457
38bb2ca8
CY
64582011-10-29 Chong Yidong <cyd@gnu.org>
6459
aa4de341
CY
6460 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6461
e1eb5385
CY
6462 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6463
5d2ece3c
CY
6464 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6465 forged Ispell output (Bug#7904).
6466
38bb2ca8
CY
6467 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6468
d0af9f77
SM
64692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * doc-view.el: Avoid ugly errors about not finding nil.
6472 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6473 (doc-view-dvipdf-program, doc-view-unoconv-program)
6474 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6475 Avoid nil or absolute file name as default value.
6476 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6477
52bedd34
AM
64782011-10-28 Alan Mackenzie <acm@muc.de>
6479
db22a3c2 6480 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6481
7e43cfa5
AM
64822011-10-28 Alan Mackenzie <acm@muc.de>
6483
6484 Amend the handling of c-beginning/end-of-defun in nested declaration
6485 scopes.
6486
52bedd34
AM
6487 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6488 cc-langs.el. Change it to a defcustom.
7e43cfa5 6489
52bedd34
AM
6490 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6491 cc-vars.el.
7e43cfa5 6492
d0af9f77
SM
6493 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6494 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6495
52bedd34 6496 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6497 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6498 (c-widen-to-enclosing-decl-scope): New function.
6499 (c-while-widening-to-decl-block): New macro.
6500 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6501 outward for defun boundaries, and correspondingly change symbol
6502 `respect-enclosure' to `go-outward'.
6503 (c-declaration-limits): Change algorithm to report only the "innermost"
6504 defun's boundaries.
6505
1a2ce9ee
DD
65062011-10-28 Deniz Dogan <deniz@dogan.se>
6507
6508 * net/rcirc.el (rcirc-mode): Use hard newlines.
6509
bc97a826
AM
65102011-10-28 Alan Mackenzie <acm@muc.de>
6511
6512 Amend to indent and fontify macros "which include their own semicolon"
6513 correctly, using the "virtual semicolon" mechanism.
6514
52bedd34 6515 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6516
d0af9f77 6517 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6518 Recode to scan one line at a time rather than having \n and \r
58179cce 6519 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6520 (c-forward-label): Amend for virtual semicolons.
58179cce 6521 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6522
52bedd34
AM
6523 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6524 of the new C macros.
bc97a826 6525
52bedd34 6526 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6527 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6528 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6529 (c-opt-cpp-macro-define): Make into a full language variable.
6530 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6531 AWK Mode (including \n, \r) removed, no longer needed.
6532
d0af9f77
SM
6533 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6534 Invoke c-make-macro-with-semi-re.
bc97a826 6535
52bedd34
AM
6536 * progmodes/cc-vars.el (c-macro-with-semi-re):
6537 (c-macro-names-with-semicolon): New variables.
58179cce 6538 (c-make-macro-with-semi-re): New function.
bc97a826 6539
7a6c0941
SM
65402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * vc/log-edit.el: Fill empty field rather than adding new one.
6543 (log-edit-add-field): New function.
6544 (log-edit-insert-changelog): Use it.
6545
b0c4cdcf
ML
65462011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6547
6548 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6549
ee1f1da9
SM
65502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6553 (gdb--check-interpreter): New function.
6554 (gdb): Use it.
6555
51bc5f8b
GM
65562011-10-27 Glenn Morris <rgm@gnu.org>
6557
416a2c45
GM
6558 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6559 (least-positive-float, least-negative-float)
6560 (least-positive-normalized-float, least-negative-normalized-float)
6561 (float-epsilon, float-negative-epsilon):
6562 Remove unnecessary declarations.
6563
6564 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6565 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6566 (least-positive-float, least-negative-float)
6567 (least-positive-normalized-float, least-negative-normalized-float)
6568 (float-epsilon, float-negative-epsilon): Add doc-strings,
6569 based on those in cl.texi.
6570
51bc5f8b
GM
6571 * files.el (set-visited-file-name): If the major-mode changed,
6572 reload the local variables. (Bug#9796)
6573
15de15c6
CY
65742011-10-27 Chong Yidong <cyd@gnu.org>
6575
6576 * subr.el (change-major-mode-after-body-hook): New hook.
6577 (run-mode-hooks): Run it.
6578
ee1f1da9
SM
6579 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6580 Use change-major-mode-before-body-hook.
15de15c6
CY
6581
6582 * simple.el (fundamental-mode):
6583 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6584 change introducing fundamental-mode-hook.
6585
5430d399
JB
65862011-10-26 Juanma Barranquero <lekktu@gmail.com>
6587
acc825c5 6588 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6589
ad74a69e
MA
65902011-10-26 Michael Albinus <michael.albinus@gmx.de>
6591
6592 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6593 tramp.el explicitly. (Bug#7583)
ad74a69e 6594
71d4c2a5
SM
65952011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * progmodes/octave-mod.el:
6598 * progmodes/octave-inf.el: Update maintainer.
6599
b1f6fa26
CY
66002011-10-26 Chong Yidong <cyd@gnu.org>
6601
6602 * subr.el (with-wrapper-hook): Rewrite doc.
6603
3f04efd6
MA
66042011-10-25 Michael Albinus <michael.albinus@gmx.de>
6605
6606 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6607 filenames "/method:foo:". (Bug#9793)
3f04efd6 6608
410488d3
SM
66092011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6612 (bug#9865).
6613
c1ebb47e
GM
66142011-10-24 Glenn Morris <rgm@gnu.org>
6615
6616 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6617
7f5c46c7
MA
66182011-10-24 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * notifications.el: Add the requirement of a running D-Bus session
6621 bus to the Commentary.
6622
db2440b6
JL
66232011-10-24 Juri Linkov <juri@jurta.org>
6624
6625 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6626 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6627 (Bug#9364)
6628
feecf435
JL
66292011-10-24 Juri Linkov <juri@jurta.org>
6630
6631 * info.el (Info-following-node-name-re): Add newline to the list
6632 of allowed characters for leading space. (Bug#9824)
6633
a3839de2
SM
66342011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6635
acc825c5
SM
6636 * progmodes/octave-inf.el (inferior-octave-mode-map):
6637 Fix C-c C-h binding.
a3839de2
SM
6638 * progmodes/octave-mod.el (octave-help): Remove.
6639
09388e76
MA
66402011-10-23 Michael Albinus <michael.albinus@gmx.de>
6641
6642 Sync with Tramp 2.2.3.
6643
6644 * net/tramp-cache.el (top): Pacify byte-compiler using
6645 `init-file-user' and `site-run-file'.
6646
6647 * net/trampver.el: Update release number.
6648
86c60681
CY
66492011-10-23 Chong Yidong <cyd@gnu.org>
6650
6651 * files.el (toggle-read-only): Remove obsolete comment about
6652 version control.
6653
6654 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6655 for toggle-read-only. Note that this hasn't called vc-next-action
6656 since 2008-05-02, though it wasn't documented at the time.
6657
a3839de2
SM
6658 * vc/ediff-init.el (ediff-toggle-read-only-function):
6659 Use toggle-read-only.
86c60681 6660
cd5495ff
AM
66612011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6662
6663 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6664 of c-parse-state.
6665
00b77525 6666 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6667 correct faulty logical expression.
cd5495ff
AM
6668 (c-parse-state-state, c-record-parse-state-state):
6669 (c-replay-parse-state-state): New defvar/defuns.
6670 (c-debug-parse-state): Use new functions.
6671
42ee24ed
MR
66722011-10-22 Martin Rudalics <rudalics@gmx.at>
6673
6674 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6675 last fix. Use window-in-direction correctly.
42ee24ed 6676
a7dee7e7
CY
66772011-10-21 Chong Yidong <cyd@gnu.org>
6678
6679 * progmodes/idlwave.el (idlwave-mode):
6680 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6681 require-final-newline; that's done in prog-mode.
6682 Suggested by Stefan Monnier.
a7dee7e7 6683
e07b9a6d
MR
66842011-10-21 Martin Rudalics <rudalics@gmx.at>
6685
6686 * mouse.el (mouse-drag-window-above)
6687 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6688 (mouse-drag-mode-line-1, mouse-drag-header-line)
6689 (mouse-drag-vertical-line-rightward-window): Remove.
6690 (mouse-drag-line): New function.
6691 (mouse-drag-mode-line, mouse-drag-header-line)
6692 (mouse-drag-vertical-line): Call mouse-drag-line.
6693 * window.el (window-at-side-p, windows-at-side): New functions.
6694
7e1361d9
UM
66952011-10-21 Ulrich Mueller <ulm@gentoo.org>
6696
6697 * tar-mode.el (tar-grind-file-mode):
6698 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6699
30fcaf3a
CY
67002011-10-21 Chong Yidong <cyd@gnu.org>
6701
6702 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6703 * progmodes/vera-mode.el (vera-mode):
6704 Use mode-require-final-newline.
30fcaf3a 6705
516eddb0
GM
67062011-10-20 Glenn Morris <rgm@gnu.org>
6707
db22a3c2 6708 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6709
10d5f513
CS
67102011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6711
6712 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6713
ac6c8639
CY
67142011-10-20 Chong Yidong <cyd@gnu.org>
6715
6716 * emulation/cua-base.el (cua-mode):
6717 * mail/footnote.el (footnote-mode):
6718 * mail/mailabbrev.el (mail-abbrevs-mode):
6719 * net/xesam.el (xesam-minor-mode):
6720 * progmodes/bug-reference.el (bug-reference-mode):
6721 * progmodes/cap-words.el (capitalized-words-mode):
6722 * progmodes/compile.el (compilation-minor-mode)
6723 (compilation-shell-minor-mode):
6724 * progmodes/gud.el (gud-tooltip-mode):
6725 * progmodes/hideif.el (hide-ifdef-mode):
6726 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6727 * progmodes/subword.el (subword-mode):
6728 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6729 * progmodes/which-func.el (which-function-mode):
6730 * term/tvi970.el (tvi970-set-keypad-mode):
6731 * term/vt100.el (vt100-wide-mode):
6732 * textmodes/flyspell.el (flyspell-mode):
6733 * textmodes/ispell.el (ispell-minor-mode):
6734 * textmodes/nroff-mode.el (nroff-electric-mode):
6735 * textmodes/paragraphs.el (use-hard-newlines):
6736 * textmodes/refill.el (refill-mode):
6737 * textmodes/reftex.el (reftex-mode):
6738 * textmodes/rst.el (rst-minor-mode):
6739 * textmodes/sgml-mode.el (html-autoview-mode)
6740 (sgml-electric-tag-pair-mode):
6741 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6742 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6743 * emulation/crisp.el (crisp-mode):
6744 * emacs-lisp/eldoc.el (eldoc-mode):
6745 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6746 minor mode behavior.
6747
aa42ab43
JL
67482011-10-19 Juri Linkov <juri@jurta.org>
6749
6750 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6751 the list of hard-coded chars with escape-glyph face.
6752
89400f1d
SM
67532011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6756
305c07f6
MA
67572011-10-19 Michael Albinus <michael.albinus@gmx.de>
6758
6759 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6760 running process.
6761
13754b54
GM
67622011-10-19 Glenn Morris <rgm@gnu.org>
6763
6764 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6765 Ignore ignored files. (Bug#9726)
6766
06e21633
CY
67672011-10-19 Chong Yidong <cyd@gnu.org>
6768
6769 Doc fix for minor modes, stating that an omitted argument enables
6770 the mode unconditionally when called from Lisp.
6771
6772 * abbrev.el (abbrev-mode):
6773 * allout.el (allout-mode):
6774 * autoinsert.el (auto-insert-mode):
6775 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6776 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6777 (global-auto-revert-mode):
6778 * battery.el (display-battery-mode):
6779 * composite.el (global-auto-composition-mode)
6780 (auto-composition-mode):
6781 * delsel.el (delete-selection-mode):
6782 * desktop.el (desktop-save-mode):
6783 * dired-x.el (dired-omit-mode):
6784 * dirtrack.el (dirtrack-mode):
6785 * doc-view.el (doc-view-minor-mode):
6786 * double.el (double-mode):
6787 * electric.el (electric-indent-mode, electric-pair-mode):
6788 * emacs-lock.el (emacs-lock-mode):
6789 * epa-hook.el (auto-encryption-mode):
6790 * follow.el (follow-mode):
6791 * font-core.el (font-lock-mode):
6792 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6793 * help.el (temp-buffer-resize-mode):
6794 * hilit-chg.el (highlight-changes-mode)
6795 (highlight-changes-visible-mode):
6796 * hi-lock.el (hi-lock-mode):
6797 * hl-line.el (hl-line-mode, global-hl-line-mode):
6798 * icomplete.el (icomplete-mode):
6799 * ido.el (ido-everywhere):
6800 * image-file.el (auto-image-file-mode):
6801 * image-mode.el (image-minor-mode):
6802 * iswitchb.el (iswitchb-mode):
6803 * jka-cmpr-hook.el (auto-compression-mode):
6804 * linum.el (linum-mode):
6805 * longlines.el (longlines-mode):
6806 * master.el (master-mode):
6807 * mb-depth.el (minibuffer-depth-indicate-mode):
6808 * menu-bar.el (menu-bar-mode):
6809 * minibuf-eldef.el (minibuffer-electric-default-mode):
6810 * mouse-sel.el (mouse-sel-mode):
6811 * msb.el (msb-mode):
6812 * mwheel.el (mouse-wheel-mode):
6813 * outline.el (outline-minor-mode):
6814 * paren.el (show-paren-mode):
6815 * recentf.el (recentf-mode):
6816 * reveal.el (reveal-mode, global-reveal-mode):
6817 * rfn-eshadow.el (file-name-shadow-mode):
6818 * ruler-mode.el (ruler-mode):
6819 * savehist.el (savehist-mode):
6820 * scroll-all.el (scroll-all-mode):
6821 * scroll-bar.el (scroll-bar-mode):
6822 * server.el (server-mode):
6823 * shell.el (shell-dirtrack-mode):
6824 * simple.el (auto-fill-mode, transient-mark-mode)
6825 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6826 (line-number-mode, column-number-mode, size-indication-mode)
6827 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6828 * strokes.el (strokes-mode):
6829 * time.el (display-time-mode):
6830 * t-mouse.el (gpm-mouse-mode):
6831 * tool-bar.el (tool-bar-mode):
6832 * tooltip.el (tooltip-mode):
6833 * type-break.el (type-break-mode-line-message-mode)
6834 (type-break-query-mode):
6835 * view.el (view-mode):
6836 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6837 (global-whitespace-mode, global-whitespace-newline-mode):
6838 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6839
a3839de2
SM
6840 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6841 Fix autogenerated docstring.
06e21633 6842
5214e501
JL
68432011-10-19 Juri Linkov <juri@jurta.org>
6844
6845 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6846 by checking environment variables "DESKTOP_SESSION" and
6847 "XDG_CURRENT_DESKTOP". (Bug#9779)
6848
195f8db9
JL
68492011-10-19 Juri Linkov <juri@jurta.org>
6850
6851 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6852 (browse-url-chromium-program, browse-url-chromium-arguments):
6853 New defcustoms.
6854 (browse-url-default-browser): Check for `browse-url-chromium' and
6855 call `browse-url-chromium-program'.
6856 (browse-url-chromium): New command. (Bug#9779)
6857
343a34ff
JB
68582011-10-18 Juanma Barranquero <lekktu@gmail.com>
6859
6860 * facemenu.el (list-colors-duplicates): On Windows, detect more
6861 duplicates by assuming that only colors matching "^System" are
6862 special "system colors". (Bug#9722)
6863
6978a151
SM
68642011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6867 to distinguish the author from the committer.
6868
6a80b297
MA
68692011-10-18 Michael Albinus <michael.albinus@gmx.de>
6870
6871 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6872
b31a5677
JK
68732011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6874
6875 * international/mule.el (sgml-html-meta-auto-coding-function):
6876 Add support for detecting encoding in HTML5 specified only as
6877 <meta charset="UTF-8">. Implementation just makes http-equiv and
6878 content-type parts from HTML4 encoding string optional. (Bug#9716)
6879
80c6d77f
GM
68802011-10-18 Glenn Morris <rgm@gnu.org>
6881
6882 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6883
08b0fee8
CY
68842011-10-18 Chong Yidong <cyd@gnu.org>
6885
6886 * faces.el (cursor): Doc fix.
6887
67e729a5
CY
68882011-10-17 Chong Yidong <cyd@gnu.org>
6889
6890 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6891
343a34ff 68922011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6893
6894 * dirtrack.el (dirtrack): Support shell buffers with path
6895 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6896
0bc06380
TZ
68972011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6898
6899 * json.el: Bump version to 1.3 and note change in History.
6900 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6901
8b79f3e0
SM
69022011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6903
5a7c536b
SM
6904 * comint.el (comint-insert-input, comint-send-input)
6905 (comint-get-old-input-default, comint-backward-matching-input)
6906 (comint-next-prompt): Use nil instead of `input' for field property of
6907 past user input (bug#114).
6908
96a8a0df
SM
6909 * minibuffer.el (completion--replace): Inherit surrounding properties
6910 (bug#114).
6911 (minibuffer-complete-and-exit): Use it.
6912
8b79f3e0
SM
6913 * comint.el (comint--table-subvert): Quote the all-completions output
6914 (bug#9160).
6915
b8f7ff0d
MR
69162011-10-17 Martin Rudalics <rudalics@gmx.at>
6917
8b79f3e0 6918 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6919
b8f7ff0d 6920 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6921 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6922 entries and separate them from frame entries.
6923
c235b555
GM
69242011-10-15 Glenn Morris <rgm@gnu.org>
6925
6926 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6927 Doc fixes.
6928
6bbfa6e1
CY
69292011-10-15 Chong Yidong <cyd@stupidchicken.com>
6930
8b79f3e0
SM
6931 * net/network-stream.el (network-stream-open-starttls):
6932 Improve detection of failure due to lack of TLS support.
ec5c990d 6933
6bbfa6e1
CY
6934 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6935 putting the input text in front and in bold.
6936
98488977
SM
69372011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6938
3d1337be
SM
6939 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6940
ee0b45e4
SM
6941 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6942 empty buffer.
6943
98488977
SM
6944 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6945 unread-command-events rather than pushing yet-another event.
6946
186f4720
EZ
69472011-10-14 Eli Zaretskii <eliz@gnu.org>
6948
6949 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6950 the explanation of the possible choices. Make the options passed
6951 to completing-read shorter.
6952
8b7a997c
AM
69532011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6954
6955 * textmodes/flyspell.el (flyspell-large-region): Make sure
6956 extended character mode is used if defined (Bug#1339).
6957
12587bbb
EZ
69582011-10-13 Eli Zaretskii <eliz@gnu.org>
6959
6960 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6961 character info for LRE, LRO, RLE, and RLO characters by appending
6962 an invisible PDF.
12587bbb 6963
bad41229
SM
69642011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6967 even in case of error; add debug spec; simplify data flow.
6968 (with-timeout-handler): Remove.
6969
28dbc92f
MA
69702011-10-12 Michael Albinus <michael.albinus@gmx.de>
6971
6972 Fix Bug#6019, Bug#9315.
6973
6974 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6975 complete `buffer-file-name', the local file name part could look
6976 remotely (for example on VMS).
6977
6978 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6979 `tramp-run-real-handler'.
6980 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6981 already quoted by '"'.
6982
6983 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6984 Let `file-name-handler-alist' be nil, the local file name part
6985 could look remotely (for example on VMS).
6986
e1b0b23a
SM
69872011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6990 from here...
6991 (flyspell-post-command-hook): ...to here.
6992
a120bde9
SM
69932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6996 if not needed.
6997 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6998 using completion. Protect against "slow" callers.
6999 Remove the "message hack".
7000
7ce7717b
JL
70012011-10-11 Juri Linkov <juri@jurta.org>
7002
7003 * isearch.el (isearch-lazy-highlight-word): New variable.
7004 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7005 Use it. (Bug#9727)
7006
c02ee9d6
GM
70072011-10-11 Glenn Morris <rgm@gnu.org>
7008
7009 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7010 like f90-previous-statement does.
7011
93e616fd 70122011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7013
1f190e73 7014 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7015 only in interactive use, to avoid error.
7016
af7b6078
SM
70172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * minibuffer.el (completion-file-name-table): Fix last change,
7020 i.e. ignore normal errors but not the other ones.
7021
0563dae9
MR
70222011-10-10 Martin Rudalics <rudalics@gmx.at>
7023
7024 * window.el (special-display-buffer-names)
7025 (special-display-regexps): Remove some remnants of earlier
7026 changes from doc-strings.
366ca7f3
MR
7027 (quit-windows-on): New function.
7028
7029 * vc/vc.el (vc-revert, vc-rollback):
7030 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7031 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7032 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7033
49677495
MR
70342011-10-09 Martin Rudalics <rudalics@gmx.at>
7035
7036 * window.el (frame-auto-hide-function): Add version tag.
7037 (Bug#9699)
7038
56f2d1e1
MA
70392011-10-09 Michael Albinus <michael.albinus@gmx.de>
7040
7041 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7042 condition.
7043
112a6592
LL
70442011-10-09 Leo Liu <sdl.web@gmail.com>
7045
7046 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7047 (Bug#9701)
7048
0812589b
GM
70492011-10-08 Glenn Morris <rgm@gnu.org>
7050
7051 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7052 before the first code statement zero indent. (Bug#9690)
7053
b2b0776e
CY
70542011-10-08 Chong Yidong <cyd@stupidchicken.com>
7055
7056 * simple.el (count-words-region): Always count in the region.
7057 Report the number of lines and characters too.
7058 (count-words): New command, which counts in the buffer if the
7059 region is inactive, as count-words-region used to.
7060 (count-words--message): New function. Handle plurals.
7061 (count-lines-region): Make it an alias for count-words-region.
7062
7063 * bindings.el (esc-map): Replace count-lines-region with
7064 count-words-region.
7065
c557cd6b
MR
70662011-10-08 Martin Rudalics <rudalics@gmx.at>
7067
7068 * window.el (window--delete): Delete dedicated frame
7069 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7070 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7071
61a57ef4 70722011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7073
3a7d293b 7074 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7075
c3833279
CY
70762011-10-07 Chong Yidong <cyd@stupidchicken.com>
7077
7078 * bindings.el ([M-left],[M-right]): Bind to left-word and
7079 right-word respectively.
7080
21ce8245
GM
70812011-10-07 Glenn Morris <rgm@gnu.org>
7082
7083 * cus-start.el (debug-on-quit): Fix custom type.
7084
6d823bb2
LMI
70852011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
0181e193
LMI
7087 * subr.el (define-key-after): Clarify that the function is not
7088 useful for non-menu keymaps.
7089
6d823bb2
LMI
7090 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7091
8e3459ce 70922011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7093
21ce8245 7094 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7095 in current minibuffer (Fix bug with recursive minibuffers).
7096
a1c2d21e
CY
70972011-10-06 Chong Yidong <cyd@stupidchicken.com>
7098
7099 * progmodes/gdb-mi.el (gdb): Doc fix.
7100
5a4cf282
MR
71012011-10-05 Martin Rudalics <rudalics@gmx.at>
7102
7103 * window.el (frame-auto-hide-function): New option replacing
7104 frame-auto-delete. Suggested by Stefan Monnier.
7105 (window--delete): Call frame-auto-hide-function instead of
7106 investigating frame-auto-delete.
c96111ea
MR
7107 (window-point-1, set-window-point-1): New functions.
7108 (window-in-direction, record-window-buffer, window-state-get-1)
7109 (display-buffer-record-window): Use window-point-1 instead of
7110 window-point.
7111 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7112
9854542e
SM
71132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7116
8943cfb0
GM
71172011-10-05 Glenn Morris <rgm@gnu.org>
7118
7119 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7120 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7121
647ab967
LL
71222011-10-05 Leo Liu <sdl.web@gmail.com>
7123
7124 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7125 works with buffer object.
7126
3ddfbced
SM
71272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * mpc.el (mpc-tool-bar-map): Add labels.
7130
bdfa5dd2
GM
71312011-10-04 Glenn Morris <rgm@gnu.org>
7132
7133 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7134
0e2070b5
MR
71352011-10-04 Martin Rudalics <rudalics@gmx.at>
7136
7137 * window.el (window--delete): New function.
7138 (frame-auto-delete): Resuscitate option.
7139 (bury-buffer, replace-buffer-in-windows)
7140 (quit-window): Rewrite using window--delete.
7141 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7142 Pass display-buffer-mark-dedicated to window--display-buffer-2
7143 (Bug#9639).
7144
3dc61a09
SM
71452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7146
915a9b64
SM
7147 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7148 returns a list (bug#9554). Add remote file name completion.
7149 * comint.el (comint--table-subvert): Curry and get quote&unquote
7150 functions as arguments.
7151 (comint--complete-file-name-data): Adjust call accordingly.
7152 * pcomplete.el (pcomplete--table-subvert): Remove.
7153 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7154
3dc61a09
SM
7155 * minibuffer.el (completion-table-case-fold): Use currying.
7156 (completion--styles-type, completion--cycling-threshold-type):
7157 New constants.
7158 (completion-styles, completion-category-overrides)
7159 (completion-cycle-threshold): Use them.
7160 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7161 completion-table-case-fold.
7162
8ea0a993
SB
71632011-10-03 Stephen Berman <stephen.berman@gmx.net>
7164
7165 * minibuffer.el (completion-category-overrides): Fix type of styles
7166 and add more user friendly tags (bug#9660).
7167
8c24b7f6
SM
71682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7171 (mule-input-method-string): New widget.
7172 (default-input-method, language-info-custom-alist): Use it.
7173
428fe61a
SM
71742011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7175
32c1fffd
SM
7176 * pcomplete.el: Require comint.
7177 (pcomplete--common-suffix): Remove.
7178 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7179 (pcomplete--table-subvert): Sync with comint--table-subvert.
7180 (pcomplete--entries): Use comint-completion-file-name-table.
7181 * comint.el (comint-unquote-filename): Simplify.
7182 (comint-completion-file-name-table): New function (bug#9616).
7183 (comint--complete-file-name-data): Use it.
7184
428fe61a
SM
7185 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7186 (pcmpl-gnu-tar-buffer): Remove.
7187 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7188 around. Make sure pcomplete-suffix-list is only changed temporarily.
7189 Don't look inside the tar's file if it's too large.
428fe61a 7190
04c52e2f
CY
71912011-10-01 Chong Yidong <cyd@stupidchicken.com>
7192
ce3cefcc
CY
7193 * cus-edit.el (custom-mode-map):
7194 * epa.el (epa-key-list-mode-map):
7195 * man.el (Man-mode-map):
7196 * startup.el (splash-screen-keymap):
7197 * simple.el (special-mode-map): Use scroll-up-command and
7198 scroll-down-command.
7199
7200 * progmodes/idlw-help.el (idlwave-help-mode-map):
7201 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7202 * net/newst-plainview.el (newsticker-mode-map):
7203 * emulation/ws-mode.el (wordstar-mode-map):
7204 * emulation/vi.el (vi-com-map):
7205 * calc/calc-graph.el (calc-graph-show-dumb):
7206 * term/sun.el (terminal-init-sun):
7207 * term/ns-win.el (global-map):
7208 * progmodes/grep.el (grep-mode-map):
7209 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7210 * mail/rmail.el (rmail-mode-map):
7211 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7212
04c52e2f
CY
7213 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7214 custom-safe-themes as special.
7215
79adf8c8
JD
72162011-10-01 Julien Danjou <julien@danjou.info>
7217
7218 * notifications.el (notifications-notify): Fix docstring.
7219
63bd50d3
PS
72202011-10-01 Per Starbäck <per@starback.se>
7221
7222 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7223
199e4c7e
MR
72242011-09-30 Martin Rudalics <rudalics@gmx.at>
7225
7226 * startup.el (command-line-1): Fix last fix by inserting
7227 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7228 (Bug#9605) and (Bug#9636)
199e4c7e 7229
fe5f08dd
EZ
72302011-09-29 Eli Zaretskii <eliz@gnu.org>
7231
7232 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7233 window is hscrolled, move by logical lines. (Bug#9607)
7234 (line-move-visual): Update the doc string to the above effect.
7235
b5516bbd
MR
72362011-09-29 Martin Rudalics <rudalics@gmx.at>
7237
ccee00c0
MR
7238 * window.el (display-buffer-record-window): When WINDOW is the
7239 selected window use `point' instead of `window-point'. (Bug#9626)
7240
b5516bbd
MR
7241 * startup.el (command-line-1): Use insert-before-markers when
7242 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7243
b5516bbd
MR
7244 * help.el (help-window): Remove variable.
7245
52aa0014
GM
72462011-09-29 Glenn Morris <rgm@gnu.org>
7247
7248 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7249
df9a7357
JB
72502011-09-29 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * descr-text.el (describe-char-categories): Accept category
7253 descriptions more than one line long.
7254
a8406c20
SM
72552011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7256
88d9610c
SM
7257 * simple.el (delete-trailing-whitespace): Fix last change.
7258
a5daf810
SM
7259 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7260 Don't confuse "y => 3" as the beginning of a `y' operation.
7261
a8406c20
SM
7262 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7263 object has more than 4 slots (bug#9613).
7264
a239d4e9
JB
72652011-09-28 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * subr.el (with-output-to-temp-buffer):
7268 * net/quickurl.el (quickurl, quickurl-browse-url):
7269 Fix typos in docstrings.
7270
693fbdb6
EZ
72712011-09-27 Eli Zaretskii <eliz@gnu.org>
7272
7273 * minibuffer.el (completion-styles)
7274 (completion-category-overrides): Cross reference each other in doc
7275 strings.
7276
8b457e28
GM
72772011-09-27 Glenn Morris <rgm@gnu.org>
7278
7279 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7280 to split-string. (Bug#9606)
7281
85a16208
LMI
72822011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7283
7284 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7285 (bug#9615).
7286
502f9ebd
CY
72872011-09-27 Chong Yidong <cyd@stupidchicken.com>
7288
7289 * emacs-lisp/package.el (list-packages): Fix echo area message.
7290
7690bdea
LL
72912011-09-27 Leo Liu <sdl.web@gmail.com>
7292
7293 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7294
e2ee6f30
MA
72952011-09-25 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/dbus.el (dbus-unregister-object): Don't release services for
7298 registered signals. (Bug#9581)
7299
f3f98342
TZ
73002011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7301
7302 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7303 function that picks between cfengine 2 and 3 support
7304 automatically. Update docs accordingly.
7305
dd7aa8dd
KH
73062011-09-22 Kenichi Handa <handa@m17n.org>
7307
7308 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7309 ZERO.
7310 (indian-itrans-v5-table-for-tamil): New variable.
7311 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7312
3f2b07f8
KM
73132011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7314
7315 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7316 that's true if the current command involved collapsing of text.
7317 It's reset to false at the beginning of the next command.
7318 (allout-post-command-business): Move the cursor to the beginning
7319 of entry if the cursor is hidden and collapsing activity just
7320 happened.
7321
371d6a61
CY
73222011-09-24 Chong Yidong <cyd@stupidchicken.com>
7323
7324 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7325 tracking (Bug#9541).
7326
2ac2721a
UJ
73272011-09-24 Ulf Jasper <ulf.jasper@web.de>
7328
7329 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7330 (newsticker-show-news): Automatically load html rendering package
7331 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7332 because w3m-fill-column is let-bound" and the error "Symbol's value
7333 as variable is void: w3m-fill-column".
2ac2721a 7334
fac7ae53
MA
73352011-09-24 Michael Albinus <michael.albinus@gmx.de>
7336
7337 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7338 Release services only if they are defined. (Bug#9581)
7339
e08b633b
RS
73402011-09-23 Richard Stallman <rms@gnu.org>
7341
e488d29c
RS
7342 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7343 distinguish start of paragraph from start of its text.
7344
19c38752
RS
7345 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7346
e08b633b
RS
7347 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7348 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7349 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7350
0a39f27e
AS
73512011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7352
7353 * international/mule-diag.el (mule-diag): Insert a newline after
7354 each fontset description.
7355
db4e950d
SM
73562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * simple.el (delete-trailing-whitespace):
7359 Document last change; simplify.
7360
eca3f3ea
PW
73612011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7362
d68e189a
PW
7363 * simple.el (delete-trailing-whitespace): Also delete
7364 extra newlines at the end of the buffer.
7365
eca3f3ea
PW
7366 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7367 (picture-newline): Use forward-line so as to ignore fields.
7368
01c157cc
SM
73692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * subr.el (with-wrapper-hook): Fix edebug spec.
7372
022de23e
LMI
73732011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374
7375 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7376 (bug#4538).
7377
91683089
MA
73782011-09-23 Michael Albinus <michael.albinus@gmx.de>
7379
eca3f3ea
PW
7380 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7381 Fix nasty bug using wrong cached values.
91683089 7382
5bdd6fa4
AM
73832011-09-23 Alan Mackenzie <acm@muc.de>
7384
7385 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7386
97adfb97
CY
73872011-09-23 Chong Yidong <cyd@stupidchicken.com>
7388
7389 * window.el (pop-to-buffer): Ensure right window is selected if we
7390 chose another frame.
7391
d4ef2b50
EZ
73922011-09-22 Eli Zaretskii <eliz@gnu.org>
7393
7394 * simple.el (what-cursor-position): Use get-char-property-change
7395 and next-single-char-property-change, to be able to show display
7396 properties that come from overlays as well as text properties.
7397
72258fe5
CY
73982011-09-22 Chong Yidong <cyd@stupidchicken.com>
7399
7400 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7401
7402 * cmuscheme.el (run-scheme, switch-to-scheme):
7403 * cus-edit.el (customize-group, custom-buffer-create)
7404 (customize-browse):
7405 * info.el (info):
7406 * shell.el (shell):
7407 * mail/sendmail.el (mail):
7408 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7409
8f098516
RS
74102011-09-22 Richard Stallman <rms@gnu.org>
7411
7412 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7413 move back only to line beg, don't move back over blank lines.
7414
e74f1bb6
MA
74152011-09-22 Michael Albinus <michael.albinus@gmx.de>
7416
7417 * files.el (copy-directory): Set directory attributes only in case
7418 they could be retrieved from the source directory. (Bug#9565)
7419
bfeef8b6
DK
74202011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7421
7422 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7423 (hs-find-block-beginning, hs-hide-level-recursive):
7424 Ignore strings as well as comments. (Bug#9502)
7425
7e423bb8
AS
74262011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7427
7428 * progmodes/sql.el (sql-comint-postgres):
7429 Convert port number to a string. (Bug#9566)
7430
b4d72fcf
MR
74312011-09-22 Martin Rudalics <rudalics@gmx.at>
7432
7433 * window.el (quit-window): Undedicate window when switching to
7434 previous buffer. Reported by Thierry Volpiatto
7435 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7436 (special-display-popup-frame): When popping up a new frame reset
7437 its previous buffers to nil. Simplify code.
b4d72fcf 7438
a7b88dc6
MA
74392011-09-21 Michael Albinus <michael.albinus@gmx.de>
7440
7441 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7442 and process filter, as done also in `shell-command'.
7443
cf4eacfd
MR
74442011-09-21 Martin Rudalics <rudalics@gmx.at>
7445
eca3f3ea 7446 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7447 Call set-window-start with NOFORCE argument t.
7448 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7449 (quit-window): Reword doc-string. Handle new format of
7450 quit-restore parameter. Don't delete window if it has a
7451 previous buffer we can show instead of the present one.
7452 (display-buffer-record-window): Rewrite using a new format for
7453 the quit-restore window parameter
7454 (special-display-popup-frame, display-buffer-same-window)
7455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7456 (display-buffer-pop-up-window, display-buffer-use-some-window):
7457 Adapt symbol passed to display-buffer-record-window.
7458 * help.el (help-window-setup): Handle new format of quit-restore
7459 parameter.
7460
8d28cb95
SM
74612011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7462
94ab793f
SM
7463 * faces.el (face-list): Fix docstring (bug#9564).
7464
8d28cb95
SM
7465 * window.el (display-buffer--action-function-custom-type):
7466 Don't include internal functions in the Custom interface.
7467
3820edeb
JL
74682011-09-20 Juri Linkov <juri@jurta.org>
7469
7470 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7471 (Info-forward-node, Info-backward-node, Info-next-preorder)
7472 (Info-last-preorder): Use it. (Bug#9528)
7473
5147931d
JL
74742011-09-20 Juri Linkov <juri@jurta.org>
7475
7476 * info.el (Info-last-preorder): Visit last menu item only when
7477 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7478
cf499a1a
JD
74792011-09-20 Julien Danjou <julien@danjou.info>
7480
7481 * password-cache.el (password-cache-remove): Remove entries even if the
7482 value is nil, so that password with a nil value (negative caching) is
7483 possible to invalidate.
7484
f84e2fe2
LM
74852011-09-20 Lawrence Mitchell <wence@gmx.li>
7486
7487 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7488 all whitespace around breakpoint. (Bug#9553)
7489 (f90-find-breakpoint): Only break at whitespace inside a comment.
7490
78054a46
SM
74912011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * minibuffer.el (completion-file-name-table): Keep track of errors.
7494 (completion-table-with-predicate): Handle the case where pred1 is nil.
7495 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7496
345083b2
SM
74972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7498
e24e27be
SM
7499 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7500 (debugger-return-value): Signal an error if the debugging context does
7501 not await any return value.
7502
345083b2
SM
7503 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7504 * image-mode.el (image-toggle-display-text)
7505 (image-toggle-display-image): Stay away from evil `intangible'.
7506
08d355e3
LL
75072011-09-19 Leo Liu <sdl.web@gmail.com>
7508
7509 * replace.el (occur-revert-arguments): Make it permanent-local.
7510 (occur-mode): Don't call font-lock-defontify.
7511
f01da43f
CY
75122011-09-19 Chong Yidong <cyd@stupidchicken.com>
7513
7514 * net/ldap.el (ldap-search-internal): Don't push empty search
7515 result (Bug#9508).
7516
b6072fa6
SM
75172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7520
443d6696
MA
75212011-09-19 Michael Albinus <michael.albinus@gmx.de>
7522
7523 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7524 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7525
7cc6e154
JL
75262011-09-18 Juri Linkov <juri@jurta.org>
7527
7528 * buff-menu.el (Buffer-menu-mode-map):
7529 * dired.el (dired-mode-map):
7530 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7531 (lisp-interaction-mode-map):
7532 * emacs-lisp/package.el (package-menu-mode-map):
7533 * epa.el (epa-key-list-mode-map):
7534 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7535 (menu-bar-options-menu):
7536 * outline.el (outline-mode-menu-bar-map):
7537 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7538 * vc/vc-dir.el (vc-dir-menu-map):
7539 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7540 Capitalize non-function content words in menu item strings.
7541
7542 * dired.el (dired-mode-map): Add menu item for
7543 `image-dired-dired-toggle-marked-thumbs'.
7544
80302a81
JL
75452011-09-18 Juri Linkov <juri@jurta.org>
7546
7547 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7548 to `isearch-case-fold-search' and restore its original value
7549 after the `isearch-mode' call.
7550
46c5cf66
JL
75512011-09-18 Juri Linkov <juri@jurta.org>
7552
7553 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7554 because `zgrep' returns 1 for successful matches (bug#9226).
7555
d18b513b
JL
75562011-09-18 Juri Linkov <juri@jurta.org>
7557
7558 * info.el (Info-extract-menu-node-name): Check the second match
7559 for empty string (second test-case of bug#9528).
7560 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7561 intermediate nodes to the history (first test-case of bug#9528).
7562
72753f87
JL
75632011-09-18 Juri Linkov <juri@jurta.org>
7564
7565 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7566 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7567
c9384295
JL
75682011-09-18 Juri Linkov <juri@jurta.org>
7569
1154d12e
JB
7570 * info.el (Info-file-supports-index-cookies):
7571 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7572 outputs one more line for long file names (bug#4142).
c9384295 7573
d473dce8
CY
75742011-09-18 Chong Yidong <cyd@stupidchicken.com>
7575
7576 * newcomment.el (comment-normalize-vars): If prompting for
7577 comment-start, set comment-start-skip too (Bug#8424).
7578
2176854d
JB
75792011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7580
7581 * icomplete.el: Fix previous fix of Bug#5849.
7582 (icomplete-mode): Don't set completion-show-inline-help.
7583 (icomplete-minibuffer-setup): Set completion-show-inline-help
7584 locally during icompletion.
7585
3aace4e4
CY
75862011-09-18 Chong Yidong <cyd@stupidchicken.com>
7587
c940224f
CY
7588 * woman.el (woman2-process-escapes): Don't delete unrecognized
7589 escapes (Bug#7843).
7590
3aace4e4
CY
7591 * files.el (inhibit-first-line-modes-regexps): Add image files.
7592 (hack-local-variables-prop-line): Return nil for malformed
7593 prop-lines (Bug#9044).
7594
710dec63
MA
75952011-09-18 Michael Albinus <michael.albinus@gmx.de>
7596
7597 * net/tramp.el (top): Don't require 'shell.
7598 (tramp-methods): Fix docstring.
7599 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7600 Return complete remote file name. Handle "smb" case.
7601 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7602 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7603
7604 * net/tramp-compat.el (top): Require 'shell.
7605
7606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7607 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7608 `tramp-current-host'.
7609 (tramp-get-remote-tmpdir): Remove.
7610
7611 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7612 `tramp-tmpdir' entries.
7613 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7614 (tramp-smb-handle-file-attributes): Ignore errors.
7615 (tramp-smb-wait-for-output): Check also for process end.
7616
5d5ac8ec
LMI
76172011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
7619 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7620 when sending QUIT (bug#9312).
7621
8c0f49f0
CY
76222011-09-17 Chong Yidong <cyd@stupidchicken.com>
7623
7624 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7625 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7626 occur-mode-display-occurrence.
7627 (occur-edit-mode): Add usage message.
7628 (occur-cease-edit): New command.
7629 (occur-after-change-function): Use text properties to find the
7630 position of the prefix text.
7631 (occur-engine): Set stickiness of prefix text properties.
7632
8f1383f7
GM
76332011-09-17 Glenn Morris <rgm@gnu.org>
7634
7635 * progmodes/etags.el (complete-tag):
7636 Fix call to completion-in-region. (Bug#9526)
7637
744ba0e3
JL
76382011-09-17 Juri Linkov <juri@jurta.org>
7639
7640 * textmodes/ispell.el (ispell-word): Add to the error message
7641 the word, ispell program name and current dictionary (bug#9121).
7642 (ispell-tex-arg-end): Capitalize "error" in the error message.
7643
d9bbf400
AS
76442011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7645
7646 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7647 check. (Bug#4251)
7648
8da11505
JL
76492011-09-17 Juri Linkov <juri@jurta.org>
7650
7651 * window.el (window-safe-min-height, window-safe-min-width):
7652 Fix typos (followup to bug#9522).
7653
a91adc7e
SJ
76542011-09-17 Sven Joachim <svenjoac@gmx.de>
7655
7656 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7657
064f328a
EZ
76582011-09-16 Eli Zaretskii <eliz@gnu.org>
7659
7660 * simple.el (line-move): If goal-column is set, move by logical
7661 lines, not by display lines. (Bug#971)
7662 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7663 to reflect the above change.
7664
e69df516
SM
76652011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * image.el (imagemagick-register-types): Use regexp-opt.
7668
cbb0f9ab
CY
76692011-09-15 Chong Yidong <cyd@stupidchicken.com>
7670
7671 * window.el (display-buffer-base-action): Rename from
7672 display-buffer-default-action. Make default value empty.
7673 (display-buffer-overriding-action): Convert to defvar.
7674 (display-buffer-fallback-action): New var.
7675
25322144
CY
76762011-09-15 Chong Yidong <cyd@stupidchicken.com>
7677
7678 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7679 declaration.
7680 (package--add-to-archive-contents): If there is a duplicate entry
7681 with an older version, remove it.
7682 (package-menu-mark-delete, package-menu-mark-install)
7683 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7684 (package-menu-mark-obsolete-for-deletion):
7685 Use package-menu-get-status instead of a regexp search.
25322144
CY
7686 (package-menu-get-status): Use tabulated-list-entry.
7687 (package-menu-mark-upgrades): New command.
d770725a 7688 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7689 (package-menu-execute): Do installation before deletion.
7690 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7691 instead of checking major-mode.
7692 (package-menu--find-upgrades): New function.
7693
7520339c
LMI
76942011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7695
7696 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7697 passwords in the log buffer.
65a046c4
LMI
7698 (smtpmail-process-filter): Update the process marker so that the
7699 "broken by peer" status message is inserted in the right place.
7520339c 7700
d3c30954
SM
77012011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7702
3fe48822
SM
7703 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7704 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7705 bibtex-completion-at-point-function.
7706 (bibtex-completion-at-point-function): Use them.
7707
1b8b3954
SM
7708 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7709
d3c30954
SM
7710 * mpc.el (mpc-constraints-tag-lookup): New function.
7711 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7712 also to browser "album|playlist".
7713
72779976
JL
77142011-09-14 Juri Linkov <juri@jurta.org>
7715
7716 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7717 (isearch-edit-string): Use length of `isearch-string' when
7718 `isearch-fail-pos' returns nil.
7719 (isearch-message): Remove duplicate code and call
7720 `isearch-fail-pos' with arg `t'.
7721
a0bf2bcd
CY
77222011-09-14 Chong Yidong <cyd@stupidchicken.com>
7723
17bb0a2d
CY
7724 * replace.el (occur-mode-goto-occurrence): Don't force using other
7725 window (Bug#9499).
7726
a0bf2bcd
CY
7727 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7728
f678e0b6
MR
77292011-09-14 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (display-buffer-window): Remove.
7732 (display-buffer-record-window): Use help-setup window parameter
7733 instead of variable display-buffer-window.
7734 (display-buffer-function, special-display-buffer-names)
7735 (special-display-function): Mention help-setup parameter instead
7736 of display-buffer-window in doc-string.
d3c30954
SM
7737 * help.el (help-window-setup): New argument help-window.
7738 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7739 Reword some messages.
7740 (with-help-window): Pass window used for displaying the buffer
7741 to help-window-setup. Don't set display-buffer-window.
7742
8e39b2e8
GM
77432011-09-13 Glenn Morris <rgm@gnu.org>
7744
7745 * emacs-lisp/debug.el (debugger-make-xrefs):
7746 Preserve point. (Bug#9462)
7747
85e9c04b
CY
77482011-09-13 Chong Yidong <cyd@stupidchicken.com>
7749
7750 * window.el (window-deletable-p): Use next-frame.
7751
1b36ed6a
MR
77522011-09-13 Martin Rudalics <rudalics@gmx.at>
7753
7754 * window.el (window-auto-delete): Remove.
7755 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7756 dedication and previous buffers.
1b36ed6a
MR
7757 (switch-to-prev-buffer): Don't delete window.
7758 (delete-windows-on): Delete a window's frame if and only if the
7759 window is dedicated.
7760 (replace-buffer-in-windows): Delete buffer's window or frame if
7761 and only if window is dedicated.
7762 (quit-window): Handle quit-restore as before last change.
4d61f28d 7763 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7764
ef8ef9fb
CY
77652011-09-13 Chong Yidong <cyd@stupidchicken.com>
7766
7767 * window.el (window-deletable-p): Never delete the last frame on a
7768 given terminal.
7769
b2cba41e
GM
77702011-09-13 Glenn Morris <rgm@gnu.org>
7771
7772 * help.el (describe-key-briefly): Copy previous standard-output change.
7773
51553db6 77742011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7775
7776 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7777
b7556719
GM
77782011-09-13 Glenn Morris <rgm@gnu.org>
7779
7780 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7781 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7782
64b51947
CY
77832011-09-12 Chong Yidong <cyd@stupidchicken.com>
7784
7785 * dired-aux.el (dired-mark-read-string): Don't return default
7786 value on empty input (Bug#9361).
7787 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7788 Omit initial minibuffer contents.
7789 (dired-do-chmod): Signal an error on empty input.
7790 (dired-mark-read-string): Don't return default on empty input.
7791
7792 * files.el (file-modes-symbolic-to-number): Doc fix.
7793
393a301e
SM
77942011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * international/mule-cmds.el (ucs-completions): Remove.
7797 (read-char-by-name): Use complete-with-action instead; add metadata.
7798
fa5660f9
CY
77992011-09-11 Chong Yidong <cyd@stupidchicken.com>
7800
7801 * window.el (display-buffer--action-function-custom-type)
7802 (display-buffer--action-custom-type): New vars.
7803 (display-buffer-alist, display-buffer-default-action)
7804 (display-buffer-overriding-action): Add defcustom types.
7805
4a592f66
CY
7806 * frame.el (delete-other-frames): Doc fix (Bug#276).
7807
73d56dbd
LMI
78082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
7810 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7811
37ac18a3
CY
78122011-09-11 Chong Yidong <cyd@stupidchicken.com>
7813
7814 Change modes that used same-window-* vars to use switch-to-buffer.
7815
7816 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7817 Use switch-to-buffer.
7818
7819 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7820 (customize-browse, custom-buffer-create-other-window):
7821 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7822
7823 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7824 (Info-prev, Info-up, Info-speedbar-goto-node)
7825 (info-display-manual): Use switch-to-buffer.
7826 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7827
7828 * mail/sendmail.el (mail): Use switch-to-buffer.
7829 (mail-recover): Use switch-to-buffer-other-window.
7830
7831 * cmuscheme.el (run-scheme, switch-to-scheme):
7832 * ielm.el (ielm):
7833 * shell.el (shell):
7834 * net/rlogin.el (rlogin):
7835 * net/telnet.el (telnet, rsh):
7836 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7837
10195bd6
AS
78382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7839
7840 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7841
b322f63a
LMI
78422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7843
39d7fed6
LMI
7844 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7845 so don't mention it (bug#9301).
ba5a81f1 7846 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7847
ee0e9f11
LMI
7848 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7849 match `x', `w32' and `ns', like the manual says (bug#9029).
7850
0b1c89c1 7851 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7852 (process-kill-buffer-query-function): Mention the buffer name in
7853 the query.
0b1c89c1 7854
77549ea8
LMI
7855 * image-mode.el (image-next-line): The line parameter is mandatory
7856 (bug#9258).
7857
803ef892
LMI
7858 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7859 which can be useful (bug#9301).
7860
12980837
LMI
7861 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7862
91054f8f
LMI
7863 * subr.el (match-string): Mention that the current buffer should
7864 be the same as the search was done in (bug#9282).
7865
b322f63a
LMI
7866 * facemenu.el: Disable the remove-* commands if the mark isn't
7867 active (bug#9162).
7868
3199b96f
CY
78692011-09-10 Chong Yidong <cyd@stupidchicken.com>
7870
7871 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7872 of display-buffer.
7873 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7874
7875 * replace.el (occur-mode-goto-occurrence)
7876 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7877 and display-buffer.
7878
7879 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7880 display-buffer.
7881
7882 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7883 special-display and same-window variables.
7884 (mail-other-window): Use switch-to-buffer-other-window.
7885 (mail-other-frame): USe switch-to-buffer-other-frame.
7886
393a301e
SM
7887 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7888 Use display-buffer-other-frame.
3199b96f
CY
7889 (gdb-display-gdb-buffer): Use pop-to-buffer.
7890
7891 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7892
7893 * progmodes/python.el: Don't set same-window-buffer-names.
7894
7895 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7896
7897 * window.el (display-buffer-alist): Add *Python*.
7898
8319e0bf
CY
78992011-09-10 Chong Yidong <cyd@stupidchicken.com>
7900
7901 * window.el (display-buffer-alist): Add entry for buffers
7902 previously handled same-window-*.
7903 (display-buffer-alist, display-buffer-default-action)
7904 (display-buffer-overriding-action): Mark as risky.
7905 (display-buffer-alist): Document action function changes.
7906 (display-buffer--same-window-action)
7907 (display-buffer--other-frame-action): New variables.
7908 (switch-to-buffer, display-buffer-other-frame): Use them.
7909 (display-buffer): Rename reuse-frame entry to reusable-frames.
7910 (display-buffer-reuse-selected-window): Function deleted.
7911 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7912 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7913 (display-buffer-special): New function.
7914 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7915 display-buffer-reuse-or-pop-window. Split off special-display
7916 part into display-buffer-special.
7917 (display-buffer-use-some-window): Don't perform any special
7918 pop-up-frames handling.
7919 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7920 (display-buffer--maybe-same-window): Rename from
0d3ff375 7921 display-buffer-maybe-same-window.
8319e0bf 7922
919a69aa
CY
7923 * info.el: Don't set same-window-regexps.
7924 (info-setup): New function.
7925 (info-other-window, info): Call it.
7926
7927 * cus-edit.el: Don't set same-window-regexps.
7928 (customize-group): New argument.
7929 (customize-group-other-window): Use it.
7930 (customize-face, customize-face-other-window): Likewise.
7931 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7932
8319e0bf
CY
7933 * net/rlogin.el:
7934 * net/telnet.el:
7935 * progmodes/gud.el: Don't set same-window-regexps.
7936
7937 * cmuscheme.el:
7938 * ielm.el:
7939 * shell.el:
7940 * mail/sendmail.el:
7941 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7942
25173000
JL
79432011-09-10 Juri Linkov <juri@jurta.org>
7944
7945 * isearch.el (isearch-edit-string): Remove obsolete mention of
7946 `C-w' (`isearch-yank-word-or-char') from docstring.
7947 (isearch-query-replace): Fix typo in docstring (bug#9466).
7948
056e44ef
JL
79492011-09-10 Juri Linkov <juri@jurta.org>
7950
7951 * paren.el (show-paren-function): Don't show escaped parens.
7952 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7953
c3760c17
EZ
79542011-09-10 Eli Zaretskii <eliz@gnu.org>
7955
7956 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7957 (mm-default-file-encoding): Remove autoload forms, they are
7958 replaced with autoload cookies in mml.el and mm-encode.el.
7959 (mail-add-attachment): New command.
7960 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7961 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7962 the doc string.
7963 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7964
fece895e
RT
79652011-09-10 Reuben Thomas <rrt@sc3d.org>
7966
e69df516
SM
7967 * simple.el (count-words-region): Use buffer if there's no region
7968 (bug#9429).
fece895e 7969
5e68ce4a
JL
79702011-09-09 Juri Linkov <juri@jurta.org>
7971
7972 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7973 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7974 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7975
0a6b9622
AM
79762011-09-09 Alan Mackenzie <acm@muc.de>
7977
7978 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7979 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7980
14a29deb
EZ
79812011-09-09 Eli Zaretskii <eliz@gnu.org>
7982
7983 Fix for Savannah bug#9392.
7984 * simple.el (mail-encode-mml): New defvar.
7985
7986 * mail/rmail.el (mail-encode-mml): Add a defvar.
7987 (rmail-enable-mime-composing): Default to t.
7988 (rmail-forward): Use MIME method of forwarding only if both
7989 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7990 Set mail-encode-mml non-nil if the MIME method was used.
7991
7992 * mail/sendmail.el (mml-to-mime): Add autoload form.
7993 (mail-encode-mml): Add a defvar.
7994 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7995 to nil.
7996 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7997 message through mml-to-mime, and reset mail-encode-mml to nil.
7998
28c45130
GM
79992011-09-09 Glenn Morris <rgm@gnu.org>
8000
8001 * woman.el (woman-if-body): When processing an .el block,
8002 do not delete the next .el block as well. (Bug#9447)
69f4b618 8003 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8004
9b1c252e
MR
80052011-09-08 Martin Rudalics <rudalics@gmx.at>
8006
8007 * window.el (window-deletable-p): Make sure window is live before
8008 invoking window-prev-buffers.
8009
567457e3
LL
80102011-09-08 Leo Liu <sdl.web@gmail.com>
8011
8012 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8013
97f05794
JL
80142011-09-08 Juri Linkov <juri@jurta.org>
8015
8016 * progmodes/compile.el (compilation-environment): Make it
8017 a defcustom (bug#8340).
8018
8b0874b5
MR
80192011-09-08 Martin Rudalics <rudalics@gmx.at>
8020
8021 * window.el (frame-auto-delete): Rename to window-auto-delete.
8022 Make it control auto-deletion of windows and/or frames.
8023 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8024 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8025 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8026 Rewrite handling of case when window/frame can be deleted.
8027 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8028 argument t. (Bug#9456)
8b0874b5 8029
4feb6e73
CY
80302011-09-07 Chong Yidong <cyd@stupidchicken.com>
8031
8032 * help-mode.el (help-mode): Restore autoload.
8033
91ab9c13
JL
80342011-09-07 Juri Linkov <juri@jurta.org>
8035
8036 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8037 `compilation-environment'. Set buffer-local
8038 `compilation-environment' to `thisenv' later after (funcall mode).
8039 (Bug#8340)
8040
8041 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8042 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8043 instead of replacing its value. (Bug#8340)
8044
0527e251
JL
80452011-09-07 Juri Linkov <juri@jurta.org>
8046
8047 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8048 based on text properties put by `grep-filter' instead of matching
8049 escape sequences.
8050 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8051 to the value of `grep-error-screen-columns' (bug#9438).
8052
249f792c
JL
80532011-09-07 Juri Linkov <juri@jurta.org>
8054
8055 * simple.el (next-error-highlight, next-error-highlight-no-select):
8056 Doc fix (bug#9432).
8057
ff7271b9
OT
80582011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8059
8060 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8061 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8062
183fc730
LL
80632011-09-07 Leo Liu <sdl.web@gmail.com>
8064
8065 * net/rcirc.el (rcirc-mode): Conditionally initialize
8066 rcirc-input-ring.
8067
77694924
SM
80682011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * emacs-lisp/find-func.el (find-function-C-source): Only set
8071 find-function-C-source-directory after checking that we found a source
8072 file there (bug#9440).
8073
d809b8eb
AM
80742011-09-06 Alan Mackenzie <acm@muc.de>
8075
8076 * isearch.el (isearch-other-meta-char): Wherever a key list is
8077 unread, "unread" the prefix arg, too. This fixes bug #8901.
8078
453de99f
OG
80792011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8080
8081 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8082
90439906
JL
80832011-09-05 Juri Linkov <juri@jurta.org>
8084
8085 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8086
f62bd846
JL
80872011-09-05 Juri Linkov <juri@jurta.org>
8088
8089 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8090 keeping point where processing of grep matches begins, and
8091 continue to delete remaining escape sequences from the same point.
8092 (grep-filter): Make leading zero optional in "0?1;31m" because
8093 git-grep emits "\033[1;31m" escape sequences unlike expected
8094 "\033[01;31m" as GNU Grep does (bug#9408).
8095 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8096
045820ec
JL
80972011-09-05 Juri Linkov <juri@jurta.org>
8098
8099 * subr.el (y-or-n-p): Capitalize "yes".
8100
f5e29b9b
MA
81012011-09-04 Michael Albinus <michael.albinus@gmx.de>
8102
8103 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8104 `tramp-cache-unload-hook' where appropriate.
8105 (tramp-methods): Rename `tramp-remote-sh' to
8106 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8107 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8108
8109 * net/tramp-sh.el (top): Don't require 'shell.
8110 (tramp-methods): Add `tramp-remote-shell' and
8111 `tramp-remote-shell-args' entries.
8112 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8113 (tramp-sh-handle-shell-command): Remove.
8114 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8115 Use `tramp-remote-shell'.
8116
2784c434
CY
81172011-09-03 Chong Yidong <cyd@stupidchicken.com>
8118
393a301e 8119 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8120 (sendmail-query-once): Save directly to send-mail-function.
8121 Update message-send-mail-function too.
8122
8123 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8124
464cdf56
CS
81252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8126
8127 * progmodes/python.el (python-mode-map): Use correct function to
8128 start python interpreter from menu-bar (as reported by Geert
8129 Kloosterman).
8130 (inferior-python-mode-map): Fix typo.
393a301e 8131 (python-shell-map): Remove.
464cdf56 8132
d37e5c87
DD
81332011-09-03 Deniz Dogan <deniz@dogan.se>
8134
8135 * net/rcirc.el (rcirc-print): Simplify code for
8136 rcirc-scroll-show-maximum-output. There is no need to walk
8137 through all windows to find the right one.
8138
f3ada0ee
CS
81392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8140
8141 * help.el (help-return-method): Doc fix.
8142
1f3c99ca
MR
81432011-09-03 Martin Rudalics <rudalics@gmx.at>
8144
8145 * window.el (window-deletable-p): Don't return a non-nil value
8146 when there's a buffer that was shown in the window before.
8147 (Bug#9419)
393a301e
SM
8148 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8149 Set window's previous buffers to nil.
1f3c99ca 8150
a3cf097f
EZ
81512011-09-03 Eli Zaretskii <eliz@gnu.org>
8152
8153 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8154 newline before and after the tag line, so it doesn't interfere
8155 with determining the paragraph direction of bidirectional text.
8156
3d03de90
LL
81572011-09-03 Leo Liu <sdl.web@gmail.com>
8158
8159 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8160
c3313451
CY
81612011-09-02 Chong Yidong <cyd@stupidchicken.com>
8162
393a301e 8163 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8164 (pop-to-buffer): Change interactive spec. Pass second argument
8165 directly to display-buffer.
8166 (display-buffer): Fix interactive spec. Use functionp to
8167 distinguish between a function and a list of functions.
8168
8169 * abbrev.el (edit-abbrevs):
8170 * arc-mode.el (archive-extract):
8171 * autoinsert.el (auto-insert):
8172 * bookmark.el (bookmark-bmenu-list):
8173 * files.el (find-file):
8174 * view.el (view-buffer):
8175 * progmodes/compile.el (compilation-goto-locus):
8176 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8177
89894cd8
CY
81782011-09-02 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * window.el (display-buffer-alist): Doc fix.
8181 (display-buffer): Add docstring. Don't treat
8182 display-buffer-default specially.
8183 (display-buffer-reuse-selected-window)
8184 (display-buffer-same-window, display-buffer-maybe-same-window)
8185 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8186 (display-buffer-pop-up-window)
8187 (display-buffer-reuse-or-pop-window)
8188 (display-buffer-use-some-window): New functions.
8189 (display-buffer-default-action): Use them.
393a301e 8190 (display-buffer-default): Delete.
89894cd8
CY
8191 (pop-to-buffer-1): Fix choice of actions.
8192
ae0bc9fb
SM
81932011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * minibuffer.el (completion--insert-strings): Don't get confused by
8196 completion entries that end with an LF char.
8197
e9d90883
EZ
81982011-09-01 Eli Zaretskii <eliz@gnu.org>
8199
8200 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8201
437014c8
CY
82022011-09-01 Chong Yidong <cyd@stupidchicken.com>
8203
8204 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8205 (display-buffer-same-window, display-buffer-other-window):
8206 New functions.
437014c8
CY
8207 (pop-to-buffer-1): New function. Use the above.
8208 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8209 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8210
8211 * view.el (view-buffer-other-window, view-buffer-other-frame):
8212 Just use pop-to-buffer.
8213
a5e063d5
TV
82142011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8215
8216 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8217
793d32bb
WH
82182011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8219
8220 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8221
d65e4c15
RS
82222011-08-31 Richard Stallman <rms@gnu.org>
8223
8224 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8225 of the separation of rmail-view-buffer from rmail-buffer.
8226 If you say no to "replace original", the decrypt is in the
8227 view buffer. If you say yes, the decrypt goes into the
8228 rmail buffer also.
8229
f818cd2a
MR
82302011-08-31 Martin Rudalics <rudalics@gmx.at>
8231
8232 * window.el (display-buffer-window): Rewrite doc-string.
8233 (display-buffer-record-window): New function.
8234 (display-buffer-macro-specifiers)
8235 (display-buffer-even-window-sizes, display-buffer-set-height)
8236 (display-buffer-set-width, display-buffer-in-window)
8237 (display-buffer-reuse-window, display-buffer-split-specifiers)
8238 (display-buffer-side-specifiers, display-buffer-split-window-1)
8239 (display-buffer-split-window, display-buffer-split-atom-window)
8240 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8241 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8242 (display-buffer-other-window-means-other-frame)
8243 (display-buffer-normalize-special)
8244 (display-buffer-normalize-default)
8245 (display-buffer-normalize-argument)
8246 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8247 (display-buffer-normalize-specifiers, display-buffer-frame)
8248 (display-buffer-same-window, display-buffer-same-frame)
8249 (display-buffer-other-window)
8250 (display-buffer-same-frame-other-window)
8251 (display-buffer-other-frame, pop-to-buffer-same-window)
8252 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8253 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8254 (switch-to-buffer-same-frame)
8255 (switch-to-buffer-other-window-same-frame)
8256 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8257 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8258 (display-buffer-alist-set): Remove.
8259 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8260 (special-display-regexps, special-display-function):
8261 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8262 parameter.
8263 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8264 (special-display-frame-alist, special-display-popup-frame)
8265 (same-window-buffer-names, same-window-regexps, same-window-p)
8266 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8267 (split-window-preferred-function, split-height-threshold)
8268 (split-width-threshold, window-splittable-p)
8269 (split-window-sensibly, window--try-to-split-window)
8270 (window--frame-usable-p, even-window-heights)
8271 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8272 (window--display-buffer-2, display-buffer-other-frame):
8273 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8274 (display-buffer-default, display-buffer-assq-regexp): New functions.
8275 (display-buffer-alist): Rewrite doc-string.
8276 (display-buffer-default-action)
8277 (display-buffer-overriding-action): New variables.
8278 (display-buffer, switch-to-buffer): Rewrite.
8279 (pop-to-buffer): Restore Emacs 23 behavior but use
8280 window-normalize-buffer-to-display.
8281 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8282 Restore Emacs 23 behavior but use
8283 window-normalize-buffer-to-switch-to.
8284 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8285 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8286 Rewrite using Emacs 23 options.
f818cd2a 8287
5bc3b51d
MA
82882011-08-31 Michael Albinus <michael.albinus@gmx.de>
8289
8290 * net/tramp.el (tramp-root-regexp): Remove.
8291 (tramp-completion-file-name-regexp-unified)
8292 (tramp-completion-file-name-regexp-separate)
8293 (tramp-completion-file-name-regexp-url): Don't use leading volume
8294 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8295 (tramp-drop-volume-letter): Simplify definition.
8296 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8297
b1a4f8e1
SM
82982011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8301 (bug#9356).
8302
5664fa7b
RT
83032011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8304
b1a4f8e1 8305 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8306
9a45d6c3
JL
83072011-08-29 Juri Linkov <juri@jurta.org>
8308
8309 * isearch.el (isearch-done): Don't display message "Mark saved"
8310 when arg `edit' is non-nil to prevent its flicker in the echo area.
8311
fb87e0fb
CY
83122011-08-28 Chong Yidong <cyd@stupidchicken.com>
8313
8314 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8315 obsolete packages for deletion.
8316
09ac1c2a
CS
83172011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8318
8319 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8320 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8321 view-mode from help-mode.
8322 (help-xref-override-view-map): Remove.
8323 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8324 view-mode is not used anymore.
8325
7a1ff57f
CY
83262011-08-28 Chong Yidong <cyd@stupidchicken.com>
8327
8328 * server.el (server-port): Doc fix.
8329
b9696605
CY
8330 * cus-theme.el (custom-theme-choose-mode): Inherit from
8331 special-mode (Bug#9124).
8332 (custom-theme-choose-mode-map): Add special-mode to parent.
8333
ef8cdf8c
AM
83342011-08-28 Alan Mackenzie <acm@muc.de>
8335
8336 * progmodes/cc-fonts.el
8337 (c-make-font-lock-BO-decl-search-function): New function.
8338 (c-basic-matchers-after - "Fontify the clauses after various
8339 keywords"): Extract the three keyword lists for the 3 erroneous
8340 constructs from the list of four, and use the new function above
8341 in place of an old one.
8342
27de4e20
DD
83432011-08-28 Deniz Dogan <deniz@dogan.se>
8344
8345 * net/rcirc.el (rcirc-insert-prev-input)
8346 (rcirc-insert-next-input): Remove unused argument.
8347
356a3681
SM
83482011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8351
3fc9b218
AM
83522011-08-27 Alan Mackenzie <acm@muc.de>
8353
8354 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8355 handle function pointer parameters properly.
8356
538a061c
MR
83572011-08-27 Martin Rudalics <rudalics@gmx.at>
8358
8359 * window.el (display-buffer-reuse-window): Fix case where
8360 selected window was reused with non-nil OTHER-WINDOW argument.
8361 (Bug#9381)
8362
35b1c40c
DD
83632011-08-27 Deniz Dogan <deniz@dogan.se>
8364
8365 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8366 oftc's NickServ messages.
8367
2f6a3e79
GM
83682011-08-27 Glenn Morris <rgm@gnu.org>
8369
8370 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8371
7254299e
CY
83722011-08-26 Chong Yidong <cyd@stupidchicken.com>
8373
8374 * emacs-lisp/package.el (package-install): Call package-initialize
8375 if called interactively.
8376
f8ccf167
LL
83772011-08-26 Leo Liu <sdl.web@gmail.com>
8378
8379 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8380
3e8cd5ce
JL
83812011-08-25 Juri Linkov <juri@jurta.org>
8382
8383 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8384 `search-whitespace-regexp' (bug#9364).
8385
93eb7113
JL
83862011-08-25 Juri Linkov <juri@jurta.org>
8387
8388 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8389 `regexp-search-ring' to their global values to protect from
8390 updating by `read-from-minibuffer' (bug#9185).
8391
f65d1611
JL
83922011-08-25 Juri Linkov <juri@jurta.org>
8393
8394 * textmodes/ispell.el (ispell-command-loop): Add newline
8395 at the end of the "Use option `i'..." line.
8396
f1cf7a31
JL
83972011-08-25 Juri Linkov <juri@jurta.org>
8398
8399 * battery.el (display-battery-mode): If `battery-status-function'
8400 or `battery-mode-line-format' is nil, display the message and set
8401 `display-battery-mode' to nil (bug#9363).
8402
0c95fcf7
EZ
84032011-08-25 Eli Zaretskii <eliz@gnu.org>
8404
8405 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8406 bidi-string-mark-left-to-right; they are unnecessary now.
8407
a2ebe600
DD
84082011-08-25 Deniz Dogan <deniz@dogan.se>
8409
8410 * net/quickurl.el: Documentation typo fixes.
8411
e4ed06f1
CY
84122011-08-25 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8415
e5f1c99e
GM
84162011-08-25 Glenn Morris <rgm@gnu.org>
8417
b2948976
GM
8418 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8419
e5f1c99e
GM
8420 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8421 (smtpmail-via-smtp): Handle nil response from smtp.
8422
f22f4808
JL
84232011-08-24 Juri Linkov <juri@jurta.org>
8424
8425 * proced.el (proced-marked): Inherit from `error' instead of
8426 `font-lock-warning-face'.
8427
8428 * ibuffer.el (ibuffer-marked-face): Change default face from
8429 `font-lock-warning-face' to `warning'.
8430 (ibuffer-deletion-face): Change default face from
8431 `font-lock-type-face' to `error'.
8432
8433 * battery.el (battery-update): Use the face `error' instead of
8434 `font-lock-warning-face' (bug#6117).
8435
6a93965e
JL
84362011-08-24 Juri Linkov <juri@jurta.org>
8437
8438 * faces.el (success): Change face color from "Green3" to
8439 "ForestGreen" on light background (bug#9353).
8440
1ed43b09
CY
84412011-08-24 Chong Yidong <cyd@stupidchicken.com>
8442
5664fa7b
RT
8443 * window.el (quit-window): Rename from quit-restore-window.
8444 Use same arglist as old quit-window.
1ed43b09
CY
8445 (frame-auto-delete): Doc fix.
8446
8447 * view.el (view-mode-exit): Use quit-window.
8448
11dcdbb2
JL
84492011-08-24 Juri Linkov <juri@jurta.org>
8450
8451 * isearch.el (isearch-ring-adjust1): Start visiting previous
8452 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8453 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8454 for empty search string (when the last search string is reused
8455 automatically) to adjust the isearch ring to the last element and
8456 prepare the correct index for further M-p commands (bug#9185).
8457
de62b4df
KH
84582011-08-24 Kenichi Handa <handa@m17n.org>
8459
8460 * international/ucs-normalize.el: If decomposition property of
8461 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8462 nil.
8463 (nfd, nfkd): Likewise.
8464
963b492b
SM
84652011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8468 from process filters aren't reliably transmitted to the surrounding
8469 accept-process-output.
8470 (mpc-proc-check): New function.
8471 (mpc-proc-sync): Use it (bug#8293)
8472
93b6b5e1
SM
84732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8476 Add compatibility functions (bug#9313).
8477
bca633fb
EZ
84782011-08-23 Eli Zaretskii <eliz@gnu.org>
8479
b177498a
EZ
8480 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8481
6df6ae42 8482 * international/uni-bidi.el: Regenerate.
bca633fb 8483
0902a04e
KH
84842011-08-23 Kenichi Handa <handa@m17n.org>
8485
8486 * international/charprop.el:
8487 * international/uni-bidi.el:
8488 * international/uni-category.el:
8489 * international/uni-combining.el:
8490 * international/uni-comment.el:
8491 * international/uni-decimal.el:
8492 * international/uni-decomposition.el:
8493 * international/uni-digit.el:
8494 * international/uni-lowercase.el:
8495 * international/uni-mirrored.el:
8496 * international/uni-name.el:
8497 * international/uni-numeric.el:
8498 * international/uni-old-name.el:
8499 * international/uni-titlecase.el:
8500 * international/uni-uppercase.el: Regenerate.
8501
3bbf23bc
MR
85022011-08-23 Martin Rudalics <rudalics@gmx.at>
8503
8504 * help.el (help-window-setup): Fix message displayed when other
8505 window is reused. (Bug#9341)
8506
b3fd59bd
SM
85072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8508
1802e444
SM
8509 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8510 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8511
b3fd59bd
SM
8512 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8513 Mark obsolete.
8514 * shell.el (shell-parse-pcomplete-arguments): New function.
8515 (shell-completion-vars): Use it instead (bug#9160).
8516
4eb61348
SM
85172011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8518
867cab74
SM
8519 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8520 strings and comments (bug#9333).
8521
4eb61348
SM
8522 * emacs-lisp/debug.el (debug-arglist): New function.
8523 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8524 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8525
262a1439
JL
85262011-08-22 Juri Linkov <juri@jurta.org>
8527
56ee679c
JL
8528 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8529 Revert regexp that highlights output switches to its old
8530 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8531
262a1439
JL
8532 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8533 to check for empty output (bug#9226).
8534
f13f86fb
CY
85352011-08-22 Chong Yidong <cyd@stupidchicken.com>
8536
8537 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8538 symbol-constituent as the default, as that stops font-lock from
8539 working properly (Bug#8843).
8540
c65c9622
LMI
85412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8542
8543 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8544 `coding-system-for-*' around the process open call to avoid
8545 auth-source side effects.
e7f2c178 8546 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8547 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8548 probe hangs.
c65c9622 8549
23a8a5ab
CY
85502011-08-21 Chong Yidong <cyd@stupidchicken.com>
8551
ff98b2dd
CY
8552 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8553
23a8a5ab
CY
8554 * emacs-lisp/find-func.el (find-function-noselect): New arg
8555 lisp-only.
8556
8557 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8558 signal an error for built-in functions (Bug#6664).
8559
f5e3c598
LMI
85602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561
8562 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8563 (smtpmail-try-auth-methods): Use it.
8564
a3f2468a
CY
85652011-08-21 Chong Yidong <cyd@stupidchicken.com>
8566
2c34e8da
CY
8567 * font-lock.el (font-lock-fontify-region)
8568 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8569 (font-lock-default-unfontify-buffer)
8570 (font-lock-default-fontify-region)
8571 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8572
b3fd59bd
SM
8573 * progmodes/compile.el (compilation-error-properties):
8574 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8575 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8576 `ant' regexp.
ee31aabc 8577
a3f2468a
CY
8578 * net/browse-url.el (browse-url-firefox): Don't call
8579 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8580
8e999f70
GM
85812011-08-20 Glenn Morris <rgm@gnu.org>
8582
c21a496a
GM
8583 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8584
59ee0542
GM
8585 * tutorial.el (tutorial--default-keys): Update some default bindings.
8586
8e999f70
GM
8587 * files.el (hack-local-variables): Fully ignore case for "mode:".
8588
e3715033
AM
85892011-08-20 Alan Mackenzie <acm@muc.de>
8590
8591 Resolve invalid use of a regexp in regexp-opt.
8592
4d61f28d
JB
8593 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8594 detection for a java annotation.
e3715033 8595
4d61f28d 8596 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8597 detection for a java annotation.
8598
4d61f28d
JB
8599 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8600 handling for java.
e3715033
AM
8601 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8602
04ed2e9c
CY
86032011-08-20 Chong Yidong <cyd@stupidchicken.com>
8604
8605 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8606 (Bug#9274).
8607
826cee64
AM
86082011-08-20 Alan Mackenzie <acm@muc.de>
8609
58179cce 8610 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8611 such a construct. Mainly for when jit-lock etc. starts a chunk
8612 here.
8613
58179cce 8614 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8615 variable.
58179cce 8616 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8617 c-make-font-lock-search-function.
8618 (c-make-font-lock-search-function): Use the above function.
8619 (c-make-font-lock-context-search-function): New function.
8620 (c-cpp-matchers): Enhance the preprocessor expression case with
8621 the above function
8622 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8623 which takes an expression.
8624
8625 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8626
13009bd8
MR
86272011-08-20 Martin Rudalics <rudalics@gmx.at>
8628
8629 * window.el (display-buffer-reuse-window)
8630 (display-buffer-pop-up-window): Don't reuse or split a side
8631 window.
8632
9234ff7f
GM
86332011-08-19 Glenn Morris <rgm@gnu.org>
8634
8635 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8636 Downcase "Mode:". (Bug#9331)
9234ff7f 8637
f635daa1
CY
86382011-08-18 Chong Yidong <cyd@stupidchicken.com>
8639
8640 * international/characters.el: Add L and R categories.
8641
8642 * subr.el (bidi-string-mark-left-to-right): Rename from
8643 string-mark-left-to-right. Use category search.
8644
8645 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8646
bc987f8b
JL
86472011-08-18 Juri Linkov <juri@jurta.org>
8648
8649 * faces.el (error, warning, success): New faces with definitions
8650 copied from old default values of `font-lock-warning-face',
8651 `compilation-warning', `compilation-info' (bug#6117).
8652
8653 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8654
8655 * progmodes/compile.el (compilation-error): Inherit from `error'.
8656 (compilation-warning): Inherit from `warning'.
8657 (compilation-info): Inherit from `success'.
8658
8659 * dired.el (dired-marked): Inherit from `warning'.
8660 (dired-flagged): Inherit from `error'.
8661
57173b96
LMI
86622011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8663
3e79eb87
LMI
8664 * mail/smtpmail.el (auth-source): Require to avoid problems with
8665 binding variables (bug#9298). Also clean up some unused
8666 autoloads.
8667
b3fd59bd
SM
8668 * net/network-stream.el (network-stream-open-starttls):
8669 Support using starttls.el without using gnutls-cli.
57173b96 8670
02b404de
JL
86712011-08-17 Juri Linkov <juri@jurta.org>
8672
8673 * progmodes/grep.el (rgrep): Handle the case when
8674 `grep-find-command' is a cons cell (bug#9278).
8675
8c9177f2
MR
86762011-08-17 Martin Rudalics <rudalics@gmx.at>
8677
8678 * window.el (display-buffer-pop-up-frame): Run frame creation
8679 function with BUFFER current (as special-display-popup-frame
8680 does). Reported by Drew Adams.
8681
3644a0ab
DU
86822011-08-17 Daiki Ueno <ueno@unixuser.org>
8683
8684 * epa-mail.el: Simplify GnuPG group expansion using
8685 epg-expand-group.
8686 (epa-mail-group-alist, epa-mail-group-modtime)
8687 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8688 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8689 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8690 Remove.
8691
5e617bc2 86922011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8693
8694 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8695
9c4aeabf
AM
86962011-08-16 Alan Mackenzie <acm@muc.de>
8697
8698 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8699 Correct, to avoid the inside of macros.
8700
3a99bf64
RS
87012011-08-16 Richard Stallman <rms@gnu.org>
8702
04963aa8
RS
8703 * epa-mail.el: Handle GnuPG group definitions.
8704 (epa-mail-group-alist, epa-mail-group-modtime)
8705 (epa-mail-gnupg-conf-file): New variables.
8706 (epa-mail-parse-groups, epa-mail-sync-groups)
8707 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8708 (epa-mail-expand-recipients): New functions.
8709 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8710
177549d0
RS
8711 * mail/rmail.el (rmail-epa-decrypt): New command.
8712
fe38beef
RS
8713 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8714 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8715 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8716 (epa-decrypt-armor-in-region): Make error message clearer.
8717
934eacb9
SM
87182011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8721 and "a2b" to "ab" for `prefix'.
8722
d024fb4e
CY
87232011-08-14 Chong Yidong <cyd@stupidchicken.com>
8724
8725 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8726 filter groups.
de148fee
CY
8727 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8728 Fourquet (Bug#8804).
d024fb4e 8729
62f1ca49
JB
87302011-08-12 Juanma Barranquero <lekktu@gmail.com>
8731
8732 * startup.el (argi): Declare as global variable (bug#9275).
8733
9ccaaa4b
CY
87342011-08-12 Chong Yidong <cyd@stupidchicken.com>
8735
8736 * subr.el (string-mark-left-to-right): Search the entire string
8737 for RTL script, not just the terminating character. Doc fix.
8738
a3dae87a
SM
87392011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8740
6cd18349
SM
8741 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8742 New function.
8743 (js--regexp-literal, js-syntax-propertize-function): Remove.
8744 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8745 (js-mode-map): Don't rebind electric keys.
8746 (js-insert-and-indent): Remove.
8747 (js-mode): Setup electric-layout and electric-indent instead.
8748
a3dae87a
SM
8749 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8750
9d5cb631
DU
87512011-08-12 Daiki Ueno <ueno@unixuser.org>
8752
8753 * epa.el (epa-progress-callback-function): Fix the logic of
8754 displaying progress.
8755 * epa-file.el (epa-file-insert-file-contents): Make progress
8756 display more user-friendly.
8757 (epa-file-write-region): Ditto.
8758
3e26a4a2
CY
87592011-08-10 Chong Yidong <cyd@stupidchicken.com>
8760
8761 * subr.el (string-mark-left-to-right): New function.
8762
8763 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8764 Use string-mark-left-to-right.
8765 (list-buffers-noselect): Caller changed.
8766
a3dae87a
SM
8767 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8768 Use string-mark-left-to-right.
3e26a4a2
CY
8769 (tabulated-list-print): Recenter after moving point.
8770
ac8cf6e6
JL
87712011-08-10 Juri Linkov <juri@jurta.org>
8772
8773 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8774 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8775 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8776
8d96c9a4
CY
87772011-08-09 Chong Yidong <cyd@stupidchicken.com>
8778
8779 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8780 (Bug#7554).
8781
7be1c708 87822011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8783
8784 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8785 character. (Bug#6594)
8786
37e11a63
CY
87872011-08-08 Chong Yidong <cyd@stupidchicken.com>
8788
839dde57
CY
8789 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8790 (image-dired--with-db-file): New macro.
8791 (image-dired-write-tags, image-dired-remove-tag)
8792 (image-dired-create-gallery-lists, image-dired-write-comments)
8793 (image-dired-get-comment, image-dired-mark-tagged-files)
8794 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8795 (image-dired-gallery-generate): Use insert-file-contents.
8796
37e11a63
CY
8797 * time.el (display-time-world-list, display-time-world-display):
8798 * time-stamp.el (time-stamp-string):
8799 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8800 set-time-zone-rule (Bug#7337).
8801
0b4946c4
DU
88022011-08-08 Daiki Ueno <ueno@unixuser.org>
8803
8804 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8805 (epg-error-to-string, epg-errors-to-string): New function.
8806 (epg-wait-for-completion): Reverse errors list.
8807 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8808 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8809 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8810 (epg-sign-keys, epg-generate-key-from-file)
8811 (epg-generate-key-from-string): Format errors by using
8812 epg-errors-to-string (bug#9255).
8813 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8814
75bfc667
JL
88152011-08-07 Juri Linkov <juri@jurta.org>
8816
8817 * faces.el (list-faces-display): Remove extra angle bracket
8818 from `help-mode-map'.
8819
8820 * info.el (Info-history-toc-nodes): Doc fix.
8821
8822 * longlines.el (longlines-mode): Doc fix.
8823
673e08bb
SM
88242011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8825
4640dd88
SM
8826 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8827 of statements and in a few more cases (bug#9183).
8828
673e08bb
SM
8829 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8830 New functions.
8831 (cl-transform-lambda): Use them (bug#9239).
8832
89b3f019
MR
88332011-08-05 Martin Rudalics <rudalics@gmx.at>
8834
8835 * window.el (display-buffer-same-window)
8836 (display-buffer-same-frame, display-buffer-other-window)
8837 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8838 (pop-to-buffer-other-window)
8839 (pop-to-buffer-same-frame-other-window)
8840 (pop-to-buffer-other-frame): Make them defuns.
8841 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8842
640c8776
SM
88432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * subr.el (make-composed-keymap): Move from C. Change calling
8846 convention, and improve docstring to bring attention to a subtle point.
8847 * minibuffer.el (completing-read-default): Adjust accordingly.
8848
63648a95
MA
88492011-08-03 Michael Albinus <michael.albinus@gmx.de>
8850
8851 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8852 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8853
8854 * net/trampver.el: Update release number.
8855
b796c9b7
SM
88562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8859 "in" (bug#9190).
8860
2239d7d5
LMI
88612011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8862
e07dd7c3
LMI
8863 * mail/sendmail.el (sendmail-query-once): Restore the current
8864 buffer after querying (bug#9074).
8865
0e6a2bd7
LMI
8866 * dired.el (dired-flagged): Use different faces for marked and
8867 flagged files (bug#6117).
8868
ce887515
LMI
8869 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8870 (bug#4433).
8871
92f2affc
LMI
8872 * ido.el (ido-mode): Switch off the message if called
8873 non-interactively.
8874
57d5aff0
LMI
8875 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8876 before 587, since it appears that that's more likely to work for
8877 more people.
8878
98cd6c18 8879 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8880 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8881 exist.
8882
b96dec83
LMI
8883 * info.el: Remove the `Info-beginning-of-buffer' function
8884 (bug#8325).
8885
b796c9b7
SM
8886 * net/network-stream.el (network-stream-open-starttls):
8887 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8888
d90e2ea0
MR
88892011-08-01 Martin Rudalics <rudalics@gmx.at>
8890
8891 * window.el (display-buffer-in-window): Don't set dedicated status
8892 of window here (Bug#9215).
8893 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8894 (display-buffer-pop-up-side-window)
b796c9b7 8895 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8896
cca09170
SM
88972011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8900 before binding generated-autoload-file.
8901
027b979c
DD
89022011-08-01 Deniz Dogan <deniz@dogan.se>
8903
8904 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8905
3c7ee4f3
MA
89062011-07-30 Michael Albinus <michael.albinus@gmx.de>
8907
8908 Sync with Tramp 2.2.2.
8909
8910 * net/trampver.el: Update release number.
8911
2cc8e51a
JL
89122011-07-30 Juri Linkov <juri@jurta.org>
8913
8914 * dired-aux.el (dired-touch-initial): Remove function.
8915 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8916 current time, and `default' to the last modification time of the
8917 current marked file (bug#6887).
8918
a514d856
JM
89192011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8920
8921 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8922 numeric argument to read-number (bug#9163).
a514d856 8923
8a7eddd7
MA
89242011-07-27 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8927 connection process, it could be nil.
8928
1ddd96f5
LL
89292011-07-27 Leo Liu <sdl.web@gmail.com>
8930
8931 Simplify url handling in rcirc-mode.
8932
8933 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8934 (rcirc-browse-url-at-mouse): Remove.
8935 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8936
b248a85d
AM
89372011-07-26 Alan Mackenzie <acm@muc.de>
8938
8939 Fontify bitfield declarations properly.
8940
8941 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8942 (c-symbol-chars): Now exported as a lang variable.
8943 (c-not-primitive-type-keywords): New lang variable.
8944
8945 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8946 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8947 parsed as a bitfield declaration.
b248a85d 8948
b796c9b7
SM
8949 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8950 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8951 (c-punctuation-in): New function.
8952 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8953 declarations properly.
8954
68575ab0
UJ
89552011-07-26 Ulf Jasper <ulf.jasper@web.de>
8956
8957 * calendar/icalendar.el (icalendar--all-events): Take care of
8958 multiple vcalendars in a single file.
b796c9b7 8959 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8960
0f0a88b9
DD
89612011-07-25 Deniz Dogan <deniz@dogan.se>
8962
8963 * image.el (insert-image): Clarifying docstring.
8964
0b3f36df
MA
89652011-07-24 Michael Albinus <michael.albinus@gmx.de>
8966
8967 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8968 `tramp-send-command-and-check' if there is no error.
8969 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8970
a9901f61
AM
89712011-07-22 Alan Mackenzie <acm@muc.de>
8972
8973 Prevent cc-langs.elc being loaded at run time.
8974
8975 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8976 cc-langs.
8977
4d61f28d 8978 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8979 "(require 'cc-langs)". Quote a form so it will evaluate at
8980 (cc-mode's) compilation time.
8981
11d074b2
MA
89822011-07-22 Michael Albinus <michael.albinus@gmx.de>
8983
8984 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8985 loading. (Bug#9114)
8986
938b94c8
MR
89872011-07-21 Martin Rudalics <rudalics@gmx.at>
8988
8989 * window.el (display-buffer-pop-up-window)
8990 (display-buffer-pop-up-side-window)
8991 (display-buffer-in-side-window): Call display-buffer-set-height
8992 and display-buffer-set-width after setting the new window's
b796c9b7 8993 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8994
bfa4f190
SS
89952011-07-20 Sam Steingold <sds@gnu.org>
8996
8997 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8998 (etags-tags-included-tables): Call `convert-standard-filename' on
8999 the file names contained in TAGS so that windows Emacs can handle
9000 TAGS files created by cygwin ctags.
9001
8ca42262
LMI
90022011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003
9004 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9005 which apparently didn't work.
9006
5db2afd2 90072011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9008
5db2afd2
RW
9009 * proced.el (proced-send-signal): For *Marked Processes* buffer
9010 put point at beginning of buffer.
9011
92e15d10
SB
90122011-07-19 Stephen Berman <stephen.berman@gmx.net>
9013
9014 * proced.el (proced-format): Make header lines align with the text
9015 (bug#1779).
9016
1bfd59e5
LMI
90172011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018
9019 * view.el (view-buffer): Allow running in `special' modes if we're
9020 visiting a file (bug#8615).
9021
f5aae37c
MR
90222011-07-19 Martin Rudalics <rudalics@gmx.at>
9023
9024 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9025 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9026 New functions.
f5aae37c
MR
9027 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9028 more accurately.
9029
bf2c1571
AM
90302011-07-18 Alan Mackenzie <acm@muc.de>
9031
9032 Fontify declarators properly when, e.g., a jit-lock chunk begins
9033 inside a declaration.
9034
9035 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9036
b796c9b7
SM
9037 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9038 New function.
bf2c1571
AM
9039 (c-complex-decl-matchers): Insert reference to
9040 c-font-lock-enclosing-decls.
9041
9042 * progmodes/cc-engine.el (c-backward-single-comment):
9043 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9044 to nil around calls to (forward-comment -1).
9045
4e190b80
LMI
90462011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9047
12dc863d
LMI
9048 * image.el (put-image): Doc typo fix.
9049
a762e966
LMI
9050 * progmodes/etags.el (tags-search): Doc typo fix.
9051
4e190b80
LMI
9052 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9053 password if we get errors 550 to 554.
9054
f019fb21
LMI
90552011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9056
b796c9b7 9057 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9058
81746738
LMI
9059 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9060 indentation character (bug#6380).
9061
3ee3a1b5
LMI
9062 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9063
c82f64de
LMI
9064 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9065 to clarify what the problem is (bug#4291).
9066
f019fb21
LMI
9067 * simple.el (current-kill): Clarify what
9068 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9069 (auto-fill-mode): Document `auto-fill-function' in relation to
9070 `auto-fill-mode' (bug#2470).
f019fb21 9071
0794775d
LM
90722011-07-16 Lawrence Mitchell <wence@gmx.li>
9073
9074 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9075 method if slot is read-only (bug#9035).
9076
be39b8cc
MR
90772011-07-16 Martin Rudalics <rudalics@gmx.at>
9078
b796c9b7 9079 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9080 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9081 selected before, see discussion of (Bug#8615), (Bug#6954).
9082 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9083
6ccf7859
GM
90842011-07-15 Glenn Morris <rgm@gnu.org>
9085
9086 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9087 Respect help-form.
6ccf7859 9088
87e86684
LM
90892011-07-09 Lawrence Mitchell <wence@gmx.li>
9090
9091 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9092 (gnutls-negotiate): Use it.
9093
d6066239
LMI
90942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9095
b796c9b7
SM
9096 * net/gnutls.el (gnutls-negotiate):
9097 Upcase `gnutls-algorithm-priority'.
d6066239 9098
bd23ebc0
GM
90992011-07-15 Glenn Morris <rgm@gnu.org>
9100
c65bca65
GM
9101 * jka-compr.el (jka-compr-verbose): Move from here...
9102 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9103 Add missing :version tag.
9104 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9105
478615cc
LMI
91062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9107
7b41decb
LMI
9108 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9109 (gnutls-negotiate): Use it.
9110
dbc44fcd
LMI
9111 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9112
06789f97
LMI
9113 * info.el (Info-beginning-of-buffer): New command.
9114 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9115 announcing `b' as the key (bug#8325).
ab896c37 9116 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9117
c39da690
LMI
9118 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9119
3aa5f34b
LMI
9120 * international/mule-cmds.el
9121 (describe-specified-language-support): Make the error message
9122 clearer (bug#8905).
9123
4bf0979f
LMI
9124 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9125
478615cc
LMI
9126 * isearch.el (isearch-barrier): Add a doc string, since it's
9127 mentioned in a function doc string (bug#8678).
9128
75c68aa1
MR
91292011-07-15 Martin Rudalics <rudalics@gmx.at>
9130
9131 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9132 buffer argument (Bug#9083) and self-identifying label argument.
9133
a7c33da2
GM
91342011-07-15 Glenn Morris <rgm@gnu.org>
9135
9136 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9137
2f5c6024
LMI
91382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9139
9140 * man.el (Man-fontify-manpage): Fix message when formatting the
9141 man page (bug#7929).
9142
0bb23927 91432011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9144
9145 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9146 argument LRM; if non-nil, append an invisible LRM character to the
9147 buffer name.
9148 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9149 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9150 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9151 paragraph direction.
cce4b0a7 9152
621ef9ab
LMI
91532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9154
d1583c48
LMI
9155 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9156 the man page name (bug#7929).
9157
6a57fb5f
LMI
9158 * image.el (put-image): Mention the `put-image' overlay property
9159 (bug#7834).
9160
d7956b14
LMI
9161 * scroll-bar.el (set-scroll-bar-mode): Mention that
9162 `scroll-bar-mode' lists the values (bug#7772).
9163
5b2d4a66
LMI
9164 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9165 command (bug#7729).
9166
7509a874
LMI
9167 * rect.el (apply-on-rectangle): Return the point after the last
9168 operation.
9169 (string-rectangle): Go to the point after the last operation
9170 (bug#7522).
9171
4fe74b19
LMI
9172 * printing.el (pr-toggle-region): Clarify the documentation
9173 slightly (bug#7493).
9174
b796c9b7
SM
9175 * time.el (display-time-update):
9176 Allow `display-time-mail-function' to return nil (bug#7158).
9177 Fix suggested by Detlev Zundel.
ab283561 9178
fc233c9d
LMI
9179 * vc/diff.el (diff): Clarify the order the file names are read
9180 (bug#7111).
9181
43f5740b
LMI
9182 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9183 the doc string (bug#7015).
9184
f2182a76
LMI
9185 * font-lock.el (font-lock-maximum-decoration): Mention what
9186 numeric levels mean (bug#6935).
9187
621ef9ab
LMI
9188 * startup.el (initial-buffer-choice): Don't mention the `none'
9189 selection, which is against policy.
9190
adc47434
MR
91912011-07-14 Martin Rudalics <rudalics@gmx.at>
9192
b796c9b7
SM
9193 * window.el (display-buffer-normalize-special):
9194 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9195
7e5bfb8f
EZ
91962011-07-14 Eli Zaretskii <eliz@gnu.org>
9197
9198 * subr.el (version<, version<=, version=): Mention "-CVS" and
9199 "-12345" alpha version numbers.
9200
27fa387a
CY
92012011-07-14 Chong Yidong <cyd@stupidchicken.com>
9202
9203 * bindings.el: Add advertised binding for set-mark-command
9204 (Bug#5772).
9205
8bdfa064
CY
92062011-07-14 Chong Yidong <cyd@stupidchicken.com>
9207
9208 * bindings.el (mode-line-other-buffer):
9209 * bookmark.el (bookmark-bmenu-2-window):
9210 * bs.el (bs-cycle-next, bs-cycle-previous):
9211 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9212 switch-to-buffer.
9213
9214 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9215 Delete.
8bdfa064 9216
5eba16a3
JB
92172011-07-14 Juanma Barranquero <lekktu@gmail.com>
9218
9219 * follow.el (follow-debug-message, follow-redisplay):
9220 * jka-cmpr-hook.el (with-auto-compression-mode):
9221 Fix typos in docstrings.
9222
15853710
LMI
92232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9224
a28e4607
LMI
9225 * subr.el (with-silent-modifications): Clarify somewhat what the
9226 macro inhibits (bug#6525).
9227
15853710
LMI
9228 * simple.el (eval-expression): Note what it does if called
9229 interactively (bug#6495).
9230
bee0fcef
CY
92312011-07-13 Chong Yidong <cyd@stupidchicken.com>
9232
b796c9b7
SM
9233 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9234 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9235
9236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9237 Remove switch-to-buffer.
9238
58274504
LMI
92392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9240
bd2fcc8d
LMI
9241 * files.el (make-directory): Clarify that an error will be raised
9242 if there's an error (bug#6397).
9243
0f04b32c
LMI
9244 * startup.el (initial-buffer-choice): Add `none' as a choice
9245 (bug#6234).
9246
465c5fc8
LMI
9247 * subr.el (add-hook): Clarify section about buffer-local hooks
9248 (bug#6218).
9249
58274504
LMI
9250 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9251
bead9a43
JB
92522011-07-13 Juanma Barranquero <lekktu@gmail.com>
9253
9254 * tabify.el (untabify): Preserve the current column so that point
9255 doesn't move (bug#6032).
9256
3af98a7b
LMI
92572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9258
b796c9b7
SM
9259 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9260 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9261
6240145a
GM
92622011-07-13 Glenn Morris <rgm@gnu.org>
9263
9264 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9265 (dired-insert-directory): Give a message the first time
9266 if ls is found not to support --dired.
9267
1d8c2ccc
LMI
92682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9269
9270 * simple.el (toggle-truncate-lines): Clarify what is toggled
9271 (bug#5580). Text by Drew Adams.
9272
5fc4038e
CY
92732011-07-13 Chong Yidong <cyd@stupidchicken.com>
9274
9275 * simple.el (blink-matching-open): Make the error message from the
9276 last change less verbose.
9277
bf6012e5
DN
92782011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9279
9280 * font-lock.el (font-lock-comment-face): Use the high contrast
9281 "yellow" color for font-lock-comment-face on low color terminals
9282 using a dark background color (bug#4221).
9283
343c3b5a
LMI
92842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
7e9505c5
LMI
9286 * dired.el (dired-insert-set-properties): Make the doc string
9287 reflect what it does now (bug#5325).
9288
c26fdcf5
LMI
9289 * simple.el (blink-matching-open): Say that we were unable to find
9290 the match within the limit, if we're limited (bug#5122).
9291
bb388cc5
LMI
9292 * international/mule-cmds.el (prefer-coding-system): Add an
9293 example (bug#4869).
9294
343c3b5a
LMI
9295 * progmodes/etags.el (tags-search): Document `file-list-form'
9296 (bug#4731).
9297
2a517d45
LM
92982011-07-13 Lawrence Mitchell <wence@gmx.li>
9299
9300 * net/browse-url.el (browse-url-default-browser)
9301 (browse-url-browser-function): Make the default browser choice a
9302 bit more logical (bug#4300). Also clean up the doc string.
9303
b6c78ef2
JB
93042011-07-13 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9307 binary endings (bug#4440).
9308
1c4dd947
LMI
93092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9310
a2014063
LMI
9311 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9312 which can be pretty annoying (bug#8971).
9313
9c9c2d88
LMI
9314 * jka-compr.el (jka-compr-verbose): New variable, and use
9315 throughout (bug#8971).
9316
1c4dd947
LMI
9317 * info.el (Info-find-file): Fall back on the installation
9318 directory if we can't find the info node anywhere else.
9319
a1c9f41b
SO
93202011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9321
9322 * vc/vc.el (vc-revert-file):
9323 Don't set file time-stamp in the past. (Bug#5181)
9324
536f3d36
LMI
93252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9326
7152b011
LMI
9327 * files.el (after-find-file): Give a better error message when
9328 trying to find a symlink that points to a file that doesn't exist
9329 (bug#4398).
9330
536f3d36
LMI
9331 * progmodes/cc-vars.el: Remove (probably) misleading comment
9332 (bug#4396).
9333
460c0fba
JB
93342011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9335
9336 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9337
7a6bda45
CY
93382011-07-12 Chong Yidong <cyd@stupidchicken.com>
9339
9340 * mouse-sel.el: Hack restoring functionality, while keeping
9341 compatibility with 2010-07-03 changes to mouse selection.
9342 (mouse-sel-primary-overlay): New var.
9343 (mouse-sel-selection-alist): Use it.
9344 (mouse-sel-mode): Doc fix; remove points that are default features
9345 of mouse.el.
9346
c79598ef
JB
93472011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9348
9349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9350 Fix previous fix (bug#2490).
9351
ff8be6ef
RW
93522011-07-12 Roland Winkler <winkler@gnu.org>
9353
b796c9b7
SM
9354 * textmodes/bibtex.el (bibtex-initialize):
9355 Use pop-to-buffer-same-window.
ff8be6ef
RW
9356 (bibtex-search-entries): Fix interactive call.
9357
296ba3ee
LMI
93582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9359
f5242a02 9360 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9361 Fontise bytecomp Error lines more correctly (bug#2490).
9362 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9363
296ba3ee
LMI
9364 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9365
9366 * dired-x.el (dired-guess-default): Use `delete-dups'.
9367
f69fd0d2
CY
93682011-07-12 Chong Yidong <cyd@stupidchicken.com>
9369
9370 * dired.el (dired-mark-prompt):
9371 * dired-aux.el (dired-read-shell-command): Doc fix.
9372
eab5dc07
LMI
93732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9374
b796c9b7
SM
9375 * mail/sendmail.el (sendmail-query-once):
9376 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9377 emacs -Q.
9378
9379 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9380
eab5dc07
LMI
9381 * cus-edit.el (custom-file): Take an optional no-error variable.
9382 (customize-save-variable): Set the variable, and give a warning if
9383 running under "emacs -q".
9384
a1e65d42
JB
93852011-07-11 Juanma Barranquero <lekktu@gmail.com>
9386
9387 * loadhist.el (unload-feature-special-hooks):
9388 Add `auto-coding-functions', `fill-nobreak-predicate' and
9389 `find-directory-functions' (bug#5327).
9390
1d52da10
LMI
93912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9392
be958f1d
LMI
9393 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9394
5bedb26c
LMI
9395 * cus-edit.el (custom-guess-name-alist): -alist variables should
9396 use the `alist' type (bug#3120). Suggested by Drew Adams.
9397
1d52da10
LMI
9398 * printing.el: Add documentation to all the `pr-toggle-' commands.
9399
cd394be1 94002011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9401
9402 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9403 backends where it makes sense (bug#2623).
9404
dcc88d8a
LMI
94052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9406
c3de9feb
LMI
9407 * dired-x.el (dired-guess-default): Remove duplicate shell command
9408 entries (bug#2028).
8a93078b 9409 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9410 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9411
dcc88d8a
LMI
9412 * subr.el (remove-duplicates): New conveniency function.
9413
505e3645
LMI
94142011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9415
9416 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9417 (bug#1526).
9418
94192011-07-10 Martin Rudalics <rudalics@gmx.at>
9420
9421 * window.el (display-buffer-normalize-default): Don't invert
9422 meaning of even-window-heights. Reported by Eli Zaretskii
9423 <eliz@gnu.org>.
9424
455e4fa1
BR
94252011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9426
9427 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9428
8e0bc3e9
CY
94292011-07-10 Chong Yidong <cyd@stupidchicken.com>
9430
9431 * window.el (display-buffer): Fix arguments to
9432 display-buffer-reuse-window in last change.
9433
fa7c3228
CY
9434 * faces.el (link): Use a less saturated blue on light backgrounds.
9435
9436 * startup.el (fancy-startup-text, fancy-about-text)
9437 (fancy-startup-tail): Use font-lock faces, for background safety.
9438
c0a7f300
BN
94392011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9440
b796c9b7
SM
9441 * emulation/viper-cmd.el (viper-change-state-to-vi):
9442 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9443
4dc2a129
MR
94442011-07-09 Martin Rudalics <rudalics@gmx.at>
9445
9446 * window.el (display-buffer-default-specifiers): Remove.
9447 (display-buffer-macro-specifiers): Remove default specifiers.
9448 (display-buffer-alist): Default to nil.
b796c9b7 9449 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9450 (display-buffer-pop-up-window): Allow splitting internal
9451 windows. Check whether a live window was created.
9452 (display-buffer-other-window-means-other-frame)
9453 (display-buffer-normalize-arguments): Rename to
9454 display-buffer-normalize-argument and rewrite. Set the
9455 other-window specifier.
9456 (display-buffer-normalize-special): New function.
9457 (display-buffer-normalize-options): Rename to
9458 display-buffer-normalize-default and rewrite.
9459 (display-buffer-normalize-options-inhibit): Remove.
9460 (display-buffer-normalize-specifiers): Rewrite.
9461 (display-buffer): Process other-window specifier and call
9462 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9463 more faithfully.
b796c9b7 9464 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9465 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9466 (display-buffer-in-window, display-buffer-alist-set):
9467 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9468 <tassilo@member.fsf.org>.
9469
2d43b8c9
LL
94702011-07-09 Leo Liu <sdl.web@gmail.com>
9471
9472 * register.el (insert-register): Restore accidental change on
9473 2011-06-26. (Bug#9028)
9474
7f9b7c53
GM
94752011-07-09 Glenn Morris <rgm@gnu.org>
9476
9477 * subr.el (remq): Handle the empty list. (Bug#9024)
9478
f042cfd8
AS
94792011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9480
9481 * mail/sendmail.el (send-mail-function): No longer delay custom
9482 initialization.
9483 * custom.el (custom-initialize-delay): Doc fix.
9484
856b2f11
SM
94852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9488
afae1d68
MA
94892011-07-08 Michael Albinus <michael.albinus@gmx.de>
9490
9491 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9492 human-friendly prompt.
9493
0757af94
SM
94942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9497 provided by a particular plugin.
9498
d760b731
LMI
94992011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
9501 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9502 save customizations (with "emacs -Q"), just set the variable
9503 instead of erroring out.
9504
9505 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9506
cd79ce90
JL
95072011-07-08 Juri Linkov <juri@jurta.org>
9508
9509 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9510 (archive-zip-update-case): Use 7z if found by `executable-find'.
9511 The order of searching the available programs is the same as in
9512 `archive-zip-extract' (bug#8968).
9513
14cc04aa
CY
95142011-07-07 Chong Yidong <cyd@stupidchicken.com>
9515
9516 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9517 (menu-bar-options-menu): Tweak descriptions.
9518
0a1848ec
LMI
95192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9520
9521 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9522 menu items into verb phrases (bug#1421). Also refill to fit under
9523 80 columns.
9524
f5bd0689
CY
95252011-07-07 Chong Yidong <cyd@stupidchicken.com>
9526
538e85c6
CY
9527 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9528 (Info-read-node-name): Doc fix (Bug#1084).
9529
f5bd0689
CY
9530 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9531 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9532 (end-of-sexp, beginning-of-sexp)
9533 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9534 (forward-symbol, forward-same-syntax, word-at-point)
9535 (sentence-at-point): Doc fix (Bug#1144).
9536
56ec5115
LMI
95372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
f3f8e37f
LMI
9539 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9540 should cover it (bug#1281).
9541
0757af94 9542 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9543
e9fce1ac 9544 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9545 negotiation fails, then possibly try again with a non-encrypted
9546 connection (bug#9017).
9547
56ec5115
LMI
9548 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9549 be used.
9550
c2f9aec8
RS
95512011-07-07 Richard Stallman <rms@gnu.org>
9552
9553 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9554 property, and handle its changed format.
9555 Look for the correct line number.
9556 Use file's line contents (but not past first =) to find
9557 correct line in message.
9558
ef7b981d 95592011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9560
9561 * international/characters.el (build-unicode-category-table):
9562 Delete it.
0757af94 9563 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9564
0757af94 9565 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9566 to src/chartab.c.
9567 (get-char-code-property): Call unicode-property-table-internal to
9568 load a file. Call get-unicode-property-internal where necessary.
9569 (put-char-code-property): Call unicode-property-table-internal to
9570 load a file. Call put-unicode-property-internal where necessary.
9571 put-unicode-property-internal where necessary.
0757af94
SM
9572 (char-code-property-description):
9573 Call unicode-property-table-internal to load a file.
c805dec0
KH
9574
9575 * international/charprop.el:
9576 * international/uni-bidi.el:
9577 * international/uni-category.el:
9578 * international/uni-combining.el:
9579 * international/uni-comment.el:
9580 * international/uni-decimal.el:
9581 * international/uni-decomposition.el:
9582 * international/uni-digit.el:
9583 * international/uni-lowercase.el:
9584 * international/uni-mirrored.el:
9585 * international/uni-name.el:
9586 * international/uni-numeric.el:
9587 * international/uni-old-name.el:
9588 * international/uni-titlecase.el:
9589 * international/uni-uppercase.el: Regenerate.
9590
9591 * loadup.el: Load international/charprop.el before
9592 international/characters.
9593
e14b388a
CY
95942011-07-07 Chong Yidong <cyd@stupidchicken.com>
9595
9596 * window.el (next-buffer, previous-buffer): Signal an error if
9597 called from a minibuffer window.
9598
9599 * bindings.el: Revert 2011-07-04 change.
9600
354cf0ba
RS
96012011-07-06 Richard Stallman <rms@gnu.org>
9602
9603 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9604 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9605 Treat markers like ints.
9606 (rmail-mime-entity): Doc fix.
9607
a48868a7
LMI
96082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9609
4906cd3d
LMI
9610 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9611 defcustom again for backwards compatibility.
9612
e0457abe
LMI
9613 * simple.el (shell-command-on-region): Fill.
9614
d67f7e1f
LMI
9615 * dired-aux.el (dired-kill-line): Add a doc string.
9616
fe204702
LMI
9617 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9618 to "\\sw\\|\\s_" (bug#358).
9619
a48868a7
LMI
9620 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9621 (dired-unmark-backward): Ditto.
9622 (dired-flag-backup-files): Ditto.
9623
9624 * dired-x.el (dired-mark-sexp): Ditto.
9625
aa8a705c
RS
96262011-07-06 Richard Stallman <rms@gnu.org>
9627
9628 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9629 (rmail-mime-entity): New arg TRUNCATED.
9630 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9631 New functions.
9632 (rmail-mime-save): Warn if entity is truncated.
9633 (rmail-mime-toggle-hidden): Likewise, for showing.
9634 (rmail-mime-process-multipart): Record when an entity is truncated.
9635
a9a936b9
RS
9636 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9637 if ENTITY is a string.
9638
1f2b92cb
LMI
96392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9640
f4f73198 9641 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9642 of faces when `M-C-x'-ing their definitions (bug#8378).
9643 Also clean up the code slightly.
f4f73198 9644
12b16734 9645 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9646 because that makes the colors go away.
12b16734 9647
f0691d22
LMI
9648 * mail/sendmail.el (send-mail-function): Change the default to
9649 `sendmail-query-once'.
9e87df06 9650 (sendmail-query-once): Add an autoload cookie.
f0691d22 9651
1f2b92cb
LMI
9652 * net/network-stream.el (network-stream-open-starttls): Try using
9653 a plain connection even if the server offered STARTTLS, and we
9654 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9655 capability. This should make smtpmail.el work in slightly more
9656 configurations.
9657
1cdd2a1b
MA
96582011-07-06 Michael Albinus <michael.albinus@gmx.de>
9659
9660 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9661 New defun.
9662 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9663
fbcc67e2
MM
96642011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9665
9666 * progmodes/sql.el: Version 3.0
0757af94 9667 (sql-product-alist): Add product :completion-object,
fbcc67e2 9668 :completion-column, and :statement attributes.
0757af94 9669 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9670 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9671 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9672 ansi keywords.
9673 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9674 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9675 (sql-oracle-show-reserved-words): New function for development.
9676 (sql-product-font-lock): Simplify for source code buffers.
9677 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9678 New functions.
9679 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9680 (sql-mode-map): Add statement movement functions.
9681 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9682 New variable.
fbcc67e2
MM
9683 (sql-statement-regexp, sql-beginning-of-statement)
9684 (sql-end-of-statement, sql-signum): New functions.
0757af94 9685 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9686 (sql-show-sqli-buffer): Bug fix.
9687 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9688 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9689 with sql-interactive-mode.
9690 (sql-save-connection): Save buffer local settings.
0757af94 9691 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9692 (sql-product-interactive): Bug fix.
9693 (sql-preoutput-hold): New variable.
9694 (sql-interactive-remove-continuation-prompt): Bug fixes.
9695 (sql-debug-redirect): New variable.
9696 (sql-str-literal): New function.
9697 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9698 Redesign.
fbcc67e2
MM
9699 (sql-oracle-save-settings, sql-oracle-restore-settings)
9700 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9701 (sql-completion-object, sql-completion-column)
9702 (sql-completion-sqlbuf): New variables.
9703 (sql-build-completions-1, sql-build-completions)
9704 (sql-try-completion): New functions.
9705 (sql-read-table-name): Use them.
9706 (sql-contains-names): New buffer local variable.
9707 (sql-list-all, sql-list-table): Use it.
9708 (sql-oracle-completion-types): New variable.
9709 (sql-oracle-completion-object, sql-sqlite-completion-object)
9710 (sql-postgres-completion-object): New functions.
9711
d4eaeab1
GM
97122011-07-06 Glenn Morris <rgm@gnu.org>
9713
9714 * window.el (pop-to-buffer): Doc fix.
9715
322b7dab 97162011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9717
9718 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9719
322b7dab 97202011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9721
322b7dab 9722 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9723
322b7dab 9724 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9725
605dd5bf
CY
97262011-07-05 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * button.el (button): Inherit from link face. Suggested by Dan
9729 Nicolaescu.
9730
7dbfa719
SM
97312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9732
3db614b0
SM
9733 * progmodes/gdb-mi.el: Fit in 80 columns.
9734 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9735 switch-to-buffer.
9736
7dbfa719
SM
9737 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9738 if imenu is simply not configured (bug#8941).
9739
919d884a
KM
97402011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9741
9742 * allout.el (allout-post-undo-hook): New allout outline-change
9743 event hook to signal undo activity.
9744 (allout-post-command-business): Run allout-post-undo-hook if an
9745 undo just occurred.
7dbfa719
SM
9746 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9747 * allout-widgets.el (allout-widgets-after-undo-function):
9748 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9749 in the vicinity of an undo.
9750 (allout-widgets-mode): Include allout-widgets-after-undo-function
9751 on the new allout-post-undo-hook.
9752
450a0f09
SM
97532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9756 Let define-derived-mode define it.
9757 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9758 cycles of abbrev-table inheritance (bug#8998).
9759
2de69e00
RW
97602011-07-05 Roland Winkler <winkler@gnu.org>
9761
9762 * textmodes/bibtex.el: Add support for biblatex.
9763 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9764 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9765 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9766 (bibtex-entry-alist, bibtex-field-alist): New variables.
9767 (bibtex-entry-field-alist): Obsolete alias for
9768 bibtex-BibTeX-entry-alist.
9769 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9770 (bibtex-set-dialect): New command.
9771 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9772 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9773 Bind via bibtex-set-dialect.
2de69e00
RW
9774 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9775 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9776 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9777 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9778 Define via bibtex-set-dialect.
450a0f09
SM
9779 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9780 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9781 (bibtex-vec-push, bibtex-vec-incr): New functions.
9782 (bibtex-format-entry, bibtex-field-list)
9783 (bibtex-print-help-message, bibtex-validate)
9784 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9785
2dcdbdd9
SM
97862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * progmodes/compile.el (compilation-goto-locus):
9789 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9790 * bs.el (bs-cycle-next, bs-cycle-previous):
9791 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9792 * bindings.el (mode-line-other-buffer):
9793 * autoinsert.el (auto-insert):
9794 * arc-mode.el (archive-extract):
9795 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9796
b27640fe
JB
97972011-07-05 Juanma Barranquero <lekktu@gmail.com>
9798
9799 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9800 Fix check of `emacs-lock-unlockable-modes'.
9801 Coerce true values of `emacs-lock--try-unlocking' to t.
9802
53bbe3ad
JB
98032011-07-05 Juanma Barranquero <lekktu@gmail.com>
9804
9805 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9806 * emacs-lock.el: New file.
9807
1d3cdbc7
JD
98082011-07-05 Julien Danjou <julien@danjou.info>
9809
9810 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9811 than `boundp' to check if face is set.
9812
9173deec
JB
98132011-07-05 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * register.el (registerv-make):
9816 * window.el (window-min-height): Fix typos in docstrings.
9817
869795d6
JD
98182011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9819
9173deec 9820 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9821 Update doc string.
9822
b768cdcd
JB
98232011-07-04 Juanma Barranquero <lekktu@gmail.com>
9824
9825 * server.el (server-execute): Catch quit and call
9826 `server-return-error' to pass the error back to emacsclient and
9827 close the connection (bug#8942).
9828
13aa217b
KM
98292011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9830
9831 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9832 insecure exception for current topic. Also note that auto-saves
9833 are handled differently.
9834
5d3385a0 9835 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9836 State variables for tracking auto-save inhibition situation.
9837
9838 (allout-write-contents-hook-handler): Rename from
9839 'allout-write-file-hook-handler', and describe how it depends on
9840 write-contents-functions sensitivity to non-nil value to prevent
9841 file write.
9842
9843 (allout-auto-save-hook-handler): Remove. auto-save does not check
9844 this in individual buffers, only in the starting buffer, so this
9845 is not the right way for us to inhibit auto-save in a buffer
9846 according to its condition.
9847
9848 (allout-mode): Use new allout-write-contents-hook-handler, and
9849 only with write-contents-functions. Remove auto-save provisions -
9850 they're implemented elsewhere.
9851
9852 (allout-before-change-handler): If undo is in progress, note that
9853 for attention of allout-post-command-business.
9854
9855 (allout-post-command-business): If the command we're following was
9856 an undo, check for change in the status of encrypted items and
9857 adjust auto-save inhibitions accordingly.
9858
9859 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9860 according to whether there are or aren't any plain-text topics
9861 pending encryption.
9862
2dcdbdd9 9863 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9864 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9865 if there are plain-text topics pending encryption.
13aa217b
KM
9866
9867 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9868 buffer-saved-size and some allout state to not inhibit auto-saves
9869 if there are no longer any plain-text topics pending encryption.
9870
0757af94
SM
9871 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9872 No longer provide for exemption of the current topic.
13aa217b 9873
ac89b32c
JL
98742011-07-04 Juri Linkov <juri@jurta.org>
9875
9876 Add 7z operations to delete and save changed members (bug#8968).
9877 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9878 New defcustoms.
9879 (archive-7z-write-file-member): New function.
9880 (archive-7z-summarize): Fix the number of dashes in the
9881 listing output.
9882
8fa39615
SM
98832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9886 (bug#8958).
9887
2f11b3f1
CY
98882011-07-04 Chong Yidong <cyd@stupidchicken.com>
9889
d66fef2b
CY
9890 * bindings.el: Ignore next-buffer and previous-buffer in
9891 minibuffer-local-map.
9892
2f11b3f1
CY
9893 * font-lock.el (font-lock-builtin-face): Change light background
9894 color to dark slate blue (Bug#6693).
9895
f932a347
WD
98962011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9897
9898 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9899
c8af70e1
SM
99002011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9901
9902 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9903 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9904 Add switch-to-buffer.
9905
f158badc
LMI
99062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9907
9908 * isearch.el (isearch-search-fun-function): Clarify further the
9909 meaning of the function returned.
9910
6d95bd46
MA
99112011-07-04 Michael Albinus <michael.albinus@gmx.de>
9912
9913 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9914
9915 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9916 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9917 Use it.
9918 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9919 `tramp-default-remote-path' does not exist.
9920 (tramp-send-command-and-read): New optional argument NOERROR.
9921 (tramp-open-connection-setup-interactive-shell)
9922 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9923 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9924 (tramp-process-sentinel): Flush also process' connection property.
9925 (tramp-sh-handle-start-file-process): Do not set process
9926 sentinel. It is done now ...
9927 (tramp-maybe-open-connection): ... here. (Bug#8929)
9928
909e6b67
MK
99292011-07-04 MON KEY <monkey@sandpframing.com>
9930
9931 * play/animate.el (animate-string): Doc fixes and allow changing
9932 the buffer name (bug#5417).
9933
99342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9935
c8af70e1 9936 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9937
f34755dc
PE
99382011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9939
396cec72
PE
9940 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9941 This is simpler and helps future-proof the code.
9942 (timer-until): Use time-subtract and float-time.
08235028 9943 (timer--time-less-p): Use time-less-p.
f34755dc 9944
56e6cc31
JB
99452011-07-04 Juanma Barranquero <lekktu@gmail.com>
9946
3abb79e5
JB
9947 * type-break.el (timep): Use the value of `float-time' to avoid a
9948 byte-compiler warning.
9949
56e6cc31
JB
9950 * server.el (server-eval-and-print): Return any result, even nil.
9951
7b9430b4
PE
99522011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9953
9954 * type-break.el: Accept time formats that the builtins accept.
9955 (timep, type-break-time-difference): Accept any format that
9956 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9957 This is simpler and helps future-proof the code.
9958 (type-break-time-difference): Round rather than ignoring
9959 subseconds components.
9960
3034e9e7
LMI
99612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9962
9963 * info.el (Info-apropos-matches): Make non-interactive, since it
9964 doesn't seem to do anything useful as a command (bug#8829).
9965
1485f4c0
CY
99662011-07-03 Chong Yidong <cyd@stupidchicken.com>
9967
9968 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9969 Move from faces.el.
1485f4c0
CY
9970 (frame-default-terminal-background): New function.
9971
9972 * custom.el (custom-push-theme): Don't record faces in `changed'
9973 theme; this doesn't work correctly for per-frame face settings.
9974 (disable-theme): Use face-set-after-frame-default to reset faces.
9975 (custom--frame-color-default): New function.
9976
9fa3dd45
LMI
99772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9978
c8af70e1 9979 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9980 (bug#8769).
9981
6cbbc20c
KR
99822011-03-29 Kevin Ryde <user42@zip.com.au>
9983
9984 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9985 `perl-Test2' extend to match possible "fail #N" rep count
9986 (bug#8377).
9987
c7f98048
LMI
99882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9989
65676592
LMI
9990 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9991 `smtpmail-via-smtp' now returns the error instead of nil.
9992
c7f98048
LMI
9993 * isearch.el (isearch-search-fun-function): Clarify the doc string
9994 (bug#8101).
9995
56e6cc31 99962011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9997
9998 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9999 unnecessary spaces (bug#8987).
10000
2b216704
LMI
100012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10002
10003 * net/network-stream.el (open-network-stream): Use the
10004 :end-of-capability command thoughout.
10005
100062011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10007
10008 * net/network-stream.el (open-network-stream): Add the
10009 :end-of-capability command parameter, used by pop3.el.
10010
36adf6ce
LMI
100112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10012
1ca0da0e
LMI
10013 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10014
fc00f69c
LMI
10015 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10016 for list)" (bug#6475).
10017
28fd8759 10018 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10019 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10020 an error (bug#6297).
10021
0dd8b6da
LMI
10022 * man.el (Man-reference-regexp): Allow matching possible
10023 word-wrapped references (bug#6289).
10024
ce1438d6
LMI
10025 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10026 for consistency with the other vc buffers (bug#6197).
10027 (vc-checkin): Ditto.
10028
10029 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10030
36adf6ce
LMI
10031 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10032
e83cc1f7
LMI
100332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
8a20ca4c
LMI
10035 * custom.el (defcustom): Clarify that :set is only used in the
10036 Customize user interface (bug#6089).
10037
83319045
LMI
10038 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10039 associated with a file, refuse to run instead of erroring out
10040 (bug#6084).
10041
a8392169
LMI
10042 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10043 the doc string, since it appears that using `fill-column' always
10044 controls the width (bug#7845).
10045
e83cc1f7
LMI
10046 * simple.el (shell-command-on-region): Say where the error output
10047 went if `shell-command-default-error-buffer' is set (bug#6857).
10048
e47ca23b
KM
100492011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10050
10051 * allout.el (allout-yank-processing): Adjust cursor position for
10052 backwards-deleted space.
10053
10054 (allout-rebullet-heading): Register changes with
10055 allout-exposure-changed-hook, so the modified topic is properly
10056 decorated.
10057
5cf56143
LMI
100582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10059
08549772
LMI
10060 * minibuffer.el (completion-in-region): Document PREDICATE
10061 (bug#7136).
10062
48e96771
LMI
10063 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10064 of keyword/argument pairs (bug#6904).
10065
c8af70e1
SM
10066 * replace.el (multi-occur):
10067 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10068
e17d05e2
LMI
100692011-07-02 Drew Adams <drew.adams@oracle.com>
10070
10071 * dired.el (dired-mark-if): Make the message about whether it's
10072 marking or unmarking clearer (bug#8523).
10073
063b0e45
LMI
100742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10075
10076 * disp-table.el (display-table-print-array): New function.
10077 (describe-display-table): Use it to print the vectors more pretty
10078 (Bug#8859).
10079
28545e04
MR
100802011-07-02 Martin Rudalics <rudalics@gmx.at>
10081
10082 * window.el (window-state-get-1): Don't assign clone numbers.
10083 Add clone-of item to list of window parameters.
10084 (window-state-put-2): Don't process clone numbers.
10085 (display-buffer-alist): Fix doc-string.
10086
3349e122
SM
100872011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * subr.el (remq): Don't allocate if it's not needed.
10090 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10091 (keymap--merge-bindings): New functions.
10092 (keymap-canonicalize): Use them to refine the canonicalization.
10093 * minibuffer.el (minibuffer-local-completion-map)
10094 (minibuffer-local-must-match-map): Move initialization from C.
10095 (minibuffer-local-filename-completion-map): Move initialization from C;
10096 don't inherit from anything here.
10097 (minibuffer-local-filename-must-match-map): Make obsolete.
10098 (completing-read-default): Use make-composed-keymap to combine
10099 minibuffer-local-filename-completion-map with either
10100 minibuffer-local-must-match-map or
10101 minibuffer-local-filename-completion-map.
10102
d224ac83
GM
101032011-07-01 Glenn Morris <rgm@gnu.org>
10104
3de63bf8
GM
10105 * type-break.el (type-break-time-sum): Use dolist.
10106
d224ac83
GM
10107 * textmodes/flyspell.el (flyspell-word-search-backward):
10108 Replace CL function.
10109
1a1e3f32
SM
101102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10111
fe3f64d5
SM
10112 * mouse.el (mouse--strip-first-event): New function.
10113 (function-key-map): Use it to map fringe clicks to normal clicks
10114 by default.
10115
eb604e34
SM
10116 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10117 (vc-bzr-revision-completion-table): Add support for annotate and date.
10118
1a1e3f32
SM
10119 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10120 inherit from parent.
10121
5bd35902
LMI
101222011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10123
ace6c69c 10124 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10125 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10126
191e2bed
LMI
10127 * dired.el (dired-mode): Fix up the doc string as suggested by
10128 Drew Adams (bug#8817).
10129
5bd35902
LMI
10130 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10131 cookie, since the manual says that it should be possible to add
10132 this function to `find-file-hook' (bug#8709).
10133
eee8207a
TZ
101342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10135
10136 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10137 here. Noted Ted Zlatanov as the maintainer.
10138 (cfengine-common-settings, cfengine-common-syntax): New functions
10139 to set up common things between `cfengine-mode' and
10140 `cfengine3-mode'.
10141 (cfengine3-mode): New mode.
10142 (cfengine3-defuns cfengine3-defuns-regex
10143 (cfengine3-class-selector-regex cfengine3-category-regex)
10144 (cfengine3-vartypes cfengine3-font-lock-keywords)
10145 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10146 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10147
36b148cf
MA
101482011-07-01 Michael Albinus <michael.albinus@gmx.de>
10149
10150 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10151
10152 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10153
0bf4ba9a
MR
101542011-07-01 Martin Rudalics <rudalics@gmx.at>
10155
10156 * window.el (same-window-buffer-names, same-window-regexps)
10157 (same-window-p, special-display-frame-alist)
10158 (special-display-popup-frame, special-display-function)
10159 (special-display-buffer-names, special-display-regexps)
10160 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10161 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10162 (split-window-preferred-function, split-height-threshold)
10163 (split-width-threshold, even-window-heights)
10164 (display-buffer-mark-dedicated, window-splittable-p)
10165 (split-window-sensibly, window-safely-shrinkable-p):
10166 Un-obsolete.
10167 (display-buffer): Don't spread args with function specifier
10168 because special-display-popup-frame won't like it.
10169
35837f51
PE
101702011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10171
d0672f86
PE
10172 Time-stamp simplifications and fixes.
10173 These improve accuracy slightly, and future-proof the code
10174 against some potential changes to current-time format.
10175
b9444d97
PE
10176 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10177 by using time-since and float-time.
10178
0ef923dc
PE
10179 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10180 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10181 + NNN microseconds".
10182
2f81380d
PE
10183 * type-break.el (type-break-time-sum): Rewrite using time-add.
10184
845b5c3e
PE
10185 * play/hanoi.el (hanoi-current-time-float): Remove.
10186 All uses replaced by float-time.
10187
ee6f1be0
PE
10188 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10189 This yields a more-accurate answer.
10190 (rng-time-to-float): Remove; no longer needed.
10191
fe955043
PE
10192 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10193
5777162a
PE
10194 * calendar/timeclock.el (timeclock-seconds-to-time):
10195 Defalias to seconds-to-time, since they're the same thing.
10196
3103f8b6 10197 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10198 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10199 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10200
0e61a35f
SM
102012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * window.el (bury-buffer): Don't iconify the only frame.
10204 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10205 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10206
ddd63a1e
CY
102072011-07-01 Chong Yidong <cyd@stupidchicken.com>
10208
0e61a35f
SM
10209 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10210 Add mouse-yank-primary.
ddd63a1e 10211
055f4923
TZ
102122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10213
10214 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10215
6a2fb145
SM
102162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10219 (find-library-name): Use it to find relative load names when provided
10220 absolute file name (bug#8803).
10221
fd4983f2
LMI
102222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10223
887d14ad
LMI
10224 * textmodes/flyspell.el (flyspell-word): Consider words that
10225 differ only in case as potential doublons (bug#5687).
10226
c53dc7fc
LMI
10227 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10228 Remove two rather uninteresting debugging-like messages to make
10229 debbugs.el more silent.
10230
fd4983f2
LMI
10231 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10232 a password-like phrase.
10233
7a71b18d 102342011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10235
10236 * progmodes/cc-guess.el: New file.
10237
6a2fb145 10238 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10239
10240 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10241 derived from `c-basic-common-init'.
10242
10243 * progmodes/cc-mode.el (top-level): Require cc-guess.
10244 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10245
1fa280a3
LM
102462011-06-30 Lawrence Mitchell <wence@gmx.li>
10247
10248 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10249
e6597158
AM
102502011-06-30 Alan Mackenzie <acm@muc.de>
10251
1fa280a3
LM
10252 * progmodes/cc-engine.el (c-guess-continued-construct):
10253 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10254 lock is disabled. Name this case as "CASE G".
10255
68ba37fb
KM
102562011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10257
10258 * allout.el (allout-yank-processing): Fix injection of extra space
10259 between bullet and non-whitespace character in first topic when
10260 pasting, ensuring that the actual spacing in the pasted topic
10261 following the bullet char is preserved. This extra space was
10262 causing pasted encrypted topics to get a decrypted status even
10263 when the content was actually still encrypted. Now the decryption
10264 status from before the paste is preserved.
10265
10266 (allout-flag-region): Set all allout overlays so they evaporate
10267 when reduced to zero length (evanescent), to prevent overlay
10268 leakage.
10269
887a0b34
GM
102702011-06-30 Glenn Morris <rgm@gnu.org>
10271
94b9acce
GM
10272 * w32-fns.el (w32-charset-info-alist): Declare.
10273
1d9b46d4
GM
10274 * find-dired.el (find-grep-options): Simplify.
10275
cc232200
GM
10276 * term/ns-win.el (ns-set-resource): Declare.
10277
28e77c46
GM
10278 * ses.el (row, col): Declare dynamic variables honestly.
10279
887a0b34
GM
10280 * textmodes/reftex-parse.el (index-tags): Declare.
10281
658d8eb8
CY
102822011-06-30 Chong Yidong <cyd@stupidchicken.com>
10283
10284 * cus-edit.el (customize-push-and-save): New function.
10285
10286 * files.el (hack-local-variables-confirm): Use it.
10287
1fa280a3
LM
10288 * custom.el (load-theme): New arg NO-CONFIRM.
10289 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10290 (custom-enabled-themes): Doc fix.
10291
10292 * cus-theme.el (customize-create-theme)
10293 (custom-theme-merge-theme): Callers to load-theme changed.
10294
bb617717
LMI
102952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10296
d61bdd5d
LMI
10297 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10298 short URLs have at least one dot in them (bug #7614).
10299
bb617717
LMI
10300 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10301 nil, because using a pty is apparently too slow (bug #895).
10302
2f31f37a
LMI
103032011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10304
10305 * mail/sendmail.el (sendmail-query-once): New function.
10306 (sendmail-query-once-function): New variable.
10307
3076b24e
GM
103082011-06-29 Glenn Morris <rgm@gnu.org>
10309
faf2a174
GM
10310 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10311
3076b24e
GM
10312 * ses.el (top-level): Require cl when compiling.
10313 (ses-set-localvars): Fix error statement.
10314 Call it at compile time to silence a storm of warnings.
10315
5386012d
MR
103162011-06-29 Martin Rudalics <rudalics@gmx.at>
10317
10318 * window.el (normalize-live-buffer): Rename to
10319 window-normalize-buffer.
10320 (normalize-live-frame): Rename to window-normalize-frame.
10321 (normalize-any-window): Rename to window-normalize-any-window.
10322 (normalize-live-window): Rename to window-normalize-live-window.
10323 (make-window-atom): Rename to window-make-atom.
10324 (window-resize-reset): Rename to window--resize-reset.
10325 (window-resize-reset-1): Rename to window--resize-reset-1.
10326 (resize-mini-window): Rename to window--resize-mini-window.
10327 (resize-subwindows-skip-p): Rename to
10328 window--resize-subwindows-skip-p.
10329 (resize-subwindows-normal): Rename to
10330 window--resize-subwindows-normal.
10331 (resize-subwindows): Rename to window--resize-subwindows.
10332 (resize-other-windows): Rename to window--resize-siblings.
10333 (resize-this-window): Rename to window--resize-this-window.
10334 (resize-root-window): Rename to window--resize-root-window.
10335 (resize-root-window-vertically): Rename to
10336 window--resize-root-window-vertically.
10337 (normalize-buffer-to-display): Rename to
10338 window-normalize-buffer-to-display.
10339 (normalize-buffer-to-switch-to): Rename to
10340 window-normalize-buffer-to-switch-to.
10341 Correspondingly update all callers of the functions listed
10342 above.
10343 (display-buffer-alist, display-buffer-normalize-arguments)
10344 (display-buffer-normalize-options, display-buffer)
10345 (display-buffer-alist-set): Use "function" instead of
10346 "fun-with-args".
10347
1176868d
CY
103482011-06-28 Chong Yidong <cyd@stupidchicken.com>
10349
10350 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10351 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10352 debbugs.gnu.org. Mention acknowledgment email.
10353
20a7a65f
LMI
103542011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10355
10356 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10357 buffer multibyteness, since it shouldn't matter.
10358
5f45cca5
MR
103592011-06-28 Martin Rudalics <rudalics@gmx.at>
10360
10361 * window.el (display-buffer-in-side-window): Handle dedicated
10362 windows as in display-buffer-reuse-window.
10363 (display-buffer-normalize-alist): Use value of override
10364 specifier.
10365 (display-buffer-normalize-specifiers): Use value of
10366 other-window-means-other-frame specifier.
10367 (display-buffer-alist): Rewrite some texts in widgets.
10368 (display-buffer): Spread arguments when calling function
10369 specified by fun-with-args.
10370
ad85fe1f
DD
103712011-06-28 Deniz Dogan <deniz@dogan.se>
10372
1fa280a3
LM
10373 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10374 Unnest `let'.
da68c4c8 10375
ad85fe1f
DD
10376 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10377 selectors (Bug#5732).
ec49bd31 10378 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10379
a08cc025
JA
103802011-06-27 Jari Aalto <jari.aalto@cante.net>
10381
10382 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10383 (eshell-ls-date-format): New defcustom.
10384 (eshell-ls-file): Use it.
10385
e2b551c5
SM
103862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10389
8982b231
KY
103902011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10391
10392 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10393 (ange-ftp-make-tmp-name): New arg.
10394 (ange-ftp-file-local-copy): Use it.
10395
36c9fa27
J
103962011-06-27 Jambunathan K <kjambunathan@gmail.com>
10397
10398 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10399 no-conversion (Bug#8870).
10400
d68443dc
MR
104012011-06-27 Martin Rudalics <rudalics@gmx.at>
10402
10403 * window.el (window-right, window-left, window-child)
10404 (window-child-count, window-last-child)
10405 (window-iso-combination-p, walk-window-tree-1)
10406 (window-atom-check-1, window-tree-1, delete-window)
10407 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10408 new naming conventions - window-vchild, window-hchild,
10409 window-next and window-prev are now called window-top-child,
10410 window-left-child, window-next-sibling and window-prev-sibling
10411 respectively.
d615d6d2
MR
10412 (resize-window-reset): Rename to window-resize-reset.
10413 (resize-window-reset-1): Rename to window-resize-reset-1.
10414 (resize-window): Rename to window-resize.
10415 (window-min-height, window-min-width)
10416 (resize-mini-window, resize-this-window, resize-root-window)
10417 (resize-root-window-vertically, adjust-window-trailing-edge)
10418 (enlarge-window, shrink-window, maximize-window)
10419 (minimize-window, delete-window, quit-restore-window)
10420 (split-window, balance-windows, balance-windows-area-adjust)
10421 (balance-windows-area, window-state-put-2)
10422 (display-buffer-even-window-sizes, display-buffer-set-height)
10423 (display-buffer-set-width, set-window-text-height)
10424 (fit-window-to-buffer): Rename all "resize-window" prefixed
10425 calls to use the "window-resize" prefix convention.
10426 (display-buffer-alist): Fix symbol for label specifier.
10427 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10428 corresponding specifier.
10429 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10430
b6458526
VB
104312011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10432
10433 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10434 convention.
10435 (ses-call-printer): Does not pass an empty string to formatter when the
10436 cell is empty to keep from barking printer Calc math-format-value.
10437
d31fd9ac
RS
104382011-06-27 Richard Stallman <rms@gnu.org>
10439
43d5bf84
RS
10440 * battery.el (battery-mode-line-limit): New variable.
10441 (battery-update): Handle it.
10442
d31fd9ac
RS
10443 * mail/rmailmm.el (rmail-mime-process-multipart):
10444 Handle truncated messages.
10445
819a6054
GM
104462011-06-27 Glenn Morris <rgm@gnu.org>
10447
10448 * progmodes/flymake.el (flymake-err-line-patterns):
10449 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10450
cedc73f2
VB
104512011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10452
819a6054 10453 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10454 (ses--clean-!, ses--clean-_): New functions.
10455 (ses-range): Add configurability of readout order, and conversion
10456 to Calc vector.
10457
5e5d49b6
VB
10458 * ses.el (ses-repair-cell-reference-all): New function.
10459 (ses-cell-symbol): Set macro as safe, so that it can be used in
10460 formulas.
10461
56e6cc31 10462 * ses.el: Update cycle detection algorithm.
90ca8b49 10463 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10464 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10465 (ses-set-localvars): New function.
10466 (ses-make-cell): Add property-list as a cell element.
10467 (ses-cell-property-get-fun, ses-cell-property-get)
10468 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10469 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10470 New functions.
90ca8b49
VB
10471 (ses-cell-property-set, ses-cell-property-pop)
10472 (ses-cell-property-get-handle): New macro.
10473 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10474 New aliases, used for code readability.
10475 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10476 cycle detection.
10477 (ses-self-reference-early-detection): New defcustom.
fac916bf 10478 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10479 (ses-mode): Use ses-set-localvars.
10480 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10481 before lauching the update processing.
10482 (ses-initialize-Dijkstra-attempt): New function.
10483 (ses-recalculate-cell): Update for cycle detection based on
10484 Dijkstra algorithm.
10485
2bb63e81
VB
10486 * ses.el: Fix commenting and indenting convention.
10487
c9d29fb8
SM
104882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * bs.el (bs-cycle-next): Complete last change.
10491
d8e4b68b
JB
104922011-06-27 Drew Adams <drew.adams@oracle.com>
10493
10494 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10495
40098786
LMI
104962011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10497
c9d29fb8
SM
10498 * net/network-stream.el (network-stream-open-starttls):
10499 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10500 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10501
40098786
LMI
10502 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10503 to binary to possibly avoid line encoding issues on Windows (among
10504 other things).
10505
468d09d4
LMI
105062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10507
10508 * net/network-stream.el (open-network-stream): Return an :error
10509 saying what the problem was, if possible.
10510
10511 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10512 server.
10513
10514 * net/network-stream.el (network-stream-open-starttls): If we
10515 wanted to use STARTTLS, and the server offered it, but we weren't
10516 able to because we had no STARTTLS support, then close the connection.
10517 (open-network-stream): Return an :error element, if present.
10518
16f07dd7
CY
105192011-06-26 Chong Yidong <cyd@stupidchicken.com>
10520
88821ca0
CY
10521 * hl-line.el (hl-line-sticky-flag): Doc fix.
10522 (global-hl-line-sticky-flag): New option (Bug#8323).
10523 (global-hl-line-highlight): Obey it.
10524
16f07dd7
CY
10525 * vc/vc.el (vc-revert-show-diff): Default to t.
10526
6b5ccddf
KM
105272011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10528
c9d29fb8
SM
10529 * allout-widgets.el (allout-widgets-post-command-business):
10530 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10531 undecorated when an isearch is continued past, and isearch
10532 automatically collapses them. This leads to "widget leaks", where
10533 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10534 hidden widgets can slow down cursor travel, substantially.
10535 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10536 so we're doing without this nicety.
10537
10538 (allout-widgets-tally-string): Don't try to do a hash-table-count
10539 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10540 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10541 *Messages* when allout-widgets-maintain-tally is t.
10542
355f2e07
MR
105432011-06-26 Martin Rudalics <rudalics@gmx.at>
10544
10545 * window.el (display-buffer-normalize-argument): Rename to
10546 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10547 LABEL argument. Respect special-display-function when popping up
10548 a new frame. Fix code searching for a window showing the buffer
10549 on another frame.
c9d29fb8
SM
10550 (display-buffer-normalize-specifiers):
10551 Call display-buffer-normalize-arguments.
355f2e07
MR
10552 (display-buffer-in-window): Don't undedicate the window if its
10553 buffer remains the same.
10554 Reported by Drew Adams <drew.adams@oracle.com>.
10555 (display-buffer-alist): Add choice for same-window macro
10556 specfier.
10557 (display-buffer): Mention special meaning of LABEL argument in
10558 doc-string. Fix quoting. Don't pop up a new frame even as
10559 fallback.
10560
7ca8fc42
JB
105612011-06-26 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10564 avoid deleting the current window in some cases (bug#8911).
10565
bc312254
AS
105662011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10567
10568 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10569 (Bug#8934)
10570
2db18f3f
LMI
105712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
c9d29fb8
SM
10573 * net/network-stream.el (network-stream-open-starttls):
10574 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10575 (network-stream-open-tls): Ditto.
10576
6302e0d3
LL
105772011-06-26 Leo Liu <sdl.web@gmail.com>
10578
10579 * register.el (registerv): New struct.
10580 (registerv-make): New function.
c9d29fb8
SM
10581 (jump-to-register, describe-register-1, insert-register):
10582 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10583 struct. (Bug#8415)
10584
5fdd4046
CY
105852011-06-26 Chong Yidong <cyd@stupidchicken.com>
10586
2afef60a
CY
10587 * vc/vc.el (vc-revert-show-diff): New defcustom.
10588 (vc-diff-internal): New arg specifying diff buffer.
10589 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10590 reuse an existing *vc-diff* buffer (Bug#8927).
10591
5fdd4046
CY
10592 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10593
e93db24a
GM
105942011-06-26 Glenn Morris <rgm@gnu.org>
10595
10596 * progmodes/f90.el (f90-critical-indent): New option.
10597 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10598 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10599 (f90-mode): Doc fix.
10600 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10601 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10602 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10603 (f90-match-end): Handle block, critical.
10604
eefff499
GM
106052011-06-25 Glenn Morris <rgm@gnu.org>
10606
f6ba4cc9
GM
10607 * calendar/diary-lib.el (diary-included-files): Doc fix.
10608 (diary-include-files): New function, extracted from
10609 diary-include-other-diary-files and diary-mark-included-diary-files.
10610 (diary-include-other-diary-files, diary-mark-included-diary-files):
10611 Just call diary-include-files.
10612 (diary-mark-entries): Reset diary-included-files on first call.
10613
16712304
GM
10614 * calendar/diary-lib.el (diary-mark-entries)
10615 (diary-mark-included-diary-files):
10616 Visit included diary-files in temp buffers.
10617
5d8e0d43
GM
10618 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10619 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10620 (f90-start-block-re, f90-imenu-generic-expression)
10621 (f90-looking-at-program-block-start, f90-no-block-limit):
10622 Add support for submodules.
10623
ccf7a5d5
GM
10624 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10625 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10626
11fdef7d 106272011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10628
10629 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10630 buffer-file-type before setting its value, to avoid disastrous
eefff499 10631 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10632
74f53697
JB
106332011-06-25 Juanma Barranquero <lekktu@gmail.com>
10634
10635 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10636
10637 * ses.el (ses-unload-function):
10638 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10639
10640 * proced.el (proced-unload-function):
10641 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10642
18a4ce5e
AR
106432011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10644
10645 * server.el (server-create-window-system-frame): Add parameters arg.
10646 (server-process-filter): Doc fix. Handle frame-parameters.
10647
519d22cc
JB
106482011-06-25 Juanma Barranquero <lekktu@gmail.com>
10649
10650 Fix bug#8730, bug#8781.
10651
10652 * loadhist.el (unload--set-major-mode): New function.
10653 (unload-feature): Use it.
10654
10655 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10656 (python-unload-function): New function.
10657
c206f5b0
SM
106582011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10661
f9ad64f3
GS
106622011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10663
10664 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10665 the candidates list.
10666
7d0da90e
JB
106672011-06-24 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10670
14b4e83d
RS
106712011-06-23 Richard Stallman <rms@gnu.org>
10672
10673 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10674 (rmail-variables): Set next-error-move-function.
10675 (rmail-what-message): Take argument POS.
10676 (rmail-next-error-move): New function.
10677
273d2baf
SM
106782011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10681 messages for adjacent non-terminals.
10682
56c2cc9a
RS
106832011-06-23 Richard Stallman <rms@gnu.org>
10684
10685 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10686 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10687 (rmail-start-mail): Don't specify use of rmail-mail-return;
10688 that's done by mail-bury now.
10689 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10690
d59eb518
MA
106912011-06-23 Michael Albinus <michael.albinus@gmx.de>
10692
10693 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10694 SIZE is a number.
10695
02cfc6d6
MR
106962011-06-23 Martin Rudalics <rudalics@gmx.at>
10697
10698 * window.el (get-lru-window, get-mru-window)
10699 (get-largest-window): Never return a minibuffer window.
10700 (display-buffer-pop-up-window): Fix a bug that could lead to
10701 reusing the minibuffer window.
10702 (display-buffer): Pass original specifier argument to
10703 display-buffer-function instead of the normalized one.
10704 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10705
4e323265
LL
107062011-06-22 Leo Liu <sdl.web@gmail.com>
10707
10708 * minibuffer.el (completing-read-function)
10709 (completing-read-default): Move from minibuf.c
10710
7a70468f
RS
107112011-06-22 Richard Stallman <rms@gnu.org>
10712
50718fc2
RS
10713 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10714 to Rmail even if not started by a special Rmail command.
10715
7a70468f
RS
10716 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10717 Copy the buffer currently showing just one message.
10718
297dde5a
RW
107192011-06-22 Roland Winkler <winkler@gnu.org>
10720
10721 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10722 (bibtex-clean-entry): First delete the old key so that a
10723 customized algorithm for generating the new key does not get
10724 confused by the old key.
10725 (bibtex-url): Obey regexp of first step.
10726 (bibtex-search-entries): Do not use add-to-list with local
10727 list-var.
10728
97bb1093
LMI
107292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10730
10731 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10732 stored a user name, then query for the password first, instead of
10733 waiting for SMTP to give an error message and the trying again.
10734
1c0f1a19
JD
107352011-06-22 Lawrence Mitchell <wence@gmx.li>
10736
10737 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10738 BUFFER in call-process.
10739
396f7c9d
LMI
107402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10741
10742 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10743 QUIT twice.
ddb7ffee
LMI
10744 (smtpmail-try-auth-methods): Require user name and password from
10745 auth-source.
396f7c9d 10746
8998d1b3
MR
107472011-06-22 Martin Rudalics <rudalics@gmx.at>
10748
10749 * window.el (display-buffer-default-specifiers)
10750 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10751 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10752 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10753
10754 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10755 (special-display-frame-alist, special-display-popup-frame):
10756 Remove duplicate declarations. These are now in window.el.
10757
4ea31e07
LMI
107582011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10759
c9d29fb8
SM
10760 * mail/smtpmail.el (smtpmail-via-smtp):
10761 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10762 server supports it. SMTP servers that support STARTTLS commonly
10763 require it.
10764
10765 * net/network-stream.el (network-stream-open-starttls): Support
10766 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10767 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10768
95f41d9a
LMI
10769 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10770 upgrades with `open-network-stream', and rely solely on
10771 auth-source for all credentials. Big changes throughout the file,
10772 but in particular:
c9d29fb8
SM
10773 (smtpmail-auth-credentials): Remove.
10774 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10775 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10776 MAIL FROM, too.
95f41d9a 10777
c9d29fb8
SM
10778 * net/network-stream.el (network-stream-open-starttls):
10779 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10780 STARTTLS.
10781 (auth-source): Require.
10782 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10783 (network-stream-certificate): Change cert-cert to cert and
10784 cert-key to key.
4ea31e07 10785
065ec2c7
MA
107862011-06-21 Michael Albinus <michael.albinus@gmx.de>
10787
10788 * net/tramp-cache.el (top): Don't load the persistency file when
10789 "emacs -Q" has been called.
10790
cd93b359
DR
107912011-06-21 Tim Harper <timcharper@gmail.com>
10792
d8e4b68b
JB
10793 * term/ns-win.el (ns-initialize-window-system):
10794 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10795 resource to NO as it is not yet supported by the NS port.
10796
ae9c0411
JB
107972011-06-21 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10800 (list-dynamic-libraries): ...not here.
10801
7f3f739f
LL
108022011-06-21 Leo Liu <sdl.web@gmail.com>
10803
10804 * subr.el (sha1): Implement sha1 using secure-hash.
10805
327c8fb1
MR
108062011-06-21 Martin Rudalics <rudalics@gmx.at>
10807
10808 * window.el (display-buffer-alist): In default value do not
10809 enforce searching a window on any but the selected frame.
10810 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10811 (display-buffer-select-window): Remove function.
10812 (display-buffer-in-window): When a window on another frame gets
10813 reused, do not select it any more but just raise its frame if
10814 necessary (Bug#8851) and (Bug#8856).
10815 (display-buffer-normalize-options): Handle pop-up-frames related
10816 options more faithfully.
10817 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10818 window if it is on another frame.
c9d29fb8
SM
10819 (display-buffer-alist, display-buffer-default-specifiers):
10820 Don't make new frame unsplittable by default.
9e9de014
MR
10821 (display-buffer-normalize-argument): Fix doc-string typo and use
10822 'same-frame-other-window instead of 'other-window when associating
10823 with display-buffer-macro-specifiers.
327c8fb1 10824
7cf3f556
VB
108252011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10826
10827 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10828 New functions.
10829 (5x5-mode-map, 5x5-mode-menu): Bind them.
10830 (5x5-draw-grid): Tweak the solver's rendering.
10831
60a406cf
SM
108322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10835 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10836
d8e4b68b 108372011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10838
10839 * menu-bar.el: Use function variable instead of switch-to-buffer.
10840 (menu-bar-select-buffer-function): New variable.
60a406cf 10841 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10842
478d6f95
SM
108432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10846 variable's status.
10847
ca530739
JD
108482011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10849
10850 * x-dnd.el (x-dnd-version-from-flags)
10851 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10852 and long as number (Bug#8899).
10853 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10854
bcd70d97
SM
108552011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10856
60a406cf 10857 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10858 (completion-try-completion, completion-all-completions): Compute the
10859 metadata argument if it's missing; make it optional (bug#8795).
10860
60a406cf 10861 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10862 (widget-complete): Use new :completion-function property.
10863 (widget-completions-at-point): New function.
10864 (default): Use :completion-function instead of :complete.
60a406cf
SM
10865 (widget-default-completions): Rename from widget-default-complete;
10866 Rewrite.
bcd70d97
SM
10867 (widget-string-complete, widget-file-complete, widget-color-complete):
10868 Remove functions.
10869 (file, symbol, function, variable, coding-system, color):
10870 * international/mule-cmds.el (default-input-method, charset)
10871 (language-info-custom-alist):
10872 * cus-edit.el (face): Use new property :completions.
10873
10874 * progmodes/pascal.el (pascal-completions-at-point): New function.
10875 (pascal-mode): Use it.
10876 (pascal-mode-map): Use completion-at-point.
10877 (pascal-toggle-completions): Make obsolete.
10878 (pascal-complete-word, pascal-show-completions):
10879 * progmodes/octave-mod.el (octave-complete-symbol):
10880 Redefine as obsolete alias.
10881 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10882 Signal absence of completion info for old Octave,
10883 (inferior-octave-complete): Redefine as obsolete alias.
10884 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10885 (meta-completions-at-point): Rename from meta-complete-symbol and
10886 adapt it for use on completion-at-point-functions.
10887 (meta-common-mode): Use it.
10888 (meta-looking-at-backward, meta-match-buffer): Remove.
10889 (meta-complete-symbol): Redefine as obsolete alias.
10890 (meta-common-mode-map): Use completion-at-point.
10891 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10892 (makefile-mode-map): Use completion-at-point.
10893 (makefile-completions-at-point): Rename from makefile-complete and
10894 adapt it for use on completion-at-point-functions.
10895 (makefile-mode): Use it.
10896 (makefile-complete): Redefine as obsolete alias.
10897
aebf69c8
DD
108982011-06-20 Deniz Dogan <deniz@dogan.se>
10899
10900 * net/rcirc.el: Delete trailing whitespaces once and for all.
10901
bfbbb27d
DC
109022011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10903
10904 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10905
d264a46b
CY
109062011-06-19 Chong Yidong <cyd@stupidchicken.com>
10907
4ca009e5
CY
10908 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10909
d264a46b
CY
10910 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10911
fbf5b3ce
MR
109122011-06-19 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (display-buffer-other-window-means-other-frame):
10915 Call display-buffer-normalize-alist.
10916 (display-buffer-normalize-specifiers-1): Rename to
10917 display-buffer-normalize-argument. New argument other-frame.
10918 Rewrite.
10919 (display-buffer-normalize-specifiers-2): Rename to
10920 display-buffer-normalize-options.
10921 (display-buffer-normalize-alist-1): New function.
10922 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10923 display-buffer-normalize-alist.
10924 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10925 (display-buffer-normalize-options-inhibit): New variable.
10926 (display-buffer-normalize-specifiers): Rewrite calling
10927 display-buffer-normalize-alist,
10928 display-buffer-normalize-argument, and
10929 display-buffer-normalize-options. Don't call the latter if
10930 display-buffer-normalize-options-inhibit is non-nil.
10931 (frame-auto-delete): New option.
10932 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10933 (window-list-no-nils, window-state-ignored-parameters)
10934 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10935 (window-state-put-1, window-state-put-2, window-state-put):
10936 New functions.
9a028c23
MR
10937 (display-buffer-normalize-options): Move special-display-p group
10938 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10939
6d10d800
CY
109402011-06-18 Chong Yidong <cyd@stupidchicken.com>
10941
6420d28b
CY
10942 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10943 groups (Bug#8776).
10944 (rx-submatch-n): New function.
10945 (rx): Document it.
10946
ddb8b596
CY
10947 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10948 (Bug#8768).
10949
10950 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10951
77080289
CY
10952 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10953
61dfb316
CY
10954 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10955 anytime existing face settings are present (Bug#8889).
10956
6d10d800
CY
10957 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10958 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10959 Remove unused argument.
10960
be3fb2b8
MR
109612011-06-18 Martin Rudalics <rudalics@gmx.at>
10962
bcd70d97
SM
10963 * window.el (display-buffer-default-specifiers):
10964 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10965 pop-up-window-min-width, and another reuse-window specifier
10966 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10967 (display-buffer-normalize-specifiers-2):
10968 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10969 pop-up-windows is unset. Add a reuse-window specifier for the
10970 case popping up a new window fails.
10971 (special-display-popup-frame): Remove double quoting.
28dec25a 10972 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10973
1c6d8c76
SM
109742011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10977 according to comint-completion-addsuffix.
10978
10979 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10980 (pcomplete-suffix-list): Mark as obsolete.
10981 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10982 pcomplete-seen in the closure.
10983 (pcomplete-comint-setup): Setup completion-at-point as well.
10984 (pcomplete--entries): New function.
10985 (pcomplete--env-regexp): New var.
10986 (pcomplete-entries): Rewrite to work with partial-completion and
10987 without relying on pcomplete-suffix-list.
10988 (pcomplete-pare-list): Remove, unused.
10989
25aef8b8
MR
109902011-06-17 Martin Rudalics <rudalics@gmx.at>
10991
10992 * window.el (display-buffer-alist): Set pop-up-window-min-height
10993 and pop-up-window-min-width in default value. Reported by
10994 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10995 other-window-means-other-frame.
10996 (display-buffer-macro-specifiers): Comment out entry for
10997 other-window specifier.
10998 (display-buffer-other-window-means-other-frame): New function.
10999 (display-buffer-normalize-specifiers-1): New arguments
11000 buffer-name and label. Treat other-window case specially.
11001 (display-buffer-normalize-specifiers-2): Treat other-window case
11002 specially.
11003 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11004 (display-buffer-normalize-specifiers):
11005 Call display-buffer-normalize-specifiers-3.
25aef8b8 11006
dbad4f69
MR
110072011-06-17 Martin Rudalics <rudalics@gmx.at>
11008
11009 * window.el (same-window-p): Fix two typos introduced when
11010 adding with-no-warnings.
d1067961
MR
11011 (display-buffer-normalize-specifiers-1): Don't check
11012 pop-up-frames for 'unset initialization.
11013 (display-buffer-normalize-specifiers-2): Major rewrite using
11014 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11015 (pop-up-frames, display-buffer-reuse-frames)
11016 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11017 Suggested by David Engster <deng@randomsample.de>.
11018 (even-window-heights): Initialize to 'unset.
11019 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11020 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11021 other window case.
dbad4f69 11022
9b9c9e3a
MR
110232011-06-16 Martin Rudalics <rudalics@gmx.at>
11024
bcd70d97
SM
11025 * window.el (display-buffer-normalize-specifiers-1):
11026 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11027 second argument of display-buffer (Bug#8865).
981d5c09
MR
11028 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11029 (switch-to-buffer-other-window-same-frame)
11030 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11031 Adams (Bug#8875).
9c2755e9
MR
11032 (display-buffer): Don't check noninteractive when calling
11033 display-buffer-pop-up-frame.
11034 (display-buffer-pop-up-frame): Never pop up a frame in
11035 noninteractive mode (Bug#8857).
67222e1d
MR
11036 (enlarge-window, shrink-window): Don't report an error when the
11037 window can't be resized as requested (Bug#8862).
9b9c9e3a 11038
2b75be67
SM
110392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11040
9ffdd3ba
SM
11041 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11042
cb581a67
SM
11043 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11044
2b75be67
SM
11045 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11046
8c0e3589
AM
110472011-06-15 Alan Mackenzie <acm@muc.de>
11048
cb581a67
SM
11049 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11050 for declarators, disable knr checking to speed up for normal files.
11051 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11052
b96e6cde
LMI
110532011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11054
4bba86e6
LMI
11055 * net/network-stream.el (open-network-stream): Add the keyword
11056 :always-query-capabilities for the case where you want to force a
11057 `plain' network connection, but the protocol still requires the
11058 capabilitiy command (i.e., SMTP and EHLO).
11059
2b75be67 11060 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11061 consistency with other `-live-p' functions.
11062
efdcdbf8
SM
110632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * window.el (same-window-buffer-names, same-window-regexps)
11066 (special-display-frame-alist, special-display-popup-frame)
11067 (special-display-function, special-display-buffer-names)
11068 (special-display-regexps, pop-up-frame-alist)
11069 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11070 (pop-up-windows, split-window-preferred-function)
11071 (split-height-threshold, split-width-threshold, even-window-heights)
11072 (display-buffer-mark-dedicated): Don't encourage the use of
11073 display-buffer-alist from Elisp code.
11074
c5cde042
DN
110752011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11076
11077 * progmodes/python.el (python-mode): Derive from prog-mode.
11078 * progmodes/ps-mode.el (ps-mode):
11079 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11080 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11081 * progmodes/ld-script.el (ld-script-mode): Likewise.
11082
baa1c9ab
MR
110832011-06-15 Martin Rudalics <rudalics@gmx.at>
11084
11085 * window.el (display-buffer-alist): Trim default value to avoid
11086 popping up a new frame (Bug#8857) or reusing an arbitrary window
11087 on another frame.
11088 (display-buffer): Do not fall back on popping up a new frame in
11089 batch mode (Bug#8857).
11090
c5dd5a51
CY
110912011-06-14 Chong Yidong <cyd@stupidchicken.com>
11092
11093 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11094 (custom-theme-summary): New function.
11095 (customize-themes): Use it.
11096
d647b7c4
GM
110972011-06-13 Glenn Morris <rgm@gnu.org>
11098
11099 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11100
9481c002
MR
111012011-06-13 Martin Rudalics <rudalics@gmx.at>
11102
357f93d2
MR
11103 * help.el (help-window): Remove variable.
11104 (help-window-point-marker, temp-buffer-max-height)
11105 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11106 (help-print-return-message): Don't set help-window.
11107 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11108 (help-window-setup-finish): Remove.
11109 (help-window-display-message, help-window-setup)
11110 (with-help-window): Major rewrite based on new
11111 display-buffer-window variable.
11112
11113 * help-mode.el (help-mode-finish): Remove help-window related
11114 code.
11115
11116 * view.el (view-exits-all-viewing-windows): Remove reference to
11117 view-return-to-alist in doc-string.
11118 (view-return-to-alist): Make obsolete.
11119 (view-buffer): Call pop-to-buffer-same-window and remove
11120 undo-window code.
11121 (view-buffer-other-window): Call pop-to-buffer-other-window and
11122 simplify code. Ignore second argument.
11123 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11124 simplify code. Ignore second argument.
11125 (view-return-to-alist-update): Make obsolete.
11126 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11127 Rewrite using quit-restore window parameters.
2b75be67
SM
11128 (view-mode-exit): Rename second argument to EXIT-ONLY.
11129 Rewrite using quit-restore-window.
357f93d2
MR
11130 (View-exit, View-exit-and-edit, View-leave, View-quit)
11131 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11132 appropriate arguments.
11133 (view-end-message): Use quit-restore window parameter.
11134
9481c002
MR
11135 * window.el (display-buffer-function): Rewrite doc-string.
11136 (display-buffer-window, display-buffer-alist): New variables.
11137 (display-buffer-split-specifiers)
11138 (display-buffer-side-specifiers)
11139 (display-buffer-macro-specifiers): New constants.
11140 (display-buffer-even-window-sizes, display-buffer-set-height)
11141 (display-buffer-set-width, display-buffer-select-window)
11142 (display-buffer-in-window, display-buffer-reuse-window)
11143 (display-buffer-split-window-1, display-buffer-split-window)
11144 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11145 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11146 (display-buffer-in-side-window, normalize-buffer-to-display)
11147 (display-buffer-normalize-specifiers-1)
11148 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11149 (display-buffer-normalize-specifiers, display-buffer-frame):
11150 New functions.
9481c002
MR
11151 (display-buffer): Major rewrite.
11152 (display-buffer-other-window, display-buffer-other-frame)
11153 (pop-to-buffer, switch-to-buffer-other-window)
11154 (switch-to-buffer-other-frame): Rewrite.
11155 (display-buffer-same-window, display-buffer-same-frame)
11156 (display-buffer-same-frame-other-window)
11157 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11158 (pop-to-buffer-other-window)
11159 (pop-to-buffer-same-frame-other-window)
11160 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11161 (switch-to-buffer-other-window-same-frame): New functions.
11162 (same-window-p, special-display-p): Rewrite disabling warnings.
11163 Make obsolete.
11164 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11165 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11166 Make obsolete
11167 (same-window-buffer-names, same-window-regexps)
11168 (special-display-frame-alist, special-display-popup-frame)
11169 (special-display-function, special-display-buffer-names)
11170 (special-display-regexps, pop-up-frame-alist)
11171 (pop-up-frame-function, split-window-preferred-function)
11172 (split-height-threshold, split-width-threshold)
11173 (even-window-heights): Make obsolete.
11174
9db51aca
GM
111752011-06-12 Glenn Morris <rgm@gnu.org>
11176
11177 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11178 Misc simplifications.
9db51aca 11179
39cffb44
MR
111802011-06-12 Martin Rudalics <rudalics@gmx.at>
11181
11182 * window.el (window-safely-shrinkable-p): Restore function which
11183 was inadvertently removed in change from 2011-06-11. Declare as
11184 obsolete.
11185
2b75be67
SM
11186 * calendar/calendar.el (calendar-generate-window):
11187 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11188 window-safely-shrinkable-p.
11189
a8955be7
GM
111902011-06-12 Glenn Morris <rgm@gnu.org>
11191
11192 * progmodes/fortran.el (fortran-mode-syntax-table):
11193 * progmodes/f90.el (f90-mode-syntax-table):
11194 Set % to punctuation. (Bug#8820)
11195 (f90-find-tag-default): Remove, no longer needed.
11196
f0d4059d
DC
111972011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11198
11199 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11200
1100a63c
CY
112012011-06-11 Chong Yidong <cyd@stupidchicken.com>
11202
11203 * image.el (image-animated-p): Return animation delay in seconds.
11204 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11205 (image-animate-timeout): Remove DELAY argument. Don't assume
11206 every subimage has the same delay; get it from image-animated-p.
11207 (image-animate): Caller changed.
11208
def722bf
MA
112092011-06-11 Michael Albinus <michael.albinus@gmx.de>
11210
11211 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11212 to ignored backtrace functions.
11213
0a2bb1a9
GM
112142011-06-11 Glenn Morris <rgm@gnu.org>
11215
11216 * calendar/appt.el (appt-disp-window-function): Doc fix.
11217 (appt-check): Handle overlapping appointments. (Bug#8337)
11218
6198ccd0
MR
112192011-06-11 Martin Rudalics <rudalics@gmx.at>
11220
11221 * window.el (window-tree-1, window-tree): New functions, moving
11222 the latter to window.el.
11223 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11224 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11225 (bw-refresh-edges): Remove.
11226 (balance-windows-1, balance-windows-2): New functions.
11227 (balance-windows): Rewrite in terms of window tree functions,
11228 balance-windows-1 and balance-windows-2.
11229 (bw-adjust-window): Remove.
11230 (balance-windows-area-adjust): New function with functionality of
11231 bw-adjust-window but using resize-window.
2b75be67
SM
11232 (set-window-text-height): Rewrite doc-string.
11233 Use normalize-live-window and resize-window.
11234 (enlarge-window-horizontally, shrink-window-horizontally):
11235 Rename argument to DELTA.
6198ccd0
MR
11236 (window-buffer-height): New function.
11237 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11238 Rewrite using new window resize routines.
2b75be67
SM
11239 (kill-buffer-and-window, mouse-autoselect-window-select):
11240 Use ignore-errors instead of condition-case.
6198ccd0
MR
11241 (quit-window): Call delete-frame instead of delete-windows-on
11242 for the only buffer on frame.
11243
9397e56f
MR
112442011-06-10 Martin Rudalics <rudalics@gmx.at>
11245
11246 * loadup.el (top-level): Load window before files for the sake
11247 of replace-buffer-in-windows.
11248
11249 * files.el (read-buffer-to-switch)
11250 (switch-to-buffer-other-window)
2b75be67
SM
11251 (switch-to-buffer-other-frame, display-buffer-other-frame):
11252 Move to window.el.
9397e56f
MR
11253
11254 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11255 (previous-buffer): Move to window.el.
11256
11257 * bindings.el (unbury-buffer): Move to window.el.
11258
11259 * window.el (delete-other-windows-vertically): Move after
11260 definition of delete-other-windows.
11261 (other-window, delete-windows-on, replace-buffer-in-windows):
11262 Move here from window.c.
11263 (record-window-buffer, unrecord-window-buffer)
11264 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11265 (switch-to-next-buffer): New functions.
11266 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11267 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11268 (previous-buffer): Move here from simple.el.
11269 Call switch-to-prev-buffer.
9397e56f
MR
11270 (bury-buffer): Move here from buffer.c. Switch to previous
11271 buffer when window cannot be deleted.
11272 (unbury-buffer): Move here from bindings.el.
11273 (ctl-x-map): Move binding for other-window from window.c to
11274 here.
11275 (read-buffer-to-switch, switch-to-buffer-other-window)
11276 (switch-to-buffer-other-frame): Move here from files.el.
11277 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11278 (switch-to-buffer): Move here from buffer.c.
11279 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11280
562dd5e9
MR
112812011-06-10 Martin Rudalics <rudalics@gmx.at>
11282
11283 * window.el (window-min-height, window-min-width): Move here
11284 from window.c. Add defcustoms and rewrite doc-strings.
11285 (resize-mini-window, resize-window): New functions.
11286 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11287 Move here from window.c.
11288 (maximize-window, minimize-window): New functions.
11289 (delete-window, delete-other-windows, split-window): Move here
11290 from window.c.
11291 (window-split-min-size): New function.
11292 (split-window-keep-point): Mention split-window-above-each-other
11293 instead of split-window-vertically.
2b75be67 11294 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11295 Rename split-window-vertically to split-window-above-each-other
11296 and provide defalias for old definition.
11297 (split-window-side-by-side, split-window-horizontally):
11298 Rename split-window-horizontally to split-window-side-by-side
11299 and provide defalias for the old definition.
562dd5e9
MR
11300 (ctl-x-map): Move bindings for delete-window,
11301 delete-other-windows and enlarge-window here from window.c.
11302 Replace bindings for split-window-vertically and
11303 split-window-horizontally by bindings for
11304 split-window-above-each-other and split-window-side-by-side.
11305
11306 * cus-start.el (all): Remove entries for window-min-height and
11307 window-min-width. Add entries for window-splits and
11308 window-nest.
11309
f0da764a
GM
113102011-06-09 Glenn Morris <rgm@gnu.org>
11311
80675c21
GM
11312 * calendar/appt.el (appt-mode-line): New function.
11313 (appt-check, appt-disp-window): Use it.
11314
f0da764a
GM
11315 * files.el (hack-one-local-variable-eval-safep):
11316 Allow minor-modes with explicit +/-1 arguments.
11317
59f623b7
TZ
113182011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11319
11320 * term/xterm.el (xterm): Add defgroup.
11321 (xterm-extra-capabilities): Add defcustom to supply known xterm
11322 capabilities, skip querying them, or query them (default).
11323 (terminal-init-xterm): Use it.
11324 (terminal-init-xterm-modify-other-keys): New function to set up
11325 modifyOtherKeys support to simplify `terminal-init-xterm'.
11326
9aab8e0d
MR
113272011-06-09 Martin Rudalics <rudalics@gmx.at>
11328
11329 * window.el (resize-window-reset, resize-window-reset-1)
11330 (resize-subwindows-skip-p, resize-subwindows-normal)
11331 (resize-subwindows, resize-other-windows, resize-this-window)
11332 (resize-root-window, resize-root-window-vertically)
11333 (window-deletable-p, window-or-subwindow-p)
11334 (frame-root-window-p): New functions.
11335
e8b08aee
GM
113362011-06-09 Glenn Morris <rgm@gnu.org>
11337
11338 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11339 (ange-ftp-get-files): Use it.
11340
254c37a5
AK
113412011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11342
11343 * mail/sendmail.el (mail-recover-1, mail-recover):
11344 * files.el (recover-file, recover-session):
11345 Handle dired-listing-switches not being just a single short option.
11346
35d7dbd3
GM
113472011-06-09 Glenn Morris <rgm@gnu.org>
11348
11349 * calendar/appt.el (appt-display-message, appt-disp-window):
11350 Handle lists of appointments.
11351
387522b2
MR
113522011-06-08 Martin Rudalics <rudalics@gmx.at>
11353
2b75be67
SM
11354 * window.el (one-window-p): Move down in code.
11355 Rewrite doc-string.
11356 (window-current-scroll-bars): Rewrite doc-string.
11357 Normalize live window argument.
387522b2
MR
11358 (walk-windows, get-window-with-predicate, count-windows):
11359 Rewrite doc-string. Use window-list-1.
11360 (window-in-direction-2, window-in-direction, get-mru-window):
11361 New functions.
11362
d8e4b68b 113632011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11364
11365 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11366 Doc fix (Bug#8713).
11367
113682011-06-08 Chong Yidong <cyd@stupidchicken.com>
11369
11370 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11371
113722011-06-08 Juanma Barranquero <lekktu@gmail.com>
11373
11374 * loadhist.el (unload-feature-special-hooks):
11375 Add `comint-output-filter-functions'.
11376
0de12c52
IK
113772011-06-08 Ivan Kanis <gnu@kanis.fr>
11378
11379 * calendar/appt.el (appt-check): Move some initializations into the let.
11380
f3d1777e
MR
113812011-06-08 Martin Rudalics <rudalics@gmx.at>
11382
11383 * window.el (window-height): Defalias to window-total-height.
11384 (window-width): Defalias to window-body-width.
11385
18af70d0
CY
113862011-06-07 Chong Yidong <cyd@stupidchicken.com>
11387
11388 * image-mode.el (image-toggle-animation): New command.
11389 (image-mode-map): Bind it to RET.
11390 (image-mode): Update message.
11391 (image-toggle-display-image): Avoid a spurious cache flush.
11392 (image-transform-rotation): Doc fix.
11393 (image-transform-properties): Return quickly in the normal case.
11394 (image-animate-loop): Rename from image-animate-max-time.
11395
2b75be67 11396 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11397 (create-animated-image): Remove unnecessary function.
11398 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11399 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11400 (image-animate-timer): Use car-safe.
11401 (image-animate-timeout): Rename argument.
11402
190b47e6
MR
114032011-06-07 Martin Rudalics <rudalics@gmx.at>
11404
11405 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11406 window.c. Rename first argument to ALL-FRAMES.
11407 Rephrase doc-strings.
11408 (get-buffer-window-list): Rewrite using window-list-1.
11409 Rephrase doc-string.
a1511caf
MR
11410 (window-safe-min-height, window-safe-min-width): New constants.
11411 (window-size-ignore, window-min-size, window-min-size-1)
11412 (window-sizable, window-sizable-p, window-size-fixed-1)
11413 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11414 (window-max-delta-1, window-max-delta, window-resizable)
11415 (window-resizable-p, window-total-height, window-total-width)
11416 (window-body-width): New functions.
11417 (window-full-height-p, window-full-width-p): Rewrite using
11418 window-total-size.
11419 (window-body-height): Rewrite using window-body-size.
190b47e6 11420
85cc1f11
MR
114212011-06-06 Martin Rudalics <rudalics@gmx.at>
11422
11423 * window.el (window-right, window-left, window-child)
11424 (window-child-count, window-last-child, window-any-p)
11425 (normalize-live-buffer, normalize-live-frame)
11426 (normalize-any-window, normalize-live-window)
11427 (window-iso-combination-p, window-iso-combined-p)
11428 (window-iso-combinations)
11429 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11430 (windows-with-parameter, window-with-parameter)
11431 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11432 (window-atom-check, window-side-check, window-check):
11433 New functions.
85cc1f11
MR
11434 (ignore-window-parameters, window-sides, window-sides-vertical)
11435 (window-sides-slots): New variables.
11436 (window-size-fixed): Move down in code. Minor doc-string fix.
11437
e7156492
AS
114382011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11439
11440 * comint.el (comint-dynamic-complete-as-filename)
11441 (comint-dynamic-complete-filename): Correctly call
11442 completion-in-region.
11443
7e821d0d
DD
114442011-06-05 Deniz Dogan <deniz@dogan.se>
11445
11446 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11447 in last change.
11448
ac09b8a1
DD
114492011-06-05 Deniz Dogan <deniz@dogan.se>
11450
11451 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11452 (rcirc): Use it to prompt for encryption.
11453
34699b85
RW
114542011-06-05 Roland Winkler <winkler@gnu.org>
11455
11456 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11457 (bibtex-search-entries): New command bound to C-c C-a.
11458 (bibtex-display-entries): New function.
11459
004dedd3
RW
114602011-06-05 Roland Winkler <winkler@gnu.org>
11461
11462 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11463 (bibtex-insert-kill): After yanking insert newline if necessary.
11464 (bibtex-initialize): Call bibtex-string-files-init only once.
11465 (bibtex-mode): Do not call easy-menu-add.
11466 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11467 (bibtex-yank): Set arg properly if nil.
11468
022fe7ce
RW
114692011-06-05 Roland Winkler <winkler@gnu.org>
11470
2b75be67
SM
11471 * textmodes/bibtex.el (bibtex-search-entry-globally):
11472 New variable.
022fe7ce
RW
11473 (bibtex-search-entry): Use it.
11474
b7c3692a
RW
114752011-06-05 Roland Winkler <winkler@gnu.org>
11476
11477 * textmodes/bibtex.el (bibtex-entry-format): New option
11478 sort-fields.
11479 (bibtex-format-entry, bibtex-reformat): Honor this option.
11480 (bibtex-parse-entry): Return fields in proper order.
11481
8eda563d
JB
114822011-06-05 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * doc-view.el (doc-view-remove-if): Move computation of result out
11485 of `dolist' to silence misleading lexical-binding warning.
11486
7dbe3dbc
CY
114872011-06-04 Chong Yidong <cyd@stupidchicken.com>
11488
11489 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11490 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11491
0c33dd17
MA
114922011-06-04 Michael Albinus <michael.albinus@gmx.de>
11493
11494 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11495 "SunOS 5.10".
11496
f8f91c2b
MA
114972011-06-04 Michael Albinus <michael.albinus@gmx.de>
11498
11499 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11500 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11501 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11502 (tramp-parse-putty):
11503 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11504 (tramp-completion-function-alist-ssh)
11505 (tramp-completion-function-alist-telnet)
11506 (tramp-completion-function-alist-su)
11507 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11508 cookie.
11509
11510 * net/tramp-ftp.el:
11511 * net/tramp-sh.el:
11512 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11513 load "tramp.el" `tramp-set-completion-function'.
11514
e17d9003
SM
115152011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * shell.el: Require and use pcomplete.
11518 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11519 (shell-completion-vars): Set pcomplete-default-completion-function.
11520
6c4cab03
DD
115212011-06-04 Deniz Dogan <deniz@dogan.se>
11522
11523 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11524 `memq' (Bug#8799).
11525
ea9fafe0
SM
115262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11529
b3e945d3
JB
115302011-06-02 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11533 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11534 * vc/log-view.el (log-view-beginning-of-defun):
11535 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11536 (smerge-refine-forward, smerge-refine-chopup-region):
11537 Silence warning for unused `dotimes' counter variables.
11538
7d520089
SM
115392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * net/tramp.el (tramp-with-progress-reporter): Rename from
11542 with-progress-reporter. Use `declare'.
11543 * net/tramp-smb.el:
11544 * net/tramp-sh.el:
11545 * net/tramp-gvfs.el: Update all uses.
11546
a1c2400f
JB
115472011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11548
11549 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11550 buffer isn't killed before making it current.
11551
2403c841
SM
115522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 Silence various byte-compiler warnings.
11555 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11556 `access-type' and new obsolescence format.
11557 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11558 new format.
11559 (byte-compile-check-variable): New `access-type' argument.
11560 Only warn if the access-type is obsolete.
11561 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11562 (byte-compile-variable-set): Adjust callers.
11563 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11564 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11565 setting it as obsolete.
11566 * simple.el (minibuffer-completing-symbol):
11567 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11568 access as obsolete.
11569 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11570 obsolete yet.
11571 * international/quail.el (quail-mouse-choose-completion): Remove unused
11572 code referring to obsolete var.
11573 (quail-choose-completion-string): Remove.
11574 * server.el (server-clients-with, server-kill-buffer-query-function)
11575 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11576 * proced.el (proced-send-signal):
11577 * emacs-lisp/lisp.el (lisp-complete-symbol):
11578 Replace completion-annotate-function with completion-extra-properties.
11579
2462470b
SM
115802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11581
fb5b2591
SM
11582 * simple.el (goto-line): Use read-number.
11583 (overriding-map-is-bound): Remove.
11584 (saved-overriding-map): Change default.
11585 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11586 Take the map as argument.
11587 (universal-argument, negative-argument, digit-argument): Use it.
11588 (restore-overriding-map): Adjust.
11589 (do-auto-fill): Use fill-forward-paragraph.
11590 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11591
fd6fa53f
SM
11592 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11593 (minibuffer-inactive-mode): New major mode.
11594 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11595 the *Messages* buffer" hack.
11596 (mouse-popup-menubar): Don't burp if the event is a normal key.
11597
2462470b
SM
11598 Miscellaneous tweaks.
11599 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11600 lexical scoping as in subr.el's dolist and dotimes.
11601 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11602 Silence compiler warning.
11603 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11604 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11605 * international/ccl.el (ccl-compile): Trivial simplification.
11606 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11607 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11608 `printflag' argument.
11609 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11610 Purecopy the whole obsolescence data.
11611
108bf785
LL
116122011-06-01 Leo Liu <sdl.web@gmail.com>
11613
11614 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11615 improve doc-string as suggested by Marco Pessotto
11616 <melmothx@gmail.com>.
11617 (rcirc-print): Fix last change.
11618
30a23501
SM
116192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * minibuffer.el (complete-with-action): Return nil for the metadata and
11622 boundaries of non-functional tables.
11623 (completion-table-dynamic): Return nil for the metadata.
11624 (completion-table-with-terminator): Add default case, using
11625 complete-with-action.
11626 (completion--metadata): New function.
11627 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11628 to try and avoid pathological performance problems.
11629 (completion--embedded-envvar-table): Return `category' metadata.
11630
bcd54f83
LMI
116312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11632
11633 * subr.el (process-alive-p): New tiny convenience function.
11634
e227544d
SM
116352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11638 content but also its previous major mode.
11639
e8296fdc
HE
116402011-05-31 Helmut Eller <eller.helmut@gmail.com>
11641
4d61f28d 11642 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11643 *Backtrace* buffer when we exit with C-M-c.
11644
620c53a6
SM
116452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el: Add metadata method to completion tables.
11648 (completion-category-overrides): New defcustom.
11649 (completion-metadata, completion--field-metadata)
11650 (completion-metadata-get, completion--styles)
11651 (completion--cycle-threshold): New functions.
11652 (completion-try-completion, completion-all-completions):
11653 Add `metadata' argument to choose completion-styles.
11654 (completion--do-completion): Use metadata to choose cycling.
11655 (completion-all-sorted-completions): Use metadata for sorting.
11656 Remove :completion-cycle-penalty which is not needed any more.
11657 (completion--try-word-completion): Add `metadata' argument.
11658 (minibuffer-completion-help): Check metadata for annotation function
11659 and sorting.
11660 (completion-file-name-table): Return `category' metadata.
11661 (minibuffer-completing-file-name): Make obsolete.
11662 * simple.el (minibuffer-completing-symbol): Make obsolete.
11663 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11664 completion-try-completion.
11665
1257e755
SM
116662011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11667
11668 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11669
3767e706
LL
116702011-05-30 Leo Liu <sdl.web@gmail.com>
11671
11672 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11673 (rcirc-print): Decode all incoming messages (bug#8744).
11674 (rcirc-decode-coding-system): Allow value nil for automatic coding
11675 system detection.
3767e706 11676
d1a5d56a
GM
116772011-06-01 Glenn Morris <rgm@gnu.org>
11678
11679 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11680
e8cbec34
CY
116812011-05-29 Chong Yidong <cyd@stupidchicken.com>
11682
11683 * image.el (image-animate-max-time): Allow nil and t values.
11684 Default to nil.
11685 (create-animated-image): Doc fix.
11686 (image-animate-start): Remove second arg; just use
11687 image-animate-max-time.
11688 (image-animate-timeout): Doc fix. Args changed.
11689
11690 * image-mode.el (image-toggle-display-image): Ensure that the
11691 image spec passed to the animate timer is the same object as in
58179cce 11692 the buffer's display property (Bug#6981).
e8cbec34
CY
11693 (image-transform-properties): Doc fix.
11694
11695 * image.el (image-animate-max-time): Default to nil.
11696
159daf87
MR
116972011-05-29 Martin Rudalics <rudalics@gmx.at>
11698
11699 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11700 entire buffer list (Bug#8184).
11701
d66c4c7c
CY
117022011-05-29 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * image.el (imagemagick-types-inhibit)
11705 (imagemagick-register-types): Doc fix.
11706
80aec780
DD
117072011-05-29 Deniz Dogan <deniz@dogan.se>
11708
11709 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11710 default.
11711
1dd3c2d9
CY
117122011-05-29 Chong Yidong <cyd@stupidchicken.com>
11713
11714 * select.el: Don't perform clipboard-manager saving in hooks;
11715 leave the hooks empty.
11716
60e56523
LL
117172011-05-28 Leo Liu <sdl.web@gmail.com>
11718
11719 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11720 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11721 (occur-edit-mode): New major mode (Bug#8463).
11722 (occur-after-change-function): New function.
11723 (occur-engine): Give Occur tags a read-only property.
11724
2b1e1a22
KR
117252011-05-28 Kevin Ryde <user42@zip.com.au>
11726
11727 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11728
5d344e88
CY
117292011-05-28 Chong Yidong <cyd@stupidchicken.com>
11730
8e6ca83d
CY
11731 * bindings.el (help-echo): Make the initial non-indicator dash
11732 empty on graphical terminals (Bug#7295).
11733
5d344e88
CY
11734 * files.el (auto-mode-alist): Move config rule after the
11735 in-stripping one (Bug#8547).
11736
bfbbace7
CY
11737 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11738
fbeba6e2
CY
11739 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11740 setting (Bug#8740).
11741
60ed8c72
AA
117422011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11743
4ac619f0
AA
11744 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11745 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11746 (Bug#8539).
60ed8c72 11747
23db196e
CY
117482011-05-28 Chong Yidong <cyd@stupidchicken.com>
11749
11750 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11751
5012f24c
DK
117522011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11753
11754 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11755 (hs-hide-block-at-point, hs-find-block-beginning)
11756 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11757 (Bug#8279).
11758
6a639b16
GM
117592011-05-28 Glenn Morris <rgm@gnu.org>
11760
11761 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11762
d43eaf2c
CY
117632011-05-28 Chong Yidong <cyd@stupidchicken.com>
11764
5199bde1
CY
11765 * help-fns.el (describe-function-1): If the function is a derived
11766 major mode, print the parent mode.
11767
d43eaf2c
CY
11768 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11769 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11770
423428a8
SM
117712011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11772
0ff8e1ba 11773 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11774 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11775 * progmodes/etags.el (tags-completion-at-point-function):
11776 * info-look.el (info-lookup-completions-at-point): Mark as
11777 non-exclusive.
11778 (info-complete): Adjust accordingly.
11779
423428a8
SM
11780 * info-look.el: Convert to lexical-binding and completion-at-point.
11781 (info-lookup-completions-at-point): New function.
11782 (info-complete): Use it and completion-in-region.
11783
b74aa22b
DA
117842011-05-28 Drew Adams <drew.adams@oracle.com>
11785
11786 * isearch.el: Let M-e start with point at the first mismatched char.
11787 (isearch-fail-pos): New function.
11788 (isearch-edit-string): Use it.
11789
66e2e71d
DK
117902011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11791
11792 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11793
b1890b0f 117942011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11795
11796 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11797 traversal functions for avl-trees.
11798 (avl-tree--stack): New struct.
11799 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11800 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11801 (avl-tree--do-enter): Add optional `updatefun' arg.
11802 Change return value.
eb95d01d 11803 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11804 (avl-tree--do-delete): Add `test' and `nilflag' args.
11805 Change return value.
eb95d01d
TC
11806 (avl-tree-member): Add optional `nilflag'
11807 (avl-tree-member-p): New function.
11808 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11809 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11810 (avl-tree-stack-empty-p): New functions.
11811
3769ddcf
TC
11812 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11813 avl-tree--del-balance1 and make it work both ways.
11814 (avl-tree--del-balance2): Remove.
11815 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11816 make it work both ways.
11817 (avl-tree--enter-balance2): Remove.
11818 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11819 New macros.
11820 (avl-tree--mapc, avl-tree-map): Add direction argument.
11821
eb95d01d 118222011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11823
11824 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11825
a9f737ee
CY
118262011-05-27 Chong Yidong <cyd@stupidchicken.com>
11827
11828 * select.el: Support clipboard managers with built-in function
11829 x-clipboard-manager-save, via delete-frame-functions and
11830 kill-emacs-hook.
11831 (xselect-convert-to-targets): Add MULTIPLE target to list.
11832 (xselect-convert-to-save-targets): New function.
11833
c92a1e54
KH
118342011-05-27 Kenichi Handa <handa@m17n.org>
11835
11836 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11837 let-binding rfc2047-encode-encoded-words to nil.
11838
e145f188
GM
118392011-05-27 Glenn Morris <rgm@gnu.org>
11840
5ec8a862
GM
11841 * mail/emacsbug.el: Don't require url-util.
11842
4b29d9fb
GM
11843 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11844
e145f188
GM
11845 * files.el (set-auto-mode):
11846 Also respect mode: entries at the end of the file. (Bug#8586)
11847
7d15102b
GM
118482011-05-26 Glenn Morris <rgm@gnu.org>
11849
98f593b8
GM
11850 * files.el (hack-local-variables-prop-line, hack-local-variables):
11851 Downcase mode names, as seems to be traditional.
27b48e63 11852 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11853
7d15102b
GM
11854 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11855 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11856
51d5b4ec
JD
118572011-05-25 Julien Danjou <julien@danjou.info>
11858
11859 * textmodes/rst.el (rst-define-level-faces): Do not define face
11860 symbol if it is already defined.
11861
91513f63
VB
118622011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11863
11864 * play/5x5.el (5x5-new-game, 5x5-randomize):
11865 Reset 5x5-solver-output to nil when a new grid is cast.
11866 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11867 these debugging traces, as defmacro breaks the compiled code.
11868
4d90d6d0
DK
118692011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11870
11871 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11872
e1b90ef6
LL
118732011-05-24 Leo Liu <sdl.web@gmail.com>
11874
11875 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11876 (vc-bzr-sha1): Adapt.
11877
d8e4b68b 11878 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11879
11880 * bindings.el: Provide sha1 feature.
11881
db0406bb 118822011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11883
11884 * mail/sendmail.el: Require `rfc2047'.
11885 (mail-insert-from-field): Do not perform RFC2047 encoding.
11886 (mail-encode-header): New function.
11887 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11888 buffer to the return value of select-message-coding-system.
11889 Call mail-encode-header.
b8d747b9
KH
11890
11891 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11892
db0406bb 118932011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11894
4d90d6d0
DK
11895 * mail/supercite.el (sc-default-cite-frame):
11896 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11897
eb8a5e9b
GM
118982011-05-24 Glenn Morris <rgm@gnu.org>
11899
f8630703
GM
11900 * progmodes/python.el (brm-menu): Declare.
11901
8831bbed
GM
11902 * emulation/viper.el (viper-set-hooks): Declare.
11903
eb8a5e9b
GM
11904 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11905 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11906 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11907 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11908 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11909 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11910
a2a25d24
SM
119112011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 Add an :exit-function for completion-at-point.
11914
11915 * minibuffer.el (completion--done): New fun.
11916 (completion--do-completion): Use it. New arg `expect-exact'.
11917 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11918 since completion--do-completion does it for us now.
11919 (minibuffer-force-complete): Use completion--done and
11920 completion--replace. Handle sole-completion case with more care.
11921 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11922 (completion-extra-properties): New var.
11923 (completion-annotate-function): Make obsolete.
11924 (minibuffer-completion-help): Adjust accordingly.
11925 Use completion-list-insert-choice-function.
11926 (completion-at-point, completion-help-at-point):
11927 Bind completion-extra-properties.
11928 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11929 * simple.el (completion-list-insert-choice-function): New var.
11930 (completion-setup-function): Preserve it.
11931 (choose-completion): Pay attention to it, shuffle the code a bit.
11932 (choose-completion-string): New arg `insert-function'.
11933
11934 * textmodes/bibtex.el: Convert to lexical binding.
11935 (bibtex-mode-map): Use completion-at-point.
11936 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11937 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11938 (bibtex-complete): Define as obsolete alias.
11939 (bibtex-complete-internal): Remove.
11940 (bibtex-format-entry): Remove unused sub-group in regexp.
11941 * shell.el (shell--command-completion-data)
11942 (shell-environment-variable-completion):
11943 * pcomplete.el (pcomplete-completions-at-point):
11944 * comint.el (comint--complete-file-name-data): Use :exit-function
11945 instead of completion-table-with-terminator so it also works for
11946 choose-completion.
11947
e44e373d
SM
119482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11949
4f91a816
SM
11950 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11951
782fc819
SM
11952 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11953 (bug#8710).
11954
e44e373d
SM
11955 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11956
381987c3
KM
119572011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11958
11959 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11960 customization variable and implement: If non-nil, auto-fill will
11961 be inhibited while on topic's header line.
11962
b776bc70
VB
119632011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11964
11965 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11966 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11967 always have a solution in grid size = 5 cases.
11968 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11969 (5x5-solver-output, 5x5-log-buffer): New vars.
11970 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11971 Make these variables buffer local to achieve 5x5 multi-session-ness.
11972 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11973 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11974 (5x5-solve-suggest): New funs.
11975 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11976 randomize a grid so that we ensure that there is always a solution.
11977 (5x5-make-random-grid): Allow other movement than flipping.
11978
7de88b6e
KR
119792011-05-23 Kevin Ryde <user42@zip.com.au>
11980
11981 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11982 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11983 advice and passes PREDICATE.
11984
b1ef1257
SM
119852011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11986
bbca48fe
SM
11987 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11988 byte-compile-lambda if it's actually a lambda.
11989
b1ef1257
SM
11990 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11991 Fix function quoting. Use backquote better.
11992
92a9cc65
YS
119932011-05-22 Yuanle Song <sylecn@gmail.com>
11994
11995 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11996 matching (Bug#8516).
11997
f0fb8059
JA
119982011-01-22 Jari Aalto <jari.aalto@cante.net>
11999
12000 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12001 different face (Bug#8178).
12002
d5b44c93
CY
120032011-05-22 Chong Yidong <cyd@stupidchicken.com>
12004
12005 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12006 defface (Bug#8144).
12007
79106a44
SM
120082011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12009
9c848d8a
SM
12010 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12011 funcall as well (bug#8712). Warn when performing those conversions.
12012 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12013
79106a44
SM
12014 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12015
88dfa756
GM
120162011-05-22 Glenn Morris <rgm@gnu.org>
12017
12018 * files.el (hack-local-variables-prop-line): Small simplifications.
12019 (hack-local-variables, hack-local-variables-prop-line):
12020 If MODE-ONLY, return the mode, rather than just `t'.
12021
b7cf2c79
SM
120222011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12025
3f1a8558
GM
120262011-05-21 Glenn Morris <rgm@gnu.org>
12027
7e4ccca3
GM
12028 * files.el (hack-local-variables-prop-line, hack-local-variables):
12029 If only interested in the mode, don't bother doing the other stuff.
12030
637d46ca
GM
12031 * image-mode.el (image-after-revert-hook):
12032 Redraw all frames on which the image is visible. (Bug#8567)
12033
973d955b
GM
12034 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12035
3f1a8558
GM
12036 * wid-edit.el (widget-checklist-match-inline):
12037 Fix 2011-04-19 change. (Bug#8649)
12038
96479927
SM
120392011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12040
1dcf791f
SM
12041 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12042 Also allow singlespace after single-letter capitals followed by a dot.
12043
96479927
SM
12044 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12045 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12046
35fd0881
N
120472011-05-20 Nix <nix@esperi.org.uk>
12048
12049 * files.el (basic-save-buffer-2):
12050 Fix handling of break-hardlink-on-save with non-existent files.
12051
82745640
DD
120522011-05-19 Deniz Dogan <deniz@dogan.se>
12053
12054 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12055 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12056
4a720484
GM
120572011-05-19 Glenn Morris <rgm@gnu.org>
12058
d1f21341
GM
12059 * progmodes/f90.el (f90-type-def-re):
12060 Handle "type, bind(c)". (Bug#8691)
12061
4a720484
GM
12062 * emacs-lisp/autoload.el (batch-update-autoloads):
12063 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12064
2fb0a219
MA
120652011-05-18 Michael Albinus <michael.albinus@gmx.de>
12066
12067 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12068 property for the correct connection in case of multihops.
12069
e565dd37
GM
120702011-05-18 Glenn Morris <rgm@gnu.org>
12071
c2571358 12072 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12073 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12074
e565dd37
GM
12075 Rationalize calendar handling of day and month abbrev-arrays.
12076 * calendar/calendar.el (calendar-customized-p): New function.
12077 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12078 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12079 Add :set function.
12080 (calendar-abbrev-length, calendar-day-abbrev-array)
12081 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12082 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12083 Elements may no longer be nil.
12084 (calendar-day-name, calendar-month-name):
12085 Update for changed nature of abbrev arrays.
12086 * calendar/diary-lib.el (diary-name-pattern):
12087 Update for changed nature of abbrev arrays.
12088 (diary-mark-entries-1): Update calendar-make-alist calls.
12089 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12090 * calendar/cal-html.el (cal-html-day-abbrev-array):
12091 Simply inherit from calendar-day-abbrev-array.
12092
1d99a745
SM
120932011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12094
12095 * progmodes/grep.el (grep-mode): Disable default
12096 compilation-directory-matcher setting (bug#8684).
12097
7c1d9aa0
MA
120982011-05-17 Michael Albinus <michael.albinus@gmx.de>
12099
12100 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12101 instead of "head" and "tail". There were problems with SunOS 5.9,
12102 and it performs better.
12103
3952e9d8
GM
121042011-05-17 Glenn Morris <rgm@gnu.org>
12105
2dd12e7f
GM
12106 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12107
e4157b9c
GM
12108 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12109 Replace obsolete function.
12110
8e249bbd
GM
12111 * shell.el (pcomplete-parse-arguments-function): Declare.
12112
3952e9d8
GM
12113 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12114 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12115 (appt-check): Doc fixes.
12116 (appt-disp-window-function, appt-delete-window-function):
12117 Remove needless special case in custom :type.
12118 (appt-display-count): Default to 0, not nil.
12119 (appt-check): Reset appt-display-count to 0, not nil.
12120
c71a0d48 121212011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12122
c71a0d48
GM
12123 * progmodes/python.el (python-font-lock-keywords):
12124 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12125
31d55be9
SM
121262011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12129
3bfacb2f
KR
121302011-05-16 Kevin Ryde <user42@zip.com.au>
12131
12132 * info-look.el (makefile-automake-mode): New setups, looking in
12133 automake manual, then makefile-mode.
12134 (makefile-mode): Remove automake manual, have it just in
12135 makefile-automake-mode since there's various things different or
12136 not relevant to plain make.
12137 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12138 believe a hypothetical automake-mode would go to makefile-mode,
12139 not the other way around.
12140
c8e83751
CY
121412011-05-15 Chong Yidong <cyd@stupidchicken.com>
12142
5e9e35cd
CY
12143 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12144 hunk-end tags (Bug#8672).
12145
c8e83751
CY
12146 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12147 vc-annotate-show-diff-revision-at-line (Bug#8671).
12148
50b23e5a
GM
121492011-05-14 Glenn Morris <rgm@gnu.org>
12150
7210a739
GM
12151 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12152 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12153 (change-log-font-lock-keywords): Also handle multiple author lines
12154 with leading tabs. (Bug#8644)
7210a739 12155
4691905a
GM
12156 * calendar/appt.el (appt-check): Rename some local variables.
12157 Some simplification/reordering.
12158
50b23e5a
GM
12159 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12160 (feedmail-sendmail-f-doesnt-sell-me-out)
12161 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12162 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12163 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12164 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12165 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12166 (feedmail-binmail-gnulinuxish-template):
12167 Rename from feedmail-binmail-linuxish-template.
12168 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12169 Use insert-buffer-substring.
12170
215cda7c
BC
121712011-05-14 Bill Carpenter <bill@carpenter.org>
12172
12173 * mail/feedmail.el (feedmail-patch-level): Increase.
12174 (feedmail-debug): New custom group.
12175 (feedmail-confirm-outgoing-timeout)
12176 (feedmail-sendmail-f-doesnt-sell-me-out)
12177 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12178 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12179 (feedmail-sender-line, feedmail-from-line)
12180 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12181 (feedmail-spray-this-address)
215cda7c
BC
12182 (feedmail-spray-address-fiddle-plex-list)
12183 (feedmail-queue-use-send-time-for-date)
12184 (feedmail-queue-use-send-time-for-message-id)
12185 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12186 (feedmail-buffer-eating-function):
12187 Doc fixes.
12188 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12189 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12190 (feedmail-message-action-scroll-down): New functions.
12191 (feedmail-queue-directory, feedmail-queue-draft-directory):
12192 Use expand-file-name.
12193 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12194 Remove C-v help entry.
12195 (feedmail-queue-buffer-file-name): New variable.
12196 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12197 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12198 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12199 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12200 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12201 (feedmail-message-action-toggle-spray)
12202 (feedmail-run-the-queue-no-prompts)
12203 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12204 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12205 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12206 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12207 (feedmail-envelope-deducer, feedmail-fiddle-from)
12208 (feedmail-fiddle-sender, feedmail-default-date-generator)
12209 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12210 (feedmail-fiddle-spray-address)
12211 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12212 (feedmail-fiddle-list-of-fiddle-plexes)
12213 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12214 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12215 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12216 Change default. Doc fix.
12217 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12218 (feedmail-binmail-linuxish-template): New constant.
12219 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12220 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12221 (feedmail-send-it): Add debug call.
12222 Use feedmail-queue-buffer-file-name, and
12223 feedmail-send-it-immediately-wrapper.
12224 (feedmail-message-action-send): Add debug call.
12225 Use feedmail-send-it-immediately-wrapper.
12226 (feedmail-queue-express-to-queue): Add debug call.
12227 Run feedmail-queue-express-hook.
12228 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12229 (feedmail-message-action-help-blat):
12230 Rename from feedmail-queue-send-edit-prompt-help-first.
12231 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12232 Check line-endings. Handle errors better.
12233 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12234 Doc fix. Add debug call.
12235 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12236 Use feedmail-queue-send-edit-prompt-inner.
12237 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12238 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12239 from feedmail-queue-send-edit-prompt.
12240 (feedmail-queue-send-edit-prompt-help)
12241 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12242 (feedmail-tidy-up-slug): Add debug call.
12243 Respect feedmail-queue-slug-suspect-regexp.
12244 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12245 (feedmail-dump-message-to-queue): Add debug call.
12246 Expand queue-directory.
12247 (feedmail-dump-message-to-queue): Change message slightly.
12248 Use feedmail-say-chatter.
12249 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12250 (feedmail-send-it-immediately-wrapper): New function.
12251 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12252 Insert empty string rather than newline. Handle full-frame case.
12253 Use catch/throw. Use feedmail-say-chatter.
12254 (feedmail-fiddle-from): Try mail-host-address.
12255 (feedmail-default-message-id-generator): Doc fix.
12256 Bind system-time-locale. Handle missing end.
12257 (feedmail-fiddle-x-mailer): Add debug call.
12258 Handle feedmail-x-mailer-line being nil.
12259 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12260 Add debug call. Use buffer-substring-no-properties.
12261 (feedmail-say-debug, feedmail-say-chatter): New functions.
12262 (feedmail-find-eoh): Give an explicit error.
12263
42c7e61e
UJ
122642011-05-13 Ulf Jasper <ulf.jasper@web.de>
12265
c2571358 12266 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12267 family from helvetica to sans.
c2571358 12268 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12269 etc/images/newsticker.
12270
c2571358 12271 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12272 family from helvetica to sans.
12273
12274 * net/newst-plainview.el (newsticker-new-item-face)
12275 (newsticker-old-item-face, newsticker-immortal-item-face)
12276 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12277 (newsticker-statistics-face): Change default family from
42c7e61e 12278 helvetica to sans.
c2571358 12279 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12280 etc/images/newsticker.
12281
5d3385a0
JB
12282 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12283 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12284 auto-marking.
12285
8497a297
DV
122862011-05-13 Didier Verna <didier@xemacs.org>
12287
12288 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12289 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12290 TODO entries.
8497a297
DV
12291 (lisp-lambda-list-keyword-parameter-indentation)
12292 (lisp-lambda-list-keyword-parameter-alignment)
12293 (lisp-lambda-list-keyword-alignment): New customizable user options.
12294 (lisp-indent-defun-method): Improve docstring.
12295 (extended-loop-p): Fix comment.
12296 (lisp-indent-lambda-list-keywords-regexp): New variable.
12297 (lisp-indent-lambda-list): New function.
12298 (lisp-indent-259): Use it.
12299 (lisp-indent-defmethod): Support for more than one
12300 method qualifier and properly indent methods lambda-lists.
12301 (defgeneric): Provide a missing common-lisp-indent-function property.
12302
f278f87f
SM
123032011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12306 bounds for the empty string (bug#8667).
12307
5233edd7
GM
123082011-05-13 Glenn Morris <rgm@gnu.org>
12309
5237a44f
GM
12310 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12311
8340026c 12312 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12313 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12314
5233edd7 12315 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12316 (appt-time-msg-list): Doc fix.
a5464014 12317 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12318
92d10796
AS
123192011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12320
12321 * progmodes/ld-script.el (ld-script-keywords)
12322 (ld-script-builtins): Update keywords list.
12323
914a0ae1
SM
123242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12325
c89be45f
SM
12326 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12327
914a0ae1
SM
12328 * shell.el (shell-completion-vars): New function.
12329 (shell-mode):
12330 * simple.el (read-shell-command): Use it.
12331 (blink-matching-open): No need for " [...]" in minibuffer-message.
12332
98dc3df3
GM
123332011-05-12 Glenn Morris <rgm@gnu.org>
12334
12335 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12336 (appt-check): Simplify.
12337
d2fc7e3d 123382011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12339
4d61f28d 12340 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12341 literal "/dev/null".
12342
d2fc7e3d 123432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12344
12345 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12346 Fix typo.
12347
d2fc7e3d 123482011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12349
3f254caa
SM
12350 * progmodes/which-func.el (which-function):
12351 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12352 which might not be defined (Bug#8260).
12353
d45885f7
GM
123542011-05-12 Glenn Morris <rgm@gnu.org>
12355
12356 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12357 Let byte-compile-initial-macro-environment always take precedence.
12358
488086f4
SM
123592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * net/rcirc.el: Add support for SSL/TLS connections.
12362 (rcirc-server-alist): New field `encryption'.
12363 (rcirc): Check `encryption' settings.
12364 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12365 Merge make-local-variable into `set'.
12366 (rcirc--connection-open-p): New function.
12367 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12368 the process is not a network process (e.g. running gnutls-cli).
12369 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12370 Make rcirc-(en|de)code-coding-system local here.
12371 (rcirc-mode): Merge make-local-variable into `set'.
12372 (rcirc-parent-buffer): Make permanent buffer-local.
12373 (rcirc-multiline-minor-mode): Don't do it here.
12374 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12375 there's no server buffer.
12376
7d3b9d44
GM
123772011-05-11 Glenn Morris <rgm@gnu.org>
12378
f64049c6
GM
12379 * newcomment.el (comment-kill): Prefix "unused" local.
12380
93c9df73
GM
12381 * term/w32console.el (get-screen-color): Declare.
12382
7d3b9d44
GM
12383 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12384 Handle symbol elements of byte-compile-initial-macro-environment.
12385
9e2dd53f
LL
123862011-05-10 Leo Liu <sdl.web@gmail.com>
12387
488086f4
SM
12388 * bookmark.el (bookmark-bmenu-mode-map):
12389 Bind bookmark-bmenu-search to `/'.
8b340240 12390
9e2dd53f 12391 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12392 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12393 (Footnote-unicode): New function.
12394 (footnote-style-alist): Add unicode style to the list.
12395 (footnote-style): Doc fix.
9e2dd53f 12396
79b70037
GM
123972011-05-10 Jim Meyering <meyering@redhat.com>
12398
12399 Fix doubled-word typos.
12400 * international/quail.el (quail-insert-kbd-layout): and and -> and
12401 * kermit.el: and and -> and
12402 * net/ldap.el (ldap-search-internal): to to -> to
12403 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12404 * progmodes/js.el (js-mode): and and -> and
12405 * textmodes/artist.el (artist-move-to-xy): at at -> at
12406 (artist-draw-region-trim-line-endings): if if -> if
12407 And Safetyc -> Safety.
12408 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12409
b8f82dc1 124102011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12411 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12412
12413 * files.el (hack-one-local-variable-eval-safep):
12414 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12415
4f99f44b
GM
124162011-05-10 Glenn Morris <rgm@gnu.org>
12417
12418 * calendar/diary-lib.el (diary-list-entries-hook)
12419 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12420 (diary-nongregorian-marking-hook, diary-list-entries)
12421 (diary-include-other-diary-files, diary-mark-entries)
12422 (diary-mark-included-diary-files): Doc fixes.
12423
84f29e6b
JB
124242011-05-09 Juanma Barranquero <lekktu@gmail.com>
12425
12426 * misc.el: Require tabulated-list.el during compilation.
12427
9bedd73a
CY
124282011-05-09 Chong Yidong <cyd@stupidchicken.com>
12429
488086f4
SM
12430 * progmodes/compile.el (compilation-start):
12431 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12432 (compilation-filter-hook): Doc fix.
12433
797c735c
DD
124342011-05-09 Deniz Dogan <deniz@dogan.se>
12435
12436 * wdired.el: Remove outdated installation comment. Fix usage
12437 comment.
12438
5f4b1dfe
JB
124392011-05-09 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * misc.el: Implement new command `list-dynamic-libraries'.
12442 (list-dynamic-libraries--loaded-only-p): New variable.
12443 (list-dynamic-libraries--refresh): New function.
12444 (list-dynamic-libraries): New command.
12445
4c44026c
CY
124462011-05-09 Chong Yidong <cyd@stupidchicken.com>
12447
488086f4
SM
12448 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12449 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12450 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12451 higher priority to avoid clobbering by gnu.
12452
027f966d
CY
124532011-05-08 Chong Yidong <cyd@stupidchicken.com>
12454
12455 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12456 if the face has existing theme settings (Bug#8454).
12457
085f5d7d
CY
124582011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12459
488086f4
SM
12460 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12461 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12462
2a86a00c
RS
12463 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12464 special file names `.' and `..' (Bug#8259).
12465
d9c54a06
CY
124662011-05-08 Chong Yidong <cyd@stupidchicken.com>
12467
488086f4
SM
12468 * progmodes/grep.el (grep-mode-font-lock-keywords):
12469 Remove buffer-changing entries.
d9c54a06
CY
12470 (grep-filter): New function.
12471 (grep-mode): Add it to compilation-filter-hook.
12472
12473 * progmodes/compile.el (compilation-filter-hook)
12474 (compilation-filter-start): New defvars.
12475 (compilation-filter): Call compilation-filter-hook prior to
12476 updating the process mark.
12477
c4662635
SM
124782011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12481
b0512a1d
EZ
124822011-05-07 Eli Zaretskii <eliz@gnu.org>
12483
605c9376
EZ
12484 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12485 mailclient-send-it even if window-system is nil. (Bug#8595)
12486
c4662635
SM
12487 * term/w32console.el (terminal-init-w32console):
12488 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12489 background-mode. (Bug#8597)
12490
d1dc2cc2
SM
124912011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12492
12493 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12494 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12495 New functions.
12496 (defgeneric, eieio--defmethod): Use them.
12497 (eieio-defgeneric): Remove.
12498 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12499
915d1300
GM
125002011-05-07 Glenn Morris <rgm@gnu.org>
12501
a3961c3e
GM
12502 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12503 Use let rather than let*.
12504 (timeclock-find-discrep): Remove unused local.
12505
314347b9
GM
12506 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12507
915d1300
GM
12508 * calendar/appt.el (appt-time-msg-list): Doc fix.
12509
275b59b0
NF
125102011-05-06 Noah Friedman <friedman@splode.com>
12511
12512 * apropos.el (apropos-print-doc): Only use
12513 emacs-lisp-docstring-fill-column when it is bound to an integer,
12514 per that variable's documentation.
12515
6c19f744
SM
125162011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12519 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12520
60f884b2
GM
125212011-05-06 Glenn Morris <rgm@gnu.org>
12522
5006e634
GM
12523 * calendar/appt.el (appt-message-warning-time): Doc fix.
12524 (appt-warning-time-regexp): New option.
12525 (appt-make-list): Respect appt-message-warning-time.
12526
548d0a63
GM
12527 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12528 New options.
12529 (diary-add-to-list): Strip comments from the displayed string.
12530 (diary-mode): Set comment-start and comment-end.
12531
60f884b2
GM
12532 * vc/diff-mode.el (smerge-refine-subst): Declare.
12533 (diff-refine-hunk): Don't require smerge-mode when compiling.
12534
989681bb
JB
125352011-05-06 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * simple.el (list-processes): Return nil as the docstring says.
12538
a6bc05e1
MA
125392011-05-05 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12542 to "".
12543 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12544 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12545 determining of binary transfer. (Bug#7383)
12546
23c22e9a
MA
125472011-05-05 Michael Albinus <michael.albinus@gmx.de>
12548
c4662635
SM
12549 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12550 Fix port computation bug. (Bug#8618)
23c22e9a 12551
0bff894f
GM
125522011-05-05 Glenn Morris <rgm@gnu.org>
12553
b8296902
GM
12554 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12555
1f522ce8
GM
12556 * simple.el (shell-dynamic-complete-functions)
12557 (comint-dynamic-complete-functions): Declare.
12558
cf5bee67
GM
12559 * net/network-stream.el (gnutls-negotiate):
12560 * simple.el (tabulated-list-print): Fix declarations.
12561
12562 * progmodes/gud.el (syntax-symbol, syntax-point):
12563 Remove unnecessary and incorrect declarations.
12564
0bff894f
GM
12565 * emacs-lisp/check-declare.el (check-declare-scan):
12566 Handle byte-compile-initial-macro-environment in bytecomp.el
12567
9869b3ae
SM
125682011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 Fix earlier half-done eieio-defmethod change (bug#8338).
12571 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12572 Streamline and change calling convention.
12573 (defmethod): Adjust accordingly and simplify.
12574 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12575 new eieio--defmethod.
12576 (slot-boundp): Minor CSE simplification.
12577
9c1d5ac5
MZ
125782011-05-05 Milan Zamazal <pdm@zamazal.org>
12579
12580 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12581 (glasses-make-readable): Use glasses-separate-capital-groups.
12582
455c834e
JB
125832011-05-05 Juanma Barranquero <lekktu@gmail.com>
12584
12585 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12586 (warning-series): Doc fix.
12587 (display-warning): Don't try to create the buffer if we just found it.
12588
9ed7c8cb
CY
125892011-05-04 Chong Yidong <cyd@stupidchicken.com>
12590
12591 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12592 (autoload-find-generated-file): New function.
12593 (generate-file-autoloads): Bind generated-autoload-file to
12594 buffer-file-name.
9869b3ae
SM
12595 (update-file-autoloads, update-directory-autoloads):
12596 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12597 output file (Bug#7989).
12598 (batch-update-autoloads): Doc fix.
12599
0898ca10
JB
126002011-05-04 Juanma Barranquero <lekktu@gmail.com>
12601
12602 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12603
31dfb76c
GM
126042011-05-04 Glenn Morris <rgm@gnu.org>
12605
f330b642
GM
12606 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12607 function, so it follows changes in calendar-date-style.
12608 (diary-fancy-date-matcher): New function.
12609 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12610 (diary-fancy-font-lock-fontify-region-function):
12611 Use diary-fancy-date-pattern as a function.
12612
31dfb76c
GM
12613 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12614 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12615
48e79d6a
TZ
126162011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12617
12618 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12619 instead of positional arguments. Allow :keylist and :crlfiles
12620 arguments.
12621 (open-gnutls-stream): Call it.
12622
12623 * net/network-stream.el (network-stream-open-starttls): Adjust to
12624 call `gnutls-negotiate' with :process and :hostname arguments.
12625
dd5a5ee0
SM
126262011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12627
ef80fc09
SM
12628 * minibuffer.el (completion--message): New function.
12629 (completion--do-completion, minibuffer-complete)
12630 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12631 (completion--do-completion): Don't ignore completion-auto-help when in
12632 icomplete-mode.
12633
dd5a5ee0
SM
12634 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12635 internal encoding (e.g. tibetan zero is not whitespace).
12636 (global-whitespace-mode): Prefer save-current-buffer.
12637 (whitespace-trailing-regexp): Remove useless save-match-data.
12638 (whitespace-empty-at-bob-regexp): Minor simplification.
12639
b7d22a83
CY
126402011-05-03 Chong Yidong <cyd@stupidchicken.com>
12641
12642 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12643
5192af46
AM
126442011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12645
12646 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12647 Use `concat' to create string for insertion.
5192af46 12648
5767d190
SM
126492011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12652 Avoid open-line which runs post-self-insert-hook.
12653 (bibtex-fill-entry): Remove unused `end' var.
12654
bf242939
AM
126552011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12656
5767d190
SM
12657 * textmodes/ispell.el (ispell-add-per-file-word-list):
12658 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12659
25666126
LL
126602011-05-03 Leo Liu <sdl.web@gmail.com>
12661
12662 * isearch.el (isearch-yank-pop): New command.
5767d190 12663 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12664 (isearch-forward): Mention it.
12665
52d3c2d0
SM
126662011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12667
1bcace58
SM
12668 * simple.el (minibuffer-complete-shell-command): Remove.
12669 (minibuffer-local-shell-command-map): Use completion-at-point.
12670 (read-shell-command): Setup completion vars here instead.
12671 (read-expression-map): Bind TAB to symbol completion.
12672
52d3c2d0
SM
12673 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12674 error directly rather via storing it into `results'.
12675
35813471
LL
126762011-05-02 Leo Liu <sdl.web@gmail.com>
12677
12678 * vc/diff.el: Fix description.
12679
e793a940
LMI
126802011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12681
12682 * server.el (server-eval-at): New function.
12683
8de66e05
LMI
126842011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12685
12686 * net/network-stream.el (open-network-stream): Take a :nowait
12687 parameter and pass it on to `make-network-process'.
12688 (network-stream-open-plain): Ditto.
12689
dcb79f20
AS
126902011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12691
12692 * faces.el (face-spec-set-match-display): Don't match toolkit
12693 options on terminal frames.
12694
14a7fbd8
SM
126952011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12696
7eabc1be
SM
12697 * progmodes/pascal.el: Use lexical binding.
12698 (pascal-mode-map): Remove author preferences.
12699
14a7fbd8
SM
12700 * pcomplete.el (pcomplete-std-complete): Don't abuse
12701 completion-at-point.
12702
50f84510
JB
127032011-04-28 Juanma Barranquero <lekktu@gmail.com>
12704
6e087a44
JB
12705 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12706 removing code that has been dead since 1991 or so.
12707
50f84510
JB
12708 * startup.el (command-line): When warning about "_emacs", use a
12709 delayed warning to allow the user to filter it out.
12710
0ba690bd
DD
127112011-04-28 Deniz Dogan <deniz@dogan.se>
12712
12713 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12714 user has not joined.
12715
08abfaad
SM
127162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12719 aren't any completions at point.
12720
638f053a
JB
127212011-04-28 Juanma Barranquero <lekktu@gmail.com>
12722
12723 * subr.el (display-delayed-warnings): New function.
12724 (delayed-warnings-hook): New variable.
12725
8fff8daa
SM
127262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12727
08abfaad
SM
12728 * minibuffer.el (completion-at-point, completion-help-at-point):
12729 Don't presume that a given completion-at-point-function will always
12730 use the same calling convention.
12731
8fff8daa
SM
12732 * pcomplete.el (pcomplete-completions-at-point):
12733 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12734 pcomplete-seen is non-nil.
12735 (pcomplete-comint-setup): Also recognize the new comint/shell
12736 completion functions.
12737 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12738 pcomplete-seen is non-nil.
12739
841a1577 127402011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12741
841a1577 12742 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12743 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12744 the first character in the entry. This allows for code to add its
211ec907
UJ
12745 own uid to the entry.
12746 (icalendar--convert-float-to-ical): Add export of
12747 `diary-float'-entries save for those with the optional DAY
12748 argument.
12749
2a782793
DC
127502011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12751
12752 * subr.el (shell-quote-argument): Use alternate escaping strategy
12753 when we spot a variable reference in a string.
12754
0438ce91
DC
127552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12756
12757 * cus-start.el (all): Define customization for debug-on-event.
12758
841a1577 127592011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12760
12761 * subr.el (shell-quote-argument): Escape correctly under Windows.
12762
d090ed6c
SM
127632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12766
bfd31217
MA
127672011-04-25 Michael Albinus <michael.albinus@gmx.de>
12768
d090ed6c
SM
12769 * net/tramp.el (tramp-process-actions): Add POS argument.
12770 Delete region between POS and (pos).
bfd31217 12771
d090ed6c
SM
12772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12773 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12774 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12775
12776 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12777 position in `tramp-process-actions' call.
12778
12779 * net/trampver.el: Update release number.
12780
e92f3bd3
SM
127812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12782
850256b5
SM
12783 * custom.el (defcustom): Obey lexical-binding.
12784
e92f3bd3
SM
12785 Fix octave-inf completion problems reported by Alexander Klimov.
12786 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12787 Inherit from octave-mode-syntax-table.
12788 (inferior-octave-mode): Set info-lookup-mode.
12789 (inferior-octave-completion-at-point): New function.
12790 (inferior-octave-complete): Use it and completion-in-region.
12791 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12792 comint-filename-completion.
12793 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12794 symbol elements which shouldn't be word elements.
12795 (octave-font-lock-keywords, octave-beginning-of-defun)
12796 (octave-function-header-regexp): Adjust regexps accordingly.
12797 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12798
cd22b309
JB
127992011-04-25 Juanma Barranquero <lekktu@gmail.com>
12800
12801 * net/gnutls.el (gnutls-errorp): Declare before first use.
12802
8b492194
TZ
128032011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12804
12805 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12806 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12807 default trustfile exists before going to use it. Add missing
5a5fa834 12808 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12809 Reported by Claudio Bley <claudio.bley@gmail.com>.
12810 (open-gnutls-stream): Add usage example.
12811
12812 * net/network-stream.el (network-stream-open-starttls): Give host
12813 parameter to `gnutls-negotiate'.
12814 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12815 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12816
841a1577 128172011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12818
cd22b309
JB
12819 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12820 Use correct match group (bug#8438).
05842630 12821
3ba7869c
CY
128222011-04-24 Chong Yidong <cyd@stupidchicken.com>
12823
512e3ae1
CY
12824 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12825 (package-menu--generate): New arg specifying packages to show.
12826 (package-menu-refresh, package-menu-execute, list-packages):
12827 Callers changed.
12828 (package-show-package-list): New function, replacing deleted
12829 package--list-packages (renamed because it is non-internal).
12830
12831 * finder.el (finder-list-matches): Use package-show-package-list
12832 instead of deleted package--list-packages.
12833
e92f3bd3
SM
12834 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12835 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12836 (vc-annotate-mode-map): Bind it to RET.
12837
7031be6d
UR
128382011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12839
12840 * progmodes/etags.el (next-file): Don't use set-buffer to change
12841 buffers (Bug#8478).
12842
4ef177aa
CY
128432011-04-24 Chong Yidong <cyd@stupidchicken.com>
12844
c8d173eb
CY
12845 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12846
4ef177aa
CY
12847 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12848 (apropos-accumulator): Doc fix.
12849 (apropos-function, apropos-macro, apropos-command)
12850 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12851 (apropos-plist): Add face property.
12852 (apropos-symbols-internal): Fix indentation.
12853 (apropos-print): Simplify help, and recognize apropos-multi-type.
12854 (apropos-print-doc): Use button-type-get to extract the button's
12855 face property. Fill docstring (Bug#8352).
12856
4ffd0d6b 128572011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12858
12859 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12860
c6c32125 12861 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12862 (mpuz-mode-map): Use mapc.
c6c32125
JB
12863 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12864 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12865 Fix typos in docstrings.
12866
58d468b4
JB
12867 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12868 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12869
6470c3c6
JB
12870 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12871
4ffd0d6b 128722011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12873
12874 * minibuffer.el (completion--do-completion): Avoid the "Next char
12875 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12876
3ad8bad0
CY
12877 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12878 mouse-2 into unread-command-events, it is interpreted correctly.
12879
71d73c9c 12880 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12881 (image-toggle-display): Doc fix.
71d73c9c 12882
841a1577 128832011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12884
4ffd0d6b
GM
12885 * textmodes/page.el (what-page): Use line-number-at-pos to
12886 calculate line number (Bug#6825).
6e1dbaa9 12887
c2fb1b60
JB
128882011-04-22 Juanma Barranquero <lekktu@gmail.com>
12889
12890 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12891 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12892 Pass argument NO-DEFAULT to `find-tag-interactive'.
12893
e02f48d7
JB
128942011-04-22 Juanma Barranquero <lekktu@gmail.com>
12895
12896 Lexical-binding cleanup.
12897
12898 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12899 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12900 * progmodes/ada-prj.el (ada-prj-initialize-values)
12901 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12902 (ada-prj-show-value):
12903 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12904 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12905 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12906 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12907 * progmodes/bug-reference.el (bug-reference-push-button):
12908 * progmodes/fortran.el (fortran-line-length):
12909 * progmodes/glasses.el (glasses-change):
12910 * progmodes/octave-mod.el (octave-fill-paragraph):
12911 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12912 (python-pdbtrack-grub-for-buffer, python-sentinel):
12913 * progmodes/sql.el (sql-save-connection):
12914 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12915 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12916 Mark unused parameters.
12917
12918 * progmodes/compile.el (compilation--flush-directory-cache)
12919 (compilation--flush-parse, compile-internal): Mark unused parameters.
12920 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12921 (compilation-next-error-function): Remove unused variable `timestamp'.
12922
12923 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12924 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12925
12926 * progmodes/dcl-mode.el (dcl-end-of-command):
12927 Remove unused variable `start'.
12928 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12929 (dcl-option-value-basic, dcl-option-value-offset)
12930 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12931 Mark unused parameters.
12932 (dcl-save-local-variable): Remove unused variable `val'.
12933 (mode): Declare.
12934
12935 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12936 Mark unused parameters.
12937 (delphi-ignore-changes): Move before first use.
12938 (delphi-charset-token-at): Remove unused variable `start'.
12939 (delphi-else-start): Remove unused variable `if-count'.
12940 (delphi-comment-block-start, delphi-comment-block-end):
12941 Remove unused variable `kind'.
12942 (delphi-indent-line): Remove unused variable `new-point'.
12943
12944 * progmodes/ebrowse.el (ebrowse-files-list)
12945 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12946 Mark unused parameters. Don't quote `lambda'.
12947 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12948 Don't quote `lambda'.
12949 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12950 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12951 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12952 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12953 Use `ignore-errors'.
12954 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12955 (ebrowse-view/find-file-and-search-pattern)
12956 (ebrowse-view/find-member-declaration/definition):
12957 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12958 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12959 Rename parameter PREFIX-ARG to PREFIX.
12960 (ebrowse-tags-read-name): Remove unused variables `start' and
12961 `member-info'.
12962 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12963 to `tags-file'.
12964
12965 * progmodes/etags.el (local-find-tag-hook): Declare.
12966 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12967 Mark unused parameters.
12968
12969 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12970 (executable-interpret): Mark unused parameter.
12971
12972 * progmodes/flymake.el (flymake-process-sentinel)
12973 (flymake-after-change-function)
12974 (flymake-create-temp-with-folder-structure)
12975 (flymake-get-include-dirs-dot): Mark unused parameters.
12976 (flymake-safe-delete-directory): Remove unused variable `err'.
12977
12978 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12979 (speedbar-timer-fn, speedbar-line-text)
12980 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12981 (speedbar-center-buffer-smartly): Declare functions.
12982 (gdb-find-watch-expression): Remove unused variable `array'.
12983 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12984 (gdb-starting): Mark unused parameters.
12985 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12986 (gdb-table-string): Remove unused variable `res'.
12987 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12988 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12989 (gdb-display-buffer): Remove unused variable `cur-size'.
12990
12991 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12992 allow lexical-binding compilation.
12993 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12994 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12995 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12996 Mark unused parameters.
12997 (gud-gdb-marker-filter): Remove unused variable `match'.
12998 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12999 lambda expressions and funcall them, instead of using `fset'.
13000
13001 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13002 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13003
13004 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13005 variable `header-beg'; use `let'.
13006
13007 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13008 `restart', `last-sexp' and `at-do'.
13009
13010 * progmodes/js.el (js--debug): Mark unused parameter.
13011 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13012 (js--splice-into-items): Remove unused variable `item'.
13013 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13014
13015 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13016 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13017 (makefile-complete): Remove unused variable `try'.
13018 (makefile-fill-paragraph, makefile-match-function-end):
13019 Mark unused parameters.
13020
13021 * progmodes/octave-inf.el (inferior-octave-complete):
13022 Remove unused variable `proc'.
13023 (inferior-octave-output-digest): Mark unused parameter.
13024
13025 * progmodes/perl-mode.el (perl-calculate-indent):
13026 Remove unused variable `err'.
13027
13028 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13029 (prolog-indent-line): Mark unused parameters.
13030 (prolog-indent-line): Remove unused variable `beg'.
13031
13032 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13033 (reporter-dont-compact-list): Declare.
13034
13035 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13036 Remove unused variable `char'.
13037 (sh-debug): Mark unused parameter.
13038 (sh-get-indent-info): Remove unused variable `start'.
13039 (sh-calculate-indent): Remove unused variable `var'.
13040
13041 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13042 (simula-electric-keyword): Remove unused variable `null'.
13043 (simula-search-backward, simula-search-forward): Remove unused
13044 variables `begin' and `end'.
13045
13046 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13047 Remove unused variable `pos'.
13048 (vera-electric-tab, vera-comment-uncomment-region):
13049 Mark unused parameters.
13050 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13051
7ede3b65
CY
130522011-04-22 Chong Yidong <cyd@stupidchicken.com>
13053
13054 * emacs-lisp/package.el (package--builtins, package-alist)
13055 (package-load-descriptor, package-built-in-p, package-activate)
13056 (define-package, package-installed-p)
13057 (package-compute-transaction, package-buffer-info)
13058 (package--push): Doc fix. Distinguish more clearly between
13059 version strings and version lists.
13060
121656e9
JB
130612011-04-21 Juanma Barranquero <lekktu@gmail.com>
13062
13063 Lexical-binding cleanup.
13064
13065 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13066 (5x5-make-mutate-best):
13067 * play/fortune.el (fortune-in-buffer):
13068 * play/gomoku.el (gomoku-init-display):
13069 * play/solitaire.el (solitaire, solitaire-do-check):
13070 * play/tetris.el (tetris-default-update-speed-function):
13071 Mark unused parameters.
13072
13073 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13074 (bubbles--shift): Remove unused variable `char-org'.
13075 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13076 (bubbles--show-images): Remove unused variable `char'.
13077
13078 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13079 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13080 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13081 (decipher-analyze-buffer): Use ?\s.
13082 (decipher-make-checkpoint): Remove unused variable `mapping'.
13083
13084 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13085
13086 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13087 Remove unused variable `result'; use `let'.
13088
13089 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13090 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13091 (gametree-children-shown-p, gametree-compute-reduced-score):
13092 Use `ignore-errors'.
13093
13094 * play/handwrite.el (ps-lpr-switches): Declare.
13095 (handwrite): Remove unused variables `pmin' and `lastp'.
13096
13097 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13098
13099 * play/landmark.el (landmark-init-display)
13100 (landmark-update-naught-weights): Mark unused parameters.
13101 (landmark-y): Remove unused variable `noise'. Simplify.
13102 (landmark-human-plays): Remove unused variable `score'.
13103
13104 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13105 (mpuz-try-proposal): Remove unused variable `game'.
13106
13107 * play/zone.el (life-patterns): Declare.
13108
80f499c7
JB
131092011-04-20 Juanma Barranquero <lekktu@gmail.com>
13110
13111 * vc/vc.el (ediff-vc-internal): Declare function.
13112
024ff170
SM
131132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13114
c0a193ea
SM
13115 * shell.el: Use lexical-binding and std completion UI.
13116 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13117 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13118 comint-preoutput-filter-functions rather than on
13119 comint-output-filter-functions.
13120 (shell-command-completion, shell--command-completion-data)
13121 (shell-filename-completion, shell-environment-variable-completion)
13122 (shell-c-a-p-replace-by-expanded-directory): New functions.
13123 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13124 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13125 (shell-dynamic-complete-environment-variable): Use them.
13126 (shell-dynamic-complete-as-environment-variable)
13127 (shell-dynamic-complete-as-command): Remove.
13128 (shell-match-partial-variable): Match past point.
13129 * comint.el: Clean up use of completion-at-point-functions.
13130 (comint-completion-at-point): New function.
13131 (comint-mode): Use it completion-at-point-functions.
13132 (comint-dynamic-complete): Make it obsolete.
13133 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13134 (comint-c-a-p-replace-by-expanded-history): New function.
13135 (comint-dynamic-complete-functions)
13136 (comint-replace-by-expanded-history): Use it.
13137 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13138 termination strings. Try harder to avoid second try-completion.
13139 (completion-in-region-mode-map): Disable bindings that don't work yet.
13140
2dbaa080
SM
13141 * comint.el: Use lexical-binding. Require CL.
13142 (comint-dynamic-complete-functions): Use comint-filename-completion.
13143 (comint-completion-addsuffix): Tweak custom type.
13144 (comint-filename-completion, comint--common-suffix)
13145 (comint--common-quoted-suffix, comint--table-subvert)
13146 (comint--complete-file-name-data): New functions.
13147 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13148 (comint-dynamic-list-filename-completions): Use them.
13149 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13150
2dbaa080
SM
13151 * minibuffer.el (completion-in-region-mode):
13152 Keep completion-in-region-mode--predicate global.
13153 (completion-in-region--postch):
13154 Assume completion-in-region-mode--predicate is not null.
13155
c79a6f38
SM
13156 * progmodes/flymake.el (flymake-start-syntax-check-process):
13157 Obey `dir'. Simplify.
13158
024ff170
SM
13159 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13160 we're in VC after all.
13161
1c6c854e
CS
131622011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13163
13164 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13165 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13166 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13167
bed7f140
SM
131682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13169
332e62ab
SM
13170 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13171 add sanity check.
13172
bed7f140
SM
13173 * obsolete/erc-hecomplete.el: Make obsolete.
13174 * obsolete/: Standardize obsolescence info in the header.
13175
f195c582
GM
131762011-04-20 Glenn Morris <rgm@gnu.org>
13177
13178 * calendar/solar.el (solar-horizontal-coordinates):
13179 Use the longitude argument rather than `calendar-longitude'.
13180 (solar-date-next-longitude): Remove unused locals.
13181
cb79b8c0
VJL
131822011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13183
13184 * whitespace.el: New version 13.2.1.
13185
131862011-04-20 felix <EmacsWiki> (tiny change)
13187
d8e4b68b 13188 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13189 switching between major modes on a file.
13190
602ea69d
SM
131912011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13194 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13195 multi-line comments as well.
13196
06b60517
JB
131972011-04-19 Juanma Barranquero <lekktu@gmail.com>
13198
13199 Lexical-binding cleanup.
13200
13201 * arc-mode.el (archive-mode-revert):
13202 * cmuscheme.el (scheme-interactively-start-process):
13203 * custom.el (custom-initialize-delay):
13204 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13205 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13206 * emacs-lock.el (emacs-lock-clear-sentinel):
13207 * ezimage.el (defezimage):
13208 * follow.el (follow-avoid-tail-recenter):
13209 * fringe.el (set-fringe-mode-1):
13210 * generic-x.el (bat-generic-mode-compile):
13211 * help-mode.el (help-info-variable, help-do-xref)
13212 (help-mode-revert-buffer):
13213 * help.el (view-emacs-todo):
13214 * iswitchb.el (iswitchb-completion-help):
13215 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13216 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13217 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13218 * locate.el (locate-update):
13219 * longlines.el (longlines-encode-region)
13220 (longlines-after-change-function):
13221 * outline.el (outline-isearch-open-invisible):
13222 * ps-def.el (declare-function, charset-dimension, char-width)
13223 (encode-char):
13224 * ps-mule.el (ps-mule-plot-string):
13225 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13226 (recentf-edit-list-select, recentf-edit-list-validate)
13227 (recentf-open-files-action):
13228 * rect.el (delete-whitespace-rectangle-line)
13229 (rectangle-number-line-callback):
13230 * register.el (window-configuration-to-register)
13231 (frame-configuration-to-register):
13232 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13233 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13234 (xselect-convert-to-targets, xselect-convert-to-delete)
13235 (xselect-convert-to-filename, xselect-convert-to-charpos)
13236 (xselect-convert-to-lineno, xselect-convert-to-colno)
13237 (xselect-convert-to-os, xselect-convert-to-host)
13238 (xselect-convert-to-user, xselect-convert-to-class)
13239 (xselect-convert-to-name, xselect-convert-to-integer)
13240 (xselect-convert-to-atom, xselect-convert-to-identity):
13241 * subr.el (declare, ignore, process-kill-without-query)
13242 (text-clone-maintain):
13243 * terminal.el (te-get-char, te-tic-sentinel):
13244 * tool-bar.el (tool-bar-make-keymap):
13245 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13246 * type-break.el (type-break-mode, type-break-noninteractive-query):
13247 * view.el (View-back-to-mark):
13248 * wid-browse.el (widget-browse-action, widget-browse-widget)
13249 (widget-browse-widgets, widget-browse-sexp):
13250 * widget.el (define-widget-keywords):
13251 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13252 Mark unused parameters.
13253
13254 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13255 (align-areas): Remove unused variable `look'.
13256 (align-region): Remove unused variables `real-end' and `pos-list'.
13257
13258 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13259
13260 * bindings.el (mode-line-modified, mode-line-remote):
13261 Mark unused parameters.
13262 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13263
13264 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13265 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13266
13267 * comint.el (comint-history-isearch-pop-state)
13268 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13269 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13270 (comint-substitute-in-file-name): Doc fix.
13271
13272 * completion.el (cmpl-statistics-block): Mark unused parameter.
13273 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13274 (save-completions-to-file, load-completions-from-file):
13275 Remove unused local variable `e'.
13276
13277 * composite.el (compose-chars): Remove unused variable `len'.
13278 (lgstring-insert-glyph): Remove unused variable `g'.
13279 (compose-glyph-string): Remove unused variables `ascent',
13280 `descent', `lbearing' and `rbearing'.
13281 (compose-glyph-string-relative): Remove unused variables
13282 `lbearing', `rbearing' and `wadjust'.
13283 (compose-gstring-for-graphic): Remove unused variables `header',
13284 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13285 (compose-gstring-for-terminal): Remove unused variables `header'
13286 and `nchars'. Use `let', not `let*'.
13287
13288 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13289 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13290 (Custom-buffer-done, custom-buffer-create-internal)
13291 (custom-browse-visibility-action, custom-browse-group-tag-action)
13292 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13293 (widget-magic-mouse-down-action, custom-toggle-parent)
13294 (custom-add-parent-links, custom-toggle-hide-variable)
13295 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13296 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13297 (custom-face-menu-create, custom-variable-menu-create, get)
13298 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13299 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13300 (customize-apropos): Remove unused variable `tests'.
13301 (custom-group-value-create): Remove unused variable `hidden-p'.
13302 (sort-fold-case): Declare.
13303
13304 * cus-theme.el (custom-reset-standard-faces-list)
13305 (custom-reset-standard-variables-list): Declare.
13306 (customize-create-theme, custom-theme-revert, custom-theme-write)
13307 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13308 Mark unused parameters.
13309
13310 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13311
13312 * delim-col.el (delimit-columns-max): Move defvar before first use.
13313
13314 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13315 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13316
13317 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13318 (auto-insert): Declare.
13319 (desktop-restore-file-buffer): Rename desktop-* parameters;
13320 mark unused ones.
13321 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13322 (desktop-buffer): Rename desktop-* parameters.
13323
13324 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13325 (dframe-reposition-frame-xemacs, dframe-help-echo)
13326 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13327 Mark unused parameters.
13328
13329 * dired-aux.el (backup-extract-version-start, overwrite-query)
13330 (overwrite-backup-query, rename-regexp-query)
13331 (rename-non-directory-query): Declare.
13332 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13333 (dired-add-entry): Remove unused variable `orig-file-name'.
13334 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13335 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13336 `dired-copy-preserve-time' directly.
13337 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13338 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13339
13340 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13341 (dired-virtual-revert, dired-make-relative-symlink):
13342 Mark unused parameters.
13343 (manual-program): Declare.
13344 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13345 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13346 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13347
13348 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13349
13350 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13351
13352 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13353 Declare.
13354
13355 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13356
13357 * electric.el (Electric-command-loop): Rename parameter
13358 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13359
13360 * expand.el (expand-in-literal): Remove unused variable `here'.
13361
13362 * facemenu.el (facemenu-add-new-color):
13363 Remove unused variable `docstring'.
13364
13365 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13366 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13367 (face-attr-construct): Mark unused parameter. Doc fix.
13368 (read-color): Remove unused variable `hex-string'.
13369
13370 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13371 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13372 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13373 (display-buffer-other-frame): Remove unused variable `old-window'.
13374 (kill-buffer-hook): Declare.
13375 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13376 Mark unused parameters.
13377 (after-find-file): Pass 1 to `auto-save-mode', not t.
13378
13379 * files-x.el (auto-insert): Declare.
13380 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13381
13382 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13383 variable `buf'. Mark unused parameter.
06b60517
JB
13384 (find-lisp-insert-directory): Mark unused parameter.
13385
13386 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13387 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13388 (format-common-tail): Remove, unused.
13389 (format-deannotate-region): Remove unused variable `loc'.
13390 (format-annotate-region): Remove unused variable `p'.
13391 (format-annotate-single-property-change): Remove unused variables
13392 `default' and `tail'.
13393
13394 * forms.el (read-file-filter): Declare.
13395 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13396
13397 * frame.el (frame-creation-function-alist): Mark unused parameter.
13398 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13399
13400 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13401 Remove unused parameters.
13402 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13403 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13404
13405 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13406 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13407 (hfy-prepare-tag-map): Mark unused parameters.
13408 (htmlfontify-buffer): Use `called-interactively-p'.
13409
13410 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13411 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13412 (ibuffer-do-occur): Mark unused parameters.
13413 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13414 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13415
13416 * ibuffer.el: Don't quote `lambda'.
13417 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13418 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13419 Mark unused parameters.
13420
13421 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13422 (ido-completing-read): Mark unused parameters.
13423 (ido-copy-current-word): Mark unused parameters;
13424 remove unused variable `name'.
13425 (ido-sort-merged-list): Remove unused parameter `dirs'.
13426
13427 * ielm.el (ielm-input-sender): Mark unused parameter.
13428 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13429 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13430 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13431 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13432 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13433
13434 * image-dired.el (image-dired-display-thumbs): Remove unused
13435 variables `curr-file' and `count'.
13436 (image-dired-remove-tag): Remove unused variable `start'.
13437 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13438 variable `curr-file'
13439 (image-dired-rotate-original): Remove unused variable `temp-file'.
13440 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13441 Remove unused variable `file'.
13442 (image-dired-gallery-generate): Remove unused variable `curr'.
13443 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13444
13445 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13446
13447 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13448
13449 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13450
13451 * isearch.el (minibuffer-history-symbol): Declare.
13452 (isearch-edit-string): Remove unused variable `err'.
13453 (isearch-message-prefix, isearch-message-suffix):
13454 Mark unused parameters.
13455
13456 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13457
13458 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13459
13460 * makesum.el (double-column): Remove unused variable `cnt'.
13461
13462 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13463 (ido-ignore-item-temp-list): Declare.
13464
13465 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13466 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13467 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13468 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13469 `mouse-col-delta'.
13470
13471 * mouse-sel.el (mouse-extend-internal):
13472 Remove unused variable `orig-window-frame'.
13473
13474 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13475 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13476 Move declarations before first use.
13477 (pcomplete-opt): Mark unused parameters; doc fix.
13478
13479 * proced.el (proced-revert): Mark unused parameter.
13480 (proced-send-signal): Remove unused variable `err'.
13481
13482 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13483 Rename parameter PREFIX-ARG to ARG.
13484 (ps-basic-plot-string, ps-basic-plot-whitespace):
13485 Mark unused parameters.
13486
13487 * replace.el (replace-count): Define.
13488 (occur-revert-function): Mark unused parameters.
13489 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13490 (isearch-case-fold-search, isearch-string): Declare.
13491 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13492 bind `case-fold-search'. Remove unused variables `beg' and `end',
13493 and simplify.
13494 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13495 COUNT and bind `replace-count'.
13496 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13497 to COUNT.
13498
13499 * savehist.el (print-readably, print-string-length): Declare.
13500
13501 * shadowfile.el (shadow-expand-cluster-in-file-name):
13502 Remove unused variable `cluster'.
13503 (shadow-copy-file): Remove unused variable `i'.
13504 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13505 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13506 (shadow-define-literal-group, shadow-define-regexp-group)
13507 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13508
13509 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13510 (shell): Use `called-interactively-p'.
13511 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13512
13513 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13514 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13515 (delete-backward-char): Remove unused variable `ocol'.
13516 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13517 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13518 (event-apply-hyper-modifier, event-apply-shift-modifier)
13519 (event-apply-control-modifier, event-apply-meta-modifier):
13520 Mark unused parameters.
13521 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13522 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13523
13524 * speedbar.el (speedbar-ignored-directory-expressions)
13525 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13526 (speedbar-find-file, speedbar-dir-follow)
13527 (speedbar-directory-buttons-follow, speedbar-tag-find)
13528 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13529 (speedbar-buffers-line-directory, speedbar-buffer-click):
13530 Mark unused parameters.
13531 (speedbar-tag-file): Remove unused variable `mode'.
13532 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13533
13534 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13535
13536 * talk.el (talk): Remove unused variable `display'.
13537
13538 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13539 (tar-write-region-annotate): Mark unused parameter.
13540
13541 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13542 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13543 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13544 warning by another.
13545
13546 * time-stamp.el (time-stamp-string-preprocess):
13547 Remove unused variable `require-padding'.
13548
13549 * tree-widget.el (widget-glyph-enable): Declare.
13550 (tree-widget-action): Mark unused parameter.
13551
13552 * w32-fns.el (x-get-selection): Mark unused parameter.
13553 (autoload-make-program, generated-autoload-file): Declare.
13554
13555 * wdired.el (wdired-revert): Mark unused parameters.
13556 (wdired-xcase-word): Remove unused variable `err'.
13557
13558 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13559 (whitespace-help-scroll): Remove unused variable `data-help'.
13560
13561 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13562 (widget-image-insert, widget-after-change, default)
13563 (widget-default-format-handler, widget-default-notify)
13564 (widget-default-prompt-value, widget-info-link-action)
13565 (widget-url-link-action, widget-function-link-action)
13566 (widget-variable-link-action, widget-file-link-action)
13567 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13568 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13569 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13570 (widget-insert-button-action, widget-delete-button-action, visibility)
13571 (widget-documentation-link-action, widget-documentation-string-action)
13572 (widget-const-prompt-value, widget-regexp-match, symbol)
13573 (widget-coding-system-prompt-value)
13574 (widget-key-sequence-value-to-external, sexp)
13575 (widget-sexp-value-to-internal, character, vector, cons)
13576 (widget-choice-prompt-value, widget-boolean-prompt-value)
13577 (widget-color--choose-action): Mark unused parameters.
13578 (widget-item-match-inline, widget-choice-match-inline)
13579 (widget-checklist-match, widget-checklist-match-inline)
13580 (widget-group-match): Rename parameter VALUES to VALS.
13581 (widget-field-value-set): Remove unused variable `size'.
13582 (widget-color-action): Remove unused variables `value' and `start'.
13583
13584 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13585 variable `dir'. Doc fix.
06b60517
JB
13586 (windmove-find-other-window): Don't pass it.
13587
13588 * window.el (count-windows): Mark unused parameter.
13589 (bw-adjust-window): Remove unused variable `err'.
13590
13591 * woman.el (woman-file-name): Remove unused variable `default'.
13592 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13593 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13594 (global-font-lock-mode): Declare.
13595 (woman-decode-region): Mark unused parameter.
13596 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13597
13598 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13599 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13600 (x-dnd-handle-moz-url): Remove unused variable `title'.
13601 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13602
13603 * xml.el (xml-parse-tag, xml-parse-attlist):
13604 Remove unused variable `pos'.
13605
bc4f7f3d
GM
136062011-04-19 Glenn Morris <rgm@gnu.org>
13607
13608 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13609 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13610 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13611 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13612 * calendar/cal-html.el (cal-html-insert-minical):
13613 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13614 (calendar-mark-date-pattern):
13615 Prefix "unused" locals.
13616
13617 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13618 optional argument `style'.
13619
13620 * calendar/appt.el (appt-make-list):
13621 * calendar/cal-china.el (calendar-chinese-date-string):
13622 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13623 (diary-hebrew-yahrzeit):
13624 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13625 * calendar/calendar.el (calendar-generate-window):
13626 * calendar/time-date.el (time-to-days):
13627 Remove unused local variables.
13628
16a43933
CY
136292011-04-18 Chong Yidong <cyd@stupidchicken.com>
13630
13631 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13632 glyphless-char-display table.
13633 (tabulated-list-glyphless-char-display): New var.
13634
7eed1860
SS
136352011-04-18 Sam Steingold <sds@gnu.org>
13636
13637 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13638 to acknowledgments.
13639
4d2d1ccd
GM
136402011-04-17 Glenn Morris <rgm@gnu.org>
13641
13642 * calendar/diary-lib.el (diary-sexp-entry):
13643 * calendar/holidays.el (holiday-sexp):
13644 Set debug-on-error rather than the removed stack-trace-on-error.
13645
239da61d
GM
136462011-04-16 Glenn Morris <rgm@gnu.org>
13647
13648 * progmodes/f90.el: Use lexical-binding.
13649 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13650
8b05752a
SM
136512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13652
daca8ba5
SM
13653 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13654 (mail-mode): Setup mailalias completion here instead.
13655 * mail/mailalias.el: Use lexical-binding.
13656 (pattern, mailalias-done): Declare dynamic.
13657 (mail-completion-at-point-function): New function, from mail-complete.
13658 (mail-complete): Use it.
13659 (mail-completion-expand): New function.
13660 (mail-get-names): Use it.
13661 (mail-directory, mail-directory-process, mail-directory-stream):
13662 Don't use `pattern' for lexically bound arg.
13663
6f542485
SM
13664 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13665
037e7c3f
SM
13666 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13667 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13668 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13669
8b05752a
SM
13670 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13671 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13672 (byte-interactive-p): Define them again, for use when inlining
13673 old code.
13674
49093f60
JB
136752011-04-15 Juanma Barranquero <lekktu@gmail.com>
13676
13677 * loadup.el: Use `string-to-number', not `string-to-int'.
13678
b5b8e7de
SM
136792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13682 gud-gdb-complete-command.
13683 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13684 (gud-gdb-completion-at-point): New function.
13685 (gud-gdb-completions): Remove.
13686
f42efeb5
MA
136872011-04-14 Michael Albinus <michael.albinus@gmx.de>
13688
49093f60
JB
13689 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13690 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13691 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13692 whether `executable-find' is bound.
f42efeb5
MA
13693
13694 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13695
e240cc21
SM
136962011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * minibuffer.el (completion-in-region-mode-predicate)
13699 (completion-in-region-mode--predicate): New vars.
13700 (completion-in-region, completion-in-region--postch)
13701 (completion-in-region-mode): Use them.
13702 (completion--capf-wrapper): Also return the hook function.
13703 (completion-at-point, completion-help-at-point):
13704 Adjust and provide a predicate.
c2bd2ab0
SM
13705
13706 Preserve arg names for advice of subr and lexical functions (bug#8457).
13707 * help-fns.el (help-function-arglist): Consolidate the subr and
13708 new-byte-code cases. Add argument `preserve-names' to extract names
13709 from the docstring when needed.
13710 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13711 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13712 (ad-arglist): Use help-function-arglist's new arg.
13713 (ad-definition-type): Use cond.
13714
c183f693
JB
137152011-04-13 Juanma Barranquero <lekktu@gmail.com>
13716
06641a47
JB
13717 * autorevert.el (auto-revert-handler):
13718 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13719 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13720 Don't quote lambda.
13721
c183f693
JB
13722 * image-mode.el (image-transform-set-scale):
13723 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13724
1e3b6001
G
137252011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13726
13727 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13728 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13729 Upgrades via gnutls-cli are too slow to be done opportunistically.
13730
2d6af8dd
JB
137312011-04-12 Juanma Barranquero <lekktu@gmail.com>
13732
13733 * dframe.el (dframe-current-frame): Remove spurious quote.
13734
c0749a51
GM
137352011-04-12 Glenn Morris <rgm@gnu.org>
13736
088d0d61
GM
13737 * calendar/cal-tex.el (cal-tex-end-document):
13738 Try to automatically use latin1 input if needed.
13739
c0749a51
GM
13740 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13741 Don't try to cons a mark onto an empty element.
13742
5c90fde0
LL
137432011-04-11 Leo Liu <sdl.web@gmail.com>
13744
13745 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13746 buffers.
13747 (ido-kill-buffer-at-head): Support killing virtual buffers.
13748
369e974d
CY
137492011-04-10 Chong Yidong <cyd@stupidchicken.com>
13750
13751 * minibuffer.el (completion-show-inline-help): New var.
13752 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13753 (minibuffer-force-complete, minibuffer-complete-word):
13754 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13755
13756 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13757 to avoid interference from inline help (Bug#5849).
13758
37f1c930
LL
137592011-04-10 Leo Liu <sdl.web@gmail.com>
13760
099c39a4
JB
13761 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13762 Fix typo.
37f1c930 13763
a32d4040
CY
137642011-04-09 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * image-mode.el (image-toggle-display-image): Signal an error if
13767 not in Image mode.
13768 (image-transform-mode, image-transform-resize)
13769 (image-transform-set-rotation): Doc fix.
daca8ba5 13770 (image-transform-set-resize): Delete.
a32d4040
CY
13771 (image-transform-set-scale, image-transform-fit-to-height)
13772 (image-transform-fit-to-width): Handle image-toggle-display-image
13773 and image-transform-resize directly.
13774
099c39a4 137752011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13776
13777 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13778 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13779 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13780 (doc-view-mode-map): Add bindings for the new functions.
13781
099c39a4 137822011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13783
4d61f28d 13784 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13785 Fix typo in docstring.
13786
3726838a
EZ
137872011-04-08 Eli Zaretskii <eliz@gnu.org>
13788
04f33f1e
EZ
13789 * files.el (file-size-human-readable): Produce one digit after
13790 decimal, like "ls -lh" does.
13791
13792 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13793 the file size representation.
13794
3726838a
EZ
13795 * simple.el (list-processes): If async subprocesses are not
13796 available, error out with a clear error message.
13797
cbb59342
CY
137982011-04-08 Chong Yidong <cyd@stupidchicken.com>
13799
13800 * help.el (help-form-show): New function, to be called from C.
13801 Put help-form output in a buffer named differently than *Help*.
13802
e3971c44
EZ
138032011-04-08 Eli Zaretskii <eliz@gnu.org>
13804
13805 * files.el (file-size-human-readable): New function.
13806
13807 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13808 computing the representation inline. Don't require `cl'.
13809
12544bbe
GM
138102011-04-08 Glenn Morris <rgm@gnu.org>
13811
a1de6c6a
GM
13812 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13813
3c4671f4
GM
13814 * net/browse-url.el (browse-url-firefox):
13815 Test system-type, not system-configuration.
13816
b605679c
GM
13817 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13818 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13819 Use log-edit-empty-buffer-p. (Bug#7598)
13820
56442f0c
GM
13821 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13822 (rlogin-mode-map): Initialize in the defvar.
13823 (rlogin): Use ignore-errors.
13824
12544bbe
GM
13825 * replace.el (occur-mode-map): Some fixes for menu items.
13826
eb237b0f
AH
138272011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13828
13829 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13830
7d668f2c
CY
138312011-04-06 Chong Yidong <cyd@stupidchicken.com>
13832
e67a13ab
CY
13833 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13834 issuing unused warnings.
13835
13836 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13837 macro directly.
13838
7d668f2c
CY
13839 * simple.el: Lisp reimplement of list-processes. Based on an
13840 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13841 (process-menu-mode): New major mode.
13842 (list-processes--refresh, list-processes):
13843 (process-menu-visit-buffer): New functions.
13844
13845 * files.el (save-buffers-kill-emacs): Don't assume any return
13846 value of list-processes, which is undocumented anyway.
13847
a83ec3c9
CY
138482011-04-06 Chong Yidong <cyd@stupidchicken.com>
13849
13850 * emacs-lisp/tabulated-list.el: New file.
13851
e91a96fe
CY
13852 * emacs-lisp/package.el: Use Tabulated List mode.
13853 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13854 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13855 table format using Tabulated List mode variables.
13856 (package--push): New macro, replacing package-list-maybe-add.
13857 (package-menu--generate): Use package--push. Renamed from
13858 package--generate-package-list.
13859 (package-menu-refresh, list-packages): Use it.
daca8ba5 13860 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13861 Return insertion data instead of inserting it directly.
099c39a4
JB
13862 (package-menu-describe-package, package-menu-execute):
13863 Use tabulated-list-get-id.
e91a96fe
CY
13864 (package-menu-mark-delete, package-menu-mark-install)
13865 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13866 (package-menu-mark-obsolete-for-deletion):
13867 Use tabulated-list-put-tag.
e91a96fe
CY
13868 (package--list-packages, package-menu-revert)
13869 (package-menu-get-package, package-menu-get-version)
13870 (package-menu-sort-by-column): Functions deleted.
13871 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13872 (package-menu--status-predicate, package-menu--version-predicate)
13873 (package-menu--name-predicate)
13874 (package-menu--description-predicate): Handle arguments in the
13875 Tabulated List format.
13876 (package-list-packages-no-fetch): Call list-packages.
13877
3e214b50
JB
138782011-04-06 Juanma Barranquero <lekktu@gmail.com>
13879
13880 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13881 (after-find-file): Don't bind it.
3e214b50
JB
13882 (revert-buffer-in-progress-p): New variable.
13883 (revert-buffer): Bind it.
13884 Pass nil for `after-find-file-from-revert-buffer'.
13885
13886 * saveplace.el (save-place-find-file-hook): Use new variable
13887 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13888
3f0f1700
GM
138892011-04-06 Glenn Morris <rgm@gnu.org>
13890
c0274801
GM
13891 * Makefile.in (AUTOGEN_VCS): New variable.
13892 (autoloads): Use $AUTOGEN_VCS.
13893
3f0f1700
GM
13894 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13895 * calendar/calendar.el (calendar-mode-map):
13896 Check for toolkit scroll bars. (Bug#8305)
13897
41ea9e48
CY
138982011-04-05 Chong Yidong <cyd@stupidchicken.com>
13899
13900 * minibuffer.el (completion-in-region--postch)
13901 (completion-in-region-mode): Remove unnecessary messages.
13902
6194c800
JB
139032011-04-05 Juanma Barranquero <lekktu@gmail.com>
13904
33256f14
JB
13905 * font-lock.el (font-lock-refresh-defaults):
13906 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13907 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13908
6194c800
JB
13909 * info.el (Info-directory-list, Info-read-node-name-2)
13910 (Info-split-parameter-string): Doc fixes.
13911 (Info-virtual-nodes): Reflow docstring.
13912 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13913 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13914 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13915 Fix typos in docstrings.
13916 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13917 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13918 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13919 (Info-restore-desktop-buffer): Mark unused parameters.
13920 (Info-directory-find-file, Info-directory-find-node)
13921 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13922 (Info-virtual-index-find-node, Info-apropos-find-file)
13923 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13924 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13925 (Info-virtual-index): Remove unused local variable `nodename'.
13926
b87a8200 139272011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13928
b87a8200
DD
13929 * net/rcirc.el: Update my e-mail address.
13930 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13931
3b2ff876
CY
139322011-04-05 Chong Yidong <cyd@stupidchicken.com>
13933
13934 * startup.el (command-line): Save the cursor's theme-face
13935 directly, instead of using face-override-spec.
13936
13937 * custom.el (load-theme): Minor optimization in assigning faces.
13938
8d17e7ca
JB
139392011-04-04 Juanma Barranquero <lekktu@gmail.com>
13940
13941 * help-fns.el (describe-variable): Complete all variables having
13942 documentation, including keywords.
13943 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13944
2fbc1934
JB
139452011-04-04 Juanma Barranquero <lekktu@gmail.com>
13946
13947 Convert to lexical-binding.
13948
13949 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13950 (bs--get-marked-string, bs--get-modified-string)
13951 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13952 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13953 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13954
13955 * ehelp.el (electric-help-execute-extended)
13956 (electric-help-ctrl-x-prefix):
13957 * hexl.el (hexl-revert-buffer-function):
13958 * linum.el (linum-after-change, linum-after-scroll):
13959 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13960
13961 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13962
74f50695
DU
139632011-04-04 Daiki Ueno <ueno@unixuser.org>
13964
13965 * epa-dired.el:
13966 * epa-mail.el:
13967 * epa-hook.el:
13968 * epa-file.el:
13969 * epa.el:
13970 * epg.el: Use lexical binding.
13971
c11325f7
CY
139722011-04-03 Chong Yidong <cyd@stupidchicken.com>
13973
0d9e9a12
CY
13974 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13975
c11325f7 13976 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13977 dictionary case for flyspell-mark-duplications-exceptions.
13978 Use regexp matching for languages.
c11325f7
CY
13979 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13980 default dictionary (Bug#7926).
13981
da91b5f2
CY
139822011-04-02 Chong Yidong <cyd@stupidchicken.com>
13983
099c39a4
JB
13984 * emacs-lisp/package.el (package--with-work-buffer):
13985 Recognize https URLs.
da91b5f2 13986
099c39a4
JB
13987 * net/network-stream.el: Move from gnus/proto-stream.el.
13988 Change prefix to network-stream throughout.
da91b5f2
CY
13989 (open-protocol-stream): Merge into open-network-stream, leaving
13990 open-protocol-stream as an alias. Handle nil BUFFER args.
13991
13992 * subr.el (open-network-stream): Move to net/network-stream.el.
13993
afa8e9f6
GM
139942011-04-02 Glenn Morris <rgm@gnu.org>
13995
1d2e369d
GM
13996 * find-dired.el (find-exec-terminator): New option.
13997 (find-ls-option): Test for -ls support.
13998 (find-ls-subdir-switches): Test for -b in find-ls-option.
13999 (find-dired, find-grep-dired): Doc fixes.
14000 (find-dired): Use find-exec-terminator.
14001
8abb7da8 14002 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14003 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14004 (find-name-arg): Remove purecopy.
8abb7da8 14005
f3ca7378
GM
14006 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14007 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14008 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14009 accordingly. Don't add the null-device if not needed.
14010
afa8e9f6
GM
14011 * files.el (save-some-buffers): Doc fix.
14012
35eae264
EZ
140132011-04-02 Eli Zaretskii <eliz@gnu.org>
14014
14015 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14016
26b51db5
JB
140172011-04-01 Juanma Barranquero <lekktu@gmail.com>
14018
14019 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14020 Use `dolist' rather than `mapcar'.
14021
7200d79c
SM
140222011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14023
03408648 14024 Add lexical binding.
7200d79c 14025
03408648
SM
14026 * subr.el (apply-partially): Use new closures rather than CL.
14027 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14028 (dolist, dotimes): Use slightly different expansion for lexical code.
14029 (functionp): Move to C.
14030 (letrec): New macro.
14031 (with-wrapper-hook): Use it and apply-partially instead of CL.
14032 (eval-after-load): Preserve lexical-binding.
14033 (save-window-excursion, with-output-to-temp-buffer): Turn them
14034 into macros.
7200d79c 14035
03408648
SM
14036 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14037
14038 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14039 than the arglist.
14040 (help-add-fundoc-usage): Don't add `Not documented'.
14041 (help-function-arglist): Handle closures, subroutines, and new
14042 byte-code-functions.
14043 (help-make-usage): Remove leading underscores.
14044 (describe-function-1): Handle closures.
14045 (describe-variable): Use special-variable-p for completion.
14046
14047 * files.el (lexical-binding): Declare safe.
f488fb65 14048
03408648
SM
14049 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14050 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14051 (pcase): Add `let' pattern.
14052 Change memoization so it actually works.
14053 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14054 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14055 <let>: New case.
f488fb65 14056
03408648
SM
14057 * emacs-lisp/macroexp.el: Use lexical binding.
14058 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14059 Don't convert ' to #' without checking that it's indeed quoting
14060 a lambda.
14061
14062 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14063 Use eval-sexp-add-defvars.
03408648
SM
14064 (eval-sexp-add-defvars): New fun.
14065
14066 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14067
14068 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14069 Don't autoload.
14070 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14071 than the internal `byte-compile-lambda'.
14072 (defmethod): Don't hide code under quotes.
14073 (eieio-defmethod): New `code' argument.
14074
14075 * emacs-lisp/eieio-comp.el: Remove.
14076
14077 * emacs-lisp/edebug.el (edebug-eval-defun)
14078 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14079 (edebug-toggle): Avoid `eval'.
14080
14081 * emacs-lisp/disass.el (disassemble-internal): Handle new
14082 `closure' objects.
14083 (disassemble-1): Handle new byte codes.
14084
14085 * emacs-lisp/cl.el (pushnew): Silence warning.
14086
14087 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14088 (cl-byte-compile-throw): Remove.
14089 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14090
14091 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14092 closures.
14093
14094 * emacs-lisp/cconv.el: New file.
14095
14096 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14097 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14098 (byte-compile-initial-macro-environment):
14099 Handle declare-function here.
14100 (byte-compile--lexical-environment): New var.
14101 (byte-stack-ref, byte-stack-set, byte-discardN)
14102 (byte-discardN-preserve-tos): New lap codes.
14103 (byte-interactive-p): Don't use any more.
14104 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14105 New macros.
14106 (byte-compile-lapcode): Use them and handle new lap codes.
14107 (byte-compile-obsolete): Remove.
14108 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14109 (byte-compile-arglist-warn): Check late def of inlinable funs.
14110 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14111 since they should have been expanded by now.
14112 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14113 (byte-compile-from-buffer): Remove unused second arg.
14114 (byte-compile-preprocess): New function.
14115 (byte-compile-toplevel-file-form): New function to distinguish
14116 file-form calls from outside from file-form calls from hunk-handlers.
14117 (byte-compile-file-form): Simplify.
14118 (byte-compile-file-form-defsubst): Remove.
14119 (byte-compile-file-form-defmumble): Simplify now that
14120 byte-compile-lambda always returns a byte-code-function.
14121 (byte-compile): Preprocess.
14122 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14123 Remove, not used any more.
14124 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14125 (byte-compile-make-args-desc): New funs.
14126 (byte-compile-lambda): Handle lexical functions. Always return
14127 a byte-code-function.
14128 (byte-compile-reserved-constants): New var, to make up room for
14129 closed-over variables.
14130 (byte-compile-constants-vector): Obey it.
14131 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14132 (byte-compile-macroexpand-declare-function): New function.
14133 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14134 byte-code-functions.
14135 (byte-compile-form): Check obsolescence here.
14136 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14137 (byte-compile-variable-ref): Remove.
14138 (byte-compile-dynamic-variable-op): New fun.
14139 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14140 (byte-compile-variable-set): New funs.
14141 (byte-compile-discard): Add 2 args.
14142 (byte-compile-stack-ref, byte-compile-stack-set)
14143 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14144 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14145 macroexpand-all instead.
14146 (byte-compile-quote-form): Remove.
14147 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14148 (byte-compile-bind, byte-compile-unbind): New funs.
14149 (byte-compile-let): Handle let* and lexical binding.
14150 (byte-compile-let*): Remove.
14151 (byte-compile-catch, byte-compile-unwind-protect)
14152 (byte-compile-track-mouse, byte-compile-condition-case):
14153 Handle a new :fun-body form, used for lexical scoping.
14154 (byte-compile-save-window-excursion)
14155 (byte-compile-with-output-to-temp-buffer): Remove.
14156 (byte-compile-defun): Simplify.
14157 (byte-compile-stack-adjustment): New fun.
14158 (byte-compile-out): Use it.
14159 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14160
14161 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14162 handler any more.
14163
14164 * emacs-lisp/byte-opt.el: Use lexical binding.
14165 (byte-inline-lapcode): Remove (to bytecomp).
14166 (byte-compile-inline-expand): Pay attention to inlining to/from
14167 lexically bound code.
14168 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14169 any more.
14170 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14171 any more and don't call compiler-macros.
14172 (byte-compile-splice-in-already-compiled-code): Remove.
14173 (byte-code): Don't inline any more.
14174 (disassemble-offset): Receive `bytes' as argument rather than via
14175 dynamic scoping.
14176 (byte-compile-tag-number): Declare before first use.
14177 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14178 `return' even if make-spliceable.
14179 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14180 obsolete interactive-p.
14181 (byte-optimize-lapcode): Optimize new lap-codes.
14182 Don't trip up on new form of `byte-constant' lap code.
14183
14184 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14185
14186 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14187
14188 * custom.el (custom-initialize-default, custom-declare-variable):
14189 Use `defvar'.
14190
14191 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14192 New variables.
14193 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14194 (COMPILE_FIRST): Add macroexp and cconv.
14195 * makefile.w32-in: Mirror changes in Makefile.in.
14196
14197 * vc/cvs-status.el:
14198 * vc/diff-mode.el:
14199 * vc/log-edit.el:
14200 * vc/log-view.el:
14201 * vc/smerge-mode.el:
14202 * textmodes/bibtex-style.el:
14203 * textmodes/css.el:
14204 * startup.el:
14205 * uniquify.el:
da91b5f2
CY
14206 * minibuffer.el:
14207 * newcomment.el:
14208 * reveal.el:
14209 * server.el:
14210 * mpc.el:
14211 * emacs-lisp/smie.el:
14212 * doc-view.el:
14213 * dired.el:
03408648
SM
14214 * abbrev.el: Use lexical binding.
14215
0f0c1f27
EZ
142162011-04-01 Eli Zaretskii <eliz@gnu.org>
14217
14218 * info.el (info-display-manual): New function.
14219
c82b2579
SM
142202011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14223
221ddf68
TH
142242011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14225
14226 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14227 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14228
cba6e77e
GM
142292011-03-31 Glenn Morris <rgm@gnu.org>
14230
e040639f
GM
14231 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14232
cba6e77e
GM
14233 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14234
6d0f1c9e
CS
142352011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14236
14237 * progmodes/python.el (python-default-interpreter)
14238 (python-python-command-args, python-jython-command-args)
14239 (python-which-shell, python-which-args, python-which-bufname)
14240 (python-file-queue, python-comint-output-filter-function)
14241 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14242 variables and functions.
14243
3e2d70fd
SM
142442011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14247 (completion-in-region-mode): New minor mode.
14248 (completion-in-region): Use it.
14249 (completion-in-region--data, completion-in-region-mode-map): New vars.
14250 (completion-in-region--postch): New function.
14251 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14252 New vars.
14253 (completion--capf-wrapper): New function.
14254 (completion-at-point): Use it to track well-behavedness of
14255 hook functions.
14256 (completion-help-at-point): New command.
14257
f3e4086c
JM
142582011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14259
14260 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14261 syntax class to search for whitespace on a single line
14262 (Message-ID: <4D938140.4030905@redhat.com>).
14263
eb7ffc14
LL
142642011-03-30 Leo Liu <sdl.web@gmail.com>
14265
14266 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14267 New commands.
14268 (edit-abbrevs-map): Bind them here.
14269 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14270
d806ab68
KM
142712011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14272
14273 * allout.el (allout-hide-by-annotation, allout-flag-region):
14274 Reduce possibility of overlay leakage by making them volatile.
14275
14276 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14277 hash is not shared between buffers. Mode initialization is
14278 responsible for giving it a useful starting value.
14279 (allout-item-span): Reduce possibility of overlay leakage by
14280 making them volatile.
14281 (allout-widgets-count-buttons-in-region): Add diagnostic function
14282 for tracking down button overlay leaks.
14283
ea622834
LL
142842011-03-29 Leo Liu <sdl.web@gmail.com>
14285
14286 * ido.el (ido-read-internal): Use the default history var
14287 minibuffer-history if no HISTORY is specified.
14288
b62f8267
G
142892011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14290
03408648
SM
14291 * net/imap.el (imap-shell-open, imap-process-connection-type):
14292 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14293 Kerberos, SSL, other subprocesses.
14294
947b6566
LL
142952011-03-28 Leo Liu <sdl.web@gmail.com>
14296
14297 * abbrev.el (abbrev-table-empty-p): New function.
14298 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14299 nonempty ones. (Bug#5937)
14300
5ffb62aa
JD
143012011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14302
14303 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14304
7a097943
LL
143052011-03-27 Leo Liu <sdl.web@gmail.com>
14306
14307 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14308 for foreground and background colors.
14309 (ansi-color-make-color-map): Adapt.
14310
c5b40130
LL
143112011-03-25 Leo Liu <sdl.web@gmail.com>
14312
1f48f7d2
LL
14313 * midnight.el (midnight-time-float): Remove. Note it calculates
14314 the microsecond component incorrectly and seconds-to-time does the
14315 same job.
625897ec 14316 Remove redundant (require 'timer).
1f48f7d2 14317
c5b40130
LL
14318 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14319 (ido-completions): Remove unused arguments. (Bug#8329)
14320
d86d2721
SM
143212011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * minibuffer.el (completion--flush-all-sorted-completions):
14324 Remove itself from hook.
14325 (completion-at-point): Let the functions perform the completion
14326 immediately and return nil or t.
14327 * comint.el (comint-dynamic-complete-functions): Now identical to
14328 completion-at-point-functions.
14329 (comint-dynamic-list-input-ring): Remove unused var `index'.
14330 (comint--match-partial-filename, comint--unquote&expand-filename):
14331 New funs, split from comint-match-partial-filename.
14332 (comint-dynamic-complete): Use completion-at-point.
14333 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14334
e8974c48
DA
143352011-03-24 Drew Adams <drew.adams@oracle.com>
14336
14337 * thingatpt.el: Support `defun'.
14338
def71b5e
LL
143392011-03-23 Leo Liu <sdl.web@gmail.com>
14340
cb5af48e
LL
14341 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14342
def71b5e
LL
14343 * help-mode.el (help-mode-finish): Tweak regexp.
14344
927c53e7
GM
143452011-03-23 Glenn Morris <rgm@gnu.org>
14346
18d05bed
GM
14347 * eshell/esh-opt.el (eshell-eval-using-options):
14348 Do not bind unused local variable `eshell-option-stub'.
14349
927c53e7
GM
14350 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14351
9d0da923
JB
143522011-03-22 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14355 keymap variable in `with-no-warnings' to avoid a warning when the
14356 keymap has been already `defconst'ed.
14357
4b978a67
LL
143582011-03-22 Leo Liu <sdl.web@gmail.com>
14359
14360 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14361 encode all chars in abbrevs; otherwise use emacs-mule or
14362 utf-8-emacs. (Bug#8308)
14363
5fd62452
JB
143642011-03-22 Juanma Barranquero <lekktu@gmail.com>
14365
0b1596c6
JB
14366 * simple.el (backward-delete-char-untabify):
14367 Avoid warning about using `delete-backward-char'.
14368
5fd62452
JB
14369 * image.el (image-type-file-name-regexps): Make it variable.
14370 `imagemagick-register-types' modifies it, and the user may want
14371 to add new extensions for known image types.
14372 (imagemagick-register-types): Throw error if not using ImageMagick.
14373
0b4e93f1
LL
143742011-03-22 Leo Liu <sdl.web@gmail.com>
14375
14376 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14377 located before rcirc-prompt-end-marker.
14378 (rcirc-complete): Error if point is not after rcirc prompt.
14379 Handle the case when table is nil.
9882e214 14380 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14381
fccee4ab
CY
143822011-03-22 Chong Yidong <cyd@stupidchicken.com>
14383
14384 * custom.el (custom--inhibit-theme-enable): Make it affect only
14385 custom-theme-set-variables and custom-theme-set-faces.
14386 (provide-theme): Ignore custom--inhibit-theme-enable.
14387 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14388 (custom-enabling-themes): Delete variable.
d86d2721
SM
14389 (enable-theme): Accept only loaded themes as arguments.
14390 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14391 (custom-enabled-themes): Forbid themes from setting this.
14392 Eliminate use of custom-enabling-themes.
14393 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14394
af896da6
LL
143952011-03-21 Leo Liu <sdl.web@gmail.com>
14396
14397 * ido.el (ido-read-internal): Add ido-selected to history instead
14398 of user input.
14399
78f64af0
SM
144002011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * subr.el (deferred-action-list, deferred-action-function):
14403 Mark obsolete.
14404
b16ac1ec
LL
144052011-03-21 Leo Liu <sdl.web@gmail.com>
14406
810f7698
LL
14407 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14408 change on 2011-02-13 (bug#8309).
14409
b16ac1ec
LL
14410 * minibuffer.el (read-file-name-function): Change default value.
14411 (read-file-name--defaults): Rename from read-file-name-defaults.
14412 (read-file-name-default): Rename from read-file-name.
14413 (read-file-name): Call read-file-name-function.
14414
4e05e67e
GM
144152011-03-21 Glenn Morris <rgm@gnu.org>
14416
14417 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14418 Doc fixes.
14419
4359915b
CY
144202011-03-21 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * cus-theme.el: Add missing provide statement.
14423 (customize-create-theme): Extract theme value correctly.
14424 (custom-theme-visit-theme): Autoload.
14425 (customize-create-theme): Prompt before inserting default faces.
14426
1fe275ee
JB
144272011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14428
14429 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14430 units and musical notes.
14431
cd394be1 144322011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14433
14434 * ido.el (ido-read-internal): Use completing-read-default.
14435 (ido-completing-read): Fix compatibility with completing-read.
14436
7d476bde
CO
144372011-03-20 Christian Ohler <ohler@gnu.org>
14438
14439 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14440 (ert-delete-all-tests): Use `called-interactively-p' rather than
14441 `interactive-p'.
14442 (ert--make-xrefs-region): Respect END.
14443
fe0fb33e
CY
144442011-03-19 Chong Yidong <cyd@stupidchicken.com>
14445
ff854b0b
CY
14446 * dired-aux.el (dired-create-directory): Signal an error if the
14447 directory already exists (Bug#8246).
14448
fe0fb33e
CY
14449 * facemenu.el (list-colors-display): Call list-faces-display
14450 inside with-help-window.
14451 (list-colors-print): Use display property to align the final
14452 column, instead of checking window-width.
14453
576bce32
EZ
144542011-03-19 Eli Zaretskii <eliz@gnu.org>
14455
4d61f28d 14456 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14457 windows-nt systems.
14458 (emerge-protect-metachars): Quote correctly for ms-dos and
14459 windows-nt systems.
14460
89c41d68 144612011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14462
14463 * info.el (info-initialize): Replace all uses of `:' with
14464 path-separator for compatibility with non-Unix systems.
14465 Cache quoting of path-separator. (Bug#8258)
14466
b14e3e21 144672011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14468
14469 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14470 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14471 (mouse-avoidance-mode): Fix typos in docstrings.
14472
4525ce3e
CY
144732011-03-19 Chong Yidong <cyd@stupidchicken.com>
14474
14475 * startup.el (package-subdirectory-regexp): Move from package.el.
14476 Omit \\` and \\', and let callers add them.
14477
14478 * emacs-lisp/package.el (package-strip-version)
14479 (package-load-all-descriptors): Add \\` and \\' to
14480 package-subdirectory-regexp before using it.
14481 (package-untar-buffer): New arg DIR; ensure that file untars only
14482 into this expected directory. Remove superfluous delete-region.
14483 (package-unpack): Caller changed.
14484 (package-tar-file-info): Use package-subdirectory-regexp.
14485
a904a09a 144862011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14487
a904a09a
SM
14488 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14489 diff-mode-shared-map (bug#8284).
14490 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14491
144922011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14493
14494 * calendar/time-date.el (format-seconds): Use assoc instead of
14495 assoc-string, since assoc-string doesn't exist in XEmacs.
14496
171fc304
JB
144972011-03-17 Juanma Barranquero <lekktu@gmail.com>
14498
14499 * custom.el (custom-known-themes): Reflow docstring.
14500 (custom-theme-load-path): Fix typo in docstring.
14501 (load-theme): Fix typo in error message.
14502 (custom-available-themes, custom-variable-theme-value):
14503 Use `let', not `let*'.
14504
d71990a1
JB
145052011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14506
14507 * calc/README: Mention inclusion of musical notes.
14508
14509 * calc/calc-units.el (calc-lu-quant): Rename from
14510 `calc-logunits-quantity'.
14511 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14512 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14513 (calc-db): Rename from `calc-dblevel'.
14514 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14515 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14516 (calc-np): Rename from `calc-nplevel'.
14517 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14518 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14519 (calc-lu-plus): Rename from `calc-logunits-add'.
14520 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14521 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14522 (calc-lu-minus): Rename from `calc-logunits-sub'.
14523 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14524 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14525 (calc-lu-times): Rename from `calc-logunits-mul'.
14526 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14527 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14528 (calc-lu-divide): Rename from `calc-logunits-div'.
14529 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14530 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14531
14532 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14533 functions being autoloaded.
14534
14535 * calc/calc.el (calc-lu-power-reference): Rename from
14536 `calc-logunits-power-reference'.
14537 (calc-lu-field-reference): Rename from
14538 `calc-logunits-field-reference'.
14539
7a71b18d
GM
14540 * calc/calc-help.el (calc-l-prefix-help):
14541 Mention musical note functions.
d71990a1 14542
40c2934b
SM
145432011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * minibuffer.el (completion-all-sorted-completions):
14546 Use :completion-cycle-penalty text property if present.
14547
b0911414
KM
145482011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14549
14550 * allout.el (allout-yank-processing): Adjust for new rebulleting
14551 regime so bullet being yanked is used without prompting the user
14552 for a choice.
14553
8a05b668
JB
145542011-03-16 Juanma Barranquero <lekktu@gmail.com>
14555
14556 * startup.el (command-line): Warn the user that _emacs is deprecated.
14557
5ba5fb81
JB
145582011-03-16 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14561 (delphi-verbose, delphi-comment-face, delphi-string-face)
14562 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14563 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14564 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14565 (delphi-new-comment-line, delphi-font-lock-defaults)
14566 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14567 Fix typos in docstrings.
14568
2dab465b
KM
145692011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14570
5ba5fb81 14571 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14572 Invert the roles of character and string values for INSTEAD, so a
14573 string is used for the more common case of a defaulting prompt.
14574
0adf5618
SM
145752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * progmodes/ruby-mode.el (ruby-backward-sexp):
14578 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14579 * play/gamegrid.el (gamegrid-make-face):
14580 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14581 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14582 * notifications.el (notifications-notify):
14583 * net/xesam.el (xesam-search-engines):
14584 * net/quickurl.el (quickurl-list-insert):
14585 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14586
d72700e5
CY
145872011-03-15 Chong Yidong <cyd@stupidchicken.com>
14588
14589 * startup.el (command-line): Update package subdirectory regexp.
14590
49c5410a
SM
145912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14592
c6eee9aa
SM
14593 * allout.el (allout-abbreviate-flattened-numbering)
14594 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14595
49c5410a
SM
14596 * subr.el (read-char-choice): Only show the cursor after the prompt,
14597 not after the answer.
14598
047b2bb9
KR
145992011-03-15 Kevin Ryde <user42@zip.com.au>
14600
14601 * help-fns.el (variable-at-point): Skip leading quotes, if any
14602 (bug#8253).
14603
0a57d256
SM
146042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14607 warning message.
14608
77c992bc
MA
146092011-03-14 Michael Albinus <michael.albinus@gmx.de>
14610
14611 * shell.el (shell): When called interactively, offer to change the
14612 shell file name on remote hosts.
14613
eebc475d
TZ
146142011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14615
14616 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14617 integration for LDAP parameters. The host, base, user or binddn,
14618 and secret tokens can be specified in a netrc file, for instance.
14619 This is optional because an `auth-source' parameter must be
14620 specified in the search attributes.
14621
9d05d1ba
JB
146222011-03-13 Juanma Barranquero <lekktu@gmail.com>
14623
14624 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14625
09d9db2c
GM
146262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14627
14628 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14629 into declaration. Remove redundant and harmful binding.
14630
146312011-03-12 Eli Zaretskii <eliz@gnu.org>
14632
14633 * files.el (file-ownership-preserved-p): Pass `integer' as an
14634 explicit 2nd argument to `file-attributes'. If the file's owner
14635 is the Administrators group on Windows, and the current user is
14636 Administrator, consider that a match.
14637
14638 * server.el (server-ensure-safe-dir): Consider server directory
14639 safe on MS-Windows if its owner is the Administrators group while
14640 the current Emacs user is Administrator. Use `=' to compare
14641 numerical UIDs, since they could be integers or floats.
14642
219bd536
JB
146432011-03-12 Juanma Barranquero <lekktu@gmail.com>
14644
14645 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14646
f3afd36b
MA
146472011-03-12 Michael Albinus <michael.albinus@gmx.de>
14648
14649 Sync with Tramp 2.2.1.
14650
14651 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14652
14653 * net/trampver.el: Update release number.
14654
3aaaa6f1
SM
146552011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14656
94642599
SM
14657 * progmodes/compile.el (compilation--previous-directory): Fix up
14658 various nil/dead-marker mismatches (bug#8014).
14659 (compilation-directory-properties, compilation-error-properties):
14660 Don't call it at a position past the one we're about to change.
14661
3aaaa6f1
SM
14662 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14663 Disable obsolescence warnings in the file that declares it.
14664
14239447
KM
146652011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14666
099c39a4
JB
14667 * allout-widgets.el (allout-widgets-tally):
14668 Initialize allout-widgets-tally as a hash table rather than nil to
14669 prevent mode-line redisplay warnings. Also, clarify the module
14670 description and fix a comment typo.
14239447 14671
135e287c
JB
146722011-03-11 Juanma Barranquero <lekktu@gmail.com>
14673
14674 * help-fns.el (describe-variable): Don't complete keywords.
14675 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14676
ffbf300e
CY
146772011-03-10 Chong Yidong <cyd@stupidchicken.com>
14678
ba08b241
CY
14679 * emacs-lisp/package.el (package-version-join): Impose a standard
14680 string representation for pre/alpha/beta version lists.
14681 (package-unpack-single): Standardize the directory name by passing
14682 it through package-version-join.
14683 (package-strip-rcs-id): Accept any version string that does not
14684 signal an error in version-to-list.
ffbf300e 14685
f346fd6b
MA
146862011-03-10 Michael Albinus <michael.albinus@gmx.de>
14687
14688 * simple.el (delete-trailing-whitespace): Return nil for the
14689 benefit of `write-file-functions'.
14690
ccb55d27
GM
146912011-03-10 Glenn Morris <rgm@gnu.org>
14692
5ceaac0c
GM
14693 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14694
02da65ff
GM
14695 * vc/vc-git.el (vc-git-program): New option.
14696 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14697 (vc-git--call): Use it.
14698
b2f603cc
GM
14699 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14700
5772caab
GM
14701 * cus-edit.el (Custom-newline): If no button at point, look
14702 for a subgroup button at start-of-line. (Bug#2298)
14703
ccb55d27
GM
14704 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14705
ec6ecaed
JD
147062011-03-10 Julien Danjou <julien@danjou.info>
14707
14708 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14709 `cursor-type' is nil.
14710
9d5aa01d
JB
147112011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14712
14713 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14714
b6a5875b
KM
147152011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14716
7a71b18d 14717 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14718 preserves the existing header prefix, rebulleting it if necessary,
14719 rather than replacing it. This is necessary for proper operation
14720 of cooperative addons like allout-widgets.
1154d12e
JB
14721 (allout-make-topic-prefix, allout-rebullet-heading):
14722 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14723 value as alternate bullet to be used, instead of prompting the user
14724 for a bullet character.
b6a5875b 14725
ee545c35
MA
147262011-03-09 Michael Albinus <michael.albinus@gmx.de>
14727
d86d2721
SM
14728 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14729 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14730 `tramp-default-port'.
14731
c47971d7
DD
147322011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14733
14734 * net/rcirc.el (rcirc-handler-001): Remove useless
14735 with-rcirc-process-buffer.
14736 (rcirc-check-auth-status): Swap arguments to string-match.
14737
13522cb4
GM
147382011-03-09 Glenn Morris <rgm@gnu.org>
14739
0be6f4f1
GM
14740 * shell.el (shell-mode):
14741 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14742
13522cb4
GM
14743 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14744 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14745
515de2e3
CY
147462011-03-08 Chong Yidong <cyd@stupidchicken.com>
14747
14748 * emacs-lisp/package.el (package-refresh-contents)
14749 (package-menu-execute): Use condition-case-no-debug.
14750
b511b994
MA
147512011-03-08 Michael Albinus <michael.albinus@gmx.de>
14752
14753 * simple.el (shell-command-to-string): Use `process-file'.
14754
14755 * emacs-lisp/package.el (package-tar-file-info): Handle also
14756 remote files.
14757
d86d2721
SM
14758 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14759 Use `equal' for upload base check.
b511b994 14760
25bbfb31
AM
147612011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14762
14763 * textmodes/texinfo.el (texinfo-environments):
14764 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14765
be996521
GM
147662011-03-08 Glenn Morris <rgm@gnu.org>
14767
e9c8529f
GM
14768 * cus-start.el (cursor-in-non-selected-windows):
14769 Fix :set quoting oddness. (Bug#8192)
14770
be996521
GM
14771 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14772 in some setf expressions. (Bug#2159)
14773
2bb5649e
CY
147742011-03-08 Chong Yidong <cyd@stupidchicken.com>
14775
14776 * custom.el (custom-available-themes): Return themes in
14777 alphabetical order.
14778
33383987 14779See ChangeLog.15 for earlier changes.
e3d51b27
MR
14780
14781;; Local Variables:
14782;; coding: utf-8
e3d51b27
MR
14783;; End:
14784
acaf905b 14785 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14786
14787 This file is part of GNU Emacs.
14788
14789 GNU Emacs is free software: you can redistribute it and/or modify
14790 it under the terms of the GNU General Public License as published by
14791 the Free Software Foundation, either version 3 of the License, or
14792 (at your option) any later version.
14793
14794 GNU Emacs is distributed in the hope that it will be useful,
14795 but WITHOUT ANY WARRANTY; without even the implied warranty of
14796 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14797 GNU General Public License for more details.
14798
14799 You should have received a copy of the GNU General Public License
14800 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.