src/dispnew.c (showing_window_margins_p): Wrap in #if 0.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e9f66fcb
EZ
12012-06-08 Eli Zaretskii <eliz@gnu.org>
2
3 * descr-text.el (describe-char): Mention how to insert the
4 character, if the current input method doesn't support it.
5 See the discussion in this thread for the details:
6 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7
3d10db47
SS
82012-06-08 Sam Steingold <sds@gnu.org>
9
10 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11 XF86Back to previous-buffer.
12 (minibuffer-local-map): Bind them to next-history-element and
13 previous-history-element respectively.
14 * help-mode.el (help-mode-map): Bind them to help-go-forward and
15 help-go-back respectively.
16 * info.el (Info-mode-map): Bind them to Info-history-forward and
17 Info-history-back respectively.
18 These are the keys next to Up on the ThinkPad keyboard.
19
de7e2b36
SM
202012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
23 * emacs-lisp/cl-macs.el: Provide itself.
24 (cl--labels-convert-cache): New var.
25 (cl--labels-convert): New function.
26 (cl-flet, cl-labels): New implementation with new semantics, relying on
27 lexical-binding.
28 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
29 (cl-closure-vars, cl--function-convert-cache)
30 (cl--function-convert): Move from cl-macs.el.
31 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
32 rename by removing the "cl-" prefix.
33 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
34
6fa6c4ae
SM
352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
38 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
39 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
40 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
41 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
42 (cl-hash-table-count): Add old compatibility aliases.
43
44 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
45 Use macroexpand-all-environment instead.
46 (cl--old-macroexpand): New var.
47 (cl--sm-macroexpand): New function.
48 (cl-symbol-macrolet): Use it during macro expansion.
49 (cl--function-convert-cache): New var.
50 (cl--function-convert): New function, extracted from
51 cl-macroexpand-all.
52 (cl-lexical-let): Use it.
53
54 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
55 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
56 (cl-member): Remove old alias.
57
58 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
59 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
60 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
61 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
62 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
63 (cl-macroexpand-cmacs): Remove var.
64 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
65 Use macroexpand-all instead.
66
4dd1c416
SM
672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
70 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
71 (macroexp-copyable-p): New functions and macros.
72 * emacs-lisp/edebug.el (edebug-unwrap):
73 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
74 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
75 (pcase--let*): Remove.
76 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
77 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
78 macroexp-const-p instead.
79 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
80
81 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
82 instead of "cl-" for internal definitions. Use macroexp-const-p.
83 (cl-old-bc-file-form): Remove var.
84 (cl-const-exprs-p): Remove fun.
85 (cl-labels, cl-macrolet): Use backquote.
86 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
87 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
88 (cl-define-setf-expander): Rename from cl-define-setf-method.
89 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
90
91 * international/mule-cmds.el: Don't require CL.
92 (view-hello-file): Don't use `letf'.
93
ed8bd4d7
SM
942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
95
7287f2f3
SM
96 * tmm.el (tmm-prompt): Use string-prefix-p.
97 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
98 (tmm-add-prompt): Use minibuffer-completion-help.
99 (tmm-delete-map): Remove.
100
ed8bd4d7
SM
101 * subr.el (kbd): Make it its own function.
102
7b4cdbf4
SM
1032012-06-07 Stefan Merten <smerten@oekonux.de>
104
105 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
106 Silence compiler warnings. Fix versions.
ed8bd4d7 107 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 108 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 109 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
110 (rst-package-emacs-version-alist): Correct Emacs version to
111 represent major merge with upstream.
ed8bd4d7 112 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 113
2b48d721
GM
1142012-06-06 Glenn Morris <rgm@gnu.org>
115
116 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
117 Only print environment variables if set.
118
fa779ab0
SM
1192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
122 (macroexp--cons): Rename from maybe-cons.
123 (macroexp--accumulate): Rename from macroexp-accumulate.
124 (macroexp--all-forms): Rename from macroexpand-all-forms.
125 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
126 (macroexp--expand-all): Rename from macroexpand-all-1.
127
628299e0
SS
1282012-06-06 Sam Steingold <sds@gnu.org>
129
130 * calendar/calendar.el (calendar-in-read-only-buffer):
131 Call `special-mode' to enable the standard read-only keybindings.
132
b7bb5838
SM
1332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
136 with "loading" messages (bug#11635).
137
dfb308ba
MA
1382012-06-06 Michael Albinus <michael.albinus@gmx.de>
139
140 * files.el (enable-remote-dir-locals): New option.
141 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
142
0372ee92
MA
143 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
144 Ensure, that the temp directory is local.
145
146 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
147 `temporary-file-directory'.
148
eed0bb91
MA
149 * progmodes/python.el (python-send-region): Ensure, that the
150 temporary file is created also in the remote case.
151
7a58f64d
GM
1522012-06-06 Glenn Morris <rgm@gnu.org>
153
f7dd4e98
GM
154 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
155 (vc-rcs-update-changelog): Use it.
156
276d5f5d
GM
157 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
158
7a58f64d
GM
159 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
160 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
161 (vc-sccs-diff): Replace use of the external vcdiff script.
162
daed4003
GM
1632012-06-05 Glenn Morris <rgm@gnu.org>
164
165 * ledit.el: Move to obsolete/.
166
48c455c7
SS
1672012-06-05 Sam Steingold <sds@gnu.org>
168
169 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
170 patch (Bug#11140).
171
57a7d507
SM
1722012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
173
d32926ff
SM
174 * emacs-list/cust-print.el: Move to obsolete.
175
53aacf21
SM
176 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
177 compiler-macro expansion.
178
57a7d507
SM
179 Add native compiler-macro support.
180 * emacs-lisp/macroexp.el (macroexpand-all-1):
181 Support compiler-macros directly. Properly follow aliases and apply
182 the compiler macros more thoroughly.
183 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
184 macroexpand now properly follows aliases.
185 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
186 (cl-compiler-macroexpand): Use new prop.
187 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
188
189 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
190
51a5f9d8
MR
1912012-06-05 Martin Rudalics <rudalics@gmx.at>
192
193 * window.el (get-lru-window, get-mru-window, get-largest-window):
194 New argument NOT-SELECTED to avoid picking the selected window.
195 (window--display-buffer-1, window--display-buffer-2): Replace by
196 new function window--display-buffer
197 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
198 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
199 Use window--display-buffer.
51a5f9d8
MR
200 (display-buffer-use-some-window): Remove temporary dedication
201 hack by calling get-lru-window and get-largest-window with
202 NOT-SELECTED argument non-nil. Call window--display-buffer.
203
08f9f738
GM
2042012-06-05 Glenn Morris <rgm@gnu.org>
205
206 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
207 Replace external vcdiff script.
208
e364a2b7
SM
2092012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
212
041df390
CY
2132012-06-04 Chong Yidong <cyd@gnu.org>
214
e364a2b7
SM
215 * image.el (imagemagick-types-inhibit): Revert last change.
216 Add INFO and M.
47b36b94 217 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 218
7c1898a7
SM
2192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * emacs-lisp/cl-lib.el: Rename from cl.el.
222 * emacs-lisp/cl.el: New compatibility file.
223 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
224 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
225 to obey the "cl-" prefix.
226 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
227
0c3461de
GM
2282012-06-03 Glenn Morris <rgm@gnu.org>
229
1e266c88
GM
230 * emacs-lisp/authors.el (authors-aliases): Addition.
231
0c3461de
GM
232 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
233 Fix :version.
234
d8a52e15
SM
2352012-06-03 Stefan Merten <smerten@oekonux.de>
236
237 * textmodes/rst.el: Add comments.
238 (rst-transition, rst-adornment): New faces.
239 (rst-adornment-faces-alist): Make default safe to reevaluate.
240 Fixes
241 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
242 Improve customization tags.
243 (rst-define-level-faces): Clarify meaning.
244
5205d6f6
CY
2452012-06-03 Chong Yidong <cyd@gnu.org>
246
247 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
248 (compilation-mode-line-run, compilation-mode-line-exit):
249 New faces.
5205d6f6
CY
250 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
251
757ee657
JD
2522012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
253
7c1898a7
SM
254 * progmodes/which-func.el (which-func-update-ediff-windows):
255 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 256
5f2c76c6
CY
2572012-06-03 Chong Yidong <cyd@gnu.org>
258
259 * bindings.el: Remove explicit help text from format-mode-line.
260 It is now supplied by mode-line-default-help-echo.
261 (mode-line-front-space, mode-line-end-spaces)
262 (mode-line-misc-info): New variables.
263 (mode-line-modes, mode-line-position): Move the default value to
264 the variable definition.
265 (mode-line-default-help-echo): New defcustom.
383f7350
CY
266 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
267 (mode-line-modified-help-echo): New functions.
268 (mode-line-mule-info, mode-line-modified): Use them.
269 (mode-line-eol-desc, propertized-buffer-identification):
270 Consistency fixes for help text.
cbe46e5f
CY
271 (mode-line-coding-system-map): Allow using mouse-3 to invoke
272 set-buffer-file-coding-system (Bug#289).
273 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 274
f2d6a3df
SM
2752012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * simple.el (execute-extended-command): Set real-this-command
278 (bug#11506).
279
37269466
CY
2802012-06-02 Chong Yidong <cyd@gnu.org>
281
282 Remove incorrect uses of "modeline" in comments, docstrings, and
283 function/variable names (Bug#10329).
284
285 * cus-edit.el (mode-line):
286 * dframe.el (dframe-mouse-hscroll):
287 * emacs-lisp/re-builder.el:
288 * emacs-lisp/easy-mmode.el (define-minor-mode):
289 * frame.el (set-frame-name):
290 * help.el (lookup-minor-mode-from-indicator):
291 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
292 * progmodes/cc-cmds.el (c-toggle-auto-newline)
293 (c-toggle-hungry-state):
294 * progmodes/antlr-mode.el (antlr-language-alist):
295 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
296 * progmodes/vhdl-mode.el (vhdl-mode):
297 * progmodes/which-func.el (which-func, which-func-cleanup-function):
298 * term/ns-win.el (ns-face-at-pos):
299 * term/sup-mouse.el (sup-mouse-report):
300 * textmodes/flyspell.el (flyspell-mode-line-string):
301 * textmodes/ispell.el (ispell-highlight-face):
302 * textmodes/reftex-global.el:
303 * vc/vc-arch.el (vc-arch-mode-line-string):
304 * vc/vc-cvs.el (vc-cvs-mode-line-string):
305 * vc/vc-git.el (vc-git-mode-line-string):
306 * vc/vc-hooks.el (vc-display-status)
307 (vc-default-mode-line-string):
308 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
309
310 * ansi-color.el (ansi-color-faces-vector): Change default faces.
311
312 * dired.el (dired-sort-set-mode-line): Rename from
313 dired-sort-set-modeline. All callers changed.
314
315 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
316 eshell-status-in-modeline.
317
318 * foldout.el (foldout-mode-line-string): Rename from
319 foldout-modeline-string. All callers changed.
320 (foldout-update-mode-line): Rename from foldout-update-modeline.
321
322 * subr.el (redraw-modeline): Make into obsolete alias.
323
324 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
325 timeclock-modeline-display. Make old name an alias.
326 (timeclock-update-mode-line): Likewise. All callers changed.
327 (timeclock-mode-line-display): No need to check before using
328 add-hook.
329 (timeclock-relative, timeclock-day-over-hook)
330 (timeclock-use-elapsed, timeclock-mode-string)
331 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
332
333 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
334 crisp-mode-modeline-string.
335
336 * play/solitaire.el (solitaire-build-mode-line): Rename from
337 solitaire-build-modeline. All callers changed.
338
339 * play/zone.el (zone-hiding-mode-line): Rename from
340 zone-hiding-modeline. All callers changed.
341 (zone): Remove unusued `modeline-hidden-level' property.
342
343 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
344 xscheme-modeline-initialize. All callers changed.
345
346 * strokes.el (strokes-lighter): Rename from
347 strokes-modeline-string.
348
349 * textmodes/sgml-mode.el (html-face-tag-alist)
350 (html-tag-face-alist): Use mode-line face instead of obsolete
351 alias modeline.
352
42152ee4
SM
3532012-06-02 Stefan Merten <smerten@oekonux.de>
354
355 * textmodes/rst.el: Always require `cl'.
4cf9b38d 356 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 357
95f520b5
CY
3582012-06-02 Chong Yidong <cyd@gnu.org>
359
360 * image.el (imagemagick-enabled-types): Rename from
361 imagemagick-types-enable. Add many more types.
362 (imagemagick-types-inhibit): Change default to nil.
363 (imagemagick-filter-types): Caller changed.
364
4a5f187a
SM
3652012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
366
03fef3e6
SM
367 * emacs-lisp/cl-macs.el: Use backquotes.
368 (cl-transform-function-property): Use eval-and-compile rather than
369 abusing `require'.
370 (defstruct): Use declare-function instead of with-no-warnings.
371
4a5f187a
SM
372 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
373 (byte-compile-output-docform): Re-add the print-circle bindings.
374 (byte-compile-fix-header): Use #$ just because it's shorter.
375 (byte-compile-output-file-form): Remove defun/defmacro.
376
bd56924f
MR
3772012-06-01 Martin Rudalics <rudalics@gmx.at>
378
379 * simple.el (choose-completion): Remove now obsolete binding for
380 owindow.
381
046e38ce
MA
3822012-06-01 Michael Albinus <michael.albinus@gmx.de>
383
384 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
385 in order to avoid "Stack overflow in regexp matcher".
386
32d72c2f
GM
3872012-05-31 Glenn Morris <rgm@gnu.org>
388
389 * image.el: For clarity, call imagemagick-register-types at
390 top-level, rather than relying on a custom :initialize.
391 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
392 (imagemagick-filter-types): New function. (Bug#7406)
393 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
394 If disabling support, remove elements altogether rather
395 than using an impossible regexp.
396 (imagemagick-types-inhibit): Give it the default init function.
397
dd41169b
SM
3982012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
399
4a5f187a
SM
400 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
401 Handle arbitrary file name lengths (Bug#11585).
dd41169b 402
efc00ab1 4032012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
404
405 * desktop.el (desktop-read): Clear previous and next buffers for
406 all windows and bury *Messages* buffer (bug#11556).
407
500fcedc
SM
4082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 Add `declare' for `defun'. Align `defmacro's with it.
411 * emacs-lisp/easy-mmode.el (define-minor-mode)
412 (define-globalized-minor-mode): Don't autoload the var definitions.
413 * emacs-lisp/byte-run.el: Use lexical-binding.
414 (defun-declarations-alist, macro-declarations-alist): New vars.
415 (defmacro, defun): Use them.
416 (make-obsolete, define-obsolete-function-alias)
417 (make-obsolete-variable, define-obsolete-variable-alias):
418 Use `declare'.
419 (macro-declaration-function): Mark obsolete.
420 * emacs-lisp/autoload.el: Use lexical-binding.
421 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
422
6e8a1786
AM
4232012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
424
425 * textmodes/ispell.el (ispell-with-no-warnings):
426 Define as a macro.
500fcedc
SM
427 (ispell-kill-ispell, ispell-change-dictionary):
428 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
429 `interactive-p'.
430
61b108cc
SM
4312012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
434 (macro-declaration-function): Move var from C code.
435 (macro-declaration-function): Define function with defalias.
436 * emacs-lisp/macroexp.el (macroexpand-all-1):
437 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
438 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
439 defun/defmacro any more.
440 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
441 Provide fallback for unknown arglist.
442 (byte-compile-arglist-warn): Change calling convention.
443 (byte-compile-output-file-form): Move print-vars binding.
444 (byte-compile-output-docform): Simplify accordingly.
445 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
446 (byte-compile-defmacro-declaration): Remove.
447 (byte-compile-file-form-defmumble): Generalize to defalias.
448 (byte-compile-output-as-comment): Return byte-positions.
449 Simplify callers accordingly.
450 (byte-compile-lambda): Use `assert'.
451 (byte-compile-defun, byte-compile-defmacro): Remove.
452 (byte-compile-file-form-defalias):
453 Use byte-compile-file-form-defmumble.
454 (byte-compile-defalias-warn): Remove.
455
6d3f7c2f
SM
4562012-05-29 Stefan Merten <smerten@oekonux.de>
457
458 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 459 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
460
461 (rst-mode-abbrev-table): Merge definition.
462 (rst-mode): Make sure `font-lock-defaults' is buffer local.
463 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
464
6dbaa1c7
UJ
4652012-05-29 Ulf Jasper <ulf.jasper@web.de>
466
467 * calendar/icalendar.el
468 (icalendar-export-region): Export UID properly.
469
4702012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
471 * calendar/icalendar.el (icalendar-import-format):
472 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
473 (icalendar-import-format-uid): New.
474 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
475 Export UID.
476
6876a58d
SM
4772012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
480 different alternative patterns.
481 (pcase-codegen): Be more careful to preserve identity.
482 (pcase--u1): Don't forget to mark vars as used.
483
484 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
485 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
486 (byte-compile-from-buffer): ...rather than here.
487
488 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
489 functions from byte-compile-function-environment.
490
46b7967e
TN
4912012-05-29 Troels Nielsen <bn.troels@gmail.com>
492
493 * window.el (window-deletable-p): Avoid deleting the root window
494 of a frame with an active minibuffer.
495
69d565e2
MR
4962012-05-29 Martin Rudalics <rudalics@gmx.at>
497
498 * simple.el (choose-completion): Use quit-window (Bug#11567).
499
a149fa51
CY
5002012-05-29 Chong Yidong <cyd@gnu.org>
501
502 * whitespace.el (whitespace-cleanup): Fix usage of
503 whitespace-empty-at-bob-regexp (Bug#11492).
504
2b311310
AH
5052012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
506
507 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
508 revert (Bug#11488).
509
b9cb2387
JL
5102012-05-29 Juri Linkov <juri@jurta.org>
511
512 * isearch.el (isearch-mode-map): Bind `M-s _' to
513 `isearch-toggle-symbol'. Bind `M-s c' to
514 `isearch-toggle-case-fold'.
515 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
516 (isearch-forward): Add `M-s _' to the docstring.
517 (isearch-forward-symbol, isearch-toggle-case-fold)
518 (isearch-symbol-regexp): New functions. (Bug#11381)
519
d5e61c1c
JL
5202012-05-29 Juri Linkov <juri@jurta.org>
521
522 * isearch.el (isearch-word): Add docstring. (Bug#11381)
523 (isearch-occur, isearch-search-and-update): If `isearch-word' is
524 a function, call it to get the regexp.
525 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
526 property `isearch-message-prefix' instead of the string "word ".
527 (isearch-search-fun-default): For the case of `isearch-word',
528 return a lambda that calls re-search-forward/re-search-backward
529 with a regexp returned by `word-search-regexp' or by the function
530 in `isearch-word'.
531
8cbd80f7
JL
5322012-05-29 Juri Linkov <juri@jurta.org>
533
534 * isearch.el (isearch-search-fun-default): New function.
535 (isearch-search-fun): Move default part to the new function
536 `isearch-search-fun-default'.
537 (isearch-search-fun-function): Set the default value to
538 `isearch-search-fun-default'. (Bug#11381)
539
540 * comint.el (comint-history-isearch-end):
541 Use `isearch-search-fun-default'.
542 (comint-history-isearch-search): Use `isearch-search-fun-default'
543 and remove spacial case for `isearch-word'.
544 (comint-history-isearch-wrap): Remove spacial case for
545 `isearch-word'.
546
547 * hexl.el (hexl-isearch-search-function):
548 Use `isearch-search-fun-default'.
549
550 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
551 Use `word-search-regexp' for `isearch-word'.
552
553 * misearch.el (multi-isearch-search-fun):
554 Use `isearch-search-fun-default'.
555
556 * simple.el (minibuffer-history-isearch-search):
557 Use `isearch-search-fun-default' and remove spacial case for
558 `isearch-word'.
559 (minibuffer-history-isearch-wrap): Remove spacial case for
560 `isearch-word'.
561
562 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
563 Remove spacial case for `isearch-word'.
564 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
565
85c8c5b6
AM
5662012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
567
568 Decrease XEmacs incompatibilities.
569 * textmodes/flyspell.el (flyspell-check-pre-word-p):
570 Use `string-match'.
571 (flyspell-delete-region-overlays): Use alternative definition for
572 XEmacs.
573 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
574 (flyspell-word): Use `process-kill-without-query' if XEmacs.
575 (flyspell-mode-on): Use `interactive-p' if XEmacs.
576 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
577 `define-obsolete-face-alias' under XEmacs, but old method.
578
579 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
580 `with-no-warnings' definition or Emacs alias.
581 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
582 (ispell-word): Do not use `region-p' if XEmacs.
583
8cab9efc
AM
5842012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
585
586 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
587 Check for `ispell-dictionary-base-alist' instead of full
588 `ispell-dictionary-alist'.
589 (ispell-init-process): Show spellchecker when starting new Ispell
590 process.
591
fda91268
RZ
5922012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
595 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
596
694ea8e3
JB
5972012-05-27 Juanma Barranquero <lekktu@gmail.com>
598
599 * version.el (motif-version-string, gtk-version-string)
600 (ns-version-string): Declare.
601
e4d4f539
JL
6022012-05-27 Juri Linkov <juri@jurta.org>
603
604 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
605 after the `eval-defun-1' specialcaseing
606 like in `edebug-eval-defun' (bug#10181).
607
608 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
609 like in `eval-defun-1'.
610
33017faf 6112012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 612
fda91268
RZ
613 * mail/sendmail.el (mail-yank-region):
614 Recognize rmail-yank-current-message in addition to insert-buffer.
615 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
616 a *mail* buffer created through rmail-start-mail with sendmail as
617 mail-user-agent.
618
33017faf
GM
6192012-05-27 Chong Yidong <cyd@gnu.org>
620
621 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
622 Default to 256 (Bug#11267).
623
624 * help.el (describe-mode): Doc fix.
625
04188bb9
GM
6262012-05-26 Glenn Morris <rgm@gnu.org>
627
38264cc9
GM
628 * w32-fns.el (w32-init-info): Remove.
629 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
630
eb7afdad
GM
631 * info.el (info-initialize): For self-contained NS builds, put the
632 included info/ directory at the front. (Bug#2791)
633
04188bb9
GM
634 * paths.el (Info-default-directory-list): Make it a defcustom,
635 mainly so that we can use custom-initialize-delay.
636
a179e3f7
SM
6372012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
638
43416392
SM
639 * subr.el (buffer-has-markers-at): Mark obsolete.
640
a179e3f7 641 * subr.el (lambda): Use declare.
43416392 642
a179e3f7
SM
643 * emacs-lisp/lisp-mode.el (lambda):
644 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
645
34a008d9
AH
6462012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
647
648 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
649
0a3b289f
GM
6502012-05-26 Glenn Morris <rgm@gnu.org>
651
652 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
653
758c81e8
GM
6542012-05-25 Glenn Morris <rgm@gnu.org>
655
f9f334f0
GM
656 * paths.el: Remove no-byte-compile.
657 * loadup.el: No need to load paths.el uncompiled.
658
87eb79c2
GM
659 * image.el (imagemagick-types-inhibit): Doc fix.
660
758c81e8
GM
661 * version.el: Remove no-byte-compile and associated formatting.
662 * loadup.el: No need to load version.el uncompiled. AFAICS, this
663 is ancient code from when there was an "inc-vers.el".
664
e7e85dc0
SM
6652012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * progmodes/gdb-mi.el: Minor style changes.
668 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
669 Turn into minor modes.
670 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
671 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
672 (gdb-shell): Remove unneeded let-binding.
673 (gdb-get-many-fields): Eliminate O(n²) behavior.
674
f31237a4
EZ
6752012-05-25 Eli Zaretskii <eliz@gnu.org>
676
677 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
678 platforms that don't link in fontset.c.
679
bc1b21bb
JL
6802012-05-25 Juri Linkov <juri@jurta.org>
681
682 Use the same diff color scheme as in modern VCSes (bug#10181).
683
684 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
685 to avoid confusion with `diff-added' that now uses green colors.
686 (diff-removed): Use shades of red.
687 (diff-added): Use shades of green.
688 (diff-changed): Leave just the yellow color.
689 (diff-use-changed-face): New variable.
690 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
691 how to highlight context diff changes.
692 (diff-refine-change): Use shades of yellow.
693 (diff-refine-removed): New face that uses shades of red.
694 (diff-refine-added): New face that uses shades of green.
695 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
696 `diff-refine-removed' in the call to `smerge-refine-subst'
697 depending on the value of `diff-use-changed-face'.
698
699 * vc/smerge-mode.el (smerge-mine): Use shades of red.
700 (smerge-other): Use shades of green.
701 (smerge-base): Use shades of yellow.
702 (smerge-refined-change): Empty face.
703 (smerge-refined-removed): New face that uses shades of red.
704 (smerge-refined-added): New face that uses shades of green.
705 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
706 args `props-r' and `props-a', and use them. Doc fix.
707 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
708 on its value use different faces `smerge-refined-change',
709 `smerge-refined-removed', `smerge-refined-added' in the call to
710 `smerge-refine-subst'.
711
712 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
713 Add face condition `min-colors 88' with shades of red.
714 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
715 `min-colors 88' with shades of green.
716 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
717 `min-colors 88' with shades of yellow.
718
6df9112c
GM
7192012-05-24 Glenn Morris <rgm@gnu.org>
720
ead5edc0
GM
721 * paths.el (prune-directory-list, remote-shell-program): Move to...
722 * files.el (prune-directory-list, remote-shell-program): ...here.
723 For the latter, delay initialization, prefer ssh, just search PATH.
724
f18b81e6
GM
725 * paths.el (term-file-prefix): Move to faces.el (the only user).
726 * faces.el (term-file-prefix): Move here, make it a defcustom.
727
ee2f89a6
GM
728 * paths.el (news-directory, news-path, news-inews-program):
729 Move to gnus/nnspool.el.
61a583ca 730
f8815e4c
GM
731 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
732
c8f3b42c
GM
733 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
734 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
735 Make the latter a defcustom, with a delayed initialization.
736
6df9112c
GM
737 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
738 These were deleted from Gnus itself late 2010.
739
5dadff36
JB
7402012-05-22 Juanma Barranquero <lekktu@gmail.com>
741
9e1701c6
JB
742 * progmodes/which-func.el (which-func-ff-hook):
743 Check against user-error, not error.
744
bd7239f5 745 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
746 cl-specs.el, which no longer exists.
747
3290526d
GM
7482012-05-22 Glenn Morris <rgm@gnu.org>
749
750 * info.el (info-emacs-bug): New command.
751 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
752 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
753
ff0c3cfb
GM
7542012-05-21 Glenn Morris <rgm@gnu.org>
755
756 * makefile.w32-in (update-subdirs-SH):
757 * Makefile.in (update-subdirs): Update for moved update-subdirs.
758
5814f126
SM
7592012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
760
a52c0aa0
SM
761 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
762
5814f126
SM
763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
764 Simplify Maven regexp, and make sure the file can't start with a space
765 (bug#11517).
766
b847032c
GM
7672012-05-21 Glenn Morris <rgm@gnu.org>
768
769 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
770 Scrap superfluous subshells.
771
3858bfe7
SM
7722012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
775 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
776
d14b0029
JB
7772012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
778
779 * calc/calc.el (calc-ensure-consistent-units): New variable.
780
a52c0aa0
SM
781 * calc/calc-units.el (math-consistent-units-p)
782 (math-check-unit-consistency): New functions.
783 (calc-quick-units, calc-convert-units):
784 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
785 is non-nil.
d14b0029
JB
786 (calc-extract-units): Fix typo.
787
60c4db3a
SM
7882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
789
77f3b62e
SM
790 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
791
60c4db3a
SM
792 * textmodes/flyspell.el: Commenting style, plus code simplifications.
793 (flyspell-default-deplacement-commands): Don't spell check after
794 repeated window/frame switches (e.g. triggered by mouse-movement).
795 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
796 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
797 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
798 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
799 Remove unused vars.
800 (flyspell-get-casechars, flyspell-get-not-casechars):
801 Simplify; Don't bother removing a ] just to add it back.
802 * textmodes/ispell.el (ispell-program-name): Use executable-find.
803
b1a10716
RS
8042012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
805
806 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
807 New functions.
bd7239f5 808 (math-function-table): Add support for more C functions.
b1a10716 809
3f1b25b5
AM
8102012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
811
812 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
813 (flyspell-debug-signal-word-checked): Protect delay handling for
814 otherchars against empty otherchars.
815
b581bb5c
SM
8162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
819 their respective macro declarations.
820 * skeleton.el (define-skeleton):
821 * progmodes/compile.el (define-compilation-mode):
822 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
823 (define-ibuffer-filter):
824 * emacs-lisp/generic.el (define-generic-mode):
825 * emacs-lisp/easy-mmode.el (define-minor-mode)
826 (define-globalized-minor-mode):
827 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
828 * emacs-lisp/byte-run.el (defsubst):
829 * custom.el (deftheme): Add doc-string metadata.
830
70b8ef8f
SM
8312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
834
b1198e17
SM
8352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
836
9abdc45d
SM
837 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
838
b1198e17
SM
839 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
840 * emacs-lisp/cl-macs.el: Idem.
841 * emacs-lisp/cl-specs.el: Remove.
842
4735906a
SM
8432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 Minor renaming of internal CL functions and variables.
846 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
847 (cl--position): Rename from cl-position.
848 (cl--delete-duplicates): Rename from cl-delete-duplicates.
849 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
850 (cl--random-state): Rename from *random-state*.
851
ac348012
SM
8522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
855 parens around the arg list (bug#11499).
856
a0a79cde
JL
8572012-05-17 Juri Linkov <juri@jurta.org>
858
859 * isearch.el (word-search-regexp, word-search-backward)
860 (word-search-forward, word-search-backward-lax)
861 (word-search-forward-lax): Move functions from search.c
862 (bug#10145, bug#11381).
863
65034a51
AM
8642012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
865
866 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
867 (flyspell-debug-signal-word-checked): Delay for otherchars as for
868 normal word components.
869
1a72a195
SM
8702012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * minibuffer.el (completion--sifn-requote): Fix last change.
873 (minibuffer-local-must-match-filename-map):
874 Move define-obsolete-variable-alias before its var.
875
fdb058c2
SM
8762012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
877
c41045e6
SM
878 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
879
036dfb8b
SM
880 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
881 behavior.
882 (completion--string-equal-p): New function.
883 (completion--twq-all): Use it to get better assertion failure data.
884
2473256d
SM
885 Only handle ".." and '..' quoting in shell-mode (bug#11466).
886 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
887 (shell--requote-argument): New functions.
888 (shell-completion-vars): Use them.
889 (shell--parse-pcomplete-arguments): Rename from
890 shell-parse-pcomplete-arguments.
891 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
892 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
893 Obey comint-file-name-quote-list.
894
fdb058c2
SM
895 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
896 (smie-indent-keyword): Use it.
897
51fa99f1
SM
8982012-05-14 Stefan Merten <smerten@oekonux.de>
899
900 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
901
e18afed7 9022012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
903
904 * net/rlogin.el (rlogin-mode-map): Fix last change.
905
e18afed7 9062012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
907
908 * mail/smtpmail.el (smtpmail-send-command): Send the command and
909 the following \r\n using a single `process-send-string', since the
910 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 911 with two `process-send-string's (Bug#11444).
8633b1f4 912
e18afed7 9132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 914
fdb058c2
SM
915 * shell.el (shell-parse-pcomplete-arguments):
916 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 917
2d21d7f6
WJ
9182012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
919
e18afed7 920 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
921 (image-transform-scale, image-transform-right-angle-fudge): New vars.
922 (image-transform-width, image-transform-fit-width): New functions.
923 (image-transform-properties): Use them.
924 (image-transform-check-size): New function.
925 (image-toggle-display-image): Use it (for testing).
926 (image-transform-set-rotation): Reduce angle mod 360.
927 Delete obsolete comment.
928
7102e6d0
WJ
9292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
930
931 * image-mode.el: Fix scaling (bug#11399).
932 (image-transform-resize): Doc fix.
933 (image-transform-properties): Default scale is 1 and height should
934 be an integer.
935
06bc5e6e
SM
9362012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
937
938 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
939 than hard-coding `car', to fix misbehavior when moving forward.
940
0ae03b6a
CY
9412012-05-13 Chong Yidong <cyd@gnu.org>
942
943 * emacs-lisp/tabulated-list.el (tabulated-list-format)
944 (tabulated-list-entries, tabulated-list-padding)
945 (tabulated-list-sort-key): Make permanent-local.
946
947 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
948 (electric-buffer-list): Put electric buffer menu
949 command descriptions in this docstring, instead of the docstring
950 of electric-buffer-menu-mode. Code cleanups.
951 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
952 Electric-buffer-menu-mode.
953 (electric-buffer-update-highlight): Minor code cleanup.
954
205a7391
MA
9552012-05-13 Michael Albinus <michael.albinus@gmx.de>
956
957 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
958 (Bug#11447)
959
e5bd0a28
SM
9602012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 Move define-obsolete-variable-alias before the var's definition.
963 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
964 * tooltip.el (tooltip-hook):
965 * textmodes/reftex-toc.el (reftex-toc-map):
966 * textmodes/reftex-sel.el (reftex-select-label-map)
967 (reftex-select-bib-map):
968 * textmodes/reftex-index.el (reftex-index-map)
969 (reftex-index-phrases-map):
970 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
971 * progmodes/meta-mode.el (meta-mode-map):
972 * novice.el (disabled-command-hook):
973 * loadhist.el (unload-hook-features-list):
974 * frame.el (blink-cursor):
975 * files.el (find-file-not-found-hooks, write-file-hooks)
976 (write-contents-hooks):
977 * emulation/tpu-edt.el (GOLD-map):
978 * emacs-lock.el (emacs-lock-from-exiting):
979 * emacs-lisp/generic.el (generic-font-lock-defaults):
980 * emacs-lisp/chart.el (chart-map):
981 * dos-fns.el (register-name-alist):
982 * dired-x.el (dired-omit-files-p):
983 * desktop.el (desktop-enable):
984 * cus-edit.el (custom-mode-hook):
985 * buff-menu.el (buffer-menu-mode-hook):
986 * bookmark.el (bookmark-read-annotation-text-func)
987 (bookmark-exit-hooks):
988 * allout.el (allout-mode-deactivate-hook)
989 (allout-exposure-change-hook, allout-structure-added-hook)
990 (allout-structure-deleted-hook, allout-structure-shifted-hook):
991 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
992 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
993 comes before the corresponding variable's definition.
994
ac59c2f6
CY
9952012-05-12 Chong Yidong <cyd@gnu.org>
996
997 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
998 (Buffer-menu-mouse-select): Restore function (Bug#11459).
999 (Buffer-menu-mode-map): Bind it.
1000 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1001
dee6c9a3
SM
10022012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1003
2171cea5
SM
1004 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1005 (prolog-upper-case-string, prolog-lower-case-string)
1006 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1007 (prolog-use-smie, prolog-smie-grammar): New vars.
1008 (prolog-smie-forward-token, prolog-smie-backward-token)
1009 (prolog-smie-rules): New funs.
1010 (prolog-comment-indent): Remove.
1011 (prolog-mode-variables): Use default comment indentation instead.
1012 Setup SMIE.
1013 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1014 (prolog-mode): Don't call them any more.
1015 (prolog-electric-colon, prolog-electric-dash)
1016 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1017
aa0382bd
SM
1018 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1019
dbacb4bd
SM
1020 * minibuffer.el (completion--twq-all): Again, allow case differences.
1021
13bdd94c
SM
1022 * term.el: Move keymap initialization code to be more idiomatic.
1023 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1024 (term-terminal-menu): Move initialization into declaration.
1025 (term-escape-char): Let the user set it in her .emacs.
1026
ff46c759
SM
1027 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1028 Provide SMIE-based indentation (not enabled by default yet).
1029 (sh-mode-map): Don't bind electric keys.
1030 Use electric-pair-mode instead of skeleton-pair.
1031 (sh-assignment-regexp): Fit within 80 columns.
1032 (sh-indent-supported): Specify actual shell name instead of boolean.
1033 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1034 (sh-maybe-here-document): Use it. Make obsolete.
1035 (sh-electric-here-document-mode) New minor mode.
1036 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1037 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1038 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1039 (sh-smie-rc-grammar, sh-use-smie): New vars.
1040 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1041 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1042 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1043 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1044 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1045 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1046 (sh-set-shell): Use smie-setup if requested.
1047
dee6c9a3
SM
1048 * term.el (term-set-escape-char): Properly set term-escape-char.
1049 See http://stackoverflow.com/questions/10524656.
1050
9f9aa044
CY
10512012-05-10 Chong Yidong <cyd@gnu.org>
1052
1053 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1054 Use url-generic-parse-url, and handle host names and Windows
1055 filenames properly.
1056 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1057 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1058 URL schemes to work on.
1059 (ffap--toggle-read-only): New function.
1060 (ffap-read-only, ffap-read-only-other-window)
1061 (ffap-read-only-other-frame): Use it.
1062 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1063 necessary for ffap-url-unwrap-remote.
1064
836d29b3
DA
10652012-05-10 Dave Abrahams <dave@boostpro.com>
1066
1067 * cus-start.el (create-lockfiles): Add it.
1068
00fd78ed
CY
10692012-05-09 Chong Yidong <cyd@gnu.org>
1070
1071 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1072 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1073
666b903b 10742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1075
1076 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1077
666b903b 10782012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1079
1080 * ansi-color.el (ansi-color-process-output): Check for validity of
1081 comint-last-output-start before using it. This avoids a bad
1082 interaction with gdb-mi's input/output buffer.
1083
666b903b 10842012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1085
1086 * files.el (dir-locals-read-from-file):
1087 Mention dir-locals in any error message.
1088
666b903b 10892012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1090
1091 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1092 package (Bug#11410).
1093
f677562b
CY
1094 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1095 variables into description.
1096
666b903b 10972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1098
1099 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1100 shell-delimiter-argument-list (bug#11348).
1101 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1102
b499d8d0
JB
11032012-05-09 Juanma Barranquero <lekktu@gmail.com>
1104
8f6b6da8
JB
1105 * textmodes/rst.el: Silence byte-compiler warnings.
1106 (rst-re-alist, rst-reset-section-caches): Move around.
1107 (rst-re): Use `characterp', not `char-valid-p'.
1108 (font-lock-beg, font-lock-end): Declare.
1109
4824146a
JB
1110 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1111 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1112
b499d8d0
JB
1113 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1114
ad89bb83
GM
11152012-05-08 Glenn Morris <rgm@gnu.org>
1116
1117 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1118
8bba5a75
SM
11192012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1120
49ed9c8e
SM
1121 * vc/log-edit.el: Add GNU coding standards highlighting.
1122 (log-edit-font-lock-gnu-style)
1123 (log-edit-font-lock-gnu-keywords): New vars.
1124 (log-edit-font-lock-keywords): New fun.
1125 (log-edit-mode): Don't fold case in font-lock.
1126 (log-edit-font-lock-keywords): Do not assume case-folding.
1127
07d00b56
SM
1128 * imenu.el: Misc cleanup. Make docstrings out of comments.
1129 Use lexical-binding.
1130 (imenu--index-alist, imenu--last-menubar-index-alist)
1131 (imenu-menubar-modified-tick): Use defvar-local.
1132 (imenu--split-menu): Remove unused var.
1133 (imenu--cleanup-seen): Declare as global.
1134 (imenu--cleanup): Use dolist.
1135
8bba5a75
SM
1136 * subr.el (defvar-local): Add debug spec and doc-string position.
1137
5075bdb5
GM
11382012-05-08 Glenn Morris <rgm@gnu.org>
1139
c052c904
GM
1140 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1141 * language/english.el, language/georgian.el, language/greek.el:
1142 * language/japanese.el, language/khmer.el, language/korean.el:
1143 * language/lao.el, language/misc-lang.el, language/romanian.el:
1144 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1145 * language/thai.el, language/utf-8-lang.el:
1146 Remove no-byte-compile setting.
1147
5075bdb5
GM
1148 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1149
06f679a7
AH
11502012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1151
1152 * progmodes/make-mode.el (makefile-browse):
1153 Remove unnecessary interactive. (Bug#11324)
1154
03794570
GM
11552012-05-07 Glenn Morris <rgm@gnu.org>
1156
af8630f4
GM
1157 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1158
03794570
GM
1159 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1160
f0809a9d
SM
11612012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1162
28be5ce7
SM
1163 * loadup.el: Preload newcomment.el.
1164 * newcomment.el: Move autoload-only code to toplevel.
1165
f0809a9d
SM
1166 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1167 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1168 Handle new :right-align column property.
1169 (tabulated-list-print-col): Idem, plus use `display' text-property to
1170 try and preserve alignment for variable pitch fonts.
1171
1241b724
CY
11722012-05-07 Chong Yidong <cyd@gnu.org>
1173
1174 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1175 (tabulated-list-use-header-line): New var.
1176 (tabulated-list-init-header): Use it.
1177 (tabulated-list-print-fake-header): New function.
1178 (tabulated-list-print): Use it.
1179 (tabulated-list-sort-button-map): Add non-header-line commands.
1180 (tabulated-list-init-header): Add column name property to basic
1181 labels as well.
1182 (tabulated-list-col-sort): Handle non-header-line button case.
1183 (tabulated-list--sort-by-column-name): Fix a corner case.
1184
f0809a9d
SM
1185 * buff-menu.el (list-buffers--refresh):
1186 Handle Buffer-menu-use-header-line.
1241b724 1187
e5f9458f
CY
11882012-05-06 Chong Yidong <cyd@gnu.org>
1189
1190 * buff-menu.el: Convert to Tabulated List mode.
1191 (Buffer-menu-buffer+size-width): Make obsolete.
1192 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1193 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1194 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1195 documentation into docstring of buffer-menu.
1196 (Buffer-menu-toggle-files-only): Add an informative message.
1197 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1198 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1199 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1200 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1201 (Buffer-menu-execute, Buffer-menu-select)
1202 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1203 (Buffer-menu-bury): Use Tabulated List machinery.
1204 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1205 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1206 Delete.
e5f9458f
CY
1207 (list-buffers--refresh): New function.
1208 (list-buffers-noselect): Use it.
1209 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1210 (Buffer-menu--pretty-file-name): New helper functions.
1211
1212 * loadup.el: Preload tabulated-list.
1213
1214 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1215 tabulated-list-sort-column.
1216 (tabulated-list-init-header): Add the initial aligning space even
1217 if tabulated-list-padding is zero.
1218
e129292c
CS
12192012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1220
1221 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1222 whose cdr is not a cons cell correctly (bug#11038).
1223
6632d361
CY
12242012-05-06 Chong Yidong <cyd@gnu.org>
1225
e129292c
CS
1226 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1227 Accept additional plist in column descriptors.
6632d361
CY
1228 (tabulated-list-init-header): Obey it.
1229 (tabulated-list-get-entry): New function.
1230 (tabulated-list-put-tag): Use it. Use string-width instead of
1231 length.
1232 (tabulated-list--column-number): New function.
1233 (tabulated-list-print): Use it.
e129292c
CS
1234 (tabulated-list-print-col): New function.
1235 Set `tabulated-list-column-name' property on each column's text.
6632d361 1236 (tabulated-list-print-entry): Use it.
e129292c
CS
1237 (tabulated-list-delete-entry, tabulated-list-set-col):
1238 New functions.
6632d361
CY
1239 (tabulated-list-sort-column): New command (Bug#11337).
1240
3cc99f68
CY
1241 * buff-menu.el (list-buffers): Move C-x C-b binding from
1242 buff-menu.el to bindings.el.
1243
1244 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1245 :advertised-binding feature.
1246
52b61776
TN
12472012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1248
1249 * progmodes/compile.el (compilation-internal-error-properties):
1250 Calculate start position correctly when end-col is set but
1251 end-line is not (Bug#11382).
1252
ebfe2597
WJ
12532012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1254
1255 * man.el (Man-unindent): Use text-property-default-nonsticky to
1256 prevent untabify from inheriting face properties (Bug#11408).
1257
6d3f7c2f
SM
12582012-05-05 Stefan Merten <smerten@oekonux.de>
1259
1260 * textmodes/rst.el: Major merge with upstream development up to
1261 Docutils SVN r7399 / rst.el V1.2.1.
1262
1263 Clarify maintainership and authors.
1264
1265 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1266 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1267 (rst-official-version, rst-official-cvs-rev, rst-version)
1268 (rst-package-emacs-version-alist): New functions and variables
1269 for version information.
1270
1271 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1272 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1273 (rst-mode-syntax-table, rst-mode): New and corrected functions
1274 and variables representing reStructuredText features.
1275
1276 (rst-re): New function for reStructuredText regexes. Use in
1277 many places.
1278
1279 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1280 (rst-mode-map): Rebind keys.
1281
1282 (rst-mode-lazy, rst-font-lock-keywords)
1283 (rst-font-lock-extend-region)
1284 (rst-font-lock-extend-region-internal)
1285 (rst-font-lock-extend-region-extend)
1286 (rst-font-lock-find-unindented-line-limit)
1287 (rst-font-lock-find-unindented-line-match)
1288 (rst-adornment-level, rst-font-lock-adornment-level)
1289 (rst-font-lock-adornment-match)
1290 (rst-font-lock-handle-adornment-pre-match-form)
1291 (rst-font-lock-handle-adornment-matcher): Major revision of
1292 font-locking. Integrate with other code. Use `jit-lock-mode'.
1293
1294 (rst-preferred-adornments, rst-adjust-hook)
1295 (rst-new-adornment-down, rst-preferred-bullets)
1296 (rst-preferred-bullets, rst-indent, rst-indent-width)
1297 (rst-indent-field, rst-indent-literal-normal)
1298 (rst-indent-literal-minimized, rst-indent-comment): Change,
1299 extend and improve customization.
1300
1301 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1302 (rst-normalize-cursor-position, rst-get-decoration)
1303 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1304 (rst-rstrip, rst-toc-insert-find-delete-contents)
1305 (rst-shift-fill-region, rst-compute-bullet-tabs)
1306 (rst-debug-print-tabs, rst-debug-mark-found)
1307 (rst-shift-region-guts, rst-shift-region-right)
1308 (rst-shift-region-left, rst-use-char-classes)
1309 (rst-font-lock-keywords-function)
1310 (rst-font-lock-indentation-point)
1311 (rst-font-lock-find-unindented-line-begin)
1312 (rst-font-lock-find-unindented-line-end)
1313 (rst-font-lock-find-unindented-line)
1314 (rst-font-lock-adornment-point, rst-font-lock-level)
1315 (rst-adornment-level-alist): Remove functions and variables.
1316
1317 (rst-compare-adornments, rst-get-adornment-match)
1318 (rst-suggest-new-adornment, rst-get-adornments-around)
1319 (rst-adornment-complete-p, rst-get-next-adornment)
1320 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1321 (rst-straighten-adornments): Standardize function names to
1322 use "adornment" instead of "decoration". Correct callers.
1323 Similar standardizing in many places.
1324
1325 (rst-update-section, rst-adjust, rst-promote-region)
1326 (rst-enumerate-region, rst-bullet-list-region)
1327 (rst-repeat-last-character): Correct use of `interactive'.
1328
1329 (rst-classify-adornment, rst-find-all-adornments)
1330 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1331 (rst-find-leftmost-column, rst-repeat-last-character):
1332 Refactor functions.
1333
1334 (rst-find-title-line, rst-reset-section-caches)
1335 (rst-get-adornments-around, rst-adjust-adornment-work)
1336 (rst-arabic-to-roman, rst-roman-to-arabic)
1337 (rst-insert-list-pos, rst-insert-list-new-item)
1338 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1339 New functions.
1340
1341 (rst-all-sections, rst-section-hierarchy)
1342 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1343 New variables.
1344
1345 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1346 configuration instead of only buffer. Change where necessary.
1347
1348 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1349 (rst-shift-region, rst-adaptive-fill): New functions for
1350 indentation and filling.
1351
1352 (rst-comment-line-break, rst-comment-indent)
1353 (rst-comment-insert-comment, rst-comment-region)
1354 (rst-uncomment-region): New functions for handling comments.
1355
1356 (rst-compile): Quote shell arguments.
1357
1358 (rst-compile-pdf-preview, rst-compile-slides-preview):
1359 Delete temporary files after use.
1360
a43f98b3
GM
13612012-05-05 Glenn Morris <rgm@gnu.org>
1362
48176e8b
GM
1363 * calendar/cal-html.el: Optionally include holidays in the output.
1364 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1365 (cal-html-holidays): New option.
1366 (cal-html-css-default): Add holiday entry.
1367 (holiday-in-range): Autoload it.
1368 (cal-html-htmlify-entry): Add optional class argument.
1369 (cal-html-htmlify-list): Add optional holidays argument.
1370 (cal-html-insert-agenda-days): Include holidays in the output.
1371 (cal-html-one-month): Maybe include holidays.
1372
a43f98b3
GM
1373 * calendar/holidays.el (holiday-in-range):
1374 Move here from cal-tex-list-holidays.
1375 * calendar/cal-tex.el (cal-tex-list-holidays):
1376 Make it an obsolete alias for holiday-in-range. Update all callers.
1377
fef9d149 13782012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1379
1380 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1381 Nextstep.
1382
248da2f4
RW
13832012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1384
1385 * files.el (file-auto-mode-skip): New var.
1386 (set-auto-mode-1): Use it.
1387
f95e9344
SM
13882012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1389
df96ab1e
SM
1390 * repeat.el: Use lexical-binding.
1391 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1392 (repeat-undo-count): Remove.
1393 (repeat):
1394 * progmodes/octave-mod.el (octave-abbrev-start):
1395 * progmodes/f90.el (f90-abbrev-start):
1396 * face-remap.el (text-scale-adjust):
1397 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1398
5342bb06
SM
1399 * emacs-lisp/pcase.el (pcase--let*): New function.
1400 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1401 a bit more.
1402 (pcase--split-pred): Be more clever about ruling out overlap between
1403 a predicate and some constant pattern.
1404 (pcase--q1): Use `null' instead of (eq foo nil).
1405
f95e9344
SM
1406 * subr.el (setq-local, defvar-local): New macros.
1407 (kbd): Redefine as an alias.
1408 (with-selected-window): Leave unrelated frames alone.
1409 (set-temporary-overlay-map): New function.
1410
71873e2b
SM
14112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * subr.el (user-error): New function.
1414 * window.el (switch-to-buffer):
1415 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1416 (smerge-match-conflict):
1417 * simple.el (previous-matching-history-element)
1418 (next-matching-history-element, goto-history-element, undo-more)
1419 (undo-start):
1420 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1421 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1422 (next-file, tags-loop-scan, list-tags, complete-tag):
1423 * progmodes/compile.el (compilation-loop):
1424 * mouse.el (mouse-minibuffer-check):
1425 * man.el (Man-bgproc-sentinel, Man-goto-page):
1426 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1427 (Info-history-forward, Info-follow-reference, Info-menu)
1428 (Info-extract-menu-item, Info-extract-menu-counting)
1429 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1430 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1431 (Info-next-reference, Info-prev-reference, Info-index)
1432 (Info-index-next, Info-follow-nearest-node)
1433 (Info-copy-current-node-name):
1434 * imenu.el (imenu--make-index-alist)
1435 (imenu-default-create-index-function, imenu-add-to-menubar):
1436 * files.el (basic-save-buffer, recover-file):
1437 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1438 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1439 (checkdoc-message-text, checkdoc-defun):
1440 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1441 * cus-edit.el (customize-changed-options, customize-rogue)
1442 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1443 (custom-variable-mark-to-reset-standard)
1444 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1445 (custom-file):
1446 * completion.el (check-completion-length):
1447 * comint.el (comint-search-arg)
1448 (comint-previous-matching-input-string-position)
1449 (comint-previous-matching-input)
1450 (comint-replace-by-expanded-history-before-point, comint-send-input)
1451 (comint-copy-old-input, comint-backward-matching-input)
1452 (comint-goto-process-mark, comint-set-process-mark):
1453 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1454 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1455
8a61ee22
SM
14562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1457
66408d1e
SM
1458 * dabbrev.el (dabbrev--ignore-case-p): New function.
1459 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1460 Use it.
1461
8a61ee22
SM
1462 * files.el (automount-dir-prefix): Mark as obsolete.
1463
3c74813a
GM
14642012-05-04 Glenn Morris <rgm@gnu.org>
1465
1466 * patcomp.el, play/bruce.el: Move to obsolete/.
1467
0bfcf5c5
PE
14682012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1469
1470 Fix minor Y10k bugs.
1471 * arc-mode.el (archive-unixdate):
1472 * autoinsert.el (auto-insert-alist):
1473 * calc/calc-forms.el (math-this-year):
1474 * emacs-lisp/copyright.el (copyright-current-year)
1475 (copyright-update-year, copyright):
1476 * tar-mode.el (tar-clip-time-string):
1477 * time.el (display-time-update):
1478 Don't assume years have 4 digits.
1479
78f3273a
CY
14802012-05-04 Chong Yidong <cyd@gnu.org>
1481
1482 * dos-w32.el (file-name-buffer-file-type-alist)
1483 (direct-print-region-use-command-dot-com):
1484 * ffap.el (ffap-menu-regexp):
1485 * find-file.el (ff-special-constructs):
1486 * follow.el (follow-debug):
1487 * forms.el (forms--debug):
1488 * iswitchb.el (iswitchb-all-frames):
1489 * ido.el (ido-all-frames):
1490 * emacs-lisp/timer.el (timer-max-repeats):
1491 * mail/feedmail.el (feedmail-mail-send-hook)
1492 (feedmail-mail-send-hook-queued):
1493 * mail/footnote.el (footnote-signature-separator):
1494 * mail/mailabbrev.el (mail-alias-separator-string)
1495 (mail-abbrev-mode-regexp):
1496 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1497 * progmodes/idlwave.el (idlwave-libinfo-file)
1498 (idlwave-default-completion-case-is-down)
1499 (idlwave-library-routines): Convert defvars to defcustoms.
1500
1501 * mail/rmail.el (rmail-decode-mime-charset):
1502 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1503 (idlwave-shell-fix-inserted-breaks)
1504 (idlwave-shell-activate-alt-keybindings)
1505 (idlwave-shell-use-breakpoint-glyph):
1506 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1507
f7ae6719
SM
15082012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1511
47086495
WS
15122012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1513
1514 * progmodes/verilog-mode.el (font-lock-keywords):
1515 Fix mis-highligting auto. Reported by Craig Barner.
1516 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1517 defines from global name space. Reported by Dan Dever.
1518 (verilog-auto-reset, verilog-auto-reset-widths)
1519 (verilog-auto-tieoff): Support using unbased numbers for
1520 AUTORESET and AUTOTIEOFF.
1521 (verilog-submit-bug-report): Update variable list.
1522 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1523 parenthesis from not matching. Reported by Michael Rytting.
1524 (verilog-auto-template-lint): Fix hash error when linting modules
1525 with no used templates.
1526 (verilog-warn, verilog-warn-error)
1527 (verilog-warn-fatal): When non-interactive report multiple
1528 warnings before exiting. Suggested by Brad Dobbie.
1529 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1530 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1531 to report unused template errors. Reported by Brad Dobbie.
1532 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1533 nets, bug438. Reported by Vns Blore.
1534 (verilog-auto-inout-module, verilog-auto-reg)
1535 (verilog-read-decls, verilog-read-sub-decls-sig)
1536 (verilog-signals-edit-wire-reg, verilog-signals-with):
1537 Fix passing of Verilog data types in ANSI input/output ports
1538 such as "output logic" into the AUTOs. Special case "wire" and
1539 "reg" for backwards compatibility presuming Verilog 2001.
1540 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1541 (verilog-preprocess): Fix replication of preprocess output.
1542 Reported by Brad Dobbie.
1543 (verilog-auto-inst-interfaced-ports):
1544 Create verilog-auto-inst-interfaced-ports, bug429.
1545 Reported by Julian Gorfajn.
1546 (verilog-after-save-font-hook)
1547 (verilog-before-save-font-hook): New variable.
1548 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1549 (verilog-save-font-mods): Wrap disabling fontification, reported
1550 by David Rogoff.
1551 (verilog-do-indent, verilog-pretty-declarations-auto)
1552 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1553 Reported by Pierre-David Pfister.
1554 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1555 of class declarations, bug292. Reported by Kevin Heilman.
1556 (verilog-read-decls): Fix 'parameter type' not appearing in
1557 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1558 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1559 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1560 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1561 Reported by David Kravitz.
1562
15632012-05-03 Michael McNamara <mac@mail.brushroad.com>
1564
1565 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1566 assignment with tests in ifs and for loops.
1567 (verilog-extended-complete-re, verilog-complete-reg): Change so
1568 that DPI inport functions don't look like fuction declarations.
1569 (verilog-pretty-expr): Don't line up assignment
1570 operations to the test and increment in if and for loops
1571 (verilog-extended-complete-re, verilog-complete-reg): Change so
1572 that DPI inport functions don't look like fuction declarations
1573
2e51d4b5
KH
15742012-05-03 Kenichi Handa <handa@m17n.org>
1575
1576 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1577 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1578 (Bug#11282).
1579
2bd785a2
SM
15802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * emacs-lisp/bytecomp.el
1583 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1584 since cconv.el might have introduced :fun-body, internal-make-closure,
1585 and friends for bytecomp to handle (bug#11391).
1586 * custom.el (defcustom): Avoid ((λ ..) ..).
1587
99d27583
SM
15882012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1591
55a71479
JB
15922012-05-02 Juanma Barranquero <lekktu@gmail.com>
1593
1594 * notifications.el (dbus-debug):
1595 * term/linux.el (gpm-mouse-enable):
1596 * term/screen.el (xterm-register-default-colors): Declare.
1597
7b97c764
CY
15982012-05-02 Chong Yidong <cyd@gnu.org>
1599
2bc356d7
CY
1600 * cus-start.el (gc-cons-percentage, exec-suffixes)
1601 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1602 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1603 (make-cursor-line-fully-visible, void-text-area-pointer)
1604 (font-list-limit): Add customization data.
1605
7b97c764
CY
1606 * allout.el (allout-exposure-change-functions)
1607 (allout-structure-added-functions)
1608 (allout-structure-deleted-functions)
1609 (allout-structure-shifted-functions): Rename abnormal hooks from
1610 *-hook, and convert to defcustoms.
5d3385a0
JB
1611 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1612 Convert to defcustoms.
7b97c764
CY
1613 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1614
1615 * allout-widgets.el: Hook callers changed.
1616
90207a15 16172012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1618
1619 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1620 the yanked message in preference to the default value of
1621 buffer-file-coding-system.
1622
90207a15 16232012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1624
5d3385a0
JB
1625 * window.el (display-buffer--action-function-custom-type):
1626 Fix entry.
d9558cad 1627
90207a15 16282012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1629
1630 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1631
d80ac57b
GM
16322012-05-01 Glenn Morris <rgm@gnu.org>
1633
976f7668
GM
1634 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1635
beb83b5a
GM
1636 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1637
d80ac57b
GM
1638 * cus-edit.el (custom-variable-documentation): Simplify with format.
1639
b593d6a9
AH
16402012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1641 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * simple.el (suggest-key-bindings, execute-extended-command):
1644 Move from keyboard.c.
1645
782fbf2a
CY
16462012-05-01 Chong Yidong <cyd@gnu.org>
1647
1648 * follow.el: Eliminate advice.
1649 (set-process-filter, process-filter, sit-for): Advice deleted.
1650 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1651 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1652 Vars deleted.
782fbf2a
CY
1653 (follow-auto): Use a :set function.
1654 (follow-mode): Rewritten. Don't advise process filters.
1655 (follow-switch-to-current-buffer-all, follow-scroll-up)
1656 (follow-scroll-down): Assume follow-mode is bound.
1657 (follow-comint-scroll-to-bottom)
1658 (follow-align-compilation-windows): New functions.
1659 (follow--window-sorter): New function.
1660 (follow-all-followers): Use it to explicitly sort windows by their
1661 positions; don't make assumptions about next-window order.
1662 (follow-windows-start-end, follow-delete-other-windows-and-split)
1663 (follow-calc-win-start): Doc fix.
1664 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1665 vertical-motion unnecessarily.
1666 (follow-adjust-window): New function.
1667 (follow-post-command-hook): Use it.
1668 (follow-call-set-process-filter, follow-call-process-filter)
1669 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1670 (follow-stop-intercept-process-output, follow-generic-filter):
1671 Functions deleted.
1672 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1673 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1674 New functions, replacing advice on scroll-bar-* commands.
87233a14 1675 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1676
1677 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1678 (comint-postoutput-scroll-to-bottom): Use it.
1679 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1680
290af740
GM
16812012-05-01 Glenn Morris <rgm@gnu.org>
1682
1683 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1684 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1685 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1686 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1687 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1688 Remove no-byte-compile setting.
1689
6eac8dc9
SM
16902012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1693 all-completions code to not return a number in the last cdr.
1694
9cc7819c
LL
16952012-04-30 Leo Liu <sdl.web@gmail.com>
1696
1697 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1698 read-only error.
1699
c93b886f
CY
17002012-04-29 Chong Yidong <cyd@gnu.org>
1701
1702 * follow.el (follow-calc-win-end): Rewrite to handle partial
1703 screen lines correctly (Bug#8390).
1704 (follow-avoid-tail-recenter): Minor cleanup.
1705
8b6c19f4
SM
17062012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 Avoid the obsolete `assoc' package.
1709 * speedbar.el (speedbar-refresh): Avoid adelete.
1710 (speedbar-file-lists): Simplify and avoid aput.
1711 * man.el (Man--sections, Man--refpages): New vars, replacing
1712 Man-sections-alist and Man-refpages-alist.
1713 (Man-build-section-alist, Man-build-references-alist):
1714 Use them; avoid aput.
1715 (Man--last-section, Man--last-refpage): New vars.
1716 (Man-follow-manual-reference): Use them.
1717 Use the `default' arg of completing-read.
1718 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1719
c5bb7569
CY
17202012-04-27 Chong Yidong <cyd@gnu.org>
1721
d1d2e2e8
CY
1722 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1723
15cd8efd
CY
1724 * startup.el (x-apply-session-resources): New function.
1725
1726 * term/ns-win.el (ns-initialize-window-system):
1727 * term/w32-win.el (w32-initialize-window-system):
1728 * term/x-win.el (x-initialize-window-system): Use it to properly
1729 set menu-bar-mode and other vars from X resources, even if the
1730 initial frame is not a window-system frame (Bug#2299).
1731
c5bb7569
CY
1732 * subr.el (read-key): Avoid running filter function when setting
1733 up temporary tool bar entries (Bug#9922).
1734
a8e7d6d7 17352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1736
1737 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1738 (Bug#11344)
1739
a8e7d6d7 17402012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1741
1742 * select.el (xselect--encode-string): New function, split from
1743 xselect-convert-to-string.
1744 (xselect-convert-to-string): Use it.
1745 (xselect-convert-to-filename, xselect-convert-to-os)
1746 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1747 returned strings are properly encoded (Bug#11315).
1748
a8e7d6d7 17492012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1750
1751 * simple.el (delete-active-region): Move to killing custom group.
1752
a8e7d6d7 17532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1754
1755 * progmodes/which-func.el (which-func-current): Quote %
1756 characters for mode-line processing.
1757
578c1d4b 17582012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1759
1760 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1761 reaching eob (Bug#11286).
1762
a8e7d6d7 17632012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1764
1765 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1766 (gdb): Make it buffer-local and init to zero.
1767 (gdb-control-commands-regexp): New variable.
1768 (gdb-send): Don't wrap in "-interpreter-exec console" if
1769 gdb-control-level is positive. Increment gdb-control-level
1770 whenever the command matches gdb-control-commands-regexp, and
1771 decrement it each time the command is "end". (Bug#11279)
1772
a8e7d6d7 17732012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1774
1775 * window.el (adjust-window-trailing-edge, enlarge-window)
1776 (shrink-window, window-resize):
1777 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1778 windows (Bug#11276).
1779
b3608390
CY
17802012-04-27 Chong Yidong <cyd@gnu.org>
1781
1782 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1783 fix "missing prefix" warning. All callers changed.
b3608390 1784
797e6e88
SM
17852012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * emacs-lisp/assoc.el: Move to obsolete/.
1788
e95a67dc
SM
17892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1790
657c21e4 1791 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1792
1793 * term/ns-win.el (ns-define-service):
1794 * progmodes/pascal.el (pascal-goto-defun):
1795 * progmodes/js.el (js--read-tab):
1796 * progmodes/etags.el (tags-lazy-completion-table):
1797 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1798 * emacs-lisp/ewoc.el (ewoc--wrap):
1799 * emacs-lisp/assoc.el (aput, adelete, amake):
1800 * doc-view.el (doc-view-convert-current-doc):
1801 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1802
cb3e7ae0
CY
18032012-04-26 Chong Yidong <cyd@gnu.org>
1804
dce04f7f
CY
1805 * image.el (image-type-from-buffer): Only return supported image
1806 type (Bug#9045).
1807
cb3e7ae0
CY
1808 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1809 value, for symmetry with diff-end-of-hunk.
1810 (diff-split-hunk, diff-find-source-location)
1811 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1812 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1813 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1814 compute the relevant hunk or file properly (Bug#6005).
1815 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1816
0d42eb3e
SM
18172012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * vc/vc-mtn.el:
1820 * vc/vc-hg.el:
1821 * vc/vc-git.el:
1822 * vc/vc-dir.el:
1823 * vc/vc-cvs.el:
1824 * vc/vc-bzr.el:
1825 * vc/vc-arch.el:
1826 * vc/vc.el: Replace lexical-let by lexical-binding.
1827 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1828 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1829 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1830
f08ae1c9
CY
18312012-04-26 Chong Yidong <cyd@gnu.org>
1832
8b71081d
CY
1833 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1834 (diff-mode-shared-map): Bind it to / and [remap undo].
1835
f08ae1c9
CY
1836 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1837 (ediff-window-setup-function): Use it as the default, to set up
1838 windows based on whether the current frame is graphical (Bug#2138).
1839 (ediff-choose-window-setup-function-automatically): Make obsolete.
1840
1841 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1842
ef24141c
SM
18432012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1844
cc356a5d
SM
1845 * ffap.el: Remove old code for obsolete package.
1846 (ffap-complete-as-file-p): Remove.
1847
b4ff4f1f
SM
1848 Use completion-table-with-quoting for comint and pcomplete.
1849 * comint.el (comint--unquote&requote-argument)
1850 (comint--unquote-argument, comint--requote-argument): New functions.
1851 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1852 (comint-quote-filename): Use regexp-opt-charset.
1853 (comint--common-suffix, comint--common-quoted-suffix)
1854 (comint--table-subvert): Remove.
1855 (comint-unquote-function, comint-requote-function): New vars.
1856 (comint--complete-file-name-data): Use them with
1857 completion-table-with-quoting.
1858 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1859 * pcomplete.el (pcomplete-arg-quote-list)
1860 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1861 (pcomplete-unquote-argument-function): Default to non-nil.
1862 (pcomplete-unquote-argument): Simplify.
1863 (pcomplete--common-quoted-suffix): Remove.
1864 (pcomplete-requote-argument-function): New var.
1865 (pcomplete--common-suffix): New function.
1866 (pcomplete-completions-at-point): Use completion-table-with-quoting
1867 and completion-table-subvert.
1868
79c4eeb4
SM
1869 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1870 (minibuffer--double-dollars): Preserve properties.
1871 (completion--sifn-requote): New function.
1872 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1873
ef24141c
SM
1874 * minibuffer.el: Add support for completion of quoted/escaped data.
1875 (completion-table-with-quoting, completion-table-subvert): New funs.
1876 (completion--twq-try, completion--twq-all): New functions.
1877 (completion--nth-completion): New function.
1878 (completion-try-completion, completion-all-completions): Use it.
1879
784e7d6e
LL
18802012-04-25 Leo Liu <sdl.web@gmail.com>
1881
dd2ac746
SM
1882 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1883 Use compilation-message if available to find real filename.
784e7d6e 1884
07875ee7
CY
18852012-04-25 Chong Yidong <cyd@gnu.org>
1886
1887 * vc/diff-mode.el (diff-setup-whitespace): New function.
1888 (diff-mode): Use it.
1889
1890 * vc/diff.el (diff-sentinel):
1891 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1892 Whitespace mode variables based on diff style (Bug#8612).
1893
5055880d
LL
18942012-04-25 Leo Liu <sdl.web@gmail.com>
1895
daf75653
LL
1896 * progmodes/python.el (python-send-region): Add suffix .py to the
1897 temp file.
1898
5055880d
LL
1899 * files.el (auto-mode-alist): Use javascript-mode instead.
1900
db9b177b
AH
19012012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1902
ef24141c 1903 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1904
1905 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1906 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1907 references, see Bug#9.
ef24141c 1908 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1909 when receiving a fault reply.
ef24141c 1910 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1911
1912 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1913 (soap-inspect-simple-type): New function.
db9b177b 1914
ef24141c 1915 * soap-client.el (soap-simple-type): New struct.
db9b177b 1916 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1917 (soap-decode-basic-type, soap-encode-basic-type):
1918 support unsignedInt and double basic types.
db9b177b 1919 (soap-resolve-references-for-simple-type)
ef24141c
SM
1920 (soap-parse-simple-type, soap-encode-simple-type): New function.
1921 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1922
1923 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1924 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1925 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1926 the local name of "soapenc:Array".
1927 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1928 decoding integer, byte and anyURI xsd types.
1929
1fc6097b
CY
19302012-04-25 Chong Yidong <cyd@gnu.org>
1931
1932 * cus-edit.el (custom-buffer-create-internal): Update header text.
1933
afc6df87
EZ
19342012-04-25 Eli Zaretskii <eliz@gnu.org>
1935
1936 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1937 settings on 'system-type', not on 'window-system'. On MS-Windows,
1938 set interactive-mode on in GDB.
1939
dfbd787f
SM
19402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1943 (ruby-syntax-propertize-regexp): Remove.
1944 (ruby-syntax-propertize-function): Split regexp into chunks.
1945 Match following code directly.
1946
85222d44
DG
19472012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1948
51a8ea2a
DG
1949 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1950 (ruby-syntax-propertize-regexp): New function.
1951 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1952 by a special keyword.
1953
85222d44
DG
1954 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1955 (ruby-syntax-general-delimiters-goto-beg)
1956 (ruby-syntax-propertize-general-delimiters): New functions.
1957 (ruby-syntax-propertize-function): Use them to handle GDL.
1958 (ruby-font-lock-keywords): Move old handling of GDL...
1959 (ruby-font-lock-syntactic-keywords): .. to here.
1960 (ruby-calculate-indent): Adjust indentation for GDL.
1961
b613912b
MA
19622012-04-24 Michael Albinus <michael.albinus@gmx.de>
1963
b5380639
MA
1964 * notifications.el (top): Remove unneeded declarations.
1965 (notifications-specification-version): Change to "1.2".
e43042fe 1966 (notifications-interface, notifications-notify-method)
b613912b
MA
1967 (notifications-close-notification-method): Fix docstring.
1968 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1969 (notifications-notify): Add :action-items, :resident and
1970 :transient hints. Change "image_data" to "image-data" and
1971 "image_path" to "image-path".
b613912b
MA
1972 (notifications-get-capabilities): New defun.
1973
257440aa
LL
19742012-04-24 Leo Liu <sdl.web@gmail.com>
1975
1976 * progmodes/python.el: Move hideshow setup to the end.
1977
b1bac16e
MR
19782012-04-24 Martin Rudalics <rudalics@gmx.at>
1979
1980 * window.el (handle-select-window): Clear echo area since this is
1981 no more done by read_char (Bug#11304).
1982
d81bd059
SM
19832012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1986 and `/ M' to filter-derived-mode.
1987 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1988 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1989 (ibuffer-mark-by-mode): Use default rather than initial-input.
1990 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1991
c4cf6d91
IA
19922012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1993
1994 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1995 (ibuffer-filter-by-derived-mode): New filter.
1996 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1997
7511ded8
CY
19982012-04-23 Andreas Politz <politza@fh-trier.de>
1999
2000 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2001
775c916b
CY
20022012-04-23 Chong Yidong <cyd@gnu.org>
2003
2004 * cus-edit.el (customize-apropos, customize-apropos-options):
2005 Disable matching of non-option variables (Bug#11176).
2006 (customize-option, customize-option-other-window)
2007 (customize-changed-options): Doc fix.
2008 (customize-apropos-options, customize-apropos-faces)
2009 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2010
2011 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2012 Fix word list splitting (Bug#11132).
46c71e23
CY
2013 (apropos-symbol, apropos-keybinding, apropos-label)
2014 (apropos-property, apropos-function-button)
2015 (apropos-variable-button, apropos-misc-button): New faces.
2016 (apropos-symbol-face, apropos-keybinding-face)
2017 (apropos-label-face, apropos-property-face, apropos-match-face):
2018 Variables removed (Bug#8396).
2019 (apropos-library-button, apropos-format-plist, apropos-print)
2020 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2021
2df41f9c
MA
20222012-04-23 Michael Albinus <michael.albinus@gmx.de>
2023
2024 * net/xesam.el (xesam-mode-map): Use let-bound map in
2025 initialization. (Bug#11292)
2026
da00640a
AM
20272012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2028
2029 Preserve ispell session localwords when switching back to
2030 original buffer.
2031
2032 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2033 variable to hold buffer session localwords.
2034 (ispell-kill-ispell): add option 'clear to delete session
2035 localwords.
2036 (ispell-command-loop, ispell-change-dictionary)
2037 (ispell-buffer-local-words): Preserve session localwords when
2038 needed.
2039
2040 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2041 Preserve session localwords when needed.
2042
f621ccf5
AM
20432012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2044
2045 * ispell.el (ispell-insert-word) Remove unneeded function using
2046 obsolete `translation-table-for-input'.
ef24141c
SM
2047 (ispell-word, ispell-process-line, ispell-complete-word):
2048 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2049
c2d1019e
CY
20502012-04-22 Chong Yidong <cyd@gnu.org>
2051
2052 * cus-edit.el (custom-variable-menu)
2053 (custom-variable-reset-saved, custom-face-menu)
2054 (custom-face-reset-saved): If there is no saved value, make the
2055 "reset-saved" operation bring back the default (Bug#9509).
2056 (custom-face-state): Properly detect themed faces.
2057
eeddc531
CY
2058 * faces.el (face-spec-set): Stop supporting deprecated form of
2059 third arg.
2060
dcbf5805
MA
20612012-04-22 Michael Albinus <michael.albinus@gmx.de>
2062
2063 Move functions from C to Lisp. Make non-blocking method calls
2064 the default. Implement further D-Bus standard interfaces.
2065
ef24141c
SM
2066 * net/dbus.el (dbus-message-internal): Declare function.
2067 Remove unneeded function declarations.
dcbf5805
MA
2068 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2069 (dbus-message-type-method-return, dbus-message-type-error)
2070 (dbus-message-type-signal): Declare variables. Remove local
2071 definitions.
2072 (dbus-interface-dbus, dbus-interface-peer)
2073 (dbus-interface-introspectable, dbus-interface-properties)
2074 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2075 Adapt docstring.
2076 (dbus-interface-objectmanager): New defconst.
2077 (dbus-call-method, dbus-call-method-asynchronously)
2078 (dbus-send-signal, dbus-method-return-internal)
2079 (dbus-method-error-internal, dbus-register-service)
2080 (dbus-register-signal, dbus-register-method): New defuns, moved
2081 from dbusbind.c
2082 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2083 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2084 New defuns.
dcbf5805
MA
2085 (dbus-call-method-non-blocking): Make it an obsolete function.
2086 (dbus-unregister-object, dbus-unregister-service)
2087 (dbus-handle-event, dbus-register-property)
2088 (dbus-property-handler): Obey the new structure of
2089 `bus-registered-objects'.
2090 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2091 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2092 Use `dbus-call-method'.
2093
cf20dee0
CY
20942012-04-22 Chong Yidong <cyd@gnu.org>
2095
2096 * cus-edit.el (custom-commands, custom-reset-menu)
2097 (Custom-reset-standard): Tweak labels.
2098 (custom-reset-button-menu): Change default to t.
2099 (custom-buffer-create-internal): For the custom-reset-button-menu
2100 case, put the revert button first.
2101 (custom-group-subtitle): New face.
2102 (custom-group-value-create): Align docstring to a specific column.
2103
2104 * wid-edit.el (widget-documentation-link-add): Don't handle
2105 indentation in this function.
2106 (widget-documentation-string-indent-to): New function.
2107 (widget-documentation-string-value-create): Use it.
2108
2109 * autorevert.el (auto-revert):
2110 * epg-config.el (epg):
2111 * ibuffer.el (ibuffer):
2112 * mpc.el (mpc):
2113 * ses.el (ses):
2114 * eshell/eshell.el (eshell):
2115 * net/ange-ftp.el (ange-ftp):
2116 * progmodes/ebnf2ps.el (postscript):
2117 * progmodes/flymake.el (flymake):
2118 * progmodes/prolog.el (prolog):
2119 * progmodes/verilog-mode.el (verilog-mode):
2120 * progmodes/which-func.el (which-func):
2121 * term/xterm.el (xterm):
2122 * textmodes/picture.el (picture):
2123 * textmodes/tildify.el (tildify):
2124 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2125 customization buffers.
2126
583e23bd
AM
21272012-04-22 Alan Mackenzie <acm@muc.de>
2128
2129 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2130 Adding a ) can hide the resulting (..) from searches. Fix it.
2131 Bound the backward search to the position of the existing (.
2132
7dd51bf1
JB
21332012-04-21 Juanma Barranquero <lekktu@gmail.com>
2134
2135 * progmodes/verilog-mode.el (verilog-mode): Check whether
2136 which-func-modes is t before adding verilog-mode.
2137 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2138
d64a438f
LL
21392012-04-21 Leo Liu <sdl.web@gmail.com>
2140
7dd51bf1 2141 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2142
081e8d65
MV
21432012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2144
2145 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2146 filling of the last column of a table (Bug#5635).
2147 (woman-find-next-control-line): New arg, specifying an additional
2148 regexp component for the control line.
2149 (woman2-roff-buffer): Use it.
2150 (woman-break-table): New function.
2151 (woman2-TS): Use it.
2152
21532012-04-21 Chong Yidong <cyd@gnu.org>
2154
2155 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2156 (woman-horizontal-escapes, woman-negative-vertical-space)
2157 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2158 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2159
ed571ccb
SM
21602012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * minibuffer.el (completion-file-name-table): Complete user names.
2163
39773899
LL
21642012-04-20 Leo Liu <sdl.web@gmail.com>
2165
2166 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2167 and pcase-let*.
2168
de6ff46d
CY
21692012-04-20 Chong Yidong <cyd@gnu.org>
2170
2171 * server.el (server-execute): Respect initial-buffer-choice if it
2172 is a string and there are no files to open (Bug#2825).
2173 (server-create-window-system-frame, server-create-tty-frame):
2174 Don't switch buffers here.
2d0e8e61
CY
2175 (server-process-filter): Only try to open a window system frame if
2176 compiled with graphical support (Bug#8314).
de6ff46d 2177
54071013
DN
21782012-04-20 Dan Nicolaescu <dann@gnu.org>
2179
2180 * battery.el (battery-echo-area-format): Display remaining time
2181 for sysfs backend too (Bug#11269).
2182 (battery-linux-sysfs): Fix conditional for the charge.
2183
f30d612a
CY
21842012-04-20 Chong Yidong <cyd@gnu.org>
2185
c07a4c0b 2186 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2187 (gdb-inferior-io--init-proc): New function.
2188 (gdb-init-1): Use it.
2189 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2190 responsible for allocating a new pty and hooking it to gdb when
2191 the old pty gets an EIO due to process exit.
2192 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2193 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2194 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2195
2116e93c
EZ
21962012-04-20 Eli Zaretskii <eliz@gnu.org>
2197
2198 * window.el (window-min-size, window-sizable, window-min-delta)
2199 (window-max-delta, window--resizable, window-resizable)
2200 (window-total-size, window-full-height-p, window-full-width-p)
2201 (window-in-direction, window--resize-mini-window, window-resize)
2202 (window--resize-child-windows-normal)
2203 (window--resize-child-windows, window--resize-siblings)
2204 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2205 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2206
c07a4c0b 22072012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2208
ef24141c
SM
2209 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2210 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2211 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2212 pty process (Bug#11273).
2213 (gdb-update): New arg to suppress talking to the gdb process.
2214 (gdb-done-or-error): Use it.
2215 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2216 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2217 sentinel not being called.
2218
2219 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2220
d02766ab
CY
2221 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2222
c07a4c0b 22232012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2224
2225 * net/network-stream.el (open-network-stream): Doc fix.
2226
c07a4c0b 22272012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2228
2229 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2230
c07a4c0b 22312012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2232
2233 Ensure searching for keywords is case sensitive.
2234
2235 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2236 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2237 (c-defun-name, c-mark-function, c-cpp-define-name)
2238 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2239 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2240
ef24141c
SM
2241 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2242 Bind case-fold-search to nil.
f0f6bc35 2243
c07a4c0b 22442012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2245
2246 * mail/sendmail.el (mail-bury): Call return action with the right
2247 Rmail buffer (Bug#11242).
2248
9a864fa2
CY
2249 * server.el (server-process-filter): Handle corner case where both
2250 tty and nowait options are present (Bug#11102).
2251
539aa513
EZ
22522012-04-20 Eli Zaretskii <eliz@gnu.org>
2253
2254 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2255 (top level): Put into the executable the ident-style '$Id:' tag on
2256 windows-nt as well.
539aa513 2257
cfc7d5da
SM
22582012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * electric.el (electric-indent-post-self-insert-function): Check that
2261 electric-indent-mode is enabled in current buffer.
2262
5b01685c
JB
22632012-04-19 Juanma Barranquero <lekktu@gmail.com>
2264
2265 * imenu.el (imenu-progress-message): Restore; it is "used" in
2266 erc/erc-imenu.el and net/snmp-mode.el.
2267
4d6769e1
JB
22682012-04-19 Juanma Barranquero <lekktu@gmail.com>
2269
2270 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2271 (mouse-avoidance-nudge-mouse): Remove unused binding.
2272
2273 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2274
2275 * descr-text.el (describe-char):
2276 * progmodes/python.el (python-describe-symbol):
2277 Don't call `toggle-read-only', set `buffer-read-only'.
2278
2279 * imenu.el (imenu-default-goto-function): Mark unused args.
2280 (imenu-progress-message): Remove obsolete macro; all callers changed.
2281
2282 * subr.el (keymap-canonicalize): Remove unused binding.
2283 (read-passwd): Mark unused arg.
2284
2285 * tutorial.el (tutorial--display-changes): Remove unused binding.
2286 (tutorial--save-tutorial-to): Remove unused variable.
2287
2288 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2289 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2290 (package-generate-autoloads, package-menu--generate)
2291 (package-menu--find-upgrades): Remove unused bindings.
2292
2293 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2294 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2295 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2296 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2297 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2298 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2299 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2300 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2301 (cua-delete-char-rectangle): Mark unused args.
2302 (cua-align-rectangle): Remove unused binding.
2303
2304 * mail/rmail.el (compilation--message->loc)
2305 (epa--find-coding-system-for-mime-charset): Declare.
2306
2307 * net/dbus.el (dbus-register-service): Declare.
2308 (dbus-name-owner-changed-handler): Remove unused binding.
2309
2310 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2311 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2312 (nxml-scan-backward-within): Mark unused arg.
2313 (nxml-dynamic-markup-word): Remove unused binding.
2314
2315 * mouse.el (mouse-menu-major-mode-map):
2316 * emacs-lisp/authors.el (authors-scan-change-log)
2317 (authors-add-to-author-list):
2318 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2319 * emacs-lisp/smie.el (smie-auto-fill):
2320 * mail/sendmail.el (mail-bury):
2321 * mail/unrmail.el (unrmail):
2322 * net/tls.el (open-tls-stream):
2323 * textmodes/picture.el (picture-mouse-set-point):
2324 Remove unused bindings.
2325
8c8fc5df
MA
23262012-04-19 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * net/tramp.el (tramp-action-password): Let-bind
2329 `enable-recursive-minibuffers' to t.
2330
a77b0ac9
SS
23312012-04-18 Sam Steingold <sds@gnu.org>
2332
2333 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2334 instead of 'string to accommodate values like [f11].
2335 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2336 * progmodes/gdb-mi.el: Likewise.
2337
12a106a9
LL
23382012-04-18 Leo Liu <sdl.web@gmail.com>
2339
2340 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2341 current buffer.
2342 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2343 LOCAL is nil.
2344
bc6494ef
CY
23452012-04-18 Chong Yidong <cyd@gnu.org>
2346
2347 * simple.el (line-move): Use forward-line if in batch mode
2348 (Bug#11053).
2349
c09c46b2
CS
23502012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2351
2352 * files.el (after-find-file): Do not try to add a final newline if
2353 the buffer is read-only (Bug#11156).
2354
5f6530ea
RS
23552012-04-17 Richard Stallman <rms@gnu.org>
2356
2357 * mail/rmail.el (rmail-start-mail):
2358 Pass (rmail-mail-return...) for the return-action.
2359 Pass (rmail-yank-current-message...) for the yank-action.
2360 (rmail-yank-current-message): New function.
2361 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2362 (rmail-reply): Likewise.
2363 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2364
2365 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2366 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2367 buffer, not newbuf.
2368
197b6f3c
JB
23692012-04-17 Juanma Barranquero <lekktu@gmail.com>
2370
2371 * server.el (server-ensure-safe-dir): Simplify.
2372
2311d8e5 23732012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2374
2311d8e5
GM
2375 * emacs-lisp/smie.el: Provide smarter auto-filling.
2376 (smie-auto-fill): New function.
2377 (smie-setup): Use it.
98fb480e 2378
2311d8e5
GM
2379 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2380
23812012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2382
2383 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2384 (comment-indent): Use it.
2385
2311d8e5 23862012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2387
2388 * ses.el: The overall change is to add cell renaming, that is
2389 setting fancy names for cell symbols other than name matching
2390 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2391 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2392 (ses-create-cell-variable): New defun.
2311d8e5 2393 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2394 (ses-relocate-formula): Relocate formulas only for cells the
2395 symbols of which are not renamed, i.e. symbols whose names do not
2396 match regexp "\\`[A-Z]+[0-9]+\\'".
2397 (ses-relocate-all): Relocate values only for cells the symbols of
2398 which are not renamed.
2399 (ses-load): Create cells variables as the (ses-cell ...) are read,
2400 in order to check row col consistency with cell symbol name only
2401 for cells that are not renamed.
2402 (ses-replace-name-in-formula): New defun.
2403 (ses-rename-cell): New defun.
4bdf2ad2 2404
fc72b15c
PO
24052012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2406
2407 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2408 New option (bug#11118).
2409 (perl-calculate-indent): Respect it.
2410
12e10e61
GM
24112012-04-17 Glenn Morris <rgm@gnu.org>
2412
2413 * dired-aux.el (dired-mark-read-string): Doc fix.
2414
30009afd
DA
24152012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2416
2417 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2418 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2419
41f03f4d
GM
24202012-04-17 Glenn Morris <rgm@gnu.org>
2421
2422 * mouse.el (mouse-drag-track):
2423 * speedbar.el (speedbar-frame-mode):
2424 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2425
f45f90f3
LL
24262012-04-16 Leo Liu <sdl.web@gmail.com>
2427
2428 * progmodes/python.el: Trivial cleanup.
2429
94ee8db5
GM
24302012-04-16 Glenn Morris <rgm@gnu.org>
2431
121b8917
GM
2432 * vc/vc.el (vc-string-prefix-p):
2433 * vc/pcvs-util.el (cvs-string-prefix-p):
2434 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2435 * mpc.el (mpc-string-prefix-p):
2436 Make all of these into obsolete aliases for string-prefix-p.
2437 Update callers.
2438 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2439
1197ecfa
GM
2440 * textmodes/two-column.el: Move custom options to the start.
2441 (frame-width): Remove compat definition.
2442 (2C-associate-buffer, 2C-dissociate):
2443 Use with-current-buffer rather than save-excursion.
2444 (2C-dissociate): Force a mode-line update.
2445 (2C-autoscroll): Use ignore-errors.
2446
099e7202
GM
2447 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2448 Autoload trivia.
2449
bf350d6a
GM
2450 * emacs-lisp/cl-extra.el (*random-state*):
2451 Remove unnecessary declaration.
2452
0e829eab
GM
2453 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2454
e3ad7552
GM
2455 * play/cookie1.el (cookie-snarf):
2456 Give an explicit error if input file cannot be read.
2457
68892d27
GM
2458 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2459
20f0c46d
GM
2460 * progmodes/perl-mode.el (c-macro-expand):
2461 Remove unnecessary autoload (it is in loaddefs.el).
2462
5a0978ce
GM
2463 * textmodes/picture.el (picture-desired-column)
2464 (picture-update-desired-column): Convert comments to doc-strings.
2465 (picture-substitute): Remove function.
2466 (picture-mode-map): Initialize in the defvar.
2467
6b955486
GM
2468 * woman.el: Remove eval-after-load for tar-mode.
2469 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2470 (woman-tar-extract-file): Autoload it.
2471
94ee8db5
GM
2472 * frame.el (automatic-hscrolling): Make this alias obsolete.
2473
177eca34
AM
24742012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2475
2476 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2477 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2478 (ispell-dictionary-base-alist): Revert to original XEmacs
2479 friendly version for default. [:alpha:] will be added in
2480 `ispell-set-spellchecker-params' if needed
177eca34 2481
c505aaeb
CY
24822012-04-16 Chong Yidong <cyd@gnu.org>
2483
2484 * image.el (imagemagick--extension-regexp): New variable.
2485 (imagemagick-register-types): Use it.
2486 (imagemagick-types-inhibit): Add :set function. Allow new value
2487 of t to inhibit all types.
2488
2489 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2490 so we can preload it.
2491
2492 * loadup.el (fboundp): Preload regexp-opt, needed by
2493 imagemagick-register-types.
2494
60efac0f
CY
24952012-04-15 Chong Yidong <cyd@gnu.org>
2496
2497 * frame.el (scrolling): Remove nearly unused customization group.
2498
2499 * scroll-all.el (scroll-all-mode): Move to windows group.
2500
5dd1713e
CY
25012012-04-15 Chong Yidong <cyd@gnu.org>
2502
2503 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2504
e6fd457e
CY
25052012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2508 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2509
e153c136
GM
25102012-04-15 Glenn Morris <rgm@gnu.org>
2511
2512 * simple.el (process-file-side-effects): Doc fix.
2513
e6fd457e 25142012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2515
2516 * international/mule-cmds.el (set-language-environment): Doc fix.
2517
3603c3b1
JB
25182012-04-14 Juanma Barranquero <lekktu@gmail.com>
2519
2520 * server.el (server-auth-key, server-generate-key): Doc fixes.
2521 (server-get-auth-key): Doc fix. Use `string-match-p'.
2522 (server-start): Reflow docstring.
2523
e6de100c
LI
25242012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2525
2526 * server.el (server-generate-key): `called-interactively-p'
2527 requires a parameter.
2528
29734c21
MN
25292012-04-14 Michal Nazarewicz <mina86@mina86.com>
2530
2531 * server.el (server-auth-key): New variable.
75f1671a 2532 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2533 (server-start): Use the new variable and functions to allow
2534 setting a permanent server key (bug#9423).
2535
d65c9521
LL
25362012-04-14 Leo Liu <sdl.web@gmail.com>
2537
2538 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2539
5ae255c7
PE
25402012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2541
2542 Spelling fixes.
2543 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2544 Emacs uses American spelling.
2545
d5e6342e
JB
25462012-04-14 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2549 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2550 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2551 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2552
ab036cd7
SM
25532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * progmodes/which-func.el (which-func-modes): Change default.
2556
35dc09a1 25572012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2558
2559 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2560 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2561
35dc09a1 25622012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2563
2564 * custom.el (custom-theme-set-variables): Doc fix.
2565
35dc09a1 25662012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2567
2568 * international/mule.el (set-auto-coding-for-load): Doc fix.
2569
35dc09a1 25702012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2571
35dc09a1
GM
2572 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2573 imenu work again for Objective C Mode. Correct the *-index values,
2574 these having been disturbed by a previous change in 2011-08.
57f845ee 2575
0de3da9f
AM
2576 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2577 Correct two search limits.
2578
35dc09a1 25792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2580
2581 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2582
35dc09a1 25832012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2584
2585 * international/characters.el: Fix sorting.
2586
35dc09a1 25872012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2588
2589 * international/characters.el: Add more missing Latin case pairs.
2590
35dc09a1 25912012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2592
2593 * files.el (dir-locals-set-class-variables): Doc fix.
2594
35dc09a1 25952012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2596
3f1b5bf8
EZ
2597 * international/characters.el: Add set-case-syntax-pair call for
2598 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2599 counterpart. (Bug#11209)
2600
9f847f41
EZ
2601 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2602
35dc09a1 26032012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2604
2605 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2606
35dc09a1 26072012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2608
35dc09a1
GM
2609 * textmodes/ispell.el (ispell-dictionary-base-alist):
2610 Add data for Hebrew.
e2627d21 2611
35dc09a1 26122012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2613
35dc09a1
GM
2614 * net/rcirc.el (rcirc-cmd-quit):
2615 Revert 2012-03-18 change (Bug#11192).
5c14e333 2616
35dc09a1 26172012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2618
2619 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2620
35dc09a1 26212012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2622
4517fe3a
SM
2623 * minibuffer.el (completion-in-region-mode-map):
2624 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2625
b472a594
VD
26262012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2627
2628 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2629
09b95ce3
MY
26302012-04-13 Masatake YAMATO <yamato@redhat.com>
2631
2632 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2633 to allow `C-M-f' and `C-M-b' to move to the nearest path
2634 separator (bug#9511).
2635
4b63a9ca
LI
26362012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2637
2638 * avoid.el: Require cl when compiling. And also move the
2639 `provide' to the end.
2640
7b55b8bf
TV
26412012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2642
2643 * avoid.el (mouse-avoidance-banish-position): New variable.
2644 (mouse-avoidance-banish-destination): Use it (bug#10165).
2645
adedaa1f
LL
26462012-04-13 Leo Liu <sdl.web@gmail.com>
2647
2648 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2649
70e74021
KB
26502012-04-13 Ken Brown <kbrown@cornell.edu>
2651
2652 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2653 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2654 (browse-url-filename-alist): For the same reason, don't modify
2655 file:// URLs on Cygwin.
2656
e75e89ba
SM
26572012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2660 the region on shift if the binding is already shifted (bug#11221).
2661
82f289a4
GM
26622012-04-12 Glenn Morris <rgm@gnu.org>
2663
2664 * mail/mailpost.el: Move to obsolete/.
2665
d333dc4c
DA
26662012-04-12 Drew Adams <drew.adams@oracle.com>
2667
2668 * imenu.el (imenu--generic-function): Ignore invisible definitions
2669 (bug#10123).
2670
0d15b5ba
VD
26712012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2672
2673 * hexl.el (hexl-bits): New variable.
2674 (hexl-options): Mention the variable in the doc string.
75f1671a 2675 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2676 (hexl-mode): Mention the new variable.
75f1671a
JB
2677 (hexl-mode, hexl-current-address, hexl-current-address):
2678 Use the displen.
0d15b5ba
VD
2679 (hexl-ascii-start-column): New function.
2680 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2681 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2682
64a440db
AM
26832012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2684
2685 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2686 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2687 the encoding, as expected by hunspell.
2688
6decb6c2
SM
26892012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * battery.el (battery--linux-sysfs-regexp): New const.
2692 (battery-status-function): Use it. Remove yeeloong special case.
2693 (battery-yeeloong-sysfs): Remove.
2694 (battery-echo-area-format): Remove yeeloong special case.
2695
088be6fb
SM
26962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2697
6622e416
SM
2698 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2699 Reported by Noah Friedman.
2700
088be6fb
SM
2701 * subr.el (read-passwd): Use read-string.
2702
b49f886e
LMI
27032012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2704
2705 * vcursor.el (vcursor-move): Increase the priority of the overlay
2706 (bug#9663).
2707
a63067fc
DD
27082012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2709
2710 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2711 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2712
ac3cf14a
WS
27132012-04-11 William Stevenson <yhvh2000@gmail.com>
2714
2715 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2716 define-minor-mode (bug#10760).
2717
c4fc691b 27182012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2719
4d6769e1 2720 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2721 that directories matching `grep-find-ignored-files' won't be
2722 pruned (bug#10351).
2723
af23e2e5
CY
27242012-04-11 Chong Yidong <cyd@gnu.org>
2725
2726 * startup.el (command-line): Remove support for long-obsolete
2727 variable font-lock-face-attributes.
2728
ab7ce8c1
GM
27292012-04-11 Glenn Morris <rgm@gnu.org>
2730
2731 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2732
de8c03dc
SM
27332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * window.el (window--state-get-1): Obey window-point-insertion-type.
2736
050cc68b
LB
27372012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2738
2739 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2740 to previous function when point is on the first character of a
75f1671a 2741 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2742
a38c310c
GM
27432012-04-11 Glenn Morris <rgm@gnu.org>
2744
effed0c2
GM
2745 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2746 not just file-errors.
2747
a38c310c
GM
2748 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2749 (vc-bzr-sha1): Use internal sha1.
2750
0221e323
SM
27512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2754
43956923
SG
27552012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2756
2757 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2758 that start in the middle of the line (bug#10496).
2759
6a8c9eaf
DN
27602012-04-10 Dan Nicolaescu <dann@gnu.org>
2761
2762 * battery.el (battery-linux-proc-acpi): Only one battery is
2763 discharged at a time, but that seems to confuse battery.el when
2764 computing `rate-type' for the battery not being discharged
2765 (bug#10332).
2766
1930bf5d
SM
27672012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2a718f6f
SM
2769 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2770
599430d0
SM
2771 * international/quail.el: Use dolist and simplify.
2772 (quail-define-package, quail-update-keyboard-layout)
2773 (quail-define-rules): Use dolist.
2774 (quail-insert-kbd-layout, quail-get-translation): CSE.
2775
a2754b6c
SM
2776 * tmm.el: Use dolist, remove left over hook.
2777 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2778 Use dolist.
2779 (calendar-load-hook): Don't mess with it.
2780
1930bf5d
SM
2781 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2782 Use derived-mode-p. Run the diff asynchronously.
2783
9f67961c
LMI
27842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2785
2786 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2787
2a8ce227
JB
27882012-04-10 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2791 (list-dynamic-libraries--loaded): New function.
2792 (list-dynamic-libraries--refresh): Use it.
2793
8f33b5f8
NW
27942012-04-10 Nathan Weizenbaum <nweiz@google.com>
2795
1930bf5d
SM
2796 * progmodes/python.el (python-fill-paragraph):
2797 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2798 disabled (bug#7018).
2799
b12f0439
L
28002012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2801
1930bf5d 2802 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2803 DOS/MS Windows for the Baltic languages. There are still plenty
2804 of texts written in this encoding/codepage (bug#6519).
b12f0439 2805
57c3bd01
GM
28062012-04-10 Glenn Morris <rgm@gnu.org>
2807
2808 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2809 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2810
6c3eab30
FA
28112012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2812
1930bf5d 2813 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2814 next-line "n" and previous-line "p" in order to make recentf more
2815 consistent with ibuffer, dired or org-mode (bug#9387).
2816
24d78a88
LMI
28172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2818
bc72b5d9
LMI
2819 * image.el (put-image): Return the overlay created instead of the
2820 optional input string (bug#7834). Note that this may break code
2821 that is (for some reason or other) depending on `put-image'
2822 returning the string.
2823
bd2dba5a
LMI
2824 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2825
74beb59f
LMI
2826 * simple.el (zap-to-char): Allow zapping using input methods
2827 (bug#1580).
2828
24d78a88
LMI
2829 * textmodes/fill.el (fill-region): Leave point and mark where they
2830 were before filling (bug#5399).
2831
263f20cd
GM
28322012-04-09 Glenn Morris <rgm@gnu.org>
2833
2834 * version.el (emacs-bzr-get-version):
2835 Handle lightweight checkouts of local branches.
2836
58d1f797
AS
28372012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2838
263f20cd 2839 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2840
b4d3bc10
CY
28412012-04-09 Chong Yidong <cyd@gnu.org>
2842
2843 * custom.el (custom-variable-p): Return nil for non-symbol
2844 arguments instead of signaling an error.
2845 (user-variable-p): Obsolete alias for custom-variable-p.
2846
2847 * apropos.el (apropos-variable):
2848 * files-x.el (read-file-local-variable):
2849 * simple.el (set-variable):
2850 * woman.el (woman-mini-help):
2851 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2852
fd06db5d
GM
28532012-04-09 Glenn Morris <rgm@gnu.org>
2854
e5fcdb5e
GM
2855 * startup.el (normal-top-level): Don't look for leim-list.el
2856 in places where it will not be found. (Bug#910)
2857
fd06db5d
GM
2858 * international/mule-cmds.el (set-default-coding-systems):
2859 * files.el (normal-mode):
2860 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2861 This function was removed with ucs-tables.el in 2008.
2862
b39bb7e1
EZ
28632012-04-08 Eli Zaretskii <eliz@gnu.org>
2864
2865 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2866 ispell-encoding8-command to "-i", without a trailing space.
2867 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2868 separate command-line arguments, to specify the encoding, since
2869 that's how hunspell expects it.
2870
5c5b8e23
GM
28712012-04-08 Glenn Morris <rgm@gnu.org>
2872
2873 * loadup.el: Load bindings before cus-start.
2874 This reduces somewhat the number of "rogue" settings in emacs -Q.
2875
a1ed8b05
GM
28762012-04-07 Glenn Morris <rgm@gnu.org>
2877
2878 * version.el (emacs-bzr-get-version): New function.
dfae128a 2879 (emacs-bzr-version): New variable.
a1ed8b05
GM
2880 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2881 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2882
b142f158
EZ
28832012-04-07 Eli Zaretskii <eliz@gnu.org>
2884
dfae128a
GM
2885 * international/uni-bidi.el, international/uni-category.el:
2886 * international/uni-combining.el, international/uni-decimal.el:
2887 * international/uni-decomposition.el, international/uni-digit.el:
2888 * international/uni-lowercase.el, international/uni-mirrored.el:
2889 * international/uni-name.el, international/uni-numeric.el:
2890 * international/uni-titlecase.el, international/uni-uppercase.el:
2891 Update for Unicode 6.1.
b142f158 2892
9078ead6
EZ
28932012-04-07 Eli Zaretskii <eliz@gnu.org>
2894
2895 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2896
f23d2c7d
LMI
28972012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2898
2899 * window.el (shrink-window): Mention the `window-min-height'
2900 variable in the doc string.
2901
0a0a3573
BG
29022012-04-05 Bastien Guerry <bzg@altern.org>
2903
2904 * color.el (color-lighten-name): Fix typo.
2905
e5248ac9
SM
29062012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * server.el (server--on-display-p): New function.
2909 (server--on-display-p): Use it.
2910
b4243e22
GV
29112012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2912
2913 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2914 (bug#11145).
2915
305d9f44
SM
29162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * comint.el (comint--common-quoted-suffix): Check string boundary
2919 before comparing (bug#11158).
2920 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2921
3d439cd1
CY
29222012-04-04 Chong Yidong <cyd@gnu.org>
2923
321cc491
CY
2924 * minibuffer.el (completion-extra-properties): Doc fix.
2925
3d439cd1
CY
2926 * subr.el (delayed-warnings-hook): Doc fix.
2927
2d562c0f
DU
29282012-04-04 Daiki Ueno <ueno@unixuser.org>
2929
2930 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2931 selection (Bug#11159).
2932 (epa-insert-keys): Inform that the default public key will be
2933 exported if no key is selected.
2934
4443f204
RS
29352012-04-04 Richard Stallman <rms@gnu.org>
2936
2937 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2938
529c06b6
CY
29392012-04-03 Chong Yidong <cyd@gnu.org>
2940
2941 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2942 mail-insert-file, not its obsolete alias mail-attach-file.
2943
66b907dc
MA
29442012-04-03 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * notifications.el (notifications-notify): Fix docstring.
2947
c0ea195d
GM
29482012-04-02 Glenn Morris <rgm@gnu.org>
2949
2950 * emacs-lisp/authors.el (authors-aliases): Another addition.
2951
5ca64e00
MA
29522012-04-02 Michael Albinus <michael.albinus@gmx.de>
2953
2954 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2955 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2956 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2957
42ee526b
CY
29582012-04-01 Chong Yidong <cyd@gnu.org>
2959
2960 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2961 Handle root directory properly.
2962 (copy-directory): Caller changed.
2963
2964 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2965 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2966
0b021094
GM
29672012-03-31 Glenn Morris <rgm@gnu.org>
2968
40f86458
GM
2969 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2970
7019c177
GM
2971 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2972
a1daddd6
GM
2973 * calendar/calendar.el (calendar-window-list)
2974 (calendar-hide-window): Restore. (Bug#11140)
2975 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2976
0b021094
GM
2977 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2978
40311efc
TV
29792012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2980
2981 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2982 Check if file is a symlink (Bug#10489).
2983
2984 * files.el (copy-directory): Likewise.
2985
5319014e
CY
29862012-03-30 Chong Yidong <cyd@gnu.org>
2987
2988 * image.el (imagemagick-types-inhibit)
2989 (imagemagick-register-types): Doc fix.
2990
935d1290
AM
29912012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2992
ef24141c
SM
2993 * ispell.el (ispell-get-extended-character-mode):
2994 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2995 and treats ~word as ordinary words in pipe mode.
935d1290 2996
61c6e8fd
GM
29972012-03-30 Glenn Morris <rgm@gnu.org>
2998
2999 * tutorial.el (help-with-tutorial): Ensure local variables don't
3000 happen to make the buffer read-only. (Bug#11127)
3001
81fdff00
SM
30022012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3005 (perl-calculate-indent): Return `noindent' in strings.
3006
6e7a6ec0
SS
30072012-03-28 Sam Steingold <sds@gnu.org>
3008
3009 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3010 instead of the broken adhockery which does not prevent calendar
3011 buffers from being displayed at random after exit.
3012 (calendar-window-list, calendar-hide-window): Remove the broken
3013 adhockery.
3014
fee88ca0
GM
30152012-03-28 Glenn Morris <rgm@gnu.org>
3016
3017 * replace.el (query-replace-map): Doc fix.
3018
38de3354
AS
30192012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3020
3021 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3022 contents. (Bug#11109)
3023
b973155e
SM
30242012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3027 (bug#11077).
3028 (avl-tree--check, avl-tree--check-node): New funs.
3029
dcb6e7b3
MR
30302012-03-27 Martin Rudalics <rudalics@gmx.at>
3031
3032 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3033 (switch-to-prev-buffer, switch-to-next-buffer):
3034 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3035 showing a buffer already is done on the same frame.
3036
b4fa35fa
GM
30372012-03-27 Glenn Morris <rgm@gnu.org>
3038
3039 * startup.el (mail-host-address): Doc fix.
3040
f9210e18
SM
30412012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3044 than 197 variables.
3045
c0bf7753
AF
30462012-03-26 Ami Fischman <ami@fischman.org>
3047
3048 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3049
33da7b16
GM
30502012-03-26 Glenn Morris <rgm@gnu.org>
3051
02243d9d
GM
3052 * files.el (save-buffers-kill-emacs): Doc fix.
3053
33da7b16
GM
3054 * startup.el (normal-top-level, command-line, command-line-1):
3055 Give them doc strings.
3056
e5a69fd0
EZ
30572012-03-25 Eli Zaretskii <eliz@gnu.org>
3058
3059 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3060 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3061
9a69676a
CY
30622012-03-25 Chong Yidong <cyd@gnu.org>
3063
4125cb8b
CY
3064 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3065 theme if it was previously enabled before (Bug#11031).
3066
dd470960
CY
3067 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3068 spec with custom-face-get-current-spec if its :shown-value is not
3069 determined yet (Bug#9337).
4125cb8b 3070 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3071
9a69676a
CY
3072 * button.el (button-at): Minor addition to docstring.
3073
6e7e90fa
SL
30742012-03-24 Simon Leinen <simon.leinen@gmail.com>
3075
3076 * vc/vc.el (vc-merge): Fix a prompt.
3077
f06e2758
CY
30782012-03-24 Chong Yidong <cyd@gnu.org>
3079
3080 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3081 point (Bug#9623).
3082
6e7e90fa
SL
3083 * button.el (button-at): Minor addition to docstring.
3084
b9d0879b
SM
30852012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * newcomment.el (comment-choose-indent): No space after BOL.
3088
e71cebb3
SS
30892012-03-22 Sam Steingold <sds@gnu.org>
3090
3091 * window.el (switch-to-prev-buffer): Revert last patch because the
3092 bug turned out to be an advertised feature (Elisp manual 28.14).
3093
335aff35
GM
30942012-03-22 Glenn Morris <rgm@gnu.org>
3095
3096 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3097 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3098
c676576a
LMI
30992012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100
3101 * net/network-stream.el (network-stream-open-starttls): Make error
3102 message under Windows be less misleading.
3103
126f3d39
LW
31042012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3105
3106 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3107 understands (bug#9942).
3108
64fee311
CY
31092012-03-22 Chong Yidong <cyd@gnu.org>
3110
3111 * simple.el (end-of-visible-line): Handle return value of
3112 next-single-property-change properly (Bug#9371).
3113
a640d29a
KH
31142012-03-22 Kenichi Handa <handa@m17n.org>
3115
3116 * international/quail.el (quail-insert-kbd-layout): Fix previous
3117 change. To avoid unwanted bidi reordering, use
3118 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3119
39675016
DG
31202012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3121
3122 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3123 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3124 (ruby-beginning-of-indent): Be more careful with the difference
3125 between word-boundary and symbol boundary.
3126 (ruby-mode-syntax-table): Make : a symbol constituent.
3127
0a6934fc 31282012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3129
3d008e4f
SM
3130 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3131
0a6934fc
SM
31322012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3133
af67c9d7
SM
3134 * progmodes/etags.el (tags-completion-at-point-function):
3135 Improve last fix.
3136
1acad97c
SM
3137 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3138
e298b5da
SS
31392012-03-21 Sam Steingold <sds@gnu.org>
3140
3141 * progmodes/etags.el (tags-completion-at-point-function):
3142 Avoid the error when point is inside the pattern.
3143
91d82a70
JY
31442012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3145
3146 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3147 line (Bug#10855).
3148
69188b79
CY
31492012-03-21 Drew Adams <drew.adams@oracle.com>
3150
3151 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3152
99fc91fe
AK
31532012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3154
3155 * ido.el (ido-set-current-directory, ido-read-internal)
3156 (ido-choose-completion-string, ido-completion-help): Handle nil
3157 value of ido-completion-buffer (Bug#11008).
3158
087bbb4c
SS
31592012-03-21 Sam Steingold <sds@gnu.org>
3160
3161 * window.el (switch-to-prev-buffer): Do not switch to a visible
3162 window previous buffer, just like with the frame previous buffers.
3163
fb5b8aca
CY
31642012-03-21 Chong Yidong <cyd@gnu.org>
3165
3166 * faces.el (make-face, make-empty-face, copy-face):
3167 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3168 Doc fixes.
3169
dc9924b8
SM
31702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3173 (widget-complete): Remove broken use of it.
3174
f0bcceb9
CY
31752012-03-20 Chong Yidong <cyd@gnu.org>
3176
dc9924b8
SM
3177 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3178 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3179 characters.
3180
ee52ebf3
TH
31812012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3182
3183 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3184 to draw rectangles, not squares. (Regression introduced by revno
3185 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3186
4c5779ab
CY
31872012-03-18 Chong Yidong <cyd@gnu.org>
3188
3189 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3190 it is not yet defined (for temacs).
3191
15360934
LL
31922012-03-18 Leo Liu <sdl.web@gmail.com>
3193
dc9924b8 3194 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3195
d9a8eb66
EZ
31962012-03-17 Eli Zaretskii <eliz@gnu.org>
3197
3198 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3199 (ispell-choices-win-default-height, ispell-silently-savep)
3200 (ispell-dictionary-alist, ispell-encoding8-command)
3201 (ispell-check-version, ispell-aspell-find-dictionary)
3202 (ispell-valid-dictionary-list, ispell-words-keyword)
3203 (ispell-get-word, ispell-internal-change-dictionary)
3204 (ispell-region, ispell-skip-region-list)
3205 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3206 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3207 (ispell-message-text-end, ispell-message)
3208 (ispell-buffer-local-parsing): Doc fix.
3209
f02ff80d
J
32102012-03-13 Jambunathan K <kjambunathan@gmail.com>
3211
3212 * htmlfontify.el: Add support for code block fontification for ODT
3213 export (Bug #9914).
3214 (hfy-optimisations): Define new option
3215 `body-text-only'
3216 (hfy-fontify-buffer): Honor above setting.
3217 (hfy-begin-span, hfy-end-span): New routines factored out form
3218 `hfy-fontify-buffer'.
3219 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3220 that permit insertion of custom tags.
3221 (hfy-fontify-buffer): Use above handlers.
3222 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3223 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3224 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3225 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3226 bind a special variable `hfy-user-sheet-assoc'.
3227 (htmlfontify-string): New defun.
3228 (hfy-compile-face-map): Make sure that the last char in the
3229 buffer is correctly fontified.
3230 (hfy-face-resolve-face): Whitespace only change.
3231
9ac7a13f
EZ
32322012-03-17 Eli Zaretskii <eliz@gnu.org>
3233
3234 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3235 message more clear.
3236
e2b5bdd7
LL
32372012-03-16 Leo Liu <sdl.web@gmail.com>
3238
3239 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3240
2e492df3
AM
32412012-03-16 Alan Mackenzie <acm@muc.de>
3242
3243 Further optimise the handling of large macros.
3244
3245 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3246 limit to a call of `c-literal-limits'.
3247 (c-determine-+ve-limit): New function.
dc9924b8
SM
3248 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3249 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3250 In CASE 5B, restrict a search limit to 500.
3251 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3252
3253 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3254 Restrict macro bounds to +-500 from after-change's BEG END.
3255
50e94f0c
LL
32562012-03-16 Leo Liu <sdl.web@gmail.com>
3257
3258 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3259
6f09f6ed
AH
32602012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3261
3262 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3263 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3264
c7e73d51
GM
32652012-03-16 Glenn Morris <rgm@gnu.org>
3266
da986230
GM
3267 * view.el (view-buffer, view-buffer-other-window)
3268 (view-buffer-other-frame): Doc fixes re special mode-class.
3269
0835f01e
GM
3270 * subr.el (eval-after-load): If named feature is provided not from
3271 a file, run after-load forms. (Bug#10946)
3272
c7e73d51
GM
3273 * calendar/calendar.el (calendar-insert-at-column):
3274 Handle non-unit-width characters a bit better. (Bug#10978)
3275
3f2eafd1
CY
32762012-03-15 Chong Yidong <cyd@gnu.org>
3277
3278 * emacs-lisp/ring.el (ring-extend): New function.
3279 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3280
3281 * comint.el (comint-read-input-ring)
3282 (comint-add-to-input-history): Grow comint-input-ring lazily.
3283
103af3fe
SM
32842012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3285
663b1677
SM
3286 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3287 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3288
103af3fe
SM
3289 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3290 (imenu-add-to-menubar): Don't add a redundant index.
3291 (imenu-update-menubar): Handle a dynamically composed keymap.
3292
899cb7cb
KY
32932012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3294
3295 * mail/sendmail.el (mail-encode-header):
3296 Bind rfc2047-encode-encoded-words to nil.
3297
3809f91d
GM
32982012-03-13 Glenn Morris <rgm@gnu.org>
3299
3300 * calendar/calendar.el (calendar-string-spread):
3301 Handle non-unit-width characters a bit better. (Bug#10978)
3302
9e345a01
LL
33032012-03-13 Leo Liu <sdl.web@gmail.com>
3304
3305 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3306 directory and file as argument (Bug#10822).
3307
4a07df36
KS
33082012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3309
3310 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3311 For dynamically generated code, follow $PC.
3312 (gdb-disassembly-handler-custom): Handle no function name case.
3313
4aaa9356
TL
33142012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3315
3316 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3317 * emulation/ws-mode.el (ws-query-replace):
3318 * sort.el (sort-regexp-fields):
3319 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3320
225979da
SM
33212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * dabbrev.el: Fix cycle completion order (bug#10963).
3324 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3325 (dabbrev-completion): Don't use an obarray; provide
3326 a cycle-sort-function.
3327
e2f1fdab
LL
33282012-03-12 Leo Liu <sdl.web@gmail.com>
3329
dc9924b8 3330 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3331 (kill-do-not-save-duplicates): Doc fix.
3332
b19490ed
SM
33332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * dabbrev.el: Fix cycle completion (bug#10963).
3336 Use lexical binding and wrap to 80 columns.
3337 (dabbrev-completion): Delay computing the list of completions.
3338
4b05d722
KH
33392012-03-12 Kenichi Handa <handa@m17n.org>
3340
3341 * international/quail.el (quail-insert-kbd-layout): Surround each
3342 row by LRO and PDF instead of inserting many LRMs. Pad the left
3343 and right of each non-spacing marks. Insert invisible space
3344 between lower and upper characters to prevent composition.
3345
dbbc2e69
SM
33462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * minibuffer.el (minibuffer-complete): Don't get confused when the
3349 function is run twice via different commands (bug#10958).
3350 (complete-with-action): Fix docstring.
3351
292112ed
CY
33522012-03-12 Chong Yidong <cyd@gnu.org>
3353
5d1ac394
CY
3354 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3355 (nxml-completion-at-point-function): New function.
3356 (nxml-mode): Use it.
3357 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3358
292112ed
CY
3359 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3360 Load generated autoloads file before byte compiling (Bug#10970).
3361 (package--make-autoloads-and-compile): New helper fun.
3362
4098f8f7
CS
33632012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3364
3365 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3366
8f754691
MA
33672012-03-11 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * autorevert.el (auto-revert-handler): Ensure, that
3370 file-readable-p is applied only for local files or in
3371 auto-revert-tail-mode.
3372
e29ab36b
AS
33732012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3374
dbbc2e69
SM
3375 * server.el (server-eval-at): Handle non-tcp connections.
3376 Decode result string.
ad0bf5b6 3377
e29ab36b
AS
3378 * server.el (server-msg-size): New constant.
3379 (server-reply-print): New function.
3380 (server-eval-and-print): Use it.
3381 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3382 Handle -print-nonl.
3383
de5939ba
CS
33842012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3385
3386 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3387 (Bug#10987).
3388
0c93eabf
CY
33892012-03-11 Chong Yidong <cyd@gnu.org>
3390
397a688f
CY
3391 * simple.el (goto-line): Doc fix (Bug#9938).
3392
2cc775f9
CY
3393 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3394
0c93eabf
CY
3395 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3396 when finished (Bug#10963).
3397
c491fa41
MR
33982012-03-11 Martin Rudalics <rudalics@gmx.at>
3399
3400 * window.el (split-window-below): Fix bug in case where
3401 split-window-keep-point is nil (Bug#10971).
3402
300e8fa5
JL
34032012-03-11 Juri Linkov <juri@jurta.org>
3404
3405 * replace.el (replace-highlight): Set isearch-word to nil
3406 unconditionally. (Bug#10887)
3407
dbf6c5a1
EZ
34082012-03-10 Eli Zaretskii <eliz@gnu.org>
3409
3410 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3411 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3412 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3413 (mairix-widget-create-query): Add usage information about mairix
3414 search forms: negating words, searching for substrings, etc.
3415
b9e501de
JP
34162012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3417
3418 * international/fontset.el (font-encoding-alist): Add an entry for
3419 ksx1001 (Bug#5667).
3420
92795c91
RS
34212012-03-10 Richard Stallman <rms@gnu.org>
3422
1694e6c1
RS
3423 * mail/sendmail.el (mail-encode-header):
3424 Set rfc2047-encode-encoded-words.
3425
607e8555
RS
3426 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3427
de3bc99a
RS
3428 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3429 view buffer means not swapped.
3430 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3431 (rmail-write-region-annotate): Error if real text has disappeared.
3432
92795c91
RS
3433 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3434
699bd04e
CY
34352012-03-10 Chong Yidong <cyd@gnu.org>
3436
3437 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3438 * emulation/cua-base.el (cua--init-keymaps):
3439 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3440
570a1714
MR
34412012-03-10 Martin Rudalics <rudalics@gmx.at>
3442
dbbc2e69
SM
3443 * speedbar.el (speedbar-unhighlight-one-tag-line):
3444 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3445
82dcf4e4
CY
34462012-03-10 Chong Yidong <cyd@gnu.org>
3447
7a2c7ca7
CY
3448 * minibuffer.el (completion-in-region, completion-help-at-point):
3449 Give the completion field overlay a high priority (Bug#6830).
3450
82dcf4e4
CY
3451 * dired.el (dired-goto-file): Recognize absolute file name
3452 listings (Bug#7126).
3453 (dired-goto-file-1): New helper function.
3454 (dired-toggle-read-only): Inhibit warnings.
3455
052e28ac
MA
34562012-03-09 Michael Albinus <michael.albinus@gmx.de>
3457
75f1671a 3458 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3459 there are no properties.
3460
95d5e396
LL
34612012-03-09 Leo Liu <sdl.web@gmail.com>
3462
3463 * savehist.el (savehist-printable): Stricter check for string
3464 value (Bug#10937).
3465
3f018d6d
EZ
34662012-03-09 Eli Zaretskii <eliz@gnu.org>
3467
dbbc2e69
SM
3468 * mail/smtpmail.el (smtpmail-send-it):
3469 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3470 valid mbox format.
3471
f7fd3d79
GM
34722012-03-09 Glenn Morris <rgm@gnu.org>
3473
3474 * files.el (dir-locals-find-file):
3475 Don't check result is regular, readable.
3476 (dir-locals-read-from-file): Demote errors.
3477
6ff6e72f
EZ
34782012-03-08 Eli Zaretskii <eliz@gnu.org>
3479
dbbc2e69
SM
3480 * international/quail.el (quail-insert-kbd-layout):
3481 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3482 layout cell, to prevent their reordering by bidi display engine.
3483 For details, see the discussion in
3484 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3485
9cec7834
AM
34862012-03-08 Alan Mackenzie <acm@muc.de>
3487
3488 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3489 the starting position; make it extend the marked region when
3490 invoked repeatedly - all under appropriate circumstances.
3491 Fixes bugs #5525, #10906.
3492
9a40b8d4
GM
34932012-03-08 Glenn Morris <rgm@gnu.org>
3494
3495 * files.el (locate-dominating-file, dir-locals-find-file):
3496 Undo 2012-03-06 change.
3497
7a08ed35
EZ
34982012-03-07 Eli Zaretskii <eliz@gnu.org>
3499
dbbc2e69
SM
3500 * international/quail.el (quail-help):
3501 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3502 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3503 for the reason.
3504
5aca4f71 35052012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3506
3507 Avoid superfluous registering of signals. (Bug#10807)
3508
3509 * notifications.el (notifications-on-action-object)
3510 (notifications-on-close-object): New defvars.
3511 (notifications-on-action-signal, notifications-on-closed-signal):
3512 Unregister the signal if not needed any longer.
3513 (notifications-notify): Register `notifications-action-signal' or
3514 `notifications-closed-signal', if :on-action or :on-close has been
3515 passed as argument.
3516
78e8b10a
CY
35172012-03-07 Chong Yidong <cyd@gnu.org>
3518
3519 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3520 non-X platforms.
3521
69481eb8
GM
35222012-03-06 Glenn Morris <rgm@gnu.org>
3523
3524 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3525 (x-disown-selection-internal, x-get-selection-internal):
3526 Doc fix (add arglist signatures). (Bug#10783)
3527
133b8e11
KS
35282012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3529
3530 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3531 Handle breakpoints with no "type".
3532
99a83064
GM
35332012-03-06 Glenn Morris <rgm@gnu.org>
3534
3535 * files.el (locate-dominating-file): Add optional predicate argument.
3536 (dir-locals-find-file): Make use of above change.
3537
17798e78
TTN
35382012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3539
3540 * info.el (Info-insert-dir): Also try "dir.gz".
3541
eb182446
GM
35422012-03-06 Glenn Morris <rgm@gnu.org>
3543
8f2114ee
GM
3544 * files.el (dir-locals-find-file):
3545 Ignore non-readable or non-regular files. (Bug#10928)
3546
eb182446
GM
3547 * files.el (locate-dominating-file): Doc fix.
3548
24679323
AS
35492012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3550
3551 * calendar/calendar.el (calendar-set-mode-line):
3552 `getenv' returns a string. (Bug#10951)
3553
01d972a9
LL
35542012-03-05 Leo Liu <sdl.web@gmail.com>
3555
109aa8a9
LL
3556 * simple.el (backward-delete-char-untabify): Constrain point to
3557 field (Bug#10939).
3558
01d972a9
LL
3559 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3560
10607bea
CY
35612012-03-05 Chong Yidong <cyd@gnu.org>
3562
3563 * simple.el (count-words): If called from Lisp, return the word
3564 count, for symmetry with `count-lines'. Arglist changed.
3565 (count-words--message): Args changed. Consolidate counting code
3566 from count-words and count-words-region.
3567 (count-words-region): Caller changed.
3568 (count-lines-region): Make it an obsolete alias.
3569
5dd11cfe
TH
35702012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3571
3572 * saveplace.el (save-place-to-alist)
3573 (save-place-ignore-files-regexp): Allow value nil to disable this
3574 feature.
3575
c349f4e6
CY
35762012-03-04 Chong Yidong <cyd@gnu.org>
3577
3578 * faces.el (face-spec-reset-face): For the default face, reset the
3579 attributes to default values (Bug#10748).
3580
e627be4c
LMI
35812012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3582
3583 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3584 previous patch: Check `message-send-mail-function', and not the
3585 default function (bug#10897).
3586
ebeabff4
MA
35872012-03-04 Michael Albinus <michael.albinus@gmx.de>
3588
a41a6cf4
MA
3589 * notifications.el (notifications-on-action-signal)
3590 (notifications-on-closed-signal): Check for unique service name of
3591 incoming event. Fix error in removing entry.
ebeabff4 3592 (top): Register for signals with wildcard service name.
a41a6cf4 3593 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3594
c1ca42b4
CY
35952012-03-04 Chong Yidong <cyd@gnu.org>
3596
dc9924b8 3597 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3598
ea16568d
GM
35992012-03-04 Glenn Morris <rgm@gnu.org>
3600
3601 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3602 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3603 (expand-abbrev, define-abbrev-table): Doc fixes.
3604
fbae4637
LMI
36052012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3606
3607 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3608 `message-default-send-mail-function' and not `send-mail-function'
3609 when doing the prompting for `sendmail-query-once' before sending
3610 in Message buffers (bug#10897).
3611
a1e7225c
LMI
3612 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3613 This is inconsistent with all the other stream functions, which leave
3614 the setting up to the higher levels (if so wanted) (bug#10931).
3615
56d093a9
AM
36162012-03-02 Alan Mackenzie <acm@muc.de>
3617
3618 Depessimize the handling of very large macros.
3619
3620 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3621 (c-macro-cache-syntactic): New variables to implement a one
3622 element macro cache.
3623 (c-invalidate-macro-cache): New function.
3624 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3625 Adapt to use the new cache.
3626 (c-state-safe-place): Use better the cache of safe positions.
3627 (c-state-semi-nonlit-pos-cache)
3628 (c-state-semi-nonlit-pos-cache-limit):
3629 New variables for...
3630 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3631 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3632 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3633 Use c-state-semi-safe-place.
56d093a9 3634
dbbc2e69
SM
3635 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3636 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3637
817e5c3d
MA
36382012-03-02 Michael Albinus <michael.albinus@gmx.de>
3639
dbbc2e69
SM
3640 * jka-compr.el (jka-compr-call-process):
3641 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3642 not remote.
3643
a032a702
MA
36442012-03-01 Michael Albinus <michael.albinus@gmx.de>
3645
3646 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3647 access of FILE2, if FILE1 does not exist.
3648
99a54f21
MA
3649 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3650 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3651
3652 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3653 Add "PAGER=" to `process-environment'.
3654
f6561e1f
MM
36552012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3656
3657 * progmodes/sql.el: Bug fix
3658 (sql-get-login-ext): Save login values in globals.
3659 (sql-get-login): Use new version of `sql-get-login-ext'.
3660 (sql-interactive-mode): Set global `sql-connection' to nil.
3661 (sql-connect): Set global values for connection.
3662 (sql-product-interactive): Save global values as buffer local.
3663
2d44d9cc
LL
36642012-02-29 Leo Liu <sdl.web@gmail.com>
3665
3666 * abbrev.el (define-abbrevs): Reset sys to nil.
3667
96b49301 36682012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3669
bf7f9bc5
JB
3670 * files.el (file-equal-p): Rename from `files-equal-p'.
3671 Return nil when one or both files don't exist.
96b49301 3672 (file-subdir-of-p): Now only top directory must exists,
3673 return nil if it doesn't.
bf7f9bc5
JB
3674 (copy-directory): No need to test with `file-subdir-of-p' after
3675 creating dir.
3676 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3677 to `file-equal-p'.
96b49301 3678
44e97401
GM
36792012-02-28 Glenn Morris <rgm@gnu.org>
3680
3681 * shell.el (shell-mode):
3682 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3683 * play/landmark.el (landmark-font-lock-face-O):
3684 * play/handwrite.el (handwrite):
3685 * play/gomoku.el (gomoku-O):
3686 * net/browse-url.el (browse-url-browser-display):
3687 * international/mule.el (define-charset):
3688 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3689 * filesets.el (filesets-find-file-delay):
3690 * eshell/em-xtra.el (eshell-xtra):
3691 * eshell/em-unix.el (eshell-grep):
3692 * emulation/viper.el (viper-mode):
3693 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3694 * emacs-lisp/easymenu.el (easy-menu-define):
3695 * calendar/timeclock.el (timeclock-use-display-time):
3696 * bs.el (bs-mode):
3697 * bookmark.el (bookmark-save-flag):
3698 Doc fix (standardize possessive apostrophe usage).
3699
c98c6276
CY
37002012-02-27 Chong Yidong <cyd@gnu.org>
3701
bf7f9bc5
JB
3702 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3703 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3704
c98c6276
CY
3705 * font-lock.el (font-lock-specified-p): Rename from
3706 font-lock-spec-present. Callers changed.
3707
9c62cd04 37082012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3709
bf7f9bc5
JB
3710 * emacs-lisp/package.el (package-compute-transaction):
3711 Handle holding a package version to t in package-load-list.
8ac9e529 3712
530739c9
MA
37132012-02-26 Michael Albinus <michael.albinus@gmx.de>
3714
3715 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3716 (tramp-get-inode, tramp-get-device): Use cached values.
3717
487915d7
AM
37182012-02-26 Alan Mackenzie <acm@muc.de>
3719
3720 Check there is a font-lock specification before doing initial
3721 fontification.
3722
3723 * font-core.el (font-lock-mode): Move the conditional from
3724 :after-hook to font-lock-initial-fontify.
3725 (font-lock-default-function): Move the check for a specification
3726 to font-lock-spec-present.
3727
dc9924b8 3728 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3729 (font-lock-spec-present): New function.
3730
4fd96557
JB
37312012-02-26 Jim Blandy <jimb@red-bean.com>
3732
3733 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3734 (gdb-send): Apply it to the operand of the '-interpreter-exec
3735 console' command, so that we can pass arguments with (say) quotes
3736 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3737
9a4888c0
CY
37382012-02-26 Chong Yidong <cyd@gnu.org>
3739
07498861
CY
3740 * help-fns.el (describe-function-1): Clarify description of
3741 remapping (Bug#10844).
3742
9a4888c0
CY
3743 * files.el (files-equal-p): Doc fix.
3744 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3745 and quit the loop once a mismatch is found.
3746
ea8fb88d
JB
37472012-02-25 Juanma Barranquero <lekktu@gmail.com>
3748
3749 * bs.el (bs--show-with-configuration): Don't throw an error
3750 if the window cannot be split; otherwise, subsequent calls to
3751 bs-show fail, restoring a stale window config. (Bug#10882)
3752
525795c1
JD
37532012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3754
3755 * term/ns-win.el (global-map): Bind ns-drag-file to
3756 ns-find-file (Bug#5855, Bug#10050).
3757
f008086f
AS
37582012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3759
3760 * calendar/parse-time.el (parse-time-string): Allow extractor to
3761 return nil.
3762
a3fcfa99
MA
37632012-02-25 Michael Albinus <michael.albinus@gmx.de>
3764
91027d08
JB
3765 * net/tramp.el (tramp-file-name-for-operation):
3766 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3767
3768 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3769 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3770 Add COPY-CONTENTS argument.
a3fcfa99 3771
67b0de11
CY
37722012-02-25 Chong Yidong <cyd@gnu.org>
3773
3774 Add custom groups for VC backends, for consistency with vc-bzr.
3775
3776 * vc/vc-arch.el (vc-arch):
3777 * vc/vc-cvs.el (vc-cvs):
3778 * vc/vc-git.el (vc-git):
3779 * vc/vc-hg.el (vc-hg):
3780 * vc/vc-mtn.el (vc-mtn):
3781 * vc/vc-rcs.el (vc-rcs):
3782 * vc/vc-sccs.el (vc-sccs):
3783 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3784 All relevant defcustoms reassigned.
3785
3c9dfce6
CY
37862012-02-25 Chong Yidong <cyd@gnu.org>
3787
1339bf43
CY
3788 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3789
3c9dfce6
CY
3790 * term/x-win.el (x-initialize-window-system): Reduce default for
3791 x-selection-timeout to 5 seconds (Bug#8869).
3792
25b2e303 37932012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3794
ec70a47d
GM
3795 * files.el (files-equal-p, file-subdir-of-p): New functions.
3796 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3797 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3798 * dired-aux.el (dired-copy-file-recursive): Same.
3799 (dired-create-files): Modify destination when source is equal to
3800 dest when copying files.
53a46cd0 3801 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3802
914260cd
MA
38032012-02-24 Michael Albinus <michael.albinus@gmx.de>
3804
3805 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3806 (Bug#10874)
3807
2cb228f7
AM
38082012-02-23 Alan Mackenzie <acm@muc.de>
3809
3810 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3811 parameter "after-hook:" to allow the expansion to run code after
3812 the execution of the mode hooks.
3813
3814 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3815 from font-lock-mode-internal.
2cb228f7 3816
91027d08 3817 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3818 :after-hook.
3819
8f0fde21
SM
38202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3e88618b
SM
3822 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3823 (completion--cache-all-sorted-completions): New function.
3824 (completion-all-sorted-completions): Use it.
3825 (completion--do-completion, minibuffer-force-complete):
3826 Use it to re-instate the flush hook.
3827
8f0fde21
SM
3828 * icomplete.el (icomplete-completions): Replace last fix with a better
3829 one (bug#10850).
3830
8e911f6f
DG
38312012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3832
3833 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3834 when it might call us back infinitely (bug#10797).
3835
49fe4321
GM
38362012-02-23 Glenn Morris <rgm@gnu.org>
3837
3838 * minibuffer.el (completion-category-overrides): Doc fix.
3839
b291b572
SM
38402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3843 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3844
31a9ef2e
GM
38452012-02-23 Glenn Morris <rgm@gnu.org>
3846
5e6e6794 3847 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3848 (authors-obsolete-files-regexps, authors-ignored-files)
3849 (authors-ambiguous-files, authors-renamed-files-alist):
3850 Add more entries.
3851
0bd1e074
JL
38522012-02-23 Juri Linkov <juri@jurta.org>
3853
3854 * isearch.el (isearch-occur): Sync interactive spec with occur's
3855 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3856
b617673c
JL
3857 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3858
19e9789e
JL
38592012-02-22 Juri Linkov <juri@jurta.org>
3860
3861 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3862 (ucs-insert): Doc fix. Check for hex digits in the string.
3863 Don't display `nil' in the error message. (Bug#10857)
3864
f41ce09d
AM
38652012-02-22 Alan Mackenzie <acm@muc.de>
3866
7a71b18d 3867 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3868
ac2eceee
GM
38692012-02-22 Glenn Morris <rgm@gnu.org>
3870
3871 * ffap.el (ffap-c-path):
3872 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3873
abd1f678
CY
38742012-02-22 Chong Yidong <cyd@gnu.org>
3875
3876 * custom.el (load-theme): Doc fix.
3877
f25aef2e
GM
38782012-02-22 Glenn Morris <rgm@gnu.org>
3879
3880 * dired-x.el (dired-guess-shell-alist-default):
3881 Remove escape sequences from nroff output. (Bug#172)
3882
5f8dc2ca
GM
38832012-02-21 Glenn Morris <rgm@gnu.org>
3884
6ff86ec4
GM
3885 * vc/emerge.el (emerge-defvar-local):
3886 Set `permanent-local' property rather than unused `preserved'.
3887
be3223a3 3888 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3889 (picture-mode-map): Use it. (Bug#10860)
3890 (picture-mode): Doc fix.
3891
3fe58f4f
JB
38922012-02-21 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * newcomment.el (uncomment-region-default): Remove unused binding.
3895
f9a998c3
GM
38962012-02-21 Glenn Morris <rgm@gnu.org>
3897
3898 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3899 (picture-self-insert, picture-tab-chars): Doc fix.
3900 (picture-mode-map): Fix C-a, C-e.
3901
c6029348
GM
39022012-02-20 Glenn Morris <rgm@gnu.org>
3903
3904 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3905
ab1ce9d7
LL
39062012-02-20 Leo Liu <sdl.web@gmail.com>
3907
3908 * icomplete.el (icomplete-completions): Check FROM arg before
3909 passing to substring (Bug#10850).
3910
0fd40f89
CY
39112012-02-19 Chong Yidong <cyd@gnu.org>
3912
3913 * comint.el: Require ansi-color.
3914 (comint-output-filter-functions): Add ansi-color-process-output.
3915
3916 * ansi-color.el: Don't set comint-output-filter-functions; it is
3917 now in the initial value defined in comint.el.
3918 (ansi-color-apply-face-function): New variable.
3919 (ansi-color-apply-on-region): Use it.
3920 (ansi-color-apply-overlay-face): New function.
3921
3922 * shell.el (shell): No need to require ansi-color.
3923 (shell-mode): Use ansi-color-apply-face-function to highlight
3924 color escapes using font-lock-face property (Bug#10835).
3925
20af2394
CY
39262012-02-19 Chong Yidong <cyd@gnu.org>
3927
3928 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3929 mode-line formats (Bug#10839).
3930
e23a3fbe
GM
39312012-02-18 Glenn Morris <rgm@gnu.org>
3932
b474519e
GM
3933 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3934
3935 * mail/undigest.el (unforward-rmail-message): Doc fix.
3936
e23a3fbe
GM
3937 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3938
57939ff4
EZ
39392012-02-18 Eli Zaretskii <eliz@gnu.org>
3940
3941 * international/characters.el (script-list): Sync with the latest
3942 Unicode Character Database.
3943
0c23686e
AS
39442012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3945
3946 * international/titdic-cnv.el: Remove duplicate coding tag.
3947 * language/cham.el: Likewise.
3948 * language/tai-viet.el: Likewise.
3949
6818b449
GM
39502012-02-18 Glenn Morris <rgm@gnu.org>
3951
3952 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3953 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3954 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3955 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3956 * calendar/holidays.el (holiday-bahai-holidays)
3957 (calendar-holidays, list-holidays):
3958 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
3959
0311a3fc
TH
39602012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3961
3962 * saveplace.el (save-place-ignore-files-regexp): New variable
3963 allowing for excluding files from saving their location of point.
3964 The default value matches the temporary commit message editing
3965 files from Git, SVN, Bazaar, and Mercurial.
3966 (save-place-to-alist): Use it.
3967
eb864a71
LM
39682012-02-17 Lawrence Mitchell <wence@gmx.li>
3969 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * newcomment.el (uncomment-region-default): Don't leave extra space
3972 when an arg is provided (bug#8150).
3973
ee0ce425
TZ
39742012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3975
eb864a71 3976 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3977
95ddf442
GM
39782012-02-17 Glenn Morris <rgm@gnu.org>
3979
3980 * net/socks.el: Require network-stream. (Bug#10599)
3981
48dd1e39 39822012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3983
3984 * international/charprop.el:
3985 * international/uni-name.el:
3986 * international/uni-old-name.el:
3987 * international/uni-comment.el: Regenerate.
3988
d68cd087
GM
39892012-02-16 Glenn Morris <rgm@gnu.org>
3990
3991 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3992 Interactively in calendar buffer, give an error if not on a date.
3993
13932042
GM
39942012-02-15 Glenn Morris <rgm@gnu.org>
3995
3996 * shell.el (shell-delimiter-argument-list):
3997 Revert 2011-02-17 change. (Bug#8027)
3998
c3a70e2b
CY
39992012-02-15 Chong Yidong <cyd@gnu.org>
4000
60236b0d
CY
4001 * minibuffer.el (completion-at-point-functions): Doc fix.
4002
c3a70e2b
CY
4003 * custom.el (defcustom): Doc fix; note use of defvar.
4004
9f26dc24
GM
40052012-02-15 Glenn Morris <rgm@gnu.org>
4006
4007 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4008 Doc fixes.
4009
6546b134
GM
40102012-02-14 Glenn Morris <rgm@gnu.org>
4011
4012 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4013
d29b2b4c
LI
40142012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4015
4016 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4017 way the ports list is computed.
835bdcba
LI
4018 (smtpmail-query-smtp-server): Prompt the user for a port number if
4019 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4020
08dcdbc9
TZ
40212012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4022
4023 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4024
2605051a
GM
40252012-02-13 Glenn Morris <rgm@gnu.org>
4026
4027 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4028
7ee99f32
TZ
40292012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4030
4031 * net/gnutls.el (gnutls-trustfiles): New variable.
4032 (gnutls-negotiate): Use it.
4033
5f0af64f
LI
40342012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4035
4036 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4037 does its stuff if Gnus is running.
4038
c14fcc95
AM
40392012-02-13 Alan Mackenzie <acm@muc.de>
4040
4041 Fix a loop in c-set-fl-decl-start.
4042
7a71b18d 4043 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4044 c-backward-syntactic-ws actually moves backwards.
4045
142b4d90
LL
40462012-02-13 Leo Liu <sdl.web@gmail.com>
4047
4048 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4049 beginning so that all \C-o chars are removed.
4050
fa9958a6
TZ
40512012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4052
dc9924b8 4053 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4054
0bc5886a
AM
40552012-02-12 Alan Mackenzie <acm@muc.de>
4056
4057 Fix infinite loop with long macros.
4d6769e1 4058 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4059
d4bd55e7
CY
40602012-02-12 Chong Yidong <cyd@gnu.org>
4061
4062 * window.el (display-buffer): Doc fix (Bug#10785).
4063
66f3fe22
GM
40642012-02-12 Glenn Morris <rgm@gnu.org>
4065
bd7da63e
GM
4066 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4067 (x-disown-selection-internal, x-get-selection-internal):
4068 Sync docs with the xselect.c versions.
4069
66f3fe22
GM
4070 * allout-widgets.el: Add missing license notice.
4071
3e0d2fa7
GM
40722012-02-11 Glenn Morris <rgm@gnu.org>
4073
cfecdf09
GM
4074 * select.el (x-get-selection-internal, x-own-selection-internal)
4075 (x-disown-selection-internal):
4076 * x-dnd.el (x-get-selection-internal): Update declarations.
4077
6d216d7f
GM
4078 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4079
2bed3f04
GM
4080 * window.el (window-sides-slots):
4081 * tool-bar.el (tool-bar-position):
4082 * term/xterm.el (xterm-extra-capabilities):
4083 * ses.el (ses-self-reference-early-detection):
4084 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4085 (verilog-auto-wire-type)
4086 (verilog-auto-delete-trailing-whitespace)
4087 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4088 (verilog-auto-tieoff-declaration):
4089 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4090 (sql-oracle-statement-starters, sql-oracle-scan-on):
4091 * progmodes/prolog.el (prolog-align-comments-flag)
4092 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4093 (prolog-left-indent-regexp, prolog-paren-indent-p)
4094 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4095 (prolog-types, prolog-mode-specificators)
4096 (prolog-determinism-specificators, prolog-directives)
4097 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4098 (prolog-electric-dot-flag)
4099 (prolog-electric-dot-full-predicate-template)
4100 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4101 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4102 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4103 (prolog-program-switches, prolog-prompt-regexp)
4104 (prolog-debug-on-string, prolog-debug-off-string)
4105 (prolog-trace-on-string, prolog-trace-off-string)
4106 (prolog-zip-on-string, prolog-zip-off-string)
4107 (prolog-use-standard-consult-compile-method-flag)
4108 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4109 (prolog-imenu-max-lines, prolog-info-predicate-index)
4110 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4111 (prolog-char-quote-workaround):
4112 * progmodes/cc-vars.el (c-defun-tactic):
4113 * net/tramp.el (tramp-encoding-command-interactive)
4114 (tramp-local-end-of-line):
4115 * net/soap-client.el (soap-client):
4116 * net/netrc.el (netrc-file):
4117 * net/gnutls.el (gnutls):
4118 * minibuffer.el (completion-category-overrides)
4119 (completion-cycle-threshold)
4120 (completion-pcm-complete-word-inserts-delimiters):
4121 * man.el (Man-name-local-regexp):
4122 * mail/feedmail.el (feedmail-display-full-frame):
4123 * international/characters.el (glyphless-char-display-control):
4124 * eshell/em-ls.el (eshell-ls-date-format):
4125 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4126 (lisp-lambda-list-keyword-parameter-indentation)
4127 (lisp-lambda-list-keyword-parameter-alignment):
4128 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4129 * dired-x.el (dired-omit-verbose):
4130 * cus-theme.el (custom-theme-allow-multiple-selections):
4131 * calc/calc.el (calc-highlight-selections-with-faces)
4132 (calc-lu-field-reference, calc-lu-power-reference)
4133 (calc-note-threshold):
4134 * battery.el (battery-mode-line-limit):
4135 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4136 (archive-7z-update):
4137 * allout.el (allout-prefixed-keybindings)
4138 (allout-unprefixed-keybindings)
4139 (allout-inhibit-auto-fill-on-headline)
4140 (allout-flattened-numbering-abbreviation):
4141 * allout-widgets.el (allout-widgets-auto-activation)
4142 (allout-widgets-icons-dark-subdir)
4143 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4144 (allout-widgets-theme-dark-background)
4145 (allout-widgets-theme-light-background)
4146 (allout-widgets-item-image-properties-emacs)
4147 (allout-widgets-item-image-properties-xemacs)
4148 (allout-widgets-run-unit-tests-on-load)
4149 (allout-widgets-time-decoration-activity)
4150 (allout-widgets-hook-error-post-time)
4151 (allout-widgets-track-decoration):
4152 Add missing :version tags to new defcustoms and defgroups.
4153
5fec1b8e
GM
4154 * progmodes/sql.el (sql-ansi-statement-starters)
4155 (sql-oracle-statement-starters): Add custom type.
4156
3e0d2fa7
GM
4157 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4158 (prolog-system-version): Give it a type.
4159
90b671e2
EZ
41602012-02-11 Eli Zaretskii <eliz@gnu.org>
4161
4162 * term/pc-win.el (x-select-text, x-selection-owner-p)
4163 (x-own-selection-internal, x-disown-selection-internal)
4164 (x-get-selection-internal): Sync doc strings and argument lists
4165 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4166
5eac0c02
LL
41672012-02-11 Leo Liu <sdl.web@gmail.com>
4168
4169 * progmodes/python.el (python-end-of-statement): Fix infinite
4170 loop. (Bug#10788)
4171
f82cb659
GM
41722012-02-10 Glenn Morris <rgm@gnu.org>
4173
4174 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4175 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4176
cc26d239
LI
41772012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4178
4179 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4180 about SMTP before checking the From header.
4181
91027d08 4182 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4183 into own function for reuse by emacsbug.el.
4184
1be3ca5a
LL
41852012-02-10 Leo Liu <sdl.web@gmail.com>
4186
4187 * subr.el (condition-case-unless-debug): Rename from
4188 condition-case-no-debug. All callers changed.
4189 (with-demoted-errors): Fix caller.
4190
4191 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4192 * nxml/rng-valid.el (rng-do-some-validation):
4193 * emacs-lisp/package.el (package-refresh-contents)
4194 (package-menu-execute):
4195 * desktop.el (desktop-create-buffer):
91027d08 4196 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4197
b011fbfe
GM
41982012-02-10 Glenn Morris <rgm@gnu.org>
4199
b2096d72
GM
4200 * textmodes/bibtex.el:
4201 Add missing :version tags for new/changed defcustoms.
4202
b011fbfe
GM
4203 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4204
4c7e65bf
LI
42052012-02-09 Lars Ingebrigtsen <larsi@rusty>
4206
4207 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4208 (smtpmail-via-smtp): Use it, or fall back on the From address.
4209 (smtpmail-send-it): Ditto.
4210
f3934f6f
SM
42112012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4214 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4215 (byte-compile-tmp-var): New const.
4216 (byte-compile-defvar): Use it to minimize .elc size.
4217 Just use `defvar' rather than simulate it (bug#10761).
4218
a075a2c5
GM
42192012-02-09 Glenn Morris <rgm@gnu.org>
4220
cf3aa21b
GM
4221 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4222
354998cd
GM
4223 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4224 Add :version tags.
4225
dc9924b8
SM
4226 * progmodes/compile.el (compilation-error-screen-columns)
4227 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4228
dab3703d
GM
4229 * vc/log-view.el (log-view-toggle-entry-display):
4230 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4231
3f88cd72
GM
4232 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4233 (report-emacs-bug-can-use-xdg-email):
4234 (report-emacs-bug-insert-to-mailer): Doc fixes.
4235 (report-emacs-bug): Message fix.
4236
d95b247d
GM
4237 * net/browse-url.el (browse-url-can-use-xdg-open)
4238 (browse-url-xdg-open): Doc fixes.
4239
a075a2c5
GM
4240 * electric.el (electric-indent-mode, electric-pair-mode)
4241 (electric-layout-rules, electric-layout-mode): Doc fixes.
4242 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4243
ffb6157e
MR
42442012-02-08 Martin Rudalics <rudalics@gmx.at>
4245
4246 * server.el (server-unselect-display): Don't inadvertently kill
4247 the current buffer. (Bug#10729)
4248
e1ac4066
GM
42492012-02-08 Glenn Morris <rgm@gnu.org>
4250
34e8a2da
GM
4251 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4252 (sql-list-table): Doc fixes.
4253
b4ac6e8c
GM
4254 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4255 Comment out (does nothing).
4256
e1ac4066
GM
4257 * completion.el (dynamic-completion-mode):
4258 * dirtrack.el (dirtrack-debug-mode):
4259 * electric.el (electric-layout-mode):
4260 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4261 * face-remap.el (text-scale-mode, buffer-face-mode):
4262 * iimage.el (iimage-mode):
4263 * image-mode.el (image-transform-mode):
4264 * minibuffer.el (completion-in-region-mode):
4265 * scroll-lock.el (scroll-lock-mode):
4266 * simple.el (next-error-follow-minor-mode):
4267 * tar-mode.el (tar-subfile-mode):
4268 * tooltip.el (tooltip-mode):
4269 * vcursor.el (vcursor-use-vcursor-map):
4270 * wid-browse.el (widget-minor-mode):
4271 * emulation/tpu-edt.el (tpu-edt-mode):
4272 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4273 * international/iso-ascii.el (iso-ascii-mode):
4274 * language/thai-util.el (thai-word-mode):
4275 * mail/supercite.el (sc-minor-mode):
4276 * net/goto-addr.el (goto-address-mode):
4277 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4278 * progmodes/cwarn.el (cwarn-mode):
4279 * progmodes/flymake.el (flymake-mode):
4280 * progmodes/glasses.el (glasses-mode):
4281 * progmodes/hideshow.el (hs-minor-mode):
4282 * progmodes/pascal.el (pascal-outline-mode):
4283 * textmodes/enriched.el (enriched-mode):
4284 * vc/smerge-mode.el (smerge-mode):
4285 Doc fixes (minor mode argument).
4286
5e0d957f
EZ
42872012-02-07 Eli Zaretskii <eliz@gnu.org>
4288
4289 * ls-lisp.el (ls-lisp-sanitize): New function.
4290 (ls-lisp-insert-directory): Use it to fix or remove any elements
4291 in file-alist with missing attributes. (Bug#4673)
4292
98d7371e
AM
42932012-02-07 Alan Mackenzie <acm@muc.de>
4294
4295 Fix spurious recognition of c-in-knr-argdecl.
4296
4297 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4298 putative K&R region.
4299
667ced3a
AM
43002012-02-07 Alan Mackenzie <acm@muc.de>
4301
eb864a71
LM
4302 * progmodes/cc-engine.el (c-forward-objc-directive):
4303 Prevent looping in "#pragma mark @implementation".
667ced3a 4304
5b77774d
MA
43052012-02-07 Michael Albinus <michael.albinus@gmx.de>
4306
4307 * notifications.el (notifications-on-closed-signal): Make `reason'
4308 optional. (Bug#10744)
4309
af008560
GM
43102012-02-07 Glenn Morris <rgm@gnu.org>
4311
60d47423
GM
4312 * emacs-lisp/easy-mmode.el (define-minor-mode):
4313 Doc fixes for the macro and the mode it defines.
4314
dd605cc4
GM
4315 * image.el (imagemagick-types-inhibit): Doc fix.
4316
af008560
GM
4317 * cus-start.el (imagemagick-render-type): Add it.
4318
5cc59a37
LI
43192012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4320
4d6769e1
JB
4321 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4322 Set the default at load time, too, so that `font-lock-fontify-buffer'
4323 can be called without setting up the entire mode first. This fixes
4324 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4325
9a6dd747
CY
43262012-02-06 Chong Yidong <cyd@gnu.org>
4327
2d16b285
CY
4328 * simple.el (list-processes--refresh): Delete exited processes
4329 (Bug#8094).
4330
171e9b6e
CY
4331 * comint.el (comint-next-prompt): next-single-char-property-change
4332 and prev-single-char-property-change never return nil (Bug#8657).
4333
9a6dd747
CY
4334 * custom.el (defcustom): Doc fix (Bug#9711).
4335
aa4589a7
CY
43362012-02-05 Chong Yidong <cyd@gnu.org>
4337
5c2a252f
CY
4338 * cus-edit.el (custom-variable-reset-backup): Quote the value
4339 before storing it in the customized-value property (Bug#6712).
4aab9006 4340 (custom-display): Add a customization type tag.
983b9602 4341 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4342
aa4589a7
CY
4343 * wid-edit.el (widget-field-value-get): New optional arg to
4344 suppress trailing whitespace truncation.
4345 (character): Use it (Bug#2689).
4346
1ff980ae
AS
43472012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4350 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4351
03988c98
CY
43522012-02-05 Chong Yidong <cyd@gnu.org>
4353
eeb6cc88
CY
4354 * cus-edit.el (custom-variable-value-create): For mismatched
4355 types, show the current value (Bug#7600).
4356
03988c98
CY
4357 * custom.el (defcustom): Doc fix.
4358
f8cdeef0
GM
43592012-02-05 Glenn Morris <rgm@gnu.org>
4360
4361 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4362
0696d255
JB
43632012-02-05 Juanma Barranquero <lekktu@gmail.com>
4364
4365 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4366 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4367 (pp-last-sexp): Use `looking-at-p'.
4368
34c99998
GM
43692012-02-04 Glenn Morris <rgm@gnu.org>
4370
8f05da42
GM
4371 * files.el (revert-buffer):
4372 Doc fix (mention revert-buffer-in-progress-p).
4373
f160676e
GM
4374 * emacs-lisp/ert-x.el (ert-simulate-command):
4375 Check deferred-action-list (which is obsolete) is bound.
4376
c7291ad9
GM
4377 * subr.el (with-wrapper-hook): Doc fixes.
4378
34c99998
GM
4379 * simple.el (filter-buffer-substring-functions)
4380 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4381
6283a7d3
LL
43822012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4383
4384 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4385 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4386
e96e3013
LL
43872012-02-04 Leo Liu <sdl.web@gmail.com>
4388
4389 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4390
8ded50f2
GM
43912012-02-04 Glenn Morris <rgm@gnu.org>
4392
82ff1d13
GM
4393 * image.el (image-extension-data): Add obsolete alias.
4394
987a0a16
GM
4395 * isearch.el (isearch-update): Doc fix.
4396
ea32ef46
GM
4397 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4398
8ded50f2
GM
4399 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4400
eea14f31
GM
44012012-02-03 Glenn Morris <rgm@gnu.org>
4402
4403 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4404 (image-animate-timeout): Doc fix.
4405
4406 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4407
12f381b7
GM
44082012-02-02 Glenn Morris <rgm@gnu.org>
4409
953cebf5
GM
4410 * server.el (server-auth-dir): Doc fix.
4411 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4412
12f381b7
GM
4413 * subr.el (run-mode-hooks): Doc fix.
4414
953a8c3b
JL
44152012-02-02 Juri Linkov <juri@jurta.org>
4416
4417 * image-mode.el (image-toggle-display-image): Remove tautological
4418 `major-mode' from the `derived-mode-p' test.
4419
c5d3843c
KH
44202012-02-02 Kenichi Handa <handa@m17n.org>
4421
9f6e692e 4422 * composite.el (compose-region): Cancel previous change.
c5d3843c 4423
159462d4 44242012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4425
4426 * composite.el (compose-region, compose-string): Signal error for
4427 a null string component (Bug#6988).
4428
9f562668
CY
44292012-02-01 Chong Yidong <cyd@gnu.org>
4430
e2cef717
CY
4431 * view.el (view-buffer-other-window, view-buffer-other-frame):
4432 Handle special modes like view-buffer (Bug#10650).
4433 (view-buffer): Simplify.
4434
9f562668
CY
4435 * frame.el (set-frame-font): Tweak meaning of third argument.
4436
9f6e692e
JB
4437 * dynamic-setting.el (font-setting-change-default-font):
4438 Use set-frame-font (Bug#9982).
9f562668 4439
781acb9f
GM
44402012-02-01 Glenn Morris <rgm@gnu.org>
4441
6035be52
GM
4442 * progmodes/compile.el (compilation-internal-error-properties):
4443 Respect compilation-first-column in the "*compilation*" buffer.
4444
781acb9f
GM
4445 * emacs-lisp/easy-mmode.el (define-minor-mode):
4446 Relax :variable's test for a named function.
4447
abbceb00
AM
44482012-01-31 Alan Mackenzie <acm@muc.de>
4449
4450 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4451 off by one error.
4452
fce3fdeb
CY
44532012-01-31 Chong Yidong <cyd@gnu.org>
4454
4455 * frame.el (set-frame-font): New arg ALL-FRAMES.
4456
4457 * menu-bar.el (menu-set-font): Use set-frame-font.
4458
4459 * faces.el (face-spec-reset-face): Don't apply unspecified
4460 attribute values to the default face.
4461
47893581
JB
44622012-01-31 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * progmodes/cwarn.el (cwarn): Remove dead link.
4465 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4466 Remove * from defcustom docstrings.
4467 (turn-on-cwarn-mode): Make obsolete.
4468 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4469 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4470
e58e988a
GM
44712012-01-31 Glenn Morris <rgm@gnu.org>
4472
60dc2671 4473 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4474 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4475 Allow named functions to be used as the cdr of :variable.
e58e988a 4476
7a3f511d
GM
44772012-01-30 Glenn Morris <rgm@gnu.org>
4478
4479 * emacs-lisp/authors.el (authors-fixed-entries):
4480 Remove reference to deleted file rnewspost.el.
4481
cb882333
JB
44822012-01-29 Juanma Barranquero <lekktu@gmail.com>
4483
4484 * window.el (window-with-parameter): Remove unused variable `windows'.
4485 (window--side-check): Remove unused variable `code'.
4486 (window--resize-siblings): Remove unused variable `first'.
4487 (adjust-window-trailing-edge): Remove unused variable `failed'.
4488 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4489 Use `let', not `let*'.
4490 (balance-windows-2): Remove unused variable `found'.
4491 (window--state-put-2): Remove unused variable `splits'.
4492 (window-state-put): Remove unused variable `selected'.
4493 (same-window-p): Use `string-match-p'.
4494 (display-buffer-assq-regexp): Remove unused variable `value'.
4495 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4496 Mark argument ALIST as ignored.
4497 (pop-to-buffer): Remove unused variable `old-window'.
4498
907201af
EZ
44992012-01-29 Eli Zaretskii <eliz@gnu.org>
4500
4501 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4502 and .lzma compressed files.
4503
ea162670
CY
45042012-01-29 Chong Yidong <cyd@gnu.org>
4505
5b95ee8a
CY
4506 * frame.el (window-system-default-frame-alist): Doc fix.
4507
ea162670
CY
4508 * dynamic-setting.el (font-setting-change-default-font): Don't
4509 change the default face if SET-FONT argument is non-nil (Bug#9982).
4510
d6e6f4b1
SB
45112012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4512
4513 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4514
0f29fa41 45152012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4516
4517 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4518 breakpoints in files outside current directory (Bug#6098).
4519
db174434
CY
45202012-01-29 Chong Yidong <cyd@gnu.org>
4521
6b25e4e2
SE
4522 * progmodes/python.el: Require ansi-color at top-level.
4523
6df6ae42
JB
4524 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4525 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4526 (lisp-mode-abbrev-table): Add doc.
4527 (lisp-mode-variables): Don't set local-abbrev-table.
4528 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4529
e70ee681
RW
45302012-01-28 Roland Winkler <winkler@gnu.org>
4531
4532 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4533
ace88aa2
RW
45342012-01-28 Roland Winkler <winkler@gnu.org>
4535
4536 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4537 (bibtex-set-dialect): Use it. Either set global values of
4538 dialect-dependent variables or bind these variables buffer-locally
4539 (Bug#10254).
4540 (bibtex-mode): Call bibtex-set-dialect via
4541 hack-local-variables-hook.
eb864a71
LM
4542 (bibtex-dialect): Update docstring.
4543 Add safe-local-variable predicate.
ace88aa2
RW
4544 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4545 bibtex-set-dialect.
4546 (bibtex-mode-map): Define menu for each dialect.
4547 (bibtex-entry): Fix docstring.
4548
93376c5b
CY
45492012-01-28 Chong Yidong <cyd@gnu.org>
4550
4551 * eshell/esh-arg.el (eshell-quote-argument): New function.
4552
4553 * eshell/esh-ext.el (eshell-invoke-batch-file):
4554 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4555 first arg to eshell-parse-command (Bug#10523).
4556
4372494f
DA
45572012-01-28 Drew Adams <drew.adams@oracle.com>
4558
4559 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4560 `default-directory' is non-nil.
4561
4d4ec1f8
EZ
45622012-01-28 Eli Zaretskii <eliz@gnu.org>
4563
4564 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4565 line that displays system-configuration-options. (Bug#9924)
4566
7c188927
DA
45672012-01-28 Drew Adams <drew.adams@oracle.com>
4568
4569 * descr-text.el (describe-char): Show information about POS, in
4570 addition to information about the character at POS. Improve and
4571 update the doc string. Change "code point" to "code point in
4572 charset", to avoid confusion with the character's Unicode code
4573 point shown above that. (Bug#10129)
4574
e0da685a
EZ
45752012-01-28 Eli Zaretskii <eliz@gnu.org>
4576
4577 * descr-text.el (describe-char): Show the raw character, not only
4578 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4579 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4580 for the reasons.
4581
70550acf
PH
45822012-01-28 Phil Hagelberg <phil@hagelb.org>
4583
eb864a71
LM
4584 * emacs-lisp/package.el (package-install):
4585 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4586
0ce8e868
CY
45872012-01-28 Chong Yidong <cyd@gnu.org>
4588
cb882333
JB
4589 * emacs-lisp/package.el (package-maybe-load-descriptor):
4590 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4591 (package-maybe-load-descriptor): Use it.
4592 (package-download-transaction): Fully load required packages
4593 inside the loop, so that `require' calls work (Bug#10593).
4594 (package-install): No need to call package-initialize now.
4595
2e7f3bea
CY
45962012-01-28 Chong Yidong <cyd@gnu.org>
4597
6e9bad14
CY
4598 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4599
f823b8ca
CY
4600 * tooltip.el (tooltip-mode): Doc fix.
4601 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4602
2680c309
CY
4603 * frame.el (set-cursor-color): Doc fix (Bug#352).
4604
d7a9e63b
CY
4605 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4606 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4607
2e7f3bea
CY
4608 * cus-edit.el (custom-buffer-create-internal): Fix search button
4609 action (Bug#10542).
2ae01800 4610 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4611
fc4f7a23
EW
46122012-01-27 Eduard Wiebe <usenet@pusto.de>
4613
4614 * dired.el (dired-mark-files-regexp):
4615 Include any subdirectory components. (Bug#10445)
4616
7dd37071
ML
46172012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4618
4619 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4620 Handle [host]:port syntax. (Bug#10533)
4621
a268160b
AH
46222012-01-27 Alex Harsanyi <harsanyi@mac.com>
4623
4624 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4625
e43273ef
GM
46262012-01-26 Glenn Morris <rgm@gnu.org>
4627
4628 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4629 * term.el (term-raw-escape-map): Use Control-X-prefix.
4630 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4631
1edf595d
MR
46322012-01-25 Martin Rudalics <rudalics@gmx.at>
4633
4634 * window.el (window-state-get, window--state-get-1): Don't deal
4635 with fixed-sizeness of windows. Simplify code.
4636
fa8eafef
JC
46372012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4638
6df6ae42
JB
4639 * window.el (window--state-get-1, window--state-put-2):
4640 Don't save and restore the mark.
fa8eafef 4641
0b21c100
CY
46422012-01-25 Chong Yidong <cyd@gnu.org>
4643
4644 * custom.el (custom-variable-p): Doc fix.
4645
5ae1a6c8
GM
46462012-01-25 Glenn Morris <rgm@gnu.org>
4647
40047858
GM
4648 * dired.el (dired-goto-file): Handle some of the more common
4649 characters that `ls -b' escapes. (Bug#10596)
4650
5ddce96c
GM
4651 * progmodes/compile.el (compilation-next-error-function):
4652 Respect compilation-first-column in the "*compilation*" buffer.
4653 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4654
5ae1a6c8
GM
4655 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4656
b559f1a9
GM
46572012-01-24 Glenn Morris <rgm@gnu.org>
4658
4659 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4660
6725d21a
JD
46612012-01-24 Julien Danjou <julien@danjou.info>
4662
4663 * color.el (color-rgb-to-hsl): Fix value computing.
4664 (color-hue-to-rgb): New function.
4665 (color-hsl-to-rgb): New function.
4666 (color-clamp, color-saturate-hsl, color-saturate-name)
4667 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4668 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4669
70df4bbe
GM
46702012-01-24 Glenn Morris <rgm@gnu.org>
4671
4672 * vc/vc-rcs.el (vc-rcs-create-tag):
4673 * vc/vc-sccs.el (vc-sccs-create-tag):
4674 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4675
802a2ae2
ML
46762012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4677
4678 * eshell/esh-util.el (eshell-read-hosts-file):
4679 Skip comment lines. (Bug#10549)
4680
d7128bb1
ML
4681 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4682
d1a5c3b4
JB
46832012-01-23 Juanma Barranquero <lekktu@gmail.com>
4684
2724d9c7
JB
4685 * subr.el (display-delayed-warnings): Doc fix.
4686 (collapse-delayed-warnings): New function to collapse identical
4687 adjacent warnings.
4688 (delayed-warnings-hook): Add it.
d1a5c3b4 4689
a5509865
MA
46902012-01-22 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4693
4694 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4695 properties, when "login-as" is set.
4696
4697 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4698 (tramp-default-user-alist): Don't add "pscp".
4699 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4700 property "login-as", if set. (Bug#10530)
4701
cc6d5805
MA
47022012-01-21 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4705 "plink1" and "psftp". (Bug#10530)
4706
47072012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4708
4709 * international/mule-cmds.el (prefer-coding-system): Show a
4710 warning message if the default value of file-name-coding-system
4711 was not changed.
4712
f0960428
JC
47132012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4714
cb882333
JB
4715 * windmove.el (windmove-reference-loc):
4716 Fix windmove-reference-loc miscalculation.
f0960428 4717
dd6f2a63
JB
47182012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4719
4720 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4721 default unit.
4722
7b447e9b
GM
47232012-01-21 Glenn Morris <rgm@gnu.org>
4724
117a9ea1
GM
4725 * international/mule.el (auto-coding-alist): Add .tbz.
4726
7b447e9b
GM
4727 * files.el (local-enable-local-variables): Doc fix.
4728 (inhibit-local-variables-regexps): Rename from
4729 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4730 Doc fix. Add some extensions from auto-coding-alist.
4731 (inhibit-local-variables-suffixes):
4732 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4733 (inhibit-local-variables-p):
4734 New function, extracted from set-auto-mode-1.
4735 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4736 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4737 (hack-local-variables): Doc fix. Make the mode-only case
4738 respect enable-local-variables and friends.
4739 Respect inhibit-local-variables-regexps for file-locals, but
4740 not for directory-locals.
4741 (set-visited-file-name):
4742 Take account of inhibit-local-variables-regexps.
4743 Whether it applies may change as the file name is changed.
4744 * jka-cmpr-hook.el (jka-compr-install):
4745 * jka-compr.el (jka-compr-uninstall):
4746 Update for inhibit-first-line-modes-suffixes name change.
4747
dd6e3cdd
MR
47482012-01-20 Martin Rudalics <rudalics@gmx.at>
4749
4750 * help-macro.el (make-help-screen): Temporarily restore original
4751 binding for minor-mode-map-alist (Bug#10454).
4752
0d0deb38
JD
47532012-01-19 Julien Danjou <julien@danjou.info>
4754
4755 * color.el (color-name-to-rgb): Use the white color to find the max
4756 color component value and return correctly computed values.
4757 (color-name-to-rgb): Add missing float conversion for max value.
4758
34a02f46
MR
47592012-01-19 Martin Rudalics <rudalics@gmx.at>
4760
4761 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4762 special state value for window-persistent-parameters.
4763 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4764 (window--state-put-2): Reset all window parameters to nil before
4765 assigning values of persistent parameters.
4766
606c44c4
AM
47672012-01-18 Alan Mackenzie <acm@muc.de>
4768
4769 Eliminate sluggishness and hangs in fontification of "semicolon
4770 deserts".
4771
cb882333
JB
4772 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4773 Change value 10000 -> 3000.
606c44c4
AM
4774 (c-state-safe-place): Reformulate so it doesn't stack up an
4775 infinite number of wrong entries in c-state-nonlit-pos-cache.
4776 (c-determine-limit-get-base, c-determine-limit): New functions to
4777 determine backward search limits disregarding literals.
4778 (c-find-decl-spots): Amend commenting.
4779 (c-cheap-inside-bracelist-p): New function which detects "={".
4780
4781 * progmodes/cc-fonts.el
4782 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4783 backward search.
4784 (c-font-lock-declarations): Fix an occurrence of point being
4785 undefined. Check additionally for point being in a bracelist or
4786 near a macro invocation without a semicolon so as to avoid a
4787 fruitless time consuming search for a declarator. Give a more
4788 precise search limit for declarators using the new
4789 c-determine-limit.
4790
f3860cea
GM
47912012-01-18 Glenn Morris <rgm@gnu.org>
4792
4793 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4794 (set-auto-mode): Doc fixes.
4795
1db03b16
GM
47962012-01-17 Glenn Morris <rgm@gnu.org>
4797
0e6038be
GM
4798 * isearch.el (search-nonincremental-instead): Fix doc typo.
4799
1db03b16
GM
4800 * dired.el (dired-insert-directory): Handle newlines in directory name.
4801 (dired-build-subdir-alist): Unescape newlines in directory name.
4802
4cb0aa75
MA
48032012-01-17 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4806 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4807 (tramp-action-terminal): Use it. (Bug#10530)
4808
1d00653d
SM
48092012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4812
6a6ee00d
MR
48132012-01-16 Martin Rudalics <rudalics@gmx.at>
4814
4815 * window.el (window-state-ignored-parameters): Remove variable.
4816 (window--state-get-1): Rename argument MARKERS to IGNORE.
4817 Handle persistent window parameters. Make copy of clone-of
4818 parameter only if requested. (Bug#10348)
4819 (window--state-put-2): Install a window parameter only if it has
4820 a non-nil value or an existing parameter shall be overwritten.
4821
97912def
MA
48222012-01-15 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4825
688070a5
EZ
48262012-01-14 Eli Zaretskii <eliz@gnu.org>
4827
4828 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4829 don't pass the (nil) value of `upnode' to string-match.
4830
301afadc
CY
48312012-01-14 Chong Yidong <cyd@gnu.org>
4832
4833 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4834 Fix values recognized by the cursorBlink resource.
301afadc 4835
9e5788aa
PE
48362012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4837
4838 * epg.el (epg--make-temp-file): Avoid permission race condition
4839 when running on old Emacs versions (bug#10403).
4840
3cdb7f5a
GM
48412012-01-14 Glenn Morris <rgm@gnu.org>
4842
4843 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4844
8c82b1b4
AM
48452012-01-13 Alan Mackenzie <acm@muc.de>
4846
4847 Fix filling for when filladapt mode is enabled.
4848
4849 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4850 c-mask-paragraph, pass in `fill-paragraph' rather than
4851 `fill-region-as-paragraph'. (This is a reversion of a previous
4852 change.)
eb864a71
LM
4853 * progmodes/cc-mode.el (c-basic-common-init):
4854 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4855
e517eda4
GM
48562012-01-13 Glenn Morris <rgm@gnu.org>
4857
1498536e
GM
4858 * dired.el (dired-switches-escape-p): New function.
4859 (dired-insert-directory): Use dired-switches-escape-p.
4860 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4861
e517eda4
GM
4862 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4863
328f984d
GM
48642012-01-12 Glenn Morris <rgm@gnu.org>
4865
4866 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4867 changes in adaptive-fill-regexp. (Bug#10276)
4868
2cc769a8
AM
48692012-01-11 Alan Mackenzie <acm@muc.de>
4870
4871 Fix Emacs bug #10463 - put `widen's around the critical spots.
4872
1d00653d 4873 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4874 widen around each invocation of c-state-pp-to-literal. Remove an
4875 unused let variable.
4876
e52c37fa
GM
48772012-01-11 Glenn Morris <rgm@gnu.org>
4878
4879 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4880 Doc fix.
e52c37fa 4881
96f8741e
CY
48822012-01-10 Chong Yidong <cyd@gnu.org>
4883
1d00653d
SM
4884 * net/network-stream.el (network-stream-open-starttls):
4885 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4886 response to the capability command.
4887
b09a806e
GM
48882012-01-10 Glenn Morris <rgm@gnu.org>
4889
4890 * mail/unrmail.el (unrmail): Tweak previous change.
4891
7655cb66
CY
48922012-01-09 Chong Yidong <cyd@gnu.org>
4893
4894 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4895
9d5a8f0b
AM
48962012-01-08 Alan Mackenzie <acm@muc.de>
4897
4898 Optimise font locking in long enum definitions.
4899
4900 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4901 arm to a cond form to handle enums.
4902 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4903 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4904
9a0115ab 49052012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4906
4907 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4908 (Bug#10401)
6bb72cbd 4909
f186bb95
LMI
49102012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
29232a68
LMI
4912 * faces.el (set-face-attribute): Clarify the meaning of the nil
4913 frame (bug#10294).
4914
4e5d086d
LMI
4915 * subr.el (with-selected-frame): Mention that the selected frame
4916 is restored (bug#9980).
4917
8e66aebe
LMI
4918 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4919 (bug#9759).
4920
cd394be1 4921 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4922 (password-read): Don't autoload unused function.
4923
adf4e762
JB
49242012-01-07 Juanma Barranquero <lekktu@gmail.com>
4925
4926 * progmodes/which-func.el (which-func-mode): Turn into a
4927 non-interactive function and mark as obsolete (bug#10428).
4928
89bd9ccd
CY
49292012-01-06 Chong Yidong <cyd@gnu.org>
4930
4931 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4932 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4933 functions, along with 1 and -1.
4934
4afee9d5
EZ
49352012-01-06 Eli Zaretskii <eliz@gnu.org>
4936
4937 * time.el (display-time-load-average)
4938 (display-time-default-load-average): Doc fixes. See the thread
4939 starting at
4940 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4941 for the details.
4942
536aea70
GM
49432012-01-06 Glenn Morris <rgm@gnu.org>
4944
665ae865
GM
4945 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4946 has no messages. (Bug#10377)
4947
c869783d
GM
4948 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4949 than Info-edit. (Bug#10385)
4950
2bb4227e
GM
4951 * time.el (display-time-load-average, display-time-next-load-average):
4952 Doc fixes.
4953
7d5944b9
GM
4954 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4955 local setting of buffer-read-only to the input buffer. (Bug#10419)
4956
536aea70
GM
4957 * calendar/calendar.el (calendar-mode):
4958 Locally set scroll-margin to 0. (Bug#10379)
4959
7dccca16
UM
49602012-01-06 Ulrich Mueller <ulm@gentoo.org>
4961
4962 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4963
afbb7930
GM
49642012-01-05 Glenn Morris <rgm@gnu.org>
4965
4966 * eshell/em-unix.el (diff-no-select): Autoload it.
4967 (eshell/diff): Use diff-no-select. (Bug#10420)
4968
04482335
CY
49692012-01-05 Chong Yidong <cyd@gnu.org>
4970
7baca3bc
CY
4971 * shell.el (shell-dynamic-complete-functions): Revert last change.
4972 (shell-command-completion-function): New function.
4973 (shell-completion-vars): Use it to implement
4974 shell-completion-execonly (Bug#10417).
4975
04482335
CY
4976 * custom.el (enable-theme): Don't set custom-safe-themes.
4977
1d00653d
SM
4978 * cus-theme.el (custom-theme-merge-theme):
4979 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4980
bb5aa5d6
MM
49812012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4982
4983 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4984 first prompt in `sql-interacive-mode'.
4985 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4986 keywords.
6df6ae42 4987 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4988 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4989 context of original buffer. Invoke `sql-login-hook'.
4990
a7183d7c
EZ
49912012-01-04 Eli Zaretskii <eliz@gnu.org>
4992
4993 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4994 letters in cite-prefix.
4995
a1eacd1e
LMI
49962012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997
4998 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4999
787cdb34
CY
50002012-01-03 Chong Yidong <cyd@gnu.org>
5001
1d00653d
SM
5002 * shell.el (shell-dynamic-complete-functions):
5003 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5004 comint-filename-completion first (Bug#10417).
5005
30710442
RS
50062012-01-02 Richard Stallman <rms@gnu.org>
5007
5008 * battery.el (battery-status-function):
5009 Detect when to use battery-yeeloong-sysfs.
5010 (battery-echo-area-format): Add string for Yeeloong.
5011 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5012 (battery-yeeloong-sysfs): New function.
5013
f75bfc33
CY
50142012-01-02 Chong Yidong <cyd@gnu.org>
5015
5016 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5017 (dirtrack): Merge code for handling relative filenames in prompt
5018 from shell-dir-cookie-watcher.
5019 (dirtrack-debug-message): New arg to avoid excess format calls.
5020
5021 * shell.el (shell-dir-cookie-re): Variable deleted.
5022 (shell-dir-cookie-watcher): Function deleted.
5023 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5024 with dirtrack-mode.
5025
651e947e
EZ
50262012-01-01 Eli Zaretskii <eliz@gnu.org>
5027
1d00653d
SM
5028 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5029 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5030 libgnutls-26.dll.
5031
94d4c7dc
AS
50322011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5033
5034 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5035
8d43f3cd
EZ
50362011-12-31 Eli Zaretskii <eliz@gnu.org>
5037
5038 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5039 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5040
98c8795a
MA
50412011-12-29 Michael Albinus <michael.albinus@gmx.de>
5042
5043 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5044 also for alternative shells.
5045 (tramp-open-connection-setup-interactive-shell): Check, whether
5046 the shell is a busybox.
5047 (tramp-send-command): Don't suppress multiple prompts for
5048 busyboxes, it hurts.
5049
51281b32
CY
50502011-12-28 Chong Yidong <cyd@gnu.org>
5051
5052 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5053 (gdb-get-source-file): Move mode line update to
5054 gdb-get-source-file (Bug#10087).
5055
2170cb53
CY
50562011-12-25 Chong Yidong <cyd@gnu.org>
5057
5058 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5059 gud-gdb-marker-filter without taking it as an argument.
5060 (gud-gdb-run-command-fetch-lines): Caller changed.
5061 (gud-gdb-completion-function): New variable.
5062 (gud-gdb-completion-at-point): Use it.
5063 (gud-gdb-completions-1): Split from gud-gdb-completions.
5064
5065 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5066 function as separate arguments.
5067 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5068 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5069 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5070 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5071 (gdb-stopped, def-gdb-auto-update-trigger)
5072 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5073 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5074 Callers changed.
2170cb53
CY
5075 (gud-gdbmi-completions): New function.
5076 (gdb): Use it for generating the completion table.
5077
be8b11bb
AM
50782011-12-24 Alan Mackenzie <acm@muc.de>
5079
5080 Introduce a mechanism to widen the region used in context font
1d00653d 5081 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5082
1d00653d
SM
5083 * progmodes/cc-langs.el (c-before-font-lock-functions):
5084 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5085 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5086 functions to be run just before context (etc.) font locking.
5087
5088 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5089 New, functionality extracted from
be8b11bb 5090 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5091 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5092 (c-after-change): Set c-in-after-change-fontification.
5093 (c-set-fl-decl-start): Rejig its interface, so it can be called
5094 from both after-change and context fontifying.
b81d40f0
JB
5095 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5096 New functions.
5097 (c-standard-font-lock-fontify-region-function): New variable.
5098 (c-font-lock-fontify-region): New function.
be8b11bb 5099
341cf6ac
JL
51002011-12-24 Juri Linkov <juri@jurta.org>
5101
5102 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5103 (Bug#10348)
5104
bffcee0a
MA
51052011-12-23 Michael Albinus <michael.albinus@gmx.de>
5106
5107 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5108 existence of source file. (Bug#10325)
5109
cb5e207c
AM
51102011-12-23 Alan Mackenzie <acm@muc.de>
5111
5112 Fix unstable fontification inside templates.
5113
b81d40f0
JB
5114 * progmodes/cc-langs.el (c-before-font-lock-functions):
5115 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5116 additionally has c-set-fl-decl-start. The other languages (apart
5117 from AWK) have that as a single entry.
5118
b81d40f0
JB
5119 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5120 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5121 c-set-fl-decl-start.
5122
b81d40f0
JB
5123 * progmodes/cc-mode.el (c-common-init, c-after-change):
5124 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5125 (c-set-fl-decl-start): New function, extracted from
5126 c-font-lock-enclosing-decls and enhanced.
5127
60ff536c
JB
51282011-12-23 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5131
1c4757d6
JL
51322011-12-22 Juri Linkov <juri@jurta.org>
5133
5134 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5135
d031f2c7
CY
51362011-12-22 Chong Yidong <cyd@gnu.org>
5137
5138 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5139
bace743a
DA
51402011-12-21 Drew Adams <drew.adams@oracle.com>
5141
5142 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5143
728a1f2b
JC
51442011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5145
5146 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5147
0d373f73
TZ
51482011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5149
fec0aaa4
TZ
5150 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5151 highlighting and support. Fix up comments for capitalization.
5152 (cfengine-mode-debug): New var.
5153 (cfengine3-mode): Change the modeline indicator to "CFE3".
5154 (cfengine3-font-lock-keywords): Improve defun highlighting.
5155 (cfengine2-actions): Rename from `cfengine-actions'.
5156 (cfengine2-font-lock-keywords): Rename from
5157 `cfengine-font-lock-keywords'.
5158 (cfengine2-imenu-expression): Rename from
5159 `cfengine-imenu-expression'.
5160 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5161 (cfengine2-beginning-of-defun): Rename from
5162 `cfengine-beginning-of-defun'.
5163 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5164 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5165 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5166 modeline indicator to "CFE2".
5167 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5168 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5169
bc86f573
CY
51702011-12-21 Chong Yidong <cyd@gnu.org>
5171
5172 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5173 filename argument.
5174
d45ba96b
MR
51752011-12-20 Martin Rudalics <rudalics@gmx.at>
5176
5177 * window.el (window-normalize-buffer-to-display): Remove.
5178 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5179
a6198c90
CY
51802011-12-19 Chong Yidong <cyd@gnu.org>
5181
5182 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5183 Don't signal an error in a predicate function; return non-nil.
5184 (vc-dir-mark-file): Move the error here.
5185 (vc-dir-mark-unmark): If acting on the region, keep going if one
5186 of the entries cannot be marked/unmarked.
5187 (vc-dir-mark-all-files): If current entry is a directory, mark
5188 only child files, as documented.
5189
34c5fb55
VB
51902011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5191
5192 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5193 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5194 addition.
5195
c803b2b7
JD
51962011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5197
5198 * term/ns-win.el (ns-get-selection-internal)
5199 (ns-store-selection-internal): Declare.
1154d12e
JB
5200 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5201 Declare as obsolete.
5202 (ns-get-pasteboard, ns-paste-secondary):
5203 Use ns-get-selection-internal.
5204 (ns-set-pasteboard, ns-copy-including-secondary):
5205 Use ns-store-selection-internal.
c803b2b7 5206
9cff91f8 52072011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5208
5209 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5210 (vc-deduce-fileset): Doc fix.
99a289d9 5211
f16c898a
AS
52122011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5215
763237c4
SS
52162011-12-13 Sam Steingold <sds@gnu.org>
5217
5218 * man.el (Man-getpage-in-background): When running under a
5219 window-system, ignore $MANWIDTH and $COLUMNS.
5220
5fc1c122
KH
52212011-12-15 Kenichi Handa <handa@m17n.org>
5222
5223 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5224 (setup-ethiopic-environment-internal): Comment out key-binding for
5225 ethio-toggle-punctuation.
5226
13d49cbb
AM
52272011-12-13 Alan Mackenzie <acm@muc.de>
5228
898169a2
AM
5229 Add the switch statement to AWK Mode.
5230
7a71b18d 5231 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5232 "default" to the keywords regexp.
5233
7a71b18d 5234 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5235 expression as the rest.
1d00653d
SM
5236 (c-nonlabel-token-key): Allow string literals for AWK.
5237 Refactor for the other modes.
898169a2 5238
13d49cbb 5239 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5240 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5241 routines. Limit backward searching in c-font-lock-enclosing.decl.
5242
5243 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5244 pp-state and literal type in addition to the limits.
1d00653d 5245 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5246 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5247 (c-slow-in-literal, c-fast-in-literal): Remove.
5248 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5249
5250 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5251 being in a literal. Add a limit for backward searching.
5252
5253 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5254 c-slow-in-literal.
5255
15e0efc7
SM
52562011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5259
454592a6
MR
52602011-12-13 Martin Rudalics <rudalics@gmx.at>
5261
5262 * window.el (delete-other-windows): Use correct frame in call to
5263 window-with-parameter.
5264
87393f26
DP
52652011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5266
5267 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5268 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5269 (makefile-gmake-statements, makefile-makepp-statements):
5270 Use it and add new makepp keywords.
5271 (makefile-makepp-font-lock-keywords): Add new patterns.
5272 (makefile-match-function-end): Match new [...] and [[...]].
5273
11636b22
JB
52742011-12-11 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * ses.el (ses-call-printer-return, ses-cell-property-get)
5277 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5278 (ses-create-cell-variable, ses-reset-header-string)
5279 (ses-cell-set-formula, ses-repair-cell-reference-all)
5280 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5281 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5282 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5283 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5284 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5285 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5286 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5287 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5288 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5289 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5290 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5291 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5292
cf018193
VB
52932011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5294
5295 * ses.el: The overall change is to add cell renaming, that is
5296 setting fancy names for cell symbols other than name matching
5297 "\\`[A-Z]+[0-9]+\\'" regexp .
5298 (ses-create-cell-variable): New defun.
5299 (ses-relocate-formula): Relocate formulas only for cells the
5300 symbols of which are not renamed, i.e. symbols whose names do not
5301 match regexp "\\`[A-Z]+[0-9]+\\'".
5302 (ses-relocate-all): Relocate values only for cells the symbols of
5303 which are not renamed.
5304 (ses-load): Create cells variables as the (ses-cell ...) are read,
5305 in order to check row col consistency with cell symbol name only
5306 for cells that are not renamed.
5307 (ses-replace-name-in-formula): New defun.
5308 (ses-rename-cell): New defun.
5309
ee957461
CY
53102011-12-11 Chong Yidong <cyd@gnu.org>
5311
5312 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5313 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5314
9a9e9ef0
MR
53152011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5316
5317 * window.el (other-window): Fix docstring.
5318
92a8eba5
EZ
53192011-12-10 Eli Zaretskii <eliz@gnu.org>
5320
5321 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5322 `from' or `to' address before taking its substring.
5323 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5324 encoded name is chopped in the middle of the encoded string, and
5325 thus displayed encoded.
5326
e152e577
JB
53272011-12-10 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5330
e5d84bfe
EZ
53312011-12-10 Eli Zaretskii <eliz@gnu.org>
5332
5333 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5334 to use texinfo-update-node and commands that call it if the
5335 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5336 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5337 (texinfo-all-menus-update, texinfo-master-menu)
5338 (texinfo-update-node, texinfo-every-node-update)
5339 (texinfo-multiple-files-update): Doc fix. Warn against updating
5340 all the @node lines.
5341 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5342 argument is numeric. Explain better in the doc string what the
5343 function really does.
5344 (texinfo-insert-master-menu-list): Improve the error message
5345 displayed if there's no menu in the Top node.
5346 (Bug#2975) See also this thread:
e5d84bfe
EZ
5347 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5348
1d84e9bb
MG
53492011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5350
5351 * speedbar.el (speedbar-supported-extension-expressions):
5352 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5353
382c953b
JB
53542011-12-09 Juanma Barranquero <lekktu@gmail.com>
5355
5356 * printing.el (pr-mode-alist):
5357 * simple.el (filter-buffer-substring-functions)
5358 (completion-list-insert-choice-function):
5359 * window.el (window-with-parameter, window-atom-root)
5360 (window-sides-slots, window-size-fixed, window-min-delta)
5361 (window-max-delta, window--resize-mini-window)
5362 (window--resize-child-windows-normal, window-tree)
5363 (delete-other-windows, quit-window, split-window)
5364 (display-buffer-record-window, special-display-buffer-names)
5365 (special-display-regexps, special-display-popup-frame)
5366 (same-window-p, split-window-sensibly)
5367 (display-buffer-overriding-action, display-buffer-alist)
5368 (display-buffer-base-action, display-buffer, switch-to-buffer)
5369 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5370 (fit-window-to-buffer, recenter-positions)
5371 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5372 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5373 and remove unneeded backslashes in docstrings.
5374
39c9faef
SM
53752011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5376
98449af8
SM
5377 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5378
39c9faef
SM
5379 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5380 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5381 end in ".mk".
5382 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5383 when reading the makefile (bug#10116).
5384
86ed9fdc
SM
53852011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5388 (bug#10116).
5389
5580f89d
GM
53902011-12-06 Glenn Morris <rgm@gnu.org>
5391
5392 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5393
28d3917c
CY
53942011-12-06 Chong Yidong <cyd@gnu.org>
5395
5396 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5397
a98edce9
JB
53982011-12-06 Juanma Barranquero <lekktu@gmail.com>
5399
5400 * textmodes/table.el (table-shorten-cell): Fix typo.
5401
e65adfac
CG
54022011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5403
5404 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5405
71cc0b74
EZ
54062011-12-05 Eli Zaretskii <eliz@gnu.org>
5407
5408 * descr-text.el (describe-char): Fix display of strong
5409 right-to-left characters and directional embeddings and overrides.
5410
5411 * simple.el (what-cursor-position): Fix display of codepoints of
5412 strong right-to-left characters.
5413
315bc30d
CY
54142011-12-05 Chong Yidong <cyd@gnu.org>
5415
5416 * faces.el (read-color): Doc fix.
5417
58a70b94
GM
54182011-12-05 Glenn Morris <rgm@gnu.org>
5419
5420 * align.el (align--set-marker): Add doc-string.
5421 Don't try to move something that is not a marker. (Bug#10216)
5422
5158face
GM
54232011-12-04 Glenn Morris <rgm@gnu.org>
5424
5425 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5426 overly zealous deletion of trailing whitespace.
5427
520fca41
JB
54282011-12-04 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * server.el (server-delete-client): On Windows, do not try to delete
5431 the only terminal.
5432 (server-process-filter): On Windows, treat requests for a tty frame as
5433 if they were for a GUI frame if the running server is in GUI mode.
5434
5e605a2e
GM
54352011-12-03 Glenn Morris <rgm@gnu.org>
5436
5437 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5438
5c3fe83f
SM
54392011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5440
6f5e57e7
SM
5441 * electric.el: Streamline electric-indent's hook.
5442 (electric-indent-chars): Revert to simple list.
5443 (electric-indent-functions): New var.
5444 (electric-indent-post-self-insert-function): Use it.
5445
5c3fe83f
SM
5446 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5447 there's no inferior buffer (bug#10196).
5448 (prolog-consult-compile): Don't use toggle-read-only.
5449
6bdac736
MA
54502011-12-02 Michael Albinus <michael.albinus@gmx.de>
5451
5452 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5453 interrupt. (Bug#10187)
5454
6131ba7f
SM
54552011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5456
99c79fee
SM
5457 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5458 (bug#9160).
5459
6131ba7f
SM
5460 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5461 (bug#10191).
5462
cb0a02ea
JL
54632011-12-02 Juri Linkov <juri@jurta.org>
5464
5465 * info.el (Info-search): Display "end of manual" when Isearch
5466 reaches the end of single-file Info manual. (Bug#9918)
5467
66e0570c
EZ
54682011-12-02 Eli Zaretskii <eliz@gnu.org>
5469
5470 * isearch.el (isearch-message-prefix): Run the input method part
5471 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5472
02b16839
JL
54732011-12-02 Juri Linkov <juri@jurta.org>
5474
5475 * isearch.el (isearch-occur): Use `word-search-regexp' for
5476 `isearch-word'.
5477 (isearch-search-and-update): Add condition for `isearch-word' and
5478 call `word-search-regexp'. (Bug#10145)
5479
0b950688
GM
54802011-12-01 Glenn Morris <rgm@gnu.org>
5481
5482 * eshell/em-hist.el (eshell-hist-initialize):
5483 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5484 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5485
9505c3c7
SM
54862011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5489
1bbe96b2 54902011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5491
a1beca85
SM
5492 * progmodes/verilog-mode.el (verilog-pretty-expr):
5493 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5494 verilog, such as += *= and the like.
5495 (verilog-assignment-operator-re): Regular expression to find the
5496 assigment operator in a verilog assignment.
5497 (verilog-assignment-operation-re): Regular expression to find an
5498 assignment statement for pretty-expr.
5499 (verilog-in-attribute-p): Query returns true if point is in an
5500 attribute context; used to skip these for expression line up from
5501 pretty-expr.
5502 (verilog-in-parameter-p): Query returns true if point is in an
5503 parameter definition context; used to skip these for expression
5504 line up from pretty-expr.
5505 (verilog-in-parenthesis-p): Query returns true if point is in a
5506 parenthetical expression, specifically ( ) but not [ ] or { };
5507 used by pretty-expr.
5508 (verilog-just-one-space): If there is no space, don't add one.
5509 (verilog-get-lineup-indent-2): Specifically skip just attribute
5510 contexts for expression lineup, rather than skipping all
5511 parenthetical expressions.
5512 (verilog-calculate-indent): Fix comment, and fix indent.
5513 (verilog-do-indent): Indent declarations in lists (suggested by
5514 Joachim Lechner).
5515 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5516 skeleton items.
5517 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5518 by Alain Mellan).
5519
1bbe96b2 55202011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5521
5522 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5523 parameters with embedded comments. Reported by Ray Stevens.
5524 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5525 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5526 Reported by Tim Holt.
5527 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5528 instantiated by upper module causing wrong expansion until AUTOed a
5529 second time. Reported by K C Buckenmaier.
5530 (verilog-diff-auto): Fix showing .* as a difference when
5531 `verilog-auto-star-save' off. Reported by Dan Dever.
5532 (verilog-auto-reset, verilog-read-always-signals)
5533 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5534 temporary signals in reset list if
5535 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5536 style to each signal's assignment type, bug381.
5537 Reported by Thomas Esposito.
6288f0ca
WS
5538 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5539 (verilog-uvm-statement-re): Support UVM indentation and
5540 highlighting, with old OVM keywords only.
a1beca85 5541 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5542 Support AUTOTIEOFF creating non-wire data types.
5543 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5544 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5545 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5546 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5547 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5548 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5549 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5550 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5551 non-numeric vector width. Reported by Alex Reed.
5552 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5553 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5554 (verilog-auto-delete-trailing-whitespace):
5555 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5556 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5557 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5558 Fix verilog-scan-cache corruption when running user AUTO expansion
5559 hooks that call indentation routines.
5560 (verilog-simplify-range-expression): Fix typo ignoring lower case
5561 identifiers.
5562 (verilog-delete-auto): Fix delete-autos to also remove user created
5563 automatics, as long as they start with AUTO.
5564 (verilog-batch-diff-auto, verilog-diff-auto)
5565 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5566 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5567 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5568 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5569 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5570 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5571 is disabled and its cache will get corrupt, causing AUTOS not to
5572 expand. Instead use only -quick functions.
5573 (verilog-scan-region): Fix scanning over escaped quotes.
5574 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5575 (verilog-re-search-backward-quick)
5576 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5577 related functions now ignore strings, to fix misparsing of strings
5578 with magic comments embedded in them.
a1beca85
SM
5579 (verilog-read-auto-template):
5580 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5581 Reported by Brad Dobbie.
5582 (verilog-read-auto-template):
5583 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5584 Reported by Brad Dobbie.
6288f0ca
WS
5585 (verilog-auto-inst, verilog-auto-inst-param)
5586 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5587 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5588 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5589 debugging templates without merge conflicts, bug357.
5590 Reported by Brad Dobbie.
5591 (verilog-read-auto-template):
5592 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5593 Reported by Brad Dobbie.
5594 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5595 abbrevs so user won't be asked to save.
5596 (verilog-read-auto-lisp-present): Fix to start at beginning of
5597 buffer in case called outside of verilog-auto.
5598 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5599 to "X-2". Reported by Matthew Myers.
5600 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5601 all inputs from module templates. Reported by Leith Johnson.
5602 (verilog-module-inside-filename-p): Fix locating programs as with
5603 modules.
5604 (verilog-auto-inst-port): Fix vl-width expressions when using
5605 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5606 (verilog-decls-get-regs, verilog-decls-get-signals,
5607 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5608 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5609 verilog-read-decls): Combine reg and wire structures into one var
5610 structure to represent SystemVerilog concepts.
5611 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5612 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5613 (verilog-auto-wire-type, verilog-insert-definition):
5614 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5615 SystemVerilog "logic" keyword instead of "wire"/"reg".
5616 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5617 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5618 ifdef or generate if so there's not a driver conflict).
5619 Reported by Matthew Myers.
5620 (verilog-auto-declare-nettype, verilog-insert-definition):
5621 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5622 `default_nettype none. Reported by Julian Gorfajn.
5623 (verilog-read-always-signals-recurse, verilog-read-decls)
5624 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5625 malformed end statement, bug325. Reported by Joshua Wise and
5626 Andrew Drake.
5627 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5628 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5629 when expanding .* in interfaces, bug320.
5630 Reported by Pierre-David Pfister.
6288f0ca 5631 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5632 name and open parenthesis, bug317.
5633 Reported by Pierre-David Pfister.
6288f0ca
WS
5634 (verilog-simplify-range-expression): Fix simplification of
5635 multiplications inside AUTOWIRE connections, bug303.
5636 (verilog-auto-inst-port): Support parameter expansion in
5637 multidimensional arrays.
5638 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5639 after "assert property". Reported by Julian Gorfajn.
5640 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5641 with multiplication, bug303.
5642 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5643 Reported by Jan Frode Lonnum.
5644
1bbe96b2
GM
56452011-11-30 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5648 (hfy-shell-file-name, hfy-shell):
5649 * international/fontset.el (x-decompose-font-name): Fix typos.
5650
56512011-11-29 Ken Brown <kbrown@cornell.edu>
5652
5653 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5654 (gdb-version): Remove defvar.
5655 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5656 (gdb-gud-context-command, gdb-non-stop-handler)
5657 (gdb-current-context-command, gdb-stopped): Use it.
5658 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5659 (gdb-non-stop-handler): Don't enable pretty-printing here.
5660 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5661 non-stop mode. Use the following.
5662 (gdb-check-target-async): New defun.
5663 (gud-watch, gdb-stopped): Fix whitespace.
5664 (gdb-get-source-file): Don't try to display the source file if
5665 `gdb-main-file' is nil.
5666
56672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * align.el: Try to generate fewer markers (bug#10047).
5670 (align--set-marker): New macro.
5671 (align-region): Use it.
5672
c935221f
SM
56732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5676
e70b5064
CY
56772011-11-29 Chong Yidong <cyd@gnu.org>
5678
5679 * indent.el (indent-for-tab-command, indent-according-to-mode):
5680 Doc fix.
5681 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5682
f3af92b7
MA
56832011-11-29 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5686 aware of remote file names. (Bug#10124)
5687
ed472be9
CY
56882011-11-29 Chong Yidong <cyd@gnu.org>
5689
5690 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5691
24510c22
SM
56922011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5693
5694 * files.el (find-file): Don't use force-same-window (bug#10144).
5695 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5696 use pop-to-buffer if the selected window can't be used.
5697 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5698
c60c3703
EZ
56992011-11-28 Eli Zaretskii <eliz@gnu.org>
5700
5701 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5702 special-mode-map.
5703
e95def75
CY
57042011-11-28 Chong Yidong <cyd@gnu.org>
5705
5706 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5707
c3f1c606
NR
57082011-11-27 Nick Roberts <nickrob@snap.net.nz>
5709
5710 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5711 gdb-get-source-file-list on gdb-create-source-file-list.
5712
00db469c
EZ
57132011-11-26 Eli Zaretskii <eliz@gnu.org>
5714
5715 * whitespace.el (whitespace-newline): Use a different foreground
5716 color for 16-color light-background displays.
5717
4ad3bc2a
CY
57182011-11-24 Chong Yidong <cyd@gnu.org>
5719
5720 * window.el (display-buffer--special-action): Doc fix.
5721
e9fce1ac
JB
57222011-11-25 Juanma Barranquero <lekktu@gmail.com>
5723
5724 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5725 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5726 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5727 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5728 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5729 (avl-tree-stack-first):
5730 * emacs-lisp/cconv.el (cconv--analyse-use):
5731 * net/gnutls.el (gnutls-negotiate): Fix typos.
5732
cb825e5d
GM
57332011-11-24 Glenn Morris <rgm@gnu.org>
5734
3adbe224
GM
5735 * lpr.el (lpr-windows-system, lpr-lp-system):
5736 * mail/binhex.el (binhex-begin-line):
5737 * progmodes/grep.el (grep-history, grep-find-history):
5738 * textmodes/flyspell.el:
5739 * vc/pcvs-defs.el (cvs-global-menu):
5740 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5741 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5742 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5743
321decc8
GM
5744 * net/tls.el: Fix case of "GnuTLS".
5745
420b63ad
GM
5746 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5747
cb825e5d
GM
5748 * version.el (emacs-build-system): Give it a doc-string.
5749
a0649f08
JL
57502011-11-24 Juri Linkov <juri@jurta.org>
5751
5752 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5753
c0bc0fd4
GM
57542011-11-24 Glenn Morris <rgm@gnu.org>
5755
5756 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5757 if called on a non-mime message just toggle the headers. (Bug#8006)
5758
20db1522
JB
57592011-11-24 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5762 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5763 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5764 (allout-rebullet-heading, allout-open-sibtopic)
5765 (allout-toggle-current-subtree-encryption)
5766 (allout-toggle-subtree-encryption, allout-encrypt-string)
5767 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5768 (allout-distinctive-bullets-string, allout-auto-activation):
5769 * window.el (window-normalize-buffer-to-display):
5770 * progmodes/verilog-mode.el (verilog-batch-indent):
5771 * textmodes/bibtex.el (bibtex-field-braces-opt)
5772 (bibtex-field-strings-opt):
5773 * vc/cvs-status.el (cvs-tree-merge):
5774 Fix typos.
5775
7262a87c
MA
57762011-11-23 Michael Albinus <michael.albinus@gmx.de>
5777
5778 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5779 `non-essential' to t, in order to avoid remote connections.
5780
283430a1
EZ
57812011-11-23 Eli Zaretskii <eliz@gnu.org>
5782
a1beca85
SM
5783 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5784 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5785 case-insensitively.
5786
d2992a38
ML
57872011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5788
5789 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5790
50419064
GM
57912011-11-23 Glenn Morris <rgm@gnu.org>
5792
da94eca1
GM
5793 * paths.el (rmail-file-name): Reformat the doc-string so that it
5794 is picked up.
5795
9aac4de2
GM
5796 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5797 (rmail-auto-file): Ignore case in the "special" field names,
5798 as mail-fetch-field does for all others.
5799
8038d2d2
GM
5800 * mail/rmail.el (rmail-forward):
5801 * mail/rmailkwd.el (rmail-set-label):
5802 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5803 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5804
f3fe222a
GM
5805 * mail/rmail.el (rmail-current-message): Doc fix.
5806
50419064
GM
5807 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5808
28109f49
SM
58092011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5812
394c65f1
GM
58132011-11-22 Glenn Morris <rgm@gnu.org>
5814
5815 * mail/rmailmm.el (test-rmail-mime-handler)
5816 (test-rmail-mime-bulk-handler)
5817 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5818
f2a0aa3a
JL
58192011-11-21 Juri Linkov <juri@jurta.org>
5820
1154d12e
JB
5821 * calc/calc.el (calc-read-key-sequence):
5822 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5823
9c34a344
LMI
58242011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825
5826 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5827 Tell the caller that the next line needs recomputation, even
5828 though it doesn't start a sexp (bug#10094).
5829
f04a3be9
SM
58302011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5833
7978747f
SM
58342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5835
f04a3be9
SM
5836 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5837 Use force-same-window.
7978747f 5838
fe7a3057
JB
58392011-11-20 Juanma Barranquero <lekktu@gmail.com>
5840
5841 * descr-text.el (describe-char-unicode-data):
5842 * json.el (json-string-escape):
5843 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5844 (Footnote-unicode, Footnote-style-p):
5845 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5846
24901d61
CY
58472011-11-20 Chong Yidong <cyd@gnu.org>
5848
5849 * window.el (replace-buffer-in-windows): Restore interactive spec.
5850
bac7ff22
SM
58512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5852
24f3d7b9
SM
5853 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5854
bac7ff22
SM
5855 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5856 (byte-compile-global-not-obsolete-vars): New var.
5857 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5858 Use it.
5859 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5860
cd1181db
JB
58612011-11-20 Juanma Barranquero <lekktu@gmail.com>
5862
5863 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5864 * progmodes/pascal.el (electric-pascal-equal):
5865 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5866 * xml.el (xml-substitute-special): Fix typos.
5867
7fb18e9e
GM
58682011-11-20 Glenn Morris <rgm@gnu.org>
5869
5870 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5871 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5872 Doc fixes.
5873 (rmail-decode-mime-charset): Mark as obsolete.
5874
5875 * mail/rmailsum.el (rmail-message-regexp-p-1):
5876 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5877 Before using mime functions, check they are set. (Bug#10077)
5878
d5a6b3ba
JL
58792011-11-19 Juri Linkov <juri@jurta.org>
5880
5881 * info.el (Info-finder-find-node): Use `package--builtins' instead
5882 of `package-alist'. Use node names formed by the pattern "Keyword "
5883 and the keyword name.
5884
e981b61f
AS
58852011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5886
1d00653d 5887 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5888
3ffbc301
JL
58892011-11-19 Juri Linkov <juri@jurta.org>
5890
5891 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5892 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5893 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5894 `old-history', `old-history-forward'. Add let-binding
5895 `window-selected'. Remove calls to `kill-buffer',
5896 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5897 before calling `Info-find-node', so `Info-find-node-2' will reread
5898 the Info file. Restore window positions only when `window-selected'
5899 is non-nil.
5900
30c62133
JL
59012011-11-19 Juri Linkov <juri@jurta.org>
5902
5903 * isearch.el (isearch-lazy-highlight-new-loop):
5904 Remove condition `(not isearch-error)'. (Bug#9918)
5905
5906 * misearch.el (multi-isearch-search-fun): Add condition
5907 `(not bound)' to ignore lazy-highlighting search.
5908 Add the search-failed message "end of multi" when the end of
5909 multi-sequence is reached. Uncapitalize the search-failed
5910 message "Repeat for next buffer".
5911
5912 * info.el (Info-search): Add the search-failed message
5913 "end of the manual" when the end of the manual is reached
5914 in Isearch mode.
5915
645ca9cf
JL
59162011-11-19 Juri Linkov <juri@jurta.org>
5917
5918 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5919 Use non-destructive `remove' instead of `delete' because
5920 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5921 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5922
df754f66
JL
59232011-11-19 Juri Linkov <juri@jurta.org>
5924
5925 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5926 to nil instead of binding `search-ring' and `regexp-search-ring'.
5927 (Bug#9185)
5928
0e23d96a
EZ
59292011-11-19 Eli Zaretskii <eliz@gnu.org>
5930
5931 * simple.el (line-move): Force movement by logical lines for any
5932 hscrolled window, not only when auto-hscroll-mode is on.
5933 (line-move-visual): Update doc string to that effect. (Bug#10076)
5934
8a6ccb66
AS
59352011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5936
5937 * language/european.el (macintosh): Define as alias for mac-roman.
5938
49ae5b39
EZ
59392011-11-19 Eli Zaretskii <eliz@gnu.org>
5940
5941 * mail/rmailmm.el (rmail-mime-display-header)
5942 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5943 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5944 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5945 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5946 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5947 of a raw aref.
5948 (rmail-mime-entity-segment): To get past the tagline, move forward
5949 2 more lines, to account for the 2 empty lines that precede and
5950 follow the line with the buttons.
5951 (rmail-mime-update-tagline): Move one more line, to get past the
5952 empty line that follows the buttons in the tagline. (Bug#9520)
5953
c56cad4a
MR
59542011-11-19 Martin Rudalics <rudalics@gmx.at>
5955
5956 * window.el (window-max-delta-1, window-min-delta-1)
5957 (window-min-size-1, window-state-get-1, window-state-put-1)
5958 (window-state-put-2): Use "window--" prefix.
5959
cbe71af3
SM
59602011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5961
2ad52c60
SM
5962 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5963 (smie-warning-count): New var.
5964 (smie-set-prec2tab): Use it.
5965 (smie-bnf->prec2): Improve warnings. Add docstring.
5966 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5967 (smie-bnf--set-class): New function.
5968 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5969 corner case.
5970
6944dbc1
SM
5971 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5972 (compilation-error-properties, compilation-move-to-column):
5973 Handle compilation-first-column while in the target buffer.
5974
c400c4d7
SM
5975 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5976 Don't hardcode point-min==1.
5977
6dbe3e96
SM
5978 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5979 (eshell-rewrite-for-command): Remove workaround.
5980 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5981 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5982 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5983
cbe71af3
SM
5984 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5985
a8e1496d
GM
59862011-11-17 Glenn Morris <rgm@gnu.org>
5987
5988 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5989 Ignore buffer-local generated-autoload-file if it is the same
5990 as the global value. (Bug#10049)
5991
df85d315
JB
59922011-11-17 Juanma Barranquero <lekktu@gmail.com>
5993
5994 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5995 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5996 (reftex-toc-previous-heading, reftex-toc-max-level)
5997 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5998 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5999 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6000 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6001 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6002 (reftex-toc-rename-label, reftex-toc-visit-location)
6003 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6004 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6005 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6006 leaving "*toc*" only for references to the buffer.
6007
a0c2d0ae
MR
60082011-11-17 Martin Rudalics <rudalics@gmx.at>
6009
6010 * window.el (window-resize, delete-window, split-window):
6011 Replace window-splits by window-combination-resize.
1d00653d 6012 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6013
35c0bac8
GM
60142011-11-17 Glenn Morris <rgm@gnu.org>
6015
6016 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6017 Make bash entry derive from sh entry, not shell entry.
6018
d0c8fc8a
MA
60192011-11-16 Michael Albinus <michael.albinus@gmx.de>
6020
d0c8fc8a
MA
6021 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6022 properties of linked files. (Bug#9879)
6023
7262a87c
MA
6024 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6025 local file name.
6026
7877f373
JB
60272011-11-16 Juanma Barranquero <lekktu@gmail.com>
6028
6029 * menu-bar.el (menu-bar-file-menu):
6030 * printing.el (pr-ps-utility):
6031 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6032 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6033 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6034 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6035 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6036 (icalendar--convert-cyclic-to-ical)
6037 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6038 (icalendar--convert-ical-to-diary)
6039 (icalendar--convert-recurring-to-diary)
6040 (icalendar--convert-non-recurring-all-day-to-diary)
6041 (icalendar-import-format-sample):
6042 * progmodes/idlw-shell.el (idlwave-shell-mode):
6043 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6044 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6045 (vhdl-ps-print-init): Fix typos.
6046
10649b82
KM
60472011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6048
9d0cfcd6
GM
6049 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6050 FSF and collapse date sequence, obscure author/maintainer email address
6051 better, remove extra version line, track relocation of author's webpage.
10649b82 6052
9d0cfcd6
GM
6053 * progmodes/python.el (python-pdbtrack-input-prompt)
6054 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6055 regular python pdb prompts. Adjustments shamelessly taken exactly as
6056 suggested in EmacsWiki page (tiny change):
6057 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6058
58179cce
JB
60592011-11-16 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * expand.el (expand-pos, expand-index, expand-point):
6062 Remove redundant info from docstring.
6063 (expand-add-abbrevs): Doc fix.
6064 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6065 (expand-sample-perl-mode-expand-list): Fix typos.
6066
6067 * net/dbus.el (dbus-event-member-name):
6068 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6069 * term/pc-win.el (msdos-create-frame-with-faces):
6070 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6071
b6f67890
MR
60722011-11-16 Martin Rudalics <rudalics@gmx.at>
6073
6074 * window.el (split-window, window-state-get-1)
6075 (window-state-put-1, window-state-put-2): Rename occurrences of
6076 window-nest to window-combination-limit.
1d00653d 6077 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6078
ce7ddba0
CY
60792011-11-16 Chong Yidong <cyd@gnu.org>
6080
6081 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6082 regexp (Bug#10033).
6083
3ae704f4
SM
60842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6087 `completing-read' will remove *Completions* and will preserve
6088 current-buffer for us.
6089 (tmm-add-prompt): Users of *Completions* will always (re)set its
6090 major mode.
6091 (tmm-old-comp-map): Remove.
6092
6ad1cdde
GM
60932011-11-16 Glenn Morris <rgm@gnu.org>
6094
6095 * mail/rmailedit.el: Require rmailmm when compiling.
6096 (rmail-old-mime-state): New declaration.
6097 (rmail-edit-current-message): If editing a mime message,
6098 edit the "raw" message from the mbox buffer.
6099 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6100
d20faa20
GM
61012011-11-15 Glenn Morris <rgm@gnu.org>
6102
6103 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6104 which wasn't being used. Add optional arg to force given state.
6105 (rmail-mime): Add optional arg to force given state.
6106
c7015153
JB
61072011-11-15 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6110 * frame.el (display-mm-dimensions-alist):
6111 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6112 (outline-move-subtree-down):
6113 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6114 (newsticker--treeview-do-get-node):
6115 * net/quickurl.el (quickurl-list-buffer-name):
6116 * progmodes/dcl-mode.el (dcl-mode):
6117 * progmodes/gdb-mi.el (gdb-mapcar*):
6118 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6119
45261b50
GM
61202011-11-15 Glenn Morris <rgm@gnu.org>
6121
6122 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6123 in a boolean sense, so just make it a boolean, and fix the doc.
6124 (rmail-show-mime-function, rmail-mime-feature)
6125 (rmail-require-mime-maybe): Doc fixes.
6126 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6127
6128 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6129
0d26e0b6
JB
61302011-11-15 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6133 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6134 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6135 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6136
447f30f6
GM
61372011-11-15 Glenn Morris <rgm@gnu.org>
6138
672b871d
GM
6139 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6140 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6141 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6142 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6143 (rmail-mime, rmail-show-mime): Doc fixes.
6144
f6aa5bb1
GM
6145 * term/ns-win.el (mode-line-frame-identification):
6146 Leave it alone. (Bug#10051)
6147
947cd66b
GM
6148 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6149
447f30f6
GM
6150 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6151 Handle empty buffers. (Bug#9978)
6152
0b381c7e
JB
61532011-11-14 Juanma Barranquero <lekktu@gmail.com>
6154
6155 * international/mule.el (define-charset):
6156 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6157 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6158 * progmodes/verilog-mode.el (verilog-backward-token):
6159 * textmodes/ispell.el (lookup-words):
6160 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6161
71e027ac
GM
61622011-11-14 Glenn Morris <rgm@gnu.org>
6163
56632ce4
GM
6164 * progmodes/executable.el
6165 (executable-make-buffer-file-executable-if-script-p):
6166 Handle file-modes returning nil.
6167
40500957
GM
6168 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6169 message - not necessary, and causes problems. (Bug#9831)
6170
071c2340
GM
6171 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6172
d3cfca60
GM
6173 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6174
71e027ac
GM
6175 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6176 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6177 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6178
89d61221
MR
61792011-11-12 Martin Rudalics <rudalics@gmx.at>
6180
6181 * window.el (window-resize, delete-window): Use window-splits
6182 variable instead of function.
6183 (window-state-get-1, window-state-put-2, window-state-put):
6184 Don't deal with windows' splits status.
6185
98282f6f
GM
61862011-11-12 Glenn Morris <rgm@gnu.org>
6187
6188 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6189 (apropos-documentation): Doc fixes.
6190
40a8bdf6
JB
61912011-11-11 Juanma Barranquero <lekktu@gmail.com>
6192
6193 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6194 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6195
65bd19ff
SM
61962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * electric.el (electric-indent-post-self-insert-function): Make it
6199 possible for a char to only indent in some circumstances.
6200 (electric-indent-mode): Simplify.
6201
54f9154c
MR
62022011-11-11 Martin Rudalics <rudalics@gmx.at>
6203
6204 * window.el (windows-with-parameter): Remove unused function.
6205 (windows-at-side): Rename to window-at-side-list.
6206 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6207 (window-side-check, window-size-ignore, window-size-fixed-1)
6208 (window-in-direction-2): Prefix with "window--".
6209 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6210
68cbc58b
GM
62112011-11-11 Glenn Morris <rgm@gnu.org>
6212
6213 * subr.el (eval-after-load): If FILE is already loaded,
6214 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6215
b2621720
GM
62162011-11-10 Glenn Morris <rgm@gnu.org>
6217
9a4de110
GM
6218 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6219 Call svn via vc-svn-command rather than vc-do-command.
6220 (vc-svn-command): Add --non-interactive. (Bug#9993)
6221 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6222
b2621720
GM
6223 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6224 Add toggle-read-only. (Bug#7292)
6225 * files.el (toggle-read-only): Mention that it should only
6226 be used interactively. (Bug#10006)
6227
1dce7193
SM
62282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6229
d9ac1a1e
SM
6230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6231 Adjust regexp for OCaml warnings.
6232
0c325082
SM
6233 * electric.el (electric-pair-post-self-insert-function): Let user
6234 turn it off buffer-locally (bug#9932).
6235
90132c14
SM
6236 * progmodes/python.el (python-beginning-of-statement):
6237 Rewrite (bug#2703).
6238
1dce7193
SM
6239 * progmodes/compile.el: Better handle TABs (bug#9749).
6240 (compilation-internal-error-properties)
6241 (compilation-next-error-function): Obey the target buffer's
6242 compilation-error-screen-columns.
6243
c4e7c63a
JB
62442011-11-09 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * progmodes/meta-mode.el: Remove obsolete comments.
6247 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6248 Fix typos in docstrings.
6249
2cffd681
MR
62502011-11-09 Martin Rudalics <rudalics@gmx.at>
6251
6252 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6253 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6254 (window--resizable): New function. Make all callers of
6255 window-resizable call window--resizable instead.
6256 (window-resizable): Rewrite in terms of window--resizable.
6257
0edcba87
GM
62582011-11-08 Glenn Morris <rgm@gnu.org>
6259
6260 * progmodes/delphi.el (delphi-mode-syntax-table):
6261 Let define-derived-mode define a proper syntax table. (Bug#9994)
6262
4b0d61e3
SM
62632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * window.el: Stay away from defsubst.
6266 (window-list-no-nils): Remove.
6267 (window-state-get-1, window-state-get): Use backquote instead.
6268
cd394be1 62692011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6270
4b0d61e3 6271 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6272 Fix incorrect use of default argument in `completing-read'.
6273
e1c2c6f2
MR
62742011-11-08 Martin Rudalics <rudalics@gmx.at>
6275
6276 * window.el (display-buffer-function, special-display-function):
6277 Mention display-buffer-record-window but do not mention
6278 help-setup parameter in doc-strings.
b3f4a882 6279 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6280
105216ed
CY
62812011-11-08 Chong Yidong <cyd@gnu.org>
6282
6283 * window.el (window-total-height, window-total-width): Doc fix.
6284 (window-body-size): Move from C.
6285 (window-body-height, window-body-width): Move to C.
6286
0a9f9ab5
SM
62872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * window.el: Make special-display like display-buffer-alist (bug#9532).
6290 (display-buffer--special-action): New function, morphed
6291 from display-buffer--special.
6292 (display-buffer): Use it to handle special-display-buffers at higher
6293 priority (just after display-buffer-alist).
6294 (display-buffer-fallback-action, display-buffer--other-frame-action)
6295 (pop-to-buffer-same-window): Remove display-buffer--special.
6296
a769dd15
GM
62972011-11-07 Glenn Morris <rgm@gnu.org>
6298
6299 * calendar/cal-menu.el (cal-menu-set-date-title):
6300 Do nothing if not in a calendar. (Bug#9976)
6301
05a61ee3
SM
63022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * files.el (find-file): Always use selected-window.
6305
be7f5545
MR
63062011-11-07 Martin Rudalics <rudalics@gmx.at>
6307
6308 * window.el (window-combinations): Make WINDOW argument
6309 mandatory. Rewrite doc-string.
6310 (walk-window-subtree, window-atom-check, window-min-delta)
6311 (window-max-delta, window--resize-this-window)
6312 (window--resize-root-window-vertically, window-tree)
6313 (balance-windows, window-state-put): Rewrite doc-strings as to
6314 not mention the term "subwindow".
6315 (window--resize-subwindows-skip-p): Rename to
6316 window--resize-child-windows-skip-p.
6317 (window--resize-subwindows-normal): Rename to
6318 window--resize-child-windows-normal.
6319 (window--resize-subwindows): Rename to
6320 window--resize-child-windows.
6321 (window-or-subwindow-p): Rename to window--in-subtree-p.
6322
3c6702ef
ML
63232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6324
6325 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6326 Ensure that mbox format messages end in two newlines (Bug#9974).
6327
49745b39
CY
63282011-11-06 Chong Yidong <cyd@gnu.org>
6329
6330 * window.el (window-combination-p): Function deleted; its
6331 side-effect is not used in any existing code.
6332 (window-combinations, window-combined-p): Call window-*-child
6333 directly.
6334
24300f5f
CY
63352011-11-05 Chong Yidong <cyd@gnu.org>
6336
6337 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6338 (window-size-ignore, window-state-get): Callers changed.
6339 (window-normalize-window): Rename from window-normalize-any-window.
6340 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6341 (window-normalize-live-window): Delete.
447f16b8
CY
6342 (window-combination-p, window-combined-p, window-combinations)
6343 (walk-window-subtree, window-atom-root, window-min-size)
6344 (window-sizable, window-sizable-p, window-size-fixed-p)
6345 (window-min-delta, window-max-delta, window-resizable)
6346 (window-resizable-p, window-full-height-p, window-full-width-p)
6347 (window-current-scroll-bars, window-point-1, set-window-point-1)
6348 (window-at-side-p, window-in-direction, window-resize)
6349 (adjust-window-trailing-edge, maximize-window, minimize-window)
6350 (window-deletable-p, delete-window, delete-other-windows)
6351 (record-window-buffer, unrecord-window-buffer)
6352 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6353 (quit-window, split-window, window-state-put)
6354 (set-window-text-height, fit-window-to-buffer)
6355 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6356
89bd5ee1
EZ
63572011-11-04 Eli Zaretskii <eliz@gnu.org>
6358
53479029
EZ
6359 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6360 rfc2047-decode-string.
6361 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6362 warnings.
6363
89bd5ee1
EZ
6364 * window.el (window-body-height, window-body-width): Mention in
6365 the doc string that the return values are in frame's canonical
6366 units. (Bug#9949)
6367
bd17fdee
AM
63682011-11-03 Alan Mackenzie <acm@muc.de>
6369
6370 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6371 change in cc-engine.el.
6372
acc825c5
SM
63732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6376
1885e5b8
MR
63772011-11-02 Martin Rudalics <rudalics@gmx.at>
6378
6379 * window.el (quit-window): Call unrecord-window-buffer after
6380 showing another buffer in the window. (Bug#9937)
acc825c5 6381 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6382
ebe06da9
JB
63832011-11-02 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6386 Accept status with more than 9 shelves. (Bug#9935)
6387 Reported by Colin D Bennett <colin@gibibit.com>.
6388
4ee88440
MR
63892011-11-01 Martin Rudalics <rudalics@gmx.at>
6390
6391 * help.el (with-help-window): Don't reference
6392 temp-buffer-show-specifiers in doc-string.
6393
08e1d82c
AS
63942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6395
6396 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6397 menu-item.
6398
84bd6e9e
VJL
63992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6400
6401 * whitespace.el: New version 13.2.2.
6402 (whitespace-newline-mode): Disable properly. Reported by Sarah
6403 <EmacsWiki>.
6404
dba0634a
UJ
64052011-10-30 Ulf Jasper <ulf.jasper@web.de>
6406
6407 * net/newst-treeview.el: Remove "Time-stamp".
6408 (newsticker--group-manage-orphan-feeds): Do not call
6409 newsticker--treeview-tree-update.
db22a3c2
JB
6410 (newsticker-treeview-update, newsticker-treeview):
6411 Call newsticker--treeview-tree-update if necessary.
dba0634a 6412
3d8daefe
MR
64132011-10-30 Martin Rudalics <rudalics@gmx.at>
6414
6415 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6416 (window-iso-combinations): Remove "iso-" infix.
6417 Suggested by Chong Yidong.
3d8daefe
MR
6418 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6419 (window-max-delta-1, window-resize, window--resize-siblings)
6420 (window--resize-this-window, adjust-window-trailing-edge)
6421 (split-window, balance-windows-1)
6422 (shrink-window-if-larger-than-buffer):
6423 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6424 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6425
1bc4c3ae
SM
64262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6429 in place (bug#9907).
6430 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6431 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6432 (eshell-structure-basic-command, eshell-rewrite-while-command)
6433 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6434 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6435 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6436 (eshell-do-pipelines-synchronously, eshell-eval-command):
6437 Use backquotes and prefer setq to set.
6438 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6439 (eshell-macrop): Use functionp.
c1e2f5fa 6440 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6441
30b65d9c
CY
64422011-10-30 Chong Yidong <cyd@gnu.org>
6443
6444 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6445 instead of set-mark (Bug#9810).
6446
2d197ffb
CY
64472011-10-30 Chong Yidong <cyd@gnu.org>
6448
6449 * window.el (split-window-below, split-window-right): Rename from
6450 split-window-above-each-other and split-window-side-by-side
6451 respectively. All callers changed.
6452 (split-window-sensibly, split-window-sensibly): Use them.
6453 (split-window-keep-point): Doc fix.
6454
6455 * isearch.el: Add isearch-scroll property to split-window-below
6456 and split-window-right.
6457
6458 * follow.el (follow-mode):
6459 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6460 * progmodes/ada-xref.el (ada-gdb-application):
6461 * emulation/vip.el (vip-buffer-in-two-windows):
6462 * image-dired.el (image-dired-dired-with-window-configuration):
6463 * dired-x.el (dired-do-find-marked-files):
6464 * dired.el (dired-pop-to-buffer):
6465 * bs.el (bs--show-with-configuration):
6466 * vc/emerge.el (emerge-setup-windows):
6467 * textmodes/two-column.el (2C-two-columns):
6468 * textmodes/reftex-toc.el (reftex-toc):
6469 * progmodes/gdb-mi.el (gdb-setup-windows):
6470 * progmodes/fortran.el (fortran-window-create):
6471 * net/newst-treeview.el (newsticker--treeview-window-init):
6472 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6473 * emulation/tpu-edt.el (tpu-gold-map):
6474 * emulation/crisp.el (crisp-mode-map):
6475 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6476
38bb2ca8
CY
64772011-10-29 Chong Yidong <cyd@gnu.org>
6478
aa4de341
CY
6479 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6480
e1eb5385
CY
6481 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6482
5d2ece3c
CY
6483 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6484 forged Ispell output (Bug#7904).
6485
38bb2ca8
CY
6486 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6487
d0af9f77
SM
64882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * doc-view.el: Avoid ugly errors about not finding nil.
6491 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6492 (doc-view-dvipdf-program, doc-view-unoconv-program)
6493 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6494 Avoid nil or absolute file name as default value.
6495 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6496
52bedd34
AM
64972011-10-28 Alan Mackenzie <acm@muc.de>
6498
db22a3c2 6499 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6500
7e43cfa5
AM
65012011-10-28 Alan Mackenzie <acm@muc.de>
6502
6503 Amend the handling of c-beginning/end-of-defun in nested declaration
6504 scopes.
6505
52bedd34
AM
6506 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6507 cc-langs.el. Change it to a defcustom.
7e43cfa5 6508
52bedd34
AM
6509 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6510 cc-vars.el.
7e43cfa5 6511
d0af9f77
SM
6512 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6513 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6514
52bedd34 6515 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6516 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6517 (c-widen-to-enclosing-decl-scope): New function.
6518 (c-while-widening-to-decl-block): New macro.
6519 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6520 outward for defun boundaries, and correspondingly change symbol
6521 `respect-enclosure' to `go-outward'.
6522 (c-declaration-limits): Change algorithm to report only the "innermost"
6523 defun's boundaries.
6524
1a2ce9ee
DD
65252011-10-28 Deniz Dogan <deniz@dogan.se>
6526
6527 * net/rcirc.el (rcirc-mode): Use hard newlines.
6528
bc97a826
AM
65292011-10-28 Alan Mackenzie <acm@muc.de>
6530
6531 Amend to indent and fontify macros "which include their own semicolon"
6532 correctly, using the "virtual semicolon" mechanism.
6533
52bedd34 6534 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6535
d0af9f77 6536 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6537 Recode to scan one line at a time rather than having \n and \r
58179cce 6538 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6539 (c-forward-label): Amend for virtual semicolons.
58179cce 6540 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6541
52bedd34
AM
6542 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6543 of the new C macros.
bc97a826 6544
52bedd34 6545 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6546 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6547 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6548 (c-opt-cpp-macro-define): Make into a full language variable.
6549 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6550 AWK Mode (including \n, \r) removed, no longer needed.
6551
d0af9f77
SM
6552 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6553 Invoke c-make-macro-with-semi-re.
bc97a826 6554
52bedd34
AM
6555 * progmodes/cc-vars.el (c-macro-with-semi-re):
6556 (c-macro-names-with-semicolon): New variables.
58179cce 6557 (c-make-macro-with-semi-re): New function.
bc97a826 6558
7a6c0941
SM
65592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * vc/log-edit.el: Fill empty field rather than adding new one.
6562 (log-edit-add-field): New function.
6563 (log-edit-insert-changelog): Use it.
6564
b0c4cdcf
ML
65652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6566
6567 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6568
ee1f1da9
SM
65692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6570
6571 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6572 (gdb--check-interpreter): New function.
6573 (gdb): Use it.
6574
51bc5f8b
GM
65752011-10-27 Glenn Morris <rgm@gnu.org>
6576
416a2c45
GM
6577 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6578 (least-positive-float, least-negative-float)
6579 (least-positive-normalized-float, least-negative-normalized-float)
6580 (float-epsilon, float-negative-epsilon):
6581 Remove unnecessary declarations.
6582
6583 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6584 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6585 (least-positive-float, least-negative-float)
6586 (least-positive-normalized-float, least-negative-normalized-float)
6587 (float-epsilon, float-negative-epsilon): Add doc-strings,
6588 based on those in cl.texi.
6589
51bc5f8b
GM
6590 * files.el (set-visited-file-name): If the major-mode changed,
6591 reload the local variables. (Bug#9796)
6592
15de15c6
CY
65932011-10-27 Chong Yidong <cyd@gnu.org>
6594
6595 * subr.el (change-major-mode-after-body-hook): New hook.
6596 (run-mode-hooks): Run it.
6597
ee1f1da9
SM
6598 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6599 Use change-major-mode-before-body-hook.
15de15c6
CY
6600
6601 * simple.el (fundamental-mode):
6602 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6603 change introducing fundamental-mode-hook.
6604
5430d399
JB
66052011-10-26 Juanma Barranquero <lekktu@gmail.com>
6606
acc825c5 6607 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6608
ad74a69e
MA
66092011-10-26 Michael Albinus <michael.albinus@gmx.de>
6610
6611 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6612 tramp.el explicitly. (Bug#7583)
ad74a69e 6613
71d4c2a5
SM
66142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * progmodes/octave-mod.el:
6617 * progmodes/octave-inf.el: Update maintainer.
6618
b1f6fa26
CY
66192011-10-26 Chong Yidong <cyd@gnu.org>
6620
6621 * subr.el (with-wrapper-hook): Rewrite doc.
6622
3f04efd6
MA
66232011-10-25 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6626 filenames "/method:foo:". (Bug#9793)
3f04efd6 6627
410488d3
SM
66282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6631 (bug#9865).
6632
c1ebb47e
GM
66332011-10-24 Glenn Morris <rgm@gnu.org>
6634
6635 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6636
7f5c46c7
MA
66372011-10-24 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * notifications.el: Add the requirement of a running D-Bus session
6640 bus to the Commentary.
6641
db2440b6
JL
66422011-10-24 Juri Linkov <juri@jurta.org>
6643
6644 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6645 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6646 (Bug#9364)
6647
feecf435
JL
66482011-10-24 Juri Linkov <juri@jurta.org>
6649
6650 * info.el (Info-following-node-name-re): Add newline to the list
6651 of allowed characters for leading space. (Bug#9824)
6652
a3839de2
SM
66532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6654
acc825c5
SM
6655 * progmodes/octave-inf.el (inferior-octave-mode-map):
6656 Fix C-c C-h binding.
a3839de2
SM
6657 * progmodes/octave-mod.el (octave-help): Remove.
6658
09388e76
MA
66592011-10-23 Michael Albinus <michael.albinus@gmx.de>
6660
6661 Sync with Tramp 2.2.3.
6662
6663 * net/tramp-cache.el (top): Pacify byte-compiler using
6664 `init-file-user' and `site-run-file'.
6665
6666 * net/trampver.el: Update release number.
6667
86c60681
CY
66682011-10-23 Chong Yidong <cyd@gnu.org>
6669
6670 * files.el (toggle-read-only): Remove obsolete comment about
6671 version control.
6672
6673 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6674 for toggle-read-only. Note that this hasn't called vc-next-action
6675 since 2008-05-02, though it wasn't documented at the time.
6676
a3839de2
SM
6677 * vc/ediff-init.el (ediff-toggle-read-only-function):
6678 Use toggle-read-only.
86c60681 6679
cd5495ff
AM
66802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6681
6682 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6683 of c-parse-state.
6684
00b77525 6685 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6686 correct faulty logical expression.
cd5495ff
AM
6687 (c-parse-state-state, c-record-parse-state-state):
6688 (c-replay-parse-state-state): New defvar/defuns.
6689 (c-debug-parse-state): Use new functions.
6690
42ee24ed
MR
66912011-10-22 Martin Rudalics <rudalics@gmx.at>
6692
6693 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6694 last fix. Use window-in-direction correctly.
42ee24ed 6695
a7dee7e7
CY
66962011-10-21 Chong Yidong <cyd@gnu.org>
6697
6698 * progmodes/idlwave.el (idlwave-mode):
6699 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6700 require-final-newline; that's done in prog-mode.
6701 Suggested by Stefan Monnier.
a7dee7e7 6702
e07b9a6d
MR
67032011-10-21 Martin Rudalics <rudalics@gmx.at>
6704
6705 * mouse.el (mouse-drag-window-above)
6706 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6707 (mouse-drag-mode-line-1, mouse-drag-header-line)
6708 (mouse-drag-vertical-line-rightward-window): Remove.
6709 (mouse-drag-line): New function.
6710 (mouse-drag-mode-line, mouse-drag-header-line)
6711 (mouse-drag-vertical-line): Call mouse-drag-line.
6712 * window.el (window-at-side-p, windows-at-side): New functions.
6713
7e1361d9
UM
67142011-10-21 Ulrich Mueller <ulm@gentoo.org>
6715
6716 * tar-mode.el (tar-grind-file-mode):
6717 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6718
30fcaf3a
CY
67192011-10-21 Chong Yidong <cyd@gnu.org>
6720
6721 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6722 * progmodes/vera-mode.el (vera-mode):
6723 Use mode-require-final-newline.
30fcaf3a 6724
516eddb0
GM
67252011-10-20 Glenn Morris <rgm@gnu.org>
6726
db22a3c2 6727 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6728
10d5f513
CS
67292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6730
6731 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6732
ac6c8639
CY
67332011-10-20 Chong Yidong <cyd@gnu.org>
6734
6735 * emulation/cua-base.el (cua-mode):
6736 * mail/footnote.el (footnote-mode):
6737 * mail/mailabbrev.el (mail-abbrevs-mode):
6738 * net/xesam.el (xesam-minor-mode):
6739 * progmodes/bug-reference.el (bug-reference-mode):
6740 * progmodes/cap-words.el (capitalized-words-mode):
6741 * progmodes/compile.el (compilation-minor-mode)
6742 (compilation-shell-minor-mode):
6743 * progmodes/gud.el (gud-tooltip-mode):
6744 * progmodes/hideif.el (hide-ifdef-mode):
6745 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6746 * progmodes/subword.el (subword-mode):
6747 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6748 * progmodes/which-func.el (which-function-mode):
6749 * term/tvi970.el (tvi970-set-keypad-mode):
6750 * term/vt100.el (vt100-wide-mode):
6751 * textmodes/flyspell.el (flyspell-mode):
6752 * textmodes/ispell.el (ispell-minor-mode):
6753 * textmodes/nroff-mode.el (nroff-electric-mode):
6754 * textmodes/paragraphs.el (use-hard-newlines):
6755 * textmodes/refill.el (refill-mode):
6756 * textmodes/reftex.el (reftex-mode):
6757 * textmodes/rst.el (rst-minor-mode):
6758 * textmodes/sgml-mode.el (html-autoview-mode)
6759 (sgml-electric-tag-pair-mode):
6760 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6761 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6762 * emulation/crisp.el (crisp-mode):
6763 * emacs-lisp/eldoc.el (eldoc-mode):
6764 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6765 minor mode behavior.
6766
aa42ab43
JL
67672011-10-19 Juri Linkov <juri@jurta.org>
6768
6769 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6770 the list of hard-coded chars with escape-glyph face.
6771
89400f1d
SM
67722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6775
305c07f6
MA
67762011-10-19 Michael Albinus <michael.albinus@gmx.de>
6777
6778 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6779 running process.
6780
13754b54
GM
67812011-10-19 Glenn Morris <rgm@gnu.org>
6782
6783 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6784 Ignore ignored files. (Bug#9726)
6785
06e21633
CY
67862011-10-19 Chong Yidong <cyd@gnu.org>
6787
6788 Doc fix for minor modes, stating that an omitted argument enables
6789 the mode unconditionally when called from Lisp.
6790
6791 * abbrev.el (abbrev-mode):
6792 * allout.el (allout-mode):
6793 * autoinsert.el (auto-insert-mode):
6794 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6795 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6796 (global-auto-revert-mode):
6797 * battery.el (display-battery-mode):
6798 * composite.el (global-auto-composition-mode)
6799 (auto-composition-mode):
6800 * delsel.el (delete-selection-mode):
6801 * desktop.el (desktop-save-mode):
6802 * dired-x.el (dired-omit-mode):
6803 * dirtrack.el (dirtrack-mode):
6804 * doc-view.el (doc-view-minor-mode):
6805 * double.el (double-mode):
6806 * electric.el (electric-indent-mode, electric-pair-mode):
6807 * emacs-lock.el (emacs-lock-mode):
6808 * epa-hook.el (auto-encryption-mode):
6809 * follow.el (follow-mode):
6810 * font-core.el (font-lock-mode):
6811 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6812 * help.el (temp-buffer-resize-mode):
6813 * hilit-chg.el (highlight-changes-mode)
6814 (highlight-changes-visible-mode):
6815 * hi-lock.el (hi-lock-mode):
6816 * hl-line.el (hl-line-mode, global-hl-line-mode):
6817 * icomplete.el (icomplete-mode):
6818 * ido.el (ido-everywhere):
6819 * image-file.el (auto-image-file-mode):
6820 * image-mode.el (image-minor-mode):
6821 * iswitchb.el (iswitchb-mode):
6822 * jka-cmpr-hook.el (auto-compression-mode):
6823 * linum.el (linum-mode):
6824 * longlines.el (longlines-mode):
6825 * master.el (master-mode):
6826 * mb-depth.el (minibuffer-depth-indicate-mode):
6827 * menu-bar.el (menu-bar-mode):
6828 * minibuf-eldef.el (minibuffer-electric-default-mode):
6829 * mouse-sel.el (mouse-sel-mode):
6830 * msb.el (msb-mode):
6831 * mwheel.el (mouse-wheel-mode):
6832 * outline.el (outline-minor-mode):
6833 * paren.el (show-paren-mode):
6834 * recentf.el (recentf-mode):
6835 * reveal.el (reveal-mode, global-reveal-mode):
6836 * rfn-eshadow.el (file-name-shadow-mode):
6837 * ruler-mode.el (ruler-mode):
6838 * savehist.el (savehist-mode):
6839 * scroll-all.el (scroll-all-mode):
6840 * scroll-bar.el (scroll-bar-mode):
6841 * server.el (server-mode):
6842 * shell.el (shell-dirtrack-mode):
6843 * simple.el (auto-fill-mode, transient-mark-mode)
6844 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6845 (line-number-mode, column-number-mode, size-indication-mode)
6846 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6847 * strokes.el (strokes-mode):
6848 * time.el (display-time-mode):
6849 * t-mouse.el (gpm-mouse-mode):
6850 * tool-bar.el (tool-bar-mode):
6851 * tooltip.el (tooltip-mode):
6852 * type-break.el (type-break-mode-line-message-mode)
6853 (type-break-query-mode):
6854 * view.el (view-mode):
6855 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6856 (global-whitespace-mode, global-whitespace-newline-mode):
6857 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6858
a3839de2
SM
6859 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6860 Fix autogenerated docstring.
06e21633 6861
5214e501
JL
68622011-10-19 Juri Linkov <juri@jurta.org>
6863
6864 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6865 by checking environment variables "DESKTOP_SESSION" and
6866 "XDG_CURRENT_DESKTOP". (Bug#9779)
6867
195f8db9
JL
68682011-10-19 Juri Linkov <juri@jurta.org>
6869
6870 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6871 (browse-url-chromium-program, browse-url-chromium-arguments):
6872 New defcustoms.
6873 (browse-url-default-browser): Check for `browse-url-chromium' and
6874 call `browse-url-chromium-program'.
6875 (browse-url-chromium): New command. (Bug#9779)
6876
343a34ff
JB
68772011-10-18 Juanma Barranquero <lekktu@gmail.com>
6878
6879 * facemenu.el (list-colors-duplicates): On Windows, detect more
6880 duplicates by assuming that only colors matching "^System" are
6881 special "system colors". (Bug#9722)
6882
6978a151
SM
68832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6886 to distinguish the author from the committer.
6887
6a80b297
MA
68882011-10-18 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6891
b31a5677
JK
68922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6893
6894 * international/mule.el (sgml-html-meta-auto-coding-function):
6895 Add support for detecting encoding in HTML5 specified only as
6896 <meta charset="UTF-8">. Implementation just makes http-equiv and
6897 content-type parts from HTML4 encoding string optional. (Bug#9716)
6898
80c6d77f
GM
68992011-10-18 Glenn Morris <rgm@gnu.org>
6900
6901 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6902
08b0fee8
CY
69032011-10-18 Chong Yidong <cyd@gnu.org>
6904
6905 * faces.el (cursor): Doc fix.
6906
67e729a5
CY
69072011-10-17 Chong Yidong <cyd@gnu.org>
6908
6909 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6910
343a34ff 69112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6912
6913 * dirtrack.el (dirtrack): Support shell buffers with path
6914 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6915
0bc06380
TZ
69162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6917
6918 * json.el: Bump version to 1.3 and note change in History.
6919 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6920
8b79f3e0
SM
69212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6922
5a7c536b
SM
6923 * comint.el (comint-insert-input, comint-send-input)
6924 (comint-get-old-input-default, comint-backward-matching-input)
6925 (comint-next-prompt): Use nil instead of `input' for field property of
6926 past user input (bug#114).
6927
96a8a0df
SM
6928 * minibuffer.el (completion--replace): Inherit surrounding properties
6929 (bug#114).
6930 (minibuffer-complete-and-exit): Use it.
6931
8b79f3e0
SM
6932 * comint.el (comint--table-subvert): Quote the all-completions output
6933 (bug#9160).
6934
b8f7ff0d
MR
69352011-10-17 Martin Rudalics <rudalics@gmx.at>
6936
8b79f3e0 6937 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6938
b8f7ff0d 6939 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6940 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6941 entries and separate them from frame entries.
6942
c235b555
GM
69432011-10-15 Glenn Morris <rgm@gnu.org>
6944
6945 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6946 Doc fixes.
6947
6bbfa6e1
CY
69482011-10-15 Chong Yidong <cyd@stupidchicken.com>
6949
8b79f3e0
SM
6950 * net/network-stream.el (network-stream-open-starttls):
6951 Improve detection of failure due to lack of TLS support.
ec5c990d 6952
6bbfa6e1
CY
6953 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6954 putting the input text in front and in bold.
6955
98488977
SM
69562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6957
3d1337be
SM
6958 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6959
ee0b45e4
SM
6960 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6961 empty buffer.
6962
98488977
SM
6963 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6964 unread-command-events rather than pushing yet-another event.
6965
186f4720
EZ
69662011-10-14 Eli Zaretskii <eliz@gnu.org>
6967
6968 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6969 the explanation of the possible choices. Make the options passed
6970 to completing-read shorter.
6971
8b7a997c
AM
69722011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6973
6974 * textmodes/flyspell.el (flyspell-large-region): Make sure
6975 extended character mode is used if defined (Bug#1339).
6976
12587bbb
EZ
69772011-10-13 Eli Zaretskii <eliz@gnu.org>
6978
6979 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6980 character info for LRE, LRO, RLE, and RLO characters by appending
6981 an invisible PDF.
12587bbb 6982
bad41229
SM
69832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6986 even in case of error; add debug spec; simplify data flow.
6987 (with-timeout-handler): Remove.
6988
28dbc92f
MA
69892011-10-12 Michael Albinus <michael.albinus@gmx.de>
6990
6991 Fix Bug#6019, Bug#9315.
6992
6993 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6994 complete `buffer-file-name', the local file name part could look
6995 remotely (for example on VMS).
6996
6997 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6998 `tramp-run-real-handler'.
6999 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7000 already quoted by '"'.
7001
7002 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7003 Let `file-name-handler-alist' be nil, the local file name part
7004 could look remotely (for example on VMS).
7005
e1b0b23a
SM
70062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7009 from here...
7010 (flyspell-post-command-hook): ...to here.
7011
a120bde9
SM
70122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7015 if not needed.
7016 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7017 using completion. Protect against "slow" callers.
7018 Remove the "message hack".
7019
7ce7717b
JL
70202011-10-11 Juri Linkov <juri@jurta.org>
7021
7022 * isearch.el (isearch-lazy-highlight-word): New variable.
7023 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7024 Use it. (Bug#9727)
7025
c02ee9d6
GM
70262011-10-11 Glenn Morris <rgm@gnu.org>
7027
7028 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7029 like f90-previous-statement does.
7030
93e616fd 70312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7032
1f190e73 7033 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7034 only in interactive use, to avoid error.
7035
af7b6078
SM
70362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * minibuffer.el (completion-file-name-table): Fix last change,
7039 i.e. ignore normal errors but not the other ones.
7040
0563dae9
MR
70412011-10-10 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (special-display-buffer-names)
7044 (special-display-regexps): Remove some remnants of earlier
7045 changes from doc-strings.
366ca7f3
MR
7046 (quit-windows-on): New function.
7047
7048 * vc/vc.el (vc-revert, vc-rollback):
7049 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7050 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7051 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7052
49677495
MR
70532011-10-09 Martin Rudalics <rudalics@gmx.at>
7054
7055 * window.el (frame-auto-hide-function): Add version tag.
7056 (Bug#9699)
7057
56f2d1e1
MA
70582011-10-09 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7061 condition.
7062
112a6592
LL
70632011-10-09 Leo Liu <sdl.web@gmail.com>
7064
7065 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7066 (Bug#9701)
7067
0812589b
GM
70682011-10-08 Glenn Morris <rgm@gnu.org>
7069
7070 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7071 before the first code statement zero indent. (Bug#9690)
7072
b2b0776e
CY
70732011-10-08 Chong Yidong <cyd@stupidchicken.com>
7074
7075 * simple.el (count-words-region): Always count in the region.
7076 Report the number of lines and characters too.
7077 (count-words): New command, which counts in the buffer if the
7078 region is inactive, as count-words-region used to.
7079 (count-words--message): New function. Handle plurals.
7080 (count-lines-region): Make it an alias for count-words-region.
7081
7082 * bindings.el (esc-map): Replace count-lines-region with
7083 count-words-region.
7084
c557cd6b
MR
70852011-10-08 Martin Rudalics <rudalics@gmx.at>
7086
7087 * window.el (window--delete): Delete dedicated frame
7088 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7089 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7090
61a57ef4 70912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7092
3a7d293b 7093 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7094
c3833279
CY
70952011-10-07 Chong Yidong <cyd@stupidchicken.com>
7096
7097 * bindings.el ([M-left],[M-right]): Bind to left-word and
7098 right-word respectively.
7099
21ce8245
GM
71002011-10-07 Glenn Morris <rgm@gnu.org>
7101
7102 * cus-start.el (debug-on-quit): Fix custom type.
7103
6d823bb2
LMI
71042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7105
0181e193
LMI
7106 * subr.el (define-key-after): Clarify that the function is not
7107 useful for non-menu keymaps.
7108
6d823bb2
LMI
7109 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7110
8e3459ce 71112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7112
21ce8245 7113 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7114 in current minibuffer (Fix bug with recursive minibuffers).
7115
a1c2d21e
CY
71162011-10-06 Chong Yidong <cyd@stupidchicken.com>
7117
7118 * progmodes/gdb-mi.el (gdb): Doc fix.
7119
5a4cf282
MR
71202011-10-05 Martin Rudalics <rudalics@gmx.at>
7121
7122 * window.el (frame-auto-hide-function): New option replacing
7123 frame-auto-delete. Suggested by Stefan Monnier.
7124 (window--delete): Call frame-auto-hide-function instead of
7125 investigating frame-auto-delete.
c96111ea
MR
7126 (window-point-1, set-window-point-1): New functions.
7127 (window-in-direction, record-window-buffer, window-state-get-1)
7128 (display-buffer-record-window): Use window-point-1 instead of
7129 window-point.
7130 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7131
9854542e
SM
71322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7135
8943cfb0
GM
71362011-10-05 Glenn Morris <rgm@gnu.org>
7137
7138 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7139 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7140
647ab967
LL
71412011-10-05 Leo Liu <sdl.web@gmail.com>
7142
7143 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7144 works with buffer object.
7145
3ddfbced
SM
71462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * mpc.el (mpc-tool-bar-map): Add labels.
7149
bdfa5dd2
GM
71502011-10-04 Glenn Morris <rgm@gnu.org>
7151
7152 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7153
0e2070b5
MR
71542011-10-04 Martin Rudalics <rudalics@gmx.at>
7155
7156 * window.el (window--delete): New function.
7157 (frame-auto-delete): Resuscitate option.
7158 (bury-buffer, replace-buffer-in-windows)
7159 (quit-window): Rewrite using window--delete.
7160 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7161 Pass display-buffer-mark-dedicated to window--display-buffer-2
7162 (Bug#9639).
7163
3dc61a09
SM
71642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7165
915a9b64
SM
7166 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7167 returns a list (bug#9554). Add remote file name completion.
7168 * comint.el (comint--table-subvert): Curry and get quote&unquote
7169 functions as arguments.
7170 (comint--complete-file-name-data): Adjust call accordingly.
7171 * pcomplete.el (pcomplete--table-subvert): Remove.
7172 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7173
3dc61a09
SM
7174 * minibuffer.el (completion-table-case-fold): Use currying.
7175 (completion--styles-type, completion--cycling-threshold-type):
7176 New constants.
7177 (completion-styles, completion-category-overrides)
7178 (completion-cycle-threshold): Use them.
7179 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7180 completion-table-case-fold.
7181
8ea0a993
SB
71822011-10-03 Stephen Berman <stephen.berman@gmx.net>
7183
7184 * minibuffer.el (completion-category-overrides): Fix type of styles
7185 and add more user friendly tags (bug#9660).
7186
8c24b7f6
SM
71872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7190 (mule-input-method-string): New widget.
7191 (default-input-method, language-info-custom-alist): Use it.
7192
428fe61a
SM
71932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7194
32c1fffd
SM
7195 * pcomplete.el: Require comint.
7196 (pcomplete--common-suffix): Remove.
7197 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7198 (pcomplete--table-subvert): Sync with comint--table-subvert.
7199 (pcomplete--entries): Use comint-completion-file-name-table.
7200 * comint.el (comint-unquote-filename): Simplify.
7201 (comint-completion-file-name-table): New function (bug#9616).
7202 (comint--complete-file-name-data): Use it.
7203
428fe61a
SM
7204 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7205 (pcmpl-gnu-tar-buffer): Remove.
7206 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7207 around. Make sure pcomplete-suffix-list is only changed temporarily.
7208 Don't look inside the tar's file if it's too large.
428fe61a 7209
04c52e2f
CY
72102011-10-01 Chong Yidong <cyd@stupidchicken.com>
7211
ce3cefcc
CY
7212 * cus-edit.el (custom-mode-map):
7213 * epa.el (epa-key-list-mode-map):
7214 * man.el (Man-mode-map):
7215 * startup.el (splash-screen-keymap):
7216 * simple.el (special-mode-map): Use scroll-up-command and
7217 scroll-down-command.
7218
7219 * progmodes/idlw-help.el (idlwave-help-mode-map):
7220 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7221 * net/newst-plainview.el (newsticker-mode-map):
7222 * emulation/ws-mode.el (wordstar-mode-map):
7223 * emulation/vi.el (vi-com-map):
7224 * calc/calc-graph.el (calc-graph-show-dumb):
7225 * term/sun.el (terminal-init-sun):
7226 * term/ns-win.el (global-map):
7227 * progmodes/grep.el (grep-mode-map):
7228 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7229 * mail/rmail.el (rmail-mode-map):
7230 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7231
04c52e2f
CY
7232 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7233 custom-safe-themes as special.
7234
79adf8c8
JD
72352011-10-01 Julien Danjou <julien@danjou.info>
7236
7237 * notifications.el (notifications-notify): Fix docstring.
7238
63bd50d3
PS
72392011-10-01 Per Starbäck <per@starback.se>
7240
7241 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7242
199e4c7e
MR
72432011-09-30 Martin Rudalics <rudalics@gmx.at>
7244
7245 * startup.el (command-line-1): Fix last fix by inserting
7246 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7247 (Bug#9605) and (Bug#9636)
199e4c7e 7248
fe5f08dd
EZ
72492011-09-29 Eli Zaretskii <eliz@gnu.org>
7250
7251 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7252 window is hscrolled, move by logical lines. (Bug#9607)
7253 (line-move-visual): Update the doc string to the above effect.
7254
b5516bbd
MR
72552011-09-29 Martin Rudalics <rudalics@gmx.at>
7256
ccee00c0
MR
7257 * window.el (display-buffer-record-window): When WINDOW is the
7258 selected window use `point' instead of `window-point'. (Bug#9626)
7259
b5516bbd
MR
7260 * startup.el (command-line-1): Use insert-before-markers when
7261 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7262
b5516bbd
MR
7263 * help.el (help-window): Remove variable.
7264
52aa0014
GM
72652011-09-29 Glenn Morris <rgm@gnu.org>
7266
7267 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7268
df9a7357
JB
72692011-09-29 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * descr-text.el (describe-char-categories): Accept category
7272 descriptions more than one line long.
7273
a8406c20
SM
72742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7275
88d9610c
SM
7276 * simple.el (delete-trailing-whitespace): Fix last change.
7277
a5daf810
SM
7278 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7279 Don't confuse "y => 3" as the beginning of a `y' operation.
7280
a8406c20
SM
7281 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7282 object has more than 4 slots (bug#9613).
7283
a239d4e9
JB
72842011-09-28 Juanma Barranquero <lekktu@gmail.com>
7285
7286 * subr.el (with-output-to-temp-buffer):
7287 * net/quickurl.el (quickurl, quickurl-browse-url):
7288 Fix typos in docstrings.
7289
693fbdb6
EZ
72902011-09-27 Eli Zaretskii <eliz@gnu.org>
7291
7292 * minibuffer.el (completion-styles)
7293 (completion-category-overrides): Cross reference each other in doc
7294 strings.
7295
8b457e28
GM
72962011-09-27 Glenn Morris <rgm@gnu.org>
7297
7298 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7299 to split-string. (Bug#9606)
7300
85a16208
LMI
73012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7302
7303 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7304 (bug#9615).
7305
502f9ebd
CY
73062011-09-27 Chong Yidong <cyd@stupidchicken.com>
7307
7308 * emacs-lisp/package.el (list-packages): Fix echo area message.
7309
7690bdea
LL
73102011-09-27 Leo Liu <sdl.web@gmail.com>
7311
7312 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7313
e2ee6f30
MA
73142011-09-25 Michael Albinus <michael.albinus@gmx.de>
7315
7316 * net/dbus.el (dbus-unregister-object): Don't release services for
7317 registered signals. (Bug#9581)
7318
f3f98342
TZ
73192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7320
7321 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7322 function that picks between cfengine 2 and 3 support
7323 automatically. Update docs accordingly.
7324
dd7aa8dd
KH
73252011-09-22 Kenichi Handa <handa@m17n.org>
7326
7327 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7328 ZERO.
7329 (indian-itrans-v5-table-for-tamil): New variable.
7330 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7331
3f2b07f8
KM
73322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7333
7334 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7335 that's true if the current command involved collapsing of text.
7336 It's reset to false at the beginning of the next command.
7337 (allout-post-command-business): Move the cursor to the beginning
7338 of entry if the cursor is hidden and collapsing activity just
7339 happened.
7340
371d6a61
CY
73412011-09-24 Chong Yidong <cyd@stupidchicken.com>
7342
7343 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7344 tracking (Bug#9541).
7345
2ac2721a
UJ
73462011-09-24 Ulf Jasper <ulf.jasper@web.de>
7347
7348 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7349 (newsticker-show-news): Automatically load html rendering package
7350 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7351 because w3m-fill-column is let-bound" and the error "Symbol's value
7352 as variable is void: w3m-fill-column".
2ac2721a 7353
fac7ae53
MA
73542011-09-24 Michael Albinus <michael.albinus@gmx.de>
7355
7356 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7357 Release services only if they are defined. (Bug#9581)
7358
e08b633b
RS
73592011-09-23 Richard Stallman <rms@gnu.org>
7360
e488d29c
RS
7361 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7362 distinguish start of paragraph from start of its text.
7363
19c38752
RS
7364 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7365
e08b633b
RS
7366 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7367 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7368 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7369
0a39f27e
AS
73702011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7371
7372 * international/mule-diag.el (mule-diag): Insert a newline after
7373 each fontset description.
7374
db4e950d
SM
73752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * simple.el (delete-trailing-whitespace):
7378 Document last change; simplify.
7379
eca3f3ea
PW
73802011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7381
d68e189a
PW
7382 * simple.el (delete-trailing-whitespace): Also delete
7383 extra newlines at the end of the buffer.
7384
eca3f3ea
PW
7385 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7386 (picture-newline): Use forward-line so as to ignore fields.
7387
01c157cc
SM
73882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * subr.el (with-wrapper-hook): Fix edebug spec.
7391
022de23e
LMI
73922011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7393
7394 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7395 (bug#4538).
7396
91683089
MA
73972011-09-23 Michael Albinus <michael.albinus@gmx.de>
7398
eca3f3ea
PW
7399 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7400 Fix nasty bug using wrong cached values.
91683089 7401
5bdd6fa4
AM
74022011-09-23 Alan Mackenzie <acm@muc.de>
7403
7404 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7405
97adfb97
CY
74062011-09-23 Chong Yidong <cyd@stupidchicken.com>
7407
7408 * window.el (pop-to-buffer): Ensure right window is selected if we
7409 chose another frame.
7410
d4ef2b50
EZ
74112011-09-22 Eli Zaretskii <eliz@gnu.org>
7412
7413 * simple.el (what-cursor-position): Use get-char-property-change
7414 and next-single-char-property-change, to be able to show display
7415 properties that come from overlays as well as text properties.
7416
72258fe5
CY
74172011-09-22 Chong Yidong <cyd@stupidchicken.com>
7418
7419 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7420
7421 * cmuscheme.el (run-scheme, switch-to-scheme):
7422 * cus-edit.el (customize-group, custom-buffer-create)
7423 (customize-browse):
7424 * info.el (info):
7425 * shell.el (shell):
7426 * mail/sendmail.el (mail):
7427 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7428
8f098516
RS
74292011-09-22 Richard Stallman <rms@gnu.org>
7430
7431 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7432 move back only to line beg, don't move back over blank lines.
7433
e74f1bb6
MA
74342011-09-22 Michael Albinus <michael.albinus@gmx.de>
7435
7436 * files.el (copy-directory): Set directory attributes only in case
7437 they could be retrieved from the source directory. (Bug#9565)
7438
bfeef8b6
DK
74392011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7440
7441 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7442 (hs-find-block-beginning, hs-hide-level-recursive):
7443 Ignore strings as well as comments. (Bug#9502)
7444
7e423bb8
AS
74452011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7446
7447 * progmodes/sql.el (sql-comint-postgres):
7448 Convert port number to a string. (Bug#9566)
7449
b4d72fcf
MR
74502011-09-22 Martin Rudalics <rudalics@gmx.at>
7451
7452 * window.el (quit-window): Undedicate window when switching to
7453 previous buffer. Reported by Thierry Volpiatto
7454 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7455 (special-display-popup-frame): When popping up a new frame reset
7456 its previous buffers to nil. Simplify code.
b4d72fcf 7457
a7b88dc6
MA
74582011-09-21 Michael Albinus <michael.albinus@gmx.de>
7459
7460 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7461 and process filter, as done also in `shell-command'.
7462
cf4eacfd
MR
74632011-09-21 Martin Rudalics <rudalics@gmx.at>
7464
eca3f3ea 7465 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7466 Call set-window-start with NOFORCE argument t.
7467 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7468 (quit-window): Reword doc-string. Handle new format of
7469 quit-restore parameter. Don't delete window if it has a
7470 previous buffer we can show instead of the present one.
7471 (display-buffer-record-window): Rewrite using a new format for
7472 the quit-restore window parameter
7473 (special-display-popup-frame, display-buffer-same-window)
7474 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7475 (display-buffer-pop-up-window, display-buffer-use-some-window):
7476 Adapt symbol passed to display-buffer-record-window.
7477 * help.el (help-window-setup): Handle new format of quit-restore
7478 parameter.
7479
8d28cb95
SM
74802011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7481
94ab793f
SM
7482 * faces.el (face-list): Fix docstring (bug#9564).
7483
8d28cb95
SM
7484 * window.el (display-buffer--action-function-custom-type):
7485 Don't include internal functions in the Custom interface.
7486
3820edeb
JL
74872011-09-20 Juri Linkov <juri@jurta.org>
7488
7489 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7490 (Info-forward-node, Info-backward-node, Info-next-preorder)
7491 (Info-last-preorder): Use it. (Bug#9528)
7492
5147931d
JL
74932011-09-20 Juri Linkov <juri@jurta.org>
7494
7495 * info.el (Info-last-preorder): Visit last menu item only when
7496 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7497
cf499a1a
JD
74982011-09-20 Julien Danjou <julien@danjou.info>
7499
7500 * password-cache.el (password-cache-remove): Remove entries even if the
7501 value is nil, so that password with a nil value (negative caching) is
7502 possible to invalidate.
7503
f84e2fe2
LM
75042011-09-20 Lawrence Mitchell <wence@gmx.li>
7505
7506 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7507 all whitespace around breakpoint. (Bug#9553)
7508 (f90-find-breakpoint): Only break at whitespace inside a comment.
7509
78054a46
SM
75102011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * minibuffer.el (completion-file-name-table): Keep track of errors.
7513 (completion-table-with-predicate): Handle the case where pred1 is nil.
7514 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7515
345083b2
SM
75162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7517
e24e27be
SM
7518 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7519 (debugger-return-value): Signal an error if the debugging context does
7520 not await any return value.
7521
345083b2
SM
7522 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7523 * image-mode.el (image-toggle-display-text)
7524 (image-toggle-display-image): Stay away from evil `intangible'.
7525
08d355e3
LL
75262011-09-19 Leo Liu <sdl.web@gmail.com>
7527
7528 * replace.el (occur-revert-arguments): Make it permanent-local.
7529 (occur-mode): Don't call font-lock-defontify.
7530
f01da43f
CY
75312011-09-19 Chong Yidong <cyd@stupidchicken.com>
7532
7533 * net/ldap.el (ldap-search-internal): Don't push empty search
7534 result (Bug#9508).
7535
b6072fa6
SM
75362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7539
443d6696
MA
75402011-09-19 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7543 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7544
7cc6e154
JL
75452011-09-18 Juri Linkov <juri@jurta.org>
7546
7547 * buff-menu.el (Buffer-menu-mode-map):
7548 * dired.el (dired-mode-map):
7549 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7550 (lisp-interaction-mode-map):
7551 * emacs-lisp/package.el (package-menu-mode-map):
7552 * epa.el (epa-key-list-mode-map):
7553 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7554 (menu-bar-options-menu):
7555 * outline.el (outline-mode-menu-bar-map):
7556 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7557 * vc/vc-dir.el (vc-dir-menu-map):
7558 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7559 Capitalize non-function content words in menu item strings.
7560
7561 * dired.el (dired-mode-map): Add menu item for
7562 `image-dired-dired-toggle-marked-thumbs'.
7563
80302a81
JL
75642011-09-18 Juri Linkov <juri@jurta.org>
7565
7566 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7567 to `isearch-case-fold-search' and restore its original value
7568 after the `isearch-mode' call.
7569
46c5cf66
JL
75702011-09-18 Juri Linkov <juri@jurta.org>
7571
7572 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7573 because `zgrep' returns 1 for successful matches (bug#9226).
7574
d18b513b
JL
75752011-09-18 Juri Linkov <juri@jurta.org>
7576
7577 * info.el (Info-extract-menu-node-name): Check the second match
7578 for empty string (second test-case of bug#9528).
7579 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7580 intermediate nodes to the history (first test-case of bug#9528).
7581
72753f87
JL
75822011-09-18 Juri Linkov <juri@jurta.org>
7583
7584 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7585 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7586
c9384295
JL
75872011-09-18 Juri Linkov <juri@jurta.org>
7588
1154d12e
JB
7589 * info.el (Info-file-supports-index-cookies):
7590 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7591 outputs one more line for long file names (bug#4142).
c9384295 7592
d473dce8
CY
75932011-09-18 Chong Yidong <cyd@stupidchicken.com>
7594
7595 * newcomment.el (comment-normalize-vars): If prompting for
7596 comment-start, set comment-start-skip too (Bug#8424).
7597
2176854d
JB
75982011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7599
7600 * icomplete.el: Fix previous fix of Bug#5849.
7601 (icomplete-mode): Don't set completion-show-inline-help.
7602 (icomplete-minibuffer-setup): Set completion-show-inline-help
7603 locally during icompletion.
7604
3aace4e4
CY
76052011-09-18 Chong Yidong <cyd@stupidchicken.com>
7606
c940224f
CY
7607 * woman.el (woman2-process-escapes): Don't delete unrecognized
7608 escapes (Bug#7843).
7609
3aace4e4
CY
7610 * files.el (inhibit-first-line-modes-regexps): Add image files.
7611 (hack-local-variables-prop-line): Return nil for malformed
7612 prop-lines (Bug#9044).
7613
710dec63
MA
76142011-09-18 Michael Albinus <michael.albinus@gmx.de>
7615
7616 * net/tramp.el (top): Don't require 'shell.
7617 (tramp-methods): Fix docstring.
7618 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7619 Return complete remote file name. Handle "smb" case.
7620 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7621 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7622
7623 * net/tramp-compat.el (top): Require 'shell.
7624
7625 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7626 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7627 `tramp-current-host'.
7628 (tramp-get-remote-tmpdir): Remove.
7629
7630 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7631 `tramp-tmpdir' entries.
7632 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7633 (tramp-smb-handle-file-attributes): Ignore errors.
7634 (tramp-smb-wait-for-output): Check also for process end.
7635
5d5ac8ec
LMI
76362011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637
7638 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7639 when sending QUIT (bug#9312).
7640
8c0f49f0
CY
76412011-09-17 Chong Yidong <cyd@stupidchicken.com>
7642
7643 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7644 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7645 occur-mode-display-occurrence.
7646 (occur-edit-mode): Add usage message.
7647 (occur-cease-edit): New command.
7648 (occur-after-change-function): Use text properties to find the
7649 position of the prefix text.
7650 (occur-engine): Set stickiness of prefix text properties.
7651
8f1383f7
GM
76522011-09-17 Glenn Morris <rgm@gnu.org>
7653
7654 * progmodes/etags.el (complete-tag):
7655 Fix call to completion-in-region. (Bug#9526)
7656
744ba0e3
JL
76572011-09-17 Juri Linkov <juri@jurta.org>
7658
7659 * textmodes/ispell.el (ispell-word): Add to the error message
7660 the word, ispell program name and current dictionary (bug#9121).
7661 (ispell-tex-arg-end): Capitalize "error" in the error message.
7662
d9bbf400
AS
76632011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7664
7665 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7666 check. (Bug#4251)
7667
8da11505
JL
76682011-09-17 Juri Linkov <juri@jurta.org>
7669
7670 * window.el (window-safe-min-height, window-safe-min-width):
7671 Fix typos (followup to bug#9522).
7672
a91adc7e
SJ
76732011-09-17 Sven Joachim <svenjoac@gmx.de>
7674
7675 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7676
064f328a
EZ
76772011-09-16 Eli Zaretskii <eliz@gnu.org>
7678
7679 * simple.el (line-move): If goal-column is set, move by logical
7680 lines, not by display lines. (Bug#971)
7681 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7682 to reflect the above change.
7683
e69df516
SM
76842011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * image.el (imagemagick-register-types): Use regexp-opt.
7687
cbb0f9ab
CY
76882011-09-15 Chong Yidong <cyd@stupidchicken.com>
7689
7690 * window.el (display-buffer-base-action): Rename from
7691 display-buffer-default-action. Make default value empty.
7692 (display-buffer-overriding-action): Convert to defvar.
7693 (display-buffer-fallback-action): New var.
7694
25322144
CY
76952011-09-15 Chong Yidong <cyd@stupidchicken.com>
7696
7697 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7698 declaration.
7699 (package--add-to-archive-contents): If there is a duplicate entry
7700 with an older version, remove it.
7701 (package-menu-mark-delete, package-menu-mark-install)
7702 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7703 (package-menu-mark-obsolete-for-deletion):
7704 Use package-menu-get-status instead of a regexp search.
25322144
CY
7705 (package-menu-get-status): Use tabulated-list-entry.
7706 (package-menu-mark-upgrades): New command.
d770725a 7707 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7708 (package-menu-execute): Do installation before deletion.
7709 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7710 instead of checking major-mode.
7711 (package-menu--find-upgrades): New function.
7712
7520339c
LMI
77132011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7714
7715 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7716 passwords in the log buffer.
65a046c4
LMI
7717 (smtpmail-process-filter): Update the process marker so that the
7718 "broken by peer" status message is inserted in the right place.
7520339c 7719
d3c30954
SM
77202011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7721
3fe48822
SM
7722 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7723 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7724 bibtex-completion-at-point-function.
7725 (bibtex-completion-at-point-function): Use them.
7726
1b8b3954
SM
7727 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7728
d3c30954
SM
7729 * mpc.el (mpc-constraints-tag-lookup): New function.
7730 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7731 also to browser "album|playlist".
7732
72779976
JL
77332011-09-14 Juri Linkov <juri@jurta.org>
7734
7735 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7736 (isearch-edit-string): Use length of `isearch-string' when
7737 `isearch-fail-pos' returns nil.
7738 (isearch-message): Remove duplicate code and call
7739 `isearch-fail-pos' with arg `t'.
7740
a0bf2bcd
CY
77412011-09-14 Chong Yidong <cyd@stupidchicken.com>
7742
17bb0a2d
CY
7743 * replace.el (occur-mode-goto-occurrence): Don't force using other
7744 window (Bug#9499).
7745
a0bf2bcd
CY
7746 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7747
f678e0b6
MR
77482011-09-14 Martin Rudalics <rudalics@gmx.at>
7749
7750 * window.el (display-buffer-window): Remove.
7751 (display-buffer-record-window): Use help-setup window parameter
7752 instead of variable display-buffer-window.
7753 (display-buffer-function, special-display-buffer-names)
7754 (special-display-function): Mention help-setup parameter instead
7755 of display-buffer-window in doc-string.
d3c30954
SM
7756 * help.el (help-window-setup): New argument help-window.
7757 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7758 Reword some messages.
7759 (with-help-window): Pass window used for displaying the buffer
7760 to help-window-setup. Don't set display-buffer-window.
7761
8e39b2e8
GM
77622011-09-13 Glenn Morris <rgm@gnu.org>
7763
7764 * emacs-lisp/debug.el (debugger-make-xrefs):
7765 Preserve point. (Bug#9462)
7766
85e9c04b
CY
77672011-09-13 Chong Yidong <cyd@stupidchicken.com>
7768
7769 * window.el (window-deletable-p): Use next-frame.
7770
1b36ed6a
MR
77712011-09-13 Martin Rudalics <rudalics@gmx.at>
7772
7773 * window.el (window-auto-delete): Remove.
7774 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7775 dedication and previous buffers.
1b36ed6a
MR
7776 (switch-to-prev-buffer): Don't delete window.
7777 (delete-windows-on): Delete a window's frame if and only if the
7778 window is dedicated.
7779 (replace-buffer-in-windows): Delete buffer's window or frame if
7780 and only if window is dedicated.
7781 (quit-window): Handle quit-restore as before last change.
4d61f28d 7782 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7783
ef8ef9fb
CY
77842011-09-13 Chong Yidong <cyd@stupidchicken.com>
7785
7786 * window.el (window-deletable-p): Never delete the last frame on a
7787 given terminal.
7788
b2cba41e
GM
77892011-09-13 Glenn Morris <rgm@gnu.org>
7790
7791 * help.el (describe-key-briefly): Copy previous standard-output change.
7792
51553db6 77932011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7794
7795 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7796
b7556719
GM
77972011-09-13 Glenn Morris <rgm@gnu.org>
7798
7799 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7800 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7801
64b51947
CY
78022011-09-12 Chong Yidong <cyd@stupidchicken.com>
7803
7804 * dired-aux.el (dired-mark-read-string): Don't return default
7805 value on empty input (Bug#9361).
7806 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7807 Omit initial minibuffer contents.
7808 (dired-do-chmod): Signal an error on empty input.
7809 (dired-mark-read-string): Don't return default on empty input.
7810
7811 * files.el (file-modes-symbolic-to-number): Doc fix.
7812
393a301e
SM
78132011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * international/mule-cmds.el (ucs-completions): Remove.
7816 (read-char-by-name): Use complete-with-action instead; add metadata.
7817
fa5660f9
CY
78182011-09-11 Chong Yidong <cyd@stupidchicken.com>
7819
7820 * window.el (display-buffer--action-function-custom-type)
7821 (display-buffer--action-custom-type): New vars.
7822 (display-buffer-alist, display-buffer-default-action)
7823 (display-buffer-overriding-action): Add defcustom types.
7824
4a592f66
CY
7825 * frame.el (delete-other-frames): Doc fix (Bug#276).
7826
73d56dbd
LMI
78272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
7829 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7830
37ac18a3
CY
78312011-09-11 Chong Yidong <cyd@stupidchicken.com>
7832
7833 Change modes that used same-window-* vars to use switch-to-buffer.
7834
7835 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7836 Use switch-to-buffer.
7837
7838 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7839 (customize-browse, custom-buffer-create-other-window):
7840 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7841
7842 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7843 (Info-prev, Info-up, Info-speedbar-goto-node)
7844 (info-display-manual): Use switch-to-buffer.
7845 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7846
7847 * mail/sendmail.el (mail): Use switch-to-buffer.
7848 (mail-recover): Use switch-to-buffer-other-window.
7849
7850 * cmuscheme.el (run-scheme, switch-to-scheme):
7851 * ielm.el (ielm):
7852 * shell.el (shell):
7853 * net/rlogin.el (rlogin):
7854 * net/telnet.el (telnet, rsh):
7855 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7856
10195bd6
AS
78572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7858
7859 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7860
b322f63a
LMI
78612011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7862
39d7fed6
LMI
7863 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7864 so don't mention it (bug#9301).
ba5a81f1 7865 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7866
ee0e9f11
LMI
7867 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7868 match `x', `w32' and `ns', like the manual says (bug#9029).
7869
0b1c89c1 7870 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7871 (process-kill-buffer-query-function): Mention the buffer name in
7872 the query.
0b1c89c1 7873
77549ea8
LMI
7874 * image-mode.el (image-next-line): The line parameter is mandatory
7875 (bug#9258).
7876
803ef892
LMI
7877 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7878 which can be useful (bug#9301).
7879
12980837
LMI
7880 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7881
91054f8f
LMI
7882 * subr.el (match-string): Mention that the current buffer should
7883 be the same as the search was done in (bug#9282).
7884
b322f63a
LMI
7885 * facemenu.el: Disable the remove-* commands if the mark isn't
7886 active (bug#9162).
7887
3199b96f
CY
78882011-09-10 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7891 of display-buffer.
7892 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7893
7894 * replace.el (occur-mode-goto-occurrence)
7895 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7896 and display-buffer.
7897
7898 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7899 display-buffer.
7900
7901 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7902 special-display and same-window variables.
7903 (mail-other-window): Use switch-to-buffer-other-window.
7904 (mail-other-frame): USe switch-to-buffer-other-frame.
7905
393a301e
SM
7906 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7907 Use display-buffer-other-frame.
3199b96f
CY
7908 (gdb-display-gdb-buffer): Use pop-to-buffer.
7909
7910 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7911
7912 * progmodes/python.el: Don't set same-window-buffer-names.
7913
7914 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7915
7916 * window.el (display-buffer-alist): Add *Python*.
7917
8319e0bf
CY
79182011-09-10 Chong Yidong <cyd@stupidchicken.com>
7919
7920 * window.el (display-buffer-alist): Add entry for buffers
7921 previously handled same-window-*.
7922 (display-buffer-alist, display-buffer-default-action)
7923 (display-buffer-overriding-action): Mark as risky.
7924 (display-buffer-alist): Document action function changes.
7925 (display-buffer--same-window-action)
7926 (display-buffer--other-frame-action): New variables.
7927 (switch-to-buffer, display-buffer-other-frame): Use them.
7928 (display-buffer): Rename reuse-frame entry to reusable-frames.
7929 (display-buffer-reuse-selected-window): Function deleted.
7930 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7931 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7932 (display-buffer-special): New function.
7933 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7934 display-buffer-reuse-or-pop-window. Split off special-display
7935 part into display-buffer-special.
7936 (display-buffer-use-some-window): Don't perform any special
7937 pop-up-frames handling.
7938 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7939 (display-buffer--maybe-same-window): Rename from
0d3ff375 7940 display-buffer-maybe-same-window.
8319e0bf 7941
919a69aa
CY
7942 * info.el: Don't set same-window-regexps.
7943 (info-setup): New function.
7944 (info-other-window, info): Call it.
7945
7946 * cus-edit.el: Don't set same-window-regexps.
7947 (customize-group): New argument.
7948 (customize-group-other-window): Use it.
7949 (customize-face, customize-face-other-window): Likewise.
7950 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7951
8319e0bf
CY
7952 * net/rlogin.el:
7953 * net/telnet.el:
7954 * progmodes/gud.el: Don't set same-window-regexps.
7955
7956 * cmuscheme.el:
7957 * ielm.el:
7958 * shell.el:
7959 * mail/sendmail.el:
7960 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7961
25173000
JL
79622011-09-10 Juri Linkov <juri@jurta.org>
7963
7964 * isearch.el (isearch-edit-string): Remove obsolete mention of
7965 `C-w' (`isearch-yank-word-or-char') from docstring.
7966 (isearch-query-replace): Fix typo in docstring (bug#9466).
7967
056e44ef
JL
79682011-09-10 Juri Linkov <juri@jurta.org>
7969
7970 * paren.el (show-paren-function): Don't show escaped parens.
7971 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7972
c3760c17
EZ
79732011-09-10 Eli Zaretskii <eliz@gnu.org>
7974
7975 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7976 (mm-default-file-encoding): Remove autoload forms, they are
7977 replaced with autoload cookies in mml.el and mm-encode.el.
7978 (mail-add-attachment): New command.
7979 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7980 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7981 the doc string.
7982 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7983
fece895e
RT
79842011-09-10 Reuben Thomas <rrt@sc3d.org>
7985
e69df516
SM
7986 * simple.el (count-words-region): Use buffer if there's no region
7987 (bug#9429).
fece895e 7988
5e68ce4a
JL
79892011-09-09 Juri Linkov <juri@jurta.org>
7990
7991 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7992 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7993 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7994
0a6b9622
AM
79952011-09-09 Alan Mackenzie <acm@muc.de>
7996
7997 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7998 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7999
14a29deb
EZ
80002011-09-09 Eli Zaretskii <eliz@gnu.org>
8001
8002 Fix for Savannah bug#9392.
8003 * simple.el (mail-encode-mml): New defvar.
8004
8005 * mail/rmail.el (mail-encode-mml): Add a defvar.
8006 (rmail-enable-mime-composing): Default to t.
8007 (rmail-forward): Use MIME method of forwarding only if both
8008 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8009 Set mail-encode-mml non-nil if the MIME method was used.
8010
8011 * mail/sendmail.el (mml-to-mime): Add autoload form.
8012 (mail-encode-mml): Add a defvar.
8013 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8014 to nil.
8015 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8016 message through mml-to-mime, and reset mail-encode-mml to nil.
8017
28c45130
GM
80182011-09-09 Glenn Morris <rgm@gnu.org>
8019
8020 * woman.el (woman-if-body): When processing an .el block,
8021 do not delete the next .el block as well. (Bug#9447)
69f4b618 8022 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8023
9b1c252e
MR
80242011-09-08 Martin Rudalics <rudalics@gmx.at>
8025
8026 * window.el (window-deletable-p): Make sure window is live before
8027 invoking window-prev-buffers.
8028
567457e3
LL
80292011-09-08 Leo Liu <sdl.web@gmail.com>
8030
8031 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8032
97f05794
JL
80332011-09-08 Juri Linkov <juri@jurta.org>
8034
8035 * progmodes/compile.el (compilation-environment): Make it
8036 a defcustom (bug#8340).
8037
8b0874b5
MR
80382011-09-08 Martin Rudalics <rudalics@gmx.at>
8039
8040 * window.el (frame-auto-delete): Rename to window-auto-delete.
8041 Make it control auto-deletion of windows and/or frames.
8042 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8043 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8044 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8045 Rewrite handling of case when window/frame can be deleted.
8046 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8047 argument t. (Bug#9456)
8b0874b5 8048
4feb6e73
CY
80492011-09-07 Chong Yidong <cyd@stupidchicken.com>
8050
8051 * help-mode.el (help-mode): Restore autoload.
8052
91ab9c13
JL
80532011-09-07 Juri Linkov <juri@jurta.org>
8054
8055 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8056 `compilation-environment'. Set buffer-local
8057 `compilation-environment' to `thisenv' later after (funcall mode).
8058 (Bug#8340)
8059
8060 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8061 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8062 instead of replacing its value. (Bug#8340)
8063
0527e251
JL
80642011-09-07 Juri Linkov <juri@jurta.org>
8065
8066 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8067 based on text properties put by `grep-filter' instead of matching
8068 escape sequences.
8069 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8070 to the value of `grep-error-screen-columns' (bug#9438).
8071
249f792c
JL
80722011-09-07 Juri Linkov <juri@jurta.org>
8073
8074 * simple.el (next-error-highlight, next-error-highlight-no-select):
8075 Doc fix (bug#9432).
8076
ff7271b9
OT
80772011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8078
8079 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8080 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8081
183fc730
LL
80822011-09-07 Leo Liu <sdl.web@gmail.com>
8083
8084 * net/rcirc.el (rcirc-mode): Conditionally initialize
8085 rcirc-input-ring.
8086
77694924
SM
80872011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * emacs-lisp/find-func.el (find-function-C-source): Only set
8090 find-function-C-source-directory after checking that we found a source
8091 file there (bug#9440).
8092
d809b8eb
AM
80932011-09-06 Alan Mackenzie <acm@muc.de>
8094
8095 * isearch.el (isearch-other-meta-char): Wherever a key list is
8096 unread, "unread" the prefix arg, too. This fixes bug #8901.
8097
453de99f
OG
80982011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8099
8100 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8101
90439906
JL
81022011-09-05 Juri Linkov <juri@jurta.org>
8103
8104 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8105
f62bd846
JL
81062011-09-05 Juri Linkov <juri@jurta.org>
8107
8108 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8109 keeping point where processing of grep matches begins, and
8110 continue to delete remaining escape sequences from the same point.
8111 (grep-filter): Make leading zero optional in "0?1;31m" because
8112 git-grep emits "\033[1;31m" escape sequences unlike expected
8113 "\033[01;31m" as GNU Grep does (bug#9408).
8114 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8115
045820ec
JL
81162011-09-05 Juri Linkov <juri@jurta.org>
8117
8118 * subr.el (y-or-n-p): Capitalize "yes".
8119
f5e29b9b
MA
81202011-09-04 Michael Albinus <michael.albinus@gmx.de>
8121
8122 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8123 `tramp-cache-unload-hook' where appropriate.
8124 (tramp-methods): Rename `tramp-remote-sh' to
8125 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8126 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8127
8128 * net/tramp-sh.el (top): Don't require 'shell.
8129 (tramp-methods): Add `tramp-remote-shell' and
8130 `tramp-remote-shell-args' entries.
8131 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8132 (tramp-sh-handle-shell-command): Remove.
8133 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8134 Use `tramp-remote-shell'.
8135
2784c434
CY
81362011-09-03 Chong Yidong <cyd@stupidchicken.com>
8137
393a301e 8138 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8139 (sendmail-query-once): Save directly to send-mail-function.
8140 Update message-send-mail-function too.
8141
8142 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8143
464cdf56
CS
81442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8145
8146 * progmodes/python.el (python-mode-map): Use correct function to
8147 start python interpreter from menu-bar (as reported by Geert
8148 Kloosterman).
8149 (inferior-python-mode-map): Fix typo.
393a301e 8150 (python-shell-map): Remove.
464cdf56 8151
d37e5c87
DD
81522011-09-03 Deniz Dogan <deniz@dogan.se>
8153
8154 * net/rcirc.el (rcirc-print): Simplify code for
8155 rcirc-scroll-show-maximum-output. There is no need to walk
8156 through all windows to find the right one.
8157
f3ada0ee
CS
81582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8159
8160 * help.el (help-return-method): Doc fix.
8161
1f3c99ca
MR
81622011-09-03 Martin Rudalics <rudalics@gmx.at>
8163
8164 * window.el (window-deletable-p): Don't return a non-nil value
8165 when there's a buffer that was shown in the window before.
8166 (Bug#9419)
393a301e
SM
8167 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8168 Set window's previous buffers to nil.
1f3c99ca 8169
a3cf097f
EZ
81702011-09-03 Eli Zaretskii <eliz@gnu.org>
8171
8172 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8173 newline before and after the tag line, so it doesn't interfere
8174 with determining the paragraph direction of bidirectional text.
8175
3d03de90
LL
81762011-09-03 Leo Liu <sdl.web@gmail.com>
8177
8178 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8179
c3313451
CY
81802011-09-02 Chong Yidong <cyd@stupidchicken.com>
8181
393a301e 8182 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8183 (pop-to-buffer): Change interactive spec. Pass second argument
8184 directly to display-buffer.
8185 (display-buffer): Fix interactive spec. Use functionp to
8186 distinguish between a function and a list of functions.
8187
8188 * abbrev.el (edit-abbrevs):
8189 * arc-mode.el (archive-extract):
8190 * autoinsert.el (auto-insert):
8191 * bookmark.el (bookmark-bmenu-list):
8192 * files.el (find-file):
8193 * view.el (view-buffer):
8194 * progmodes/compile.el (compilation-goto-locus):
8195 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8196
89894cd8
CY
81972011-09-02 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * window.el (display-buffer-alist): Doc fix.
8200 (display-buffer): Add docstring. Don't treat
8201 display-buffer-default specially.
8202 (display-buffer-reuse-selected-window)
8203 (display-buffer-same-window, display-buffer-maybe-same-window)
8204 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8205 (display-buffer-pop-up-window)
8206 (display-buffer-reuse-or-pop-window)
8207 (display-buffer-use-some-window): New functions.
8208 (display-buffer-default-action): Use them.
393a301e 8209 (display-buffer-default): Delete.
89894cd8
CY
8210 (pop-to-buffer-1): Fix choice of actions.
8211
ae0bc9fb
SM
82122011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * minibuffer.el (completion--insert-strings): Don't get confused by
8215 completion entries that end with an LF char.
8216
e9d90883
EZ
82172011-09-01 Eli Zaretskii <eliz@gnu.org>
8218
8219 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8220
437014c8
CY
82212011-09-01 Chong Yidong <cyd@stupidchicken.com>
8222
8223 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8224 (display-buffer-same-window, display-buffer-other-window):
8225 New functions.
437014c8
CY
8226 (pop-to-buffer-1): New function. Use the above.
8227 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8228 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8229
8230 * view.el (view-buffer-other-window, view-buffer-other-frame):
8231 Just use pop-to-buffer.
8232
a5e063d5
TV
82332011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8234
8235 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8236
793d32bb
WH
82372011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8238
8239 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8240
d65e4c15
RS
82412011-08-31 Richard Stallman <rms@gnu.org>
8242
8243 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8244 of the separation of rmail-view-buffer from rmail-buffer.
8245 If you say no to "replace original", the decrypt is in the
8246 view buffer. If you say yes, the decrypt goes into the
8247 rmail buffer also.
8248
f818cd2a
MR
82492011-08-31 Martin Rudalics <rudalics@gmx.at>
8250
8251 * window.el (display-buffer-window): Rewrite doc-string.
8252 (display-buffer-record-window): New function.
8253 (display-buffer-macro-specifiers)
8254 (display-buffer-even-window-sizes, display-buffer-set-height)
8255 (display-buffer-set-width, display-buffer-in-window)
8256 (display-buffer-reuse-window, display-buffer-split-specifiers)
8257 (display-buffer-side-specifiers, display-buffer-split-window-1)
8258 (display-buffer-split-window, display-buffer-split-atom-window)
8259 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8260 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8261 (display-buffer-other-window-means-other-frame)
8262 (display-buffer-normalize-special)
8263 (display-buffer-normalize-default)
8264 (display-buffer-normalize-argument)
8265 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8266 (display-buffer-normalize-specifiers, display-buffer-frame)
8267 (display-buffer-same-window, display-buffer-same-frame)
8268 (display-buffer-other-window)
8269 (display-buffer-same-frame-other-window)
8270 (display-buffer-other-frame, pop-to-buffer-same-window)
8271 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8272 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8273 (switch-to-buffer-same-frame)
8274 (switch-to-buffer-other-window-same-frame)
8275 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8276 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8277 (display-buffer-alist-set): Remove.
8278 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8279 (special-display-regexps, special-display-function):
8280 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8281 parameter.
8282 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8283 (special-display-frame-alist, special-display-popup-frame)
8284 (same-window-buffer-names, same-window-regexps, same-window-p)
8285 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8286 (split-window-preferred-function, split-height-threshold)
8287 (split-width-threshold, window-splittable-p)
8288 (split-window-sensibly, window--try-to-split-window)
8289 (window--frame-usable-p, even-window-heights)
8290 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8291 (window--display-buffer-2, display-buffer-other-frame):
8292 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8293 (display-buffer-default, display-buffer-assq-regexp): New functions.
8294 (display-buffer-alist): Rewrite doc-string.
8295 (display-buffer-default-action)
8296 (display-buffer-overriding-action): New variables.
8297 (display-buffer, switch-to-buffer): Rewrite.
8298 (pop-to-buffer): Restore Emacs 23 behavior but use
8299 window-normalize-buffer-to-display.
8300 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8301 Restore Emacs 23 behavior but use
8302 window-normalize-buffer-to-switch-to.
8303 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8304 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8305 Rewrite using Emacs 23 options.
f818cd2a 8306
5bc3b51d
MA
83072011-08-31 Michael Albinus <michael.albinus@gmx.de>
8308
8309 * net/tramp.el (tramp-root-regexp): Remove.
8310 (tramp-completion-file-name-regexp-unified)
8311 (tramp-completion-file-name-regexp-separate)
8312 (tramp-completion-file-name-regexp-url): Don't use leading volume
8313 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8314 (tramp-drop-volume-letter): Simplify definition.
8315 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8316
b1a4f8e1
SM
83172011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8320 (bug#9356).
8321
5664fa7b
RT
83222011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8323
b1a4f8e1 8324 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8325
9a45d6c3
JL
83262011-08-29 Juri Linkov <juri@jurta.org>
8327
8328 * isearch.el (isearch-done): Don't display message "Mark saved"
8329 when arg `edit' is non-nil to prevent its flicker in the echo area.
8330
fb87e0fb
CY
83312011-08-28 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8334 obsolete packages for deletion.
8335
09ac1c2a
CS
83362011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8337
8338 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8339 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8340 view-mode from help-mode.
8341 (help-xref-override-view-map): Remove.
8342 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8343 view-mode is not used anymore.
8344
7a1ff57f
CY
83452011-08-28 Chong Yidong <cyd@stupidchicken.com>
8346
8347 * server.el (server-port): Doc fix.
8348
b9696605
CY
8349 * cus-theme.el (custom-theme-choose-mode): Inherit from
8350 special-mode (Bug#9124).
8351 (custom-theme-choose-mode-map): Add special-mode to parent.
8352
ef8cdf8c
AM
83532011-08-28 Alan Mackenzie <acm@muc.de>
8354
8355 * progmodes/cc-fonts.el
8356 (c-make-font-lock-BO-decl-search-function): New function.
8357 (c-basic-matchers-after - "Fontify the clauses after various
8358 keywords"): Extract the three keyword lists for the 3 erroneous
8359 constructs from the list of four, and use the new function above
8360 in place of an old one.
8361
27de4e20
DD
83622011-08-28 Deniz Dogan <deniz@dogan.se>
8363
8364 * net/rcirc.el (rcirc-insert-prev-input)
8365 (rcirc-insert-next-input): Remove unused argument.
8366
356a3681
SM
83672011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8370
3fc9b218
AM
83712011-08-27 Alan Mackenzie <acm@muc.de>
8372
8373 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8374 handle function pointer parameters properly.
8375
538a061c
MR
83762011-08-27 Martin Rudalics <rudalics@gmx.at>
8377
8378 * window.el (display-buffer-reuse-window): Fix case where
8379 selected window was reused with non-nil OTHER-WINDOW argument.
8380 (Bug#9381)
8381
35b1c40c
DD
83822011-08-27 Deniz Dogan <deniz@dogan.se>
8383
8384 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8385 oftc's NickServ messages.
8386
2f6a3e79
GM
83872011-08-27 Glenn Morris <rgm@gnu.org>
8388
8389 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8390
7254299e
CY
83912011-08-26 Chong Yidong <cyd@stupidchicken.com>
8392
8393 * emacs-lisp/package.el (package-install): Call package-initialize
8394 if called interactively.
8395
f8ccf167
LL
83962011-08-26 Leo Liu <sdl.web@gmail.com>
8397
8398 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8399
3e8cd5ce
JL
84002011-08-25 Juri Linkov <juri@jurta.org>
8401
8402 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8403 `search-whitespace-regexp' (bug#9364).
8404
93eb7113
JL
84052011-08-25 Juri Linkov <juri@jurta.org>
8406
8407 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8408 `regexp-search-ring' to their global values to protect from
8409 updating by `read-from-minibuffer' (bug#9185).
8410
f65d1611
JL
84112011-08-25 Juri Linkov <juri@jurta.org>
8412
8413 * textmodes/ispell.el (ispell-command-loop): Add newline
8414 at the end of the "Use option `i'..." line.
8415
f1cf7a31
JL
84162011-08-25 Juri Linkov <juri@jurta.org>
8417
8418 * battery.el (display-battery-mode): If `battery-status-function'
8419 or `battery-mode-line-format' is nil, display the message and set
8420 `display-battery-mode' to nil (bug#9363).
8421
0c95fcf7
EZ
84222011-08-25 Eli Zaretskii <eliz@gnu.org>
8423
8424 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8425 bidi-string-mark-left-to-right; they are unnecessary now.
8426
a2ebe600
DD
84272011-08-25 Deniz Dogan <deniz@dogan.se>
8428
8429 * net/quickurl.el: Documentation typo fixes.
8430
e4ed06f1
CY
84312011-08-25 Chong Yidong <cyd@stupidchicken.com>
8432
8433 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8434
e5f1c99e
GM
84352011-08-25 Glenn Morris <rgm@gnu.org>
8436
b2948976
GM
8437 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8438
e5f1c99e
GM
8439 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8440 (smtpmail-via-smtp): Handle nil response from smtp.
8441
f22f4808
JL
84422011-08-24 Juri Linkov <juri@jurta.org>
8443
8444 * proced.el (proced-marked): Inherit from `error' instead of
8445 `font-lock-warning-face'.
8446
8447 * ibuffer.el (ibuffer-marked-face): Change default face from
8448 `font-lock-warning-face' to `warning'.
8449 (ibuffer-deletion-face): Change default face from
8450 `font-lock-type-face' to `error'.
8451
8452 * battery.el (battery-update): Use the face `error' instead of
8453 `font-lock-warning-face' (bug#6117).
8454
6a93965e
JL
84552011-08-24 Juri Linkov <juri@jurta.org>
8456
8457 * faces.el (success): Change face color from "Green3" to
8458 "ForestGreen" on light background (bug#9353).
8459
1ed43b09
CY
84602011-08-24 Chong Yidong <cyd@stupidchicken.com>
8461
5664fa7b
RT
8462 * window.el (quit-window): Rename from quit-restore-window.
8463 Use same arglist as old quit-window.
1ed43b09
CY
8464 (frame-auto-delete): Doc fix.
8465
8466 * view.el (view-mode-exit): Use quit-window.
8467
11dcdbb2
JL
84682011-08-24 Juri Linkov <juri@jurta.org>
8469
8470 * isearch.el (isearch-ring-adjust1): Start visiting previous
8471 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8472 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8473 for empty search string (when the last search string is reused
8474 automatically) to adjust the isearch ring to the last element and
8475 prepare the correct index for further M-p commands (bug#9185).
8476
de62b4df
KH
84772011-08-24 Kenichi Handa <handa@m17n.org>
8478
8479 * international/ucs-normalize.el: If decomposition property of
8480 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8481 nil.
8482 (nfd, nfkd): Likewise.
8483
963b492b
SM
84842011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8487 from process filters aren't reliably transmitted to the surrounding
8488 accept-process-output.
8489 (mpc-proc-check): New function.
8490 (mpc-proc-sync): Use it (bug#8293)
8491
93b6b5e1
SM
84922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8495 Add compatibility functions (bug#9313).
8496
bca633fb
EZ
84972011-08-23 Eli Zaretskii <eliz@gnu.org>
8498
b177498a
EZ
8499 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8500
6df6ae42 8501 * international/uni-bidi.el: Regenerate.
bca633fb 8502
0902a04e
KH
85032011-08-23 Kenichi Handa <handa@m17n.org>
8504
8505 * international/charprop.el:
8506 * international/uni-bidi.el:
8507 * international/uni-category.el:
8508 * international/uni-combining.el:
8509 * international/uni-comment.el:
8510 * international/uni-decimal.el:
8511 * international/uni-decomposition.el:
8512 * international/uni-digit.el:
8513 * international/uni-lowercase.el:
8514 * international/uni-mirrored.el:
8515 * international/uni-name.el:
8516 * international/uni-numeric.el:
8517 * international/uni-old-name.el:
8518 * international/uni-titlecase.el:
8519 * international/uni-uppercase.el: Regenerate.
8520
3bbf23bc
MR
85212011-08-23 Martin Rudalics <rudalics@gmx.at>
8522
8523 * help.el (help-window-setup): Fix message displayed when other
8524 window is reused. (Bug#9341)
8525
b3fd59bd
SM
85262011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8527
1802e444
SM
8528 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8529 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8530
b3fd59bd
SM
8531 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8532 Mark obsolete.
8533 * shell.el (shell-parse-pcomplete-arguments): New function.
8534 (shell-completion-vars): Use it instead (bug#9160).
8535
4eb61348
SM
85362011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8537
867cab74
SM
8538 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8539 strings and comments (bug#9333).
8540
4eb61348
SM
8541 * emacs-lisp/debug.el (debug-arglist): New function.
8542 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8543 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8544
262a1439
JL
85452011-08-22 Juri Linkov <juri@jurta.org>
8546
56ee679c
JL
8547 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8548 Revert regexp that highlights output switches to its old
8549 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8550
262a1439
JL
8551 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8552 to check for empty output (bug#9226).
8553
f13f86fb
CY
85542011-08-22 Chong Yidong <cyd@stupidchicken.com>
8555
8556 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8557 symbol-constituent as the default, as that stops font-lock from
8558 working properly (Bug#8843).
8559
c65c9622
LMI
85602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561
8562 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8563 `coding-system-for-*' around the process open call to avoid
8564 auth-source side effects.
e7f2c178 8565 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8566 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8567 probe hangs.
c65c9622 8568
23a8a5ab
CY
85692011-08-21 Chong Yidong <cyd@stupidchicken.com>
8570
ff98b2dd
CY
8571 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8572
23a8a5ab
CY
8573 * emacs-lisp/find-func.el (find-function-noselect): New arg
8574 lisp-only.
8575
8576 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8577 signal an error for built-in functions (Bug#6664).
8578
f5e3c598
LMI
85792011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8582 (smtpmail-try-auth-methods): Use it.
8583
a3f2468a
CY
85842011-08-21 Chong Yidong <cyd@stupidchicken.com>
8585
2c34e8da
CY
8586 * font-lock.el (font-lock-fontify-region)
8587 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8588 (font-lock-default-unfontify-buffer)
8589 (font-lock-default-fontify-region)
8590 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8591
b3fd59bd
SM
8592 * progmodes/compile.el (compilation-error-properties):
8593 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8594 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8595 `ant' regexp.
ee31aabc 8596
a3f2468a
CY
8597 * net/browse-url.el (browse-url-firefox): Don't call
8598 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8599
8e999f70
GM
86002011-08-20 Glenn Morris <rgm@gnu.org>
8601
c21a496a
GM
8602 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8603
59ee0542
GM
8604 * tutorial.el (tutorial--default-keys): Update some default bindings.
8605
8e999f70
GM
8606 * files.el (hack-local-variables): Fully ignore case for "mode:".
8607
e3715033
AM
86082011-08-20 Alan Mackenzie <acm@muc.de>
8609
8610 Resolve invalid use of a regexp in regexp-opt.
8611
4d61f28d
JB
8612 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8613 detection for a java annotation.
e3715033 8614
4d61f28d 8615 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8616 detection for a java annotation.
8617
4d61f28d
JB
8618 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8619 handling for java.
e3715033
AM
8620 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8621
04ed2e9c
CY
86222011-08-20 Chong Yidong <cyd@stupidchicken.com>
8623
8624 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8625 (Bug#9274).
8626
826cee64
AM
86272011-08-20 Alan Mackenzie <acm@muc.de>
8628
58179cce 8629 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8630 such a construct. Mainly for when jit-lock etc. starts a chunk
8631 here.
8632
58179cce 8633 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8634 variable.
58179cce 8635 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8636 c-make-font-lock-search-function.
8637 (c-make-font-lock-search-function): Use the above function.
8638 (c-make-font-lock-context-search-function): New function.
8639 (c-cpp-matchers): Enhance the preprocessor expression case with
8640 the above function
8641 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8642 which takes an expression.
8643
8644 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8645
13009bd8
MR
86462011-08-20 Martin Rudalics <rudalics@gmx.at>
8647
8648 * window.el (display-buffer-reuse-window)
8649 (display-buffer-pop-up-window): Don't reuse or split a side
8650 window.
8651
9234ff7f
GM
86522011-08-19 Glenn Morris <rgm@gnu.org>
8653
8654 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8655 Downcase "Mode:". (Bug#9331)
9234ff7f 8656
f635daa1
CY
86572011-08-18 Chong Yidong <cyd@stupidchicken.com>
8658
8659 * international/characters.el: Add L and R categories.
8660
8661 * subr.el (bidi-string-mark-left-to-right): Rename from
8662 string-mark-left-to-right. Use category search.
8663
8664 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8665
bc987f8b
JL
86662011-08-18 Juri Linkov <juri@jurta.org>
8667
8668 * faces.el (error, warning, success): New faces with definitions
8669 copied from old default values of `font-lock-warning-face',
8670 `compilation-warning', `compilation-info' (bug#6117).
8671
8672 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8673
8674 * progmodes/compile.el (compilation-error): Inherit from `error'.
8675 (compilation-warning): Inherit from `warning'.
8676 (compilation-info): Inherit from `success'.
8677
8678 * dired.el (dired-marked): Inherit from `warning'.
8679 (dired-flagged): Inherit from `error'.
8680
57173b96
LMI
86812011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
3e79eb87
LMI
8683 * mail/smtpmail.el (auth-source): Require to avoid problems with
8684 binding variables (bug#9298). Also clean up some unused
8685 autoloads.
8686
b3fd59bd
SM
8687 * net/network-stream.el (network-stream-open-starttls):
8688 Support using starttls.el without using gnutls-cli.
57173b96 8689
02b404de
JL
86902011-08-17 Juri Linkov <juri@jurta.org>
8691
8692 * progmodes/grep.el (rgrep): Handle the case when
8693 `grep-find-command' is a cons cell (bug#9278).
8694
8c9177f2
MR
86952011-08-17 Martin Rudalics <rudalics@gmx.at>
8696
8697 * window.el (display-buffer-pop-up-frame): Run frame creation
8698 function with BUFFER current (as special-display-popup-frame
8699 does). Reported by Drew Adams.
8700
3644a0ab
DU
87012011-08-17 Daiki Ueno <ueno@unixuser.org>
8702
8703 * epa-mail.el: Simplify GnuPG group expansion using
8704 epg-expand-group.
8705 (epa-mail-group-alist, epa-mail-group-modtime)
8706 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8707 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8708 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8709 Remove.
8710
5e617bc2 87112011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8712
8713 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8714
9c4aeabf
AM
87152011-08-16 Alan Mackenzie <acm@muc.de>
8716
8717 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8718 Correct, to avoid the inside of macros.
8719
3a99bf64
RS
87202011-08-16 Richard Stallman <rms@gnu.org>
8721
04963aa8
RS
8722 * epa-mail.el: Handle GnuPG group definitions.
8723 (epa-mail-group-alist, epa-mail-group-modtime)
8724 (epa-mail-gnupg-conf-file): New variables.
8725 (epa-mail-parse-groups, epa-mail-sync-groups)
8726 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8727 (epa-mail-expand-recipients): New functions.
8728 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8729
177549d0
RS
8730 * mail/rmail.el (rmail-epa-decrypt): New command.
8731
fe38beef
RS
8732 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8733 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8734 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8735 (epa-decrypt-armor-in-region): Make error message clearer.
8736
934eacb9
SM
87372011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8740 and "a2b" to "ab" for `prefix'.
8741
d024fb4e
CY
87422011-08-14 Chong Yidong <cyd@stupidchicken.com>
8743
8744 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8745 filter groups.
de148fee
CY
8746 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8747 Fourquet (Bug#8804).
d024fb4e 8748
62f1ca49
JB
87492011-08-12 Juanma Barranquero <lekktu@gmail.com>
8750
8751 * startup.el (argi): Declare as global variable (bug#9275).
8752
9ccaaa4b
CY
87532011-08-12 Chong Yidong <cyd@stupidchicken.com>
8754
8755 * subr.el (string-mark-left-to-right): Search the entire string
8756 for RTL script, not just the terminating character. Doc fix.
8757
a3dae87a
SM
87582011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8759
6cd18349
SM
8760 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8761 New function.
8762 (js--regexp-literal, js-syntax-propertize-function): Remove.
8763 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8764 (js-mode-map): Don't rebind electric keys.
8765 (js-insert-and-indent): Remove.
8766 (js-mode): Setup electric-layout and electric-indent instead.
8767
a3dae87a
SM
8768 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8769
9d5cb631
DU
87702011-08-12 Daiki Ueno <ueno@unixuser.org>
8771
8772 * epa.el (epa-progress-callback-function): Fix the logic of
8773 displaying progress.
8774 * epa-file.el (epa-file-insert-file-contents): Make progress
8775 display more user-friendly.
8776 (epa-file-write-region): Ditto.
8777
3e26a4a2
CY
87782011-08-10 Chong Yidong <cyd@stupidchicken.com>
8779
8780 * subr.el (string-mark-left-to-right): New function.
8781
8782 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8783 Use string-mark-left-to-right.
8784 (list-buffers-noselect): Caller changed.
8785
a3dae87a
SM
8786 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8787 Use string-mark-left-to-right.
3e26a4a2
CY
8788 (tabulated-list-print): Recenter after moving point.
8789
ac8cf6e6
JL
87902011-08-10 Juri Linkov <juri@jurta.org>
8791
8792 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8793 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8794 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8795
8d96c9a4
CY
87962011-08-09 Chong Yidong <cyd@stupidchicken.com>
8797
8798 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8799 (Bug#7554).
8800
7be1c708 88012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8802
8803 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8804 character. (Bug#6594)
8805
37e11a63
CY
88062011-08-08 Chong Yidong <cyd@stupidchicken.com>
8807
839dde57
CY
8808 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8809 (image-dired--with-db-file): New macro.
8810 (image-dired-write-tags, image-dired-remove-tag)
8811 (image-dired-create-gallery-lists, image-dired-write-comments)
8812 (image-dired-get-comment, image-dired-mark-tagged-files)
8813 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8814 (image-dired-gallery-generate): Use insert-file-contents.
8815
37e11a63
CY
8816 * time.el (display-time-world-list, display-time-world-display):
8817 * time-stamp.el (time-stamp-string):
8818 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8819 set-time-zone-rule (Bug#7337).
8820
0b4946c4
DU
88212011-08-08 Daiki Ueno <ueno@unixuser.org>
8822
8823 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8824 (epg-error-to-string, epg-errors-to-string): New function.
8825 (epg-wait-for-completion): Reverse errors list.
8826 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8827 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8828 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8829 (epg-sign-keys, epg-generate-key-from-file)
8830 (epg-generate-key-from-string): Format errors by using
8831 epg-errors-to-string (bug#9255).
8832 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8833
75bfc667
JL
88342011-08-07 Juri Linkov <juri@jurta.org>
8835
8836 * faces.el (list-faces-display): Remove extra angle bracket
8837 from `help-mode-map'.
8838
8839 * info.el (Info-history-toc-nodes): Doc fix.
8840
8841 * longlines.el (longlines-mode): Doc fix.
8842
673e08bb
SM
88432011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8844
4640dd88
SM
8845 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8846 of statements and in a few more cases (bug#9183).
8847
673e08bb
SM
8848 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8849 New functions.
8850 (cl-transform-lambda): Use them (bug#9239).
8851
89b3f019
MR
88522011-08-05 Martin Rudalics <rudalics@gmx.at>
8853
8854 * window.el (display-buffer-same-window)
8855 (display-buffer-same-frame, display-buffer-other-window)
8856 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8857 (pop-to-buffer-other-window)
8858 (pop-to-buffer-same-frame-other-window)
8859 (pop-to-buffer-other-frame): Make them defuns.
8860 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8861
640c8776
SM
88622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * subr.el (make-composed-keymap): Move from C. Change calling
8865 convention, and improve docstring to bring attention to a subtle point.
8866 * minibuffer.el (completing-read-default): Adjust accordingly.
8867
63648a95
MA
88682011-08-03 Michael Albinus <michael.albinus@gmx.de>
8869
8870 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8871 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8872
8873 * net/trampver.el: Update release number.
8874
b796c9b7
SM
88752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8878 "in" (bug#9190).
8879
2239d7d5
LMI
88802011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
e07dd7c3
LMI
8882 * mail/sendmail.el (sendmail-query-once): Restore the current
8883 buffer after querying (bug#9074).
8884
0e6a2bd7
LMI
8885 * dired.el (dired-flagged): Use different faces for marked and
8886 flagged files (bug#6117).
8887
ce887515
LMI
8888 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8889 (bug#4433).
8890
92f2affc
LMI
8891 * ido.el (ido-mode): Switch off the message if called
8892 non-interactively.
8893
57d5aff0
LMI
8894 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8895 before 587, since it appears that that's more likely to work for
8896 more people.
8897
98cd6c18 8898 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8899 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8900 exist.
8901
b96dec83
LMI
8902 * info.el: Remove the `Info-beginning-of-buffer' function
8903 (bug#8325).
8904
b796c9b7
SM
8905 * net/network-stream.el (network-stream-open-starttls):
8906 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8907
d90e2ea0
MR
89082011-08-01 Martin Rudalics <rudalics@gmx.at>
8909
8910 * window.el (display-buffer-in-window): Don't set dedicated status
8911 of window here (Bug#9215).
8912 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8913 (display-buffer-pop-up-side-window)
b796c9b7 8914 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8915
cca09170
SM
89162011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8919 before binding generated-autoload-file.
8920
027b979c
DD
89212011-08-01 Deniz Dogan <deniz@dogan.se>
8922
8923 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8924
3c7ee4f3
MA
89252011-07-30 Michael Albinus <michael.albinus@gmx.de>
8926
8927 Sync with Tramp 2.2.2.
8928
8929 * net/trampver.el: Update release number.
8930
2cc8e51a
JL
89312011-07-30 Juri Linkov <juri@jurta.org>
8932
8933 * dired-aux.el (dired-touch-initial): Remove function.
8934 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8935 current time, and `default' to the last modification time of the
8936 current marked file (bug#6887).
8937
a514d856
JM
89382011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8939
8940 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8941 numeric argument to read-number (bug#9163).
a514d856 8942
8a7eddd7
MA
89432011-07-27 Michael Albinus <michael.albinus@gmx.de>
8944
8945 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8946 connection process, it could be nil.
8947
1ddd96f5
LL
89482011-07-27 Leo Liu <sdl.web@gmail.com>
8949
8950 Simplify url handling in rcirc-mode.
8951
8952 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8953 (rcirc-browse-url-at-mouse): Remove.
8954 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8955
b248a85d
AM
89562011-07-26 Alan Mackenzie <acm@muc.de>
8957
8958 Fontify bitfield declarations properly.
8959
8960 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8961 (c-symbol-chars): Now exported as a lang variable.
8962 (c-not-primitive-type-keywords): New lang variable.
8963
8964 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8965 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8966 parsed as a bitfield declaration.
b248a85d 8967
b796c9b7
SM
8968 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8969 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8970 (c-punctuation-in): New function.
8971 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8972 declarations properly.
8973
68575ab0
UJ
89742011-07-26 Ulf Jasper <ulf.jasper@web.de>
8975
8976 * calendar/icalendar.el (icalendar--all-events): Take care of
8977 multiple vcalendars in a single file.
b796c9b7 8978 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8979
0f0a88b9
DD
89802011-07-25 Deniz Dogan <deniz@dogan.se>
8981
8982 * image.el (insert-image): Clarifying docstring.
8983
0b3f36df
MA
89842011-07-24 Michael Albinus <michael.albinus@gmx.de>
8985
8986 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8987 `tramp-send-command-and-check' if there is no error.
8988 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8989
a9901f61
AM
89902011-07-22 Alan Mackenzie <acm@muc.de>
8991
8992 Prevent cc-langs.elc being loaded at run time.
8993
8994 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8995 cc-langs.
8996
4d61f28d 8997 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8998 "(require 'cc-langs)". Quote a form so it will evaluate at
8999 (cc-mode's) compilation time.
9000
11d074b2
MA
90012011-07-22 Michael Albinus <michael.albinus@gmx.de>
9002
9003 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9004 loading. (Bug#9114)
9005
938b94c8
MR
90062011-07-21 Martin Rudalics <rudalics@gmx.at>
9007
9008 * window.el (display-buffer-pop-up-window)
9009 (display-buffer-pop-up-side-window)
9010 (display-buffer-in-side-window): Call display-buffer-set-height
9011 and display-buffer-set-width after setting the new window's
b796c9b7 9012 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9013
bfa4f190
SS
90142011-07-20 Sam Steingold <sds@gnu.org>
9015
9016 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9017 (etags-tags-included-tables): Call `convert-standard-filename' on
9018 the file names contained in TAGS so that windows Emacs can handle
9019 TAGS files created by cygwin ctags.
9020
8ca42262
LMI
90212011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022
9023 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9024 which apparently didn't work.
9025
5db2afd2 90262011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9027
5db2afd2
RW
9028 * proced.el (proced-send-signal): For *Marked Processes* buffer
9029 put point at beginning of buffer.
9030
92e15d10
SB
90312011-07-19 Stephen Berman <stephen.berman@gmx.net>
9032
9033 * proced.el (proced-format): Make header lines align with the text
9034 (bug#1779).
9035
1bfd59e5
LMI
90362011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9037
9038 * view.el (view-buffer): Allow running in `special' modes if we're
9039 visiting a file (bug#8615).
9040
f5aae37c
MR
90412011-07-19 Martin Rudalics <rudalics@gmx.at>
9042
9043 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9044 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9045 New functions.
f5aae37c
MR
9046 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9047 more accurately.
9048
bf2c1571
AM
90492011-07-18 Alan Mackenzie <acm@muc.de>
9050
9051 Fontify declarators properly when, e.g., a jit-lock chunk begins
9052 inside a declaration.
9053
9054 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9055
b796c9b7
SM
9056 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9057 New function.
bf2c1571
AM
9058 (c-complex-decl-matchers): Insert reference to
9059 c-font-lock-enclosing-decls.
9060
9061 * progmodes/cc-engine.el (c-backward-single-comment):
9062 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9063 to nil around calls to (forward-comment -1).
9064
4e190b80
LMI
90652011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9066
12dc863d
LMI
9067 * image.el (put-image): Doc typo fix.
9068
a762e966
LMI
9069 * progmodes/etags.el (tags-search): Doc typo fix.
9070
4e190b80
LMI
9071 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9072 password if we get errors 550 to 554.
9073
f019fb21
LMI
90742011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
b796c9b7 9076 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9077
81746738
LMI
9078 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9079 indentation character (bug#6380).
9080
3ee3a1b5
LMI
9081 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9082
c82f64de
LMI
9083 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9084 to clarify what the problem is (bug#4291).
9085
f019fb21
LMI
9086 * simple.el (current-kill): Clarify what
9087 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9088 (auto-fill-mode): Document `auto-fill-function' in relation to
9089 `auto-fill-mode' (bug#2470).
f019fb21 9090
0794775d
LM
90912011-07-16 Lawrence Mitchell <wence@gmx.li>
9092
9093 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9094 method if slot is read-only (bug#9035).
9095
be39b8cc
MR
90962011-07-16 Martin Rudalics <rudalics@gmx.at>
9097
b796c9b7 9098 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9099 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9100 selected before, see discussion of (Bug#8615), (Bug#6954).
9101 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9102
6ccf7859
GM
91032011-07-15 Glenn Morris <rgm@gnu.org>
9104
9105 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9106 Respect help-form.
6ccf7859 9107
87e86684
LM
91082011-07-09 Lawrence Mitchell <wence@gmx.li>
9109
9110 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9111 (gnutls-negotiate): Use it.
9112
d6066239
LMI
91132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9114
b796c9b7
SM
9115 * net/gnutls.el (gnutls-negotiate):
9116 Upcase `gnutls-algorithm-priority'.
d6066239 9117
bd23ebc0
GM
91182011-07-15 Glenn Morris <rgm@gnu.org>
9119
c65bca65
GM
9120 * jka-compr.el (jka-compr-verbose): Move from here...
9121 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9122 Add missing :version tag.
9123 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9124
478615cc
LMI
91252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9126
7b41decb
LMI
9127 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9128 (gnutls-negotiate): Use it.
9129
dbc44fcd
LMI
9130 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9131
06789f97
LMI
9132 * info.el (Info-beginning-of-buffer): New command.
9133 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9134 announcing `b' as the key (bug#8325).
ab896c37 9135 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9136
c39da690
LMI
9137 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9138
3aa5f34b
LMI
9139 * international/mule-cmds.el
9140 (describe-specified-language-support): Make the error message
9141 clearer (bug#8905).
9142
4bf0979f
LMI
9143 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9144
478615cc
LMI
9145 * isearch.el (isearch-barrier): Add a doc string, since it's
9146 mentioned in a function doc string (bug#8678).
9147
75c68aa1
MR
91482011-07-15 Martin Rudalics <rudalics@gmx.at>
9149
9150 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9151 buffer argument (Bug#9083) and self-identifying label argument.
9152
a7c33da2
GM
91532011-07-15 Glenn Morris <rgm@gnu.org>
9154
9155 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9156
2f5c6024
LMI
91572011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9158
9159 * man.el (Man-fontify-manpage): Fix message when formatting the
9160 man page (bug#7929).
9161
0bb23927 91622011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9163
9164 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9165 argument LRM; if non-nil, append an invisible LRM character to the
9166 buffer name.
9167 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9168 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9169 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9170 paragraph direction.
cce4b0a7 9171
621ef9ab
LMI
91722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
d1583c48
LMI
9174 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9175 the man page name (bug#7929).
9176
6a57fb5f
LMI
9177 * image.el (put-image): Mention the `put-image' overlay property
9178 (bug#7834).
9179
d7956b14
LMI
9180 * scroll-bar.el (set-scroll-bar-mode): Mention that
9181 `scroll-bar-mode' lists the values (bug#7772).
9182
5b2d4a66
LMI
9183 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9184 command (bug#7729).
9185
7509a874
LMI
9186 * rect.el (apply-on-rectangle): Return the point after the last
9187 operation.
9188 (string-rectangle): Go to the point after the last operation
9189 (bug#7522).
9190
4fe74b19
LMI
9191 * printing.el (pr-toggle-region): Clarify the documentation
9192 slightly (bug#7493).
9193
b796c9b7
SM
9194 * time.el (display-time-update):
9195 Allow `display-time-mail-function' to return nil (bug#7158).
9196 Fix suggested by Detlev Zundel.
ab283561 9197
fc233c9d
LMI
9198 * vc/diff.el (diff): Clarify the order the file names are read
9199 (bug#7111).
9200
43f5740b
LMI
9201 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9202 the doc string (bug#7015).
9203
f2182a76
LMI
9204 * font-lock.el (font-lock-maximum-decoration): Mention what
9205 numeric levels mean (bug#6935).
9206
621ef9ab
LMI
9207 * startup.el (initial-buffer-choice): Don't mention the `none'
9208 selection, which is against policy.
9209
adc47434
MR
92102011-07-14 Martin Rudalics <rudalics@gmx.at>
9211
b796c9b7
SM
9212 * window.el (display-buffer-normalize-special):
9213 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9214
7e5bfb8f
EZ
92152011-07-14 Eli Zaretskii <eliz@gnu.org>
9216
9217 * subr.el (version<, version<=, version=): Mention "-CVS" and
9218 "-12345" alpha version numbers.
9219
27fa387a
CY
92202011-07-14 Chong Yidong <cyd@stupidchicken.com>
9221
9222 * bindings.el: Add advertised binding for set-mark-command
9223 (Bug#5772).
9224
8bdfa064
CY
92252011-07-14 Chong Yidong <cyd@stupidchicken.com>
9226
9227 * bindings.el (mode-line-other-buffer):
9228 * bookmark.el (bookmark-bmenu-2-window):
9229 * bs.el (bs-cycle-next, bs-cycle-previous):
9230 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9231 switch-to-buffer.
9232
9233 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9234 Delete.
8bdfa064 9235
5eba16a3
JB
92362011-07-14 Juanma Barranquero <lekktu@gmail.com>
9237
9238 * follow.el (follow-debug-message, follow-redisplay):
9239 * jka-cmpr-hook.el (with-auto-compression-mode):
9240 Fix typos in docstrings.
9241
15853710
LMI
92422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9243
a28e4607
LMI
9244 * subr.el (with-silent-modifications): Clarify somewhat what the
9245 macro inhibits (bug#6525).
9246
15853710
LMI
9247 * simple.el (eval-expression): Note what it does if called
9248 interactively (bug#6495).
9249
bee0fcef
CY
92502011-07-13 Chong Yidong <cyd@stupidchicken.com>
9251
b796c9b7
SM
9252 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9253 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9254
9255 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9256 Remove switch-to-buffer.
9257
58274504
LMI
92582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259
bd2fcc8d
LMI
9260 * files.el (make-directory): Clarify that an error will be raised
9261 if there's an error (bug#6397).
9262
0f04b32c
LMI
9263 * startup.el (initial-buffer-choice): Add `none' as a choice
9264 (bug#6234).
9265
465c5fc8
LMI
9266 * subr.el (add-hook): Clarify section about buffer-local hooks
9267 (bug#6218).
9268
58274504
LMI
9269 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9270
bead9a43
JB
92712011-07-13 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * tabify.el (untabify): Preserve the current column so that point
9274 doesn't move (bug#6032).
9275
3af98a7b
LMI
92762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9277
b796c9b7
SM
9278 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9279 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9280
6240145a
GM
92812011-07-13 Glenn Morris <rgm@gnu.org>
9282
9283 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9284 (dired-insert-directory): Give a message the first time
9285 if ls is found not to support --dired.
9286
1d8c2ccc
LMI
92872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9288
9289 * simple.el (toggle-truncate-lines): Clarify what is toggled
9290 (bug#5580). Text by Drew Adams.
9291
5fc4038e
CY
92922011-07-13 Chong Yidong <cyd@stupidchicken.com>
9293
9294 * simple.el (blink-matching-open): Make the error message from the
9295 last change less verbose.
9296
bf6012e5
DN
92972011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9298
9299 * font-lock.el (font-lock-comment-face): Use the high contrast
9300 "yellow" color for font-lock-comment-face on low color terminals
9301 using a dark background color (bug#4221).
9302
343c3b5a
LMI
93032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9304
7e9505c5
LMI
9305 * dired.el (dired-insert-set-properties): Make the doc string
9306 reflect what it does now (bug#5325).
9307
c26fdcf5
LMI
9308 * simple.el (blink-matching-open): Say that we were unable to find
9309 the match within the limit, if we're limited (bug#5122).
9310
bb388cc5
LMI
9311 * international/mule-cmds.el (prefer-coding-system): Add an
9312 example (bug#4869).
9313
343c3b5a
LMI
9314 * progmodes/etags.el (tags-search): Document `file-list-form'
9315 (bug#4731).
9316
2a517d45
LM
93172011-07-13 Lawrence Mitchell <wence@gmx.li>
9318
9319 * net/browse-url.el (browse-url-default-browser)
9320 (browse-url-browser-function): Make the default browser choice a
9321 bit more logical (bug#4300). Also clean up the doc string.
9322
b6c78ef2
JB
93232011-07-13 Juanma Barranquero <lekktu@gmail.com>
9324
9325 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9326 binary endings (bug#4440).
9327
1c4dd947
LMI
93282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9329
a2014063
LMI
9330 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9331 which can be pretty annoying (bug#8971).
9332
9c9c2d88
LMI
9333 * jka-compr.el (jka-compr-verbose): New variable, and use
9334 throughout (bug#8971).
9335
1c4dd947
LMI
9336 * info.el (Info-find-file): Fall back on the installation
9337 directory if we can't find the info node anywhere else.
9338
a1c9f41b
SO
93392011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9340
9341 * vc/vc.el (vc-revert-file):
9342 Don't set file time-stamp in the past. (Bug#5181)
9343
536f3d36
LMI
93442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9345
7152b011
LMI
9346 * files.el (after-find-file): Give a better error message when
9347 trying to find a symlink that points to a file that doesn't exist
9348 (bug#4398).
9349
536f3d36
LMI
9350 * progmodes/cc-vars.el: Remove (probably) misleading comment
9351 (bug#4396).
9352
460c0fba
JB
93532011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9354
9355 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9356
7a6bda45
CY
93572011-07-12 Chong Yidong <cyd@stupidchicken.com>
9358
9359 * mouse-sel.el: Hack restoring functionality, while keeping
9360 compatibility with 2010-07-03 changes to mouse selection.
9361 (mouse-sel-primary-overlay): New var.
9362 (mouse-sel-selection-alist): Use it.
9363 (mouse-sel-mode): Doc fix; remove points that are default features
9364 of mouse.el.
9365
c79598ef
JB
93662011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9367
9368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9369 Fix previous fix (bug#2490).
9370
ff8be6ef
RW
93712011-07-12 Roland Winkler <winkler@gnu.org>
9372
b796c9b7
SM
9373 * textmodes/bibtex.el (bibtex-initialize):
9374 Use pop-to-buffer-same-window.
ff8be6ef
RW
9375 (bibtex-search-entries): Fix interactive call.
9376
296ba3ee
LMI
93772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
f5242a02 9379 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9380 Fontise bytecomp Error lines more correctly (bug#2490).
9381 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9382
296ba3ee
LMI
9383 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9384
9385 * dired-x.el (dired-guess-default): Use `delete-dups'.
9386
f69fd0d2
CY
93872011-07-12 Chong Yidong <cyd@stupidchicken.com>
9388
9389 * dired.el (dired-mark-prompt):
9390 * dired-aux.el (dired-read-shell-command): Doc fix.
9391
eab5dc07
LMI
93922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9393
b796c9b7
SM
9394 * mail/sendmail.el (sendmail-query-once):
9395 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9396 emacs -Q.
9397
9398 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9399
eab5dc07
LMI
9400 * cus-edit.el (custom-file): Take an optional no-error variable.
9401 (customize-save-variable): Set the variable, and give a warning if
9402 running under "emacs -q".
9403
a1e65d42
JB
94042011-07-11 Juanma Barranquero <lekktu@gmail.com>
9405
9406 * loadhist.el (unload-feature-special-hooks):
9407 Add `auto-coding-functions', `fill-nobreak-predicate' and
9408 `find-directory-functions' (bug#5327).
9409
1d52da10
LMI
94102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
be958f1d
LMI
9412 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9413
5bedb26c
LMI
9414 * cus-edit.el (custom-guess-name-alist): -alist variables should
9415 use the `alist' type (bug#3120). Suggested by Drew Adams.
9416
1d52da10
LMI
9417 * printing.el: Add documentation to all the `pr-toggle-' commands.
9418
cd394be1 94192011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9420
9421 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9422 backends where it makes sense (bug#2623).
9423
dcc88d8a
LMI
94242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9425
c3de9feb
LMI
9426 * dired-x.el (dired-guess-default): Remove duplicate shell command
9427 entries (bug#2028).
8a93078b 9428 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9429 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9430
dcc88d8a
LMI
9431 * subr.el (remove-duplicates): New conveniency function.
9432
505e3645
LMI
94332011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9434
9435 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9436 (bug#1526).
9437
94382011-07-10 Martin Rudalics <rudalics@gmx.at>
9439
9440 * window.el (display-buffer-normalize-default): Don't invert
9441 meaning of even-window-heights. Reported by Eli Zaretskii
9442 <eliz@gnu.org>.
9443
455e4fa1
BR
94442011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9445
9446 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9447
8e0bc3e9
CY
94482011-07-10 Chong Yidong <cyd@stupidchicken.com>
9449
9450 * window.el (display-buffer): Fix arguments to
9451 display-buffer-reuse-window in last change.
9452
fa7c3228
CY
9453 * faces.el (link): Use a less saturated blue on light backgrounds.
9454
9455 * startup.el (fancy-startup-text, fancy-about-text)
9456 (fancy-startup-tail): Use font-lock faces, for background safety.
9457
c0a7f300
BN
94582011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9459
b796c9b7
SM
9460 * emulation/viper-cmd.el (viper-change-state-to-vi):
9461 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9462
4dc2a129
MR
94632011-07-09 Martin Rudalics <rudalics@gmx.at>
9464
9465 * window.el (display-buffer-default-specifiers): Remove.
9466 (display-buffer-macro-specifiers): Remove default specifiers.
9467 (display-buffer-alist): Default to nil.
b796c9b7 9468 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9469 (display-buffer-pop-up-window): Allow splitting internal
9470 windows. Check whether a live window was created.
9471 (display-buffer-other-window-means-other-frame)
9472 (display-buffer-normalize-arguments): Rename to
9473 display-buffer-normalize-argument and rewrite. Set the
9474 other-window specifier.
9475 (display-buffer-normalize-special): New function.
9476 (display-buffer-normalize-options): Rename to
9477 display-buffer-normalize-default and rewrite.
9478 (display-buffer-normalize-options-inhibit): Remove.
9479 (display-buffer-normalize-specifiers): Rewrite.
9480 (display-buffer): Process other-window specifier and call
9481 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9482 more faithfully.
b796c9b7 9483 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9484 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9485 (display-buffer-in-window, display-buffer-alist-set):
9486 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9487 <tassilo@member.fsf.org>.
9488
2d43b8c9
LL
94892011-07-09 Leo Liu <sdl.web@gmail.com>
9490
9491 * register.el (insert-register): Restore accidental change on
9492 2011-06-26. (Bug#9028)
9493
7f9b7c53
GM
94942011-07-09 Glenn Morris <rgm@gnu.org>
9495
9496 * subr.el (remq): Handle the empty list. (Bug#9024)
9497
f042cfd8
AS
94982011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9499
9500 * mail/sendmail.el (send-mail-function): No longer delay custom
9501 initialization.
9502 * custom.el (custom-initialize-delay): Doc fix.
9503
856b2f11
SM
95042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9507
afae1d68
MA
95082011-07-08 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9511 human-friendly prompt.
9512
0757af94
SM
95132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9516 provided by a particular plugin.
9517
d760b731
LMI
95182011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9519
9520 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9521 save customizations (with "emacs -Q"), just set the variable
9522 instead of erroring out.
9523
9524 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9525
cd79ce90
JL
95262011-07-08 Juri Linkov <juri@jurta.org>
9527
9528 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9529 (archive-zip-update-case): Use 7z if found by `executable-find'.
9530 The order of searching the available programs is the same as in
9531 `archive-zip-extract' (bug#8968).
9532
14cc04aa
CY
95332011-07-07 Chong Yidong <cyd@stupidchicken.com>
9534
9535 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9536 (menu-bar-options-menu): Tweak descriptions.
9537
0a1848ec
LMI
95382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539
9540 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9541 menu items into verb phrases (bug#1421). Also refill to fit under
9542 80 columns.
9543
f5bd0689
CY
95442011-07-07 Chong Yidong <cyd@stupidchicken.com>
9545
538e85c6
CY
9546 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9547 (Info-read-node-name): Doc fix (Bug#1084).
9548
f5bd0689
CY
9549 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9550 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9551 (end-of-sexp, beginning-of-sexp)
9552 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9553 (forward-symbol, forward-same-syntax, word-at-point)
9554 (sentence-at-point): Doc fix (Bug#1144).
9555
56ec5115
LMI
95562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9557
f3f8e37f
LMI
9558 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9559 should cover it (bug#1281).
9560
0757af94 9561 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9562
e9fce1ac 9563 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9564 negotiation fails, then possibly try again with a non-encrypted
9565 connection (bug#9017).
9566
56ec5115
LMI
9567 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9568 be used.
9569
c2f9aec8
RS
95702011-07-07 Richard Stallman <rms@gnu.org>
9571
9572 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9573 property, and handle its changed format.
9574 Look for the correct line number.
9575 Use file's line contents (but not past first =) to find
9576 correct line in message.
9577
ef7b981d 95782011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9579
9580 * international/characters.el (build-unicode-category-table):
9581 Delete it.
0757af94 9582 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9583
0757af94 9584 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9585 to src/chartab.c.
9586 (get-char-code-property): Call unicode-property-table-internal to
9587 load a file. Call get-unicode-property-internal where necessary.
9588 (put-char-code-property): Call unicode-property-table-internal to
9589 load a file. Call put-unicode-property-internal where necessary.
9590 put-unicode-property-internal where necessary.
0757af94
SM
9591 (char-code-property-description):
9592 Call unicode-property-table-internal to load a file.
c805dec0
KH
9593
9594 * international/charprop.el:
9595 * international/uni-bidi.el:
9596 * international/uni-category.el:
9597 * international/uni-combining.el:
9598 * international/uni-comment.el:
9599 * international/uni-decimal.el:
9600 * international/uni-decomposition.el:
9601 * international/uni-digit.el:
9602 * international/uni-lowercase.el:
9603 * international/uni-mirrored.el:
9604 * international/uni-name.el:
9605 * international/uni-numeric.el:
9606 * international/uni-old-name.el:
9607 * international/uni-titlecase.el:
9608 * international/uni-uppercase.el: Regenerate.
9609
9610 * loadup.el: Load international/charprop.el before
9611 international/characters.
9612
e14b388a
CY
96132011-07-07 Chong Yidong <cyd@stupidchicken.com>
9614
9615 * window.el (next-buffer, previous-buffer): Signal an error if
9616 called from a minibuffer window.
9617
9618 * bindings.el: Revert 2011-07-04 change.
9619
354cf0ba
RS
96202011-07-06 Richard Stallman <rms@gnu.org>
9621
9622 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9623 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9624 Treat markers like ints.
9625 (rmail-mime-entity): Doc fix.
9626
a48868a7
LMI
96272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9628
4906cd3d
LMI
9629 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9630 defcustom again for backwards compatibility.
9631
e0457abe
LMI
9632 * simple.el (shell-command-on-region): Fill.
9633
d67f7e1f
LMI
9634 * dired-aux.el (dired-kill-line): Add a doc string.
9635
fe204702
LMI
9636 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9637 to "\\sw\\|\\s_" (bug#358).
9638
a48868a7
LMI
9639 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9640 (dired-unmark-backward): Ditto.
9641 (dired-flag-backup-files): Ditto.
9642
9643 * dired-x.el (dired-mark-sexp): Ditto.
9644
aa8a705c
RS
96452011-07-06 Richard Stallman <rms@gnu.org>
9646
9647 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9648 (rmail-mime-entity): New arg TRUNCATED.
9649 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9650 New functions.
9651 (rmail-mime-save): Warn if entity is truncated.
9652 (rmail-mime-toggle-hidden): Likewise, for showing.
9653 (rmail-mime-process-multipart): Record when an entity is truncated.
9654
a9a936b9
RS
9655 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9656 if ENTITY is a string.
9657
1f2b92cb
LMI
96582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9659
f4f73198 9660 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9661 of faces when `M-C-x'-ing their definitions (bug#8378).
9662 Also clean up the code slightly.
f4f73198 9663
12b16734 9664 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9665 because that makes the colors go away.
12b16734 9666
f0691d22
LMI
9667 * mail/sendmail.el (send-mail-function): Change the default to
9668 `sendmail-query-once'.
9e87df06 9669 (sendmail-query-once): Add an autoload cookie.
f0691d22 9670
1f2b92cb
LMI
9671 * net/network-stream.el (network-stream-open-starttls): Try using
9672 a plain connection even if the server offered STARTTLS, and we
9673 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9674 capability. This should make smtpmail.el work in slightly more
9675 configurations.
9676
1cdd2a1b
MA
96772011-07-06 Michael Albinus <michael.albinus@gmx.de>
9678
9679 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9680 New defun.
9681 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9682
fbcc67e2
MM
96832011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9684
9685 * progmodes/sql.el: Version 3.0
0757af94 9686 (sql-product-alist): Add product :completion-object,
fbcc67e2 9687 :completion-column, and :statement attributes.
0757af94 9688 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9689 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9690 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9691 ansi keywords.
9692 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9693 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9694 (sql-oracle-show-reserved-words): New function for development.
9695 (sql-product-font-lock): Simplify for source code buffers.
9696 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9697 New functions.
9698 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9699 (sql-mode-map): Add statement movement functions.
9700 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9701 New variable.
fbcc67e2
MM
9702 (sql-statement-regexp, sql-beginning-of-statement)
9703 (sql-end-of-statement, sql-signum): New functions.
0757af94 9704 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9705 (sql-show-sqli-buffer): Bug fix.
9706 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9707 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9708 with sql-interactive-mode.
9709 (sql-save-connection): Save buffer local settings.
0757af94 9710 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9711 (sql-product-interactive): Bug fix.
9712 (sql-preoutput-hold): New variable.
9713 (sql-interactive-remove-continuation-prompt): Bug fixes.
9714 (sql-debug-redirect): New variable.
9715 (sql-str-literal): New function.
9716 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9717 Redesign.
fbcc67e2
MM
9718 (sql-oracle-save-settings, sql-oracle-restore-settings)
9719 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9720 (sql-completion-object, sql-completion-column)
9721 (sql-completion-sqlbuf): New variables.
9722 (sql-build-completions-1, sql-build-completions)
9723 (sql-try-completion): New functions.
9724 (sql-read-table-name): Use them.
9725 (sql-contains-names): New buffer local variable.
9726 (sql-list-all, sql-list-table): Use it.
9727 (sql-oracle-completion-types): New variable.
9728 (sql-oracle-completion-object, sql-sqlite-completion-object)
9729 (sql-postgres-completion-object): New functions.
9730
d4eaeab1
GM
97312011-07-06 Glenn Morris <rgm@gnu.org>
9732
9733 * window.el (pop-to-buffer): Doc fix.
9734
322b7dab 97352011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9736
9737 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9738
322b7dab 97392011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9740
322b7dab 9741 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9742
322b7dab 9743 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9744
605dd5bf
CY
97452011-07-05 Chong Yidong <cyd@stupidchicken.com>
9746
9747 * button.el (button): Inherit from link face. Suggested by Dan
9748 Nicolaescu.
9749
7dbfa719
SM
97502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9751
3db614b0
SM
9752 * progmodes/gdb-mi.el: Fit in 80 columns.
9753 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9754 switch-to-buffer.
9755
7dbfa719
SM
9756 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9757 if imenu is simply not configured (bug#8941).
9758
919d884a
KM
97592011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9760
9761 * allout.el (allout-post-undo-hook): New allout outline-change
9762 event hook to signal undo activity.
9763 (allout-post-command-business): Run allout-post-undo-hook if an
9764 undo just occurred.
7dbfa719
SM
9765 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9766 * allout-widgets.el (allout-widgets-after-undo-function):
9767 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9768 in the vicinity of an undo.
9769 (allout-widgets-mode): Include allout-widgets-after-undo-function
9770 on the new allout-post-undo-hook.
9771
450a0f09
SM
97722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9775 Let define-derived-mode define it.
9776 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9777 cycles of abbrev-table inheritance (bug#8998).
9778
2de69e00
RW
97792011-07-05 Roland Winkler <winkler@gnu.org>
9780
9781 * textmodes/bibtex.el: Add support for biblatex.
9782 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9783 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9784 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9785 (bibtex-entry-alist, bibtex-field-alist): New variables.
9786 (bibtex-entry-field-alist): Obsolete alias for
9787 bibtex-BibTeX-entry-alist.
9788 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9789 (bibtex-set-dialect): New command.
9790 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9791 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9792 Bind via bibtex-set-dialect.
2de69e00
RW
9793 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9794 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9795 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9796 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9797 Define via bibtex-set-dialect.
450a0f09
SM
9798 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9799 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9800 (bibtex-vec-push, bibtex-vec-incr): New functions.
9801 (bibtex-format-entry, bibtex-field-list)
9802 (bibtex-print-help-message, bibtex-validate)
9803 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9804
2dcdbdd9
SM
98052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * progmodes/compile.el (compilation-goto-locus):
9808 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9809 * bs.el (bs-cycle-next, bs-cycle-previous):
9810 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9811 * bindings.el (mode-line-other-buffer):
9812 * autoinsert.el (auto-insert):
9813 * arc-mode.el (archive-extract):
9814 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9815
b27640fe
JB
98162011-07-05 Juanma Barranquero <lekktu@gmail.com>
9817
9818 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9819 Fix check of `emacs-lock-unlockable-modes'.
9820 Coerce true values of `emacs-lock--try-unlocking' to t.
9821
53bbe3ad
JB
98222011-07-05 Juanma Barranquero <lekktu@gmail.com>
9823
9824 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9825 * emacs-lock.el: New file.
9826
1d3cdbc7
JD
98272011-07-05 Julien Danjou <julien@danjou.info>
9828
9829 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9830 than `boundp' to check if face is set.
9831
9173deec
JB
98322011-07-05 Juanma Barranquero <lekktu@gmail.com>
9833
9834 * register.el (registerv-make):
9835 * window.el (window-min-height): Fix typos in docstrings.
9836
869795d6
JD
98372011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9838
9173deec 9839 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9840 Update doc string.
9841
b768cdcd
JB
98422011-07-04 Juanma Barranquero <lekktu@gmail.com>
9843
9844 * server.el (server-execute): Catch quit and call
9845 `server-return-error' to pass the error back to emacsclient and
9846 close the connection (bug#8942).
9847
13aa217b
KM
98482011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9849
9850 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9851 insecure exception for current topic. Also note that auto-saves
9852 are handled differently.
9853
5d3385a0 9854 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9855 State variables for tracking auto-save inhibition situation.
9856
9857 (allout-write-contents-hook-handler): Rename from
9858 'allout-write-file-hook-handler', and describe how it depends on
9859 write-contents-functions sensitivity to non-nil value to prevent
9860 file write.
9861
9862 (allout-auto-save-hook-handler): Remove. auto-save does not check
9863 this in individual buffers, only in the starting buffer, so this
9864 is not the right way for us to inhibit auto-save in a buffer
9865 according to its condition.
9866
9867 (allout-mode): Use new allout-write-contents-hook-handler, and
9868 only with write-contents-functions. Remove auto-save provisions -
9869 they're implemented elsewhere.
9870
9871 (allout-before-change-handler): If undo is in progress, note that
9872 for attention of allout-post-command-business.
9873
9874 (allout-post-command-business): If the command we're following was
9875 an undo, check for change in the status of encrypted items and
9876 adjust auto-save inhibitions accordingly.
9877
9878 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9879 according to whether there are or aren't any plain-text topics
9880 pending encryption.
9881
2dcdbdd9 9882 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9883 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9884 if there are plain-text topics pending encryption.
13aa217b
KM
9885
9886 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9887 buffer-saved-size and some allout state to not inhibit auto-saves
9888 if there are no longer any plain-text topics pending encryption.
9889
0757af94
SM
9890 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9891 No longer provide for exemption of the current topic.
13aa217b 9892
ac89b32c
JL
98932011-07-04 Juri Linkov <juri@jurta.org>
9894
9895 Add 7z operations to delete and save changed members (bug#8968).
9896 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9897 New defcustoms.
9898 (archive-7z-write-file-member): New function.
9899 (archive-7z-summarize): Fix the number of dashes in the
9900 listing output.
9901
8fa39615
SM
99022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9905 (bug#8958).
9906
2f11b3f1
CY
99072011-07-04 Chong Yidong <cyd@stupidchicken.com>
9908
d66fef2b
CY
9909 * bindings.el: Ignore next-buffer and previous-buffer in
9910 minibuffer-local-map.
9911
2f11b3f1
CY
9912 * font-lock.el (font-lock-builtin-face): Change light background
9913 color to dark slate blue (Bug#6693).
9914
f932a347
WD
99152011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9916
9917 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9918
c8af70e1
SM
99192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9922 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9923 Add switch-to-buffer.
9924
f158badc
LMI
99252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926
9927 * isearch.el (isearch-search-fun-function): Clarify further the
9928 meaning of the function returned.
9929
6d95bd46
MA
99302011-07-04 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9933
9934 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9935 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9936 Use it.
9937 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9938 `tramp-default-remote-path' does not exist.
9939 (tramp-send-command-and-read): New optional argument NOERROR.
9940 (tramp-open-connection-setup-interactive-shell)
9941 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9942 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9943 (tramp-process-sentinel): Flush also process' connection property.
9944 (tramp-sh-handle-start-file-process): Do not set process
9945 sentinel. It is done now ...
9946 (tramp-maybe-open-connection): ... here. (Bug#8929)
9947
909e6b67
MK
99482011-07-04 MON KEY <monkey@sandpframing.com>
9949
9950 * play/animate.el (animate-string): Doc fixes and allow changing
9951 the buffer name (bug#5417).
9952
99532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9954
c8af70e1 9955 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9956
f34755dc
PE
99572011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9958
396cec72
PE
9959 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9960 This is simpler and helps future-proof the code.
9961 (timer-until): Use time-subtract and float-time.
08235028 9962 (timer--time-less-p): Use time-less-p.
f34755dc 9963
56e6cc31
JB
99642011-07-04 Juanma Barranquero <lekktu@gmail.com>
9965
3abb79e5
JB
9966 * type-break.el (timep): Use the value of `float-time' to avoid a
9967 byte-compiler warning.
9968
56e6cc31
JB
9969 * server.el (server-eval-and-print): Return any result, even nil.
9970
7b9430b4
PE
99712011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9972
9973 * type-break.el: Accept time formats that the builtins accept.
9974 (timep, type-break-time-difference): Accept any format that
9975 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9976 This is simpler and helps future-proof the code.
9977 (type-break-time-difference): Round rather than ignoring
9978 subseconds components.
9979
3034e9e7
LMI
99802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9981
9982 * info.el (Info-apropos-matches): Make non-interactive, since it
9983 doesn't seem to do anything useful as a command (bug#8829).
9984
1485f4c0
CY
99852011-07-03 Chong Yidong <cyd@stupidchicken.com>
9986
9987 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9988 Move from faces.el.
1485f4c0
CY
9989 (frame-default-terminal-background): New function.
9990
9991 * custom.el (custom-push-theme): Don't record faces in `changed'
9992 theme; this doesn't work correctly for per-frame face settings.
9993 (disable-theme): Use face-set-after-frame-default to reset faces.
9994 (custom--frame-color-default): New function.
9995
9fa3dd45
LMI
99962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
c8af70e1 9998 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9999 (bug#8769).
10000
6cbbc20c
KR
100012011-03-29 Kevin Ryde <user42@zip.com.au>
10002
10003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10004 `perl-Test2' extend to match possible "fail #N" rep count
10005 (bug#8377).
10006
c7f98048
LMI
100072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
65676592
LMI
10009 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10010 `smtpmail-via-smtp' now returns the error instead of nil.
10011
c7f98048
LMI
10012 * isearch.el (isearch-search-fun-function): Clarify the doc string
10013 (bug#8101).
10014
56e6cc31 100152011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10016
10017 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10018 unnecessary spaces (bug#8987).
10019
2b216704
LMI
100202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021
10022 * net/network-stream.el (open-network-stream): Use the
10023 :end-of-capability command thoughout.
10024
100252011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10026
10027 * net/network-stream.el (open-network-stream): Add the
10028 :end-of-capability command parameter, used by pop3.el.
10029
36adf6ce
LMI
100302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10031
1ca0da0e
LMI
10032 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10033
fc00f69c
LMI
10034 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10035 for list)" (bug#6475).
10036
28fd8759 10037 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10038 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10039 an error (bug#6297).
10040
0dd8b6da
LMI
10041 * man.el (Man-reference-regexp): Allow matching possible
10042 word-wrapped references (bug#6289).
10043
ce1438d6
LMI
10044 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10045 for consistency with the other vc buffers (bug#6197).
10046 (vc-checkin): Ditto.
10047
10048 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10049
36adf6ce
LMI
10050 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10051
e83cc1f7
LMI
100522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10053
8a20ca4c
LMI
10054 * custom.el (defcustom): Clarify that :set is only used in the
10055 Customize user interface (bug#6089).
10056
83319045
LMI
10057 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10058 associated with a file, refuse to run instead of erroring out
10059 (bug#6084).
10060
a8392169
LMI
10061 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10062 the doc string, since it appears that using `fill-column' always
10063 controls the width (bug#7845).
10064
e83cc1f7
LMI
10065 * simple.el (shell-command-on-region): Say where the error output
10066 went if `shell-command-default-error-buffer' is set (bug#6857).
10067
e47ca23b
KM
100682011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10069
10070 * allout.el (allout-yank-processing): Adjust cursor position for
10071 backwards-deleted space.
10072
10073 (allout-rebullet-heading): Register changes with
10074 allout-exposure-changed-hook, so the modified topic is properly
10075 decorated.
10076
5cf56143
LMI
100772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10078
08549772
LMI
10079 * minibuffer.el (completion-in-region): Document PREDICATE
10080 (bug#7136).
10081
48e96771
LMI
10082 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10083 of keyword/argument pairs (bug#6904).
10084
c8af70e1
SM
10085 * replace.el (multi-occur):
10086 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10087
e17d05e2
LMI
100882011-07-02 Drew Adams <drew.adams@oracle.com>
10089
10090 * dired.el (dired-mark-if): Make the message about whether it's
10091 marking or unmarking clearer (bug#8523).
10092
063b0e45
LMI
100932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10094
10095 * disp-table.el (display-table-print-array): New function.
10096 (describe-display-table): Use it to print the vectors more pretty
10097 (Bug#8859).
10098
28545e04
MR
100992011-07-02 Martin Rudalics <rudalics@gmx.at>
10100
10101 * window.el (window-state-get-1): Don't assign clone numbers.
10102 Add clone-of item to list of window parameters.
10103 (window-state-put-2): Don't process clone numbers.
10104 (display-buffer-alist): Fix doc-string.
10105
3349e122
SM
101062011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * subr.el (remq): Don't allocate if it's not needed.
10109 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10110 (keymap--merge-bindings): New functions.
10111 (keymap-canonicalize): Use them to refine the canonicalization.
10112 * minibuffer.el (minibuffer-local-completion-map)
10113 (minibuffer-local-must-match-map): Move initialization from C.
10114 (minibuffer-local-filename-completion-map): Move initialization from C;
10115 don't inherit from anything here.
10116 (minibuffer-local-filename-must-match-map): Make obsolete.
10117 (completing-read-default): Use make-composed-keymap to combine
10118 minibuffer-local-filename-completion-map with either
10119 minibuffer-local-must-match-map or
10120 minibuffer-local-filename-completion-map.
10121
d224ac83
GM
101222011-07-01 Glenn Morris <rgm@gnu.org>
10123
3de63bf8
GM
10124 * type-break.el (type-break-time-sum): Use dolist.
10125
d224ac83
GM
10126 * textmodes/flyspell.el (flyspell-word-search-backward):
10127 Replace CL function.
10128
1a1e3f32
SM
101292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10130
fe3f64d5
SM
10131 * mouse.el (mouse--strip-first-event): New function.
10132 (function-key-map): Use it to map fringe clicks to normal clicks
10133 by default.
10134
eb604e34
SM
10135 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10136 (vc-bzr-revision-completion-table): Add support for annotate and date.
10137
1a1e3f32
SM
10138 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10139 inherit from parent.
10140
5bd35902
LMI
101412011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
ace6c69c 10143 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10144 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10145
191e2bed
LMI
10146 * dired.el (dired-mode): Fix up the doc string as suggested by
10147 Drew Adams (bug#8817).
10148
5bd35902
LMI
10149 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10150 cookie, since the manual says that it should be possible to add
10151 this function to `find-file-hook' (bug#8709).
10152
eee8207a
TZ
101532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10154
10155 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10156 here. Noted Ted Zlatanov as the maintainer.
10157 (cfengine-common-settings, cfengine-common-syntax): New functions
10158 to set up common things between `cfengine-mode' and
10159 `cfengine3-mode'.
10160 (cfengine3-mode): New mode.
10161 (cfengine3-defuns cfengine3-defuns-regex
10162 (cfengine3-class-selector-regex cfengine3-category-regex)
10163 (cfengine3-vartypes cfengine3-font-lock-keywords)
10164 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10165 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10166
36b148cf
MA
101672011-07-01 Michael Albinus <michael.albinus@gmx.de>
10168
10169 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10170
10171 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10172
0bf4ba9a
MR
101732011-07-01 Martin Rudalics <rudalics@gmx.at>
10174
10175 * window.el (same-window-buffer-names, same-window-regexps)
10176 (same-window-p, special-display-frame-alist)
10177 (special-display-popup-frame, special-display-function)
10178 (special-display-buffer-names, special-display-regexps)
10179 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10180 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10181 (split-window-preferred-function, split-height-threshold)
10182 (split-width-threshold, even-window-heights)
10183 (display-buffer-mark-dedicated, window-splittable-p)
10184 (split-window-sensibly, window-safely-shrinkable-p):
10185 Un-obsolete.
10186 (display-buffer): Don't spread args with function specifier
10187 because special-display-popup-frame won't like it.
10188
35837f51
PE
101892011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10190
d0672f86
PE
10191 Time-stamp simplifications and fixes.
10192 These improve accuracy slightly, and future-proof the code
10193 against some potential changes to current-time format.
10194
b9444d97
PE
10195 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10196 by using time-since and float-time.
10197
0ef923dc
PE
10198 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10199 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10200 + NNN microseconds".
10201
2f81380d
PE
10202 * type-break.el (type-break-time-sum): Rewrite using time-add.
10203
845b5c3e
PE
10204 * play/hanoi.el (hanoi-current-time-float): Remove.
10205 All uses replaced by float-time.
10206
ee6f1be0
PE
10207 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10208 This yields a more-accurate answer.
10209 (rng-time-to-float): Remove; no longer needed.
10210
fe955043
PE
10211 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10212
5777162a
PE
10213 * calendar/timeclock.el (timeclock-seconds-to-time):
10214 Defalias to seconds-to-time, since they're the same thing.
10215
3103f8b6 10216 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10217 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10218 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10219
0e61a35f
SM
102202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * window.el (bury-buffer): Don't iconify the only frame.
10223 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10224 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10225
ddd63a1e
CY
102262011-07-01 Chong Yidong <cyd@stupidchicken.com>
10227
0e61a35f
SM
10228 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10229 Add mouse-yank-primary.
ddd63a1e 10230
055f4923
TZ
102312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10232
10233 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10234
6a2fb145
SM
102352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10238 (find-library-name): Use it to find relative load names when provided
10239 absolute file name (bug#8803).
10240
fd4983f2
LMI
102412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10242
887d14ad
LMI
10243 * textmodes/flyspell.el (flyspell-word): Consider words that
10244 differ only in case as potential doublons (bug#5687).
10245
c53dc7fc
LMI
10246 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10247 Remove two rather uninteresting debugging-like messages to make
10248 debbugs.el more silent.
10249
fd4983f2
LMI
10250 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10251 a password-like phrase.
10252
7a71b18d 102532011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10254
10255 * progmodes/cc-guess.el: New file.
10256
6a2fb145 10257 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10258
10259 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10260 derived from `c-basic-common-init'.
10261
10262 * progmodes/cc-mode.el (top-level): Require cc-guess.
10263 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10264
1fa280a3
LM
102652011-06-30 Lawrence Mitchell <wence@gmx.li>
10266
10267 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10268
e6597158
AM
102692011-06-30 Alan Mackenzie <acm@muc.de>
10270
1fa280a3
LM
10271 * progmodes/cc-engine.el (c-guess-continued-construct):
10272 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10273 lock is disabled. Name this case as "CASE G".
10274
68ba37fb
KM
102752011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10276
10277 * allout.el (allout-yank-processing): Fix injection of extra space
10278 between bullet and non-whitespace character in first topic when
10279 pasting, ensuring that the actual spacing in the pasted topic
10280 following the bullet char is preserved. This extra space was
10281 causing pasted encrypted topics to get a decrypted status even
10282 when the content was actually still encrypted. Now the decryption
10283 status from before the paste is preserved.
10284
10285 (allout-flag-region): Set all allout overlays so they evaporate
10286 when reduced to zero length (evanescent), to prevent overlay
10287 leakage.
10288
887a0b34
GM
102892011-06-30 Glenn Morris <rgm@gnu.org>
10290
94b9acce
GM
10291 * w32-fns.el (w32-charset-info-alist): Declare.
10292
1d9b46d4
GM
10293 * find-dired.el (find-grep-options): Simplify.
10294
cc232200
GM
10295 * term/ns-win.el (ns-set-resource): Declare.
10296
28e77c46
GM
10297 * ses.el (row, col): Declare dynamic variables honestly.
10298
887a0b34
GM
10299 * textmodes/reftex-parse.el (index-tags): Declare.
10300
658d8eb8
CY
103012011-06-30 Chong Yidong <cyd@stupidchicken.com>
10302
10303 * cus-edit.el (customize-push-and-save): New function.
10304
10305 * files.el (hack-local-variables-confirm): Use it.
10306
1fa280a3
LM
10307 * custom.el (load-theme): New arg NO-CONFIRM.
10308 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10309 (custom-enabled-themes): Doc fix.
10310
10311 * cus-theme.el (customize-create-theme)
10312 (custom-theme-merge-theme): Callers to load-theme changed.
10313
bb617717
LMI
103142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10315
d61bdd5d
LMI
10316 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10317 short URLs have at least one dot in them (bug #7614).
10318
bb617717
LMI
10319 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10320 nil, because using a pty is apparently too slow (bug #895).
10321
2f31f37a
LMI
103222011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10323
10324 * mail/sendmail.el (sendmail-query-once): New function.
10325 (sendmail-query-once-function): New variable.
10326
3076b24e
GM
103272011-06-29 Glenn Morris <rgm@gnu.org>
10328
faf2a174
GM
10329 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10330
3076b24e
GM
10331 * ses.el (top-level): Require cl when compiling.
10332 (ses-set-localvars): Fix error statement.
10333 Call it at compile time to silence a storm of warnings.
10334
5386012d
MR
103352011-06-29 Martin Rudalics <rudalics@gmx.at>
10336
10337 * window.el (normalize-live-buffer): Rename to
10338 window-normalize-buffer.
10339 (normalize-live-frame): Rename to window-normalize-frame.
10340 (normalize-any-window): Rename to window-normalize-any-window.
10341 (normalize-live-window): Rename to window-normalize-live-window.
10342 (make-window-atom): Rename to window-make-atom.
10343 (window-resize-reset): Rename to window--resize-reset.
10344 (window-resize-reset-1): Rename to window--resize-reset-1.
10345 (resize-mini-window): Rename to window--resize-mini-window.
10346 (resize-subwindows-skip-p): Rename to
10347 window--resize-subwindows-skip-p.
10348 (resize-subwindows-normal): Rename to
10349 window--resize-subwindows-normal.
10350 (resize-subwindows): Rename to window--resize-subwindows.
10351 (resize-other-windows): Rename to window--resize-siblings.
10352 (resize-this-window): Rename to window--resize-this-window.
10353 (resize-root-window): Rename to window--resize-root-window.
10354 (resize-root-window-vertically): Rename to
10355 window--resize-root-window-vertically.
10356 (normalize-buffer-to-display): Rename to
10357 window-normalize-buffer-to-display.
10358 (normalize-buffer-to-switch-to): Rename to
10359 window-normalize-buffer-to-switch-to.
10360 Correspondingly update all callers of the functions listed
10361 above.
10362 (display-buffer-alist, display-buffer-normalize-arguments)
10363 (display-buffer-normalize-options, display-buffer)
10364 (display-buffer-alist-set): Use "function" instead of
10365 "fun-with-args".
10366
1176868d
CY
103672011-06-28 Chong Yidong <cyd@stupidchicken.com>
10368
10369 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10370 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10371 debbugs.gnu.org. Mention acknowledgment email.
10372
20a7a65f
LMI
103732011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10374
10375 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10376 buffer multibyteness, since it shouldn't matter.
10377
5f45cca5
MR
103782011-06-28 Martin Rudalics <rudalics@gmx.at>
10379
10380 * window.el (display-buffer-in-side-window): Handle dedicated
10381 windows as in display-buffer-reuse-window.
10382 (display-buffer-normalize-alist): Use value of override
10383 specifier.
10384 (display-buffer-normalize-specifiers): Use value of
10385 other-window-means-other-frame specifier.
10386 (display-buffer-alist): Rewrite some texts in widgets.
10387 (display-buffer): Spread arguments when calling function
10388 specified by fun-with-args.
10389
ad85fe1f
DD
103902011-06-28 Deniz Dogan <deniz@dogan.se>
10391
1fa280a3
LM
10392 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10393 Unnest `let'.
da68c4c8 10394
ad85fe1f
DD
10395 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10396 selectors (Bug#5732).
ec49bd31 10397 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10398
a08cc025
JA
103992011-06-27 Jari Aalto <jari.aalto@cante.net>
10400
10401 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10402 (eshell-ls-date-format): New defcustom.
10403 (eshell-ls-file): Use it.
10404
e2b551c5
SM
104052011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10408
8982b231
KY
104092011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10410
10411 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10412 (ange-ftp-make-tmp-name): New arg.
10413 (ange-ftp-file-local-copy): Use it.
10414
36c9fa27
J
104152011-06-27 Jambunathan K <kjambunathan@gmail.com>
10416
10417 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10418 no-conversion (Bug#8870).
10419
d68443dc
MR
104202011-06-27 Martin Rudalics <rudalics@gmx.at>
10421
10422 * window.el (window-right, window-left, window-child)
10423 (window-child-count, window-last-child)
10424 (window-iso-combination-p, walk-window-tree-1)
10425 (window-atom-check-1, window-tree-1, delete-window)
10426 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10427 new naming conventions - window-vchild, window-hchild,
10428 window-next and window-prev are now called window-top-child,
10429 window-left-child, window-next-sibling and window-prev-sibling
10430 respectively.
d615d6d2
MR
10431 (resize-window-reset): Rename to window-resize-reset.
10432 (resize-window-reset-1): Rename to window-resize-reset-1.
10433 (resize-window): Rename to window-resize.
10434 (window-min-height, window-min-width)
10435 (resize-mini-window, resize-this-window, resize-root-window)
10436 (resize-root-window-vertically, adjust-window-trailing-edge)
10437 (enlarge-window, shrink-window, maximize-window)
10438 (minimize-window, delete-window, quit-restore-window)
10439 (split-window, balance-windows, balance-windows-area-adjust)
10440 (balance-windows-area, window-state-put-2)
10441 (display-buffer-even-window-sizes, display-buffer-set-height)
10442 (display-buffer-set-width, set-window-text-height)
10443 (fit-window-to-buffer): Rename all "resize-window" prefixed
10444 calls to use the "window-resize" prefix convention.
10445 (display-buffer-alist): Fix symbol for label specifier.
10446 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10447 corresponding specifier.
10448 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10449
b6458526
VB
104502011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10451
10452 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10453 convention.
10454 (ses-call-printer): Does not pass an empty string to formatter when the
10455 cell is empty to keep from barking printer Calc math-format-value.
10456
d31fd9ac
RS
104572011-06-27 Richard Stallman <rms@gnu.org>
10458
43d5bf84
RS
10459 * battery.el (battery-mode-line-limit): New variable.
10460 (battery-update): Handle it.
10461
d31fd9ac
RS
10462 * mail/rmailmm.el (rmail-mime-process-multipart):
10463 Handle truncated messages.
10464
819a6054
GM
104652011-06-27 Glenn Morris <rgm@gnu.org>
10466
10467 * progmodes/flymake.el (flymake-err-line-patterns):
10468 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10469
cedc73f2
VB
104702011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10471
819a6054 10472 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10473 (ses--clean-!, ses--clean-_): New functions.
10474 (ses-range): Add configurability of readout order, and conversion
10475 to Calc vector.
10476
5e5d49b6
VB
10477 * ses.el (ses-repair-cell-reference-all): New function.
10478 (ses-cell-symbol): Set macro as safe, so that it can be used in
10479 formulas.
10480
56e6cc31 10481 * ses.el: Update cycle detection algorithm.
90ca8b49 10482 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10483 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10484 (ses-set-localvars): New function.
10485 (ses-make-cell): Add property-list as a cell element.
10486 (ses-cell-property-get-fun, ses-cell-property-get)
10487 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10488 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10489 New functions.
90ca8b49
VB
10490 (ses-cell-property-set, ses-cell-property-pop)
10491 (ses-cell-property-get-handle): New macro.
10492 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10493 New aliases, used for code readability.
10494 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10495 cycle detection.
10496 (ses-self-reference-early-detection): New defcustom.
fac916bf 10497 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10498 (ses-mode): Use ses-set-localvars.
10499 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10500 before lauching the update processing.
10501 (ses-initialize-Dijkstra-attempt): New function.
10502 (ses-recalculate-cell): Update for cycle detection based on
10503 Dijkstra algorithm.
10504
2bb63e81
VB
10505 * ses.el: Fix commenting and indenting convention.
10506
c9d29fb8
SM
105072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * bs.el (bs-cycle-next): Complete last change.
10510
d8e4b68b
JB
105112011-06-27 Drew Adams <drew.adams@oracle.com>
10512
10513 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10514
40098786
LMI
105152011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
c9d29fb8
SM
10517 * net/network-stream.el (network-stream-open-starttls):
10518 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10519 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10520
40098786
LMI
10521 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10522 to binary to possibly avoid line encoding issues on Windows (among
10523 other things).
10524
468d09d4
LMI
105252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10526
10527 * net/network-stream.el (open-network-stream): Return an :error
10528 saying what the problem was, if possible.
10529
10530 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10531 server.
10532
10533 * net/network-stream.el (network-stream-open-starttls): If we
10534 wanted to use STARTTLS, and the server offered it, but we weren't
10535 able to because we had no STARTTLS support, then close the connection.
10536 (open-network-stream): Return an :error element, if present.
10537
16f07dd7
CY
105382011-06-26 Chong Yidong <cyd@stupidchicken.com>
10539
88821ca0
CY
10540 * hl-line.el (hl-line-sticky-flag): Doc fix.
10541 (global-hl-line-sticky-flag): New option (Bug#8323).
10542 (global-hl-line-highlight): Obey it.
10543
16f07dd7
CY
10544 * vc/vc.el (vc-revert-show-diff): Default to t.
10545
6b5ccddf
KM
105462011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10547
c9d29fb8
SM
10548 * allout-widgets.el (allout-widgets-post-command-business):
10549 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10550 undecorated when an isearch is continued past, and isearch
10551 automatically collapses them. This leads to "widget leaks", where
10552 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10553 hidden widgets can slow down cursor travel, substantially.
10554 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10555 so we're doing without this nicety.
10556
10557 (allout-widgets-tally-string): Don't try to do a hash-table-count
10558 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10559 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10560 *Messages* when allout-widgets-maintain-tally is t.
10561
355f2e07
MR
105622011-06-26 Martin Rudalics <rudalics@gmx.at>
10563
10564 * window.el (display-buffer-normalize-argument): Rename to
10565 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10566 LABEL argument. Respect special-display-function when popping up
10567 a new frame. Fix code searching for a window showing the buffer
10568 on another frame.
c9d29fb8
SM
10569 (display-buffer-normalize-specifiers):
10570 Call display-buffer-normalize-arguments.
355f2e07
MR
10571 (display-buffer-in-window): Don't undedicate the window if its
10572 buffer remains the same.
10573 Reported by Drew Adams <drew.adams@oracle.com>.
10574 (display-buffer-alist): Add choice for same-window macro
10575 specfier.
10576 (display-buffer): Mention special meaning of LABEL argument in
10577 doc-string. Fix quoting. Don't pop up a new frame even as
10578 fallback.
10579
7ca8fc42
JB
105802011-06-26 Juanma Barranquero <lekktu@gmail.com>
10581
10582 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10583 avoid deleting the current window in some cases (bug#8911).
10584
bc312254
AS
105852011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10588 (Bug#8934)
10589
2db18f3f
LMI
105902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10591
c9d29fb8
SM
10592 * net/network-stream.el (network-stream-open-starttls):
10593 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10594 (network-stream-open-tls): Ditto.
10595
6302e0d3
LL
105962011-06-26 Leo Liu <sdl.web@gmail.com>
10597
10598 * register.el (registerv): New struct.
10599 (registerv-make): New function.
c9d29fb8
SM
10600 (jump-to-register, describe-register-1, insert-register):
10601 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10602 struct. (Bug#8415)
10603
5fdd4046
CY
106042011-06-26 Chong Yidong <cyd@stupidchicken.com>
10605
2afef60a
CY
10606 * vc/vc.el (vc-revert-show-diff): New defcustom.
10607 (vc-diff-internal): New arg specifying diff buffer.
10608 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10609 reuse an existing *vc-diff* buffer (Bug#8927).
10610
5fdd4046
CY
10611 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10612
e93db24a
GM
106132011-06-26 Glenn Morris <rgm@gnu.org>
10614
10615 * progmodes/f90.el (f90-critical-indent): New option.
10616 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10617 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10618 (f90-mode): Doc fix.
10619 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10620 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10621 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10622 (f90-match-end): Handle block, critical.
10623
eefff499
GM
106242011-06-25 Glenn Morris <rgm@gnu.org>
10625
f6ba4cc9
GM
10626 * calendar/diary-lib.el (diary-included-files): Doc fix.
10627 (diary-include-files): New function, extracted from
10628 diary-include-other-diary-files and diary-mark-included-diary-files.
10629 (diary-include-other-diary-files, diary-mark-included-diary-files):
10630 Just call diary-include-files.
10631 (diary-mark-entries): Reset diary-included-files on first call.
10632
16712304
GM
10633 * calendar/diary-lib.el (diary-mark-entries)
10634 (diary-mark-included-diary-files):
10635 Visit included diary-files in temp buffers.
10636
5d8e0d43
GM
10637 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10638 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10639 (f90-start-block-re, f90-imenu-generic-expression)
10640 (f90-looking-at-program-block-start, f90-no-block-limit):
10641 Add support for submodules.
10642
ccf7a5d5
GM
10643 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10644 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10645
11fdef7d 106462011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10647
10648 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10649 buffer-file-type before setting its value, to avoid disastrous
eefff499 10650 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10651
74f53697
JB
106522011-06-25 Juanma Barranquero <lekktu@gmail.com>
10653
10654 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10655
10656 * ses.el (ses-unload-function):
10657 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10658
10659 * proced.el (proced-unload-function):
10660 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10661
18a4ce5e
AR
106622011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10663
10664 * server.el (server-create-window-system-frame): Add parameters arg.
10665 (server-process-filter): Doc fix. Handle frame-parameters.
10666
519d22cc
JB
106672011-06-25 Juanma Barranquero <lekktu@gmail.com>
10668
10669 Fix bug#8730, bug#8781.
10670
10671 * loadhist.el (unload--set-major-mode): New function.
10672 (unload-feature): Use it.
10673
10674 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10675 (python-unload-function): New function.
10676
c206f5b0
SM
106772011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10680
f9ad64f3
GS
106812011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10682
10683 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10684 the candidates list.
10685
7d0da90e
JB
106862011-06-24 Juanma Barranquero <lekktu@gmail.com>
10687
10688 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10689
14b4e83d
RS
106902011-06-23 Richard Stallman <rms@gnu.org>
10691
10692 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10693 (rmail-variables): Set next-error-move-function.
10694 (rmail-what-message): Take argument POS.
10695 (rmail-next-error-move): New function.
10696
273d2baf
SM
106972011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10700 messages for adjacent non-terminals.
10701
56c2cc9a
RS
107022011-06-23 Richard Stallman <rms@gnu.org>
10703
10704 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10705 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10706 (rmail-start-mail): Don't specify use of rmail-mail-return;
10707 that's done by mail-bury now.
10708 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10709
d59eb518
MA
107102011-06-23 Michael Albinus <michael.albinus@gmx.de>
10711
10712 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10713 SIZE is a number.
10714
02cfc6d6
MR
107152011-06-23 Martin Rudalics <rudalics@gmx.at>
10716
10717 * window.el (get-lru-window, get-mru-window)
10718 (get-largest-window): Never return a minibuffer window.
10719 (display-buffer-pop-up-window): Fix a bug that could lead to
10720 reusing the minibuffer window.
10721 (display-buffer): Pass original specifier argument to
10722 display-buffer-function instead of the normalized one.
10723 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10724
4e323265
LL
107252011-06-22 Leo Liu <sdl.web@gmail.com>
10726
10727 * minibuffer.el (completing-read-function)
10728 (completing-read-default): Move from minibuf.c
10729
7a70468f
RS
107302011-06-22 Richard Stallman <rms@gnu.org>
10731
50718fc2
RS
10732 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10733 to Rmail even if not started by a special Rmail command.
10734
7a70468f
RS
10735 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10736 Copy the buffer currently showing just one message.
10737
297dde5a
RW
107382011-06-22 Roland Winkler <winkler@gnu.org>
10739
10740 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10741 (bibtex-clean-entry): First delete the old key so that a
10742 customized algorithm for generating the new key does not get
10743 confused by the old key.
10744 (bibtex-url): Obey regexp of first step.
10745 (bibtex-search-entries): Do not use add-to-list with local
10746 list-var.
10747
97bb1093
LMI
107482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10749
10750 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10751 stored a user name, then query for the password first, instead of
10752 waiting for SMTP to give an error message and the trying again.
10753
1c0f1a19
JD
107542011-06-22 Lawrence Mitchell <wence@gmx.li>
10755
10756 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10757 BUFFER in call-process.
10758
396f7c9d
LMI
107592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10760
10761 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10762 QUIT twice.
ddb7ffee
LMI
10763 (smtpmail-try-auth-methods): Require user name and password from
10764 auth-source.
396f7c9d 10765
8998d1b3
MR
107662011-06-22 Martin Rudalics <rudalics@gmx.at>
10767
10768 * window.el (display-buffer-default-specifiers)
10769 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10770 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10771 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10772
10773 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10774 (special-display-frame-alist, special-display-popup-frame):
10775 Remove duplicate declarations. These are now in window.el.
10776
4ea31e07
LMI
107772011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10778
c9d29fb8
SM
10779 * mail/smtpmail.el (smtpmail-via-smtp):
10780 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10781 server supports it. SMTP servers that support STARTTLS commonly
10782 require it.
10783
10784 * net/network-stream.el (network-stream-open-starttls): Support
10785 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10786 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10787
95f41d9a
LMI
10788 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10789 upgrades with `open-network-stream', and rely solely on
10790 auth-source for all credentials. Big changes throughout the file,
10791 but in particular:
c9d29fb8
SM
10792 (smtpmail-auth-credentials): Remove.
10793 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10794 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10795 MAIL FROM, too.
95f41d9a 10796
c9d29fb8
SM
10797 * net/network-stream.el (network-stream-open-starttls):
10798 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10799 STARTTLS.
10800 (auth-source): Require.
10801 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10802 (network-stream-certificate): Change cert-cert to cert and
10803 cert-key to key.
4ea31e07 10804
065ec2c7
MA
108052011-06-21 Michael Albinus <michael.albinus@gmx.de>
10806
10807 * net/tramp-cache.el (top): Don't load the persistency file when
10808 "emacs -Q" has been called.
10809
cd93b359
DR
108102011-06-21 Tim Harper <timcharper@gmail.com>
10811
d8e4b68b
JB
10812 * term/ns-win.el (ns-initialize-window-system):
10813 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10814 resource to NO as it is not yet supported by the NS port.
10815
ae9c0411
JB
108162011-06-21 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10819 (list-dynamic-libraries): ...not here.
10820
7f3f739f
LL
108212011-06-21 Leo Liu <sdl.web@gmail.com>
10822
10823 * subr.el (sha1): Implement sha1 using secure-hash.
10824
327c8fb1
MR
108252011-06-21 Martin Rudalics <rudalics@gmx.at>
10826
10827 * window.el (display-buffer-alist): In default value do not
10828 enforce searching a window on any but the selected frame.
10829 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10830 (display-buffer-select-window): Remove function.
10831 (display-buffer-in-window): When a window on another frame gets
10832 reused, do not select it any more but just raise its frame if
10833 necessary (Bug#8851) and (Bug#8856).
10834 (display-buffer-normalize-options): Handle pop-up-frames related
10835 options more faithfully.
10836 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10837 window if it is on another frame.
c9d29fb8
SM
10838 (display-buffer-alist, display-buffer-default-specifiers):
10839 Don't make new frame unsplittable by default.
9e9de014
MR
10840 (display-buffer-normalize-argument): Fix doc-string typo and use
10841 'same-frame-other-window instead of 'other-window when associating
10842 with display-buffer-macro-specifiers.
327c8fb1 10843
7cf3f556
VB
108442011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10845
10846 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10847 New functions.
10848 (5x5-mode-map, 5x5-mode-menu): Bind them.
10849 (5x5-draw-grid): Tweak the solver's rendering.
10850
60a406cf
SM
108512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10854 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10855
d8e4b68b 108562011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10857
10858 * menu-bar.el: Use function variable instead of switch-to-buffer.
10859 (menu-bar-select-buffer-function): New variable.
60a406cf 10860 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10861
478d6f95
SM
108622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10865 variable's status.
10866
ca530739
JD
108672011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10868
10869 * x-dnd.el (x-dnd-version-from-flags)
10870 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10871 and long as number (Bug#8899).
10872 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10873
bcd70d97
SM
108742011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10875
60a406cf 10876 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10877 (completion-try-completion, completion-all-completions): Compute the
10878 metadata argument if it's missing; make it optional (bug#8795).
10879
60a406cf 10880 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10881 (widget-complete): Use new :completion-function property.
10882 (widget-completions-at-point): New function.
10883 (default): Use :completion-function instead of :complete.
60a406cf
SM
10884 (widget-default-completions): Rename from widget-default-complete;
10885 Rewrite.
bcd70d97
SM
10886 (widget-string-complete, widget-file-complete, widget-color-complete):
10887 Remove functions.
10888 (file, symbol, function, variable, coding-system, color):
10889 * international/mule-cmds.el (default-input-method, charset)
10890 (language-info-custom-alist):
10891 * cus-edit.el (face): Use new property :completions.
10892
10893 * progmodes/pascal.el (pascal-completions-at-point): New function.
10894 (pascal-mode): Use it.
10895 (pascal-mode-map): Use completion-at-point.
10896 (pascal-toggle-completions): Make obsolete.
10897 (pascal-complete-word, pascal-show-completions):
10898 * progmodes/octave-mod.el (octave-complete-symbol):
10899 Redefine as obsolete alias.
10900 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10901 Signal absence of completion info for old Octave,
10902 (inferior-octave-complete): Redefine as obsolete alias.
10903 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10904 (meta-completions-at-point): Rename from meta-complete-symbol and
10905 adapt it for use on completion-at-point-functions.
10906 (meta-common-mode): Use it.
10907 (meta-looking-at-backward, meta-match-buffer): Remove.
10908 (meta-complete-symbol): Redefine as obsolete alias.
10909 (meta-common-mode-map): Use completion-at-point.
10910 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10911 (makefile-mode-map): Use completion-at-point.
10912 (makefile-completions-at-point): Rename from makefile-complete and
10913 adapt it for use on completion-at-point-functions.
10914 (makefile-mode): Use it.
10915 (makefile-complete): Redefine as obsolete alias.
10916
aebf69c8
DD
109172011-06-20 Deniz Dogan <deniz@dogan.se>
10918
10919 * net/rcirc.el: Delete trailing whitespaces once and for all.
10920
bfbbb27d
DC
109212011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10922
10923 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10924
d264a46b
CY
109252011-06-19 Chong Yidong <cyd@stupidchicken.com>
10926
4ca009e5
CY
10927 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10928
d264a46b
CY
10929 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10930
fbf5b3ce
MR
109312011-06-19 Martin Rudalics <rudalics@gmx.at>
10932
10933 * window.el (display-buffer-other-window-means-other-frame):
10934 Call display-buffer-normalize-alist.
10935 (display-buffer-normalize-specifiers-1): Rename to
10936 display-buffer-normalize-argument. New argument other-frame.
10937 Rewrite.
10938 (display-buffer-normalize-specifiers-2): Rename to
10939 display-buffer-normalize-options.
10940 (display-buffer-normalize-alist-1): New function.
10941 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10942 display-buffer-normalize-alist.
10943 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10944 (display-buffer-normalize-options-inhibit): New variable.
10945 (display-buffer-normalize-specifiers): Rewrite calling
10946 display-buffer-normalize-alist,
10947 display-buffer-normalize-argument, and
10948 display-buffer-normalize-options. Don't call the latter if
10949 display-buffer-normalize-options-inhibit is non-nil.
10950 (frame-auto-delete): New option.
10951 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10952 (window-list-no-nils, window-state-ignored-parameters)
10953 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10954 (window-state-put-1, window-state-put-2, window-state-put):
10955 New functions.
9a028c23
MR
10956 (display-buffer-normalize-options): Move special-display-p group
10957 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10958
6d10d800
CY
109592011-06-18 Chong Yidong <cyd@stupidchicken.com>
10960
6420d28b
CY
10961 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10962 groups (Bug#8776).
10963 (rx-submatch-n): New function.
10964 (rx): Document it.
10965
ddb8b596
CY
10966 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10967 (Bug#8768).
10968
10969 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10970
77080289
CY
10971 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10972
61dfb316
CY
10973 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10974 anytime existing face settings are present (Bug#8889).
10975
6d10d800
CY
10976 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10977 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10978 Remove unused argument.
10979
be3fb2b8
MR
109802011-06-18 Martin Rudalics <rudalics@gmx.at>
10981
bcd70d97
SM
10982 * window.el (display-buffer-default-specifiers):
10983 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10984 pop-up-window-min-width, and another reuse-window specifier
10985 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10986 (display-buffer-normalize-specifiers-2):
10987 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10988 pop-up-windows is unset. Add a reuse-window specifier for the
10989 case popping up a new window fails.
10990 (special-display-popup-frame): Remove double quoting.
28dec25a 10991 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10992
1c6d8c76
SM
109932011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10996 according to comint-completion-addsuffix.
10997
10998 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10999 (pcomplete-suffix-list): Mark as obsolete.
11000 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11001 pcomplete-seen in the closure.
11002 (pcomplete-comint-setup): Setup completion-at-point as well.
11003 (pcomplete--entries): New function.
11004 (pcomplete--env-regexp): New var.
11005 (pcomplete-entries): Rewrite to work with partial-completion and
11006 without relying on pcomplete-suffix-list.
11007 (pcomplete-pare-list): Remove, unused.
11008
25aef8b8
MR
110092011-06-17 Martin Rudalics <rudalics@gmx.at>
11010
11011 * window.el (display-buffer-alist): Set pop-up-window-min-height
11012 and pop-up-window-min-width in default value. Reported by
11013 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11014 other-window-means-other-frame.
11015 (display-buffer-macro-specifiers): Comment out entry for
11016 other-window specifier.
11017 (display-buffer-other-window-means-other-frame): New function.
11018 (display-buffer-normalize-specifiers-1): New arguments
11019 buffer-name and label. Treat other-window case specially.
11020 (display-buffer-normalize-specifiers-2): Treat other-window case
11021 specially.
11022 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11023 (display-buffer-normalize-specifiers):
11024 Call display-buffer-normalize-specifiers-3.
25aef8b8 11025
dbad4f69
MR
110262011-06-17 Martin Rudalics <rudalics@gmx.at>
11027
11028 * window.el (same-window-p): Fix two typos introduced when
11029 adding with-no-warnings.
d1067961
MR
11030 (display-buffer-normalize-specifiers-1): Don't check
11031 pop-up-frames for 'unset initialization.
11032 (display-buffer-normalize-specifiers-2): Major rewrite using
11033 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11034 (pop-up-frames, display-buffer-reuse-frames)
11035 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11036 Suggested by David Engster <deng@randomsample.de>.
11037 (even-window-heights): Initialize to 'unset.
11038 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11039 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11040 other window case.
dbad4f69 11041
9b9c9e3a
MR
110422011-06-16 Martin Rudalics <rudalics@gmx.at>
11043
bcd70d97
SM
11044 * window.el (display-buffer-normalize-specifiers-1):
11045 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11046 second argument of display-buffer (Bug#8865).
981d5c09
MR
11047 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11048 (switch-to-buffer-other-window-same-frame)
11049 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11050 Adams (Bug#8875).
9c2755e9
MR
11051 (display-buffer): Don't check noninteractive when calling
11052 display-buffer-pop-up-frame.
11053 (display-buffer-pop-up-frame): Never pop up a frame in
11054 noninteractive mode (Bug#8857).
67222e1d
MR
11055 (enlarge-window, shrink-window): Don't report an error when the
11056 window can't be resized as requested (Bug#8862).
9b9c9e3a 11057
2b75be67
SM
110582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11059
9ffdd3ba
SM
11060 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11061
cb581a67
SM
11062 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11063
2b75be67
SM
11064 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11065
8c0e3589
AM
110662011-06-15 Alan Mackenzie <acm@muc.de>
11067
cb581a67
SM
11068 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11069 for declarators, disable knr checking to speed up for normal files.
11070 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11071
b96e6cde
LMI
110722011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11073
4bba86e6
LMI
11074 * net/network-stream.el (open-network-stream): Add the keyword
11075 :always-query-capabilities for the case where you want to force a
11076 `plain' network connection, but the protocol still requires the
11077 capabilitiy command (i.e., SMTP and EHLO).
11078
2b75be67 11079 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11080 consistency with other `-live-p' functions.
11081
efdcdbf8
SM
110822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11083
11084 * window.el (same-window-buffer-names, same-window-regexps)
11085 (special-display-frame-alist, special-display-popup-frame)
11086 (special-display-function, special-display-buffer-names)
11087 (special-display-regexps, pop-up-frame-alist)
11088 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11089 (pop-up-windows, split-window-preferred-function)
11090 (split-height-threshold, split-width-threshold, even-window-heights)
11091 (display-buffer-mark-dedicated): Don't encourage the use of
11092 display-buffer-alist from Elisp code.
11093
c5cde042
DN
110942011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11095
11096 * progmodes/python.el (python-mode): Derive from prog-mode.
11097 * progmodes/ps-mode.el (ps-mode):
11098 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11099 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11100 * progmodes/ld-script.el (ld-script-mode): Likewise.
11101
baa1c9ab
MR
111022011-06-15 Martin Rudalics <rudalics@gmx.at>
11103
11104 * window.el (display-buffer-alist): Trim default value to avoid
11105 popping up a new frame (Bug#8857) or reusing an arbitrary window
11106 on another frame.
11107 (display-buffer): Do not fall back on popping up a new frame in
11108 batch mode (Bug#8857).
11109
c5dd5a51
CY
111102011-06-14 Chong Yidong <cyd@stupidchicken.com>
11111
11112 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11113 (custom-theme-summary): New function.
11114 (customize-themes): Use it.
11115
d647b7c4
GM
111162011-06-13 Glenn Morris <rgm@gnu.org>
11117
11118 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11119
9481c002
MR
111202011-06-13 Martin Rudalics <rudalics@gmx.at>
11121
357f93d2
MR
11122 * help.el (help-window): Remove variable.
11123 (help-window-point-marker, temp-buffer-max-height)
11124 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11125 (help-print-return-message): Don't set help-window.
11126 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11127 (help-window-setup-finish): Remove.
11128 (help-window-display-message, help-window-setup)
11129 (with-help-window): Major rewrite based on new
11130 display-buffer-window variable.
11131
11132 * help-mode.el (help-mode-finish): Remove help-window related
11133 code.
11134
11135 * view.el (view-exits-all-viewing-windows): Remove reference to
11136 view-return-to-alist in doc-string.
11137 (view-return-to-alist): Make obsolete.
11138 (view-buffer): Call pop-to-buffer-same-window and remove
11139 undo-window code.
11140 (view-buffer-other-window): Call pop-to-buffer-other-window and
11141 simplify code. Ignore second argument.
11142 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11143 simplify code. Ignore second argument.
11144 (view-return-to-alist-update): Make obsolete.
11145 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11146 Rewrite using quit-restore window parameters.
2b75be67
SM
11147 (view-mode-exit): Rename second argument to EXIT-ONLY.
11148 Rewrite using quit-restore-window.
357f93d2
MR
11149 (View-exit, View-exit-and-edit, View-leave, View-quit)
11150 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11151 appropriate arguments.
11152 (view-end-message): Use quit-restore window parameter.
11153
9481c002
MR
11154 * window.el (display-buffer-function): Rewrite doc-string.
11155 (display-buffer-window, display-buffer-alist): New variables.
11156 (display-buffer-split-specifiers)
11157 (display-buffer-side-specifiers)
11158 (display-buffer-macro-specifiers): New constants.
11159 (display-buffer-even-window-sizes, display-buffer-set-height)
11160 (display-buffer-set-width, display-buffer-select-window)
11161 (display-buffer-in-window, display-buffer-reuse-window)
11162 (display-buffer-split-window-1, display-buffer-split-window)
11163 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11164 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11165 (display-buffer-in-side-window, normalize-buffer-to-display)
11166 (display-buffer-normalize-specifiers-1)
11167 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11168 (display-buffer-normalize-specifiers, display-buffer-frame):
11169 New functions.
9481c002
MR
11170 (display-buffer): Major rewrite.
11171 (display-buffer-other-window, display-buffer-other-frame)
11172 (pop-to-buffer, switch-to-buffer-other-window)
11173 (switch-to-buffer-other-frame): Rewrite.
11174 (display-buffer-same-window, display-buffer-same-frame)
11175 (display-buffer-same-frame-other-window)
11176 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11177 (pop-to-buffer-other-window)
11178 (pop-to-buffer-same-frame-other-window)
11179 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11180 (switch-to-buffer-other-window-same-frame): New functions.
11181 (same-window-p, special-display-p): Rewrite disabling warnings.
11182 Make obsolete.
11183 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11184 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11185 Make obsolete
11186 (same-window-buffer-names, same-window-regexps)
11187 (special-display-frame-alist, special-display-popup-frame)
11188 (special-display-function, special-display-buffer-names)
11189 (special-display-regexps, pop-up-frame-alist)
11190 (pop-up-frame-function, split-window-preferred-function)
11191 (split-height-threshold, split-width-threshold)
11192 (even-window-heights): Make obsolete.
11193
9db51aca
GM
111942011-06-12 Glenn Morris <rgm@gnu.org>
11195
11196 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11197 Misc simplifications.
9db51aca 11198
39cffb44
MR
111992011-06-12 Martin Rudalics <rudalics@gmx.at>
11200
11201 * window.el (window-safely-shrinkable-p): Restore function which
11202 was inadvertently removed in change from 2011-06-11. Declare as
11203 obsolete.
11204
2b75be67
SM
11205 * calendar/calendar.el (calendar-generate-window):
11206 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11207 window-safely-shrinkable-p.
11208
a8955be7
GM
112092011-06-12 Glenn Morris <rgm@gnu.org>
11210
11211 * progmodes/fortran.el (fortran-mode-syntax-table):
11212 * progmodes/f90.el (f90-mode-syntax-table):
11213 Set % to punctuation. (Bug#8820)
11214 (f90-find-tag-default): Remove, no longer needed.
11215
f0d4059d
DC
112162011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11217
11218 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11219
1100a63c
CY
112202011-06-11 Chong Yidong <cyd@stupidchicken.com>
11221
11222 * image.el (image-animated-p): Return animation delay in seconds.
11223 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11224 (image-animate-timeout): Remove DELAY argument. Don't assume
11225 every subimage has the same delay; get it from image-animated-p.
11226 (image-animate): Caller changed.
11227
def722bf
MA
112282011-06-11 Michael Albinus <michael.albinus@gmx.de>
11229
11230 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11231 to ignored backtrace functions.
11232
0a2bb1a9
GM
112332011-06-11 Glenn Morris <rgm@gnu.org>
11234
11235 * calendar/appt.el (appt-disp-window-function): Doc fix.
11236 (appt-check): Handle overlapping appointments. (Bug#8337)
11237
6198ccd0
MR
112382011-06-11 Martin Rudalics <rudalics@gmx.at>
11239
11240 * window.el (window-tree-1, window-tree): New functions, moving
11241 the latter to window.el.
11242 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11243 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11244 (bw-refresh-edges): Remove.
11245 (balance-windows-1, balance-windows-2): New functions.
11246 (balance-windows): Rewrite in terms of window tree functions,
11247 balance-windows-1 and balance-windows-2.
11248 (bw-adjust-window): Remove.
11249 (balance-windows-area-adjust): New function with functionality of
11250 bw-adjust-window but using resize-window.
2b75be67
SM
11251 (set-window-text-height): Rewrite doc-string.
11252 Use normalize-live-window and resize-window.
11253 (enlarge-window-horizontally, shrink-window-horizontally):
11254 Rename argument to DELTA.
6198ccd0
MR
11255 (window-buffer-height): New function.
11256 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11257 Rewrite using new window resize routines.
2b75be67
SM
11258 (kill-buffer-and-window, mouse-autoselect-window-select):
11259 Use ignore-errors instead of condition-case.
6198ccd0
MR
11260 (quit-window): Call delete-frame instead of delete-windows-on
11261 for the only buffer on frame.
11262
9397e56f
MR
112632011-06-10 Martin Rudalics <rudalics@gmx.at>
11264
11265 * loadup.el (top-level): Load window before files for the sake
11266 of replace-buffer-in-windows.
11267
11268 * files.el (read-buffer-to-switch)
11269 (switch-to-buffer-other-window)
2b75be67
SM
11270 (switch-to-buffer-other-frame, display-buffer-other-frame):
11271 Move to window.el.
9397e56f
MR
11272
11273 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11274 (previous-buffer): Move to window.el.
11275
11276 * bindings.el (unbury-buffer): Move to window.el.
11277
11278 * window.el (delete-other-windows-vertically): Move after
11279 definition of delete-other-windows.
11280 (other-window, delete-windows-on, replace-buffer-in-windows):
11281 Move here from window.c.
11282 (record-window-buffer, unrecord-window-buffer)
11283 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11284 (switch-to-next-buffer): New functions.
11285 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11286 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11287 (previous-buffer): Move here from simple.el.
11288 Call switch-to-prev-buffer.
9397e56f
MR
11289 (bury-buffer): Move here from buffer.c. Switch to previous
11290 buffer when window cannot be deleted.
11291 (unbury-buffer): Move here from bindings.el.
11292 (ctl-x-map): Move binding for other-window from window.c to
11293 here.
11294 (read-buffer-to-switch, switch-to-buffer-other-window)
11295 (switch-to-buffer-other-frame): Move here from files.el.
11296 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11297 (switch-to-buffer): Move here from buffer.c.
11298 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11299
562dd5e9
MR
113002011-06-10 Martin Rudalics <rudalics@gmx.at>
11301
11302 * window.el (window-min-height, window-min-width): Move here
11303 from window.c. Add defcustoms and rewrite doc-strings.
11304 (resize-mini-window, resize-window): New functions.
11305 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11306 Move here from window.c.
11307 (maximize-window, minimize-window): New functions.
11308 (delete-window, delete-other-windows, split-window): Move here
11309 from window.c.
11310 (window-split-min-size): New function.
11311 (split-window-keep-point): Mention split-window-above-each-other
11312 instead of split-window-vertically.
2b75be67 11313 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11314 Rename split-window-vertically to split-window-above-each-other
11315 and provide defalias for old definition.
11316 (split-window-side-by-side, split-window-horizontally):
11317 Rename split-window-horizontally to split-window-side-by-side
11318 and provide defalias for the old definition.
562dd5e9
MR
11319 (ctl-x-map): Move bindings for delete-window,
11320 delete-other-windows and enlarge-window here from window.c.
11321 Replace bindings for split-window-vertically and
11322 split-window-horizontally by bindings for
11323 split-window-above-each-other and split-window-side-by-side.
11324
11325 * cus-start.el (all): Remove entries for window-min-height and
11326 window-min-width. Add entries for window-splits and
11327 window-nest.
11328
f0da764a
GM
113292011-06-09 Glenn Morris <rgm@gnu.org>
11330
80675c21
GM
11331 * calendar/appt.el (appt-mode-line): New function.
11332 (appt-check, appt-disp-window): Use it.
11333
f0da764a
GM
11334 * files.el (hack-one-local-variable-eval-safep):
11335 Allow minor-modes with explicit +/-1 arguments.
11336
59f623b7
TZ
113372011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11338
11339 * term/xterm.el (xterm): Add defgroup.
11340 (xterm-extra-capabilities): Add defcustom to supply known xterm
11341 capabilities, skip querying them, or query them (default).
11342 (terminal-init-xterm): Use it.
11343 (terminal-init-xterm-modify-other-keys): New function to set up
11344 modifyOtherKeys support to simplify `terminal-init-xterm'.
11345
9aab8e0d
MR
113462011-06-09 Martin Rudalics <rudalics@gmx.at>
11347
11348 * window.el (resize-window-reset, resize-window-reset-1)
11349 (resize-subwindows-skip-p, resize-subwindows-normal)
11350 (resize-subwindows, resize-other-windows, resize-this-window)
11351 (resize-root-window, resize-root-window-vertically)
11352 (window-deletable-p, window-or-subwindow-p)
11353 (frame-root-window-p): New functions.
11354
e8b08aee
GM
113552011-06-09 Glenn Morris <rgm@gnu.org>
11356
11357 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11358 (ange-ftp-get-files): Use it.
11359
254c37a5
AK
113602011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11361
11362 * mail/sendmail.el (mail-recover-1, mail-recover):
11363 * files.el (recover-file, recover-session):
11364 Handle dired-listing-switches not being just a single short option.
11365
35d7dbd3
GM
113662011-06-09 Glenn Morris <rgm@gnu.org>
11367
11368 * calendar/appt.el (appt-display-message, appt-disp-window):
11369 Handle lists of appointments.
11370
387522b2
MR
113712011-06-08 Martin Rudalics <rudalics@gmx.at>
11372
2b75be67
SM
11373 * window.el (one-window-p): Move down in code.
11374 Rewrite doc-string.
11375 (window-current-scroll-bars): Rewrite doc-string.
11376 Normalize live window argument.
387522b2
MR
11377 (walk-windows, get-window-with-predicate, count-windows):
11378 Rewrite doc-string. Use window-list-1.
11379 (window-in-direction-2, window-in-direction, get-mru-window):
11380 New functions.
11381
d8e4b68b 113822011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11383
11384 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11385 Doc fix (Bug#8713).
11386
113872011-06-08 Chong Yidong <cyd@stupidchicken.com>
11388
11389 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11390
113912011-06-08 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * loadhist.el (unload-feature-special-hooks):
11394 Add `comint-output-filter-functions'.
11395
0de12c52
IK
113962011-06-08 Ivan Kanis <gnu@kanis.fr>
11397
11398 * calendar/appt.el (appt-check): Move some initializations into the let.
11399
f3d1777e
MR
114002011-06-08 Martin Rudalics <rudalics@gmx.at>
11401
11402 * window.el (window-height): Defalias to window-total-height.
11403 (window-width): Defalias to window-body-width.
11404
18af70d0
CY
114052011-06-07 Chong Yidong <cyd@stupidchicken.com>
11406
11407 * image-mode.el (image-toggle-animation): New command.
11408 (image-mode-map): Bind it to RET.
11409 (image-mode): Update message.
11410 (image-toggle-display-image): Avoid a spurious cache flush.
11411 (image-transform-rotation): Doc fix.
11412 (image-transform-properties): Return quickly in the normal case.
11413 (image-animate-loop): Rename from image-animate-max-time.
11414
2b75be67 11415 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11416 (create-animated-image): Remove unnecessary function.
11417 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11418 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11419 (image-animate-timer): Use car-safe.
11420 (image-animate-timeout): Rename argument.
11421
190b47e6
MR
114222011-06-07 Martin Rudalics <rudalics@gmx.at>
11423
11424 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11425 window.c. Rename first argument to ALL-FRAMES.
11426 Rephrase doc-strings.
11427 (get-buffer-window-list): Rewrite using window-list-1.
11428 Rephrase doc-string.
a1511caf
MR
11429 (window-safe-min-height, window-safe-min-width): New constants.
11430 (window-size-ignore, window-min-size, window-min-size-1)
11431 (window-sizable, window-sizable-p, window-size-fixed-1)
11432 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11433 (window-max-delta-1, window-max-delta, window-resizable)
11434 (window-resizable-p, window-total-height, window-total-width)
11435 (window-body-width): New functions.
11436 (window-full-height-p, window-full-width-p): Rewrite using
11437 window-total-size.
11438 (window-body-height): Rewrite using window-body-size.
190b47e6 11439
85cc1f11
MR
114402011-06-06 Martin Rudalics <rudalics@gmx.at>
11441
11442 * window.el (window-right, window-left, window-child)
11443 (window-child-count, window-last-child, window-any-p)
11444 (normalize-live-buffer, normalize-live-frame)
11445 (normalize-any-window, normalize-live-window)
11446 (window-iso-combination-p, window-iso-combined-p)
11447 (window-iso-combinations)
11448 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11449 (windows-with-parameter, window-with-parameter)
11450 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11451 (window-atom-check, window-side-check, window-check):
11452 New functions.
85cc1f11
MR
11453 (ignore-window-parameters, window-sides, window-sides-vertical)
11454 (window-sides-slots): New variables.
11455 (window-size-fixed): Move down in code. Minor doc-string fix.
11456
e7156492
AS
114572011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11458
11459 * comint.el (comint-dynamic-complete-as-filename)
11460 (comint-dynamic-complete-filename): Correctly call
11461 completion-in-region.
11462
7e821d0d
DD
114632011-06-05 Deniz Dogan <deniz@dogan.se>
11464
11465 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11466 in last change.
11467
ac09b8a1
DD
114682011-06-05 Deniz Dogan <deniz@dogan.se>
11469
11470 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11471 (rcirc): Use it to prompt for encryption.
11472
34699b85
RW
114732011-06-05 Roland Winkler <winkler@gnu.org>
11474
11475 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11476 (bibtex-search-entries): New command bound to C-c C-a.
11477 (bibtex-display-entries): New function.
11478
004dedd3
RW
114792011-06-05 Roland Winkler <winkler@gnu.org>
11480
11481 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11482 (bibtex-insert-kill): After yanking insert newline if necessary.
11483 (bibtex-initialize): Call bibtex-string-files-init only once.
11484 (bibtex-mode): Do not call easy-menu-add.
11485 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11486 (bibtex-yank): Set arg properly if nil.
11487
022fe7ce
RW
114882011-06-05 Roland Winkler <winkler@gnu.org>
11489
2b75be67
SM
11490 * textmodes/bibtex.el (bibtex-search-entry-globally):
11491 New variable.
022fe7ce
RW
11492 (bibtex-search-entry): Use it.
11493
b7c3692a
RW
114942011-06-05 Roland Winkler <winkler@gnu.org>
11495
11496 * textmodes/bibtex.el (bibtex-entry-format): New option
11497 sort-fields.
11498 (bibtex-format-entry, bibtex-reformat): Honor this option.
11499 (bibtex-parse-entry): Return fields in proper order.
11500
8eda563d
JB
115012011-06-05 Juanma Barranquero <lekktu@gmail.com>
11502
11503 * doc-view.el (doc-view-remove-if): Move computation of result out
11504 of `dolist' to silence misleading lexical-binding warning.
11505
7dbe3dbc
CY
115062011-06-04 Chong Yidong <cyd@stupidchicken.com>
11507
11508 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11509 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11510
0c33dd17
MA
115112011-06-04 Michael Albinus <michael.albinus@gmx.de>
11512
11513 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11514 "SunOS 5.10".
11515
f8f91c2b
MA
115162011-06-04 Michael Albinus <michael.albinus@gmx.de>
11517
11518 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11519 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11520 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11521 (tramp-parse-putty):
11522 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11523 (tramp-completion-function-alist-ssh)
11524 (tramp-completion-function-alist-telnet)
11525 (tramp-completion-function-alist-su)
11526 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11527 cookie.
11528
11529 * net/tramp-ftp.el:
11530 * net/tramp-sh.el:
11531 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11532 load "tramp.el" `tramp-set-completion-function'.
11533
e17d9003
SM
115342011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * shell.el: Require and use pcomplete.
11537 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11538 (shell-completion-vars): Set pcomplete-default-completion-function.
11539
6c4cab03
DD
115402011-06-04 Deniz Dogan <deniz@dogan.se>
11541
11542 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11543 `memq' (Bug#8799).
11544
ea9fafe0
SM
115452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11548
b3e945d3
JB
115492011-06-02 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11552 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11553 * vc/log-view.el (log-view-beginning-of-defun):
11554 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11555 (smerge-refine-forward, smerge-refine-chopup-region):
11556 Silence warning for unused `dotimes' counter variables.
11557
7d520089
SM
115582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11559
11560 * net/tramp.el (tramp-with-progress-reporter): Rename from
11561 with-progress-reporter. Use `declare'.
11562 * net/tramp-smb.el:
11563 * net/tramp-sh.el:
11564 * net/tramp-gvfs.el: Update all uses.
11565
a1c2400f
JB
115662011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11567
11568 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11569 buffer isn't killed before making it current.
11570
2403c841
SM
115712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 Silence various byte-compiler warnings.
11574 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11575 `access-type' and new obsolescence format.
11576 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11577 new format.
11578 (byte-compile-check-variable): New `access-type' argument.
11579 Only warn if the access-type is obsolete.
11580 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11581 (byte-compile-variable-set): Adjust callers.
11582 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11583 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11584 setting it as obsolete.
11585 * simple.el (minibuffer-completing-symbol):
11586 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11587 access as obsolete.
11588 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11589 obsolete yet.
11590 * international/quail.el (quail-mouse-choose-completion): Remove unused
11591 code referring to obsolete var.
11592 (quail-choose-completion-string): Remove.
11593 * server.el (server-clients-with, server-kill-buffer-query-function)
11594 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11595 * proced.el (proced-send-signal):
11596 * emacs-lisp/lisp.el (lisp-complete-symbol):
11597 Replace completion-annotate-function with completion-extra-properties.
11598
2462470b
SM
115992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11600
fb5b2591
SM
11601 * simple.el (goto-line): Use read-number.
11602 (overriding-map-is-bound): Remove.
11603 (saved-overriding-map): Change default.
11604 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11605 Take the map as argument.
11606 (universal-argument, negative-argument, digit-argument): Use it.
11607 (restore-overriding-map): Adjust.
11608 (do-auto-fill): Use fill-forward-paragraph.
11609 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11610
fd6fa53f
SM
11611 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11612 (minibuffer-inactive-mode): New major mode.
11613 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11614 the *Messages* buffer" hack.
11615 (mouse-popup-menubar): Don't burp if the event is a normal key.
11616
2462470b
SM
11617 Miscellaneous tweaks.
11618 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11619 lexical scoping as in subr.el's dolist and dotimes.
11620 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11621 Silence compiler warning.
11622 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11623 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11624 * international/ccl.el (ccl-compile): Trivial simplification.
11625 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11626 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11627 `printflag' argument.
11628 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11629 Purecopy the whole obsolescence data.
11630
108bf785
LL
116312011-06-01 Leo Liu <sdl.web@gmail.com>
11632
11633 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11634 improve doc-string as suggested by Marco Pessotto
11635 <melmothx@gmail.com>.
11636 (rcirc-print): Fix last change.
11637
30a23501
SM
116382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * minibuffer.el (complete-with-action): Return nil for the metadata and
11641 boundaries of non-functional tables.
11642 (completion-table-dynamic): Return nil for the metadata.
11643 (completion-table-with-terminator): Add default case, using
11644 complete-with-action.
11645 (completion--metadata): New function.
11646 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11647 to try and avoid pathological performance problems.
11648 (completion--embedded-envvar-table): Return `category' metadata.
11649
bcd54f83
LMI
116502011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11651
11652 * subr.el (process-alive-p): New tiny convenience function.
11653
e227544d
SM
116542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11657 content but also its previous major mode.
11658
e8296fdc
HE
116592011-05-31 Helmut Eller <eller.helmut@gmail.com>
11660
4d61f28d 11661 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11662 *Backtrace* buffer when we exit with C-M-c.
11663
620c53a6
SM
116642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * minibuffer.el: Add metadata method to completion tables.
11667 (completion-category-overrides): New defcustom.
11668 (completion-metadata, completion--field-metadata)
11669 (completion-metadata-get, completion--styles)
11670 (completion--cycle-threshold): New functions.
11671 (completion-try-completion, completion-all-completions):
11672 Add `metadata' argument to choose completion-styles.
11673 (completion--do-completion): Use metadata to choose cycling.
11674 (completion-all-sorted-completions): Use metadata for sorting.
11675 Remove :completion-cycle-penalty which is not needed any more.
11676 (completion--try-word-completion): Add `metadata' argument.
11677 (minibuffer-completion-help): Check metadata for annotation function
11678 and sorting.
11679 (completion-file-name-table): Return `category' metadata.
11680 (minibuffer-completing-file-name): Make obsolete.
11681 * simple.el (minibuffer-completing-symbol): Make obsolete.
11682 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11683 completion-try-completion.
11684
1257e755
SM
116852011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11688
3767e706
LL
116892011-05-30 Leo Liu <sdl.web@gmail.com>
11690
11691 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11692 (rcirc-print): Decode all incoming messages (bug#8744).
11693 (rcirc-decode-coding-system): Allow value nil for automatic coding
11694 system detection.
3767e706 11695
d1a5d56a
GM
116962011-06-01 Glenn Morris <rgm@gnu.org>
11697
11698 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11699
e8cbec34
CY
117002011-05-29 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * image.el (image-animate-max-time): Allow nil and t values.
11703 Default to nil.
11704 (create-animated-image): Doc fix.
11705 (image-animate-start): Remove second arg; just use
11706 image-animate-max-time.
11707 (image-animate-timeout): Doc fix. Args changed.
11708
11709 * image-mode.el (image-toggle-display-image): Ensure that the
11710 image spec passed to the animate timer is the same object as in
58179cce 11711 the buffer's display property (Bug#6981).
e8cbec34
CY
11712 (image-transform-properties): Doc fix.
11713
11714 * image.el (image-animate-max-time): Default to nil.
11715
159daf87
MR
117162011-05-29 Martin Rudalics <rudalics@gmx.at>
11717
11718 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11719 entire buffer list (Bug#8184).
11720
d66c4c7c
CY
117212011-05-29 Chong Yidong <cyd@stupidchicken.com>
11722
11723 * image.el (imagemagick-types-inhibit)
11724 (imagemagick-register-types): Doc fix.
11725
80aec780
DD
117262011-05-29 Deniz Dogan <deniz@dogan.se>
11727
11728 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11729 default.
11730
1dd3c2d9
CY
117312011-05-29 Chong Yidong <cyd@stupidchicken.com>
11732
11733 * select.el: Don't perform clipboard-manager saving in hooks;
11734 leave the hooks empty.
11735
60e56523
LL
117362011-05-28 Leo Liu <sdl.web@gmail.com>
11737
11738 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11739 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11740 (occur-edit-mode): New major mode (Bug#8463).
11741 (occur-after-change-function): New function.
11742 (occur-engine): Give Occur tags a read-only property.
11743
2b1e1a22
KR
117442011-05-28 Kevin Ryde <user42@zip.com.au>
11745
11746 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11747
5d344e88
CY
117482011-05-28 Chong Yidong <cyd@stupidchicken.com>
11749
8e6ca83d
CY
11750 * bindings.el (help-echo): Make the initial non-indicator dash
11751 empty on graphical terminals (Bug#7295).
11752
5d344e88
CY
11753 * files.el (auto-mode-alist): Move config rule after the
11754 in-stripping one (Bug#8547).
11755
bfbbace7
CY
11756 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11757
fbeba6e2
CY
11758 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11759 setting (Bug#8740).
11760
60ed8c72
AA
117612011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11762
4ac619f0
AA
11763 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11764 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11765 (Bug#8539).
60ed8c72 11766
23db196e
CY
117672011-05-28 Chong Yidong <cyd@stupidchicken.com>
11768
11769 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11770
5012f24c
DK
117712011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11772
11773 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11774 (hs-hide-block-at-point, hs-find-block-beginning)
11775 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11776 (Bug#8279).
11777
6a639b16
GM
117782011-05-28 Glenn Morris <rgm@gnu.org>
11779
11780 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11781
d43eaf2c
CY
117822011-05-28 Chong Yidong <cyd@stupidchicken.com>
11783
5199bde1
CY
11784 * help-fns.el (describe-function-1): If the function is a derived
11785 major mode, print the parent mode.
11786
d43eaf2c
CY
11787 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11788 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11789
423428a8
SM
117902011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11791
0ff8e1ba 11792 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11793 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11794 * progmodes/etags.el (tags-completion-at-point-function):
11795 * info-look.el (info-lookup-completions-at-point): Mark as
11796 non-exclusive.
11797 (info-complete): Adjust accordingly.
11798
423428a8
SM
11799 * info-look.el: Convert to lexical-binding and completion-at-point.
11800 (info-lookup-completions-at-point): New function.
11801 (info-complete): Use it and completion-in-region.
11802
b74aa22b
DA
118032011-05-28 Drew Adams <drew.adams@oracle.com>
11804
11805 * isearch.el: Let M-e start with point at the first mismatched char.
11806 (isearch-fail-pos): New function.
11807 (isearch-edit-string): Use it.
11808
66e2e71d
DK
118092011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11810
11811 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11812
b1890b0f 118132011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11814
11815 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11816 traversal functions for avl-trees.
11817 (avl-tree--stack): New struct.
11818 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11819 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11820 (avl-tree--do-enter): Add optional `updatefun' arg.
11821 Change return value.
eb95d01d 11822 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11823 (avl-tree--do-delete): Add `test' and `nilflag' args.
11824 Change return value.
eb95d01d
TC
11825 (avl-tree-member): Add optional `nilflag'
11826 (avl-tree-member-p): New function.
11827 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11828 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11829 (avl-tree-stack-empty-p): New functions.
11830
3769ddcf
TC
11831 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11832 avl-tree--del-balance1 and make it work both ways.
11833 (avl-tree--del-balance2): Remove.
11834 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11835 make it work both ways.
11836 (avl-tree--enter-balance2): Remove.
11837 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11838 New macros.
11839 (avl-tree--mapc, avl-tree-map): Add direction argument.
11840
eb95d01d 118412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11842
11843 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11844
a9f737ee
CY
118452011-05-27 Chong Yidong <cyd@stupidchicken.com>
11846
11847 * select.el: Support clipboard managers with built-in function
11848 x-clipboard-manager-save, via delete-frame-functions and
11849 kill-emacs-hook.
11850 (xselect-convert-to-targets): Add MULTIPLE target to list.
11851 (xselect-convert-to-save-targets): New function.
11852
c92a1e54
KH
118532011-05-27 Kenichi Handa <handa@m17n.org>
11854
11855 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11856 let-binding rfc2047-encode-encoded-words to nil.
11857
e145f188
GM
118582011-05-27 Glenn Morris <rgm@gnu.org>
11859
5ec8a862
GM
11860 * mail/emacsbug.el: Don't require url-util.
11861
4b29d9fb
GM
11862 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11863
e145f188
GM
11864 * files.el (set-auto-mode):
11865 Also respect mode: entries at the end of the file. (Bug#8586)
11866
7d15102b
GM
118672011-05-26 Glenn Morris <rgm@gnu.org>
11868
98f593b8
GM
11869 * files.el (hack-local-variables-prop-line, hack-local-variables):
11870 Downcase mode names, as seems to be traditional.
27b48e63 11871 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11872
7d15102b
GM
11873 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11874 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11875
51d5b4ec
JD
118762011-05-25 Julien Danjou <julien@danjou.info>
11877
11878 * textmodes/rst.el (rst-define-level-faces): Do not define face
11879 symbol if it is already defined.
11880
91513f63
VB
118812011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11882
11883 * play/5x5.el (5x5-new-game, 5x5-randomize):
11884 Reset 5x5-solver-output to nil when a new grid is cast.
11885 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11886 these debugging traces, as defmacro breaks the compiled code.
11887
4d90d6d0
DK
118882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11889
11890 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11891
e1b90ef6
LL
118922011-05-24 Leo Liu <sdl.web@gmail.com>
11893
11894 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11895 (vc-bzr-sha1): Adapt.
11896
d8e4b68b 11897 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11898
11899 * bindings.el: Provide sha1 feature.
11900
db0406bb 119012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11902
11903 * mail/sendmail.el: Require `rfc2047'.
11904 (mail-insert-from-field): Do not perform RFC2047 encoding.
11905 (mail-encode-header): New function.
11906 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11907 buffer to the return value of select-message-coding-system.
11908 Call mail-encode-header.
b8d747b9
KH
11909
11910 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11911
db0406bb 119122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11913
4d90d6d0
DK
11914 * mail/supercite.el (sc-default-cite-frame):
11915 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11916
eb8a5e9b
GM
119172011-05-24 Glenn Morris <rgm@gnu.org>
11918
f8630703
GM
11919 * progmodes/python.el (brm-menu): Declare.
11920
8831bbed
GM
11921 * emulation/viper.el (viper-set-hooks): Declare.
11922
eb8a5e9b
GM
11923 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11924 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11925 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11926 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11927 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11928 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11929
a2a25d24
SM
119302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 Add an :exit-function for completion-at-point.
11933
11934 * minibuffer.el (completion--done): New fun.
11935 (completion--do-completion): Use it. New arg `expect-exact'.
11936 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11937 since completion--do-completion does it for us now.
11938 (minibuffer-force-complete): Use completion--done and
11939 completion--replace. Handle sole-completion case with more care.
11940 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11941 (completion-extra-properties): New var.
11942 (completion-annotate-function): Make obsolete.
11943 (minibuffer-completion-help): Adjust accordingly.
11944 Use completion-list-insert-choice-function.
11945 (completion-at-point, completion-help-at-point):
11946 Bind completion-extra-properties.
11947 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11948 * simple.el (completion-list-insert-choice-function): New var.
11949 (completion-setup-function): Preserve it.
11950 (choose-completion): Pay attention to it, shuffle the code a bit.
11951 (choose-completion-string): New arg `insert-function'.
11952
11953 * textmodes/bibtex.el: Convert to lexical binding.
11954 (bibtex-mode-map): Use completion-at-point.
11955 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11956 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11957 (bibtex-complete): Define as obsolete alias.
11958 (bibtex-complete-internal): Remove.
11959 (bibtex-format-entry): Remove unused sub-group in regexp.
11960 * shell.el (shell--command-completion-data)
11961 (shell-environment-variable-completion):
11962 * pcomplete.el (pcomplete-completions-at-point):
11963 * comint.el (comint--complete-file-name-data): Use :exit-function
11964 instead of completion-table-with-terminator so it also works for
11965 choose-completion.
11966
e44e373d
SM
119672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11968
4f91a816
SM
11969 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11970
782fc819
SM
11971 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11972 (bug#8710).
11973
e44e373d
SM
11974 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11975
381987c3
KM
119762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11977
11978 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11979 customization variable and implement: If non-nil, auto-fill will
11980 be inhibited while on topic's header line.
11981
b776bc70
VB
119822011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11983
11984 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11985 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11986 always have a solution in grid size = 5 cases.
11987 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11988 (5x5-solver-output, 5x5-log-buffer): New vars.
11989 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11990 Make these variables buffer local to achieve 5x5 multi-session-ness.
11991 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11992 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11993 (5x5-solve-suggest): New funs.
11994 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11995 randomize a grid so that we ensure that there is always a solution.
11996 (5x5-make-random-grid): Allow other movement than flipping.
11997
7de88b6e
KR
119982011-05-23 Kevin Ryde <user42@zip.com.au>
11999
12000 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12001 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12002 advice and passes PREDICATE.
12003
b1ef1257
SM
120042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12005
bbca48fe
SM
12006 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12007 byte-compile-lambda if it's actually a lambda.
12008
b1ef1257
SM
12009 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12010 Fix function quoting. Use backquote better.
12011
92a9cc65
YS
120122011-05-22 Yuanle Song <sylecn@gmail.com>
12013
12014 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12015 matching (Bug#8516).
12016
f0fb8059
JA
120172011-01-22 Jari Aalto <jari.aalto@cante.net>
12018
12019 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12020 different face (Bug#8178).
12021
d5b44c93
CY
120222011-05-22 Chong Yidong <cyd@stupidchicken.com>
12023
12024 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12025 defface (Bug#8144).
12026
79106a44
SM
120272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12028
9c848d8a
SM
12029 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12030 funcall as well (bug#8712). Warn when performing those conversions.
12031 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12032
79106a44
SM
12033 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12034
88dfa756
GM
120352011-05-22 Glenn Morris <rgm@gnu.org>
12036
12037 * files.el (hack-local-variables-prop-line): Small simplifications.
12038 (hack-local-variables, hack-local-variables-prop-line):
12039 If MODE-ONLY, return the mode, rather than just `t'.
12040
b7cf2c79
SM
120412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12044
3f1a8558
GM
120452011-05-21 Glenn Morris <rgm@gnu.org>
12046
7e4ccca3
GM
12047 * files.el (hack-local-variables-prop-line, hack-local-variables):
12048 If only interested in the mode, don't bother doing the other stuff.
12049
637d46ca
GM
12050 * image-mode.el (image-after-revert-hook):
12051 Redraw all frames on which the image is visible. (Bug#8567)
12052
973d955b
GM
12053 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12054
3f1a8558
GM
12055 * wid-edit.el (widget-checklist-match-inline):
12056 Fix 2011-04-19 change. (Bug#8649)
12057
96479927
SM
120582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12059
1dcf791f
SM
12060 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12061 Also allow singlespace after single-letter capitals followed by a dot.
12062
96479927
SM
12063 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12064 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12065
35fd0881
N
120662011-05-20 Nix <nix@esperi.org.uk>
12067
12068 * files.el (basic-save-buffer-2):
12069 Fix handling of break-hardlink-on-save with non-existent files.
12070
82745640
DD
120712011-05-19 Deniz Dogan <deniz@dogan.se>
12072
12073 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12074 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12075
4a720484
GM
120762011-05-19 Glenn Morris <rgm@gnu.org>
12077
d1f21341
GM
12078 * progmodes/f90.el (f90-type-def-re):
12079 Handle "type, bind(c)". (Bug#8691)
12080
4a720484
GM
12081 * emacs-lisp/autoload.el (batch-update-autoloads):
12082 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12083
2fb0a219
MA
120842011-05-18 Michael Albinus <michael.albinus@gmx.de>
12085
12086 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12087 property for the correct connection in case of multihops.
12088
e565dd37
GM
120892011-05-18 Glenn Morris <rgm@gnu.org>
12090
c2571358 12091 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12092 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12093
e565dd37
GM
12094 Rationalize calendar handling of day and month abbrev-arrays.
12095 * calendar/calendar.el (calendar-customized-p): New function.
12096 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12097 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12098 Add :set function.
12099 (calendar-abbrev-length, calendar-day-abbrev-array)
12100 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12101 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12102 Elements may no longer be nil.
12103 (calendar-day-name, calendar-month-name):
12104 Update for changed nature of abbrev arrays.
12105 * calendar/diary-lib.el (diary-name-pattern):
12106 Update for changed nature of abbrev arrays.
12107 (diary-mark-entries-1): Update calendar-make-alist calls.
12108 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12109 * calendar/cal-html.el (cal-html-day-abbrev-array):
12110 Simply inherit from calendar-day-abbrev-array.
12111
1d99a745
SM
121122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * progmodes/grep.el (grep-mode): Disable default
12115 compilation-directory-matcher setting (bug#8684).
12116
7c1d9aa0
MA
121172011-05-17 Michael Albinus <michael.albinus@gmx.de>
12118
12119 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12120 instead of "head" and "tail". There were problems with SunOS 5.9,
12121 and it performs better.
12122
3952e9d8
GM
121232011-05-17 Glenn Morris <rgm@gnu.org>
12124
2dd12e7f
GM
12125 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12126
e4157b9c
GM
12127 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12128 Replace obsolete function.
12129
8e249bbd
GM
12130 * shell.el (pcomplete-parse-arguments-function): Declare.
12131
3952e9d8
GM
12132 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12133 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12134 (appt-check): Doc fixes.
12135 (appt-disp-window-function, appt-delete-window-function):
12136 Remove needless special case in custom :type.
12137 (appt-display-count): Default to 0, not nil.
12138 (appt-check): Reset appt-display-count to 0, not nil.
12139
c71a0d48 121402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12141
c71a0d48
GM
12142 * progmodes/python.el (python-font-lock-keywords):
12143 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12144
31d55be9
SM
121452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12146
12147 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12148
3bfacb2f
KR
121492011-05-16 Kevin Ryde <user42@zip.com.au>
12150
12151 * info-look.el (makefile-automake-mode): New setups, looking in
12152 automake manual, then makefile-mode.
12153 (makefile-mode): Remove automake manual, have it just in
12154 makefile-automake-mode since there's various things different or
12155 not relevant to plain make.
12156 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12157 believe a hypothetical automake-mode would go to makefile-mode,
12158 not the other way around.
12159
c8e83751
CY
121602011-05-15 Chong Yidong <cyd@stupidchicken.com>
12161
5e9e35cd
CY
12162 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12163 hunk-end tags (Bug#8672).
12164
c8e83751
CY
12165 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12166 vc-annotate-show-diff-revision-at-line (Bug#8671).
12167
50b23e5a
GM
121682011-05-14 Glenn Morris <rgm@gnu.org>
12169
7210a739
GM
12170 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12171 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12172 (change-log-font-lock-keywords): Also handle multiple author lines
12173 with leading tabs. (Bug#8644)
7210a739 12174
4691905a
GM
12175 * calendar/appt.el (appt-check): Rename some local variables.
12176 Some simplification/reordering.
12177
50b23e5a
GM
12178 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12179 (feedmail-sendmail-f-doesnt-sell-me-out)
12180 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12181 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12182 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12183 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12184 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12185 (feedmail-binmail-gnulinuxish-template):
12186 Rename from feedmail-binmail-linuxish-template.
12187 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12188 Use insert-buffer-substring.
12189
215cda7c
BC
121902011-05-14 Bill Carpenter <bill@carpenter.org>
12191
12192 * mail/feedmail.el (feedmail-patch-level): Increase.
12193 (feedmail-debug): New custom group.
12194 (feedmail-confirm-outgoing-timeout)
12195 (feedmail-sendmail-f-doesnt-sell-me-out)
12196 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12197 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12198 (feedmail-sender-line, feedmail-from-line)
12199 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12200 (feedmail-spray-this-address)
215cda7c
BC
12201 (feedmail-spray-address-fiddle-plex-list)
12202 (feedmail-queue-use-send-time-for-date)
12203 (feedmail-queue-use-send-time-for-message-id)
12204 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12205 (feedmail-buffer-eating-function):
12206 Doc fixes.
12207 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12208 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12209 (feedmail-message-action-scroll-down): New functions.
12210 (feedmail-queue-directory, feedmail-queue-draft-directory):
12211 Use expand-file-name.
12212 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12213 Remove C-v help entry.
12214 (feedmail-queue-buffer-file-name): New variable.
12215 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12216 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12217 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12218 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12219 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12220 (feedmail-message-action-toggle-spray)
12221 (feedmail-run-the-queue-no-prompts)
12222 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12223 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12224 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12225 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12226 (feedmail-envelope-deducer, feedmail-fiddle-from)
12227 (feedmail-fiddle-sender, feedmail-default-date-generator)
12228 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12229 (feedmail-fiddle-spray-address)
12230 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12231 (feedmail-fiddle-list-of-fiddle-plexes)
12232 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12233 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12234 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12235 Change default. Doc fix.
12236 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12237 (feedmail-binmail-linuxish-template): New constant.
12238 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12239 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12240 (feedmail-send-it): Add debug call.
12241 Use feedmail-queue-buffer-file-name, and
12242 feedmail-send-it-immediately-wrapper.
12243 (feedmail-message-action-send): Add debug call.
12244 Use feedmail-send-it-immediately-wrapper.
12245 (feedmail-queue-express-to-queue): Add debug call.
12246 Run feedmail-queue-express-hook.
12247 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12248 (feedmail-message-action-help-blat):
12249 Rename from feedmail-queue-send-edit-prompt-help-first.
12250 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12251 Check line-endings. Handle errors better.
12252 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12253 Doc fix. Add debug call.
12254 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12255 Use feedmail-queue-send-edit-prompt-inner.
12256 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12257 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12258 from feedmail-queue-send-edit-prompt.
12259 (feedmail-queue-send-edit-prompt-help)
12260 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12261 (feedmail-tidy-up-slug): Add debug call.
12262 Respect feedmail-queue-slug-suspect-regexp.
12263 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12264 (feedmail-dump-message-to-queue): Add debug call.
12265 Expand queue-directory.
12266 (feedmail-dump-message-to-queue): Change message slightly.
12267 Use feedmail-say-chatter.
12268 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12269 (feedmail-send-it-immediately-wrapper): New function.
12270 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12271 Insert empty string rather than newline. Handle full-frame case.
12272 Use catch/throw. Use feedmail-say-chatter.
12273 (feedmail-fiddle-from): Try mail-host-address.
12274 (feedmail-default-message-id-generator): Doc fix.
12275 Bind system-time-locale. Handle missing end.
12276 (feedmail-fiddle-x-mailer): Add debug call.
12277 Handle feedmail-x-mailer-line being nil.
12278 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12279 Add debug call. Use buffer-substring-no-properties.
12280 (feedmail-say-debug, feedmail-say-chatter): New functions.
12281 (feedmail-find-eoh): Give an explicit error.
12282
42c7e61e
UJ
122832011-05-13 Ulf Jasper <ulf.jasper@web.de>
12284
c2571358 12285 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12286 family from helvetica to sans.
c2571358 12287 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12288 etc/images/newsticker.
12289
c2571358 12290 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12291 family from helvetica to sans.
12292
12293 * net/newst-plainview.el (newsticker-new-item-face)
12294 (newsticker-old-item-face, newsticker-immortal-item-face)
12295 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12296 (newsticker-statistics-face): Change default family from
42c7e61e 12297 helvetica to sans.
c2571358 12298 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12299 etc/images/newsticker.
12300
5d3385a0
JB
12301 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12302 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12303 auto-marking.
12304
8497a297
DV
123052011-05-13 Didier Verna <didier@xemacs.org>
12306
12307 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12308 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12309 TODO entries.
8497a297
DV
12310 (lisp-lambda-list-keyword-parameter-indentation)
12311 (lisp-lambda-list-keyword-parameter-alignment)
12312 (lisp-lambda-list-keyword-alignment): New customizable user options.
12313 (lisp-indent-defun-method): Improve docstring.
12314 (extended-loop-p): Fix comment.
12315 (lisp-indent-lambda-list-keywords-regexp): New variable.
12316 (lisp-indent-lambda-list): New function.
12317 (lisp-indent-259): Use it.
12318 (lisp-indent-defmethod): Support for more than one
12319 method qualifier and properly indent methods lambda-lists.
12320 (defgeneric): Provide a missing common-lisp-indent-function property.
12321
f278f87f
SM
123222011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12325 bounds for the empty string (bug#8667).
12326
5233edd7
GM
123272011-05-13 Glenn Morris <rgm@gnu.org>
12328
5237a44f
GM
12329 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12330
8340026c 12331 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12332 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12333
5233edd7 12334 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12335 (appt-time-msg-list): Doc fix.
a5464014 12336 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12337
92d10796
AS
123382011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12339
12340 * progmodes/ld-script.el (ld-script-keywords)
12341 (ld-script-builtins): Update keywords list.
12342
914a0ae1
SM
123432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12344
c89be45f
SM
12345 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12346
914a0ae1
SM
12347 * shell.el (shell-completion-vars): New function.
12348 (shell-mode):
12349 * simple.el (read-shell-command): Use it.
12350 (blink-matching-open): No need for " [...]" in minibuffer-message.
12351
98dc3df3
GM
123522011-05-12 Glenn Morris <rgm@gnu.org>
12353
12354 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12355 (appt-check): Simplify.
12356
d2fc7e3d 123572011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12358
4d61f28d 12359 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12360 literal "/dev/null".
12361
d2fc7e3d 123622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12363
12364 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12365 Fix typo.
12366
d2fc7e3d 123672011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12368
3f254caa
SM
12369 * progmodes/which-func.el (which-function):
12370 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12371 which might not be defined (Bug#8260).
12372
d45885f7
GM
123732011-05-12 Glenn Morris <rgm@gnu.org>
12374
12375 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12376 Let byte-compile-initial-macro-environment always take precedence.
12377
488086f4
SM
123782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * net/rcirc.el: Add support for SSL/TLS connections.
12381 (rcirc-server-alist): New field `encryption'.
12382 (rcirc): Check `encryption' settings.
12383 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12384 Merge make-local-variable into `set'.
12385 (rcirc--connection-open-p): New function.
12386 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12387 the process is not a network process (e.g. running gnutls-cli).
12388 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12389 Make rcirc-(en|de)code-coding-system local here.
12390 (rcirc-mode): Merge make-local-variable into `set'.
12391 (rcirc-parent-buffer): Make permanent buffer-local.
12392 (rcirc-multiline-minor-mode): Don't do it here.
12393 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12394 there's no server buffer.
12395
7d3b9d44
GM
123962011-05-11 Glenn Morris <rgm@gnu.org>
12397
f64049c6
GM
12398 * newcomment.el (comment-kill): Prefix "unused" local.
12399
93c9df73
GM
12400 * term/w32console.el (get-screen-color): Declare.
12401
7d3b9d44
GM
12402 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12403 Handle symbol elements of byte-compile-initial-macro-environment.
12404
9e2dd53f
LL
124052011-05-10 Leo Liu <sdl.web@gmail.com>
12406
488086f4
SM
12407 * bookmark.el (bookmark-bmenu-mode-map):
12408 Bind bookmark-bmenu-search to `/'.
8b340240 12409
9e2dd53f 12410 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12411 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12412 (Footnote-unicode): New function.
12413 (footnote-style-alist): Add unicode style to the list.
12414 (footnote-style): Doc fix.
9e2dd53f 12415
79b70037
GM
124162011-05-10 Jim Meyering <meyering@redhat.com>
12417
12418 Fix doubled-word typos.
12419 * international/quail.el (quail-insert-kbd-layout): and and -> and
12420 * kermit.el: and and -> and
12421 * net/ldap.el (ldap-search-internal): to to -> to
12422 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12423 * progmodes/js.el (js-mode): and and -> and
12424 * textmodes/artist.el (artist-move-to-xy): at at -> at
12425 (artist-draw-region-trim-line-endings): if if -> if
12426 And Safetyc -> Safety.
12427 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12428
b8f82dc1 124292011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12430 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12431
12432 * files.el (hack-one-local-variable-eval-safep):
12433 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12434
4f99f44b
GM
124352011-05-10 Glenn Morris <rgm@gnu.org>
12436
12437 * calendar/diary-lib.el (diary-list-entries-hook)
12438 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12439 (diary-nongregorian-marking-hook, diary-list-entries)
12440 (diary-include-other-diary-files, diary-mark-entries)
12441 (diary-mark-included-diary-files): Doc fixes.
12442
84f29e6b
JB
124432011-05-09 Juanma Barranquero <lekktu@gmail.com>
12444
12445 * misc.el: Require tabulated-list.el during compilation.
12446
9bedd73a
CY
124472011-05-09 Chong Yidong <cyd@stupidchicken.com>
12448
488086f4
SM
12449 * progmodes/compile.el (compilation-start):
12450 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12451 (compilation-filter-hook): Doc fix.
12452
797c735c
DD
124532011-05-09 Deniz Dogan <deniz@dogan.se>
12454
12455 * wdired.el: Remove outdated installation comment. Fix usage
12456 comment.
12457
5f4b1dfe
JB
124582011-05-09 Juanma Barranquero <lekktu@gmail.com>
12459
12460 * misc.el: Implement new command `list-dynamic-libraries'.
12461 (list-dynamic-libraries--loaded-only-p): New variable.
12462 (list-dynamic-libraries--refresh): New function.
12463 (list-dynamic-libraries): New command.
12464
4c44026c
CY
124652011-05-09 Chong Yidong <cyd@stupidchicken.com>
12466
488086f4
SM
12467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12468 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12469 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12470 higher priority to avoid clobbering by gnu.
12471
027f966d
CY
124722011-05-08 Chong Yidong <cyd@stupidchicken.com>
12473
12474 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12475 if the face has existing theme settings (Bug#8454).
12476
085f5d7d
CY
124772011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12478
488086f4
SM
12479 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12480 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12481
2a86a00c
RS
12482 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12483 special file names `.' and `..' (Bug#8259).
12484
d9c54a06
CY
124852011-05-08 Chong Yidong <cyd@stupidchicken.com>
12486
488086f4
SM
12487 * progmodes/grep.el (grep-mode-font-lock-keywords):
12488 Remove buffer-changing entries.
d9c54a06
CY
12489 (grep-filter): New function.
12490 (grep-mode): Add it to compilation-filter-hook.
12491
12492 * progmodes/compile.el (compilation-filter-hook)
12493 (compilation-filter-start): New defvars.
12494 (compilation-filter): Call compilation-filter-hook prior to
12495 updating the process mark.
12496
c4662635
SM
124972011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12498
12499 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12500
b0512a1d
EZ
125012011-05-07 Eli Zaretskii <eliz@gnu.org>
12502
605c9376
EZ
12503 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12504 mailclient-send-it even if window-system is nil. (Bug#8595)
12505
c4662635
SM
12506 * term/w32console.el (terminal-init-w32console):
12507 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12508 background-mode. (Bug#8597)
12509
d1dc2cc2
SM
125102011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12513 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12514 New functions.
12515 (defgeneric, eieio--defmethod): Use them.
12516 (eieio-defgeneric): Remove.
12517 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12518
915d1300
GM
125192011-05-07 Glenn Morris <rgm@gnu.org>
12520
a3961c3e
GM
12521 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12522 Use let rather than let*.
12523 (timeclock-find-discrep): Remove unused local.
12524
314347b9
GM
12525 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12526
915d1300
GM
12527 * calendar/appt.el (appt-time-msg-list): Doc fix.
12528
275b59b0
NF
125292011-05-06 Noah Friedman <friedman@splode.com>
12530
12531 * apropos.el (apropos-print-doc): Only use
12532 emacs-lisp-docstring-fill-column when it is bound to an integer,
12533 per that variable's documentation.
12534
6c19f744
SM
125352011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12538 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12539
60f884b2
GM
125402011-05-06 Glenn Morris <rgm@gnu.org>
12541
5006e634
GM
12542 * calendar/appt.el (appt-message-warning-time): Doc fix.
12543 (appt-warning-time-regexp): New option.
12544 (appt-make-list): Respect appt-message-warning-time.
12545
548d0a63
GM
12546 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12547 New options.
12548 (diary-add-to-list): Strip comments from the displayed string.
12549 (diary-mode): Set comment-start and comment-end.
12550
60f884b2
GM
12551 * vc/diff-mode.el (smerge-refine-subst): Declare.
12552 (diff-refine-hunk): Don't require smerge-mode when compiling.
12553
989681bb
JB
125542011-05-06 Juanma Barranquero <lekktu@gmail.com>
12555
12556 * simple.el (list-processes): Return nil as the docstring says.
12557
a6bc05e1
MA
125582011-05-05 Michael Albinus <michael.albinus@gmx.de>
12559
12560 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12561 to "".
12562 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12563 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12564 determining of binary transfer. (Bug#7383)
12565
23c22e9a
MA
125662011-05-05 Michael Albinus <michael.albinus@gmx.de>
12567
c4662635
SM
12568 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12569 Fix port computation bug. (Bug#8618)
23c22e9a 12570
0bff894f
GM
125712011-05-05 Glenn Morris <rgm@gnu.org>
12572
b8296902
GM
12573 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12574
1f522ce8
GM
12575 * simple.el (shell-dynamic-complete-functions)
12576 (comint-dynamic-complete-functions): Declare.
12577
cf5bee67
GM
12578 * net/network-stream.el (gnutls-negotiate):
12579 * simple.el (tabulated-list-print): Fix declarations.
12580
12581 * progmodes/gud.el (syntax-symbol, syntax-point):
12582 Remove unnecessary and incorrect declarations.
12583
0bff894f
GM
12584 * emacs-lisp/check-declare.el (check-declare-scan):
12585 Handle byte-compile-initial-macro-environment in bytecomp.el
12586
9869b3ae
SM
125872011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 Fix earlier half-done eieio-defmethod change (bug#8338).
12590 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12591 Streamline and change calling convention.
12592 (defmethod): Adjust accordingly and simplify.
12593 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12594 new eieio--defmethod.
12595 (slot-boundp): Minor CSE simplification.
12596
9c1d5ac5
MZ
125972011-05-05 Milan Zamazal <pdm@zamazal.org>
12598
12599 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12600 (glasses-make-readable): Use glasses-separate-capital-groups.
12601
455c834e
JB
126022011-05-05 Juanma Barranquero <lekktu@gmail.com>
12603
12604 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12605 (warning-series): Doc fix.
12606 (display-warning): Don't try to create the buffer if we just found it.
12607
9ed7c8cb
CY
126082011-05-04 Chong Yidong <cyd@stupidchicken.com>
12609
12610 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12611 (autoload-find-generated-file): New function.
12612 (generate-file-autoloads): Bind generated-autoload-file to
12613 buffer-file-name.
9869b3ae
SM
12614 (update-file-autoloads, update-directory-autoloads):
12615 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12616 output file (Bug#7989).
12617 (batch-update-autoloads): Doc fix.
12618
0898ca10
JB
126192011-05-04 Juanma Barranquero <lekktu@gmail.com>
12620
12621 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12622
31dfb76c
GM
126232011-05-04 Glenn Morris <rgm@gnu.org>
12624
f330b642
GM
12625 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12626 function, so it follows changes in calendar-date-style.
12627 (diary-fancy-date-matcher): New function.
12628 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12629 (diary-fancy-font-lock-fontify-region-function):
12630 Use diary-fancy-date-pattern as a function.
12631
31dfb76c
GM
12632 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12633 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12634
48e79d6a
TZ
126352011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12636
12637 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12638 instead of positional arguments. Allow :keylist and :crlfiles
12639 arguments.
12640 (open-gnutls-stream): Call it.
12641
12642 * net/network-stream.el (network-stream-open-starttls): Adjust to
12643 call `gnutls-negotiate' with :process and :hostname arguments.
12644
dd5a5ee0
SM
126452011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12646
ef80fc09
SM
12647 * minibuffer.el (completion--message): New function.
12648 (completion--do-completion, minibuffer-complete)
12649 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12650 (completion--do-completion): Don't ignore completion-auto-help when in
12651 icomplete-mode.
12652
dd5a5ee0
SM
12653 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12654 internal encoding (e.g. tibetan zero is not whitespace).
12655 (global-whitespace-mode): Prefer save-current-buffer.
12656 (whitespace-trailing-regexp): Remove useless save-match-data.
12657 (whitespace-empty-at-bob-regexp): Minor simplification.
12658
b7d22a83
CY
126592011-05-03 Chong Yidong <cyd@stupidchicken.com>
12660
12661 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12662
5192af46
AM
126632011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12664
12665 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12666 Use `concat' to create string for insertion.
5192af46 12667
5767d190
SM
126682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12671 Avoid open-line which runs post-self-insert-hook.
12672 (bibtex-fill-entry): Remove unused `end' var.
12673
bf242939
AM
126742011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12675
5767d190
SM
12676 * textmodes/ispell.el (ispell-add-per-file-word-list):
12677 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12678
25666126
LL
126792011-05-03 Leo Liu <sdl.web@gmail.com>
12680
12681 * isearch.el (isearch-yank-pop): New command.
5767d190 12682 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12683 (isearch-forward): Mention it.
12684
52d3c2d0
SM
126852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12686
1bcace58
SM
12687 * simple.el (minibuffer-complete-shell-command): Remove.
12688 (minibuffer-local-shell-command-map): Use completion-at-point.
12689 (read-shell-command): Setup completion vars here instead.
12690 (read-expression-map): Bind TAB to symbol completion.
12691
52d3c2d0
SM
12692 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12693 error directly rather via storing it into `results'.
12694
35813471
LL
126952011-05-02 Leo Liu <sdl.web@gmail.com>
12696
12697 * vc/diff.el: Fix description.
12698
e793a940
LMI
126992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12700
12701 * server.el (server-eval-at): New function.
12702
8de66e05
LMI
127032011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12704
12705 * net/network-stream.el (open-network-stream): Take a :nowait
12706 parameter and pass it on to `make-network-process'.
12707 (network-stream-open-plain): Ditto.
12708
dcb79f20
AS
127092011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * faces.el (face-spec-set-match-display): Don't match toolkit
12712 options on terminal frames.
12713
14a7fbd8
SM
127142011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12715
7eabc1be
SM
12716 * progmodes/pascal.el: Use lexical binding.
12717 (pascal-mode-map): Remove author preferences.
12718
14a7fbd8
SM
12719 * pcomplete.el (pcomplete-std-complete): Don't abuse
12720 completion-at-point.
12721
50f84510
JB
127222011-04-28 Juanma Barranquero <lekktu@gmail.com>
12723
6e087a44
JB
12724 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12725 removing code that has been dead since 1991 or so.
12726
50f84510
JB
12727 * startup.el (command-line): When warning about "_emacs", use a
12728 delayed warning to allow the user to filter it out.
12729
0ba690bd
DD
127302011-04-28 Deniz Dogan <deniz@dogan.se>
12731
12732 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12733 user has not joined.
12734
08abfaad
SM
127352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12738 aren't any completions at point.
12739
638f053a
JB
127402011-04-28 Juanma Barranquero <lekktu@gmail.com>
12741
12742 * subr.el (display-delayed-warnings): New function.
12743 (delayed-warnings-hook): New variable.
12744
8fff8daa
SM
127452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12746
08abfaad
SM
12747 * minibuffer.el (completion-at-point, completion-help-at-point):
12748 Don't presume that a given completion-at-point-function will always
12749 use the same calling convention.
12750
8fff8daa
SM
12751 * pcomplete.el (pcomplete-completions-at-point):
12752 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12753 pcomplete-seen is non-nil.
12754 (pcomplete-comint-setup): Also recognize the new comint/shell
12755 completion functions.
12756 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12757 pcomplete-seen is non-nil.
12758
841a1577 127592011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12760
841a1577 12761 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12762 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12763 the first character in the entry. This allows for code to add its
211ec907
UJ
12764 own uid to the entry.
12765 (icalendar--convert-float-to-ical): Add export of
12766 `diary-float'-entries save for those with the optional DAY
12767 argument.
12768
2a782793
DC
127692011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12770
12771 * subr.el (shell-quote-argument): Use alternate escaping strategy
12772 when we spot a variable reference in a string.
12773
0438ce91
DC
127742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12775
12776 * cus-start.el (all): Define customization for debug-on-event.
12777
841a1577 127782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12779
12780 * subr.el (shell-quote-argument): Escape correctly under Windows.
12781
d090ed6c
SM
127822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12785
bfd31217
MA
127862011-04-25 Michael Albinus <michael.albinus@gmx.de>
12787
d090ed6c
SM
12788 * net/tramp.el (tramp-process-actions): Add POS argument.
12789 Delete region between POS and (pos).
bfd31217 12790
d090ed6c
SM
12791 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12792 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12793 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12794
12795 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12796 position in `tramp-process-actions' call.
12797
12798 * net/trampver.el: Update release number.
12799
e92f3bd3
SM
128002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12801
850256b5
SM
12802 * custom.el (defcustom): Obey lexical-binding.
12803
e92f3bd3
SM
12804 Fix octave-inf completion problems reported by Alexander Klimov.
12805 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12806 Inherit from octave-mode-syntax-table.
12807 (inferior-octave-mode): Set info-lookup-mode.
12808 (inferior-octave-completion-at-point): New function.
12809 (inferior-octave-complete): Use it and completion-in-region.
12810 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12811 comint-filename-completion.
12812 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12813 symbol elements which shouldn't be word elements.
12814 (octave-font-lock-keywords, octave-beginning-of-defun)
12815 (octave-function-header-regexp): Adjust regexps accordingly.
12816 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12817
cd22b309
JB
128182011-04-25 Juanma Barranquero <lekktu@gmail.com>
12819
12820 * net/gnutls.el (gnutls-errorp): Declare before first use.
12821
8b492194
TZ
128222011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12823
12824 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12825 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12826 default trustfile exists before going to use it. Add missing
5a5fa834 12827 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12828 Reported by Claudio Bley <claudio.bley@gmail.com>.
12829 (open-gnutls-stream): Add usage example.
12830
12831 * net/network-stream.el (network-stream-open-starttls): Give host
12832 parameter to `gnutls-negotiate'.
12833 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12834 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12835
841a1577 128362011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12837
cd22b309
JB
12838 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12839 Use correct match group (bug#8438).
05842630 12840
3ba7869c
CY
128412011-04-24 Chong Yidong <cyd@stupidchicken.com>
12842
512e3ae1
CY
12843 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12844 (package-menu--generate): New arg specifying packages to show.
12845 (package-menu-refresh, package-menu-execute, list-packages):
12846 Callers changed.
12847 (package-show-package-list): New function, replacing deleted
12848 package--list-packages (renamed because it is non-internal).
12849
12850 * finder.el (finder-list-matches): Use package-show-package-list
12851 instead of deleted package--list-packages.
12852
e92f3bd3
SM
12853 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12854 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12855 (vc-annotate-mode-map): Bind it to RET.
12856
7031be6d
UR
128572011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12858
12859 * progmodes/etags.el (next-file): Don't use set-buffer to change
12860 buffers (Bug#8478).
12861
4ef177aa
CY
128622011-04-24 Chong Yidong <cyd@stupidchicken.com>
12863
c8d173eb
CY
12864 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12865
4ef177aa
CY
12866 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12867 (apropos-accumulator): Doc fix.
12868 (apropos-function, apropos-macro, apropos-command)
12869 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12870 (apropos-plist): Add face property.
12871 (apropos-symbols-internal): Fix indentation.
12872 (apropos-print): Simplify help, and recognize apropos-multi-type.
12873 (apropos-print-doc): Use button-type-get to extract the button's
12874 face property. Fill docstring (Bug#8352).
12875
4ffd0d6b 128762011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12877
12878 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12879
c6c32125 12880 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12881 (mpuz-mode-map): Use mapc.
c6c32125
JB
12882 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12883 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12884 Fix typos in docstrings.
12885
58d468b4
JB
12886 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12887 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12888
6470c3c6
JB
12889 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12890
4ffd0d6b 128912011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12892
12893 * minibuffer.el (completion--do-completion): Avoid the "Next char
12894 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12895
3ad8bad0
CY
12896 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12897 mouse-2 into unread-command-events, it is interpreted correctly.
12898
71d73c9c 12899 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12900 (image-toggle-display): Doc fix.
71d73c9c 12901
841a1577 129022011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12903
4ffd0d6b
GM
12904 * textmodes/page.el (what-page): Use line-number-at-pos to
12905 calculate line number (Bug#6825).
6e1dbaa9 12906
c2fb1b60
JB
129072011-04-22 Juanma Barranquero <lekktu@gmail.com>
12908
12909 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12910 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12911 Pass argument NO-DEFAULT to `find-tag-interactive'.
12912
e02f48d7
JB
129132011-04-22 Juanma Barranquero <lekktu@gmail.com>
12914
12915 Lexical-binding cleanup.
12916
12917 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12918 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12919 * progmodes/ada-prj.el (ada-prj-initialize-values)
12920 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12921 (ada-prj-show-value):
12922 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12923 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12924 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12925 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12926 * progmodes/bug-reference.el (bug-reference-push-button):
12927 * progmodes/fortran.el (fortran-line-length):
12928 * progmodes/glasses.el (glasses-change):
12929 * progmodes/octave-mod.el (octave-fill-paragraph):
12930 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12931 (python-pdbtrack-grub-for-buffer, python-sentinel):
12932 * progmodes/sql.el (sql-save-connection):
12933 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12934 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12935 Mark unused parameters.
12936
12937 * progmodes/compile.el (compilation--flush-directory-cache)
12938 (compilation--flush-parse, compile-internal): Mark unused parameters.
12939 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12940 (compilation-next-error-function): Remove unused variable `timestamp'.
12941
12942 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12943 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12944
12945 * progmodes/dcl-mode.el (dcl-end-of-command):
12946 Remove unused variable `start'.
12947 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12948 (dcl-option-value-basic, dcl-option-value-offset)
12949 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12950 Mark unused parameters.
12951 (dcl-save-local-variable): Remove unused variable `val'.
12952 (mode): Declare.
12953
12954 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12955 Mark unused parameters.
12956 (delphi-ignore-changes): Move before first use.
12957 (delphi-charset-token-at): Remove unused variable `start'.
12958 (delphi-else-start): Remove unused variable `if-count'.
12959 (delphi-comment-block-start, delphi-comment-block-end):
12960 Remove unused variable `kind'.
12961 (delphi-indent-line): Remove unused variable `new-point'.
12962
12963 * progmodes/ebrowse.el (ebrowse-files-list)
12964 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12965 Mark unused parameters. Don't quote `lambda'.
12966 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12967 Don't quote `lambda'.
12968 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12969 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12970 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12971 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12972 Use `ignore-errors'.
12973 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12974 (ebrowse-view/find-file-and-search-pattern)
12975 (ebrowse-view/find-member-declaration/definition):
12976 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12977 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12978 Rename parameter PREFIX-ARG to PREFIX.
12979 (ebrowse-tags-read-name): Remove unused variables `start' and
12980 `member-info'.
12981 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12982 to `tags-file'.
12983
12984 * progmodes/etags.el (local-find-tag-hook): Declare.
12985 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12986 Mark unused parameters.
12987
12988 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12989 (executable-interpret): Mark unused parameter.
12990
12991 * progmodes/flymake.el (flymake-process-sentinel)
12992 (flymake-after-change-function)
12993 (flymake-create-temp-with-folder-structure)
12994 (flymake-get-include-dirs-dot): Mark unused parameters.
12995 (flymake-safe-delete-directory): Remove unused variable `err'.
12996
12997 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12998 (speedbar-timer-fn, speedbar-line-text)
12999 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13000 (speedbar-center-buffer-smartly): Declare functions.
13001 (gdb-find-watch-expression): Remove unused variable `array'.
13002 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13003 (gdb-starting): Mark unused parameters.
13004 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13005 (gdb-table-string): Remove unused variable `res'.
13006 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13007 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13008 (gdb-display-buffer): Remove unused variable `cur-size'.
13009
13010 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13011 allow lexical-binding compilation.
13012 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13013 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13014 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13015 Mark unused parameters.
13016 (gud-gdb-marker-filter): Remove unused variable `match'.
13017 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13018 lambda expressions and funcall them, instead of using `fset'.
13019
13020 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13021 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13022
13023 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13024 variable `header-beg'; use `let'.
13025
13026 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13027 `restart', `last-sexp' and `at-do'.
13028
13029 * progmodes/js.el (js--debug): Mark unused parameter.
13030 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13031 (js--splice-into-items): Remove unused variable `item'.
13032 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13033
13034 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13035 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13036 (makefile-complete): Remove unused variable `try'.
13037 (makefile-fill-paragraph, makefile-match-function-end):
13038 Mark unused parameters.
13039
13040 * progmodes/octave-inf.el (inferior-octave-complete):
13041 Remove unused variable `proc'.
13042 (inferior-octave-output-digest): Mark unused parameter.
13043
13044 * progmodes/perl-mode.el (perl-calculate-indent):
13045 Remove unused variable `err'.
13046
13047 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13048 (prolog-indent-line): Mark unused parameters.
13049 (prolog-indent-line): Remove unused variable `beg'.
13050
13051 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13052 (reporter-dont-compact-list): Declare.
13053
13054 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13055 Remove unused variable `char'.
13056 (sh-debug): Mark unused parameter.
13057 (sh-get-indent-info): Remove unused variable `start'.
13058 (sh-calculate-indent): Remove unused variable `var'.
13059
13060 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13061 (simula-electric-keyword): Remove unused variable `null'.
13062 (simula-search-backward, simula-search-forward): Remove unused
13063 variables `begin' and `end'.
13064
13065 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13066 Remove unused variable `pos'.
13067 (vera-electric-tab, vera-comment-uncomment-region):
13068 Mark unused parameters.
13069 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13070
7ede3b65
CY
130712011-04-22 Chong Yidong <cyd@stupidchicken.com>
13072
13073 * emacs-lisp/package.el (package--builtins, package-alist)
13074 (package-load-descriptor, package-built-in-p, package-activate)
13075 (define-package, package-installed-p)
13076 (package-compute-transaction, package-buffer-info)
13077 (package--push): Doc fix. Distinguish more clearly between
13078 version strings and version lists.
13079
121656e9
JB
130802011-04-21 Juanma Barranquero <lekktu@gmail.com>
13081
13082 Lexical-binding cleanup.
13083
13084 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13085 (5x5-make-mutate-best):
13086 * play/fortune.el (fortune-in-buffer):
13087 * play/gomoku.el (gomoku-init-display):
13088 * play/solitaire.el (solitaire, solitaire-do-check):
13089 * play/tetris.el (tetris-default-update-speed-function):
13090 Mark unused parameters.
13091
13092 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13093 (bubbles--shift): Remove unused variable `char-org'.
13094 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13095 (bubbles--show-images): Remove unused variable `char'.
13096
13097 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13098 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13099 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13100 (decipher-analyze-buffer): Use ?\s.
13101 (decipher-make-checkpoint): Remove unused variable `mapping'.
13102
13103 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13104
13105 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13106 Remove unused variable `result'; use `let'.
13107
13108 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13109 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13110 (gametree-children-shown-p, gametree-compute-reduced-score):
13111 Use `ignore-errors'.
13112
13113 * play/handwrite.el (ps-lpr-switches): Declare.
13114 (handwrite): Remove unused variables `pmin' and `lastp'.
13115
13116 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13117
13118 * play/landmark.el (landmark-init-display)
13119 (landmark-update-naught-weights): Mark unused parameters.
13120 (landmark-y): Remove unused variable `noise'. Simplify.
13121 (landmark-human-plays): Remove unused variable `score'.
13122
13123 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13124 (mpuz-try-proposal): Remove unused variable `game'.
13125
13126 * play/zone.el (life-patterns): Declare.
13127
80f499c7
JB
131282011-04-20 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * vc/vc.el (ediff-vc-internal): Declare function.
13131
024ff170
SM
131322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13133
c0a193ea
SM
13134 * shell.el: Use lexical-binding and std completion UI.
13135 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13136 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13137 comint-preoutput-filter-functions rather than on
13138 comint-output-filter-functions.
13139 (shell-command-completion, shell--command-completion-data)
13140 (shell-filename-completion, shell-environment-variable-completion)
13141 (shell-c-a-p-replace-by-expanded-directory): New functions.
13142 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13143 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13144 (shell-dynamic-complete-environment-variable): Use them.
13145 (shell-dynamic-complete-as-environment-variable)
13146 (shell-dynamic-complete-as-command): Remove.
13147 (shell-match-partial-variable): Match past point.
13148 * comint.el: Clean up use of completion-at-point-functions.
13149 (comint-completion-at-point): New function.
13150 (comint-mode): Use it completion-at-point-functions.
13151 (comint-dynamic-complete): Make it obsolete.
13152 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13153 (comint-c-a-p-replace-by-expanded-history): New function.
13154 (comint-dynamic-complete-functions)
13155 (comint-replace-by-expanded-history): Use it.
13156 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13157 termination strings. Try harder to avoid second try-completion.
13158 (completion-in-region-mode-map): Disable bindings that don't work yet.
13159
2dbaa080
SM
13160 * comint.el: Use lexical-binding. Require CL.
13161 (comint-dynamic-complete-functions): Use comint-filename-completion.
13162 (comint-completion-addsuffix): Tweak custom type.
13163 (comint-filename-completion, comint--common-suffix)
13164 (comint--common-quoted-suffix, comint--table-subvert)
13165 (comint--complete-file-name-data): New functions.
13166 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13167 (comint-dynamic-list-filename-completions): Use them.
13168 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13169
2dbaa080
SM
13170 * minibuffer.el (completion-in-region-mode):
13171 Keep completion-in-region-mode--predicate global.
13172 (completion-in-region--postch):
13173 Assume completion-in-region-mode--predicate is not null.
13174
c79a6f38
SM
13175 * progmodes/flymake.el (flymake-start-syntax-check-process):
13176 Obey `dir'. Simplify.
13177
024ff170
SM
13178 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13179 we're in VC after all.
13180
1c6c854e
CS
131812011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13182
13183 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13184 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13185 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13186
bed7f140
SM
131872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13188
332e62ab
SM
13189 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13190 add sanity check.
13191
bed7f140
SM
13192 * obsolete/erc-hecomplete.el: Make obsolete.
13193 * obsolete/: Standardize obsolescence info in the header.
13194
f195c582
GM
131952011-04-20 Glenn Morris <rgm@gnu.org>
13196
13197 * calendar/solar.el (solar-horizontal-coordinates):
13198 Use the longitude argument rather than `calendar-longitude'.
13199 (solar-date-next-longitude): Remove unused locals.
13200
cb79b8c0
VJL
132012011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13202
13203 * whitespace.el: New version 13.2.1.
13204
132052011-04-20 felix <EmacsWiki> (tiny change)
13206
d8e4b68b 13207 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13208 switching between major modes on a file.
13209
602ea69d
SM
132102011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13213 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13214 multi-line comments as well.
13215
06b60517
JB
132162011-04-19 Juanma Barranquero <lekktu@gmail.com>
13217
13218 Lexical-binding cleanup.
13219
13220 * arc-mode.el (archive-mode-revert):
13221 * cmuscheme.el (scheme-interactively-start-process):
13222 * custom.el (custom-initialize-delay):
13223 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13224 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13225 * emacs-lock.el (emacs-lock-clear-sentinel):
13226 * ezimage.el (defezimage):
13227 * follow.el (follow-avoid-tail-recenter):
13228 * fringe.el (set-fringe-mode-1):
13229 * generic-x.el (bat-generic-mode-compile):
13230 * help-mode.el (help-info-variable, help-do-xref)
13231 (help-mode-revert-buffer):
13232 * help.el (view-emacs-todo):
13233 * iswitchb.el (iswitchb-completion-help):
13234 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13235 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13236 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13237 * locate.el (locate-update):
13238 * longlines.el (longlines-encode-region)
13239 (longlines-after-change-function):
13240 * outline.el (outline-isearch-open-invisible):
13241 * ps-def.el (declare-function, charset-dimension, char-width)
13242 (encode-char):
13243 * ps-mule.el (ps-mule-plot-string):
13244 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13245 (recentf-edit-list-select, recentf-edit-list-validate)
13246 (recentf-open-files-action):
13247 * rect.el (delete-whitespace-rectangle-line)
13248 (rectangle-number-line-callback):
13249 * register.el (window-configuration-to-register)
13250 (frame-configuration-to-register):
13251 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13252 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13253 (xselect-convert-to-targets, xselect-convert-to-delete)
13254 (xselect-convert-to-filename, xselect-convert-to-charpos)
13255 (xselect-convert-to-lineno, xselect-convert-to-colno)
13256 (xselect-convert-to-os, xselect-convert-to-host)
13257 (xselect-convert-to-user, xselect-convert-to-class)
13258 (xselect-convert-to-name, xselect-convert-to-integer)
13259 (xselect-convert-to-atom, xselect-convert-to-identity):
13260 * subr.el (declare, ignore, process-kill-without-query)
13261 (text-clone-maintain):
13262 * terminal.el (te-get-char, te-tic-sentinel):
13263 * tool-bar.el (tool-bar-make-keymap):
13264 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13265 * type-break.el (type-break-mode, type-break-noninteractive-query):
13266 * view.el (View-back-to-mark):
13267 * wid-browse.el (widget-browse-action, widget-browse-widget)
13268 (widget-browse-widgets, widget-browse-sexp):
13269 * widget.el (define-widget-keywords):
13270 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13271 Mark unused parameters.
13272
13273 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13274 (align-areas): Remove unused variable `look'.
13275 (align-region): Remove unused variables `real-end' and `pos-list'.
13276
13277 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13278
13279 * bindings.el (mode-line-modified, mode-line-remote):
13280 Mark unused parameters.
13281 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13282
13283 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13284 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13285
13286 * comint.el (comint-history-isearch-pop-state)
13287 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13288 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13289 (comint-substitute-in-file-name): Doc fix.
13290
13291 * completion.el (cmpl-statistics-block): Mark unused parameter.
13292 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13293 (save-completions-to-file, load-completions-from-file):
13294 Remove unused local variable `e'.
13295
13296 * composite.el (compose-chars): Remove unused variable `len'.
13297 (lgstring-insert-glyph): Remove unused variable `g'.
13298 (compose-glyph-string): Remove unused variables `ascent',
13299 `descent', `lbearing' and `rbearing'.
13300 (compose-glyph-string-relative): Remove unused variables
13301 `lbearing', `rbearing' and `wadjust'.
13302 (compose-gstring-for-graphic): Remove unused variables `header',
13303 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13304 (compose-gstring-for-terminal): Remove unused variables `header'
13305 and `nchars'. Use `let', not `let*'.
13306
13307 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13308 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13309 (Custom-buffer-done, custom-buffer-create-internal)
13310 (custom-browse-visibility-action, custom-browse-group-tag-action)
13311 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13312 (widget-magic-mouse-down-action, custom-toggle-parent)
13313 (custom-add-parent-links, custom-toggle-hide-variable)
13314 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13315 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13316 (custom-face-menu-create, custom-variable-menu-create, get)
13317 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13318 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13319 (customize-apropos): Remove unused variable `tests'.
13320 (custom-group-value-create): Remove unused variable `hidden-p'.
13321 (sort-fold-case): Declare.
13322
13323 * cus-theme.el (custom-reset-standard-faces-list)
13324 (custom-reset-standard-variables-list): Declare.
13325 (customize-create-theme, custom-theme-revert, custom-theme-write)
13326 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13327 Mark unused parameters.
13328
13329 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13330
13331 * delim-col.el (delimit-columns-max): Move defvar before first use.
13332
13333 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13334 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13335
13336 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13337 (auto-insert): Declare.
13338 (desktop-restore-file-buffer): Rename desktop-* parameters;
13339 mark unused ones.
13340 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13341 (desktop-buffer): Rename desktop-* parameters.
13342
13343 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13344 (dframe-reposition-frame-xemacs, dframe-help-echo)
13345 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13346 Mark unused parameters.
13347
13348 * dired-aux.el (backup-extract-version-start, overwrite-query)
13349 (overwrite-backup-query, rename-regexp-query)
13350 (rename-non-directory-query): Declare.
13351 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13352 (dired-add-entry): Remove unused variable `orig-file-name'.
13353 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13354 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13355 `dired-copy-preserve-time' directly.
13356 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13357 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13358
13359 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13360 (dired-virtual-revert, dired-make-relative-symlink):
13361 Mark unused parameters.
13362 (manual-program): Declare.
13363 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13364 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13365 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13366
13367 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13368
13369 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13370
13371 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13372 Declare.
13373
13374 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13375
13376 * electric.el (Electric-command-loop): Rename parameter
13377 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13378
13379 * expand.el (expand-in-literal): Remove unused variable `here'.
13380
13381 * facemenu.el (facemenu-add-new-color):
13382 Remove unused variable `docstring'.
13383
13384 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13385 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13386 (face-attr-construct): Mark unused parameter. Doc fix.
13387 (read-color): Remove unused variable `hex-string'.
13388
13389 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13390 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13391 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13392 (display-buffer-other-frame): Remove unused variable `old-window'.
13393 (kill-buffer-hook): Declare.
13394 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13395 Mark unused parameters.
13396 (after-find-file): Pass 1 to `auto-save-mode', not t.
13397
13398 * files-x.el (auto-insert): Declare.
13399 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13400
13401 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13402 variable `buf'. Mark unused parameter.
06b60517
JB
13403 (find-lisp-insert-directory): Mark unused parameter.
13404
13405 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13406 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13407 (format-common-tail): Remove, unused.
13408 (format-deannotate-region): Remove unused variable `loc'.
13409 (format-annotate-region): Remove unused variable `p'.
13410 (format-annotate-single-property-change): Remove unused variables
13411 `default' and `tail'.
13412
13413 * forms.el (read-file-filter): Declare.
13414 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13415
13416 * frame.el (frame-creation-function-alist): Mark unused parameter.
13417 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13418
13419 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13420 Remove unused parameters.
13421 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13422 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13423
13424 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13425 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13426 (hfy-prepare-tag-map): Mark unused parameters.
13427 (htmlfontify-buffer): Use `called-interactively-p'.
13428
13429 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13430 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13431 (ibuffer-do-occur): Mark unused parameters.
13432 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13433 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13434
13435 * ibuffer.el: Don't quote `lambda'.
13436 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13437 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13438 Mark unused parameters.
13439
13440 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13441 (ido-completing-read): Mark unused parameters.
13442 (ido-copy-current-word): Mark unused parameters;
13443 remove unused variable `name'.
13444 (ido-sort-merged-list): Remove unused parameter `dirs'.
13445
13446 * ielm.el (ielm-input-sender): Mark unused parameter.
13447 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13448 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13449 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13450 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13451 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13452
13453 * image-dired.el (image-dired-display-thumbs): Remove unused
13454 variables `curr-file' and `count'.
13455 (image-dired-remove-tag): Remove unused variable `start'.
13456 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13457 variable `curr-file'
13458 (image-dired-rotate-original): Remove unused variable `temp-file'.
13459 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13460 Remove unused variable `file'.
13461 (image-dired-gallery-generate): Remove unused variable `curr'.
13462 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13463
13464 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13465
13466 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13467
13468 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13469
13470 * isearch.el (minibuffer-history-symbol): Declare.
13471 (isearch-edit-string): Remove unused variable `err'.
13472 (isearch-message-prefix, isearch-message-suffix):
13473 Mark unused parameters.
13474
13475 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13476
13477 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13478
13479 * makesum.el (double-column): Remove unused variable `cnt'.
13480
13481 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13482 (ido-ignore-item-temp-list): Declare.
13483
13484 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13485 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13486 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13487 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13488 `mouse-col-delta'.
13489
13490 * mouse-sel.el (mouse-extend-internal):
13491 Remove unused variable `orig-window-frame'.
13492
13493 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13494 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13495 Move declarations before first use.
13496 (pcomplete-opt): Mark unused parameters; doc fix.
13497
13498 * proced.el (proced-revert): Mark unused parameter.
13499 (proced-send-signal): Remove unused variable `err'.
13500
13501 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13502 Rename parameter PREFIX-ARG to ARG.
13503 (ps-basic-plot-string, ps-basic-plot-whitespace):
13504 Mark unused parameters.
13505
13506 * replace.el (replace-count): Define.
13507 (occur-revert-function): Mark unused parameters.
13508 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13509 (isearch-case-fold-search, isearch-string): Declare.
13510 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13511 bind `case-fold-search'. Remove unused variables `beg' and `end',
13512 and simplify.
13513 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13514 COUNT and bind `replace-count'.
13515 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13516 to COUNT.
13517
13518 * savehist.el (print-readably, print-string-length): Declare.
13519
13520 * shadowfile.el (shadow-expand-cluster-in-file-name):
13521 Remove unused variable `cluster'.
13522 (shadow-copy-file): Remove unused variable `i'.
13523 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13524 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13525 (shadow-define-literal-group, shadow-define-regexp-group)
13526 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13527
13528 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13529 (shell): Use `called-interactively-p'.
13530 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13531
13532 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13533 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13534 (delete-backward-char): Remove unused variable `ocol'.
13535 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13536 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13537 (event-apply-hyper-modifier, event-apply-shift-modifier)
13538 (event-apply-control-modifier, event-apply-meta-modifier):
13539 Mark unused parameters.
13540 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13541 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13542
13543 * speedbar.el (speedbar-ignored-directory-expressions)
13544 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13545 (speedbar-find-file, speedbar-dir-follow)
13546 (speedbar-directory-buttons-follow, speedbar-tag-find)
13547 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13548 (speedbar-buffers-line-directory, speedbar-buffer-click):
13549 Mark unused parameters.
13550 (speedbar-tag-file): Remove unused variable `mode'.
13551 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13552
13553 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13554
13555 * talk.el (talk): Remove unused variable `display'.
13556
13557 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13558 (tar-write-region-annotate): Mark unused parameter.
13559
13560 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13561 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13562 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13563 warning by another.
13564
13565 * time-stamp.el (time-stamp-string-preprocess):
13566 Remove unused variable `require-padding'.
13567
13568 * tree-widget.el (widget-glyph-enable): Declare.
13569 (tree-widget-action): Mark unused parameter.
13570
13571 * w32-fns.el (x-get-selection): Mark unused parameter.
13572 (autoload-make-program, generated-autoload-file): Declare.
13573
13574 * wdired.el (wdired-revert): Mark unused parameters.
13575 (wdired-xcase-word): Remove unused variable `err'.
13576
13577 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13578 (whitespace-help-scroll): Remove unused variable `data-help'.
13579
13580 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13581 (widget-image-insert, widget-after-change, default)
13582 (widget-default-format-handler, widget-default-notify)
13583 (widget-default-prompt-value, widget-info-link-action)
13584 (widget-url-link-action, widget-function-link-action)
13585 (widget-variable-link-action, widget-file-link-action)
13586 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13587 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13588 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13589 (widget-insert-button-action, widget-delete-button-action, visibility)
13590 (widget-documentation-link-action, widget-documentation-string-action)
13591 (widget-const-prompt-value, widget-regexp-match, symbol)
13592 (widget-coding-system-prompt-value)
13593 (widget-key-sequence-value-to-external, sexp)
13594 (widget-sexp-value-to-internal, character, vector, cons)
13595 (widget-choice-prompt-value, widget-boolean-prompt-value)
13596 (widget-color--choose-action): Mark unused parameters.
13597 (widget-item-match-inline, widget-choice-match-inline)
13598 (widget-checklist-match, widget-checklist-match-inline)
13599 (widget-group-match): Rename parameter VALUES to VALS.
13600 (widget-field-value-set): Remove unused variable `size'.
13601 (widget-color-action): Remove unused variables `value' and `start'.
13602
13603 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13604 variable `dir'. Doc fix.
06b60517
JB
13605 (windmove-find-other-window): Don't pass it.
13606
13607 * window.el (count-windows): Mark unused parameter.
13608 (bw-adjust-window): Remove unused variable `err'.
13609
13610 * woman.el (woman-file-name): Remove unused variable `default'.
13611 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13612 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13613 (global-font-lock-mode): Declare.
13614 (woman-decode-region): Mark unused parameter.
13615 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13616
13617 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13618 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13619 (x-dnd-handle-moz-url): Remove unused variable `title'.
13620 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13621
13622 * xml.el (xml-parse-tag, xml-parse-attlist):
13623 Remove unused variable `pos'.
13624
bc4f7f3d
GM
136252011-04-19 Glenn Morris <rgm@gnu.org>
13626
13627 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13628 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13629 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13630 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13631 * calendar/cal-html.el (cal-html-insert-minical):
13632 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13633 (calendar-mark-date-pattern):
13634 Prefix "unused" locals.
13635
13636 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13637 optional argument `style'.
13638
13639 * calendar/appt.el (appt-make-list):
13640 * calendar/cal-china.el (calendar-chinese-date-string):
13641 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13642 (diary-hebrew-yahrzeit):
13643 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13644 * calendar/calendar.el (calendar-generate-window):
13645 * calendar/time-date.el (time-to-days):
13646 Remove unused local variables.
13647
16a43933
CY
136482011-04-18 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13651 glyphless-char-display table.
13652 (tabulated-list-glyphless-char-display): New var.
13653
7eed1860
SS
136542011-04-18 Sam Steingold <sds@gnu.org>
13655
13656 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13657 to acknowledgments.
13658
4d2d1ccd
GM
136592011-04-17 Glenn Morris <rgm@gnu.org>
13660
13661 * calendar/diary-lib.el (diary-sexp-entry):
13662 * calendar/holidays.el (holiday-sexp):
13663 Set debug-on-error rather than the removed stack-trace-on-error.
13664
239da61d
GM
136652011-04-16 Glenn Morris <rgm@gnu.org>
13666
13667 * progmodes/f90.el: Use lexical-binding.
13668 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13669
8b05752a
SM
136702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13671
daca8ba5
SM
13672 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13673 (mail-mode): Setup mailalias completion here instead.
13674 * mail/mailalias.el: Use lexical-binding.
13675 (pattern, mailalias-done): Declare dynamic.
13676 (mail-completion-at-point-function): New function, from mail-complete.
13677 (mail-complete): Use it.
13678 (mail-completion-expand): New function.
13679 (mail-get-names): Use it.
13680 (mail-directory, mail-directory-process, mail-directory-stream):
13681 Don't use `pattern' for lexically bound arg.
13682
6f542485
SM
13683 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13684
037e7c3f
SM
13685 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13686 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13687 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13688
8b05752a
SM
13689 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13690 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13691 (byte-interactive-p): Define them again, for use when inlining
13692 old code.
13693
49093f60
JB
136942011-04-15 Juanma Barranquero <lekktu@gmail.com>
13695
13696 * loadup.el: Use `string-to-number', not `string-to-int'.
13697
b5b8e7de
SM
136982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13701 gud-gdb-complete-command.
13702 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13703 (gud-gdb-completion-at-point): New function.
13704 (gud-gdb-completions): Remove.
13705
f42efeb5
MA
137062011-04-14 Michael Albinus <michael.albinus@gmx.de>
13707
49093f60
JB
13708 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13709 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13710 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13711 whether `executable-find' is bound.
f42efeb5
MA
13712
13713 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13714
e240cc21
SM
137152011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * minibuffer.el (completion-in-region-mode-predicate)
13718 (completion-in-region-mode--predicate): New vars.
13719 (completion-in-region, completion-in-region--postch)
13720 (completion-in-region-mode): Use them.
13721 (completion--capf-wrapper): Also return the hook function.
13722 (completion-at-point, completion-help-at-point):
13723 Adjust and provide a predicate.
c2bd2ab0
SM
13724
13725 Preserve arg names for advice of subr and lexical functions (bug#8457).
13726 * help-fns.el (help-function-arglist): Consolidate the subr and
13727 new-byte-code cases. Add argument `preserve-names' to extract names
13728 from the docstring when needed.
13729 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13730 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13731 (ad-arglist): Use help-function-arglist's new arg.
13732 (ad-definition-type): Use cond.
13733
c183f693
JB
137342011-04-13 Juanma Barranquero <lekktu@gmail.com>
13735
06641a47
JB
13736 * autorevert.el (auto-revert-handler):
13737 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13738 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13739 Don't quote lambda.
13740
c183f693
JB
13741 * image-mode.el (image-transform-set-scale):
13742 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13743
1e3b6001
G
137442011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13745
13746 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13747 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13748 Upgrades via gnutls-cli are too slow to be done opportunistically.
13749
2d6af8dd
JB
137502011-04-12 Juanma Barranquero <lekktu@gmail.com>
13751
13752 * dframe.el (dframe-current-frame): Remove spurious quote.
13753
c0749a51
GM
137542011-04-12 Glenn Morris <rgm@gnu.org>
13755
088d0d61
GM
13756 * calendar/cal-tex.el (cal-tex-end-document):
13757 Try to automatically use latin1 input if needed.
13758
c0749a51
GM
13759 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13760 Don't try to cons a mark onto an empty element.
13761
5c90fde0
LL
137622011-04-11 Leo Liu <sdl.web@gmail.com>
13763
13764 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13765 buffers.
13766 (ido-kill-buffer-at-head): Support killing virtual buffers.
13767
369e974d
CY
137682011-04-10 Chong Yidong <cyd@stupidchicken.com>
13769
13770 * minibuffer.el (completion-show-inline-help): New var.
13771 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13772 (minibuffer-force-complete, minibuffer-complete-word):
13773 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13774
13775 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13776 to avoid interference from inline help (Bug#5849).
13777
37f1c930
LL
137782011-04-10 Leo Liu <sdl.web@gmail.com>
13779
099c39a4
JB
13780 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13781 Fix typo.
37f1c930 13782
a32d4040
CY
137832011-04-09 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * image-mode.el (image-toggle-display-image): Signal an error if
13786 not in Image mode.
13787 (image-transform-mode, image-transform-resize)
13788 (image-transform-set-rotation): Doc fix.
daca8ba5 13789 (image-transform-set-resize): Delete.
a32d4040
CY
13790 (image-transform-set-scale, image-transform-fit-to-height)
13791 (image-transform-fit-to-width): Handle image-toggle-display-image
13792 and image-transform-resize directly.
13793
099c39a4 137942011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13795
13796 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13797 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13798 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13799 (doc-view-mode-map): Add bindings for the new functions.
13800
099c39a4 138012011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13802
4d61f28d 13803 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13804 Fix typo in docstring.
13805
3726838a
EZ
138062011-04-08 Eli Zaretskii <eliz@gnu.org>
13807
04f33f1e
EZ
13808 * files.el (file-size-human-readable): Produce one digit after
13809 decimal, like "ls -lh" does.
13810
13811 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13812 the file size representation.
13813
3726838a
EZ
13814 * simple.el (list-processes): If async subprocesses are not
13815 available, error out with a clear error message.
13816
cbb59342
CY
138172011-04-08 Chong Yidong <cyd@stupidchicken.com>
13818
13819 * help.el (help-form-show): New function, to be called from C.
13820 Put help-form output in a buffer named differently than *Help*.
13821
e3971c44
EZ
138222011-04-08 Eli Zaretskii <eliz@gnu.org>
13823
13824 * files.el (file-size-human-readable): New function.
13825
13826 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13827 computing the representation inline. Don't require `cl'.
13828
12544bbe
GM
138292011-04-08 Glenn Morris <rgm@gnu.org>
13830
a1de6c6a
GM
13831 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13832
3c4671f4
GM
13833 * net/browse-url.el (browse-url-firefox):
13834 Test system-type, not system-configuration.
13835
b605679c
GM
13836 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13837 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13838 Use log-edit-empty-buffer-p. (Bug#7598)
13839
56442f0c
GM
13840 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13841 (rlogin-mode-map): Initialize in the defvar.
13842 (rlogin): Use ignore-errors.
13843
12544bbe
GM
13844 * replace.el (occur-mode-map): Some fixes for menu items.
13845
eb237b0f
AH
138462011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13847
13848 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13849
7d668f2c
CY
138502011-04-06 Chong Yidong <cyd@stupidchicken.com>
13851
e67a13ab
CY
13852 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13853 issuing unused warnings.
13854
13855 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13856 macro directly.
13857
7d668f2c
CY
13858 * simple.el: Lisp reimplement of list-processes. Based on an
13859 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13860 (process-menu-mode): New major mode.
13861 (list-processes--refresh, list-processes):
13862 (process-menu-visit-buffer): New functions.
13863
13864 * files.el (save-buffers-kill-emacs): Don't assume any return
13865 value of list-processes, which is undocumented anyway.
13866
a83ec3c9
CY
138672011-04-06 Chong Yidong <cyd@stupidchicken.com>
13868
13869 * emacs-lisp/tabulated-list.el: New file.
13870
e91a96fe
CY
13871 * emacs-lisp/package.el: Use Tabulated List mode.
13872 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13873 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13874 table format using Tabulated List mode variables.
13875 (package--push): New macro, replacing package-list-maybe-add.
13876 (package-menu--generate): Use package--push. Renamed from
13877 package--generate-package-list.
13878 (package-menu-refresh, list-packages): Use it.
daca8ba5 13879 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13880 Return insertion data instead of inserting it directly.
099c39a4
JB
13881 (package-menu-describe-package, package-menu-execute):
13882 Use tabulated-list-get-id.
e91a96fe
CY
13883 (package-menu-mark-delete, package-menu-mark-install)
13884 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13885 (package-menu-mark-obsolete-for-deletion):
13886 Use tabulated-list-put-tag.
e91a96fe
CY
13887 (package--list-packages, package-menu-revert)
13888 (package-menu-get-package, package-menu-get-version)
13889 (package-menu-sort-by-column): Functions deleted.
13890 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13891 (package-menu--status-predicate, package-menu--version-predicate)
13892 (package-menu--name-predicate)
13893 (package-menu--description-predicate): Handle arguments in the
13894 Tabulated List format.
13895 (package-list-packages-no-fetch): Call list-packages.
13896
3e214b50
JB
138972011-04-06 Juanma Barranquero <lekktu@gmail.com>
13898
13899 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13900 (after-find-file): Don't bind it.
3e214b50
JB
13901 (revert-buffer-in-progress-p): New variable.
13902 (revert-buffer): Bind it.
13903 Pass nil for `after-find-file-from-revert-buffer'.
13904
13905 * saveplace.el (save-place-find-file-hook): Use new variable
13906 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13907
3f0f1700
GM
139082011-04-06 Glenn Morris <rgm@gnu.org>
13909
c0274801
GM
13910 * Makefile.in (AUTOGEN_VCS): New variable.
13911 (autoloads): Use $AUTOGEN_VCS.
13912
3f0f1700
GM
13913 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13914 * calendar/calendar.el (calendar-mode-map):
13915 Check for toolkit scroll bars. (Bug#8305)
13916
41ea9e48
CY
139172011-04-05 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * minibuffer.el (completion-in-region--postch)
13920 (completion-in-region-mode): Remove unnecessary messages.
13921
6194c800
JB
139222011-04-05 Juanma Barranquero <lekktu@gmail.com>
13923
33256f14
JB
13924 * font-lock.el (font-lock-refresh-defaults):
13925 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13926 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13927
6194c800
JB
13928 * info.el (Info-directory-list, Info-read-node-name-2)
13929 (Info-split-parameter-string): Doc fixes.
13930 (Info-virtual-nodes): Reflow docstring.
13931 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13932 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13933 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13934 Fix typos in docstrings.
13935 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13936 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13937 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13938 (Info-restore-desktop-buffer): Mark unused parameters.
13939 (Info-directory-find-file, Info-directory-find-node)
13940 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13941 (Info-virtual-index-find-node, Info-apropos-find-file)
13942 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13943 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13944 (Info-virtual-index): Remove unused local variable `nodename'.
13945
b87a8200 139462011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13947
b87a8200
DD
13948 * net/rcirc.el: Update my e-mail address.
13949 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13950
3b2ff876
CY
139512011-04-05 Chong Yidong <cyd@stupidchicken.com>
13952
13953 * startup.el (command-line): Save the cursor's theme-face
13954 directly, instead of using face-override-spec.
13955
13956 * custom.el (load-theme): Minor optimization in assigning faces.
13957
8d17e7ca
JB
139582011-04-04 Juanma Barranquero <lekktu@gmail.com>
13959
13960 * help-fns.el (describe-variable): Complete all variables having
13961 documentation, including keywords.
13962 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13963
2fbc1934
JB
139642011-04-04 Juanma Barranquero <lekktu@gmail.com>
13965
13966 Convert to lexical-binding.
13967
13968 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13969 (bs--get-marked-string, bs--get-modified-string)
13970 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13971 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13972 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13973
13974 * ehelp.el (electric-help-execute-extended)
13975 (electric-help-ctrl-x-prefix):
13976 * hexl.el (hexl-revert-buffer-function):
13977 * linum.el (linum-after-change, linum-after-scroll):
13978 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13979
13980 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13981
74f50695
DU
139822011-04-04 Daiki Ueno <ueno@unixuser.org>
13983
13984 * epa-dired.el:
13985 * epa-mail.el:
13986 * epa-hook.el:
13987 * epa-file.el:
13988 * epa.el:
13989 * epg.el: Use lexical binding.
13990
c11325f7
CY
139912011-04-03 Chong Yidong <cyd@stupidchicken.com>
13992
0d9e9a12
CY
13993 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13994
c11325f7 13995 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13996 dictionary case for flyspell-mark-duplications-exceptions.
13997 Use regexp matching for languages.
c11325f7
CY
13998 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13999 default dictionary (Bug#7926).
14000
da91b5f2
CY
140012011-04-02 Chong Yidong <cyd@stupidchicken.com>
14002
099c39a4
JB
14003 * emacs-lisp/package.el (package--with-work-buffer):
14004 Recognize https URLs.
da91b5f2 14005
099c39a4
JB
14006 * net/network-stream.el: Move from gnus/proto-stream.el.
14007 Change prefix to network-stream throughout.
da91b5f2
CY
14008 (open-protocol-stream): Merge into open-network-stream, leaving
14009 open-protocol-stream as an alias. Handle nil BUFFER args.
14010
14011 * subr.el (open-network-stream): Move to net/network-stream.el.
14012
afa8e9f6
GM
140132011-04-02 Glenn Morris <rgm@gnu.org>
14014
1d2e369d
GM
14015 * find-dired.el (find-exec-terminator): New option.
14016 (find-ls-option): Test for -ls support.
14017 (find-ls-subdir-switches): Test for -b in find-ls-option.
14018 (find-dired, find-grep-dired): Doc fixes.
14019 (find-dired): Use find-exec-terminator.
14020
8abb7da8 14021 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14022 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14023 (find-name-arg): Remove purecopy.
8abb7da8 14024
f3ca7378
GM
14025 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14026 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14027 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14028 accordingly. Don't add the null-device if not needed.
14029
afa8e9f6
GM
14030 * files.el (save-some-buffers): Doc fix.
14031
35eae264
EZ
140322011-04-02 Eli Zaretskii <eliz@gnu.org>
14033
14034 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14035
26b51db5
JB
140362011-04-01 Juanma Barranquero <lekktu@gmail.com>
14037
14038 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14039 Use `dolist' rather than `mapcar'.
14040
7200d79c
SM
140412011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14042
03408648 14043 Add lexical binding.
7200d79c 14044
03408648
SM
14045 * subr.el (apply-partially): Use new closures rather than CL.
14046 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14047 (dolist, dotimes): Use slightly different expansion for lexical code.
14048 (functionp): Move to C.
14049 (letrec): New macro.
14050 (with-wrapper-hook): Use it and apply-partially instead of CL.
14051 (eval-after-load): Preserve lexical-binding.
14052 (save-window-excursion, with-output-to-temp-buffer): Turn them
14053 into macros.
7200d79c 14054
03408648
SM
14055 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14056
14057 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14058 than the arglist.
14059 (help-add-fundoc-usage): Don't add `Not documented'.
14060 (help-function-arglist): Handle closures, subroutines, and new
14061 byte-code-functions.
14062 (help-make-usage): Remove leading underscores.
14063 (describe-function-1): Handle closures.
14064 (describe-variable): Use special-variable-p for completion.
14065
14066 * files.el (lexical-binding): Declare safe.
f488fb65 14067
03408648
SM
14068 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14069 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14070 (pcase): Add `let' pattern.
14071 Change memoization so it actually works.
14072 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14073 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14074 <let>: New case.
f488fb65 14075
03408648
SM
14076 * emacs-lisp/macroexp.el: Use lexical binding.
14077 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14078 Don't convert ' to #' without checking that it's indeed quoting
14079 a lambda.
14080
14081 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14082 Use eval-sexp-add-defvars.
03408648
SM
14083 (eval-sexp-add-defvars): New fun.
14084
14085 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14086
14087 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14088 Don't autoload.
14089 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14090 than the internal `byte-compile-lambda'.
14091 (defmethod): Don't hide code under quotes.
14092 (eieio-defmethod): New `code' argument.
14093
14094 * emacs-lisp/eieio-comp.el: Remove.
14095
14096 * emacs-lisp/edebug.el (edebug-eval-defun)
14097 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14098 (edebug-toggle): Avoid `eval'.
14099
14100 * emacs-lisp/disass.el (disassemble-internal): Handle new
14101 `closure' objects.
14102 (disassemble-1): Handle new byte codes.
14103
14104 * emacs-lisp/cl.el (pushnew): Silence warning.
14105
14106 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14107 (cl-byte-compile-throw): Remove.
14108 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14109
14110 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14111 closures.
14112
14113 * emacs-lisp/cconv.el: New file.
14114
14115 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14116 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14117 (byte-compile-initial-macro-environment):
14118 Handle declare-function here.
14119 (byte-compile--lexical-environment): New var.
14120 (byte-stack-ref, byte-stack-set, byte-discardN)
14121 (byte-discardN-preserve-tos): New lap codes.
14122 (byte-interactive-p): Don't use any more.
14123 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14124 New macros.
14125 (byte-compile-lapcode): Use them and handle new lap codes.
14126 (byte-compile-obsolete): Remove.
14127 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14128 (byte-compile-arglist-warn): Check late def of inlinable funs.
14129 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14130 since they should have been expanded by now.
14131 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14132 (byte-compile-from-buffer): Remove unused second arg.
14133 (byte-compile-preprocess): New function.
14134 (byte-compile-toplevel-file-form): New function to distinguish
14135 file-form calls from outside from file-form calls from hunk-handlers.
14136 (byte-compile-file-form): Simplify.
14137 (byte-compile-file-form-defsubst): Remove.
14138 (byte-compile-file-form-defmumble): Simplify now that
14139 byte-compile-lambda always returns a byte-code-function.
14140 (byte-compile): Preprocess.
14141 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14142 Remove, not used any more.
14143 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14144 (byte-compile-make-args-desc): New funs.
14145 (byte-compile-lambda): Handle lexical functions. Always return
14146 a byte-code-function.
14147 (byte-compile-reserved-constants): New var, to make up room for
14148 closed-over variables.
14149 (byte-compile-constants-vector): Obey it.
14150 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14151 (byte-compile-macroexpand-declare-function): New function.
14152 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14153 byte-code-functions.
14154 (byte-compile-form): Check obsolescence here.
14155 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14156 (byte-compile-variable-ref): Remove.
14157 (byte-compile-dynamic-variable-op): New fun.
14158 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14159 (byte-compile-variable-set): New funs.
14160 (byte-compile-discard): Add 2 args.
14161 (byte-compile-stack-ref, byte-compile-stack-set)
14162 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14163 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14164 macroexpand-all instead.
14165 (byte-compile-quote-form): Remove.
14166 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14167 (byte-compile-bind, byte-compile-unbind): New funs.
14168 (byte-compile-let): Handle let* and lexical binding.
14169 (byte-compile-let*): Remove.
14170 (byte-compile-catch, byte-compile-unwind-protect)
14171 (byte-compile-track-mouse, byte-compile-condition-case):
14172 Handle a new :fun-body form, used for lexical scoping.
14173 (byte-compile-save-window-excursion)
14174 (byte-compile-with-output-to-temp-buffer): Remove.
14175 (byte-compile-defun): Simplify.
14176 (byte-compile-stack-adjustment): New fun.
14177 (byte-compile-out): Use it.
14178 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14179
14180 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14181 handler any more.
14182
14183 * emacs-lisp/byte-opt.el: Use lexical binding.
14184 (byte-inline-lapcode): Remove (to bytecomp).
14185 (byte-compile-inline-expand): Pay attention to inlining to/from
14186 lexically bound code.
14187 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14188 any more.
14189 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14190 any more and don't call compiler-macros.
14191 (byte-compile-splice-in-already-compiled-code): Remove.
14192 (byte-code): Don't inline any more.
14193 (disassemble-offset): Receive `bytes' as argument rather than via
14194 dynamic scoping.
14195 (byte-compile-tag-number): Declare before first use.
14196 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14197 `return' even if make-spliceable.
14198 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14199 obsolete interactive-p.
14200 (byte-optimize-lapcode): Optimize new lap-codes.
14201 Don't trip up on new form of `byte-constant' lap code.
14202
14203 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14204
14205 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14206
14207 * custom.el (custom-initialize-default, custom-declare-variable):
14208 Use `defvar'.
14209
14210 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14211 New variables.
14212 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14213 (COMPILE_FIRST): Add macroexp and cconv.
14214 * makefile.w32-in: Mirror changes in Makefile.in.
14215
14216 * vc/cvs-status.el:
14217 * vc/diff-mode.el:
14218 * vc/log-edit.el:
14219 * vc/log-view.el:
14220 * vc/smerge-mode.el:
14221 * textmodes/bibtex-style.el:
14222 * textmodes/css.el:
14223 * startup.el:
14224 * uniquify.el:
da91b5f2
CY
14225 * minibuffer.el:
14226 * newcomment.el:
14227 * reveal.el:
14228 * server.el:
14229 * mpc.el:
14230 * emacs-lisp/smie.el:
14231 * doc-view.el:
14232 * dired.el:
03408648
SM
14233 * abbrev.el: Use lexical binding.
14234
0f0c1f27
EZ
142352011-04-01 Eli Zaretskii <eliz@gnu.org>
14236
14237 * info.el (info-display-manual): New function.
14238
c82b2579
SM
142392011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14242
221ddf68
TH
142432011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14244
14245 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14246 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14247
cba6e77e
GM
142482011-03-31 Glenn Morris <rgm@gnu.org>
14249
e040639f
GM
14250 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14251
cba6e77e
GM
14252 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14253
6d0f1c9e
CS
142542011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14255
14256 * progmodes/python.el (python-default-interpreter)
14257 (python-python-command-args, python-jython-command-args)
14258 (python-which-shell, python-which-args, python-which-bufname)
14259 (python-file-queue, python-comint-output-filter-function)
14260 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14261 variables and functions.
14262
3e2d70fd
SM
142632011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14264
14265 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14266 (completion-in-region-mode): New minor mode.
14267 (completion-in-region): Use it.
14268 (completion-in-region--data, completion-in-region-mode-map): New vars.
14269 (completion-in-region--postch): New function.
14270 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14271 New vars.
14272 (completion--capf-wrapper): New function.
14273 (completion-at-point): Use it to track well-behavedness of
14274 hook functions.
14275 (completion-help-at-point): New command.
14276
f3e4086c
JM
142772011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14278
14279 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14280 syntax class to search for whitespace on a single line
14281 (Message-ID: <4D938140.4030905@redhat.com>).
14282
eb7ffc14
LL
142832011-03-30 Leo Liu <sdl.web@gmail.com>
14284
14285 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14286 New commands.
14287 (edit-abbrevs-map): Bind them here.
14288 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14289
d806ab68
KM
142902011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14291
14292 * allout.el (allout-hide-by-annotation, allout-flag-region):
14293 Reduce possibility of overlay leakage by making them volatile.
14294
14295 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14296 hash is not shared between buffers. Mode initialization is
14297 responsible for giving it a useful starting value.
14298 (allout-item-span): Reduce possibility of overlay leakage by
14299 making them volatile.
14300 (allout-widgets-count-buttons-in-region): Add diagnostic function
14301 for tracking down button overlay leaks.
14302
ea622834
LL
143032011-03-29 Leo Liu <sdl.web@gmail.com>
14304
14305 * ido.el (ido-read-internal): Use the default history var
14306 minibuffer-history if no HISTORY is specified.
14307
b62f8267
G
143082011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14309
03408648
SM
14310 * net/imap.el (imap-shell-open, imap-process-connection-type):
14311 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14312 Kerberos, SSL, other subprocesses.
14313
947b6566
LL
143142011-03-28 Leo Liu <sdl.web@gmail.com>
14315
14316 * abbrev.el (abbrev-table-empty-p): New function.
14317 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14318 nonempty ones. (Bug#5937)
14319
5ffb62aa
JD
143202011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14321
14322 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14323
7a097943
LL
143242011-03-27 Leo Liu <sdl.web@gmail.com>
14325
14326 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14327 for foreground and background colors.
14328 (ansi-color-make-color-map): Adapt.
14329
c5b40130
LL
143302011-03-25 Leo Liu <sdl.web@gmail.com>
14331
1f48f7d2
LL
14332 * midnight.el (midnight-time-float): Remove. Note it calculates
14333 the microsecond component incorrectly and seconds-to-time does the
14334 same job.
625897ec 14335 Remove redundant (require 'timer).
1f48f7d2 14336
c5b40130
LL
14337 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14338 (ido-completions): Remove unused arguments. (Bug#8329)
14339
d86d2721
SM
143402011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14341
14342 * minibuffer.el (completion--flush-all-sorted-completions):
14343 Remove itself from hook.
14344 (completion-at-point): Let the functions perform the completion
14345 immediately and return nil or t.
14346 * comint.el (comint-dynamic-complete-functions): Now identical to
14347 completion-at-point-functions.
14348 (comint-dynamic-list-input-ring): Remove unused var `index'.
14349 (comint--match-partial-filename, comint--unquote&expand-filename):
14350 New funs, split from comint-match-partial-filename.
14351 (comint-dynamic-complete): Use completion-at-point.
14352 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14353
e8974c48
DA
143542011-03-24 Drew Adams <drew.adams@oracle.com>
14355
14356 * thingatpt.el: Support `defun'.
14357
def71b5e
LL
143582011-03-23 Leo Liu <sdl.web@gmail.com>
14359
cb5af48e
LL
14360 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14361
def71b5e
LL
14362 * help-mode.el (help-mode-finish): Tweak regexp.
14363
927c53e7
GM
143642011-03-23 Glenn Morris <rgm@gnu.org>
14365
18d05bed
GM
14366 * eshell/esh-opt.el (eshell-eval-using-options):
14367 Do not bind unused local variable `eshell-option-stub'.
14368
927c53e7
GM
14369 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14370
9d0da923
JB
143712011-03-22 Juanma Barranquero <lekktu@gmail.com>
14372
14373 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14374 keymap variable in `with-no-warnings' to avoid a warning when the
14375 keymap has been already `defconst'ed.
14376
4b978a67
LL
143772011-03-22 Leo Liu <sdl.web@gmail.com>
14378
14379 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14380 encode all chars in abbrevs; otherwise use emacs-mule or
14381 utf-8-emacs. (Bug#8308)
14382
5fd62452
JB
143832011-03-22 Juanma Barranquero <lekktu@gmail.com>
14384
0b1596c6
JB
14385 * simple.el (backward-delete-char-untabify):
14386 Avoid warning about using `delete-backward-char'.
14387
5fd62452
JB
14388 * image.el (image-type-file-name-regexps): Make it variable.
14389 `imagemagick-register-types' modifies it, and the user may want
14390 to add new extensions for known image types.
14391 (imagemagick-register-types): Throw error if not using ImageMagick.
14392
0b4e93f1
LL
143932011-03-22 Leo Liu <sdl.web@gmail.com>
14394
14395 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14396 located before rcirc-prompt-end-marker.
14397 (rcirc-complete): Error if point is not after rcirc prompt.
14398 Handle the case when table is nil.
9882e214 14399 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14400
fccee4ab
CY
144012011-03-22 Chong Yidong <cyd@stupidchicken.com>
14402
14403 * custom.el (custom--inhibit-theme-enable): Make it affect only
14404 custom-theme-set-variables and custom-theme-set-faces.
14405 (provide-theme): Ignore custom--inhibit-theme-enable.
14406 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14407 (custom-enabling-themes): Delete variable.
d86d2721
SM
14408 (enable-theme): Accept only loaded themes as arguments.
14409 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14410 (custom-enabled-themes): Forbid themes from setting this.
14411 Eliminate use of custom-enabling-themes.
14412 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14413
af896da6
LL
144142011-03-21 Leo Liu <sdl.web@gmail.com>
14415
14416 * ido.el (ido-read-internal): Add ido-selected to history instead
14417 of user input.
14418
78f64af0
SM
144192011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14420
14421 * subr.el (deferred-action-list, deferred-action-function):
14422 Mark obsolete.
14423
b16ac1ec
LL
144242011-03-21 Leo Liu <sdl.web@gmail.com>
14425
810f7698
LL
14426 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14427 change on 2011-02-13 (bug#8309).
14428
b16ac1ec
LL
14429 * minibuffer.el (read-file-name-function): Change default value.
14430 (read-file-name--defaults): Rename from read-file-name-defaults.
14431 (read-file-name-default): Rename from read-file-name.
14432 (read-file-name): Call read-file-name-function.
14433
4e05e67e
GM
144342011-03-21 Glenn Morris <rgm@gnu.org>
14435
14436 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14437 Doc fixes.
14438
4359915b
CY
144392011-03-21 Chong Yidong <cyd@stupidchicken.com>
14440
14441 * cus-theme.el: Add missing provide statement.
14442 (customize-create-theme): Extract theme value correctly.
14443 (custom-theme-visit-theme): Autoload.
14444 (customize-create-theme): Prompt before inserting default faces.
14445
1fe275ee
JB
144462011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14447
14448 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14449 units and musical notes.
14450
cd394be1 144512011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14452
14453 * ido.el (ido-read-internal): Use completing-read-default.
14454 (ido-completing-read): Fix compatibility with completing-read.
14455
7d476bde
CO
144562011-03-20 Christian Ohler <ohler@gnu.org>
14457
14458 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14459 (ert-delete-all-tests): Use `called-interactively-p' rather than
14460 `interactive-p'.
14461 (ert--make-xrefs-region): Respect END.
14462
fe0fb33e
CY
144632011-03-19 Chong Yidong <cyd@stupidchicken.com>
14464
ff854b0b
CY
14465 * dired-aux.el (dired-create-directory): Signal an error if the
14466 directory already exists (Bug#8246).
14467
fe0fb33e
CY
14468 * facemenu.el (list-colors-display): Call list-faces-display
14469 inside with-help-window.
14470 (list-colors-print): Use display property to align the final
14471 column, instead of checking window-width.
14472
576bce32
EZ
144732011-03-19 Eli Zaretskii <eliz@gnu.org>
14474
4d61f28d 14475 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14476 windows-nt systems.
14477 (emerge-protect-metachars): Quote correctly for ms-dos and
14478 windows-nt systems.
14479
89c41d68 144802011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14481
14482 * info.el (info-initialize): Replace all uses of `:' with
14483 path-separator for compatibility with non-Unix systems.
14484 Cache quoting of path-separator. (Bug#8258)
14485
b14e3e21 144862011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14487
14488 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14489 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14490 (mouse-avoidance-mode): Fix typos in docstrings.
14491
4525ce3e
CY
144922011-03-19 Chong Yidong <cyd@stupidchicken.com>
14493
14494 * startup.el (package-subdirectory-regexp): Move from package.el.
14495 Omit \\` and \\', and let callers add them.
14496
14497 * emacs-lisp/package.el (package-strip-version)
14498 (package-load-all-descriptors): Add \\` and \\' to
14499 package-subdirectory-regexp before using it.
14500 (package-untar-buffer): New arg DIR; ensure that file untars only
14501 into this expected directory. Remove superfluous delete-region.
14502 (package-unpack): Caller changed.
14503 (package-tar-file-info): Use package-subdirectory-regexp.
14504
a904a09a 145052011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14506
a904a09a
SM
14507 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14508 diff-mode-shared-map (bug#8284).
14509 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14510
145112011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14512
14513 * calendar/time-date.el (format-seconds): Use assoc instead of
14514 assoc-string, since assoc-string doesn't exist in XEmacs.
14515
171fc304
JB
145162011-03-17 Juanma Barranquero <lekktu@gmail.com>
14517
14518 * custom.el (custom-known-themes): Reflow docstring.
14519 (custom-theme-load-path): Fix typo in docstring.
14520 (load-theme): Fix typo in error message.
14521 (custom-available-themes, custom-variable-theme-value):
14522 Use `let', not `let*'.
14523
d71990a1
JB
145242011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14525
14526 * calc/README: Mention inclusion of musical notes.
14527
14528 * calc/calc-units.el (calc-lu-quant): Rename from
14529 `calc-logunits-quantity'.
14530 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14531 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14532 (calc-db): Rename from `calc-dblevel'.
14533 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14534 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14535 (calc-np): Rename from `calc-nplevel'.
14536 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14537 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14538 (calc-lu-plus): Rename from `calc-logunits-add'.
14539 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14540 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14541 (calc-lu-minus): Rename from `calc-logunits-sub'.
14542 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14543 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14544 (calc-lu-times): Rename from `calc-logunits-mul'.
14545 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14546 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14547 (calc-lu-divide): Rename from `calc-logunits-div'.
14548 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14549 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14550
14551 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14552 functions being autoloaded.
14553
14554 * calc/calc.el (calc-lu-power-reference): Rename from
14555 `calc-logunits-power-reference'.
14556 (calc-lu-field-reference): Rename from
14557 `calc-logunits-field-reference'.
14558
7a71b18d
GM
14559 * calc/calc-help.el (calc-l-prefix-help):
14560 Mention musical note functions.
d71990a1 14561
40c2934b
SM
145622011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * minibuffer.el (completion-all-sorted-completions):
14565 Use :completion-cycle-penalty text property if present.
14566
b0911414
KM
145672011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14568
14569 * allout.el (allout-yank-processing): Adjust for new rebulleting
14570 regime so bullet being yanked is used without prompting the user
14571 for a choice.
14572
8a05b668
JB
145732011-03-16 Juanma Barranquero <lekktu@gmail.com>
14574
14575 * startup.el (command-line): Warn the user that _emacs is deprecated.
14576
5ba5fb81
JB
145772011-03-16 Juanma Barranquero <lekktu@gmail.com>
14578
14579 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14580 (delphi-verbose, delphi-comment-face, delphi-string-face)
14581 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14582 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14583 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14584 (delphi-new-comment-line, delphi-font-lock-defaults)
14585 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14586 Fix typos in docstrings.
14587
2dab465b
KM
145882011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14589
5ba5fb81 14590 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14591 Invert the roles of character and string values for INSTEAD, so a
14592 string is used for the more common case of a defaulting prompt.
14593
0adf5618
SM
145942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14595
14596 * progmodes/ruby-mode.el (ruby-backward-sexp):
14597 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14598 * play/gamegrid.el (gamegrid-make-face):
14599 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14600 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14601 * notifications.el (notifications-notify):
14602 * net/xesam.el (xesam-search-engines):
14603 * net/quickurl.el (quickurl-list-insert):
14604 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14605
d72700e5
CY
146062011-03-15 Chong Yidong <cyd@stupidchicken.com>
14607
14608 * startup.el (command-line): Update package subdirectory regexp.
14609
49c5410a
SM
146102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14611
c6eee9aa
SM
14612 * allout.el (allout-abbreviate-flattened-numbering)
14613 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14614
49c5410a
SM
14615 * subr.el (read-char-choice): Only show the cursor after the prompt,
14616 not after the answer.
14617
047b2bb9
KR
146182011-03-15 Kevin Ryde <user42@zip.com.au>
14619
14620 * help-fns.el (variable-at-point): Skip leading quotes, if any
14621 (bug#8253).
14622
0a57d256
SM
146232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14626 warning message.
14627
77c992bc
MA
146282011-03-14 Michael Albinus <michael.albinus@gmx.de>
14629
14630 * shell.el (shell): When called interactively, offer to change the
14631 shell file name on remote hosts.
14632
eebc475d
TZ
146332011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14634
14635 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14636 integration for LDAP parameters. The host, base, user or binddn,
14637 and secret tokens can be specified in a netrc file, for instance.
14638 This is optional because an `auth-source' parameter must be
14639 specified in the search attributes.
14640
9d05d1ba
JB
146412011-03-13 Juanma Barranquero <lekktu@gmail.com>
14642
14643 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14644
09d9db2c
GM
146452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14646
14647 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14648 into declaration. Remove redundant and harmful binding.
14649
146502011-03-12 Eli Zaretskii <eliz@gnu.org>
14651
14652 * files.el (file-ownership-preserved-p): Pass `integer' as an
14653 explicit 2nd argument to `file-attributes'. If the file's owner
14654 is the Administrators group on Windows, and the current user is
14655 Administrator, consider that a match.
14656
14657 * server.el (server-ensure-safe-dir): Consider server directory
14658 safe on MS-Windows if its owner is the Administrators group while
14659 the current Emacs user is Administrator. Use `=' to compare
14660 numerical UIDs, since they could be integers or floats.
14661
219bd536
JB
146622011-03-12 Juanma Barranquero <lekktu@gmail.com>
14663
14664 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14665
f3afd36b
MA
146662011-03-12 Michael Albinus <michael.albinus@gmx.de>
14667
14668 Sync with Tramp 2.2.1.
14669
14670 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14671
14672 * net/trampver.el: Update release number.
14673
3aaaa6f1
SM
146742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14675
94642599
SM
14676 * progmodes/compile.el (compilation--previous-directory): Fix up
14677 various nil/dead-marker mismatches (bug#8014).
14678 (compilation-directory-properties, compilation-error-properties):
14679 Don't call it at a position past the one we're about to change.
14680
3aaaa6f1
SM
14681 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14682 Disable obsolescence warnings in the file that declares it.
14683
14239447
KM
146842011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14685
099c39a4
JB
14686 * allout-widgets.el (allout-widgets-tally):
14687 Initialize allout-widgets-tally as a hash table rather than nil to
14688 prevent mode-line redisplay warnings. Also, clarify the module
14689 description and fix a comment typo.
14239447 14690
135e287c
JB
146912011-03-11 Juanma Barranquero <lekktu@gmail.com>
14692
14693 * help-fns.el (describe-variable): Don't complete keywords.
14694 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14695
ffbf300e
CY
146962011-03-10 Chong Yidong <cyd@stupidchicken.com>
14697
ba08b241
CY
14698 * emacs-lisp/package.el (package-version-join): Impose a standard
14699 string representation for pre/alpha/beta version lists.
14700 (package-unpack-single): Standardize the directory name by passing
14701 it through package-version-join.
14702 (package-strip-rcs-id): Accept any version string that does not
14703 signal an error in version-to-list.
ffbf300e 14704
f346fd6b
MA
147052011-03-10 Michael Albinus <michael.albinus@gmx.de>
14706
14707 * simple.el (delete-trailing-whitespace): Return nil for the
14708 benefit of `write-file-functions'.
14709
ccb55d27
GM
147102011-03-10 Glenn Morris <rgm@gnu.org>
14711
5ceaac0c
GM
14712 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14713
02da65ff
GM
14714 * vc/vc-git.el (vc-git-program): New option.
14715 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14716 (vc-git--call): Use it.
14717
b2f603cc
GM
14718 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14719
5772caab
GM
14720 * cus-edit.el (Custom-newline): If no button at point, look
14721 for a subgroup button at start-of-line. (Bug#2298)
14722
ccb55d27
GM
14723 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14724
ec6ecaed
JD
147252011-03-10 Julien Danjou <julien@danjou.info>
14726
14727 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14728 `cursor-type' is nil.
14729
9d5aa01d
JB
147302011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14731
14732 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14733
b6a5875b
KM
147342011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14735
7a71b18d 14736 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14737 preserves the existing header prefix, rebulleting it if necessary,
14738 rather than replacing it. This is necessary for proper operation
14739 of cooperative addons like allout-widgets.
1154d12e
JB
14740 (allout-make-topic-prefix, allout-rebullet-heading):
14741 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14742 value as alternate bullet to be used, instead of prompting the user
14743 for a bullet character.
b6a5875b 14744
ee545c35
MA
147452011-03-09 Michael Albinus <michael.albinus@gmx.de>
14746
d86d2721
SM
14747 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14748 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14749 `tramp-default-port'.
14750
c47971d7
DD
147512011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14752
14753 * net/rcirc.el (rcirc-handler-001): Remove useless
14754 with-rcirc-process-buffer.
14755 (rcirc-check-auth-status): Swap arguments to string-match.
14756
13522cb4
GM
147572011-03-09 Glenn Morris <rgm@gnu.org>
14758
0be6f4f1
GM
14759 * shell.el (shell-mode):
14760 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14761
13522cb4
GM
14762 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14763 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14764
515de2e3
CY
147652011-03-08 Chong Yidong <cyd@stupidchicken.com>
14766
14767 * emacs-lisp/package.el (package-refresh-contents)
14768 (package-menu-execute): Use condition-case-no-debug.
14769
b511b994
MA
147702011-03-08 Michael Albinus <michael.albinus@gmx.de>
14771
14772 * simple.el (shell-command-to-string): Use `process-file'.
14773
14774 * emacs-lisp/package.el (package-tar-file-info): Handle also
14775 remote files.
14776
d86d2721
SM
14777 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14778 Use `equal' for upload base check.
b511b994 14779
25bbfb31
AM
147802011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14781
14782 * textmodes/texinfo.el (texinfo-environments):
14783 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14784
be996521
GM
147852011-03-08 Glenn Morris <rgm@gnu.org>
14786
e9c8529f
GM
14787 * cus-start.el (cursor-in-non-selected-windows):
14788 Fix :set quoting oddness. (Bug#8192)
14789
be996521
GM
14790 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14791 in some setf expressions. (Bug#2159)
14792
2bb5649e
CY
147932011-03-08 Chong Yidong <cyd@stupidchicken.com>
14794
14795 * custom.el (custom-available-themes): Return themes in
14796 alphabetical order.
14797
33383987 14798See ChangeLog.15 for earlier changes.
e3d51b27
MR
14799
14800;; Local Variables:
14801;; coding: utf-8
e3d51b27
MR
14802;; End:
14803
acaf905b 14804 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14805
14806 This file is part of GNU Emacs.
14807
14808 GNU Emacs is free software: you can redistribute it and/or modify
14809 it under the terms of the GNU General Public License as published by
14810 the Free Software Foundation, either version 3 of the License, or
14811 (at your option) any later version.
14812
14813 GNU Emacs is distributed in the hope that it will be useful,
14814 but WITHOUT ANY WARRANTY; without even the implied warranty of
14815 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14816 GNU General Public License for more details.
14817
14818 You should have received a copy of the GNU General Public License
14819 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.