* src/eval.c (Fmacroexpand): Stop if the macro returns the same form.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6fa6c4ae
SM
12012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8 (cl-hash-table-count): Add old compatibility aliases.
9
10 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11 Use macroexpand-all-environment instead.
12 (cl--old-macroexpand): New var.
13 (cl--sm-macroexpand): New function.
14 (cl-symbol-macrolet): Use it during macro expansion.
15 (cl--function-convert-cache): New var.
16 (cl--function-convert): New function, extracted from
17 cl-macroexpand-all.
18 (cl-lexical-let): Use it.
19
20 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
21 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
22 (cl-member): Remove old alias.
23
24 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
25 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
26 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
27 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
28 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
29 (cl-macroexpand-cmacs): Remove var.
30 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
31 Use macroexpand-all instead.
32
4dd1c416
SM
332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
36 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
37 (macroexp-copyable-p): New functions and macros.
38 * emacs-lisp/edebug.el (edebug-unwrap):
39 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
40 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
41 (pcase--let*): Remove.
42 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
43 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
44 macroexp-const-p instead.
45 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
46
47 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
48 instead of "cl-" for internal definitions. Use macroexp-const-p.
49 (cl-old-bc-file-form): Remove var.
50 (cl-const-exprs-p): Remove fun.
51 (cl-labels, cl-macrolet): Use backquote.
52 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
53 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
54 (cl-define-setf-expander): Rename from cl-define-setf-method.
55 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
56
57 * international/mule-cmds.el: Don't require CL.
58 (view-hello-file): Don't use `letf'.
59
ed8bd4d7
SM
602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
61
7287f2f3
SM
62 * tmm.el (tmm-prompt): Use string-prefix-p.
63 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
64 (tmm-add-prompt): Use minibuffer-completion-help.
65 (tmm-delete-map): Remove.
66
ed8bd4d7
SM
67 * subr.el (kbd): Make it its own function.
68
7b4cdbf4
SM
692012-06-07 Stefan Merten <smerten@oekonux.de>
70
71 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
72 Silence compiler warnings. Fix versions.
ed8bd4d7 73 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 74 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 75 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
76 (rst-package-emacs-version-alist): Correct Emacs version to
77 represent major merge with upstream.
ed8bd4d7 78 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 79
2b48d721
GM
802012-06-06 Glenn Morris <rgm@gnu.org>
81
82 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
83 Only print environment variables if set.
84
fa779ab0
SM
852012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
88 (macroexp--cons): Rename from maybe-cons.
89 (macroexp--accumulate): Rename from macroexp-accumulate.
90 (macroexp--all-forms): Rename from macroexpand-all-forms.
91 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
92 (macroexp--expand-all): Rename from macroexpand-all-1.
93
628299e0
SS
942012-06-06 Sam Steingold <sds@gnu.org>
95
96 * calendar/calendar.el (calendar-in-read-only-buffer):
97 Call `special-mode' to enable the standard read-only keybindings.
98
b7bb5838
SM
992012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
102 with "loading" messages (bug#11635).
103
dfb308ba
MA
1042012-06-06 Michael Albinus <michael.albinus@gmx.de>
105
106 * files.el (enable-remote-dir-locals): New option.
107 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
108
0372ee92
MA
109 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
110 Ensure, that the temp directory is local.
111
112 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
113 `temporary-file-directory'.
114
eed0bb91
MA
115 * progmodes/python.el (python-send-region): Ensure, that the
116 temporary file is created also in the remote case.
117
7a58f64d
GM
1182012-06-06 Glenn Morris <rgm@gnu.org>
119
f7dd4e98
GM
120 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
121 (vc-rcs-update-changelog): Use it.
122
276d5f5d
GM
123 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
124
7a58f64d
GM
125 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
126 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
127 (vc-sccs-diff): Replace use of the external vcdiff script.
128
daed4003
GM
1292012-06-05 Glenn Morris <rgm@gnu.org>
130
131 * ledit.el: Move to obsolete/.
132
48c455c7
SS
1332012-06-05 Sam Steingold <sds@gnu.org>
134
135 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
136 patch (Bug#11140).
137
57a7d507
SM
1382012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
139
d32926ff
SM
140 * emacs-list/cust-print.el: Move to obsolete.
141
53aacf21
SM
142 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
143 compiler-macro expansion.
144
57a7d507
SM
145 Add native compiler-macro support.
146 * emacs-lisp/macroexp.el (macroexpand-all-1):
147 Support compiler-macros directly. Properly follow aliases and apply
148 the compiler macros more thoroughly.
149 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
150 macroexpand now properly follows aliases.
151 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
152 (cl-compiler-macroexpand): Use new prop.
153 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
154
155 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
156
51a5f9d8
MR
1572012-06-05 Martin Rudalics <rudalics@gmx.at>
158
159 * window.el (get-lru-window, get-mru-window, get-largest-window):
160 New argument NOT-SELECTED to avoid picking the selected window.
161 (window--display-buffer-1, window--display-buffer-2): Replace by
162 new function window--display-buffer
163 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
165 Use window--display-buffer.
51a5f9d8
MR
166 (display-buffer-use-some-window): Remove temporary dedication
167 hack by calling get-lru-window and get-largest-window with
168 NOT-SELECTED argument non-nil. Call window--display-buffer.
169
08f9f738
GM
1702012-06-05 Glenn Morris <rgm@gnu.org>
171
172 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
173 Replace external vcdiff script.
174
e364a2b7
SM
1752012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
178
041df390
CY
1792012-06-04 Chong Yidong <cyd@gnu.org>
180
e364a2b7
SM
181 * image.el (imagemagick-types-inhibit): Revert last change.
182 Add INFO and M.
47b36b94 183 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 184
7c1898a7
SM
1852012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emacs-lisp/cl-lib.el: Rename from cl.el.
188 * emacs-lisp/cl.el: New compatibility file.
189 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
190 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
191 to obey the "cl-" prefix.
192 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
193
0c3461de
GM
1942012-06-03 Glenn Morris <rgm@gnu.org>
195
1e266c88
GM
196 * emacs-lisp/authors.el (authors-aliases): Addition.
197
0c3461de
GM
198 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
199 Fix :version.
200
d8a52e15
SM
2012012-06-03 Stefan Merten <smerten@oekonux.de>
202
203 * textmodes/rst.el: Add comments.
204 (rst-transition, rst-adornment): New faces.
205 (rst-adornment-faces-alist): Make default safe to reevaluate.
206 Fixes
207 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
208 Improve customization tags.
209 (rst-define-level-faces): Clarify meaning.
210
5205d6f6
CY
2112012-06-03 Chong Yidong <cyd@gnu.org>
212
213 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
214 (compilation-mode-line-run, compilation-mode-line-exit):
215 New faces.
5205d6f6
CY
216 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
217
757ee657
JD
2182012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
219
7c1898a7
SM
220 * progmodes/which-func.el (which-func-update-ediff-windows):
221 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 222
5f2c76c6
CY
2232012-06-03 Chong Yidong <cyd@gnu.org>
224
225 * bindings.el: Remove explicit help text from format-mode-line.
226 It is now supplied by mode-line-default-help-echo.
227 (mode-line-front-space, mode-line-end-spaces)
228 (mode-line-misc-info): New variables.
229 (mode-line-modes, mode-line-position): Move the default value to
230 the variable definition.
231 (mode-line-default-help-echo): New defcustom.
383f7350
CY
232 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
233 (mode-line-modified-help-echo): New functions.
234 (mode-line-mule-info, mode-line-modified): Use them.
235 (mode-line-eol-desc, propertized-buffer-identification):
236 Consistency fixes for help text.
cbe46e5f
CY
237 (mode-line-coding-system-map): Allow using mouse-3 to invoke
238 set-buffer-file-coding-system (Bug#289).
239 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 240
f2d6a3df
SM
2412012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * simple.el (execute-extended-command): Set real-this-command
244 (bug#11506).
245
37269466
CY
2462012-06-02 Chong Yidong <cyd@gnu.org>
247
248 Remove incorrect uses of "modeline" in comments, docstrings, and
249 function/variable names (Bug#10329).
250
251 * cus-edit.el (mode-line):
252 * dframe.el (dframe-mouse-hscroll):
253 * emacs-lisp/re-builder.el:
254 * emacs-lisp/easy-mmode.el (define-minor-mode):
255 * frame.el (set-frame-name):
256 * help.el (lookup-minor-mode-from-indicator):
257 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
258 * progmodes/cc-cmds.el (c-toggle-auto-newline)
259 (c-toggle-hungry-state):
260 * progmodes/antlr-mode.el (antlr-language-alist):
261 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
262 * progmodes/vhdl-mode.el (vhdl-mode):
263 * progmodes/which-func.el (which-func, which-func-cleanup-function):
264 * term/ns-win.el (ns-face-at-pos):
265 * term/sup-mouse.el (sup-mouse-report):
266 * textmodes/flyspell.el (flyspell-mode-line-string):
267 * textmodes/ispell.el (ispell-highlight-face):
268 * textmodes/reftex-global.el:
269 * vc/vc-arch.el (vc-arch-mode-line-string):
270 * vc/vc-cvs.el (vc-cvs-mode-line-string):
271 * vc/vc-git.el (vc-git-mode-line-string):
272 * vc/vc-hooks.el (vc-display-status)
273 (vc-default-mode-line-string):
274 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
275
276 * ansi-color.el (ansi-color-faces-vector): Change default faces.
277
278 * dired.el (dired-sort-set-mode-line): Rename from
279 dired-sort-set-modeline. All callers changed.
280
281 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
282 eshell-status-in-modeline.
283
284 * foldout.el (foldout-mode-line-string): Rename from
285 foldout-modeline-string. All callers changed.
286 (foldout-update-mode-line): Rename from foldout-update-modeline.
287
288 * subr.el (redraw-modeline): Make into obsolete alias.
289
290 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
291 timeclock-modeline-display. Make old name an alias.
292 (timeclock-update-mode-line): Likewise. All callers changed.
293 (timeclock-mode-line-display): No need to check before using
294 add-hook.
295 (timeclock-relative, timeclock-day-over-hook)
296 (timeclock-use-elapsed, timeclock-mode-string)
297 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
298
299 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
300 crisp-mode-modeline-string.
301
302 * play/solitaire.el (solitaire-build-mode-line): Rename from
303 solitaire-build-modeline. All callers changed.
304
305 * play/zone.el (zone-hiding-mode-line): Rename from
306 zone-hiding-modeline. All callers changed.
307 (zone): Remove unusued `modeline-hidden-level' property.
308
309 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
310 xscheme-modeline-initialize. All callers changed.
311
312 * strokes.el (strokes-lighter): Rename from
313 strokes-modeline-string.
314
315 * textmodes/sgml-mode.el (html-face-tag-alist)
316 (html-tag-face-alist): Use mode-line face instead of obsolete
317 alias modeline.
318
42152ee4
SM
3192012-06-02 Stefan Merten <smerten@oekonux.de>
320
321 * textmodes/rst.el: Always require `cl'.
4cf9b38d 322 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 323
95f520b5
CY
3242012-06-02 Chong Yidong <cyd@gnu.org>
325
326 * image.el (imagemagick-enabled-types): Rename from
327 imagemagick-types-enable. Add many more types.
328 (imagemagick-types-inhibit): Change default to nil.
329 (imagemagick-filter-types): Caller changed.
330
4a5f187a
SM
3312012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
332
03fef3e6
SM
333 * emacs-lisp/cl-macs.el: Use backquotes.
334 (cl-transform-function-property): Use eval-and-compile rather than
335 abusing `require'.
336 (defstruct): Use declare-function instead of with-no-warnings.
337
4a5f187a
SM
338 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
339 (byte-compile-output-docform): Re-add the print-circle bindings.
340 (byte-compile-fix-header): Use #$ just because it's shorter.
341 (byte-compile-output-file-form): Remove defun/defmacro.
342
bd56924f
MR
3432012-06-01 Martin Rudalics <rudalics@gmx.at>
344
345 * simple.el (choose-completion): Remove now obsolete binding for
346 owindow.
347
046e38ce
MA
3482012-06-01 Michael Albinus <michael.albinus@gmx.de>
349
350 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
351 in order to avoid "Stack overflow in regexp matcher".
352
32d72c2f
GM
3532012-05-31 Glenn Morris <rgm@gnu.org>
354
355 * image.el: For clarity, call imagemagick-register-types at
356 top-level, rather than relying on a custom :initialize.
357 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
358 (imagemagick-filter-types): New function. (Bug#7406)
359 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
360 If disabling support, remove elements altogether rather
361 than using an impossible regexp.
362 (imagemagick-types-inhibit): Give it the default init function.
363
dd41169b
SM
3642012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
365
4a5f187a
SM
366 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
367 Handle arbitrary file name lengths (Bug#11585).
dd41169b 368
efc00ab1 3692012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
370
371 * desktop.el (desktop-read): Clear previous and next buffers for
372 all windows and bury *Messages* buffer (bug#11556).
373
500fcedc
SM
3742012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 Add `declare' for `defun'. Align `defmacro's with it.
377 * emacs-lisp/easy-mmode.el (define-minor-mode)
378 (define-globalized-minor-mode): Don't autoload the var definitions.
379 * emacs-lisp/byte-run.el: Use lexical-binding.
380 (defun-declarations-alist, macro-declarations-alist): New vars.
381 (defmacro, defun): Use them.
382 (make-obsolete, define-obsolete-function-alias)
383 (make-obsolete-variable, define-obsolete-variable-alias):
384 Use `declare'.
385 (macro-declaration-function): Mark obsolete.
386 * emacs-lisp/autoload.el: Use lexical-binding.
387 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
388
6e8a1786
AM
3892012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
390
391 * textmodes/ispell.el (ispell-with-no-warnings):
392 Define as a macro.
500fcedc
SM
393 (ispell-kill-ispell, ispell-change-dictionary):
394 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
395 `interactive-p'.
396
61b108cc
SM
3972012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
400 (macro-declaration-function): Move var from C code.
401 (macro-declaration-function): Define function with defalias.
402 * emacs-lisp/macroexp.el (macroexpand-all-1):
403 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
404 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
405 defun/defmacro any more.
406 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
407 Provide fallback for unknown arglist.
408 (byte-compile-arglist-warn): Change calling convention.
409 (byte-compile-output-file-form): Move print-vars binding.
410 (byte-compile-output-docform): Simplify accordingly.
411 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
412 (byte-compile-defmacro-declaration): Remove.
413 (byte-compile-file-form-defmumble): Generalize to defalias.
414 (byte-compile-output-as-comment): Return byte-positions.
415 Simplify callers accordingly.
416 (byte-compile-lambda): Use `assert'.
417 (byte-compile-defun, byte-compile-defmacro): Remove.
418 (byte-compile-file-form-defalias):
419 Use byte-compile-file-form-defmumble.
420 (byte-compile-defalias-warn): Remove.
421
6d3f7c2f
SM
4222012-05-29 Stefan Merten <smerten@oekonux.de>
423
424 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 425 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
426
427 (rst-mode-abbrev-table): Merge definition.
428 (rst-mode): Make sure `font-lock-defaults' is buffer local.
429 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
430
6dbaa1c7
UJ
4312012-05-29 Ulf Jasper <ulf.jasper@web.de>
432
433 * calendar/icalendar.el
434 (icalendar-export-region): Export UID properly.
435
4362012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
437 * calendar/icalendar.el (icalendar-import-format):
438 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
439 (icalendar-import-format-uid): New.
440 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
441 Export UID.
442
6876a58d
SM
4432012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
446 different alternative patterns.
447 (pcase-codegen): Be more careful to preserve identity.
448 (pcase--u1): Don't forget to mark vars as used.
449
450 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
451 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
452 (byte-compile-from-buffer): ...rather than here.
453
454 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
455 functions from byte-compile-function-environment.
456
46b7967e
TN
4572012-05-29 Troels Nielsen <bn.troels@gmail.com>
458
459 * window.el (window-deletable-p): Avoid deleting the root window
460 of a frame with an active minibuffer.
461
69d565e2
MR
4622012-05-29 Martin Rudalics <rudalics@gmx.at>
463
464 * simple.el (choose-completion): Use quit-window (Bug#11567).
465
a149fa51
CY
4662012-05-29 Chong Yidong <cyd@gnu.org>
467
468 * whitespace.el (whitespace-cleanup): Fix usage of
469 whitespace-empty-at-bob-regexp (Bug#11492).
470
2b311310
AH
4712012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
472
473 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
474 revert (Bug#11488).
475
b9cb2387
JL
4762012-05-29 Juri Linkov <juri@jurta.org>
477
478 * isearch.el (isearch-mode-map): Bind `M-s _' to
479 `isearch-toggle-symbol'. Bind `M-s c' to
480 `isearch-toggle-case-fold'.
481 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
482 (isearch-forward): Add `M-s _' to the docstring.
483 (isearch-forward-symbol, isearch-toggle-case-fold)
484 (isearch-symbol-regexp): New functions. (Bug#11381)
485
d5e61c1c
JL
4862012-05-29 Juri Linkov <juri@jurta.org>
487
488 * isearch.el (isearch-word): Add docstring. (Bug#11381)
489 (isearch-occur, isearch-search-and-update): If `isearch-word' is
490 a function, call it to get the regexp.
491 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
492 property `isearch-message-prefix' instead of the string "word ".
493 (isearch-search-fun-default): For the case of `isearch-word',
494 return a lambda that calls re-search-forward/re-search-backward
495 with a regexp returned by `word-search-regexp' or by the function
496 in `isearch-word'.
497
8cbd80f7
JL
4982012-05-29 Juri Linkov <juri@jurta.org>
499
500 * isearch.el (isearch-search-fun-default): New function.
501 (isearch-search-fun): Move default part to the new function
502 `isearch-search-fun-default'.
503 (isearch-search-fun-function): Set the default value to
504 `isearch-search-fun-default'. (Bug#11381)
505
506 * comint.el (comint-history-isearch-end):
507 Use `isearch-search-fun-default'.
508 (comint-history-isearch-search): Use `isearch-search-fun-default'
509 and remove spacial case for `isearch-word'.
510 (comint-history-isearch-wrap): Remove spacial case for
511 `isearch-word'.
512
513 * hexl.el (hexl-isearch-search-function):
514 Use `isearch-search-fun-default'.
515
516 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
517 Use `word-search-regexp' for `isearch-word'.
518
519 * misearch.el (multi-isearch-search-fun):
520 Use `isearch-search-fun-default'.
521
522 * simple.el (minibuffer-history-isearch-search):
523 Use `isearch-search-fun-default' and remove spacial case for
524 `isearch-word'.
525 (minibuffer-history-isearch-wrap): Remove spacial case for
526 `isearch-word'.
527
528 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
529 Remove spacial case for `isearch-word'.
530 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
531
85c8c5b6
AM
5322012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
533
534 Decrease XEmacs incompatibilities.
535 * textmodes/flyspell.el (flyspell-check-pre-word-p):
536 Use `string-match'.
537 (flyspell-delete-region-overlays): Use alternative definition for
538 XEmacs.
539 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
540 (flyspell-word): Use `process-kill-without-query' if XEmacs.
541 (flyspell-mode-on): Use `interactive-p' if XEmacs.
542 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
543 `define-obsolete-face-alias' under XEmacs, but old method.
544
545 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
546 `with-no-warnings' definition or Emacs alias.
547 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
548 (ispell-word): Do not use `region-p' if XEmacs.
549
8cab9efc
AM
5502012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
551
552 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
553 Check for `ispell-dictionary-base-alist' instead of full
554 `ispell-dictionary-alist'.
555 (ispell-init-process): Show spellchecker when starting new Ispell
556 process.
557
fda91268
RZ
5582012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
561 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
562
694ea8e3
JB
5632012-05-27 Juanma Barranquero <lekktu@gmail.com>
564
565 * version.el (motif-version-string, gtk-version-string)
566 (ns-version-string): Declare.
567
e4d4f539
JL
5682012-05-27 Juri Linkov <juri@jurta.org>
569
570 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
571 after the `eval-defun-1' specialcaseing
572 like in `edebug-eval-defun' (bug#10181).
573
574 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
575 like in `eval-defun-1'.
576
33017faf 5772012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 578
fda91268
RZ
579 * mail/sendmail.el (mail-yank-region):
580 Recognize rmail-yank-current-message in addition to insert-buffer.
581 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
582 a *mail* buffer created through rmail-start-mail with sendmail as
583 mail-user-agent.
584
33017faf
GM
5852012-05-27 Chong Yidong <cyd@gnu.org>
586
587 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
588 Default to 256 (Bug#11267).
589
590 * help.el (describe-mode): Doc fix.
591
04188bb9
GM
5922012-05-26 Glenn Morris <rgm@gnu.org>
593
38264cc9
GM
594 * w32-fns.el (w32-init-info): Remove.
595 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
596
eb7afdad
GM
597 * info.el (info-initialize): For self-contained NS builds, put the
598 included info/ directory at the front. (Bug#2791)
599
04188bb9
GM
600 * paths.el (Info-default-directory-list): Make it a defcustom,
601 mainly so that we can use custom-initialize-delay.
602
a179e3f7
SM
6032012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
604
43416392
SM
605 * subr.el (buffer-has-markers-at): Mark obsolete.
606
a179e3f7 607 * subr.el (lambda): Use declare.
43416392 608
a179e3f7
SM
609 * emacs-lisp/lisp-mode.el (lambda):
610 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
611
34a008d9
AH
6122012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
613
614 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
615
0a3b289f
GM
6162012-05-26 Glenn Morris <rgm@gnu.org>
617
618 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
619
758c81e8
GM
6202012-05-25 Glenn Morris <rgm@gnu.org>
621
f9f334f0
GM
622 * paths.el: Remove no-byte-compile.
623 * loadup.el: No need to load paths.el uncompiled.
624
87eb79c2
GM
625 * image.el (imagemagick-types-inhibit): Doc fix.
626
758c81e8
GM
627 * version.el: Remove no-byte-compile and associated formatting.
628 * loadup.el: No need to load version.el uncompiled. AFAICS, this
629 is ancient code from when there was an "inc-vers.el".
630
e7e85dc0
SM
6312012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * progmodes/gdb-mi.el: Minor style changes.
634 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
635 Turn into minor modes.
636 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
637 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
638 (gdb-shell): Remove unneeded let-binding.
639 (gdb-get-many-fields): Eliminate O(n²) behavior.
640
f31237a4
EZ
6412012-05-25 Eli Zaretskii <eliz@gnu.org>
642
643 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
644 platforms that don't link in fontset.c.
645
bc1b21bb
JL
6462012-05-25 Juri Linkov <juri@jurta.org>
647
648 Use the same diff color scheme as in modern VCSes (bug#10181).
649
650 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
651 to avoid confusion with `diff-added' that now uses green colors.
652 (diff-removed): Use shades of red.
653 (diff-added): Use shades of green.
654 (diff-changed): Leave just the yellow color.
655 (diff-use-changed-face): New variable.
656 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
657 how to highlight context diff changes.
658 (diff-refine-change): Use shades of yellow.
659 (diff-refine-removed): New face that uses shades of red.
660 (diff-refine-added): New face that uses shades of green.
661 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
662 `diff-refine-removed' in the call to `smerge-refine-subst'
663 depending on the value of `diff-use-changed-face'.
664
665 * vc/smerge-mode.el (smerge-mine): Use shades of red.
666 (smerge-other): Use shades of green.
667 (smerge-base): Use shades of yellow.
668 (smerge-refined-change): Empty face.
669 (smerge-refined-removed): New face that uses shades of red.
670 (smerge-refined-added): New face that uses shades of green.
671 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
672 args `props-r' and `props-a', and use them. Doc fix.
673 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
674 on its value use different faces `smerge-refined-change',
675 `smerge-refined-removed', `smerge-refined-added' in the call to
676 `smerge-refine-subst'.
677
678 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
679 Add face condition `min-colors 88' with shades of red.
680 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
681 `min-colors 88' with shades of green.
682 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
683 `min-colors 88' with shades of yellow.
684
6df9112c
GM
6852012-05-24 Glenn Morris <rgm@gnu.org>
686
ead5edc0
GM
687 * paths.el (prune-directory-list, remote-shell-program): Move to...
688 * files.el (prune-directory-list, remote-shell-program): ...here.
689 For the latter, delay initialization, prefer ssh, just search PATH.
690
f18b81e6
GM
691 * paths.el (term-file-prefix): Move to faces.el (the only user).
692 * faces.el (term-file-prefix): Move here, make it a defcustom.
693
ee2f89a6
GM
694 * paths.el (news-directory, news-path, news-inews-program):
695 Move to gnus/nnspool.el.
61a583ca 696
f8815e4c
GM
697 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
698
c8f3b42c
GM
699 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
700 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
701 Make the latter a defcustom, with a delayed initialization.
702
6df9112c
GM
703 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
704 These were deleted from Gnus itself late 2010.
705
5dadff36
JB
7062012-05-22 Juanma Barranquero <lekktu@gmail.com>
707
9e1701c6
JB
708 * progmodes/which-func.el (which-func-ff-hook):
709 Check against user-error, not error.
710
bd7239f5 711 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
712 cl-specs.el, which no longer exists.
713
3290526d
GM
7142012-05-22 Glenn Morris <rgm@gnu.org>
715
716 * info.el (info-emacs-bug): New command.
717 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
718 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
719
ff0c3cfb
GM
7202012-05-21 Glenn Morris <rgm@gnu.org>
721
722 * makefile.w32-in (update-subdirs-SH):
723 * Makefile.in (update-subdirs): Update for moved update-subdirs.
724
5814f126
SM
7252012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
726
a52c0aa0
SM
727 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
728
5814f126
SM
729 * progmodes/compile.el (compilation-error-regexp-alist-alist):
730 Simplify Maven regexp, and make sure the file can't start with a space
731 (bug#11517).
732
b847032c
GM
7332012-05-21 Glenn Morris <rgm@gnu.org>
734
735 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
736 Scrap superfluous subshells.
737
3858bfe7
SM
7382012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
741 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
742
d14b0029
JB
7432012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
744
745 * calc/calc.el (calc-ensure-consistent-units): New variable.
746
a52c0aa0
SM
747 * calc/calc-units.el (math-consistent-units-p)
748 (math-check-unit-consistency): New functions.
749 (calc-quick-units, calc-convert-units):
750 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
751 is non-nil.
d14b0029
JB
752 (calc-extract-units): Fix typo.
753
60c4db3a
SM
7542012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
755
77f3b62e
SM
756 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
757
60c4db3a
SM
758 * textmodes/flyspell.el: Commenting style, plus code simplifications.
759 (flyspell-default-deplacement-commands): Don't spell check after
760 repeated window/frame switches (e.g. triggered by mouse-movement).
761 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
762 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
763 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
764 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
765 Remove unused vars.
766 (flyspell-get-casechars, flyspell-get-not-casechars):
767 Simplify; Don't bother removing a ] just to add it back.
768 * textmodes/ispell.el (ispell-program-name): Use executable-find.
769
b1a10716
RS
7702012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
771
772 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
773 New functions.
bd7239f5 774 (math-function-table): Add support for more C functions.
b1a10716 775
3f1b25b5
AM
7762012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
777
778 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
779 (flyspell-debug-signal-word-checked): Protect delay handling for
780 otherchars against empty otherchars.
781
b581bb5c
SM
7822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
785 their respective macro declarations.
786 * skeleton.el (define-skeleton):
787 * progmodes/compile.el (define-compilation-mode):
788 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
789 (define-ibuffer-filter):
790 * emacs-lisp/generic.el (define-generic-mode):
791 * emacs-lisp/easy-mmode.el (define-minor-mode)
792 (define-globalized-minor-mode):
793 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
794 * emacs-lisp/byte-run.el (defsubst):
795 * custom.el (deftheme): Add doc-string metadata.
796
70b8ef8f
SM
7972012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
800
b1198e17
SM
8012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
802
9abdc45d
SM
803 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
804
b1198e17
SM
805 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
806 * emacs-lisp/cl-macs.el: Idem.
807 * emacs-lisp/cl-specs.el: Remove.
808
4735906a
SM
8092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 Minor renaming of internal CL functions and variables.
812 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
813 (cl--position): Rename from cl-position.
814 (cl--delete-duplicates): Rename from cl-delete-duplicates.
815 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
816 (cl--random-state): Rename from *random-state*.
817
ac348012
SM
8182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
821 parens around the arg list (bug#11499).
822
a0a79cde
JL
8232012-05-17 Juri Linkov <juri@jurta.org>
824
825 * isearch.el (word-search-regexp, word-search-backward)
826 (word-search-forward, word-search-backward-lax)
827 (word-search-forward-lax): Move functions from search.c
828 (bug#10145, bug#11381).
829
65034a51
AM
8302012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
831
832 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
833 (flyspell-debug-signal-word-checked): Delay for otherchars as for
834 normal word components.
835
1a72a195
SM
8362012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * minibuffer.el (completion--sifn-requote): Fix last change.
839 (minibuffer-local-must-match-filename-map):
840 Move define-obsolete-variable-alias before its var.
841
fdb058c2
SM
8422012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
843
c41045e6
SM
844 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
845
036dfb8b
SM
846 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
847 behavior.
848 (completion--string-equal-p): New function.
849 (completion--twq-all): Use it to get better assertion failure data.
850
2473256d
SM
851 Only handle ".." and '..' quoting in shell-mode (bug#11466).
852 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
853 (shell--requote-argument): New functions.
854 (shell-completion-vars): Use them.
855 (shell--parse-pcomplete-arguments): Rename from
856 shell-parse-pcomplete-arguments.
857 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
858 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
859 Obey comint-file-name-quote-list.
860
fdb058c2
SM
861 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
862 (smie-indent-keyword): Use it.
863
51fa99f1
SM
8642012-05-14 Stefan Merten <smerten@oekonux.de>
865
866 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
867
e18afed7 8682012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
869
870 * net/rlogin.el (rlogin-mode-map): Fix last change.
871
e18afed7 8722012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
873
874 * mail/smtpmail.el (smtpmail-send-command): Send the command and
875 the following \r\n using a single `process-send-string', since the
876 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 877 with two `process-send-string's (Bug#11444).
8633b1f4 878
e18afed7 8792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 880
fdb058c2
SM
881 * shell.el (shell-parse-pcomplete-arguments):
882 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 883
2d21d7f6
WJ
8842012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
885
e18afed7 886 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
887 (image-transform-scale, image-transform-right-angle-fudge): New vars.
888 (image-transform-width, image-transform-fit-width): New functions.
889 (image-transform-properties): Use them.
890 (image-transform-check-size): New function.
891 (image-toggle-display-image): Use it (for testing).
892 (image-transform-set-rotation): Reduce angle mod 360.
893 Delete obsolete comment.
894
7102e6d0
WJ
8952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
896
897 * image-mode.el: Fix scaling (bug#11399).
898 (image-transform-resize): Doc fix.
899 (image-transform-properties): Default scale is 1 and height should
900 be an integer.
901
06bc5e6e
SM
9022012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
903
904 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
905 than hard-coding `car', to fix misbehavior when moving forward.
906
0ae03b6a
CY
9072012-05-13 Chong Yidong <cyd@gnu.org>
908
909 * emacs-lisp/tabulated-list.el (tabulated-list-format)
910 (tabulated-list-entries, tabulated-list-padding)
911 (tabulated-list-sort-key): Make permanent-local.
912
913 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
914 (electric-buffer-list): Put electric buffer menu
915 command descriptions in this docstring, instead of the docstring
916 of electric-buffer-menu-mode. Code cleanups.
917 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
918 Electric-buffer-menu-mode.
919 (electric-buffer-update-highlight): Minor code cleanup.
920
205a7391
MA
9212012-05-13 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
924 (Bug#11447)
925
e5bd0a28
SM
9262012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 Move define-obsolete-variable-alias before the var's definition.
929 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
930 * tooltip.el (tooltip-hook):
931 * textmodes/reftex-toc.el (reftex-toc-map):
932 * textmodes/reftex-sel.el (reftex-select-label-map)
933 (reftex-select-bib-map):
934 * textmodes/reftex-index.el (reftex-index-map)
935 (reftex-index-phrases-map):
936 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
937 * progmodes/meta-mode.el (meta-mode-map):
938 * novice.el (disabled-command-hook):
939 * loadhist.el (unload-hook-features-list):
940 * frame.el (blink-cursor):
941 * files.el (find-file-not-found-hooks, write-file-hooks)
942 (write-contents-hooks):
943 * emulation/tpu-edt.el (GOLD-map):
944 * emacs-lock.el (emacs-lock-from-exiting):
945 * emacs-lisp/generic.el (generic-font-lock-defaults):
946 * emacs-lisp/chart.el (chart-map):
947 * dos-fns.el (register-name-alist):
948 * dired-x.el (dired-omit-files-p):
949 * desktop.el (desktop-enable):
950 * cus-edit.el (custom-mode-hook):
951 * buff-menu.el (buffer-menu-mode-hook):
952 * bookmark.el (bookmark-read-annotation-text-func)
953 (bookmark-exit-hooks):
954 * allout.el (allout-mode-deactivate-hook)
955 (allout-exposure-change-hook, allout-structure-added-hook)
956 (allout-structure-deleted-hook, allout-structure-shifted-hook):
957 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
958 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
959 comes before the corresponding variable's definition.
960
ac59c2f6
CY
9612012-05-12 Chong Yidong <cyd@gnu.org>
962
963 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
964 (Buffer-menu-mouse-select): Restore function (Bug#11459).
965 (Buffer-menu-mode-map): Bind it.
966 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 967
dee6c9a3
SM
9682012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
969
2171cea5
SM
970 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
971 (prolog-upper-case-string, prolog-lower-case-string)
972 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
973 (prolog-use-smie, prolog-smie-grammar): New vars.
974 (prolog-smie-forward-token, prolog-smie-backward-token)
975 (prolog-smie-rules): New funs.
976 (prolog-comment-indent): Remove.
977 (prolog-mode-variables): Use default comment indentation instead.
978 Setup SMIE.
979 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
980 (prolog-mode): Don't call them any more.
981 (prolog-electric-colon, prolog-electric-dash)
982 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
983
aa0382bd
SM
984 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
985
dbacb4bd
SM
986 * minibuffer.el (completion--twq-all): Again, allow case differences.
987
13bdd94c
SM
988 * term.el: Move keymap initialization code to be more idiomatic.
989 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
990 (term-terminal-menu): Move initialization into declaration.
991 (term-escape-char): Let the user set it in her .emacs.
992
ff46c759
SM
993 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
994 Provide SMIE-based indentation (not enabled by default yet).
995 (sh-mode-map): Don't bind electric keys.
996 Use electric-pair-mode instead of skeleton-pair.
997 (sh-assignment-regexp): Fit within 80 columns.
998 (sh-indent-supported): Specify actual shell name instead of boolean.
999 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1000 (sh-maybe-here-document): Use it. Make obsolete.
1001 (sh-electric-here-document-mode) New minor mode.
1002 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1003 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1004 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1005 (sh-smie-rc-grammar, sh-use-smie): New vars.
1006 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1007 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1008 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1009 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1010 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1011 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1012 (sh-set-shell): Use smie-setup if requested.
1013
dee6c9a3
SM
1014 * term.el (term-set-escape-char): Properly set term-escape-char.
1015 See http://stackoverflow.com/questions/10524656.
1016
9f9aa044
CY
10172012-05-10 Chong Yidong <cyd@gnu.org>
1018
1019 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1020 Use url-generic-parse-url, and handle host names and Windows
1021 filenames properly.
1022 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1023 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1024 URL schemes to work on.
1025 (ffap--toggle-read-only): New function.
1026 (ffap-read-only, ffap-read-only-other-window)
1027 (ffap-read-only-other-frame): Use it.
1028 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1029 necessary for ffap-url-unwrap-remote.
1030
836d29b3
DA
10312012-05-10 Dave Abrahams <dave@boostpro.com>
1032
1033 * cus-start.el (create-lockfiles): Add it.
1034
00fd78ed
CY
10352012-05-09 Chong Yidong <cyd@gnu.org>
1036
1037 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1038 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1039
666b903b 10402012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1041
1042 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1043
666b903b 10442012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1045
1046 * ansi-color.el (ansi-color-process-output): Check for validity of
1047 comint-last-output-start before using it. This avoids a bad
1048 interaction with gdb-mi's input/output buffer.
1049
666b903b 10502012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1051
1052 * files.el (dir-locals-read-from-file):
1053 Mention dir-locals in any error message.
1054
666b903b 10552012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1056
1057 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1058 package (Bug#11410).
1059
f677562b
CY
1060 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1061 variables into description.
1062
666b903b 10632012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1064
1065 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1066 shell-delimiter-argument-list (bug#11348).
1067 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1068
b499d8d0
JB
10692012-05-09 Juanma Barranquero <lekktu@gmail.com>
1070
8f6b6da8
JB
1071 * textmodes/rst.el: Silence byte-compiler warnings.
1072 (rst-re-alist, rst-reset-section-caches): Move around.
1073 (rst-re): Use `characterp', not `char-valid-p'.
1074 (font-lock-beg, font-lock-end): Declare.
1075
4824146a
JB
1076 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1077 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1078
b499d8d0
JB
1079 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1080
ad89bb83
GM
10812012-05-08 Glenn Morris <rgm@gnu.org>
1082
1083 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1084
8bba5a75
SM
10852012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1086
49ed9c8e
SM
1087 * vc/log-edit.el: Add GNU coding standards highlighting.
1088 (log-edit-font-lock-gnu-style)
1089 (log-edit-font-lock-gnu-keywords): New vars.
1090 (log-edit-font-lock-keywords): New fun.
1091 (log-edit-mode): Don't fold case in font-lock.
1092 (log-edit-font-lock-keywords): Do not assume case-folding.
1093
07d00b56
SM
1094 * imenu.el: Misc cleanup. Make docstrings out of comments.
1095 Use lexical-binding.
1096 (imenu--index-alist, imenu--last-menubar-index-alist)
1097 (imenu-menubar-modified-tick): Use defvar-local.
1098 (imenu--split-menu): Remove unused var.
1099 (imenu--cleanup-seen): Declare as global.
1100 (imenu--cleanup): Use dolist.
1101
8bba5a75
SM
1102 * subr.el (defvar-local): Add debug spec and doc-string position.
1103
5075bdb5
GM
11042012-05-08 Glenn Morris <rgm@gnu.org>
1105
c052c904
GM
1106 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1107 * language/english.el, language/georgian.el, language/greek.el:
1108 * language/japanese.el, language/khmer.el, language/korean.el:
1109 * language/lao.el, language/misc-lang.el, language/romanian.el:
1110 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1111 * language/thai.el, language/utf-8-lang.el:
1112 Remove no-byte-compile setting.
1113
5075bdb5
GM
1114 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1115
06f679a7
AH
11162012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1117
1118 * progmodes/make-mode.el (makefile-browse):
1119 Remove unnecessary interactive. (Bug#11324)
1120
03794570
GM
11212012-05-07 Glenn Morris <rgm@gnu.org>
1122
af8630f4
GM
1123 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1124
03794570
GM
1125 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1126
f0809a9d
SM
11272012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1128
28be5ce7
SM
1129 * loadup.el: Preload newcomment.el.
1130 * newcomment.el: Move autoload-only code to toplevel.
1131
f0809a9d
SM
1132 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1133 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1134 Handle new :right-align column property.
1135 (tabulated-list-print-col): Idem, plus use `display' text-property to
1136 try and preserve alignment for variable pitch fonts.
1137
1241b724
CY
11382012-05-07 Chong Yidong <cyd@gnu.org>
1139
1140 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1141 (tabulated-list-use-header-line): New var.
1142 (tabulated-list-init-header): Use it.
1143 (tabulated-list-print-fake-header): New function.
1144 (tabulated-list-print): Use it.
1145 (tabulated-list-sort-button-map): Add non-header-line commands.
1146 (tabulated-list-init-header): Add column name property to basic
1147 labels as well.
1148 (tabulated-list-col-sort): Handle non-header-line button case.
1149 (tabulated-list--sort-by-column-name): Fix a corner case.
1150
f0809a9d
SM
1151 * buff-menu.el (list-buffers--refresh):
1152 Handle Buffer-menu-use-header-line.
1241b724 1153
e5f9458f
CY
11542012-05-06 Chong Yidong <cyd@gnu.org>
1155
1156 * buff-menu.el: Convert to Tabulated List mode.
1157 (Buffer-menu-buffer+size-width): Make obsolete.
1158 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1159 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1160 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1161 documentation into docstring of buffer-menu.
1162 (Buffer-menu-toggle-files-only): Add an informative message.
1163 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1164 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1165 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1166 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1167 (Buffer-menu-execute, Buffer-menu-select)
1168 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1169 (Buffer-menu-bury): Use Tabulated List machinery.
1170 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1171 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1172 Delete.
e5f9458f
CY
1173 (list-buffers--refresh): New function.
1174 (list-buffers-noselect): Use it.
1175 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1176 (Buffer-menu--pretty-file-name): New helper functions.
1177
1178 * loadup.el: Preload tabulated-list.
1179
1180 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1181 tabulated-list-sort-column.
1182 (tabulated-list-init-header): Add the initial aligning space even
1183 if tabulated-list-padding is zero.
1184
e129292c
CS
11852012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1186
1187 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1188 whose cdr is not a cons cell correctly (bug#11038).
1189
6632d361
CY
11902012-05-06 Chong Yidong <cyd@gnu.org>
1191
e129292c
CS
1192 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1193 Accept additional plist in column descriptors.
6632d361
CY
1194 (tabulated-list-init-header): Obey it.
1195 (tabulated-list-get-entry): New function.
1196 (tabulated-list-put-tag): Use it. Use string-width instead of
1197 length.
1198 (tabulated-list--column-number): New function.
1199 (tabulated-list-print): Use it.
e129292c
CS
1200 (tabulated-list-print-col): New function.
1201 Set `tabulated-list-column-name' property on each column's text.
6632d361 1202 (tabulated-list-print-entry): Use it.
e129292c
CS
1203 (tabulated-list-delete-entry, tabulated-list-set-col):
1204 New functions.
6632d361
CY
1205 (tabulated-list-sort-column): New command (Bug#11337).
1206
3cc99f68
CY
1207 * buff-menu.el (list-buffers): Move C-x C-b binding from
1208 buff-menu.el to bindings.el.
1209
1210 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1211 :advertised-binding feature.
1212
52b61776
TN
12132012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1214
1215 * progmodes/compile.el (compilation-internal-error-properties):
1216 Calculate start position correctly when end-col is set but
1217 end-line is not (Bug#11382).
1218
ebfe2597
WJ
12192012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1220
1221 * man.el (Man-unindent): Use text-property-default-nonsticky to
1222 prevent untabify from inheriting face properties (Bug#11408).
1223
6d3f7c2f
SM
12242012-05-05 Stefan Merten <smerten@oekonux.de>
1225
1226 * textmodes/rst.el: Major merge with upstream development up to
1227 Docutils SVN r7399 / rst.el V1.2.1.
1228
1229 Clarify maintainership and authors.
1230
1231 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1232 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1233 (rst-official-version, rst-official-cvs-rev, rst-version)
1234 (rst-package-emacs-version-alist): New functions and variables
1235 for version information.
1236
1237 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1238 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1239 (rst-mode-syntax-table, rst-mode): New and corrected functions
1240 and variables representing reStructuredText features.
1241
1242 (rst-re): New function for reStructuredText regexes. Use in
1243 many places.
1244
1245 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1246 (rst-mode-map): Rebind keys.
1247
1248 (rst-mode-lazy, rst-font-lock-keywords)
1249 (rst-font-lock-extend-region)
1250 (rst-font-lock-extend-region-internal)
1251 (rst-font-lock-extend-region-extend)
1252 (rst-font-lock-find-unindented-line-limit)
1253 (rst-font-lock-find-unindented-line-match)
1254 (rst-adornment-level, rst-font-lock-adornment-level)
1255 (rst-font-lock-adornment-match)
1256 (rst-font-lock-handle-adornment-pre-match-form)
1257 (rst-font-lock-handle-adornment-matcher): Major revision of
1258 font-locking. Integrate with other code. Use `jit-lock-mode'.
1259
1260 (rst-preferred-adornments, rst-adjust-hook)
1261 (rst-new-adornment-down, rst-preferred-bullets)
1262 (rst-preferred-bullets, rst-indent, rst-indent-width)
1263 (rst-indent-field, rst-indent-literal-normal)
1264 (rst-indent-literal-minimized, rst-indent-comment): Change,
1265 extend and improve customization.
1266
1267 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1268 (rst-normalize-cursor-position, rst-get-decoration)
1269 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1270 (rst-rstrip, rst-toc-insert-find-delete-contents)
1271 (rst-shift-fill-region, rst-compute-bullet-tabs)
1272 (rst-debug-print-tabs, rst-debug-mark-found)
1273 (rst-shift-region-guts, rst-shift-region-right)
1274 (rst-shift-region-left, rst-use-char-classes)
1275 (rst-font-lock-keywords-function)
1276 (rst-font-lock-indentation-point)
1277 (rst-font-lock-find-unindented-line-begin)
1278 (rst-font-lock-find-unindented-line-end)
1279 (rst-font-lock-find-unindented-line)
1280 (rst-font-lock-adornment-point, rst-font-lock-level)
1281 (rst-adornment-level-alist): Remove functions and variables.
1282
1283 (rst-compare-adornments, rst-get-adornment-match)
1284 (rst-suggest-new-adornment, rst-get-adornments-around)
1285 (rst-adornment-complete-p, rst-get-next-adornment)
1286 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1287 (rst-straighten-adornments): Standardize function names to
1288 use "adornment" instead of "decoration". Correct callers.
1289 Similar standardizing in many places.
1290
1291 (rst-update-section, rst-adjust, rst-promote-region)
1292 (rst-enumerate-region, rst-bullet-list-region)
1293 (rst-repeat-last-character): Correct use of `interactive'.
1294
1295 (rst-classify-adornment, rst-find-all-adornments)
1296 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1297 (rst-find-leftmost-column, rst-repeat-last-character):
1298 Refactor functions.
1299
1300 (rst-find-title-line, rst-reset-section-caches)
1301 (rst-get-adornments-around, rst-adjust-adornment-work)
1302 (rst-arabic-to-roman, rst-roman-to-arabic)
1303 (rst-insert-list-pos, rst-insert-list-new-item)
1304 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1305 New functions.
1306
1307 (rst-all-sections, rst-section-hierarchy)
1308 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1309 New variables.
1310
1311 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1312 configuration instead of only buffer. Change where necessary.
1313
1314 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1315 (rst-shift-region, rst-adaptive-fill): New functions for
1316 indentation and filling.
1317
1318 (rst-comment-line-break, rst-comment-indent)
1319 (rst-comment-insert-comment, rst-comment-region)
1320 (rst-uncomment-region): New functions for handling comments.
1321
1322 (rst-compile): Quote shell arguments.
1323
1324 (rst-compile-pdf-preview, rst-compile-slides-preview):
1325 Delete temporary files after use.
1326
a43f98b3
GM
13272012-05-05 Glenn Morris <rgm@gnu.org>
1328
48176e8b
GM
1329 * calendar/cal-html.el: Optionally include holidays in the output.
1330 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1331 (cal-html-holidays): New option.
1332 (cal-html-css-default): Add holiday entry.
1333 (holiday-in-range): Autoload it.
1334 (cal-html-htmlify-entry): Add optional class argument.
1335 (cal-html-htmlify-list): Add optional holidays argument.
1336 (cal-html-insert-agenda-days): Include holidays in the output.
1337 (cal-html-one-month): Maybe include holidays.
1338
a43f98b3
GM
1339 * calendar/holidays.el (holiday-in-range):
1340 Move here from cal-tex-list-holidays.
1341 * calendar/cal-tex.el (cal-tex-list-holidays):
1342 Make it an obsolete alias for holiday-in-range. Update all callers.
1343
fef9d149 13442012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1345
1346 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1347 Nextstep.
1348
248da2f4
RW
13492012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1350
1351 * files.el (file-auto-mode-skip): New var.
1352 (set-auto-mode-1): Use it.
1353
f95e9344
SM
13542012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1355
df96ab1e
SM
1356 * repeat.el: Use lexical-binding.
1357 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1358 (repeat-undo-count): Remove.
1359 (repeat):
1360 * progmodes/octave-mod.el (octave-abbrev-start):
1361 * progmodes/f90.el (f90-abbrev-start):
1362 * face-remap.el (text-scale-adjust):
1363 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1364
5342bb06
SM
1365 * emacs-lisp/pcase.el (pcase--let*): New function.
1366 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1367 a bit more.
1368 (pcase--split-pred): Be more clever about ruling out overlap between
1369 a predicate and some constant pattern.
1370 (pcase--q1): Use `null' instead of (eq foo nil).
1371
f95e9344
SM
1372 * subr.el (setq-local, defvar-local): New macros.
1373 (kbd): Redefine as an alias.
1374 (with-selected-window): Leave unrelated frames alone.
1375 (set-temporary-overlay-map): New function.
1376
71873e2b
SM
13772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * subr.el (user-error): New function.
1380 * window.el (switch-to-buffer):
1381 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1382 (smerge-match-conflict):
1383 * simple.el (previous-matching-history-element)
1384 (next-matching-history-element, goto-history-element, undo-more)
1385 (undo-start):
1386 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1387 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1388 (next-file, tags-loop-scan, list-tags, complete-tag):
1389 * progmodes/compile.el (compilation-loop):
1390 * mouse.el (mouse-minibuffer-check):
1391 * man.el (Man-bgproc-sentinel, Man-goto-page):
1392 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1393 (Info-history-forward, Info-follow-reference, Info-menu)
1394 (Info-extract-menu-item, Info-extract-menu-counting)
1395 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1396 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1397 (Info-next-reference, Info-prev-reference, Info-index)
1398 (Info-index-next, Info-follow-nearest-node)
1399 (Info-copy-current-node-name):
1400 * imenu.el (imenu--make-index-alist)
1401 (imenu-default-create-index-function, imenu-add-to-menubar):
1402 * files.el (basic-save-buffer, recover-file):
1403 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1404 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1405 (checkdoc-message-text, checkdoc-defun):
1406 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1407 * cus-edit.el (customize-changed-options, customize-rogue)
1408 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1409 (custom-variable-mark-to-reset-standard)
1410 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1411 (custom-file):
1412 * completion.el (check-completion-length):
1413 * comint.el (comint-search-arg)
1414 (comint-previous-matching-input-string-position)
1415 (comint-previous-matching-input)
1416 (comint-replace-by-expanded-history-before-point, comint-send-input)
1417 (comint-copy-old-input, comint-backward-matching-input)
1418 (comint-goto-process-mark, comint-set-process-mark):
1419 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1420 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1421
8a61ee22
SM
14222012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1423
66408d1e
SM
1424 * dabbrev.el (dabbrev--ignore-case-p): New function.
1425 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1426 Use it.
1427
8a61ee22
SM
1428 * files.el (automount-dir-prefix): Mark as obsolete.
1429
3c74813a
GM
14302012-05-04 Glenn Morris <rgm@gnu.org>
1431
1432 * patcomp.el, play/bruce.el: Move to obsolete/.
1433
0bfcf5c5
PE
14342012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1435
1436 Fix minor Y10k bugs.
1437 * arc-mode.el (archive-unixdate):
1438 * autoinsert.el (auto-insert-alist):
1439 * calc/calc-forms.el (math-this-year):
1440 * emacs-lisp/copyright.el (copyright-current-year)
1441 (copyright-update-year, copyright):
1442 * tar-mode.el (tar-clip-time-string):
1443 * time.el (display-time-update):
1444 Don't assume years have 4 digits.
1445
78f3273a
CY
14462012-05-04 Chong Yidong <cyd@gnu.org>
1447
1448 * dos-w32.el (file-name-buffer-file-type-alist)
1449 (direct-print-region-use-command-dot-com):
1450 * ffap.el (ffap-menu-regexp):
1451 * find-file.el (ff-special-constructs):
1452 * follow.el (follow-debug):
1453 * forms.el (forms--debug):
1454 * iswitchb.el (iswitchb-all-frames):
1455 * ido.el (ido-all-frames):
1456 * emacs-lisp/timer.el (timer-max-repeats):
1457 * mail/feedmail.el (feedmail-mail-send-hook)
1458 (feedmail-mail-send-hook-queued):
1459 * mail/footnote.el (footnote-signature-separator):
1460 * mail/mailabbrev.el (mail-alias-separator-string)
1461 (mail-abbrev-mode-regexp):
1462 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1463 * progmodes/idlwave.el (idlwave-libinfo-file)
1464 (idlwave-default-completion-case-is-down)
1465 (idlwave-library-routines): Convert defvars to defcustoms.
1466
1467 * mail/rmail.el (rmail-decode-mime-charset):
1468 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1469 (idlwave-shell-fix-inserted-breaks)
1470 (idlwave-shell-activate-alt-keybindings)
1471 (idlwave-shell-use-breakpoint-glyph):
1472 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1473
f7ae6719
SM
14742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1477
47086495
WS
14782012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1479
1480 * progmodes/verilog-mode.el (font-lock-keywords):
1481 Fix mis-highligting auto. Reported by Craig Barner.
1482 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1483 defines from global name space. Reported by Dan Dever.
1484 (verilog-auto-reset, verilog-auto-reset-widths)
1485 (verilog-auto-tieoff): Support using unbased numbers for
1486 AUTORESET and AUTOTIEOFF.
1487 (verilog-submit-bug-report): Update variable list.
1488 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1489 parenthesis from not matching. Reported by Michael Rytting.
1490 (verilog-auto-template-lint): Fix hash error when linting modules
1491 with no used templates.
1492 (verilog-warn, verilog-warn-error)
1493 (verilog-warn-fatal): When non-interactive report multiple
1494 warnings before exiting. Suggested by Brad Dobbie.
1495 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1496 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1497 to report unused template errors. Reported by Brad Dobbie.
1498 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1499 nets, bug438. Reported by Vns Blore.
1500 (verilog-auto-inout-module, verilog-auto-reg)
1501 (verilog-read-decls, verilog-read-sub-decls-sig)
1502 (verilog-signals-edit-wire-reg, verilog-signals-with):
1503 Fix passing of Verilog data types in ANSI input/output ports
1504 such as "output logic" into the AUTOs. Special case "wire" and
1505 "reg" for backwards compatibility presuming Verilog 2001.
1506 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1507 (verilog-preprocess): Fix replication of preprocess output.
1508 Reported by Brad Dobbie.
1509 (verilog-auto-inst-interfaced-ports):
1510 Create verilog-auto-inst-interfaced-ports, bug429.
1511 Reported by Julian Gorfajn.
1512 (verilog-after-save-font-hook)
1513 (verilog-before-save-font-hook): New variable.
1514 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1515 (verilog-save-font-mods): Wrap disabling fontification, reported
1516 by David Rogoff.
1517 (verilog-do-indent, verilog-pretty-declarations-auto)
1518 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1519 Reported by Pierre-David Pfister.
1520 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1521 of class declarations, bug292. Reported by Kevin Heilman.
1522 (verilog-read-decls): Fix 'parameter type' not appearing in
1523 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1524 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1525 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1526 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1527 Reported by David Kravitz.
1528
15292012-05-03 Michael McNamara <mac@mail.brushroad.com>
1530
1531 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1532 assignment with tests in ifs and for loops.
1533 (verilog-extended-complete-re, verilog-complete-reg): Change so
1534 that DPI inport functions don't look like fuction declarations.
1535 (verilog-pretty-expr): Don't line up assignment
1536 operations to the test and increment in if and for loops
1537 (verilog-extended-complete-re, verilog-complete-reg): Change so
1538 that DPI inport functions don't look like fuction declarations
1539
2e51d4b5
KH
15402012-05-03 Kenichi Handa <handa@m17n.org>
1541
1542 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1543 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1544 (Bug#11282).
1545
2bd785a2
SM
15462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * emacs-lisp/bytecomp.el
1549 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1550 since cconv.el might have introduced :fun-body, internal-make-closure,
1551 and friends for bytecomp to handle (bug#11391).
1552 * custom.el (defcustom): Avoid ((λ ..) ..).
1553
99d27583
SM
15542012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1557
55a71479
JB
15582012-05-02 Juanma Barranquero <lekktu@gmail.com>
1559
1560 * notifications.el (dbus-debug):
1561 * term/linux.el (gpm-mouse-enable):
1562 * term/screen.el (xterm-register-default-colors): Declare.
1563
7b97c764
CY
15642012-05-02 Chong Yidong <cyd@gnu.org>
1565
2bc356d7
CY
1566 * cus-start.el (gc-cons-percentage, exec-suffixes)
1567 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1568 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1569 (make-cursor-line-fully-visible, void-text-area-pointer)
1570 (font-list-limit): Add customization data.
1571
7b97c764
CY
1572 * allout.el (allout-exposure-change-functions)
1573 (allout-structure-added-functions)
1574 (allout-structure-deleted-functions)
1575 (allout-structure-shifted-functions): Rename abnormal hooks from
1576 *-hook, and convert to defcustoms.
5d3385a0
JB
1577 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1578 Convert to defcustoms.
7b97c764
CY
1579 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1580
1581 * allout-widgets.el: Hook callers changed.
1582
90207a15 15832012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1584
1585 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1586 the yanked message in preference to the default value of
1587 buffer-file-coding-system.
1588
90207a15 15892012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1590
5d3385a0
JB
1591 * window.el (display-buffer--action-function-custom-type):
1592 Fix entry.
d9558cad 1593
90207a15 15942012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1595
1596 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1597
d80ac57b
GM
15982012-05-01 Glenn Morris <rgm@gnu.org>
1599
976f7668
GM
1600 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1601
beb83b5a
GM
1602 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1603
d80ac57b
GM
1604 * cus-edit.el (custom-variable-documentation): Simplify with format.
1605
b593d6a9
AH
16062012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1607 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * simple.el (suggest-key-bindings, execute-extended-command):
1610 Move from keyboard.c.
1611
782fbf2a
CY
16122012-05-01 Chong Yidong <cyd@gnu.org>
1613
1614 * follow.el: Eliminate advice.
1615 (set-process-filter, process-filter, sit-for): Advice deleted.
1616 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1617 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1618 Vars deleted.
782fbf2a
CY
1619 (follow-auto): Use a :set function.
1620 (follow-mode): Rewritten. Don't advise process filters.
1621 (follow-switch-to-current-buffer-all, follow-scroll-up)
1622 (follow-scroll-down): Assume follow-mode is bound.
1623 (follow-comint-scroll-to-bottom)
1624 (follow-align-compilation-windows): New functions.
1625 (follow--window-sorter): New function.
1626 (follow-all-followers): Use it to explicitly sort windows by their
1627 positions; don't make assumptions about next-window order.
1628 (follow-windows-start-end, follow-delete-other-windows-and-split)
1629 (follow-calc-win-start): Doc fix.
1630 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1631 vertical-motion unnecessarily.
1632 (follow-adjust-window): New function.
1633 (follow-post-command-hook): Use it.
1634 (follow-call-set-process-filter, follow-call-process-filter)
1635 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1636 (follow-stop-intercept-process-output, follow-generic-filter):
1637 Functions deleted.
1638 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1639 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1640 New functions, replacing advice on scroll-bar-* commands.
87233a14 1641 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1642
1643 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1644 (comint-postoutput-scroll-to-bottom): Use it.
1645 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1646
290af740
GM
16472012-05-01 Glenn Morris <rgm@gnu.org>
1648
1649 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1650 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1651 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1652 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1653 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1654 Remove no-byte-compile setting.
1655
6eac8dc9
SM
16562012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1659 all-completions code to not return a number in the last cdr.
1660
9cc7819c
LL
16612012-04-30 Leo Liu <sdl.web@gmail.com>
1662
1663 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1664 read-only error.
1665
c93b886f
CY
16662012-04-29 Chong Yidong <cyd@gnu.org>
1667
1668 * follow.el (follow-calc-win-end): Rewrite to handle partial
1669 screen lines correctly (Bug#8390).
1670 (follow-avoid-tail-recenter): Minor cleanup.
1671
8b6c19f4
SM
16722012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 Avoid the obsolete `assoc' package.
1675 * speedbar.el (speedbar-refresh): Avoid adelete.
1676 (speedbar-file-lists): Simplify and avoid aput.
1677 * man.el (Man--sections, Man--refpages): New vars, replacing
1678 Man-sections-alist and Man-refpages-alist.
1679 (Man-build-section-alist, Man-build-references-alist):
1680 Use them; avoid aput.
1681 (Man--last-section, Man--last-refpage): New vars.
1682 (Man-follow-manual-reference): Use them.
1683 Use the `default' arg of completing-read.
1684 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1685
c5bb7569
CY
16862012-04-27 Chong Yidong <cyd@gnu.org>
1687
d1d2e2e8
CY
1688 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1689
15cd8efd
CY
1690 * startup.el (x-apply-session-resources): New function.
1691
1692 * term/ns-win.el (ns-initialize-window-system):
1693 * term/w32-win.el (w32-initialize-window-system):
1694 * term/x-win.el (x-initialize-window-system): Use it to properly
1695 set menu-bar-mode and other vars from X resources, even if the
1696 initial frame is not a window-system frame (Bug#2299).
1697
c5bb7569
CY
1698 * subr.el (read-key): Avoid running filter function when setting
1699 up temporary tool bar entries (Bug#9922).
1700
a8e7d6d7 17012012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1702
1703 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1704 (Bug#11344)
1705
a8e7d6d7 17062012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1707
1708 * select.el (xselect--encode-string): New function, split from
1709 xselect-convert-to-string.
1710 (xselect-convert-to-string): Use it.
1711 (xselect-convert-to-filename, xselect-convert-to-os)
1712 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1713 returned strings are properly encoded (Bug#11315).
1714
a8e7d6d7 17152012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1716
1717 * simple.el (delete-active-region): Move to killing custom group.
1718
a8e7d6d7 17192012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1720
1721 * progmodes/which-func.el (which-func-current): Quote %
1722 characters for mode-line processing.
1723
578c1d4b 17242012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1725
1726 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1727 reaching eob (Bug#11286).
1728
a8e7d6d7 17292012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1730
1731 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1732 (gdb): Make it buffer-local and init to zero.
1733 (gdb-control-commands-regexp): New variable.
1734 (gdb-send): Don't wrap in "-interpreter-exec console" if
1735 gdb-control-level is positive. Increment gdb-control-level
1736 whenever the command matches gdb-control-commands-regexp, and
1737 decrement it each time the command is "end". (Bug#11279)
1738
a8e7d6d7 17392012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1740
1741 * window.el (adjust-window-trailing-edge, enlarge-window)
1742 (shrink-window, window-resize):
1743 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1744 windows (Bug#11276).
1745
b3608390
CY
17462012-04-27 Chong Yidong <cyd@gnu.org>
1747
1748 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1749 fix "missing prefix" warning. All callers changed.
b3608390 1750
797e6e88
SM
17512012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emacs-lisp/assoc.el: Move to obsolete/.
1754
e95a67dc
SM
17552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1756
657c21e4 1757 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1758
1759 * term/ns-win.el (ns-define-service):
1760 * progmodes/pascal.el (pascal-goto-defun):
1761 * progmodes/js.el (js--read-tab):
1762 * progmodes/etags.el (tags-lazy-completion-table):
1763 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1764 * emacs-lisp/ewoc.el (ewoc--wrap):
1765 * emacs-lisp/assoc.el (aput, adelete, amake):
1766 * doc-view.el (doc-view-convert-current-doc):
1767 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1768
cb3e7ae0
CY
17692012-04-26 Chong Yidong <cyd@gnu.org>
1770
dce04f7f
CY
1771 * image.el (image-type-from-buffer): Only return supported image
1772 type (Bug#9045).
1773
cb3e7ae0
CY
1774 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1775 value, for symmetry with diff-end-of-hunk.
1776 (diff-split-hunk, diff-find-source-location)
1777 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1778 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1779 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1780 compute the relevant hunk or file properly (Bug#6005).
1781 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1782
0d42eb3e
SM
17832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * vc/vc-mtn.el:
1786 * vc/vc-hg.el:
1787 * vc/vc-git.el:
1788 * vc/vc-dir.el:
1789 * vc/vc-cvs.el:
1790 * vc/vc-bzr.el:
1791 * vc/vc-arch.el:
1792 * vc/vc.el: Replace lexical-let by lexical-binding.
1793 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1794 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1795 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1796
f08ae1c9
CY
17972012-04-26 Chong Yidong <cyd@gnu.org>
1798
8b71081d
CY
1799 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1800 (diff-mode-shared-map): Bind it to / and [remap undo].
1801
f08ae1c9
CY
1802 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1803 (ediff-window-setup-function): Use it as the default, to set up
1804 windows based on whether the current frame is graphical (Bug#2138).
1805 (ediff-choose-window-setup-function-automatically): Make obsolete.
1806
1807 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1808
ef24141c
SM
18092012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1810
cc356a5d
SM
1811 * ffap.el: Remove old code for obsolete package.
1812 (ffap-complete-as-file-p): Remove.
1813
b4ff4f1f
SM
1814 Use completion-table-with-quoting for comint and pcomplete.
1815 * comint.el (comint--unquote&requote-argument)
1816 (comint--unquote-argument, comint--requote-argument): New functions.
1817 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1818 (comint-quote-filename): Use regexp-opt-charset.
1819 (comint--common-suffix, comint--common-quoted-suffix)
1820 (comint--table-subvert): Remove.
1821 (comint-unquote-function, comint-requote-function): New vars.
1822 (comint--complete-file-name-data): Use them with
1823 completion-table-with-quoting.
1824 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1825 * pcomplete.el (pcomplete-arg-quote-list)
1826 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1827 (pcomplete-unquote-argument-function): Default to non-nil.
1828 (pcomplete-unquote-argument): Simplify.
1829 (pcomplete--common-quoted-suffix): Remove.
1830 (pcomplete-requote-argument-function): New var.
1831 (pcomplete--common-suffix): New function.
1832 (pcomplete-completions-at-point): Use completion-table-with-quoting
1833 and completion-table-subvert.
1834
79c4eeb4
SM
1835 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1836 (minibuffer--double-dollars): Preserve properties.
1837 (completion--sifn-requote): New function.
1838 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1839
ef24141c
SM
1840 * minibuffer.el: Add support for completion of quoted/escaped data.
1841 (completion-table-with-quoting, completion-table-subvert): New funs.
1842 (completion--twq-try, completion--twq-all): New functions.
1843 (completion--nth-completion): New function.
1844 (completion-try-completion, completion-all-completions): Use it.
1845
784e7d6e
LL
18462012-04-25 Leo Liu <sdl.web@gmail.com>
1847
dd2ac746
SM
1848 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1849 Use compilation-message if available to find real filename.
784e7d6e 1850
07875ee7
CY
18512012-04-25 Chong Yidong <cyd@gnu.org>
1852
1853 * vc/diff-mode.el (diff-setup-whitespace): New function.
1854 (diff-mode): Use it.
1855
1856 * vc/diff.el (diff-sentinel):
1857 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1858 Whitespace mode variables based on diff style (Bug#8612).
1859
5055880d
LL
18602012-04-25 Leo Liu <sdl.web@gmail.com>
1861
daf75653
LL
1862 * progmodes/python.el (python-send-region): Add suffix .py to the
1863 temp file.
1864
5055880d
LL
1865 * files.el (auto-mode-alist): Use javascript-mode instead.
1866
db9b177b
AH
18672012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1868
ef24141c 1869 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1870
1871 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1872 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1873 references, see Bug#9.
ef24141c 1874 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1875 when receiving a fault reply.
ef24141c 1876 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1877
1878 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1879 (soap-inspect-simple-type): New function.
db9b177b 1880
ef24141c 1881 * soap-client.el (soap-simple-type): New struct.
db9b177b 1882 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1883 (soap-decode-basic-type, soap-encode-basic-type):
1884 support unsignedInt and double basic types.
db9b177b 1885 (soap-resolve-references-for-simple-type)
ef24141c
SM
1886 (soap-parse-simple-type, soap-encode-simple-type): New function.
1887 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1888
1889 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1890 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1891 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1892 the local name of "soapenc:Array".
1893 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1894 decoding integer, byte and anyURI xsd types.
1895
1fc6097b
CY
18962012-04-25 Chong Yidong <cyd@gnu.org>
1897
1898 * cus-edit.el (custom-buffer-create-internal): Update header text.
1899
afc6df87
EZ
19002012-04-25 Eli Zaretskii <eliz@gnu.org>
1901
1902 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1903 settings on 'system-type', not on 'window-system'. On MS-Windows,
1904 set interactive-mode on in GDB.
1905
dfbd787f
SM
19062012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1909 (ruby-syntax-propertize-regexp): Remove.
1910 (ruby-syntax-propertize-function): Split regexp into chunks.
1911 Match following code directly.
1912
85222d44
DG
19132012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1914
51a8ea2a
DG
1915 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1916 (ruby-syntax-propertize-regexp): New function.
1917 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1918 by a special keyword.
1919
85222d44
DG
1920 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1921 (ruby-syntax-general-delimiters-goto-beg)
1922 (ruby-syntax-propertize-general-delimiters): New functions.
1923 (ruby-syntax-propertize-function): Use them to handle GDL.
1924 (ruby-font-lock-keywords): Move old handling of GDL...
1925 (ruby-font-lock-syntactic-keywords): .. to here.
1926 (ruby-calculate-indent): Adjust indentation for GDL.
1927
b613912b
MA
19282012-04-24 Michael Albinus <michael.albinus@gmx.de>
1929
b5380639
MA
1930 * notifications.el (top): Remove unneeded declarations.
1931 (notifications-specification-version): Change to "1.2".
e43042fe 1932 (notifications-interface, notifications-notify-method)
b613912b
MA
1933 (notifications-close-notification-method): Fix docstring.
1934 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1935 (notifications-notify): Add :action-items, :resident and
1936 :transient hints. Change "image_data" to "image-data" and
1937 "image_path" to "image-path".
b613912b
MA
1938 (notifications-get-capabilities): New defun.
1939
257440aa
LL
19402012-04-24 Leo Liu <sdl.web@gmail.com>
1941
1942 * progmodes/python.el: Move hideshow setup to the end.
1943
b1bac16e
MR
19442012-04-24 Martin Rudalics <rudalics@gmx.at>
1945
1946 * window.el (handle-select-window): Clear echo area since this is
1947 no more done by read_char (Bug#11304).
1948
d81bd059
SM
19492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1952 and `/ M' to filter-derived-mode.
1953 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1954 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1955 (ibuffer-mark-by-mode): Use default rather than initial-input.
1956 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1957
c4cf6d91
IA
19582012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1959
1960 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1961 (ibuffer-filter-by-derived-mode): New filter.
1962 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1963
7511ded8
CY
19642012-04-23 Andreas Politz <politza@fh-trier.de>
1965
1966 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1967
775c916b
CY
19682012-04-23 Chong Yidong <cyd@gnu.org>
1969
1970 * cus-edit.el (customize-apropos, customize-apropos-options):
1971 Disable matching of non-option variables (Bug#11176).
1972 (customize-option, customize-option-other-window)
1973 (customize-changed-options): Doc fix.
1974 (customize-apropos-options, customize-apropos-faces)
1975 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1976
1977 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1978 Fix word list splitting (Bug#11132).
46c71e23
CY
1979 (apropos-symbol, apropos-keybinding, apropos-label)
1980 (apropos-property, apropos-function-button)
1981 (apropos-variable-button, apropos-misc-button): New faces.
1982 (apropos-symbol-face, apropos-keybinding-face)
1983 (apropos-label-face, apropos-property-face, apropos-match-face):
1984 Variables removed (Bug#8396).
1985 (apropos-library-button, apropos-format-plist, apropos-print)
1986 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1987
2df41f9c
MA
19882012-04-23 Michael Albinus <michael.albinus@gmx.de>
1989
1990 * net/xesam.el (xesam-mode-map): Use let-bound map in
1991 initialization. (Bug#11292)
1992
da00640a
AM
19932012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1994
1995 Preserve ispell session localwords when switching back to
1996 original buffer.
1997
1998 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1999 variable to hold buffer session localwords.
2000 (ispell-kill-ispell): add option 'clear to delete session
2001 localwords.
2002 (ispell-command-loop, ispell-change-dictionary)
2003 (ispell-buffer-local-words): Preserve session localwords when
2004 needed.
2005
2006 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2007 Preserve session localwords when needed.
2008
f621ccf5
AM
20092012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2010
2011 * ispell.el (ispell-insert-word) Remove unneeded function using
2012 obsolete `translation-table-for-input'.
ef24141c
SM
2013 (ispell-word, ispell-process-line, ispell-complete-word):
2014 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2015
c2d1019e
CY
20162012-04-22 Chong Yidong <cyd@gnu.org>
2017
2018 * cus-edit.el (custom-variable-menu)
2019 (custom-variable-reset-saved, custom-face-menu)
2020 (custom-face-reset-saved): If there is no saved value, make the
2021 "reset-saved" operation bring back the default (Bug#9509).
2022 (custom-face-state): Properly detect themed faces.
2023
eeddc531
CY
2024 * faces.el (face-spec-set): Stop supporting deprecated form of
2025 third arg.
2026
dcbf5805
MA
20272012-04-22 Michael Albinus <michael.albinus@gmx.de>
2028
2029 Move functions from C to Lisp. Make non-blocking method calls
2030 the default. Implement further D-Bus standard interfaces.
2031
ef24141c
SM
2032 * net/dbus.el (dbus-message-internal): Declare function.
2033 Remove unneeded function declarations.
dcbf5805
MA
2034 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2035 (dbus-message-type-method-return, dbus-message-type-error)
2036 (dbus-message-type-signal): Declare variables. Remove local
2037 definitions.
2038 (dbus-interface-dbus, dbus-interface-peer)
2039 (dbus-interface-introspectable, dbus-interface-properties)
2040 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2041 Adapt docstring.
2042 (dbus-interface-objectmanager): New defconst.
2043 (dbus-call-method, dbus-call-method-asynchronously)
2044 (dbus-send-signal, dbus-method-return-internal)
2045 (dbus-method-error-internal, dbus-register-service)
2046 (dbus-register-signal, dbus-register-method): New defuns, moved
2047 from dbusbind.c
2048 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2049 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2050 New defuns.
dcbf5805
MA
2051 (dbus-call-method-non-blocking): Make it an obsolete function.
2052 (dbus-unregister-object, dbus-unregister-service)
2053 (dbus-handle-event, dbus-register-property)
2054 (dbus-property-handler): Obey the new structure of
2055 `bus-registered-objects'.
2056 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2057 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2058 Use `dbus-call-method'.
2059
cf20dee0
CY
20602012-04-22 Chong Yidong <cyd@gnu.org>
2061
2062 * cus-edit.el (custom-commands, custom-reset-menu)
2063 (Custom-reset-standard): Tweak labels.
2064 (custom-reset-button-menu): Change default to t.
2065 (custom-buffer-create-internal): For the custom-reset-button-menu
2066 case, put the revert button first.
2067 (custom-group-subtitle): New face.
2068 (custom-group-value-create): Align docstring to a specific column.
2069
2070 * wid-edit.el (widget-documentation-link-add): Don't handle
2071 indentation in this function.
2072 (widget-documentation-string-indent-to): New function.
2073 (widget-documentation-string-value-create): Use it.
2074
2075 * autorevert.el (auto-revert):
2076 * epg-config.el (epg):
2077 * ibuffer.el (ibuffer):
2078 * mpc.el (mpc):
2079 * ses.el (ses):
2080 * eshell/eshell.el (eshell):
2081 * net/ange-ftp.el (ange-ftp):
2082 * progmodes/ebnf2ps.el (postscript):
2083 * progmodes/flymake.el (flymake):
2084 * progmodes/prolog.el (prolog):
2085 * progmodes/verilog-mode.el (verilog-mode):
2086 * progmodes/which-func.el (which-func):
2087 * term/xterm.el (xterm):
2088 * textmodes/picture.el (picture):
2089 * textmodes/tildify.el (tildify):
2090 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2091 customization buffers.
2092
583e23bd
AM
20932012-04-22 Alan Mackenzie <acm@muc.de>
2094
2095 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2096 Adding a ) can hide the resulting (..) from searches. Fix it.
2097 Bound the backward search to the position of the existing (.
2098
7dd51bf1
JB
20992012-04-21 Juanma Barranquero <lekktu@gmail.com>
2100
2101 * progmodes/verilog-mode.el (verilog-mode): Check whether
2102 which-func-modes is t before adding verilog-mode.
2103 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2104
d64a438f
LL
21052012-04-21 Leo Liu <sdl.web@gmail.com>
2106
7dd51bf1 2107 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2108
081e8d65
MV
21092012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2110
2111 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2112 filling of the last column of a table (Bug#5635).
2113 (woman-find-next-control-line): New arg, specifying an additional
2114 regexp component for the control line.
2115 (woman2-roff-buffer): Use it.
2116 (woman-break-table): New function.
2117 (woman2-TS): Use it.
2118
21192012-04-21 Chong Yidong <cyd@gnu.org>
2120
2121 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2122 (woman-horizontal-escapes, woman-negative-vertical-space)
2123 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2124 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2125
ed571ccb
SM
21262012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * minibuffer.el (completion-file-name-table): Complete user names.
2129
39773899
LL
21302012-04-20 Leo Liu <sdl.web@gmail.com>
2131
2132 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2133 and pcase-let*.
2134
de6ff46d
CY
21352012-04-20 Chong Yidong <cyd@gnu.org>
2136
2137 * server.el (server-execute): Respect initial-buffer-choice if it
2138 is a string and there are no files to open (Bug#2825).
2139 (server-create-window-system-frame, server-create-tty-frame):
2140 Don't switch buffers here.
2d0e8e61
CY
2141 (server-process-filter): Only try to open a window system frame if
2142 compiled with graphical support (Bug#8314).
de6ff46d 2143
54071013
DN
21442012-04-20 Dan Nicolaescu <dann@gnu.org>
2145
2146 * battery.el (battery-echo-area-format): Display remaining time
2147 for sysfs backend too (Bug#11269).
2148 (battery-linux-sysfs): Fix conditional for the charge.
2149
f30d612a
CY
21502012-04-20 Chong Yidong <cyd@gnu.org>
2151
c07a4c0b 2152 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2153 (gdb-inferior-io--init-proc): New function.
2154 (gdb-init-1): Use it.
2155 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2156 responsible for allocating a new pty and hooking it to gdb when
2157 the old pty gets an EIO due to process exit.
2158 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2159 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2160 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2161
2116e93c
EZ
21622012-04-20 Eli Zaretskii <eliz@gnu.org>
2163
2164 * window.el (window-min-size, window-sizable, window-min-delta)
2165 (window-max-delta, window--resizable, window-resizable)
2166 (window-total-size, window-full-height-p, window-full-width-p)
2167 (window-in-direction, window--resize-mini-window, window-resize)
2168 (window--resize-child-windows-normal)
2169 (window--resize-child-windows, window--resize-siblings)
2170 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2171 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2172
c07a4c0b 21732012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2174
ef24141c
SM
2175 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2176 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2177 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2178 pty process (Bug#11273).
2179 (gdb-update): New arg to suppress talking to the gdb process.
2180 (gdb-done-or-error): Use it.
2181 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2182 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2183 sentinel not being called.
2184
2185 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2186
d02766ab
CY
2187 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2188
c07a4c0b 21892012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2190
2191 * net/network-stream.el (open-network-stream): Doc fix.
2192
c07a4c0b 21932012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2194
2195 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2196
c07a4c0b 21972012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2198
2199 Ensure searching for keywords is case sensitive.
2200
2201 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2202 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2203 (c-defun-name, c-mark-function, c-cpp-define-name)
2204 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2205 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2206
ef24141c
SM
2207 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2208 Bind case-fold-search to nil.
f0f6bc35 2209
c07a4c0b 22102012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2211
2212 * mail/sendmail.el (mail-bury): Call return action with the right
2213 Rmail buffer (Bug#11242).
2214
9a864fa2
CY
2215 * server.el (server-process-filter): Handle corner case where both
2216 tty and nowait options are present (Bug#11102).
2217
539aa513
EZ
22182012-04-20 Eli Zaretskii <eliz@gnu.org>
2219
2220 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2221 (top level): Put into the executable the ident-style '$Id:' tag on
2222 windows-nt as well.
539aa513 2223
cfc7d5da
SM
22242012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * electric.el (electric-indent-post-self-insert-function): Check that
2227 electric-indent-mode is enabled in current buffer.
2228
5b01685c
JB
22292012-04-19 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * imenu.el (imenu-progress-message): Restore; it is "used" in
2232 erc/erc-imenu.el and net/snmp-mode.el.
2233
4d6769e1
JB
22342012-04-19 Juanma Barranquero <lekktu@gmail.com>
2235
2236 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2237 (mouse-avoidance-nudge-mouse): Remove unused binding.
2238
2239 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2240
2241 * descr-text.el (describe-char):
2242 * progmodes/python.el (python-describe-symbol):
2243 Don't call `toggle-read-only', set `buffer-read-only'.
2244
2245 * imenu.el (imenu-default-goto-function): Mark unused args.
2246 (imenu-progress-message): Remove obsolete macro; all callers changed.
2247
2248 * subr.el (keymap-canonicalize): Remove unused binding.
2249 (read-passwd): Mark unused arg.
2250
2251 * tutorial.el (tutorial--display-changes): Remove unused binding.
2252 (tutorial--save-tutorial-to): Remove unused variable.
2253
2254 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2255 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2256 (package-generate-autoloads, package-menu--generate)
2257 (package-menu--find-upgrades): Remove unused bindings.
2258
2259 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2260 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2261 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2262 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2263 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2264 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2265 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2266 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2267 (cua-delete-char-rectangle): Mark unused args.
2268 (cua-align-rectangle): Remove unused binding.
2269
2270 * mail/rmail.el (compilation--message->loc)
2271 (epa--find-coding-system-for-mime-charset): Declare.
2272
2273 * net/dbus.el (dbus-register-service): Declare.
2274 (dbus-name-owner-changed-handler): Remove unused binding.
2275
2276 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2277 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2278 (nxml-scan-backward-within): Mark unused arg.
2279 (nxml-dynamic-markup-word): Remove unused binding.
2280
2281 * mouse.el (mouse-menu-major-mode-map):
2282 * emacs-lisp/authors.el (authors-scan-change-log)
2283 (authors-add-to-author-list):
2284 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2285 * emacs-lisp/smie.el (smie-auto-fill):
2286 * mail/sendmail.el (mail-bury):
2287 * mail/unrmail.el (unrmail):
2288 * net/tls.el (open-tls-stream):
2289 * textmodes/picture.el (picture-mouse-set-point):
2290 Remove unused bindings.
2291
8c8fc5df
MA
22922012-04-19 Michael Albinus <michael.albinus@gmx.de>
2293
2294 * net/tramp.el (tramp-action-password): Let-bind
2295 `enable-recursive-minibuffers' to t.
2296
a77b0ac9
SS
22972012-04-18 Sam Steingold <sds@gnu.org>
2298
2299 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2300 instead of 'string to accommodate values like [f11].
2301 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2302 * progmodes/gdb-mi.el: Likewise.
2303
12a106a9
LL
23042012-04-18 Leo Liu <sdl.web@gmail.com>
2305
2306 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2307 current buffer.
2308 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2309 LOCAL is nil.
2310
bc6494ef
CY
23112012-04-18 Chong Yidong <cyd@gnu.org>
2312
2313 * simple.el (line-move): Use forward-line if in batch mode
2314 (Bug#11053).
2315
c09c46b2
CS
23162012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2317
2318 * files.el (after-find-file): Do not try to add a final newline if
2319 the buffer is read-only (Bug#11156).
2320
5f6530ea
RS
23212012-04-17 Richard Stallman <rms@gnu.org>
2322
2323 * mail/rmail.el (rmail-start-mail):
2324 Pass (rmail-mail-return...) for the return-action.
2325 Pass (rmail-yank-current-message...) for the yank-action.
2326 (rmail-yank-current-message): New function.
2327 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2328 (rmail-reply): Likewise.
2329 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2330
2331 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2332 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2333 buffer, not newbuf.
2334
197b6f3c
JB
23352012-04-17 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * server.el (server-ensure-safe-dir): Simplify.
2338
2311d8e5 23392012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2340
2311d8e5
GM
2341 * emacs-lisp/smie.el: Provide smarter auto-filling.
2342 (smie-auto-fill): New function.
2343 (smie-setup): Use it.
98fb480e 2344
2311d8e5
GM
2345 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2346
23472012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2348
2349 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2350 (comment-indent): Use it.
2351
2311d8e5 23522012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2353
2354 * ses.el: The overall change is to add cell renaming, that is
2355 setting fancy names for cell symbols other than name matching
2356 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2357 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2358 (ses-create-cell-variable): New defun.
2311d8e5 2359 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2360 (ses-relocate-formula): Relocate formulas only for cells the
2361 symbols of which are not renamed, i.e. symbols whose names do not
2362 match regexp "\\`[A-Z]+[0-9]+\\'".
2363 (ses-relocate-all): Relocate values only for cells the symbols of
2364 which are not renamed.
2365 (ses-load): Create cells variables as the (ses-cell ...) are read,
2366 in order to check row col consistency with cell symbol name only
2367 for cells that are not renamed.
2368 (ses-replace-name-in-formula): New defun.
2369 (ses-rename-cell): New defun.
4bdf2ad2 2370
fc72b15c
PO
23712012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2372
2373 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2374 New option (bug#11118).
2375 (perl-calculate-indent): Respect it.
2376
12e10e61
GM
23772012-04-17 Glenn Morris <rgm@gnu.org>
2378
2379 * dired-aux.el (dired-mark-read-string): Doc fix.
2380
30009afd
DA
23812012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2382
2383 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2384 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2385
41f03f4d
GM
23862012-04-17 Glenn Morris <rgm@gnu.org>
2387
2388 * mouse.el (mouse-drag-track):
2389 * speedbar.el (speedbar-frame-mode):
2390 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2391
f45f90f3
LL
23922012-04-16 Leo Liu <sdl.web@gmail.com>
2393
2394 * progmodes/python.el: Trivial cleanup.
2395
94ee8db5
GM
23962012-04-16 Glenn Morris <rgm@gnu.org>
2397
121b8917
GM
2398 * vc/vc.el (vc-string-prefix-p):
2399 * vc/pcvs-util.el (cvs-string-prefix-p):
2400 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2401 * mpc.el (mpc-string-prefix-p):
2402 Make all of these into obsolete aliases for string-prefix-p.
2403 Update callers.
2404 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2405
1197ecfa
GM
2406 * textmodes/two-column.el: Move custom options to the start.
2407 (frame-width): Remove compat definition.
2408 (2C-associate-buffer, 2C-dissociate):
2409 Use with-current-buffer rather than save-excursion.
2410 (2C-dissociate): Force a mode-line update.
2411 (2C-autoscroll): Use ignore-errors.
2412
099e7202
GM
2413 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2414 Autoload trivia.
2415
bf350d6a
GM
2416 * emacs-lisp/cl-extra.el (*random-state*):
2417 Remove unnecessary declaration.
2418
0e829eab
GM
2419 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2420
e3ad7552
GM
2421 * play/cookie1.el (cookie-snarf):
2422 Give an explicit error if input file cannot be read.
2423
68892d27
GM
2424 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2425
20f0c46d
GM
2426 * progmodes/perl-mode.el (c-macro-expand):
2427 Remove unnecessary autoload (it is in loaddefs.el).
2428
5a0978ce
GM
2429 * textmodes/picture.el (picture-desired-column)
2430 (picture-update-desired-column): Convert comments to doc-strings.
2431 (picture-substitute): Remove function.
2432 (picture-mode-map): Initialize in the defvar.
2433
6b955486
GM
2434 * woman.el: Remove eval-after-load for tar-mode.
2435 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2436 (woman-tar-extract-file): Autoload it.
2437
94ee8db5
GM
2438 * frame.el (automatic-hscrolling): Make this alias obsolete.
2439
177eca34
AM
24402012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2441
2442 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2443 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2444 (ispell-dictionary-base-alist): Revert to original XEmacs
2445 friendly version for default. [:alpha:] will be added in
2446 `ispell-set-spellchecker-params' if needed
177eca34 2447
c505aaeb
CY
24482012-04-16 Chong Yidong <cyd@gnu.org>
2449
2450 * image.el (imagemagick--extension-regexp): New variable.
2451 (imagemagick-register-types): Use it.
2452 (imagemagick-types-inhibit): Add :set function. Allow new value
2453 of t to inhibit all types.
2454
2455 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2456 so we can preload it.
2457
2458 * loadup.el (fboundp): Preload regexp-opt, needed by
2459 imagemagick-register-types.
2460
60efac0f
CY
24612012-04-15 Chong Yidong <cyd@gnu.org>
2462
2463 * frame.el (scrolling): Remove nearly unused customization group.
2464
2465 * scroll-all.el (scroll-all-mode): Move to windows group.
2466
5dd1713e
CY
24672012-04-15 Chong Yidong <cyd@gnu.org>
2468
2469 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2470
e6fd457e
CY
24712012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2474 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2475
e153c136
GM
24762012-04-15 Glenn Morris <rgm@gnu.org>
2477
2478 * simple.el (process-file-side-effects): Doc fix.
2479
e6fd457e 24802012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2481
2482 * international/mule-cmds.el (set-language-environment): Doc fix.
2483
3603c3b1
JB
24842012-04-14 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * server.el (server-auth-key, server-generate-key): Doc fixes.
2487 (server-get-auth-key): Doc fix. Use `string-match-p'.
2488 (server-start): Reflow docstring.
2489
e6de100c
LI
24902012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2491
2492 * server.el (server-generate-key): `called-interactively-p'
2493 requires a parameter.
2494
29734c21
MN
24952012-04-14 Michal Nazarewicz <mina86@mina86.com>
2496
2497 * server.el (server-auth-key): New variable.
75f1671a 2498 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2499 (server-start): Use the new variable and functions to allow
2500 setting a permanent server key (bug#9423).
2501
d65c9521
LL
25022012-04-14 Leo Liu <sdl.web@gmail.com>
2503
2504 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2505
5ae255c7
PE
25062012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2507
2508 Spelling fixes.
2509 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2510 Emacs uses American spelling.
2511
d5e6342e
JB
25122012-04-14 Juanma Barranquero <lekktu@gmail.com>
2513
2514 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2515 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2516 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2517 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2518
ab036cd7
SM
25192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * progmodes/which-func.el (which-func-modes): Change default.
2522
35dc09a1 25232012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2524
2525 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2526 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2527
35dc09a1 25282012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2529
2530 * custom.el (custom-theme-set-variables): Doc fix.
2531
35dc09a1 25322012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2533
2534 * international/mule.el (set-auto-coding-for-load): Doc fix.
2535
35dc09a1 25362012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2537
35dc09a1
GM
2538 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2539 imenu work again for Objective C Mode. Correct the *-index values,
2540 these having been disturbed by a previous change in 2011-08.
57f845ee 2541
0de3da9f
AM
2542 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2543 Correct two search limits.
2544
35dc09a1 25452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2546
2547 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2548
35dc09a1 25492012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2550
2551 * international/characters.el: Fix sorting.
2552
35dc09a1 25532012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2554
2555 * international/characters.el: Add more missing Latin case pairs.
2556
35dc09a1 25572012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2558
2559 * files.el (dir-locals-set-class-variables): Doc fix.
2560
35dc09a1 25612012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2562
3f1b5bf8
EZ
2563 * international/characters.el: Add set-case-syntax-pair call for
2564 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2565 counterpart. (Bug#11209)
2566
9f847f41
EZ
2567 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2568
35dc09a1 25692012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2570
2571 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2572
35dc09a1 25732012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2574
35dc09a1
GM
2575 * textmodes/ispell.el (ispell-dictionary-base-alist):
2576 Add data for Hebrew.
e2627d21 2577
35dc09a1 25782012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2579
35dc09a1
GM
2580 * net/rcirc.el (rcirc-cmd-quit):
2581 Revert 2012-03-18 change (Bug#11192).
5c14e333 2582
35dc09a1 25832012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2584
2585 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2586
35dc09a1 25872012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2588
4517fe3a
SM
2589 * minibuffer.el (completion-in-region-mode-map):
2590 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2591
b472a594
VD
25922012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2593
2594 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2595
09b95ce3
MY
25962012-04-13 Masatake YAMATO <yamato@redhat.com>
2597
2598 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2599 to allow `C-M-f' and `C-M-b' to move to the nearest path
2600 separator (bug#9511).
2601
4b63a9ca
LI
26022012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2603
2604 * avoid.el: Require cl when compiling. And also move the
2605 `provide' to the end.
2606
7b55b8bf
TV
26072012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2608
2609 * avoid.el (mouse-avoidance-banish-position): New variable.
2610 (mouse-avoidance-banish-destination): Use it (bug#10165).
2611
adedaa1f
LL
26122012-04-13 Leo Liu <sdl.web@gmail.com>
2613
2614 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2615
70e74021
KB
26162012-04-13 Ken Brown <kbrown@cornell.edu>
2617
2618 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2619 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2620 (browse-url-filename-alist): For the same reason, don't modify
2621 file:// URLs on Cygwin.
2622
e75e89ba
SM
26232012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2626 the region on shift if the binding is already shifted (bug#11221).
2627
82f289a4
GM
26282012-04-12 Glenn Morris <rgm@gnu.org>
2629
2630 * mail/mailpost.el: Move to obsolete/.
2631
d333dc4c
DA
26322012-04-12 Drew Adams <drew.adams@oracle.com>
2633
2634 * imenu.el (imenu--generic-function): Ignore invisible definitions
2635 (bug#10123).
2636
0d15b5ba
VD
26372012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2638
2639 * hexl.el (hexl-bits): New variable.
2640 (hexl-options): Mention the variable in the doc string.
75f1671a 2641 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2642 (hexl-mode): Mention the new variable.
75f1671a
JB
2643 (hexl-mode, hexl-current-address, hexl-current-address):
2644 Use the displen.
0d15b5ba
VD
2645 (hexl-ascii-start-column): New function.
2646 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2647 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2648
64a440db
AM
26492012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2650
2651 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2652 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2653 the encoding, as expected by hunspell.
2654
6decb6c2
SM
26552012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * battery.el (battery--linux-sysfs-regexp): New const.
2658 (battery-status-function): Use it. Remove yeeloong special case.
2659 (battery-yeeloong-sysfs): Remove.
2660 (battery-echo-area-format): Remove yeeloong special case.
2661
088be6fb
SM
26622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2663
6622e416
SM
2664 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2665 Reported by Noah Friedman.
2666
088be6fb
SM
2667 * subr.el (read-passwd): Use read-string.
2668
b49f886e
LMI
26692012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2670
2671 * vcursor.el (vcursor-move): Increase the priority of the overlay
2672 (bug#9663).
2673
a63067fc
DD
26742012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2675
2676 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2677 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2678
ac3cf14a
WS
26792012-04-11 William Stevenson <yhvh2000@gmail.com>
2680
2681 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2682 define-minor-mode (bug#10760).
2683
c4fc691b 26842012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2685
4d6769e1 2686 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2687 that directories matching `grep-find-ignored-files' won't be
2688 pruned (bug#10351).
2689
af23e2e5
CY
26902012-04-11 Chong Yidong <cyd@gnu.org>
2691
2692 * startup.el (command-line): Remove support for long-obsolete
2693 variable font-lock-face-attributes.
2694
ab7ce8c1
GM
26952012-04-11 Glenn Morris <rgm@gnu.org>
2696
2697 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2698
de8c03dc
SM
26992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * window.el (window--state-get-1): Obey window-point-insertion-type.
2702
050cc68b
LB
27032012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2704
2705 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2706 to previous function when point is on the first character of a
75f1671a 2707 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2708
a38c310c
GM
27092012-04-11 Glenn Morris <rgm@gnu.org>
2710
effed0c2
GM
2711 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2712 not just file-errors.
2713
a38c310c
GM
2714 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2715 (vc-bzr-sha1): Use internal sha1.
2716
0221e323
SM
27172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2720
43956923
SG
27212012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2722
2723 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2724 that start in the middle of the line (bug#10496).
2725
6a8c9eaf
DN
27262012-04-10 Dan Nicolaescu <dann@gnu.org>
2727
2728 * battery.el (battery-linux-proc-acpi): Only one battery is
2729 discharged at a time, but that seems to confuse battery.el when
2730 computing `rate-type' for the battery not being discharged
2731 (bug#10332).
2732
1930bf5d
SM
27332012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2a718f6f
SM
2735 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2736
599430d0
SM
2737 * international/quail.el: Use dolist and simplify.
2738 (quail-define-package, quail-update-keyboard-layout)
2739 (quail-define-rules): Use dolist.
2740 (quail-insert-kbd-layout, quail-get-translation): CSE.
2741
a2754b6c
SM
2742 * tmm.el: Use dolist, remove left over hook.
2743 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2744 Use dolist.
2745 (calendar-load-hook): Don't mess with it.
2746
1930bf5d
SM
2747 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2748 Use derived-mode-p. Run the diff asynchronously.
2749
9f67961c
LMI
27502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2751
2752 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2753
2a8ce227
JB
27542012-04-10 Juanma Barranquero <lekktu@gmail.com>
2755
2756 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2757 (list-dynamic-libraries--loaded): New function.
2758 (list-dynamic-libraries--refresh): Use it.
2759
8f33b5f8
NW
27602012-04-10 Nathan Weizenbaum <nweiz@google.com>
2761
1930bf5d
SM
2762 * progmodes/python.el (python-fill-paragraph):
2763 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2764 disabled (bug#7018).
2765
b12f0439
L
27662012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2767
1930bf5d 2768 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2769 DOS/MS Windows for the Baltic languages. There are still plenty
2770 of texts written in this encoding/codepage (bug#6519).
b12f0439 2771
57c3bd01
GM
27722012-04-10 Glenn Morris <rgm@gnu.org>
2773
2774 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2775 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2776
6c3eab30
FA
27772012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2778
1930bf5d 2779 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2780 next-line "n" and previous-line "p" in order to make recentf more
2781 consistent with ibuffer, dired or org-mode (bug#9387).
2782
24d78a88
LMI
27832012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2784
bc72b5d9
LMI
2785 * image.el (put-image): Return the overlay created instead of the
2786 optional input string (bug#7834). Note that this may break code
2787 that is (for some reason or other) depending on `put-image'
2788 returning the string.
2789
bd2dba5a
LMI
2790 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2791
74beb59f
LMI
2792 * simple.el (zap-to-char): Allow zapping using input methods
2793 (bug#1580).
2794
24d78a88
LMI
2795 * textmodes/fill.el (fill-region): Leave point and mark where they
2796 were before filling (bug#5399).
2797
263f20cd
GM
27982012-04-09 Glenn Morris <rgm@gnu.org>
2799
2800 * version.el (emacs-bzr-get-version):
2801 Handle lightweight checkouts of local branches.
2802
58d1f797
AS
28032012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2804
263f20cd 2805 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2806
b4d3bc10
CY
28072012-04-09 Chong Yidong <cyd@gnu.org>
2808
2809 * custom.el (custom-variable-p): Return nil for non-symbol
2810 arguments instead of signaling an error.
2811 (user-variable-p): Obsolete alias for custom-variable-p.
2812
2813 * apropos.el (apropos-variable):
2814 * files-x.el (read-file-local-variable):
2815 * simple.el (set-variable):
2816 * woman.el (woman-mini-help):
2817 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2818
fd06db5d
GM
28192012-04-09 Glenn Morris <rgm@gnu.org>
2820
e5fcdb5e
GM
2821 * startup.el (normal-top-level): Don't look for leim-list.el
2822 in places where it will not be found. (Bug#910)
2823
fd06db5d
GM
2824 * international/mule-cmds.el (set-default-coding-systems):
2825 * files.el (normal-mode):
2826 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2827 This function was removed with ucs-tables.el in 2008.
2828
b39bb7e1
EZ
28292012-04-08 Eli Zaretskii <eliz@gnu.org>
2830
2831 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2832 ispell-encoding8-command to "-i", without a trailing space.
2833 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2834 separate command-line arguments, to specify the encoding, since
2835 that's how hunspell expects it.
2836
5c5b8e23
GM
28372012-04-08 Glenn Morris <rgm@gnu.org>
2838
2839 * loadup.el: Load bindings before cus-start.
2840 This reduces somewhat the number of "rogue" settings in emacs -Q.
2841
a1ed8b05
GM
28422012-04-07 Glenn Morris <rgm@gnu.org>
2843
2844 * version.el (emacs-bzr-get-version): New function.
dfae128a 2845 (emacs-bzr-version): New variable.
a1ed8b05
GM
2846 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2847 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2848
b142f158
EZ
28492012-04-07 Eli Zaretskii <eliz@gnu.org>
2850
dfae128a
GM
2851 * international/uni-bidi.el, international/uni-category.el:
2852 * international/uni-combining.el, international/uni-decimal.el:
2853 * international/uni-decomposition.el, international/uni-digit.el:
2854 * international/uni-lowercase.el, international/uni-mirrored.el:
2855 * international/uni-name.el, international/uni-numeric.el:
2856 * international/uni-titlecase.el, international/uni-uppercase.el:
2857 Update for Unicode 6.1.
b142f158 2858
9078ead6
EZ
28592012-04-07 Eli Zaretskii <eliz@gnu.org>
2860
2861 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2862
f23d2c7d
LMI
28632012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2864
2865 * window.el (shrink-window): Mention the `window-min-height'
2866 variable in the doc string.
2867
0a0a3573
BG
28682012-04-05 Bastien Guerry <bzg@altern.org>
2869
2870 * color.el (color-lighten-name): Fix typo.
2871
e5248ac9
SM
28722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * server.el (server--on-display-p): New function.
2875 (server--on-display-p): Use it.
2876
b4243e22
GV
28772012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2878
2879 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2880 (bug#11145).
2881
305d9f44
SM
28822012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * comint.el (comint--common-quoted-suffix): Check string boundary
2885 before comparing (bug#11158).
2886 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2887
3d439cd1
CY
28882012-04-04 Chong Yidong <cyd@gnu.org>
2889
321cc491
CY
2890 * minibuffer.el (completion-extra-properties): Doc fix.
2891
3d439cd1
CY
2892 * subr.el (delayed-warnings-hook): Doc fix.
2893
2d562c0f
DU
28942012-04-04 Daiki Ueno <ueno@unixuser.org>
2895
2896 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2897 selection (Bug#11159).
2898 (epa-insert-keys): Inform that the default public key will be
2899 exported if no key is selected.
2900
4443f204
RS
29012012-04-04 Richard Stallman <rms@gnu.org>
2902
2903 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2904
529c06b6
CY
29052012-04-03 Chong Yidong <cyd@gnu.org>
2906
2907 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2908 mail-insert-file, not its obsolete alias mail-attach-file.
2909
66b907dc
MA
29102012-04-03 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * notifications.el (notifications-notify): Fix docstring.
2913
c0ea195d
GM
29142012-04-02 Glenn Morris <rgm@gnu.org>
2915
2916 * emacs-lisp/authors.el (authors-aliases): Another addition.
2917
5ca64e00
MA
29182012-04-02 Michael Albinus <michael.albinus@gmx.de>
2919
2920 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2921 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2922 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2923
42ee526b
CY
29242012-04-01 Chong Yidong <cyd@gnu.org>
2925
2926 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2927 Handle root directory properly.
2928 (copy-directory): Caller changed.
2929
2930 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2931 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2932
0b021094
GM
29332012-03-31 Glenn Morris <rgm@gnu.org>
2934
40f86458
GM
2935 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2936
7019c177
GM
2937 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2938
a1daddd6
GM
2939 * calendar/calendar.el (calendar-window-list)
2940 (calendar-hide-window): Restore. (Bug#11140)
2941 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2942
0b021094
GM
2943 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2944
40311efc
TV
29452012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2946
2947 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2948 Check if file is a symlink (Bug#10489).
2949
2950 * files.el (copy-directory): Likewise.
2951
5319014e
CY
29522012-03-30 Chong Yidong <cyd@gnu.org>
2953
2954 * image.el (imagemagick-types-inhibit)
2955 (imagemagick-register-types): Doc fix.
2956
935d1290
AM
29572012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2958
ef24141c
SM
2959 * ispell.el (ispell-get-extended-character-mode):
2960 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2961 and treats ~word as ordinary words in pipe mode.
935d1290 2962
61c6e8fd
GM
29632012-03-30 Glenn Morris <rgm@gnu.org>
2964
2965 * tutorial.el (help-with-tutorial): Ensure local variables don't
2966 happen to make the buffer read-only. (Bug#11127)
2967
81fdff00
SM
29682012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2971 (perl-calculate-indent): Return `noindent' in strings.
2972
6e7a6ec0
SS
29732012-03-28 Sam Steingold <sds@gnu.org>
2974
2975 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2976 instead of the broken adhockery which does not prevent calendar
2977 buffers from being displayed at random after exit.
2978 (calendar-window-list, calendar-hide-window): Remove the broken
2979 adhockery.
2980
fee88ca0
GM
29812012-03-28 Glenn Morris <rgm@gnu.org>
2982
2983 * replace.el (query-replace-map): Doc fix.
2984
38de3354
AS
29852012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2986
2987 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2988 contents. (Bug#11109)
2989
b973155e
SM
29902012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2993 (bug#11077).
2994 (avl-tree--check, avl-tree--check-node): New funs.
2995
dcb6e7b3
MR
29962012-03-27 Martin Rudalics <rudalics@gmx.at>
2997
2998 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2999 (switch-to-prev-buffer, switch-to-next-buffer):
3000 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3001 showing a buffer already is done on the same frame.
3002
b4fa35fa
GM
30032012-03-27 Glenn Morris <rgm@gnu.org>
3004
3005 * startup.el (mail-host-address): Doc fix.
3006
f9210e18
SM
30072012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3010 than 197 variables.
3011
c0bf7753
AF
30122012-03-26 Ami Fischman <ami@fischman.org>
3013
3014 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3015
33da7b16
GM
30162012-03-26 Glenn Morris <rgm@gnu.org>
3017
02243d9d
GM
3018 * files.el (save-buffers-kill-emacs): Doc fix.
3019
33da7b16
GM
3020 * startup.el (normal-top-level, command-line, command-line-1):
3021 Give them doc strings.
3022
e5a69fd0
EZ
30232012-03-25 Eli Zaretskii <eliz@gnu.org>
3024
3025 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3026 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3027
9a69676a
CY
30282012-03-25 Chong Yidong <cyd@gnu.org>
3029
4125cb8b
CY
3030 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3031 theme if it was previously enabled before (Bug#11031).
3032
dd470960
CY
3033 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3034 spec with custom-face-get-current-spec if its :shown-value is not
3035 determined yet (Bug#9337).
4125cb8b 3036 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3037
9a69676a
CY
3038 * button.el (button-at): Minor addition to docstring.
3039
6e7e90fa
SL
30402012-03-24 Simon Leinen <simon.leinen@gmail.com>
3041
3042 * vc/vc.el (vc-merge): Fix a prompt.
3043
f06e2758
CY
30442012-03-24 Chong Yidong <cyd@gnu.org>
3045
3046 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3047 point (Bug#9623).
3048
6e7e90fa
SL
3049 * button.el (button-at): Minor addition to docstring.
3050
b9d0879b
SM
30512012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * newcomment.el (comment-choose-indent): No space after BOL.
3054
e71cebb3
SS
30552012-03-22 Sam Steingold <sds@gnu.org>
3056
3057 * window.el (switch-to-prev-buffer): Revert last patch because the
3058 bug turned out to be an advertised feature (Elisp manual 28.14).
3059
335aff35
GM
30602012-03-22 Glenn Morris <rgm@gnu.org>
3061
3062 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3063 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3064
c676576a
LMI
30652012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3066
3067 * net/network-stream.el (network-stream-open-starttls): Make error
3068 message under Windows be less misleading.
3069
126f3d39
LW
30702012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3071
3072 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3073 understands (bug#9942).
3074
64fee311
CY
30752012-03-22 Chong Yidong <cyd@gnu.org>
3076
3077 * simple.el (end-of-visible-line): Handle return value of
3078 next-single-property-change properly (Bug#9371).
3079
a640d29a
KH
30802012-03-22 Kenichi Handa <handa@m17n.org>
3081
3082 * international/quail.el (quail-insert-kbd-layout): Fix previous
3083 change. To avoid unwanted bidi reordering, use
3084 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3085
39675016
DG
30862012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3087
3088 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3089 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3090 (ruby-beginning-of-indent): Be more careful with the difference
3091 between word-boundary and symbol boundary.
3092 (ruby-mode-syntax-table): Make : a symbol constituent.
3093
0a6934fc 30942012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3095
3d008e4f
SM
3096 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3097
0a6934fc
SM
30982012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3099
af67c9d7
SM
3100 * progmodes/etags.el (tags-completion-at-point-function):
3101 Improve last fix.
3102
1acad97c
SM
3103 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3104
e298b5da
SS
31052012-03-21 Sam Steingold <sds@gnu.org>
3106
3107 * progmodes/etags.el (tags-completion-at-point-function):
3108 Avoid the error when point is inside the pattern.
3109
91d82a70
JY
31102012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3111
3112 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3113 line (Bug#10855).
3114
69188b79
CY
31152012-03-21 Drew Adams <drew.adams@oracle.com>
3116
3117 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3118
99fc91fe
AK
31192012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3120
3121 * ido.el (ido-set-current-directory, ido-read-internal)
3122 (ido-choose-completion-string, ido-completion-help): Handle nil
3123 value of ido-completion-buffer (Bug#11008).
3124
087bbb4c
SS
31252012-03-21 Sam Steingold <sds@gnu.org>
3126
3127 * window.el (switch-to-prev-buffer): Do not switch to a visible
3128 window previous buffer, just like with the frame previous buffers.
3129
fb5b8aca
CY
31302012-03-21 Chong Yidong <cyd@gnu.org>
3131
3132 * faces.el (make-face, make-empty-face, copy-face):
3133 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3134 Doc fixes.
3135
dc9924b8
SM
31362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3139 (widget-complete): Remove broken use of it.
3140
f0bcceb9
CY
31412012-03-20 Chong Yidong <cyd@gnu.org>
3142
dc9924b8
SM
3143 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3144 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3145 characters.
3146
ee52ebf3
TH
31472012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3148
3149 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3150 to draw rectangles, not squares. (Regression introduced by revno
3151 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3152
4c5779ab
CY
31532012-03-18 Chong Yidong <cyd@gnu.org>
3154
3155 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3156 it is not yet defined (for temacs).
3157
15360934
LL
31582012-03-18 Leo Liu <sdl.web@gmail.com>
3159
dc9924b8 3160 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3161
d9a8eb66
EZ
31622012-03-17 Eli Zaretskii <eliz@gnu.org>
3163
3164 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3165 (ispell-choices-win-default-height, ispell-silently-savep)
3166 (ispell-dictionary-alist, ispell-encoding8-command)
3167 (ispell-check-version, ispell-aspell-find-dictionary)
3168 (ispell-valid-dictionary-list, ispell-words-keyword)
3169 (ispell-get-word, ispell-internal-change-dictionary)
3170 (ispell-region, ispell-skip-region-list)
3171 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3172 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3173 (ispell-message-text-end, ispell-message)
3174 (ispell-buffer-local-parsing): Doc fix.
3175
f02ff80d
J
31762012-03-13 Jambunathan K <kjambunathan@gmail.com>
3177
3178 * htmlfontify.el: Add support for code block fontification for ODT
3179 export (Bug #9914).
3180 (hfy-optimisations): Define new option
3181 `body-text-only'
3182 (hfy-fontify-buffer): Honor above setting.
3183 (hfy-begin-span, hfy-end-span): New routines factored out form
3184 `hfy-fontify-buffer'.
3185 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3186 that permit insertion of custom tags.
3187 (hfy-fontify-buffer): Use above handlers.
3188 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3189 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3190 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3191 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3192 bind a special variable `hfy-user-sheet-assoc'.
3193 (htmlfontify-string): New defun.
3194 (hfy-compile-face-map): Make sure that the last char in the
3195 buffer is correctly fontified.
3196 (hfy-face-resolve-face): Whitespace only change.
3197
9ac7a13f
EZ
31982012-03-17 Eli Zaretskii <eliz@gnu.org>
3199
3200 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3201 message more clear.
3202
e2b5bdd7
LL
32032012-03-16 Leo Liu <sdl.web@gmail.com>
3204
3205 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3206
2e492df3
AM
32072012-03-16 Alan Mackenzie <acm@muc.de>
3208
3209 Further optimise the handling of large macros.
3210
3211 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3212 limit to a call of `c-literal-limits'.
3213 (c-determine-+ve-limit): New function.
dc9924b8
SM
3214 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3215 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3216 In CASE 5B, restrict a search limit to 500.
3217 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3218
3219 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3220 Restrict macro bounds to +-500 from after-change's BEG END.
3221
50e94f0c
LL
32222012-03-16 Leo Liu <sdl.web@gmail.com>
3223
3224 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3225
6f09f6ed
AH
32262012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3227
3228 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3229 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3230
c7e73d51
GM
32312012-03-16 Glenn Morris <rgm@gnu.org>
3232
da986230
GM
3233 * view.el (view-buffer, view-buffer-other-window)
3234 (view-buffer-other-frame): Doc fixes re special mode-class.
3235
0835f01e
GM
3236 * subr.el (eval-after-load): If named feature is provided not from
3237 a file, run after-load forms. (Bug#10946)
3238
c7e73d51
GM
3239 * calendar/calendar.el (calendar-insert-at-column):
3240 Handle non-unit-width characters a bit better. (Bug#10978)
3241
3f2eafd1
CY
32422012-03-15 Chong Yidong <cyd@gnu.org>
3243
3244 * emacs-lisp/ring.el (ring-extend): New function.
3245 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3246
3247 * comint.el (comint-read-input-ring)
3248 (comint-add-to-input-history): Grow comint-input-ring lazily.
3249
103af3fe
SM
32502012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3251
663b1677
SM
3252 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3253 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3254
103af3fe
SM
3255 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3256 (imenu-add-to-menubar): Don't add a redundant index.
3257 (imenu-update-menubar): Handle a dynamically composed keymap.
3258
899cb7cb
KY
32592012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3260
3261 * mail/sendmail.el (mail-encode-header):
3262 Bind rfc2047-encode-encoded-words to nil.
3263
3809f91d
GM
32642012-03-13 Glenn Morris <rgm@gnu.org>
3265
3266 * calendar/calendar.el (calendar-string-spread):
3267 Handle non-unit-width characters a bit better. (Bug#10978)
3268
9e345a01
LL
32692012-03-13 Leo Liu <sdl.web@gmail.com>
3270
3271 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3272 directory and file as argument (Bug#10822).
3273
4a07df36
KS
32742012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3275
3276 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3277 For dynamically generated code, follow $PC.
3278 (gdb-disassembly-handler-custom): Handle no function name case.
3279
4aaa9356
TL
32802012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3281
3282 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3283 * emulation/ws-mode.el (ws-query-replace):
3284 * sort.el (sort-regexp-fields):
3285 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3286
225979da
SM
32872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * dabbrev.el: Fix cycle completion order (bug#10963).
3290 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3291 (dabbrev-completion): Don't use an obarray; provide
3292 a cycle-sort-function.
3293
e2f1fdab
LL
32942012-03-12 Leo Liu <sdl.web@gmail.com>
3295
dc9924b8 3296 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3297 (kill-do-not-save-duplicates): Doc fix.
3298
b19490ed
SM
32992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * dabbrev.el: Fix cycle completion (bug#10963).
3302 Use lexical binding and wrap to 80 columns.
3303 (dabbrev-completion): Delay computing the list of completions.
3304
4b05d722
KH
33052012-03-12 Kenichi Handa <handa@m17n.org>
3306
3307 * international/quail.el (quail-insert-kbd-layout): Surround each
3308 row by LRO and PDF instead of inserting many LRMs. Pad the left
3309 and right of each non-spacing marks. Insert invisible space
3310 between lower and upper characters to prevent composition.
3311
dbbc2e69
SM
33122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * minibuffer.el (minibuffer-complete): Don't get confused when the
3315 function is run twice via different commands (bug#10958).
3316 (complete-with-action): Fix docstring.
3317
292112ed
CY
33182012-03-12 Chong Yidong <cyd@gnu.org>
3319
5d1ac394
CY
3320 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3321 (nxml-completion-at-point-function): New function.
3322 (nxml-mode): Use it.
3323 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3324
292112ed
CY
3325 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3326 Load generated autoloads file before byte compiling (Bug#10970).
3327 (package--make-autoloads-and-compile): New helper fun.
3328
4098f8f7
CS
33292012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3330
3331 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3332
8f754691
MA
33332012-03-11 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * autorevert.el (auto-revert-handler): Ensure, that
3336 file-readable-p is applied only for local files or in
3337 auto-revert-tail-mode.
3338
e29ab36b
AS
33392012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3340
dbbc2e69
SM
3341 * server.el (server-eval-at): Handle non-tcp connections.
3342 Decode result string.
ad0bf5b6 3343
e29ab36b
AS
3344 * server.el (server-msg-size): New constant.
3345 (server-reply-print): New function.
3346 (server-eval-and-print): Use it.
3347 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3348 Handle -print-nonl.
3349
de5939ba
CS
33502012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3351
3352 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3353 (Bug#10987).
3354
0c93eabf
CY
33552012-03-11 Chong Yidong <cyd@gnu.org>
3356
397a688f
CY
3357 * simple.el (goto-line): Doc fix (Bug#9938).
3358
2cc775f9
CY
3359 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3360
0c93eabf
CY
3361 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3362 when finished (Bug#10963).
3363
c491fa41
MR
33642012-03-11 Martin Rudalics <rudalics@gmx.at>
3365
3366 * window.el (split-window-below): Fix bug in case where
3367 split-window-keep-point is nil (Bug#10971).
3368
300e8fa5
JL
33692012-03-11 Juri Linkov <juri@jurta.org>
3370
3371 * replace.el (replace-highlight): Set isearch-word to nil
3372 unconditionally. (Bug#10887)
3373
dbf6c5a1
EZ
33742012-03-10 Eli Zaretskii <eliz@gnu.org>
3375
3376 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3377 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3378 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3379 (mairix-widget-create-query): Add usage information about mairix
3380 search forms: negating words, searching for substrings, etc.
3381
b9e501de
JP
33822012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3383
3384 * international/fontset.el (font-encoding-alist): Add an entry for
3385 ksx1001 (Bug#5667).
3386
92795c91
RS
33872012-03-10 Richard Stallman <rms@gnu.org>
3388
1694e6c1
RS
3389 * mail/sendmail.el (mail-encode-header):
3390 Set rfc2047-encode-encoded-words.
3391
607e8555
RS
3392 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3393
de3bc99a
RS
3394 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3395 view buffer means not swapped.
3396 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3397 (rmail-write-region-annotate): Error if real text has disappeared.
3398
92795c91
RS
3399 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3400
699bd04e
CY
34012012-03-10 Chong Yidong <cyd@gnu.org>
3402
3403 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3404 * emulation/cua-base.el (cua--init-keymaps):
3405 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3406
570a1714
MR
34072012-03-10 Martin Rudalics <rudalics@gmx.at>
3408
dbbc2e69
SM
3409 * speedbar.el (speedbar-unhighlight-one-tag-line):
3410 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3411
82dcf4e4
CY
34122012-03-10 Chong Yidong <cyd@gnu.org>
3413
7a2c7ca7
CY
3414 * minibuffer.el (completion-in-region, completion-help-at-point):
3415 Give the completion field overlay a high priority (Bug#6830).
3416
82dcf4e4
CY
3417 * dired.el (dired-goto-file): Recognize absolute file name
3418 listings (Bug#7126).
3419 (dired-goto-file-1): New helper function.
3420 (dired-toggle-read-only): Inhibit warnings.
3421
052e28ac
MA
34222012-03-09 Michael Albinus <michael.albinus@gmx.de>
3423
75f1671a 3424 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3425 there are no properties.
3426
95d5e396
LL
34272012-03-09 Leo Liu <sdl.web@gmail.com>
3428
3429 * savehist.el (savehist-printable): Stricter check for string
3430 value (Bug#10937).
3431
3f018d6d
EZ
34322012-03-09 Eli Zaretskii <eliz@gnu.org>
3433
dbbc2e69
SM
3434 * mail/smtpmail.el (smtpmail-send-it):
3435 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3436 valid mbox format.
3437
f7fd3d79
GM
34382012-03-09 Glenn Morris <rgm@gnu.org>
3439
3440 * files.el (dir-locals-find-file):
3441 Don't check result is regular, readable.
3442 (dir-locals-read-from-file): Demote errors.
3443
6ff6e72f
EZ
34442012-03-08 Eli Zaretskii <eliz@gnu.org>
3445
dbbc2e69
SM
3446 * international/quail.el (quail-insert-kbd-layout):
3447 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3448 layout cell, to prevent their reordering by bidi display engine.
3449 For details, see the discussion in
3450 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3451
9cec7834
AM
34522012-03-08 Alan Mackenzie <acm@muc.de>
3453
3454 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3455 the starting position; make it extend the marked region when
3456 invoked repeatedly - all under appropriate circumstances.
3457 Fixes bugs #5525, #10906.
3458
9a40b8d4
GM
34592012-03-08 Glenn Morris <rgm@gnu.org>
3460
3461 * files.el (locate-dominating-file, dir-locals-find-file):
3462 Undo 2012-03-06 change.
3463
7a08ed35
EZ
34642012-03-07 Eli Zaretskii <eliz@gnu.org>
3465
dbbc2e69
SM
3466 * international/quail.el (quail-help):
3467 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3468 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3469 for the reason.
3470
5aca4f71 34712012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3472
3473 Avoid superfluous registering of signals. (Bug#10807)
3474
3475 * notifications.el (notifications-on-action-object)
3476 (notifications-on-close-object): New defvars.
3477 (notifications-on-action-signal, notifications-on-closed-signal):
3478 Unregister the signal if not needed any longer.
3479 (notifications-notify): Register `notifications-action-signal' or
3480 `notifications-closed-signal', if :on-action or :on-close has been
3481 passed as argument.
3482
78e8b10a
CY
34832012-03-07 Chong Yidong <cyd@gnu.org>
3484
3485 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3486 non-X platforms.
3487
69481eb8
GM
34882012-03-06 Glenn Morris <rgm@gnu.org>
3489
3490 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3491 (x-disown-selection-internal, x-get-selection-internal):
3492 Doc fix (add arglist signatures). (Bug#10783)
3493
133b8e11
KS
34942012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3495
3496 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3497 Handle breakpoints with no "type".
3498
99a83064
GM
34992012-03-06 Glenn Morris <rgm@gnu.org>
3500
3501 * files.el (locate-dominating-file): Add optional predicate argument.
3502 (dir-locals-find-file): Make use of above change.
3503
17798e78
TTN
35042012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3505
3506 * info.el (Info-insert-dir): Also try "dir.gz".
3507
eb182446
GM
35082012-03-06 Glenn Morris <rgm@gnu.org>
3509
8f2114ee
GM
3510 * files.el (dir-locals-find-file):
3511 Ignore non-readable or non-regular files. (Bug#10928)
3512
eb182446
GM
3513 * files.el (locate-dominating-file): Doc fix.
3514
24679323
AS
35152012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3516
3517 * calendar/calendar.el (calendar-set-mode-line):
3518 `getenv' returns a string. (Bug#10951)
3519
01d972a9
LL
35202012-03-05 Leo Liu <sdl.web@gmail.com>
3521
109aa8a9
LL
3522 * simple.el (backward-delete-char-untabify): Constrain point to
3523 field (Bug#10939).
3524
01d972a9
LL
3525 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3526
10607bea
CY
35272012-03-05 Chong Yidong <cyd@gnu.org>
3528
3529 * simple.el (count-words): If called from Lisp, return the word
3530 count, for symmetry with `count-lines'. Arglist changed.
3531 (count-words--message): Args changed. Consolidate counting code
3532 from count-words and count-words-region.
3533 (count-words-region): Caller changed.
3534 (count-lines-region): Make it an obsolete alias.
3535
5dd11cfe
TH
35362012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3537
3538 * saveplace.el (save-place-to-alist)
3539 (save-place-ignore-files-regexp): Allow value nil to disable this
3540 feature.
3541
c349f4e6
CY
35422012-03-04 Chong Yidong <cyd@gnu.org>
3543
3544 * faces.el (face-spec-reset-face): For the default face, reset the
3545 attributes to default values (Bug#10748).
3546
e627be4c
LMI
35472012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3548
3549 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3550 previous patch: Check `message-send-mail-function', and not the
3551 default function (bug#10897).
3552
ebeabff4
MA
35532012-03-04 Michael Albinus <michael.albinus@gmx.de>
3554
a41a6cf4
MA
3555 * notifications.el (notifications-on-action-signal)
3556 (notifications-on-closed-signal): Check for unique service name of
3557 incoming event. Fix error in removing entry.
ebeabff4 3558 (top): Register for signals with wildcard service name.
a41a6cf4 3559 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3560
c1ca42b4
CY
35612012-03-04 Chong Yidong <cyd@gnu.org>
3562
dc9924b8 3563 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3564
ea16568d
GM
35652012-03-04 Glenn Morris <rgm@gnu.org>
3566
3567 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3568 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3569 (expand-abbrev, define-abbrev-table): Doc fixes.
3570
fbae4637
LMI
35712012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3572
3573 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3574 `message-default-send-mail-function' and not `send-mail-function'
3575 when doing the prompting for `sendmail-query-once' before sending
3576 in Message buffers (bug#10897).
3577
a1e7225c
LMI
3578 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3579 This is inconsistent with all the other stream functions, which leave
3580 the setting up to the higher levels (if so wanted) (bug#10931).
3581
56d093a9
AM
35822012-03-02 Alan Mackenzie <acm@muc.de>
3583
3584 Depessimize the handling of very large macros.
3585
3586 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3587 (c-macro-cache-syntactic): New variables to implement a one
3588 element macro cache.
3589 (c-invalidate-macro-cache): New function.
3590 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3591 Adapt to use the new cache.
3592 (c-state-safe-place): Use better the cache of safe positions.
3593 (c-state-semi-nonlit-pos-cache)
3594 (c-state-semi-nonlit-pos-cache-limit):
3595 New variables for...
3596 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3597 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3598 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3599 Use c-state-semi-safe-place.
56d093a9 3600
dbbc2e69
SM
3601 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3602 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3603
817e5c3d
MA
36042012-03-02 Michael Albinus <michael.albinus@gmx.de>
3605
dbbc2e69
SM
3606 * jka-compr.el (jka-compr-call-process):
3607 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3608 not remote.
3609
a032a702
MA
36102012-03-01 Michael Albinus <michael.albinus@gmx.de>
3611
3612 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3613 access of FILE2, if FILE1 does not exist.
3614
99a54f21
MA
3615 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3616 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3617
3618 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3619 Add "PAGER=" to `process-environment'.
3620
f6561e1f
MM
36212012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3622
3623 * progmodes/sql.el: Bug fix
3624 (sql-get-login-ext): Save login values in globals.
3625 (sql-get-login): Use new version of `sql-get-login-ext'.
3626 (sql-interactive-mode): Set global `sql-connection' to nil.
3627 (sql-connect): Set global values for connection.
3628 (sql-product-interactive): Save global values as buffer local.
3629
2d44d9cc
LL
36302012-02-29 Leo Liu <sdl.web@gmail.com>
3631
3632 * abbrev.el (define-abbrevs): Reset sys to nil.
3633
96b49301 36342012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3635
bf7f9bc5
JB
3636 * files.el (file-equal-p): Rename from `files-equal-p'.
3637 Return nil when one or both files don't exist.
96b49301 3638 (file-subdir-of-p): Now only top directory must exists,
3639 return nil if it doesn't.
bf7f9bc5
JB
3640 (copy-directory): No need to test with `file-subdir-of-p' after
3641 creating dir.
3642 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3643 to `file-equal-p'.
96b49301 3644
44e97401
GM
36452012-02-28 Glenn Morris <rgm@gnu.org>
3646
3647 * shell.el (shell-mode):
3648 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3649 * play/landmark.el (landmark-font-lock-face-O):
3650 * play/handwrite.el (handwrite):
3651 * play/gomoku.el (gomoku-O):
3652 * net/browse-url.el (browse-url-browser-display):
3653 * international/mule.el (define-charset):
3654 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3655 * filesets.el (filesets-find-file-delay):
3656 * eshell/em-xtra.el (eshell-xtra):
3657 * eshell/em-unix.el (eshell-grep):
3658 * emulation/viper.el (viper-mode):
3659 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3660 * emacs-lisp/easymenu.el (easy-menu-define):
3661 * calendar/timeclock.el (timeclock-use-display-time):
3662 * bs.el (bs-mode):
3663 * bookmark.el (bookmark-save-flag):
3664 Doc fix (standardize possessive apostrophe usage).
3665
c98c6276
CY
36662012-02-27 Chong Yidong <cyd@gnu.org>
3667
bf7f9bc5
JB
3668 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3669 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3670
c98c6276
CY
3671 * font-lock.el (font-lock-specified-p): Rename from
3672 font-lock-spec-present. Callers changed.
3673
9c62cd04 36742012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3675
bf7f9bc5
JB
3676 * emacs-lisp/package.el (package-compute-transaction):
3677 Handle holding a package version to t in package-load-list.
8ac9e529 3678
530739c9
MA
36792012-02-26 Michael Albinus <michael.albinus@gmx.de>
3680
3681 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3682 (tramp-get-inode, tramp-get-device): Use cached values.
3683
487915d7
AM
36842012-02-26 Alan Mackenzie <acm@muc.de>
3685
3686 Check there is a font-lock specification before doing initial
3687 fontification.
3688
3689 * font-core.el (font-lock-mode): Move the conditional from
3690 :after-hook to font-lock-initial-fontify.
3691 (font-lock-default-function): Move the check for a specification
3692 to font-lock-spec-present.
3693
dc9924b8 3694 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3695 (font-lock-spec-present): New function.
3696
4fd96557
JB
36972012-02-26 Jim Blandy <jimb@red-bean.com>
3698
3699 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3700 (gdb-send): Apply it to the operand of the '-interpreter-exec
3701 console' command, so that we can pass arguments with (say) quotes
3702 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3703
9a4888c0
CY
37042012-02-26 Chong Yidong <cyd@gnu.org>
3705
07498861
CY
3706 * help-fns.el (describe-function-1): Clarify description of
3707 remapping (Bug#10844).
3708
9a4888c0
CY
3709 * files.el (files-equal-p): Doc fix.
3710 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3711 and quit the loop once a mismatch is found.
3712
ea8fb88d
JB
37132012-02-25 Juanma Barranquero <lekktu@gmail.com>
3714
3715 * bs.el (bs--show-with-configuration): Don't throw an error
3716 if the window cannot be split; otherwise, subsequent calls to
3717 bs-show fail, restoring a stale window config. (Bug#10882)
3718
525795c1
JD
37192012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3720
3721 * term/ns-win.el (global-map): Bind ns-drag-file to
3722 ns-find-file (Bug#5855, Bug#10050).
3723
f008086f
AS
37242012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3725
3726 * calendar/parse-time.el (parse-time-string): Allow extractor to
3727 return nil.
3728
a3fcfa99
MA
37292012-02-25 Michael Albinus <michael.albinus@gmx.de>
3730
91027d08
JB
3731 * net/tramp.el (tramp-file-name-for-operation):
3732 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3733
3734 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3735 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3736 Add COPY-CONTENTS argument.
a3fcfa99 3737
67b0de11
CY
37382012-02-25 Chong Yidong <cyd@gnu.org>
3739
3740 Add custom groups for VC backends, for consistency with vc-bzr.
3741
3742 * vc/vc-arch.el (vc-arch):
3743 * vc/vc-cvs.el (vc-cvs):
3744 * vc/vc-git.el (vc-git):
3745 * vc/vc-hg.el (vc-hg):
3746 * vc/vc-mtn.el (vc-mtn):
3747 * vc/vc-rcs.el (vc-rcs):
3748 * vc/vc-sccs.el (vc-sccs):
3749 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3750 All relevant defcustoms reassigned.
3751
3c9dfce6
CY
37522012-02-25 Chong Yidong <cyd@gnu.org>
3753
1339bf43
CY
3754 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3755
3c9dfce6
CY
3756 * term/x-win.el (x-initialize-window-system): Reduce default for
3757 x-selection-timeout to 5 seconds (Bug#8869).
3758
25b2e303 37592012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3760
ec70a47d
GM
3761 * files.el (files-equal-p, file-subdir-of-p): New functions.
3762 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3763 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3764 * dired-aux.el (dired-copy-file-recursive): Same.
3765 (dired-create-files): Modify destination when source is equal to
3766 dest when copying files.
53a46cd0 3767 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3768
914260cd
MA
37692012-02-24 Michael Albinus <michael.albinus@gmx.de>
3770
3771 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3772 (Bug#10874)
3773
2cb228f7
AM
37742012-02-23 Alan Mackenzie <acm@muc.de>
3775
3776 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3777 parameter "after-hook:" to allow the expansion to run code after
3778 the execution of the mode hooks.
3779
3780 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3781 from font-lock-mode-internal.
2cb228f7 3782
91027d08 3783 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3784 :after-hook.
3785
8f0fde21
SM
37862012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3e88618b
SM
3788 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3789 (completion--cache-all-sorted-completions): New function.
3790 (completion-all-sorted-completions): Use it.
3791 (completion--do-completion, minibuffer-force-complete):
3792 Use it to re-instate the flush hook.
3793
8f0fde21
SM
3794 * icomplete.el (icomplete-completions): Replace last fix with a better
3795 one (bug#10850).
3796
8e911f6f
DG
37972012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3798
3799 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3800 when it might call us back infinitely (bug#10797).
3801
49fe4321
GM
38022012-02-23 Glenn Morris <rgm@gnu.org>
3803
3804 * minibuffer.el (completion-category-overrides): Doc fix.
3805
b291b572
SM
38062012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3809 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3810
31a9ef2e
GM
38112012-02-23 Glenn Morris <rgm@gnu.org>
3812
5e6e6794 3813 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3814 (authors-obsolete-files-regexps, authors-ignored-files)
3815 (authors-ambiguous-files, authors-renamed-files-alist):
3816 Add more entries.
3817
0bd1e074
JL
38182012-02-23 Juri Linkov <juri@jurta.org>
3819
3820 * isearch.el (isearch-occur): Sync interactive spec with occur's
3821 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3822
b617673c
JL
3823 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3824
19e9789e
JL
38252012-02-22 Juri Linkov <juri@jurta.org>
3826
3827 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3828 (ucs-insert): Doc fix. Check for hex digits in the string.
3829 Don't display `nil' in the error message. (Bug#10857)
3830
f41ce09d
AM
38312012-02-22 Alan Mackenzie <acm@muc.de>
3832
7a71b18d 3833 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3834
ac2eceee
GM
38352012-02-22 Glenn Morris <rgm@gnu.org>
3836
3837 * ffap.el (ffap-c-path):
3838 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3839
abd1f678
CY
38402012-02-22 Chong Yidong <cyd@gnu.org>
3841
3842 * custom.el (load-theme): Doc fix.
3843
f25aef2e
GM
38442012-02-22 Glenn Morris <rgm@gnu.org>
3845
3846 * dired-x.el (dired-guess-shell-alist-default):
3847 Remove escape sequences from nroff output. (Bug#172)
3848
5f8dc2ca
GM
38492012-02-21 Glenn Morris <rgm@gnu.org>
3850
6ff86ec4
GM
3851 * vc/emerge.el (emerge-defvar-local):
3852 Set `permanent-local' property rather than unused `preserved'.
3853
be3223a3 3854 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3855 (picture-mode-map): Use it. (Bug#10860)
3856 (picture-mode): Doc fix.
3857
3fe58f4f
JB
38582012-02-21 Juanma Barranquero <lekktu@gmail.com>
3859
3860 * newcomment.el (uncomment-region-default): Remove unused binding.
3861
f9a998c3
GM
38622012-02-21 Glenn Morris <rgm@gnu.org>
3863
3864 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3865 (picture-self-insert, picture-tab-chars): Doc fix.
3866 (picture-mode-map): Fix C-a, C-e.
3867
c6029348
GM
38682012-02-20 Glenn Morris <rgm@gnu.org>
3869
3870 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3871
ab1ce9d7
LL
38722012-02-20 Leo Liu <sdl.web@gmail.com>
3873
3874 * icomplete.el (icomplete-completions): Check FROM arg before
3875 passing to substring (Bug#10850).
3876
0fd40f89
CY
38772012-02-19 Chong Yidong <cyd@gnu.org>
3878
3879 * comint.el: Require ansi-color.
3880 (comint-output-filter-functions): Add ansi-color-process-output.
3881
3882 * ansi-color.el: Don't set comint-output-filter-functions; it is
3883 now in the initial value defined in comint.el.
3884 (ansi-color-apply-face-function): New variable.
3885 (ansi-color-apply-on-region): Use it.
3886 (ansi-color-apply-overlay-face): New function.
3887
3888 * shell.el (shell): No need to require ansi-color.
3889 (shell-mode): Use ansi-color-apply-face-function to highlight
3890 color escapes using font-lock-face property (Bug#10835).
3891
20af2394
CY
38922012-02-19 Chong Yidong <cyd@gnu.org>
3893
3894 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3895 mode-line formats (Bug#10839).
3896
e23a3fbe
GM
38972012-02-18 Glenn Morris <rgm@gnu.org>
3898
b474519e
GM
3899 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3900
3901 * mail/undigest.el (unforward-rmail-message): Doc fix.
3902
e23a3fbe
GM
3903 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3904
57939ff4
EZ
39052012-02-18 Eli Zaretskii <eliz@gnu.org>
3906
3907 * international/characters.el (script-list): Sync with the latest
3908 Unicode Character Database.
3909
0c23686e
AS
39102012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3911
3912 * international/titdic-cnv.el: Remove duplicate coding tag.
3913 * language/cham.el: Likewise.
3914 * language/tai-viet.el: Likewise.
3915
6818b449
GM
39162012-02-18 Glenn Morris <rgm@gnu.org>
3917
3918 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3919 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3920 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3921 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3922 * calendar/holidays.el (holiday-bahai-holidays)
3923 (calendar-holidays, list-holidays):
3924 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
3925
0311a3fc
TH
39262012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3927
3928 * saveplace.el (save-place-ignore-files-regexp): New variable
3929 allowing for excluding files from saving their location of point.
3930 The default value matches the temporary commit message editing
3931 files from Git, SVN, Bazaar, and Mercurial.
3932 (save-place-to-alist): Use it.
3933
eb864a71
LM
39342012-02-17 Lawrence Mitchell <wence@gmx.li>
3935 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * newcomment.el (uncomment-region-default): Don't leave extra space
3938 when an arg is provided (bug#8150).
3939
ee0ce425
TZ
39402012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3941
eb864a71 3942 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3943
95ddf442
GM
39442012-02-17 Glenn Morris <rgm@gnu.org>
3945
3946 * net/socks.el: Require network-stream. (Bug#10599)
3947
48dd1e39 39482012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3949
3950 * international/charprop.el:
3951 * international/uni-name.el:
3952 * international/uni-old-name.el:
3953 * international/uni-comment.el: Regenerate.
3954
d68cd087
GM
39552012-02-16 Glenn Morris <rgm@gnu.org>
3956
3957 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3958 Interactively in calendar buffer, give an error if not on a date.
3959
13932042
GM
39602012-02-15 Glenn Morris <rgm@gnu.org>
3961
3962 * shell.el (shell-delimiter-argument-list):
3963 Revert 2011-02-17 change. (Bug#8027)
3964
c3a70e2b
CY
39652012-02-15 Chong Yidong <cyd@gnu.org>
3966
60236b0d
CY
3967 * minibuffer.el (completion-at-point-functions): Doc fix.
3968
c3a70e2b
CY
3969 * custom.el (defcustom): Doc fix; note use of defvar.
3970
9f26dc24
GM
39712012-02-15 Glenn Morris <rgm@gnu.org>
3972
3973 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3974 Doc fixes.
3975
6546b134
GM
39762012-02-14 Glenn Morris <rgm@gnu.org>
3977
3978 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3979
d29b2b4c
LI
39802012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3981
3982 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3983 way the ports list is computed.
835bdcba
LI
3984 (smtpmail-query-smtp-server): Prompt the user for a port number if
3985 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3986
08dcdbc9
TZ
39872012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3988
3989 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3990
2605051a
GM
39912012-02-13 Glenn Morris <rgm@gnu.org>
3992
3993 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3994
7ee99f32
TZ
39952012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3996
3997 * net/gnutls.el (gnutls-trustfiles): New variable.
3998 (gnutls-negotiate): Use it.
3999
5f0af64f
LI
40002012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4001
4002 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4003 does its stuff if Gnus is running.
4004
c14fcc95
AM
40052012-02-13 Alan Mackenzie <acm@muc.de>
4006
4007 Fix a loop in c-set-fl-decl-start.
4008
7a71b18d 4009 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4010 c-backward-syntactic-ws actually moves backwards.
4011
142b4d90
LL
40122012-02-13 Leo Liu <sdl.web@gmail.com>
4013
4014 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4015 beginning so that all \C-o chars are removed.
4016
fa9958a6
TZ
40172012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4018
dc9924b8 4019 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4020
0bc5886a
AM
40212012-02-12 Alan Mackenzie <acm@muc.de>
4022
4023 Fix infinite loop with long macros.
4d6769e1 4024 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4025
d4bd55e7
CY
40262012-02-12 Chong Yidong <cyd@gnu.org>
4027
4028 * window.el (display-buffer): Doc fix (Bug#10785).
4029
66f3fe22
GM
40302012-02-12 Glenn Morris <rgm@gnu.org>
4031
bd7da63e
GM
4032 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4033 (x-disown-selection-internal, x-get-selection-internal):
4034 Sync docs with the xselect.c versions.
4035
66f3fe22
GM
4036 * allout-widgets.el: Add missing license notice.
4037
3e0d2fa7
GM
40382012-02-11 Glenn Morris <rgm@gnu.org>
4039
cfecdf09
GM
4040 * select.el (x-get-selection-internal, x-own-selection-internal)
4041 (x-disown-selection-internal):
4042 * x-dnd.el (x-get-selection-internal): Update declarations.
4043
6d216d7f
GM
4044 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4045
2bed3f04
GM
4046 * window.el (window-sides-slots):
4047 * tool-bar.el (tool-bar-position):
4048 * term/xterm.el (xterm-extra-capabilities):
4049 * ses.el (ses-self-reference-early-detection):
4050 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4051 (verilog-auto-wire-type)
4052 (verilog-auto-delete-trailing-whitespace)
4053 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4054 (verilog-auto-tieoff-declaration):
4055 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4056 (sql-oracle-statement-starters, sql-oracle-scan-on):
4057 * progmodes/prolog.el (prolog-align-comments-flag)
4058 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4059 (prolog-left-indent-regexp, prolog-paren-indent-p)
4060 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4061 (prolog-types, prolog-mode-specificators)
4062 (prolog-determinism-specificators, prolog-directives)
4063 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4064 (prolog-electric-dot-flag)
4065 (prolog-electric-dot-full-predicate-template)
4066 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4067 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4068 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4069 (prolog-program-switches, prolog-prompt-regexp)
4070 (prolog-debug-on-string, prolog-debug-off-string)
4071 (prolog-trace-on-string, prolog-trace-off-string)
4072 (prolog-zip-on-string, prolog-zip-off-string)
4073 (prolog-use-standard-consult-compile-method-flag)
4074 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4075 (prolog-imenu-max-lines, prolog-info-predicate-index)
4076 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4077 (prolog-char-quote-workaround):
4078 * progmodes/cc-vars.el (c-defun-tactic):
4079 * net/tramp.el (tramp-encoding-command-interactive)
4080 (tramp-local-end-of-line):
4081 * net/soap-client.el (soap-client):
4082 * net/netrc.el (netrc-file):
4083 * net/gnutls.el (gnutls):
4084 * minibuffer.el (completion-category-overrides)
4085 (completion-cycle-threshold)
4086 (completion-pcm-complete-word-inserts-delimiters):
4087 * man.el (Man-name-local-regexp):
4088 * mail/feedmail.el (feedmail-display-full-frame):
4089 * international/characters.el (glyphless-char-display-control):
4090 * eshell/em-ls.el (eshell-ls-date-format):
4091 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4092 (lisp-lambda-list-keyword-parameter-indentation)
4093 (lisp-lambda-list-keyword-parameter-alignment):
4094 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4095 * dired-x.el (dired-omit-verbose):
4096 * cus-theme.el (custom-theme-allow-multiple-selections):
4097 * calc/calc.el (calc-highlight-selections-with-faces)
4098 (calc-lu-field-reference, calc-lu-power-reference)
4099 (calc-note-threshold):
4100 * battery.el (battery-mode-line-limit):
4101 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4102 (archive-7z-update):
4103 * allout.el (allout-prefixed-keybindings)
4104 (allout-unprefixed-keybindings)
4105 (allout-inhibit-auto-fill-on-headline)
4106 (allout-flattened-numbering-abbreviation):
4107 * allout-widgets.el (allout-widgets-auto-activation)
4108 (allout-widgets-icons-dark-subdir)
4109 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4110 (allout-widgets-theme-dark-background)
4111 (allout-widgets-theme-light-background)
4112 (allout-widgets-item-image-properties-emacs)
4113 (allout-widgets-item-image-properties-xemacs)
4114 (allout-widgets-run-unit-tests-on-load)
4115 (allout-widgets-time-decoration-activity)
4116 (allout-widgets-hook-error-post-time)
4117 (allout-widgets-track-decoration):
4118 Add missing :version tags to new defcustoms and defgroups.
4119
5fec1b8e
GM
4120 * progmodes/sql.el (sql-ansi-statement-starters)
4121 (sql-oracle-statement-starters): Add custom type.
4122
3e0d2fa7
GM
4123 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4124 (prolog-system-version): Give it a type.
4125
90b671e2
EZ
41262012-02-11 Eli Zaretskii <eliz@gnu.org>
4127
4128 * term/pc-win.el (x-select-text, x-selection-owner-p)
4129 (x-own-selection-internal, x-disown-selection-internal)
4130 (x-get-selection-internal): Sync doc strings and argument lists
4131 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4132
5eac0c02
LL
41332012-02-11 Leo Liu <sdl.web@gmail.com>
4134
4135 * progmodes/python.el (python-end-of-statement): Fix infinite
4136 loop. (Bug#10788)
4137
f82cb659
GM
41382012-02-10 Glenn Morris <rgm@gnu.org>
4139
4140 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4141 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4142
cc26d239
LI
41432012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4144
4145 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4146 about SMTP before checking the From header.
4147
91027d08 4148 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4149 into own function for reuse by emacsbug.el.
4150
1be3ca5a
LL
41512012-02-10 Leo Liu <sdl.web@gmail.com>
4152
4153 * subr.el (condition-case-unless-debug): Rename from
4154 condition-case-no-debug. All callers changed.
4155 (with-demoted-errors): Fix caller.
4156
4157 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4158 * nxml/rng-valid.el (rng-do-some-validation):
4159 * emacs-lisp/package.el (package-refresh-contents)
4160 (package-menu-execute):
4161 * desktop.el (desktop-create-buffer):
91027d08 4162 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4163
b011fbfe
GM
41642012-02-10 Glenn Morris <rgm@gnu.org>
4165
b2096d72
GM
4166 * textmodes/bibtex.el:
4167 Add missing :version tags for new/changed defcustoms.
4168
b011fbfe
GM
4169 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4170
4c7e65bf
LI
41712012-02-09 Lars Ingebrigtsen <larsi@rusty>
4172
4173 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4174 (smtpmail-via-smtp): Use it, or fall back on the From address.
4175 (smtpmail-send-it): Ditto.
4176
f3934f6f
SM
41772012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4180 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4181 (byte-compile-tmp-var): New const.
4182 (byte-compile-defvar): Use it to minimize .elc size.
4183 Just use `defvar' rather than simulate it (bug#10761).
4184
a075a2c5
GM
41852012-02-09 Glenn Morris <rgm@gnu.org>
4186
cf3aa21b
GM
4187 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4188
354998cd
GM
4189 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4190 Add :version tags.
4191
dc9924b8
SM
4192 * progmodes/compile.el (compilation-error-screen-columns)
4193 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4194
dab3703d
GM
4195 * vc/log-view.el (log-view-toggle-entry-display):
4196 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4197
3f88cd72
GM
4198 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4199 (report-emacs-bug-can-use-xdg-email):
4200 (report-emacs-bug-insert-to-mailer): Doc fixes.
4201 (report-emacs-bug): Message fix.
4202
d95b247d
GM
4203 * net/browse-url.el (browse-url-can-use-xdg-open)
4204 (browse-url-xdg-open): Doc fixes.
4205
a075a2c5
GM
4206 * electric.el (electric-indent-mode, electric-pair-mode)
4207 (electric-layout-rules, electric-layout-mode): Doc fixes.
4208 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4209
ffb6157e
MR
42102012-02-08 Martin Rudalics <rudalics@gmx.at>
4211
4212 * server.el (server-unselect-display): Don't inadvertently kill
4213 the current buffer. (Bug#10729)
4214
e1ac4066
GM
42152012-02-08 Glenn Morris <rgm@gnu.org>
4216
34e8a2da
GM
4217 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4218 (sql-list-table): Doc fixes.
4219
b4ac6e8c
GM
4220 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4221 Comment out (does nothing).
4222
e1ac4066
GM
4223 * completion.el (dynamic-completion-mode):
4224 * dirtrack.el (dirtrack-debug-mode):
4225 * electric.el (electric-layout-mode):
4226 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4227 * face-remap.el (text-scale-mode, buffer-face-mode):
4228 * iimage.el (iimage-mode):
4229 * image-mode.el (image-transform-mode):
4230 * minibuffer.el (completion-in-region-mode):
4231 * scroll-lock.el (scroll-lock-mode):
4232 * simple.el (next-error-follow-minor-mode):
4233 * tar-mode.el (tar-subfile-mode):
4234 * tooltip.el (tooltip-mode):
4235 * vcursor.el (vcursor-use-vcursor-map):
4236 * wid-browse.el (widget-minor-mode):
4237 * emulation/tpu-edt.el (tpu-edt-mode):
4238 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4239 * international/iso-ascii.el (iso-ascii-mode):
4240 * language/thai-util.el (thai-word-mode):
4241 * mail/supercite.el (sc-minor-mode):
4242 * net/goto-addr.el (goto-address-mode):
4243 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4244 * progmodes/cwarn.el (cwarn-mode):
4245 * progmodes/flymake.el (flymake-mode):
4246 * progmodes/glasses.el (glasses-mode):
4247 * progmodes/hideshow.el (hs-minor-mode):
4248 * progmodes/pascal.el (pascal-outline-mode):
4249 * textmodes/enriched.el (enriched-mode):
4250 * vc/smerge-mode.el (smerge-mode):
4251 Doc fixes (minor mode argument).
4252
5e0d957f
EZ
42532012-02-07 Eli Zaretskii <eliz@gnu.org>
4254
4255 * ls-lisp.el (ls-lisp-sanitize): New function.
4256 (ls-lisp-insert-directory): Use it to fix or remove any elements
4257 in file-alist with missing attributes. (Bug#4673)
4258
98d7371e
AM
42592012-02-07 Alan Mackenzie <acm@muc.de>
4260
4261 Fix spurious recognition of c-in-knr-argdecl.
4262
4263 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4264 putative K&R region.
4265
667ced3a
AM
42662012-02-07 Alan Mackenzie <acm@muc.de>
4267
eb864a71
LM
4268 * progmodes/cc-engine.el (c-forward-objc-directive):
4269 Prevent looping in "#pragma mark @implementation".
667ced3a 4270
5b77774d
MA
42712012-02-07 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * notifications.el (notifications-on-closed-signal): Make `reason'
4274 optional. (Bug#10744)
4275
af008560
GM
42762012-02-07 Glenn Morris <rgm@gnu.org>
4277
60d47423
GM
4278 * emacs-lisp/easy-mmode.el (define-minor-mode):
4279 Doc fixes for the macro and the mode it defines.
4280
dd605cc4
GM
4281 * image.el (imagemagick-types-inhibit): Doc fix.
4282
af008560
GM
4283 * cus-start.el (imagemagick-render-type): Add it.
4284
5cc59a37
LI
42852012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4286
4d6769e1
JB
4287 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4288 Set the default at load time, too, so that `font-lock-fontify-buffer'
4289 can be called without setting up the entire mode first. This fixes
4290 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4291
9a6dd747
CY
42922012-02-06 Chong Yidong <cyd@gnu.org>
4293
2d16b285
CY
4294 * simple.el (list-processes--refresh): Delete exited processes
4295 (Bug#8094).
4296
171e9b6e
CY
4297 * comint.el (comint-next-prompt): next-single-char-property-change
4298 and prev-single-char-property-change never return nil (Bug#8657).
4299
9a6dd747
CY
4300 * custom.el (defcustom): Doc fix (Bug#9711).
4301
aa4589a7
CY
43022012-02-05 Chong Yidong <cyd@gnu.org>
4303
5c2a252f
CY
4304 * cus-edit.el (custom-variable-reset-backup): Quote the value
4305 before storing it in the customized-value property (Bug#6712).
4aab9006 4306 (custom-display): Add a customization type tag.
983b9602 4307 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4308
aa4589a7
CY
4309 * wid-edit.el (widget-field-value-get): New optional arg to
4310 suppress trailing whitespace truncation.
4311 (character): Use it (Bug#2689).
4312
1ff980ae
AS
43132012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4314
4315 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4316 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4317
03988c98
CY
43182012-02-05 Chong Yidong <cyd@gnu.org>
4319
eeb6cc88
CY
4320 * cus-edit.el (custom-variable-value-create): For mismatched
4321 types, show the current value (Bug#7600).
4322
03988c98
CY
4323 * custom.el (defcustom): Doc fix.
4324
f8cdeef0
GM
43252012-02-05 Glenn Morris <rgm@gnu.org>
4326
4327 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4328
0696d255
JB
43292012-02-05 Juanma Barranquero <lekktu@gmail.com>
4330
4331 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4332 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4333 (pp-last-sexp): Use `looking-at-p'.
4334
34c99998
GM
43352012-02-04 Glenn Morris <rgm@gnu.org>
4336
8f05da42
GM
4337 * files.el (revert-buffer):
4338 Doc fix (mention revert-buffer-in-progress-p).
4339
f160676e
GM
4340 * emacs-lisp/ert-x.el (ert-simulate-command):
4341 Check deferred-action-list (which is obsolete) is bound.
4342
c7291ad9
GM
4343 * subr.el (with-wrapper-hook): Doc fixes.
4344
34c99998
GM
4345 * simple.el (filter-buffer-substring-functions)
4346 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4347
6283a7d3
LL
43482012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4349
4350 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4351 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4352
e96e3013
LL
43532012-02-04 Leo Liu <sdl.web@gmail.com>
4354
4355 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4356
8ded50f2
GM
43572012-02-04 Glenn Morris <rgm@gnu.org>
4358
82ff1d13
GM
4359 * image.el (image-extension-data): Add obsolete alias.
4360
987a0a16
GM
4361 * isearch.el (isearch-update): Doc fix.
4362
ea32ef46
GM
4363 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4364
8ded50f2
GM
4365 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4366
eea14f31
GM
43672012-02-03 Glenn Morris <rgm@gnu.org>
4368
4369 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4370 (image-animate-timeout): Doc fix.
4371
4372 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4373
12f381b7
GM
43742012-02-02 Glenn Morris <rgm@gnu.org>
4375
953cebf5
GM
4376 * server.el (server-auth-dir): Doc fix.
4377 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4378
12f381b7
GM
4379 * subr.el (run-mode-hooks): Doc fix.
4380
953a8c3b
JL
43812012-02-02 Juri Linkov <juri@jurta.org>
4382
4383 * image-mode.el (image-toggle-display-image): Remove tautological
4384 `major-mode' from the `derived-mode-p' test.
4385
c5d3843c
KH
43862012-02-02 Kenichi Handa <handa@m17n.org>
4387
9f6e692e 4388 * composite.el (compose-region): Cancel previous change.
c5d3843c 4389
159462d4 43902012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4391
4392 * composite.el (compose-region, compose-string): Signal error for
4393 a null string component (Bug#6988).
4394
9f562668
CY
43952012-02-01 Chong Yidong <cyd@gnu.org>
4396
e2cef717
CY
4397 * view.el (view-buffer-other-window, view-buffer-other-frame):
4398 Handle special modes like view-buffer (Bug#10650).
4399 (view-buffer): Simplify.
4400
9f562668
CY
4401 * frame.el (set-frame-font): Tweak meaning of third argument.
4402
9f6e692e
JB
4403 * dynamic-setting.el (font-setting-change-default-font):
4404 Use set-frame-font (Bug#9982).
9f562668 4405
781acb9f
GM
44062012-02-01 Glenn Morris <rgm@gnu.org>
4407
6035be52
GM
4408 * progmodes/compile.el (compilation-internal-error-properties):
4409 Respect compilation-first-column in the "*compilation*" buffer.
4410
781acb9f
GM
4411 * emacs-lisp/easy-mmode.el (define-minor-mode):
4412 Relax :variable's test for a named function.
4413
abbceb00
AM
44142012-01-31 Alan Mackenzie <acm@muc.de>
4415
4416 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4417 off by one error.
4418
fce3fdeb
CY
44192012-01-31 Chong Yidong <cyd@gnu.org>
4420
4421 * frame.el (set-frame-font): New arg ALL-FRAMES.
4422
4423 * menu-bar.el (menu-set-font): Use set-frame-font.
4424
4425 * faces.el (face-spec-reset-face): Don't apply unspecified
4426 attribute values to the default face.
4427
47893581
JB
44282012-01-31 Juanma Barranquero <lekktu@gmail.com>
4429
4430 * progmodes/cwarn.el (cwarn): Remove dead link.
4431 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4432 Remove * from defcustom docstrings.
4433 (turn-on-cwarn-mode): Make obsolete.
4434 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4435 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4436
e58e988a
GM
44372012-01-31 Glenn Morris <rgm@gnu.org>
4438
60dc2671 4439 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4440 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4441 Allow named functions to be used as the cdr of :variable.
e58e988a 4442
7a3f511d
GM
44432012-01-30 Glenn Morris <rgm@gnu.org>
4444
4445 * emacs-lisp/authors.el (authors-fixed-entries):
4446 Remove reference to deleted file rnewspost.el.
4447
cb882333
JB
44482012-01-29 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * window.el (window-with-parameter): Remove unused variable `windows'.
4451 (window--side-check): Remove unused variable `code'.
4452 (window--resize-siblings): Remove unused variable `first'.
4453 (adjust-window-trailing-edge): Remove unused variable `failed'.
4454 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4455 Use `let', not `let*'.
4456 (balance-windows-2): Remove unused variable `found'.
4457 (window--state-put-2): Remove unused variable `splits'.
4458 (window-state-put): Remove unused variable `selected'.
4459 (same-window-p): Use `string-match-p'.
4460 (display-buffer-assq-regexp): Remove unused variable `value'.
4461 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4462 Mark argument ALIST as ignored.
4463 (pop-to-buffer): Remove unused variable `old-window'.
4464
907201af
EZ
44652012-01-29 Eli Zaretskii <eliz@gnu.org>
4466
4467 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4468 and .lzma compressed files.
4469
ea162670
CY
44702012-01-29 Chong Yidong <cyd@gnu.org>
4471
5b95ee8a
CY
4472 * frame.el (window-system-default-frame-alist): Doc fix.
4473
ea162670
CY
4474 * dynamic-setting.el (font-setting-change-default-font): Don't
4475 change the default face if SET-FONT argument is non-nil (Bug#9982).
4476
d6e6f4b1
SB
44772012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4478
4479 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4480
0f29fa41 44812012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4482
4483 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4484 breakpoints in files outside current directory (Bug#6098).
4485
db174434
CY
44862012-01-29 Chong Yidong <cyd@gnu.org>
4487
6b25e4e2
SE
4488 * progmodes/python.el: Require ansi-color at top-level.
4489
6df6ae42
JB
4490 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4491 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4492 (lisp-mode-abbrev-table): Add doc.
4493 (lisp-mode-variables): Don't set local-abbrev-table.
4494 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4495
e70ee681
RW
44962012-01-28 Roland Winkler <winkler@gnu.org>
4497
4498 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4499
ace88aa2
RW
45002012-01-28 Roland Winkler <winkler@gnu.org>
4501
4502 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4503 (bibtex-set-dialect): Use it. Either set global values of
4504 dialect-dependent variables or bind these variables buffer-locally
4505 (Bug#10254).
4506 (bibtex-mode): Call bibtex-set-dialect via
4507 hack-local-variables-hook.
eb864a71
LM
4508 (bibtex-dialect): Update docstring.
4509 Add safe-local-variable predicate.
ace88aa2
RW
4510 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4511 bibtex-set-dialect.
4512 (bibtex-mode-map): Define menu for each dialect.
4513 (bibtex-entry): Fix docstring.
4514
93376c5b
CY
45152012-01-28 Chong Yidong <cyd@gnu.org>
4516
4517 * eshell/esh-arg.el (eshell-quote-argument): New function.
4518
4519 * eshell/esh-ext.el (eshell-invoke-batch-file):
4520 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4521 first arg to eshell-parse-command (Bug#10523).
4522
4372494f
DA
45232012-01-28 Drew Adams <drew.adams@oracle.com>
4524
4525 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4526 `default-directory' is non-nil.
4527
4d4ec1f8
EZ
45282012-01-28 Eli Zaretskii <eliz@gnu.org>
4529
4530 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4531 line that displays system-configuration-options. (Bug#9924)
4532
7c188927
DA
45332012-01-28 Drew Adams <drew.adams@oracle.com>
4534
4535 * descr-text.el (describe-char): Show information about POS, in
4536 addition to information about the character at POS. Improve and
4537 update the doc string. Change "code point" to "code point in
4538 charset", to avoid confusion with the character's Unicode code
4539 point shown above that. (Bug#10129)
4540
e0da685a
EZ
45412012-01-28 Eli Zaretskii <eliz@gnu.org>
4542
4543 * descr-text.el (describe-char): Show the raw character, not only
4544 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4545 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4546 for the reasons.
4547
70550acf
PH
45482012-01-28 Phil Hagelberg <phil@hagelb.org>
4549
eb864a71
LM
4550 * emacs-lisp/package.el (package-install):
4551 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4552
0ce8e868
CY
45532012-01-28 Chong Yidong <cyd@gnu.org>
4554
cb882333
JB
4555 * emacs-lisp/package.el (package-maybe-load-descriptor):
4556 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4557 (package-maybe-load-descriptor): Use it.
4558 (package-download-transaction): Fully load required packages
4559 inside the loop, so that `require' calls work (Bug#10593).
4560 (package-install): No need to call package-initialize now.
4561
2e7f3bea
CY
45622012-01-28 Chong Yidong <cyd@gnu.org>
4563
6e9bad14
CY
4564 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4565
f823b8ca
CY
4566 * tooltip.el (tooltip-mode): Doc fix.
4567 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4568
2680c309
CY
4569 * frame.el (set-cursor-color): Doc fix (Bug#352).
4570
d7a9e63b
CY
4571 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4572 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4573
2e7f3bea
CY
4574 * cus-edit.el (custom-buffer-create-internal): Fix search button
4575 action (Bug#10542).
2ae01800 4576 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4577
fc4f7a23
EW
45782012-01-27 Eduard Wiebe <usenet@pusto.de>
4579
4580 * dired.el (dired-mark-files-regexp):
4581 Include any subdirectory components. (Bug#10445)
4582
7dd37071
ML
45832012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4584
4585 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4586 Handle [host]:port syntax. (Bug#10533)
4587
a268160b
AH
45882012-01-27 Alex Harsanyi <harsanyi@mac.com>
4589
4590 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4591
e43273ef
GM
45922012-01-26 Glenn Morris <rgm@gnu.org>
4593
4594 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4595 * term.el (term-raw-escape-map): Use Control-X-prefix.
4596 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4597
1edf595d
MR
45982012-01-25 Martin Rudalics <rudalics@gmx.at>
4599
4600 * window.el (window-state-get, window--state-get-1): Don't deal
4601 with fixed-sizeness of windows. Simplify code.
4602
fa8eafef
JC
46032012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4604
6df6ae42
JB
4605 * window.el (window--state-get-1, window--state-put-2):
4606 Don't save and restore the mark.
fa8eafef 4607
0b21c100
CY
46082012-01-25 Chong Yidong <cyd@gnu.org>
4609
4610 * custom.el (custom-variable-p): Doc fix.
4611
5ae1a6c8
GM
46122012-01-25 Glenn Morris <rgm@gnu.org>
4613
40047858
GM
4614 * dired.el (dired-goto-file): Handle some of the more common
4615 characters that `ls -b' escapes. (Bug#10596)
4616
5ddce96c
GM
4617 * progmodes/compile.el (compilation-next-error-function):
4618 Respect compilation-first-column in the "*compilation*" buffer.
4619 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4620
5ae1a6c8
GM
4621 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4622
b559f1a9
GM
46232012-01-24 Glenn Morris <rgm@gnu.org>
4624
4625 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4626
6725d21a
JD
46272012-01-24 Julien Danjou <julien@danjou.info>
4628
4629 * color.el (color-rgb-to-hsl): Fix value computing.
4630 (color-hue-to-rgb): New function.
4631 (color-hsl-to-rgb): New function.
4632 (color-clamp, color-saturate-hsl, color-saturate-name)
4633 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4634 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4635
70df4bbe
GM
46362012-01-24 Glenn Morris <rgm@gnu.org>
4637
4638 * vc/vc-rcs.el (vc-rcs-create-tag):
4639 * vc/vc-sccs.el (vc-sccs-create-tag):
4640 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4641
802a2ae2
ML
46422012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4643
4644 * eshell/esh-util.el (eshell-read-hosts-file):
4645 Skip comment lines. (Bug#10549)
4646
d7128bb1
ML
4647 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4648
d1a5c3b4
JB
46492012-01-23 Juanma Barranquero <lekktu@gmail.com>
4650
2724d9c7
JB
4651 * subr.el (display-delayed-warnings): Doc fix.
4652 (collapse-delayed-warnings): New function to collapse identical
4653 adjacent warnings.
4654 (delayed-warnings-hook): Add it.
d1a5c3b4 4655
a5509865
MA
46562012-01-22 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4659
4660 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4661 properties, when "login-as" is set.
4662
4663 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4664 (tramp-default-user-alist): Don't add "pscp".
4665 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4666 property "login-as", if set. (Bug#10530)
4667
cc6d5805
MA
46682012-01-21 Michael Albinus <michael.albinus@gmx.de>
4669
4670 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4671 "plink1" and "psftp". (Bug#10530)
4672
46732012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4674
4675 * international/mule-cmds.el (prefer-coding-system): Show a
4676 warning message if the default value of file-name-coding-system
4677 was not changed.
4678
f0960428
JC
46792012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4680
cb882333
JB
4681 * windmove.el (windmove-reference-loc):
4682 Fix windmove-reference-loc miscalculation.
f0960428 4683
dd6f2a63
JB
46842012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4685
4686 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4687 default unit.
4688
7b447e9b
GM
46892012-01-21 Glenn Morris <rgm@gnu.org>
4690
117a9ea1
GM
4691 * international/mule.el (auto-coding-alist): Add .tbz.
4692
7b447e9b
GM
4693 * files.el (local-enable-local-variables): Doc fix.
4694 (inhibit-local-variables-regexps): Rename from
4695 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4696 Doc fix. Add some extensions from auto-coding-alist.
4697 (inhibit-local-variables-suffixes):
4698 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4699 (inhibit-local-variables-p):
4700 New function, extracted from set-auto-mode-1.
4701 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4702 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4703 (hack-local-variables): Doc fix. Make the mode-only case
4704 respect enable-local-variables and friends.
4705 Respect inhibit-local-variables-regexps for file-locals, but
4706 not for directory-locals.
4707 (set-visited-file-name):
4708 Take account of inhibit-local-variables-regexps.
4709 Whether it applies may change as the file name is changed.
4710 * jka-cmpr-hook.el (jka-compr-install):
4711 * jka-compr.el (jka-compr-uninstall):
4712 Update for inhibit-first-line-modes-suffixes name change.
4713
dd6e3cdd
MR
47142012-01-20 Martin Rudalics <rudalics@gmx.at>
4715
4716 * help-macro.el (make-help-screen): Temporarily restore original
4717 binding for minor-mode-map-alist (Bug#10454).
4718
0d0deb38
JD
47192012-01-19 Julien Danjou <julien@danjou.info>
4720
4721 * color.el (color-name-to-rgb): Use the white color to find the max
4722 color component value and return correctly computed values.
4723 (color-name-to-rgb): Add missing float conversion for max value.
4724
34a02f46
MR
47252012-01-19 Martin Rudalics <rudalics@gmx.at>
4726
4727 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4728 special state value for window-persistent-parameters.
4729 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4730 (window--state-put-2): Reset all window parameters to nil before
4731 assigning values of persistent parameters.
4732
606c44c4
AM
47332012-01-18 Alan Mackenzie <acm@muc.de>
4734
4735 Eliminate sluggishness and hangs in fontification of "semicolon
4736 deserts".
4737
cb882333
JB
4738 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4739 Change value 10000 -> 3000.
606c44c4
AM
4740 (c-state-safe-place): Reformulate so it doesn't stack up an
4741 infinite number of wrong entries in c-state-nonlit-pos-cache.
4742 (c-determine-limit-get-base, c-determine-limit): New functions to
4743 determine backward search limits disregarding literals.
4744 (c-find-decl-spots): Amend commenting.
4745 (c-cheap-inside-bracelist-p): New function which detects "={".
4746
4747 * progmodes/cc-fonts.el
4748 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4749 backward search.
4750 (c-font-lock-declarations): Fix an occurrence of point being
4751 undefined. Check additionally for point being in a bracelist or
4752 near a macro invocation without a semicolon so as to avoid a
4753 fruitless time consuming search for a declarator. Give a more
4754 precise search limit for declarators using the new
4755 c-determine-limit.
4756
f3860cea
GM
47572012-01-18 Glenn Morris <rgm@gnu.org>
4758
4759 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4760 (set-auto-mode): Doc fixes.
4761
1db03b16
GM
47622012-01-17 Glenn Morris <rgm@gnu.org>
4763
0e6038be
GM
4764 * isearch.el (search-nonincremental-instead): Fix doc typo.
4765
1db03b16
GM
4766 * dired.el (dired-insert-directory): Handle newlines in directory name.
4767 (dired-build-subdir-alist): Unescape newlines in directory name.
4768
4cb0aa75
MA
47692012-01-17 Michael Albinus <michael.albinus@gmx.de>
4770
4771 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4772 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4773 (tramp-action-terminal): Use it. (Bug#10530)
4774
1d00653d
SM
47752012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4778
6a6ee00d
MR
47792012-01-16 Martin Rudalics <rudalics@gmx.at>
4780
4781 * window.el (window-state-ignored-parameters): Remove variable.
4782 (window--state-get-1): Rename argument MARKERS to IGNORE.
4783 Handle persistent window parameters. Make copy of clone-of
4784 parameter only if requested. (Bug#10348)
4785 (window--state-put-2): Install a window parameter only if it has
4786 a non-nil value or an existing parameter shall be overwritten.
4787
97912def
MA
47882012-01-15 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4791
688070a5
EZ
47922012-01-14 Eli Zaretskii <eliz@gnu.org>
4793
4794 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4795 don't pass the (nil) value of `upnode' to string-match.
4796
301afadc
CY
47972012-01-14 Chong Yidong <cyd@gnu.org>
4798
4799 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4800 Fix values recognized by the cursorBlink resource.
301afadc 4801
9e5788aa
PE
48022012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4803
4804 * epg.el (epg--make-temp-file): Avoid permission race condition
4805 when running on old Emacs versions (bug#10403).
4806
3cdb7f5a
GM
48072012-01-14 Glenn Morris <rgm@gnu.org>
4808
4809 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4810
8c82b1b4
AM
48112012-01-13 Alan Mackenzie <acm@muc.de>
4812
4813 Fix filling for when filladapt mode is enabled.
4814
4815 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4816 c-mask-paragraph, pass in `fill-paragraph' rather than
4817 `fill-region-as-paragraph'. (This is a reversion of a previous
4818 change.)
eb864a71
LM
4819 * progmodes/cc-mode.el (c-basic-common-init):
4820 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4821
e517eda4
GM
48222012-01-13 Glenn Morris <rgm@gnu.org>
4823
1498536e
GM
4824 * dired.el (dired-switches-escape-p): New function.
4825 (dired-insert-directory): Use dired-switches-escape-p.
4826 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4827
e517eda4
GM
4828 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4829
328f984d
GM
48302012-01-12 Glenn Morris <rgm@gnu.org>
4831
4832 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4833 changes in adaptive-fill-regexp. (Bug#10276)
4834
2cc769a8
AM
48352012-01-11 Alan Mackenzie <acm@muc.de>
4836
4837 Fix Emacs bug #10463 - put `widen's around the critical spots.
4838
1d00653d 4839 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4840 widen around each invocation of c-state-pp-to-literal. Remove an
4841 unused let variable.
4842
e52c37fa
GM
48432012-01-11 Glenn Morris <rgm@gnu.org>
4844
4845 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4846 Doc fix.
e52c37fa 4847
96f8741e
CY
48482012-01-10 Chong Yidong <cyd@gnu.org>
4849
1d00653d
SM
4850 * net/network-stream.el (network-stream-open-starttls):
4851 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4852 response to the capability command.
4853
b09a806e
GM
48542012-01-10 Glenn Morris <rgm@gnu.org>
4855
4856 * mail/unrmail.el (unrmail): Tweak previous change.
4857
7655cb66
CY
48582012-01-09 Chong Yidong <cyd@gnu.org>
4859
4860 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4861
9d5a8f0b
AM
48622012-01-08 Alan Mackenzie <acm@muc.de>
4863
4864 Optimise font locking in long enum definitions.
4865
4866 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4867 arm to a cond form to handle enums.
4868 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4869 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4870
9a0115ab 48712012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4872
4873 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4874 (Bug#10401)
6bb72cbd 4875
f186bb95
LMI
48762012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4877
29232a68
LMI
4878 * faces.el (set-face-attribute): Clarify the meaning of the nil
4879 frame (bug#10294).
4880
4e5d086d
LMI
4881 * subr.el (with-selected-frame): Mention that the selected frame
4882 is restored (bug#9980).
4883
8e66aebe
LMI
4884 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4885 (bug#9759).
4886
cd394be1 4887 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4888 (password-read): Don't autoload unused function.
4889
adf4e762
JB
48902012-01-07 Juanma Barranquero <lekktu@gmail.com>
4891
4892 * progmodes/which-func.el (which-func-mode): Turn into a
4893 non-interactive function and mark as obsolete (bug#10428).
4894
89bd9ccd
CY
48952012-01-06 Chong Yidong <cyd@gnu.org>
4896
4897 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4898 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4899 functions, along with 1 and -1.
4900
4afee9d5
EZ
49012012-01-06 Eli Zaretskii <eliz@gnu.org>
4902
4903 * time.el (display-time-load-average)
4904 (display-time-default-load-average): Doc fixes. See the thread
4905 starting at
4906 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4907 for the details.
4908
536aea70
GM
49092012-01-06 Glenn Morris <rgm@gnu.org>
4910
665ae865
GM
4911 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4912 has no messages. (Bug#10377)
4913
c869783d
GM
4914 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4915 than Info-edit. (Bug#10385)
4916
2bb4227e
GM
4917 * time.el (display-time-load-average, display-time-next-load-average):
4918 Doc fixes.
4919
7d5944b9
GM
4920 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4921 local setting of buffer-read-only to the input buffer. (Bug#10419)
4922
536aea70
GM
4923 * calendar/calendar.el (calendar-mode):
4924 Locally set scroll-margin to 0. (Bug#10379)
4925
7dccca16
UM
49262012-01-06 Ulrich Mueller <ulm@gentoo.org>
4927
4928 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4929
afbb7930
GM
49302012-01-05 Glenn Morris <rgm@gnu.org>
4931
4932 * eshell/em-unix.el (diff-no-select): Autoload it.
4933 (eshell/diff): Use diff-no-select. (Bug#10420)
4934
04482335
CY
49352012-01-05 Chong Yidong <cyd@gnu.org>
4936
7baca3bc
CY
4937 * shell.el (shell-dynamic-complete-functions): Revert last change.
4938 (shell-command-completion-function): New function.
4939 (shell-completion-vars): Use it to implement
4940 shell-completion-execonly (Bug#10417).
4941
04482335
CY
4942 * custom.el (enable-theme): Don't set custom-safe-themes.
4943
1d00653d
SM
4944 * cus-theme.el (custom-theme-merge-theme):
4945 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4946
bb5aa5d6
MM
49472012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4948
4949 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4950 first prompt in `sql-interacive-mode'.
4951 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4952 keywords.
6df6ae42 4953 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4954 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4955 context of original buffer. Invoke `sql-login-hook'.
4956
a7183d7c
EZ
49572012-01-04 Eli Zaretskii <eliz@gnu.org>
4958
4959 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4960 letters in cite-prefix.
4961
a1eacd1e
LMI
49622012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
4964 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4965
787cdb34
CY
49662012-01-03 Chong Yidong <cyd@gnu.org>
4967
1d00653d
SM
4968 * shell.el (shell-dynamic-complete-functions):
4969 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4970 comint-filename-completion first (Bug#10417).
4971
30710442
RS
49722012-01-02 Richard Stallman <rms@gnu.org>
4973
4974 * battery.el (battery-status-function):
4975 Detect when to use battery-yeeloong-sysfs.
4976 (battery-echo-area-format): Add string for Yeeloong.
4977 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4978 (battery-yeeloong-sysfs): New function.
4979
f75bfc33
CY
49802012-01-02 Chong Yidong <cyd@gnu.org>
4981
4982 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4983 (dirtrack): Merge code for handling relative filenames in prompt
4984 from shell-dir-cookie-watcher.
4985 (dirtrack-debug-message): New arg to avoid excess format calls.
4986
4987 * shell.el (shell-dir-cookie-re): Variable deleted.
4988 (shell-dir-cookie-watcher): Function deleted.
4989 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4990 with dirtrack-mode.
4991
651e947e
EZ
49922012-01-01 Eli Zaretskii <eliz@gnu.org>
4993
1d00653d
SM
4994 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4995 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4996 libgnutls-26.dll.
4997
94d4c7dc
AS
49982011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4999
5000 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5001
8d43f3cd
EZ
50022011-12-31 Eli Zaretskii <eliz@gnu.org>
5003
5004 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5005 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5006
98c8795a
MA
50072011-12-29 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5010 also for alternative shells.
5011 (tramp-open-connection-setup-interactive-shell): Check, whether
5012 the shell is a busybox.
5013 (tramp-send-command): Don't suppress multiple prompts for
5014 busyboxes, it hurts.
5015
51281b32
CY
50162011-12-28 Chong Yidong <cyd@gnu.org>
5017
5018 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5019 (gdb-get-source-file): Move mode line update to
5020 gdb-get-source-file (Bug#10087).
5021
2170cb53
CY
50222011-12-25 Chong Yidong <cyd@gnu.org>
5023
5024 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5025 gud-gdb-marker-filter without taking it as an argument.
5026 (gud-gdb-run-command-fetch-lines): Caller changed.
5027 (gud-gdb-completion-function): New variable.
5028 (gud-gdb-completion-at-point): Use it.
5029 (gud-gdb-completions-1): Split from gud-gdb-completions.
5030
5031 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5032 function as separate arguments.
5033 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5034 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5035 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5036 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5037 (gdb-stopped, def-gdb-auto-update-trigger)
5038 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5039 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5040 Callers changed.
2170cb53
CY
5041 (gud-gdbmi-completions): New function.
5042 (gdb): Use it for generating the completion table.
5043
be8b11bb
AM
50442011-12-24 Alan Mackenzie <acm@muc.de>
5045
5046 Introduce a mechanism to widen the region used in context font
1d00653d 5047 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5048
1d00653d
SM
5049 * progmodes/cc-langs.el (c-before-font-lock-functions):
5050 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5051 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5052 functions to be run just before context (etc.) font locking.
5053
5054 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5055 New, functionality extracted from
be8b11bb 5056 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5057 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5058 (c-after-change): Set c-in-after-change-fontification.
5059 (c-set-fl-decl-start): Rejig its interface, so it can be called
5060 from both after-change and context fontifying.
b81d40f0
JB
5061 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5062 New functions.
5063 (c-standard-font-lock-fontify-region-function): New variable.
5064 (c-font-lock-fontify-region): New function.
be8b11bb 5065
341cf6ac
JL
50662011-12-24 Juri Linkov <juri@jurta.org>
5067
5068 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5069 (Bug#10348)
5070
bffcee0a
MA
50712011-12-23 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5074 existence of source file. (Bug#10325)
5075
cb5e207c
AM
50762011-12-23 Alan Mackenzie <acm@muc.de>
5077
5078 Fix unstable fontification inside templates.
5079
b81d40f0
JB
5080 * progmodes/cc-langs.el (c-before-font-lock-functions):
5081 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5082 additionally has c-set-fl-decl-start. The other languages (apart
5083 from AWK) have that as a single entry.
5084
b81d40f0
JB
5085 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5086 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5087 c-set-fl-decl-start.
5088
b81d40f0
JB
5089 * progmodes/cc-mode.el (c-common-init, c-after-change):
5090 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5091 (c-set-fl-decl-start): New function, extracted from
5092 c-font-lock-enclosing-decls and enhanced.
5093
60ff536c
JB
50942011-12-23 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5097
1c4757d6
JL
50982011-12-22 Juri Linkov <juri@jurta.org>
5099
5100 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5101
d031f2c7
CY
51022011-12-22 Chong Yidong <cyd@gnu.org>
5103
5104 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5105
bace743a
DA
51062011-12-21 Drew Adams <drew.adams@oracle.com>
5107
5108 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5109
728a1f2b
JC
51102011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5111
5112 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5113
0d373f73
TZ
51142011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5115
fec0aaa4
TZ
5116 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5117 highlighting and support. Fix up comments for capitalization.
5118 (cfengine-mode-debug): New var.
5119 (cfengine3-mode): Change the modeline indicator to "CFE3".
5120 (cfengine3-font-lock-keywords): Improve defun highlighting.
5121 (cfengine2-actions): Rename from `cfengine-actions'.
5122 (cfengine2-font-lock-keywords): Rename from
5123 `cfengine-font-lock-keywords'.
5124 (cfengine2-imenu-expression): Rename from
5125 `cfengine-imenu-expression'.
5126 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5127 (cfengine2-beginning-of-defun): Rename from
5128 `cfengine-beginning-of-defun'.
5129 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5130 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5131 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5132 modeline indicator to "CFE2".
5133 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5134 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5135
bc86f573
CY
51362011-12-21 Chong Yidong <cyd@gnu.org>
5137
5138 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5139 filename argument.
5140
d45ba96b
MR
51412011-12-20 Martin Rudalics <rudalics@gmx.at>
5142
5143 * window.el (window-normalize-buffer-to-display): Remove.
5144 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5145
a6198c90
CY
51462011-12-19 Chong Yidong <cyd@gnu.org>
5147
5148 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5149 Don't signal an error in a predicate function; return non-nil.
5150 (vc-dir-mark-file): Move the error here.
5151 (vc-dir-mark-unmark): If acting on the region, keep going if one
5152 of the entries cannot be marked/unmarked.
5153 (vc-dir-mark-all-files): If current entry is a directory, mark
5154 only child files, as documented.
5155
34c5fb55
VB
51562011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5157
5158 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5159 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5160 addition.
5161
c803b2b7
JD
51622011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5163
5164 * term/ns-win.el (ns-get-selection-internal)
5165 (ns-store-selection-internal): Declare.
1154d12e
JB
5166 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5167 Declare as obsolete.
5168 (ns-get-pasteboard, ns-paste-secondary):
5169 Use ns-get-selection-internal.
5170 (ns-set-pasteboard, ns-copy-including-secondary):
5171 Use ns-store-selection-internal.
c803b2b7 5172
9cff91f8 51732011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5174
5175 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5176 (vc-deduce-fileset): Doc fix.
99a289d9 5177
f16c898a
AS
51782011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5179
5180 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5181
763237c4
SS
51822011-12-13 Sam Steingold <sds@gnu.org>
5183
5184 * man.el (Man-getpage-in-background): When running under a
5185 window-system, ignore $MANWIDTH and $COLUMNS.
5186
5fc1c122
KH
51872011-12-15 Kenichi Handa <handa@m17n.org>
5188
5189 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5190 (setup-ethiopic-environment-internal): Comment out key-binding for
5191 ethio-toggle-punctuation.
5192
13d49cbb
AM
51932011-12-13 Alan Mackenzie <acm@muc.de>
5194
898169a2
AM
5195 Add the switch statement to AWK Mode.
5196
7a71b18d 5197 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5198 "default" to the keywords regexp.
5199
7a71b18d 5200 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5201 expression as the rest.
1d00653d
SM
5202 (c-nonlabel-token-key): Allow string literals for AWK.
5203 Refactor for the other modes.
898169a2 5204
13d49cbb 5205 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5206 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5207 routines. Limit backward searching in c-font-lock-enclosing.decl.
5208
5209 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5210 pp-state and literal type in addition to the limits.
1d00653d 5211 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5212 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5213 (c-slow-in-literal, c-fast-in-literal): Remove.
5214 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5215
5216 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5217 being in a literal. Add a limit for backward searching.
5218
5219 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5220 c-slow-in-literal.
5221
15e0efc7
SM
52222011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5225
454592a6
MR
52262011-12-13 Martin Rudalics <rudalics@gmx.at>
5227
5228 * window.el (delete-other-windows): Use correct frame in call to
5229 window-with-parameter.
5230
87393f26
DP
52312011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5232
5233 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5234 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5235 (makefile-gmake-statements, makefile-makepp-statements):
5236 Use it and add new makepp keywords.
5237 (makefile-makepp-font-lock-keywords): Add new patterns.
5238 (makefile-match-function-end): Match new [...] and [[...]].
5239
11636b22
JB
52402011-12-11 Juanma Barranquero <lekktu@gmail.com>
5241
5242 * ses.el (ses-call-printer-return, ses-cell-property-get)
5243 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5244 (ses-create-cell-variable, ses-reset-header-string)
5245 (ses-cell-set-formula, ses-repair-cell-reference-all)
5246 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5247 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5248 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5249 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5250 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5251 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5252 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5253 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5254 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5255 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5256 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5257 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5258
cf018193
VB
52592011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5260
5261 * ses.el: The overall change is to add cell renaming, that is
5262 setting fancy names for cell symbols other than name matching
5263 "\\`[A-Z]+[0-9]+\\'" regexp .
5264 (ses-create-cell-variable): New defun.
5265 (ses-relocate-formula): Relocate formulas only for cells the
5266 symbols of which are not renamed, i.e. symbols whose names do not
5267 match regexp "\\`[A-Z]+[0-9]+\\'".
5268 (ses-relocate-all): Relocate values only for cells the symbols of
5269 which are not renamed.
5270 (ses-load): Create cells variables as the (ses-cell ...) are read,
5271 in order to check row col consistency with cell symbol name only
5272 for cells that are not renamed.
5273 (ses-replace-name-in-formula): New defun.
5274 (ses-rename-cell): New defun.
5275
ee957461
CY
52762011-12-11 Chong Yidong <cyd@gnu.org>
5277
5278 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5279 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5280
9a9e9ef0
MR
52812011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5282
5283 * window.el (other-window): Fix docstring.
5284
92a8eba5
EZ
52852011-12-10 Eli Zaretskii <eliz@gnu.org>
5286
5287 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5288 `from' or `to' address before taking its substring.
5289 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5290 encoded name is chopped in the middle of the encoded string, and
5291 thus displayed encoded.
5292
e152e577
JB
52932011-12-10 Juanma Barranquero <lekktu@gmail.com>
5294
5295 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5296
e5d84bfe
EZ
52972011-12-10 Eli Zaretskii <eliz@gnu.org>
5298
5299 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5300 to use texinfo-update-node and commands that call it if the
5301 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5302 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5303 (texinfo-all-menus-update, texinfo-master-menu)
5304 (texinfo-update-node, texinfo-every-node-update)
5305 (texinfo-multiple-files-update): Doc fix. Warn against updating
5306 all the @node lines.
5307 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5308 argument is numeric. Explain better in the doc string what the
5309 function really does.
5310 (texinfo-insert-master-menu-list): Improve the error message
5311 displayed if there's no menu in the Top node.
5312 (Bug#2975) See also this thread:
e5d84bfe
EZ
5313 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5314
1d84e9bb
MG
53152011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5316
5317 * speedbar.el (speedbar-supported-extension-expressions):
5318 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5319
382c953b
JB
53202011-12-09 Juanma Barranquero <lekktu@gmail.com>
5321
5322 * printing.el (pr-mode-alist):
5323 * simple.el (filter-buffer-substring-functions)
5324 (completion-list-insert-choice-function):
5325 * window.el (window-with-parameter, window-atom-root)
5326 (window-sides-slots, window-size-fixed, window-min-delta)
5327 (window-max-delta, window--resize-mini-window)
5328 (window--resize-child-windows-normal, window-tree)
5329 (delete-other-windows, quit-window, split-window)
5330 (display-buffer-record-window, special-display-buffer-names)
5331 (special-display-regexps, special-display-popup-frame)
5332 (same-window-p, split-window-sensibly)
5333 (display-buffer-overriding-action, display-buffer-alist)
5334 (display-buffer-base-action, display-buffer, switch-to-buffer)
5335 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5336 (fit-window-to-buffer, recenter-positions)
5337 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5338 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5339 and remove unneeded backslashes in docstrings.
5340
39c9faef
SM
53412011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5342
98449af8
SM
5343 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5344
39c9faef
SM
5345 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5346 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5347 end in ".mk".
5348 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5349 when reading the makefile (bug#10116).
5350
86ed9fdc
SM
53512011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5354 (bug#10116).
5355
5580f89d
GM
53562011-12-06 Glenn Morris <rgm@gnu.org>
5357
5358 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5359
28d3917c
CY
53602011-12-06 Chong Yidong <cyd@gnu.org>
5361
5362 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5363
a98edce9
JB
53642011-12-06 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * textmodes/table.el (table-shorten-cell): Fix typo.
5367
e65adfac
CG
53682011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5369
5370 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5371
71cc0b74
EZ
53722011-12-05 Eli Zaretskii <eliz@gnu.org>
5373
5374 * descr-text.el (describe-char): Fix display of strong
5375 right-to-left characters and directional embeddings and overrides.
5376
5377 * simple.el (what-cursor-position): Fix display of codepoints of
5378 strong right-to-left characters.
5379
315bc30d
CY
53802011-12-05 Chong Yidong <cyd@gnu.org>
5381
5382 * faces.el (read-color): Doc fix.
5383
58a70b94
GM
53842011-12-05 Glenn Morris <rgm@gnu.org>
5385
5386 * align.el (align--set-marker): Add doc-string.
5387 Don't try to move something that is not a marker. (Bug#10216)
5388
5158face
GM
53892011-12-04 Glenn Morris <rgm@gnu.org>
5390
5391 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5392 overly zealous deletion of trailing whitespace.
5393
520fca41
JB
53942011-12-04 Juanma Barranquero <lekktu@gmail.com>
5395
5396 * server.el (server-delete-client): On Windows, do not try to delete
5397 the only terminal.
5398 (server-process-filter): On Windows, treat requests for a tty frame as
5399 if they were for a GUI frame if the running server is in GUI mode.
5400
5e605a2e
GM
54012011-12-03 Glenn Morris <rgm@gnu.org>
5402
5403 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5404
5c3fe83f
SM
54052011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5406
6f5e57e7
SM
5407 * electric.el: Streamline electric-indent's hook.
5408 (electric-indent-chars): Revert to simple list.
5409 (electric-indent-functions): New var.
5410 (electric-indent-post-self-insert-function): Use it.
5411
5c3fe83f
SM
5412 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5413 there's no inferior buffer (bug#10196).
5414 (prolog-consult-compile): Don't use toggle-read-only.
5415
6bdac736
MA
54162011-12-02 Michael Albinus <michael.albinus@gmx.de>
5417
5418 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5419 interrupt. (Bug#10187)
5420
6131ba7f
SM
54212011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5422
99c79fee
SM
5423 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5424 (bug#9160).
5425
6131ba7f
SM
5426 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5427 (bug#10191).
5428
cb0a02ea
JL
54292011-12-02 Juri Linkov <juri@jurta.org>
5430
5431 * info.el (Info-search): Display "end of manual" when Isearch
5432 reaches the end of single-file Info manual. (Bug#9918)
5433
66e0570c
EZ
54342011-12-02 Eli Zaretskii <eliz@gnu.org>
5435
5436 * isearch.el (isearch-message-prefix): Run the input method part
5437 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5438
02b16839
JL
54392011-12-02 Juri Linkov <juri@jurta.org>
5440
5441 * isearch.el (isearch-occur): Use `word-search-regexp' for
5442 `isearch-word'.
5443 (isearch-search-and-update): Add condition for `isearch-word' and
5444 call `word-search-regexp'. (Bug#10145)
5445
0b950688
GM
54462011-12-01 Glenn Morris <rgm@gnu.org>
5447
5448 * eshell/em-hist.el (eshell-hist-initialize):
5449 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5450 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5451
9505c3c7
SM
54522011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5455
1bbe96b2 54562011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5457
a1beca85
SM
5458 * progmodes/verilog-mode.el (verilog-pretty-expr):
5459 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5460 verilog, such as += *= and the like.
5461 (verilog-assignment-operator-re): Regular expression to find the
5462 assigment operator in a verilog assignment.
5463 (verilog-assignment-operation-re): Regular expression to find an
5464 assignment statement for pretty-expr.
5465 (verilog-in-attribute-p): Query returns true if point is in an
5466 attribute context; used to skip these for expression line up from
5467 pretty-expr.
5468 (verilog-in-parameter-p): Query returns true if point is in an
5469 parameter definition context; used to skip these for expression
5470 line up from pretty-expr.
5471 (verilog-in-parenthesis-p): Query returns true if point is in a
5472 parenthetical expression, specifically ( ) but not [ ] or { };
5473 used by pretty-expr.
5474 (verilog-just-one-space): If there is no space, don't add one.
5475 (verilog-get-lineup-indent-2): Specifically skip just attribute
5476 contexts for expression lineup, rather than skipping all
5477 parenthetical expressions.
5478 (verilog-calculate-indent): Fix comment, and fix indent.
5479 (verilog-do-indent): Indent declarations in lists (suggested by
5480 Joachim Lechner).
5481 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5482 skeleton items.
5483 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5484 by Alain Mellan).
5485
1bbe96b2 54862011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5487
5488 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5489 parameters with embedded comments. Reported by Ray Stevens.
5490 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5491 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5492 Reported by Tim Holt.
5493 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5494 instantiated by upper module causing wrong expansion until AUTOed a
5495 second time. Reported by K C Buckenmaier.
5496 (verilog-diff-auto): Fix showing .* as a difference when
5497 `verilog-auto-star-save' off. Reported by Dan Dever.
5498 (verilog-auto-reset, verilog-read-always-signals)
5499 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5500 temporary signals in reset list if
5501 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5502 style to each signal's assignment type, bug381.
5503 Reported by Thomas Esposito.
6288f0ca
WS
5504 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5505 (verilog-uvm-statement-re): Support UVM indentation and
5506 highlighting, with old OVM keywords only.
a1beca85 5507 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5508 Support AUTOTIEOFF creating non-wire data types.
5509 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5510 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5511 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5512 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5513 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5514 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5515 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5516 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5517 non-numeric vector width. Reported by Alex Reed.
5518 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5519 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5520 (verilog-auto-delete-trailing-whitespace):
5521 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5522 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5523 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5524 Fix verilog-scan-cache corruption when running user AUTO expansion
5525 hooks that call indentation routines.
5526 (verilog-simplify-range-expression): Fix typo ignoring lower case
5527 identifiers.
5528 (verilog-delete-auto): Fix delete-autos to also remove user created
5529 automatics, as long as they start with AUTO.
5530 (verilog-batch-diff-auto, verilog-diff-auto)
5531 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5532 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5533 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5534 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5535 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5536 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5537 is disabled and its cache will get corrupt, causing AUTOS not to
5538 expand. Instead use only -quick functions.
5539 (verilog-scan-region): Fix scanning over escaped quotes.
5540 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5541 (verilog-re-search-backward-quick)
5542 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5543 related functions now ignore strings, to fix misparsing of strings
5544 with magic comments embedded in them.
a1beca85
SM
5545 (verilog-read-auto-template):
5546 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5547 Reported by Brad Dobbie.
5548 (verilog-read-auto-template):
5549 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5550 Reported by Brad Dobbie.
6288f0ca
WS
5551 (verilog-auto-inst, verilog-auto-inst-param)
5552 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5553 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5554 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5555 debugging templates without merge conflicts, bug357.
5556 Reported by Brad Dobbie.
5557 (verilog-read-auto-template):
5558 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5559 Reported by Brad Dobbie.
5560 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5561 abbrevs so user won't be asked to save.
5562 (verilog-read-auto-lisp-present): Fix to start at beginning of
5563 buffer in case called outside of verilog-auto.
5564 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5565 to "X-2". Reported by Matthew Myers.
5566 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5567 all inputs from module templates. Reported by Leith Johnson.
5568 (verilog-module-inside-filename-p): Fix locating programs as with
5569 modules.
5570 (verilog-auto-inst-port): Fix vl-width expressions when using
5571 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5572 (verilog-decls-get-regs, verilog-decls-get-signals,
5573 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5574 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5575 verilog-read-decls): Combine reg and wire structures into one var
5576 structure to represent SystemVerilog concepts.
5577 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5578 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5579 (verilog-auto-wire-type, verilog-insert-definition):
5580 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5581 SystemVerilog "logic" keyword instead of "wire"/"reg".
5582 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5583 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5584 ifdef or generate if so there's not a driver conflict).
5585 Reported by Matthew Myers.
5586 (verilog-auto-declare-nettype, verilog-insert-definition):
5587 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5588 `default_nettype none. Reported by Julian Gorfajn.
5589 (verilog-read-always-signals-recurse, verilog-read-decls)
5590 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5591 malformed end statement, bug325. Reported by Joshua Wise and
5592 Andrew Drake.
5593 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5594 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5595 when expanding .* in interfaces, bug320.
5596 Reported by Pierre-David Pfister.
6288f0ca 5597 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5598 name and open parenthesis, bug317.
5599 Reported by Pierre-David Pfister.
6288f0ca
WS
5600 (verilog-simplify-range-expression): Fix simplification of
5601 multiplications inside AUTOWIRE connections, bug303.
5602 (verilog-auto-inst-port): Support parameter expansion in
5603 multidimensional arrays.
5604 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5605 after "assert property". Reported by Julian Gorfajn.
5606 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5607 with multiplication, bug303.
5608 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5609 Reported by Jan Frode Lonnum.
5610
1bbe96b2
GM
56112011-11-30 Juanma Barranquero <lekktu@gmail.com>
5612
5613 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5614 (hfy-shell-file-name, hfy-shell):
5615 * international/fontset.el (x-decompose-font-name): Fix typos.
5616
56172011-11-29 Ken Brown <kbrown@cornell.edu>
5618
5619 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5620 (gdb-version): Remove defvar.
5621 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5622 (gdb-gud-context-command, gdb-non-stop-handler)
5623 (gdb-current-context-command, gdb-stopped): Use it.
5624 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5625 (gdb-non-stop-handler): Don't enable pretty-printing here.
5626 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5627 non-stop mode. Use the following.
5628 (gdb-check-target-async): New defun.
5629 (gud-watch, gdb-stopped): Fix whitespace.
5630 (gdb-get-source-file): Don't try to display the source file if
5631 `gdb-main-file' is nil.
5632
56332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * align.el: Try to generate fewer markers (bug#10047).
5636 (align--set-marker): New macro.
5637 (align-region): Use it.
5638
c935221f
SM
56392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5642
e70b5064
CY
56432011-11-29 Chong Yidong <cyd@gnu.org>
5644
5645 * indent.el (indent-for-tab-command, indent-according-to-mode):
5646 Doc fix.
5647 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5648
f3af92b7
MA
56492011-11-29 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5652 aware of remote file names. (Bug#10124)
5653
ed472be9
CY
56542011-11-29 Chong Yidong <cyd@gnu.org>
5655
5656 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5657
24510c22
SM
56582011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * files.el (find-file): Don't use force-same-window (bug#10144).
5661 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5662 use pop-to-buffer if the selected window can't be used.
5663 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5664
c60c3703
EZ
56652011-11-28 Eli Zaretskii <eliz@gnu.org>
5666
5667 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5668 special-mode-map.
5669
e95def75
CY
56702011-11-28 Chong Yidong <cyd@gnu.org>
5671
5672 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5673
c3f1c606
NR
56742011-11-27 Nick Roberts <nickrob@snap.net.nz>
5675
5676 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5677 gdb-get-source-file-list on gdb-create-source-file-list.
5678
00db469c
EZ
56792011-11-26 Eli Zaretskii <eliz@gnu.org>
5680
5681 * whitespace.el (whitespace-newline): Use a different foreground
5682 color for 16-color light-background displays.
5683
4ad3bc2a
CY
56842011-11-24 Chong Yidong <cyd@gnu.org>
5685
5686 * window.el (display-buffer--special-action): Doc fix.
5687
e9fce1ac
JB
56882011-11-25 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5691 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5692 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5693 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5694 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5695 (avl-tree-stack-first):
5696 * emacs-lisp/cconv.el (cconv--analyse-use):
5697 * net/gnutls.el (gnutls-negotiate): Fix typos.
5698
cb825e5d
GM
56992011-11-24 Glenn Morris <rgm@gnu.org>
5700
3adbe224
GM
5701 * lpr.el (lpr-windows-system, lpr-lp-system):
5702 * mail/binhex.el (binhex-begin-line):
5703 * progmodes/grep.el (grep-history, grep-find-history):
5704 * textmodes/flyspell.el:
5705 * vc/pcvs-defs.el (cvs-global-menu):
5706 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5707 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5708 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5709
321decc8
GM
5710 * net/tls.el: Fix case of "GnuTLS".
5711
420b63ad
GM
5712 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5713
cb825e5d
GM
5714 * version.el (emacs-build-system): Give it a doc-string.
5715
a0649f08
JL
57162011-11-24 Juri Linkov <juri@jurta.org>
5717
5718 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5719
c0bc0fd4
GM
57202011-11-24 Glenn Morris <rgm@gnu.org>
5721
5722 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5723 if called on a non-mime message just toggle the headers. (Bug#8006)
5724
20db1522
JB
57252011-11-24 Juanma Barranquero <lekktu@gmail.com>
5726
5727 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5728 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5729 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5730 (allout-rebullet-heading, allout-open-sibtopic)
5731 (allout-toggle-current-subtree-encryption)
5732 (allout-toggle-subtree-encryption, allout-encrypt-string)
5733 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5734 (allout-distinctive-bullets-string, allout-auto-activation):
5735 * window.el (window-normalize-buffer-to-display):
5736 * progmodes/verilog-mode.el (verilog-batch-indent):
5737 * textmodes/bibtex.el (bibtex-field-braces-opt)
5738 (bibtex-field-strings-opt):
5739 * vc/cvs-status.el (cvs-tree-merge):
5740 Fix typos.
5741
7262a87c
MA
57422011-11-23 Michael Albinus <michael.albinus@gmx.de>
5743
5744 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5745 `non-essential' to t, in order to avoid remote connections.
5746
283430a1
EZ
57472011-11-23 Eli Zaretskii <eliz@gnu.org>
5748
a1beca85
SM
5749 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5750 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5751 case-insensitively.
5752
d2992a38
ML
57532011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5754
5755 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5756
50419064
GM
57572011-11-23 Glenn Morris <rgm@gnu.org>
5758
da94eca1
GM
5759 * paths.el (rmail-file-name): Reformat the doc-string so that it
5760 is picked up.
5761
9aac4de2
GM
5762 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5763 (rmail-auto-file): Ignore case in the "special" field names,
5764 as mail-fetch-field does for all others.
5765
8038d2d2
GM
5766 * mail/rmail.el (rmail-forward):
5767 * mail/rmailkwd.el (rmail-set-label):
5768 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5769 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5770
f3fe222a
GM
5771 * mail/rmail.el (rmail-current-message): Doc fix.
5772
50419064
GM
5773 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5774
28109f49
SM
57752011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5778
394c65f1
GM
57792011-11-22 Glenn Morris <rgm@gnu.org>
5780
5781 * mail/rmailmm.el (test-rmail-mime-handler)
5782 (test-rmail-mime-bulk-handler)
5783 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5784
f2a0aa3a
JL
57852011-11-21 Juri Linkov <juri@jurta.org>
5786
1154d12e
JB
5787 * calc/calc.el (calc-read-key-sequence):
5788 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5789
9c34a344
LMI
57902011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791
5792 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5793 Tell the caller that the next line needs recomputation, even
5794 though it doesn't start a sexp (bug#10094).
5795
f04a3be9
SM
57962011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5799
7978747f
SM
58002011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5801
f04a3be9
SM
5802 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5803 Use force-same-window.
7978747f 5804
fe7a3057
JB
58052011-11-20 Juanma Barranquero <lekktu@gmail.com>
5806
5807 * descr-text.el (describe-char-unicode-data):
5808 * json.el (json-string-escape):
5809 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5810 (Footnote-unicode, Footnote-style-p):
5811 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5812
24901d61
CY
58132011-11-20 Chong Yidong <cyd@gnu.org>
5814
5815 * window.el (replace-buffer-in-windows): Restore interactive spec.
5816
bac7ff22
SM
58172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5818
24f3d7b9
SM
5819 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5820
bac7ff22
SM
5821 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5822 (byte-compile-global-not-obsolete-vars): New var.
5823 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5824 Use it.
5825 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5826
cd1181db
JB
58272011-11-20 Juanma Barranquero <lekktu@gmail.com>
5828
5829 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5830 * progmodes/pascal.el (electric-pascal-equal):
5831 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5832 * xml.el (xml-substitute-special): Fix typos.
5833
7fb18e9e
GM
58342011-11-20 Glenn Morris <rgm@gnu.org>
5835
5836 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5837 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5838 Doc fixes.
5839 (rmail-decode-mime-charset): Mark as obsolete.
5840
5841 * mail/rmailsum.el (rmail-message-regexp-p-1):
5842 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5843 Before using mime functions, check they are set. (Bug#10077)
5844
d5a6b3ba
JL
58452011-11-19 Juri Linkov <juri@jurta.org>
5846
5847 * info.el (Info-finder-find-node): Use `package--builtins' instead
5848 of `package-alist'. Use node names formed by the pattern "Keyword "
5849 and the keyword name.
5850
e981b61f
AS
58512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5852
1d00653d 5853 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5854
3ffbc301
JL
58552011-11-19 Juri Linkov <juri@jurta.org>
5856
5857 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5858 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5859 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5860 `old-history', `old-history-forward'. Add let-binding
5861 `window-selected'. Remove calls to `kill-buffer',
5862 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5863 before calling `Info-find-node', so `Info-find-node-2' will reread
5864 the Info file. Restore window positions only when `window-selected'
5865 is non-nil.
5866
30c62133
JL
58672011-11-19 Juri Linkov <juri@jurta.org>
5868
5869 * isearch.el (isearch-lazy-highlight-new-loop):
5870 Remove condition `(not isearch-error)'. (Bug#9918)
5871
5872 * misearch.el (multi-isearch-search-fun): Add condition
5873 `(not bound)' to ignore lazy-highlighting search.
5874 Add the search-failed message "end of multi" when the end of
5875 multi-sequence is reached. Uncapitalize the search-failed
5876 message "Repeat for next buffer".
5877
5878 * info.el (Info-search): Add the search-failed message
5879 "end of the manual" when the end of the manual is reached
5880 in Isearch mode.
5881
645ca9cf
JL
58822011-11-19 Juri Linkov <juri@jurta.org>
5883
5884 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5885 Use non-destructive `remove' instead of `delete' because
5886 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5887 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5888
df754f66
JL
58892011-11-19 Juri Linkov <juri@jurta.org>
5890
5891 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5892 to nil instead of binding `search-ring' and `regexp-search-ring'.
5893 (Bug#9185)
5894
0e23d96a
EZ
58952011-11-19 Eli Zaretskii <eliz@gnu.org>
5896
5897 * simple.el (line-move): Force movement by logical lines for any
5898 hscrolled window, not only when auto-hscroll-mode is on.
5899 (line-move-visual): Update doc string to that effect. (Bug#10076)
5900
8a6ccb66
AS
59012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5902
5903 * language/european.el (macintosh): Define as alias for mac-roman.
5904
49ae5b39
EZ
59052011-11-19 Eli Zaretskii <eliz@gnu.org>
5906
5907 * mail/rmailmm.el (rmail-mime-display-header)
5908 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5909 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5910 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5911 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5912 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5913 of a raw aref.
5914 (rmail-mime-entity-segment): To get past the tagline, move forward
5915 2 more lines, to account for the 2 empty lines that precede and
5916 follow the line with the buttons.
5917 (rmail-mime-update-tagline): Move one more line, to get past the
5918 empty line that follows the buttons in the tagline. (Bug#9520)
5919
c56cad4a
MR
59202011-11-19 Martin Rudalics <rudalics@gmx.at>
5921
5922 * window.el (window-max-delta-1, window-min-delta-1)
5923 (window-min-size-1, window-state-get-1, window-state-put-1)
5924 (window-state-put-2): Use "window--" prefix.
5925
cbe71af3
SM
59262011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5927
2ad52c60
SM
5928 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5929 (smie-warning-count): New var.
5930 (smie-set-prec2tab): Use it.
5931 (smie-bnf->prec2): Improve warnings. Add docstring.
5932 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5933 (smie-bnf--set-class): New function.
5934 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5935 corner case.
5936
6944dbc1
SM
5937 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5938 (compilation-error-properties, compilation-move-to-column):
5939 Handle compilation-first-column while in the target buffer.
5940
c400c4d7
SM
5941 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5942 Don't hardcode point-min==1.
5943
6dbe3e96
SM
5944 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5945 (eshell-rewrite-for-command): Remove workaround.
5946 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5947 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5948 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5949
cbe71af3
SM
5950 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5951
a8e1496d
GM
59522011-11-17 Glenn Morris <rgm@gnu.org>
5953
5954 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5955 Ignore buffer-local generated-autoload-file if it is the same
5956 as the global value. (Bug#10049)
5957
df85d315
JB
59582011-11-17 Juanma Barranquero <lekktu@gmail.com>
5959
5960 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5961 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5962 (reftex-toc-previous-heading, reftex-toc-max-level)
5963 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5964 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5965 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5966 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5967 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5968 (reftex-toc-rename-label, reftex-toc-visit-location)
5969 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5970 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5971 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5972 leaving "*toc*" only for references to the buffer.
5973
a0c2d0ae
MR
59742011-11-17 Martin Rudalics <rudalics@gmx.at>
5975
5976 * window.el (window-resize, delete-window, split-window):
5977 Replace window-splits by window-combination-resize.
1d00653d 5978 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5979
35c0bac8
GM
59802011-11-17 Glenn Morris <rgm@gnu.org>
5981
5982 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5983 Make bash entry derive from sh entry, not shell entry.
5984
d0c8fc8a
MA
59852011-11-16 Michael Albinus <michael.albinus@gmx.de>
5986
d0c8fc8a
MA
5987 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5988 properties of linked files. (Bug#9879)
5989
7262a87c
MA
5990 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5991 local file name.
5992
7877f373
JB
59932011-11-16 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * menu-bar.el (menu-bar-file-menu):
5996 * printing.el (pr-ps-utility):
5997 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5998 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5999 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6000 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6001 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6002 (icalendar--convert-cyclic-to-ical)
6003 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6004 (icalendar--convert-ical-to-diary)
6005 (icalendar--convert-recurring-to-diary)
6006 (icalendar--convert-non-recurring-all-day-to-diary)
6007 (icalendar-import-format-sample):
6008 * progmodes/idlw-shell.el (idlwave-shell-mode):
6009 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6010 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6011 (vhdl-ps-print-init): Fix typos.
6012
10649b82
KM
60132011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6014
9d0cfcd6
GM
6015 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6016 FSF and collapse date sequence, obscure author/maintainer email address
6017 better, remove extra version line, track relocation of author's webpage.
10649b82 6018
9d0cfcd6
GM
6019 * progmodes/python.el (python-pdbtrack-input-prompt)
6020 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6021 regular python pdb prompts. Adjustments shamelessly taken exactly as
6022 suggested in EmacsWiki page (tiny change):
6023 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6024
58179cce
JB
60252011-11-16 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * expand.el (expand-pos, expand-index, expand-point):
6028 Remove redundant info from docstring.
6029 (expand-add-abbrevs): Doc fix.
6030 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6031 (expand-sample-perl-mode-expand-list): Fix typos.
6032
6033 * net/dbus.el (dbus-event-member-name):
6034 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6035 * term/pc-win.el (msdos-create-frame-with-faces):
6036 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6037
b6f67890
MR
60382011-11-16 Martin Rudalics <rudalics@gmx.at>
6039
6040 * window.el (split-window, window-state-get-1)
6041 (window-state-put-1, window-state-put-2): Rename occurrences of
6042 window-nest to window-combination-limit.
1d00653d 6043 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6044
ce7ddba0
CY
60452011-11-16 Chong Yidong <cyd@gnu.org>
6046
6047 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6048 regexp (Bug#10033).
6049
3ae704f4
SM
60502011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6053 `completing-read' will remove *Completions* and will preserve
6054 current-buffer for us.
6055 (tmm-add-prompt): Users of *Completions* will always (re)set its
6056 major mode.
6057 (tmm-old-comp-map): Remove.
6058
6ad1cdde
GM
60592011-11-16 Glenn Morris <rgm@gnu.org>
6060
6061 * mail/rmailedit.el: Require rmailmm when compiling.
6062 (rmail-old-mime-state): New declaration.
6063 (rmail-edit-current-message): If editing a mime message,
6064 edit the "raw" message from the mbox buffer.
6065 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6066
d20faa20
GM
60672011-11-15 Glenn Morris <rgm@gnu.org>
6068
6069 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6070 which wasn't being used. Add optional arg to force given state.
6071 (rmail-mime): Add optional arg to force given state.
6072
c7015153
JB
60732011-11-15 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6076 * frame.el (display-mm-dimensions-alist):
6077 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6078 (outline-move-subtree-down):
6079 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6080 (newsticker--treeview-do-get-node):
6081 * net/quickurl.el (quickurl-list-buffer-name):
6082 * progmodes/dcl-mode.el (dcl-mode):
6083 * progmodes/gdb-mi.el (gdb-mapcar*):
6084 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6085
45261b50
GM
60862011-11-15 Glenn Morris <rgm@gnu.org>
6087
6088 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6089 in a boolean sense, so just make it a boolean, and fix the doc.
6090 (rmail-show-mime-function, rmail-mime-feature)
6091 (rmail-require-mime-maybe): Doc fixes.
6092 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6093
6094 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6095
0d26e0b6
JB
60962011-11-15 Juanma Barranquero <lekktu@gmail.com>
6097
6098 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6099 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6100 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6101 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6102
447f30f6
GM
61032011-11-15 Glenn Morris <rgm@gnu.org>
6104
672b871d
GM
6105 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6106 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6107 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6108 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6109 (rmail-mime, rmail-show-mime): Doc fixes.
6110
f6aa5bb1
GM
6111 * term/ns-win.el (mode-line-frame-identification):
6112 Leave it alone. (Bug#10051)
6113
947cd66b
GM
6114 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6115
447f30f6
GM
6116 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6117 Handle empty buffers. (Bug#9978)
6118
0b381c7e
JB
61192011-11-14 Juanma Barranquero <lekktu@gmail.com>
6120
6121 * international/mule.el (define-charset):
6122 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6123 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6124 * progmodes/verilog-mode.el (verilog-backward-token):
6125 * textmodes/ispell.el (lookup-words):
6126 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6127
71e027ac
GM
61282011-11-14 Glenn Morris <rgm@gnu.org>
6129
56632ce4
GM
6130 * progmodes/executable.el
6131 (executable-make-buffer-file-executable-if-script-p):
6132 Handle file-modes returning nil.
6133
40500957
GM
6134 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6135 message - not necessary, and causes problems. (Bug#9831)
6136
071c2340
GM
6137 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6138
d3cfca60
GM
6139 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6140
71e027ac
GM
6141 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6142 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6143 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6144
89d61221
MR
61452011-11-12 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (window-resize, delete-window): Use window-splits
6148 variable instead of function.
6149 (window-state-get-1, window-state-put-2, window-state-put):
6150 Don't deal with windows' splits status.
6151
98282f6f
GM
61522011-11-12 Glenn Morris <rgm@gnu.org>
6153
6154 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6155 (apropos-documentation): Doc fixes.
6156
40a8bdf6
JB
61572011-11-11 Juanma Barranquero <lekktu@gmail.com>
6158
6159 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6160 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6161
65bd19ff
SM
61622011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * electric.el (electric-indent-post-self-insert-function): Make it
6165 possible for a char to only indent in some circumstances.
6166 (electric-indent-mode): Simplify.
6167
54f9154c
MR
61682011-11-11 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (windows-with-parameter): Remove unused function.
6171 (windows-at-side): Rename to window-at-side-list.
6172 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6173 (window-side-check, window-size-ignore, window-size-fixed-1)
6174 (window-in-direction-2): Prefix with "window--".
6175 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6176
68cbc58b
GM
61772011-11-11 Glenn Morris <rgm@gnu.org>
6178
6179 * subr.el (eval-after-load): If FILE is already loaded,
6180 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6181
b2621720
GM
61822011-11-10 Glenn Morris <rgm@gnu.org>
6183
9a4de110
GM
6184 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6185 Call svn via vc-svn-command rather than vc-do-command.
6186 (vc-svn-command): Add --non-interactive. (Bug#9993)
6187 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6188
b2621720
GM
6189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6190 Add toggle-read-only. (Bug#7292)
6191 * files.el (toggle-read-only): Mention that it should only
6192 be used interactively. (Bug#10006)
6193
1dce7193
SM
61942011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6195
d9ac1a1e
SM
6196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6197 Adjust regexp for OCaml warnings.
6198
0c325082
SM
6199 * electric.el (electric-pair-post-self-insert-function): Let user
6200 turn it off buffer-locally (bug#9932).
6201
90132c14
SM
6202 * progmodes/python.el (python-beginning-of-statement):
6203 Rewrite (bug#2703).
6204
1dce7193
SM
6205 * progmodes/compile.el: Better handle TABs (bug#9749).
6206 (compilation-internal-error-properties)
6207 (compilation-next-error-function): Obey the target buffer's
6208 compilation-error-screen-columns.
6209
c4e7c63a
JB
62102011-11-09 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * progmodes/meta-mode.el: Remove obsolete comments.
6213 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6214 Fix typos in docstrings.
6215
2cffd681
MR
62162011-11-09 Martin Rudalics <rudalics@gmx.at>
6217
6218 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6219 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6220 (window--resizable): New function. Make all callers of
6221 window-resizable call window--resizable instead.
6222 (window-resizable): Rewrite in terms of window--resizable.
6223
0edcba87
GM
62242011-11-08 Glenn Morris <rgm@gnu.org>
6225
6226 * progmodes/delphi.el (delphi-mode-syntax-table):
6227 Let define-derived-mode define a proper syntax table. (Bug#9994)
6228
4b0d61e3
SM
62292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * window.el: Stay away from defsubst.
6232 (window-list-no-nils): Remove.
6233 (window-state-get-1, window-state-get): Use backquote instead.
6234
cd394be1 62352011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6236
4b0d61e3 6237 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6238 Fix incorrect use of default argument in `completing-read'.
6239
e1c2c6f2
MR
62402011-11-08 Martin Rudalics <rudalics@gmx.at>
6241
6242 * window.el (display-buffer-function, special-display-function):
6243 Mention display-buffer-record-window but do not mention
6244 help-setup parameter in doc-strings.
b3f4a882 6245 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6246
105216ed
CY
62472011-11-08 Chong Yidong <cyd@gnu.org>
6248
6249 * window.el (window-total-height, window-total-width): Doc fix.
6250 (window-body-size): Move from C.
6251 (window-body-height, window-body-width): Move to C.
6252
0a9f9ab5
SM
62532011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * window.el: Make special-display like display-buffer-alist (bug#9532).
6256 (display-buffer--special-action): New function, morphed
6257 from display-buffer--special.
6258 (display-buffer): Use it to handle special-display-buffers at higher
6259 priority (just after display-buffer-alist).
6260 (display-buffer-fallback-action, display-buffer--other-frame-action)
6261 (pop-to-buffer-same-window): Remove display-buffer--special.
6262
a769dd15
GM
62632011-11-07 Glenn Morris <rgm@gnu.org>
6264
6265 * calendar/cal-menu.el (cal-menu-set-date-title):
6266 Do nothing if not in a calendar. (Bug#9976)
6267
05a61ee3
SM
62682011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * files.el (find-file): Always use selected-window.
6271
be7f5545
MR
62722011-11-07 Martin Rudalics <rudalics@gmx.at>
6273
6274 * window.el (window-combinations): Make WINDOW argument
6275 mandatory. Rewrite doc-string.
6276 (walk-window-subtree, window-atom-check, window-min-delta)
6277 (window-max-delta, window--resize-this-window)
6278 (window--resize-root-window-vertically, window-tree)
6279 (balance-windows, window-state-put): Rewrite doc-strings as to
6280 not mention the term "subwindow".
6281 (window--resize-subwindows-skip-p): Rename to
6282 window--resize-child-windows-skip-p.
6283 (window--resize-subwindows-normal): Rename to
6284 window--resize-child-windows-normal.
6285 (window--resize-subwindows): Rename to
6286 window--resize-child-windows.
6287 (window-or-subwindow-p): Rename to window--in-subtree-p.
6288
3c6702ef
ML
62892011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6290
6291 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6292 Ensure that mbox format messages end in two newlines (Bug#9974).
6293
49745b39
CY
62942011-11-06 Chong Yidong <cyd@gnu.org>
6295
6296 * window.el (window-combination-p): Function deleted; its
6297 side-effect is not used in any existing code.
6298 (window-combinations, window-combined-p): Call window-*-child
6299 directly.
6300
24300f5f
CY
63012011-11-05 Chong Yidong <cyd@gnu.org>
6302
6303 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6304 (window-size-ignore, window-state-get): Callers changed.
6305 (window-normalize-window): Rename from window-normalize-any-window.
6306 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6307 (window-normalize-live-window): Delete.
447f16b8
CY
6308 (window-combination-p, window-combined-p, window-combinations)
6309 (walk-window-subtree, window-atom-root, window-min-size)
6310 (window-sizable, window-sizable-p, window-size-fixed-p)
6311 (window-min-delta, window-max-delta, window-resizable)
6312 (window-resizable-p, window-full-height-p, window-full-width-p)
6313 (window-current-scroll-bars, window-point-1, set-window-point-1)
6314 (window-at-side-p, window-in-direction, window-resize)
6315 (adjust-window-trailing-edge, maximize-window, minimize-window)
6316 (window-deletable-p, delete-window, delete-other-windows)
6317 (record-window-buffer, unrecord-window-buffer)
6318 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6319 (quit-window, split-window, window-state-put)
6320 (set-window-text-height, fit-window-to-buffer)
6321 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6322
89bd5ee1
EZ
63232011-11-04 Eli Zaretskii <eliz@gnu.org>
6324
53479029
EZ
6325 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6326 rfc2047-decode-string.
6327 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6328 warnings.
6329
89bd5ee1
EZ
6330 * window.el (window-body-height, window-body-width): Mention in
6331 the doc string that the return values are in frame's canonical
6332 units. (Bug#9949)
6333
bd17fdee
AM
63342011-11-03 Alan Mackenzie <acm@muc.de>
6335
6336 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6337 change in cc-engine.el.
6338
acc825c5
SM
63392011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6342
1885e5b8
MR
63432011-11-02 Martin Rudalics <rudalics@gmx.at>
6344
6345 * window.el (quit-window): Call unrecord-window-buffer after
6346 showing another buffer in the window. (Bug#9937)
acc825c5 6347 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6348
ebe06da9
JB
63492011-11-02 Juanma Barranquero <lekktu@gmail.com>
6350
6351 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6352 Accept status with more than 9 shelves. (Bug#9935)
6353 Reported by Colin D Bennett <colin@gibibit.com>.
6354
4ee88440
MR
63552011-11-01 Martin Rudalics <rudalics@gmx.at>
6356
6357 * help.el (with-help-window): Don't reference
6358 temp-buffer-show-specifiers in doc-string.
6359
08e1d82c
AS
63602011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6361
6362 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6363 menu-item.
6364
84bd6e9e
VJL
63652011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6366
6367 * whitespace.el: New version 13.2.2.
6368 (whitespace-newline-mode): Disable properly. Reported by Sarah
6369 <EmacsWiki>.
6370
dba0634a
UJ
63712011-10-30 Ulf Jasper <ulf.jasper@web.de>
6372
6373 * net/newst-treeview.el: Remove "Time-stamp".
6374 (newsticker--group-manage-orphan-feeds): Do not call
6375 newsticker--treeview-tree-update.
db22a3c2
JB
6376 (newsticker-treeview-update, newsticker-treeview):
6377 Call newsticker--treeview-tree-update if necessary.
dba0634a 6378
3d8daefe
MR
63792011-10-30 Martin Rudalics <rudalics@gmx.at>
6380
6381 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6382 (window-iso-combinations): Remove "iso-" infix.
6383 Suggested by Chong Yidong.
3d8daefe
MR
6384 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6385 (window-max-delta-1, window-resize, window--resize-siblings)
6386 (window--resize-this-window, adjust-window-trailing-edge)
6387 (split-window, balance-windows-1)
6388 (shrink-window-if-larger-than-buffer):
6389 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6390 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6391
1bc4c3ae
SM
63922011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6395 in place (bug#9907).
6396 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6397 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6398 (eshell-structure-basic-command, eshell-rewrite-while-command)
6399 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6400 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6401 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6402 (eshell-do-pipelines-synchronously, eshell-eval-command):
6403 Use backquotes and prefer setq to set.
6404 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6405 (eshell-macrop): Use functionp.
c1e2f5fa 6406 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6407
30b65d9c
CY
64082011-10-30 Chong Yidong <cyd@gnu.org>
6409
6410 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6411 instead of set-mark (Bug#9810).
6412
2d197ffb
CY
64132011-10-30 Chong Yidong <cyd@gnu.org>
6414
6415 * window.el (split-window-below, split-window-right): Rename from
6416 split-window-above-each-other and split-window-side-by-side
6417 respectively. All callers changed.
6418 (split-window-sensibly, split-window-sensibly): Use them.
6419 (split-window-keep-point): Doc fix.
6420
6421 * isearch.el: Add isearch-scroll property to split-window-below
6422 and split-window-right.
6423
6424 * follow.el (follow-mode):
6425 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6426 * progmodes/ada-xref.el (ada-gdb-application):
6427 * emulation/vip.el (vip-buffer-in-two-windows):
6428 * image-dired.el (image-dired-dired-with-window-configuration):
6429 * dired-x.el (dired-do-find-marked-files):
6430 * dired.el (dired-pop-to-buffer):
6431 * bs.el (bs--show-with-configuration):
6432 * vc/emerge.el (emerge-setup-windows):
6433 * textmodes/two-column.el (2C-two-columns):
6434 * textmodes/reftex-toc.el (reftex-toc):
6435 * progmodes/gdb-mi.el (gdb-setup-windows):
6436 * progmodes/fortran.el (fortran-window-create):
6437 * net/newst-treeview.el (newsticker--treeview-window-init):
6438 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6439 * emulation/tpu-edt.el (tpu-gold-map):
6440 * emulation/crisp.el (crisp-mode-map):
6441 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6442
38bb2ca8
CY
64432011-10-29 Chong Yidong <cyd@gnu.org>
6444
aa4de341
CY
6445 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6446
e1eb5385
CY
6447 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6448
5d2ece3c
CY
6449 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6450 forged Ispell output (Bug#7904).
6451
38bb2ca8
CY
6452 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6453
d0af9f77
SM
64542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * doc-view.el: Avoid ugly errors about not finding nil.
6457 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6458 (doc-view-dvipdf-program, doc-view-unoconv-program)
6459 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6460 Avoid nil or absolute file name as default value.
6461 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6462
52bedd34
AM
64632011-10-28 Alan Mackenzie <acm@muc.de>
6464
db22a3c2 6465 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6466
7e43cfa5
AM
64672011-10-28 Alan Mackenzie <acm@muc.de>
6468
6469 Amend the handling of c-beginning/end-of-defun in nested declaration
6470 scopes.
6471
52bedd34
AM
6472 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6473 cc-langs.el. Change it to a defcustom.
7e43cfa5 6474
52bedd34
AM
6475 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6476 cc-vars.el.
7e43cfa5 6477
d0af9f77
SM
6478 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6479 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6480
52bedd34 6481 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6482 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6483 (c-widen-to-enclosing-decl-scope): New function.
6484 (c-while-widening-to-decl-block): New macro.
6485 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6486 outward for defun boundaries, and correspondingly change symbol
6487 `respect-enclosure' to `go-outward'.
6488 (c-declaration-limits): Change algorithm to report only the "innermost"
6489 defun's boundaries.
6490
1a2ce9ee
DD
64912011-10-28 Deniz Dogan <deniz@dogan.se>
6492
6493 * net/rcirc.el (rcirc-mode): Use hard newlines.
6494
bc97a826
AM
64952011-10-28 Alan Mackenzie <acm@muc.de>
6496
6497 Amend to indent and fontify macros "which include their own semicolon"
6498 correctly, using the "virtual semicolon" mechanism.
6499
52bedd34 6500 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6501
d0af9f77 6502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6503 Recode to scan one line at a time rather than having \n and \r
58179cce 6504 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6505 (c-forward-label): Amend for virtual semicolons.
58179cce 6506 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6507
52bedd34
AM
6508 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6509 of the new C macros.
bc97a826 6510
52bedd34 6511 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6512 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6513 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6514 (c-opt-cpp-macro-define): Make into a full language variable.
6515 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6516 AWK Mode (including \n, \r) removed, no longer needed.
6517
d0af9f77
SM
6518 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6519 Invoke c-make-macro-with-semi-re.
bc97a826 6520
52bedd34
AM
6521 * progmodes/cc-vars.el (c-macro-with-semi-re):
6522 (c-macro-names-with-semicolon): New variables.
58179cce 6523 (c-make-macro-with-semi-re): New function.
bc97a826 6524
7a6c0941
SM
65252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * vc/log-edit.el: Fill empty field rather than adding new one.
6528 (log-edit-add-field): New function.
6529 (log-edit-insert-changelog): Use it.
6530
b0c4cdcf
ML
65312011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6532
6533 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6534
ee1f1da9
SM
65352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6538 (gdb--check-interpreter): New function.
6539 (gdb): Use it.
6540
51bc5f8b
GM
65412011-10-27 Glenn Morris <rgm@gnu.org>
6542
416a2c45
GM
6543 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6544 (least-positive-float, least-negative-float)
6545 (least-positive-normalized-float, least-negative-normalized-float)
6546 (float-epsilon, float-negative-epsilon):
6547 Remove unnecessary declarations.
6548
6549 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6550 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6551 (least-positive-float, least-negative-float)
6552 (least-positive-normalized-float, least-negative-normalized-float)
6553 (float-epsilon, float-negative-epsilon): Add doc-strings,
6554 based on those in cl.texi.
6555
51bc5f8b
GM
6556 * files.el (set-visited-file-name): If the major-mode changed,
6557 reload the local variables. (Bug#9796)
6558
15de15c6
CY
65592011-10-27 Chong Yidong <cyd@gnu.org>
6560
6561 * subr.el (change-major-mode-after-body-hook): New hook.
6562 (run-mode-hooks): Run it.
6563
ee1f1da9
SM
6564 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6565 Use change-major-mode-before-body-hook.
15de15c6
CY
6566
6567 * simple.el (fundamental-mode):
6568 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6569 change introducing fundamental-mode-hook.
6570
5430d399
JB
65712011-10-26 Juanma Barranquero <lekktu@gmail.com>
6572
acc825c5 6573 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6574
ad74a69e
MA
65752011-10-26 Michael Albinus <michael.albinus@gmx.de>
6576
6577 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6578 tramp.el explicitly. (Bug#7583)
ad74a69e 6579
71d4c2a5
SM
65802011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * progmodes/octave-mod.el:
6583 * progmodes/octave-inf.el: Update maintainer.
6584
b1f6fa26
CY
65852011-10-26 Chong Yidong <cyd@gnu.org>
6586
6587 * subr.el (with-wrapper-hook): Rewrite doc.
6588
3f04efd6
MA
65892011-10-25 Michael Albinus <michael.albinus@gmx.de>
6590
6591 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6592 filenames "/method:foo:". (Bug#9793)
3f04efd6 6593
410488d3
SM
65942011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6597 (bug#9865).
6598
c1ebb47e
GM
65992011-10-24 Glenn Morris <rgm@gnu.org>
6600
6601 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6602
7f5c46c7
MA
66032011-10-24 Michael Albinus <michael.albinus@gmx.de>
6604
6605 * notifications.el: Add the requirement of a running D-Bus session
6606 bus to the Commentary.
6607
db2440b6
JL
66082011-10-24 Juri Linkov <juri@jurta.org>
6609
6610 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6611 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6612 (Bug#9364)
6613
feecf435
JL
66142011-10-24 Juri Linkov <juri@jurta.org>
6615
6616 * info.el (Info-following-node-name-re): Add newline to the list
6617 of allowed characters for leading space. (Bug#9824)
6618
a3839de2
SM
66192011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6620
acc825c5
SM
6621 * progmodes/octave-inf.el (inferior-octave-mode-map):
6622 Fix C-c C-h binding.
a3839de2
SM
6623 * progmodes/octave-mod.el (octave-help): Remove.
6624
09388e76
MA
66252011-10-23 Michael Albinus <michael.albinus@gmx.de>
6626
6627 Sync with Tramp 2.2.3.
6628
6629 * net/tramp-cache.el (top): Pacify byte-compiler using
6630 `init-file-user' and `site-run-file'.
6631
6632 * net/trampver.el: Update release number.
6633
86c60681
CY
66342011-10-23 Chong Yidong <cyd@gnu.org>
6635
6636 * files.el (toggle-read-only): Remove obsolete comment about
6637 version control.
6638
6639 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6640 for toggle-read-only. Note that this hasn't called vc-next-action
6641 since 2008-05-02, though it wasn't documented at the time.
6642
a3839de2
SM
6643 * vc/ediff-init.el (ediff-toggle-read-only-function):
6644 Use toggle-read-only.
86c60681 6645
cd5495ff
AM
66462011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6647
6648 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6649 of c-parse-state.
6650
00b77525 6651 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6652 correct faulty logical expression.
cd5495ff
AM
6653 (c-parse-state-state, c-record-parse-state-state):
6654 (c-replay-parse-state-state): New defvar/defuns.
6655 (c-debug-parse-state): Use new functions.
6656
42ee24ed
MR
66572011-10-22 Martin Rudalics <rudalics@gmx.at>
6658
6659 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6660 last fix. Use window-in-direction correctly.
42ee24ed 6661
a7dee7e7
CY
66622011-10-21 Chong Yidong <cyd@gnu.org>
6663
6664 * progmodes/idlwave.el (idlwave-mode):
6665 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6666 require-final-newline; that's done in prog-mode.
6667 Suggested by Stefan Monnier.
a7dee7e7 6668
e07b9a6d
MR
66692011-10-21 Martin Rudalics <rudalics@gmx.at>
6670
6671 * mouse.el (mouse-drag-window-above)
6672 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6673 (mouse-drag-mode-line-1, mouse-drag-header-line)
6674 (mouse-drag-vertical-line-rightward-window): Remove.
6675 (mouse-drag-line): New function.
6676 (mouse-drag-mode-line, mouse-drag-header-line)
6677 (mouse-drag-vertical-line): Call mouse-drag-line.
6678 * window.el (window-at-side-p, windows-at-side): New functions.
6679
7e1361d9
UM
66802011-10-21 Ulrich Mueller <ulm@gentoo.org>
6681
6682 * tar-mode.el (tar-grind-file-mode):
6683 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6684
30fcaf3a
CY
66852011-10-21 Chong Yidong <cyd@gnu.org>
6686
6687 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6688 * progmodes/vera-mode.el (vera-mode):
6689 Use mode-require-final-newline.
30fcaf3a 6690
516eddb0
GM
66912011-10-20 Glenn Morris <rgm@gnu.org>
6692
db22a3c2 6693 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6694
10d5f513
CS
66952011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6696
6697 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6698
ac6c8639
CY
66992011-10-20 Chong Yidong <cyd@gnu.org>
6700
6701 * emulation/cua-base.el (cua-mode):
6702 * mail/footnote.el (footnote-mode):
6703 * mail/mailabbrev.el (mail-abbrevs-mode):
6704 * net/xesam.el (xesam-minor-mode):
6705 * progmodes/bug-reference.el (bug-reference-mode):
6706 * progmodes/cap-words.el (capitalized-words-mode):
6707 * progmodes/compile.el (compilation-minor-mode)
6708 (compilation-shell-minor-mode):
6709 * progmodes/gud.el (gud-tooltip-mode):
6710 * progmodes/hideif.el (hide-ifdef-mode):
6711 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6712 * progmodes/subword.el (subword-mode):
6713 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6714 * progmodes/which-func.el (which-function-mode):
6715 * term/tvi970.el (tvi970-set-keypad-mode):
6716 * term/vt100.el (vt100-wide-mode):
6717 * textmodes/flyspell.el (flyspell-mode):
6718 * textmodes/ispell.el (ispell-minor-mode):
6719 * textmodes/nroff-mode.el (nroff-electric-mode):
6720 * textmodes/paragraphs.el (use-hard-newlines):
6721 * textmodes/refill.el (refill-mode):
6722 * textmodes/reftex.el (reftex-mode):
6723 * textmodes/rst.el (rst-minor-mode):
6724 * textmodes/sgml-mode.el (html-autoview-mode)
6725 (sgml-electric-tag-pair-mode):
6726 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6727 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6728 * emulation/crisp.el (crisp-mode):
6729 * emacs-lisp/eldoc.el (eldoc-mode):
6730 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6731 minor mode behavior.
6732
aa42ab43
JL
67332011-10-19 Juri Linkov <juri@jurta.org>
6734
6735 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6736 the list of hard-coded chars with escape-glyph face.
6737
89400f1d
SM
67382011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6741
305c07f6
MA
67422011-10-19 Michael Albinus <michael.albinus@gmx.de>
6743
6744 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6745 running process.
6746
13754b54
GM
67472011-10-19 Glenn Morris <rgm@gnu.org>
6748
6749 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6750 Ignore ignored files. (Bug#9726)
6751
06e21633
CY
67522011-10-19 Chong Yidong <cyd@gnu.org>
6753
6754 Doc fix for minor modes, stating that an omitted argument enables
6755 the mode unconditionally when called from Lisp.
6756
6757 * abbrev.el (abbrev-mode):
6758 * allout.el (allout-mode):
6759 * autoinsert.el (auto-insert-mode):
6760 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6761 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6762 (global-auto-revert-mode):
6763 * battery.el (display-battery-mode):
6764 * composite.el (global-auto-composition-mode)
6765 (auto-composition-mode):
6766 * delsel.el (delete-selection-mode):
6767 * desktop.el (desktop-save-mode):
6768 * dired-x.el (dired-omit-mode):
6769 * dirtrack.el (dirtrack-mode):
6770 * doc-view.el (doc-view-minor-mode):
6771 * double.el (double-mode):
6772 * electric.el (electric-indent-mode, electric-pair-mode):
6773 * emacs-lock.el (emacs-lock-mode):
6774 * epa-hook.el (auto-encryption-mode):
6775 * follow.el (follow-mode):
6776 * font-core.el (font-lock-mode):
6777 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6778 * help.el (temp-buffer-resize-mode):
6779 * hilit-chg.el (highlight-changes-mode)
6780 (highlight-changes-visible-mode):
6781 * hi-lock.el (hi-lock-mode):
6782 * hl-line.el (hl-line-mode, global-hl-line-mode):
6783 * icomplete.el (icomplete-mode):
6784 * ido.el (ido-everywhere):
6785 * image-file.el (auto-image-file-mode):
6786 * image-mode.el (image-minor-mode):
6787 * iswitchb.el (iswitchb-mode):
6788 * jka-cmpr-hook.el (auto-compression-mode):
6789 * linum.el (linum-mode):
6790 * longlines.el (longlines-mode):
6791 * master.el (master-mode):
6792 * mb-depth.el (minibuffer-depth-indicate-mode):
6793 * menu-bar.el (menu-bar-mode):
6794 * minibuf-eldef.el (minibuffer-electric-default-mode):
6795 * mouse-sel.el (mouse-sel-mode):
6796 * msb.el (msb-mode):
6797 * mwheel.el (mouse-wheel-mode):
6798 * outline.el (outline-minor-mode):
6799 * paren.el (show-paren-mode):
6800 * recentf.el (recentf-mode):
6801 * reveal.el (reveal-mode, global-reveal-mode):
6802 * rfn-eshadow.el (file-name-shadow-mode):
6803 * ruler-mode.el (ruler-mode):
6804 * savehist.el (savehist-mode):
6805 * scroll-all.el (scroll-all-mode):
6806 * scroll-bar.el (scroll-bar-mode):
6807 * server.el (server-mode):
6808 * shell.el (shell-dirtrack-mode):
6809 * simple.el (auto-fill-mode, transient-mark-mode)
6810 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6811 (line-number-mode, column-number-mode, size-indication-mode)
6812 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6813 * strokes.el (strokes-mode):
6814 * time.el (display-time-mode):
6815 * t-mouse.el (gpm-mouse-mode):
6816 * tool-bar.el (tool-bar-mode):
6817 * tooltip.el (tooltip-mode):
6818 * type-break.el (type-break-mode-line-message-mode)
6819 (type-break-query-mode):
6820 * view.el (view-mode):
6821 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6822 (global-whitespace-mode, global-whitespace-newline-mode):
6823 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6824
a3839de2
SM
6825 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6826 Fix autogenerated docstring.
06e21633 6827
5214e501
JL
68282011-10-19 Juri Linkov <juri@jurta.org>
6829
6830 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6831 by checking environment variables "DESKTOP_SESSION" and
6832 "XDG_CURRENT_DESKTOP". (Bug#9779)
6833
195f8db9
JL
68342011-10-19 Juri Linkov <juri@jurta.org>
6835
6836 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6837 (browse-url-chromium-program, browse-url-chromium-arguments):
6838 New defcustoms.
6839 (browse-url-default-browser): Check for `browse-url-chromium' and
6840 call `browse-url-chromium-program'.
6841 (browse-url-chromium): New command. (Bug#9779)
6842
343a34ff
JB
68432011-10-18 Juanma Barranquero <lekktu@gmail.com>
6844
6845 * facemenu.el (list-colors-duplicates): On Windows, detect more
6846 duplicates by assuming that only colors matching "^System" are
6847 special "system colors". (Bug#9722)
6848
6978a151
SM
68492011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6852 to distinguish the author from the committer.
6853
6a80b297
MA
68542011-10-18 Michael Albinus <michael.albinus@gmx.de>
6855
6856 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6857
b31a5677
JK
68582011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6859
6860 * international/mule.el (sgml-html-meta-auto-coding-function):
6861 Add support for detecting encoding in HTML5 specified only as
6862 <meta charset="UTF-8">. Implementation just makes http-equiv and
6863 content-type parts from HTML4 encoding string optional. (Bug#9716)
6864
80c6d77f
GM
68652011-10-18 Glenn Morris <rgm@gnu.org>
6866
6867 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6868
08b0fee8
CY
68692011-10-18 Chong Yidong <cyd@gnu.org>
6870
6871 * faces.el (cursor): Doc fix.
6872
67e729a5
CY
68732011-10-17 Chong Yidong <cyd@gnu.org>
6874
6875 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6876
343a34ff 68772011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6878
6879 * dirtrack.el (dirtrack): Support shell buffers with path
6880 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6881
0bc06380
TZ
68822011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6883
6884 * json.el: Bump version to 1.3 and note change in History.
6885 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6886
8b79f3e0
SM
68872011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6888
5a7c536b
SM
6889 * comint.el (comint-insert-input, comint-send-input)
6890 (comint-get-old-input-default, comint-backward-matching-input)
6891 (comint-next-prompt): Use nil instead of `input' for field property of
6892 past user input (bug#114).
6893
96a8a0df
SM
6894 * minibuffer.el (completion--replace): Inherit surrounding properties
6895 (bug#114).
6896 (minibuffer-complete-and-exit): Use it.
6897
8b79f3e0
SM
6898 * comint.el (comint--table-subvert): Quote the all-completions output
6899 (bug#9160).
6900
b8f7ff0d
MR
69012011-10-17 Martin Rudalics <rudalics@gmx.at>
6902
8b79f3e0 6903 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6904
b8f7ff0d 6905 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6906 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6907 entries and separate them from frame entries.
6908
c235b555
GM
69092011-10-15 Glenn Morris <rgm@gnu.org>
6910
6911 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6912 Doc fixes.
6913
6bbfa6e1
CY
69142011-10-15 Chong Yidong <cyd@stupidchicken.com>
6915
8b79f3e0
SM
6916 * net/network-stream.el (network-stream-open-starttls):
6917 Improve detection of failure due to lack of TLS support.
ec5c990d 6918
6bbfa6e1
CY
6919 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6920 putting the input text in front and in bold.
6921
98488977
SM
69222011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6923
3d1337be
SM
6924 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6925
ee0b45e4
SM
6926 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6927 empty buffer.
6928
98488977
SM
6929 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6930 unread-command-events rather than pushing yet-another event.
6931
186f4720
EZ
69322011-10-14 Eli Zaretskii <eliz@gnu.org>
6933
6934 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6935 the explanation of the possible choices. Make the options passed
6936 to completing-read shorter.
6937
8b7a997c
AM
69382011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6939
6940 * textmodes/flyspell.el (flyspell-large-region): Make sure
6941 extended character mode is used if defined (Bug#1339).
6942
12587bbb
EZ
69432011-10-13 Eli Zaretskii <eliz@gnu.org>
6944
6945 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6946 character info for LRE, LRO, RLE, and RLO characters by appending
6947 an invisible PDF.
12587bbb 6948
bad41229
SM
69492011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6952 even in case of error; add debug spec; simplify data flow.
6953 (with-timeout-handler): Remove.
6954
28dbc92f
MA
69552011-10-12 Michael Albinus <michael.albinus@gmx.de>
6956
6957 Fix Bug#6019, Bug#9315.
6958
6959 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6960 complete `buffer-file-name', the local file name part could look
6961 remotely (for example on VMS).
6962
6963 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6964 `tramp-run-real-handler'.
6965 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6966 already quoted by '"'.
6967
6968 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6969 Let `file-name-handler-alist' be nil, the local file name part
6970 could look remotely (for example on VMS).
6971
e1b0b23a
SM
69722011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6975 from here...
6976 (flyspell-post-command-hook): ...to here.
6977
a120bde9
SM
69782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6981 if not needed.
6982 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6983 using completion. Protect against "slow" callers.
6984 Remove the "message hack".
6985
7ce7717b
JL
69862011-10-11 Juri Linkov <juri@jurta.org>
6987
6988 * isearch.el (isearch-lazy-highlight-word): New variable.
6989 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6990 Use it. (Bug#9727)
6991
c02ee9d6
GM
69922011-10-11 Glenn Morris <rgm@gnu.org>
6993
6994 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6995 like f90-previous-statement does.
6996
93e616fd 69972011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6998
1f190e73 6999 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7000 only in interactive use, to avoid error.
7001
af7b6078
SM
70022011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * minibuffer.el (completion-file-name-table): Fix last change,
7005 i.e. ignore normal errors but not the other ones.
7006
0563dae9
MR
70072011-10-10 Martin Rudalics <rudalics@gmx.at>
7008
7009 * window.el (special-display-buffer-names)
7010 (special-display-regexps): Remove some remnants of earlier
7011 changes from doc-strings.
366ca7f3
MR
7012 (quit-windows-on): New function.
7013
7014 * vc/vc.el (vc-revert, vc-rollback):
7015 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7016 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7017 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7018
49677495
MR
70192011-10-09 Martin Rudalics <rudalics@gmx.at>
7020
7021 * window.el (frame-auto-hide-function): Add version tag.
7022 (Bug#9699)
7023
56f2d1e1
MA
70242011-10-09 Michael Albinus <michael.albinus@gmx.de>
7025
7026 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7027 condition.
7028
112a6592
LL
70292011-10-09 Leo Liu <sdl.web@gmail.com>
7030
7031 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7032 (Bug#9701)
7033
0812589b
GM
70342011-10-08 Glenn Morris <rgm@gnu.org>
7035
7036 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7037 before the first code statement zero indent. (Bug#9690)
7038
b2b0776e
CY
70392011-10-08 Chong Yidong <cyd@stupidchicken.com>
7040
7041 * simple.el (count-words-region): Always count in the region.
7042 Report the number of lines and characters too.
7043 (count-words): New command, which counts in the buffer if the
7044 region is inactive, as count-words-region used to.
7045 (count-words--message): New function. Handle plurals.
7046 (count-lines-region): Make it an alias for count-words-region.
7047
7048 * bindings.el (esc-map): Replace count-lines-region with
7049 count-words-region.
7050
c557cd6b
MR
70512011-10-08 Martin Rudalics <rudalics@gmx.at>
7052
7053 * window.el (window--delete): Delete dedicated frame
7054 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7055 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7056
61a57ef4 70572011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7058
3a7d293b 7059 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7060
c3833279
CY
70612011-10-07 Chong Yidong <cyd@stupidchicken.com>
7062
7063 * bindings.el ([M-left],[M-right]): Bind to left-word and
7064 right-word respectively.
7065
21ce8245
GM
70662011-10-07 Glenn Morris <rgm@gnu.org>
7067
7068 * cus-start.el (debug-on-quit): Fix custom type.
7069
6d823bb2
LMI
70702011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
0181e193
LMI
7072 * subr.el (define-key-after): Clarify that the function is not
7073 useful for non-menu keymaps.
7074
6d823bb2
LMI
7075 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7076
8e3459ce 70772011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7078
21ce8245 7079 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7080 in current minibuffer (Fix bug with recursive minibuffers).
7081
a1c2d21e
CY
70822011-10-06 Chong Yidong <cyd@stupidchicken.com>
7083
7084 * progmodes/gdb-mi.el (gdb): Doc fix.
7085
5a4cf282
MR
70862011-10-05 Martin Rudalics <rudalics@gmx.at>
7087
7088 * window.el (frame-auto-hide-function): New option replacing
7089 frame-auto-delete. Suggested by Stefan Monnier.
7090 (window--delete): Call frame-auto-hide-function instead of
7091 investigating frame-auto-delete.
c96111ea
MR
7092 (window-point-1, set-window-point-1): New functions.
7093 (window-in-direction, record-window-buffer, window-state-get-1)
7094 (display-buffer-record-window): Use window-point-1 instead of
7095 window-point.
7096 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7097
9854542e
SM
70982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7101
8943cfb0
GM
71022011-10-05 Glenn Morris <rgm@gnu.org>
7103
7104 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7105 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7106
647ab967
LL
71072011-10-05 Leo Liu <sdl.web@gmail.com>
7108
7109 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7110 works with buffer object.
7111
3ddfbced
SM
71122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * mpc.el (mpc-tool-bar-map): Add labels.
7115
bdfa5dd2
GM
71162011-10-04 Glenn Morris <rgm@gnu.org>
7117
7118 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7119
0e2070b5
MR
71202011-10-04 Martin Rudalics <rudalics@gmx.at>
7121
7122 * window.el (window--delete): New function.
7123 (frame-auto-delete): Resuscitate option.
7124 (bury-buffer, replace-buffer-in-windows)
7125 (quit-window): Rewrite using window--delete.
7126 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7127 Pass display-buffer-mark-dedicated to window--display-buffer-2
7128 (Bug#9639).
7129
3dc61a09
SM
71302011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7131
915a9b64
SM
7132 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7133 returns a list (bug#9554). Add remote file name completion.
7134 * comint.el (comint--table-subvert): Curry and get quote&unquote
7135 functions as arguments.
7136 (comint--complete-file-name-data): Adjust call accordingly.
7137 * pcomplete.el (pcomplete--table-subvert): Remove.
7138 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7139
3dc61a09
SM
7140 * minibuffer.el (completion-table-case-fold): Use currying.
7141 (completion--styles-type, completion--cycling-threshold-type):
7142 New constants.
7143 (completion-styles, completion-category-overrides)
7144 (completion-cycle-threshold): Use them.
7145 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7146 completion-table-case-fold.
7147
8ea0a993
SB
71482011-10-03 Stephen Berman <stephen.berman@gmx.net>
7149
7150 * minibuffer.el (completion-category-overrides): Fix type of styles
7151 and add more user friendly tags (bug#9660).
7152
8c24b7f6
SM
71532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7156 (mule-input-method-string): New widget.
7157 (default-input-method, language-info-custom-alist): Use it.
7158
428fe61a
SM
71592011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7160
32c1fffd
SM
7161 * pcomplete.el: Require comint.
7162 (pcomplete--common-suffix): Remove.
7163 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7164 (pcomplete--table-subvert): Sync with comint--table-subvert.
7165 (pcomplete--entries): Use comint-completion-file-name-table.
7166 * comint.el (comint-unquote-filename): Simplify.
7167 (comint-completion-file-name-table): New function (bug#9616).
7168 (comint--complete-file-name-data): Use it.
7169
428fe61a
SM
7170 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7171 (pcmpl-gnu-tar-buffer): Remove.
7172 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7173 around. Make sure pcomplete-suffix-list is only changed temporarily.
7174 Don't look inside the tar's file if it's too large.
428fe61a 7175
04c52e2f
CY
71762011-10-01 Chong Yidong <cyd@stupidchicken.com>
7177
ce3cefcc
CY
7178 * cus-edit.el (custom-mode-map):
7179 * epa.el (epa-key-list-mode-map):
7180 * man.el (Man-mode-map):
7181 * startup.el (splash-screen-keymap):
7182 * simple.el (special-mode-map): Use scroll-up-command and
7183 scroll-down-command.
7184
7185 * progmodes/idlw-help.el (idlwave-help-mode-map):
7186 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7187 * net/newst-plainview.el (newsticker-mode-map):
7188 * emulation/ws-mode.el (wordstar-mode-map):
7189 * emulation/vi.el (vi-com-map):
7190 * calc/calc-graph.el (calc-graph-show-dumb):
7191 * term/sun.el (terminal-init-sun):
7192 * term/ns-win.el (global-map):
7193 * progmodes/grep.el (grep-mode-map):
7194 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7195 * mail/rmail.el (rmail-mode-map):
7196 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7197
04c52e2f
CY
7198 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7199 custom-safe-themes as special.
7200
79adf8c8
JD
72012011-10-01 Julien Danjou <julien@danjou.info>
7202
7203 * notifications.el (notifications-notify): Fix docstring.
7204
63bd50d3
PS
72052011-10-01 Per Starbäck <per@starback.se>
7206
7207 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7208
199e4c7e
MR
72092011-09-30 Martin Rudalics <rudalics@gmx.at>
7210
7211 * startup.el (command-line-1): Fix last fix by inserting
7212 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7213 (Bug#9605) and (Bug#9636)
199e4c7e 7214
fe5f08dd
EZ
72152011-09-29 Eli Zaretskii <eliz@gnu.org>
7216
7217 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7218 window is hscrolled, move by logical lines. (Bug#9607)
7219 (line-move-visual): Update the doc string to the above effect.
7220
b5516bbd
MR
72212011-09-29 Martin Rudalics <rudalics@gmx.at>
7222
ccee00c0
MR
7223 * window.el (display-buffer-record-window): When WINDOW is the
7224 selected window use `point' instead of `window-point'. (Bug#9626)
7225
b5516bbd
MR
7226 * startup.el (command-line-1): Use insert-before-markers when
7227 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7228
b5516bbd
MR
7229 * help.el (help-window): Remove variable.
7230
52aa0014
GM
72312011-09-29 Glenn Morris <rgm@gnu.org>
7232
7233 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7234
df9a7357
JB
72352011-09-29 Juanma Barranquero <lekktu@gmail.com>
7236
7237 * descr-text.el (describe-char-categories): Accept category
7238 descriptions more than one line long.
7239
a8406c20
SM
72402011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7241
88d9610c
SM
7242 * simple.el (delete-trailing-whitespace): Fix last change.
7243
a5daf810
SM
7244 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7245 Don't confuse "y => 3" as the beginning of a `y' operation.
7246
a8406c20
SM
7247 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7248 object has more than 4 slots (bug#9613).
7249
a239d4e9
JB
72502011-09-28 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * subr.el (with-output-to-temp-buffer):
7253 * net/quickurl.el (quickurl, quickurl-browse-url):
7254 Fix typos in docstrings.
7255
693fbdb6
EZ
72562011-09-27 Eli Zaretskii <eliz@gnu.org>
7257
7258 * minibuffer.el (completion-styles)
7259 (completion-category-overrides): Cross reference each other in doc
7260 strings.
7261
8b457e28
GM
72622011-09-27 Glenn Morris <rgm@gnu.org>
7263
7264 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7265 to split-string. (Bug#9606)
7266
85a16208
LMI
72672011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7268
7269 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7270 (bug#9615).
7271
502f9ebd
CY
72722011-09-27 Chong Yidong <cyd@stupidchicken.com>
7273
7274 * emacs-lisp/package.el (list-packages): Fix echo area message.
7275
7690bdea
LL
72762011-09-27 Leo Liu <sdl.web@gmail.com>
7277
7278 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7279
e2ee6f30
MA
72802011-09-25 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/dbus.el (dbus-unregister-object): Don't release services for
7283 registered signals. (Bug#9581)
7284
f3f98342
TZ
72852011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7286
7287 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7288 function that picks between cfengine 2 and 3 support
7289 automatically. Update docs accordingly.
7290
dd7aa8dd
KH
72912011-09-22 Kenichi Handa <handa@m17n.org>
7292
7293 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7294 ZERO.
7295 (indian-itrans-v5-table-for-tamil): New variable.
7296 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7297
3f2b07f8
KM
72982011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7299
7300 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7301 that's true if the current command involved collapsing of text.
7302 It's reset to false at the beginning of the next command.
7303 (allout-post-command-business): Move the cursor to the beginning
7304 of entry if the cursor is hidden and collapsing activity just
7305 happened.
7306
371d6a61
CY
73072011-09-24 Chong Yidong <cyd@stupidchicken.com>
7308
7309 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7310 tracking (Bug#9541).
7311
2ac2721a
UJ
73122011-09-24 Ulf Jasper <ulf.jasper@web.de>
7313
7314 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7315 (newsticker-show-news): Automatically load html rendering package
7316 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7317 because w3m-fill-column is let-bound" and the error "Symbol's value
7318 as variable is void: w3m-fill-column".
2ac2721a 7319
fac7ae53
MA
73202011-09-24 Michael Albinus <michael.albinus@gmx.de>
7321
7322 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7323 Release services only if they are defined. (Bug#9581)
7324
e08b633b
RS
73252011-09-23 Richard Stallman <rms@gnu.org>
7326
e488d29c
RS
7327 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7328 distinguish start of paragraph from start of its text.
7329
19c38752
RS
7330 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7331
e08b633b
RS
7332 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7333 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7334 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7335
0a39f27e
AS
73362011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7337
7338 * international/mule-diag.el (mule-diag): Insert a newline after
7339 each fontset description.
7340
db4e950d
SM
73412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * simple.el (delete-trailing-whitespace):
7344 Document last change; simplify.
7345
eca3f3ea
PW
73462011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7347
d68e189a
PW
7348 * simple.el (delete-trailing-whitespace): Also delete
7349 extra newlines at the end of the buffer.
7350
eca3f3ea
PW
7351 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7352 (picture-newline): Use forward-line so as to ignore fields.
7353
01c157cc
SM
73542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * subr.el (with-wrapper-hook): Fix edebug spec.
7357
022de23e
LMI
73582011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7359
7360 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7361 (bug#4538).
7362
91683089
MA
73632011-09-23 Michael Albinus <michael.albinus@gmx.de>
7364
eca3f3ea
PW
7365 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7366 Fix nasty bug using wrong cached values.
91683089 7367
5bdd6fa4
AM
73682011-09-23 Alan Mackenzie <acm@muc.de>
7369
7370 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7371
97adfb97
CY
73722011-09-23 Chong Yidong <cyd@stupidchicken.com>
7373
7374 * window.el (pop-to-buffer): Ensure right window is selected if we
7375 chose another frame.
7376
d4ef2b50
EZ
73772011-09-22 Eli Zaretskii <eliz@gnu.org>
7378
7379 * simple.el (what-cursor-position): Use get-char-property-change
7380 and next-single-char-property-change, to be able to show display
7381 properties that come from overlays as well as text properties.
7382
72258fe5
CY
73832011-09-22 Chong Yidong <cyd@stupidchicken.com>
7384
7385 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7386
7387 * cmuscheme.el (run-scheme, switch-to-scheme):
7388 * cus-edit.el (customize-group, custom-buffer-create)
7389 (customize-browse):
7390 * info.el (info):
7391 * shell.el (shell):
7392 * mail/sendmail.el (mail):
7393 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7394
8f098516
RS
73952011-09-22 Richard Stallman <rms@gnu.org>
7396
7397 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7398 move back only to line beg, don't move back over blank lines.
7399
e74f1bb6
MA
74002011-09-22 Michael Albinus <michael.albinus@gmx.de>
7401
7402 * files.el (copy-directory): Set directory attributes only in case
7403 they could be retrieved from the source directory. (Bug#9565)
7404
bfeef8b6
DK
74052011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7406
7407 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7408 (hs-find-block-beginning, hs-hide-level-recursive):
7409 Ignore strings as well as comments. (Bug#9502)
7410
7e423bb8
AS
74112011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7412
7413 * progmodes/sql.el (sql-comint-postgres):
7414 Convert port number to a string. (Bug#9566)
7415
b4d72fcf
MR
74162011-09-22 Martin Rudalics <rudalics@gmx.at>
7417
7418 * window.el (quit-window): Undedicate window when switching to
7419 previous buffer. Reported by Thierry Volpiatto
7420 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7421 (special-display-popup-frame): When popping up a new frame reset
7422 its previous buffers to nil. Simplify code.
b4d72fcf 7423
a7b88dc6
MA
74242011-09-21 Michael Albinus <michael.albinus@gmx.de>
7425
7426 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7427 and process filter, as done also in `shell-command'.
7428
cf4eacfd
MR
74292011-09-21 Martin Rudalics <rudalics@gmx.at>
7430
eca3f3ea 7431 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7432 Call set-window-start with NOFORCE argument t.
7433 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7434 (quit-window): Reword doc-string. Handle new format of
7435 quit-restore parameter. Don't delete window if it has a
7436 previous buffer we can show instead of the present one.
7437 (display-buffer-record-window): Rewrite using a new format for
7438 the quit-restore window parameter
7439 (special-display-popup-frame, display-buffer-same-window)
7440 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7441 (display-buffer-pop-up-window, display-buffer-use-some-window):
7442 Adapt symbol passed to display-buffer-record-window.
7443 * help.el (help-window-setup): Handle new format of quit-restore
7444 parameter.
7445
8d28cb95
SM
74462011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7447
94ab793f
SM
7448 * faces.el (face-list): Fix docstring (bug#9564).
7449
8d28cb95
SM
7450 * window.el (display-buffer--action-function-custom-type):
7451 Don't include internal functions in the Custom interface.
7452
3820edeb
JL
74532011-09-20 Juri Linkov <juri@jurta.org>
7454
7455 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7456 (Info-forward-node, Info-backward-node, Info-next-preorder)
7457 (Info-last-preorder): Use it. (Bug#9528)
7458
5147931d
JL
74592011-09-20 Juri Linkov <juri@jurta.org>
7460
7461 * info.el (Info-last-preorder): Visit last menu item only when
7462 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7463
cf499a1a
JD
74642011-09-20 Julien Danjou <julien@danjou.info>
7465
7466 * password-cache.el (password-cache-remove): Remove entries even if the
7467 value is nil, so that password with a nil value (negative caching) is
7468 possible to invalidate.
7469
f84e2fe2
LM
74702011-09-20 Lawrence Mitchell <wence@gmx.li>
7471
7472 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7473 all whitespace around breakpoint. (Bug#9553)
7474 (f90-find-breakpoint): Only break at whitespace inside a comment.
7475
78054a46
SM
74762011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * minibuffer.el (completion-file-name-table): Keep track of errors.
7479 (completion-table-with-predicate): Handle the case where pred1 is nil.
7480 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7481
345083b2
SM
74822011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7483
e24e27be
SM
7484 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7485 (debugger-return-value): Signal an error if the debugging context does
7486 not await any return value.
7487
345083b2
SM
7488 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7489 * image-mode.el (image-toggle-display-text)
7490 (image-toggle-display-image): Stay away from evil `intangible'.
7491
08d355e3
LL
74922011-09-19 Leo Liu <sdl.web@gmail.com>
7493
7494 * replace.el (occur-revert-arguments): Make it permanent-local.
7495 (occur-mode): Don't call font-lock-defontify.
7496
f01da43f
CY
74972011-09-19 Chong Yidong <cyd@stupidchicken.com>
7498
7499 * net/ldap.el (ldap-search-internal): Don't push empty search
7500 result (Bug#9508).
7501
b6072fa6
SM
75022011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7505
443d6696
MA
75062011-09-19 Michael Albinus <michael.albinus@gmx.de>
7507
7508 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7509 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7510
7cc6e154
JL
75112011-09-18 Juri Linkov <juri@jurta.org>
7512
7513 * buff-menu.el (Buffer-menu-mode-map):
7514 * dired.el (dired-mode-map):
7515 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7516 (lisp-interaction-mode-map):
7517 * emacs-lisp/package.el (package-menu-mode-map):
7518 * epa.el (epa-key-list-mode-map):
7519 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7520 (menu-bar-options-menu):
7521 * outline.el (outline-mode-menu-bar-map):
7522 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7523 * vc/vc-dir.el (vc-dir-menu-map):
7524 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7525 Capitalize non-function content words in menu item strings.
7526
7527 * dired.el (dired-mode-map): Add menu item for
7528 `image-dired-dired-toggle-marked-thumbs'.
7529
80302a81
JL
75302011-09-18 Juri Linkov <juri@jurta.org>
7531
7532 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7533 to `isearch-case-fold-search' and restore its original value
7534 after the `isearch-mode' call.
7535
46c5cf66
JL
75362011-09-18 Juri Linkov <juri@jurta.org>
7537
7538 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7539 because `zgrep' returns 1 for successful matches (bug#9226).
7540
d18b513b
JL
75412011-09-18 Juri Linkov <juri@jurta.org>
7542
7543 * info.el (Info-extract-menu-node-name): Check the second match
7544 for empty string (second test-case of bug#9528).
7545 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7546 intermediate nodes to the history (first test-case of bug#9528).
7547
72753f87
JL
75482011-09-18 Juri Linkov <juri@jurta.org>
7549
7550 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7551 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7552
c9384295
JL
75532011-09-18 Juri Linkov <juri@jurta.org>
7554
1154d12e
JB
7555 * info.el (Info-file-supports-index-cookies):
7556 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7557 outputs one more line for long file names (bug#4142).
c9384295 7558
d473dce8
CY
75592011-09-18 Chong Yidong <cyd@stupidchicken.com>
7560
7561 * newcomment.el (comment-normalize-vars): If prompting for
7562 comment-start, set comment-start-skip too (Bug#8424).
7563
2176854d
JB
75642011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7565
7566 * icomplete.el: Fix previous fix of Bug#5849.
7567 (icomplete-mode): Don't set completion-show-inline-help.
7568 (icomplete-minibuffer-setup): Set completion-show-inline-help
7569 locally during icompletion.
7570
3aace4e4
CY
75712011-09-18 Chong Yidong <cyd@stupidchicken.com>
7572
c940224f
CY
7573 * woman.el (woman2-process-escapes): Don't delete unrecognized
7574 escapes (Bug#7843).
7575
3aace4e4
CY
7576 * files.el (inhibit-first-line-modes-regexps): Add image files.
7577 (hack-local-variables-prop-line): Return nil for malformed
7578 prop-lines (Bug#9044).
7579
710dec63
MA
75802011-09-18 Michael Albinus <michael.albinus@gmx.de>
7581
7582 * net/tramp.el (top): Don't require 'shell.
7583 (tramp-methods): Fix docstring.
7584 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7585 Return complete remote file name. Handle "smb" case.
7586 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7587 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7588
7589 * net/tramp-compat.el (top): Require 'shell.
7590
7591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7592 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7593 `tramp-current-host'.
7594 (tramp-get-remote-tmpdir): Remove.
7595
7596 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7597 `tramp-tmpdir' entries.
7598 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7599 (tramp-smb-handle-file-attributes): Ignore errors.
7600 (tramp-smb-wait-for-output): Check also for process end.
7601
5d5ac8ec
LMI
76022011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7603
7604 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7605 when sending QUIT (bug#9312).
7606
8c0f49f0
CY
76072011-09-17 Chong Yidong <cyd@stupidchicken.com>
7608
7609 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7610 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7611 occur-mode-display-occurrence.
7612 (occur-edit-mode): Add usage message.
7613 (occur-cease-edit): New command.
7614 (occur-after-change-function): Use text properties to find the
7615 position of the prefix text.
7616 (occur-engine): Set stickiness of prefix text properties.
7617
8f1383f7
GM
76182011-09-17 Glenn Morris <rgm@gnu.org>
7619
7620 * progmodes/etags.el (complete-tag):
7621 Fix call to completion-in-region. (Bug#9526)
7622
744ba0e3
JL
76232011-09-17 Juri Linkov <juri@jurta.org>
7624
7625 * textmodes/ispell.el (ispell-word): Add to the error message
7626 the word, ispell program name and current dictionary (bug#9121).
7627 (ispell-tex-arg-end): Capitalize "error" in the error message.
7628
d9bbf400
AS
76292011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7630
7631 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7632 check. (Bug#4251)
7633
8da11505
JL
76342011-09-17 Juri Linkov <juri@jurta.org>
7635
7636 * window.el (window-safe-min-height, window-safe-min-width):
7637 Fix typos (followup to bug#9522).
7638
a91adc7e
SJ
76392011-09-17 Sven Joachim <svenjoac@gmx.de>
7640
7641 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7642
064f328a
EZ
76432011-09-16 Eli Zaretskii <eliz@gnu.org>
7644
7645 * simple.el (line-move): If goal-column is set, move by logical
7646 lines, not by display lines. (Bug#971)
7647 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7648 to reflect the above change.
7649
e69df516
SM
76502011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * image.el (imagemagick-register-types): Use regexp-opt.
7653
cbb0f9ab
CY
76542011-09-15 Chong Yidong <cyd@stupidchicken.com>
7655
7656 * window.el (display-buffer-base-action): Rename from
7657 display-buffer-default-action. Make default value empty.
7658 (display-buffer-overriding-action): Convert to defvar.
7659 (display-buffer-fallback-action): New var.
7660
25322144
CY
76612011-09-15 Chong Yidong <cyd@stupidchicken.com>
7662
7663 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7664 declaration.
7665 (package--add-to-archive-contents): If there is a duplicate entry
7666 with an older version, remove it.
7667 (package-menu-mark-delete, package-menu-mark-install)
7668 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7669 (package-menu-mark-obsolete-for-deletion):
7670 Use package-menu-get-status instead of a regexp search.
25322144
CY
7671 (package-menu-get-status): Use tabulated-list-entry.
7672 (package-menu-mark-upgrades): New command.
d770725a 7673 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7674 (package-menu-execute): Do installation before deletion.
7675 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7676 instead of checking major-mode.
7677 (package-menu--find-upgrades): New function.
7678
7520339c
LMI
76792011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7680
7681 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7682 passwords in the log buffer.
65a046c4
LMI
7683 (smtpmail-process-filter): Update the process marker so that the
7684 "broken by peer" status message is inserted in the right place.
7520339c 7685
d3c30954
SM
76862011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7687
3fe48822
SM
7688 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7689 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7690 bibtex-completion-at-point-function.
7691 (bibtex-completion-at-point-function): Use them.
7692
1b8b3954
SM
7693 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7694
d3c30954
SM
7695 * mpc.el (mpc-constraints-tag-lookup): New function.
7696 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7697 also to browser "album|playlist".
7698
72779976
JL
76992011-09-14 Juri Linkov <juri@jurta.org>
7700
7701 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7702 (isearch-edit-string): Use length of `isearch-string' when
7703 `isearch-fail-pos' returns nil.
7704 (isearch-message): Remove duplicate code and call
7705 `isearch-fail-pos' with arg `t'.
7706
a0bf2bcd
CY
77072011-09-14 Chong Yidong <cyd@stupidchicken.com>
7708
17bb0a2d
CY
7709 * replace.el (occur-mode-goto-occurrence): Don't force using other
7710 window (Bug#9499).
7711
a0bf2bcd
CY
7712 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7713
f678e0b6
MR
77142011-09-14 Martin Rudalics <rudalics@gmx.at>
7715
7716 * window.el (display-buffer-window): Remove.
7717 (display-buffer-record-window): Use help-setup window parameter
7718 instead of variable display-buffer-window.
7719 (display-buffer-function, special-display-buffer-names)
7720 (special-display-function): Mention help-setup parameter instead
7721 of display-buffer-window in doc-string.
d3c30954
SM
7722 * help.el (help-window-setup): New argument help-window.
7723 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7724 Reword some messages.
7725 (with-help-window): Pass window used for displaying the buffer
7726 to help-window-setup. Don't set display-buffer-window.
7727
8e39b2e8
GM
77282011-09-13 Glenn Morris <rgm@gnu.org>
7729
7730 * emacs-lisp/debug.el (debugger-make-xrefs):
7731 Preserve point. (Bug#9462)
7732
85e9c04b
CY
77332011-09-13 Chong Yidong <cyd@stupidchicken.com>
7734
7735 * window.el (window-deletable-p): Use next-frame.
7736
1b36ed6a
MR
77372011-09-13 Martin Rudalics <rudalics@gmx.at>
7738
7739 * window.el (window-auto-delete): Remove.
7740 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7741 dedication and previous buffers.
1b36ed6a
MR
7742 (switch-to-prev-buffer): Don't delete window.
7743 (delete-windows-on): Delete a window's frame if and only if the
7744 window is dedicated.
7745 (replace-buffer-in-windows): Delete buffer's window or frame if
7746 and only if window is dedicated.
7747 (quit-window): Handle quit-restore as before last change.
4d61f28d 7748 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7749
ef8ef9fb
CY
77502011-09-13 Chong Yidong <cyd@stupidchicken.com>
7751
7752 * window.el (window-deletable-p): Never delete the last frame on a
7753 given terminal.
7754
b2cba41e
GM
77552011-09-13 Glenn Morris <rgm@gnu.org>
7756
7757 * help.el (describe-key-briefly): Copy previous standard-output change.
7758
51553db6 77592011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7760
7761 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7762
b7556719
GM
77632011-09-13 Glenn Morris <rgm@gnu.org>
7764
7765 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7766 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7767
64b51947
CY
77682011-09-12 Chong Yidong <cyd@stupidchicken.com>
7769
7770 * dired-aux.el (dired-mark-read-string): Don't return default
7771 value on empty input (Bug#9361).
7772 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7773 Omit initial minibuffer contents.
7774 (dired-do-chmod): Signal an error on empty input.
7775 (dired-mark-read-string): Don't return default on empty input.
7776
7777 * files.el (file-modes-symbolic-to-number): Doc fix.
7778
393a301e
SM
77792011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * international/mule-cmds.el (ucs-completions): Remove.
7782 (read-char-by-name): Use complete-with-action instead; add metadata.
7783
fa5660f9
CY
77842011-09-11 Chong Yidong <cyd@stupidchicken.com>
7785
7786 * window.el (display-buffer--action-function-custom-type)
7787 (display-buffer--action-custom-type): New vars.
7788 (display-buffer-alist, display-buffer-default-action)
7789 (display-buffer-overriding-action): Add defcustom types.
7790
4a592f66
CY
7791 * frame.el (delete-other-frames): Doc fix (Bug#276).
7792
73d56dbd
LMI
77932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7796
37ac18a3
CY
77972011-09-11 Chong Yidong <cyd@stupidchicken.com>
7798
7799 Change modes that used same-window-* vars to use switch-to-buffer.
7800
7801 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7802 Use switch-to-buffer.
7803
7804 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7805 (customize-browse, custom-buffer-create-other-window):
7806 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7807
7808 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7809 (Info-prev, Info-up, Info-speedbar-goto-node)
7810 (info-display-manual): Use switch-to-buffer.
7811 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7812
7813 * mail/sendmail.el (mail): Use switch-to-buffer.
7814 (mail-recover): Use switch-to-buffer-other-window.
7815
7816 * cmuscheme.el (run-scheme, switch-to-scheme):
7817 * ielm.el (ielm):
7818 * shell.el (shell):
7819 * net/rlogin.el (rlogin):
7820 * net/telnet.el (telnet, rsh):
7821 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7822
10195bd6
AS
78232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7824
7825 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7826
b322f63a
LMI
78272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
39d7fed6
LMI
7829 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7830 so don't mention it (bug#9301).
ba5a81f1 7831 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7832
ee0e9f11
LMI
7833 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7834 match `x', `w32' and `ns', like the manual says (bug#9029).
7835
0b1c89c1 7836 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7837 (process-kill-buffer-query-function): Mention the buffer name in
7838 the query.
0b1c89c1 7839
77549ea8
LMI
7840 * image-mode.el (image-next-line): The line parameter is mandatory
7841 (bug#9258).
7842
803ef892
LMI
7843 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7844 which can be useful (bug#9301).
7845
12980837
LMI
7846 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7847
91054f8f
LMI
7848 * subr.el (match-string): Mention that the current buffer should
7849 be the same as the search was done in (bug#9282).
7850
b322f63a
LMI
7851 * facemenu.el: Disable the remove-* commands if the mark isn't
7852 active (bug#9162).
7853
3199b96f
CY
78542011-09-10 Chong Yidong <cyd@stupidchicken.com>
7855
7856 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7857 of display-buffer.
7858 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7859
7860 * replace.el (occur-mode-goto-occurrence)
7861 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7862 and display-buffer.
7863
7864 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7865 display-buffer.
7866
7867 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7868 special-display and same-window variables.
7869 (mail-other-window): Use switch-to-buffer-other-window.
7870 (mail-other-frame): USe switch-to-buffer-other-frame.
7871
393a301e
SM
7872 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7873 Use display-buffer-other-frame.
3199b96f
CY
7874 (gdb-display-gdb-buffer): Use pop-to-buffer.
7875
7876 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7877
7878 * progmodes/python.el: Don't set same-window-buffer-names.
7879
7880 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7881
7882 * window.el (display-buffer-alist): Add *Python*.
7883
8319e0bf
CY
78842011-09-10 Chong Yidong <cyd@stupidchicken.com>
7885
7886 * window.el (display-buffer-alist): Add entry for buffers
7887 previously handled same-window-*.
7888 (display-buffer-alist, display-buffer-default-action)
7889 (display-buffer-overriding-action): Mark as risky.
7890 (display-buffer-alist): Document action function changes.
7891 (display-buffer--same-window-action)
7892 (display-buffer--other-frame-action): New variables.
7893 (switch-to-buffer, display-buffer-other-frame): Use them.
7894 (display-buffer): Rename reuse-frame entry to reusable-frames.
7895 (display-buffer-reuse-selected-window): Function deleted.
7896 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7897 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7898 (display-buffer-special): New function.
7899 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7900 display-buffer-reuse-or-pop-window. Split off special-display
7901 part into display-buffer-special.
7902 (display-buffer-use-some-window): Don't perform any special
7903 pop-up-frames handling.
7904 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7905 (display-buffer--maybe-same-window): Rename from
0d3ff375 7906 display-buffer-maybe-same-window.
8319e0bf 7907
919a69aa
CY
7908 * info.el: Don't set same-window-regexps.
7909 (info-setup): New function.
7910 (info-other-window, info): Call it.
7911
7912 * cus-edit.el: Don't set same-window-regexps.
7913 (customize-group): New argument.
7914 (customize-group-other-window): Use it.
7915 (customize-face, customize-face-other-window): Likewise.
7916 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7917
8319e0bf
CY
7918 * net/rlogin.el:
7919 * net/telnet.el:
7920 * progmodes/gud.el: Don't set same-window-regexps.
7921
7922 * cmuscheme.el:
7923 * ielm.el:
7924 * shell.el:
7925 * mail/sendmail.el:
7926 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7927
25173000
JL
79282011-09-10 Juri Linkov <juri@jurta.org>
7929
7930 * isearch.el (isearch-edit-string): Remove obsolete mention of
7931 `C-w' (`isearch-yank-word-or-char') from docstring.
7932 (isearch-query-replace): Fix typo in docstring (bug#9466).
7933
056e44ef
JL
79342011-09-10 Juri Linkov <juri@jurta.org>
7935
7936 * paren.el (show-paren-function): Don't show escaped parens.
7937 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7938
c3760c17
EZ
79392011-09-10 Eli Zaretskii <eliz@gnu.org>
7940
7941 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7942 (mm-default-file-encoding): Remove autoload forms, they are
7943 replaced with autoload cookies in mml.el and mm-encode.el.
7944 (mail-add-attachment): New command.
7945 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7946 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7947 the doc string.
7948 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7949
fece895e
RT
79502011-09-10 Reuben Thomas <rrt@sc3d.org>
7951
e69df516
SM
7952 * simple.el (count-words-region): Use buffer if there's no region
7953 (bug#9429).
fece895e 7954
5e68ce4a
JL
79552011-09-09 Juri Linkov <juri@jurta.org>
7956
7957 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7958 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7959 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7960
0a6b9622
AM
79612011-09-09 Alan Mackenzie <acm@muc.de>
7962
7963 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7964 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7965
14a29deb
EZ
79662011-09-09 Eli Zaretskii <eliz@gnu.org>
7967
7968 Fix for Savannah bug#9392.
7969 * simple.el (mail-encode-mml): New defvar.
7970
7971 * mail/rmail.el (mail-encode-mml): Add a defvar.
7972 (rmail-enable-mime-composing): Default to t.
7973 (rmail-forward): Use MIME method of forwarding only if both
7974 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7975 Set mail-encode-mml non-nil if the MIME method was used.
7976
7977 * mail/sendmail.el (mml-to-mime): Add autoload form.
7978 (mail-encode-mml): Add a defvar.
7979 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7980 to nil.
7981 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7982 message through mml-to-mime, and reset mail-encode-mml to nil.
7983
28c45130
GM
79842011-09-09 Glenn Morris <rgm@gnu.org>
7985
7986 * woman.el (woman-if-body): When processing an .el block,
7987 do not delete the next .el block as well. (Bug#9447)
69f4b618 7988 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7989
9b1c252e
MR
79902011-09-08 Martin Rudalics <rudalics@gmx.at>
7991
7992 * window.el (window-deletable-p): Make sure window is live before
7993 invoking window-prev-buffers.
7994
567457e3
LL
79952011-09-08 Leo Liu <sdl.web@gmail.com>
7996
7997 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7998
97f05794
JL
79992011-09-08 Juri Linkov <juri@jurta.org>
8000
8001 * progmodes/compile.el (compilation-environment): Make it
8002 a defcustom (bug#8340).
8003
8b0874b5
MR
80042011-09-08 Martin Rudalics <rudalics@gmx.at>
8005
8006 * window.el (frame-auto-delete): Rename to window-auto-delete.
8007 Make it control auto-deletion of windows and/or frames.
8008 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8009 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8010 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8011 Rewrite handling of case when window/frame can be deleted.
8012 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8013 argument t. (Bug#9456)
8b0874b5 8014
4feb6e73
CY
80152011-09-07 Chong Yidong <cyd@stupidchicken.com>
8016
8017 * help-mode.el (help-mode): Restore autoload.
8018
91ab9c13
JL
80192011-09-07 Juri Linkov <juri@jurta.org>
8020
8021 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8022 `compilation-environment'. Set buffer-local
8023 `compilation-environment' to `thisenv' later after (funcall mode).
8024 (Bug#8340)
8025
8026 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8027 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8028 instead of replacing its value. (Bug#8340)
8029
0527e251
JL
80302011-09-07 Juri Linkov <juri@jurta.org>
8031
8032 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8033 based on text properties put by `grep-filter' instead of matching
8034 escape sequences.
8035 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8036 to the value of `grep-error-screen-columns' (bug#9438).
8037
249f792c
JL
80382011-09-07 Juri Linkov <juri@jurta.org>
8039
8040 * simple.el (next-error-highlight, next-error-highlight-no-select):
8041 Doc fix (bug#9432).
8042
ff7271b9
OT
80432011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8044
8045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8046 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8047
183fc730
LL
80482011-09-07 Leo Liu <sdl.web@gmail.com>
8049
8050 * net/rcirc.el (rcirc-mode): Conditionally initialize
8051 rcirc-input-ring.
8052
77694924
SM
80532011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * emacs-lisp/find-func.el (find-function-C-source): Only set
8056 find-function-C-source-directory after checking that we found a source
8057 file there (bug#9440).
8058
d809b8eb
AM
80592011-09-06 Alan Mackenzie <acm@muc.de>
8060
8061 * isearch.el (isearch-other-meta-char): Wherever a key list is
8062 unread, "unread" the prefix arg, too. This fixes bug #8901.
8063
453de99f
OG
80642011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8065
8066 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8067
90439906
JL
80682011-09-05 Juri Linkov <juri@jurta.org>
8069
8070 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8071
f62bd846
JL
80722011-09-05 Juri Linkov <juri@jurta.org>
8073
8074 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8075 keeping point where processing of grep matches begins, and
8076 continue to delete remaining escape sequences from the same point.
8077 (grep-filter): Make leading zero optional in "0?1;31m" because
8078 git-grep emits "\033[1;31m" escape sequences unlike expected
8079 "\033[01;31m" as GNU Grep does (bug#9408).
8080 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8081
045820ec
JL
80822011-09-05 Juri Linkov <juri@jurta.org>
8083
8084 * subr.el (y-or-n-p): Capitalize "yes".
8085
f5e29b9b
MA
80862011-09-04 Michael Albinus <michael.albinus@gmx.de>
8087
8088 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8089 `tramp-cache-unload-hook' where appropriate.
8090 (tramp-methods): Rename `tramp-remote-sh' to
8091 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8092 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8093
8094 * net/tramp-sh.el (top): Don't require 'shell.
8095 (tramp-methods): Add `tramp-remote-shell' and
8096 `tramp-remote-shell-args' entries.
8097 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8098 (tramp-sh-handle-shell-command): Remove.
8099 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8100 Use `tramp-remote-shell'.
8101
2784c434
CY
81022011-09-03 Chong Yidong <cyd@stupidchicken.com>
8103
393a301e 8104 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8105 (sendmail-query-once): Save directly to send-mail-function.
8106 Update message-send-mail-function too.
8107
8108 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8109
464cdf56
CS
81102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8111
8112 * progmodes/python.el (python-mode-map): Use correct function to
8113 start python interpreter from menu-bar (as reported by Geert
8114 Kloosterman).
8115 (inferior-python-mode-map): Fix typo.
393a301e 8116 (python-shell-map): Remove.
464cdf56 8117
d37e5c87
DD
81182011-09-03 Deniz Dogan <deniz@dogan.se>
8119
8120 * net/rcirc.el (rcirc-print): Simplify code for
8121 rcirc-scroll-show-maximum-output. There is no need to walk
8122 through all windows to find the right one.
8123
f3ada0ee
CS
81242011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8125
8126 * help.el (help-return-method): Doc fix.
8127
1f3c99ca
MR
81282011-09-03 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (window-deletable-p): Don't return a non-nil value
8131 when there's a buffer that was shown in the window before.
8132 (Bug#9419)
393a301e
SM
8133 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8134 Set window's previous buffers to nil.
1f3c99ca 8135
a3cf097f
EZ
81362011-09-03 Eli Zaretskii <eliz@gnu.org>
8137
8138 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8139 newline before and after the tag line, so it doesn't interfere
8140 with determining the paragraph direction of bidirectional text.
8141
3d03de90
LL
81422011-09-03 Leo Liu <sdl.web@gmail.com>
8143
8144 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8145
c3313451
CY
81462011-09-02 Chong Yidong <cyd@stupidchicken.com>
8147
393a301e 8148 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8149 (pop-to-buffer): Change interactive spec. Pass second argument
8150 directly to display-buffer.
8151 (display-buffer): Fix interactive spec. Use functionp to
8152 distinguish between a function and a list of functions.
8153
8154 * abbrev.el (edit-abbrevs):
8155 * arc-mode.el (archive-extract):
8156 * autoinsert.el (auto-insert):
8157 * bookmark.el (bookmark-bmenu-list):
8158 * files.el (find-file):
8159 * view.el (view-buffer):
8160 * progmodes/compile.el (compilation-goto-locus):
8161 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8162
89894cd8
CY
81632011-09-02 Chong Yidong <cyd@stupidchicken.com>
8164
8165 * window.el (display-buffer-alist): Doc fix.
8166 (display-buffer): Add docstring. Don't treat
8167 display-buffer-default specially.
8168 (display-buffer-reuse-selected-window)
8169 (display-buffer-same-window, display-buffer-maybe-same-window)
8170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8171 (display-buffer-pop-up-window)
8172 (display-buffer-reuse-or-pop-window)
8173 (display-buffer-use-some-window): New functions.
8174 (display-buffer-default-action): Use them.
393a301e 8175 (display-buffer-default): Delete.
89894cd8
CY
8176 (pop-to-buffer-1): Fix choice of actions.
8177
ae0bc9fb
SM
81782011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * minibuffer.el (completion--insert-strings): Don't get confused by
8181 completion entries that end with an LF char.
8182
e9d90883
EZ
81832011-09-01 Eli Zaretskii <eliz@gnu.org>
8184
8185 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8186
437014c8
CY
81872011-09-01 Chong Yidong <cyd@stupidchicken.com>
8188
8189 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8190 (display-buffer-same-window, display-buffer-other-window):
8191 New functions.
437014c8
CY
8192 (pop-to-buffer-1): New function. Use the above.
8193 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8194 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8195
8196 * view.el (view-buffer-other-window, view-buffer-other-frame):
8197 Just use pop-to-buffer.
8198
a5e063d5
TV
81992011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8200
8201 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8202
793d32bb
WH
82032011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8204
8205 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8206
d65e4c15
RS
82072011-08-31 Richard Stallman <rms@gnu.org>
8208
8209 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8210 of the separation of rmail-view-buffer from rmail-buffer.
8211 If you say no to "replace original", the decrypt is in the
8212 view buffer. If you say yes, the decrypt goes into the
8213 rmail buffer also.
8214
f818cd2a
MR
82152011-08-31 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (display-buffer-window): Rewrite doc-string.
8218 (display-buffer-record-window): New function.
8219 (display-buffer-macro-specifiers)
8220 (display-buffer-even-window-sizes, display-buffer-set-height)
8221 (display-buffer-set-width, display-buffer-in-window)
8222 (display-buffer-reuse-window, display-buffer-split-specifiers)
8223 (display-buffer-side-specifiers, display-buffer-split-window-1)
8224 (display-buffer-split-window, display-buffer-split-atom-window)
8225 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8226 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8227 (display-buffer-other-window-means-other-frame)
8228 (display-buffer-normalize-special)
8229 (display-buffer-normalize-default)
8230 (display-buffer-normalize-argument)
8231 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8232 (display-buffer-normalize-specifiers, display-buffer-frame)
8233 (display-buffer-same-window, display-buffer-same-frame)
8234 (display-buffer-other-window)
8235 (display-buffer-same-frame-other-window)
8236 (display-buffer-other-frame, pop-to-buffer-same-window)
8237 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8238 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8239 (switch-to-buffer-same-frame)
8240 (switch-to-buffer-other-window-same-frame)
8241 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8242 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8243 (display-buffer-alist-set): Remove.
8244 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8245 (special-display-regexps, special-display-function):
8246 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8247 parameter.
8248 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8249 (special-display-frame-alist, special-display-popup-frame)
8250 (same-window-buffer-names, same-window-regexps, same-window-p)
8251 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8252 (split-window-preferred-function, split-height-threshold)
8253 (split-width-threshold, window-splittable-p)
8254 (split-window-sensibly, window--try-to-split-window)
8255 (window--frame-usable-p, even-window-heights)
8256 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8257 (window--display-buffer-2, display-buffer-other-frame):
8258 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8259 (display-buffer-default, display-buffer-assq-regexp): New functions.
8260 (display-buffer-alist): Rewrite doc-string.
8261 (display-buffer-default-action)
8262 (display-buffer-overriding-action): New variables.
8263 (display-buffer, switch-to-buffer): Rewrite.
8264 (pop-to-buffer): Restore Emacs 23 behavior but use
8265 window-normalize-buffer-to-display.
8266 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8267 Restore Emacs 23 behavior but use
8268 window-normalize-buffer-to-switch-to.
8269 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8270 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8271 Rewrite using Emacs 23 options.
f818cd2a 8272
5bc3b51d
MA
82732011-08-31 Michael Albinus <michael.albinus@gmx.de>
8274
8275 * net/tramp.el (tramp-root-regexp): Remove.
8276 (tramp-completion-file-name-regexp-unified)
8277 (tramp-completion-file-name-regexp-separate)
8278 (tramp-completion-file-name-regexp-url): Don't use leading volume
8279 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8280 (tramp-drop-volume-letter): Simplify definition.
8281 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8282
b1a4f8e1
SM
82832011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8286 (bug#9356).
8287
5664fa7b
RT
82882011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8289
b1a4f8e1 8290 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8291
9a45d6c3
JL
82922011-08-29 Juri Linkov <juri@jurta.org>
8293
8294 * isearch.el (isearch-done): Don't display message "Mark saved"
8295 when arg `edit' is non-nil to prevent its flicker in the echo area.
8296
fb87e0fb
CY
82972011-08-28 Chong Yidong <cyd@stupidchicken.com>
8298
8299 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8300 obsolete packages for deletion.
8301
09ac1c2a
CS
83022011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8303
8304 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8305 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8306 view-mode from help-mode.
8307 (help-xref-override-view-map): Remove.
8308 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8309 view-mode is not used anymore.
8310
7a1ff57f
CY
83112011-08-28 Chong Yidong <cyd@stupidchicken.com>
8312
8313 * server.el (server-port): Doc fix.
8314
b9696605
CY
8315 * cus-theme.el (custom-theme-choose-mode): Inherit from
8316 special-mode (Bug#9124).
8317 (custom-theme-choose-mode-map): Add special-mode to parent.
8318
ef8cdf8c
AM
83192011-08-28 Alan Mackenzie <acm@muc.de>
8320
8321 * progmodes/cc-fonts.el
8322 (c-make-font-lock-BO-decl-search-function): New function.
8323 (c-basic-matchers-after - "Fontify the clauses after various
8324 keywords"): Extract the three keyword lists for the 3 erroneous
8325 constructs from the list of four, and use the new function above
8326 in place of an old one.
8327
27de4e20
DD
83282011-08-28 Deniz Dogan <deniz@dogan.se>
8329
8330 * net/rcirc.el (rcirc-insert-prev-input)
8331 (rcirc-insert-next-input): Remove unused argument.
8332
356a3681
SM
83332011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8336
3fc9b218
AM
83372011-08-27 Alan Mackenzie <acm@muc.de>
8338
8339 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8340 handle function pointer parameters properly.
8341
538a061c
MR
83422011-08-27 Martin Rudalics <rudalics@gmx.at>
8343
8344 * window.el (display-buffer-reuse-window): Fix case where
8345 selected window was reused with non-nil OTHER-WINDOW argument.
8346 (Bug#9381)
8347
35b1c40c
DD
83482011-08-27 Deniz Dogan <deniz@dogan.se>
8349
8350 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8351 oftc's NickServ messages.
8352
2f6a3e79
GM
83532011-08-27 Glenn Morris <rgm@gnu.org>
8354
8355 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8356
7254299e
CY
83572011-08-26 Chong Yidong <cyd@stupidchicken.com>
8358
8359 * emacs-lisp/package.el (package-install): Call package-initialize
8360 if called interactively.
8361
f8ccf167
LL
83622011-08-26 Leo Liu <sdl.web@gmail.com>
8363
8364 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8365
3e8cd5ce
JL
83662011-08-25 Juri Linkov <juri@jurta.org>
8367
8368 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8369 `search-whitespace-regexp' (bug#9364).
8370
93eb7113
JL
83712011-08-25 Juri Linkov <juri@jurta.org>
8372
8373 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8374 `regexp-search-ring' to their global values to protect from
8375 updating by `read-from-minibuffer' (bug#9185).
8376
f65d1611
JL
83772011-08-25 Juri Linkov <juri@jurta.org>
8378
8379 * textmodes/ispell.el (ispell-command-loop): Add newline
8380 at the end of the "Use option `i'..." line.
8381
f1cf7a31
JL
83822011-08-25 Juri Linkov <juri@jurta.org>
8383
8384 * battery.el (display-battery-mode): If `battery-status-function'
8385 or `battery-mode-line-format' is nil, display the message and set
8386 `display-battery-mode' to nil (bug#9363).
8387
0c95fcf7
EZ
83882011-08-25 Eli Zaretskii <eliz@gnu.org>
8389
8390 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8391 bidi-string-mark-left-to-right; they are unnecessary now.
8392
a2ebe600
DD
83932011-08-25 Deniz Dogan <deniz@dogan.se>
8394
8395 * net/quickurl.el: Documentation typo fixes.
8396
e4ed06f1
CY
83972011-08-25 Chong Yidong <cyd@stupidchicken.com>
8398
8399 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8400
e5f1c99e
GM
84012011-08-25 Glenn Morris <rgm@gnu.org>
8402
b2948976
GM
8403 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8404
e5f1c99e
GM
8405 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8406 (smtpmail-via-smtp): Handle nil response from smtp.
8407
f22f4808
JL
84082011-08-24 Juri Linkov <juri@jurta.org>
8409
8410 * proced.el (proced-marked): Inherit from `error' instead of
8411 `font-lock-warning-face'.
8412
8413 * ibuffer.el (ibuffer-marked-face): Change default face from
8414 `font-lock-warning-face' to `warning'.
8415 (ibuffer-deletion-face): Change default face from
8416 `font-lock-type-face' to `error'.
8417
8418 * battery.el (battery-update): Use the face `error' instead of
8419 `font-lock-warning-face' (bug#6117).
8420
6a93965e
JL
84212011-08-24 Juri Linkov <juri@jurta.org>
8422
8423 * faces.el (success): Change face color from "Green3" to
8424 "ForestGreen" on light background (bug#9353).
8425
1ed43b09
CY
84262011-08-24 Chong Yidong <cyd@stupidchicken.com>
8427
5664fa7b
RT
8428 * window.el (quit-window): Rename from quit-restore-window.
8429 Use same arglist as old quit-window.
1ed43b09
CY
8430 (frame-auto-delete): Doc fix.
8431
8432 * view.el (view-mode-exit): Use quit-window.
8433
11dcdbb2
JL
84342011-08-24 Juri Linkov <juri@jurta.org>
8435
8436 * isearch.el (isearch-ring-adjust1): Start visiting previous
8437 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8438 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8439 for empty search string (when the last search string is reused
8440 automatically) to adjust the isearch ring to the last element and
8441 prepare the correct index for further M-p commands (bug#9185).
8442
de62b4df
KH
84432011-08-24 Kenichi Handa <handa@m17n.org>
8444
8445 * international/ucs-normalize.el: If decomposition property of
8446 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8447 nil.
8448 (nfd, nfkd): Likewise.
8449
963b492b
SM
84502011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8453 from process filters aren't reliably transmitted to the surrounding
8454 accept-process-output.
8455 (mpc-proc-check): New function.
8456 (mpc-proc-sync): Use it (bug#8293)
8457
93b6b5e1
SM
84582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8461 Add compatibility functions (bug#9313).
8462
bca633fb
EZ
84632011-08-23 Eli Zaretskii <eliz@gnu.org>
8464
b177498a
EZ
8465 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8466
6df6ae42 8467 * international/uni-bidi.el: Regenerate.
bca633fb 8468
0902a04e
KH
84692011-08-23 Kenichi Handa <handa@m17n.org>
8470
8471 * international/charprop.el:
8472 * international/uni-bidi.el:
8473 * international/uni-category.el:
8474 * international/uni-combining.el:
8475 * international/uni-comment.el:
8476 * international/uni-decimal.el:
8477 * international/uni-decomposition.el:
8478 * international/uni-digit.el:
8479 * international/uni-lowercase.el:
8480 * international/uni-mirrored.el:
8481 * international/uni-name.el:
8482 * international/uni-numeric.el:
8483 * international/uni-old-name.el:
8484 * international/uni-titlecase.el:
8485 * international/uni-uppercase.el: Regenerate.
8486
3bbf23bc
MR
84872011-08-23 Martin Rudalics <rudalics@gmx.at>
8488
8489 * help.el (help-window-setup): Fix message displayed when other
8490 window is reused. (Bug#9341)
8491
b3fd59bd
SM
84922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8493
1802e444
SM
8494 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8495 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8496
b3fd59bd
SM
8497 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8498 Mark obsolete.
8499 * shell.el (shell-parse-pcomplete-arguments): New function.
8500 (shell-completion-vars): Use it instead (bug#9160).
8501
4eb61348
SM
85022011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8503
867cab74
SM
8504 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8505 strings and comments (bug#9333).
8506
4eb61348
SM
8507 * emacs-lisp/debug.el (debug-arglist): New function.
8508 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8509 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8510
262a1439
JL
85112011-08-22 Juri Linkov <juri@jurta.org>
8512
56ee679c
JL
8513 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8514 Revert regexp that highlights output switches to its old
8515 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8516
262a1439
JL
8517 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8518 to check for empty output (bug#9226).
8519
f13f86fb
CY
85202011-08-22 Chong Yidong <cyd@stupidchicken.com>
8521
8522 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8523 symbol-constituent as the default, as that stops font-lock from
8524 working properly (Bug#8843).
8525
c65c9622
LMI
85262011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8529 `coding-system-for-*' around the process open call to avoid
8530 auth-source side effects.
e7f2c178 8531 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8532 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8533 probe hangs.
c65c9622 8534
23a8a5ab
CY
85352011-08-21 Chong Yidong <cyd@stupidchicken.com>
8536
ff98b2dd
CY
8537 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8538
23a8a5ab
CY
8539 * emacs-lisp/find-func.el (find-function-noselect): New arg
8540 lisp-only.
8541
8542 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8543 signal an error for built-in functions (Bug#6664).
8544
f5e3c598
LMI
85452011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8546
8547 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8548 (smtpmail-try-auth-methods): Use it.
8549
a3f2468a
CY
85502011-08-21 Chong Yidong <cyd@stupidchicken.com>
8551
2c34e8da
CY
8552 * font-lock.el (font-lock-fontify-region)
8553 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8554 (font-lock-default-unfontify-buffer)
8555 (font-lock-default-fontify-region)
8556 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8557
b3fd59bd
SM
8558 * progmodes/compile.el (compilation-error-properties):
8559 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8560 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8561 `ant' regexp.
ee31aabc 8562
a3f2468a
CY
8563 * net/browse-url.el (browse-url-firefox): Don't call
8564 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8565
8e999f70
GM
85662011-08-20 Glenn Morris <rgm@gnu.org>
8567
c21a496a
GM
8568 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8569
59ee0542
GM
8570 * tutorial.el (tutorial--default-keys): Update some default bindings.
8571
8e999f70
GM
8572 * files.el (hack-local-variables): Fully ignore case for "mode:".
8573
e3715033
AM
85742011-08-20 Alan Mackenzie <acm@muc.de>
8575
8576 Resolve invalid use of a regexp in regexp-opt.
8577
4d61f28d
JB
8578 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8579 detection for a java annotation.
e3715033 8580
4d61f28d 8581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8582 detection for a java annotation.
8583
4d61f28d
JB
8584 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8585 handling for java.
e3715033
AM
8586 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8587
04ed2e9c
CY
85882011-08-20 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8591 (Bug#9274).
8592
826cee64
AM
85932011-08-20 Alan Mackenzie <acm@muc.de>
8594
58179cce 8595 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8596 such a construct. Mainly for when jit-lock etc. starts a chunk
8597 here.
8598
58179cce 8599 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8600 variable.
58179cce 8601 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8602 c-make-font-lock-search-function.
8603 (c-make-font-lock-search-function): Use the above function.
8604 (c-make-font-lock-context-search-function): New function.
8605 (c-cpp-matchers): Enhance the preprocessor expression case with
8606 the above function
8607 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8608 which takes an expression.
8609
8610 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8611
13009bd8
MR
86122011-08-20 Martin Rudalics <rudalics@gmx.at>
8613
8614 * window.el (display-buffer-reuse-window)
8615 (display-buffer-pop-up-window): Don't reuse or split a side
8616 window.
8617
9234ff7f
GM
86182011-08-19 Glenn Morris <rgm@gnu.org>
8619
8620 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8621 Downcase "Mode:". (Bug#9331)
9234ff7f 8622
f635daa1
CY
86232011-08-18 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * international/characters.el: Add L and R categories.
8626
8627 * subr.el (bidi-string-mark-left-to-right): Rename from
8628 string-mark-left-to-right. Use category search.
8629
8630 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8631
bc987f8b
JL
86322011-08-18 Juri Linkov <juri@jurta.org>
8633
8634 * faces.el (error, warning, success): New faces with definitions
8635 copied from old default values of `font-lock-warning-face',
8636 `compilation-warning', `compilation-info' (bug#6117).
8637
8638 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8639
8640 * progmodes/compile.el (compilation-error): Inherit from `error'.
8641 (compilation-warning): Inherit from `warning'.
8642 (compilation-info): Inherit from `success'.
8643
8644 * dired.el (dired-marked): Inherit from `warning'.
8645 (dired-flagged): Inherit from `error'.
8646
57173b96
LMI
86472011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
3e79eb87
LMI
8649 * mail/smtpmail.el (auth-source): Require to avoid problems with
8650 binding variables (bug#9298). Also clean up some unused
8651 autoloads.
8652
b3fd59bd
SM
8653 * net/network-stream.el (network-stream-open-starttls):
8654 Support using starttls.el without using gnutls-cli.
57173b96 8655
02b404de
JL
86562011-08-17 Juri Linkov <juri@jurta.org>
8657
8658 * progmodes/grep.el (rgrep): Handle the case when
8659 `grep-find-command' is a cons cell (bug#9278).
8660
8c9177f2
MR
86612011-08-17 Martin Rudalics <rudalics@gmx.at>
8662
8663 * window.el (display-buffer-pop-up-frame): Run frame creation
8664 function with BUFFER current (as special-display-popup-frame
8665 does). Reported by Drew Adams.
8666
3644a0ab
DU
86672011-08-17 Daiki Ueno <ueno@unixuser.org>
8668
8669 * epa-mail.el: Simplify GnuPG group expansion using
8670 epg-expand-group.
8671 (epa-mail-group-alist, epa-mail-group-modtime)
8672 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8673 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8674 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8675 Remove.
8676
5e617bc2 86772011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8678
8679 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8680
9c4aeabf
AM
86812011-08-16 Alan Mackenzie <acm@muc.de>
8682
8683 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8684 Correct, to avoid the inside of macros.
8685
3a99bf64
RS
86862011-08-16 Richard Stallman <rms@gnu.org>
8687
04963aa8
RS
8688 * epa-mail.el: Handle GnuPG group definitions.
8689 (epa-mail-group-alist, epa-mail-group-modtime)
8690 (epa-mail-gnupg-conf-file): New variables.
8691 (epa-mail-parse-groups, epa-mail-sync-groups)
8692 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8693 (epa-mail-expand-recipients): New functions.
8694 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8695
177549d0
RS
8696 * mail/rmail.el (rmail-epa-decrypt): New command.
8697
fe38beef
RS
8698 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8699 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8700 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8701 (epa-decrypt-armor-in-region): Make error message clearer.
8702
934eacb9
SM
87032011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8706 and "a2b" to "ab" for `prefix'.
8707
d024fb4e
CY
87082011-08-14 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8711 filter groups.
de148fee
CY
8712 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8713 Fourquet (Bug#8804).
d024fb4e 8714
62f1ca49
JB
87152011-08-12 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * startup.el (argi): Declare as global variable (bug#9275).
8718
9ccaaa4b
CY
87192011-08-12 Chong Yidong <cyd@stupidchicken.com>
8720
8721 * subr.el (string-mark-left-to-right): Search the entire string
8722 for RTL script, not just the terminating character. Doc fix.
8723
a3dae87a
SM
87242011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8725
6cd18349
SM
8726 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8727 New function.
8728 (js--regexp-literal, js-syntax-propertize-function): Remove.
8729 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8730 (js-mode-map): Don't rebind electric keys.
8731 (js-insert-and-indent): Remove.
8732 (js-mode): Setup electric-layout and electric-indent instead.
8733
a3dae87a
SM
8734 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8735
9d5cb631
DU
87362011-08-12 Daiki Ueno <ueno@unixuser.org>
8737
8738 * epa.el (epa-progress-callback-function): Fix the logic of
8739 displaying progress.
8740 * epa-file.el (epa-file-insert-file-contents): Make progress
8741 display more user-friendly.
8742 (epa-file-write-region): Ditto.
8743
3e26a4a2
CY
87442011-08-10 Chong Yidong <cyd@stupidchicken.com>
8745
8746 * subr.el (string-mark-left-to-right): New function.
8747
8748 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8749 Use string-mark-left-to-right.
8750 (list-buffers-noselect): Caller changed.
8751
a3dae87a
SM
8752 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8753 Use string-mark-left-to-right.
3e26a4a2
CY
8754 (tabulated-list-print): Recenter after moving point.
8755
ac8cf6e6
JL
87562011-08-10 Juri Linkov <juri@jurta.org>
8757
8758 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8759 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8760 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8761
8d96c9a4
CY
87622011-08-09 Chong Yidong <cyd@stupidchicken.com>
8763
8764 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8765 (Bug#7554).
8766
7be1c708 87672011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8768
8769 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8770 character. (Bug#6594)
8771
37e11a63
CY
87722011-08-08 Chong Yidong <cyd@stupidchicken.com>
8773
839dde57
CY
8774 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8775 (image-dired--with-db-file): New macro.
8776 (image-dired-write-tags, image-dired-remove-tag)
8777 (image-dired-create-gallery-lists, image-dired-write-comments)
8778 (image-dired-get-comment, image-dired-mark-tagged-files)
8779 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8780 (image-dired-gallery-generate): Use insert-file-contents.
8781
37e11a63
CY
8782 * time.el (display-time-world-list, display-time-world-display):
8783 * time-stamp.el (time-stamp-string):
8784 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8785 set-time-zone-rule (Bug#7337).
8786
0b4946c4
DU
87872011-08-08 Daiki Ueno <ueno@unixuser.org>
8788
8789 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8790 (epg-error-to-string, epg-errors-to-string): New function.
8791 (epg-wait-for-completion): Reverse errors list.
8792 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8793 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8794 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8795 (epg-sign-keys, epg-generate-key-from-file)
8796 (epg-generate-key-from-string): Format errors by using
8797 epg-errors-to-string (bug#9255).
8798 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8799
75bfc667
JL
88002011-08-07 Juri Linkov <juri@jurta.org>
8801
8802 * faces.el (list-faces-display): Remove extra angle bracket
8803 from `help-mode-map'.
8804
8805 * info.el (Info-history-toc-nodes): Doc fix.
8806
8807 * longlines.el (longlines-mode): Doc fix.
8808
673e08bb
SM
88092011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8810
4640dd88
SM
8811 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8812 of statements and in a few more cases (bug#9183).
8813
673e08bb
SM
8814 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8815 New functions.
8816 (cl-transform-lambda): Use them (bug#9239).
8817
89b3f019
MR
88182011-08-05 Martin Rudalics <rudalics@gmx.at>
8819
8820 * window.el (display-buffer-same-window)
8821 (display-buffer-same-frame, display-buffer-other-window)
8822 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8823 (pop-to-buffer-other-window)
8824 (pop-to-buffer-same-frame-other-window)
8825 (pop-to-buffer-other-frame): Make them defuns.
8826 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8827
640c8776
SM
88282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * subr.el (make-composed-keymap): Move from C. Change calling
8831 convention, and improve docstring to bring attention to a subtle point.
8832 * minibuffer.el (completing-read-default): Adjust accordingly.
8833
63648a95
MA
88342011-08-03 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8837 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8838
8839 * net/trampver.el: Update release number.
8840
b796c9b7
SM
88412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8844 "in" (bug#9190).
8845
2239d7d5
LMI
88462011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8847
e07dd7c3
LMI
8848 * mail/sendmail.el (sendmail-query-once): Restore the current
8849 buffer after querying (bug#9074).
8850
0e6a2bd7
LMI
8851 * dired.el (dired-flagged): Use different faces for marked and
8852 flagged files (bug#6117).
8853
ce887515
LMI
8854 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8855 (bug#4433).
8856
92f2affc
LMI
8857 * ido.el (ido-mode): Switch off the message if called
8858 non-interactively.
8859
57d5aff0
LMI
8860 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8861 before 587, since it appears that that's more likely to work for
8862 more people.
8863
98cd6c18 8864 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8865 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8866 exist.
8867
b96dec83
LMI
8868 * info.el: Remove the `Info-beginning-of-buffer' function
8869 (bug#8325).
8870
b796c9b7
SM
8871 * net/network-stream.el (network-stream-open-starttls):
8872 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8873
d90e2ea0
MR
88742011-08-01 Martin Rudalics <rudalics@gmx.at>
8875
8876 * window.el (display-buffer-in-window): Don't set dedicated status
8877 of window here (Bug#9215).
8878 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8879 (display-buffer-pop-up-side-window)
b796c9b7 8880 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8881
cca09170
SM
88822011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8885 before binding generated-autoload-file.
8886
027b979c
DD
88872011-08-01 Deniz Dogan <deniz@dogan.se>
8888
8889 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8890
3c7ee4f3
MA
88912011-07-30 Michael Albinus <michael.albinus@gmx.de>
8892
8893 Sync with Tramp 2.2.2.
8894
8895 * net/trampver.el: Update release number.
8896
2cc8e51a
JL
88972011-07-30 Juri Linkov <juri@jurta.org>
8898
8899 * dired-aux.el (dired-touch-initial): Remove function.
8900 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8901 current time, and `default' to the last modification time of the
8902 current marked file (bug#6887).
8903
a514d856
JM
89042011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8905
8906 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8907 numeric argument to read-number (bug#9163).
a514d856 8908
8a7eddd7
MA
89092011-07-27 Michael Albinus <michael.albinus@gmx.de>
8910
8911 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8912 connection process, it could be nil.
8913
1ddd96f5
LL
89142011-07-27 Leo Liu <sdl.web@gmail.com>
8915
8916 Simplify url handling in rcirc-mode.
8917
8918 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8919 (rcirc-browse-url-at-mouse): Remove.
8920 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8921
b248a85d
AM
89222011-07-26 Alan Mackenzie <acm@muc.de>
8923
8924 Fontify bitfield declarations properly.
8925
8926 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8927 (c-symbol-chars): Now exported as a lang variable.
8928 (c-not-primitive-type-keywords): New lang variable.
8929
8930 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8931 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8932 parsed as a bitfield declaration.
b248a85d 8933
b796c9b7
SM
8934 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8935 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8936 (c-punctuation-in): New function.
8937 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8938 declarations properly.
8939
68575ab0
UJ
89402011-07-26 Ulf Jasper <ulf.jasper@web.de>
8941
8942 * calendar/icalendar.el (icalendar--all-events): Take care of
8943 multiple vcalendars in a single file.
b796c9b7 8944 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8945
0f0a88b9
DD
89462011-07-25 Deniz Dogan <deniz@dogan.se>
8947
8948 * image.el (insert-image): Clarifying docstring.
8949
0b3f36df
MA
89502011-07-24 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8953 `tramp-send-command-and-check' if there is no error.
8954 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8955
a9901f61
AM
89562011-07-22 Alan Mackenzie <acm@muc.de>
8957
8958 Prevent cc-langs.elc being loaded at run time.
8959
8960 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8961 cc-langs.
8962
4d61f28d 8963 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8964 "(require 'cc-langs)". Quote a form so it will evaluate at
8965 (cc-mode's) compilation time.
8966
11d074b2
MA
89672011-07-22 Michael Albinus <michael.albinus@gmx.de>
8968
8969 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8970 loading. (Bug#9114)
8971
938b94c8
MR
89722011-07-21 Martin Rudalics <rudalics@gmx.at>
8973
8974 * window.el (display-buffer-pop-up-window)
8975 (display-buffer-pop-up-side-window)
8976 (display-buffer-in-side-window): Call display-buffer-set-height
8977 and display-buffer-set-width after setting the new window's
b796c9b7 8978 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8979
bfa4f190
SS
89802011-07-20 Sam Steingold <sds@gnu.org>
8981
8982 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8983 (etags-tags-included-tables): Call `convert-standard-filename' on
8984 the file names contained in TAGS so that windows Emacs can handle
8985 TAGS files created by cygwin ctags.
8986
8ca42262
LMI
89872011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
8989 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8990 which apparently didn't work.
8991
5db2afd2 89922011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8993
5db2afd2
RW
8994 * proced.el (proced-send-signal): For *Marked Processes* buffer
8995 put point at beginning of buffer.
8996
92e15d10
SB
89972011-07-19 Stephen Berman <stephen.berman@gmx.net>
8998
8999 * proced.el (proced-format): Make header lines align with the text
9000 (bug#1779).
9001
1bfd59e5
LMI
90022011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003
9004 * view.el (view-buffer): Allow running in `special' modes if we're
9005 visiting a file (bug#8615).
9006
f5aae37c
MR
90072011-07-19 Martin Rudalics <rudalics@gmx.at>
9008
9009 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9010 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9011 New functions.
f5aae37c
MR
9012 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9013 more accurately.
9014
bf2c1571
AM
90152011-07-18 Alan Mackenzie <acm@muc.de>
9016
9017 Fontify declarators properly when, e.g., a jit-lock chunk begins
9018 inside a declaration.
9019
9020 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9021
b796c9b7
SM
9022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9023 New function.
bf2c1571
AM
9024 (c-complex-decl-matchers): Insert reference to
9025 c-font-lock-enclosing-decls.
9026
9027 * progmodes/cc-engine.el (c-backward-single-comment):
9028 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9029 to nil around calls to (forward-comment -1).
9030
4e190b80
LMI
90312011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9032
12dc863d
LMI
9033 * image.el (put-image): Doc typo fix.
9034
a762e966
LMI
9035 * progmodes/etags.el (tags-search): Doc typo fix.
9036
4e190b80
LMI
9037 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9038 password if we get errors 550 to 554.
9039
f019fb21
LMI
90402011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9041
b796c9b7 9042 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9043
81746738
LMI
9044 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9045 indentation character (bug#6380).
9046
3ee3a1b5
LMI
9047 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9048
c82f64de
LMI
9049 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9050 to clarify what the problem is (bug#4291).
9051
f019fb21
LMI
9052 * simple.el (current-kill): Clarify what
9053 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9054 (auto-fill-mode): Document `auto-fill-function' in relation to
9055 `auto-fill-mode' (bug#2470).
f019fb21 9056
0794775d
LM
90572011-07-16 Lawrence Mitchell <wence@gmx.li>
9058
9059 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9060 method if slot is read-only (bug#9035).
9061
be39b8cc
MR
90622011-07-16 Martin Rudalics <rudalics@gmx.at>
9063
b796c9b7 9064 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9065 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9066 selected before, see discussion of (Bug#8615), (Bug#6954).
9067 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9068
6ccf7859
GM
90692011-07-15 Glenn Morris <rgm@gnu.org>
9070
9071 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9072 Respect help-form.
6ccf7859 9073
87e86684
LM
90742011-07-09 Lawrence Mitchell <wence@gmx.li>
9075
9076 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9077 (gnutls-negotiate): Use it.
9078
d6066239
LMI
90792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9080
b796c9b7
SM
9081 * net/gnutls.el (gnutls-negotiate):
9082 Upcase `gnutls-algorithm-priority'.
d6066239 9083
bd23ebc0
GM
90842011-07-15 Glenn Morris <rgm@gnu.org>
9085
c65bca65
GM
9086 * jka-compr.el (jka-compr-verbose): Move from here...
9087 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9088 Add missing :version tag.
9089 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9090
478615cc
LMI
90912011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
7b41decb
LMI
9093 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9094 (gnutls-negotiate): Use it.
9095
dbc44fcd
LMI
9096 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9097
06789f97
LMI
9098 * info.el (Info-beginning-of-buffer): New command.
9099 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9100 announcing `b' as the key (bug#8325).
ab896c37 9101 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9102
c39da690
LMI
9103 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9104
3aa5f34b
LMI
9105 * international/mule-cmds.el
9106 (describe-specified-language-support): Make the error message
9107 clearer (bug#8905).
9108
4bf0979f
LMI
9109 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9110
478615cc
LMI
9111 * isearch.el (isearch-barrier): Add a doc string, since it's
9112 mentioned in a function doc string (bug#8678).
9113
75c68aa1
MR
91142011-07-15 Martin Rudalics <rudalics@gmx.at>
9115
9116 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9117 buffer argument (Bug#9083) and self-identifying label argument.
9118
a7c33da2
GM
91192011-07-15 Glenn Morris <rgm@gnu.org>
9120
9121 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9122
2f5c6024
LMI
91232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9124
9125 * man.el (Man-fontify-manpage): Fix message when formatting the
9126 man page (bug#7929).
9127
0bb23927 91282011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9129
9130 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9131 argument LRM; if non-nil, append an invisible LRM character to the
9132 buffer name.
9133 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9134 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9135 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9136 paragraph direction.
cce4b0a7 9137
621ef9ab
LMI
91382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9139
d1583c48
LMI
9140 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9141 the man page name (bug#7929).
9142
6a57fb5f
LMI
9143 * image.el (put-image): Mention the `put-image' overlay property
9144 (bug#7834).
9145
d7956b14
LMI
9146 * scroll-bar.el (set-scroll-bar-mode): Mention that
9147 `scroll-bar-mode' lists the values (bug#7772).
9148
5b2d4a66
LMI
9149 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9150 command (bug#7729).
9151
7509a874
LMI
9152 * rect.el (apply-on-rectangle): Return the point after the last
9153 operation.
9154 (string-rectangle): Go to the point after the last operation
9155 (bug#7522).
9156
4fe74b19
LMI
9157 * printing.el (pr-toggle-region): Clarify the documentation
9158 slightly (bug#7493).
9159
b796c9b7
SM
9160 * time.el (display-time-update):
9161 Allow `display-time-mail-function' to return nil (bug#7158).
9162 Fix suggested by Detlev Zundel.
ab283561 9163
fc233c9d
LMI
9164 * vc/diff.el (diff): Clarify the order the file names are read
9165 (bug#7111).
9166
43f5740b
LMI
9167 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9168 the doc string (bug#7015).
9169
f2182a76
LMI
9170 * font-lock.el (font-lock-maximum-decoration): Mention what
9171 numeric levels mean (bug#6935).
9172
621ef9ab
LMI
9173 * startup.el (initial-buffer-choice): Don't mention the `none'
9174 selection, which is against policy.
9175
adc47434
MR
91762011-07-14 Martin Rudalics <rudalics@gmx.at>
9177
b796c9b7
SM
9178 * window.el (display-buffer-normalize-special):
9179 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9180
7e5bfb8f
EZ
91812011-07-14 Eli Zaretskii <eliz@gnu.org>
9182
9183 * subr.el (version<, version<=, version=): Mention "-CVS" and
9184 "-12345" alpha version numbers.
9185
27fa387a
CY
91862011-07-14 Chong Yidong <cyd@stupidchicken.com>
9187
9188 * bindings.el: Add advertised binding for set-mark-command
9189 (Bug#5772).
9190
8bdfa064
CY
91912011-07-14 Chong Yidong <cyd@stupidchicken.com>
9192
9193 * bindings.el (mode-line-other-buffer):
9194 * bookmark.el (bookmark-bmenu-2-window):
9195 * bs.el (bs-cycle-next, bs-cycle-previous):
9196 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9197 switch-to-buffer.
9198
9199 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9200 Delete.
8bdfa064 9201
5eba16a3
JB
92022011-07-14 Juanma Barranquero <lekktu@gmail.com>
9203
9204 * follow.el (follow-debug-message, follow-redisplay):
9205 * jka-cmpr-hook.el (with-auto-compression-mode):
9206 Fix typos in docstrings.
9207
15853710
LMI
92082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9209
a28e4607
LMI
9210 * subr.el (with-silent-modifications): Clarify somewhat what the
9211 macro inhibits (bug#6525).
9212
15853710
LMI
9213 * simple.el (eval-expression): Note what it does if called
9214 interactively (bug#6495).
9215
bee0fcef
CY
92162011-07-13 Chong Yidong <cyd@stupidchicken.com>
9217
b796c9b7
SM
9218 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9219 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9220
9221 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9222 Remove switch-to-buffer.
9223
58274504
LMI
92242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9225
bd2fcc8d
LMI
9226 * files.el (make-directory): Clarify that an error will be raised
9227 if there's an error (bug#6397).
9228
0f04b32c
LMI
9229 * startup.el (initial-buffer-choice): Add `none' as a choice
9230 (bug#6234).
9231
465c5fc8
LMI
9232 * subr.el (add-hook): Clarify section about buffer-local hooks
9233 (bug#6218).
9234
58274504
LMI
9235 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9236
bead9a43
JB
92372011-07-13 Juanma Barranquero <lekktu@gmail.com>
9238
9239 * tabify.el (untabify): Preserve the current column so that point
9240 doesn't move (bug#6032).
9241
3af98a7b
LMI
92422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9243
b796c9b7
SM
9244 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9245 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9246
6240145a
GM
92472011-07-13 Glenn Morris <rgm@gnu.org>
9248
9249 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9250 (dired-insert-directory): Give a message the first time
9251 if ls is found not to support --dired.
9252
1d8c2ccc
LMI
92532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
9255 * simple.el (toggle-truncate-lines): Clarify what is toggled
9256 (bug#5580). Text by Drew Adams.
9257
5fc4038e
CY
92582011-07-13 Chong Yidong <cyd@stupidchicken.com>
9259
9260 * simple.el (blink-matching-open): Make the error message from the
9261 last change less verbose.
9262
bf6012e5
DN
92632011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9264
9265 * font-lock.el (font-lock-comment-face): Use the high contrast
9266 "yellow" color for font-lock-comment-face on low color terminals
9267 using a dark background color (bug#4221).
9268
343c3b5a
LMI
92692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9270
7e9505c5
LMI
9271 * dired.el (dired-insert-set-properties): Make the doc string
9272 reflect what it does now (bug#5325).
9273
c26fdcf5
LMI
9274 * simple.el (blink-matching-open): Say that we were unable to find
9275 the match within the limit, if we're limited (bug#5122).
9276
bb388cc5
LMI
9277 * international/mule-cmds.el (prefer-coding-system): Add an
9278 example (bug#4869).
9279
343c3b5a
LMI
9280 * progmodes/etags.el (tags-search): Document `file-list-form'
9281 (bug#4731).
9282
2a517d45
LM
92832011-07-13 Lawrence Mitchell <wence@gmx.li>
9284
9285 * net/browse-url.el (browse-url-default-browser)
9286 (browse-url-browser-function): Make the default browser choice a
9287 bit more logical (bug#4300). Also clean up the doc string.
9288
b6c78ef2
JB
92892011-07-13 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9292 binary endings (bug#4440).
9293
1c4dd947
LMI
92942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
a2014063
LMI
9296 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9297 which can be pretty annoying (bug#8971).
9298
9c9c2d88
LMI
9299 * jka-compr.el (jka-compr-verbose): New variable, and use
9300 throughout (bug#8971).
9301
1c4dd947
LMI
9302 * info.el (Info-find-file): Fall back on the installation
9303 directory if we can't find the info node anywhere else.
9304
a1c9f41b
SO
93052011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9306
9307 * vc/vc.el (vc-revert-file):
9308 Don't set file time-stamp in the past. (Bug#5181)
9309
536f3d36
LMI
93102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
7152b011
LMI
9312 * files.el (after-find-file): Give a better error message when
9313 trying to find a symlink that points to a file that doesn't exist
9314 (bug#4398).
9315
536f3d36
LMI
9316 * progmodes/cc-vars.el: Remove (probably) misleading comment
9317 (bug#4396).
9318
460c0fba
JB
93192011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9320
9321 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9322
7a6bda45
CY
93232011-07-12 Chong Yidong <cyd@stupidchicken.com>
9324
9325 * mouse-sel.el: Hack restoring functionality, while keeping
9326 compatibility with 2010-07-03 changes to mouse selection.
9327 (mouse-sel-primary-overlay): New var.
9328 (mouse-sel-selection-alist): Use it.
9329 (mouse-sel-mode): Doc fix; remove points that are default features
9330 of mouse.el.
9331
c79598ef
JB
93322011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9333
9334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9335 Fix previous fix (bug#2490).
9336
ff8be6ef
RW
93372011-07-12 Roland Winkler <winkler@gnu.org>
9338
b796c9b7
SM
9339 * textmodes/bibtex.el (bibtex-initialize):
9340 Use pop-to-buffer-same-window.
ff8be6ef
RW
9341 (bibtex-search-entries): Fix interactive call.
9342
296ba3ee
LMI
93432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9344
f5242a02 9345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9346 Fontise bytecomp Error lines more correctly (bug#2490).
9347 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9348
296ba3ee
LMI
9349 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9350
9351 * dired-x.el (dired-guess-default): Use `delete-dups'.
9352
f69fd0d2
CY
93532011-07-12 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * dired.el (dired-mark-prompt):
9356 * dired-aux.el (dired-read-shell-command): Doc fix.
9357
eab5dc07
LMI
93582011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9359
b796c9b7
SM
9360 * mail/sendmail.el (sendmail-query-once):
9361 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9362 emacs -Q.
9363
9364 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9365
eab5dc07
LMI
9366 * cus-edit.el (custom-file): Take an optional no-error variable.
9367 (customize-save-variable): Set the variable, and give a warning if
9368 running under "emacs -q".
9369
a1e65d42
JB
93702011-07-11 Juanma Barranquero <lekktu@gmail.com>
9371
9372 * loadhist.el (unload-feature-special-hooks):
9373 Add `auto-coding-functions', `fill-nobreak-predicate' and
9374 `find-directory-functions' (bug#5327).
9375
1d52da10
LMI
93762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9377
be958f1d
LMI
9378 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9379
5bedb26c
LMI
9380 * cus-edit.el (custom-guess-name-alist): -alist variables should
9381 use the `alist' type (bug#3120). Suggested by Drew Adams.
9382
1d52da10
LMI
9383 * printing.el: Add documentation to all the `pr-toggle-' commands.
9384
cd394be1 93852011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9386
9387 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9388 backends where it makes sense (bug#2623).
9389
dcc88d8a
LMI
93902011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9391
c3de9feb
LMI
9392 * dired-x.el (dired-guess-default): Remove duplicate shell command
9393 entries (bug#2028).
8a93078b 9394 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9395 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9396
dcc88d8a
LMI
9397 * subr.el (remove-duplicates): New conveniency function.
9398
505e3645
LMI
93992011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
9401 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9402 (bug#1526).
9403
94042011-07-10 Martin Rudalics <rudalics@gmx.at>
9405
9406 * window.el (display-buffer-normalize-default): Don't invert
9407 meaning of even-window-heights. Reported by Eli Zaretskii
9408 <eliz@gnu.org>.
9409
455e4fa1
BR
94102011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9411
9412 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9413
8e0bc3e9
CY
94142011-07-10 Chong Yidong <cyd@stupidchicken.com>
9415
9416 * window.el (display-buffer): Fix arguments to
9417 display-buffer-reuse-window in last change.
9418
fa7c3228
CY
9419 * faces.el (link): Use a less saturated blue on light backgrounds.
9420
9421 * startup.el (fancy-startup-text, fancy-about-text)
9422 (fancy-startup-tail): Use font-lock faces, for background safety.
9423
c0a7f300
BN
94242011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9425
b796c9b7
SM
9426 * emulation/viper-cmd.el (viper-change-state-to-vi):
9427 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9428
4dc2a129
MR
94292011-07-09 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (display-buffer-default-specifiers): Remove.
9432 (display-buffer-macro-specifiers): Remove default specifiers.
9433 (display-buffer-alist): Default to nil.
b796c9b7 9434 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9435 (display-buffer-pop-up-window): Allow splitting internal
9436 windows. Check whether a live window was created.
9437 (display-buffer-other-window-means-other-frame)
9438 (display-buffer-normalize-arguments): Rename to
9439 display-buffer-normalize-argument and rewrite. Set the
9440 other-window specifier.
9441 (display-buffer-normalize-special): New function.
9442 (display-buffer-normalize-options): Rename to
9443 display-buffer-normalize-default and rewrite.
9444 (display-buffer-normalize-options-inhibit): Remove.
9445 (display-buffer-normalize-specifiers): Rewrite.
9446 (display-buffer): Process other-window specifier and call
9447 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9448 more faithfully.
b796c9b7 9449 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9450 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9451 (display-buffer-in-window, display-buffer-alist-set):
9452 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9453 <tassilo@member.fsf.org>.
9454
2d43b8c9
LL
94552011-07-09 Leo Liu <sdl.web@gmail.com>
9456
9457 * register.el (insert-register): Restore accidental change on
9458 2011-06-26. (Bug#9028)
9459
7f9b7c53
GM
94602011-07-09 Glenn Morris <rgm@gnu.org>
9461
9462 * subr.el (remq): Handle the empty list. (Bug#9024)
9463
f042cfd8
AS
94642011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9465
9466 * mail/sendmail.el (send-mail-function): No longer delay custom
9467 initialization.
9468 * custom.el (custom-initialize-delay): Doc fix.
9469
856b2f11
SM
94702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9473
afae1d68
MA
94742011-07-08 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9477 human-friendly prompt.
9478
0757af94
SM
94792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9482 provided by a particular plugin.
9483
d760b731
LMI
94842011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9485
9486 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9487 save customizations (with "emacs -Q"), just set the variable
9488 instead of erroring out.
9489
9490 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9491
cd79ce90
JL
94922011-07-08 Juri Linkov <juri@jurta.org>
9493
9494 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9495 (archive-zip-update-case): Use 7z if found by `executable-find'.
9496 The order of searching the available programs is the same as in
9497 `archive-zip-extract' (bug#8968).
9498
14cc04aa
CY
94992011-07-07 Chong Yidong <cyd@stupidchicken.com>
9500
9501 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9502 (menu-bar-options-menu): Tweak descriptions.
9503
0a1848ec
LMI
95042011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9505
9506 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9507 menu items into verb phrases (bug#1421). Also refill to fit under
9508 80 columns.
9509
f5bd0689
CY
95102011-07-07 Chong Yidong <cyd@stupidchicken.com>
9511
538e85c6
CY
9512 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9513 (Info-read-node-name): Doc fix (Bug#1084).
9514
f5bd0689
CY
9515 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9516 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9517 (end-of-sexp, beginning-of-sexp)
9518 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9519 (forward-symbol, forward-same-syntax, word-at-point)
9520 (sentence-at-point): Doc fix (Bug#1144).
9521
56ec5115
LMI
95222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9523
f3f8e37f
LMI
9524 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9525 should cover it (bug#1281).
9526
0757af94 9527 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9528
e9fce1ac 9529 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9530 negotiation fails, then possibly try again with a non-encrypted
9531 connection (bug#9017).
9532
56ec5115
LMI
9533 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9534 be used.
9535
c2f9aec8
RS
95362011-07-07 Richard Stallman <rms@gnu.org>
9537
9538 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9539 property, and handle its changed format.
9540 Look for the correct line number.
9541 Use file's line contents (but not past first =) to find
9542 correct line in message.
9543
ef7b981d 95442011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9545
9546 * international/characters.el (build-unicode-category-table):
9547 Delete it.
0757af94 9548 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9549
0757af94 9550 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9551 to src/chartab.c.
9552 (get-char-code-property): Call unicode-property-table-internal to
9553 load a file. Call get-unicode-property-internal where necessary.
9554 (put-char-code-property): Call unicode-property-table-internal to
9555 load a file. Call put-unicode-property-internal where necessary.
9556 put-unicode-property-internal where necessary.
0757af94
SM
9557 (char-code-property-description):
9558 Call unicode-property-table-internal to load a file.
c805dec0
KH
9559
9560 * international/charprop.el:
9561 * international/uni-bidi.el:
9562 * international/uni-category.el:
9563 * international/uni-combining.el:
9564 * international/uni-comment.el:
9565 * international/uni-decimal.el:
9566 * international/uni-decomposition.el:
9567 * international/uni-digit.el:
9568 * international/uni-lowercase.el:
9569 * international/uni-mirrored.el:
9570 * international/uni-name.el:
9571 * international/uni-numeric.el:
9572 * international/uni-old-name.el:
9573 * international/uni-titlecase.el:
9574 * international/uni-uppercase.el: Regenerate.
9575
9576 * loadup.el: Load international/charprop.el before
9577 international/characters.
9578
e14b388a
CY
95792011-07-07 Chong Yidong <cyd@stupidchicken.com>
9580
9581 * window.el (next-buffer, previous-buffer): Signal an error if
9582 called from a minibuffer window.
9583
9584 * bindings.el: Revert 2011-07-04 change.
9585
354cf0ba
RS
95862011-07-06 Richard Stallman <rms@gnu.org>
9587
9588 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9589 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9590 Treat markers like ints.
9591 (rmail-mime-entity): Doc fix.
9592
a48868a7
LMI
95932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594
4906cd3d
LMI
9595 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9596 defcustom again for backwards compatibility.
9597
e0457abe
LMI
9598 * simple.el (shell-command-on-region): Fill.
9599
d67f7e1f
LMI
9600 * dired-aux.el (dired-kill-line): Add a doc string.
9601
fe204702
LMI
9602 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9603 to "\\sw\\|\\s_" (bug#358).
9604
a48868a7
LMI
9605 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9606 (dired-unmark-backward): Ditto.
9607 (dired-flag-backup-files): Ditto.
9608
9609 * dired-x.el (dired-mark-sexp): Ditto.
9610
aa8a705c
RS
96112011-07-06 Richard Stallman <rms@gnu.org>
9612
9613 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9614 (rmail-mime-entity): New arg TRUNCATED.
9615 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9616 New functions.
9617 (rmail-mime-save): Warn if entity is truncated.
9618 (rmail-mime-toggle-hidden): Likewise, for showing.
9619 (rmail-mime-process-multipart): Record when an entity is truncated.
9620
a9a936b9
RS
9621 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9622 if ENTITY is a string.
9623
1f2b92cb
LMI
96242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9625
f4f73198 9626 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9627 of faces when `M-C-x'-ing their definitions (bug#8378).
9628 Also clean up the code slightly.
f4f73198 9629
12b16734 9630 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9631 because that makes the colors go away.
12b16734 9632
f0691d22
LMI
9633 * mail/sendmail.el (send-mail-function): Change the default to
9634 `sendmail-query-once'.
9e87df06 9635 (sendmail-query-once): Add an autoload cookie.
f0691d22 9636
1f2b92cb
LMI
9637 * net/network-stream.el (network-stream-open-starttls): Try using
9638 a plain connection even if the server offered STARTTLS, and we
9639 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9640 capability. This should make smtpmail.el work in slightly more
9641 configurations.
9642
1cdd2a1b
MA
96432011-07-06 Michael Albinus <michael.albinus@gmx.de>
9644
9645 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9646 New defun.
9647 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9648
fbcc67e2
MM
96492011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9650
9651 * progmodes/sql.el: Version 3.0
0757af94 9652 (sql-product-alist): Add product :completion-object,
fbcc67e2 9653 :completion-column, and :statement attributes.
0757af94 9654 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9655 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9656 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9657 ansi keywords.
9658 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9659 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9660 (sql-oracle-show-reserved-words): New function for development.
9661 (sql-product-font-lock): Simplify for source code buffers.
9662 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9663 New functions.
9664 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9665 (sql-mode-map): Add statement movement functions.
9666 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9667 New variable.
fbcc67e2
MM
9668 (sql-statement-regexp, sql-beginning-of-statement)
9669 (sql-end-of-statement, sql-signum): New functions.
0757af94 9670 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9671 (sql-show-sqli-buffer): Bug fix.
9672 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9673 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9674 with sql-interactive-mode.
9675 (sql-save-connection): Save buffer local settings.
0757af94 9676 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9677 (sql-product-interactive): Bug fix.
9678 (sql-preoutput-hold): New variable.
9679 (sql-interactive-remove-continuation-prompt): Bug fixes.
9680 (sql-debug-redirect): New variable.
9681 (sql-str-literal): New function.
9682 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9683 Redesign.
fbcc67e2
MM
9684 (sql-oracle-save-settings, sql-oracle-restore-settings)
9685 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9686 (sql-completion-object, sql-completion-column)
9687 (sql-completion-sqlbuf): New variables.
9688 (sql-build-completions-1, sql-build-completions)
9689 (sql-try-completion): New functions.
9690 (sql-read-table-name): Use them.
9691 (sql-contains-names): New buffer local variable.
9692 (sql-list-all, sql-list-table): Use it.
9693 (sql-oracle-completion-types): New variable.
9694 (sql-oracle-completion-object, sql-sqlite-completion-object)
9695 (sql-postgres-completion-object): New functions.
9696
d4eaeab1
GM
96972011-07-06 Glenn Morris <rgm@gnu.org>
9698
9699 * window.el (pop-to-buffer): Doc fix.
9700
322b7dab 97012011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9702
9703 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9704
322b7dab 97052011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9706
322b7dab 9707 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9708
322b7dab 9709 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9710
605dd5bf
CY
97112011-07-05 Chong Yidong <cyd@stupidchicken.com>
9712
9713 * button.el (button): Inherit from link face. Suggested by Dan
9714 Nicolaescu.
9715
7dbfa719
SM
97162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9717
3db614b0
SM
9718 * progmodes/gdb-mi.el: Fit in 80 columns.
9719 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9720 switch-to-buffer.
9721
7dbfa719
SM
9722 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9723 if imenu is simply not configured (bug#8941).
9724
919d884a
KM
97252011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9726
9727 * allout.el (allout-post-undo-hook): New allout outline-change
9728 event hook to signal undo activity.
9729 (allout-post-command-business): Run allout-post-undo-hook if an
9730 undo just occurred.
7dbfa719
SM
9731 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9732 * allout-widgets.el (allout-widgets-after-undo-function):
9733 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9734 in the vicinity of an undo.
9735 (allout-widgets-mode): Include allout-widgets-after-undo-function
9736 on the new allout-post-undo-hook.
9737
450a0f09
SM
97382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9741 Let define-derived-mode define it.
9742 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9743 cycles of abbrev-table inheritance (bug#8998).
9744
2de69e00
RW
97452011-07-05 Roland Winkler <winkler@gnu.org>
9746
9747 * textmodes/bibtex.el: Add support for biblatex.
9748 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9749 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9750 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9751 (bibtex-entry-alist, bibtex-field-alist): New variables.
9752 (bibtex-entry-field-alist): Obsolete alias for
9753 bibtex-BibTeX-entry-alist.
9754 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9755 (bibtex-set-dialect): New command.
9756 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9757 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9758 Bind via bibtex-set-dialect.
2de69e00
RW
9759 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9760 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9761 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9762 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9763 Define via bibtex-set-dialect.
450a0f09
SM
9764 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9765 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9766 (bibtex-vec-push, bibtex-vec-incr): New functions.
9767 (bibtex-format-entry, bibtex-field-list)
9768 (bibtex-print-help-message, bibtex-validate)
9769 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9770
2dcdbdd9
SM
97712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * progmodes/compile.el (compilation-goto-locus):
9774 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9775 * bs.el (bs-cycle-next, bs-cycle-previous):
9776 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9777 * bindings.el (mode-line-other-buffer):
9778 * autoinsert.el (auto-insert):
9779 * arc-mode.el (archive-extract):
9780 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9781
b27640fe
JB
97822011-07-05 Juanma Barranquero <lekktu@gmail.com>
9783
9784 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9785 Fix check of `emacs-lock-unlockable-modes'.
9786 Coerce true values of `emacs-lock--try-unlocking' to t.
9787
53bbe3ad
JB
97882011-07-05 Juanma Barranquero <lekktu@gmail.com>
9789
9790 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9791 * emacs-lock.el: New file.
9792
1d3cdbc7
JD
97932011-07-05 Julien Danjou <julien@danjou.info>
9794
9795 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9796 than `boundp' to check if face is set.
9797
9173deec
JB
97982011-07-05 Juanma Barranquero <lekktu@gmail.com>
9799
9800 * register.el (registerv-make):
9801 * window.el (window-min-height): Fix typos in docstrings.
9802
869795d6
JD
98032011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9804
9173deec 9805 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9806 Update doc string.
9807
b768cdcd
JB
98082011-07-04 Juanma Barranquero <lekktu@gmail.com>
9809
9810 * server.el (server-execute): Catch quit and call
9811 `server-return-error' to pass the error back to emacsclient and
9812 close the connection (bug#8942).
9813
13aa217b
KM
98142011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9815
9816 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9817 insecure exception for current topic. Also note that auto-saves
9818 are handled differently.
9819
5d3385a0 9820 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9821 State variables for tracking auto-save inhibition situation.
9822
9823 (allout-write-contents-hook-handler): Rename from
9824 'allout-write-file-hook-handler', and describe how it depends on
9825 write-contents-functions sensitivity to non-nil value to prevent
9826 file write.
9827
9828 (allout-auto-save-hook-handler): Remove. auto-save does not check
9829 this in individual buffers, only in the starting buffer, so this
9830 is not the right way for us to inhibit auto-save in a buffer
9831 according to its condition.
9832
9833 (allout-mode): Use new allout-write-contents-hook-handler, and
9834 only with write-contents-functions. Remove auto-save provisions -
9835 they're implemented elsewhere.
9836
9837 (allout-before-change-handler): If undo is in progress, note that
9838 for attention of allout-post-command-business.
9839
9840 (allout-post-command-business): If the command we're following was
9841 an undo, check for change in the status of encrypted items and
9842 adjust auto-save inhibitions accordingly.
9843
9844 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9845 according to whether there are or aren't any plain-text topics
9846 pending encryption.
9847
2dcdbdd9 9848 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9849 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9850 if there are plain-text topics pending encryption.
13aa217b
KM
9851
9852 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9853 buffer-saved-size and some allout state to not inhibit auto-saves
9854 if there are no longer any plain-text topics pending encryption.
9855
0757af94
SM
9856 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9857 No longer provide for exemption of the current topic.
13aa217b 9858
ac89b32c
JL
98592011-07-04 Juri Linkov <juri@jurta.org>
9860
9861 Add 7z operations to delete and save changed members (bug#8968).
9862 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9863 New defcustoms.
9864 (archive-7z-write-file-member): New function.
9865 (archive-7z-summarize): Fix the number of dashes in the
9866 listing output.
9867
8fa39615
SM
98682011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9871 (bug#8958).
9872
2f11b3f1
CY
98732011-07-04 Chong Yidong <cyd@stupidchicken.com>
9874
d66fef2b
CY
9875 * bindings.el: Ignore next-buffer and previous-buffer in
9876 minibuffer-local-map.
9877
2f11b3f1
CY
9878 * font-lock.el (font-lock-builtin-face): Change light background
9879 color to dark slate blue (Bug#6693).
9880
f932a347
WD
98812011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9882
9883 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9884
c8af70e1
SM
98852011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9888 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9889 Add switch-to-buffer.
9890
f158badc
LMI
98912011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9892
9893 * isearch.el (isearch-search-fun-function): Clarify further the
9894 meaning of the function returned.
9895
6d95bd46
MA
98962011-07-04 Michael Albinus <michael.albinus@gmx.de>
9897
9898 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9899
9900 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9901 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9902 Use it.
9903 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9904 `tramp-default-remote-path' does not exist.
9905 (tramp-send-command-and-read): New optional argument NOERROR.
9906 (tramp-open-connection-setup-interactive-shell)
9907 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9908 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9909 (tramp-process-sentinel): Flush also process' connection property.
9910 (tramp-sh-handle-start-file-process): Do not set process
9911 sentinel. It is done now ...
9912 (tramp-maybe-open-connection): ... here. (Bug#8929)
9913
909e6b67
MK
99142011-07-04 MON KEY <monkey@sandpframing.com>
9915
9916 * play/animate.el (animate-string): Doc fixes and allow changing
9917 the buffer name (bug#5417).
9918
99192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9920
c8af70e1 9921 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9922
f34755dc
PE
99232011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9924
396cec72
PE
9925 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9926 This is simpler and helps future-proof the code.
9927 (timer-until): Use time-subtract and float-time.
08235028 9928 (timer--time-less-p): Use time-less-p.
f34755dc 9929
56e6cc31
JB
99302011-07-04 Juanma Barranquero <lekktu@gmail.com>
9931
3abb79e5
JB
9932 * type-break.el (timep): Use the value of `float-time' to avoid a
9933 byte-compiler warning.
9934
56e6cc31
JB
9935 * server.el (server-eval-and-print): Return any result, even nil.
9936
7b9430b4
PE
99372011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9938
9939 * type-break.el: Accept time formats that the builtins accept.
9940 (timep, type-break-time-difference): Accept any format that
9941 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9942 This is simpler and helps future-proof the code.
9943 (type-break-time-difference): Round rather than ignoring
9944 subseconds components.
9945
3034e9e7
LMI
99462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947
9948 * info.el (Info-apropos-matches): Make non-interactive, since it
9949 doesn't seem to do anything useful as a command (bug#8829).
9950
1485f4c0
CY
99512011-07-03 Chong Yidong <cyd@stupidchicken.com>
9952
9953 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9954 Move from faces.el.
1485f4c0
CY
9955 (frame-default-terminal-background): New function.
9956
9957 * custom.el (custom-push-theme): Don't record faces in `changed'
9958 theme; this doesn't work correctly for per-frame face settings.
9959 (disable-theme): Use face-set-after-frame-default to reset faces.
9960 (custom--frame-color-default): New function.
9961
9fa3dd45
LMI
99622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963
c8af70e1 9964 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9965 (bug#8769).
9966
6cbbc20c
KR
99672011-03-29 Kevin Ryde <user42@zip.com.au>
9968
9969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9970 `perl-Test2' extend to match possible "fail #N" rep count
9971 (bug#8377).
9972
c7f98048
LMI
99732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9974
65676592
LMI
9975 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9976 `smtpmail-via-smtp' now returns the error instead of nil.
9977
c7f98048
LMI
9978 * isearch.el (isearch-search-fun-function): Clarify the doc string
9979 (bug#8101).
9980
56e6cc31 99812011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9982
9983 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9984 unnecessary spaces (bug#8987).
9985
2b216704
LMI
99862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9987
9988 * net/network-stream.el (open-network-stream): Use the
9989 :end-of-capability command thoughout.
9990
99912011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9992
9993 * net/network-stream.el (open-network-stream): Add the
9994 :end-of-capability command parameter, used by pop3.el.
9995
36adf6ce
LMI
99962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
1ca0da0e
LMI
9998 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9999
fc00f69c
LMI
10000 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10001 for list)" (bug#6475).
10002
28fd8759 10003 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10004 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10005 an error (bug#6297).
10006
0dd8b6da
LMI
10007 * man.el (Man-reference-regexp): Allow matching possible
10008 word-wrapped references (bug#6289).
10009
ce1438d6
LMI
10010 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10011 for consistency with the other vc buffers (bug#6197).
10012 (vc-checkin): Ditto.
10013
10014 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10015
36adf6ce
LMI
10016 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10017
e83cc1f7
LMI
100182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10019
8a20ca4c
LMI
10020 * custom.el (defcustom): Clarify that :set is only used in the
10021 Customize user interface (bug#6089).
10022
83319045
LMI
10023 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10024 associated with a file, refuse to run instead of erroring out
10025 (bug#6084).
10026
a8392169
LMI
10027 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10028 the doc string, since it appears that using `fill-column' always
10029 controls the width (bug#7845).
10030
e83cc1f7
LMI
10031 * simple.el (shell-command-on-region): Say where the error output
10032 went if `shell-command-default-error-buffer' is set (bug#6857).
10033
e47ca23b
KM
100342011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10035
10036 * allout.el (allout-yank-processing): Adjust cursor position for
10037 backwards-deleted space.
10038
10039 (allout-rebullet-heading): Register changes with
10040 allout-exposure-changed-hook, so the modified topic is properly
10041 decorated.
10042
5cf56143
LMI
100432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10044
08549772
LMI
10045 * minibuffer.el (completion-in-region): Document PREDICATE
10046 (bug#7136).
10047
48e96771
LMI
10048 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10049 of keyword/argument pairs (bug#6904).
10050
c8af70e1
SM
10051 * replace.el (multi-occur):
10052 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10053
e17d05e2
LMI
100542011-07-02 Drew Adams <drew.adams@oracle.com>
10055
10056 * dired.el (dired-mark-if): Make the message about whether it's
10057 marking or unmarking clearer (bug#8523).
10058
063b0e45
LMI
100592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10060
10061 * disp-table.el (display-table-print-array): New function.
10062 (describe-display-table): Use it to print the vectors more pretty
10063 (Bug#8859).
10064
28545e04
MR
100652011-07-02 Martin Rudalics <rudalics@gmx.at>
10066
10067 * window.el (window-state-get-1): Don't assign clone numbers.
10068 Add clone-of item to list of window parameters.
10069 (window-state-put-2): Don't process clone numbers.
10070 (display-buffer-alist): Fix doc-string.
10071
3349e122
SM
100722011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * subr.el (remq): Don't allocate if it's not needed.
10075 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10076 (keymap--merge-bindings): New functions.
10077 (keymap-canonicalize): Use them to refine the canonicalization.
10078 * minibuffer.el (minibuffer-local-completion-map)
10079 (minibuffer-local-must-match-map): Move initialization from C.
10080 (minibuffer-local-filename-completion-map): Move initialization from C;
10081 don't inherit from anything here.
10082 (minibuffer-local-filename-must-match-map): Make obsolete.
10083 (completing-read-default): Use make-composed-keymap to combine
10084 minibuffer-local-filename-completion-map with either
10085 minibuffer-local-must-match-map or
10086 minibuffer-local-filename-completion-map.
10087
d224ac83
GM
100882011-07-01 Glenn Morris <rgm@gnu.org>
10089
3de63bf8
GM
10090 * type-break.el (type-break-time-sum): Use dolist.
10091
d224ac83
GM
10092 * textmodes/flyspell.el (flyspell-word-search-backward):
10093 Replace CL function.
10094
1a1e3f32
SM
100952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10096
fe3f64d5
SM
10097 * mouse.el (mouse--strip-first-event): New function.
10098 (function-key-map): Use it to map fringe clicks to normal clicks
10099 by default.
10100
eb604e34
SM
10101 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10102 (vc-bzr-revision-completion-table): Add support for annotate and date.
10103
1a1e3f32
SM
10104 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10105 inherit from parent.
10106
5bd35902
LMI
101072011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
ace6c69c 10109 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10110 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10111
191e2bed
LMI
10112 * dired.el (dired-mode): Fix up the doc string as suggested by
10113 Drew Adams (bug#8817).
10114
5bd35902
LMI
10115 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10116 cookie, since the manual says that it should be possible to add
10117 this function to `find-file-hook' (bug#8709).
10118
eee8207a
TZ
101192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10120
10121 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10122 here. Noted Ted Zlatanov as the maintainer.
10123 (cfengine-common-settings, cfengine-common-syntax): New functions
10124 to set up common things between `cfengine-mode' and
10125 `cfengine3-mode'.
10126 (cfengine3-mode): New mode.
10127 (cfengine3-defuns cfengine3-defuns-regex
10128 (cfengine3-class-selector-regex cfengine3-category-regex)
10129 (cfengine3-vartypes cfengine3-font-lock-keywords)
10130 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10131 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10132
36b148cf
MA
101332011-07-01 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10136
10137 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10138
0bf4ba9a
MR
101392011-07-01 Martin Rudalics <rudalics@gmx.at>
10140
10141 * window.el (same-window-buffer-names, same-window-regexps)
10142 (same-window-p, special-display-frame-alist)
10143 (special-display-popup-frame, special-display-function)
10144 (special-display-buffer-names, special-display-regexps)
10145 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10146 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10147 (split-window-preferred-function, split-height-threshold)
10148 (split-width-threshold, even-window-heights)
10149 (display-buffer-mark-dedicated, window-splittable-p)
10150 (split-window-sensibly, window-safely-shrinkable-p):
10151 Un-obsolete.
10152 (display-buffer): Don't spread args with function specifier
10153 because special-display-popup-frame won't like it.
10154
35837f51
PE
101552011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10156
d0672f86
PE
10157 Time-stamp simplifications and fixes.
10158 These improve accuracy slightly, and future-proof the code
10159 against some potential changes to current-time format.
10160
b9444d97
PE
10161 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10162 by using time-since and float-time.
10163
0ef923dc
PE
10164 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10165 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10166 + NNN microseconds".
10167
2f81380d
PE
10168 * type-break.el (type-break-time-sum): Rewrite using time-add.
10169
845b5c3e
PE
10170 * play/hanoi.el (hanoi-current-time-float): Remove.
10171 All uses replaced by float-time.
10172
ee6f1be0
PE
10173 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10174 This yields a more-accurate answer.
10175 (rng-time-to-float): Remove; no longer needed.
10176
fe955043
PE
10177 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10178
5777162a
PE
10179 * calendar/timeclock.el (timeclock-seconds-to-time):
10180 Defalias to seconds-to-time, since they're the same thing.
10181
3103f8b6 10182 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10183 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10184 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10185
0e61a35f
SM
101862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * window.el (bury-buffer): Don't iconify the only frame.
10189 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10190 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10191
ddd63a1e
CY
101922011-07-01 Chong Yidong <cyd@stupidchicken.com>
10193
0e61a35f
SM
10194 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10195 Add mouse-yank-primary.
ddd63a1e 10196
055f4923
TZ
101972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10198
10199 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10200
6a2fb145
SM
102012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10204 (find-library-name): Use it to find relative load names when provided
10205 absolute file name (bug#8803).
10206
fd4983f2
LMI
102072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208
887d14ad
LMI
10209 * textmodes/flyspell.el (flyspell-word): Consider words that
10210 differ only in case as potential doublons (bug#5687).
10211
c53dc7fc
LMI
10212 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10213 Remove two rather uninteresting debugging-like messages to make
10214 debbugs.el more silent.
10215
fd4983f2
LMI
10216 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10217 a password-like phrase.
10218
7a71b18d 102192011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10220
10221 * progmodes/cc-guess.el: New file.
10222
6a2fb145 10223 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10224
10225 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10226 derived from `c-basic-common-init'.
10227
10228 * progmodes/cc-mode.el (top-level): Require cc-guess.
10229 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10230
1fa280a3
LM
102312011-06-30 Lawrence Mitchell <wence@gmx.li>
10232
10233 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10234
e6597158
AM
102352011-06-30 Alan Mackenzie <acm@muc.de>
10236
1fa280a3
LM
10237 * progmodes/cc-engine.el (c-guess-continued-construct):
10238 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10239 lock is disabled. Name this case as "CASE G".
10240
68ba37fb
KM
102412011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10242
10243 * allout.el (allout-yank-processing): Fix injection of extra space
10244 between bullet and non-whitespace character in first topic when
10245 pasting, ensuring that the actual spacing in the pasted topic
10246 following the bullet char is preserved. This extra space was
10247 causing pasted encrypted topics to get a decrypted status even
10248 when the content was actually still encrypted. Now the decryption
10249 status from before the paste is preserved.
10250
10251 (allout-flag-region): Set all allout overlays so they evaporate
10252 when reduced to zero length (evanescent), to prevent overlay
10253 leakage.
10254
887a0b34
GM
102552011-06-30 Glenn Morris <rgm@gnu.org>
10256
94b9acce
GM
10257 * w32-fns.el (w32-charset-info-alist): Declare.
10258
1d9b46d4
GM
10259 * find-dired.el (find-grep-options): Simplify.
10260
cc232200
GM
10261 * term/ns-win.el (ns-set-resource): Declare.
10262
28e77c46
GM
10263 * ses.el (row, col): Declare dynamic variables honestly.
10264
887a0b34
GM
10265 * textmodes/reftex-parse.el (index-tags): Declare.
10266
658d8eb8
CY
102672011-06-30 Chong Yidong <cyd@stupidchicken.com>
10268
10269 * cus-edit.el (customize-push-and-save): New function.
10270
10271 * files.el (hack-local-variables-confirm): Use it.
10272
1fa280a3
LM
10273 * custom.el (load-theme): New arg NO-CONFIRM.
10274 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10275 (custom-enabled-themes): Doc fix.
10276
10277 * cus-theme.el (customize-create-theme)
10278 (custom-theme-merge-theme): Callers to load-theme changed.
10279
bb617717
LMI
102802011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10281
d61bdd5d
LMI
10282 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10283 short URLs have at least one dot in them (bug #7614).
10284
bb617717
LMI
10285 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10286 nil, because using a pty is apparently too slow (bug #895).
10287
2f31f37a
LMI
102882011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10289
10290 * mail/sendmail.el (sendmail-query-once): New function.
10291 (sendmail-query-once-function): New variable.
10292
3076b24e
GM
102932011-06-29 Glenn Morris <rgm@gnu.org>
10294
faf2a174
GM
10295 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10296
3076b24e
GM
10297 * ses.el (top-level): Require cl when compiling.
10298 (ses-set-localvars): Fix error statement.
10299 Call it at compile time to silence a storm of warnings.
10300
5386012d
MR
103012011-06-29 Martin Rudalics <rudalics@gmx.at>
10302
10303 * window.el (normalize-live-buffer): Rename to
10304 window-normalize-buffer.
10305 (normalize-live-frame): Rename to window-normalize-frame.
10306 (normalize-any-window): Rename to window-normalize-any-window.
10307 (normalize-live-window): Rename to window-normalize-live-window.
10308 (make-window-atom): Rename to window-make-atom.
10309 (window-resize-reset): Rename to window--resize-reset.
10310 (window-resize-reset-1): Rename to window--resize-reset-1.
10311 (resize-mini-window): Rename to window--resize-mini-window.
10312 (resize-subwindows-skip-p): Rename to
10313 window--resize-subwindows-skip-p.
10314 (resize-subwindows-normal): Rename to
10315 window--resize-subwindows-normal.
10316 (resize-subwindows): Rename to window--resize-subwindows.
10317 (resize-other-windows): Rename to window--resize-siblings.
10318 (resize-this-window): Rename to window--resize-this-window.
10319 (resize-root-window): Rename to window--resize-root-window.
10320 (resize-root-window-vertically): Rename to
10321 window--resize-root-window-vertically.
10322 (normalize-buffer-to-display): Rename to
10323 window-normalize-buffer-to-display.
10324 (normalize-buffer-to-switch-to): Rename to
10325 window-normalize-buffer-to-switch-to.
10326 Correspondingly update all callers of the functions listed
10327 above.
10328 (display-buffer-alist, display-buffer-normalize-arguments)
10329 (display-buffer-normalize-options, display-buffer)
10330 (display-buffer-alist-set): Use "function" instead of
10331 "fun-with-args".
10332
1176868d
CY
103332011-06-28 Chong Yidong <cyd@stupidchicken.com>
10334
10335 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10336 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10337 debbugs.gnu.org. Mention acknowledgment email.
10338
20a7a65f
LMI
103392011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10340
10341 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10342 buffer multibyteness, since it shouldn't matter.
10343
5f45cca5
MR
103442011-06-28 Martin Rudalics <rudalics@gmx.at>
10345
10346 * window.el (display-buffer-in-side-window): Handle dedicated
10347 windows as in display-buffer-reuse-window.
10348 (display-buffer-normalize-alist): Use value of override
10349 specifier.
10350 (display-buffer-normalize-specifiers): Use value of
10351 other-window-means-other-frame specifier.
10352 (display-buffer-alist): Rewrite some texts in widgets.
10353 (display-buffer): Spread arguments when calling function
10354 specified by fun-with-args.
10355
ad85fe1f
DD
103562011-06-28 Deniz Dogan <deniz@dogan.se>
10357
1fa280a3
LM
10358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10359 Unnest `let'.
da68c4c8 10360
ad85fe1f
DD
10361 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10362 selectors (Bug#5732).
ec49bd31 10363 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10364
a08cc025
JA
103652011-06-27 Jari Aalto <jari.aalto@cante.net>
10366
10367 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10368 (eshell-ls-date-format): New defcustom.
10369 (eshell-ls-file): Use it.
10370
e2b551c5
SM
103712011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10374
8982b231
KY
103752011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10376
10377 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10378 (ange-ftp-make-tmp-name): New arg.
10379 (ange-ftp-file-local-copy): Use it.
10380
36c9fa27
J
103812011-06-27 Jambunathan K <kjambunathan@gmail.com>
10382
10383 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10384 no-conversion (Bug#8870).
10385
d68443dc
MR
103862011-06-27 Martin Rudalics <rudalics@gmx.at>
10387
10388 * window.el (window-right, window-left, window-child)
10389 (window-child-count, window-last-child)
10390 (window-iso-combination-p, walk-window-tree-1)
10391 (window-atom-check-1, window-tree-1, delete-window)
10392 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10393 new naming conventions - window-vchild, window-hchild,
10394 window-next and window-prev are now called window-top-child,
10395 window-left-child, window-next-sibling and window-prev-sibling
10396 respectively.
d615d6d2
MR
10397 (resize-window-reset): Rename to window-resize-reset.
10398 (resize-window-reset-1): Rename to window-resize-reset-1.
10399 (resize-window): Rename to window-resize.
10400 (window-min-height, window-min-width)
10401 (resize-mini-window, resize-this-window, resize-root-window)
10402 (resize-root-window-vertically, adjust-window-trailing-edge)
10403 (enlarge-window, shrink-window, maximize-window)
10404 (minimize-window, delete-window, quit-restore-window)
10405 (split-window, balance-windows, balance-windows-area-adjust)
10406 (balance-windows-area, window-state-put-2)
10407 (display-buffer-even-window-sizes, display-buffer-set-height)
10408 (display-buffer-set-width, set-window-text-height)
10409 (fit-window-to-buffer): Rename all "resize-window" prefixed
10410 calls to use the "window-resize" prefix convention.
10411 (display-buffer-alist): Fix symbol for label specifier.
10412 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10413 corresponding specifier.
10414 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10415
b6458526
VB
104162011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10417
10418 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10419 convention.
10420 (ses-call-printer): Does not pass an empty string to formatter when the
10421 cell is empty to keep from barking printer Calc math-format-value.
10422
d31fd9ac
RS
104232011-06-27 Richard Stallman <rms@gnu.org>
10424
43d5bf84
RS
10425 * battery.el (battery-mode-line-limit): New variable.
10426 (battery-update): Handle it.
10427
d31fd9ac
RS
10428 * mail/rmailmm.el (rmail-mime-process-multipart):
10429 Handle truncated messages.
10430
819a6054
GM
104312011-06-27 Glenn Morris <rgm@gnu.org>
10432
10433 * progmodes/flymake.el (flymake-err-line-patterns):
10434 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10435
cedc73f2
VB
104362011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10437
819a6054 10438 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10439 (ses--clean-!, ses--clean-_): New functions.
10440 (ses-range): Add configurability of readout order, and conversion
10441 to Calc vector.
10442
5e5d49b6
VB
10443 * ses.el (ses-repair-cell-reference-all): New function.
10444 (ses-cell-symbol): Set macro as safe, so that it can be used in
10445 formulas.
10446
56e6cc31 10447 * ses.el: Update cycle detection algorithm.
90ca8b49 10448 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10449 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10450 (ses-set-localvars): New function.
10451 (ses-make-cell): Add property-list as a cell element.
10452 (ses-cell-property-get-fun, ses-cell-property-get)
10453 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10454 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10455 New functions.
90ca8b49
VB
10456 (ses-cell-property-set, ses-cell-property-pop)
10457 (ses-cell-property-get-handle): New macro.
10458 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10459 New aliases, used for code readability.
10460 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10461 cycle detection.
10462 (ses-self-reference-early-detection): New defcustom.
fac916bf 10463 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10464 (ses-mode): Use ses-set-localvars.
10465 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10466 before lauching the update processing.
10467 (ses-initialize-Dijkstra-attempt): New function.
10468 (ses-recalculate-cell): Update for cycle detection based on
10469 Dijkstra algorithm.
10470
2bb63e81
VB
10471 * ses.el: Fix commenting and indenting convention.
10472
c9d29fb8
SM
104732011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * bs.el (bs-cycle-next): Complete last change.
10476
d8e4b68b
JB
104772011-06-27 Drew Adams <drew.adams@oracle.com>
10478
10479 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10480
40098786
LMI
104812011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10482
c9d29fb8
SM
10483 * net/network-stream.el (network-stream-open-starttls):
10484 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10485 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10486
40098786
LMI
10487 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10488 to binary to possibly avoid line encoding issues on Windows (among
10489 other things).
10490
468d09d4
LMI
104912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10492
10493 * net/network-stream.el (open-network-stream): Return an :error
10494 saying what the problem was, if possible.
10495
10496 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10497 server.
10498
10499 * net/network-stream.el (network-stream-open-starttls): If we
10500 wanted to use STARTTLS, and the server offered it, but we weren't
10501 able to because we had no STARTTLS support, then close the connection.
10502 (open-network-stream): Return an :error element, if present.
10503
16f07dd7
CY
105042011-06-26 Chong Yidong <cyd@stupidchicken.com>
10505
88821ca0
CY
10506 * hl-line.el (hl-line-sticky-flag): Doc fix.
10507 (global-hl-line-sticky-flag): New option (Bug#8323).
10508 (global-hl-line-highlight): Obey it.
10509
16f07dd7
CY
10510 * vc/vc.el (vc-revert-show-diff): Default to t.
10511
6b5ccddf
KM
105122011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10513
c9d29fb8
SM
10514 * allout-widgets.el (allout-widgets-post-command-business):
10515 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10516 undecorated when an isearch is continued past, and isearch
10517 automatically collapses them. This leads to "widget leaks", where
10518 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10519 hidden widgets can slow down cursor travel, substantially.
10520 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10521 so we're doing without this nicety.
10522
10523 (allout-widgets-tally-string): Don't try to do a hash-table-count
10524 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10525 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10526 *Messages* when allout-widgets-maintain-tally is t.
10527
355f2e07
MR
105282011-06-26 Martin Rudalics <rudalics@gmx.at>
10529
10530 * window.el (display-buffer-normalize-argument): Rename to
10531 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10532 LABEL argument. Respect special-display-function when popping up
10533 a new frame. Fix code searching for a window showing the buffer
10534 on another frame.
c9d29fb8
SM
10535 (display-buffer-normalize-specifiers):
10536 Call display-buffer-normalize-arguments.
355f2e07
MR
10537 (display-buffer-in-window): Don't undedicate the window if its
10538 buffer remains the same.
10539 Reported by Drew Adams <drew.adams@oracle.com>.
10540 (display-buffer-alist): Add choice for same-window macro
10541 specfier.
10542 (display-buffer): Mention special meaning of LABEL argument in
10543 doc-string. Fix quoting. Don't pop up a new frame even as
10544 fallback.
10545
7ca8fc42
JB
105462011-06-26 Juanma Barranquero <lekktu@gmail.com>
10547
10548 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10549 avoid deleting the current window in some cases (bug#8911).
10550
bc312254
AS
105512011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10552
10553 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10554 (Bug#8934)
10555
2db18f3f
LMI
105562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10557
c9d29fb8
SM
10558 * net/network-stream.el (network-stream-open-starttls):
10559 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10560 (network-stream-open-tls): Ditto.
10561
6302e0d3
LL
105622011-06-26 Leo Liu <sdl.web@gmail.com>
10563
10564 * register.el (registerv): New struct.
10565 (registerv-make): New function.
c9d29fb8
SM
10566 (jump-to-register, describe-register-1, insert-register):
10567 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10568 struct. (Bug#8415)
10569
5fdd4046
CY
105702011-06-26 Chong Yidong <cyd@stupidchicken.com>
10571
2afef60a
CY
10572 * vc/vc.el (vc-revert-show-diff): New defcustom.
10573 (vc-diff-internal): New arg specifying diff buffer.
10574 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10575 reuse an existing *vc-diff* buffer (Bug#8927).
10576
5fdd4046
CY
10577 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10578
e93db24a
GM
105792011-06-26 Glenn Morris <rgm@gnu.org>
10580
10581 * progmodes/f90.el (f90-critical-indent): New option.
10582 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10583 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10584 (f90-mode): Doc fix.
10585 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10586 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10587 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10588 (f90-match-end): Handle block, critical.
10589
eefff499
GM
105902011-06-25 Glenn Morris <rgm@gnu.org>
10591
f6ba4cc9
GM
10592 * calendar/diary-lib.el (diary-included-files): Doc fix.
10593 (diary-include-files): New function, extracted from
10594 diary-include-other-diary-files and diary-mark-included-diary-files.
10595 (diary-include-other-diary-files, diary-mark-included-diary-files):
10596 Just call diary-include-files.
10597 (diary-mark-entries): Reset diary-included-files on first call.
10598
16712304
GM
10599 * calendar/diary-lib.el (diary-mark-entries)
10600 (diary-mark-included-diary-files):
10601 Visit included diary-files in temp buffers.
10602
5d8e0d43
GM
10603 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10604 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10605 (f90-start-block-re, f90-imenu-generic-expression)
10606 (f90-looking-at-program-block-start, f90-no-block-limit):
10607 Add support for submodules.
10608
ccf7a5d5
GM
10609 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10610 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10611
11fdef7d 106122011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10613
10614 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10615 buffer-file-type before setting its value, to avoid disastrous
eefff499 10616 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10617
74f53697
JB
106182011-06-25 Juanma Barranquero <lekktu@gmail.com>
10619
10620 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10621
10622 * ses.el (ses-unload-function):
10623 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10624
10625 * proced.el (proced-unload-function):
10626 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10627
18a4ce5e
AR
106282011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10629
10630 * server.el (server-create-window-system-frame): Add parameters arg.
10631 (server-process-filter): Doc fix. Handle frame-parameters.
10632
519d22cc
JB
106332011-06-25 Juanma Barranquero <lekktu@gmail.com>
10634
10635 Fix bug#8730, bug#8781.
10636
10637 * loadhist.el (unload--set-major-mode): New function.
10638 (unload-feature): Use it.
10639
10640 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10641 (python-unload-function): New function.
10642
c206f5b0
SM
106432011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10646
f9ad64f3
GS
106472011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10648
10649 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10650 the candidates list.
10651
7d0da90e
JB
106522011-06-24 Juanma Barranquero <lekktu@gmail.com>
10653
10654 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10655
14b4e83d
RS
106562011-06-23 Richard Stallman <rms@gnu.org>
10657
10658 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10659 (rmail-variables): Set next-error-move-function.
10660 (rmail-what-message): Take argument POS.
10661 (rmail-next-error-move): New function.
10662
273d2baf
SM
106632011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10666 messages for adjacent non-terminals.
10667
56c2cc9a
RS
106682011-06-23 Richard Stallman <rms@gnu.org>
10669
10670 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10671 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10672 (rmail-start-mail): Don't specify use of rmail-mail-return;
10673 that's done by mail-bury now.
10674 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10675
d59eb518
MA
106762011-06-23 Michael Albinus <michael.albinus@gmx.de>
10677
10678 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10679 SIZE is a number.
10680
02cfc6d6
MR
106812011-06-23 Martin Rudalics <rudalics@gmx.at>
10682
10683 * window.el (get-lru-window, get-mru-window)
10684 (get-largest-window): Never return a minibuffer window.
10685 (display-buffer-pop-up-window): Fix a bug that could lead to
10686 reusing the minibuffer window.
10687 (display-buffer): Pass original specifier argument to
10688 display-buffer-function instead of the normalized one.
10689 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10690
4e323265
LL
106912011-06-22 Leo Liu <sdl.web@gmail.com>
10692
10693 * minibuffer.el (completing-read-function)
10694 (completing-read-default): Move from minibuf.c
10695
7a70468f
RS
106962011-06-22 Richard Stallman <rms@gnu.org>
10697
50718fc2
RS
10698 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10699 to Rmail even if not started by a special Rmail command.
10700
7a70468f
RS
10701 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10702 Copy the buffer currently showing just one message.
10703
297dde5a
RW
107042011-06-22 Roland Winkler <winkler@gnu.org>
10705
10706 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10707 (bibtex-clean-entry): First delete the old key so that a
10708 customized algorithm for generating the new key does not get
10709 confused by the old key.
10710 (bibtex-url): Obey regexp of first step.
10711 (bibtex-search-entries): Do not use add-to-list with local
10712 list-var.
10713
97bb1093
LMI
107142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10715
10716 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10717 stored a user name, then query for the password first, instead of
10718 waiting for SMTP to give an error message and the trying again.
10719
1c0f1a19
JD
107202011-06-22 Lawrence Mitchell <wence@gmx.li>
10721
10722 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10723 BUFFER in call-process.
10724
396f7c9d
LMI
107252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10726
10727 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10728 QUIT twice.
ddb7ffee
LMI
10729 (smtpmail-try-auth-methods): Require user name and password from
10730 auth-source.
396f7c9d 10731
8998d1b3
MR
107322011-06-22 Martin Rudalics <rudalics@gmx.at>
10733
10734 * window.el (display-buffer-default-specifiers)
10735 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10736 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10737 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10738
10739 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10740 (special-display-frame-alist, special-display-popup-frame):
10741 Remove duplicate declarations. These are now in window.el.
10742
4ea31e07
LMI
107432011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10744
c9d29fb8
SM
10745 * mail/smtpmail.el (smtpmail-via-smtp):
10746 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10747 server supports it. SMTP servers that support STARTTLS commonly
10748 require it.
10749
10750 * net/network-stream.el (network-stream-open-starttls): Support
10751 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10752 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10753
95f41d9a
LMI
10754 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10755 upgrades with `open-network-stream', and rely solely on
10756 auth-source for all credentials. Big changes throughout the file,
10757 but in particular:
c9d29fb8
SM
10758 (smtpmail-auth-credentials): Remove.
10759 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10760 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10761 MAIL FROM, too.
95f41d9a 10762
c9d29fb8
SM
10763 * net/network-stream.el (network-stream-open-starttls):
10764 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10765 STARTTLS.
10766 (auth-source): Require.
10767 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10768 (network-stream-certificate): Change cert-cert to cert and
10769 cert-key to key.
4ea31e07 10770
065ec2c7
MA
107712011-06-21 Michael Albinus <michael.albinus@gmx.de>
10772
10773 * net/tramp-cache.el (top): Don't load the persistency file when
10774 "emacs -Q" has been called.
10775
cd93b359
DR
107762011-06-21 Tim Harper <timcharper@gmail.com>
10777
d8e4b68b
JB
10778 * term/ns-win.el (ns-initialize-window-system):
10779 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10780 resource to NO as it is not yet supported by the NS port.
10781
ae9c0411
JB
107822011-06-21 Juanma Barranquero <lekktu@gmail.com>
10783
10784 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10785 (list-dynamic-libraries): ...not here.
10786
7f3f739f
LL
107872011-06-21 Leo Liu <sdl.web@gmail.com>
10788
10789 * subr.el (sha1): Implement sha1 using secure-hash.
10790
327c8fb1
MR
107912011-06-21 Martin Rudalics <rudalics@gmx.at>
10792
10793 * window.el (display-buffer-alist): In default value do not
10794 enforce searching a window on any but the selected frame.
10795 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10796 (display-buffer-select-window): Remove function.
10797 (display-buffer-in-window): When a window on another frame gets
10798 reused, do not select it any more but just raise its frame if
10799 necessary (Bug#8851) and (Bug#8856).
10800 (display-buffer-normalize-options): Handle pop-up-frames related
10801 options more faithfully.
10802 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10803 window if it is on another frame.
c9d29fb8
SM
10804 (display-buffer-alist, display-buffer-default-specifiers):
10805 Don't make new frame unsplittable by default.
9e9de014
MR
10806 (display-buffer-normalize-argument): Fix doc-string typo and use
10807 'same-frame-other-window instead of 'other-window when associating
10808 with display-buffer-macro-specifiers.
327c8fb1 10809
7cf3f556
VB
108102011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10811
10812 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10813 New functions.
10814 (5x5-mode-map, 5x5-mode-menu): Bind them.
10815 (5x5-draw-grid): Tweak the solver's rendering.
10816
60a406cf
SM
108172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10820 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10821
d8e4b68b 108222011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10823
10824 * menu-bar.el: Use function variable instead of switch-to-buffer.
10825 (menu-bar-select-buffer-function): New variable.
60a406cf 10826 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10827
478d6f95
SM
108282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10831 variable's status.
10832
ca530739
JD
108332011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10834
10835 * x-dnd.el (x-dnd-version-from-flags)
10836 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10837 and long as number (Bug#8899).
10838 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10839
bcd70d97
SM
108402011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10841
60a406cf 10842 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10843 (completion-try-completion, completion-all-completions): Compute the
10844 metadata argument if it's missing; make it optional (bug#8795).
10845
60a406cf 10846 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10847 (widget-complete): Use new :completion-function property.
10848 (widget-completions-at-point): New function.
10849 (default): Use :completion-function instead of :complete.
60a406cf
SM
10850 (widget-default-completions): Rename from widget-default-complete;
10851 Rewrite.
bcd70d97
SM
10852 (widget-string-complete, widget-file-complete, widget-color-complete):
10853 Remove functions.
10854 (file, symbol, function, variable, coding-system, color):
10855 * international/mule-cmds.el (default-input-method, charset)
10856 (language-info-custom-alist):
10857 * cus-edit.el (face): Use new property :completions.
10858
10859 * progmodes/pascal.el (pascal-completions-at-point): New function.
10860 (pascal-mode): Use it.
10861 (pascal-mode-map): Use completion-at-point.
10862 (pascal-toggle-completions): Make obsolete.
10863 (pascal-complete-word, pascal-show-completions):
10864 * progmodes/octave-mod.el (octave-complete-symbol):
10865 Redefine as obsolete alias.
10866 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10867 Signal absence of completion info for old Octave,
10868 (inferior-octave-complete): Redefine as obsolete alias.
10869 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10870 (meta-completions-at-point): Rename from meta-complete-symbol and
10871 adapt it for use on completion-at-point-functions.
10872 (meta-common-mode): Use it.
10873 (meta-looking-at-backward, meta-match-buffer): Remove.
10874 (meta-complete-symbol): Redefine as obsolete alias.
10875 (meta-common-mode-map): Use completion-at-point.
10876 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10877 (makefile-mode-map): Use completion-at-point.
10878 (makefile-completions-at-point): Rename from makefile-complete and
10879 adapt it for use on completion-at-point-functions.
10880 (makefile-mode): Use it.
10881 (makefile-complete): Redefine as obsolete alias.
10882
aebf69c8
DD
108832011-06-20 Deniz Dogan <deniz@dogan.se>
10884
10885 * net/rcirc.el: Delete trailing whitespaces once and for all.
10886
bfbbb27d
DC
108872011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10888
10889 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10890
d264a46b
CY
108912011-06-19 Chong Yidong <cyd@stupidchicken.com>
10892
4ca009e5
CY
10893 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10894
d264a46b
CY
10895 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10896
fbf5b3ce
MR
108972011-06-19 Martin Rudalics <rudalics@gmx.at>
10898
10899 * window.el (display-buffer-other-window-means-other-frame):
10900 Call display-buffer-normalize-alist.
10901 (display-buffer-normalize-specifiers-1): Rename to
10902 display-buffer-normalize-argument. New argument other-frame.
10903 Rewrite.
10904 (display-buffer-normalize-specifiers-2): Rename to
10905 display-buffer-normalize-options.
10906 (display-buffer-normalize-alist-1): New function.
10907 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10908 display-buffer-normalize-alist.
10909 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10910 (display-buffer-normalize-options-inhibit): New variable.
10911 (display-buffer-normalize-specifiers): Rewrite calling
10912 display-buffer-normalize-alist,
10913 display-buffer-normalize-argument, and
10914 display-buffer-normalize-options. Don't call the latter if
10915 display-buffer-normalize-options-inhibit is non-nil.
10916 (frame-auto-delete): New option.
10917 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10918 (window-list-no-nils, window-state-ignored-parameters)
10919 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10920 (window-state-put-1, window-state-put-2, window-state-put):
10921 New functions.
9a028c23
MR
10922 (display-buffer-normalize-options): Move special-display-p group
10923 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10924
6d10d800
CY
109252011-06-18 Chong Yidong <cyd@stupidchicken.com>
10926
6420d28b
CY
10927 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10928 groups (Bug#8776).
10929 (rx-submatch-n): New function.
10930 (rx): Document it.
10931
ddb8b596
CY
10932 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10933 (Bug#8768).
10934
10935 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10936
77080289
CY
10937 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10938
61dfb316
CY
10939 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10940 anytime existing face settings are present (Bug#8889).
10941
6d10d800
CY
10942 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10943 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10944 Remove unused argument.
10945
be3fb2b8
MR
109462011-06-18 Martin Rudalics <rudalics@gmx.at>
10947
bcd70d97
SM
10948 * window.el (display-buffer-default-specifiers):
10949 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10950 pop-up-window-min-width, and another reuse-window specifier
10951 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10952 (display-buffer-normalize-specifiers-2):
10953 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10954 pop-up-windows is unset. Add a reuse-window specifier for the
10955 case popping up a new window fails.
10956 (special-display-popup-frame): Remove double quoting.
28dec25a 10957 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10958
1c6d8c76
SM
109592011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10960
10961 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10962 according to comint-completion-addsuffix.
10963
10964 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10965 (pcomplete-suffix-list): Mark as obsolete.
10966 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10967 pcomplete-seen in the closure.
10968 (pcomplete-comint-setup): Setup completion-at-point as well.
10969 (pcomplete--entries): New function.
10970 (pcomplete--env-regexp): New var.
10971 (pcomplete-entries): Rewrite to work with partial-completion and
10972 without relying on pcomplete-suffix-list.
10973 (pcomplete-pare-list): Remove, unused.
10974
25aef8b8
MR
109752011-06-17 Martin Rudalics <rudalics@gmx.at>
10976
10977 * window.el (display-buffer-alist): Set pop-up-window-min-height
10978 and pop-up-window-min-width in default value. Reported by
10979 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10980 other-window-means-other-frame.
10981 (display-buffer-macro-specifiers): Comment out entry for
10982 other-window specifier.
10983 (display-buffer-other-window-means-other-frame): New function.
10984 (display-buffer-normalize-specifiers-1): New arguments
10985 buffer-name and label. Treat other-window case specially.
10986 (display-buffer-normalize-specifiers-2): Treat other-window case
10987 specially.
10988 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10989 (display-buffer-normalize-specifiers):
10990 Call display-buffer-normalize-specifiers-3.
25aef8b8 10991
dbad4f69
MR
109922011-06-17 Martin Rudalics <rudalics@gmx.at>
10993
10994 * window.el (same-window-p): Fix two typos introduced when
10995 adding with-no-warnings.
d1067961
MR
10996 (display-buffer-normalize-specifiers-1): Don't check
10997 pop-up-frames for 'unset initialization.
10998 (display-buffer-normalize-specifiers-2): Major rewrite using
10999 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11000 (pop-up-frames, display-buffer-reuse-frames)
11001 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11002 Suggested by David Engster <deng@randomsample.de>.
11003 (even-window-heights): Initialize to 'unset.
11004 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11005 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11006 other window case.
dbad4f69 11007
9b9c9e3a
MR
110082011-06-16 Martin Rudalics <rudalics@gmx.at>
11009
bcd70d97
SM
11010 * window.el (display-buffer-normalize-specifiers-1):
11011 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11012 second argument of display-buffer (Bug#8865).
981d5c09
MR
11013 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11014 (switch-to-buffer-other-window-same-frame)
11015 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11016 Adams (Bug#8875).
9c2755e9
MR
11017 (display-buffer): Don't check noninteractive when calling
11018 display-buffer-pop-up-frame.
11019 (display-buffer-pop-up-frame): Never pop up a frame in
11020 noninteractive mode (Bug#8857).
67222e1d
MR
11021 (enlarge-window, shrink-window): Don't report an error when the
11022 window can't be resized as requested (Bug#8862).
9b9c9e3a 11023
2b75be67
SM
110242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11025
9ffdd3ba
SM
11026 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11027
cb581a67
SM
11028 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11029
2b75be67
SM
11030 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11031
8c0e3589
AM
110322011-06-15 Alan Mackenzie <acm@muc.de>
11033
cb581a67
SM
11034 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11035 for declarators, disable knr checking to speed up for normal files.
11036 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11037
b96e6cde
LMI
110382011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11039
4bba86e6
LMI
11040 * net/network-stream.el (open-network-stream): Add the keyword
11041 :always-query-capabilities for the case where you want to force a
11042 `plain' network connection, but the protocol still requires the
11043 capabilitiy command (i.e., SMTP and EHLO).
11044
2b75be67 11045 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11046 consistency with other `-live-p' functions.
11047
efdcdbf8
SM
110482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * window.el (same-window-buffer-names, same-window-regexps)
11051 (special-display-frame-alist, special-display-popup-frame)
11052 (special-display-function, special-display-buffer-names)
11053 (special-display-regexps, pop-up-frame-alist)
11054 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11055 (pop-up-windows, split-window-preferred-function)
11056 (split-height-threshold, split-width-threshold, even-window-heights)
11057 (display-buffer-mark-dedicated): Don't encourage the use of
11058 display-buffer-alist from Elisp code.
11059
c5cde042
DN
110602011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11061
11062 * progmodes/python.el (python-mode): Derive from prog-mode.
11063 * progmodes/ps-mode.el (ps-mode):
11064 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11065 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11066 * progmodes/ld-script.el (ld-script-mode): Likewise.
11067
baa1c9ab
MR
110682011-06-15 Martin Rudalics <rudalics@gmx.at>
11069
11070 * window.el (display-buffer-alist): Trim default value to avoid
11071 popping up a new frame (Bug#8857) or reusing an arbitrary window
11072 on another frame.
11073 (display-buffer): Do not fall back on popping up a new frame in
11074 batch mode (Bug#8857).
11075
c5dd5a51
CY
110762011-06-14 Chong Yidong <cyd@stupidchicken.com>
11077
11078 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11079 (custom-theme-summary): New function.
11080 (customize-themes): Use it.
11081
d647b7c4
GM
110822011-06-13 Glenn Morris <rgm@gnu.org>
11083
11084 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11085
9481c002
MR
110862011-06-13 Martin Rudalics <rudalics@gmx.at>
11087
357f93d2
MR
11088 * help.el (help-window): Remove variable.
11089 (help-window-point-marker, temp-buffer-max-height)
11090 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11091 (help-print-return-message): Don't set help-window.
11092 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11093 (help-window-setup-finish): Remove.
11094 (help-window-display-message, help-window-setup)
11095 (with-help-window): Major rewrite based on new
11096 display-buffer-window variable.
11097
11098 * help-mode.el (help-mode-finish): Remove help-window related
11099 code.
11100
11101 * view.el (view-exits-all-viewing-windows): Remove reference to
11102 view-return-to-alist in doc-string.
11103 (view-return-to-alist): Make obsolete.
11104 (view-buffer): Call pop-to-buffer-same-window and remove
11105 undo-window code.
11106 (view-buffer-other-window): Call pop-to-buffer-other-window and
11107 simplify code. Ignore second argument.
11108 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11109 simplify code. Ignore second argument.
11110 (view-return-to-alist-update): Make obsolete.
11111 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11112 Rewrite using quit-restore window parameters.
2b75be67
SM
11113 (view-mode-exit): Rename second argument to EXIT-ONLY.
11114 Rewrite using quit-restore-window.
357f93d2
MR
11115 (View-exit, View-exit-and-edit, View-leave, View-quit)
11116 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11117 appropriate arguments.
11118 (view-end-message): Use quit-restore window parameter.
11119
9481c002
MR
11120 * window.el (display-buffer-function): Rewrite doc-string.
11121 (display-buffer-window, display-buffer-alist): New variables.
11122 (display-buffer-split-specifiers)
11123 (display-buffer-side-specifiers)
11124 (display-buffer-macro-specifiers): New constants.
11125 (display-buffer-even-window-sizes, display-buffer-set-height)
11126 (display-buffer-set-width, display-buffer-select-window)
11127 (display-buffer-in-window, display-buffer-reuse-window)
11128 (display-buffer-split-window-1, display-buffer-split-window)
11129 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11130 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11131 (display-buffer-in-side-window, normalize-buffer-to-display)
11132 (display-buffer-normalize-specifiers-1)
11133 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11134 (display-buffer-normalize-specifiers, display-buffer-frame):
11135 New functions.
9481c002
MR
11136 (display-buffer): Major rewrite.
11137 (display-buffer-other-window, display-buffer-other-frame)
11138 (pop-to-buffer, switch-to-buffer-other-window)
11139 (switch-to-buffer-other-frame): Rewrite.
11140 (display-buffer-same-window, display-buffer-same-frame)
11141 (display-buffer-same-frame-other-window)
11142 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11143 (pop-to-buffer-other-window)
11144 (pop-to-buffer-same-frame-other-window)
11145 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11146 (switch-to-buffer-other-window-same-frame): New functions.
11147 (same-window-p, special-display-p): Rewrite disabling warnings.
11148 Make obsolete.
11149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11150 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11151 Make obsolete
11152 (same-window-buffer-names, same-window-regexps)
11153 (special-display-frame-alist, special-display-popup-frame)
11154 (special-display-function, special-display-buffer-names)
11155 (special-display-regexps, pop-up-frame-alist)
11156 (pop-up-frame-function, split-window-preferred-function)
11157 (split-height-threshold, split-width-threshold)
11158 (even-window-heights): Make obsolete.
11159
9db51aca
GM
111602011-06-12 Glenn Morris <rgm@gnu.org>
11161
11162 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11163 Misc simplifications.
9db51aca 11164
39cffb44
MR
111652011-06-12 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (window-safely-shrinkable-p): Restore function which
11168 was inadvertently removed in change from 2011-06-11. Declare as
11169 obsolete.
11170
2b75be67
SM
11171 * calendar/calendar.el (calendar-generate-window):
11172 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11173 window-safely-shrinkable-p.
11174
a8955be7
GM
111752011-06-12 Glenn Morris <rgm@gnu.org>
11176
11177 * progmodes/fortran.el (fortran-mode-syntax-table):
11178 * progmodes/f90.el (f90-mode-syntax-table):
11179 Set % to punctuation. (Bug#8820)
11180 (f90-find-tag-default): Remove, no longer needed.
11181
f0d4059d
DC
111822011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11183
11184 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11185
1100a63c
CY
111862011-06-11 Chong Yidong <cyd@stupidchicken.com>
11187
11188 * image.el (image-animated-p): Return animation delay in seconds.
11189 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11190 (image-animate-timeout): Remove DELAY argument. Don't assume
11191 every subimage has the same delay; get it from image-animated-p.
11192 (image-animate): Caller changed.
11193
def722bf
MA
111942011-06-11 Michael Albinus <michael.albinus@gmx.de>
11195
11196 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11197 to ignored backtrace functions.
11198
0a2bb1a9
GM
111992011-06-11 Glenn Morris <rgm@gnu.org>
11200
11201 * calendar/appt.el (appt-disp-window-function): Doc fix.
11202 (appt-check): Handle overlapping appointments. (Bug#8337)
11203
6198ccd0
MR
112042011-06-11 Martin Rudalics <rudalics@gmx.at>
11205
11206 * window.el (window-tree-1, window-tree): New functions, moving
11207 the latter to window.el.
11208 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11209 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11210 (bw-refresh-edges): Remove.
11211 (balance-windows-1, balance-windows-2): New functions.
11212 (balance-windows): Rewrite in terms of window tree functions,
11213 balance-windows-1 and balance-windows-2.
11214 (bw-adjust-window): Remove.
11215 (balance-windows-area-adjust): New function with functionality of
11216 bw-adjust-window but using resize-window.
2b75be67
SM
11217 (set-window-text-height): Rewrite doc-string.
11218 Use normalize-live-window and resize-window.
11219 (enlarge-window-horizontally, shrink-window-horizontally):
11220 Rename argument to DELTA.
6198ccd0
MR
11221 (window-buffer-height): New function.
11222 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11223 Rewrite using new window resize routines.
2b75be67
SM
11224 (kill-buffer-and-window, mouse-autoselect-window-select):
11225 Use ignore-errors instead of condition-case.
6198ccd0
MR
11226 (quit-window): Call delete-frame instead of delete-windows-on
11227 for the only buffer on frame.
11228
9397e56f
MR
112292011-06-10 Martin Rudalics <rudalics@gmx.at>
11230
11231 * loadup.el (top-level): Load window before files for the sake
11232 of replace-buffer-in-windows.
11233
11234 * files.el (read-buffer-to-switch)
11235 (switch-to-buffer-other-window)
2b75be67
SM
11236 (switch-to-buffer-other-frame, display-buffer-other-frame):
11237 Move to window.el.
9397e56f
MR
11238
11239 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11240 (previous-buffer): Move to window.el.
11241
11242 * bindings.el (unbury-buffer): Move to window.el.
11243
11244 * window.el (delete-other-windows-vertically): Move after
11245 definition of delete-other-windows.
11246 (other-window, delete-windows-on, replace-buffer-in-windows):
11247 Move here from window.c.
11248 (record-window-buffer, unrecord-window-buffer)
11249 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11250 (switch-to-next-buffer): New functions.
11251 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11252 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11253 (previous-buffer): Move here from simple.el.
11254 Call switch-to-prev-buffer.
9397e56f
MR
11255 (bury-buffer): Move here from buffer.c. Switch to previous
11256 buffer when window cannot be deleted.
11257 (unbury-buffer): Move here from bindings.el.
11258 (ctl-x-map): Move binding for other-window from window.c to
11259 here.
11260 (read-buffer-to-switch, switch-to-buffer-other-window)
11261 (switch-to-buffer-other-frame): Move here from files.el.
11262 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11263 (switch-to-buffer): Move here from buffer.c.
11264 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11265
562dd5e9
MR
112662011-06-10 Martin Rudalics <rudalics@gmx.at>
11267
11268 * window.el (window-min-height, window-min-width): Move here
11269 from window.c. Add defcustoms and rewrite doc-strings.
11270 (resize-mini-window, resize-window): New functions.
11271 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11272 Move here from window.c.
11273 (maximize-window, minimize-window): New functions.
11274 (delete-window, delete-other-windows, split-window): Move here
11275 from window.c.
11276 (window-split-min-size): New function.
11277 (split-window-keep-point): Mention split-window-above-each-other
11278 instead of split-window-vertically.
2b75be67 11279 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11280 Rename split-window-vertically to split-window-above-each-other
11281 and provide defalias for old definition.
11282 (split-window-side-by-side, split-window-horizontally):
11283 Rename split-window-horizontally to split-window-side-by-side
11284 and provide defalias for the old definition.
562dd5e9
MR
11285 (ctl-x-map): Move bindings for delete-window,
11286 delete-other-windows and enlarge-window here from window.c.
11287 Replace bindings for split-window-vertically and
11288 split-window-horizontally by bindings for
11289 split-window-above-each-other and split-window-side-by-side.
11290
11291 * cus-start.el (all): Remove entries for window-min-height and
11292 window-min-width. Add entries for window-splits and
11293 window-nest.
11294
f0da764a
GM
112952011-06-09 Glenn Morris <rgm@gnu.org>
11296
80675c21
GM
11297 * calendar/appt.el (appt-mode-line): New function.
11298 (appt-check, appt-disp-window): Use it.
11299
f0da764a
GM
11300 * files.el (hack-one-local-variable-eval-safep):
11301 Allow minor-modes with explicit +/-1 arguments.
11302
59f623b7
TZ
113032011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11304
11305 * term/xterm.el (xterm): Add defgroup.
11306 (xterm-extra-capabilities): Add defcustom to supply known xterm
11307 capabilities, skip querying them, or query them (default).
11308 (terminal-init-xterm): Use it.
11309 (terminal-init-xterm-modify-other-keys): New function to set up
11310 modifyOtherKeys support to simplify `terminal-init-xterm'.
11311
9aab8e0d
MR
113122011-06-09 Martin Rudalics <rudalics@gmx.at>
11313
11314 * window.el (resize-window-reset, resize-window-reset-1)
11315 (resize-subwindows-skip-p, resize-subwindows-normal)
11316 (resize-subwindows, resize-other-windows, resize-this-window)
11317 (resize-root-window, resize-root-window-vertically)
11318 (window-deletable-p, window-or-subwindow-p)
11319 (frame-root-window-p): New functions.
11320
e8b08aee
GM
113212011-06-09 Glenn Morris <rgm@gnu.org>
11322
11323 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11324 (ange-ftp-get-files): Use it.
11325
254c37a5
AK
113262011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11327
11328 * mail/sendmail.el (mail-recover-1, mail-recover):
11329 * files.el (recover-file, recover-session):
11330 Handle dired-listing-switches not being just a single short option.
11331
35d7dbd3
GM
113322011-06-09 Glenn Morris <rgm@gnu.org>
11333
11334 * calendar/appt.el (appt-display-message, appt-disp-window):
11335 Handle lists of appointments.
11336
387522b2
MR
113372011-06-08 Martin Rudalics <rudalics@gmx.at>
11338
2b75be67
SM
11339 * window.el (one-window-p): Move down in code.
11340 Rewrite doc-string.
11341 (window-current-scroll-bars): Rewrite doc-string.
11342 Normalize live window argument.
387522b2
MR
11343 (walk-windows, get-window-with-predicate, count-windows):
11344 Rewrite doc-string. Use window-list-1.
11345 (window-in-direction-2, window-in-direction, get-mru-window):
11346 New functions.
11347
d8e4b68b 113482011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11349
11350 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11351 Doc fix (Bug#8713).
11352
113532011-06-08 Chong Yidong <cyd@stupidchicken.com>
11354
11355 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11356
113572011-06-08 Juanma Barranquero <lekktu@gmail.com>
11358
11359 * loadhist.el (unload-feature-special-hooks):
11360 Add `comint-output-filter-functions'.
11361
0de12c52
IK
113622011-06-08 Ivan Kanis <gnu@kanis.fr>
11363
11364 * calendar/appt.el (appt-check): Move some initializations into the let.
11365
f3d1777e
MR
113662011-06-08 Martin Rudalics <rudalics@gmx.at>
11367
11368 * window.el (window-height): Defalias to window-total-height.
11369 (window-width): Defalias to window-body-width.
11370
18af70d0
CY
113712011-06-07 Chong Yidong <cyd@stupidchicken.com>
11372
11373 * image-mode.el (image-toggle-animation): New command.
11374 (image-mode-map): Bind it to RET.
11375 (image-mode): Update message.
11376 (image-toggle-display-image): Avoid a spurious cache flush.
11377 (image-transform-rotation): Doc fix.
11378 (image-transform-properties): Return quickly in the normal case.
11379 (image-animate-loop): Rename from image-animate-max-time.
11380
2b75be67 11381 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11382 (create-animated-image): Remove unnecessary function.
11383 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11384 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11385 (image-animate-timer): Use car-safe.
11386 (image-animate-timeout): Rename argument.
11387
190b47e6
MR
113882011-06-07 Martin Rudalics <rudalics@gmx.at>
11389
11390 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11391 window.c. Rename first argument to ALL-FRAMES.
11392 Rephrase doc-strings.
11393 (get-buffer-window-list): Rewrite using window-list-1.
11394 Rephrase doc-string.
a1511caf
MR
11395 (window-safe-min-height, window-safe-min-width): New constants.
11396 (window-size-ignore, window-min-size, window-min-size-1)
11397 (window-sizable, window-sizable-p, window-size-fixed-1)
11398 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11399 (window-max-delta-1, window-max-delta, window-resizable)
11400 (window-resizable-p, window-total-height, window-total-width)
11401 (window-body-width): New functions.
11402 (window-full-height-p, window-full-width-p): Rewrite using
11403 window-total-size.
11404 (window-body-height): Rewrite using window-body-size.
190b47e6 11405
85cc1f11
MR
114062011-06-06 Martin Rudalics <rudalics@gmx.at>
11407
11408 * window.el (window-right, window-left, window-child)
11409 (window-child-count, window-last-child, window-any-p)
11410 (normalize-live-buffer, normalize-live-frame)
11411 (normalize-any-window, normalize-live-window)
11412 (window-iso-combination-p, window-iso-combined-p)
11413 (window-iso-combinations)
11414 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11415 (windows-with-parameter, window-with-parameter)
11416 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11417 (window-atom-check, window-side-check, window-check):
11418 New functions.
85cc1f11
MR
11419 (ignore-window-parameters, window-sides, window-sides-vertical)
11420 (window-sides-slots): New variables.
11421 (window-size-fixed): Move down in code. Minor doc-string fix.
11422
e7156492
AS
114232011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11424
11425 * comint.el (comint-dynamic-complete-as-filename)
11426 (comint-dynamic-complete-filename): Correctly call
11427 completion-in-region.
11428
7e821d0d
DD
114292011-06-05 Deniz Dogan <deniz@dogan.se>
11430
11431 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11432 in last change.
11433
ac09b8a1
DD
114342011-06-05 Deniz Dogan <deniz@dogan.se>
11435
11436 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11437 (rcirc): Use it to prompt for encryption.
11438
34699b85
RW
114392011-06-05 Roland Winkler <winkler@gnu.org>
11440
11441 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11442 (bibtex-search-entries): New command bound to C-c C-a.
11443 (bibtex-display-entries): New function.
11444
004dedd3
RW
114452011-06-05 Roland Winkler <winkler@gnu.org>
11446
11447 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11448 (bibtex-insert-kill): After yanking insert newline if necessary.
11449 (bibtex-initialize): Call bibtex-string-files-init only once.
11450 (bibtex-mode): Do not call easy-menu-add.
11451 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11452 (bibtex-yank): Set arg properly if nil.
11453
022fe7ce
RW
114542011-06-05 Roland Winkler <winkler@gnu.org>
11455
2b75be67
SM
11456 * textmodes/bibtex.el (bibtex-search-entry-globally):
11457 New variable.
022fe7ce
RW
11458 (bibtex-search-entry): Use it.
11459
b7c3692a
RW
114602011-06-05 Roland Winkler <winkler@gnu.org>
11461
11462 * textmodes/bibtex.el (bibtex-entry-format): New option
11463 sort-fields.
11464 (bibtex-format-entry, bibtex-reformat): Honor this option.
11465 (bibtex-parse-entry): Return fields in proper order.
11466
8eda563d
JB
114672011-06-05 Juanma Barranquero <lekktu@gmail.com>
11468
11469 * doc-view.el (doc-view-remove-if): Move computation of result out
11470 of `dolist' to silence misleading lexical-binding warning.
11471
7dbe3dbc
CY
114722011-06-04 Chong Yidong <cyd@stupidchicken.com>
11473
11474 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11475 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11476
0c33dd17
MA
114772011-06-04 Michael Albinus <michael.albinus@gmx.de>
11478
11479 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11480 "SunOS 5.10".
11481
f8f91c2b
MA
114822011-06-04 Michael Albinus <michael.albinus@gmx.de>
11483
11484 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11485 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11486 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11487 (tramp-parse-putty):
11488 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11489 (tramp-completion-function-alist-ssh)
11490 (tramp-completion-function-alist-telnet)
11491 (tramp-completion-function-alist-su)
11492 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11493 cookie.
11494
11495 * net/tramp-ftp.el:
11496 * net/tramp-sh.el:
11497 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11498 load "tramp.el" `tramp-set-completion-function'.
11499
e17d9003
SM
115002011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * shell.el: Require and use pcomplete.
11503 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11504 (shell-completion-vars): Set pcomplete-default-completion-function.
11505
6c4cab03
DD
115062011-06-04 Deniz Dogan <deniz@dogan.se>
11507
11508 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11509 `memq' (Bug#8799).
11510
ea9fafe0
SM
115112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11514
b3e945d3
JB
115152011-06-02 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11518 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11519 * vc/log-view.el (log-view-beginning-of-defun):
11520 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11521 (smerge-refine-forward, smerge-refine-chopup-region):
11522 Silence warning for unused `dotimes' counter variables.
11523
7d520089
SM
115242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * net/tramp.el (tramp-with-progress-reporter): Rename from
11527 with-progress-reporter. Use `declare'.
11528 * net/tramp-smb.el:
11529 * net/tramp-sh.el:
11530 * net/tramp-gvfs.el: Update all uses.
11531
a1c2400f
JB
115322011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11533
11534 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11535 buffer isn't killed before making it current.
11536
2403c841
SM
115372011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 Silence various byte-compiler warnings.
11540 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11541 `access-type' and new obsolescence format.
11542 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11543 new format.
11544 (byte-compile-check-variable): New `access-type' argument.
11545 Only warn if the access-type is obsolete.
11546 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11547 (byte-compile-variable-set): Adjust callers.
11548 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11549 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11550 setting it as obsolete.
11551 * simple.el (minibuffer-completing-symbol):
11552 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11553 access as obsolete.
11554 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11555 obsolete yet.
11556 * international/quail.el (quail-mouse-choose-completion): Remove unused
11557 code referring to obsolete var.
11558 (quail-choose-completion-string): Remove.
11559 * server.el (server-clients-with, server-kill-buffer-query-function)
11560 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11561 * proced.el (proced-send-signal):
11562 * emacs-lisp/lisp.el (lisp-complete-symbol):
11563 Replace completion-annotate-function with completion-extra-properties.
11564
2462470b
SM
115652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11566
fb5b2591
SM
11567 * simple.el (goto-line): Use read-number.
11568 (overriding-map-is-bound): Remove.
11569 (saved-overriding-map): Change default.
11570 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11571 Take the map as argument.
11572 (universal-argument, negative-argument, digit-argument): Use it.
11573 (restore-overriding-map): Adjust.
11574 (do-auto-fill): Use fill-forward-paragraph.
11575 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11576
fd6fa53f
SM
11577 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11578 (minibuffer-inactive-mode): New major mode.
11579 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11580 the *Messages* buffer" hack.
11581 (mouse-popup-menubar): Don't burp if the event is a normal key.
11582
2462470b
SM
11583 Miscellaneous tweaks.
11584 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11585 lexical scoping as in subr.el's dolist and dotimes.
11586 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11587 Silence compiler warning.
11588 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11589 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11590 * international/ccl.el (ccl-compile): Trivial simplification.
11591 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11592 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11593 `printflag' argument.
11594 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11595 Purecopy the whole obsolescence data.
11596
108bf785
LL
115972011-06-01 Leo Liu <sdl.web@gmail.com>
11598
11599 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11600 improve doc-string as suggested by Marco Pessotto
11601 <melmothx@gmail.com>.
11602 (rcirc-print): Fix last change.
11603
30a23501
SM
116042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 * minibuffer.el (complete-with-action): Return nil for the metadata and
11607 boundaries of non-functional tables.
11608 (completion-table-dynamic): Return nil for the metadata.
11609 (completion-table-with-terminator): Add default case, using
11610 complete-with-action.
11611 (completion--metadata): New function.
11612 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11613 to try and avoid pathological performance problems.
11614 (completion--embedded-envvar-table): Return `category' metadata.
11615
bcd54f83
LMI
116162011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11617
11618 * subr.el (process-alive-p): New tiny convenience function.
11619
e227544d
SM
116202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11623 content but also its previous major mode.
11624
e8296fdc
HE
116252011-05-31 Helmut Eller <eller.helmut@gmail.com>
11626
4d61f28d 11627 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11628 *Backtrace* buffer when we exit with C-M-c.
11629
620c53a6
SM
116302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * minibuffer.el: Add metadata method to completion tables.
11633 (completion-category-overrides): New defcustom.
11634 (completion-metadata, completion--field-metadata)
11635 (completion-metadata-get, completion--styles)
11636 (completion--cycle-threshold): New functions.
11637 (completion-try-completion, completion-all-completions):
11638 Add `metadata' argument to choose completion-styles.
11639 (completion--do-completion): Use metadata to choose cycling.
11640 (completion-all-sorted-completions): Use metadata for sorting.
11641 Remove :completion-cycle-penalty which is not needed any more.
11642 (completion--try-word-completion): Add `metadata' argument.
11643 (minibuffer-completion-help): Check metadata for annotation function
11644 and sorting.
11645 (completion-file-name-table): Return `category' metadata.
11646 (minibuffer-completing-file-name): Make obsolete.
11647 * simple.el (minibuffer-completing-symbol): Make obsolete.
11648 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11649 completion-try-completion.
11650
1257e755
SM
116512011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11654
3767e706
LL
116552011-05-30 Leo Liu <sdl.web@gmail.com>
11656
11657 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11658 (rcirc-print): Decode all incoming messages (bug#8744).
11659 (rcirc-decode-coding-system): Allow value nil for automatic coding
11660 system detection.
3767e706 11661
d1a5d56a
GM
116622011-06-01 Glenn Morris <rgm@gnu.org>
11663
11664 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11665
e8cbec34
CY
116662011-05-29 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * image.el (image-animate-max-time): Allow nil and t values.
11669 Default to nil.
11670 (create-animated-image): Doc fix.
11671 (image-animate-start): Remove second arg; just use
11672 image-animate-max-time.
11673 (image-animate-timeout): Doc fix. Args changed.
11674
11675 * image-mode.el (image-toggle-display-image): Ensure that the
11676 image spec passed to the animate timer is the same object as in
58179cce 11677 the buffer's display property (Bug#6981).
e8cbec34
CY
11678 (image-transform-properties): Doc fix.
11679
11680 * image.el (image-animate-max-time): Default to nil.
11681
159daf87
MR
116822011-05-29 Martin Rudalics <rudalics@gmx.at>
11683
11684 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11685 entire buffer list (Bug#8184).
11686
d66c4c7c
CY
116872011-05-29 Chong Yidong <cyd@stupidchicken.com>
11688
11689 * image.el (imagemagick-types-inhibit)
11690 (imagemagick-register-types): Doc fix.
11691
80aec780
DD
116922011-05-29 Deniz Dogan <deniz@dogan.se>
11693
11694 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11695 default.
11696
1dd3c2d9
CY
116972011-05-29 Chong Yidong <cyd@stupidchicken.com>
11698
11699 * select.el: Don't perform clipboard-manager saving in hooks;
11700 leave the hooks empty.
11701
60e56523
LL
117022011-05-28 Leo Liu <sdl.web@gmail.com>
11703
11704 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11705 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11706 (occur-edit-mode): New major mode (Bug#8463).
11707 (occur-after-change-function): New function.
11708 (occur-engine): Give Occur tags a read-only property.
11709
2b1e1a22
KR
117102011-05-28 Kevin Ryde <user42@zip.com.au>
11711
11712 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11713
5d344e88
CY
117142011-05-28 Chong Yidong <cyd@stupidchicken.com>
11715
8e6ca83d
CY
11716 * bindings.el (help-echo): Make the initial non-indicator dash
11717 empty on graphical terminals (Bug#7295).
11718
5d344e88
CY
11719 * files.el (auto-mode-alist): Move config rule after the
11720 in-stripping one (Bug#8547).
11721
bfbbace7
CY
11722 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11723
fbeba6e2
CY
11724 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11725 setting (Bug#8740).
11726
60ed8c72
AA
117272011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11728
4ac619f0
AA
11729 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11730 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11731 (Bug#8539).
60ed8c72 11732
23db196e
CY
117332011-05-28 Chong Yidong <cyd@stupidchicken.com>
11734
11735 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11736
5012f24c
DK
117372011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11738
11739 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11740 (hs-hide-block-at-point, hs-find-block-beginning)
11741 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11742 (Bug#8279).
11743
6a639b16
GM
117442011-05-28 Glenn Morris <rgm@gnu.org>
11745
11746 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11747
d43eaf2c
CY
117482011-05-28 Chong Yidong <cyd@stupidchicken.com>
11749
5199bde1
CY
11750 * help-fns.el (describe-function-1): If the function is a derived
11751 major mode, print the parent mode.
11752
d43eaf2c
CY
11753 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11754 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11755
423428a8
SM
117562011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11757
0ff8e1ba 11758 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11759 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11760 * progmodes/etags.el (tags-completion-at-point-function):
11761 * info-look.el (info-lookup-completions-at-point): Mark as
11762 non-exclusive.
11763 (info-complete): Adjust accordingly.
11764
423428a8
SM
11765 * info-look.el: Convert to lexical-binding and completion-at-point.
11766 (info-lookup-completions-at-point): New function.
11767 (info-complete): Use it and completion-in-region.
11768
b74aa22b
DA
117692011-05-28 Drew Adams <drew.adams@oracle.com>
11770
11771 * isearch.el: Let M-e start with point at the first mismatched char.
11772 (isearch-fail-pos): New function.
11773 (isearch-edit-string): Use it.
11774
66e2e71d
DK
117752011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11776
11777 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11778
b1890b0f 117792011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11780
11781 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11782 traversal functions for avl-trees.
11783 (avl-tree--stack): New struct.
11784 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11785 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11786 (avl-tree--do-enter): Add optional `updatefun' arg.
11787 Change return value.
eb95d01d 11788 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11789 (avl-tree--do-delete): Add `test' and `nilflag' args.
11790 Change return value.
eb95d01d
TC
11791 (avl-tree-member): Add optional `nilflag'
11792 (avl-tree-member-p): New function.
11793 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11794 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11795 (avl-tree-stack-empty-p): New functions.
11796
3769ddcf
TC
11797 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11798 avl-tree--del-balance1 and make it work both ways.
11799 (avl-tree--del-balance2): Remove.
11800 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11801 make it work both ways.
11802 (avl-tree--enter-balance2): Remove.
11803 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11804 New macros.
11805 (avl-tree--mapc, avl-tree-map): Add direction argument.
11806
eb95d01d 118072011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11808
11809 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11810
a9f737ee
CY
118112011-05-27 Chong Yidong <cyd@stupidchicken.com>
11812
11813 * select.el: Support clipboard managers with built-in function
11814 x-clipboard-manager-save, via delete-frame-functions and
11815 kill-emacs-hook.
11816 (xselect-convert-to-targets): Add MULTIPLE target to list.
11817 (xselect-convert-to-save-targets): New function.
11818
c92a1e54
KH
118192011-05-27 Kenichi Handa <handa@m17n.org>
11820
11821 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11822 let-binding rfc2047-encode-encoded-words to nil.
11823
e145f188
GM
118242011-05-27 Glenn Morris <rgm@gnu.org>
11825
5ec8a862
GM
11826 * mail/emacsbug.el: Don't require url-util.
11827
4b29d9fb
GM
11828 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11829
e145f188
GM
11830 * files.el (set-auto-mode):
11831 Also respect mode: entries at the end of the file. (Bug#8586)
11832
7d15102b
GM
118332011-05-26 Glenn Morris <rgm@gnu.org>
11834
98f593b8
GM
11835 * files.el (hack-local-variables-prop-line, hack-local-variables):
11836 Downcase mode names, as seems to be traditional.
27b48e63 11837 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11838
7d15102b
GM
11839 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11840 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11841
51d5b4ec
JD
118422011-05-25 Julien Danjou <julien@danjou.info>
11843
11844 * textmodes/rst.el (rst-define-level-faces): Do not define face
11845 symbol if it is already defined.
11846
91513f63
VB
118472011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11848
11849 * play/5x5.el (5x5-new-game, 5x5-randomize):
11850 Reset 5x5-solver-output to nil when a new grid is cast.
11851 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11852 these debugging traces, as defmacro breaks the compiled code.
11853
4d90d6d0
DK
118542011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11855
11856 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11857
e1b90ef6
LL
118582011-05-24 Leo Liu <sdl.web@gmail.com>
11859
11860 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11861 (vc-bzr-sha1): Adapt.
11862
d8e4b68b 11863 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11864
11865 * bindings.el: Provide sha1 feature.
11866
db0406bb 118672011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11868
11869 * mail/sendmail.el: Require `rfc2047'.
11870 (mail-insert-from-field): Do not perform RFC2047 encoding.
11871 (mail-encode-header): New function.
11872 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11873 buffer to the return value of select-message-coding-system.
11874 Call mail-encode-header.
b8d747b9
KH
11875
11876 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11877
db0406bb 118782011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11879
4d90d6d0
DK
11880 * mail/supercite.el (sc-default-cite-frame):
11881 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11882
eb8a5e9b
GM
118832011-05-24 Glenn Morris <rgm@gnu.org>
11884
f8630703
GM
11885 * progmodes/python.el (brm-menu): Declare.
11886
8831bbed
GM
11887 * emulation/viper.el (viper-set-hooks): Declare.
11888
eb8a5e9b
GM
11889 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11890 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11891 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11892 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11893 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11894 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11895
a2a25d24
SM
118962011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 Add an :exit-function for completion-at-point.
11899
11900 * minibuffer.el (completion--done): New fun.
11901 (completion--do-completion): Use it. New arg `expect-exact'.
11902 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11903 since completion--do-completion does it for us now.
11904 (minibuffer-force-complete): Use completion--done and
11905 completion--replace. Handle sole-completion case with more care.
11906 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11907 (completion-extra-properties): New var.
11908 (completion-annotate-function): Make obsolete.
11909 (minibuffer-completion-help): Adjust accordingly.
11910 Use completion-list-insert-choice-function.
11911 (completion-at-point, completion-help-at-point):
11912 Bind completion-extra-properties.
11913 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11914 * simple.el (completion-list-insert-choice-function): New var.
11915 (completion-setup-function): Preserve it.
11916 (choose-completion): Pay attention to it, shuffle the code a bit.
11917 (choose-completion-string): New arg `insert-function'.
11918
11919 * textmodes/bibtex.el: Convert to lexical binding.
11920 (bibtex-mode-map): Use completion-at-point.
11921 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11922 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11923 (bibtex-complete): Define as obsolete alias.
11924 (bibtex-complete-internal): Remove.
11925 (bibtex-format-entry): Remove unused sub-group in regexp.
11926 * shell.el (shell--command-completion-data)
11927 (shell-environment-variable-completion):
11928 * pcomplete.el (pcomplete-completions-at-point):
11929 * comint.el (comint--complete-file-name-data): Use :exit-function
11930 instead of completion-table-with-terminator so it also works for
11931 choose-completion.
11932
e44e373d
SM
119332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11934
4f91a816
SM
11935 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11936
782fc819
SM
11937 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11938 (bug#8710).
11939
e44e373d
SM
11940 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11941
381987c3
KM
119422011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11943
11944 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11945 customization variable and implement: If non-nil, auto-fill will
11946 be inhibited while on topic's header line.
11947
b776bc70
VB
119482011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11949
11950 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11951 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11952 always have a solution in grid size = 5 cases.
11953 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11954 (5x5-solver-output, 5x5-log-buffer): New vars.
11955 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11956 Make these variables buffer local to achieve 5x5 multi-session-ness.
11957 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11958 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11959 (5x5-solve-suggest): New funs.
11960 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11961 randomize a grid so that we ensure that there is always a solution.
11962 (5x5-make-random-grid): Allow other movement than flipping.
11963
7de88b6e
KR
119642011-05-23 Kevin Ryde <user42@zip.com.au>
11965
11966 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11967 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11968 advice and passes PREDICATE.
11969
b1ef1257
SM
119702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11971
bbca48fe
SM
11972 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11973 byte-compile-lambda if it's actually a lambda.
11974
b1ef1257
SM
11975 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11976 Fix function quoting. Use backquote better.
11977
92a9cc65
YS
119782011-05-22 Yuanle Song <sylecn@gmail.com>
11979
11980 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11981 matching (Bug#8516).
11982
f0fb8059
JA
119832011-01-22 Jari Aalto <jari.aalto@cante.net>
11984
11985 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11986 different face (Bug#8178).
11987
d5b44c93
CY
119882011-05-22 Chong Yidong <cyd@stupidchicken.com>
11989
11990 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11991 defface (Bug#8144).
11992
79106a44
SM
119932011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11994
9c848d8a
SM
11995 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11996 funcall as well (bug#8712). Warn when performing those conversions.
11997 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11998
79106a44
SM
11999 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12000
88dfa756
GM
120012011-05-22 Glenn Morris <rgm@gnu.org>
12002
12003 * files.el (hack-local-variables-prop-line): Small simplifications.
12004 (hack-local-variables, hack-local-variables-prop-line):
12005 If MODE-ONLY, return the mode, rather than just `t'.
12006
b7cf2c79
SM
120072011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12010
3f1a8558
GM
120112011-05-21 Glenn Morris <rgm@gnu.org>
12012
7e4ccca3
GM
12013 * files.el (hack-local-variables-prop-line, hack-local-variables):
12014 If only interested in the mode, don't bother doing the other stuff.
12015
637d46ca
GM
12016 * image-mode.el (image-after-revert-hook):
12017 Redraw all frames on which the image is visible. (Bug#8567)
12018
973d955b
GM
12019 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12020
3f1a8558
GM
12021 * wid-edit.el (widget-checklist-match-inline):
12022 Fix 2011-04-19 change. (Bug#8649)
12023
96479927
SM
120242011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12025
1dcf791f
SM
12026 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12027 Also allow singlespace after single-letter capitals followed by a dot.
12028
96479927
SM
12029 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12030 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12031
35fd0881
N
120322011-05-20 Nix <nix@esperi.org.uk>
12033
12034 * files.el (basic-save-buffer-2):
12035 Fix handling of break-hardlink-on-save with non-existent files.
12036
82745640
DD
120372011-05-19 Deniz Dogan <deniz@dogan.se>
12038
12039 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12040 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12041
4a720484
GM
120422011-05-19 Glenn Morris <rgm@gnu.org>
12043
d1f21341
GM
12044 * progmodes/f90.el (f90-type-def-re):
12045 Handle "type, bind(c)". (Bug#8691)
12046
4a720484
GM
12047 * emacs-lisp/autoload.el (batch-update-autoloads):
12048 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12049
2fb0a219
MA
120502011-05-18 Michael Albinus <michael.albinus@gmx.de>
12051
12052 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12053 property for the correct connection in case of multihops.
12054
e565dd37
GM
120552011-05-18 Glenn Morris <rgm@gnu.org>
12056
c2571358 12057 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12058 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12059
e565dd37
GM
12060 Rationalize calendar handling of day and month abbrev-arrays.
12061 * calendar/calendar.el (calendar-customized-p): New function.
12062 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12063 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12064 Add :set function.
12065 (calendar-abbrev-length, calendar-day-abbrev-array)
12066 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12067 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12068 Elements may no longer be nil.
12069 (calendar-day-name, calendar-month-name):
12070 Update for changed nature of abbrev arrays.
12071 * calendar/diary-lib.el (diary-name-pattern):
12072 Update for changed nature of abbrev arrays.
12073 (diary-mark-entries-1): Update calendar-make-alist calls.
12074 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12075 * calendar/cal-html.el (cal-html-day-abbrev-array):
12076 Simply inherit from calendar-day-abbrev-array.
12077
1d99a745
SM
120782011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * progmodes/grep.el (grep-mode): Disable default
12081 compilation-directory-matcher setting (bug#8684).
12082
7c1d9aa0
MA
120832011-05-17 Michael Albinus <michael.albinus@gmx.de>
12084
12085 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12086 instead of "head" and "tail". There were problems with SunOS 5.9,
12087 and it performs better.
12088
3952e9d8
GM
120892011-05-17 Glenn Morris <rgm@gnu.org>
12090
2dd12e7f
GM
12091 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12092
e4157b9c
GM
12093 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12094 Replace obsolete function.
12095
8e249bbd
GM
12096 * shell.el (pcomplete-parse-arguments-function): Declare.
12097
3952e9d8
GM
12098 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12099 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12100 (appt-check): Doc fixes.
12101 (appt-disp-window-function, appt-delete-window-function):
12102 Remove needless special case in custom :type.
12103 (appt-display-count): Default to 0, not nil.
12104 (appt-check): Reset appt-display-count to 0, not nil.
12105
c71a0d48 121062011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12107
c71a0d48
GM
12108 * progmodes/python.el (python-font-lock-keywords):
12109 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12110
31d55be9
SM
121112011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12114
3bfacb2f
KR
121152011-05-16 Kevin Ryde <user42@zip.com.au>
12116
12117 * info-look.el (makefile-automake-mode): New setups, looking in
12118 automake manual, then makefile-mode.
12119 (makefile-mode): Remove automake manual, have it just in
12120 makefile-automake-mode since there's various things different or
12121 not relevant to plain make.
12122 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12123 believe a hypothetical automake-mode would go to makefile-mode,
12124 not the other way around.
12125
c8e83751
CY
121262011-05-15 Chong Yidong <cyd@stupidchicken.com>
12127
5e9e35cd
CY
12128 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12129 hunk-end tags (Bug#8672).
12130
c8e83751
CY
12131 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12132 vc-annotate-show-diff-revision-at-line (Bug#8671).
12133
50b23e5a
GM
121342011-05-14 Glenn Morris <rgm@gnu.org>
12135
7210a739
GM
12136 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12137 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12138 (change-log-font-lock-keywords): Also handle multiple author lines
12139 with leading tabs. (Bug#8644)
7210a739 12140
4691905a
GM
12141 * calendar/appt.el (appt-check): Rename some local variables.
12142 Some simplification/reordering.
12143
50b23e5a
GM
12144 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12145 (feedmail-sendmail-f-doesnt-sell-me-out)
12146 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12147 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12148 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12149 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12150 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12151 (feedmail-binmail-gnulinuxish-template):
12152 Rename from feedmail-binmail-linuxish-template.
12153 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12154 Use insert-buffer-substring.
12155
215cda7c
BC
121562011-05-14 Bill Carpenter <bill@carpenter.org>
12157
12158 * mail/feedmail.el (feedmail-patch-level): Increase.
12159 (feedmail-debug): New custom group.
12160 (feedmail-confirm-outgoing-timeout)
12161 (feedmail-sendmail-f-doesnt-sell-me-out)
12162 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12163 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12164 (feedmail-sender-line, feedmail-from-line)
12165 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12166 (feedmail-spray-this-address)
215cda7c
BC
12167 (feedmail-spray-address-fiddle-plex-list)
12168 (feedmail-queue-use-send-time-for-date)
12169 (feedmail-queue-use-send-time-for-message-id)
12170 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12171 (feedmail-buffer-eating-function):
12172 Doc fixes.
12173 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12174 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12175 (feedmail-message-action-scroll-down): New functions.
12176 (feedmail-queue-directory, feedmail-queue-draft-directory):
12177 Use expand-file-name.
12178 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12179 Remove C-v help entry.
12180 (feedmail-queue-buffer-file-name): New variable.
12181 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12182 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12183 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12184 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12185 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12186 (feedmail-message-action-toggle-spray)
12187 (feedmail-run-the-queue-no-prompts)
12188 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12189 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12190 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12191 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12192 (feedmail-envelope-deducer, feedmail-fiddle-from)
12193 (feedmail-fiddle-sender, feedmail-default-date-generator)
12194 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12195 (feedmail-fiddle-spray-address)
12196 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12197 (feedmail-fiddle-list-of-fiddle-plexes)
12198 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12199 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12200 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12201 Change default. Doc fix.
12202 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12203 (feedmail-binmail-linuxish-template): New constant.
12204 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12205 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12206 (feedmail-send-it): Add debug call.
12207 Use feedmail-queue-buffer-file-name, and
12208 feedmail-send-it-immediately-wrapper.
12209 (feedmail-message-action-send): Add debug call.
12210 Use feedmail-send-it-immediately-wrapper.
12211 (feedmail-queue-express-to-queue): Add debug call.
12212 Run feedmail-queue-express-hook.
12213 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12214 (feedmail-message-action-help-blat):
12215 Rename from feedmail-queue-send-edit-prompt-help-first.
12216 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12217 Check line-endings. Handle errors better.
12218 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12219 Doc fix. Add debug call.
12220 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12221 Use feedmail-queue-send-edit-prompt-inner.
12222 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12223 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12224 from feedmail-queue-send-edit-prompt.
12225 (feedmail-queue-send-edit-prompt-help)
12226 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12227 (feedmail-tidy-up-slug): Add debug call.
12228 Respect feedmail-queue-slug-suspect-regexp.
12229 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12230 (feedmail-dump-message-to-queue): Add debug call.
12231 Expand queue-directory.
12232 (feedmail-dump-message-to-queue): Change message slightly.
12233 Use feedmail-say-chatter.
12234 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12235 (feedmail-send-it-immediately-wrapper): New function.
12236 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12237 Insert empty string rather than newline. Handle full-frame case.
12238 Use catch/throw. Use feedmail-say-chatter.
12239 (feedmail-fiddle-from): Try mail-host-address.
12240 (feedmail-default-message-id-generator): Doc fix.
12241 Bind system-time-locale. Handle missing end.
12242 (feedmail-fiddle-x-mailer): Add debug call.
12243 Handle feedmail-x-mailer-line being nil.
12244 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12245 Add debug call. Use buffer-substring-no-properties.
12246 (feedmail-say-debug, feedmail-say-chatter): New functions.
12247 (feedmail-find-eoh): Give an explicit error.
12248
42c7e61e
UJ
122492011-05-13 Ulf Jasper <ulf.jasper@web.de>
12250
c2571358 12251 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12252 family from helvetica to sans.
c2571358 12253 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12254 etc/images/newsticker.
12255
c2571358 12256 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12257 family from helvetica to sans.
12258
12259 * net/newst-plainview.el (newsticker-new-item-face)
12260 (newsticker-old-item-face, newsticker-immortal-item-face)
12261 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12262 (newsticker-statistics-face): Change default family from
42c7e61e 12263 helvetica to sans.
c2571358 12264 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12265 etc/images/newsticker.
12266
5d3385a0
JB
12267 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12268 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12269 auto-marking.
12270
8497a297
DV
122712011-05-13 Didier Verna <didier@xemacs.org>
12272
12273 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12274 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12275 TODO entries.
8497a297
DV
12276 (lisp-lambda-list-keyword-parameter-indentation)
12277 (lisp-lambda-list-keyword-parameter-alignment)
12278 (lisp-lambda-list-keyword-alignment): New customizable user options.
12279 (lisp-indent-defun-method): Improve docstring.
12280 (extended-loop-p): Fix comment.
12281 (lisp-indent-lambda-list-keywords-regexp): New variable.
12282 (lisp-indent-lambda-list): New function.
12283 (lisp-indent-259): Use it.
12284 (lisp-indent-defmethod): Support for more than one
12285 method qualifier and properly indent methods lambda-lists.
12286 (defgeneric): Provide a missing common-lisp-indent-function property.
12287
f278f87f
SM
122882011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12291 bounds for the empty string (bug#8667).
12292
5233edd7
GM
122932011-05-13 Glenn Morris <rgm@gnu.org>
12294
5237a44f
GM
12295 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12296
8340026c 12297 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12298 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12299
5233edd7 12300 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12301 (appt-time-msg-list): Doc fix.
a5464014 12302 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12303
92d10796
AS
123042011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12305
12306 * progmodes/ld-script.el (ld-script-keywords)
12307 (ld-script-builtins): Update keywords list.
12308
914a0ae1
SM
123092011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12310
c89be45f
SM
12311 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12312
914a0ae1
SM
12313 * shell.el (shell-completion-vars): New function.
12314 (shell-mode):
12315 * simple.el (read-shell-command): Use it.
12316 (blink-matching-open): No need for " [...]" in minibuffer-message.
12317
98dc3df3
GM
123182011-05-12 Glenn Morris <rgm@gnu.org>
12319
12320 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12321 (appt-check): Simplify.
12322
d2fc7e3d 123232011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12324
4d61f28d 12325 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12326 literal "/dev/null".
12327
d2fc7e3d 123282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12329
12330 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12331 Fix typo.
12332
d2fc7e3d 123332011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12334
3f254caa
SM
12335 * progmodes/which-func.el (which-function):
12336 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12337 which might not be defined (Bug#8260).
12338
d45885f7
GM
123392011-05-12 Glenn Morris <rgm@gnu.org>
12340
12341 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12342 Let byte-compile-initial-macro-environment always take precedence.
12343
488086f4
SM
123442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * net/rcirc.el: Add support for SSL/TLS connections.
12347 (rcirc-server-alist): New field `encryption'.
12348 (rcirc): Check `encryption' settings.
12349 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12350 Merge make-local-variable into `set'.
12351 (rcirc--connection-open-p): New function.
12352 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12353 the process is not a network process (e.g. running gnutls-cli).
12354 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12355 Make rcirc-(en|de)code-coding-system local here.
12356 (rcirc-mode): Merge make-local-variable into `set'.
12357 (rcirc-parent-buffer): Make permanent buffer-local.
12358 (rcirc-multiline-minor-mode): Don't do it here.
12359 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12360 there's no server buffer.
12361
7d3b9d44
GM
123622011-05-11 Glenn Morris <rgm@gnu.org>
12363
f64049c6
GM
12364 * newcomment.el (comment-kill): Prefix "unused" local.
12365
93c9df73
GM
12366 * term/w32console.el (get-screen-color): Declare.
12367
7d3b9d44
GM
12368 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12369 Handle symbol elements of byte-compile-initial-macro-environment.
12370
9e2dd53f
LL
123712011-05-10 Leo Liu <sdl.web@gmail.com>
12372
488086f4
SM
12373 * bookmark.el (bookmark-bmenu-mode-map):
12374 Bind bookmark-bmenu-search to `/'.
8b340240 12375
9e2dd53f 12376 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12377 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12378 (Footnote-unicode): New function.
12379 (footnote-style-alist): Add unicode style to the list.
12380 (footnote-style): Doc fix.
9e2dd53f 12381
79b70037
GM
123822011-05-10 Jim Meyering <meyering@redhat.com>
12383
12384 Fix doubled-word typos.
12385 * international/quail.el (quail-insert-kbd-layout): and and -> and
12386 * kermit.el: and and -> and
12387 * net/ldap.el (ldap-search-internal): to to -> to
12388 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12389 * progmodes/js.el (js-mode): and and -> and
12390 * textmodes/artist.el (artist-move-to-xy): at at -> at
12391 (artist-draw-region-trim-line-endings): if if -> if
12392 And Safetyc -> Safety.
12393 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12394
b8f82dc1 123952011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12396 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12397
12398 * files.el (hack-one-local-variable-eval-safep):
12399 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12400
4f99f44b
GM
124012011-05-10 Glenn Morris <rgm@gnu.org>
12402
12403 * calendar/diary-lib.el (diary-list-entries-hook)
12404 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12405 (diary-nongregorian-marking-hook, diary-list-entries)
12406 (diary-include-other-diary-files, diary-mark-entries)
12407 (diary-mark-included-diary-files): Doc fixes.
12408
84f29e6b
JB
124092011-05-09 Juanma Barranquero <lekktu@gmail.com>
12410
12411 * misc.el: Require tabulated-list.el during compilation.
12412
9bedd73a
CY
124132011-05-09 Chong Yidong <cyd@stupidchicken.com>
12414
488086f4
SM
12415 * progmodes/compile.el (compilation-start):
12416 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12417 (compilation-filter-hook): Doc fix.
12418
797c735c
DD
124192011-05-09 Deniz Dogan <deniz@dogan.se>
12420
12421 * wdired.el: Remove outdated installation comment. Fix usage
12422 comment.
12423
5f4b1dfe
JB
124242011-05-09 Juanma Barranquero <lekktu@gmail.com>
12425
12426 * misc.el: Implement new command `list-dynamic-libraries'.
12427 (list-dynamic-libraries--loaded-only-p): New variable.
12428 (list-dynamic-libraries--refresh): New function.
12429 (list-dynamic-libraries): New command.
12430
4c44026c
CY
124312011-05-09 Chong Yidong <cyd@stupidchicken.com>
12432
488086f4
SM
12433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12434 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12435 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12436 higher priority to avoid clobbering by gnu.
12437
027f966d
CY
124382011-05-08 Chong Yidong <cyd@stupidchicken.com>
12439
12440 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12441 if the face has existing theme settings (Bug#8454).
12442
085f5d7d
CY
124432011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12444
488086f4
SM
12445 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12446 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12447
2a86a00c
RS
12448 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12449 special file names `.' and `..' (Bug#8259).
12450
d9c54a06
CY
124512011-05-08 Chong Yidong <cyd@stupidchicken.com>
12452
488086f4
SM
12453 * progmodes/grep.el (grep-mode-font-lock-keywords):
12454 Remove buffer-changing entries.
d9c54a06
CY
12455 (grep-filter): New function.
12456 (grep-mode): Add it to compilation-filter-hook.
12457
12458 * progmodes/compile.el (compilation-filter-hook)
12459 (compilation-filter-start): New defvars.
12460 (compilation-filter): Call compilation-filter-hook prior to
12461 updating the process mark.
12462
c4662635
SM
124632011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12466
b0512a1d
EZ
124672011-05-07 Eli Zaretskii <eliz@gnu.org>
12468
605c9376
EZ
12469 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12470 mailclient-send-it even if window-system is nil. (Bug#8595)
12471
c4662635
SM
12472 * term/w32console.el (terminal-init-w32console):
12473 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12474 background-mode. (Bug#8597)
12475
d1dc2cc2
SM
124762011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12479 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12480 New functions.
12481 (defgeneric, eieio--defmethod): Use them.
12482 (eieio-defgeneric): Remove.
12483 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12484
915d1300
GM
124852011-05-07 Glenn Morris <rgm@gnu.org>
12486
a3961c3e
GM
12487 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12488 Use let rather than let*.
12489 (timeclock-find-discrep): Remove unused local.
12490
314347b9
GM
12491 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12492
915d1300
GM
12493 * calendar/appt.el (appt-time-msg-list): Doc fix.
12494
275b59b0
NF
124952011-05-06 Noah Friedman <friedman@splode.com>
12496
12497 * apropos.el (apropos-print-doc): Only use
12498 emacs-lisp-docstring-fill-column when it is bound to an integer,
12499 per that variable's documentation.
12500
6c19f744
SM
125012011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12504 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12505
60f884b2
GM
125062011-05-06 Glenn Morris <rgm@gnu.org>
12507
5006e634
GM
12508 * calendar/appt.el (appt-message-warning-time): Doc fix.
12509 (appt-warning-time-regexp): New option.
12510 (appt-make-list): Respect appt-message-warning-time.
12511
548d0a63
GM
12512 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12513 New options.
12514 (diary-add-to-list): Strip comments from the displayed string.
12515 (diary-mode): Set comment-start and comment-end.
12516
60f884b2
GM
12517 * vc/diff-mode.el (smerge-refine-subst): Declare.
12518 (diff-refine-hunk): Don't require smerge-mode when compiling.
12519
989681bb
JB
125202011-05-06 Juanma Barranquero <lekktu@gmail.com>
12521
12522 * simple.el (list-processes): Return nil as the docstring says.
12523
a6bc05e1
MA
125242011-05-05 Michael Albinus <michael.albinus@gmx.de>
12525
12526 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12527 to "".
12528 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12529 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12530 determining of binary transfer. (Bug#7383)
12531
23c22e9a
MA
125322011-05-05 Michael Albinus <michael.albinus@gmx.de>
12533
c4662635
SM
12534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12535 Fix port computation bug. (Bug#8618)
23c22e9a 12536
0bff894f
GM
125372011-05-05 Glenn Morris <rgm@gnu.org>
12538
b8296902
GM
12539 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12540
1f522ce8
GM
12541 * simple.el (shell-dynamic-complete-functions)
12542 (comint-dynamic-complete-functions): Declare.
12543
cf5bee67
GM
12544 * net/network-stream.el (gnutls-negotiate):
12545 * simple.el (tabulated-list-print): Fix declarations.
12546
12547 * progmodes/gud.el (syntax-symbol, syntax-point):
12548 Remove unnecessary and incorrect declarations.
12549
0bff894f
GM
12550 * emacs-lisp/check-declare.el (check-declare-scan):
12551 Handle byte-compile-initial-macro-environment in bytecomp.el
12552
9869b3ae
SM
125532011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 Fix earlier half-done eieio-defmethod change (bug#8338).
12556 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12557 Streamline and change calling convention.
12558 (defmethod): Adjust accordingly and simplify.
12559 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12560 new eieio--defmethod.
12561 (slot-boundp): Minor CSE simplification.
12562
9c1d5ac5
MZ
125632011-05-05 Milan Zamazal <pdm@zamazal.org>
12564
12565 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12566 (glasses-make-readable): Use glasses-separate-capital-groups.
12567
455c834e
JB
125682011-05-05 Juanma Barranquero <lekktu@gmail.com>
12569
12570 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12571 (warning-series): Doc fix.
12572 (display-warning): Don't try to create the buffer if we just found it.
12573
9ed7c8cb
CY
125742011-05-04 Chong Yidong <cyd@stupidchicken.com>
12575
12576 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12577 (autoload-find-generated-file): New function.
12578 (generate-file-autoloads): Bind generated-autoload-file to
12579 buffer-file-name.
9869b3ae
SM
12580 (update-file-autoloads, update-directory-autoloads):
12581 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12582 output file (Bug#7989).
12583 (batch-update-autoloads): Doc fix.
12584
0898ca10
JB
125852011-05-04 Juanma Barranquero <lekktu@gmail.com>
12586
12587 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12588
31dfb76c
GM
125892011-05-04 Glenn Morris <rgm@gnu.org>
12590
f330b642
GM
12591 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12592 function, so it follows changes in calendar-date-style.
12593 (diary-fancy-date-matcher): New function.
12594 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12595 (diary-fancy-font-lock-fontify-region-function):
12596 Use diary-fancy-date-pattern as a function.
12597
31dfb76c
GM
12598 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12599 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12600
48e79d6a
TZ
126012011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12602
12603 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12604 instead of positional arguments. Allow :keylist and :crlfiles
12605 arguments.
12606 (open-gnutls-stream): Call it.
12607
12608 * net/network-stream.el (network-stream-open-starttls): Adjust to
12609 call `gnutls-negotiate' with :process and :hostname arguments.
12610
dd5a5ee0
SM
126112011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12612
ef80fc09
SM
12613 * minibuffer.el (completion--message): New function.
12614 (completion--do-completion, minibuffer-complete)
12615 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12616 (completion--do-completion): Don't ignore completion-auto-help when in
12617 icomplete-mode.
12618
dd5a5ee0
SM
12619 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12620 internal encoding (e.g. tibetan zero is not whitespace).
12621 (global-whitespace-mode): Prefer save-current-buffer.
12622 (whitespace-trailing-regexp): Remove useless save-match-data.
12623 (whitespace-empty-at-bob-regexp): Minor simplification.
12624
b7d22a83
CY
126252011-05-03 Chong Yidong <cyd@stupidchicken.com>
12626
12627 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12628
5192af46
AM
126292011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12630
12631 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12632 Use `concat' to create string for insertion.
5192af46 12633
5767d190
SM
126342011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12637 Avoid open-line which runs post-self-insert-hook.
12638 (bibtex-fill-entry): Remove unused `end' var.
12639
bf242939
AM
126402011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12641
5767d190
SM
12642 * textmodes/ispell.el (ispell-add-per-file-word-list):
12643 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12644
25666126
LL
126452011-05-03 Leo Liu <sdl.web@gmail.com>
12646
12647 * isearch.el (isearch-yank-pop): New command.
5767d190 12648 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12649 (isearch-forward): Mention it.
12650
52d3c2d0
SM
126512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12652
1bcace58
SM
12653 * simple.el (minibuffer-complete-shell-command): Remove.
12654 (minibuffer-local-shell-command-map): Use completion-at-point.
12655 (read-shell-command): Setup completion vars here instead.
12656 (read-expression-map): Bind TAB to symbol completion.
12657
52d3c2d0
SM
12658 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12659 error directly rather via storing it into `results'.
12660
35813471
LL
126612011-05-02 Leo Liu <sdl.web@gmail.com>
12662
12663 * vc/diff.el: Fix description.
12664
e793a940
LMI
126652011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666
12667 * server.el (server-eval-at): New function.
12668
8de66e05
LMI
126692011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
12671 * net/network-stream.el (open-network-stream): Take a :nowait
12672 parameter and pass it on to `make-network-process'.
12673 (network-stream-open-plain): Ditto.
12674
dcb79f20
AS
126752011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12676
12677 * faces.el (face-spec-set-match-display): Don't match toolkit
12678 options on terminal frames.
12679
14a7fbd8
SM
126802011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12681
7eabc1be
SM
12682 * progmodes/pascal.el: Use lexical binding.
12683 (pascal-mode-map): Remove author preferences.
12684
14a7fbd8
SM
12685 * pcomplete.el (pcomplete-std-complete): Don't abuse
12686 completion-at-point.
12687
50f84510
JB
126882011-04-28 Juanma Barranquero <lekktu@gmail.com>
12689
6e087a44
JB
12690 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12691 removing code that has been dead since 1991 or so.
12692
50f84510
JB
12693 * startup.el (command-line): When warning about "_emacs", use a
12694 delayed warning to allow the user to filter it out.
12695
0ba690bd
DD
126962011-04-28 Deniz Dogan <deniz@dogan.se>
12697
12698 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12699 user has not joined.
12700
08abfaad
SM
127012011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12702
12703 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12704 aren't any completions at point.
12705
638f053a
JB
127062011-04-28 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * subr.el (display-delayed-warnings): New function.
12709 (delayed-warnings-hook): New variable.
12710
8fff8daa
SM
127112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12712
08abfaad
SM
12713 * minibuffer.el (completion-at-point, completion-help-at-point):
12714 Don't presume that a given completion-at-point-function will always
12715 use the same calling convention.
12716
8fff8daa
SM
12717 * pcomplete.el (pcomplete-completions-at-point):
12718 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12719 pcomplete-seen is non-nil.
12720 (pcomplete-comint-setup): Also recognize the new comint/shell
12721 completion functions.
12722 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12723 pcomplete-seen is non-nil.
12724
841a1577 127252011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12726
841a1577 12727 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12728 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12729 the first character in the entry. This allows for code to add its
211ec907
UJ
12730 own uid to the entry.
12731 (icalendar--convert-float-to-ical): Add export of
12732 `diary-float'-entries save for those with the optional DAY
12733 argument.
12734
2a782793
DC
127352011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12736
12737 * subr.el (shell-quote-argument): Use alternate escaping strategy
12738 when we spot a variable reference in a string.
12739
0438ce91
DC
127402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12741
12742 * cus-start.el (all): Define customization for debug-on-event.
12743
841a1577 127442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12745
12746 * subr.el (shell-quote-argument): Escape correctly under Windows.
12747
d090ed6c
SM
127482011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12751
bfd31217
MA
127522011-04-25 Michael Albinus <michael.albinus@gmx.de>
12753
d090ed6c
SM
12754 * net/tramp.el (tramp-process-actions): Add POS argument.
12755 Delete region between POS and (pos).
bfd31217 12756
d090ed6c
SM
12757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12758 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12759 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12760
12761 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12762 position in `tramp-process-actions' call.
12763
12764 * net/trampver.el: Update release number.
12765
e92f3bd3
SM
127662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12767
850256b5
SM
12768 * custom.el (defcustom): Obey lexical-binding.
12769
e92f3bd3
SM
12770 Fix octave-inf completion problems reported by Alexander Klimov.
12771 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12772 Inherit from octave-mode-syntax-table.
12773 (inferior-octave-mode): Set info-lookup-mode.
12774 (inferior-octave-completion-at-point): New function.
12775 (inferior-octave-complete): Use it and completion-in-region.
12776 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12777 comint-filename-completion.
12778 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12779 symbol elements which shouldn't be word elements.
12780 (octave-font-lock-keywords, octave-beginning-of-defun)
12781 (octave-function-header-regexp): Adjust regexps accordingly.
12782 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12783
cd22b309
JB
127842011-04-25 Juanma Barranquero <lekktu@gmail.com>
12785
12786 * net/gnutls.el (gnutls-errorp): Declare before first use.
12787
8b492194
TZ
127882011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12789
12790 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12791 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12792 default trustfile exists before going to use it. Add missing
5a5fa834 12793 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12794 Reported by Claudio Bley <claudio.bley@gmail.com>.
12795 (open-gnutls-stream): Add usage example.
12796
12797 * net/network-stream.el (network-stream-open-starttls): Give host
12798 parameter to `gnutls-negotiate'.
12799 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12800 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12801
841a1577 128022011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12803
cd22b309
JB
12804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12805 Use correct match group (bug#8438).
05842630 12806
3ba7869c
CY
128072011-04-24 Chong Yidong <cyd@stupidchicken.com>
12808
512e3ae1
CY
12809 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12810 (package-menu--generate): New arg specifying packages to show.
12811 (package-menu-refresh, package-menu-execute, list-packages):
12812 Callers changed.
12813 (package-show-package-list): New function, replacing deleted
12814 package--list-packages (renamed because it is non-internal).
12815
12816 * finder.el (finder-list-matches): Use package-show-package-list
12817 instead of deleted package--list-packages.
12818
e92f3bd3
SM
12819 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12820 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12821 (vc-annotate-mode-map): Bind it to RET.
12822
7031be6d
UR
128232011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12824
12825 * progmodes/etags.el (next-file): Don't use set-buffer to change
12826 buffers (Bug#8478).
12827
4ef177aa
CY
128282011-04-24 Chong Yidong <cyd@stupidchicken.com>
12829
c8d173eb
CY
12830 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12831
4ef177aa
CY
12832 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12833 (apropos-accumulator): Doc fix.
12834 (apropos-function, apropos-macro, apropos-command)
12835 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12836 (apropos-plist): Add face property.
12837 (apropos-symbols-internal): Fix indentation.
12838 (apropos-print): Simplify help, and recognize apropos-multi-type.
12839 (apropos-print-doc): Use button-type-get to extract the button's
12840 face property. Fill docstring (Bug#8352).
12841
4ffd0d6b 128422011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12843
12844 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12845
c6c32125 12846 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12847 (mpuz-mode-map): Use mapc.
c6c32125
JB
12848 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12849 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12850 Fix typos in docstrings.
12851
58d468b4
JB
12852 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12853 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12854
6470c3c6
JB
12855 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12856
4ffd0d6b 128572011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12858
12859 * minibuffer.el (completion--do-completion): Avoid the "Next char
12860 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12861
3ad8bad0
CY
12862 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12863 mouse-2 into unread-command-events, it is interpreted correctly.
12864
71d73c9c 12865 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12866 (image-toggle-display): Doc fix.
71d73c9c 12867
841a1577 128682011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12869
4ffd0d6b
GM
12870 * textmodes/page.el (what-page): Use line-number-at-pos to
12871 calculate line number (Bug#6825).
6e1dbaa9 12872
c2fb1b60
JB
128732011-04-22 Juanma Barranquero <lekktu@gmail.com>
12874
12875 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12876 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12877 Pass argument NO-DEFAULT to `find-tag-interactive'.
12878
e02f48d7
JB
128792011-04-22 Juanma Barranquero <lekktu@gmail.com>
12880
12881 Lexical-binding cleanup.
12882
12883 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12884 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12885 * progmodes/ada-prj.el (ada-prj-initialize-values)
12886 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12887 (ada-prj-show-value):
12888 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12889 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12890 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12891 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12892 * progmodes/bug-reference.el (bug-reference-push-button):
12893 * progmodes/fortran.el (fortran-line-length):
12894 * progmodes/glasses.el (glasses-change):
12895 * progmodes/octave-mod.el (octave-fill-paragraph):
12896 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12897 (python-pdbtrack-grub-for-buffer, python-sentinel):
12898 * progmodes/sql.el (sql-save-connection):
12899 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12900 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12901 Mark unused parameters.
12902
12903 * progmodes/compile.el (compilation--flush-directory-cache)
12904 (compilation--flush-parse, compile-internal): Mark unused parameters.
12905 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12906 (compilation-next-error-function): Remove unused variable `timestamp'.
12907
12908 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12909 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12910
12911 * progmodes/dcl-mode.el (dcl-end-of-command):
12912 Remove unused variable `start'.
12913 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12914 (dcl-option-value-basic, dcl-option-value-offset)
12915 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12916 Mark unused parameters.
12917 (dcl-save-local-variable): Remove unused variable `val'.
12918 (mode): Declare.
12919
12920 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12921 Mark unused parameters.
12922 (delphi-ignore-changes): Move before first use.
12923 (delphi-charset-token-at): Remove unused variable `start'.
12924 (delphi-else-start): Remove unused variable `if-count'.
12925 (delphi-comment-block-start, delphi-comment-block-end):
12926 Remove unused variable `kind'.
12927 (delphi-indent-line): Remove unused variable `new-point'.
12928
12929 * progmodes/ebrowse.el (ebrowse-files-list)
12930 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12931 Mark unused parameters. Don't quote `lambda'.
12932 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12933 Don't quote `lambda'.
12934 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12935 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12936 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12937 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12938 Use `ignore-errors'.
12939 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12940 (ebrowse-view/find-file-and-search-pattern)
12941 (ebrowse-view/find-member-declaration/definition):
12942 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12943 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12944 Rename parameter PREFIX-ARG to PREFIX.
12945 (ebrowse-tags-read-name): Remove unused variables `start' and
12946 `member-info'.
12947 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12948 to `tags-file'.
12949
12950 * progmodes/etags.el (local-find-tag-hook): Declare.
12951 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12952 Mark unused parameters.
12953
12954 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12955 (executable-interpret): Mark unused parameter.
12956
12957 * progmodes/flymake.el (flymake-process-sentinel)
12958 (flymake-after-change-function)
12959 (flymake-create-temp-with-folder-structure)
12960 (flymake-get-include-dirs-dot): Mark unused parameters.
12961 (flymake-safe-delete-directory): Remove unused variable `err'.
12962
12963 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12964 (speedbar-timer-fn, speedbar-line-text)
12965 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12966 (speedbar-center-buffer-smartly): Declare functions.
12967 (gdb-find-watch-expression): Remove unused variable `array'.
12968 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12969 (gdb-starting): Mark unused parameters.
12970 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12971 (gdb-table-string): Remove unused variable `res'.
12972 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12973 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12974 (gdb-display-buffer): Remove unused variable `cur-size'.
12975
12976 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12977 allow lexical-binding compilation.
12978 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12979 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12980 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12981 Mark unused parameters.
12982 (gud-gdb-marker-filter): Remove unused variable `match'.
12983 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12984 lambda expressions and funcall them, instead of using `fset'.
12985
12986 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12987 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12988
12989 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12990 variable `header-beg'; use `let'.
12991
12992 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12993 `restart', `last-sexp' and `at-do'.
12994
12995 * progmodes/js.el (js--debug): Mark unused parameter.
12996 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12997 (js--splice-into-items): Remove unused variable `item'.
12998 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12999
13000 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13001 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13002 (makefile-complete): Remove unused variable `try'.
13003 (makefile-fill-paragraph, makefile-match-function-end):
13004 Mark unused parameters.
13005
13006 * progmodes/octave-inf.el (inferior-octave-complete):
13007 Remove unused variable `proc'.
13008 (inferior-octave-output-digest): Mark unused parameter.
13009
13010 * progmodes/perl-mode.el (perl-calculate-indent):
13011 Remove unused variable `err'.
13012
13013 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13014 (prolog-indent-line): Mark unused parameters.
13015 (prolog-indent-line): Remove unused variable `beg'.
13016
13017 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13018 (reporter-dont-compact-list): Declare.
13019
13020 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13021 Remove unused variable `char'.
13022 (sh-debug): Mark unused parameter.
13023 (sh-get-indent-info): Remove unused variable `start'.
13024 (sh-calculate-indent): Remove unused variable `var'.
13025
13026 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13027 (simula-electric-keyword): Remove unused variable `null'.
13028 (simula-search-backward, simula-search-forward): Remove unused
13029 variables `begin' and `end'.
13030
13031 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13032 Remove unused variable `pos'.
13033 (vera-electric-tab, vera-comment-uncomment-region):
13034 Mark unused parameters.
13035 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13036
7ede3b65
CY
130372011-04-22 Chong Yidong <cyd@stupidchicken.com>
13038
13039 * emacs-lisp/package.el (package--builtins, package-alist)
13040 (package-load-descriptor, package-built-in-p, package-activate)
13041 (define-package, package-installed-p)
13042 (package-compute-transaction, package-buffer-info)
13043 (package--push): Doc fix. Distinguish more clearly between
13044 version strings and version lists.
13045
121656e9
JB
130462011-04-21 Juanma Barranquero <lekktu@gmail.com>
13047
13048 Lexical-binding cleanup.
13049
13050 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13051 (5x5-make-mutate-best):
13052 * play/fortune.el (fortune-in-buffer):
13053 * play/gomoku.el (gomoku-init-display):
13054 * play/solitaire.el (solitaire, solitaire-do-check):
13055 * play/tetris.el (tetris-default-update-speed-function):
13056 Mark unused parameters.
13057
13058 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13059 (bubbles--shift): Remove unused variable `char-org'.
13060 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13061 (bubbles--show-images): Remove unused variable `char'.
13062
13063 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13064 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13065 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13066 (decipher-analyze-buffer): Use ?\s.
13067 (decipher-make-checkpoint): Remove unused variable `mapping'.
13068
13069 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13070
13071 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13072 Remove unused variable `result'; use `let'.
13073
13074 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13075 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13076 (gametree-children-shown-p, gametree-compute-reduced-score):
13077 Use `ignore-errors'.
13078
13079 * play/handwrite.el (ps-lpr-switches): Declare.
13080 (handwrite): Remove unused variables `pmin' and `lastp'.
13081
13082 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13083
13084 * play/landmark.el (landmark-init-display)
13085 (landmark-update-naught-weights): Mark unused parameters.
13086 (landmark-y): Remove unused variable `noise'. Simplify.
13087 (landmark-human-plays): Remove unused variable `score'.
13088
13089 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13090 (mpuz-try-proposal): Remove unused variable `game'.
13091
13092 * play/zone.el (life-patterns): Declare.
13093
80f499c7
JB
130942011-04-20 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * vc/vc.el (ediff-vc-internal): Declare function.
13097
024ff170
SM
130982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13099
c0a193ea
SM
13100 * shell.el: Use lexical-binding and std completion UI.
13101 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13102 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13103 comint-preoutput-filter-functions rather than on
13104 comint-output-filter-functions.
13105 (shell-command-completion, shell--command-completion-data)
13106 (shell-filename-completion, shell-environment-variable-completion)
13107 (shell-c-a-p-replace-by-expanded-directory): New functions.
13108 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13109 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13110 (shell-dynamic-complete-environment-variable): Use them.
13111 (shell-dynamic-complete-as-environment-variable)
13112 (shell-dynamic-complete-as-command): Remove.
13113 (shell-match-partial-variable): Match past point.
13114 * comint.el: Clean up use of completion-at-point-functions.
13115 (comint-completion-at-point): New function.
13116 (comint-mode): Use it completion-at-point-functions.
13117 (comint-dynamic-complete): Make it obsolete.
13118 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13119 (comint-c-a-p-replace-by-expanded-history): New function.
13120 (comint-dynamic-complete-functions)
13121 (comint-replace-by-expanded-history): Use it.
13122 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13123 termination strings. Try harder to avoid second try-completion.
13124 (completion-in-region-mode-map): Disable bindings that don't work yet.
13125
2dbaa080
SM
13126 * comint.el: Use lexical-binding. Require CL.
13127 (comint-dynamic-complete-functions): Use comint-filename-completion.
13128 (comint-completion-addsuffix): Tweak custom type.
13129 (comint-filename-completion, comint--common-suffix)
13130 (comint--common-quoted-suffix, comint--table-subvert)
13131 (comint--complete-file-name-data): New functions.
13132 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13133 (comint-dynamic-list-filename-completions): Use them.
13134 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13135
2dbaa080
SM
13136 * minibuffer.el (completion-in-region-mode):
13137 Keep completion-in-region-mode--predicate global.
13138 (completion-in-region--postch):
13139 Assume completion-in-region-mode--predicate is not null.
13140
c79a6f38
SM
13141 * progmodes/flymake.el (flymake-start-syntax-check-process):
13142 Obey `dir'. Simplify.
13143
024ff170
SM
13144 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13145 we're in VC after all.
13146
1c6c854e
CS
131472011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13148
13149 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13150 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13151 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13152
bed7f140
SM
131532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13154
332e62ab
SM
13155 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13156 add sanity check.
13157
bed7f140
SM
13158 * obsolete/erc-hecomplete.el: Make obsolete.
13159 * obsolete/: Standardize obsolescence info in the header.
13160
f195c582
GM
131612011-04-20 Glenn Morris <rgm@gnu.org>
13162
13163 * calendar/solar.el (solar-horizontal-coordinates):
13164 Use the longitude argument rather than `calendar-longitude'.
13165 (solar-date-next-longitude): Remove unused locals.
13166
cb79b8c0
VJL
131672011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13168
13169 * whitespace.el: New version 13.2.1.
13170
131712011-04-20 felix <EmacsWiki> (tiny change)
13172
d8e4b68b 13173 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13174 switching between major modes on a file.
13175
602ea69d
SM
131762011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13177
13178 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13179 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13180 multi-line comments as well.
13181
06b60517
JB
131822011-04-19 Juanma Barranquero <lekktu@gmail.com>
13183
13184 Lexical-binding cleanup.
13185
13186 * arc-mode.el (archive-mode-revert):
13187 * cmuscheme.el (scheme-interactively-start-process):
13188 * custom.el (custom-initialize-delay):
13189 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13190 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13191 * emacs-lock.el (emacs-lock-clear-sentinel):
13192 * ezimage.el (defezimage):
13193 * follow.el (follow-avoid-tail-recenter):
13194 * fringe.el (set-fringe-mode-1):
13195 * generic-x.el (bat-generic-mode-compile):
13196 * help-mode.el (help-info-variable, help-do-xref)
13197 (help-mode-revert-buffer):
13198 * help.el (view-emacs-todo):
13199 * iswitchb.el (iswitchb-completion-help):
13200 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13201 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13202 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13203 * locate.el (locate-update):
13204 * longlines.el (longlines-encode-region)
13205 (longlines-after-change-function):
13206 * outline.el (outline-isearch-open-invisible):
13207 * ps-def.el (declare-function, charset-dimension, char-width)
13208 (encode-char):
13209 * ps-mule.el (ps-mule-plot-string):
13210 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13211 (recentf-edit-list-select, recentf-edit-list-validate)
13212 (recentf-open-files-action):
13213 * rect.el (delete-whitespace-rectangle-line)
13214 (rectangle-number-line-callback):
13215 * register.el (window-configuration-to-register)
13216 (frame-configuration-to-register):
13217 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13218 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13219 (xselect-convert-to-targets, xselect-convert-to-delete)
13220 (xselect-convert-to-filename, xselect-convert-to-charpos)
13221 (xselect-convert-to-lineno, xselect-convert-to-colno)
13222 (xselect-convert-to-os, xselect-convert-to-host)
13223 (xselect-convert-to-user, xselect-convert-to-class)
13224 (xselect-convert-to-name, xselect-convert-to-integer)
13225 (xselect-convert-to-atom, xselect-convert-to-identity):
13226 * subr.el (declare, ignore, process-kill-without-query)
13227 (text-clone-maintain):
13228 * terminal.el (te-get-char, te-tic-sentinel):
13229 * tool-bar.el (tool-bar-make-keymap):
13230 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13231 * type-break.el (type-break-mode, type-break-noninteractive-query):
13232 * view.el (View-back-to-mark):
13233 * wid-browse.el (widget-browse-action, widget-browse-widget)
13234 (widget-browse-widgets, widget-browse-sexp):
13235 * widget.el (define-widget-keywords):
13236 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13237 Mark unused parameters.
13238
13239 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13240 (align-areas): Remove unused variable `look'.
13241 (align-region): Remove unused variables `real-end' and `pos-list'.
13242
13243 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13244
13245 * bindings.el (mode-line-modified, mode-line-remote):
13246 Mark unused parameters.
13247 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13248
13249 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13250 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13251
13252 * comint.el (comint-history-isearch-pop-state)
13253 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13254 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13255 (comint-substitute-in-file-name): Doc fix.
13256
13257 * completion.el (cmpl-statistics-block): Mark unused parameter.
13258 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13259 (save-completions-to-file, load-completions-from-file):
13260 Remove unused local variable `e'.
13261
13262 * composite.el (compose-chars): Remove unused variable `len'.
13263 (lgstring-insert-glyph): Remove unused variable `g'.
13264 (compose-glyph-string): Remove unused variables `ascent',
13265 `descent', `lbearing' and `rbearing'.
13266 (compose-glyph-string-relative): Remove unused variables
13267 `lbearing', `rbearing' and `wadjust'.
13268 (compose-gstring-for-graphic): Remove unused variables `header',
13269 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13270 (compose-gstring-for-terminal): Remove unused variables `header'
13271 and `nchars'. Use `let', not `let*'.
13272
13273 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13274 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13275 (Custom-buffer-done, custom-buffer-create-internal)
13276 (custom-browse-visibility-action, custom-browse-group-tag-action)
13277 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13278 (widget-magic-mouse-down-action, custom-toggle-parent)
13279 (custom-add-parent-links, custom-toggle-hide-variable)
13280 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13281 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13282 (custom-face-menu-create, custom-variable-menu-create, get)
13283 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13284 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13285 (customize-apropos): Remove unused variable `tests'.
13286 (custom-group-value-create): Remove unused variable `hidden-p'.
13287 (sort-fold-case): Declare.
13288
13289 * cus-theme.el (custom-reset-standard-faces-list)
13290 (custom-reset-standard-variables-list): Declare.
13291 (customize-create-theme, custom-theme-revert, custom-theme-write)
13292 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13293 Mark unused parameters.
13294
13295 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13296
13297 * delim-col.el (delimit-columns-max): Move defvar before first use.
13298
13299 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13300 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13301
13302 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13303 (auto-insert): Declare.
13304 (desktop-restore-file-buffer): Rename desktop-* parameters;
13305 mark unused ones.
13306 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13307 (desktop-buffer): Rename desktop-* parameters.
13308
13309 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13310 (dframe-reposition-frame-xemacs, dframe-help-echo)
13311 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13312 Mark unused parameters.
13313
13314 * dired-aux.el (backup-extract-version-start, overwrite-query)
13315 (overwrite-backup-query, rename-regexp-query)
13316 (rename-non-directory-query): Declare.
13317 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13318 (dired-add-entry): Remove unused variable `orig-file-name'.
13319 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13320 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13321 `dired-copy-preserve-time' directly.
13322 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13323 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13324
13325 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13326 (dired-virtual-revert, dired-make-relative-symlink):
13327 Mark unused parameters.
13328 (manual-program): Declare.
13329 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13330 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13331 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13332
13333 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13334
13335 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13336
13337 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13338 Declare.
13339
13340 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13341
13342 * electric.el (Electric-command-loop): Rename parameter
13343 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13344
13345 * expand.el (expand-in-literal): Remove unused variable `here'.
13346
13347 * facemenu.el (facemenu-add-new-color):
13348 Remove unused variable `docstring'.
13349
13350 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13351 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13352 (face-attr-construct): Mark unused parameter. Doc fix.
13353 (read-color): Remove unused variable `hex-string'.
13354
13355 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13356 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13357 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13358 (display-buffer-other-frame): Remove unused variable `old-window'.
13359 (kill-buffer-hook): Declare.
13360 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13361 Mark unused parameters.
13362 (after-find-file): Pass 1 to `auto-save-mode', not t.
13363
13364 * files-x.el (auto-insert): Declare.
13365 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13366
13367 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13368 variable `buf'. Mark unused parameter.
06b60517
JB
13369 (find-lisp-insert-directory): Mark unused parameter.
13370
13371 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13372 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13373 (format-common-tail): Remove, unused.
13374 (format-deannotate-region): Remove unused variable `loc'.
13375 (format-annotate-region): Remove unused variable `p'.
13376 (format-annotate-single-property-change): Remove unused variables
13377 `default' and `tail'.
13378
13379 * forms.el (read-file-filter): Declare.
13380 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13381
13382 * frame.el (frame-creation-function-alist): Mark unused parameter.
13383 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13384
13385 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13386 Remove unused parameters.
13387 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13388 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13389
13390 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13391 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13392 (hfy-prepare-tag-map): Mark unused parameters.
13393 (htmlfontify-buffer): Use `called-interactively-p'.
13394
13395 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13396 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13397 (ibuffer-do-occur): Mark unused parameters.
13398 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13399 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13400
13401 * ibuffer.el: Don't quote `lambda'.
13402 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13403 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13404 Mark unused parameters.
13405
13406 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13407 (ido-completing-read): Mark unused parameters.
13408 (ido-copy-current-word): Mark unused parameters;
13409 remove unused variable `name'.
13410 (ido-sort-merged-list): Remove unused parameter `dirs'.
13411
13412 * ielm.el (ielm-input-sender): Mark unused parameter.
13413 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13414 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13415 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13416 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13417 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13418
13419 * image-dired.el (image-dired-display-thumbs): Remove unused
13420 variables `curr-file' and `count'.
13421 (image-dired-remove-tag): Remove unused variable `start'.
13422 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13423 variable `curr-file'
13424 (image-dired-rotate-original): Remove unused variable `temp-file'.
13425 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13426 Remove unused variable `file'.
13427 (image-dired-gallery-generate): Remove unused variable `curr'.
13428 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13429
13430 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13431
13432 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13433
13434 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13435
13436 * isearch.el (minibuffer-history-symbol): Declare.
13437 (isearch-edit-string): Remove unused variable `err'.
13438 (isearch-message-prefix, isearch-message-suffix):
13439 Mark unused parameters.
13440
13441 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13442
13443 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13444
13445 * makesum.el (double-column): Remove unused variable `cnt'.
13446
13447 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13448 (ido-ignore-item-temp-list): Declare.
13449
13450 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13451 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13452 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13453 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13454 `mouse-col-delta'.
13455
13456 * mouse-sel.el (mouse-extend-internal):
13457 Remove unused variable `orig-window-frame'.
13458
13459 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13460 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13461 Move declarations before first use.
13462 (pcomplete-opt): Mark unused parameters; doc fix.
13463
13464 * proced.el (proced-revert): Mark unused parameter.
13465 (proced-send-signal): Remove unused variable `err'.
13466
13467 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13468 Rename parameter PREFIX-ARG to ARG.
13469 (ps-basic-plot-string, ps-basic-plot-whitespace):
13470 Mark unused parameters.
13471
13472 * replace.el (replace-count): Define.
13473 (occur-revert-function): Mark unused parameters.
13474 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13475 (isearch-case-fold-search, isearch-string): Declare.
13476 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13477 bind `case-fold-search'. Remove unused variables `beg' and `end',
13478 and simplify.
13479 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13480 COUNT and bind `replace-count'.
13481 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13482 to COUNT.
13483
13484 * savehist.el (print-readably, print-string-length): Declare.
13485
13486 * shadowfile.el (shadow-expand-cluster-in-file-name):
13487 Remove unused variable `cluster'.
13488 (shadow-copy-file): Remove unused variable `i'.
13489 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13490 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13491 (shadow-define-literal-group, shadow-define-regexp-group)
13492 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13493
13494 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13495 (shell): Use `called-interactively-p'.
13496 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13497
13498 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13499 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13500 (delete-backward-char): Remove unused variable `ocol'.
13501 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13502 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13503 (event-apply-hyper-modifier, event-apply-shift-modifier)
13504 (event-apply-control-modifier, event-apply-meta-modifier):
13505 Mark unused parameters.
13506 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13507 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13508
13509 * speedbar.el (speedbar-ignored-directory-expressions)
13510 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13511 (speedbar-find-file, speedbar-dir-follow)
13512 (speedbar-directory-buttons-follow, speedbar-tag-find)
13513 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13514 (speedbar-buffers-line-directory, speedbar-buffer-click):
13515 Mark unused parameters.
13516 (speedbar-tag-file): Remove unused variable `mode'.
13517 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13518
13519 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13520
13521 * talk.el (talk): Remove unused variable `display'.
13522
13523 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13524 (tar-write-region-annotate): Mark unused parameter.
13525
13526 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13527 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13528 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13529 warning by another.
13530
13531 * time-stamp.el (time-stamp-string-preprocess):
13532 Remove unused variable `require-padding'.
13533
13534 * tree-widget.el (widget-glyph-enable): Declare.
13535 (tree-widget-action): Mark unused parameter.
13536
13537 * w32-fns.el (x-get-selection): Mark unused parameter.
13538 (autoload-make-program, generated-autoload-file): Declare.
13539
13540 * wdired.el (wdired-revert): Mark unused parameters.
13541 (wdired-xcase-word): Remove unused variable `err'.
13542
13543 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13544 (whitespace-help-scroll): Remove unused variable `data-help'.
13545
13546 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13547 (widget-image-insert, widget-after-change, default)
13548 (widget-default-format-handler, widget-default-notify)
13549 (widget-default-prompt-value, widget-info-link-action)
13550 (widget-url-link-action, widget-function-link-action)
13551 (widget-variable-link-action, widget-file-link-action)
13552 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13553 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13554 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13555 (widget-insert-button-action, widget-delete-button-action, visibility)
13556 (widget-documentation-link-action, widget-documentation-string-action)
13557 (widget-const-prompt-value, widget-regexp-match, symbol)
13558 (widget-coding-system-prompt-value)
13559 (widget-key-sequence-value-to-external, sexp)
13560 (widget-sexp-value-to-internal, character, vector, cons)
13561 (widget-choice-prompt-value, widget-boolean-prompt-value)
13562 (widget-color--choose-action): Mark unused parameters.
13563 (widget-item-match-inline, widget-choice-match-inline)
13564 (widget-checklist-match, widget-checklist-match-inline)
13565 (widget-group-match): Rename parameter VALUES to VALS.
13566 (widget-field-value-set): Remove unused variable `size'.
13567 (widget-color-action): Remove unused variables `value' and `start'.
13568
13569 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13570 variable `dir'. Doc fix.
06b60517
JB
13571 (windmove-find-other-window): Don't pass it.
13572
13573 * window.el (count-windows): Mark unused parameter.
13574 (bw-adjust-window): Remove unused variable `err'.
13575
13576 * woman.el (woman-file-name): Remove unused variable `default'.
13577 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13578 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13579 (global-font-lock-mode): Declare.
13580 (woman-decode-region): Mark unused parameter.
13581 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13582
13583 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13584 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13585 (x-dnd-handle-moz-url): Remove unused variable `title'.
13586 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13587
13588 * xml.el (xml-parse-tag, xml-parse-attlist):
13589 Remove unused variable `pos'.
13590
bc4f7f3d
GM
135912011-04-19 Glenn Morris <rgm@gnu.org>
13592
13593 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13594 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13595 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13596 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13597 * calendar/cal-html.el (cal-html-insert-minical):
13598 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13599 (calendar-mark-date-pattern):
13600 Prefix "unused" locals.
13601
13602 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13603 optional argument `style'.
13604
13605 * calendar/appt.el (appt-make-list):
13606 * calendar/cal-china.el (calendar-chinese-date-string):
13607 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13608 (diary-hebrew-yahrzeit):
13609 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13610 * calendar/calendar.el (calendar-generate-window):
13611 * calendar/time-date.el (time-to-days):
13612 Remove unused local variables.
13613
16a43933
CY
136142011-04-18 Chong Yidong <cyd@stupidchicken.com>
13615
13616 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13617 glyphless-char-display table.
13618 (tabulated-list-glyphless-char-display): New var.
13619
7eed1860
SS
136202011-04-18 Sam Steingold <sds@gnu.org>
13621
13622 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13623 to acknowledgments.
13624
4d2d1ccd
GM
136252011-04-17 Glenn Morris <rgm@gnu.org>
13626
13627 * calendar/diary-lib.el (diary-sexp-entry):
13628 * calendar/holidays.el (holiday-sexp):
13629 Set debug-on-error rather than the removed stack-trace-on-error.
13630
239da61d
GM
136312011-04-16 Glenn Morris <rgm@gnu.org>
13632
13633 * progmodes/f90.el: Use lexical-binding.
13634 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13635
8b05752a
SM
136362011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13637
daca8ba5
SM
13638 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13639 (mail-mode): Setup mailalias completion here instead.
13640 * mail/mailalias.el: Use lexical-binding.
13641 (pattern, mailalias-done): Declare dynamic.
13642 (mail-completion-at-point-function): New function, from mail-complete.
13643 (mail-complete): Use it.
13644 (mail-completion-expand): New function.
13645 (mail-get-names): Use it.
13646 (mail-directory, mail-directory-process, mail-directory-stream):
13647 Don't use `pattern' for lexically bound arg.
13648
6f542485
SM
13649 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13650
037e7c3f
SM
13651 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13652 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13653 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13654
8b05752a
SM
13655 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13656 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13657 (byte-interactive-p): Define them again, for use when inlining
13658 old code.
13659
49093f60
JB
136602011-04-15 Juanma Barranquero <lekktu@gmail.com>
13661
13662 * loadup.el: Use `string-to-number', not `string-to-int'.
13663
b5b8e7de
SM
136642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13667 gud-gdb-complete-command.
13668 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13669 (gud-gdb-completion-at-point): New function.
13670 (gud-gdb-completions): Remove.
13671
f42efeb5
MA
136722011-04-14 Michael Albinus <michael.albinus@gmx.de>
13673
49093f60
JB
13674 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13675 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13676 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13677 whether `executable-find' is bound.
f42efeb5
MA
13678
13679 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13680
e240cc21
SM
136812011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * minibuffer.el (completion-in-region-mode-predicate)
13684 (completion-in-region-mode--predicate): New vars.
13685 (completion-in-region, completion-in-region--postch)
13686 (completion-in-region-mode): Use them.
13687 (completion--capf-wrapper): Also return the hook function.
13688 (completion-at-point, completion-help-at-point):
13689 Adjust and provide a predicate.
c2bd2ab0
SM
13690
13691 Preserve arg names for advice of subr and lexical functions (bug#8457).
13692 * help-fns.el (help-function-arglist): Consolidate the subr and
13693 new-byte-code cases. Add argument `preserve-names' to extract names
13694 from the docstring when needed.
13695 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13696 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13697 (ad-arglist): Use help-function-arglist's new arg.
13698 (ad-definition-type): Use cond.
13699
c183f693
JB
137002011-04-13 Juanma Barranquero <lekktu@gmail.com>
13701
06641a47
JB
13702 * autorevert.el (auto-revert-handler):
13703 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13704 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13705 Don't quote lambda.
13706
c183f693
JB
13707 * image-mode.el (image-transform-set-scale):
13708 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13709
1e3b6001
G
137102011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13711
13712 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13713 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13714 Upgrades via gnutls-cli are too slow to be done opportunistically.
13715
2d6af8dd
JB
137162011-04-12 Juanma Barranquero <lekktu@gmail.com>
13717
13718 * dframe.el (dframe-current-frame): Remove spurious quote.
13719
c0749a51
GM
137202011-04-12 Glenn Morris <rgm@gnu.org>
13721
088d0d61
GM
13722 * calendar/cal-tex.el (cal-tex-end-document):
13723 Try to automatically use latin1 input if needed.
13724
c0749a51
GM
13725 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13726 Don't try to cons a mark onto an empty element.
13727
5c90fde0
LL
137282011-04-11 Leo Liu <sdl.web@gmail.com>
13729
13730 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13731 buffers.
13732 (ido-kill-buffer-at-head): Support killing virtual buffers.
13733
369e974d
CY
137342011-04-10 Chong Yidong <cyd@stupidchicken.com>
13735
13736 * minibuffer.el (completion-show-inline-help): New var.
13737 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13738 (minibuffer-force-complete, minibuffer-complete-word):
13739 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13740
13741 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13742 to avoid interference from inline help (Bug#5849).
13743
37f1c930
LL
137442011-04-10 Leo Liu <sdl.web@gmail.com>
13745
099c39a4
JB
13746 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13747 Fix typo.
37f1c930 13748
a32d4040
CY
137492011-04-09 Chong Yidong <cyd@stupidchicken.com>
13750
13751 * image-mode.el (image-toggle-display-image): Signal an error if
13752 not in Image mode.
13753 (image-transform-mode, image-transform-resize)
13754 (image-transform-set-rotation): Doc fix.
daca8ba5 13755 (image-transform-set-resize): Delete.
a32d4040
CY
13756 (image-transform-set-scale, image-transform-fit-to-height)
13757 (image-transform-fit-to-width): Handle image-toggle-display-image
13758 and image-transform-resize directly.
13759
099c39a4 137602011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13761
13762 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13763 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13764 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13765 (doc-view-mode-map): Add bindings for the new functions.
13766
099c39a4 137672011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13768
4d61f28d 13769 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13770 Fix typo in docstring.
13771
3726838a
EZ
137722011-04-08 Eli Zaretskii <eliz@gnu.org>
13773
04f33f1e
EZ
13774 * files.el (file-size-human-readable): Produce one digit after
13775 decimal, like "ls -lh" does.
13776
13777 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13778 the file size representation.
13779
3726838a
EZ
13780 * simple.el (list-processes): If async subprocesses are not
13781 available, error out with a clear error message.
13782
cbb59342
CY
137832011-04-08 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * help.el (help-form-show): New function, to be called from C.
13786 Put help-form output in a buffer named differently than *Help*.
13787
e3971c44
EZ
137882011-04-08 Eli Zaretskii <eliz@gnu.org>
13789
13790 * files.el (file-size-human-readable): New function.
13791
13792 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13793 computing the representation inline. Don't require `cl'.
13794
12544bbe
GM
137952011-04-08 Glenn Morris <rgm@gnu.org>
13796
a1de6c6a
GM
13797 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13798
3c4671f4
GM
13799 * net/browse-url.el (browse-url-firefox):
13800 Test system-type, not system-configuration.
13801
b605679c
GM
13802 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13803 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13804 Use log-edit-empty-buffer-p. (Bug#7598)
13805
56442f0c
GM
13806 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13807 (rlogin-mode-map): Initialize in the defvar.
13808 (rlogin): Use ignore-errors.
13809
12544bbe
GM
13810 * replace.el (occur-mode-map): Some fixes for menu items.
13811
eb237b0f
AH
138122011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13813
13814 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13815
7d668f2c
CY
138162011-04-06 Chong Yidong <cyd@stupidchicken.com>
13817
e67a13ab
CY
13818 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13819 issuing unused warnings.
13820
13821 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13822 macro directly.
13823
7d668f2c
CY
13824 * simple.el: Lisp reimplement of list-processes. Based on an
13825 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13826 (process-menu-mode): New major mode.
13827 (list-processes--refresh, list-processes):
13828 (process-menu-visit-buffer): New functions.
13829
13830 * files.el (save-buffers-kill-emacs): Don't assume any return
13831 value of list-processes, which is undocumented anyway.
13832
a83ec3c9
CY
138332011-04-06 Chong Yidong <cyd@stupidchicken.com>
13834
13835 * emacs-lisp/tabulated-list.el: New file.
13836
e91a96fe
CY
13837 * emacs-lisp/package.el: Use Tabulated List mode.
13838 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13839 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13840 table format using Tabulated List mode variables.
13841 (package--push): New macro, replacing package-list-maybe-add.
13842 (package-menu--generate): Use package--push. Renamed from
13843 package--generate-package-list.
13844 (package-menu-refresh, list-packages): Use it.
daca8ba5 13845 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13846 Return insertion data instead of inserting it directly.
099c39a4
JB
13847 (package-menu-describe-package, package-menu-execute):
13848 Use tabulated-list-get-id.
e91a96fe
CY
13849 (package-menu-mark-delete, package-menu-mark-install)
13850 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13851 (package-menu-mark-obsolete-for-deletion):
13852 Use tabulated-list-put-tag.
e91a96fe
CY
13853 (package--list-packages, package-menu-revert)
13854 (package-menu-get-package, package-menu-get-version)
13855 (package-menu-sort-by-column): Functions deleted.
13856 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13857 (package-menu--status-predicate, package-menu--version-predicate)
13858 (package-menu--name-predicate)
13859 (package-menu--description-predicate): Handle arguments in the
13860 Tabulated List format.
13861 (package-list-packages-no-fetch): Call list-packages.
13862
3e214b50
JB
138632011-04-06 Juanma Barranquero <lekktu@gmail.com>
13864
13865 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13866 (after-find-file): Don't bind it.
3e214b50
JB
13867 (revert-buffer-in-progress-p): New variable.
13868 (revert-buffer): Bind it.
13869 Pass nil for `after-find-file-from-revert-buffer'.
13870
13871 * saveplace.el (save-place-find-file-hook): Use new variable
13872 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13873
3f0f1700
GM
138742011-04-06 Glenn Morris <rgm@gnu.org>
13875
c0274801
GM
13876 * Makefile.in (AUTOGEN_VCS): New variable.
13877 (autoloads): Use $AUTOGEN_VCS.
13878
3f0f1700
GM
13879 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13880 * calendar/calendar.el (calendar-mode-map):
13881 Check for toolkit scroll bars. (Bug#8305)
13882
41ea9e48
CY
138832011-04-05 Chong Yidong <cyd@stupidchicken.com>
13884
13885 * minibuffer.el (completion-in-region--postch)
13886 (completion-in-region-mode): Remove unnecessary messages.
13887
6194c800
JB
138882011-04-05 Juanma Barranquero <lekktu@gmail.com>
13889
33256f14
JB
13890 * font-lock.el (font-lock-refresh-defaults):
13891 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13892 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13893
6194c800
JB
13894 * info.el (Info-directory-list, Info-read-node-name-2)
13895 (Info-split-parameter-string): Doc fixes.
13896 (Info-virtual-nodes): Reflow docstring.
13897 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13898 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13899 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13900 Fix typos in docstrings.
13901 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13902 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13903 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13904 (Info-restore-desktop-buffer): Mark unused parameters.
13905 (Info-directory-find-file, Info-directory-find-node)
13906 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13907 (Info-virtual-index-find-node, Info-apropos-find-file)
13908 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13909 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13910 (Info-virtual-index): Remove unused local variable `nodename'.
13911
b87a8200 139122011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13913
b87a8200
DD
13914 * net/rcirc.el: Update my e-mail address.
13915 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13916
3b2ff876
CY
139172011-04-05 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * startup.el (command-line): Save the cursor's theme-face
13920 directly, instead of using face-override-spec.
13921
13922 * custom.el (load-theme): Minor optimization in assigning faces.
13923
8d17e7ca
JB
139242011-04-04 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * help-fns.el (describe-variable): Complete all variables having
13927 documentation, including keywords.
13928 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13929
2fbc1934
JB
139302011-04-04 Juanma Barranquero <lekktu@gmail.com>
13931
13932 Convert to lexical-binding.
13933
13934 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13935 (bs--get-marked-string, bs--get-modified-string)
13936 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13937 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13938 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13939
13940 * ehelp.el (electric-help-execute-extended)
13941 (electric-help-ctrl-x-prefix):
13942 * hexl.el (hexl-revert-buffer-function):
13943 * linum.el (linum-after-change, linum-after-scroll):
13944 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13945
13946 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13947
74f50695
DU
139482011-04-04 Daiki Ueno <ueno@unixuser.org>
13949
13950 * epa-dired.el:
13951 * epa-mail.el:
13952 * epa-hook.el:
13953 * epa-file.el:
13954 * epa.el:
13955 * epg.el: Use lexical binding.
13956
c11325f7
CY
139572011-04-03 Chong Yidong <cyd@stupidchicken.com>
13958
0d9e9a12
CY
13959 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13960
c11325f7 13961 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13962 dictionary case for flyspell-mark-duplications-exceptions.
13963 Use regexp matching for languages.
c11325f7
CY
13964 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13965 default dictionary (Bug#7926).
13966
da91b5f2
CY
139672011-04-02 Chong Yidong <cyd@stupidchicken.com>
13968
099c39a4
JB
13969 * emacs-lisp/package.el (package--with-work-buffer):
13970 Recognize https URLs.
da91b5f2 13971
099c39a4
JB
13972 * net/network-stream.el: Move from gnus/proto-stream.el.
13973 Change prefix to network-stream throughout.
da91b5f2
CY
13974 (open-protocol-stream): Merge into open-network-stream, leaving
13975 open-protocol-stream as an alias. Handle nil BUFFER args.
13976
13977 * subr.el (open-network-stream): Move to net/network-stream.el.
13978
afa8e9f6
GM
139792011-04-02 Glenn Morris <rgm@gnu.org>
13980
1d2e369d
GM
13981 * find-dired.el (find-exec-terminator): New option.
13982 (find-ls-option): Test for -ls support.
13983 (find-ls-subdir-switches): Test for -b in find-ls-option.
13984 (find-dired, find-grep-dired): Doc fixes.
13985 (find-dired): Use find-exec-terminator.
13986
8abb7da8 13987 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13988 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13989 (find-name-arg): Remove purecopy.
8abb7da8 13990
f3ca7378
GM
13991 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13992 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13993 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13994 accordingly. Don't add the null-device if not needed.
13995
afa8e9f6
GM
13996 * files.el (save-some-buffers): Doc fix.
13997
35eae264
EZ
139982011-04-02 Eli Zaretskii <eliz@gnu.org>
13999
14000 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14001
26b51db5
JB
140022011-04-01 Juanma Barranquero <lekktu@gmail.com>
14003
14004 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14005 Use `dolist' rather than `mapcar'.
14006
7200d79c
SM
140072011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14008
03408648 14009 Add lexical binding.
7200d79c 14010
03408648
SM
14011 * subr.el (apply-partially): Use new closures rather than CL.
14012 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14013 (dolist, dotimes): Use slightly different expansion for lexical code.
14014 (functionp): Move to C.
14015 (letrec): New macro.
14016 (with-wrapper-hook): Use it and apply-partially instead of CL.
14017 (eval-after-load): Preserve lexical-binding.
14018 (save-window-excursion, with-output-to-temp-buffer): Turn them
14019 into macros.
7200d79c 14020
03408648
SM
14021 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14022
14023 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14024 than the arglist.
14025 (help-add-fundoc-usage): Don't add `Not documented'.
14026 (help-function-arglist): Handle closures, subroutines, and new
14027 byte-code-functions.
14028 (help-make-usage): Remove leading underscores.
14029 (describe-function-1): Handle closures.
14030 (describe-variable): Use special-variable-p for completion.
14031
14032 * files.el (lexical-binding): Declare safe.
f488fb65 14033
03408648
SM
14034 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14035 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14036 (pcase): Add `let' pattern.
14037 Change memoization so it actually works.
14038 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14039 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14040 <let>: New case.
f488fb65 14041
03408648
SM
14042 * emacs-lisp/macroexp.el: Use lexical binding.
14043 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14044 Don't convert ' to #' without checking that it's indeed quoting
14045 a lambda.
14046
14047 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14048 Use eval-sexp-add-defvars.
03408648
SM
14049 (eval-sexp-add-defvars): New fun.
14050
14051 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14052
14053 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14054 Don't autoload.
14055 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14056 than the internal `byte-compile-lambda'.
14057 (defmethod): Don't hide code under quotes.
14058 (eieio-defmethod): New `code' argument.
14059
14060 * emacs-lisp/eieio-comp.el: Remove.
14061
14062 * emacs-lisp/edebug.el (edebug-eval-defun)
14063 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14064 (edebug-toggle): Avoid `eval'.
14065
14066 * emacs-lisp/disass.el (disassemble-internal): Handle new
14067 `closure' objects.
14068 (disassemble-1): Handle new byte codes.
14069
14070 * emacs-lisp/cl.el (pushnew): Silence warning.
14071
14072 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14073 (cl-byte-compile-throw): Remove.
14074 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14075
14076 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14077 closures.
14078
14079 * emacs-lisp/cconv.el: New file.
14080
14081 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14082 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14083 (byte-compile-initial-macro-environment):
14084 Handle declare-function here.
14085 (byte-compile--lexical-environment): New var.
14086 (byte-stack-ref, byte-stack-set, byte-discardN)
14087 (byte-discardN-preserve-tos): New lap codes.
14088 (byte-interactive-p): Don't use any more.
14089 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14090 New macros.
14091 (byte-compile-lapcode): Use them and handle new lap codes.
14092 (byte-compile-obsolete): Remove.
14093 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14094 (byte-compile-arglist-warn): Check late def of inlinable funs.
14095 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14096 since they should have been expanded by now.
14097 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14098 (byte-compile-from-buffer): Remove unused second arg.
14099 (byte-compile-preprocess): New function.
14100 (byte-compile-toplevel-file-form): New function to distinguish
14101 file-form calls from outside from file-form calls from hunk-handlers.
14102 (byte-compile-file-form): Simplify.
14103 (byte-compile-file-form-defsubst): Remove.
14104 (byte-compile-file-form-defmumble): Simplify now that
14105 byte-compile-lambda always returns a byte-code-function.
14106 (byte-compile): Preprocess.
14107 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14108 Remove, not used any more.
14109 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14110 (byte-compile-make-args-desc): New funs.
14111 (byte-compile-lambda): Handle lexical functions. Always return
14112 a byte-code-function.
14113 (byte-compile-reserved-constants): New var, to make up room for
14114 closed-over variables.
14115 (byte-compile-constants-vector): Obey it.
14116 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14117 (byte-compile-macroexpand-declare-function): New function.
14118 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14119 byte-code-functions.
14120 (byte-compile-form): Check obsolescence here.
14121 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14122 (byte-compile-variable-ref): Remove.
14123 (byte-compile-dynamic-variable-op): New fun.
14124 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14125 (byte-compile-variable-set): New funs.
14126 (byte-compile-discard): Add 2 args.
14127 (byte-compile-stack-ref, byte-compile-stack-set)
14128 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14129 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14130 macroexpand-all instead.
14131 (byte-compile-quote-form): Remove.
14132 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14133 (byte-compile-bind, byte-compile-unbind): New funs.
14134 (byte-compile-let): Handle let* and lexical binding.
14135 (byte-compile-let*): Remove.
14136 (byte-compile-catch, byte-compile-unwind-protect)
14137 (byte-compile-track-mouse, byte-compile-condition-case):
14138 Handle a new :fun-body form, used for lexical scoping.
14139 (byte-compile-save-window-excursion)
14140 (byte-compile-with-output-to-temp-buffer): Remove.
14141 (byte-compile-defun): Simplify.
14142 (byte-compile-stack-adjustment): New fun.
14143 (byte-compile-out): Use it.
14144 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14145
14146 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14147 handler any more.
14148
14149 * emacs-lisp/byte-opt.el: Use lexical binding.
14150 (byte-inline-lapcode): Remove (to bytecomp).
14151 (byte-compile-inline-expand): Pay attention to inlining to/from
14152 lexically bound code.
14153 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14154 any more.
14155 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14156 any more and don't call compiler-macros.
14157 (byte-compile-splice-in-already-compiled-code): Remove.
14158 (byte-code): Don't inline any more.
14159 (disassemble-offset): Receive `bytes' as argument rather than via
14160 dynamic scoping.
14161 (byte-compile-tag-number): Declare before first use.
14162 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14163 `return' even if make-spliceable.
14164 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14165 obsolete interactive-p.
14166 (byte-optimize-lapcode): Optimize new lap-codes.
14167 Don't trip up on new form of `byte-constant' lap code.
14168
14169 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14170
14171 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14172
14173 * custom.el (custom-initialize-default, custom-declare-variable):
14174 Use `defvar'.
14175
14176 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14177 New variables.
14178 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14179 (COMPILE_FIRST): Add macroexp and cconv.
14180 * makefile.w32-in: Mirror changes in Makefile.in.
14181
14182 * vc/cvs-status.el:
14183 * vc/diff-mode.el:
14184 * vc/log-edit.el:
14185 * vc/log-view.el:
14186 * vc/smerge-mode.el:
14187 * textmodes/bibtex-style.el:
14188 * textmodes/css.el:
14189 * startup.el:
14190 * uniquify.el:
da91b5f2
CY
14191 * minibuffer.el:
14192 * newcomment.el:
14193 * reveal.el:
14194 * server.el:
14195 * mpc.el:
14196 * emacs-lisp/smie.el:
14197 * doc-view.el:
14198 * dired.el:
03408648
SM
14199 * abbrev.el: Use lexical binding.
14200
0f0c1f27
EZ
142012011-04-01 Eli Zaretskii <eliz@gnu.org>
14202
14203 * info.el (info-display-manual): New function.
14204
c82b2579
SM
142052011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14208
221ddf68
TH
142092011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14210
14211 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14212 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14213
cba6e77e
GM
142142011-03-31 Glenn Morris <rgm@gnu.org>
14215
e040639f
GM
14216 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14217
cba6e77e
GM
14218 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14219
6d0f1c9e
CS
142202011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14221
14222 * progmodes/python.el (python-default-interpreter)
14223 (python-python-command-args, python-jython-command-args)
14224 (python-which-shell, python-which-args, python-which-bufname)
14225 (python-file-queue, python-comint-output-filter-function)
14226 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14227 variables and functions.
14228
3e2d70fd
SM
142292011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14232 (completion-in-region-mode): New minor mode.
14233 (completion-in-region): Use it.
14234 (completion-in-region--data, completion-in-region-mode-map): New vars.
14235 (completion-in-region--postch): New function.
14236 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14237 New vars.
14238 (completion--capf-wrapper): New function.
14239 (completion-at-point): Use it to track well-behavedness of
14240 hook functions.
14241 (completion-help-at-point): New command.
14242
f3e4086c
JM
142432011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14244
14245 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14246 syntax class to search for whitespace on a single line
14247 (Message-ID: <4D938140.4030905@redhat.com>).
14248
eb7ffc14
LL
142492011-03-30 Leo Liu <sdl.web@gmail.com>
14250
14251 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14252 New commands.
14253 (edit-abbrevs-map): Bind them here.
14254 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14255
d806ab68
KM
142562011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14257
14258 * allout.el (allout-hide-by-annotation, allout-flag-region):
14259 Reduce possibility of overlay leakage by making them volatile.
14260
14261 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14262 hash is not shared between buffers. Mode initialization is
14263 responsible for giving it a useful starting value.
14264 (allout-item-span): Reduce possibility of overlay leakage by
14265 making them volatile.
14266 (allout-widgets-count-buttons-in-region): Add diagnostic function
14267 for tracking down button overlay leaks.
14268
ea622834
LL
142692011-03-29 Leo Liu <sdl.web@gmail.com>
14270
14271 * ido.el (ido-read-internal): Use the default history var
14272 minibuffer-history if no HISTORY is specified.
14273
b62f8267
G
142742011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14275
03408648
SM
14276 * net/imap.el (imap-shell-open, imap-process-connection-type):
14277 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14278 Kerberos, SSL, other subprocesses.
14279
947b6566
LL
142802011-03-28 Leo Liu <sdl.web@gmail.com>
14281
14282 * abbrev.el (abbrev-table-empty-p): New function.
14283 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14284 nonempty ones. (Bug#5937)
14285
5ffb62aa
JD
142862011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14287
14288 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14289
7a097943
LL
142902011-03-27 Leo Liu <sdl.web@gmail.com>
14291
14292 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14293 for foreground and background colors.
14294 (ansi-color-make-color-map): Adapt.
14295
c5b40130
LL
142962011-03-25 Leo Liu <sdl.web@gmail.com>
14297
1f48f7d2
LL
14298 * midnight.el (midnight-time-float): Remove. Note it calculates
14299 the microsecond component incorrectly and seconds-to-time does the
14300 same job.
625897ec 14301 Remove redundant (require 'timer).
1f48f7d2 14302
c5b40130
LL
14303 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14304 (ido-completions): Remove unused arguments. (Bug#8329)
14305
d86d2721
SM
143062011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * minibuffer.el (completion--flush-all-sorted-completions):
14309 Remove itself from hook.
14310 (completion-at-point): Let the functions perform the completion
14311 immediately and return nil or t.
14312 * comint.el (comint-dynamic-complete-functions): Now identical to
14313 completion-at-point-functions.
14314 (comint-dynamic-list-input-ring): Remove unused var `index'.
14315 (comint--match-partial-filename, comint--unquote&expand-filename):
14316 New funs, split from comint-match-partial-filename.
14317 (comint-dynamic-complete): Use completion-at-point.
14318 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14319
e8974c48
DA
143202011-03-24 Drew Adams <drew.adams@oracle.com>
14321
14322 * thingatpt.el: Support `defun'.
14323
def71b5e
LL
143242011-03-23 Leo Liu <sdl.web@gmail.com>
14325
cb5af48e
LL
14326 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14327
def71b5e
LL
14328 * help-mode.el (help-mode-finish): Tweak regexp.
14329
927c53e7
GM
143302011-03-23 Glenn Morris <rgm@gnu.org>
14331
18d05bed
GM
14332 * eshell/esh-opt.el (eshell-eval-using-options):
14333 Do not bind unused local variable `eshell-option-stub'.
14334
927c53e7
GM
14335 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14336
9d0da923
JB
143372011-03-22 Juanma Barranquero <lekktu@gmail.com>
14338
14339 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14340 keymap variable in `with-no-warnings' to avoid a warning when the
14341 keymap has been already `defconst'ed.
14342
4b978a67
LL
143432011-03-22 Leo Liu <sdl.web@gmail.com>
14344
14345 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14346 encode all chars in abbrevs; otherwise use emacs-mule or
14347 utf-8-emacs. (Bug#8308)
14348
5fd62452
JB
143492011-03-22 Juanma Barranquero <lekktu@gmail.com>
14350
0b1596c6
JB
14351 * simple.el (backward-delete-char-untabify):
14352 Avoid warning about using `delete-backward-char'.
14353
5fd62452
JB
14354 * image.el (image-type-file-name-regexps): Make it variable.
14355 `imagemagick-register-types' modifies it, and the user may want
14356 to add new extensions for known image types.
14357 (imagemagick-register-types): Throw error if not using ImageMagick.
14358
0b4e93f1
LL
143592011-03-22 Leo Liu <sdl.web@gmail.com>
14360
14361 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14362 located before rcirc-prompt-end-marker.
14363 (rcirc-complete): Error if point is not after rcirc prompt.
14364 Handle the case when table is nil.
9882e214 14365 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14366
fccee4ab
CY
143672011-03-22 Chong Yidong <cyd@stupidchicken.com>
14368
14369 * custom.el (custom--inhibit-theme-enable): Make it affect only
14370 custom-theme-set-variables and custom-theme-set-faces.
14371 (provide-theme): Ignore custom--inhibit-theme-enable.
14372 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14373 (custom-enabling-themes): Delete variable.
d86d2721
SM
14374 (enable-theme): Accept only loaded themes as arguments.
14375 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14376 (custom-enabled-themes): Forbid themes from setting this.
14377 Eliminate use of custom-enabling-themes.
14378 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14379
af896da6
LL
143802011-03-21 Leo Liu <sdl.web@gmail.com>
14381
14382 * ido.el (ido-read-internal): Add ido-selected to history instead
14383 of user input.
14384
78f64af0
SM
143852011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * subr.el (deferred-action-list, deferred-action-function):
14388 Mark obsolete.
14389
b16ac1ec
LL
143902011-03-21 Leo Liu <sdl.web@gmail.com>
14391
810f7698
LL
14392 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14393 change on 2011-02-13 (bug#8309).
14394
b16ac1ec
LL
14395 * minibuffer.el (read-file-name-function): Change default value.
14396 (read-file-name--defaults): Rename from read-file-name-defaults.
14397 (read-file-name-default): Rename from read-file-name.
14398 (read-file-name): Call read-file-name-function.
14399
4e05e67e
GM
144002011-03-21 Glenn Morris <rgm@gnu.org>
14401
14402 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14403 Doc fixes.
14404
4359915b
CY
144052011-03-21 Chong Yidong <cyd@stupidchicken.com>
14406
14407 * cus-theme.el: Add missing provide statement.
14408 (customize-create-theme): Extract theme value correctly.
14409 (custom-theme-visit-theme): Autoload.
14410 (customize-create-theme): Prompt before inserting default faces.
14411
1fe275ee
JB
144122011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14413
14414 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14415 units and musical notes.
14416
cd394be1 144172011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14418
14419 * ido.el (ido-read-internal): Use completing-read-default.
14420 (ido-completing-read): Fix compatibility with completing-read.
14421
7d476bde
CO
144222011-03-20 Christian Ohler <ohler@gnu.org>
14423
14424 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14425 (ert-delete-all-tests): Use `called-interactively-p' rather than
14426 `interactive-p'.
14427 (ert--make-xrefs-region): Respect END.
14428
fe0fb33e
CY
144292011-03-19 Chong Yidong <cyd@stupidchicken.com>
14430
ff854b0b
CY
14431 * dired-aux.el (dired-create-directory): Signal an error if the
14432 directory already exists (Bug#8246).
14433
fe0fb33e
CY
14434 * facemenu.el (list-colors-display): Call list-faces-display
14435 inside with-help-window.
14436 (list-colors-print): Use display property to align the final
14437 column, instead of checking window-width.
14438
576bce32
EZ
144392011-03-19 Eli Zaretskii <eliz@gnu.org>
14440
4d61f28d 14441 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14442 windows-nt systems.
14443 (emerge-protect-metachars): Quote correctly for ms-dos and
14444 windows-nt systems.
14445
89c41d68 144462011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14447
14448 * info.el (info-initialize): Replace all uses of `:' with
14449 path-separator for compatibility with non-Unix systems.
14450 Cache quoting of path-separator. (Bug#8258)
14451
b14e3e21 144522011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14453
14454 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14455 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14456 (mouse-avoidance-mode): Fix typos in docstrings.
14457
4525ce3e
CY
144582011-03-19 Chong Yidong <cyd@stupidchicken.com>
14459
14460 * startup.el (package-subdirectory-regexp): Move from package.el.
14461 Omit \\` and \\', and let callers add them.
14462
14463 * emacs-lisp/package.el (package-strip-version)
14464 (package-load-all-descriptors): Add \\` and \\' to
14465 package-subdirectory-regexp before using it.
14466 (package-untar-buffer): New arg DIR; ensure that file untars only
14467 into this expected directory. Remove superfluous delete-region.
14468 (package-unpack): Caller changed.
14469 (package-tar-file-info): Use package-subdirectory-regexp.
14470
a904a09a 144712011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14472
a904a09a
SM
14473 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14474 diff-mode-shared-map (bug#8284).
14475 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14476
144772011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14478
14479 * calendar/time-date.el (format-seconds): Use assoc instead of
14480 assoc-string, since assoc-string doesn't exist in XEmacs.
14481
171fc304
JB
144822011-03-17 Juanma Barranquero <lekktu@gmail.com>
14483
14484 * custom.el (custom-known-themes): Reflow docstring.
14485 (custom-theme-load-path): Fix typo in docstring.
14486 (load-theme): Fix typo in error message.
14487 (custom-available-themes, custom-variable-theme-value):
14488 Use `let', not `let*'.
14489
d71990a1
JB
144902011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14491
14492 * calc/README: Mention inclusion of musical notes.
14493
14494 * calc/calc-units.el (calc-lu-quant): Rename from
14495 `calc-logunits-quantity'.
14496 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14497 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14498 (calc-db): Rename from `calc-dblevel'.
14499 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14500 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14501 (calc-np): Rename from `calc-nplevel'.
14502 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14503 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14504 (calc-lu-plus): Rename from `calc-logunits-add'.
14505 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14506 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14507 (calc-lu-minus): Rename from `calc-logunits-sub'.
14508 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14509 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14510 (calc-lu-times): Rename from `calc-logunits-mul'.
14511 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14512 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14513 (calc-lu-divide): Rename from `calc-logunits-div'.
14514 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14515 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14516
14517 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14518 functions being autoloaded.
14519
14520 * calc/calc.el (calc-lu-power-reference): Rename from
14521 `calc-logunits-power-reference'.
14522 (calc-lu-field-reference): Rename from
14523 `calc-logunits-field-reference'.
14524
7a71b18d
GM
14525 * calc/calc-help.el (calc-l-prefix-help):
14526 Mention musical note functions.
d71990a1 14527
40c2934b
SM
145282011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * minibuffer.el (completion-all-sorted-completions):
14531 Use :completion-cycle-penalty text property if present.
14532
b0911414
KM
145332011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14534
14535 * allout.el (allout-yank-processing): Adjust for new rebulleting
14536 regime so bullet being yanked is used without prompting the user
14537 for a choice.
14538
8a05b668
JB
145392011-03-16 Juanma Barranquero <lekktu@gmail.com>
14540
14541 * startup.el (command-line): Warn the user that _emacs is deprecated.
14542
5ba5fb81
JB
145432011-03-16 Juanma Barranquero <lekktu@gmail.com>
14544
14545 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14546 (delphi-verbose, delphi-comment-face, delphi-string-face)
14547 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14548 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14549 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14550 (delphi-new-comment-line, delphi-font-lock-defaults)
14551 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14552 Fix typos in docstrings.
14553
2dab465b
KM
145542011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14555
5ba5fb81 14556 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14557 Invert the roles of character and string values for INSTEAD, so a
14558 string is used for the more common case of a defaulting prompt.
14559
0adf5618
SM
145602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14561
14562 * progmodes/ruby-mode.el (ruby-backward-sexp):
14563 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14564 * play/gamegrid.el (gamegrid-make-face):
14565 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14566 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14567 * notifications.el (notifications-notify):
14568 * net/xesam.el (xesam-search-engines):
14569 * net/quickurl.el (quickurl-list-insert):
14570 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14571
d72700e5
CY
145722011-03-15 Chong Yidong <cyd@stupidchicken.com>
14573
14574 * startup.el (command-line): Update package subdirectory regexp.
14575
49c5410a
SM
145762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14577
c6eee9aa
SM
14578 * allout.el (allout-abbreviate-flattened-numbering)
14579 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14580
49c5410a
SM
14581 * subr.el (read-char-choice): Only show the cursor after the prompt,
14582 not after the answer.
14583
047b2bb9
KR
145842011-03-15 Kevin Ryde <user42@zip.com.au>
14585
14586 * help-fns.el (variable-at-point): Skip leading quotes, if any
14587 (bug#8253).
14588
0a57d256
SM
145892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14592 warning message.
14593
77c992bc
MA
145942011-03-14 Michael Albinus <michael.albinus@gmx.de>
14595
14596 * shell.el (shell): When called interactively, offer to change the
14597 shell file name on remote hosts.
14598
eebc475d
TZ
145992011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14600
14601 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14602 integration for LDAP parameters. The host, base, user or binddn,
14603 and secret tokens can be specified in a netrc file, for instance.
14604 This is optional because an `auth-source' parameter must be
14605 specified in the search attributes.
14606
9d05d1ba
JB
146072011-03-13 Juanma Barranquero <lekktu@gmail.com>
14608
14609 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14610
09d9db2c
GM
146112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14614 into declaration. Remove redundant and harmful binding.
14615
146162011-03-12 Eli Zaretskii <eliz@gnu.org>
14617
14618 * files.el (file-ownership-preserved-p): Pass `integer' as an
14619 explicit 2nd argument to `file-attributes'. If the file's owner
14620 is the Administrators group on Windows, and the current user is
14621 Administrator, consider that a match.
14622
14623 * server.el (server-ensure-safe-dir): Consider server directory
14624 safe on MS-Windows if its owner is the Administrators group while
14625 the current Emacs user is Administrator. Use `=' to compare
14626 numerical UIDs, since they could be integers or floats.
14627
219bd536
JB
146282011-03-12 Juanma Barranquero <lekktu@gmail.com>
14629
14630 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14631
f3afd36b
MA
146322011-03-12 Michael Albinus <michael.albinus@gmx.de>
14633
14634 Sync with Tramp 2.2.1.
14635
14636 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14637
14638 * net/trampver.el: Update release number.
14639
3aaaa6f1
SM
146402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14641
94642599
SM
14642 * progmodes/compile.el (compilation--previous-directory): Fix up
14643 various nil/dead-marker mismatches (bug#8014).
14644 (compilation-directory-properties, compilation-error-properties):
14645 Don't call it at a position past the one we're about to change.
14646
3aaaa6f1
SM
14647 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14648 Disable obsolescence warnings in the file that declares it.
14649
14239447
KM
146502011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14651
099c39a4
JB
14652 * allout-widgets.el (allout-widgets-tally):
14653 Initialize allout-widgets-tally as a hash table rather than nil to
14654 prevent mode-line redisplay warnings. Also, clarify the module
14655 description and fix a comment typo.
14239447 14656
135e287c
JB
146572011-03-11 Juanma Barranquero <lekktu@gmail.com>
14658
14659 * help-fns.el (describe-variable): Don't complete keywords.
14660 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14661
ffbf300e
CY
146622011-03-10 Chong Yidong <cyd@stupidchicken.com>
14663
ba08b241
CY
14664 * emacs-lisp/package.el (package-version-join): Impose a standard
14665 string representation for pre/alpha/beta version lists.
14666 (package-unpack-single): Standardize the directory name by passing
14667 it through package-version-join.
14668 (package-strip-rcs-id): Accept any version string that does not
14669 signal an error in version-to-list.
ffbf300e 14670
f346fd6b
MA
146712011-03-10 Michael Albinus <michael.albinus@gmx.de>
14672
14673 * simple.el (delete-trailing-whitespace): Return nil for the
14674 benefit of `write-file-functions'.
14675
ccb55d27
GM
146762011-03-10 Glenn Morris <rgm@gnu.org>
14677
5ceaac0c
GM
14678 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14679
02da65ff
GM
14680 * vc/vc-git.el (vc-git-program): New option.
14681 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14682 (vc-git--call): Use it.
14683
b2f603cc
GM
14684 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14685
5772caab
GM
14686 * cus-edit.el (Custom-newline): If no button at point, look
14687 for a subgroup button at start-of-line. (Bug#2298)
14688
ccb55d27
GM
14689 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14690
ec6ecaed
JD
146912011-03-10 Julien Danjou <julien@danjou.info>
14692
14693 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14694 `cursor-type' is nil.
14695
9d5aa01d
JB
146962011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14697
14698 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14699
b6a5875b
KM
147002011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14701
7a71b18d 14702 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14703 preserves the existing header prefix, rebulleting it if necessary,
14704 rather than replacing it. This is necessary for proper operation
14705 of cooperative addons like allout-widgets.
1154d12e
JB
14706 (allout-make-topic-prefix, allout-rebullet-heading):
14707 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14708 value as alternate bullet to be used, instead of prompting the user
14709 for a bullet character.
b6a5875b 14710
ee545c35
MA
147112011-03-09 Michael Albinus <michael.albinus@gmx.de>
14712
d86d2721
SM
14713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14714 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14715 `tramp-default-port'.
14716
c47971d7
DD
147172011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14718
14719 * net/rcirc.el (rcirc-handler-001): Remove useless
14720 with-rcirc-process-buffer.
14721 (rcirc-check-auth-status): Swap arguments to string-match.
14722
13522cb4
GM
147232011-03-09 Glenn Morris <rgm@gnu.org>
14724
0be6f4f1
GM
14725 * shell.el (shell-mode):
14726 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14727
13522cb4
GM
14728 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14729 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14730
515de2e3
CY
147312011-03-08 Chong Yidong <cyd@stupidchicken.com>
14732
14733 * emacs-lisp/package.el (package-refresh-contents)
14734 (package-menu-execute): Use condition-case-no-debug.
14735
b511b994
MA
147362011-03-08 Michael Albinus <michael.albinus@gmx.de>
14737
14738 * simple.el (shell-command-to-string): Use `process-file'.
14739
14740 * emacs-lisp/package.el (package-tar-file-info): Handle also
14741 remote files.
14742
d86d2721
SM
14743 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14744 Use `equal' for upload base check.
b511b994 14745
25bbfb31
AM
147462011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14747
14748 * textmodes/texinfo.el (texinfo-environments):
14749 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14750
be996521
GM
147512011-03-08 Glenn Morris <rgm@gnu.org>
14752
e9c8529f
GM
14753 * cus-start.el (cursor-in-non-selected-windows):
14754 Fix :set quoting oddness. (Bug#8192)
14755
be996521
GM
14756 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14757 in some setf expressions. (Bug#2159)
14758
2bb5649e
CY
147592011-03-08 Chong Yidong <cyd@stupidchicken.com>
14760
14761 * custom.el (custom-available-themes): Return themes in
14762 alphabetical order.
14763
33383987 14764See ChangeLog.15 for earlier changes.
e3d51b27
MR
14765
14766;; Local Variables:
14767;; coding: utf-8
e3d51b27
MR
14768;; End:
14769
acaf905b 14770 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14771
14772 This file is part of GNU Emacs.
14773
14774 GNU Emacs is free software: you can redistribute it and/or modify
14775 it under the terms of the GNU General Public License as published by
14776 the Free Software Foundation, either version 3 of the License, or
14777 (at your option) any later version.
14778
14779 GNU Emacs is distributed in the hope that it will be useful,
14780 but WITHOUT ANY WARRANTY; without even the implied warranty of
14781 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14782 GNU General Public License for more details.
14783
14784 You should have received a copy of the GNU General Public License
14785 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.