lisp/textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
595ef4ad
JB
12012-06-08 Juanma Barranquero <lekktu@gmail.com>
2
3 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5 instead of calling external sort utility.
6 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7
e9f66fcb
EZ
82012-06-08 Eli Zaretskii <eliz@gnu.org>
9
10 * descr-text.el (describe-char): Mention how to insert the
11 character, if the current input method doesn't support it.
12 See the discussion in this thread for the details:
13 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
14
3d10db47
SS
152012-06-08 Sam Steingold <sds@gnu.org>
16
17 * bindings.el (global-map): Bind XF86Forward to next-buffer and
18 XF86Back to previous-buffer.
19 (minibuffer-local-map): Bind them to next-history-element and
20 previous-history-element respectively.
21 * help-mode.el (help-mode-map): Bind them to help-go-forward and
22 help-go-back respectively.
23 * info.el (Info-mode-map): Bind them to Info-history-forward and
24 Info-history-back respectively.
25 These are the keys next to Up on the ThinkPad keyboard.
26
de7e2b36
SM
272012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
30 * emacs-lisp/cl-macs.el: Provide itself.
31 (cl--labels-convert-cache): New var.
32 (cl--labels-convert): New function.
33 (cl-flet, cl-labels): New implementation with new semantics, relying on
34 lexical-binding.
35 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
36 (cl-closure-vars, cl--function-convert-cache)
37 (cl--function-convert): Move from cl-macs.el.
38 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
39 rename by removing the "cl-" prefix.
40 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
41
6fa6c4ae
SM
422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
45 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
46 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
47 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
48 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
49 (cl-hash-table-count): Add old compatibility aliases.
50
51 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
52 Use macroexpand-all-environment instead.
53 (cl--old-macroexpand): New var.
54 (cl--sm-macroexpand): New function.
55 (cl-symbol-macrolet): Use it during macro expansion.
56 (cl--function-convert-cache): New var.
57 (cl--function-convert): New function, extracted from
58 cl-macroexpand-all.
59 (cl-lexical-let): Use it.
60
61 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
62 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
63 (cl-member): Remove old alias.
64
65 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
66 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
67 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
68 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
69 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
70 (cl-macroexpand-cmacs): Remove var.
71 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
72 Use macroexpand-all instead.
73
4dd1c416
SM
742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
77 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
78 (macroexp-copyable-p): New functions and macros.
79 * emacs-lisp/edebug.el (edebug-unwrap):
80 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
81 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
82 (pcase--let*): Remove.
83 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
84 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
85 macroexp-const-p instead.
86 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
87
88 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
89 instead of "cl-" for internal definitions. Use macroexp-const-p.
90 (cl-old-bc-file-form): Remove var.
91 (cl-const-exprs-p): Remove fun.
92 (cl-labels, cl-macrolet): Use backquote.
93 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
94 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
95 (cl-define-setf-expander): Rename from cl-define-setf-method.
96 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
97
98 * international/mule-cmds.el: Don't require CL.
99 (view-hello-file): Don't use `letf'.
100
ed8bd4d7
SM
1012012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
102
7287f2f3
SM
103 * tmm.el (tmm-prompt): Use string-prefix-p.
104 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
105 (tmm-add-prompt): Use minibuffer-completion-help.
106 (tmm-delete-map): Remove.
107
ed8bd4d7
SM
108 * subr.el (kbd): Make it its own function.
109
7b4cdbf4
SM
1102012-06-07 Stefan Merten <smerten@oekonux.de>
111
112 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
113 Silence compiler warnings. Fix versions.
ed8bd4d7 114 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 115 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 116 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
117 (rst-package-emacs-version-alist): Correct Emacs version to
118 represent major merge with upstream.
ed8bd4d7 119 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 120
2b48d721
GM
1212012-06-06 Glenn Morris <rgm@gnu.org>
122
123 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
124 Only print environment variables if set.
125
fa779ab0
SM
1262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
129 (macroexp--cons): Rename from maybe-cons.
130 (macroexp--accumulate): Rename from macroexp-accumulate.
131 (macroexp--all-forms): Rename from macroexpand-all-forms.
132 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
133 (macroexp--expand-all): Rename from macroexpand-all-1.
134
628299e0
SS
1352012-06-06 Sam Steingold <sds@gnu.org>
136
137 * calendar/calendar.el (calendar-in-read-only-buffer):
138 Call `special-mode' to enable the standard read-only keybindings.
139
b7bb5838
SM
1402012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
143 with "loading" messages (bug#11635).
144
dfb308ba
MA
1452012-06-06 Michael Albinus <michael.albinus@gmx.de>
146
147 * files.el (enable-remote-dir-locals): New option.
148 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
149
0372ee92
MA
150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
151 Ensure, that the temp directory is local.
152
153 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
154 `temporary-file-directory'.
155
eed0bb91
MA
156 * progmodes/python.el (python-send-region): Ensure, that the
157 temporary file is created also in the remote case.
158
7a58f64d
GM
1592012-06-06 Glenn Morris <rgm@gnu.org>
160
f7dd4e98
GM
161 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
162 (vc-rcs-update-changelog): Use it.
163
276d5f5d
GM
164 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
165
7a58f64d
GM
166 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
167 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
168 (vc-sccs-diff): Replace use of the external vcdiff script.
169
daed4003
GM
1702012-06-05 Glenn Morris <rgm@gnu.org>
171
172 * ledit.el: Move to obsolete/.
173
48c455c7
SS
1742012-06-05 Sam Steingold <sds@gnu.org>
175
176 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
177 patch (Bug#11140).
178
57a7d507
SM
1792012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
180
d32926ff
SM
181 * emacs-list/cust-print.el: Move to obsolete.
182
53aacf21
SM
183 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
184 compiler-macro expansion.
185
57a7d507
SM
186 Add native compiler-macro support.
187 * emacs-lisp/macroexp.el (macroexpand-all-1):
188 Support compiler-macros directly. Properly follow aliases and apply
189 the compiler macros more thoroughly.
190 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
191 macroexpand now properly follows aliases.
192 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
193 (cl-compiler-macroexpand): Use new prop.
194 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
195
196 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
197
51a5f9d8
MR
1982012-06-05 Martin Rudalics <rudalics@gmx.at>
199
200 * window.el (get-lru-window, get-mru-window, get-largest-window):
201 New argument NOT-SELECTED to avoid picking the selected window.
202 (window--display-buffer-1, window--display-buffer-2): Replace by
203 new function window--display-buffer
204 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
206 Use window--display-buffer.
51a5f9d8
MR
207 (display-buffer-use-some-window): Remove temporary dedication
208 hack by calling get-lru-window and get-largest-window with
209 NOT-SELECTED argument non-nil. Call window--display-buffer.
210
08f9f738
GM
2112012-06-05 Glenn Morris <rgm@gnu.org>
212
213 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
214 Replace external vcdiff script.
215
e364a2b7
SM
2162012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
219
041df390
CY
2202012-06-04 Chong Yidong <cyd@gnu.org>
221
e364a2b7
SM
222 * image.el (imagemagick-types-inhibit): Revert last change.
223 Add INFO and M.
47b36b94 224 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 225
7c1898a7
SM
2262012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * emacs-lisp/cl-lib.el: Rename from cl.el.
229 * emacs-lisp/cl.el: New compatibility file.
230 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
231 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
232 to obey the "cl-" prefix.
233 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
234
0c3461de
GM
2352012-06-03 Glenn Morris <rgm@gnu.org>
236
1e266c88
GM
237 * emacs-lisp/authors.el (authors-aliases): Addition.
238
0c3461de
GM
239 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
240 Fix :version.
241
d8a52e15
SM
2422012-06-03 Stefan Merten <smerten@oekonux.de>
243
244 * textmodes/rst.el: Add comments.
245 (rst-transition, rst-adornment): New faces.
246 (rst-adornment-faces-alist): Make default safe to reevaluate.
247 Fixes
248 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
249 Improve customization tags.
250 (rst-define-level-faces): Clarify meaning.
251
5205d6f6
CY
2522012-06-03 Chong Yidong <cyd@gnu.org>
253
254 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
255 (compilation-mode-line-run, compilation-mode-line-exit):
256 New faces.
5205d6f6
CY
257 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
258
757ee657
JD
2592012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
260
7c1898a7
SM
261 * progmodes/which-func.el (which-func-update-ediff-windows):
262 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 263
5f2c76c6
CY
2642012-06-03 Chong Yidong <cyd@gnu.org>
265
266 * bindings.el: Remove explicit help text from format-mode-line.
267 It is now supplied by mode-line-default-help-echo.
268 (mode-line-front-space, mode-line-end-spaces)
269 (mode-line-misc-info): New variables.
270 (mode-line-modes, mode-line-position): Move the default value to
271 the variable definition.
272 (mode-line-default-help-echo): New defcustom.
383f7350
CY
273 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
274 (mode-line-modified-help-echo): New functions.
275 (mode-line-mule-info, mode-line-modified): Use them.
276 (mode-line-eol-desc, propertized-buffer-identification):
277 Consistency fixes for help text.
cbe46e5f
CY
278 (mode-line-coding-system-map): Allow using mouse-3 to invoke
279 set-buffer-file-coding-system (Bug#289).
280 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 281
f2d6a3df
SM
2822012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * simple.el (execute-extended-command): Set real-this-command
285 (bug#11506).
286
37269466
CY
2872012-06-02 Chong Yidong <cyd@gnu.org>
288
289 Remove incorrect uses of "modeline" in comments, docstrings, and
290 function/variable names (Bug#10329).
291
292 * cus-edit.el (mode-line):
293 * dframe.el (dframe-mouse-hscroll):
294 * emacs-lisp/re-builder.el:
295 * emacs-lisp/easy-mmode.el (define-minor-mode):
296 * frame.el (set-frame-name):
297 * help.el (lookup-minor-mode-from-indicator):
298 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
299 * progmodes/cc-cmds.el (c-toggle-auto-newline)
300 (c-toggle-hungry-state):
301 * progmodes/antlr-mode.el (antlr-language-alist):
302 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
303 * progmodes/vhdl-mode.el (vhdl-mode):
304 * progmodes/which-func.el (which-func, which-func-cleanup-function):
305 * term/ns-win.el (ns-face-at-pos):
306 * term/sup-mouse.el (sup-mouse-report):
307 * textmodes/flyspell.el (flyspell-mode-line-string):
308 * textmodes/ispell.el (ispell-highlight-face):
309 * textmodes/reftex-global.el:
310 * vc/vc-arch.el (vc-arch-mode-line-string):
311 * vc/vc-cvs.el (vc-cvs-mode-line-string):
312 * vc/vc-git.el (vc-git-mode-line-string):
313 * vc/vc-hooks.el (vc-display-status)
314 (vc-default-mode-line-string):
315 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
316
317 * ansi-color.el (ansi-color-faces-vector): Change default faces.
318
319 * dired.el (dired-sort-set-mode-line): Rename from
320 dired-sort-set-modeline. All callers changed.
321
322 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
323 eshell-status-in-modeline.
324
325 * foldout.el (foldout-mode-line-string): Rename from
326 foldout-modeline-string. All callers changed.
327 (foldout-update-mode-line): Rename from foldout-update-modeline.
328
329 * subr.el (redraw-modeline): Make into obsolete alias.
330
331 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
332 timeclock-modeline-display. Make old name an alias.
333 (timeclock-update-mode-line): Likewise. All callers changed.
334 (timeclock-mode-line-display): No need to check before using
335 add-hook.
336 (timeclock-relative, timeclock-day-over-hook)
337 (timeclock-use-elapsed, timeclock-mode-string)
338 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
339
340 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
341 crisp-mode-modeline-string.
342
343 * play/solitaire.el (solitaire-build-mode-line): Rename from
344 solitaire-build-modeline. All callers changed.
345
346 * play/zone.el (zone-hiding-mode-line): Rename from
347 zone-hiding-modeline. All callers changed.
348 (zone): Remove unusued `modeline-hidden-level' property.
349
350 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
351 xscheme-modeline-initialize. All callers changed.
352
353 * strokes.el (strokes-lighter): Rename from
354 strokes-modeline-string.
355
356 * textmodes/sgml-mode.el (html-face-tag-alist)
357 (html-tag-face-alist): Use mode-line face instead of obsolete
358 alias modeline.
359
42152ee4
SM
3602012-06-02 Stefan Merten <smerten@oekonux.de>
361
362 * textmodes/rst.el: Always require `cl'.
4cf9b38d 363 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 364
95f520b5
CY
3652012-06-02 Chong Yidong <cyd@gnu.org>
366
367 * image.el (imagemagick-enabled-types): Rename from
368 imagemagick-types-enable. Add many more types.
369 (imagemagick-types-inhibit): Change default to nil.
370 (imagemagick-filter-types): Caller changed.
371
4a5f187a
SM
3722012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
373
03fef3e6
SM
374 * emacs-lisp/cl-macs.el: Use backquotes.
375 (cl-transform-function-property): Use eval-and-compile rather than
376 abusing `require'.
377 (defstruct): Use declare-function instead of with-no-warnings.
378
4a5f187a
SM
379 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
380 (byte-compile-output-docform): Re-add the print-circle bindings.
381 (byte-compile-fix-header): Use #$ just because it's shorter.
382 (byte-compile-output-file-form): Remove defun/defmacro.
383
bd56924f
MR
3842012-06-01 Martin Rudalics <rudalics@gmx.at>
385
386 * simple.el (choose-completion): Remove now obsolete binding for
387 owindow.
388
046e38ce
MA
3892012-06-01 Michael Albinus <michael.albinus@gmx.de>
390
391 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
392 in order to avoid "Stack overflow in regexp matcher".
393
32d72c2f
GM
3942012-05-31 Glenn Morris <rgm@gnu.org>
395
396 * image.el: For clarity, call imagemagick-register-types at
397 top-level, rather than relying on a custom :initialize.
398 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
399 (imagemagick-filter-types): New function. (Bug#7406)
400 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
401 If disabling support, remove elements altogether rather
402 than using an impossible regexp.
403 (imagemagick-types-inhibit): Give it the default init function.
404
dd41169b
SM
4052012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
406
4a5f187a
SM
407 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
408 Handle arbitrary file name lengths (Bug#11585).
dd41169b 409
efc00ab1 4102012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
411
412 * desktop.el (desktop-read): Clear previous and next buffers for
413 all windows and bury *Messages* buffer (bug#11556).
414
500fcedc
SM
4152012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 Add `declare' for `defun'. Align `defmacro's with it.
418 * emacs-lisp/easy-mmode.el (define-minor-mode)
419 (define-globalized-minor-mode): Don't autoload the var definitions.
420 * emacs-lisp/byte-run.el: Use lexical-binding.
421 (defun-declarations-alist, macro-declarations-alist): New vars.
422 (defmacro, defun): Use them.
423 (make-obsolete, define-obsolete-function-alias)
424 (make-obsolete-variable, define-obsolete-variable-alias):
425 Use `declare'.
426 (macro-declaration-function): Mark obsolete.
427 * emacs-lisp/autoload.el: Use lexical-binding.
428 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
429
6e8a1786
AM
4302012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
431
432 * textmodes/ispell.el (ispell-with-no-warnings):
433 Define as a macro.
500fcedc
SM
434 (ispell-kill-ispell, ispell-change-dictionary):
435 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
436 `interactive-p'.
437
61b108cc
SM
4382012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
441 (macro-declaration-function): Move var from C code.
442 (macro-declaration-function): Define function with defalias.
443 * emacs-lisp/macroexp.el (macroexpand-all-1):
444 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
446 defun/defmacro any more.
447 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
448 Provide fallback for unknown arglist.
449 (byte-compile-arglist-warn): Change calling convention.
450 (byte-compile-output-file-form): Move print-vars binding.
451 (byte-compile-output-docform): Simplify accordingly.
452 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
453 (byte-compile-defmacro-declaration): Remove.
454 (byte-compile-file-form-defmumble): Generalize to defalias.
455 (byte-compile-output-as-comment): Return byte-positions.
456 Simplify callers accordingly.
457 (byte-compile-lambda): Use `assert'.
458 (byte-compile-defun, byte-compile-defmacro): Remove.
459 (byte-compile-file-form-defalias):
460 Use byte-compile-file-form-defmumble.
461 (byte-compile-defalias-warn): Remove.
462
6d3f7c2f
SM
4632012-05-29 Stefan Merten <smerten@oekonux.de>
464
465 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 466 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
467
468 (rst-mode-abbrev-table): Merge definition.
469 (rst-mode): Make sure `font-lock-defaults' is buffer local.
470 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
471
6dbaa1c7
UJ
4722012-05-29 Ulf Jasper <ulf.jasper@web.de>
473
474 * calendar/icalendar.el
475 (icalendar-export-region): Export UID properly.
476
4772012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
478 * calendar/icalendar.el (icalendar-import-format):
479 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
480 (icalendar-import-format-uid): New.
481 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
482 Export UID.
483
6876a58d
SM
4842012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
487 different alternative patterns.
488 (pcase-codegen): Be more careful to preserve identity.
489 (pcase--u1): Don't forget to mark vars as used.
490
491 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
492 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
493 (byte-compile-from-buffer): ...rather than here.
494
495 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
496 functions from byte-compile-function-environment.
497
46b7967e
TN
4982012-05-29 Troels Nielsen <bn.troels@gmail.com>
499
500 * window.el (window-deletable-p): Avoid deleting the root window
501 of a frame with an active minibuffer.
502
69d565e2
MR
5032012-05-29 Martin Rudalics <rudalics@gmx.at>
504
505 * simple.el (choose-completion): Use quit-window (Bug#11567).
506
a149fa51
CY
5072012-05-29 Chong Yidong <cyd@gnu.org>
508
509 * whitespace.el (whitespace-cleanup): Fix usage of
510 whitespace-empty-at-bob-regexp (Bug#11492).
511
2b311310
AH
5122012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
513
514 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
515 revert (Bug#11488).
516
b9cb2387
JL
5172012-05-29 Juri Linkov <juri@jurta.org>
518
519 * isearch.el (isearch-mode-map): Bind `M-s _' to
520 `isearch-toggle-symbol'. Bind `M-s c' to
521 `isearch-toggle-case-fold'.
522 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
523 (isearch-forward): Add `M-s _' to the docstring.
524 (isearch-forward-symbol, isearch-toggle-case-fold)
525 (isearch-symbol-regexp): New functions. (Bug#11381)
526
d5e61c1c
JL
5272012-05-29 Juri Linkov <juri@jurta.org>
528
529 * isearch.el (isearch-word): Add docstring. (Bug#11381)
530 (isearch-occur, isearch-search-and-update): If `isearch-word' is
531 a function, call it to get the regexp.
532 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
533 property `isearch-message-prefix' instead of the string "word ".
534 (isearch-search-fun-default): For the case of `isearch-word',
535 return a lambda that calls re-search-forward/re-search-backward
536 with a regexp returned by `word-search-regexp' or by the function
537 in `isearch-word'.
538
8cbd80f7
JL
5392012-05-29 Juri Linkov <juri@jurta.org>
540
541 * isearch.el (isearch-search-fun-default): New function.
542 (isearch-search-fun): Move default part to the new function
543 `isearch-search-fun-default'.
544 (isearch-search-fun-function): Set the default value to
545 `isearch-search-fun-default'. (Bug#11381)
546
547 * comint.el (comint-history-isearch-end):
548 Use `isearch-search-fun-default'.
549 (comint-history-isearch-search): Use `isearch-search-fun-default'
550 and remove spacial case for `isearch-word'.
551 (comint-history-isearch-wrap): Remove spacial case for
552 `isearch-word'.
553
554 * hexl.el (hexl-isearch-search-function):
555 Use `isearch-search-fun-default'.
556
557 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
558 Use `word-search-regexp' for `isearch-word'.
559
560 * misearch.el (multi-isearch-search-fun):
561 Use `isearch-search-fun-default'.
562
563 * simple.el (minibuffer-history-isearch-search):
564 Use `isearch-search-fun-default' and remove spacial case for
565 `isearch-word'.
566 (minibuffer-history-isearch-wrap): Remove spacial case for
567 `isearch-word'.
568
569 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
570 Remove spacial case for `isearch-word'.
571 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
572
85c8c5b6
AM
5732012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
574
575 Decrease XEmacs incompatibilities.
576 * textmodes/flyspell.el (flyspell-check-pre-word-p):
577 Use `string-match'.
578 (flyspell-delete-region-overlays): Use alternative definition for
579 XEmacs.
580 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
581 (flyspell-word): Use `process-kill-without-query' if XEmacs.
582 (flyspell-mode-on): Use `interactive-p' if XEmacs.
583 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
584 `define-obsolete-face-alias' under XEmacs, but old method.
585
586 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
587 `with-no-warnings' definition or Emacs alias.
588 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
589 (ispell-word): Do not use `region-p' if XEmacs.
590
8cab9efc
AM
5912012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
592
593 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
594 Check for `ispell-dictionary-base-alist' instead of full
595 `ispell-dictionary-alist'.
596 (ispell-init-process): Show spellchecker when starting new Ispell
597 process.
598
fda91268
RZ
5992012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
602 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
603
694ea8e3
JB
6042012-05-27 Juanma Barranquero <lekktu@gmail.com>
605
606 * version.el (motif-version-string, gtk-version-string)
607 (ns-version-string): Declare.
608
e4d4f539
JL
6092012-05-27 Juri Linkov <juri@jurta.org>
610
611 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
612 after the `eval-defun-1' specialcaseing
613 like in `edebug-eval-defun' (bug#10181).
614
615 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
616 like in `eval-defun-1'.
617
33017faf 6182012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 619
fda91268
RZ
620 * mail/sendmail.el (mail-yank-region):
621 Recognize rmail-yank-current-message in addition to insert-buffer.
622 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
623 a *mail* buffer created through rmail-start-mail with sendmail as
624 mail-user-agent.
625
33017faf
GM
6262012-05-27 Chong Yidong <cyd@gnu.org>
627
628 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
629 Default to 256 (Bug#11267).
630
631 * help.el (describe-mode): Doc fix.
632
04188bb9
GM
6332012-05-26 Glenn Morris <rgm@gnu.org>
634
38264cc9
GM
635 * w32-fns.el (w32-init-info): Remove.
636 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
637
eb7afdad
GM
638 * info.el (info-initialize): For self-contained NS builds, put the
639 included info/ directory at the front. (Bug#2791)
640
04188bb9
GM
641 * paths.el (Info-default-directory-list): Make it a defcustom,
642 mainly so that we can use custom-initialize-delay.
643
a179e3f7
SM
6442012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
645
43416392
SM
646 * subr.el (buffer-has-markers-at): Mark obsolete.
647
a179e3f7 648 * subr.el (lambda): Use declare.
43416392 649
a179e3f7
SM
650 * emacs-lisp/lisp-mode.el (lambda):
651 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
652
34a008d9
AH
6532012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
654
655 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
656
0a3b289f
GM
6572012-05-26 Glenn Morris <rgm@gnu.org>
658
659 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
660
758c81e8
GM
6612012-05-25 Glenn Morris <rgm@gnu.org>
662
f9f334f0
GM
663 * paths.el: Remove no-byte-compile.
664 * loadup.el: No need to load paths.el uncompiled.
665
87eb79c2
GM
666 * image.el (imagemagick-types-inhibit): Doc fix.
667
758c81e8
GM
668 * version.el: Remove no-byte-compile and associated formatting.
669 * loadup.el: No need to load version.el uncompiled. AFAICS, this
670 is ancient code from when there was an "inc-vers.el".
671
e7e85dc0
SM
6722012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * progmodes/gdb-mi.el: Minor style changes.
675 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
676 Turn into minor modes.
677 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
678 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
679 (gdb-shell): Remove unneeded let-binding.
680 (gdb-get-many-fields): Eliminate O(n²) behavior.
681
f31237a4
EZ
6822012-05-25 Eli Zaretskii <eliz@gnu.org>
683
684 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
685 platforms that don't link in fontset.c.
686
bc1b21bb
JL
6872012-05-25 Juri Linkov <juri@jurta.org>
688
689 Use the same diff color scheme as in modern VCSes (bug#10181).
690
691 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
692 to avoid confusion with `diff-added' that now uses green colors.
693 (diff-removed): Use shades of red.
694 (diff-added): Use shades of green.
695 (diff-changed): Leave just the yellow color.
696 (diff-use-changed-face): New variable.
697 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
698 how to highlight context diff changes.
699 (diff-refine-change): Use shades of yellow.
700 (diff-refine-removed): New face that uses shades of red.
701 (diff-refine-added): New face that uses shades of green.
702 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
703 `diff-refine-removed' in the call to `smerge-refine-subst'
704 depending on the value of `diff-use-changed-face'.
705
706 * vc/smerge-mode.el (smerge-mine): Use shades of red.
707 (smerge-other): Use shades of green.
708 (smerge-base): Use shades of yellow.
709 (smerge-refined-change): Empty face.
710 (smerge-refined-removed): New face that uses shades of red.
711 (smerge-refined-added): New face that uses shades of green.
712 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
713 args `props-r' and `props-a', and use them. Doc fix.
714 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
715 on its value use different faces `smerge-refined-change',
716 `smerge-refined-removed', `smerge-refined-added' in the call to
717 `smerge-refine-subst'.
718
719 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
720 Add face condition `min-colors 88' with shades of red.
721 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
722 `min-colors 88' with shades of green.
723 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
724 `min-colors 88' with shades of yellow.
725
6df9112c
GM
7262012-05-24 Glenn Morris <rgm@gnu.org>
727
ead5edc0
GM
728 * paths.el (prune-directory-list, remote-shell-program): Move to...
729 * files.el (prune-directory-list, remote-shell-program): ...here.
730 For the latter, delay initialization, prefer ssh, just search PATH.
731
f18b81e6
GM
732 * paths.el (term-file-prefix): Move to faces.el (the only user).
733 * faces.el (term-file-prefix): Move here, make it a defcustom.
734
ee2f89a6
GM
735 * paths.el (news-directory, news-path, news-inews-program):
736 Move to gnus/nnspool.el.
61a583ca 737
f8815e4c
GM
738 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
739
c8f3b42c
GM
740 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
741 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
742 Make the latter a defcustom, with a delayed initialization.
743
6df9112c
GM
744 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
745 These were deleted from Gnus itself late 2010.
746
5dadff36
JB
7472012-05-22 Juanma Barranquero <lekktu@gmail.com>
748
9e1701c6
JB
749 * progmodes/which-func.el (which-func-ff-hook):
750 Check against user-error, not error.
751
bd7239f5 752 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
753 cl-specs.el, which no longer exists.
754
3290526d
GM
7552012-05-22 Glenn Morris <rgm@gnu.org>
756
757 * info.el (info-emacs-bug): New command.
758 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
759 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
760
ff0c3cfb
GM
7612012-05-21 Glenn Morris <rgm@gnu.org>
762
763 * makefile.w32-in (update-subdirs-SH):
764 * Makefile.in (update-subdirs): Update for moved update-subdirs.
765
5814f126
SM
7662012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
767
a52c0aa0
SM
768 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
769
5814f126
SM
770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
771 Simplify Maven regexp, and make sure the file can't start with a space
772 (bug#11517).
773
b847032c
GM
7742012-05-21 Glenn Morris <rgm@gnu.org>
775
776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
777 Scrap superfluous subshells.
778
3858bfe7
SM
7792012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
782 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
783
d14b0029
JB
7842012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
785
786 * calc/calc.el (calc-ensure-consistent-units): New variable.
787
a52c0aa0
SM
788 * calc/calc-units.el (math-consistent-units-p)
789 (math-check-unit-consistency): New functions.
790 (calc-quick-units, calc-convert-units):
791 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
792 is non-nil.
d14b0029
JB
793 (calc-extract-units): Fix typo.
794
60c4db3a
SM
7952012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
796
77f3b62e
SM
797 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
798
60c4db3a
SM
799 * textmodes/flyspell.el: Commenting style, plus code simplifications.
800 (flyspell-default-deplacement-commands): Don't spell check after
801 repeated window/frame switches (e.g. triggered by mouse-movement).
802 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
803 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
804 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
805 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
806 Remove unused vars.
807 (flyspell-get-casechars, flyspell-get-not-casechars):
808 Simplify; Don't bother removing a ] just to add it back.
809 * textmodes/ispell.el (ispell-program-name): Use executable-find.
810
b1a10716
RS
8112012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
812
813 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
814 New functions.
bd7239f5 815 (math-function-table): Add support for more C functions.
b1a10716 816
3f1b25b5
AM
8172012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
818
819 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
820 (flyspell-debug-signal-word-checked): Protect delay handling for
821 otherchars against empty otherchars.
822
b581bb5c
SM
8232012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
826 their respective macro declarations.
827 * skeleton.el (define-skeleton):
828 * progmodes/compile.el (define-compilation-mode):
829 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
830 (define-ibuffer-filter):
831 * emacs-lisp/generic.el (define-generic-mode):
832 * emacs-lisp/easy-mmode.el (define-minor-mode)
833 (define-globalized-minor-mode):
834 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
835 * emacs-lisp/byte-run.el (defsubst):
836 * custom.el (deftheme): Add doc-string metadata.
837
70b8ef8f
SM
8382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
841
b1198e17
SM
8422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
843
9abdc45d
SM
844 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
845
b1198e17
SM
846 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
847 * emacs-lisp/cl-macs.el: Idem.
848 * emacs-lisp/cl-specs.el: Remove.
849
4735906a
SM
8502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 Minor renaming of internal CL functions and variables.
853 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
854 (cl--position): Rename from cl-position.
855 (cl--delete-duplicates): Rename from cl-delete-duplicates.
856 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
857 (cl--random-state): Rename from *random-state*.
858
ac348012
SM
8592012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
862 parens around the arg list (bug#11499).
863
a0a79cde
JL
8642012-05-17 Juri Linkov <juri@jurta.org>
865
866 * isearch.el (word-search-regexp, word-search-backward)
867 (word-search-forward, word-search-backward-lax)
868 (word-search-forward-lax): Move functions from search.c
869 (bug#10145, bug#11381).
870
65034a51
AM
8712012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
872
873 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
874 (flyspell-debug-signal-word-checked): Delay for otherchars as for
875 normal word components.
876
1a72a195
SM
8772012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * minibuffer.el (completion--sifn-requote): Fix last change.
880 (minibuffer-local-must-match-filename-map):
881 Move define-obsolete-variable-alias before its var.
882
fdb058c2
SM
8832012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
884
c41045e6
SM
885 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
886
036dfb8b
SM
887 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
888 behavior.
889 (completion--string-equal-p): New function.
890 (completion--twq-all): Use it to get better assertion failure data.
891
2473256d
SM
892 Only handle ".." and '..' quoting in shell-mode (bug#11466).
893 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
894 (shell--requote-argument): New functions.
895 (shell-completion-vars): Use them.
896 (shell--parse-pcomplete-arguments): Rename from
897 shell-parse-pcomplete-arguments.
898 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
899 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
900 Obey comint-file-name-quote-list.
901
fdb058c2
SM
902 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
903 (smie-indent-keyword): Use it.
904
51fa99f1
SM
9052012-05-14 Stefan Merten <smerten@oekonux.de>
906
907 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
908
e18afed7 9092012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
910
911 * net/rlogin.el (rlogin-mode-map): Fix last change.
912
e18afed7 9132012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
914
915 * mail/smtpmail.el (smtpmail-send-command): Send the command and
916 the following \r\n using a single `process-send-string', since the
917 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 918 with two `process-send-string's (Bug#11444).
8633b1f4 919
e18afed7 9202012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 921
fdb058c2
SM
922 * shell.el (shell-parse-pcomplete-arguments):
923 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 924
2d21d7f6
WJ
9252012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
926
e18afed7 927 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
928 (image-transform-scale, image-transform-right-angle-fudge): New vars.
929 (image-transform-width, image-transform-fit-width): New functions.
930 (image-transform-properties): Use them.
931 (image-transform-check-size): New function.
932 (image-toggle-display-image): Use it (for testing).
933 (image-transform-set-rotation): Reduce angle mod 360.
934 Delete obsolete comment.
935
7102e6d0
WJ
9362012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
937
938 * image-mode.el: Fix scaling (bug#11399).
939 (image-transform-resize): Doc fix.
940 (image-transform-properties): Default scale is 1 and height should
941 be an integer.
942
06bc5e6e
SM
9432012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
944
945 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
946 than hard-coding `car', to fix misbehavior when moving forward.
947
0ae03b6a
CY
9482012-05-13 Chong Yidong <cyd@gnu.org>
949
950 * emacs-lisp/tabulated-list.el (tabulated-list-format)
951 (tabulated-list-entries, tabulated-list-padding)
952 (tabulated-list-sort-key): Make permanent-local.
953
954 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
955 (electric-buffer-list): Put electric buffer menu
956 command descriptions in this docstring, instead of the docstring
957 of electric-buffer-menu-mode. Code cleanups.
958 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
959 Electric-buffer-menu-mode.
960 (electric-buffer-update-highlight): Minor code cleanup.
961
205a7391
MA
9622012-05-13 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
965 (Bug#11447)
966
e5bd0a28
SM
9672012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 Move define-obsolete-variable-alias before the var's definition.
970 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
971 * tooltip.el (tooltip-hook):
972 * textmodes/reftex-toc.el (reftex-toc-map):
973 * textmodes/reftex-sel.el (reftex-select-label-map)
974 (reftex-select-bib-map):
975 * textmodes/reftex-index.el (reftex-index-map)
976 (reftex-index-phrases-map):
977 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
978 * progmodes/meta-mode.el (meta-mode-map):
979 * novice.el (disabled-command-hook):
980 * loadhist.el (unload-hook-features-list):
981 * frame.el (blink-cursor):
982 * files.el (find-file-not-found-hooks, write-file-hooks)
983 (write-contents-hooks):
984 * emulation/tpu-edt.el (GOLD-map):
985 * emacs-lock.el (emacs-lock-from-exiting):
986 * emacs-lisp/generic.el (generic-font-lock-defaults):
987 * emacs-lisp/chart.el (chart-map):
988 * dos-fns.el (register-name-alist):
989 * dired-x.el (dired-omit-files-p):
990 * desktop.el (desktop-enable):
991 * cus-edit.el (custom-mode-hook):
992 * buff-menu.el (buffer-menu-mode-hook):
993 * bookmark.el (bookmark-read-annotation-text-func)
994 (bookmark-exit-hooks):
995 * allout.el (allout-mode-deactivate-hook)
996 (allout-exposure-change-hook, allout-structure-added-hook)
997 (allout-structure-deleted-hook, allout-structure-shifted-hook):
998 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
999 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1000 comes before the corresponding variable's definition.
1001
ac59c2f6
CY
10022012-05-12 Chong Yidong <cyd@gnu.org>
1003
1004 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1005 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1006 (Buffer-menu-mode-map): Bind it.
1007 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1008
dee6c9a3
SM
10092012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1010
2171cea5
SM
1011 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1012 (prolog-upper-case-string, prolog-lower-case-string)
1013 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1014 (prolog-use-smie, prolog-smie-grammar): New vars.
1015 (prolog-smie-forward-token, prolog-smie-backward-token)
1016 (prolog-smie-rules): New funs.
1017 (prolog-comment-indent): Remove.
1018 (prolog-mode-variables): Use default comment indentation instead.
1019 Setup SMIE.
1020 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1021 (prolog-mode): Don't call them any more.
1022 (prolog-electric-colon, prolog-electric-dash)
1023 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1024
aa0382bd
SM
1025 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1026
dbacb4bd
SM
1027 * minibuffer.el (completion--twq-all): Again, allow case differences.
1028
13bdd94c
SM
1029 * term.el: Move keymap initialization code to be more idiomatic.
1030 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1031 (term-terminal-menu): Move initialization into declaration.
1032 (term-escape-char): Let the user set it in her .emacs.
1033
ff46c759
SM
1034 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1035 Provide SMIE-based indentation (not enabled by default yet).
1036 (sh-mode-map): Don't bind electric keys.
1037 Use electric-pair-mode instead of skeleton-pair.
1038 (sh-assignment-regexp): Fit within 80 columns.
1039 (sh-indent-supported): Specify actual shell name instead of boolean.
1040 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1041 (sh-maybe-here-document): Use it. Make obsolete.
1042 (sh-electric-here-document-mode) New minor mode.
1043 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1044 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1045 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1046 (sh-smie-rc-grammar, sh-use-smie): New vars.
1047 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1048 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1049 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1050 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1051 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1052 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1053 (sh-set-shell): Use smie-setup if requested.
1054
dee6c9a3
SM
1055 * term.el (term-set-escape-char): Properly set term-escape-char.
1056 See http://stackoverflow.com/questions/10524656.
1057
9f9aa044
CY
10582012-05-10 Chong Yidong <cyd@gnu.org>
1059
1060 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1061 Use url-generic-parse-url, and handle host names and Windows
1062 filenames properly.
1063 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1064 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1065 URL schemes to work on.
1066 (ffap--toggle-read-only): New function.
1067 (ffap-read-only, ffap-read-only-other-window)
1068 (ffap-read-only-other-frame): Use it.
1069 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1070 necessary for ffap-url-unwrap-remote.
1071
836d29b3
DA
10722012-05-10 Dave Abrahams <dave@boostpro.com>
1073
1074 * cus-start.el (create-lockfiles): Add it.
1075
00fd78ed
CY
10762012-05-09 Chong Yidong <cyd@gnu.org>
1077
1078 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1079 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1080
666b903b 10812012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1082
1083 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1084
666b903b 10852012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1086
1087 * ansi-color.el (ansi-color-process-output): Check for validity of
1088 comint-last-output-start before using it. This avoids a bad
1089 interaction with gdb-mi's input/output buffer.
1090
666b903b 10912012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1092
1093 * files.el (dir-locals-read-from-file):
1094 Mention dir-locals in any error message.
1095
666b903b 10962012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1097
1098 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1099 package (Bug#11410).
1100
f677562b
CY
1101 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1102 variables into description.
1103
666b903b 11042012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1105
1106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1107 shell-delimiter-argument-list (bug#11348).
1108 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1109
b499d8d0
JB
11102012-05-09 Juanma Barranquero <lekktu@gmail.com>
1111
8f6b6da8
JB
1112 * textmodes/rst.el: Silence byte-compiler warnings.
1113 (rst-re-alist, rst-reset-section-caches): Move around.
1114 (rst-re): Use `characterp', not `char-valid-p'.
1115 (font-lock-beg, font-lock-end): Declare.
1116
4824146a
JB
1117 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1118 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1119
b499d8d0
JB
1120 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1121
ad89bb83
GM
11222012-05-08 Glenn Morris <rgm@gnu.org>
1123
1124 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1125
8bba5a75
SM
11262012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1127
49ed9c8e
SM
1128 * vc/log-edit.el: Add GNU coding standards highlighting.
1129 (log-edit-font-lock-gnu-style)
1130 (log-edit-font-lock-gnu-keywords): New vars.
1131 (log-edit-font-lock-keywords): New fun.
1132 (log-edit-mode): Don't fold case in font-lock.
1133 (log-edit-font-lock-keywords): Do not assume case-folding.
1134
07d00b56
SM
1135 * imenu.el: Misc cleanup. Make docstrings out of comments.
1136 Use lexical-binding.
1137 (imenu--index-alist, imenu--last-menubar-index-alist)
1138 (imenu-menubar-modified-tick): Use defvar-local.
1139 (imenu--split-menu): Remove unused var.
1140 (imenu--cleanup-seen): Declare as global.
1141 (imenu--cleanup): Use dolist.
1142
8bba5a75
SM
1143 * subr.el (defvar-local): Add debug spec and doc-string position.
1144
5075bdb5
GM
11452012-05-08 Glenn Morris <rgm@gnu.org>
1146
c052c904
GM
1147 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1148 * language/english.el, language/georgian.el, language/greek.el:
1149 * language/japanese.el, language/khmer.el, language/korean.el:
1150 * language/lao.el, language/misc-lang.el, language/romanian.el:
1151 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1152 * language/thai.el, language/utf-8-lang.el:
1153 Remove no-byte-compile setting.
1154
5075bdb5
GM
1155 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1156
06f679a7
AH
11572012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1158
1159 * progmodes/make-mode.el (makefile-browse):
1160 Remove unnecessary interactive. (Bug#11324)
1161
03794570
GM
11622012-05-07 Glenn Morris <rgm@gnu.org>
1163
af8630f4
GM
1164 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1165
03794570
GM
1166 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1167
f0809a9d
SM
11682012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1169
28be5ce7
SM
1170 * loadup.el: Preload newcomment.el.
1171 * newcomment.el: Move autoload-only code to toplevel.
1172
f0809a9d
SM
1173 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1174 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1175 Handle new :right-align column property.
1176 (tabulated-list-print-col): Idem, plus use `display' text-property to
1177 try and preserve alignment for variable pitch fonts.
1178
1241b724
CY
11792012-05-07 Chong Yidong <cyd@gnu.org>
1180
1181 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1182 (tabulated-list-use-header-line): New var.
1183 (tabulated-list-init-header): Use it.
1184 (tabulated-list-print-fake-header): New function.
1185 (tabulated-list-print): Use it.
1186 (tabulated-list-sort-button-map): Add non-header-line commands.
1187 (tabulated-list-init-header): Add column name property to basic
1188 labels as well.
1189 (tabulated-list-col-sort): Handle non-header-line button case.
1190 (tabulated-list--sort-by-column-name): Fix a corner case.
1191
f0809a9d
SM
1192 * buff-menu.el (list-buffers--refresh):
1193 Handle Buffer-menu-use-header-line.
1241b724 1194
e5f9458f
CY
11952012-05-06 Chong Yidong <cyd@gnu.org>
1196
1197 * buff-menu.el: Convert to Tabulated List mode.
1198 (Buffer-menu-buffer+size-width): Make obsolete.
1199 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1200 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1201 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1202 documentation into docstring of buffer-menu.
1203 (Buffer-menu-toggle-files-only): Add an informative message.
1204 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1205 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1206 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1207 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1208 (Buffer-menu-execute, Buffer-menu-select)
1209 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1210 (Buffer-menu-bury): Use Tabulated List machinery.
1211 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1212 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1213 Delete.
e5f9458f
CY
1214 (list-buffers--refresh): New function.
1215 (list-buffers-noselect): Use it.
1216 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1217 (Buffer-menu--pretty-file-name): New helper functions.
1218
1219 * loadup.el: Preload tabulated-list.
1220
1221 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1222 tabulated-list-sort-column.
1223 (tabulated-list-init-header): Add the initial aligning space even
1224 if tabulated-list-padding is zero.
1225
e129292c
CS
12262012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1227
1228 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1229 whose cdr is not a cons cell correctly (bug#11038).
1230
6632d361
CY
12312012-05-06 Chong Yidong <cyd@gnu.org>
1232
e129292c
CS
1233 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1234 Accept additional plist in column descriptors.
6632d361
CY
1235 (tabulated-list-init-header): Obey it.
1236 (tabulated-list-get-entry): New function.
1237 (tabulated-list-put-tag): Use it. Use string-width instead of
1238 length.
1239 (tabulated-list--column-number): New function.
1240 (tabulated-list-print): Use it.
e129292c
CS
1241 (tabulated-list-print-col): New function.
1242 Set `tabulated-list-column-name' property on each column's text.
6632d361 1243 (tabulated-list-print-entry): Use it.
e129292c
CS
1244 (tabulated-list-delete-entry, tabulated-list-set-col):
1245 New functions.
6632d361
CY
1246 (tabulated-list-sort-column): New command (Bug#11337).
1247
3cc99f68
CY
1248 * buff-menu.el (list-buffers): Move C-x C-b binding from
1249 buff-menu.el to bindings.el.
1250
1251 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1252 :advertised-binding feature.
1253
52b61776
TN
12542012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1255
1256 * progmodes/compile.el (compilation-internal-error-properties):
1257 Calculate start position correctly when end-col is set but
1258 end-line is not (Bug#11382).
1259
ebfe2597
WJ
12602012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1261
1262 * man.el (Man-unindent): Use text-property-default-nonsticky to
1263 prevent untabify from inheriting face properties (Bug#11408).
1264
6d3f7c2f
SM
12652012-05-05 Stefan Merten <smerten@oekonux.de>
1266
1267 * textmodes/rst.el: Major merge with upstream development up to
1268 Docutils SVN r7399 / rst.el V1.2.1.
1269
1270 Clarify maintainership and authors.
1271
1272 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1273 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1274 (rst-official-version, rst-official-cvs-rev, rst-version)
1275 (rst-package-emacs-version-alist): New functions and variables
1276 for version information.
1277
1278 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1279 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1280 (rst-mode-syntax-table, rst-mode): New and corrected functions
1281 and variables representing reStructuredText features.
1282
1283 (rst-re): New function for reStructuredText regexes. Use in
1284 many places.
1285
1286 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1287 (rst-mode-map): Rebind keys.
1288
1289 (rst-mode-lazy, rst-font-lock-keywords)
1290 (rst-font-lock-extend-region)
1291 (rst-font-lock-extend-region-internal)
1292 (rst-font-lock-extend-region-extend)
1293 (rst-font-lock-find-unindented-line-limit)
1294 (rst-font-lock-find-unindented-line-match)
1295 (rst-adornment-level, rst-font-lock-adornment-level)
1296 (rst-font-lock-adornment-match)
1297 (rst-font-lock-handle-adornment-pre-match-form)
1298 (rst-font-lock-handle-adornment-matcher): Major revision of
1299 font-locking. Integrate with other code. Use `jit-lock-mode'.
1300
1301 (rst-preferred-adornments, rst-adjust-hook)
1302 (rst-new-adornment-down, rst-preferred-bullets)
1303 (rst-preferred-bullets, rst-indent, rst-indent-width)
1304 (rst-indent-field, rst-indent-literal-normal)
1305 (rst-indent-literal-minimized, rst-indent-comment): Change,
1306 extend and improve customization.
1307
1308 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1309 (rst-normalize-cursor-position, rst-get-decoration)
1310 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1311 (rst-rstrip, rst-toc-insert-find-delete-contents)
1312 (rst-shift-fill-region, rst-compute-bullet-tabs)
1313 (rst-debug-print-tabs, rst-debug-mark-found)
1314 (rst-shift-region-guts, rst-shift-region-right)
1315 (rst-shift-region-left, rst-use-char-classes)
1316 (rst-font-lock-keywords-function)
1317 (rst-font-lock-indentation-point)
1318 (rst-font-lock-find-unindented-line-begin)
1319 (rst-font-lock-find-unindented-line-end)
1320 (rst-font-lock-find-unindented-line)
1321 (rst-font-lock-adornment-point, rst-font-lock-level)
1322 (rst-adornment-level-alist): Remove functions and variables.
1323
1324 (rst-compare-adornments, rst-get-adornment-match)
1325 (rst-suggest-new-adornment, rst-get-adornments-around)
1326 (rst-adornment-complete-p, rst-get-next-adornment)
1327 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1328 (rst-straighten-adornments): Standardize function names to
1329 use "adornment" instead of "decoration". Correct callers.
1330 Similar standardizing in many places.
1331
1332 (rst-update-section, rst-adjust, rst-promote-region)
1333 (rst-enumerate-region, rst-bullet-list-region)
1334 (rst-repeat-last-character): Correct use of `interactive'.
1335
1336 (rst-classify-adornment, rst-find-all-adornments)
1337 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1338 (rst-find-leftmost-column, rst-repeat-last-character):
1339 Refactor functions.
1340
1341 (rst-find-title-line, rst-reset-section-caches)
1342 (rst-get-adornments-around, rst-adjust-adornment-work)
1343 (rst-arabic-to-roman, rst-roman-to-arabic)
1344 (rst-insert-list-pos, rst-insert-list-new-item)
1345 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1346 New functions.
1347
1348 (rst-all-sections, rst-section-hierarchy)
1349 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1350 New variables.
1351
1352 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1353 configuration instead of only buffer. Change where necessary.
1354
1355 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1356 (rst-shift-region, rst-adaptive-fill): New functions for
1357 indentation and filling.
1358
1359 (rst-comment-line-break, rst-comment-indent)
1360 (rst-comment-insert-comment, rst-comment-region)
1361 (rst-uncomment-region): New functions for handling comments.
1362
1363 (rst-compile): Quote shell arguments.
1364
1365 (rst-compile-pdf-preview, rst-compile-slides-preview):
1366 Delete temporary files after use.
1367
a43f98b3
GM
13682012-05-05 Glenn Morris <rgm@gnu.org>
1369
48176e8b
GM
1370 * calendar/cal-html.el: Optionally include holidays in the output.
1371 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1372 (cal-html-holidays): New option.
1373 (cal-html-css-default): Add holiday entry.
1374 (holiday-in-range): Autoload it.
1375 (cal-html-htmlify-entry): Add optional class argument.
1376 (cal-html-htmlify-list): Add optional holidays argument.
1377 (cal-html-insert-agenda-days): Include holidays in the output.
1378 (cal-html-one-month): Maybe include holidays.
1379
a43f98b3
GM
1380 * calendar/holidays.el (holiday-in-range):
1381 Move here from cal-tex-list-holidays.
1382 * calendar/cal-tex.el (cal-tex-list-holidays):
1383 Make it an obsolete alias for holiday-in-range. Update all callers.
1384
fef9d149 13852012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1386
1387 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1388 Nextstep.
1389
248da2f4
RW
13902012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1391
1392 * files.el (file-auto-mode-skip): New var.
1393 (set-auto-mode-1): Use it.
1394
f95e9344
SM
13952012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1396
df96ab1e
SM
1397 * repeat.el: Use lexical-binding.
1398 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1399 (repeat-undo-count): Remove.
1400 (repeat):
1401 * progmodes/octave-mod.el (octave-abbrev-start):
1402 * progmodes/f90.el (f90-abbrev-start):
1403 * face-remap.el (text-scale-adjust):
1404 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1405
5342bb06
SM
1406 * emacs-lisp/pcase.el (pcase--let*): New function.
1407 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1408 a bit more.
1409 (pcase--split-pred): Be more clever about ruling out overlap between
1410 a predicate and some constant pattern.
1411 (pcase--q1): Use `null' instead of (eq foo nil).
1412
f95e9344
SM
1413 * subr.el (setq-local, defvar-local): New macros.
1414 (kbd): Redefine as an alias.
1415 (with-selected-window): Leave unrelated frames alone.
1416 (set-temporary-overlay-map): New function.
1417
71873e2b
SM
14182012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * subr.el (user-error): New function.
1421 * window.el (switch-to-buffer):
1422 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1423 (smerge-match-conflict):
1424 * simple.el (previous-matching-history-element)
1425 (next-matching-history-element, goto-history-element, undo-more)
1426 (undo-start):
1427 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1428 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1429 (next-file, tags-loop-scan, list-tags, complete-tag):
1430 * progmodes/compile.el (compilation-loop):
1431 * mouse.el (mouse-minibuffer-check):
1432 * man.el (Man-bgproc-sentinel, Man-goto-page):
1433 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1434 (Info-history-forward, Info-follow-reference, Info-menu)
1435 (Info-extract-menu-item, Info-extract-menu-counting)
1436 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1437 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1438 (Info-next-reference, Info-prev-reference, Info-index)
1439 (Info-index-next, Info-follow-nearest-node)
1440 (Info-copy-current-node-name):
1441 * imenu.el (imenu--make-index-alist)
1442 (imenu-default-create-index-function, imenu-add-to-menubar):
1443 * files.el (basic-save-buffer, recover-file):
1444 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1445 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1446 (checkdoc-message-text, checkdoc-defun):
1447 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1448 * cus-edit.el (customize-changed-options, customize-rogue)
1449 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1450 (custom-variable-mark-to-reset-standard)
1451 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1452 (custom-file):
1453 * completion.el (check-completion-length):
1454 * comint.el (comint-search-arg)
1455 (comint-previous-matching-input-string-position)
1456 (comint-previous-matching-input)
1457 (comint-replace-by-expanded-history-before-point, comint-send-input)
1458 (comint-copy-old-input, comint-backward-matching-input)
1459 (comint-goto-process-mark, comint-set-process-mark):
1460 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1461 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1462
8a61ee22
SM
14632012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1464
66408d1e
SM
1465 * dabbrev.el (dabbrev--ignore-case-p): New function.
1466 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1467 Use it.
1468
8a61ee22
SM
1469 * files.el (automount-dir-prefix): Mark as obsolete.
1470
3c74813a
GM
14712012-05-04 Glenn Morris <rgm@gnu.org>
1472
1473 * patcomp.el, play/bruce.el: Move to obsolete/.
1474
0bfcf5c5
PE
14752012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1476
1477 Fix minor Y10k bugs.
1478 * arc-mode.el (archive-unixdate):
1479 * autoinsert.el (auto-insert-alist):
1480 * calc/calc-forms.el (math-this-year):
1481 * emacs-lisp/copyright.el (copyright-current-year)
1482 (copyright-update-year, copyright):
1483 * tar-mode.el (tar-clip-time-string):
1484 * time.el (display-time-update):
1485 Don't assume years have 4 digits.
1486
78f3273a
CY
14872012-05-04 Chong Yidong <cyd@gnu.org>
1488
1489 * dos-w32.el (file-name-buffer-file-type-alist)
1490 (direct-print-region-use-command-dot-com):
1491 * ffap.el (ffap-menu-regexp):
1492 * find-file.el (ff-special-constructs):
1493 * follow.el (follow-debug):
1494 * forms.el (forms--debug):
1495 * iswitchb.el (iswitchb-all-frames):
1496 * ido.el (ido-all-frames):
1497 * emacs-lisp/timer.el (timer-max-repeats):
1498 * mail/feedmail.el (feedmail-mail-send-hook)
1499 (feedmail-mail-send-hook-queued):
1500 * mail/footnote.el (footnote-signature-separator):
1501 * mail/mailabbrev.el (mail-alias-separator-string)
1502 (mail-abbrev-mode-regexp):
1503 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1504 * progmodes/idlwave.el (idlwave-libinfo-file)
1505 (idlwave-default-completion-case-is-down)
1506 (idlwave-library-routines): Convert defvars to defcustoms.
1507
1508 * mail/rmail.el (rmail-decode-mime-charset):
1509 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1510 (idlwave-shell-fix-inserted-breaks)
1511 (idlwave-shell-activate-alt-keybindings)
1512 (idlwave-shell-use-breakpoint-glyph):
1513 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1514
f7ae6719
SM
15152012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1518
47086495
WS
15192012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1520
1521 * progmodes/verilog-mode.el (font-lock-keywords):
1522 Fix mis-highligting auto. Reported by Craig Barner.
1523 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1524 defines from global name space. Reported by Dan Dever.
1525 (verilog-auto-reset, verilog-auto-reset-widths)
1526 (verilog-auto-tieoff): Support using unbased numbers for
1527 AUTORESET and AUTOTIEOFF.
1528 (verilog-submit-bug-report): Update variable list.
1529 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1530 parenthesis from not matching. Reported by Michael Rytting.
1531 (verilog-auto-template-lint): Fix hash error when linting modules
1532 with no used templates.
1533 (verilog-warn, verilog-warn-error)
1534 (verilog-warn-fatal): When non-interactive report multiple
1535 warnings before exiting. Suggested by Brad Dobbie.
1536 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1537 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1538 to report unused template errors. Reported by Brad Dobbie.
1539 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1540 nets, bug438. Reported by Vns Blore.
1541 (verilog-auto-inout-module, verilog-auto-reg)
1542 (verilog-read-decls, verilog-read-sub-decls-sig)
1543 (verilog-signals-edit-wire-reg, verilog-signals-with):
1544 Fix passing of Verilog data types in ANSI input/output ports
1545 such as "output logic" into the AUTOs. Special case "wire" and
1546 "reg" for backwards compatibility presuming Verilog 2001.
1547 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1548 (verilog-preprocess): Fix replication of preprocess output.
1549 Reported by Brad Dobbie.
1550 (verilog-auto-inst-interfaced-ports):
1551 Create verilog-auto-inst-interfaced-ports, bug429.
1552 Reported by Julian Gorfajn.
1553 (verilog-after-save-font-hook)
1554 (verilog-before-save-font-hook): New variable.
1555 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1556 (verilog-save-font-mods): Wrap disabling fontification, reported
1557 by David Rogoff.
1558 (verilog-do-indent, verilog-pretty-declarations-auto)
1559 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1560 Reported by Pierre-David Pfister.
1561 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1562 of class declarations, bug292. Reported by Kevin Heilman.
1563 (verilog-read-decls): Fix 'parameter type' not appearing in
1564 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1565 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1566 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1567 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1568 Reported by David Kravitz.
1569
15702012-05-03 Michael McNamara <mac@mail.brushroad.com>
1571
1572 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1573 assignment with tests in ifs and for loops.
1574 (verilog-extended-complete-re, verilog-complete-reg): Change so
1575 that DPI inport functions don't look like fuction declarations.
1576 (verilog-pretty-expr): Don't line up assignment
1577 operations to the test and increment in if and for loops
1578 (verilog-extended-complete-re, verilog-complete-reg): Change so
1579 that DPI inport functions don't look like fuction declarations
1580
2e51d4b5
KH
15812012-05-03 Kenichi Handa <handa@m17n.org>
1582
1583 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1584 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1585 (Bug#11282).
1586
2bd785a2
SM
15872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * emacs-lisp/bytecomp.el
1590 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1591 since cconv.el might have introduced :fun-body, internal-make-closure,
1592 and friends for bytecomp to handle (bug#11391).
1593 * custom.el (defcustom): Avoid ((λ ..) ..).
1594
99d27583
SM
15952012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1598
55a71479
JB
15992012-05-02 Juanma Barranquero <lekktu@gmail.com>
1600
1601 * notifications.el (dbus-debug):
1602 * term/linux.el (gpm-mouse-enable):
1603 * term/screen.el (xterm-register-default-colors): Declare.
1604
7b97c764
CY
16052012-05-02 Chong Yidong <cyd@gnu.org>
1606
2bc356d7
CY
1607 * cus-start.el (gc-cons-percentage, exec-suffixes)
1608 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1609 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1610 (make-cursor-line-fully-visible, void-text-area-pointer)
1611 (font-list-limit): Add customization data.
1612
7b97c764
CY
1613 * allout.el (allout-exposure-change-functions)
1614 (allout-structure-added-functions)
1615 (allout-structure-deleted-functions)
1616 (allout-structure-shifted-functions): Rename abnormal hooks from
1617 *-hook, and convert to defcustoms.
5d3385a0
JB
1618 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1619 Convert to defcustoms.
7b97c764
CY
1620 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1621
1622 * allout-widgets.el: Hook callers changed.
1623
90207a15 16242012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1625
1626 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1627 the yanked message in preference to the default value of
1628 buffer-file-coding-system.
1629
90207a15 16302012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1631
5d3385a0
JB
1632 * window.el (display-buffer--action-function-custom-type):
1633 Fix entry.
d9558cad 1634
90207a15 16352012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1636
1637 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1638
d80ac57b
GM
16392012-05-01 Glenn Morris <rgm@gnu.org>
1640
976f7668
GM
1641 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1642
beb83b5a
GM
1643 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1644
d80ac57b
GM
1645 * cus-edit.el (custom-variable-documentation): Simplify with format.
1646
b593d6a9
AH
16472012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1648 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * simple.el (suggest-key-bindings, execute-extended-command):
1651 Move from keyboard.c.
1652
782fbf2a
CY
16532012-05-01 Chong Yidong <cyd@gnu.org>
1654
1655 * follow.el: Eliminate advice.
1656 (set-process-filter, process-filter, sit-for): Advice deleted.
1657 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1658 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1659 Vars deleted.
782fbf2a
CY
1660 (follow-auto): Use a :set function.
1661 (follow-mode): Rewritten. Don't advise process filters.
1662 (follow-switch-to-current-buffer-all, follow-scroll-up)
1663 (follow-scroll-down): Assume follow-mode is bound.
1664 (follow-comint-scroll-to-bottom)
1665 (follow-align-compilation-windows): New functions.
1666 (follow--window-sorter): New function.
1667 (follow-all-followers): Use it to explicitly sort windows by their
1668 positions; don't make assumptions about next-window order.
1669 (follow-windows-start-end, follow-delete-other-windows-and-split)
1670 (follow-calc-win-start): Doc fix.
1671 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1672 vertical-motion unnecessarily.
1673 (follow-adjust-window): New function.
1674 (follow-post-command-hook): Use it.
1675 (follow-call-set-process-filter, follow-call-process-filter)
1676 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1677 (follow-stop-intercept-process-output, follow-generic-filter):
1678 Functions deleted.
1679 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1680 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1681 New functions, replacing advice on scroll-bar-* commands.
87233a14 1682 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1683
1684 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1685 (comint-postoutput-scroll-to-bottom): Use it.
1686 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1687
290af740
GM
16882012-05-01 Glenn Morris <rgm@gnu.org>
1689
1690 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1691 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1692 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1693 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1694 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1695 Remove no-byte-compile setting.
1696
6eac8dc9
SM
16972012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1700 all-completions code to not return a number in the last cdr.
1701
9cc7819c
LL
17022012-04-30 Leo Liu <sdl.web@gmail.com>
1703
1704 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1705 read-only error.
1706
c93b886f
CY
17072012-04-29 Chong Yidong <cyd@gnu.org>
1708
1709 * follow.el (follow-calc-win-end): Rewrite to handle partial
1710 screen lines correctly (Bug#8390).
1711 (follow-avoid-tail-recenter): Minor cleanup.
1712
8b6c19f4
SM
17132012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 Avoid the obsolete `assoc' package.
1716 * speedbar.el (speedbar-refresh): Avoid adelete.
1717 (speedbar-file-lists): Simplify and avoid aput.
1718 * man.el (Man--sections, Man--refpages): New vars, replacing
1719 Man-sections-alist and Man-refpages-alist.
1720 (Man-build-section-alist, Man-build-references-alist):
1721 Use them; avoid aput.
1722 (Man--last-section, Man--last-refpage): New vars.
1723 (Man-follow-manual-reference): Use them.
1724 Use the `default' arg of completing-read.
1725 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1726
c5bb7569
CY
17272012-04-27 Chong Yidong <cyd@gnu.org>
1728
d1d2e2e8
CY
1729 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1730
15cd8efd
CY
1731 * startup.el (x-apply-session-resources): New function.
1732
1733 * term/ns-win.el (ns-initialize-window-system):
1734 * term/w32-win.el (w32-initialize-window-system):
1735 * term/x-win.el (x-initialize-window-system): Use it to properly
1736 set menu-bar-mode and other vars from X resources, even if the
1737 initial frame is not a window-system frame (Bug#2299).
1738
c5bb7569
CY
1739 * subr.el (read-key): Avoid running filter function when setting
1740 up temporary tool bar entries (Bug#9922).
1741
a8e7d6d7 17422012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1743
1744 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1745 (Bug#11344)
1746
a8e7d6d7 17472012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1748
1749 * select.el (xselect--encode-string): New function, split from
1750 xselect-convert-to-string.
1751 (xselect-convert-to-string): Use it.
1752 (xselect-convert-to-filename, xselect-convert-to-os)
1753 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1754 returned strings are properly encoded (Bug#11315).
1755
a8e7d6d7 17562012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1757
1758 * simple.el (delete-active-region): Move to killing custom group.
1759
a8e7d6d7 17602012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1761
1762 * progmodes/which-func.el (which-func-current): Quote %
1763 characters for mode-line processing.
1764
578c1d4b 17652012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1766
1767 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1768 reaching eob (Bug#11286).
1769
a8e7d6d7 17702012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1771
1772 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1773 (gdb): Make it buffer-local and init to zero.
1774 (gdb-control-commands-regexp): New variable.
1775 (gdb-send): Don't wrap in "-interpreter-exec console" if
1776 gdb-control-level is positive. Increment gdb-control-level
1777 whenever the command matches gdb-control-commands-regexp, and
1778 decrement it each time the command is "end". (Bug#11279)
1779
a8e7d6d7 17802012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1781
1782 * window.el (adjust-window-trailing-edge, enlarge-window)
1783 (shrink-window, window-resize):
1784 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1785 windows (Bug#11276).
1786
b3608390
CY
17872012-04-27 Chong Yidong <cyd@gnu.org>
1788
1789 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1790 fix "missing prefix" warning. All callers changed.
b3608390 1791
797e6e88
SM
17922012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * emacs-lisp/assoc.el: Move to obsolete/.
1795
e95a67dc
SM
17962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1797
657c21e4 1798 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1799
1800 * term/ns-win.el (ns-define-service):
1801 * progmodes/pascal.el (pascal-goto-defun):
1802 * progmodes/js.el (js--read-tab):
1803 * progmodes/etags.el (tags-lazy-completion-table):
1804 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1805 * emacs-lisp/ewoc.el (ewoc--wrap):
1806 * emacs-lisp/assoc.el (aput, adelete, amake):
1807 * doc-view.el (doc-view-convert-current-doc):
1808 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1809
cb3e7ae0
CY
18102012-04-26 Chong Yidong <cyd@gnu.org>
1811
dce04f7f
CY
1812 * image.el (image-type-from-buffer): Only return supported image
1813 type (Bug#9045).
1814
cb3e7ae0
CY
1815 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1816 value, for symmetry with diff-end-of-hunk.
1817 (diff-split-hunk, diff-find-source-location)
1818 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1819 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1820 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1821 compute the relevant hunk or file properly (Bug#6005).
1822 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1823
0d42eb3e
SM
18242012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * vc/vc-mtn.el:
1827 * vc/vc-hg.el:
1828 * vc/vc-git.el:
1829 * vc/vc-dir.el:
1830 * vc/vc-cvs.el:
1831 * vc/vc-bzr.el:
1832 * vc/vc-arch.el:
1833 * vc/vc.el: Replace lexical-let by lexical-binding.
1834 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1835 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1836 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1837
f08ae1c9
CY
18382012-04-26 Chong Yidong <cyd@gnu.org>
1839
8b71081d
CY
1840 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1841 (diff-mode-shared-map): Bind it to / and [remap undo].
1842
f08ae1c9
CY
1843 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1844 (ediff-window-setup-function): Use it as the default, to set up
1845 windows based on whether the current frame is graphical (Bug#2138).
1846 (ediff-choose-window-setup-function-automatically): Make obsolete.
1847
1848 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1849
ef24141c
SM
18502012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1851
cc356a5d
SM
1852 * ffap.el: Remove old code for obsolete package.
1853 (ffap-complete-as-file-p): Remove.
1854
b4ff4f1f
SM
1855 Use completion-table-with-quoting for comint and pcomplete.
1856 * comint.el (comint--unquote&requote-argument)
1857 (comint--unquote-argument, comint--requote-argument): New functions.
1858 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1859 (comint-quote-filename): Use regexp-opt-charset.
1860 (comint--common-suffix, comint--common-quoted-suffix)
1861 (comint--table-subvert): Remove.
1862 (comint-unquote-function, comint-requote-function): New vars.
1863 (comint--complete-file-name-data): Use them with
1864 completion-table-with-quoting.
1865 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1866 * pcomplete.el (pcomplete-arg-quote-list)
1867 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1868 (pcomplete-unquote-argument-function): Default to non-nil.
1869 (pcomplete-unquote-argument): Simplify.
1870 (pcomplete--common-quoted-suffix): Remove.
1871 (pcomplete-requote-argument-function): New var.
1872 (pcomplete--common-suffix): New function.
1873 (pcomplete-completions-at-point): Use completion-table-with-quoting
1874 and completion-table-subvert.
1875
79c4eeb4
SM
1876 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1877 (minibuffer--double-dollars): Preserve properties.
1878 (completion--sifn-requote): New function.
1879 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1880
ef24141c
SM
1881 * minibuffer.el: Add support for completion of quoted/escaped data.
1882 (completion-table-with-quoting, completion-table-subvert): New funs.
1883 (completion--twq-try, completion--twq-all): New functions.
1884 (completion--nth-completion): New function.
1885 (completion-try-completion, completion-all-completions): Use it.
1886
784e7d6e
LL
18872012-04-25 Leo Liu <sdl.web@gmail.com>
1888
dd2ac746
SM
1889 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1890 Use compilation-message if available to find real filename.
784e7d6e 1891
07875ee7
CY
18922012-04-25 Chong Yidong <cyd@gnu.org>
1893
1894 * vc/diff-mode.el (diff-setup-whitespace): New function.
1895 (diff-mode): Use it.
1896
1897 * vc/diff.el (diff-sentinel):
1898 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1899 Whitespace mode variables based on diff style (Bug#8612).
1900
5055880d
LL
19012012-04-25 Leo Liu <sdl.web@gmail.com>
1902
daf75653
LL
1903 * progmodes/python.el (python-send-region): Add suffix .py to the
1904 temp file.
1905
5055880d
LL
1906 * files.el (auto-mode-alist): Use javascript-mode instead.
1907
db9b177b
AH
19082012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1909
ef24141c 1910 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1911
1912 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1913 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1914 references, see Bug#9.
ef24141c 1915 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1916 when receiving a fault reply.
ef24141c 1917 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1918
1919 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1920 (soap-inspect-simple-type): New function.
db9b177b 1921
ef24141c 1922 * soap-client.el (soap-simple-type): New struct.
db9b177b 1923 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1924 (soap-decode-basic-type, soap-encode-basic-type):
1925 support unsignedInt and double basic types.
db9b177b 1926 (soap-resolve-references-for-simple-type)
ef24141c
SM
1927 (soap-parse-simple-type, soap-encode-simple-type): New function.
1928 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1929
1930 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1931 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1932 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1933 the local name of "soapenc:Array".
1934 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1935 decoding integer, byte and anyURI xsd types.
1936
1fc6097b
CY
19372012-04-25 Chong Yidong <cyd@gnu.org>
1938
1939 * cus-edit.el (custom-buffer-create-internal): Update header text.
1940
afc6df87
EZ
19412012-04-25 Eli Zaretskii <eliz@gnu.org>
1942
1943 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1944 settings on 'system-type', not on 'window-system'. On MS-Windows,
1945 set interactive-mode on in GDB.
1946
dfbd787f
SM
19472012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1950 (ruby-syntax-propertize-regexp): Remove.
1951 (ruby-syntax-propertize-function): Split regexp into chunks.
1952 Match following code directly.
1953
85222d44
DG
19542012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1955
51a8ea2a
DG
1956 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1957 (ruby-syntax-propertize-regexp): New function.
1958 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1959 by a special keyword.
1960
85222d44
DG
1961 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1962 (ruby-syntax-general-delimiters-goto-beg)
1963 (ruby-syntax-propertize-general-delimiters): New functions.
1964 (ruby-syntax-propertize-function): Use them to handle GDL.
1965 (ruby-font-lock-keywords): Move old handling of GDL...
1966 (ruby-font-lock-syntactic-keywords): .. to here.
1967 (ruby-calculate-indent): Adjust indentation for GDL.
1968
b613912b
MA
19692012-04-24 Michael Albinus <michael.albinus@gmx.de>
1970
b5380639
MA
1971 * notifications.el (top): Remove unneeded declarations.
1972 (notifications-specification-version): Change to "1.2".
e43042fe 1973 (notifications-interface, notifications-notify-method)
b613912b
MA
1974 (notifications-close-notification-method): Fix docstring.
1975 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1976 (notifications-notify): Add :action-items, :resident and
1977 :transient hints. Change "image_data" to "image-data" and
1978 "image_path" to "image-path".
b613912b
MA
1979 (notifications-get-capabilities): New defun.
1980
257440aa
LL
19812012-04-24 Leo Liu <sdl.web@gmail.com>
1982
1983 * progmodes/python.el: Move hideshow setup to the end.
1984
b1bac16e
MR
19852012-04-24 Martin Rudalics <rudalics@gmx.at>
1986
1987 * window.el (handle-select-window): Clear echo area since this is
1988 no more done by read_char (Bug#11304).
1989
d81bd059
SM
19902012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1993 and `/ M' to filter-derived-mode.
1994 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1995 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1996 (ibuffer-mark-by-mode): Use default rather than initial-input.
1997 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1998
c4cf6d91
IA
19992012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2000
2001 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2002 (ibuffer-filter-by-derived-mode): New filter.
2003 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2004
7511ded8
CY
20052012-04-23 Andreas Politz <politza@fh-trier.de>
2006
2007 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2008
775c916b
CY
20092012-04-23 Chong Yidong <cyd@gnu.org>
2010
2011 * cus-edit.el (customize-apropos, customize-apropos-options):
2012 Disable matching of non-option variables (Bug#11176).
2013 (customize-option, customize-option-other-window)
2014 (customize-changed-options): Doc fix.
2015 (customize-apropos-options, customize-apropos-faces)
2016 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2017
2018 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2019 Fix word list splitting (Bug#11132).
46c71e23
CY
2020 (apropos-symbol, apropos-keybinding, apropos-label)
2021 (apropos-property, apropos-function-button)
2022 (apropos-variable-button, apropos-misc-button): New faces.
2023 (apropos-symbol-face, apropos-keybinding-face)
2024 (apropos-label-face, apropos-property-face, apropos-match-face):
2025 Variables removed (Bug#8396).
2026 (apropos-library-button, apropos-format-plist, apropos-print)
2027 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2028
2df41f9c
MA
20292012-04-23 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * net/xesam.el (xesam-mode-map): Use let-bound map in
2032 initialization. (Bug#11292)
2033
da00640a
AM
20342012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2035
2036 Preserve ispell session localwords when switching back to
2037 original buffer.
2038
2039 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2040 variable to hold buffer session localwords.
2041 (ispell-kill-ispell): add option 'clear to delete session
2042 localwords.
2043 (ispell-command-loop, ispell-change-dictionary)
2044 (ispell-buffer-local-words): Preserve session localwords when
2045 needed.
2046
2047 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2048 Preserve session localwords when needed.
2049
f621ccf5
AM
20502012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2051
2052 * ispell.el (ispell-insert-word) Remove unneeded function using
2053 obsolete `translation-table-for-input'.
ef24141c
SM
2054 (ispell-word, ispell-process-line, ispell-complete-word):
2055 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2056
c2d1019e
CY
20572012-04-22 Chong Yidong <cyd@gnu.org>
2058
2059 * cus-edit.el (custom-variable-menu)
2060 (custom-variable-reset-saved, custom-face-menu)
2061 (custom-face-reset-saved): If there is no saved value, make the
2062 "reset-saved" operation bring back the default (Bug#9509).
2063 (custom-face-state): Properly detect themed faces.
2064
eeddc531
CY
2065 * faces.el (face-spec-set): Stop supporting deprecated form of
2066 third arg.
2067
dcbf5805
MA
20682012-04-22 Michael Albinus <michael.albinus@gmx.de>
2069
2070 Move functions from C to Lisp. Make non-blocking method calls
2071 the default. Implement further D-Bus standard interfaces.
2072
ef24141c
SM
2073 * net/dbus.el (dbus-message-internal): Declare function.
2074 Remove unneeded function declarations.
dcbf5805
MA
2075 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2076 (dbus-message-type-method-return, dbus-message-type-error)
2077 (dbus-message-type-signal): Declare variables. Remove local
2078 definitions.
2079 (dbus-interface-dbus, dbus-interface-peer)
2080 (dbus-interface-introspectable, dbus-interface-properties)
2081 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2082 Adapt docstring.
2083 (dbus-interface-objectmanager): New defconst.
2084 (dbus-call-method, dbus-call-method-asynchronously)
2085 (dbus-send-signal, dbus-method-return-internal)
2086 (dbus-method-error-internal, dbus-register-service)
2087 (dbus-register-signal, dbus-register-method): New defuns, moved
2088 from dbusbind.c
2089 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2090 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2091 New defuns.
dcbf5805
MA
2092 (dbus-call-method-non-blocking): Make it an obsolete function.
2093 (dbus-unregister-object, dbus-unregister-service)
2094 (dbus-handle-event, dbus-register-property)
2095 (dbus-property-handler): Obey the new structure of
2096 `bus-registered-objects'.
2097 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2098 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2099 Use `dbus-call-method'.
2100
cf20dee0
CY
21012012-04-22 Chong Yidong <cyd@gnu.org>
2102
2103 * cus-edit.el (custom-commands, custom-reset-menu)
2104 (Custom-reset-standard): Tweak labels.
2105 (custom-reset-button-menu): Change default to t.
2106 (custom-buffer-create-internal): For the custom-reset-button-menu
2107 case, put the revert button first.
2108 (custom-group-subtitle): New face.
2109 (custom-group-value-create): Align docstring to a specific column.
2110
2111 * wid-edit.el (widget-documentation-link-add): Don't handle
2112 indentation in this function.
2113 (widget-documentation-string-indent-to): New function.
2114 (widget-documentation-string-value-create): Use it.
2115
2116 * autorevert.el (auto-revert):
2117 * epg-config.el (epg):
2118 * ibuffer.el (ibuffer):
2119 * mpc.el (mpc):
2120 * ses.el (ses):
2121 * eshell/eshell.el (eshell):
2122 * net/ange-ftp.el (ange-ftp):
2123 * progmodes/ebnf2ps.el (postscript):
2124 * progmodes/flymake.el (flymake):
2125 * progmodes/prolog.el (prolog):
2126 * progmodes/verilog-mode.el (verilog-mode):
2127 * progmodes/which-func.el (which-func):
2128 * term/xterm.el (xterm):
2129 * textmodes/picture.el (picture):
2130 * textmodes/tildify.el (tildify):
2131 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2132 customization buffers.
2133
583e23bd
AM
21342012-04-22 Alan Mackenzie <acm@muc.de>
2135
2136 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2137 Adding a ) can hide the resulting (..) from searches. Fix it.
2138 Bound the backward search to the position of the existing (.
2139
7dd51bf1
JB
21402012-04-21 Juanma Barranquero <lekktu@gmail.com>
2141
2142 * progmodes/verilog-mode.el (verilog-mode): Check whether
2143 which-func-modes is t before adding verilog-mode.
2144 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2145
d64a438f
LL
21462012-04-21 Leo Liu <sdl.web@gmail.com>
2147
7dd51bf1 2148 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2149
081e8d65
MV
21502012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2151
2152 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2153 filling of the last column of a table (Bug#5635).
2154 (woman-find-next-control-line): New arg, specifying an additional
2155 regexp component for the control line.
2156 (woman2-roff-buffer): Use it.
2157 (woman-break-table): New function.
2158 (woman2-TS): Use it.
2159
21602012-04-21 Chong Yidong <cyd@gnu.org>
2161
2162 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2163 (woman-horizontal-escapes, woman-negative-vertical-space)
2164 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2165 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2166
ed571ccb
SM
21672012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * minibuffer.el (completion-file-name-table): Complete user names.
2170
39773899
LL
21712012-04-20 Leo Liu <sdl.web@gmail.com>
2172
2173 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2174 and pcase-let*.
2175
de6ff46d
CY
21762012-04-20 Chong Yidong <cyd@gnu.org>
2177
2178 * server.el (server-execute): Respect initial-buffer-choice if it
2179 is a string and there are no files to open (Bug#2825).
2180 (server-create-window-system-frame, server-create-tty-frame):
2181 Don't switch buffers here.
2d0e8e61
CY
2182 (server-process-filter): Only try to open a window system frame if
2183 compiled with graphical support (Bug#8314).
de6ff46d 2184
54071013
DN
21852012-04-20 Dan Nicolaescu <dann@gnu.org>
2186
2187 * battery.el (battery-echo-area-format): Display remaining time
2188 for sysfs backend too (Bug#11269).
2189 (battery-linux-sysfs): Fix conditional for the charge.
2190
f30d612a
CY
21912012-04-20 Chong Yidong <cyd@gnu.org>
2192
c07a4c0b 2193 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2194 (gdb-inferior-io--init-proc): New function.
2195 (gdb-init-1): Use it.
2196 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2197 responsible for allocating a new pty and hooking it to gdb when
2198 the old pty gets an EIO due to process exit.
2199 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2200 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2201 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2202
2116e93c
EZ
22032012-04-20 Eli Zaretskii <eliz@gnu.org>
2204
2205 * window.el (window-min-size, window-sizable, window-min-delta)
2206 (window-max-delta, window--resizable, window-resizable)
2207 (window-total-size, window-full-height-p, window-full-width-p)
2208 (window-in-direction, window--resize-mini-window, window-resize)
2209 (window--resize-child-windows-normal)
2210 (window--resize-child-windows, window--resize-siblings)
2211 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2212 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2213
c07a4c0b 22142012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2215
ef24141c
SM
2216 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2217 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2218 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2219 pty process (Bug#11273).
2220 (gdb-update): New arg to suppress talking to the gdb process.
2221 (gdb-done-or-error): Use it.
2222 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2223 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2224 sentinel not being called.
2225
2226 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2227
d02766ab
CY
2228 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2229
c07a4c0b 22302012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2231
2232 * net/network-stream.el (open-network-stream): Doc fix.
2233
c07a4c0b 22342012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2235
2236 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2237
c07a4c0b 22382012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2239
2240 Ensure searching for keywords is case sensitive.
2241
2242 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2243 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2244 (c-defun-name, c-mark-function, c-cpp-define-name)
2245 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2246 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2247
ef24141c
SM
2248 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2249 Bind case-fold-search to nil.
f0f6bc35 2250
c07a4c0b 22512012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2252
2253 * mail/sendmail.el (mail-bury): Call return action with the right
2254 Rmail buffer (Bug#11242).
2255
9a864fa2
CY
2256 * server.el (server-process-filter): Handle corner case where both
2257 tty and nowait options are present (Bug#11102).
2258
539aa513
EZ
22592012-04-20 Eli Zaretskii <eliz@gnu.org>
2260
2261 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2262 (top level): Put into the executable the ident-style '$Id:' tag on
2263 windows-nt as well.
539aa513 2264
cfc7d5da
SM
22652012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * electric.el (electric-indent-post-self-insert-function): Check that
2268 electric-indent-mode is enabled in current buffer.
2269
5b01685c
JB
22702012-04-19 Juanma Barranquero <lekktu@gmail.com>
2271
2272 * imenu.el (imenu-progress-message): Restore; it is "used" in
2273 erc/erc-imenu.el and net/snmp-mode.el.
2274
4d6769e1
JB
22752012-04-19 Juanma Barranquero <lekktu@gmail.com>
2276
2277 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2278 (mouse-avoidance-nudge-mouse): Remove unused binding.
2279
2280 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2281
2282 * descr-text.el (describe-char):
2283 * progmodes/python.el (python-describe-symbol):
2284 Don't call `toggle-read-only', set `buffer-read-only'.
2285
2286 * imenu.el (imenu-default-goto-function): Mark unused args.
2287 (imenu-progress-message): Remove obsolete macro; all callers changed.
2288
2289 * subr.el (keymap-canonicalize): Remove unused binding.
2290 (read-passwd): Mark unused arg.
2291
2292 * tutorial.el (tutorial--display-changes): Remove unused binding.
2293 (tutorial--save-tutorial-to): Remove unused variable.
2294
2295 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2296 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2297 (package-generate-autoloads, package-menu--generate)
2298 (package-menu--find-upgrades): Remove unused bindings.
2299
2300 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2301 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2302 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2303 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2304 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2305 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2306 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2307 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2308 (cua-delete-char-rectangle): Mark unused args.
2309 (cua-align-rectangle): Remove unused binding.
2310
2311 * mail/rmail.el (compilation--message->loc)
2312 (epa--find-coding-system-for-mime-charset): Declare.
2313
2314 * net/dbus.el (dbus-register-service): Declare.
2315 (dbus-name-owner-changed-handler): Remove unused binding.
2316
2317 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2318 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2319 (nxml-scan-backward-within): Mark unused arg.
2320 (nxml-dynamic-markup-word): Remove unused binding.
2321
2322 * mouse.el (mouse-menu-major-mode-map):
2323 * emacs-lisp/authors.el (authors-scan-change-log)
2324 (authors-add-to-author-list):
2325 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2326 * emacs-lisp/smie.el (smie-auto-fill):
2327 * mail/sendmail.el (mail-bury):
2328 * mail/unrmail.el (unrmail):
2329 * net/tls.el (open-tls-stream):
2330 * textmodes/picture.el (picture-mouse-set-point):
2331 Remove unused bindings.
2332
8c8fc5df
MA
23332012-04-19 Michael Albinus <michael.albinus@gmx.de>
2334
2335 * net/tramp.el (tramp-action-password): Let-bind
2336 `enable-recursive-minibuffers' to t.
2337
a77b0ac9
SS
23382012-04-18 Sam Steingold <sds@gnu.org>
2339
2340 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2341 instead of 'string to accommodate values like [f11].
2342 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2343 * progmodes/gdb-mi.el: Likewise.
2344
12a106a9
LL
23452012-04-18 Leo Liu <sdl.web@gmail.com>
2346
2347 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2348 current buffer.
2349 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2350 LOCAL is nil.
2351
bc6494ef
CY
23522012-04-18 Chong Yidong <cyd@gnu.org>
2353
2354 * simple.el (line-move): Use forward-line if in batch mode
2355 (Bug#11053).
2356
c09c46b2
CS
23572012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2358
2359 * files.el (after-find-file): Do not try to add a final newline if
2360 the buffer is read-only (Bug#11156).
2361
5f6530ea
RS
23622012-04-17 Richard Stallman <rms@gnu.org>
2363
2364 * mail/rmail.el (rmail-start-mail):
2365 Pass (rmail-mail-return...) for the return-action.
2366 Pass (rmail-yank-current-message...) for the yank-action.
2367 (rmail-yank-current-message): New function.
2368 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2369 (rmail-reply): Likewise.
2370 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2371
2372 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2373 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2374 buffer, not newbuf.
2375
197b6f3c
JB
23762012-04-17 Juanma Barranquero <lekktu@gmail.com>
2377
2378 * server.el (server-ensure-safe-dir): Simplify.
2379
2311d8e5 23802012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2381
2311d8e5
GM
2382 * emacs-lisp/smie.el: Provide smarter auto-filling.
2383 (smie-auto-fill): New function.
2384 (smie-setup): Use it.
98fb480e 2385
2311d8e5
GM
2386 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2387
23882012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2389
2390 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2391 (comment-indent): Use it.
2392
2311d8e5 23932012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2394
2395 * ses.el: The overall change is to add cell renaming, that is
2396 setting fancy names for cell symbols other than name matching
2397 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2398 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2399 (ses-create-cell-variable): New defun.
2311d8e5 2400 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2401 (ses-relocate-formula): Relocate formulas only for cells the
2402 symbols of which are not renamed, i.e. symbols whose names do not
2403 match regexp "\\`[A-Z]+[0-9]+\\'".
2404 (ses-relocate-all): Relocate values only for cells the symbols of
2405 which are not renamed.
2406 (ses-load): Create cells variables as the (ses-cell ...) are read,
2407 in order to check row col consistency with cell symbol name only
2408 for cells that are not renamed.
2409 (ses-replace-name-in-formula): New defun.
2410 (ses-rename-cell): New defun.
4bdf2ad2 2411
fc72b15c
PO
24122012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2413
2414 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2415 New option (bug#11118).
2416 (perl-calculate-indent): Respect it.
2417
12e10e61
GM
24182012-04-17 Glenn Morris <rgm@gnu.org>
2419
2420 * dired-aux.el (dired-mark-read-string): Doc fix.
2421
30009afd
DA
24222012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2423
2424 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2425 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2426
41f03f4d
GM
24272012-04-17 Glenn Morris <rgm@gnu.org>
2428
2429 * mouse.el (mouse-drag-track):
2430 * speedbar.el (speedbar-frame-mode):
2431 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2432
f45f90f3
LL
24332012-04-16 Leo Liu <sdl.web@gmail.com>
2434
2435 * progmodes/python.el: Trivial cleanup.
2436
94ee8db5
GM
24372012-04-16 Glenn Morris <rgm@gnu.org>
2438
121b8917
GM
2439 * vc/vc.el (vc-string-prefix-p):
2440 * vc/pcvs-util.el (cvs-string-prefix-p):
2441 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2442 * mpc.el (mpc-string-prefix-p):
2443 Make all of these into obsolete aliases for string-prefix-p.
2444 Update callers.
2445 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2446
1197ecfa
GM
2447 * textmodes/two-column.el: Move custom options to the start.
2448 (frame-width): Remove compat definition.
2449 (2C-associate-buffer, 2C-dissociate):
2450 Use with-current-buffer rather than save-excursion.
2451 (2C-dissociate): Force a mode-line update.
2452 (2C-autoscroll): Use ignore-errors.
2453
099e7202
GM
2454 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2455 Autoload trivia.
2456
bf350d6a
GM
2457 * emacs-lisp/cl-extra.el (*random-state*):
2458 Remove unnecessary declaration.
2459
0e829eab
GM
2460 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2461
e3ad7552
GM
2462 * play/cookie1.el (cookie-snarf):
2463 Give an explicit error if input file cannot be read.
2464
68892d27
GM
2465 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2466
20f0c46d
GM
2467 * progmodes/perl-mode.el (c-macro-expand):
2468 Remove unnecessary autoload (it is in loaddefs.el).
2469
5a0978ce
GM
2470 * textmodes/picture.el (picture-desired-column)
2471 (picture-update-desired-column): Convert comments to doc-strings.
2472 (picture-substitute): Remove function.
2473 (picture-mode-map): Initialize in the defvar.
2474
6b955486
GM
2475 * woman.el: Remove eval-after-load for tar-mode.
2476 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2477 (woman-tar-extract-file): Autoload it.
2478
94ee8db5
GM
2479 * frame.el (automatic-hscrolling): Make this alias obsolete.
2480
177eca34
AM
24812012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2482
2483 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2484 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2485 (ispell-dictionary-base-alist): Revert to original XEmacs
2486 friendly version for default. [:alpha:] will be added in
2487 `ispell-set-spellchecker-params' if needed
177eca34 2488
c505aaeb
CY
24892012-04-16 Chong Yidong <cyd@gnu.org>
2490
2491 * image.el (imagemagick--extension-regexp): New variable.
2492 (imagemagick-register-types): Use it.
2493 (imagemagick-types-inhibit): Add :set function. Allow new value
2494 of t to inhibit all types.
2495
2496 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2497 so we can preload it.
2498
2499 * loadup.el (fboundp): Preload regexp-opt, needed by
2500 imagemagick-register-types.
2501
60efac0f
CY
25022012-04-15 Chong Yidong <cyd@gnu.org>
2503
2504 * frame.el (scrolling): Remove nearly unused customization group.
2505
2506 * scroll-all.el (scroll-all-mode): Move to windows group.
2507
5dd1713e
CY
25082012-04-15 Chong Yidong <cyd@gnu.org>
2509
2510 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2511
e6fd457e
CY
25122012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2515 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2516
e153c136
GM
25172012-04-15 Glenn Morris <rgm@gnu.org>
2518
2519 * simple.el (process-file-side-effects): Doc fix.
2520
e6fd457e 25212012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2522
2523 * international/mule-cmds.el (set-language-environment): Doc fix.
2524
3603c3b1
JB
25252012-04-14 Juanma Barranquero <lekktu@gmail.com>
2526
2527 * server.el (server-auth-key, server-generate-key): Doc fixes.
2528 (server-get-auth-key): Doc fix. Use `string-match-p'.
2529 (server-start): Reflow docstring.
2530
e6de100c
LI
25312012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2532
2533 * server.el (server-generate-key): `called-interactively-p'
2534 requires a parameter.
2535
29734c21
MN
25362012-04-14 Michal Nazarewicz <mina86@mina86.com>
2537
2538 * server.el (server-auth-key): New variable.
75f1671a 2539 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2540 (server-start): Use the new variable and functions to allow
2541 setting a permanent server key (bug#9423).
2542
d65c9521
LL
25432012-04-14 Leo Liu <sdl.web@gmail.com>
2544
2545 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2546
5ae255c7
PE
25472012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2548
2549 Spelling fixes.
2550 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2551 Emacs uses American spelling.
2552
d5e6342e
JB
25532012-04-14 Juanma Barranquero <lekktu@gmail.com>
2554
2555 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2556 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2557 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2558 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2559
ab036cd7
SM
25602012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * progmodes/which-func.el (which-func-modes): Change default.
2563
35dc09a1 25642012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2565
2566 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2567 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2568
35dc09a1 25692012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2570
2571 * custom.el (custom-theme-set-variables): Doc fix.
2572
35dc09a1 25732012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2574
2575 * international/mule.el (set-auto-coding-for-load): Doc fix.
2576
35dc09a1 25772012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2578
35dc09a1
GM
2579 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2580 imenu work again for Objective C Mode. Correct the *-index values,
2581 these having been disturbed by a previous change in 2011-08.
57f845ee 2582
0de3da9f
AM
2583 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2584 Correct two search limits.
2585
35dc09a1 25862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2587
2588 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2589
35dc09a1 25902012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2591
2592 * international/characters.el: Fix sorting.
2593
35dc09a1 25942012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2595
2596 * international/characters.el: Add more missing Latin case pairs.
2597
35dc09a1 25982012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2599
2600 * files.el (dir-locals-set-class-variables): Doc fix.
2601
35dc09a1 26022012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2603
3f1b5bf8
EZ
2604 * international/characters.el: Add set-case-syntax-pair call for
2605 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2606 counterpart. (Bug#11209)
2607
9f847f41
EZ
2608 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2609
35dc09a1 26102012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2611
2612 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2613
35dc09a1 26142012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2615
35dc09a1
GM
2616 * textmodes/ispell.el (ispell-dictionary-base-alist):
2617 Add data for Hebrew.
e2627d21 2618
35dc09a1 26192012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2620
35dc09a1
GM
2621 * net/rcirc.el (rcirc-cmd-quit):
2622 Revert 2012-03-18 change (Bug#11192).
5c14e333 2623
35dc09a1 26242012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2625
2626 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2627
35dc09a1 26282012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2629
4517fe3a
SM
2630 * minibuffer.el (completion-in-region-mode-map):
2631 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2632
b472a594
VD
26332012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2634
2635 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2636
09b95ce3
MY
26372012-04-13 Masatake YAMATO <yamato@redhat.com>
2638
2639 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2640 to allow `C-M-f' and `C-M-b' to move to the nearest path
2641 separator (bug#9511).
2642
4b63a9ca
LI
26432012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2644
2645 * avoid.el: Require cl when compiling. And also move the
2646 `provide' to the end.
2647
7b55b8bf
TV
26482012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2649
2650 * avoid.el (mouse-avoidance-banish-position): New variable.
2651 (mouse-avoidance-banish-destination): Use it (bug#10165).
2652
adedaa1f
LL
26532012-04-13 Leo Liu <sdl.web@gmail.com>
2654
2655 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2656
70e74021
KB
26572012-04-13 Ken Brown <kbrown@cornell.edu>
2658
2659 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2660 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2661 (browse-url-filename-alist): For the same reason, don't modify
2662 file:// URLs on Cygwin.
2663
e75e89ba
SM
26642012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2667 the region on shift if the binding is already shifted (bug#11221).
2668
82f289a4
GM
26692012-04-12 Glenn Morris <rgm@gnu.org>
2670
2671 * mail/mailpost.el: Move to obsolete/.
2672
d333dc4c
DA
26732012-04-12 Drew Adams <drew.adams@oracle.com>
2674
2675 * imenu.el (imenu--generic-function): Ignore invisible definitions
2676 (bug#10123).
2677
0d15b5ba
VD
26782012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2679
2680 * hexl.el (hexl-bits): New variable.
2681 (hexl-options): Mention the variable in the doc string.
75f1671a 2682 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2683 (hexl-mode): Mention the new variable.
75f1671a
JB
2684 (hexl-mode, hexl-current-address, hexl-current-address):
2685 Use the displen.
0d15b5ba
VD
2686 (hexl-ascii-start-column): New function.
2687 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2688 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2689
64a440db
AM
26902012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2691
2692 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2693 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2694 the encoding, as expected by hunspell.
2695
6decb6c2
SM
26962012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * battery.el (battery--linux-sysfs-regexp): New const.
2699 (battery-status-function): Use it. Remove yeeloong special case.
2700 (battery-yeeloong-sysfs): Remove.
2701 (battery-echo-area-format): Remove yeeloong special case.
2702
088be6fb
SM
27032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2704
6622e416
SM
2705 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2706 Reported by Noah Friedman.
2707
088be6fb
SM
2708 * subr.el (read-passwd): Use read-string.
2709
b49f886e
LMI
27102012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2711
2712 * vcursor.el (vcursor-move): Increase the priority of the overlay
2713 (bug#9663).
2714
a63067fc
DD
27152012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2716
2717 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2718 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2719
ac3cf14a
WS
27202012-04-11 William Stevenson <yhvh2000@gmail.com>
2721
2722 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2723 define-minor-mode (bug#10760).
2724
c4fc691b 27252012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2726
4d6769e1 2727 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2728 that directories matching `grep-find-ignored-files' won't be
2729 pruned (bug#10351).
2730
af23e2e5
CY
27312012-04-11 Chong Yidong <cyd@gnu.org>
2732
2733 * startup.el (command-line): Remove support for long-obsolete
2734 variable font-lock-face-attributes.
2735
ab7ce8c1
GM
27362012-04-11 Glenn Morris <rgm@gnu.org>
2737
2738 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2739
de8c03dc
SM
27402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * window.el (window--state-get-1): Obey window-point-insertion-type.
2743
050cc68b
LB
27442012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2745
2746 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2747 to previous function when point is on the first character of a
75f1671a 2748 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2749
a38c310c
GM
27502012-04-11 Glenn Morris <rgm@gnu.org>
2751
effed0c2
GM
2752 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2753 not just file-errors.
2754
a38c310c
GM
2755 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2756 (vc-bzr-sha1): Use internal sha1.
2757
0221e323
SM
27582012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2761
43956923
SG
27622012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2763
2764 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2765 that start in the middle of the line (bug#10496).
2766
6a8c9eaf
DN
27672012-04-10 Dan Nicolaescu <dann@gnu.org>
2768
2769 * battery.el (battery-linux-proc-acpi): Only one battery is
2770 discharged at a time, but that seems to confuse battery.el when
2771 computing `rate-type' for the battery not being discharged
2772 (bug#10332).
2773
1930bf5d
SM
27742012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2a718f6f
SM
2776 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2777
599430d0
SM
2778 * international/quail.el: Use dolist and simplify.
2779 (quail-define-package, quail-update-keyboard-layout)
2780 (quail-define-rules): Use dolist.
2781 (quail-insert-kbd-layout, quail-get-translation): CSE.
2782
a2754b6c
SM
2783 * tmm.el: Use dolist, remove left over hook.
2784 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2785 Use dolist.
2786 (calendar-load-hook): Don't mess with it.
2787
1930bf5d
SM
2788 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2789 Use derived-mode-p. Run the diff asynchronously.
2790
9f67961c
LMI
27912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2792
2793 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2794
2a8ce227
JB
27952012-04-10 Juanma Barranquero <lekktu@gmail.com>
2796
2797 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2798 (list-dynamic-libraries--loaded): New function.
2799 (list-dynamic-libraries--refresh): Use it.
2800
8f33b5f8
NW
28012012-04-10 Nathan Weizenbaum <nweiz@google.com>
2802
1930bf5d
SM
2803 * progmodes/python.el (python-fill-paragraph):
2804 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2805 disabled (bug#7018).
2806
b12f0439
L
28072012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2808
1930bf5d 2809 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2810 DOS/MS Windows for the Baltic languages. There are still plenty
2811 of texts written in this encoding/codepage (bug#6519).
b12f0439 2812
57c3bd01
GM
28132012-04-10 Glenn Morris <rgm@gnu.org>
2814
2815 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2816 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2817
6c3eab30
FA
28182012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2819
1930bf5d 2820 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2821 next-line "n" and previous-line "p" in order to make recentf more
2822 consistent with ibuffer, dired or org-mode (bug#9387).
2823
24d78a88
LMI
28242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2825
bc72b5d9
LMI
2826 * image.el (put-image): Return the overlay created instead of the
2827 optional input string (bug#7834). Note that this may break code
2828 that is (for some reason or other) depending on `put-image'
2829 returning the string.
2830
bd2dba5a
LMI
2831 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2832
74beb59f
LMI
2833 * simple.el (zap-to-char): Allow zapping using input methods
2834 (bug#1580).
2835
24d78a88
LMI
2836 * textmodes/fill.el (fill-region): Leave point and mark where they
2837 were before filling (bug#5399).
2838
263f20cd
GM
28392012-04-09 Glenn Morris <rgm@gnu.org>
2840
2841 * version.el (emacs-bzr-get-version):
2842 Handle lightweight checkouts of local branches.
2843
58d1f797
AS
28442012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2845
263f20cd 2846 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2847
b4d3bc10
CY
28482012-04-09 Chong Yidong <cyd@gnu.org>
2849
2850 * custom.el (custom-variable-p): Return nil for non-symbol
2851 arguments instead of signaling an error.
2852 (user-variable-p): Obsolete alias for custom-variable-p.
2853
2854 * apropos.el (apropos-variable):
2855 * files-x.el (read-file-local-variable):
2856 * simple.el (set-variable):
2857 * woman.el (woman-mini-help):
2858 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2859
fd06db5d
GM
28602012-04-09 Glenn Morris <rgm@gnu.org>
2861
e5fcdb5e
GM
2862 * startup.el (normal-top-level): Don't look for leim-list.el
2863 in places where it will not be found. (Bug#910)
2864
fd06db5d
GM
2865 * international/mule-cmds.el (set-default-coding-systems):
2866 * files.el (normal-mode):
2867 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2868 This function was removed with ucs-tables.el in 2008.
2869
b39bb7e1
EZ
28702012-04-08 Eli Zaretskii <eliz@gnu.org>
2871
2872 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2873 ispell-encoding8-command to "-i", without a trailing space.
2874 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2875 separate command-line arguments, to specify the encoding, since
2876 that's how hunspell expects it.
2877
5c5b8e23
GM
28782012-04-08 Glenn Morris <rgm@gnu.org>
2879
2880 * loadup.el: Load bindings before cus-start.
2881 This reduces somewhat the number of "rogue" settings in emacs -Q.
2882
a1ed8b05
GM
28832012-04-07 Glenn Morris <rgm@gnu.org>
2884
2885 * version.el (emacs-bzr-get-version): New function.
dfae128a 2886 (emacs-bzr-version): New variable.
a1ed8b05
GM
2887 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2888 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2889
b142f158
EZ
28902012-04-07 Eli Zaretskii <eliz@gnu.org>
2891
dfae128a
GM
2892 * international/uni-bidi.el, international/uni-category.el:
2893 * international/uni-combining.el, international/uni-decimal.el:
2894 * international/uni-decomposition.el, international/uni-digit.el:
2895 * international/uni-lowercase.el, international/uni-mirrored.el:
2896 * international/uni-name.el, international/uni-numeric.el:
2897 * international/uni-titlecase.el, international/uni-uppercase.el:
2898 Update for Unicode 6.1.
b142f158 2899
9078ead6
EZ
29002012-04-07 Eli Zaretskii <eliz@gnu.org>
2901
2902 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2903
f23d2c7d
LMI
29042012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2905
2906 * window.el (shrink-window): Mention the `window-min-height'
2907 variable in the doc string.
2908
0a0a3573
BG
29092012-04-05 Bastien Guerry <bzg@altern.org>
2910
2911 * color.el (color-lighten-name): Fix typo.
2912
e5248ac9
SM
29132012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * server.el (server--on-display-p): New function.
2916 (server--on-display-p): Use it.
2917
b4243e22
GV
29182012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2919
2920 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2921 (bug#11145).
2922
305d9f44
SM
29232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * comint.el (comint--common-quoted-suffix): Check string boundary
2926 before comparing (bug#11158).
2927 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2928
3d439cd1
CY
29292012-04-04 Chong Yidong <cyd@gnu.org>
2930
321cc491
CY
2931 * minibuffer.el (completion-extra-properties): Doc fix.
2932
3d439cd1
CY
2933 * subr.el (delayed-warnings-hook): Doc fix.
2934
2d562c0f
DU
29352012-04-04 Daiki Ueno <ueno@unixuser.org>
2936
2937 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2938 selection (Bug#11159).
2939 (epa-insert-keys): Inform that the default public key will be
2940 exported if no key is selected.
2941
4443f204
RS
29422012-04-04 Richard Stallman <rms@gnu.org>
2943
2944 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2945
529c06b6
CY
29462012-04-03 Chong Yidong <cyd@gnu.org>
2947
2948 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2949 mail-insert-file, not its obsolete alias mail-attach-file.
2950
66b907dc
MA
29512012-04-03 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * notifications.el (notifications-notify): Fix docstring.
2954
c0ea195d
GM
29552012-04-02 Glenn Morris <rgm@gnu.org>
2956
2957 * emacs-lisp/authors.el (authors-aliases): Another addition.
2958
5ca64e00
MA
29592012-04-02 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2962 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2963 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2964
42ee526b
CY
29652012-04-01 Chong Yidong <cyd@gnu.org>
2966
2967 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2968 Handle root directory properly.
2969 (copy-directory): Caller changed.
2970
2971 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2972 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2973
0b021094
GM
29742012-03-31 Glenn Morris <rgm@gnu.org>
2975
40f86458
GM
2976 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2977
7019c177
GM
2978 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2979
a1daddd6
GM
2980 * calendar/calendar.el (calendar-window-list)
2981 (calendar-hide-window): Restore. (Bug#11140)
2982 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2983
0b021094
GM
2984 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2985
40311efc
TV
29862012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2987
2988 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2989 Check if file is a symlink (Bug#10489).
2990
2991 * files.el (copy-directory): Likewise.
2992
5319014e
CY
29932012-03-30 Chong Yidong <cyd@gnu.org>
2994
2995 * image.el (imagemagick-types-inhibit)
2996 (imagemagick-register-types): Doc fix.
2997
935d1290
AM
29982012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2999
ef24141c
SM
3000 * ispell.el (ispell-get-extended-character-mode):
3001 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3002 and treats ~word as ordinary words in pipe mode.
935d1290 3003
61c6e8fd
GM
30042012-03-30 Glenn Morris <rgm@gnu.org>
3005
3006 * tutorial.el (help-with-tutorial): Ensure local variables don't
3007 happen to make the buffer read-only. (Bug#11127)
3008
81fdff00
SM
30092012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3012 (perl-calculate-indent): Return `noindent' in strings.
3013
6e7a6ec0
SS
30142012-03-28 Sam Steingold <sds@gnu.org>
3015
3016 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3017 instead of the broken adhockery which does not prevent calendar
3018 buffers from being displayed at random after exit.
3019 (calendar-window-list, calendar-hide-window): Remove the broken
3020 adhockery.
3021
fee88ca0
GM
30222012-03-28 Glenn Morris <rgm@gnu.org>
3023
3024 * replace.el (query-replace-map): Doc fix.
3025
38de3354
AS
30262012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3027
3028 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3029 contents. (Bug#11109)
3030
b973155e
SM
30312012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3034 (bug#11077).
3035 (avl-tree--check, avl-tree--check-node): New funs.
3036
dcb6e7b3
MR
30372012-03-27 Martin Rudalics <rudalics@gmx.at>
3038
3039 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3040 (switch-to-prev-buffer, switch-to-next-buffer):
3041 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3042 showing a buffer already is done on the same frame.
3043
b4fa35fa
GM
30442012-03-27 Glenn Morris <rgm@gnu.org>
3045
3046 * startup.el (mail-host-address): Doc fix.
3047
f9210e18
SM
30482012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3051 than 197 variables.
3052
c0bf7753
AF
30532012-03-26 Ami Fischman <ami@fischman.org>
3054
3055 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3056
33da7b16
GM
30572012-03-26 Glenn Morris <rgm@gnu.org>
3058
02243d9d
GM
3059 * files.el (save-buffers-kill-emacs): Doc fix.
3060
33da7b16
GM
3061 * startup.el (normal-top-level, command-line, command-line-1):
3062 Give them doc strings.
3063
e5a69fd0
EZ
30642012-03-25 Eli Zaretskii <eliz@gnu.org>
3065
3066 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3067 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3068
9a69676a
CY
30692012-03-25 Chong Yidong <cyd@gnu.org>
3070
4125cb8b
CY
3071 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3072 theme if it was previously enabled before (Bug#11031).
3073
dd470960
CY
3074 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3075 spec with custom-face-get-current-spec if its :shown-value is not
3076 determined yet (Bug#9337).
4125cb8b 3077 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3078
9a69676a
CY
3079 * button.el (button-at): Minor addition to docstring.
3080
6e7e90fa
SL
30812012-03-24 Simon Leinen <simon.leinen@gmail.com>
3082
3083 * vc/vc.el (vc-merge): Fix a prompt.
3084
f06e2758
CY
30852012-03-24 Chong Yidong <cyd@gnu.org>
3086
3087 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3088 point (Bug#9623).
3089
6e7e90fa
SL
3090 * button.el (button-at): Minor addition to docstring.
3091
b9d0879b
SM
30922012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * newcomment.el (comment-choose-indent): No space after BOL.
3095
e71cebb3
SS
30962012-03-22 Sam Steingold <sds@gnu.org>
3097
3098 * window.el (switch-to-prev-buffer): Revert last patch because the
3099 bug turned out to be an advertised feature (Elisp manual 28.14).
3100
335aff35
GM
31012012-03-22 Glenn Morris <rgm@gnu.org>
3102
3103 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3104 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3105
c676576a
LMI
31062012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3107
3108 * net/network-stream.el (network-stream-open-starttls): Make error
3109 message under Windows be less misleading.
3110
126f3d39
LW
31112012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3112
3113 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3114 understands (bug#9942).
3115
64fee311
CY
31162012-03-22 Chong Yidong <cyd@gnu.org>
3117
3118 * simple.el (end-of-visible-line): Handle return value of
3119 next-single-property-change properly (Bug#9371).
3120
a640d29a
KH
31212012-03-22 Kenichi Handa <handa@m17n.org>
3122
3123 * international/quail.el (quail-insert-kbd-layout): Fix previous
3124 change. To avoid unwanted bidi reordering, use
3125 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3126
39675016
DG
31272012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3128
3129 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3130 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3131 (ruby-beginning-of-indent): Be more careful with the difference
3132 between word-boundary and symbol boundary.
3133 (ruby-mode-syntax-table): Make : a symbol constituent.
3134
0a6934fc 31352012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3136
3d008e4f
SM
3137 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3138
0a6934fc
SM
31392012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3140
af67c9d7
SM
3141 * progmodes/etags.el (tags-completion-at-point-function):
3142 Improve last fix.
3143
1acad97c
SM
3144 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3145
e298b5da
SS
31462012-03-21 Sam Steingold <sds@gnu.org>
3147
3148 * progmodes/etags.el (tags-completion-at-point-function):
3149 Avoid the error when point is inside the pattern.
3150
91d82a70
JY
31512012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3152
3153 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3154 line (Bug#10855).
3155
69188b79
CY
31562012-03-21 Drew Adams <drew.adams@oracle.com>
3157
3158 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3159
99fc91fe
AK
31602012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3161
3162 * ido.el (ido-set-current-directory, ido-read-internal)
3163 (ido-choose-completion-string, ido-completion-help): Handle nil
3164 value of ido-completion-buffer (Bug#11008).
3165
087bbb4c
SS
31662012-03-21 Sam Steingold <sds@gnu.org>
3167
3168 * window.el (switch-to-prev-buffer): Do not switch to a visible
3169 window previous buffer, just like with the frame previous buffers.
3170
fb5b8aca
CY
31712012-03-21 Chong Yidong <cyd@gnu.org>
3172
3173 * faces.el (make-face, make-empty-face, copy-face):
3174 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3175 Doc fixes.
3176
dc9924b8
SM
31772012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3180 (widget-complete): Remove broken use of it.
3181
f0bcceb9
CY
31822012-03-20 Chong Yidong <cyd@gnu.org>
3183
dc9924b8
SM
3184 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3185 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3186 characters.
3187
ee52ebf3
TH
31882012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3189
3190 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3191 to draw rectangles, not squares. (Regression introduced by revno
3192 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3193
4c5779ab
CY
31942012-03-18 Chong Yidong <cyd@gnu.org>
3195
3196 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3197 it is not yet defined (for temacs).
3198
15360934
LL
31992012-03-18 Leo Liu <sdl.web@gmail.com>
3200
dc9924b8 3201 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3202
d9a8eb66
EZ
32032012-03-17 Eli Zaretskii <eliz@gnu.org>
3204
3205 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3206 (ispell-choices-win-default-height, ispell-silently-savep)
3207 (ispell-dictionary-alist, ispell-encoding8-command)
3208 (ispell-check-version, ispell-aspell-find-dictionary)
3209 (ispell-valid-dictionary-list, ispell-words-keyword)
3210 (ispell-get-word, ispell-internal-change-dictionary)
3211 (ispell-region, ispell-skip-region-list)
3212 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3213 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3214 (ispell-message-text-end, ispell-message)
3215 (ispell-buffer-local-parsing): Doc fix.
3216
f02ff80d
J
32172012-03-13 Jambunathan K <kjambunathan@gmail.com>
3218
3219 * htmlfontify.el: Add support for code block fontification for ODT
3220 export (Bug #9914).
3221 (hfy-optimisations): Define new option
3222 `body-text-only'
3223 (hfy-fontify-buffer): Honor above setting.
3224 (hfy-begin-span, hfy-end-span): New routines factored out form
3225 `hfy-fontify-buffer'.
3226 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3227 that permit insertion of custom tags.
3228 (hfy-fontify-buffer): Use above handlers.
3229 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3230 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3231 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3232 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3233 bind a special variable `hfy-user-sheet-assoc'.
3234 (htmlfontify-string): New defun.
3235 (hfy-compile-face-map): Make sure that the last char in the
3236 buffer is correctly fontified.
3237 (hfy-face-resolve-face): Whitespace only change.
3238
9ac7a13f
EZ
32392012-03-17 Eli Zaretskii <eliz@gnu.org>
3240
3241 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3242 message more clear.
3243
e2b5bdd7
LL
32442012-03-16 Leo Liu <sdl.web@gmail.com>
3245
3246 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3247
2e492df3
AM
32482012-03-16 Alan Mackenzie <acm@muc.de>
3249
3250 Further optimise the handling of large macros.
3251
3252 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3253 limit to a call of `c-literal-limits'.
3254 (c-determine-+ve-limit): New function.
dc9924b8
SM
3255 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3256 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3257 In CASE 5B, restrict a search limit to 500.
3258 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3259
3260 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3261 Restrict macro bounds to +-500 from after-change's BEG END.
3262
50e94f0c
LL
32632012-03-16 Leo Liu <sdl.web@gmail.com>
3264
3265 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3266
6f09f6ed
AH
32672012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3268
3269 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3270 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3271
c7e73d51
GM
32722012-03-16 Glenn Morris <rgm@gnu.org>
3273
da986230
GM
3274 * view.el (view-buffer, view-buffer-other-window)
3275 (view-buffer-other-frame): Doc fixes re special mode-class.
3276
0835f01e
GM
3277 * subr.el (eval-after-load): If named feature is provided not from
3278 a file, run after-load forms. (Bug#10946)
3279
c7e73d51
GM
3280 * calendar/calendar.el (calendar-insert-at-column):
3281 Handle non-unit-width characters a bit better. (Bug#10978)
3282
3f2eafd1
CY
32832012-03-15 Chong Yidong <cyd@gnu.org>
3284
3285 * emacs-lisp/ring.el (ring-extend): New function.
3286 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3287
3288 * comint.el (comint-read-input-ring)
3289 (comint-add-to-input-history): Grow comint-input-ring lazily.
3290
103af3fe
SM
32912012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3292
663b1677
SM
3293 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3294 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3295
103af3fe
SM
3296 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3297 (imenu-add-to-menubar): Don't add a redundant index.
3298 (imenu-update-menubar): Handle a dynamically composed keymap.
3299
899cb7cb
KY
33002012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3301
3302 * mail/sendmail.el (mail-encode-header):
3303 Bind rfc2047-encode-encoded-words to nil.
3304
3809f91d
GM
33052012-03-13 Glenn Morris <rgm@gnu.org>
3306
3307 * calendar/calendar.el (calendar-string-spread):
3308 Handle non-unit-width characters a bit better. (Bug#10978)
3309
9e345a01
LL
33102012-03-13 Leo Liu <sdl.web@gmail.com>
3311
3312 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3313 directory and file as argument (Bug#10822).
3314
4a07df36
KS
33152012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3316
3317 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3318 For dynamically generated code, follow $PC.
3319 (gdb-disassembly-handler-custom): Handle no function name case.
3320
4aaa9356
TL
33212012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3322
3323 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3324 * emulation/ws-mode.el (ws-query-replace):
3325 * sort.el (sort-regexp-fields):
3326 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3327
225979da
SM
33282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * dabbrev.el: Fix cycle completion order (bug#10963).
3331 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3332 (dabbrev-completion): Don't use an obarray; provide
3333 a cycle-sort-function.
3334
e2f1fdab
LL
33352012-03-12 Leo Liu <sdl.web@gmail.com>
3336
dc9924b8 3337 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3338 (kill-do-not-save-duplicates): Doc fix.
3339
b19490ed
SM
33402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * dabbrev.el: Fix cycle completion (bug#10963).
3343 Use lexical binding and wrap to 80 columns.
3344 (dabbrev-completion): Delay computing the list of completions.
3345
4b05d722
KH
33462012-03-12 Kenichi Handa <handa@m17n.org>
3347
3348 * international/quail.el (quail-insert-kbd-layout): Surround each
3349 row by LRO and PDF instead of inserting many LRMs. Pad the left
3350 and right of each non-spacing marks. Insert invisible space
3351 between lower and upper characters to prevent composition.
3352
dbbc2e69
SM
33532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * minibuffer.el (minibuffer-complete): Don't get confused when the
3356 function is run twice via different commands (bug#10958).
3357 (complete-with-action): Fix docstring.
3358
292112ed
CY
33592012-03-12 Chong Yidong <cyd@gnu.org>
3360
5d1ac394
CY
3361 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3362 (nxml-completion-at-point-function): New function.
3363 (nxml-mode): Use it.
3364 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3365
292112ed
CY
3366 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3367 Load generated autoloads file before byte compiling (Bug#10970).
3368 (package--make-autoloads-and-compile): New helper fun.
3369
4098f8f7
CS
33702012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3371
3372 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3373
8f754691
MA
33742012-03-11 Michael Albinus <michael.albinus@gmx.de>
3375
3376 * autorevert.el (auto-revert-handler): Ensure, that
3377 file-readable-p is applied only for local files or in
3378 auto-revert-tail-mode.
3379
e29ab36b
AS
33802012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3381
dbbc2e69
SM
3382 * server.el (server-eval-at): Handle non-tcp connections.
3383 Decode result string.
ad0bf5b6 3384
e29ab36b
AS
3385 * server.el (server-msg-size): New constant.
3386 (server-reply-print): New function.
3387 (server-eval-and-print): Use it.
3388 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3389 Handle -print-nonl.
3390
de5939ba
CS
33912012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3392
3393 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3394 (Bug#10987).
3395
0c93eabf
CY
33962012-03-11 Chong Yidong <cyd@gnu.org>
3397
397a688f
CY
3398 * simple.el (goto-line): Doc fix (Bug#9938).
3399
2cc775f9
CY
3400 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3401
0c93eabf
CY
3402 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3403 when finished (Bug#10963).
3404
c491fa41
MR
34052012-03-11 Martin Rudalics <rudalics@gmx.at>
3406
3407 * window.el (split-window-below): Fix bug in case where
3408 split-window-keep-point is nil (Bug#10971).
3409
300e8fa5
JL
34102012-03-11 Juri Linkov <juri@jurta.org>
3411
3412 * replace.el (replace-highlight): Set isearch-word to nil
3413 unconditionally. (Bug#10887)
3414
dbf6c5a1
EZ
34152012-03-10 Eli Zaretskii <eliz@gnu.org>
3416
3417 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3418 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3419 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3420 (mairix-widget-create-query): Add usage information about mairix
3421 search forms: negating words, searching for substrings, etc.
3422
b9e501de
JP
34232012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3424
3425 * international/fontset.el (font-encoding-alist): Add an entry for
3426 ksx1001 (Bug#5667).
3427
92795c91
RS
34282012-03-10 Richard Stallman <rms@gnu.org>
3429
1694e6c1
RS
3430 * mail/sendmail.el (mail-encode-header):
3431 Set rfc2047-encode-encoded-words.
3432
607e8555
RS
3433 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3434
de3bc99a
RS
3435 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3436 view buffer means not swapped.
3437 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3438 (rmail-write-region-annotate): Error if real text has disappeared.
3439
92795c91
RS
3440 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3441
699bd04e
CY
34422012-03-10 Chong Yidong <cyd@gnu.org>
3443
3444 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3445 * emulation/cua-base.el (cua--init-keymaps):
3446 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3447
570a1714
MR
34482012-03-10 Martin Rudalics <rudalics@gmx.at>
3449
dbbc2e69
SM
3450 * speedbar.el (speedbar-unhighlight-one-tag-line):
3451 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3452
82dcf4e4
CY
34532012-03-10 Chong Yidong <cyd@gnu.org>
3454
7a2c7ca7
CY
3455 * minibuffer.el (completion-in-region, completion-help-at-point):
3456 Give the completion field overlay a high priority (Bug#6830).
3457
82dcf4e4
CY
3458 * dired.el (dired-goto-file): Recognize absolute file name
3459 listings (Bug#7126).
3460 (dired-goto-file-1): New helper function.
3461 (dired-toggle-read-only): Inhibit warnings.
3462
052e28ac
MA
34632012-03-09 Michael Albinus <michael.albinus@gmx.de>
3464
75f1671a 3465 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3466 there are no properties.
3467
95d5e396
LL
34682012-03-09 Leo Liu <sdl.web@gmail.com>
3469
3470 * savehist.el (savehist-printable): Stricter check for string
3471 value (Bug#10937).
3472
3f018d6d
EZ
34732012-03-09 Eli Zaretskii <eliz@gnu.org>
3474
dbbc2e69
SM
3475 * mail/smtpmail.el (smtpmail-send-it):
3476 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3477 valid mbox format.
3478
f7fd3d79
GM
34792012-03-09 Glenn Morris <rgm@gnu.org>
3480
3481 * files.el (dir-locals-find-file):
3482 Don't check result is regular, readable.
3483 (dir-locals-read-from-file): Demote errors.
3484
6ff6e72f
EZ
34852012-03-08 Eli Zaretskii <eliz@gnu.org>
3486
dbbc2e69
SM
3487 * international/quail.el (quail-insert-kbd-layout):
3488 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3489 layout cell, to prevent their reordering by bidi display engine.
3490 For details, see the discussion in
3491 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3492
9cec7834
AM
34932012-03-08 Alan Mackenzie <acm@muc.de>
3494
3495 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3496 the starting position; make it extend the marked region when
3497 invoked repeatedly - all under appropriate circumstances.
3498 Fixes bugs #5525, #10906.
3499
9a40b8d4
GM
35002012-03-08 Glenn Morris <rgm@gnu.org>
3501
3502 * files.el (locate-dominating-file, dir-locals-find-file):
3503 Undo 2012-03-06 change.
3504
7a08ed35
EZ
35052012-03-07 Eli Zaretskii <eliz@gnu.org>
3506
dbbc2e69
SM
3507 * international/quail.el (quail-help):
3508 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3509 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3510 for the reason.
3511
5aca4f71 35122012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3513
3514 Avoid superfluous registering of signals. (Bug#10807)
3515
3516 * notifications.el (notifications-on-action-object)
3517 (notifications-on-close-object): New defvars.
3518 (notifications-on-action-signal, notifications-on-closed-signal):
3519 Unregister the signal if not needed any longer.
3520 (notifications-notify): Register `notifications-action-signal' or
3521 `notifications-closed-signal', if :on-action or :on-close has been
3522 passed as argument.
3523
78e8b10a
CY
35242012-03-07 Chong Yidong <cyd@gnu.org>
3525
3526 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3527 non-X platforms.
3528
69481eb8
GM
35292012-03-06 Glenn Morris <rgm@gnu.org>
3530
3531 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3532 (x-disown-selection-internal, x-get-selection-internal):
3533 Doc fix (add arglist signatures). (Bug#10783)
3534
133b8e11
KS
35352012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3536
3537 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3538 Handle breakpoints with no "type".
3539
99a83064
GM
35402012-03-06 Glenn Morris <rgm@gnu.org>
3541
3542 * files.el (locate-dominating-file): Add optional predicate argument.
3543 (dir-locals-find-file): Make use of above change.
3544
17798e78
TTN
35452012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3546
3547 * info.el (Info-insert-dir): Also try "dir.gz".
3548
eb182446
GM
35492012-03-06 Glenn Morris <rgm@gnu.org>
3550
8f2114ee
GM
3551 * files.el (dir-locals-find-file):
3552 Ignore non-readable or non-regular files. (Bug#10928)
3553
eb182446
GM
3554 * files.el (locate-dominating-file): Doc fix.
3555
24679323
AS
35562012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3557
3558 * calendar/calendar.el (calendar-set-mode-line):
3559 `getenv' returns a string. (Bug#10951)
3560
01d972a9
LL
35612012-03-05 Leo Liu <sdl.web@gmail.com>
3562
109aa8a9
LL
3563 * simple.el (backward-delete-char-untabify): Constrain point to
3564 field (Bug#10939).
3565
01d972a9
LL
3566 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3567
10607bea
CY
35682012-03-05 Chong Yidong <cyd@gnu.org>
3569
3570 * simple.el (count-words): If called from Lisp, return the word
3571 count, for symmetry with `count-lines'. Arglist changed.
3572 (count-words--message): Args changed. Consolidate counting code
3573 from count-words and count-words-region.
3574 (count-words-region): Caller changed.
3575 (count-lines-region): Make it an obsolete alias.
3576
5dd11cfe
TH
35772012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3578
3579 * saveplace.el (save-place-to-alist)
3580 (save-place-ignore-files-regexp): Allow value nil to disable this
3581 feature.
3582
c349f4e6
CY
35832012-03-04 Chong Yidong <cyd@gnu.org>
3584
3585 * faces.el (face-spec-reset-face): For the default face, reset the
3586 attributes to default values (Bug#10748).
3587
e627be4c
LMI
35882012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3589
3590 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3591 previous patch: Check `message-send-mail-function', and not the
3592 default function (bug#10897).
3593
ebeabff4
MA
35942012-03-04 Michael Albinus <michael.albinus@gmx.de>
3595
a41a6cf4
MA
3596 * notifications.el (notifications-on-action-signal)
3597 (notifications-on-closed-signal): Check for unique service name of
3598 incoming event. Fix error in removing entry.
ebeabff4 3599 (top): Register for signals with wildcard service name.
a41a6cf4 3600 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3601
c1ca42b4
CY
36022012-03-04 Chong Yidong <cyd@gnu.org>
3603
dc9924b8 3604 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3605
ea16568d
GM
36062012-03-04 Glenn Morris <rgm@gnu.org>
3607
3608 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3609 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3610 (expand-abbrev, define-abbrev-table): Doc fixes.
3611
fbae4637
LMI
36122012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3613
3614 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3615 `message-default-send-mail-function' and not `send-mail-function'
3616 when doing the prompting for `sendmail-query-once' before sending
3617 in Message buffers (bug#10897).
3618
a1e7225c
LMI
3619 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3620 This is inconsistent with all the other stream functions, which leave
3621 the setting up to the higher levels (if so wanted) (bug#10931).
3622
56d093a9
AM
36232012-03-02 Alan Mackenzie <acm@muc.de>
3624
3625 Depessimize the handling of very large macros.
3626
3627 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3628 (c-macro-cache-syntactic): New variables to implement a one
3629 element macro cache.
3630 (c-invalidate-macro-cache): New function.
3631 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3632 Adapt to use the new cache.
3633 (c-state-safe-place): Use better the cache of safe positions.
3634 (c-state-semi-nonlit-pos-cache)
3635 (c-state-semi-nonlit-pos-cache-limit):
3636 New variables for...
3637 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3638 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3639 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3640 Use c-state-semi-safe-place.
56d093a9 3641
dbbc2e69
SM
3642 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3643 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3644
817e5c3d
MA
36452012-03-02 Michael Albinus <michael.albinus@gmx.de>
3646
dbbc2e69
SM
3647 * jka-compr.el (jka-compr-call-process):
3648 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3649 not remote.
3650
a032a702
MA
36512012-03-01 Michael Albinus <michael.albinus@gmx.de>
3652
3653 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3654 access of FILE2, if FILE1 does not exist.
3655
99a54f21
MA
3656 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3657 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3658
3659 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3660 Add "PAGER=" to `process-environment'.
3661
f6561e1f
MM
36622012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3663
3664 * progmodes/sql.el: Bug fix
3665 (sql-get-login-ext): Save login values in globals.
3666 (sql-get-login): Use new version of `sql-get-login-ext'.
3667 (sql-interactive-mode): Set global `sql-connection' to nil.
3668 (sql-connect): Set global values for connection.
3669 (sql-product-interactive): Save global values as buffer local.
3670
2d44d9cc
LL
36712012-02-29 Leo Liu <sdl.web@gmail.com>
3672
3673 * abbrev.el (define-abbrevs): Reset sys to nil.
3674
96b49301 36752012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3676
bf7f9bc5
JB
3677 * files.el (file-equal-p): Rename from `files-equal-p'.
3678 Return nil when one or both files don't exist.
96b49301 3679 (file-subdir-of-p): Now only top directory must exists,
3680 return nil if it doesn't.
bf7f9bc5
JB
3681 (copy-directory): No need to test with `file-subdir-of-p' after
3682 creating dir.
3683 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3684 to `file-equal-p'.
96b49301 3685
44e97401
GM
36862012-02-28 Glenn Morris <rgm@gnu.org>
3687
3688 * shell.el (shell-mode):
3689 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3690 * play/landmark.el (landmark-font-lock-face-O):
3691 * play/handwrite.el (handwrite):
3692 * play/gomoku.el (gomoku-O):
3693 * net/browse-url.el (browse-url-browser-display):
3694 * international/mule.el (define-charset):
3695 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3696 * filesets.el (filesets-find-file-delay):
3697 * eshell/em-xtra.el (eshell-xtra):
3698 * eshell/em-unix.el (eshell-grep):
3699 * emulation/viper.el (viper-mode):
3700 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3701 * emacs-lisp/easymenu.el (easy-menu-define):
3702 * calendar/timeclock.el (timeclock-use-display-time):
3703 * bs.el (bs-mode):
3704 * bookmark.el (bookmark-save-flag):
3705 Doc fix (standardize possessive apostrophe usage).
3706
c98c6276
CY
37072012-02-27 Chong Yidong <cyd@gnu.org>
3708
bf7f9bc5
JB
3709 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3710 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3711
c98c6276
CY
3712 * font-lock.el (font-lock-specified-p): Rename from
3713 font-lock-spec-present. Callers changed.
3714
9c62cd04 37152012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3716
bf7f9bc5
JB
3717 * emacs-lisp/package.el (package-compute-transaction):
3718 Handle holding a package version to t in package-load-list.
8ac9e529 3719
530739c9
MA
37202012-02-26 Michael Albinus <michael.albinus@gmx.de>
3721
3722 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3723 (tramp-get-inode, tramp-get-device): Use cached values.
3724
487915d7
AM
37252012-02-26 Alan Mackenzie <acm@muc.de>
3726
3727 Check there is a font-lock specification before doing initial
3728 fontification.
3729
3730 * font-core.el (font-lock-mode): Move the conditional from
3731 :after-hook to font-lock-initial-fontify.
3732 (font-lock-default-function): Move the check for a specification
3733 to font-lock-spec-present.
3734
dc9924b8 3735 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3736 (font-lock-spec-present): New function.
3737
4fd96557
JB
37382012-02-26 Jim Blandy <jimb@red-bean.com>
3739
3740 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3741 (gdb-send): Apply it to the operand of the '-interpreter-exec
3742 console' command, so that we can pass arguments with (say) quotes
3743 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3744
9a4888c0
CY
37452012-02-26 Chong Yidong <cyd@gnu.org>
3746
07498861
CY
3747 * help-fns.el (describe-function-1): Clarify description of
3748 remapping (Bug#10844).
3749
9a4888c0
CY
3750 * files.el (files-equal-p): Doc fix.
3751 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3752 and quit the loop once a mismatch is found.
3753
ea8fb88d
JB
37542012-02-25 Juanma Barranquero <lekktu@gmail.com>
3755
3756 * bs.el (bs--show-with-configuration): Don't throw an error
3757 if the window cannot be split; otherwise, subsequent calls to
3758 bs-show fail, restoring a stale window config. (Bug#10882)
3759
525795c1
JD
37602012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3761
3762 * term/ns-win.el (global-map): Bind ns-drag-file to
3763 ns-find-file (Bug#5855, Bug#10050).
3764
f008086f
AS
37652012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3766
3767 * calendar/parse-time.el (parse-time-string): Allow extractor to
3768 return nil.
3769
a3fcfa99
MA
37702012-02-25 Michael Albinus <michael.albinus@gmx.de>
3771
91027d08
JB
3772 * net/tramp.el (tramp-file-name-for-operation):
3773 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3774
3775 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3776 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3777 Add COPY-CONTENTS argument.
a3fcfa99 3778
67b0de11
CY
37792012-02-25 Chong Yidong <cyd@gnu.org>
3780
3781 Add custom groups for VC backends, for consistency with vc-bzr.
3782
3783 * vc/vc-arch.el (vc-arch):
3784 * vc/vc-cvs.el (vc-cvs):
3785 * vc/vc-git.el (vc-git):
3786 * vc/vc-hg.el (vc-hg):
3787 * vc/vc-mtn.el (vc-mtn):
3788 * vc/vc-rcs.el (vc-rcs):
3789 * vc/vc-sccs.el (vc-sccs):
3790 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3791 All relevant defcustoms reassigned.
3792
3c9dfce6
CY
37932012-02-25 Chong Yidong <cyd@gnu.org>
3794
1339bf43
CY
3795 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3796
3c9dfce6
CY
3797 * term/x-win.el (x-initialize-window-system): Reduce default for
3798 x-selection-timeout to 5 seconds (Bug#8869).
3799
25b2e303 38002012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3801
ec70a47d
GM
3802 * files.el (files-equal-p, file-subdir-of-p): New functions.
3803 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3804 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3805 * dired-aux.el (dired-copy-file-recursive): Same.
3806 (dired-create-files): Modify destination when source is equal to
3807 dest when copying files.
53a46cd0 3808 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3809
914260cd
MA
38102012-02-24 Michael Albinus <michael.albinus@gmx.de>
3811
3812 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3813 (Bug#10874)
3814
2cb228f7
AM
38152012-02-23 Alan Mackenzie <acm@muc.de>
3816
3817 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3818 parameter "after-hook:" to allow the expansion to run code after
3819 the execution of the mode hooks.
3820
3821 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3822 from font-lock-mode-internal.
2cb228f7 3823
91027d08 3824 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3825 :after-hook.
3826
8f0fde21
SM
38272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3e88618b
SM
3829 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3830 (completion--cache-all-sorted-completions): New function.
3831 (completion-all-sorted-completions): Use it.
3832 (completion--do-completion, minibuffer-force-complete):
3833 Use it to re-instate the flush hook.
3834
8f0fde21
SM
3835 * icomplete.el (icomplete-completions): Replace last fix with a better
3836 one (bug#10850).
3837
8e911f6f
DG
38382012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3839
3840 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3841 when it might call us back infinitely (bug#10797).
3842
49fe4321
GM
38432012-02-23 Glenn Morris <rgm@gnu.org>
3844
3845 * minibuffer.el (completion-category-overrides): Doc fix.
3846
b291b572
SM
38472012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3850 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3851
31a9ef2e
GM
38522012-02-23 Glenn Morris <rgm@gnu.org>
3853
5e6e6794 3854 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3855 (authors-obsolete-files-regexps, authors-ignored-files)
3856 (authors-ambiguous-files, authors-renamed-files-alist):
3857 Add more entries.
3858
0bd1e074
JL
38592012-02-23 Juri Linkov <juri@jurta.org>
3860
3861 * isearch.el (isearch-occur): Sync interactive spec with occur's
3862 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3863
b617673c
JL
3864 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3865
19e9789e
JL
38662012-02-22 Juri Linkov <juri@jurta.org>
3867
3868 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3869 (ucs-insert): Doc fix. Check for hex digits in the string.
3870 Don't display `nil' in the error message. (Bug#10857)
3871
f41ce09d
AM
38722012-02-22 Alan Mackenzie <acm@muc.de>
3873
7a71b18d 3874 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3875
ac2eceee
GM
38762012-02-22 Glenn Morris <rgm@gnu.org>
3877
3878 * ffap.el (ffap-c-path):
3879 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3880
abd1f678
CY
38812012-02-22 Chong Yidong <cyd@gnu.org>
3882
3883 * custom.el (load-theme): Doc fix.
3884
f25aef2e
GM
38852012-02-22 Glenn Morris <rgm@gnu.org>
3886
3887 * dired-x.el (dired-guess-shell-alist-default):
3888 Remove escape sequences from nroff output. (Bug#172)
3889
5f8dc2ca
GM
38902012-02-21 Glenn Morris <rgm@gnu.org>
3891
6ff86ec4
GM
3892 * vc/emerge.el (emerge-defvar-local):
3893 Set `permanent-local' property rather than unused `preserved'.
3894
be3223a3 3895 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3896 (picture-mode-map): Use it. (Bug#10860)
3897 (picture-mode): Doc fix.
3898
3fe58f4f
JB
38992012-02-21 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * newcomment.el (uncomment-region-default): Remove unused binding.
3902
f9a998c3
GM
39032012-02-21 Glenn Morris <rgm@gnu.org>
3904
3905 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3906 (picture-self-insert, picture-tab-chars): Doc fix.
3907 (picture-mode-map): Fix C-a, C-e.
3908
c6029348
GM
39092012-02-20 Glenn Morris <rgm@gnu.org>
3910
3911 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3912
ab1ce9d7
LL
39132012-02-20 Leo Liu <sdl.web@gmail.com>
3914
3915 * icomplete.el (icomplete-completions): Check FROM arg before
3916 passing to substring (Bug#10850).
3917
0fd40f89
CY
39182012-02-19 Chong Yidong <cyd@gnu.org>
3919
3920 * comint.el: Require ansi-color.
3921 (comint-output-filter-functions): Add ansi-color-process-output.
3922
3923 * ansi-color.el: Don't set comint-output-filter-functions; it is
3924 now in the initial value defined in comint.el.
3925 (ansi-color-apply-face-function): New variable.
3926 (ansi-color-apply-on-region): Use it.
3927 (ansi-color-apply-overlay-face): New function.
3928
3929 * shell.el (shell): No need to require ansi-color.
3930 (shell-mode): Use ansi-color-apply-face-function to highlight
3931 color escapes using font-lock-face property (Bug#10835).
3932
20af2394
CY
39332012-02-19 Chong Yidong <cyd@gnu.org>
3934
3935 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3936 mode-line formats (Bug#10839).
3937
e23a3fbe
GM
39382012-02-18 Glenn Morris <rgm@gnu.org>
3939
b474519e
GM
3940 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3941
3942 * mail/undigest.el (unforward-rmail-message): Doc fix.
3943
e23a3fbe
GM
3944 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3945
57939ff4
EZ
39462012-02-18 Eli Zaretskii <eliz@gnu.org>
3947
3948 * international/characters.el (script-list): Sync with the latest
3949 Unicode Character Database.
3950
0c23686e
AS
39512012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3952
3953 * international/titdic-cnv.el: Remove duplicate coding tag.
3954 * language/cham.el: Likewise.
3955 * language/tai-viet.el: Likewise.
3956
6818b449
GM
39572012-02-18 Glenn Morris <rgm@gnu.org>
3958
3959 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3960 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3961 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3962 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3963 * calendar/holidays.el (holiday-bahai-holidays)
3964 (calendar-holidays, list-holidays):
3965 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
3966
0311a3fc
TH
39672012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3968
3969 * saveplace.el (save-place-ignore-files-regexp): New variable
3970 allowing for excluding files from saving their location of point.
3971 The default value matches the temporary commit message editing
3972 files from Git, SVN, Bazaar, and Mercurial.
3973 (save-place-to-alist): Use it.
3974
eb864a71
LM
39752012-02-17 Lawrence Mitchell <wence@gmx.li>
3976 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * newcomment.el (uncomment-region-default): Don't leave extra space
3979 when an arg is provided (bug#8150).
3980
ee0ce425
TZ
39812012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3982
eb864a71 3983 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3984
95ddf442
GM
39852012-02-17 Glenn Morris <rgm@gnu.org>
3986
3987 * net/socks.el: Require network-stream. (Bug#10599)
3988
48dd1e39 39892012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3990
3991 * international/charprop.el:
3992 * international/uni-name.el:
3993 * international/uni-old-name.el:
3994 * international/uni-comment.el: Regenerate.
3995
d68cd087
GM
39962012-02-16 Glenn Morris <rgm@gnu.org>
3997
3998 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3999 Interactively in calendar buffer, give an error if not on a date.
4000
13932042
GM
40012012-02-15 Glenn Morris <rgm@gnu.org>
4002
4003 * shell.el (shell-delimiter-argument-list):
4004 Revert 2011-02-17 change. (Bug#8027)
4005
c3a70e2b
CY
40062012-02-15 Chong Yidong <cyd@gnu.org>
4007
60236b0d
CY
4008 * minibuffer.el (completion-at-point-functions): Doc fix.
4009
c3a70e2b
CY
4010 * custom.el (defcustom): Doc fix; note use of defvar.
4011
9f26dc24
GM
40122012-02-15 Glenn Morris <rgm@gnu.org>
4013
4014 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4015 Doc fixes.
4016
6546b134
GM
40172012-02-14 Glenn Morris <rgm@gnu.org>
4018
4019 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4020
d29b2b4c
LI
40212012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4022
4023 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4024 way the ports list is computed.
835bdcba
LI
4025 (smtpmail-query-smtp-server): Prompt the user for a port number if
4026 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4027
08dcdbc9
TZ
40282012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4029
4030 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4031
2605051a
GM
40322012-02-13 Glenn Morris <rgm@gnu.org>
4033
4034 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4035
7ee99f32
TZ
40362012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4037
4038 * net/gnutls.el (gnutls-trustfiles): New variable.
4039 (gnutls-negotiate): Use it.
4040
5f0af64f
LI
40412012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4042
4043 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4044 does its stuff if Gnus is running.
4045
c14fcc95
AM
40462012-02-13 Alan Mackenzie <acm@muc.de>
4047
4048 Fix a loop in c-set-fl-decl-start.
4049
7a71b18d 4050 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4051 c-backward-syntactic-ws actually moves backwards.
4052
142b4d90
LL
40532012-02-13 Leo Liu <sdl.web@gmail.com>
4054
4055 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4056 beginning so that all \C-o chars are removed.
4057
fa9958a6
TZ
40582012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4059
dc9924b8 4060 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4061
0bc5886a
AM
40622012-02-12 Alan Mackenzie <acm@muc.de>
4063
4064 Fix infinite loop with long macros.
4d6769e1 4065 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4066
d4bd55e7
CY
40672012-02-12 Chong Yidong <cyd@gnu.org>
4068
4069 * window.el (display-buffer): Doc fix (Bug#10785).
4070
66f3fe22
GM
40712012-02-12 Glenn Morris <rgm@gnu.org>
4072
bd7da63e
GM
4073 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4074 (x-disown-selection-internal, x-get-selection-internal):
4075 Sync docs with the xselect.c versions.
4076
66f3fe22
GM
4077 * allout-widgets.el: Add missing license notice.
4078
3e0d2fa7
GM
40792012-02-11 Glenn Morris <rgm@gnu.org>
4080
cfecdf09
GM
4081 * select.el (x-get-selection-internal, x-own-selection-internal)
4082 (x-disown-selection-internal):
4083 * x-dnd.el (x-get-selection-internal): Update declarations.
4084
6d216d7f
GM
4085 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4086
2bed3f04
GM
4087 * window.el (window-sides-slots):
4088 * tool-bar.el (tool-bar-position):
4089 * term/xterm.el (xterm-extra-capabilities):
4090 * ses.el (ses-self-reference-early-detection):
4091 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4092 (verilog-auto-wire-type)
4093 (verilog-auto-delete-trailing-whitespace)
4094 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4095 (verilog-auto-tieoff-declaration):
4096 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4097 (sql-oracle-statement-starters, sql-oracle-scan-on):
4098 * progmodes/prolog.el (prolog-align-comments-flag)
4099 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4100 (prolog-left-indent-regexp, prolog-paren-indent-p)
4101 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4102 (prolog-types, prolog-mode-specificators)
4103 (prolog-determinism-specificators, prolog-directives)
4104 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4105 (prolog-electric-dot-flag)
4106 (prolog-electric-dot-full-predicate-template)
4107 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4108 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4109 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4110 (prolog-program-switches, prolog-prompt-regexp)
4111 (prolog-debug-on-string, prolog-debug-off-string)
4112 (prolog-trace-on-string, prolog-trace-off-string)
4113 (prolog-zip-on-string, prolog-zip-off-string)
4114 (prolog-use-standard-consult-compile-method-flag)
4115 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4116 (prolog-imenu-max-lines, prolog-info-predicate-index)
4117 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4118 (prolog-char-quote-workaround):
4119 * progmodes/cc-vars.el (c-defun-tactic):
4120 * net/tramp.el (tramp-encoding-command-interactive)
4121 (tramp-local-end-of-line):
4122 * net/soap-client.el (soap-client):
4123 * net/netrc.el (netrc-file):
4124 * net/gnutls.el (gnutls):
4125 * minibuffer.el (completion-category-overrides)
4126 (completion-cycle-threshold)
4127 (completion-pcm-complete-word-inserts-delimiters):
4128 * man.el (Man-name-local-regexp):
4129 * mail/feedmail.el (feedmail-display-full-frame):
4130 * international/characters.el (glyphless-char-display-control):
4131 * eshell/em-ls.el (eshell-ls-date-format):
4132 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4133 (lisp-lambda-list-keyword-parameter-indentation)
4134 (lisp-lambda-list-keyword-parameter-alignment):
4135 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4136 * dired-x.el (dired-omit-verbose):
4137 * cus-theme.el (custom-theme-allow-multiple-selections):
4138 * calc/calc.el (calc-highlight-selections-with-faces)
4139 (calc-lu-field-reference, calc-lu-power-reference)
4140 (calc-note-threshold):
4141 * battery.el (battery-mode-line-limit):
4142 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4143 (archive-7z-update):
4144 * allout.el (allout-prefixed-keybindings)
4145 (allout-unprefixed-keybindings)
4146 (allout-inhibit-auto-fill-on-headline)
4147 (allout-flattened-numbering-abbreviation):
4148 * allout-widgets.el (allout-widgets-auto-activation)
4149 (allout-widgets-icons-dark-subdir)
4150 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4151 (allout-widgets-theme-dark-background)
4152 (allout-widgets-theme-light-background)
4153 (allout-widgets-item-image-properties-emacs)
4154 (allout-widgets-item-image-properties-xemacs)
4155 (allout-widgets-run-unit-tests-on-load)
4156 (allout-widgets-time-decoration-activity)
4157 (allout-widgets-hook-error-post-time)
4158 (allout-widgets-track-decoration):
4159 Add missing :version tags to new defcustoms and defgroups.
4160
5fec1b8e
GM
4161 * progmodes/sql.el (sql-ansi-statement-starters)
4162 (sql-oracle-statement-starters): Add custom type.
4163
3e0d2fa7
GM
4164 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4165 (prolog-system-version): Give it a type.
4166
90b671e2
EZ
41672012-02-11 Eli Zaretskii <eliz@gnu.org>
4168
4169 * term/pc-win.el (x-select-text, x-selection-owner-p)
4170 (x-own-selection-internal, x-disown-selection-internal)
4171 (x-get-selection-internal): Sync doc strings and argument lists
4172 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4173
5eac0c02
LL
41742012-02-11 Leo Liu <sdl.web@gmail.com>
4175
4176 * progmodes/python.el (python-end-of-statement): Fix infinite
4177 loop. (Bug#10788)
4178
f82cb659
GM
41792012-02-10 Glenn Morris <rgm@gnu.org>
4180
4181 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4182 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4183
cc26d239
LI
41842012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4185
4186 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4187 about SMTP before checking the From header.
4188
91027d08 4189 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4190 into own function for reuse by emacsbug.el.
4191
1be3ca5a
LL
41922012-02-10 Leo Liu <sdl.web@gmail.com>
4193
4194 * subr.el (condition-case-unless-debug): Rename from
4195 condition-case-no-debug. All callers changed.
4196 (with-demoted-errors): Fix caller.
4197
4198 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4199 * nxml/rng-valid.el (rng-do-some-validation):
4200 * emacs-lisp/package.el (package-refresh-contents)
4201 (package-menu-execute):
4202 * desktop.el (desktop-create-buffer):
91027d08 4203 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4204
b011fbfe
GM
42052012-02-10 Glenn Morris <rgm@gnu.org>
4206
b2096d72
GM
4207 * textmodes/bibtex.el:
4208 Add missing :version tags for new/changed defcustoms.
4209
b011fbfe
GM
4210 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4211
4c7e65bf
LI
42122012-02-09 Lars Ingebrigtsen <larsi@rusty>
4213
4214 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4215 (smtpmail-via-smtp): Use it, or fall back on the From address.
4216 (smtpmail-send-it): Ditto.
4217
f3934f6f
SM
42182012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4221 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4222 (byte-compile-tmp-var): New const.
4223 (byte-compile-defvar): Use it to minimize .elc size.
4224 Just use `defvar' rather than simulate it (bug#10761).
4225
a075a2c5
GM
42262012-02-09 Glenn Morris <rgm@gnu.org>
4227
cf3aa21b
GM
4228 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4229
354998cd
GM
4230 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4231 Add :version tags.
4232
dc9924b8
SM
4233 * progmodes/compile.el (compilation-error-screen-columns)
4234 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4235
dab3703d
GM
4236 * vc/log-view.el (log-view-toggle-entry-display):
4237 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4238
3f88cd72
GM
4239 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4240 (report-emacs-bug-can-use-xdg-email):
4241 (report-emacs-bug-insert-to-mailer): Doc fixes.
4242 (report-emacs-bug): Message fix.
4243
d95b247d
GM
4244 * net/browse-url.el (browse-url-can-use-xdg-open)
4245 (browse-url-xdg-open): Doc fixes.
4246
a075a2c5
GM
4247 * electric.el (electric-indent-mode, electric-pair-mode)
4248 (electric-layout-rules, electric-layout-mode): Doc fixes.
4249 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4250
ffb6157e
MR
42512012-02-08 Martin Rudalics <rudalics@gmx.at>
4252
4253 * server.el (server-unselect-display): Don't inadvertently kill
4254 the current buffer. (Bug#10729)
4255
e1ac4066
GM
42562012-02-08 Glenn Morris <rgm@gnu.org>
4257
34e8a2da
GM
4258 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4259 (sql-list-table): Doc fixes.
4260
b4ac6e8c
GM
4261 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4262 Comment out (does nothing).
4263
e1ac4066
GM
4264 * completion.el (dynamic-completion-mode):
4265 * dirtrack.el (dirtrack-debug-mode):
4266 * electric.el (electric-layout-mode):
4267 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4268 * face-remap.el (text-scale-mode, buffer-face-mode):
4269 * iimage.el (iimage-mode):
4270 * image-mode.el (image-transform-mode):
4271 * minibuffer.el (completion-in-region-mode):
4272 * scroll-lock.el (scroll-lock-mode):
4273 * simple.el (next-error-follow-minor-mode):
4274 * tar-mode.el (tar-subfile-mode):
4275 * tooltip.el (tooltip-mode):
4276 * vcursor.el (vcursor-use-vcursor-map):
4277 * wid-browse.el (widget-minor-mode):
4278 * emulation/tpu-edt.el (tpu-edt-mode):
4279 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4280 * international/iso-ascii.el (iso-ascii-mode):
4281 * language/thai-util.el (thai-word-mode):
4282 * mail/supercite.el (sc-minor-mode):
4283 * net/goto-addr.el (goto-address-mode):
4284 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4285 * progmodes/cwarn.el (cwarn-mode):
4286 * progmodes/flymake.el (flymake-mode):
4287 * progmodes/glasses.el (glasses-mode):
4288 * progmodes/hideshow.el (hs-minor-mode):
4289 * progmodes/pascal.el (pascal-outline-mode):
4290 * textmodes/enriched.el (enriched-mode):
4291 * vc/smerge-mode.el (smerge-mode):
4292 Doc fixes (minor mode argument).
4293
5e0d957f
EZ
42942012-02-07 Eli Zaretskii <eliz@gnu.org>
4295
4296 * ls-lisp.el (ls-lisp-sanitize): New function.
4297 (ls-lisp-insert-directory): Use it to fix or remove any elements
4298 in file-alist with missing attributes. (Bug#4673)
4299
98d7371e
AM
43002012-02-07 Alan Mackenzie <acm@muc.de>
4301
4302 Fix spurious recognition of c-in-knr-argdecl.
4303
4304 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4305 putative K&R region.
4306
667ced3a
AM
43072012-02-07 Alan Mackenzie <acm@muc.de>
4308
eb864a71
LM
4309 * progmodes/cc-engine.el (c-forward-objc-directive):
4310 Prevent looping in "#pragma mark @implementation".
667ced3a 4311
5b77774d
MA
43122012-02-07 Michael Albinus <michael.albinus@gmx.de>
4313
4314 * notifications.el (notifications-on-closed-signal): Make `reason'
4315 optional. (Bug#10744)
4316
af008560
GM
43172012-02-07 Glenn Morris <rgm@gnu.org>
4318
60d47423
GM
4319 * emacs-lisp/easy-mmode.el (define-minor-mode):
4320 Doc fixes for the macro and the mode it defines.
4321
dd605cc4
GM
4322 * image.el (imagemagick-types-inhibit): Doc fix.
4323
af008560
GM
4324 * cus-start.el (imagemagick-render-type): Add it.
4325
5cc59a37
LI
43262012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4327
4d6769e1
JB
4328 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4329 Set the default at load time, too, so that `font-lock-fontify-buffer'
4330 can be called without setting up the entire mode first. This fixes
4331 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4332
9a6dd747
CY
43332012-02-06 Chong Yidong <cyd@gnu.org>
4334
2d16b285
CY
4335 * simple.el (list-processes--refresh): Delete exited processes
4336 (Bug#8094).
4337
171e9b6e
CY
4338 * comint.el (comint-next-prompt): next-single-char-property-change
4339 and prev-single-char-property-change never return nil (Bug#8657).
4340
9a6dd747
CY
4341 * custom.el (defcustom): Doc fix (Bug#9711).
4342
aa4589a7
CY
43432012-02-05 Chong Yidong <cyd@gnu.org>
4344
5c2a252f
CY
4345 * cus-edit.el (custom-variable-reset-backup): Quote the value
4346 before storing it in the customized-value property (Bug#6712).
4aab9006 4347 (custom-display): Add a customization type tag.
983b9602 4348 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4349
aa4589a7
CY
4350 * wid-edit.el (widget-field-value-get): New optional arg to
4351 suppress trailing whitespace truncation.
4352 (character): Use it (Bug#2689).
4353
1ff980ae
AS
43542012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4355
4356 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4357 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4358
03988c98
CY
43592012-02-05 Chong Yidong <cyd@gnu.org>
4360
eeb6cc88
CY
4361 * cus-edit.el (custom-variable-value-create): For mismatched
4362 types, show the current value (Bug#7600).
4363
03988c98
CY
4364 * custom.el (defcustom): Doc fix.
4365
f8cdeef0
GM
43662012-02-05 Glenn Morris <rgm@gnu.org>
4367
4368 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4369
0696d255
JB
43702012-02-05 Juanma Barranquero <lekktu@gmail.com>
4371
4372 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4373 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4374 (pp-last-sexp): Use `looking-at-p'.
4375
34c99998
GM
43762012-02-04 Glenn Morris <rgm@gnu.org>
4377
8f05da42
GM
4378 * files.el (revert-buffer):
4379 Doc fix (mention revert-buffer-in-progress-p).
4380
f160676e
GM
4381 * emacs-lisp/ert-x.el (ert-simulate-command):
4382 Check deferred-action-list (which is obsolete) is bound.
4383
c7291ad9
GM
4384 * subr.el (with-wrapper-hook): Doc fixes.
4385
34c99998
GM
4386 * simple.el (filter-buffer-substring-functions)
4387 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4388
6283a7d3
LL
43892012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4390
4391 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4392 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4393
e96e3013
LL
43942012-02-04 Leo Liu <sdl.web@gmail.com>
4395
4396 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4397
8ded50f2
GM
43982012-02-04 Glenn Morris <rgm@gnu.org>
4399
82ff1d13
GM
4400 * image.el (image-extension-data): Add obsolete alias.
4401
987a0a16
GM
4402 * isearch.el (isearch-update): Doc fix.
4403
ea32ef46
GM
4404 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4405
8ded50f2
GM
4406 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4407
eea14f31
GM
44082012-02-03 Glenn Morris <rgm@gnu.org>
4409
4410 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4411 (image-animate-timeout): Doc fix.
4412
4413 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4414
12f381b7
GM
44152012-02-02 Glenn Morris <rgm@gnu.org>
4416
953cebf5
GM
4417 * server.el (server-auth-dir): Doc fix.
4418 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4419
12f381b7
GM
4420 * subr.el (run-mode-hooks): Doc fix.
4421
953a8c3b
JL
44222012-02-02 Juri Linkov <juri@jurta.org>
4423
4424 * image-mode.el (image-toggle-display-image): Remove tautological
4425 `major-mode' from the `derived-mode-p' test.
4426
c5d3843c
KH
44272012-02-02 Kenichi Handa <handa@m17n.org>
4428
9f6e692e 4429 * composite.el (compose-region): Cancel previous change.
c5d3843c 4430
159462d4 44312012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4432
4433 * composite.el (compose-region, compose-string): Signal error for
4434 a null string component (Bug#6988).
4435
9f562668
CY
44362012-02-01 Chong Yidong <cyd@gnu.org>
4437
e2cef717
CY
4438 * view.el (view-buffer-other-window, view-buffer-other-frame):
4439 Handle special modes like view-buffer (Bug#10650).
4440 (view-buffer): Simplify.
4441
9f562668
CY
4442 * frame.el (set-frame-font): Tweak meaning of third argument.
4443
9f6e692e
JB
4444 * dynamic-setting.el (font-setting-change-default-font):
4445 Use set-frame-font (Bug#9982).
9f562668 4446
781acb9f
GM
44472012-02-01 Glenn Morris <rgm@gnu.org>
4448
6035be52
GM
4449 * progmodes/compile.el (compilation-internal-error-properties):
4450 Respect compilation-first-column in the "*compilation*" buffer.
4451
781acb9f
GM
4452 * emacs-lisp/easy-mmode.el (define-minor-mode):
4453 Relax :variable's test for a named function.
4454
abbceb00
AM
44552012-01-31 Alan Mackenzie <acm@muc.de>
4456
4457 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4458 off by one error.
4459
fce3fdeb
CY
44602012-01-31 Chong Yidong <cyd@gnu.org>
4461
4462 * frame.el (set-frame-font): New arg ALL-FRAMES.
4463
4464 * menu-bar.el (menu-set-font): Use set-frame-font.
4465
4466 * faces.el (face-spec-reset-face): Don't apply unspecified
4467 attribute values to the default face.
4468
47893581
JB
44692012-01-31 Juanma Barranquero <lekktu@gmail.com>
4470
4471 * progmodes/cwarn.el (cwarn): Remove dead link.
4472 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4473 Remove * from defcustom docstrings.
4474 (turn-on-cwarn-mode): Make obsolete.
4475 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4476 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4477
e58e988a
GM
44782012-01-31 Glenn Morris <rgm@gnu.org>
4479
60dc2671 4480 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4481 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4482 Allow named functions to be used as the cdr of :variable.
e58e988a 4483
7a3f511d
GM
44842012-01-30 Glenn Morris <rgm@gnu.org>
4485
4486 * emacs-lisp/authors.el (authors-fixed-entries):
4487 Remove reference to deleted file rnewspost.el.
4488
cb882333
JB
44892012-01-29 Juanma Barranquero <lekktu@gmail.com>
4490
4491 * window.el (window-with-parameter): Remove unused variable `windows'.
4492 (window--side-check): Remove unused variable `code'.
4493 (window--resize-siblings): Remove unused variable `first'.
4494 (adjust-window-trailing-edge): Remove unused variable `failed'.
4495 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4496 Use `let', not `let*'.
4497 (balance-windows-2): Remove unused variable `found'.
4498 (window--state-put-2): Remove unused variable `splits'.
4499 (window-state-put): Remove unused variable `selected'.
4500 (same-window-p): Use `string-match-p'.
4501 (display-buffer-assq-regexp): Remove unused variable `value'.
4502 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4503 Mark argument ALIST as ignored.
4504 (pop-to-buffer): Remove unused variable `old-window'.
4505
907201af
EZ
45062012-01-29 Eli Zaretskii <eliz@gnu.org>
4507
4508 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4509 and .lzma compressed files.
4510
ea162670
CY
45112012-01-29 Chong Yidong <cyd@gnu.org>
4512
5b95ee8a
CY
4513 * frame.el (window-system-default-frame-alist): Doc fix.
4514
ea162670
CY
4515 * dynamic-setting.el (font-setting-change-default-font): Don't
4516 change the default face if SET-FONT argument is non-nil (Bug#9982).
4517
d6e6f4b1
SB
45182012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4519
4520 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4521
0f29fa41 45222012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4523
4524 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4525 breakpoints in files outside current directory (Bug#6098).
4526
db174434
CY
45272012-01-29 Chong Yidong <cyd@gnu.org>
4528
6b25e4e2
SE
4529 * progmodes/python.el: Require ansi-color at top-level.
4530
6df6ae42
JB
4531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4532 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4533 (lisp-mode-abbrev-table): Add doc.
4534 (lisp-mode-variables): Don't set local-abbrev-table.
4535 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4536
e70ee681
RW
45372012-01-28 Roland Winkler <winkler@gnu.org>
4538
4539 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4540
ace88aa2
RW
45412012-01-28 Roland Winkler <winkler@gnu.org>
4542
4543 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4544 (bibtex-set-dialect): Use it. Either set global values of
4545 dialect-dependent variables or bind these variables buffer-locally
4546 (Bug#10254).
4547 (bibtex-mode): Call bibtex-set-dialect via
4548 hack-local-variables-hook.
eb864a71
LM
4549 (bibtex-dialect): Update docstring.
4550 Add safe-local-variable predicate.
ace88aa2
RW
4551 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4552 bibtex-set-dialect.
4553 (bibtex-mode-map): Define menu for each dialect.
4554 (bibtex-entry): Fix docstring.
4555
93376c5b
CY
45562012-01-28 Chong Yidong <cyd@gnu.org>
4557
4558 * eshell/esh-arg.el (eshell-quote-argument): New function.
4559
4560 * eshell/esh-ext.el (eshell-invoke-batch-file):
4561 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4562 first arg to eshell-parse-command (Bug#10523).
4563
4372494f
DA
45642012-01-28 Drew Adams <drew.adams@oracle.com>
4565
4566 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4567 `default-directory' is non-nil.
4568
4d4ec1f8
EZ
45692012-01-28 Eli Zaretskii <eliz@gnu.org>
4570
4571 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4572 line that displays system-configuration-options. (Bug#9924)
4573
7c188927
DA
45742012-01-28 Drew Adams <drew.adams@oracle.com>
4575
4576 * descr-text.el (describe-char): Show information about POS, in
4577 addition to information about the character at POS. Improve and
4578 update the doc string. Change "code point" to "code point in
4579 charset", to avoid confusion with the character's Unicode code
4580 point shown above that. (Bug#10129)
4581
e0da685a
EZ
45822012-01-28 Eli Zaretskii <eliz@gnu.org>
4583
4584 * descr-text.el (describe-char): Show the raw character, not only
4585 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4586 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4587 for the reasons.
4588
70550acf
PH
45892012-01-28 Phil Hagelberg <phil@hagelb.org>
4590
eb864a71
LM
4591 * emacs-lisp/package.el (package-install):
4592 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4593
0ce8e868
CY
45942012-01-28 Chong Yidong <cyd@gnu.org>
4595
cb882333
JB
4596 * emacs-lisp/package.el (package-maybe-load-descriptor):
4597 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4598 (package-maybe-load-descriptor): Use it.
4599 (package-download-transaction): Fully load required packages
4600 inside the loop, so that `require' calls work (Bug#10593).
4601 (package-install): No need to call package-initialize now.
4602
2e7f3bea
CY
46032012-01-28 Chong Yidong <cyd@gnu.org>
4604
6e9bad14
CY
4605 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4606
f823b8ca
CY
4607 * tooltip.el (tooltip-mode): Doc fix.
4608 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4609
2680c309
CY
4610 * frame.el (set-cursor-color): Doc fix (Bug#352).
4611
d7a9e63b
CY
4612 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4613 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4614
2e7f3bea
CY
4615 * cus-edit.el (custom-buffer-create-internal): Fix search button
4616 action (Bug#10542).
2ae01800 4617 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4618
fc4f7a23
EW
46192012-01-27 Eduard Wiebe <usenet@pusto.de>
4620
4621 * dired.el (dired-mark-files-regexp):
4622 Include any subdirectory components. (Bug#10445)
4623
7dd37071
ML
46242012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4625
4626 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4627 Handle [host]:port syntax. (Bug#10533)
4628
a268160b
AH
46292012-01-27 Alex Harsanyi <harsanyi@mac.com>
4630
4631 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4632
e43273ef
GM
46332012-01-26 Glenn Morris <rgm@gnu.org>
4634
4635 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4636 * term.el (term-raw-escape-map): Use Control-X-prefix.
4637 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4638
1edf595d
MR
46392012-01-25 Martin Rudalics <rudalics@gmx.at>
4640
4641 * window.el (window-state-get, window--state-get-1): Don't deal
4642 with fixed-sizeness of windows. Simplify code.
4643
fa8eafef
JC
46442012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4645
6df6ae42
JB
4646 * window.el (window--state-get-1, window--state-put-2):
4647 Don't save and restore the mark.
fa8eafef 4648
0b21c100
CY
46492012-01-25 Chong Yidong <cyd@gnu.org>
4650
4651 * custom.el (custom-variable-p): Doc fix.
4652
5ae1a6c8
GM
46532012-01-25 Glenn Morris <rgm@gnu.org>
4654
40047858
GM
4655 * dired.el (dired-goto-file): Handle some of the more common
4656 characters that `ls -b' escapes. (Bug#10596)
4657
5ddce96c
GM
4658 * progmodes/compile.el (compilation-next-error-function):
4659 Respect compilation-first-column in the "*compilation*" buffer.
4660 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4661
5ae1a6c8
GM
4662 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4663
b559f1a9
GM
46642012-01-24 Glenn Morris <rgm@gnu.org>
4665
4666 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4667
6725d21a
JD
46682012-01-24 Julien Danjou <julien@danjou.info>
4669
4670 * color.el (color-rgb-to-hsl): Fix value computing.
4671 (color-hue-to-rgb): New function.
4672 (color-hsl-to-rgb): New function.
4673 (color-clamp, color-saturate-hsl, color-saturate-name)
4674 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4675 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4676
70df4bbe
GM
46772012-01-24 Glenn Morris <rgm@gnu.org>
4678
4679 * vc/vc-rcs.el (vc-rcs-create-tag):
4680 * vc/vc-sccs.el (vc-sccs-create-tag):
4681 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4682
802a2ae2
ML
46832012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4684
4685 * eshell/esh-util.el (eshell-read-hosts-file):
4686 Skip comment lines. (Bug#10549)
4687
d7128bb1
ML
4688 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4689
d1a5c3b4
JB
46902012-01-23 Juanma Barranquero <lekktu@gmail.com>
4691
2724d9c7
JB
4692 * subr.el (display-delayed-warnings): Doc fix.
4693 (collapse-delayed-warnings): New function to collapse identical
4694 adjacent warnings.
4695 (delayed-warnings-hook): Add it.
d1a5c3b4 4696
a5509865
MA
46972012-01-22 Michael Albinus <michael.albinus@gmx.de>
4698
4699 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4700
4701 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4702 properties, when "login-as" is set.
4703
4704 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4705 (tramp-default-user-alist): Don't add "pscp".
4706 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4707 property "login-as", if set. (Bug#10530)
4708
cc6d5805
MA
47092012-01-21 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4712 "plink1" and "psftp". (Bug#10530)
4713
47142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4715
4716 * international/mule-cmds.el (prefer-coding-system): Show a
4717 warning message if the default value of file-name-coding-system
4718 was not changed.
4719
f0960428
JC
47202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4721
cb882333
JB
4722 * windmove.el (windmove-reference-loc):
4723 Fix windmove-reference-loc miscalculation.
f0960428 4724
dd6f2a63
JB
47252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4726
4727 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4728 default unit.
4729
7b447e9b
GM
47302012-01-21 Glenn Morris <rgm@gnu.org>
4731
117a9ea1
GM
4732 * international/mule.el (auto-coding-alist): Add .tbz.
4733
7b447e9b
GM
4734 * files.el (local-enable-local-variables): Doc fix.
4735 (inhibit-local-variables-regexps): Rename from
4736 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4737 Doc fix. Add some extensions from auto-coding-alist.
4738 (inhibit-local-variables-suffixes):
4739 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4740 (inhibit-local-variables-p):
4741 New function, extracted from set-auto-mode-1.
4742 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4743 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4744 (hack-local-variables): Doc fix. Make the mode-only case
4745 respect enable-local-variables and friends.
4746 Respect inhibit-local-variables-regexps for file-locals, but
4747 not for directory-locals.
4748 (set-visited-file-name):
4749 Take account of inhibit-local-variables-regexps.
4750 Whether it applies may change as the file name is changed.
4751 * jka-cmpr-hook.el (jka-compr-install):
4752 * jka-compr.el (jka-compr-uninstall):
4753 Update for inhibit-first-line-modes-suffixes name change.
4754
dd6e3cdd
MR
47552012-01-20 Martin Rudalics <rudalics@gmx.at>
4756
4757 * help-macro.el (make-help-screen): Temporarily restore original
4758 binding for minor-mode-map-alist (Bug#10454).
4759
0d0deb38
JD
47602012-01-19 Julien Danjou <julien@danjou.info>
4761
4762 * color.el (color-name-to-rgb): Use the white color to find the max
4763 color component value and return correctly computed values.
4764 (color-name-to-rgb): Add missing float conversion for max value.
4765
34a02f46
MR
47662012-01-19 Martin Rudalics <rudalics@gmx.at>
4767
4768 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4769 special state value for window-persistent-parameters.
4770 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4771 (window--state-put-2): Reset all window parameters to nil before
4772 assigning values of persistent parameters.
4773
606c44c4
AM
47742012-01-18 Alan Mackenzie <acm@muc.de>
4775
4776 Eliminate sluggishness and hangs in fontification of "semicolon
4777 deserts".
4778
cb882333
JB
4779 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4780 Change value 10000 -> 3000.
606c44c4
AM
4781 (c-state-safe-place): Reformulate so it doesn't stack up an
4782 infinite number of wrong entries in c-state-nonlit-pos-cache.
4783 (c-determine-limit-get-base, c-determine-limit): New functions to
4784 determine backward search limits disregarding literals.
4785 (c-find-decl-spots): Amend commenting.
4786 (c-cheap-inside-bracelist-p): New function which detects "={".
4787
4788 * progmodes/cc-fonts.el
4789 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4790 backward search.
4791 (c-font-lock-declarations): Fix an occurrence of point being
4792 undefined. Check additionally for point being in a bracelist or
4793 near a macro invocation without a semicolon so as to avoid a
4794 fruitless time consuming search for a declarator. Give a more
4795 precise search limit for declarators using the new
4796 c-determine-limit.
4797
f3860cea
GM
47982012-01-18 Glenn Morris <rgm@gnu.org>
4799
4800 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4801 (set-auto-mode): Doc fixes.
4802
1db03b16
GM
48032012-01-17 Glenn Morris <rgm@gnu.org>
4804
0e6038be
GM
4805 * isearch.el (search-nonincremental-instead): Fix doc typo.
4806
1db03b16
GM
4807 * dired.el (dired-insert-directory): Handle newlines in directory name.
4808 (dired-build-subdir-alist): Unescape newlines in directory name.
4809
4cb0aa75
MA
48102012-01-17 Michael Albinus <michael.albinus@gmx.de>
4811
4812 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4813 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4814 (tramp-action-terminal): Use it. (Bug#10530)
4815
1d00653d
SM
48162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4819
6a6ee00d
MR
48202012-01-16 Martin Rudalics <rudalics@gmx.at>
4821
4822 * window.el (window-state-ignored-parameters): Remove variable.
4823 (window--state-get-1): Rename argument MARKERS to IGNORE.
4824 Handle persistent window parameters. Make copy of clone-of
4825 parameter only if requested. (Bug#10348)
4826 (window--state-put-2): Install a window parameter only if it has
4827 a non-nil value or an existing parameter shall be overwritten.
4828
97912def
MA
48292012-01-15 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4832
688070a5
EZ
48332012-01-14 Eli Zaretskii <eliz@gnu.org>
4834
4835 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4836 don't pass the (nil) value of `upnode' to string-match.
4837
301afadc
CY
48382012-01-14 Chong Yidong <cyd@gnu.org>
4839
4840 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4841 Fix values recognized by the cursorBlink resource.
301afadc 4842
9e5788aa
PE
48432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4844
4845 * epg.el (epg--make-temp-file): Avoid permission race condition
4846 when running on old Emacs versions (bug#10403).
4847
3cdb7f5a
GM
48482012-01-14 Glenn Morris <rgm@gnu.org>
4849
4850 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4851
8c82b1b4
AM
48522012-01-13 Alan Mackenzie <acm@muc.de>
4853
4854 Fix filling for when filladapt mode is enabled.
4855
4856 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4857 c-mask-paragraph, pass in `fill-paragraph' rather than
4858 `fill-region-as-paragraph'. (This is a reversion of a previous
4859 change.)
eb864a71
LM
4860 * progmodes/cc-mode.el (c-basic-common-init):
4861 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4862
e517eda4
GM
48632012-01-13 Glenn Morris <rgm@gnu.org>
4864
1498536e
GM
4865 * dired.el (dired-switches-escape-p): New function.
4866 (dired-insert-directory): Use dired-switches-escape-p.
4867 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4868
e517eda4
GM
4869 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4870
328f984d
GM
48712012-01-12 Glenn Morris <rgm@gnu.org>
4872
4873 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4874 changes in adaptive-fill-regexp. (Bug#10276)
4875
2cc769a8
AM
48762012-01-11 Alan Mackenzie <acm@muc.de>
4877
4878 Fix Emacs bug #10463 - put `widen's around the critical spots.
4879
1d00653d 4880 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4881 widen around each invocation of c-state-pp-to-literal. Remove an
4882 unused let variable.
4883
e52c37fa
GM
48842012-01-11 Glenn Morris <rgm@gnu.org>
4885
4886 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4887 Doc fix.
e52c37fa 4888
96f8741e
CY
48892012-01-10 Chong Yidong <cyd@gnu.org>
4890
1d00653d
SM
4891 * net/network-stream.el (network-stream-open-starttls):
4892 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4893 response to the capability command.
4894
b09a806e
GM
48952012-01-10 Glenn Morris <rgm@gnu.org>
4896
4897 * mail/unrmail.el (unrmail): Tweak previous change.
4898
7655cb66
CY
48992012-01-09 Chong Yidong <cyd@gnu.org>
4900
4901 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4902
9d5a8f0b
AM
49032012-01-08 Alan Mackenzie <acm@muc.de>
4904
4905 Optimise font locking in long enum definitions.
4906
4907 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4908 arm to a cond form to handle enums.
4909 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4910 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4911
9a0115ab 49122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4913
4914 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4915 (Bug#10401)
6bb72cbd 4916
f186bb95
LMI
49172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918
29232a68
LMI
4919 * faces.el (set-face-attribute): Clarify the meaning of the nil
4920 frame (bug#10294).
4921
4e5d086d
LMI
4922 * subr.el (with-selected-frame): Mention that the selected frame
4923 is restored (bug#9980).
4924
8e66aebe
LMI
4925 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4926 (bug#9759).
4927
cd394be1 4928 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4929 (password-read): Don't autoload unused function.
4930
adf4e762
JB
49312012-01-07 Juanma Barranquero <lekktu@gmail.com>
4932
4933 * progmodes/which-func.el (which-func-mode): Turn into a
4934 non-interactive function and mark as obsolete (bug#10428).
4935
89bd9ccd
CY
49362012-01-06 Chong Yidong <cyd@gnu.org>
4937
4938 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4939 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4940 functions, along with 1 and -1.
4941
4afee9d5
EZ
49422012-01-06 Eli Zaretskii <eliz@gnu.org>
4943
4944 * time.el (display-time-load-average)
4945 (display-time-default-load-average): Doc fixes. See the thread
4946 starting at
4947 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4948 for the details.
4949
536aea70
GM
49502012-01-06 Glenn Morris <rgm@gnu.org>
4951
665ae865
GM
4952 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4953 has no messages. (Bug#10377)
4954
c869783d
GM
4955 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4956 than Info-edit. (Bug#10385)
4957
2bb4227e
GM
4958 * time.el (display-time-load-average, display-time-next-load-average):
4959 Doc fixes.
4960
7d5944b9
GM
4961 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4962 local setting of buffer-read-only to the input buffer. (Bug#10419)
4963
536aea70
GM
4964 * calendar/calendar.el (calendar-mode):
4965 Locally set scroll-margin to 0. (Bug#10379)
4966
7dccca16
UM
49672012-01-06 Ulrich Mueller <ulm@gentoo.org>
4968
4969 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4970
afbb7930
GM
49712012-01-05 Glenn Morris <rgm@gnu.org>
4972
4973 * eshell/em-unix.el (diff-no-select): Autoload it.
4974 (eshell/diff): Use diff-no-select. (Bug#10420)
4975
04482335
CY
49762012-01-05 Chong Yidong <cyd@gnu.org>
4977
7baca3bc
CY
4978 * shell.el (shell-dynamic-complete-functions): Revert last change.
4979 (shell-command-completion-function): New function.
4980 (shell-completion-vars): Use it to implement
4981 shell-completion-execonly (Bug#10417).
4982
04482335
CY
4983 * custom.el (enable-theme): Don't set custom-safe-themes.
4984
1d00653d
SM
4985 * cus-theme.el (custom-theme-merge-theme):
4986 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4987
bb5aa5d6
MM
49882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4989
4990 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4991 first prompt in `sql-interacive-mode'.
4992 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4993 keywords.
6df6ae42 4994 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4995 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4996 context of original buffer. Invoke `sql-login-hook'.
4997
a7183d7c
EZ
49982012-01-04 Eli Zaretskii <eliz@gnu.org>
4999
5000 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5001 letters in cite-prefix.
5002
a1eacd1e
LMI
50032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5004
5005 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5006
787cdb34
CY
50072012-01-03 Chong Yidong <cyd@gnu.org>
5008
1d00653d
SM
5009 * shell.el (shell-dynamic-complete-functions):
5010 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5011 comint-filename-completion first (Bug#10417).
5012
30710442
RS
50132012-01-02 Richard Stallman <rms@gnu.org>
5014
5015 * battery.el (battery-status-function):
5016 Detect when to use battery-yeeloong-sysfs.
5017 (battery-echo-area-format): Add string for Yeeloong.
5018 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5019 (battery-yeeloong-sysfs): New function.
5020
f75bfc33
CY
50212012-01-02 Chong Yidong <cyd@gnu.org>
5022
5023 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5024 (dirtrack): Merge code for handling relative filenames in prompt
5025 from shell-dir-cookie-watcher.
5026 (dirtrack-debug-message): New arg to avoid excess format calls.
5027
5028 * shell.el (shell-dir-cookie-re): Variable deleted.
5029 (shell-dir-cookie-watcher): Function deleted.
5030 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5031 with dirtrack-mode.
5032
651e947e
EZ
50332012-01-01 Eli Zaretskii <eliz@gnu.org>
5034
1d00653d
SM
5035 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5036 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5037 libgnutls-26.dll.
5038
94d4c7dc
AS
50392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5042
8d43f3cd
EZ
50432011-12-31 Eli Zaretskii <eliz@gnu.org>
5044
5045 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5046 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5047
98c8795a
MA
50482011-12-29 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5051 also for alternative shells.
5052 (tramp-open-connection-setup-interactive-shell): Check, whether
5053 the shell is a busybox.
5054 (tramp-send-command): Don't suppress multiple prompts for
5055 busyboxes, it hurts.
5056
51281b32
CY
50572011-12-28 Chong Yidong <cyd@gnu.org>
5058
5059 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5060 (gdb-get-source-file): Move mode line update to
5061 gdb-get-source-file (Bug#10087).
5062
2170cb53
CY
50632011-12-25 Chong Yidong <cyd@gnu.org>
5064
5065 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5066 gud-gdb-marker-filter without taking it as an argument.
5067 (gud-gdb-run-command-fetch-lines): Caller changed.
5068 (gud-gdb-completion-function): New variable.
5069 (gud-gdb-completion-at-point): Use it.
5070 (gud-gdb-completions-1): Split from gud-gdb-completions.
5071
5072 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5073 function as separate arguments.
5074 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5075 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5076 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5077 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5078 (gdb-stopped, def-gdb-auto-update-trigger)
5079 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5080 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5081 Callers changed.
2170cb53
CY
5082 (gud-gdbmi-completions): New function.
5083 (gdb): Use it for generating the completion table.
5084
be8b11bb
AM
50852011-12-24 Alan Mackenzie <acm@muc.de>
5086
5087 Introduce a mechanism to widen the region used in context font
1d00653d 5088 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5089
1d00653d
SM
5090 * progmodes/cc-langs.el (c-before-font-lock-functions):
5091 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5092 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5093 functions to be run just before context (etc.) font locking.
5094
5095 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5096 New, functionality extracted from
be8b11bb 5097 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5098 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5099 (c-after-change): Set c-in-after-change-fontification.
5100 (c-set-fl-decl-start): Rejig its interface, so it can be called
5101 from both after-change and context fontifying.
b81d40f0
JB
5102 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5103 New functions.
5104 (c-standard-font-lock-fontify-region-function): New variable.
5105 (c-font-lock-fontify-region): New function.
be8b11bb 5106
341cf6ac
JL
51072011-12-24 Juri Linkov <juri@jurta.org>
5108
5109 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5110 (Bug#10348)
5111
bffcee0a
MA
51122011-12-23 Michael Albinus <michael.albinus@gmx.de>
5113
5114 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5115 existence of source file. (Bug#10325)
5116
cb5e207c
AM
51172011-12-23 Alan Mackenzie <acm@muc.de>
5118
5119 Fix unstable fontification inside templates.
5120
b81d40f0
JB
5121 * progmodes/cc-langs.el (c-before-font-lock-functions):
5122 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5123 additionally has c-set-fl-decl-start. The other languages (apart
5124 from AWK) have that as a single entry.
5125
b81d40f0
JB
5126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5127 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5128 c-set-fl-decl-start.
5129
b81d40f0
JB
5130 * progmodes/cc-mode.el (c-common-init, c-after-change):
5131 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5132 (c-set-fl-decl-start): New function, extracted from
5133 c-font-lock-enclosing-decls and enhanced.
5134
60ff536c
JB
51352011-12-23 Juanma Barranquero <lekktu@gmail.com>
5136
5137 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5138
1c4757d6
JL
51392011-12-22 Juri Linkov <juri@jurta.org>
5140
5141 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5142
d031f2c7
CY
51432011-12-22 Chong Yidong <cyd@gnu.org>
5144
5145 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5146
bace743a
DA
51472011-12-21 Drew Adams <drew.adams@oracle.com>
5148
5149 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5150
728a1f2b
JC
51512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5152
5153 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5154
0d373f73
TZ
51552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5156
fec0aaa4
TZ
5157 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5158 highlighting and support. Fix up comments for capitalization.
5159 (cfengine-mode-debug): New var.
5160 (cfengine3-mode): Change the modeline indicator to "CFE3".
5161 (cfengine3-font-lock-keywords): Improve defun highlighting.
5162 (cfengine2-actions): Rename from `cfengine-actions'.
5163 (cfengine2-font-lock-keywords): Rename from
5164 `cfengine-font-lock-keywords'.
5165 (cfengine2-imenu-expression): Rename from
5166 `cfengine-imenu-expression'.
5167 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5168 (cfengine2-beginning-of-defun): Rename from
5169 `cfengine-beginning-of-defun'.
5170 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5171 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5172 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5173 modeline indicator to "CFE2".
5174 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5175 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5176
bc86f573
CY
51772011-12-21 Chong Yidong <cyd@gnu.org>
5178
5179 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5180 filename argument.
5181
d45ba96b
MR
51822011-12-20 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (window-normalize-buffer-to-display): Remove.
5185 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5186
a6198c90
CY
51872011-12-19 Chong Yidong <cyd@gnu.org>
5188
5189 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5190 Don't signal an error in a predicate function; return non-nil.
5191 (vc-dir-mark-file): Move the error here.
5192 (vc-dir-mark-unmark): If acting on the region, keep going if one
5193 of the entries cannot be marked/unmarked.
5194 (vc-dir-mark-all-files): If current entry is a directory, mark
5195 only child files, as documented.
5196
34c5fb55
VB
51972011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5198
5199 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5200 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5201 addition.
5202
c803b2b7
JD
52032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5204
5205 * term/ns-win.el (ns-get-selection-internal)
5206 (ns-store-selection-internal): Declare.
1154d12e
JB
5207 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5208 Declare as obsolete.
5209 (ns-get-pasteboard, ns-paste-secondary):
5210 Use ns-get-selection-internal.
5211 (ns-set-pasteboard, ns-copy-including-secondary):
5212 Use ns-store-selection-internal.
c803b2b7 5213
9cff91f8 52142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5215
5216 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5217 (vc-deduce-fileset): Doc fix.
99a289d9 5218
f16c898a
AS
52192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5222
763237c4
SS
52232011-12-13 Sam Steingold <sds@gnu.org>
5224
5225 * man.el (Man-getpage-in-background): When running under a
5226 window-system, ignore $MANWIDTH and $COLUMNS.
5227
5fc1c122
KH
52282011-12-15 Kenichi Handa <handa@m17n.org>
5229
5230 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5231 (setup-ethiopic-environment-internal): Comment out key-binding for
5232 ethio-toggle-punctuation.
5233
13d49cbb
AM
52342011-12-13 Alan Mackenzie <acm@muc.de>
5235
898169a2
AM
5236 Add the switch statement to AWK Mode.
5237
7a71b18d 5238 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5239 "default" to the keywords regexp.
5240
7a71b18d 5241 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5242 expression as the rest.
1d00653d
SM
5243 (c-nonlabel-token-key): Allow string literals for AWK.
5244 Refactor for the other modes.
898169a2 5245
13d49cbb 5246 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5247 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5248 routines. Limit backward searching in c-font-lock-enclosing.decl.
5249
5250 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5251 pp-state and literal type in addition to the limits.
1d00653d 5252 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5253 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5254 (c-slow-in-literal, c-fast-in-literal): Remove.
5255 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5256
5257 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5258 being in a literal. Add a limit for backward searching.
5259
5260 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5261 c-slow-in-literal.
5262
15e0efc7
SM
52632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5266
454592a6
MR
52672011-12-13 Martin Rudalics <rudalics@gmx.at>
5268
5269 * window.el (delete-other-windows): Use correct frame in call to
5270 window-with-parameter.
5271
87393f26
DP
52722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5273
5274 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5275 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5276 (makefile-gmake-statements, makefile-makepp-statements):
5277 Use it and add new makepp keywords.
5278 (makefile-makepp-font-lock-keywords): Add new patterns.
5279 (makefile-match-function-end): Match new [...] and [[...]].
5280
11636b22
JB
52812011-12-11 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * ses.el (ses-call-printer-return, ses-cell-property-get)
5284 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5285 (ses-create-cell-variable, ses-reset-header-string)
5286 (ses-cell-set-formula, ses-repair-cell-reference-all)
5287 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5288 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5289 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5290 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5291 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5292 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5293 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5294 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5295 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5296 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5297 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5298 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5299
cf018193
VB
53002011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5301
5302 * ses.el: The overall change is to add cell renaming, that is
5303 setting fancy names for cell symbols other than name matching
5304 "\\`[A-Z]+[0-9]+\\'" regexp .
5305 (ses-create-cell-variable): New defun.
5306 (ses-relocate-formula): Relocate formulas only for cells the
5307 symbols of which are not renamed, i.e. symbols whose names do not
5308 match regexp "\\`[A-Z]+[0-9]+\\'".
5309 (ses-relocate-all): Relocate values only for cells the symbols of
5310 which are not renamed.
5311 (ses-load): Create cells variables as the (ses-cell ...) are read,
5312 in order to check row col consistency with cell symbol name only
5313 for cells that are not renamed.
5314 (ses-replace-name-in-formula): New defun.
5315 (ses-rename-cell): New defun.
5316
ee957461
CY
53172011-12-11 Chong Yidong <cyd@gnu.org>
5318
5319 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5320 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5321
9a9e9ef0
MR
53222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5323
5324 * window.el (other-window): Fix docstring.
5325
92a8eba5
EZ
53262011-12-10 Eli Zaretskii <eliz@gnu.org>
5327
5328 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5329 `from' or `to' address before taking its substring.
5330 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5331 encoded name is chopped in the middle of the encoded string, and
5332 thus displayed encoded.
5333
e152e577
JB
53342011-12-10 Juanma Barranquero <lekktu@gmail.com>
5335
5336 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5337
e5d84bfe
EZ
53382011-12-10 Eli Zaretskii <eliz@gnu.org>
5339
5340 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5341 to use texinfo-update-node and commands that call it if the
5342 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5343 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5344 (texinfo-all-menus-update, texinfo-master-menu)
5345 (texinfo-update-node, texinfo-every-node-update)
5346 (texinfo-multiple-files-update): Doc fix. Warn against updating
5347 all the @node lines.
5348 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5349 argument is numeric. Explain better in the doc string what the
5350 function really does.
5351 (texinfo-insert-master-menu-list): Improve the error message
5352 displayed if there's no menu in the Top node.
5353 (Bug#2975) See also this thread:
e5d84bfe
EZ
5354 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5355
1d84e9bb
MG
53562011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5357
5358 * speedbar.el (speedbar-supported-extension-expressions):
5359 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5360
382c953b
JB
53612011-12-09 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * printing.el (pr-mode-alist):
5364 * simple.el (filter-buffer-substring-functions)
5365 (completion-list-insert-choice-function):
5366 * window.el (window-with-parameter, window-atom-root)
5367 (window-sides-slots, window-size-fixed, window-min-delta)
5368 (window-max-delta, window--resize-mini-window)
5369 (window--resize-child-windows-normal, window-tree)
5370 (delete-other-windows, quit-window, split-window)
5371 (display-buffer-record-window, special-display-buffer-names)
5372 (special-display-regexps, special-display-popup-frame)
5373 (same-window-p, split-window-sensibly)
5374 (display-buffer-overriding-action, display-buffer-alist)
5375 (display-buffer-base-action, display-buffer, switch-to-buffer)
5376 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5377 (fit-window-to-buffer, recenter-positions)
5378 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5379 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5380 and remove unneeded backslashes in docstrings.
5381
39c9faef
SM
53822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5383
98449af8
SM
5384 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5385
39c9faef
SM
5386 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5387 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5388 end in ".mk".
5389 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5390 when reading the makefile (bug#10116).
5391
86ed9fdc
SM
53922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5395 (bug#10116).
5396
5580f89d
GM
53972011-12-06 Glenn Morris <rgm@gnu.org>
5398
5399 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5400
28d3917c
CY
54012011-12-06 Chong Yidong <cyd@gnu.org>
5402
5403 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5404
a98edce9
JB
54052011-12-06 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * textmodes/table.el (table-shorten-cell): Fix typo.
5408
e65adfac
CG
54092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5410
5411 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5412
71cc0b74
EZ
54132011-12-05 Eli Zaretskii <eliz@gnu.org>
5414
5415 * descr-text.el (describe-char): Fix display of strong
5416 right-to-left characters and directional embeddings and overrides.
5417
5418 * simple.el (what-cursor-position): Fix display of codepoints of
5419 strong right-to-left characters.
5420
315bc30d
CY
54212011-12-05 Chong Yidong <cyd@gnu.org>
5422
5423 * faces.el (read-color): Doc fix.
5424
58a70b94
GM
54252011-12-05 Glenn Morris <rgm@gnu.org>
5426
5427 * align.el (align--set-marker): Add doc-string.
5428 Don't try to move something that is not a marker. (Bug#10216)
5429
5158face
GM
54302011-12-04 Glenn Morris <rgm@gnu.org>
5431
5432 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5433 overly zealous deletion of trailing whitespace.
5434
520fca41
JB
54352011-12-04 Juanma Barranquero <lekktu@gmail.com>
5436
5437 * server.el (server-delete-client): On Windows, do not try to delete
5438 the only terminal.
5439 (server-process-filter): On Windows, treat requests for a tty frame as
5440 if they were for a GUI frame if the running server is in GUI mode.
5441
5e605a2e
GM
54422011-12-03 Glenn Morris <rgm@gnu.org>
5443
5444 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5445
5c3fe83f
SM
54462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5447
6f5e57e7
SM
5448 * electric.el: Streamline electric-indent's hook.
5449 (electric-indent-chars): Revert to simple list.
5450 (electric-indent-functions): New var.
5451 (electric-indent-post-self-insert-function): Use it.
5452
5c3fe83f
SM
5453 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5454 there's no inferior buffer (bug#10196).
5455 (prolog-consult-compile): Don't use toggle-read-only.
5456
6bdac736
MA
54572011-12-02 Michael Albinus <michael.albinus@gmx.de>
5458
5459 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5460 interrupt. (Bug#10187)
5461
6131ba7f
SM
54622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5463
99c79fee
SM
5464 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5465 (bug#9160).
5466
6131ba7f
SM
5467 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5468 (bug#10191).
5469
cb0a02ea
JL
54702011-12-02 Juri Linkov <juri@jurta.org>
5471
5472 * info.el (Info-search): Display "end of manual" when Isearch
5473 reaches the end of single-file Info manual. (Bug#9918)
5474
66e0570c
EZ
54752011-12-02 Eli Zaretskii <eliz@gnu.org>
5476
5477 * isearch.el (isearch-message-prefix): Run the input method part
5478 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5479
02b16839
JL
54802011-12-02 Juri Linkov <juri@jurta.org>
5481
5482 * isearch.el (isearch-occur): Use `word-search-regexp' for
5483 `isearch-word'.
5484 (isearch-search-and-update): Add condition for `isearch-word' and
5485 call `word-search-regexp'. (Bug#10145)
5486
0b950688
GM
54872011-12-01 Glenn Morris <rgm@gnu.org>
5488
5489 * eshell/em-hist.el (eshell-hist-initialize):
5490 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5491 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5492
9505c3c7
SM
54932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5496
1bbe96b2 54972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5498
a1beca85
SM
5499 * progmodes/verilog-mode.el (verilog-pretty-expr):
5500 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5501 verilog, such as += *= and the like.
5502 (verilog-assignment-operator-re): Regular expression to find the
5503 assigment operator in a verilog assignment.
5504 (verilog-assignment-operation-re): Regular expression to find an
5505 assignment statement for pretty-expr.
5506 (verilog-in-attribute-p): Query returns true if point is in an
5507 attribute context; used to skip these for expression line up from
5508 pretty-expr.
5509 (verilog-in-parameter-p): Query returns true if point is in an
5510 parameter definition context; used to skip these for expression
5511 line up from pretty-expr.
5512 (verilog-in-parenthesis-p): Query returns true if point is in a
5513 parenthetical expression, specifically ( ) but not [ ] or { };
5514 used by pretty-expr.
5515 (verilog-just-one-space): If there is no space, don't add one.
5516 (verilog-get-lineup-indent-2): Specifically skip just attribute
5517 contexts for expression lineup, rather than skipping all
5518 parenthetical expressions.
5519 (verilog-calculate-indent): Fix comment, and fix indent.
5520 (verilog-do-indent): Indent declarations in lists (suggested by
5521 Joachim Lechner).
5522 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5523 skeleton items.
5524 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5525 by Alain Mellan).
5526
1bbe96b2 55272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5528
5529 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5530 parameters with embedded comments. Reported by Ray Stevens.
5531 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5532 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5533 Reported by Tim Holt.
5534 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5535 instantiated by upper module causing wrong expansion until AUTOed a
5536 second time. Reported by K C Buckenmaier.
5537 (verilog-diff-auto): Fix showing .* as a difference when
5538 `verilog-auto-star-save' off. Reported by Dan Dever.
5539 (verilog-auto-reset, verilog-read-always-signals)
5540 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5541 temporary signals in reset list if
5542 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5543 style to each signal's assignment type, bug381.
5544 Reported by Thomas Esposito.
6288f0ca
WS
5545 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5546 (verilog-uvm-statement-re): Support UVM indentation and
5547 highlighting, with old OVM keywords only.
a1beca85 5548 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5549 Support AUTOTIEOFF creating non-wire data types.
5550 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5551 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5552 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5553 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5554 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5555 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5556 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5557 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5558 non-numeric vector width. Reported by Alex Reed.
5559 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5560 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5561 (verilog-auto-delete-trailing-whitespace):
5562 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5563 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5564 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5565 Fix verilog-scan-cache corruption when running user AUTO expansion
5566 hooks that call indentation routines.
5567 (verilog-simplify-range-expression): Fix typo ignoring lower case
5568 identifiers.
5569 (verilog-delete-auto): Fix delete-autos to also remove user created
5570 automatics, as long as they start with AUTO.
5571 (verilog-batch-diff-auto, verilog-diff-auto)
5572 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5573 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5574 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5575 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5576 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5577 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5578 is disabled and its cache will get corrupt, causing AUTOS not to
5579 expand. Instead use only -quick functions.
5580 (verilog-scan-region): Fix scanning over escaped quotes.
5581 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5582 (verilog-re-search-backward-quick)
5583 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5584 related functions now ignore strings, to fix misparsing of strings
5585 with magic comments embedded in them.
a1beca85
SM
5586 (verilog-read-auto-template):
5587 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5588 Reported by Brad Dobbie.
5589 (verilog-read-auto-template):
5590 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5591 Reported by Brad Dobbie.
6288f0ca
WS
5592 (verilog-auto-inst, verilog-auto-inst-param)
5593 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5594 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5595 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5596 debugging templates without merge conflicts, bug357.
5597 Reported by Brad Dobbie.
5598 (verilog-read-auto-template):
5599 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5600 Reported by Brad Dobbie.
5601 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5602 abbrevs so user won't be asked to save.
5603 (verilog-read-auto-lisp-present): Fix to start at beginning of
5604 buffer in case called outside of verilog-auto.
5605 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5606 to "X-2". Reported by Matthew Myers.
5607 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5608 all inputs from module templates. Reported by Leith Johnson.
5609 (verilog-module-inside-filename-p): Fix locating programs as with
5610 modules.
5611 (verilog-auto-inst-port): Fix vl-width expressions when using
5612 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5613 (verilog-decls-get-regs, verilog-decls-get-signals,
5614 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5615 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5616 verilog-read-decls): Combine reg and wire structures into one var
5617 structure to represent SystemVerilog concepts.
5618 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5619 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5620 (verilog-auto-wire-type, verilog-insert-definition):
5621 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5622 SystemVerilog "logic" keyword instead of "wire"/"reg".
5623 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5624 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5625 ifdef or generate if so there's not a driver conflict).
5626 Reported by Matthew Myers.
5627 (verilog-auto-declare-nettype, verilog-insert-definition):
5628 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5629 `default_nettype none. Reported by Julian Gorfajn.
5630 (verilog-read-always-signals-recurse, verilog-read-decls)
5631 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5632 malformed end statement, bug325. Reported by Joshua Wise and
5633 Andrew Drake.
5634 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5635 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5636 when expanding .* in interfaces, bug320.
5637 Reported by Pierre-David Pfister.
6288f0ca 5638 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5639 name and open parenthesis, bug317.
5640 Reported by Pierre-David Pfister.
6288f0ca
WS
5641 (verilog-simplify-range-expression): Fix simplification of
5642 multiplications inside AUTOWIRE connections, bug303.
5643 (verilog-auto-inst-port): Support parameter expansion in
5644 multidimensional arrays.
5645 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5646 after "assert property". Reported by Julian Gorfajn.
5647 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5648 with multiplication, bug303.
5649 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5650 Reported by Jan Frode Lonnum.
5651
1bbe96b2
GM
56522011-11-30 Juanma Barranquero <lekktu@gmail.com>
5653
5654 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5655 (hfy-shell-file-name, hfy-shell):
5656 * international/fontset.el (x-decompose-font-name): Fix typos.
5657
56582011-11-29 Ken Brown <kbrown@cornell.edu>
5659
5660 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5661 (gdb-version): Remove defvar.
5662 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5663 (gdb-gud-context-command, gdb-non-stop-handler)
5664 (gdb-current-context-command, gdb-stopped): Use it.
5665 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5666 (gdb-non-stop-handler): Don't enable pretty-printing here.
5667 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5668 non-stop mode. Use the following.
5669 (gdb-check-target-async): New defun.
5670 (gud-watch, gdb-stopped): Fix whitespace.
5671 (gdb-get-source-file): Don't try to display the source file if
5672 `gdb-main-file' is nil.
5673
56742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * align.el: Try to generate fewer markers (bug#10047).
5677 (align--set-marker): New macro.
5678 (align-region): Use it.
5679
c935221f
SM
56802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5683
e70b5064
CY
56842011-11-29 Chong Yidong <cyd@gnu.org>
5685
5686 * indent.el (indent-for-tab-command, indent-according-to-mode):
5687 Doc fix.
5688 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5689
f3af92b7
MA
56902011-11-29 Michael Albinus <michael.albinus@gmx.de>
5691
5692 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5693 aware of remote file names. (Bug#10124)
5694
ed472be9
CY
56952011-11-29 Chong Yidong <cyd@gnu.org>
5696
5697 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5698
24510c22
SM
56992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * files.el (find-file): Don't use force-same-window (bug#10144).
5702 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5703 use pop-to-buffer if the selected window can't be used.
5704 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5705
c60c3703
EZ
57062011-11-28 Eli Zaretskii <eliz@gnu.org>
5707
5708 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5709 special-mode-map.
5710
e95def75
CY
57112011-11-28 Chong Yidong <cyd@gnu.org>
5712
5713 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5714
c3f1c606
NR
57152011-11-27 Nick Roberts <nickrob@snap.net.nz>
5716
5717 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5718 gdb-get-source-file-list on gdb-create-source-file-list.
5719
00db469c
EZ
57202011-11-26 Eli Zaretskii <eliz@gnu.org>
5721
5722 * whitespace.el (whitespace-newline): Use a different foreground
5723 color for 16-color light-background displays.
5724
4ad3bc2a
CY
57252011-11-24 Chong Yidong <cyd@gnu.org>
5726
5727 * window.el (display-buffer--special-action): Doc fix.
5728
e9fce1ac
JB
57292011-11-25 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5732 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5733 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5735 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5736 (avl-tree-stack-first):
5737 * emacs-lisp/cconv.el (cconv--analyse-use):
5738 * net/gnutls.el (gnutls-negotiate): Fix typos.
5739
cb825e5d
GM
57402011-11-24 Glenn Morris <rgm@gnu.org>
5741
3adbe224
GM
5742 * lpr.el (lpr-windows-system, lpr-lp-system):
5743 * mail/binhex.el (binhex-begin-line):
5744 * progmodes/grep.el (grep-history, grep-find-history):
5745 * textmodes/flyspell.el:
5746 * vc/pcvs-defs.el (cvs-global-menu):
5747 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5748 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5749 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5750
321decc8
GM
5751 * net/tls.el: Fix case of "GnuTLS".
5752
420b63ad
GM
5753 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5754
cb825e5d
GM
5755 * version.el (emacs-build-system): Give it a doc-string.
5756
a0649f08
JL
57572011-11-24 Juri Linkov <juri@jurta.org>
5758
5759 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5760
c0bc0fd4
GM
57612011-11-24 Glenn Morris <rgm@gnu.org>
5762
5763 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5764 if called on a non-mime message just toggle the headers. (Bug#8006)
5765
20db1522
JB
57662011-11-24 Juanma Barranquero <lekktu@gmail.com>
5767
5768 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5769 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5770 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5771 (allout-rebullet-heading, allout-open-sibtopic)
5772 (allout-toggle-current-subtree-encryption)
5773 (allout-toggle-subtree-encryption, allout-encrypt-string)
5774 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5775 (allout-distinctive-bullets-string, allout-auto-activation):
5776 * window.el (window-normalize-buffer-to-display):
5777 * progmodes/verilog-mode.el (verilog-batch-indent):
5778 * textmodes/bibtex.el (bibtex-field-braces-opt)
5779 (bibtex-field-strings-opt):
5780 * vc/cvs-status.el (cvs-tree-merge):
5781 Fix typos.
5782
7262a87c
MA
57832011-11-23 Michael Albinus <michael.albinus@gmx.de>
5784
5785 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5786 `non-essential' to t, in order to avoid remote connections.
5787
283430a1
EZ
57882011-11-23 Eli Zaretskii <eliz@gnu.org>
5789
a1beca85
SM
5790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5791 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5792 case-insensitively.
5793
d2992a38
ML
57942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5795
5796 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5797
50419064
GM
57982011-11-23 Glenn Morris <rgm@gnu.org>
5799
da94eca1
GM
5800 * paths.el (rmail-file-name): Reformat the doc-string so that it
5801 is picked up.
5802
9aac4de2
GM
5803 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5804 (rmail-auto-file): Ignore case in the "special" field names,
5805 as mail-fetch-field does for all others.
5806
8038d2d2
GM
5807 * mail/rmail.el (rmail-forward):
5808 * mail/rmailkwd.el (rmail-set-label):
5809 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5810 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5811
f3fe222a
GM
5812 * mail/rmail.el (rmail-current-message): Doc fix.
5813
50419064
GM
5814 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5815
28109f49
SM
58162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5819
394c65f1
GM
58202011-11-22 Glenn Morris <rgm@gnu.org>
5821
5822 * mail/rmailmm.el (test-rmail-mime-handler)
5823 (test-rmail-mime-bulk-handler)
5824 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5825
f2a0aa3a
JL
58262011-11-21 Juri Linkov <juri@jurta.org>
5827
1154d12e
JB
5828 * calc/calc.el (calc-read-key-sequence):
5829 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5830
9c34a344
LMI
58312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5832
5833 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5834 Tell the caller that the next line needs recomputation, even
5835 though it doesn't start a sexp (bug#10094).
5836
f04a3be9
SM
58372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5840
7978747f
SM
58412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5842
f04a3be9
SM
5843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5844 Use force-same-window.
7978747f 5845
fe7a3057
JB
58462011-11-20 Juanma Barranquero <lekktu@gmail.com>
5847
5848 * descr-text.el (describe-char-unicode-data):
5849 * json.el (json-string-escape):
5850 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5851 (Footnote-unicode, Footnote-style-p):
5852 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5853
24901d61
CY
58542011-11-20 Chong Yidong <cyd@gnu.org>
5855
5856 * window.el (replace-buffer-in-windows): Restore interactive spec.
5857
bac7ff22
SM
58582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5859
24f3d7b9
SM
5860 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5861
bac7ff22
SM
5862 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5863 (byte-compile-global-not-obsolete-vars): New var.
5864 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5865 Use it.
5866 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5867
cd1181db
JB
58682011-11-20 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5871 * progmodes/pascal.el (electric-pascal-equal):
5872 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5873 * xml.el (xml-substitute-special): Fix typos.
5874
7fb18e9e
GM
58752011-11-20 Glenn Morris <rgm@gnu.org>
5876
5877 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5878 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5879 Doc fixes.
5880 (rmail-decode-mime-charset): Mark as obsolete.
5881
5882 * mail/rmailsum.el (rmail-message-regexp-p-1):
5883 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5884 Before using mime functions, check they are set. (Bug#10077)
5885
d5a6b3ba
JL
58862011-11-19 Juri Linkov <juri@jurta.org>
5887
5888 * info.el (Info-finder-find-node): Use `package--builtins' instead
5889 of `package-alist'. Use node names formed by the pattern "Keyword "
5890 and the keyword name.
5891
e981b61f
AS
58922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5893
1d00653d 5894 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5895
3ffbc301
JL
58962011-11-19 Juri Linkov <juri@jurta.org>
5897
5898 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5899 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5900 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5901 `old-history', `old-history-forward'. Add let-binding
5902 `window-selected'. Remove calls to `kill-buffer',
5903 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5904 before calling `Info-find-node', so `Info-find-node-2' will reread
5905 the Info file. Restore window positions only when `window-selected'
5906 is non-nil.
5907
30c62133
JL
59082011-11-19 Juri Linkov <juri@jurta.org>
5909
5910 * isearch.el (isearch-lazy-highlight-new-loop):
5911 Remove condition `(not isearch-error)'. (Bug#9918)
5912
5913 * misearch.el (multi-isearch-search-fun): Add condition
5914 `(not bound)' to ignore lazy-highlighting search.
5915 Add the search-failed message "end of multi" when the end of
5916 multi-sequence is reached. Uncapitalize the search-failed
5917 message "Repeat for next buffer".
5918
5919 * info.el (Info-search): Add the search-failed message
5920 "end of the manual" when the end of the manual is reached
5921 in Isearch mode.
5922
645ca9cf
JL
59232011-11-19 Juri Linkov <juri@jurta.org>
5924
5925 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5926 Use non-destructive `remove' instead of `delete' because
5927 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5928 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5929
df754f66
JL
59302011-11-19 Juri Linkov <juri@jurta.org>
5931
5932 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5933 to nil instead of binding `search-ring' and `regexp-search-ring'.
5934 (Bug#9185)
5935
0e23d96a
EZ
59362011-11-19 Eli Zaretskii <eliz@gnu.org>
5937
5938 * simple.el (line-move): Force movement by logical lines for any
5939 hscrolled window, not only when auto-hscroll-mode is on.
5940 (line-move-visual): Update doc string to that effect. (Bug#10076)
5941
8a6ccb66
AS
59422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 * language/european.el (macintosh): Define as alias for mac-roman.
5945
49ae5b39
EZ
59462011-11-19 Eli Zaretskii <eliz@gnu.org>
5947
5948 * mail/rmailmm.el (rmail-mime-display-header)
5949 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5950 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5951 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5952 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5953 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5954 of a raw aref.
5955 (rmail-mime-entity-segment): To get past the tagline, move forward
5956 2 more lines, to account for the 2 empty lines that precede and
5957 follow the line with the buttons.
5958 (rmail-mime-update-tagline): Move one more line, to get past the
5959 empty line that follows the buttons in the tagline. (Bug#9520)
5960
c56cad4a
MR
59612011-11-19 Martin Rudalics <rudalics@gmx.at>
5962
5963 * window.el (window-max-delta-1, window-min-delta-1)
5964 (window-min-size-1, window-state-get-1, window-state-put-1)
5965 (window-state-put-2): Use "window--" prefix.
5966
cbe71af3
SM
59672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5968
2ad52c60
SM
5969 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5970 (smie-warning-count): New var.
5971 (smie-set-prec2tab): Use it.
5972 (smie-bnf->prec2): Improve warnings. Add docstring.
5973 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5974 (smie-bnf--set-class): New function.
5975 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5976 corner case.
5977
6944dbc1
SM
5978 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5979 (compilation-error-properties, compilation-move-to-column):
5980 Handle compilation-first-column while in the target buffer.
5981
c400c4d7
SM
5982 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5983 Don't hardcode point-min==1.
5984
6dbe3e96
SM
5985 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5986 (eshell-rewrite-for-command): Remove workaround.
5987 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5988 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5989 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5990
cbe71af3
SM
5991 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5992
a8e1496d
GM
59932011-11-17 Glenn Morris <rgm@gnu.org>
5994
5995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5996 Ignore buffer-local generated-autoload-file if it is the same
5997 as the global value. (Bug#10049)
5998
df85d315
JB
59992011-11-17 Juanma Barranquero <lekktu@gmail.com>
6000
6001 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6002 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6003 (reftex-toc-previous-heading, reftex-toc-max-level)
6004 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6005 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6006 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6007 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6008 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6009 (reftex-toc-rename-label, reftex-toc-visit-location)
6010 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6011 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6012 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6013 leaving "*toc*" only for references to the buffer.
6014
a0c2d0ae
MR
60152011-11-17 Martin Rudalics <rudalics@gmx.at>
6016
6017 * window.el (window-resize, delete-window, split-window):
6018 Replace window-splits by window-combination-resize.
1d00653d 6019 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6020
35c0bac8
GM
60212011-11-17 Glenn Morris <rgm@gnu.org>
6022
6023 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6024 Make bash entry derive from sh entry, not shell entry.
6025
d0c8fc8a
MA
60262011-11-16 Michael Albinus <michael.albinus@gmx.de>
6027
d0c8fc8a
MA
6028 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6029 properties of linked files. (Bug#9879)
6030
7262a87c
MA
6031 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6032 local file name.
6033
7877f373
JB
60342011-11-16 Juanma Barranquero <lekktu@gmail.com>
6035
6036 * menu-bar.el (menu-bar-file-menu):
6037 * printing.el (pr-ps-utility):
6038 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6039 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6040 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6041 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6042 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6043 (icalendar--convert-cyclic-to-ical)
6044 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6045 (icalendar--convert-ical-to-diary)
6046 (icalendar--convert-recurring-to-diary)
6047 (icalendar--convert-non-recurring-all-day-to-diary)
6048 (icalendar-import-format-sample):
6049 * progmodes/idlw-shell.el (idlwave-shell-mode):
6050 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6051 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6052 (vhdl-ps-print-init): Fix typos.
6053
10649b82
KM
60542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6055
9d0cfcd6
GM
6056 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6057 FSF and collapse date sequence, obscure author/maintainer email address
6058 better, remove extra version line, track relocation of author's webpage.
10649b82 6059
9d0cfcd6
GM
6060 * progmodes/python.el (python-pdbtrack-input-prompt)
6061 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6062 regular python pdb prompts. Adjustments shamelessly taken exactly as
6063 suggested in EmacsWiki page (tiny change):
6064 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6065
58179cce
JB
60662011-11-16 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * expand.el (expand-pos, expand-index, expand-point):
6069 Remove redundant info from docstring.
6070 (expand-add-abbrevs): Doc fix.
6071 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6072 (expand-sample-perl-mode-expand-list): Fix typos.
6073
6074 * net/dbus.el (dbus-event-member-name):
6075 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6076 * term/pc-win.el (msdos-create-frame-with-faces):
6077 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6078
b6f67890
MR
60792011-11-16 Martin Rudalics <rudalics@gmx.at>
6080
6081 * window.el (split-window, window-state-get-1)
6082 (window-state-put-1, window-state-put-2): Rename occurrences of
6083 window-nest to window-combination-limit.
1d00653d 6084 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6085
ce7ddba0
CY
60862011-11-16 Chong Yidong <cyd@gnu.org>
6087
6088 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6089 regexp (Bug#10033).
6090
3ae704f4
SM
60912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6094 `completing-read' will remove *Completions* and will preserve
6095 current-buffer for us.
6096 (tmm-add-prompt): Users of *Completions* will always (re)set its
6097 major mode.
6098 (tmm-old-comp-map): Remove.
6099
6ad1cdde
GM
61002011-11-16 Glenn Morris <rgm@gnu.org>
6101
6102 * mail/rmailedit.el: Require rmailmm when compiling.
6103 (rmail-old-mime-state): New declaration.
6104 (rmail-edit-current-message): If editing a mime message,
6105 edit the "raw" message from the mbox buffer.
6106 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6107
d20faa20
GM
61082011-11-15 Glenn Morris <rgm@gnu.org>
6109
6110 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6111 which wasn't being used. Add optional arg to force given state.
6112 (rmail-mime): Add optional arg to force given state.
6113
c7015153
JB
61142011-11-15 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6117 * frame.el (display-mm-dimensions-alist):
6118 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6119 (outline-move-subtree-down):
6120 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6121 (newsticker--treeview-do-get-node):
6122 * net/quickurl.el (quickurl-list-buffer-name):
6123 * progmodes/dcl-mode.el (dcl-mode):
6124 * progmodes/gdb-mi.el (gdb-mapcar*):
6125 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6126
45261b50
GM
61272011-11-15 Glenn Morris <rgm@gnu.org>
6128
6129 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6130 in a boolean sense, so just make it a boolean, and fix the doc.
6131 (rmail-show-mime-function, rmail-mime-feature)
6132 (rmail-require-mime-maybe): Doc fixes.
6133 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6134
6135 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6136
0d26e0b6
JB
61372011-11-15 Juanma Barranquero <lekktu@gmail.com>
6138
6139 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6140 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6141 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6142 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6143
447f30f6
GM
61442011-11-15 Glenn Morris <rgm@gnu.org>
6145
672b871d
GM
6146 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6147 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6148 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6149 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6150 (rmail-mime, rmail-show-mime): Doc fixes.
6151
f6aa5bb1
GM
6152 * term/ns-win.el (mode-line-frame-identification):
6153 Leave it alone. (Bug#10051)
6154
947cd66b
GM
6155 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6156
447f30f6
GM
6157 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6158 Handle empty buffers. (Bug#9978)
6159
0b381c7e
JB
61602011-11-14 Juanma Barranquero <lekktu@gmail.com>
6161
6162 * international/mule.el (define-charset):
6163 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6164 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6165 * progmodes/verilog-mode.el (verilog-backward-token):
6166 * textmodes/ispell.el (lookup-words):
6167 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6168
71e027ac
GM
61692011-11-14 Glenn Morris <rgm@gnu.org>
6170
56632ce4
GM
6171 * progmodes/executable.el
6172 (executable-make-buffer-file-executable-if-script-p):
6173 Handle file-modes returning nil.
6174
40500957
GM
6175 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6176 message - not necessary, and causes problems. (Bug#9831)
6177
071c2340
GM
6178 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6179
d3cfca60
GM
6180 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6181
71e027ac
GM
6182 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6183 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6184 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6185
89d61221
MR
61862011-11-12 Martin Rudalics <rudalics@gmx.at>
6187
6188 * window.el (window-resize, delete-window): Use window-splits
6189 variable instead of function.
6190 (window-state-get-1, window-state-put-2, window-state-put):
6191 Don't deal with windows' splits status.
6192
98282f6f
GM
61932011-11-12 Glenn Morris <rgm@gnu.org>
6194
6195 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6196 (apropos-documentation): Doc fixes.
6197
40a8bdf6
JB
61982011-11-11 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6201 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6202
65bd19ff
SM
62032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * electric.el (electric-indent-post-self-insert-function): Make it
6206 possible for a char to only indent in some circumstances.
6207 (electric-indent-mode): Simplify.
6208
54f9154c
MR
62092011-11-11 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (windows-with-parameter): Remove unused function.
6212 (windows-at-side): Rename to window-at-side-list.
6213 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6214 (window-side-check, window-size-ignore, window-size-fixed-1)
6215 (window-in-direction-2): Prefix with "window--".
6216 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6217
68cbc58b
GM
62182011-11-11 Glenn Morris <rgm@gnu.org>
6219
6220 * subr.el (eval-after-load): If FILE is already loaded,
6221 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6222
b2621720
GM
62232011-11-10 Glenn Morris <rgm@gnu.org>
6224
9a4de110
GM
6225 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6226 Call svn via vc-svn-command rather than vc-do-command.
6227 (vc-svn-command): Add --non-interactive. (Bug#9993)
6228 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6229
b2621720
GM
6230 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6231 Add toggle-read-only. (Bug#7292)
6232 * files.el (toggle-read-only): Mention that it should only
6233 be used interactively. (Bug#10006)
6234
1dce7193
SM
62352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6236
d9ac1a1e
SM
6237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6238 Adjust regexp for OCaml warnings.
6239
0c325082
SM
6240 * electric.el (electric-pair-post-self-insert-function): Let user
6241 turn it off buffer-locally (bug#9932).
6242
90132c14
SM
6243 * progmodes/python.el (python-beginning-of-statement):
6244 Rewrite (bug#2703).
6245
1dce7193
SM
6246 * progmodes/compile.el: Better handle TABs (bug#9749).
6247 (compilation-internal-error-properties)
6248 (compilation-next-error-function): Obey the target buffer's
6249 compilation-error-screen-columns.
6250
c4e7c63a
JB
62512011-11-09 Juanma Barranquero <lekktu@gmail.com>
6252
6253 * progmodes/meta-mode.el: Remove obsolete comments.
6254 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6255 Fix typos in docstrings.
6256
2cffd681
MR
62572011-11-09 Martin Rudalics <rudalics@gmx.at>
6258
6259 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6260 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6261 (window--resizable): New function. Make all callers of
6262 window-resizable call window--resizable instead.
6263 (window-resizable): Rewrite in terms of window--resizable.
6264
0edcba87
GM
62652011-11-08 Glenn Morris <rgm@gnu.org>
6266
6267 * progmodes/delphi.el (delphi-mode-syntax-table):
6268 Let define-derived-mode define a proper syntax table. (Bug#9994)
6269
4b0d61e3
SM
62702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * window.el: Stay away from defsubst.
6273 (window-list-no-nils): Remove.
6274 (window-state-get-1, window-state-get): Use backquote instead.
6275
cd394be1 62762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6277
4b0d61e3 6278 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6279 Fix incorrect use of default argument in `completing-read'.
6280
e1c2c6f2
MR
62812011-11-08 Martin Rudalics <rudalics@gmx.at>
6282
6283 * window.el (display-buffer-function, special-display-function):
6284 Mention display-buffer-record-window but do not mention
6285 help-setup parameter in doc-strings.
b3f4a882 6286 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6287
105216ed
CY
62882011-11-08 Chong Yidong <cyd@gnu.org>
6289
6290 * window.el (window-total-height, window-total-width): Doc fix.
6291 (window-body-size): Move from C.
6292 (window-body-height, window-body-width): Move to C.
6293
0a9f9ab5
SM
62942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * window.el: Make special-display like display-buffer-alist (bug#9532).
6297 (display-buffer--special-action): New function, morphed
6298 from display-buffer--special.
6299 (display-buffer): Use it to handle special-display-buffers at higher
6300 priority (just after display-buffer-alist).
6301 (display-buffer-fallback-action, display-buffer--other-frame-action)
6302 (pop-to-buffer-same-window): Remove display-buffer--special.
6303
a769dd15
GM
63042011-11-07 Glenn Morris <rgm@gnu.org>
6305
6306 * calendar/cal-menu.el (cal-menu-set-date-title):
6307 Do nothing if not in a calendar. (Bug#9976)
6308
05a61ee3
SM
63092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * files.el (find-file): Always use selected-window.
6312
be7f5545
MR
63132011-11-07 Martin Rudalics <rudalics@gmx.at>
6314
6315 * window.el (window-combinations): Make WINDOW argument
6316 mandatory. Rewrite doc-string.
6317 (walk-window-subtree, window-atom-check, window-min-delta)
6318 (window-max-delta, window--resize-this-window)
6319 (window--resize-root-window-vertically, window-tree)
6320 (balance-windows, window-state-put): Rewrite doc-strings as to
6321 not mention the term "subwindow".
6322 (window--resize-subwindows-skip-p): Rename to
6323 window--resize-child-windows-skip-p.
6324 (window--resize-subwindows-normal): Rename to
6325 window--resize-child-windows-normal.
6326 (window--resize-subwindows): Rename to
6327 window--resize-child-windows.
6328 (window-or-subwindow-p): Rename to window--in-subtree-p.
6329
3c6702ef
ML
63302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6331
6332 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6333 Ensure that mbox format messages end in two newlines (Bug#9974).
6334
49745b39
CY
63352011-11-06 Chong Yidong <cyd@gnu.org>
6336
6337 * window.el (window-combination-p): Function deleted; its
6338 side-effect is not used in any existing code.
6339 (window-combinations, window-combined-p): Call window-*-child
6340 directly.
6341
24300f5f
CY
63422011-11-05 Chong Yidong <cyd@gnu.org>
6343
6344 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6345 (window-size-ignore, window-state-get): Callers changed.
6346 (window-normalize-window): Rename from window-normalize-any-window.
6347 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6348 (window-normalize-live-window): Delete.
447f16b8
CY
6349 (window-combination-p, window-combined-p, window-combinations)
6350 (walk-window-subtree, window-atom-root, window-min-size)
6351 (window-sizable, window-sizable-p, window-size-fixed-p)
6352 (window-min-delta, window-max-delta, window-resizable)
6353 (window-resizable-p, window-full-height-p, window-full-width-p)
6354 (window-current-scroll-bars, window-point-1, set-window-point-1)
6355 (window-at-side-p, window-in-direction, window-resize)
6356 (adjust-window-trailing-edge, maximize-window, minimize-window)
6357 (window-deletable-p, delete-window, delete-other-windows)
6358 (record-window-buffer, unrecord-window-buffer)
6359 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6360 (quit-window, split-window, window-state-put)
6361 (set-window-text-height, fit-window-to-buffer)
6362 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6363
89bd5ee1
EZ
63642011-11-04 Eli Zaretskii <eliz@gnu.org>
6365
53479029
EZ
6366 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6367 rfc2047-decode-string.
6368 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6369 warnings.
6370
89bd5ee1
EZ
6371 * window.el (window-body-height, window-body-width): Mention in
6372 the doc string that the return values are in frame's canonical
6373 units. (Bug#9949)
6374
bd17fdee
AM
63752011-11-03 Alan Mackenzie <acm@muc.de>
6376
6377 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6378 change in cc-engine.el.
6379
acc825c5
SM
63802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6383
1885e5b8
MR
63842011-11-02 Martin Rudalics <rudalics@gmx.at>
6385
6386 * window.el (quit-window): Call unrecord-window-buffer after
6387 showing another buffer in the window. (Bug#9937)
acc825c5 6388 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6389
ebe06da9
JB
63902011-11-02 Juanma Barranquero <lekktu@gmail.com>
6391
6392 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6393 Accept status with more than 9 shelves. (Bug#9935)
6394 Reported by Colin D Bennett <colin@gibibit.com>.
6395
4ee88440
MR
63962011-11-01 Martin Rudalics <rudalics@gmx.at>
6397
6398 * help.el (with-help-window): Don't reference
6399 temp-buffer-show-specifiers in doc-string.
6400
08e1d82c
AS
64012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6402
6403 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6404 menu-item.
6405
84bd6e9e
VJL
64062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6407
6408 * whitespace.el: New version 13.2.2.
6409 (whitespace-newline-mode): Disable properly. Reported by Sarah
6410 <EmacsWiki>.
6411
dba0634a
UJ
64122011-10-30 Ulf Jasper <ulf.jasper@web.de>
6413
6414 * net/newst-treeview.el: Remove "Time-stamp".
6415 (newsticker--group-manage-orphan-feeds): Do not call
6416 newsticker--treeview-tree-update.
db22a3c2
JB
6417 (newsticker-treeview-update, newsticker-treeview):
6418 Call newsticker--treeview-tree-update if necessary.
dba0634a 6419
3d8daefe
MR
64202011-10-30 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6423 (window-iso-combinations): Remove "iso-" infix.
6424 Suggested by Chong Yidong.
3d8daefe
MR
6425 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6426 (window-max-delta-1, window-resize, window--resize-siblings)
6427 (window--resize-this-window, adjust-window-trailing-edge)
6428 (split-window, balance-windows-1)
6429 (shrink-window-if-larger-than-buffer):
6430 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6431 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6432
1bc4c3ae
SM
64332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6436 in place (bug#9907).
6437 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6438 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6439 (eshell-structure-basic-command, eshell-rewrite-while-command)
6440 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6441 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6442 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6443 (eshell-do-pipelines-synchronously, eshell-eval-command):
6444 Use backquotes and prefer setq to set.
6445 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6446 (eshell-macrop): Use functionp.
c1e2f5fa 6447 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6448
30b65d9c
CY
64492011-10-30 Chong Yidong <cyd@gnu.org>
6450
6451 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6452 instead of set-mark (Bug#9810).
6453
2d197ffb
CY
64542011-10-30 Chong Yidong <cyd@gnu.org>
6455
6456 * window.el (split-window-below, split-window-right): Rename from
6457 split-window-above-each-other and split-window-side-by-side
6458 respectively. All callers changed.
6459 (split-window-sensibly, split-window-sensibly): Use them.
6460 (split-window-keep-point): Doc fix.
6461
6462 * isearch.el: Add isearch-scroll property to split-window-below
6463 and split-window-right.
6464
6465 * follow.el (follow-mode):
6466 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6467 * progmodes/ada-xref.el (ada-gdb-application):
6468 * emulation/vip.el (vip-buffer-in-two-windows):
6469 * image-dired.el (image-dired-dired-with-window-configuration):
6470 * dired-x.el (dired-do-find-marked-files):
6471 * dired.el (dired-pop-to-buffer):
6472 * bs.el (bs--show-with-configuration):
6473 * vc/emerge.el (emerge-setup-windows):
6474 * textmodes/two-column.el (2C-two-columns):
6475 * textmodes/reftex-toc.el (reftex-toc):
6476 * progmodes/gdb-mi.el (gdb-setup-windows):
6477 * progmodes/fortran.el (fortran-window-create):
6478 * net/newst-treeview.el (newsticker--treeview-window-init):
6479 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6480 * emulation/tpu-edt.el (tpu-gold-map):
6481 * emulation/crisp.el (crisp-mode-map):
6482 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6483
38bb2ca8
CY
64842011-10-29 Chong Yidong <cyd@gnu.org>
6485
aa4de341
CY
6486 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6487
e1eb5385
CY
6488 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6489
5d2ece3c
CY
6490 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6491 forged Ispell output (Bug#7904).
6492
38bb2ca8
CY
6493 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6494
d0af9f77
SM
64952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * doc-view.el: Avoid ugly errors about not finding nil.
6498 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6499 (doc-view-dvipdf-program, doc-view-unoconv-program)
6500 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6501 Avoid nil or absolute file name as default value.
6502 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6503
52bedd34
AM
65042011-10-28 Alan Mackenzie <acm@muc.de>
6505
db22a3c2 6506 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6507
7e43cfa5
AM
65082011-10-28 Alan Mackenzie <acm@muc.de>
6509
6510 Amend the handling of c-beginning/end-of-defun in nested declaration
6511 scopes.
6512
52bedd34
AM
6513 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6514 cc-langs.el. Change it to a defcustom.
7e43cfa5 6515
52bedd34
AM
6516 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6517 cc-vars.el.
7e43cfa5 6518
d0af9f77
SM
6519 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6520 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6521
52bedd34 6522 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6523 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6524 (c-widen-to-enclosing-decl-scope): New function.
6525 (c-while-widening-to-decl-block): New macro.
6526 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6527 outward for defun boundaries, and correspondingly change symbol
6528 `respect-enclosure' to `go-outward'.
6529 (c-declaration-limits): Change algorithm to report only the "innermost"
6530 defun's boundaries.
6531
1a2ce9ee
DD
65322011-10-28 Deniz Dogan <deniz@dogan.se>
6533
6534 * net/rcirc.el (rcirc-mode): Use hard newlines.
6535
bc97a826
AM
65362011-10-28 Alan Mackenzie <acm@muc.de>
6537
6538 Amend to indent and fontify macros "which include their own semicolon"
6539 correctly, using the "virtual semicolon" mechanism.
6540
52bedd34 6541 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6542
d0af9f77 6543 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6544 Recode to scan one line at a time rather than having \n and \r
58179cce 6545 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6546 (c-forward-label): Amend for virtual semicolons.
58179cce 6547 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6548
52bedd34
AM
6549 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6550 of the new C macros.
bc97a826 6551
52bedd34 6552 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6553 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6554 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6555 (c-opt-cpp-macro-define): Make into a full language variable.
6556 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6557 AWK Mode (including \n, \r) removed, no longer needed.
6558
d0af9f77
SM
6559 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6560 Invoke c-make-macro-with-semi-re.
bc97a826 6561
52bedd34
AM
6562 * progmodes/cc-vars.el (c-macro-with-semi-re):
6563 (c-macro-names-with-semicolon): New variables.
58179cce 6564 (c-make-macro-with-semi-re): New function.
bc97a826 6565
7a6c0941
SM
65662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * vc/log-edit.el: Fill empty field rather than adding new one.
6569 (log-edit-add-field): New function.
6570 (log-edit-insert-changelog): Use it.
6571
b0c4cdcf
ML
65722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6573
6574 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6575
ee1f1da9
SM
65762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6579 (gdb--check-interpreter): New function.
6580 (gdb): Use it.
6581
51bc5f8b
GM
65822011-10-27 Glenn Morris <rgm@gnu.org>
6583
416a2c45
GM
6584 * emacs-lisp/cl-extra.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):
6588 Remove unnecessary declarations.
6589
6590 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6591 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6592 (least-positive-float, least-negative-float)
6593 (least-positive-normalized-float, least-negative-normalized-float)
6594 (float-epsilon, float-negative-epsilon): Add doc-strings,
6595 based on those in cl.texi.
6596
51bc5f8b
GM
6597 * files.el (set-visited-file-name): If the major-mode changed,
6598 reload the local variables. (Bug#9796)
6599
15de15c6
CY
66002011-10-27 Chong Yidong <cyd@gnu.org>
6601
6602 * subr.el (change-major-mode-after-body-hook): New hook.
6603 (run-mode-hooks): Run it.
6604
ee1f1da9
SM
6605 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6606 Use change-major-mode-before-body-hook.
15de15c6
CY
6607
6608 * simple.el (fundamental-mode):
6609 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6610 change introducing fundamental-mode-hook.
6611
5430d399
JB
66122011-10-26 Juanma Barranquero <lekktu@gmail.com>
6613
acc825c5 6614 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6615
ad74a69e
MA
66162011-10-26 Michael Albinus <michael.albinus@gmx.de>
6617
6618 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6619 tramp.el explicitly. (Bug#7583)
ad74a69e 6620
71d4c2a5
SM
66212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * progmodes/octave-mod.el:
6624 * progmodes/octave-inf.el: Update maintainer.
6625
b1f6fa26
CY
66262011-10-26 Chong Yidong <cyd@gnu.org>
6627
6628 * subr.el (with-wrapper-hook): Rewrite doc.
6629
3f04efd6
MA
66302011-10-25 Michael Albinus <michael.albinus@gmx.de>
6631
6632 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6633 filenames "/method:foo:". (Bug#9793)
3f04efd6 6634
410488d3
SM
66352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6638 (bug#9865).
6639
c1ebb47e
GM
66402011-10-24 Glenn Morris <rgm@gnu.org>
6641
6642 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6643
7f5c46c7
MA
66442011-10-24 Michael Albinus <michael.albinus@gmx.de>
6645
6646 * notifications.el: Add the requirement of a running D-Bus session
6647 bus to the Commentary.
6648
db2440b6
JL
66492011-10-24 Juri Linkov <juri@jurta.org>
6650
6651 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6652 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6653 (Bug#9364)
6654
feecf435
JL
66552011-10-24 Juri Linkov <juri@jurta.org>
6656
6657 * info.el (Info-following-node-name-re): Add newline to the list
6658 of allowed characters for leading space. (Bug#9824)
6659
a3839de2
SM
66602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6661
acc825c5
SM
6662 * progmodes/octave-inf.el (inferior-octave-mode-map):
6663 Fix C-c C-h binding.
a3839de2
SM
6664 * progmodes/octave-mod.el (octave-help): Remove.
6665
09388e76
MA
66662011-10-23 Michael Albinus <michael.albinus@gmx.de>
6667
6668 Sync with Tramp 2.2.3.
6669
6670 * net/tramp-cache.el (top): Pacify byte-compiler using
6671 `init-file-user' and `site-run-file'.
6672
6673 * net/trampver.el: Update release number.
6674
86c60681
CY
66752011-10-23 Chong Yidong <cyd@gnu.org>
6676
6677 * files.el (toggle-read-only): Remove obsolete comment about
6678 version control.
6679
6680 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6681 for toggle-read-only. Note that this hasn't called vc-next-action
6682 since 2008-05-02, though it wasn't documented at the time.
6683
a3839de2
SM
6684 * vc/ediff-init.el (ediff-toggle-read-only-function):
6685 Use toggle-read-only.
86c60681 6686
cd5495ff
AM
66872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6688
6689 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6690 of c-parse-state.
6691
00b77525 6692 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6693 correct faulty logical expression.
cd5495ff
AM
6694 (c-parse-state-state, c-record-parse-state-state):
6695 (c-replay-parse-state-state): New defvar/defuns.
6696 (c-debug-parse-state): Use new functions.
6697
42ee24ed
MR
66982011-10-22 Martin Rudalics <rudalics@gmx.at>
6699
6700 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6701 last fix. Use window-in-direction correctly.
42ee24ed 6702
a7dee7e7
CY
67032011-10-21 Chong Yidong <cyd@gnu.org>
6704
6705 * progmodes/idlwave.el (idlwave-mode):
6706 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6707 require-final-newline; that's done in prog-mode.
6708 Suggested by Stefan Monnier.
a7dee7e7 6709
e07b9a6d
MR
67102011-10-21 Martin Rudalics <rudalics@gmx.at>
6711
6712 * mouse.el (mouse-drag-window-above)
6713 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6714 (mouse-drag-mode-line-1, mouse-drag-header-line)
6715 (mouse-drag-vertical-line-rightward-window): Remove.
6716 (mouse-drag-line): New function.
6717 (mouse-drag-mode-line, mouse-drag-header-line)
6718 (mouse-drag-vertical-line): Call mouse-drag-line.
6719 * window.el (window-at-side-p, windows-at-side): New functions.
6720
7e1361d9
UM
67212011-10-21 Ulrich Mueller <ulm@gentoo.org>
6722
6723 * tar-mode.el (tar-grind-file-mode):
6724 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6725
30fcaf3a
CY
67262011-10-21 Chong Yidong <cyd@gnu.org>
6727
6728 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6729 * progmodes/vera-mode.el (vera-mode):
6730 Use mode-require-final-newline.
30fcaf3a 6731
516eddb0
GM
67322011-10-20 Glenn Morris <rgm@gnu.org>
6733
db22a3c2 6734 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6735
10d5f513
CS
67362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6737
6738 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6739
ac6c8639
CY
67402011-10-20 Chong Yidong <cyd@gnu.org>
6741
6742 * emulation/cua-base.el (cua-mode):
6743 * mail/footnote.el (footnote-mode):
6744 * mail/mailabbrev.el (mail-abbrevs-mode):
6745 * net/xesam.el (xesam-minor-mode):
6746 * progmodes/bug-reference.el (bug-reference-mode):
6747 * progmodes/cap-words.el (capitalized-words-mode):
6748 * progmodes/compile.el (compilation-minor-mode)
6749 (compilation-shell-minor-mode):
6750 * progmodes/gud.el (gud-tooltip-mode):
6751 * progmodes/hideif.el (hide-ifdef-mode):
6752 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6753 * progmodes/subword.el (subword-mode):
6754 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6755 * progmodes/which-func.el (which-function-mode):
6756 * term/tvi970.el (tvi970-set-keypad-mode):
6757 * term/vt100.el (vt100-wide-mode):
6758 * textmodes/flyspell.el (flyspell-mode):
6759 * textmodes/ispell.el (ispell-minor-mode):
6760 * textmodes/nroff-mode.el (nroff-electric-mode):
6761 * textmodes/paragraphs.el (use-hard-newlines):
6762 * textmodes/refill.el (refill-mode):
6763 * textmodes/reftex.el (reftex-mode):
6764 * textmodes/rst.el (rst-minor-mode):
6765 * textmodes/sgml-mode.el (html-autoview-mode)
6766 (sgml-electric-tag-pair-mode):
6767 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6768 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6769 * emulation/crisp.el (crisp-mode):
6770 * emacs-lisp/eldoc.el (eldoc-mode):
6771 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6772 minor mode behavior.
6773
aa42ab43
JL
67742011-10-19 Juri Linkov <juri@jurta.org>
6775
6776 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6777 the list of hard-coded chars with escape-glyph face.
6778
89400f1d
SM
67792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6782
305c07f6
MA
67832011-10-19 Michael Albinus <michael.albinus@gmx.de>
6784
6785 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6786 running process.
6787
13754b54
GM
67882011-10-19 Glenn Morris <rgm@gnu.org>
6789
6790 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6791 Ignore ignored files. (Bug#9726)
6792
06e21633
CY
67932011-10-19 Chong Yidong <cyd@gnu.org>
6794
6795 Doc fix for minor modes, stating that an omitted argument enables
6796 the mode unconditionally when called from Lisp.
6797
6798 * abbrev.el (abbrev-mode):
6799 * allout.el (allout-mode):
6800 * autoinsert.el (auto-insert-mode):
6801 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6802 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6803 (global-auto-revert-mode):
6804 * battery.el (display-battery-mode):
6805 * composite.el (global-auto-composition-mode)
6806 (auto-composition-mode):
6807 * delsel.el (delete-selection-mode):
6808 * desktop.el (desktop-save-mode):
6809 * dired-x.el (dired-omit-mode):
6810 * dirtrack.el (dirtrack-mode):
6811 * doc-view.el (doc-view-minor-mode):
6812 * double.el (double-mode):
6813 * electric.el (electric-indent-mode, electric-pair-mode):
6814 * emacs-lock.el (emacs-lock-mode):
6815 * epa-hook.el (auto-encryption-mode):
6816 * follow.el (follow-mode):
6817 * font-core.el (font-lock-mode):
6818 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6819 * help.el (temp-buffer-resize-mode):
6820 * hilit-chg.el (highlight-changes-mode)
6821 (highlight-changes-visible-mode):
6822 * hi-lock.el (hi-lock-mode):
6823 * hl-line.el (hl-line-mode, global-hl-line-mode):
6824 * icomplete.el (icomplete-mode):
6825 * ido.el (ido-everywhere):
6826 * image-file.el (auto-image-file-mode):
6827 * image-mode.el (image-minor-mode):
6828 * iswitchb.el (iswitchb-mode):
6829 * jka-cmpr-hook.el (auto-compression-mode):
6830 * linum.el (linum-mode):
6831 * longlines.el (longlines-mode):
6832 * master.el (master-mode):
6833 * mb-depth.el (minibuffer-depth-indicate-mode):
6834 * menu-bar.el (menu-bar-mode):
6835 * minibuf-eldef.el (minibuffer-electric-default-mode):
6836 * mouse-sel.el (mouse-sel-mode):
6837 * msb.el (msb-mode):
6838 * mwheel.el (mouse-wheel-mode):
6839 * outline.el (outline-minor-mode):
6840 * paren.el (show-paren-mode):
6841 * recentf.el (recentf-mode):
6842 * reveal.el (reveal-mode, global-reveal-mode):
6843 * rfn-eshadow.el (file-name-shadow-mode):
6844 * ruler-mode.el (ruler-mode):
6845 * savehist.el (savehist-mode):
6846 * scroll-all.el (scroll-all-mode):
6847 * scroll-bar.el (scroll-bar-mode):
6848 * server.el (server-mode):
6849 * shell.el (shell-dirtrack-mode):
6850 * simple.el (auto-fill-mode, transient-mark-mode)
6851 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6852 (line-number-mode, column-number-mode, size-indication-mode)
6853 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6854 * strokes.el (strokes-mode):
6855 * time.el (display-time-mode):
6856 * t-mouse.el (gpm-mouse-mode):
6857 * tool-bar.el (tool-bar-mode):
6858 * tooltip.el (tooltip-mode):
6859 * type-break.el (type-break-mode-line-message-mode)
6860 (type-break-query-mode):
6861 * view.el (view-mode):
6862 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6863 (global-whitespace-mode, global-whitespace-newline-mode):
6864 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6865
a3839de2
SM
6866 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6867 Fix autogenerated docstring.
06e21633 6868
5214e501
JL
68692011-10-19 Juri Linkov <juri@jurta.org>
6870
6871 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6872 by checking environment variables "DESKTOP_SESSION" and
6873 "XDG_CURRENT_DESKTOP". (Bug#9779)
6874
195f8db9
JL
68752011-10-19 Juri Linkov <juri@jurta.org>
6876
6877 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6878 (browse-url-chromium-program, browse-url-chromium-arguments):
6879 New defcustoms.
6880 (browse-url-default-browser): Check for `browse-url-chromium' and
6881 call `browse-url-chromium-program'.
6882 (browse-url-chromium): New command. (Bug#9779)
6883
343a34ff
JB
68842011-10-18 Juanma Barranquero <lekktu@gmail.com>
6885
6886 * facemenu.el (list-colors-duplicates): On Windows, detect more
6887 duplicates by assuming that only colors matching "^System" are
6888 special "system colors". (Bug#9722)
6889
6978a151
SM
68902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6893 to distinguish the author from the committer.
6894
6a80b297
MA
68952011-10-18 Michael Albinus <michael.albinus@gmx.de>
6896
6897 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6898
b31a5677
JK
68992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6900
6901 * international/mule.el (sgml-html-meta-auto-coding-function):
6902 Add support for detecting encoding in HTML5 specified only as
6903 <meta charset="UTF-8">. Implementation just makes http-equiv and
6904 content-type parts from HTML4 encoding string optional. (Bug#9716)
6905
80c6d77f
GM
69062011-10-18 Glenn Morris <rgm@gnu.org>
6907
6908 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6909
08b0fee8
CY
69102011-10-18 Chong Yidong <cyd@gnu.org>
6911
6912 * faces.el (cursor): Doc fix.
6913
67e729a5
CY
69142011-10-17 Chong Yidong <cyd@gnu.org>
6915
6916 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6917
343a34ff 69182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6919
6920 * dirtrack.el (dirtrack): Support shell buffers with path
6921 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6922
0bc06380
TZ
69232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6924
6925 * json.el: Bump version to 1.3 and note change in History.
6926 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6927
8b79f3e0
SM
69282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6929
5a7c536b
SM
6930 * comint.el (comint-insert-input, comint-send-input)
6931 (comint-get-old-input-default, comint-backward-matching-input)
6932 (comint-next-prompt): Use nil instead of `input' for field property of
6933 past user input (bug#114).
6934
96a8a0df
SM
6935 * minibuffer.el (completion--replace): Inherit surrounding properties
6936 (bug#114).
6937 (minibuffer-complete-and-exit): Use it.
6938
8b79f3e0
SM
6939 * comint.el (comint--table-subvert): Quote the all-completions output
6940 (bug#9160).
6941
b8f7ff0d
MR
69422011-10-17 Martin Rudalics <rudalics@gmx.at>
6943
8b79f3e0 6944 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6945
b8f7ff0d 6946 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6947 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6948 entries and separate them from frame entries.
6949
c235b555
GM
69502011-10-15 Glenn Morris <rgm@gnu.org>
6951
6952 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6953 Doc fixes.
6954
6bbfa6e1
CY
69552011-10-15 Chong Yidong <cyd@stupidchicken.com>
6956
8b79f3e0
SM
6957 * net/network-stream.el (network-stream-open-starttls):
6958 Improve detection of failure due to lack of TLS support.
ec5c990d 6959
6bbfa6e1
CY
6960 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6961 putting the input text in front and in bold.
6962
98488977
SM
69632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6964
3d1337be
SM
6965 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6966
ee0b45e4
SM
6967 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6968 empty buffer.
6969
98488977
SM
6970 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6971 unread-command-events rather than pushing yet-another event.
6972
186f4720
EZ
69732011-10-14 Eli Zaretskii <eliz@gnu.org>
6974
6975 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6976 the explanation of the possible choices. Make the options passed
6977 to completing-read shorter.
6978
8b7a997c
AM
69792011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6980
6981 * textmodes/flyspell.el (flyspell-large-region): Make sure
6982 extended character mode is used if defined (Bug#1339).
6983
12587bbb
EZ
69842011-10-13 Eli Zaretskii <eliz@gnu.org>
6985
6986 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6987 character info for LRE, LRO, RLE, and RLO characters by appending
6988 an invisible PDF.
12587bbb 6989
bad41229
SM
69902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6993 even in case of error; add debug spec; simplify data flow.
6994 (with-timeout-handler): Remove.
6995
28dbc92f
MA
69962011-10-12 Michael Albinus <michael.albinus@gmx.de>
6997
6998 Fix Bug#6019, Bug#9315.
6999
7000 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7001 complete `buffer-file-name', the local file name part could look
7002 remotely (for example on VMS).
7003
7004 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7005 `tramp-run-real-handler'.
7006 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7007 already quoted by '"'.
7008
7009 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7010 Let `file-name-handler-alist' be nil, the local file name part
7011 could look remotely (for example on VMS).
7012
e1b0b23a
SM
70132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7016 from here...
7017 (flyspell-post-command-hook): ...to here.
7018
a120bde9
SM
70192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7022 if not needed.
7023 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7024 using completion. Protect against "slow" callers.
7025 Remove the "message hack".
7026
7ce7717b
JL
70272011-10-11 Juri Linkov <juri@jurta.org>
7028
7029 * isearch.el (isearch-lazy-highlight-word): New variable.
7030 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7031 Use it. (Bug#9727)
7032
c02ee9d6
GM
70332011-10-11 Glenn Morris <rgm@gnu.org>
7034
7035 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7036 like f90-previous-statement does.
7037
93e616fd 70382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7039
1f190e73 7040 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7041 only in interactive use, to avoid error.
7042
af7b6078
SM
70432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * minibuffer.el (completion-file-name-table): Fix last change,
7046 i.e. ignore normal errors but not the other ones.
7047
0563dae9
MR
70482011-10-10 Martin Rudalics <rudalics@gmx.at>
7049
7050 * window.el (special-display-buffer-names)
7051 (special-display-regexps): Remove some remnants of earlier
7052 changes from doc-strings.
366ca7f3
MR
7053 (quit-windows-on): New function.
7054
7055 * vc/vc.el (vc-revert, vc-rollback):
7056 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7057 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7058 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7059
49677495
MR
70602011-10-09 Martin Rudalics <rudalics@gmx.at>
7061
7062 * window.el (frame-auto-hide-function): Add version tag.
7063 (Bug#9699)
7064
56f2d1e1
MA
70652011-10-09 Michael Albinus <michael.albinus@gmx.de>
7066
7067 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7068 condition.
7069
112a6592
LL
70702011-10-09 Leo Liu <sdl.web@gmail.com>
7071
7072 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7073 (Bug#9701)
7074
0812589b
GM
70752011-10-08 Glenn Morris <rgm@gnu.org>
7076
7077 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7078 before the first code statement zero indent. (Bug#9690)
7079
b2b0776e
CY
70802011-10-08 Chong Yidong <cyd@stupidchicken.com>
7081
7082 * simple.el (count-words-region): Always count in the region.
7083 Report the number of lines and characters too.
7084 (count-words): New command, which counts in the buffer if the
7085 region is inactive, as count-words-region used to.
7086 (count-words--message): New function. Handle plurals.
7087 (count-lines-region): Make it an alias for count-words-region.
7088
7089 * bindings.el (esc-map): Replace count-lines-region with
7090 count-words-region.
7091
c557cd6b
MR
70922011-10-08 Martin Rudalics <rudalics@gmx.at>
7093
7094 * window.el (window--delete): Delete dedicated frame
7095 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7096 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7097
61a57ef4 70982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7099
3a7d293b 7100 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7101
c3833279
CY
71022011-10-07 Chong Yidong <cyd@stupidchicken.com>
7103
7104 * bindings.el ([M-left],[M-right]): Bind to left-word and
7105 right-word respectively.
7106
21ce8245
GM
71072011-10-07 Glenn Morris <rgm@gnu.org>
7108
7109 * cus-start.el (debug-on-quit): Fix custom type.
7110
6d823bb2
LMI
71112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7112
0181e193
LMI
7113 * subr.el (define-key-after): Clarify that the function is not
7114 useful for non-menu keymaps.
7115
6d823bb2
LMI
7116 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7117
8e3459ce 71182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7119
21ce8245 7120 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7121 in current minibuffer (Fix bug with recursive minibuffers).
7122
a1c2d21e
CY
71232011-10-06 Chong Yidong <cyd@stupidchicken.com>
7124
7125 * progmodes/gdb-mi.el (gdb): Doc fix.
7126
5a4cf282
MR
71272011-10-05 Martin Rudalics <rudalics@gmx.at>
7128
7129 * window.el (frame-auto-hide-function): New option replacing
7130 frame-auto-delete. Suggested by Stefan Monnier.
7131 (window--delete): Call frame-auto-hide-function instead of
7132 investigating frame-auto-delete.
c96111ea
MR
7133 (window-point-1, set-window-point-1): New functions.
7134 (window-in-direction, record-window-buffer, window-state-get-1)
7135 (display-buffer-record-window): Use window-point-1 instead of
7136 window-point.
7137 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7138
9854542e
SM
71392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7140
7141 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7142
8943cfb0
GM
71432011-10-05 Glenn Morris <rgm@gnu.org>
7144
7145 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7146 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7147
647ab967
LL
71482011-10-05 Leo Liu <sdl.web@gmail.com>
7149
7150 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7151 works with buffer object.
7152
3ddfbced
SM
71532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * mpc.el (mpc-tool-bar-map): Add labels.
7156
bdfa5dd2
GM
71572011-10-04 Glenn Morris <rgm@gnu.org>
7158
7159 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7160
0e2070b5
MR
71612011-10-04 Martin Rudalics <rudalics@gmx.at>
7162
7163 * window.el (window--delete): New function.
7164 (frame-auto-delete): Resuscitate option.
7165 (bury-buffer, replace-buffer-in-windows)
7166 (quit-window): Rewrite using window--delete.
7167 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7168 Pass display-buffer-mark-dedicated to window--display-buffer-2
7169 (Bug#9639).
7170
3dc61a09
SM
71712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7172
915a9b64
SM
7173 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7174 returns a list (bug#9554). Add remote file name completion.
7175 * comint.el (comint--table-subvert): Curry and get quote&unquote
7176 functions as arguments.
7177 (comint--complete-file-name-data): Adjust call accordingly.
7178 * pcomplete.el (pcomplete--table-subvert): Remove.
7179 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7180
3dc61a09
SM
7181 * minibuffer.el (completion-table-case-fold): Use currying.
7182 (completion--styles-type, completion--cycling-threshold-type):
7183 New constants.
7184 (completion-styles, completion-category-overrides)
7185 (completion-cycle-threshold): Use them.
7186 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7187 completion-table-case-fold.
7188
8ea0a993
SB
71892011-10-03 Stephen Berman <stephen.berman@gmx.net>
7190
7191 * minibuffer.el (completion-category-overrides): Fix type of styles
7192 and add more user friendly tags (bug#9660).
7193
8c24b7f6
SM
71942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7197 (mule-input-method-string): New widget.
7198 (default-input-method, language-info-custom-alist): Use it.
7199
428fe61a
SM
72002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7201
32c1fffd
SM
7202 * pcomplete.el: Require comint.
7203 (pcomplete--common-suffix): Remove.
7204 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7205 (pcomplete--table-subvert): Sync with comint--table-subvert.
7206 (pcomplete--entries): Use comint-completion-file-name-table.
7207 * comint.el (comint-unquote-filename): Simplify.
7208 (comint-completion-file-name-table): New function (bug#9616).
7209 (comint--complete-file-name-data): Use it.
7210
428fe61a
SM
7211 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7212 (pcmpl-gnu-tar-buffer): Remove.
7213 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7214 around. Make sure pcomplete-suffix-list is only changed temporarily.
7215 Don't look inside the tar's file if it's too large.
428fe61a 7216
04c52e2f
CY
72172011-10-01 Chong Yidong <cyd@stupidchicken.com>
7218
ce3cefcc
CY
7219 * cus-edit.el (custom-mode-map):
7220 * epa.el (epa-key-list-mode-map):
7221 * man.el (Man-mode-map):
7222 * startup.el (splash-screen-keymap):
7223 * simple.el (special-mode-map): Use scroll-up-command and
7224 scroll-down-command.
7225
7226 * progmodes/idlw-help.el (idlwave-help-mode-map):
7227 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7228 * net/newst-plainview.el (newsticker-mode-map):
7229 * emulation/ws-mode.el (wordstar-mode-map):
7230 * emulation/vi.el (vi-com-map):
7231 * calc/calc-graph.el (calc-graph-show-dumb):
7232 * term/sun.el (terminal-init-sun):
7233 * term/ns-win.el (global-map):
7234 * progmodes/grep.el (grep-mode-map):
7235 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7236 * mail/rmail.el (rmail-mode-map):
7237 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7238
04c52e2f
CY
7239 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7240 custom-safe-themes as special.
7241
79adf8c8
JD
72422011-10-01 Julien Danjou <julien@danjou.info>
7243
7244 * notifications.el (notifications-notify): Fix docstring.
7245
63bd50d3
PS
72462011-10-01 Per Starbäck <per@starback.se>
7247
7248 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7249
199e4c7e
MR
72502011-09-30 Martin Rudalics <rudalics@gmx.at>
7251
7252 * startup.el (command-line-1): Fix last fix by inserting
7253 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7254 (Bug#9605) and (Bug#9636)
199e4c7e 7255
fe5f08dd
EZ
72562011-09-29 Eli Zaretskii <eliz@gnu.org>
7257
7258 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7259 window is hscrolled, move by logical lines. (Bug#9607)
7260 (line-move-visual): Update the doc string to the above effect.
7261
b5516bbd
MR
72622011-09-29 Martin Rudalics <rudalics@gmx.at>
7263
ccee00c0
MR
7264 * window.el (display-buffer-record-window): When WINDOW is the
7265 selected window use `point' instead of `window-point'. (Bug#9626)
7266
b5516bbd
MR
7267 * startup.el (command-line-1): Use insert-before-markers when
7268 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7269
b5516bbd
MR
7270 * help.el (help-window): Remove variable.
7271
52aa0014
GM
72722011-09-29 Glenn Morris <rgm@gnu.org>
7273
7274 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7275
df9a7357
JB
72762011-09-29 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * descr-text.el (describe-char-categories): Accept category
7279 descriptions more than one line long.
7280
a8406c20
SM
72812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7282
88d9610c
SM
7283 * simple.el (delete-trailing-whitespace): Fix last change.
7284
a5daf810
SM
7285 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7286 Don't confuse "y => 3" as the beginning of a `y' operation.
7287
a8406c20
SM
7288 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7289 object has more than 4 slots (bug#9613).
7290
a239d4e9
JB
72912011-09-28 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * subr.el (with-output-to-temp-buffer):
7294 * net/quickurl.el (quickurl, quickurl-browse-url):
7295 Fix typos in docstrings.
7296
693fbdb6
EZ
72972011-09-27 Eli Zaretskii <eliz@gnu.org>
7298
7299 * minibuffer.el (completion-styles)
7300 (completion-category-overrides): Cross reference each other in doc
7301 strings.
7302
8b457e28
GM
73032011-09-27 Glenn Morris <rgm@gnu.org>
7304
7305 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7306 to split-string. (Bug#9606)
7307
85a16208
LMI
73082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7309
7310 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7311 (bug#9615).
7312
502f9ebd
CY
73132011-09-27 Chong Yidong <cyd@stupidchicken.com>
7314
7315 * emacs-lisp/package.el (list-packages): Fix echo area message.
7316
7690bdea
LL
73172011-09-27 Leo Liu <sdl.web@gmail.com>
7318
7319 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7320
e2ee6f30
MA
73212011-09-25 Michael Albinus <michael.albinus@gmx.de>
7322
7323 * net/dbus.el (dbus-unregister-object): Don't release services for
7324 registered signals. (Bug#9581)
7325
f3f98342
TZ
73262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7327
7328 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7329 function that picks between cfengine 2 and 3 support
7330 automatically. Update docs accordingly.
7331
dd7aa8dd
KH
73322011-09-22 Kenichi Handa <handa@m17n.org>
7333
7334 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7335 ZERO.
7336 (indian-itrans-v5-table-for-tamil): New variable.
7337 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7338
3f2b07f8
KM
73392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7340
7341 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7342 that's true if the current command involved collapsing of text.
7343 It's reset to false at the beginning of the next command.
7344 (allout-post-command-business): Move the cursor to the beginning
7345 of entry if the cursor is hidden and collapsing activity just
7346 happened.
7347
371d6a61
CY
73482011-09-24 Chong Yidong <cyd@stupidchicken.com>
7349
7350 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7351 tracking (Bug#9541).
7352
2ac2721a
UJ
73532011-09-24 Ulf Jasper <ulf.jasper@web.de>
7354
7355 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7356 (newsticker-show-news): Automatically load html rendering package
7357 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7358 because w3m-fill-column is let-bound" and the error "Symbol's value
7359 as variable is void: w3m-fill-column".
2ac2721a 7360
fac7ae53
MA
73612011-09-24 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7364 Release services only if they are defined. (Bug#9581)
7365
e08b633b
RS
73662011-09-23 Richard Stallman <rms@gnu.org>
7367
e488d29c
RS
7368 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7369 distinguish start of paragraph from start of its text.
7370
19c38752
RS
7371 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7372
e08b633b
RS
7373 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7374 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7375 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7376
0a39f27e
AS
73772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7378
7379 * international/mule-diag.el (mule-diag): Insert a newline after
7380 each fontset description.
7381
db4e950d
SM
73822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * simple.el (delete-trailing-whitespace):
7385 Document last change; simplify.
7386
eca3f3ea
PW
73872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7388
d68e189a
PW
7389 * simple.el (delete-trailing-whitespace): Also delete
7390 extra newlines at the end of the buffer.
7391
eca3f3ea
PW
7392 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7393 (picture-newline): Use forward-line so as to ignore fields.
7394
01c157cc
SM
73952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * subr.el (with-wrapper-hook): Fix edebug spec.
7398
022de23e
LMI
73992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7400
7401 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7402 (bug#4538).
7403
91683089
MA
74042011-09-23 Michael Albinus <michael.albinus@gmx.de>
7405
eca3f3ea
PW
7406 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7407 Fix nasty bug using wrong cached values.
91683089 7408
5bdd6fa4
AM
74092011-09-23 Alan Mackenzie <acm@muc.de>
7410
7411 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7412
97adfb97
CY
74132011-09-23 Chong Yidong <cyd@stupidchicken.com>
7414
7415 * window.el (pop-to-buffer): Ensure right window is selected if we
7416 chose another frame.
7417
d4ef2b50
EZ
74182011-09-22 Eli Zaretskii <eliz@gnu.org>
7419
7420 * simple.el (what-cursor-position): Use get-char-property-change
7421 and next-single-char-property-change, to be able to show display
7422 properties that come from overlays as well as text properties.
7423
72258fe5
CY
74242011-09-22 Chong Yidong <cyd@stupidchicken.com>
7425
7426 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7427
7428 * cmuscheme.el (run-scheme, switch-to-scheme):
7429 * cus-edit.el (customize-group, custom-buffer-create)
7430 (customize-browse):
7431 * info.el (info):
7432 * shell.el (shell):
7433 * mail/sendmail.el (mail):
7434 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7435
8f098516
RS
74362011-09-22 Richard Stallman <rms@gnu.org>
7437
7438 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7439 move back only to line beg, don't move back over blank lines.
7440
e74f1bb6
MA
74412011-09-22 Michael Albinus <michael.albinus@gmx.de>
7442
7443 * files.el (copy-directory): Set directory attributes only in case
7444 they could be retrieved from the source directory. (Bug#9565)
7445
bfeef8b6
DK
74462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7447
7448 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7449 (hs-find-block-beginning, hs-hide-level-recursive):
7450 Ignore strings as well as comments. (Bug#9502)
7451
7e423bb8
AS
74522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7453
7454 * progmodes/sql.el (sql-comint-postgres):
7455 Convert port number to a string. (Bug#9566)
7456
b4d72fcf
MR
74572011-09-22 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (quit-window): Undedicate window when switching to
7460 previous buffer. Reported by Thierry Volpiatto
7461 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7462 (special-display-popup-frame): When popping up a new frame reset
7463 its previous buffers to nil. Simplify code.
b4d72fcf 7464
a7b88dc6
MA
74652011-09-21 Michael Albinus <michael.albinus@gmx.de>
7466
7467 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7468 and process filter, as done also in `shell-command'.
7469
cf4eacfd
MR
74702011-09-21 Martin Rudalics <rudalics@gmx.at>
7471
eca3f3ea 7472 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7473 Call set-window-start with NOFORCE argument t.
7474 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7475 (quit-window): Reword doc-string. Handle new format of
7476 quit-restore parameter. Don't delete window if it has a
7477 previous buffer we can show instead of the present one.
7478 (display-buffer-record-window): Rewrite using a new format for
7479 the quit-restore window parameter
7480 (special-display-popup-frame, display-buffer-same-window)
7481 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7482 (display-buffer-pop-up-window, display-buffer-use-some-window):
7483 Adapt symbol passed to display-buffer-record-window.
7484 * help.el (help-window-setup): Handle new format of quit-restore
7485 parameter.
7486
8d28cb95
SM
74872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7488
94ab793f
SM
7489 * faces.el (face-list): Fix docstring (bug#9564).
7490
8d28cb95
SM
7491 * window.el (display-buffer--action-function-custom-type):
7492 Don't include internal functions in the Custom interface.
7493
3820edeb
JL
74942011-09-20 Juri Linkov <juri@jurta.org>
7495
7496 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7497 (Info-forward-node, Info-backward-node, Info-next-preorder)
7498 (Info-last-preorder): Use it. (Bug#9528)
7499
5147931d
JL
75002011-09-20 Juri Linkov <juri@jurta.org>
7501
7502 * info.el (Info-last-preorder): Visit last menu item only when
7503 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7504
cf499a1a
JD
75052011-09-20 Julien Danjou <julien@danjou.info>
7506
7507 * password-cache.el (password-cache-remove): Remove entries even if the
7508 value is nil, so that password with a nil value (negative caching) is
7509 possible to invalidate.
7510
f84e2fe2
LM
75112011-09-20 Lawrence Mitchell <wence@gmx.li>
7512
7513 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7514 all whitespace around breakpoint. (Bug#9553)
7515 (f90-find-breakpoint): Only break at whitespace inside a comment.
7516
78054a46
SM
75172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * minibuffer.el (completion-file-name-table): Keep track of errors.
7520 (completion-table-with-predicate): Handle the case where pred1 is nil.
7521 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7522
345083b2
SM
75232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7524
e24e27be
SM
7525 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7526 (debugger-return-value): Signal an error if the debugging context does
7527 not await any return value.
7528
345083b2
SM
7529 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7530 * image-mode.el (image-toggle-display-text)
7531 (image-toggle-display-image): Stay away from evil `intangible'.
7532
08d355e3
LL
75332011-09-19 Leo Liu <sdl.web@gmail.com>
7534
7535 * replace.el (occur-revert-arguments): Make it permanent-local.
7536 (occur-mode): Don't call font-lock-defontify.
7537
f01da43f
CY
75382011-09-19 Chong Yidong <cyd@stupidchicken.com>
7539
7540 * net/ldap.el (ldap-search-internal): Don't push empty search
7541 result (Bug#9508).
7542
b6072fa6
SM
75432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7546
443d6696
MA
75472011-09-19 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7550 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7551
7cc6e154
JL
75522011-09-18 Juri Linkov <juri@jurta.org>
7553
7554 * buff-menu.el (Buffer-menu-mode-map):
7555 * dired.el (dired-mode-map):
7556 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7557 (lisp-interaction-mode-map):
7558 * emacs-lisp/package.el (package-menu-mode-map):
7559 * epa.el (epa-key-list-mode-map):
7560 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7561 (menu-bar-options-menu):
7562 * outline.el (outline-mode-menu-bar-map):
7563 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7564 * vc/vc-dir.el (vc-dir-menu-map):
7565 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7566 Capitalize non-function content words in menu item strings.
7567
7568 * dired.el (dired-mode-map): Add menu item for
7569 `image-dired-dired-toggle-marked-thumbs'.
7570
80302a81
JL
75712011-09-18 Juri Linkov <juri@jurta.org>
7572
7573 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7574 to `isearch-case-fold-search' and restore its original value
7575 after the `isearch-mode' call.
7576
46c5cf66
JL
75772011-09-18 Juri Linkov <juri@jurta.org>
7578
7579 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7580 because `zgrep' returns 1 for successful matches (bug#9226).
7581
d18b513b
JL
75822011-09-18 Juri Linkov <juri@jurta.org>
7583
7584 * info.el (Info-extract-menu-node-name): Check the second match
7585 for empty string (second test-case of bug#9528).
7586 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7587 intermediate nodes to the history (first test-case of bug#9528).
7588
72753f87
JL
75892011-09-18 Juri Linkov <juri@jurta.org>
7590
7591 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7592 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7593
c9384295
JL
75942011-09-18 Juri Linkov <juri@jurta.org>
7595
1154d12e
JB
7596 * info.el (Info-file-supports-index-cookies):
7597 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7598 outputs one more line for long file names (bug#4142).
c9384295 7599
d473dce8
CY
76002011-09-18 Chong Yidong <cyd@stupidchicken.com>
7601
7602 * newcomment.el (comment-normalize-vars): If prompting for
7603 comment-start, set comment-start-skip too (Bug#8424).
7604
2176854d
JB
76052011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7606
7607 * icomplete.el: Fix previous fix of Bug#5849.
7608 (icomplete-mode): Don't set completion-show-inline-help.
7609 (icomplete-minibuffer-setup): Set completion-show-inline-help
7610 locally during icompletion.
7611
3aace4e4
CY
76122011-09-18 Chong Yidong <cyd@stupidchicken.com>
7613
c940224f
CY
7614 * woman.el (woman2-process-escapes): Don't delete unrecognized
7615 escapes (Bug#7843).
7616
3aace4e4
CY
7617 * files.el (inhibit-first-line-modes-regexps): Add image files.
7618 (hack-local-variables-prop-line): Return nil for malformed
7619 prop-lines (Bug#9044).
7620
710dec63
MA
76212011-09-18 Michael Albinus <michael.albinus@gmx.de>
7622
7623 * net/tramp.el (top): Don't require 'shell.
7624 (tramp-methods): Fix docstring.
7625 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7626 Return complete remote file name. Handle "smb" case.
7627 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7628 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7629
7630 * net/tramp-compat.el (top): Require 'shell.
7631
7632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7633 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7634 `tramp-current-host'.
7635 (tramp-get-remote-tmpdir): Remove.
7636
7637 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7638 `tramp-tmpdir' entries.
7639 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7640 (tramp-smb-handle-file-attributes): Ignore errors.
7641 (tramp-smb-wait-for-output): Check also for process end.
7642
5d5ac8ec
LMI
76432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7644
7645 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7646 when sending QUIT (bug#9312).
7647
8c0f49f0
CY
76482011-09-17 Chong Yidong <cyd@stupidchicken.com>
7649
7650 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7651 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7652 occur-mode-display-occurrence.
7653 (occur-edit-mode): Add usage message.
7654 (occur-cease-edit): New command.
7655 (occur-after-change-function): Use text properties to find the
7656 position of the prefix text.
7657 (occur-engine): Set stickiness of prefix text properties.
7658
8f1383f7
GM
76592011-09-17 Glenn Morris <rgm@gnu.org>
7660
7661 * progmodes/etags.el (complete-tag):
7662 Fix call to completion-in-region. (Bug#9526)
7663
744ba0e3
JL
76642011-09-17 Juri Linkov <juri@jurta.org>
7665
7666 * textmodes/ispell.el (ispell-word): Add to the error message
7667 the word, ispell program name and current dictionary (bug#9121).
7668 (ispell-tex-arg-end): Capitalize "error" in the error message.
7669
d9bbf400
AS
76702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7671
7672 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7673 check. (Bug#4251)
7674
8da11505
JL
76752011-09-17 Juri Linkov <juri@jurta.org>
7676
7677 * window.el (window-safe-min-height, window-safe-min-width):
7678 Fix typos (followup to bug#9522).
7679
a91adc7e
SJ
76802011-09-17 Sven Joachim <svenjoac@gmx.de>
7681
7682 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7683
064f328a
EZ
76842011-09-16 Eli Zaretskii <eliz@gnu.org>
7685
7686 * simple.el (line-move): If goal-column is set, move by logical
7687 lines, not by display lines. (Bug#971)
7688 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7689 to reflect the above change.
7690
e69df516
SM
76912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * image.el (imagemagick-register-types): Use regexp-opt.
7694
cbb0f9ab
CY
76952011-09-15 Chong Yidong <cyd@stupidchicken.com>
7696
7697 * window.el (display-buffer-base-action): Rename from
7698 display-buffer-default-action. Make default value empty.
7699 (display-buffer-overriding-action): Convert to defvar.
7700 (display-buffer-fallback-action): New var.
7701
25322144
CY
77022011-09-15 Chong Yidong <cyd@stupidchicken.com>
7703
7704 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7705 declaration.
7706 (package--add-to-archive-contents): If there is a duplicate entry
7707 with an older version, remove it.
7708 (package-menu-mark-delete, package-menu-mark-install)
7709 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7710 (package-menu-mark-obsolete-for-deletion):
7711 Use package-menu-get-status instead of a regexp search.
25322144
CY
7712 (package-menu-get-status): Use tabulated-list-entry.
7713 (package-menu-mark-upgrades): New command.
d770725a 7714 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7715 (package-menu-execute): Do installation before deletion.
7716 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7717 instead of checking major-mode.
7718 (package-menu--find-upgrades): New function.
7719
7520339c
LMI
77202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721
7722 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7723 passwords in the log buffer.
65a046c4
LMI
7724 (smtpmail-process-filter): Update the process marker so that the
7725 "broken by peer" status message is inserted in the right place.
7520339c 7726
d3c30954
SM
77272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7728
3fe48822
SM
7729 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7730 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7731 bibtex-completion-at-point-function.
7732 (bibtex-completion-at-point-function): Use them.
7733
1b8b3954
SM
7734 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7735
d3c30954
SM
7736 * mpc.el (mpc-constraints-tag-lookup): New function.
7737 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7738 also to browser "album|playlist".
7739
72779976
JL
77402011-09-14 Juri Linkov <juri@jurta.org>
7741
7742 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7743 (isearch-edit-string): Use length of `isearch-string' when
7744 `isearch-fail-pos' returns nil.
7745 (isearch-message): Remove duplicate code and call
7746 `isearch-fail-pos' with arg `t'.
7747
a0bf2bcd
CY
77482011-09-14 Chong Yidong <cyd@stupidchicken.com>
7749
17bb0a2d
CY
7750 * replace.el (occur-mode-goto-occurrence): Don't force using other
7751 window (Bug#9499).
7752
a0bf2bcd
CY
7753 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7754
f678e0b6
MR
77552011-09-14 Martin Rudalics <rudalics@gmx.at>
7756
7757 * window.el (display-buffer-window): Remove.
7758 (display-buffer-record-window): Use help-setup window parameter
7759 instead of variable display-buffer-window.
7760 (display-buffer-function, special-display-buffer-names)
7761 (special-display-function): Mention help-setup parameter instead
7762 of display-buffer-window in doc-string.
d3c30954
SM
7763 * help.el (help-window-setup): New argument help-window.
7764 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7765 Reword some messages.
7766 (with-help-window): Pass window used for displaying the buffer
7767 to help-window-setup. Don't set display-buffer-window.
7768
8e39b2e8
GM
77692011-09-13 Glenn Morris <rgm@gnu.org>
7770
7771 * emacs-lisp/debug.el (debugger-make-xrefs):
7772 Preserve point. (Bug#9462)
7773
85e9c04b
CY
77742011-09-13 Chong Yidong <cyd@stupidchicken.com>
7775
7776 * window.el (window-deletable-p): Use next-frame.
7777
1b36ed6a
MR
77782011-09-13 Martin Rudalics <rudalics@gmx.at>
7779
7780 * window.el (window-auto-delete): Remove.
7781 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7782 dedication and previous buffers.
1b36ed6a
MR
7783 (switch-to-prev-buffer): Don't delete window.
7784 (delete-windows-on): Delete a window's frame if and only if the
7785 window is dedicated.
7786 (replace-buffer-in-windows): Delete buffer's window or frame if
7787 and only if window is dedicated.
7788 (quit-window): Handle quit-restore as before last change.
4d61f28d 7789 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7790
ef8ef9fb
CY
77912011-09-13 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * window.el (window-deletable-p): Never delete the last frame on a
7794 given terminal.
7795
b2cba41e
GM
77962011-09-13 Glenn Morris <rgm@gnu.org>
7797
7798 * help.el (describe-key-briefly): Copy previous standard-output change.
7799
51553db6 78002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7801
7802 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7803
b7556719
GM
78042011-09-13 Glenn Morris <rgm@gnu.org>
7805
7806 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7807 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7808
64b51947
CY
78092011-09-12 Chong Yidong <cyd@stupidchicken.com>
7810
7811 * dired-aux.el (dired-mark-read-string): Don't return default
7812 value on empty input (Bug#9361).
7813 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7814 Omit initial minibuffer contents.
7815 (dired-do-chmod): Signal an error on empty input.
7816 (dired-mark-read-string): Don't return default on empty input.
7817
7818 * files.el (file-modes-symbolic-to-number): Doc fix.
7819
393a301e
SM
78202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * international/mule-cmds.el (ucs-completions): Remove.
7823 (read-char-by-name): Use complete-with-action instead; add metadata.
7824
fa5660f9
CY
78252011-09-11 Chong Yidong <cyd@stupidchicken.com>
7826
7827 * window.el (display-buffer--action-function-custom-type)
7828 (display-buffer--action-custom-type): New vars.
7829 (display-buffer-alist, display-buffer-default-action)
7830 (display-buffer-overriding-action): Add defcustom types.
7831
4a592f66
CY
7832 * frame.el (delete-other-frames): Doc fix (Bug#276).
7833
73d56dbd
LMI
78342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7835
7836 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7837
37ac18a3
CY
78382011-09-11 Chong Yidong <cyd@stupidchicken.com>
7839
7840 Change modes that used same-window-* vars to use switch-to-buffer.
7841
7842 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7843 Use switch-to-buffer.
7844
7845 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7846 (customize-browse, custom-buffer-create-other-window):
7847 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7848
7849 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7850 (Info-prev, Info-up, Info-speedbar-goto-node)
7851 (info-display-manual): Use switch-to-buffer.
7852 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7853
7854 * mail/sendmail.el (mail): Use switch-to-buffer.
7855 (mail-recover): Use switch-to-buffer-other-window.
7856
7857 * cmuscheme.el (run-scheme, switch-to-scheme):
7858 * ielm.el (ielm):
7859 * shell.el (shell):
7860 * net/rlogin.el (rlogin):
7861 * net/telnet.el (telnet, rsh):
7862 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7863
10195bd6
AS
78642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7865
7866 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7867
b322f63a
LMI
78682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7869
39d7fed6
LMI
7870 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7871 so don't mention it (bug#9301).
ba5a81f1 7872 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7873
ee0e9f11
LMI
7874 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7875 match `x', `w32' and `ns', like the manual says (bug#9029).
7876
0b1c89c1 7877 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7878 (process-kill-buffer-query-function): Mention the buffer name in
7879 the query.
0b1c89c1 7880
77549ea8
LMI
7881 * image-mode.el (image-next-line): The line parameter is mandatory
7882 (bug#9258).
7883
803ef892
LMI
7884 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7885 which can be useful (bug#9301).
7886
12980837
LMI
7887 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7888
91054f8f
LMI
7889 * subr.el (match-string): Mention that the current buffer should
7890 be the same as the search was done in (bug#9282).
7891
b322f63a
LMI
7892 * facemenu.el: Disable the remove-* commands if the mark isn't
7893 active (bug#9162).
7894
3199b96f
CY
78952011-09-10 Chong Yidong <cyd@stupidchicken.com>
7896
7897 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7898 of display-buffer.
7899 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7900
7901 * replace.el (occur-mode-goto-occurrence)
7902 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7903 and display-buffer.
7904
7905 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7906 display-buffer.
7907
7908 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7909 special-display and same-window variables.
7910 (mail-other-window): Use switch-to-buffer-other-window.
7911 (mail-other-frame): USe switch-to-buffer-other-frame.
7912
393a301e
SM
7913 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7914 Use display-buffer-other-frame.
3199b96f
CY
7915 (gdb-display-gdb-buffer): Use pop-to-buffer.
7916
7917 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7918
7919 * progmodes/python.el: Don't set same-window-buffer-names.
7920
7921 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7922
7923 * window.el (display-buffer-alist): Add *Python*.
7924
8319e0bf
CY
79252011-09-10 Chong Yidong <cyd@stupidchicken.com>
7926
7927 * window.el (display-buffer-alist): Add entry for buffers
7928 previously handled same-window-*.
7929 (display-buffer-alist, display-buffer-default-action)
7930 (display-buffer-overriding-action): Mark as risky.
7931 (display-buffer-alist): Document action function changes.
7932 (display-buffer--same-window-action)
7933 (display-buffer--other-frame-action): New variables.
7934 (switch-to-buffer, display-buffer-other-frame): Use them.
7935 (display-buffer): Rename reuse-frame entry to reusable-frames.
7936 (display-buffer-reuse-selected-window): Function deleted.
7937 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7938 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7939 (display-buffer-special): New function.
7940 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7941 display-buffer-reuse-or-pop-window. Split off special-display
7942 part into display-buffer-special.
7943 (display-buffer-use-some-window): Don't perform any special
7944 pop-up-frames handling.
7945 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7946 (display-buffer--maybe-same-window): Rename from
0d3ff375 7947 display-buffer-maybe-same-window.
8319e0bf 7948
919a69aa
CY
7949 * info.el: Don't set same-window-regexps.
7950 (info-setup): New function.
7951 (info-other-window, info): Call it.
7952
7953 * cus-edit.el: Don't set same-window-regexps.
7954 (customize-group): New argument.
7955 (customize-group-other-window): Use it.
7956 (customize-face, customize-face-other-window): Likewise.
7957 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7958
8319e0bf
CY
7959 * net/rlogin.el:
7960 * net/telnet.el:
7961 * progmodes/gud.el: Don't set same-window-regexps.
7962
7963 * cmuscheme.el:
7964 * ielm.el:
7965 * shell.el:
7966 * mail/sendmail.el:
7967 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7968
25173000
JL
79692011-09-10 Juri Linkov <juri@jurta.org>
7970
7971 * isearch.el (isearch-edit-string): Remove obsolete mention of
7972 `C-w' (`isearch-yank-word-or-char') from docstring.
7973 (isearch-query-replace): Fix typo in docstring (bug#9466).
7974
056e44ef
JL
79752011-09-10 Juri Linkov <juri@jurta.org>
7976
7977 * paren.el (show-paren-function): Don't show escaped parens.
7978 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7979
c3760c17
EZ
79802011-09-10 Eli Zaretskii <eliz@gnu.org>
7981
7982 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7983 (mm-default-file-encoding): Remove autoload forms, they are
7984 replaced with autoload cookies in mml.el and mm-encode.el.
7985 (mail-add-attachment): New command.
7986 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7987 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7988 the doc string.
7989 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7990
fece895e
RT
79912011-09-10 Reuben Thomas <rrt@sc3d.org>
7992
e69df516
SM
7993 * simple.el (count-words-region): Use buffer if there's no region
7994 (bug#9429).
fece895e 7995
5e68ce4a
JL
79962011-09-09 Juri Linkov <juri@jurta.org>
7997
7998 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7999 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8000 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8001
0a6b9622
AM
80022011-09-09 Alan Mackenzie <acm@muc.de>
8003
8004 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8005 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8006
14a29deb
EZ
80072011-09-09 Eli Zaretskii <eliz@gnu.org>
8008
8009 Fix for Savannah bug#9392.
8010 * simple.el (mail-encode-mml): New defvar.
8011
8012 * mail/rmail.el (mail-encode-mml): Add a defvar.
8013 (rmail-enable-mime-composing): Default to t.
8014 (rmail-forward): Use MIME method of forwarding only if both
8015 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8016 Set mail-encode-mml non-nil if the MIME method was used.
8017
8018 * mail/sendmail.el (mml-to-mime): Add autoload form.
8019 (mail-encode-mml): Add a defvar.
8020 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8021 to nil.
8022 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8023 message through mml-to-mime, and reset mail-encode-mml to nil.
8024
28c45130
GM
80252011-09-09 Glenn Morris <rgm@gnu.org>
8026
8027 * woman.el (woman-if-body): When processing an .el block,
8028 do not delete the next .el block as well. (Bug#9447)
69f4b618 8029 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8030
9b1c252e
MR
80312011-09-08 Martin Rudalics <rudalics@gmx.at>
8032
8033 * window.el (window-deletable-p): Make sure window is live before
8034 invoking window-prev-buffers.
8035
567457e3
LL
80362011-09-08 Leo Liu <sdl.web@gmail.com>
8037
8038 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8039
97f05794
JL
80402011-09-08 Juri Linkov <juri@jurta.org>
8041
8042 * progmodes/compile.el (compilation-environment): Make it
8043 a defcustom (bug#8340).
8044
8b0874b5
MR
80452011-09-08 Martin Rudalics <rudalics@gmx.at>
8046
8047 * window.el (frame-auto-delete): Rename to window-auto-delete.
8048 Make it control auto-deletion of windows and/or frames.
8049 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8050 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8051 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8052 Rewrite handling of case when window/frame can be deleted.
8053 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8054 argument t. (Bug#9456)
8b0874b5 8055
4feb6e73
CY
80562011-09-07 Chong Yidong <cyd@stupidchicken.com>
8057
8058 * help-mode.el (help-mode): Restore autoload.
8059
91ab9c13
JL
80602011-09-07 Juri Linkov <juri@jurta.org>
8061
8062 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8063 `compilation-environment'. Set buffer-local
8064 `compilation-environment' to `thisenv' later after (funcall mode).
8065 (Bug#8340)
8066
8067 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8068 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8069 instead of replacing its value. (Bug#8340)
8070
0527e251
JL
80712011-09-07 Juri Linkov <juri@jurta.org>
8072
8073 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8074 based on text properties put by `grep-filter' instead of matching
8075 escape sequences.
8076 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8077 to the value of `grep-error-screen-columns' (bug#9438).
8078
249f792c
JL
80792011-09-07 Juri Linkov <juri@jurta.org>
8080
8081 * simple.el (next-error-highlight, next-error-highlight-no-select):
8082 Doc fix (bug#9432).
8083
ff7271b9
OT
80842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8085
8086 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8087 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8088
183fc730
LL
80892011-09-07 Leo Liu <sdl.web@gmail.com>
8090
8091 * net/rcirc.el (rcirc-mode): Conditionally initialize
8092 rcirc-input-ring.
8093
77694924
SM
80942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * emacs-lisp/find-func.el (find-function-C-source): Only set
8097 find-function-C-source-directory after checking that we found a source
8098 file there (bug#9440).
8099
d809b8eb
AM
81002011-09-06 Alan Mackenzie <acm@muc.de>
8101
8102 * isearch.el (isearch-other-meta-char): Wherever a key list is
8103 unread, "unread" the prefix arg, too. This fixes bug #8901.
8104
453de99f
OG
81052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8106
8107 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8108
90439906
JL
81092011-09-05 Juri Linkov <juri@jurta.org>
8110
8111 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8112
f62bd846
JL
81132011-09-05 Juri Linkov <juri@jurta.org>
8114
8115 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8116 keeping point where processing of grep matches begins, and
8117 continue to delete remaining escape sequences from the same point.
8118 (grep-filter): Make leading zero optional in "0?1;31m" because
8119 git-grep emits "\033[1;31m" escape sequences unlike expected
8120 "\033[01;31m" as GNU Grep does (bug#9408).
8121 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8122
045820ec
JL
81232011-09-05 Juri Linkov <juri@jurta.org>
8124
8125 * subr.el (y-or-n-p): Capitalize "yes".
8126
f5e29b9b
MA
81272011-09-04 Michael Albinus <michael.albinus@gmx.de>
8128
8129 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8130 `tramp-cache-unload-hook' where appropriate.
8131 (tramp-methods): Rename `tramp-remote-sh' to
8132 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8133 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8134
8135 * net/tramp-sh.el (top): Don't require 'shell.
8136 (tramp-methods): Add `tramp-remote-shell' and
8137 `tramp-remote-shell-args' entries.
8138 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8139 (tramp-sh-handle-shell-command): Remove.
8140 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8141 Use `tramp-remote-shell'.
8142
2784c434
CY
81432011-09-03 Chong Yidong <cyd@stupidchicken.com>
8144
393a301e 8145 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8146 (sendmail-query-once): Save directly to send-mail-function.
8147 Update message-send-mail-function too.
8148
8149 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8150
464cdf56
CS
81512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8152
8153 * progmodes/python.el (python-mode-map): Use correct function to
8154 start python interpreter from menu-bar (as reported by Geert
8155 Kloosterman).
8156 (inferior-python-mode-map): Fix typo.
393a301e 8157 (python-shell-map): Remove.
464cdf56 8158
d37e5c87
DD
81592011-09-03 Deniz Dogan <deniz@dogan.se>
8160
8161 * net/rcirc.el (rcirc-print): Simplify code for
8162 rcirc-scroll-show-maximum-output. There is no need to walk
8163 through all windows to find the right one.
8164
f3ada0ee
CS
81652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8166
8167 * help.el (help-return-method): Doc fix.
8168
1f3c99ca
MR
81692011-09-03 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window-deletable-p): Don't return a non-nil value
8172 when there's a buffer that was shown in the window before.
8173 (Bug#9419)
393a301e
SM
8174 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8175 Set window's previous buffers to nil.
1f3c99ca 8176
a3cf097f
EZ
81772011-09-03 Eli Zaretskii <eliz@gnu.org>
8178
8179 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8180 newline before and after the tag line, so it doesn't interfere
8181 with determining the paragraph direction of bidirectional text.
8182
3d03de90
LL
81832011-09-03 Leo Liu <sdl.web@gmail.com>
8184
8185 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8186
c3313451
CY
81872011-09-02 Chong Yidong <cyd@stupidchicken.com>
8188
393a301e 8189 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8190 (pop-to-buffer): Change interactive spec. Pass second argument
8191 directly to display-buffer.
8192 (display-buffer): Fix interactive spec. Use functionp to
8193 distinguish between a function and a list of functions.
8194
8195 * abbrev.el (edit-abbrevs):
8196 * arc-mode.el (archive-extract):
8197 * autoinsert.el (auto-insert):
8198 * bookmark.el (bookmark-bmenu-list):
8199 * files.el (find-file):
8200 * view.el (view-buffer):
8201 * progmodes/compile.el (compilation-goto-locus):
8202 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8203
89894cd8
CY
82042011-09-02 Chong Yidong <cyd@stupidchicken.com>
8205
8206 * window.el (display-buffer-alist): Doc fix.
8207 (display-buffer): Add docstring. Don't treat
8208 display-buffer-default specially.
8209 (display-buffer-reuse-selected-window)
8210 (display-buffer-same-window, display-buffer-maybe-same-window)
8211 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8212 (display-buffer-pop-up-window)
8213 (display-buffer-reuse-or-pop-window)
8214 (display-buffer-use-some-window): New functions.
8215 (display-buffer-default-action): Use them.
393a301e 8216 (display-buffer-default): Delete.
89894cd8
CY
8217 (pop-to-buffer-1): Fix choice of actions.
8218
ae0bc9fb
SM
82192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * minibuffer.el (completion--insert-strings): Don't get confused by
8222 completion entries that end with an LF char.
8223
e9d90883
EZ
82242011-09-01 Eli Zaretskii <eliz@gnu.org>
8225
8226 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8227
437014c8
CY
82282011-09-01 Chong Yidong <cyd@stupidchicken.com>
8229
8230 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8231 (display-buffer-same-window, display-buffer-other-window):
8232 New functions.
437014c8
CY
8233 (pop-to-buffer-1): New function. Use the above.
8234 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8235 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8236
8237 * view.el (view-buffer-other-window, view-buffer-other-frame):
8238 Just use pop-to-buffer.
8239
a5e063d5
TV
82402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8241
8242 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8243
793d32bb
WH
82442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8245
8246 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8247
d65e4c15
RS
82482011-08-31 Richard Stallman <rms@gnu.org>
8249
8250 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8251 of the separation of rmail-view-buffer from rmail-buffer.
8252 If you say no to "replace original", the decrypt is in the
8253 view buffer. If you say yes, the decrypt goes into the
8254 rmail buffer also.
8255
f818cd2a
MR
82562011-08-31 Martin Rudalics <rudalics@gmx.at>
8257
8258 * window.el (display-buffer-window): Rewrite doc-string.
8259 (display-buffer-record-window): New function.
8260 (display-buffer-macro-specifiers)
8261 (display-buffer-even-window-sizes, display-buffer-set-height)
8262 (display-buffer-set-width, display-buffer-in-window)
8263 (display-buffer-reuse-window, display-buffer-split-specifiers)
8264 (display-buffer-side-specifiers, display-buffer-split-window-1)
8265 (display-buffer-split-window, display-buffer-split-atom-window)
8266 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8267 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8268 (display-buffer-other-window-means-other-frame)
8269 (display-buffer-normalize-special)
8270 (display-buffer-normalize-default)
8271 (display-buffer-normalize-argument)
8272 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8273 (display-buffer-normalize-specifiers, display-buffer-frame)
8274 (display-buffer-same-window, display-buffer-same-frame)
8275 (display-buffer-other-window)
8276 (display-buffer-same-frame-other-window)
8277 (display-buffer-other-frame, pop-to-buffer-same-window)
8278 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8279 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8280 (switch-to-buffer-same-frame)
8281 (switch-to-buffer-other-window-same-frame)
8282 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8283 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8284 (display-buffer-alist-set): Remove.
8285 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8286 (special-display-regexps, special-display-function):
8287 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8288 parameter.
8289 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8290 (special-display-frame-alist, special-display-popup-frame)
8291 (same-window-buffer-names, same-window-regexps, same-window-p)
8292 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8293 (split-window-preferred-function, split-height-threshold)
8294 (split-width-threshold, window-splittable-p)
8295 (split-window-sensibly, window--try-to-split-window)
8296 (window--frame-usable-p, even-window-heights)
8297 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8298 (window--display-buffer-2, display-buffer-other-frame):
8299 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8300 (display-buffer-default, display-buffer-assq-regexp): New functions.
8301 (display-buffer-alist): Rewrite doc-string.
8302 (display-buffer-default-action)
8303 (display-buffer-overriding-action): New variables.
8304 (display-buffer, switch-to-buffer): Rewrite.
8305 (pop-to-buffer): Restore Emacs 23 behavior but use
8306 window-normalize-buffer-to-display.
8307 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8308 Restore Emacs 23 behavior but use
8309 window-normalize-buffer-to-switch-to.
8310 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8311 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8312 Rewrite using Emacs 23 options.
f818cd2a 8313
5bc3b51d
MA
83142011-08-31 Michael Albinus <michael.albinus@gmx.de>
8315
8316 * net/tramp.el (tramp-root-regexp): Remove.
8317 (tramp-completion-file-name-regexp-unified)
8318 (tramp-completion-file-name-regexp-separate)
8319 (tramp-completion-file-name-regexp-url): Don't use leading volume
8320 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8321 (tramp-drop-volume-letter): Simplify definition.
8322 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8323
b1a4f8e1
SM
83242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8327 (bug#9356).
8328
5664fa7b
RT
83292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8330
b1a4f8e1 8331 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8332
9a45d6c3
JL
83332011-08-29 Juri Linkov <juri@jurta.org>
8334
8335 * isearch.el (isearch-done): Don't display message "Mark saved"
8336 when arg `edit' is non-nil to prevent its flicker in the echo area.
8337
fb87e0fb
CY
83382011-08-28 Chong Yidong <cyd@stupidchicken.com>
8339
8340 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8341 obsolete packages for deletion.
8342
09ac1c2a
CS
83432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8344
8345 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8346 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8347 view-mode from help-mode.
8348 (help-xref-override-view-map): Remove.
8349 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8350 view-mode is not used anymore.
8351
7a1ff57f
CY
83522011-08-28 Chong Yidong <cyd@stupidchicken.com>
8353
8354 * server.el (server-port): Doc fix.
8355
b9696605
CY
8356 * cus-theme.el (custom-theme-choose-mode): Inherit from
8357 special-mode (Bug#9124).
8358 (custom-theme-choose-mode-map): Add special-mode to parent.
8359
ef8cdf8c
AM
83602011-08-28 Alan Mackenzie <acm@muc.de>
8361
8362 * progmodes/cc-fonts.el
8363 (c-make-font-lock-BO-decl-search-function): New function.
8364 (c-basic-matchers-after - "Fontify the clauses after various
8365 keywords"): Extract the three keyword lists for the 3 erroneous
8366 constructs from the list of four, and use the new function above
8367 in place of an old one.
8368
27de4e20
DD
83692011-08-28 Deniz Dogan <deniz@dogan.se>
8370
8371 * net/rcirc.el (rcirc-insert-prev-input)
8372 (rcirc-insert-next-input): Remove unused argument.
8373
356a3681
SM
83742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8377
3fc9b218
AM
83782011-08-27 Alan Mackenzie <acm@muc.de>
8379
8380 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8381 handle function pointer parameters properly.
8382
538a061c
MR
83832011-08-27 Martin Rudalics <rudalics@gmx.at>
8384
8385 * window.el (display-buffer-reuse-window): Fix case where
8386 selected window was reused with non-nil OTHER-WINDOW argument.
8387 (Bug#9381)
8388
35b1c40c
DD
83892011-08-27 Deniz Dogan <deniz@dogan.se>
8390
8391 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8392 oftc's NickServ messages.
8393
2f6a3e79
GM
83942011-08-27 Glenn Morris <rgm@gnu.org>
8395
8396 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8397
7254299e
CY
83982011-08-26 Chong Yidong <cyd@stupidchicken.com>
8399
8400 * emacs-lisp/package.el (package-install): Call package-initialize
8401 if called interactively.
8402
f8ccf167
LL
84032011-08-26 Leo Liu <sdl.web@gmail.com>
8404
8405 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8406
3e8cd5ce
JL
84072011-08-25 Juri Linkov <juri@jurta.org>
8408
8409 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8410 `search-whitespace-regexp' (bug#9364).
8411
93eb7113
JL
84122011-08-25 Juri Linkov <juri@jurta.org>
8413
8414 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8415 `regexp-search-ring' to their global values to protect from
8416 updating by `read-from-minibuffer' (bug#9185).
8417
f65d1611
JL
84182011-08-25 Juri Linkov <juri@jurta.org>
8419
8420 * textmodes/ispell.el (ispell-command-loop): Add newline
8421 at the end of the "Use option `i'..." line.
8422
f1cf7a31
JL
84232011-08-25 Juri Linkov <juri@jurta.org>
8424
8425 * battery.el (display-battery-mode): If `battery-status-function'
8426 or `battery-mode-line-format' is nil, display the message and set
8427 `display-battery-mode' to nil (bug#9363).
8428
0c95fcf7
EZ
84292011-08-25 Eli Zaretskii <eliz@gnu.org>
8430
8431 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8432 bidi-string-mark-left-to-right; they are unnecessary now.
8433
a2ebe600
DD
84342011-08-25 Deniz Dogan <deniz@dogan.se>
8435
8436 * net/quickurl.el: Documentation typo fixes.
8437
e4ed06f1
CY
84382011-08-25 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8441
e5f1c99e
GM
84422011-08-25 Glenn Morris <rgm@gnu.org>
8443
b2948976
GM
8444 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8445
e5f1c99e
GM
8446 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8447 (smtpmail-via-smtp): Handle nil response from smtp.
8448
f22f4808
JL
84492011-08-24 Juri Linkov <juri@jurta.org>
8450
8451 * proced.el (proced-marked): Inherit from `error' instead of
8452 `font-lock-warning-face'.
8453
8454 * ibuffer.el (ibuffer-marked-face): Change default face from
8455 `font-lock-warning-face' to `warning'.
8456 (ibuffer-deletion-face): Change default face from
8457 `font-lock-type-face' to `error'.
8458
8459 * battery.el (battery-update): Use the face `error' instead of
8460 `font-lock-warning-face' (bug#6117).
8461
6a93965e
JL
84622011-08-24 Juri Linkov <juri@jurta.org>
8463
8464 * faces.el (success): Change face color from "Green3" to
8465 "ForestGreen" on light background (bug#9353).
8466
1ed43b09
CY
84672011-08-24 Chong Yidong <cyd@stupidchicken.com>
8468
5664fa7b
RT
8469 * window.el (quit-window): Rename from quit-restore-window.
8470 Use same arglist as old quit-window.
1ed43b09
CY
8471 (frame-auto-delete): Doc fix.
8472
8473 * view.el (view-mode-exit): Use quit-window.
8474
11dcdbb2
JL
84752011-08-24 Juri Linkov <juri@jurta.org>
8476
8477 * isearch.el (isearch-ring-adjust1): Start visiting previous
8478 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8479 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8480 for empty search string (when the last search string is reused
8481 automatically) to adjust the isearch ring to the last element and
8482 prepare the correct index for further M-p commands (bug#9185).
8483
de62b4df
KH
84842011-08-24 Kenichi Handa <handa@m17n.org>
8485
8486 * international/ucs-normalize.el: If decomposition property of
8487 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8488 nil.
8489 (nfd, nfkd): Likewise.
8490
963b492b
SM
84912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8494 from process filters aren't reliably transmitted to the surrounding
8495 accept-process-output.
8496 (mpc-proc-check): New function.
8497 (mpc-proc-sync): Use it (bug#8293)
8498
93b6b5e1
SM
84992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8502 Add compatibility functions (bug#9313).
8503
bca633fb
EZ
85042011-08-23 Eli Zaretskii <eliz@gnu.org>
8505
b177498a
EZ
8506 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8507
6df6ae42 8508 * international/uni-bidi.el: Regenerate.
bca633fb 8509
0902a04e
KH
85102011-08-23 Kenichi Handa <handa@m17n.org>
8511
8512 * international/charprop.el:
8513 * international/uni-bidi.el:
8514 * international/uni-category.el:
8515 * international/uni-combining.el:
8516 * international/uni-comment.el:
8517 * international/uni-decimal.el:
8518 * international/uni-decomposition.el:
8519 * international/uni-digit.el:
8520 * international/uni-lowercase.el:
8521 * international/uni-mirrored.el:
8522 * international/uni-name.el:
8523 * international/uni-numeric.el:
8524 * international/uni-old-name.el:
8525 * international/uni-titlecase.el:
8526 * international/uni-uppercase.el: Regenerate.
8527
3bbf23bc
MR
85282011-08-23 Martin Rudalics <rudalics@gmx.at>
8529
8530 * help.el (help-window-setup): Fix message displayed when other
8531 window is reused. (Bug#9341)
8532
b3fd59bd
SM
85332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8534
1802e444
SM
8535 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8536 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8537
b3fd59bd
SM
8538 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8539 Mark obsolete.
8540 * shell.el (shell-parse-pcomplete-arguments): New function.
8541 (shell-completion-vars): Use it instead (bug#9160).
8542
4eb61348
SM
85432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8544
867cab74
SM
8545 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8546 strings and comments (bug#9333).
8547
4eb61348
SM
8548 * emacs-lisp/debug.el (debug-arglist): New function.
8549 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8550 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8551
262a1439
JL
85522011-08-22 Juri Linkov <juri@jurta.org>
8553
56ee679c
JL
8554 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8555 Revert regexp that highlights output switches to its old
8556 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8557
262a1439
JL
8558 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8559 to check for empty output (bug#9226).
8560
f13f86fb
CY
85612011-08-22 Chong Yidong <cyd@stupidchicken.com>
8562
8563 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8564 symbol-constituent as the default, as that stops font-lock from
8565 working properly (Bug#8843).
8566
c65c9622
LMI
85672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8568
8569 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8570 `coding-system-for-*' around the process open call to avoid
8571 auth-source side effects.
e7f2c178 8572 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8573 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8574 probe hangs.
c65c9622 8575
23a8a5ab
CY
85762011-08-21 Chong Yidong <cyd@stupidchicken.com>
8577
ff98b2dd
CY
8578 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8579
23a8a5ab
CY
8580 * emacs-lisp/find-func.el (find-function-noselect): New arg
8581 lisp-only.
8582
8583 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8584 signal an error for built-in functions (Bug#6664).
8585
f5e3c598
LMI
85862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8587
8588 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8589 (smtpmail-try-auth-methods): Use it.
8590
a3f2468a
CY
85912011-08-21 Chong Yidong <cyd@stupidchicken.com>
8592
2c34e8da
CY
8593 * font-lock.el (font-lock-fontify-region)
8594 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8595 (font-lock-default-unfontify-buffer)
8596 (font-lock-default-fontify-region)
8597 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8598
b3fd59bd
SM
8599 * progmodes/compile.el (compilation-error-properties):
8600 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8601 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8602 `ant' regexp.
ee31aabc 8603
a3f2468a
CY
8604 * net/browse-url.el (browse-url-firefox): Don't call
8605 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8606
8e999f70
GM
86072011-08-20 Glenn Morris <rgm@gnu.org>
8608
c21a496a
GM
8609 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8610
59ee0542
GM
8611 * tutorial.el (tutorial--default-keys): Update some default bindings.
8612
8e999f70
GM
8613 * files.el (hack-local-variables): Fully ignore case for "mode:".
8614
e3715033
AM
86152011-08-20 Alan Mackenzie <acm@muc.de>
8616
8617 Resolve invalid use of a regexp in regexp-opt.
8618
4d61f28d
JB
8619 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8620 detection for a java annotation.
e3715033 8621
4d61f28d 8622 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8623 detection for a java annotation.
8624
4d61f28d
JB
8625 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8626 handling for java.
e3715033
AM
8627 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8628
04ed2e9c
CY
86292011-08-20 Chong Yidong <cyd@stupidchicken.com>
8630
8631 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8632 (Bug#9274).
8633
826cee64
AM
86342011-08-20 Alan Mackenzie <acm@muc.de>
8635
58179cce 8636 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8637 such a construct. Mainly for when jit-lock etc. starts a chunk
8638 here.
8639
58179cce 8640 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8641 variable.
58179cce 8642 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8643 c-make-font-lock-search-function.
8644 (c-make-font-lock-search-function): Use the above function.
8645 (c-make-font-lock-context-search-function): New function.
8646 (c-cpp-matchers): Enhance the preprocessor expression case with
8647 the above function
8648 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8649 which takes an expression.
8650
8651 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8652
13009bd8
MR
86532011-08-20 Martin Rudalics <rudalics@gmx.at>
8654
8655 * window.el (display-buffer-reuse-window)
8656 (display-buffer-pop-up-window): Don't reuse or split a side
8657 window.
8658
9234ff7f
GM
86592011-08-19 Glenn Morris <rgm@gnu.org>
8660
8661 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8662 Downcase "Mode:". (Bug#9331)
9234ff7f 8663
f635daa1
CY
86642011-08-18 Chong Yidong <cyd@stupidchicken.com>
8665
8666 * international/characters.el: Add L and R categories.
8667
8668 * subr.el (bidi-string-mark-left-to-right): Rename from
8669 string-mark-left-to-right. Use category search.
8670
8671 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8672
bc987f8b
JL
86732011-08-18 Juri Linkov <juri@jurta.org>
8674
8675 * faces.el (error, warning, success): New faces with definitions
8676 copied from old default values of `font-lock-warning-face',
8677 `compilation-warning', `compilation-info' (bug#6117).
8678
8679 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8680
8681 * progmodes/compile.el (compilation-error): Inherit from `error'.
8682 (compilation-warning): Inherit from `warning'.
8683 (compilation-info): Inherit from `success'.
8684
8685 * dired.el (dired-marked): Inherit from `warning'.
8686 (dired-flagged): Inherit from `error'.
8687
57173b96
LMI
86882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
3e79eb87
LMI
8690 * mail/smtpmail.el (auth-source): Require to avoid problems with
8691 binding variables (bug#9298). Also clean up some unused
8692 autoloads.
8693
b3fd59bd
SM
8694 * net/network-stream.el (network-stream-open-starttls):
8695 Support using starttls.el without using gnutls-cli.
57173b96 8696
02b404de
JL
86972011-08-17 Juri Linkov <juri@jurta.org>
8698
8699 * progmodes/grep.el (rgrep): Handle the case when
8700 `grep-find-command' is a cons cell (bug#9278).
8701
8c9177f2
MR
87022011-08-17 Martin Rudalics <rudalics@gmx.at>
8703
8704 * window.el (display-buffer-pop-up-frame): Run frame creation
8705 function with BUFFER current (as special-display-popup-frame
8706 does). Reported by Drew Adams.
8707
3644a0ab
DU
87082011-08-17 Daiki Ueno <ueno@unixuser.org>
8709
8710 * epa-mail.el: Simplify GnuPG group expansion using
8711 epg-expand-group.
8712 (epa-mail-group-alist, epa-mail-group-modtime)
8713 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8714 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8715 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8716 Remove.
8717
5e617bc2 87182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8719
8720 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8721
9c4aeabf
AM
87222011-08-16 Alan Mackenzie <acm@muc.de>
8723
8724 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8725 Correct, to avoid the inside of macros.
8726
3a99bf64
RS
87272011-08-16 Richard Stallman <rms@gnu.org>
8728
04963aa8
RS
8729 * epa-mail.el: Handle GnuPG group definitions.
8730 (epa-mail-group-alist, epa-mail-group-modtime)
8731 (epa-mail-gnupg-conf-file): New variables.
8732 (epa-mail-parse-groups, epa-mail-sync-groups)
8733 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8734 (epa-mail-expand-recipients): New functions.
8735 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8736
177549d0
RS
8737 * mail/rmail.el (rmail-epa-decrypt): New command.
8738
fe38beef
RS
8739 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8740 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8741 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8742 (epa-decrypt-armor-in-region): Make error message clearer.
8743
934eacb9
SM
87442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8747 and "a2b" to "ab" for `prefix'.
8748
d024fb4e
CY
87492011-08-14 Chong Yidong <cyd@stupidchicken.com>
8750
8751 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8752 filter groups.
de148fee
CY
8753 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8754 Fourquet (Bug#8804).
d024fb4e 8755
62f1ca49
JB
87562011-08-12 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * startup.el (argi): Declare as global variable (bug#9275).
8759
9ccaaa4b
CY
87602011-08-12 Chong Yidong <cyd@stupidchicken.com>
8761
8762 * subr.el (string-mark-left-to-right): Search the entire string
8763 for RTL script, not just the terminating character. Doc fix.
8764
a3dae87a
SM
87652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8766
6cd18349
SM
8767 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8768 New function.
8769 (js--regexp-literal, js-syntax-propertize-function): Remove.
8770 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8771 (js-mode-map): Don't rebind electric keys.
8772 (js-insert-and-indent): Remove.
8773 (js-mode): Setup electric-layout and electric-indent instead.
8774
a3dae87a
SM
8775 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8776
9d5cb631
DU
87772011-08-12 Daiki Ueno <ueno@unixuser.org>
8778
8779 * epa.el (epa-progress-callback-function): Fix the logic of
8780 displaying progress.
8781 * epa-file.el (epa-file-insert-file-contents): Make progress
8782 display more user-friendly.
8783 (epa-file-write-region): Ditto.
8784
3e26a4a2
CY
87852011-08-10 Chong Yidong <cyd@stupidchicken.com>
8786
8787 * subr.el (string-mark-left-to-right): New function.
8788
8789 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8790 Use string-mark-left-to-right.
8791 (list-buffers-noselect): Caller changed.
8792
a3dae87a
SM
8793 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8794 Use string-mark-left-to-right.
3e26a4a2
CY
8795 (tabulated-list-print): Recenter after moving point.
8796
ac8cf6e6
JL
87972011-08-10 Juri Linkov <juri@jurta.org>
8798
8799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8800 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8801 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8802
8d96c9a4
CY
88032011-08-09 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8806 (Bug#7554).
8807
7be1c708 88082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8809
8810 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8811 character. (Bug#6594)
8812
37e11a63
CY
88132011-08-08 Chong Yidong <cyd@stupidchicken.com>
8814
839dde57
CY
8815 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8816 (image-dired--with-db-file): New macro.
8817 (image-dired-write-tags, image-dired-remove-tag)
8818 (image-dired-create-gallery-lists, image-dired-write-comments)
8819 (image-dired-get-comment, image-dired-mark-tagged-files)
8820 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8821 (image-dired-gallery-generate): Use insert-file-contents.
8822
37e11a63
CY
8823 * time.el (display-time-world-list, display-time-world-display):
8824 * time-stamp.el (time-stamp-string):
8825 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8826 set-time-zone-rule (Bug#7337).
8827
0b4946c4
DU
88282011-08-08 Daiki Ueno <ueno@unixuser.org>
8829
8830 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8831 (epg-error-to-string, epg-errors-to-string): New function.
8832 (epg-wait-for-completion): Reverse errors list.
8833 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8834 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8835 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8836 (epg-sign-keys, epg-generate-key-from-file)
8837 (epg-generate-key-from-string): Format errors by using
8838 epg-errors-to-string (bug#9255).
8839 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8840
75bfc667
JL
88412011-08-07 Juri Linkov <juri@jurta.org>
8842
8843 * faces.el (list-faces-display): Remove extra angle bracket
8844 from `help-mode-map'.
8845
8846 * info.el (Info-history-toc-nodes): Doc fix.
8847
8848 * longlines.el (longlines-mode): Doc fix.
8849
673e08bb
SM
88502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8851
4640dd88
SM
8852 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8853 of statements and in a few more cases (bug#9183).
8854
673e08bb
SM
8855 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8856 New functions.
8857 (cl-transform-lambda): Use them (bug#9239).
8858
89b3f019
MR
88592011-08-05 Martin Rudalics <rudalics@gmx.at>
8860
8861 * window.el (display-buffer-same-window)
8862 (display-buffer-same-frame, display-buffer-other-window)
8863 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8864 (pop-to-buffer-other-window)
8865 (pop-to-buffer-same-frame-other-window)
8866 (pop-to-buffer-other-frame): Make them defuns.
8867 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8868
640c8776
SM
88692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * subr.el (make-composed-keymap): Move from C. Change calling
8872 convention, and improve docstring to bring attention to a subtle point.
8873 * minibuffer.el (completing-read-default): Adjust accordingly.
8874
63648a95
MA
88752011-08-03 Michael Albinus <michael.albinus@gmx.de>
8876
8877 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8878 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8879
8880 * net/trampver.el: Update release number.
8881
b796c9b7
SM
88822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8885 "in" (bug#9190).
8886
2239d7d5
LMI
88872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8888
e07dd7c3
LMI
8889 * mail/sendmail.el (sendmail-query-once): Restore the current
8890 buffer after querying (bug#9074).
8891
0e6a2bd7
LMI
8892 * dired.el (dired-flagged): Use different faces for marked and
8893 flagged files (bug#6117).
8894
ce887515
LMI
8895 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8896 (bug#4433).
8897
92f2affc
LMI
8898 * ido.el (ido-mode): Switch off the message if called
8899 non-interactively.
8900
57d5aff0
LMI
8901 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8902 before 587, since it appears that that's more likely to work for
8903 more people.
8904
98cd6c18 8905 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8906 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8907 exist.
8908
b96dec83
LMI
8909 * info.el: Remove the `Info-beginning-of-buffer' function
8910 (bug#8325).
8911
b796c9b7
SM
8912 * net/network-stream.el (network-stream-open-starttls):
8913 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8914
d90e2ea0
MR
89152011-08-01 Martin Rudalics <rudalics@gmx.at>
8916
8917 * window.el (display-buffer-in-window): Don't set dedicated status
8918 of window here (Bug#9215).
8919 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8920 (display-buffer-pop-up-side-window)
b796c9b7 8921 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8922
cca09170
SM
89232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8926 before binding generated-autoload-file.
8927
027b979c
DD
89282011-08-01 Deniz Dogan <deniz@dogan.se>
8929
8930 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8931
3c7ee4f3
MA
89322011-07-30 Michael Albinus <michael.albinus@gmx.de>
8933
8934 Sync with Tramp 2.2.2.
8935
8936 * net/trampver.el: Update release number.
8937
2cc8e51a
JL
89382011-07-30 Juri Linkov <juri@jurta.org>
8939
8940 * dired-aux.el (dired-touch-initial): Remove function.
8941 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8942 current time, and `default' to the last modification time of the
8943 current marked file (bug#6887).
8944
a514d856
JM
89452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8946
8947 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8948 numeric argument to read-number (bug#9163).
a514d856 8949
8a7eddd7
MA
89502011-07-27 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8953 connection process, it could be nil.
8954
1ddd96f5
LL
89552011-07-27 Leo Liu <sdl.web@gmail.com>
8956
8957 Simplify url handling in rcirc-mode.
8958
8959 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8960 (rcirc-browse-url-at-mouse): Remove.
8961 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8962
b248a85d
AM
89632011-07-26 Alan Mackenzie <acm@muc.de>
8964
8965 Fontify bitfield declarations properly.
8966
8967 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8968 (c-symbol-chars): Now exported as a lang variable.
8969 (c-not-primitive-type-keywords): New lang variable.
8970
8971 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8972 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8973 parsed as a bitfield declaration.
b248a85d 8974
b796c9b7
SM
8975 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8976 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8977 (c-punctuation-in): New function.
8978 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8979 declarations properly.
8980
68575ab0
UJ
89812011-07-26 Ulf Jasper <ulf.jasper@web.de>
8982
8983 * calendar/icalendar.el (icalendar--all-events): Take care of
8984 multiple vcalendars in a single file.
b796c9b7 8985 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8986
0f0a88b9
DD
89872011-07-25 Deniz Dogan <deniz@dogan.se>
8988
8989 * image.el (insert-image): Clarifying docstring.
8990
0b3f36df
MA
89912011-07-24 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8994 `tramp-send-command-and-check' if there is no error.
8995 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8996
a9901f61
AM
89972011-07-22 Alan Mackenzie <acm@muc.de>
8998
8999 Prevent cc-langs.elc being loaded at run time.
9000
9001 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9002 cc-langs.
9003
4d61f28d 9004 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9005 "(require 'cc-langs)". Quote a form so it will evaluate at
9006 (cc-mode's) compilation time.
9007
11d074b2
MA
90082011-07-22 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9011 loading. (Bug#9114)
9012
938b94c8
MR
90132011-07-21 Martin Rudalics <rudalics@gmx.at>
9014
9015 * window.el (display-buffer-pop-up-window)
9016 (display-buffer-pop-up-side-window)
9017 (display-buffer-in-side-window): Call display-buffer-set-height
9018 and display-buffer-set-width after setting the new window's
b796c9b7 9019 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9020
bfa4f190
SS
90212011-07-20 Sam Steingold <sds@gnu.org>
9022
9023 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9024 (etags-tags-included-tables): Call `convert-standard-filename' on
9025 the file names contained in TAGS so that windows Emacs can handle
9026 TAGS files created by cygwin ctags.
9027
8ca42262
LMI
90282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9029
9030 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9031 which apparently didn't work.
9032
5db2afd2 90332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9034
5db2afd2
RW
9035 * proced.el (proced-send-signal): For *Marked Processes* buffer
9036 put point at beginning of buffer.
9037
92e15d10
SB
90382011-07-19 Stephen Berman <stephen.berman@gmx.net>
9039
9040 * proced.el (proced-format): Make header lines align with the text
9041 (bug#1779).
9042
1bfd59e5
LMI
90432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9044
9045 * view.el (view-buffer): Allow running in `special' modes if we're
9046 visiting a file (bug#8615).
9047
f5aae37c
MR
90482011-07-19 Martin Rudalics <rudalics@gmx.at>
9049
9050 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9051 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9052 New functions.
f5aae37c
MR
9053 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9054 more accurately.
9055
bf2c1571
AM
90562011-07-18 Alan Mackenzie <acm@muc.de>
9057
9058 Fontify declarators properly when, e.g., a jit-lock chunk begins
9059 inside a declaration.
9060
9061 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9062
b796c9b7
SM
9063 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9064 New function.
bf2c1571
AM
9065 (c-complex-decl-matchers): Insert reference to
9066 c-font-lock-enclosing-decls.
9067
9068 * progmodes/cc-engine.el (c-backward-single-comment):
9069 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9070 to nil around calls to (forward-comment -1).
9071
4e190b80
LMI
90722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9073
12dc863d
LMI
9074 * image.el (put-image): Doc typo fix.
9075
a762e966
LMI
9076 * progmodes/etags.el (tags-search): Doc typo fix.
9077
4e190b80
LMI
9078 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9079 password if we get errors 550 to 554.
9080
f019fb21
LMI
90812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9082
b796c9b7 9083 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9084
81746738
LMI
9085 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9086 indentation character (bug#6380).
9087
3ee3a1b5
LMI
9088 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9089
c82f64de
LMI
9090 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9091 to clarify what the problem is (bug#4291).
9092
f019fb21
LMI
9093 * simple.el (current-kill): Clarify what
9094 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9095 (auto-fill-mode): Document `auto-fill-function' in relation to
9096 `auto-fill-mode' (bug#2470).
f019fb21 9097
0794775d
LM
90982011-07-16 Lawrence Mitchell <wence@gmx.li>
9099
9100 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9101 method if slot is read-only (bug#9035).
9102
be39b8cc
MR
91032011-07-16 Martin Rudalics <rudalics@gmx.at>
9104
b796c9b7 9105 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9106 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9107 selected before, see discussion of (Bug#8615), (Bug#6954).
9108 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9109
6ccf7859
GM
91102011-07-15 Glenn Morris <rgm@gnu.org>
9111
9112 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9113 Respect help-form.
6ccf7859 9114
87e86684
LM
91152011-07-09 Lawrence Mitchell <wence@gmx.li>
9116
9117 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9118 (gnutls-negotiate): Use it.
9119
d6066239
LMI
91202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9121
b796c9b7
SM
9122 * net/gnutls.el (gnutls-negotiate):
9123 Upcase `gnutls-algorithm-priority'.
d6066239 9124
bd23ebc0
GM
91252011-07-15 Glenn Morris <rgm@gnu.org>
9126
c65bca65
GM
9127 * jka-compr.el (jka-compr-verbose): Move from here...
9128 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9129 Add missing :version tag.
9130 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9131
478615cc
LMI
91322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9133
7b41decb
LMI
9134 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9135 (gnutls-negotiate): Use it.
9136
dbc44fcd
LMI
9137 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9138
06789f97
LMI
9139 * info.el (Info-beginning-of-buffer): New command.
9140 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9141 announcing `b' as the key (bug#8325).
ab896c37 9142 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9143
c39da690
LMI
9144 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9145
3aa5f34b
LMI
9146 * international/mule-cmds.el
9147 (describe-specified-language-support): Make the error message
9148 clearer (bug#8905).
9149
4bf0979f
LMI
9150 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9151
478615cc
LMI
9152 * isearch.el (isearch-barrier): Add a doc string, since it's
9153 mentioned in a function doc string (bug#8678).
9154
75c68aa1
MR
91552011-07-15 Martin Rudalics <rudalics@gmx.at>
9156
9157 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9158 buffer argument (Bug#9083) and self-identifying label argument.
9159
a7c33da2
GM
91602011-07-15 Glenn Morris <rgm@gnu.org>
9161
9162 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9163
2f5c6024
LMI
91642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9165
9166 * man.el (Man-fontify-manpage): Fix message when formatting the
9167 man page (bug#7929).
9168
0bb23927 91692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9170
9171 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9172 argument LRM; if non-nil, append an invisible LRM character to the
9173 buffer name.
9174 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9175 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9176 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9177 paragraph direction.
cce4b0a7 9178
621ef9ab
LMI
91792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9180
d1583c48
LMI
9181 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9182 the man page name (bug#7929).
9183
6a57fb5f
LMI
9184 * image.el (put-image): Mention the `put-image' overlay property
9185 (bug#7834).
9186
d7956b14
LMI
9187 * scroll-bar.el (set-scroll-bar-mode): Mention that
9188 `scroll-bar-mode' lists the values (bug#7772).
9189
5b2d4a66
LMI
9190 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9191 command (bug#7729).
9192
7509a874
LMI
9193 * rect.el (apply-on-rectangle): Return the point after the last
9194 operation.
9195 (string-rectangle): Go to the point after the last operation
9196 (bug#7522).
9197
4fe74b19
LMI
9198 * printing.el (pr-toggle-region): Clarify the documentation
9199 slightly (bug#7493).
9200
b796c9b7
SM
9201 * time.el (display-time-update):
9202 Allow `display-time-mail-function' to return nil (bug#7158).
9203 Fix suggested by Detlev Zundel.
ab283561 9204
fc233c9d
LMI
9205 * vc/diff.el (diff): Clarify the order the file names are read
9206 (bug#7111).
9207
43f5740b
LMI
9208 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9209 the doc string (bug#7015).
9210
f2182a76
LMI
9211 * font-lock.el (font-lock-maximum-decoration): Mention what
9212 numeric levels mean (bug#6935).
9213
621ef9ab
LMI
9214 * startup.el (initial-buffer-choice): Don't mention the `none'
9215 selection, which is against policy.
9216
adc47434
MR
92172011-07-14 Martin Rudalics <rudalics@gmx.at>
9218
b796c9b7
SM
9219 * window.el (display-buffer-normalize-special):
9220 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9221
7e5bfb8f
EZ
92222011-07-14 Eli Zaretskii <eliz@gnu.org>
9223
9224 * subr.el (version<, version<=, version=): Mention "-CVS" and
9225 "-12345" alpha version numbers.
9226
27fa387a
CY
92272011-07-14 Chong Yidong <cyd@stupidchicken.com>
9228
9229 * bindings.el: Add advertised binding for set-mark-command
9230 (Bug#5772).
9231
8bdfa064
CY
92322011-07-14 Chong Yidong <cyd@stupidchicken.com>
9233
9234 * bindings.el (mode-line-other-buffer):
9235 * bookmark.el (bookmark-bmenu-2-window):
9236 * bs.el (bs-cycle-next, bs-cycle-previous):
9237 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9238 switch-to-buffer.
9239
9240 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9241 Delete.
8bdfa064 9242
5eba16a3
JB
92432011-07-14 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * follow.el (follow-debug-message, follow-redisplay):
9246 * jka-cmpr-hook.el (with-auto-compression-mode):
9247 Fix typos in docstrings.
9248
15853710
LMI
92492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9250
a28e4607
LMI
9251 * subr.el (with-silent-modifications): Clarify somewhat what the
9252 macro inhibits (bug#6525).
9253
15853710
LMI
9254 * simple.el (eval-expression): Note what it does if called
9255 interactively (bug#6495).
9256
bee0fcef
CY
92572011-07-13 Chong Yidong <cyd@stupidchicken.com>
9258
b796c9b7
SM
9259 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9260 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9261
9262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9263 Remove switch-to-buffer.
9264
58274504
LMI
92652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266
bd2fcc8d
LMI
9267 * files.el (make-directory): Clarify that an error will be raised
9268 if there's an error (bug#6397).
9269
0f04b32c
LMI
9270 * startup.el (initial-buffer-choice): Add `none' as a choice
9271 (bug#6234).
9272
465c5fc8
LMI
9273 * subr.el (add-hook): Clarify section about buffer-local hooks
9274 (bug#6218).
9275
58274504
LMI
9276 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9277
bead9a43
JB
92782011-07-13 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * tabify.el (untabify): Preserve the current column so that point
9281 doesn't move (bug#6032).
9282
3af98a7b
LMI
92832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9284
b796c9b7
SM
9285 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9286 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9287
6240145a
GM
92882011-07-13 Glenn Morris <rgm@gnu.org>
9289
9290 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9291 (dired-insert-directory): Give a message the first time
9292 if ls is found not to support --dired.
9293
1d8c2ccc
LMI
92942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
9296 * simple.el (toggle-truncate-lines): Clarify what is toggled
9297 (bug#5580). Text by Drew Adams.
9298
5fc4038e
CY
92992011-07-13 Chong Yidong <cyd@stupidchicken.com>
9300
9301 * simple.el (blink-matching-open): Make the error message from the
9302 last change less verbose.
9303
bf6012e5
DN
93042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9305
9306 * font-lock.el (font-lock-comment-face): Use the high contrast
9307 "yellow" color for font-lock-comment-face on low color terminals
9308 using a dark background color (bug#4221).
9309
343c3b5a
LMI
93102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
7e9505c5
LMI
9312 * dired.el (dired-insert-set-properties): Make the doc string
9313 reflect what it does now (bug#5325).
9314
c26fdcf5
LMI
9315 * simple.el (blink-matching-open): Say that we were unable to find
9316 the match within the limit, if we're limited (bug#5122).
9317
bb388cc5
LMI
9318 * international/mule-cmds.el (prefer-coding-system): Add an
9319 example (bug#4869).
9320
343c3b5a
LMI
9321 * progmodes/etags.el (tags-search): Document `file-list-form'
9322 (bug#4731).
9323
2a517d45
LM
93242011-07-13 Lawrence Mitchell <wence@gmx.li>
9325
9326 * net/browse-url.el (browse-url-default-browser)
9327 (browse-url-browser-function): Make the default browser choice a
9328 bit more logical (bug#4300). Also clean up the doc string.
9329
b6c78ef2
JB
93302011-07-13 Juanma Barranquero <lekktu@gmail.com>
9331
9332 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9333 binary endings (bug#4440).
9334
1c4dd947
LMI
93352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
a2014063
LMI
9337 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9338 which can be pretty annoying (bug#8971).
9339
9c9c2d88
LMI
9340 * jka-compr.el (jka-compr-verbose): New variable, and use
9341 throughout (bug#8971).
9342
1c4dd947
LMI
9343 * info.el (Info-find-file): Fall back on the installation
9344 directory if we can't find the info node anywhere else.
9345
a1c9f41b
SO
93462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9347
9348 * vc/vc.el (vc-revert-file):
9349 Don't set file time-stamp in the past. (Bug#5181)
9350
536f3d36
LMI
93512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9352
7152b011
LMI
9353 * files.el (after-find-file): Give a better error message when
9354 trying to find a symlink that points to a file that doesn't exist
9355 (bug#4398).
9356
536f3d36
LMI
9357 * progmodes/cc-vars.el: Remove (probably) misleading comment
9358 (bug#4396).
9359
460c0fba
JB
93602011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9361
9362 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9363
7a6bda45
CY
93642011-07-12 Chong Yidong <cyd@stupidchicken.com>
9365
9366 * mouse-sel.el: Hack restoring functionality, while keeping
9367 compatibility with 2010-07-03 changes to mouse selection.
9368 (mouse-sel-primary-overlay): New var.
9369 (mouse-sel-selection-alist): Use it.
9370 (mouse-sel-mode): Doc fix; remove points that are default features
9371 of mouse.el.
9372
c79598ef
JB
93732011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9374
9375 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9376 Fix previous fix (bug#2490).
9377
ff8be6ef
RW
93782011-07-12 Roland Winkler <winkler@gnu.org>
9379
b796c9b7
SM
9380 * textmodes/bibtex.el (bibtex-initialize):
9381 Use pop-to-buffer-same-window.
ff8be6ef
RW
9382 (bibtex-search-entries): Fix interactive call.
9383
296ba3ee
LMI
93842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9385
f5242a02 9386 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9387 Fontise bytecomp Error lines more correctly (bug#2490).
9388 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9389
296ba3ee
LMI
9390 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9391
9392 * dired-x.el (dired-guess-default): Use `delete-dups'.
9393
f69fd0d2
CY
93942011-07-12 Chong Yidong <cyd@stupidchicken.com>
9395
9396 * dired.el (dired-mark-prompt):
9397 * dired-aux.el (dired-read-shell-command): Doc fix.
9398
eab5dc07
LMI
93992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9400
b796c9b7
SM
9401 * mail/sendmail.el (sendmail-query-once):
9402 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9403 emacs -Q.
9404
9405 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9406
eab5dc07
LMI
9407 * cus-edit.el (custom-file): Take an optional no-error variable.
9408 (customize-save-variable): Set the variable, and give a warning if
9409 running under "emacs -q".
9410
a1e65d42
JB
94112011-07-11 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * loadhist.el (unload-feature-special-hooks):
9414 Add `auto-coding-functions', `fill-nobreak-predicate' and
9415 `find-directory-functions' (bug#5327).
9416
1d52da10
LMI
94172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9418
be958f1d
LMI
9419 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9420
5bedb26c
LMI
9421 * cus-edit.el (custom-guess-name-alist): -alist variables should
9422 use the `alist' type (bug#3120). Suggested by Drew Adams.
9423
1d52da10
LMI
9424 * printing.el: Add documentation to all the `pr-toggle-' commands.
9425
cd394be1 94262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9427
9428 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9429 backends where it makes sense (bug#2623).
9430
dcc88d8a
LMI
94312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9432
c3de9feb
LMI
9433 * dired-x.el (dired-guess-default): Remove duplicate shell command
9434 entries (bug#2028).
8a93078b 9435 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9436 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9437
dcc88d8a
LMI
9438 * subr.el (remove-duplicates): New conveniency function.
9439
505e3645
LMI
94402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9441
9442 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9443 (bug#1526).
9444
94452011-07-10 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (display-buffer-normalize-default): Don't invert
9448 meaning of even-window-heights. Reported by Eli Zaretskii
9449 <eliz@gnu.org>.
9450
455e4fa1
BR
94512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9452
9453 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9454
8e0bc3e9
CY
94552011-07-10 Chong Yidong <cyd@stupidchicken.com>
9456
9457 * window.el (display-buffer): Fix arguments to
9458 display-buffer-reuse-window in last change.
9459
fa7c3228
CY
9460 * faces.el (link): Use a less saturated blue on light backgrounds.
9461
9462 * startup.el (fancy-startup-text, fancy-about-text)
9463 (fancy-startup-tail): Use font-lock faces, for background safety.
9464
c0a7f300
BN
94652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9466
b796c9b7
SM
9467 * emulation/viper-cmd.el (viper-change-state-to-vi):
9468 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9469
4dc2a129
MR
94702011-07-09 Martin Rudalics <rudalics@gmx.at>
9471
9472 * window.el (display-buffer-default-specifiers): Remove.
9473 (display-buffer-macro-specifiers): Remove default specifiers.
9474 (display-buffer-alist): Default to nil.
b796c9b7 9475 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9476 (display-buffer-pop-up-window): Allow splitting internal
9477 windows. Check whether a live window was created.
9478 (display-buffer-other-window-means-other-frame)
9479 (display-buffer-normalize-arguments): Rename to
9480 display-buffer-normalize-argument and rewrite. Set the
9481 other-window specifier.
9482 (display-buffer-normalize-special): New function.
9483 (display-buffer-normalize-options): Rename to
9484 display-buffer-normalize-default and rewrite.
9485 (display-buffer-normalize-options-inhibit): Remove.
9486 (display-buffer-normalize-specifiers): Rewrite.
9487 (display-buffer): Process other-window specifier and call
9488 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9489 more faithfully.
b796c9b7 9490 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9491 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9492 (display-buffer-in-window, display-buffer-alist-set):
9493 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9494 <tassilo@member.fsf.org>.
9495
2d43b8c9
LL
94962011-07-09 Leo Liu <sdl.web@gmail.com>
9497
9498 * register.el (insert-register): Restore accidental change on
9499 2011-06-26. (Bug#9028)
9500
7f9b7c53
GM
95012011-07-09 Glenn Morris <rgm@gnu.org>
9502
9503 * subr.el (remq): Handle the empty list. (Bug#9024)
9504
f042cfd8
AS
95052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9506
9507 * mail/sendmail.el (send-mail-function): No longer delay custom
9508 initialization.
9509 * custom.el (custom-initialize-delay): Doc fix.
9510
856b2f11
SM
95112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9514
afae1d68
MA
95152011-07-08 Michael Albinus <michael.albinus@gmx.de>
9516
9517 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9518 human-friendly prompt.
9519
0757af94
SM
95202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9523 provided by a particular plugin.
9524
d760b731
LMI
95252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9526
9527 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9528 save customizations (with "emacs -Q"), just set the variable
9529 instead of erroring out.
9530
9531 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9532
cd79ce90
JL
95332011-07-08 Juri Linkov <juri@jurta.org>
9534
9535 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9536 (archive-zip-update-case): Use 7z if found by `executable-find'.
9537 The order of searching the available programs is the same as in
9538 `archive-zip-extract' (bug#8968).
9539
14cc04aa
CY
95402011-07-07 Chong Yidong <cyd@stupidchicken.com>
9541
9542 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9543 (menu-bar-options-menu): Tweak descriptions.
9544
0a1848ec
LMI
95452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
9547 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9548 menu items into verb phrases (bug#1421). Also refill to fit under
9549 80 columns.
9550
f5bd0689
CY
95512011-07-07 Chong Yidong <cyd@stupidchicken.com>
9552
538e85c6
CY
9553 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9554 (Info-read-node-name): Doc fix (Bug#1084).
9555
f5bd0689
CY
9556 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9557 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9558 (end-of-sexp, beginning-of-sexp)
9559 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9560 (forward-symbol, forward-same-syntax, word-at-point)
9561 (sentence-at-point): Doc fix (Bug#1144).
9562
56ec5115
LMI
95632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9564
f3f8e37f
LMI
9565 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9566 should cover it (bug#1281).
9567
0757af94 9568 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9569
e9fce1ac 9570 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9571 negotiation fails, then possibly try again with a non-encrypted
9572 connection (bug#9017).
9573
56ec5115
LMI
9574 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9575 be used.
9576
c2f9aec8
RS
95772011-07-07 Richard Stallman <rms@gnu.org>
9578
9579 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9580 property, and handle its changed format.
9581 Look for the correct line number.
9582 Use file's line contents (but not past first =) to find
9583 correct line in message.
9584
ef7b981d 95852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9586
9587 * international/characters.el (build-unicode-category-table):
9588 Delete it.
0757af94 9589 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9590
0757af94 9591 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9592 to src/chartab.c.
9593 (get-char-code-property): Call unicode-property-table-internal to
9594 load a file. Call get-unicode-property-internal where necessary.
9595 (put-char-code-property): Call unicode-property-table-internal to
9596 load a file. Call put-unicode-property-internal where necessary.
9597 put-unicode-property-internal where necessary.
0757af94
SM
9598 (char-code-property-description):
9599 Call unicode-property-table-internal to load a file.
c805dec0
KH
9600
9601 * international/charprop.el:
9602 * international/uni-bidi.el:
9603 * international/uni-category.el:
9604 * international/uni-combining.el:
9605 * international/uni-comment.el:
9606 * international/uni-decimal.el:
9607 * international/uni-decomposition.el:
9608 * international/uni-digit.el:
9609 * international/uni-lowercase.el:
9610 * international/uni-mirrored.el:
9611 * international/uni-name.el:
9612 * international/uni-numeric.el:
9613 * international/uni-old-name.el:
9614 * international/uni-titlecase.el:
9615 * international/uni-uppercase.el: Regenerate.
9616
9617 * loadup.el: Load international/charprop.el before
9618 international/characters.
9619
e14b388a
CY
96202011-07-07 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * window.el (next-buffer, previous-buffer): Signal an error if
9623 called from a minibuffer window.
9624
9625 * bindings.el: Revert 2011-07-04 change.
9626
354cf0ba
RS
96272011-07-06 Richard Stallman <rms@gnu.org>
9628
9629 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9630 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9631 Treat markers like ints.
9632 (rmail-mime-entity): Doc fix.
9633
a48868a7
LMI
96342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635
4906cd3d
LMI
9636 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9637 defcustom again for backwards compatibility.
9638
e0457abe
LMI
9639 * simple.el (shell-command-on-region): Fill.
9640
d67f7e1f
LMI
9641 * dired-aux.el (dired-kill-line): Add a doc string.
9642
fe204702
LMI
9643 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9644 to "\\sw\\|\\s_" (bug#358).
9645
a48868a7
LMI
9646 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9647 (dired-unmark-backward): Ditto.
9648 (dired-flag-backup-files): Ditto.
9649
9650 * dired-x.el (dired-mark-sexp): Ditto.
9651
aa8a705c
RS
96522011-07-06 Richard Stallman <rms@gnu.org>
9653
9654 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9655 (rmail-mime-entity): New arg TRUNCATED.
9656 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9657 New functions.
9658 (rmail-mime-save): Warn if entity is truncated.
9659 (rmail-mime-toggle-hidden): Likewise, for showing.
9660 (rmail-mime-process-multipart): Record when an entity is truncated.
9661
a9a936b9
RS
9662 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9663 if ENTITY is a string.
9664
1f2b92cb
LMI
96652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9666
f4f73198 9667 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9668 of faces when `M-C-x'-ing their definitions (bug#8378).
9669 Also clean up the code slightly.
f4f73198 9670
12b16734 9671 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9672 because that makes the colors go away.
12b16734 9673
f0691d22
LMI
9674 * mail/sendmail.el (send-mail-function): Change the default to
9675 `sendmail-query-once'.
9e87df06 9676 (sendmail-query-once): Add an autoload cookie.
f0691d22 9677
1f2b92cb
LMI
9678 * net/network-stream.el (network-stream-open-starttls): Try using
9679 a plain connection even if the server offered STARTTLS, and we
9680 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9681 capability. This should make smtpmail.el work in slightly more
9682 configurations.
9683
1cdd2a1b
MA
96842011-07-06 Michael Albinus <michael.albinus@gmx.de>
9685
9686 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9687 New defun.
9688 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9689
fbcc67e2
MM
96902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9691
9692 * progmodes/sql.el: Version 3.0
0757af94 9693 (sql-product-alist): Add product :completion-object,
fbcc67e2 9694 :completion-column, and :statement attributes.
0757af94 9695 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9696 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9697 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9698 ansi keywords.
9699 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9700 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9701 (sql-oracle-show-reserved-words): New function for development.
9702 (sql-product-font-lock): Simplify for source code buffers.
9703 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9704 New functions.
9705 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9706 (sql-mode-map): Add statement movement functions.
9707 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9708 New variable.
fbcc67e2
MM
9709 (sql-statement-regexp, sql-beginning-of-statement)
9710 (sql-end-of-statement, sql-signum): New functions.
0757af94 9711 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9712 (sql-show-sqli-buffer): Bug fix.
9713 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9714 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9715 with sql-interactive-mode.
9716 (sql-save-connection): Save buffer local settings.
0757af94 9717 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9718 (sql-product-interactive): Bug fix.
9719 (sql-preoutput-hold): New variable.
9720 (sql-interactive-remove-continuation-prompt): Bug fixes.
9721 (sql-debug-redirect): New variable.
9722 (sql-str-literal): New function.
9723 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9724 Redesign.
fbcc67e2
MM
9725 (sql-oracle-save-settings, sql-oracle-restore-settings)
9726 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9727 (sql-completion-object, sql-completion-column)
9728 (sql-completion-sqlbuf): New variables.
9729 (sql-build-completions-1, sql-build-completions)
9730 (sql-try-completion): New functions.
9731 (sql-read-table-name): Use them.
9732 (sql-contains-names): New buffer local variable.
9733 (sql-list-all, sql-list-table): Use it.
9734 (sql-oracle-completion-types): New variable.
9735 (sql-oracle-completion-object, sql-sqlite-completion-object)
9736 (sql-postgres-completion-object): New functions.
9737
d4eaeab1
GM
97382011-07-06 Glenn Morris <rgm@gnu.org>
9739
9740 * window.el (pop-to-buffer): Doc fix.
9741
322b7dab 97422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9743
9744 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9745
322b7dab 97462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9747
322b7dab 9748 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9749
322b7dab 9750 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9751
605dd5bf
CY
97522011-07-05 Chong Yidong <cyd@stupidchicken.com>
9753
9754 * button.el (button): Inherit from link face. Suggested by Dan
9755 Nicolaescu.
9756
7dbfa719
SM
97572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9758
3db614b0
SM
9759 * progmodes/gdb-mi.el: Fit in 80 columns.
9760 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9761 switch-to-buffer.
9762
7dbfa719
SM
9763 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9764 if imenu is simply not configured (bug#8941).
9765
919d884a
KM
97662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9767
9768 * allout.el (allout-post-undo-hook): New allout outline-change
9769 event hook to signal undo activity.
9770 (allout-post-command-business): Run allout-post-undo-hook if an
9771 undo just occurred.
7dbfa719
SM
9772 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9773 * allout-widgets.el (allout-widgets-after-undo-function):
9774 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9775 in the vicinity of an undo.
9776 (allout-widgets-mode): Include allout-widgets-after-undo-function
9777 on the new allout-post-undo-hook.
9778
450a0f09
SM
97792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9782 Let define-derived-mode define it.
9783 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9784 cycles of abbrev-table inheritance (bug#8998).
9785
2de69e00
RW
97862011-07-05 Roland Winkler <winkler@gnu.org>
9787
9788 * textmodes/bibtex.el: Add support for biblatex.
9789 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9790 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9791 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9792 (bibtex-entry-alist, bibtex-field-alist): New variables.
9793 (bibtex-entry-field-alist): Obsolete alias for
9794 bibtex-BibTeX-entry-alist.
9795 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9796 (bibtex-set-dialect): New command.
9797 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9798 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9799 Bind via bibtex-set-dialect.
2de69e00
RW
9800 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9801 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9802 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9803 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9804 Define via bibtex-set-dialect.
450a0f09
SM
9805 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9806 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9807 (bibtex-vec-push, bibtex-vec-incr): New functions.
9808 (bibtex-format-entry, bibtex-field-list)
9809 (bibtex-print-help-message, bibtex-validate)
9810 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9811
2dcdbdd9
SM
98122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * progmodes/compile.el (compilation-goto-locus):
9815 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9816 * bs.el (bs-cycle-next, bs-cycle-previous):
9817 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9818 * bindings.el (mode-line-other-buffer):
9819 * autoinsert.el (auto-insert):
9820 * arc-mode.el (archive-extract):
9821 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9822
b27640fe
JB
98232011-07-05 Juanma Barranquero <lekktu@gmail.com>
9824
9825 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9826 Fix check of `emacs-lock-unlockable-modes'.
9827 Coerce true values of `emacs-lock--try-unlocking' to t.
9828
53bbe3ad
JB
98292011-07-05 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9832 * emacs-lock.el: New file.
9833
1d3cdbc7
JD
98342011-07-05 Julien Danjou <julien@danjou.info>
9835
9836 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9837 than `boundp' to check if face is set.
9838
9173deec
JB
98392011-07-05 Juanma Barranquero <lekktu@gmail.com>
9840
9841 * register.el (registerv-make):
9842 * window.el (window-min-height): Fix typos in docstrings.
9843
869795d6
JD
98442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9845
9173deec 9846 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9847 Update doc string.
9848
b768cdcd
JB
98492011-07-04 Juanma Barranquero <lekktu@gmail.com>
9850
9851 * server.el (server-execute): Catch quit and call
9852 `server-return-error' to pass the error back to emacsclient and
9853 close the connection (bug#8942).
9854
13aa217b
KM
98552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9856
9857 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9858 insecure exception for current topic. Also note that auto-saves
9859 are handled differently.
9860
5d3385a0 9861 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9862 State variables for tracking auto-save inhibition situation.
9863
9864 (allout-write-contents-hook-handler): Rename from
9865 'allout-write-file-hook-handler', and describe how it depends on
9866 write-contents-functions sensitivity to non-nil value to prevent
9867 file write.
9868
9869 (allout-auto-save-hook-handler): Remove. auto-save does not check
9870 this in individual buffers, only in the starting buffer, so this
9871 is not the right way for us to inhibit auto-save in a buffer
9872 according to its condition.
9873
9874 (allout-mode): Use new allout-write-contents-hook-handler, and
9875 only with write-contents-functions. Remove auto-save provisions -
9876 they're implemented elsewhere.
9877
9878 (allout-before-change-handler): If undo is in progress, note that
9879 for attention of allout-post-command-business.
9880
9881 (allout-post-command-business): If the command we're following was
9882 an undo, check for change in the status of encrypted items and
9883 adjust auto-save inhibitions accordingly.
9884
9885 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9886 according to whether there are or aren't any plain-text topics
9887 pending encryption.
9888
2dcdbdd9 9889 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9890 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9891 if there are plain-text topics pending encryption.
13aa217b
KM
9892
9893 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9894 buffer-saved-size and some allout state to not inhibit auto-saves
9895 if there are no longer any plain-text topics pending encryption.
9896
0757af94
SM
9897 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9898 No longer provide for exemption of the current topic.
13aa217b 9899
ac89b32c
JL
99002011-07-04 Juri Linkov <juri@jurta.org>
9901
9902 Add 7z operations to delete and save changed members (bug#8968).
9903 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9904 New defcustoms.
9905 (archive-7z-write-file-member): New function.
9906 (archive-7z-summarize): Fix the number of dashes in the
9907 listing output.
9908
8fa39615
SM
99092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9912 (bug#8958).
9913
2f11b3f1
CY
99142011-07-04 Chong Yidong <cyd@stupidchicken.com>
9915
d66fef2b
CY
9916 * bindings.el: Ignore next-buffer and previous-buffer in
9917 minibuffer-local-map.
9918
2f11b3f1
CY
9919 * font-lock.el (font-lock-builtin-face): Change light background
9920 color to dark slate blue (Bug#6693).
9921
f932a347
WD
99222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9923
9924 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9925
c8af70e1
SM
99262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9930 Add switch-to-buffer.
9931
f158badc
LMI
99322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9933
9934 * isearch.el (isearch-search-fun-function): Clarify further the
9935 meaning of the function returned.
9936
6d95bd46
MA
99372011-07-04 Michael Albinus <michael.albinus@gmx.de>
9938
9939 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9940
9941 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9942 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9943 Use it.
9944 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9945 `tramp-default-remote-path' does not exist.
9946 (tramp-send-command-and-read): New optional argument NOERROR.
9947 (tramp-open-connection-setup-interactive-shell)
9948 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9949 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9950 (tramp-process-sentinel): Flush also process' connection property.
9951 (tramp-sh-handle-start-file-process): Do not set process
9952 sentinel. It is done now ...
9953 (tramp-maybe-open-connection): ... here. (Bug#8929)
9954
909e6b67
MK
99552011-07-04 MON KEY <monkey@sandpframing.com>
9956
9957 * play/animate.el (animate-string): Doc fixes and allow changing
9958 the buffer name (bug#5417).
9959
99602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9961
c8af70e1 9962 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9963
f34755dc
PE
99642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9965
396cec72
PE
9966 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9967 This is simpler and helps future-proof the code.
9968 (timer-until): Use time-subtract and float-time.
08235028 9969 (timer--time-less-p): Use time-less-p.
f34755dc 9970
56e6cc31
JB
99712011-07-04 Juanma Barranquero <lekktu@gmail.com>
9972
3abb79e5
JB
9973 * type-break.el (timep): Use the value of `float-time' to avoid a
9974 byte-compiler warning.
9975
56e6cc31
JB
9976 * server.el (server-eval-and-print): Return any result, even nil.
9977
7b9430b4
PE
99782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9979
9980 * type-break.el: Accept time formats that the builtins accept.
9981 (timep, type-break-time-difference): Accept any format that
9982 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9983 This is simpler and helps future-proof the code.
9984 (type-break-time-difference): Round rather than ignoring
9985 subseconds components.
9986
3034e9e7
LMI
99872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988
9989 * info.el (Info-apropos-matches): Make non-interactive, since it
9990 doesn't seem to do anything useful as a command (bug#8829).
9991
1485f4c0
CY
99922011-07-03 Chong Yidong <cyd@stupidchicken.com>
9993
9994 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9995 Move from faces.el.
1485f4c0
CY
9996 (frame-default-terminal-background): New function.
9997
9998 * custom.el (custom-push-theme): Don't record faces in `changed'
9999 theme; this doesn't work correctly for per-frame face settings.
10000 (disable-theme): Use face-set-after-frame-default to reset faces.
10001 (custom--frame-color-default): New function.
10002
9fa3dd45
LMI
100032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004
c8af70e1 10005 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10006 (bug#8769).
10007
6cbbc20c
KR
100082011-03-29 Kevin Ryde <user42@zip.com.au>
10009
10010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10011 `perl-Test2' extend to match possible "fail #N" rep count
10012 (bug#8377).
10013
c7f98048
LMI
100142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10015
65676592
LMI
10016 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10017 `smtpmail-via-smtp' now returns the error instead of nil.
10018
c7f98048
LMI
10019 * isearch.el (isearch-search-fun-function): Clarify the doc string
10020 (bug#8101).
10021
56e6cc31 100222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10023
10024 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10025 unnecessary spaces (bug#8987).
10026
2b216704
LMI
100272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10028
10029 * net/network-stream.el (open-network-stream): Use the
10030 :end-of-capability command thoughout.
10031
100322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10033
10034 * net/network-stream.el (open-network-stream): Add the
10035 :end-of-capability command parameter, used by pop3.el.
10036
36adf6ce
LMI
100372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10038
1ca0da0e
LMI
10039 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10040
fc00f69c
LMI
10041 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10042 for list)" (bug#6475).
10043
28fd8759 10044 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10045 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10046 an error (bug#6297).
10047
0dd8b6da
LMI
10048 * man.el (Man-reference-regexp): Allow matching possible
10049 word-wrapped references (bug#6289).
10050
ce1438d6
LMI
10051 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10052 for consistency with the other vc buffers (bug#6197).
10053 (vc-checkin): Ditto.
10054
10055 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10056
36adf6ce
LMI
10057 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10058
e83cc1f7
LMI
100592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10060
8a20ca4c
LMI
10061 * custom.el (defcustom): Clarify that :set is only used in the
10062 Customize user interface (bug#6089).
10063
83319045
LMI
10064 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10065 associated with a file, refuse to run instead of erroring out
10066 (bug#6084).
10067
a8392169
LMI
10068 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10069 the doc string, since it appears that using `fill-column' always
10070 controls the width (bug#7845).
10071
e83cc1f7
LMI
10072 * simple.el (shell-command-on-region): Say where the error output
10073 went if `shell-command-default-error-buffer' is set (bug#6857).
10074
e47ca23b
KM
100752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10076
10077 * allout.el (allout-yank-processing): Adjust cursor position for
10078 backwards-deleted space.
10079
10080 (allout-rebullet-heading): Register changes with
10081 allout-exposure-changed-hook, so the modified topic is properly
10082 decorated.
10083
5cf56143
LMI
100842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10085
08549772
LMI
10086 * minibuffer.el (completion-in-region): Document PREDICATE
10087 (bug#7136).
10088
48e96771
LMI
10089 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10090 of keyword/argument pairs (bug#6904).
10091
c8af70e1
SM
10092 * replace.el (multi-occur):
10093 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10094
e17d05e2
LMI
100952011-07-02 Drew Adams <drew.adams@oracle.com>
10096
10097 * dired.el (dired-mark-if): Make the message about whether it's
10098 marking or unmarking clearer (bug#8523).
10099
063b0e45
LMI
101002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10101
10102 * disp-table.el (display-table-print-array): New function.
10103 (describe-display-table): Use it to print the vectors more pretty
10104 (Bug#8859).
10105
28545e04
MR
101062011-07-02 Martin Rudalics <rudalics@gmx.at>
10107
10108 * window.el (window-state-get-1): Don't assign clone numbers.
10109 Add clone-of item to list of window parameters.
10110 (window-state-put-2): Don't process clone numbers.
10111 (display-buffer-alist): Fix doc-string.
10112
3349e122
SM
101132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * subr.el (remq): Don't allocate if it's not needed.
10116 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10117 (keymap--merge-bindings): New functions.
10118 (keymap-canonicalize): Use them to refine the canonicalization.
10119 * minibuffer.el (minibuffer-local-completion-map)
10120 (minibuffer-local-must-match-map): Move initialization from C.
10121 (minibuffer-local-filename-completion-map): Move initialization from C;
10122 don't inherit from anything here.
10123 (minibuffer-local-filename-must-match-map): Make obsolete.
10124 (completing-read-default): Use make-composed-keymap to combine
10125 minibuffer-local-filename-completion-map with either
10126 minibuffer-local-must-match-map or
10127 minibuffer-local-filename-completion-map.
10128
d224ac83
GM
101292011-07-01 Glenn Morris <rgm@gnu.org>
10130
3de63bf8
GM
10131 * type-break.el (type-break-time-sum): Use dolist.
10132
d224ac83
GM
10133 * textmodes/flyspell.el (flyspell-word-search-backward):
10134 Replace CL function.
10135
1a1e3f32
SM
101362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10137
fe3f64d5
SM
10138 * mouse.el (mouse--strip-first-event): New function.
10139 (function-key-map): Use it to map fringe clicks to normal clicks
10140 by default.
10141
eb604e34
SM
10142 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10143 (vc-bzr-revision-completion-table): Add support for annotate and date.
10144
1a1e3f32
SM
10145 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10146 inherit from parent.
10147
5bd35902
LMI
101482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10149
ace6c69c 10150 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10151 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10152
191e2bed
LMI
10153 * dired.el (dired-mode): Fix up the doc string as suggested by
10154 Drew Adams (bug#8817).
10155
5bd35902
LMI
10156 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10157 cookie, since the manual says that it should be possible to add
10158 this function to `find-file-hook' (bug#8709).
10159
eee8207a
TZ
101602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10161
10162 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10163 here. Noted Ted Zlatanov as the maintainer.
10164 (cfengine-common-settings, cfengine-common-syntax): New functions
10165 to set up common things between `cfengine-mode' and
10166 `cfengine3-mode'.
10167 (cfengine3-mode): New mode.
10168 (cfengine3-defuns cfengine3-defuns-regex
10169 (cfengine3-class-selector-regex cfengine3-category-regex)
10170 (cfengine3-vartypes cfengine3-font-lock-keywords)
10171 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10172 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10173
36b148cf
MA
101742011-07-01 Michael Albinus <michael.albinus@gmx.de>
10175
10176 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10177
10178 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10179
0bf4ba9a
MR
101802011-07-01 Martin Rudalics <rudalics@gmx.at>
10181
10182 * window.el (same-window-buffer-names, same-window-regexps)
10183 (same-window-p, special-display-frame-alist)
10184 (special-display-popup-frame, special-display-function)
10185 (special-display-buffer-names, special-display-regexps)
10186 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10187 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10188 (split-window-preferred-function, split-height-threshold)
10189 (split-width-threshold, even-window-heights)
10190 (display-buffer-mark-dedicated, window-splittable-p)
10191 (split-window-sensibly, window-safely-shrinkable-p):
10192 Un-obsolete.
10193 (display-buffer): Don't spread args with function specifier
10194 because special-display-popup-frame won't like it.
10195
35837f51
PE
101962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10197
d0672f86
PE
10198 Time-stamp simplifications and fixes.
10199 These improve accuracy slightly, and future-proof the code
10200 against some potential changes to current-time format.
10201
b9444d97
PE
10202 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10203 by using time-since and float-time.
10204
0ef923dc
PE
10205 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10206 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10207 + NNN microseconds".
10208
2f81380d
PE
10209 * type-break.el (type-break-time-sum): Rewrite using time-add.
10210
845b5c3e
PE
10211 * play/hanoi.el (hanoi-current-time-float): Remove.
10212 All uses replaced by float-time.
10213
ee6f1be0
PE
10214 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10215 This yields a more-accurate answer.
10216 (rng-time-to-float): Remove; no longer needed.
10217
fe955043
PE
10218 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10219
5777162a
PE
10220 * calendar/timeclock.el (timeclock-seconds-to-time):
10221 Defalias to seconds-to-time, since they're the same thing.
10222
3103f8b6 10223 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10224 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10225 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10226
0e61a35f
SM
102272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * window.el (bury-buffer): Don't iconify the only frame.
10230 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10231 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10232
ddd63a1e
CY
102332011-07-01 Chong Yidong <cyd@stupidchicken.com>
10234
0e61a35f
SM
10235 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10236 Add mouse-yank-primary.
ddd63a1e 10237
055f4923
TZ
102382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10239
10240 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10241
6a2fb145
SM
102422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10245 (find-library-name): Use it to find relative load names when provided
10246 absolute file name (bug#8803).
10247
fd4983f2
LMI
102482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10249
887d14ad
LMI
10250 * textmodes/flyspell.el (flyspell-word): Consider words that
10251 differ only in case as potential doublons (bug#5687).
10252
c53dc7fc
LMI
10253 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10254 Remove two rather uninteresting debugging-like messages to make
10255 debbugs.el more silent.
10256
fd4983f2
LMI
10257 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10258 a password-like phrase.
10259
7a71b18d 102602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10261
10262 * progmodes/cc-guess.el: New file.
10263
6a2fb145 10264 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10265
10266 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10267 derived from `c-basic-common-init'.
10268
10269 * progmodes/cc-mode.el (top-level): Require cc-guess.
10270 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10271
1fa280a3
LM
102722011-06-30 Lawrence Mitchell <wence@gmx.li>
10273
10274 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10275
e6597158
AM
102762011-06-30 Alan Mackenzie <acm@muc.de>
10277
1fa280a3
LM
10278 * progmodes/cc-engine.el (c-guess-continued-construct):
10279 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10280 lock is disabled. Name this case as "CASE G".
10281
68ba37fb
KM
102822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10283
10284 * allout.el (allout-yank-processing): Fix injection of extra space
10285 between bullet and non-whitespace character in first topic when
10286 pasting, ensuring that the actual spacing in the pasted topic
10287 following the bullet char is preserved. This extra space was
10288 causing pasted encrypted topics to get a decrypted status even
10289 when the content was actually still encrypted. Now the decryption
10290 status from before the paste is preserved.
10291
10292 (allout-flag-region): Set all allout overlays so they evaporate
10293 when reduced to zero length (evanescent), to prevent overlay
10294 leakage.
10295
887a0b34
GM
102962011-06-30 Glenn Morris <rgm@gnu.org>
10297
94b9acce
GM
10298 * w32-fns.el (w32-charset-info-alist): Declare.
10299
1d9b46d4
GM
10300 * find-dired.el (find-grep-options): Simplify.
10301
cc232200
GM
10302 * term/ns-win.el (ns-set-resource): Declare.
10303
28e77c46
GM
10304 * ses.el (row, col): Declare dynamic variables honestly.
10305
887a0b34
GM
10306 * textmodes/reftex-parse.el (index-tags): Declare.
10307
658d8eb8
CY
103082011-06-30 Chong Yidong <cyd@stupidchicken.com>
10309
10310 * cus-edit.el (customize-push-and-save): New function.
10311
10312 * files.el (hack-local-variables-confirm): Use it.
10313
1fa280a3
LM
10314 * custom.el (load-theme): New arg NO-CONFIRM.
10315 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10316 (custom-enabled-themes): Doc fix.
10317
10318 * cus-theme.el (customize-create-theme)
10319 (custom-theme-merge-theme): Callers to load-theme changed.
10320
bb617717
LMI
103212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10322
d61bdd5d
LMI
10323 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10324 short URLs have at least one dot in them (bug #7614).
10325
bb617717
LMI
10326 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10327 nil, because using a pty is apparently too slow (bug #895).
10328
2f31f37a
LMI
103292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330
10331 * mail/sendmail.el (sendmail-query-once): New function.
10332 (sendmail-query-once-function): New variable.
10333
3076b24e
GM
103342011-06-29 Glenn Morris <rgm@gnu.org>
10335
faf2a174
GM
10336 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10337
3076b24e
GM
10338 * ses.el (top-level): Require cl when compiling.
10339 (ses-set-localvars): Fix error statement.
10340 Call it at compile time to silence a storm of warnings.
10341
5386012d
MR
103422011-06-29 Martin Rudalics <rudalics@gmx.at>
10343
10344 * window.el (normalize-live-buffer): Rename to
10345 window-normalize-buffer.
10346 (normalize-live-frame): Rename to window-normalize-frame.
10347 (normalize-any-window): Rename to window-normalize-any-window.
10348 (normalize-live-window): Rename to window-normalize-live-window.
10349 (make-window-atom): Rename to window-make-atom.
10350 (window-resize-reset): Rename to window--resize-reset.
10351 (window-resize-reset-1): Rename to window--resize-reset-1.
10352 (resize-mini-window): Rename to window--resize-mini-window.
10353 (resize-subwindows-skip-p): Rename to
10354 window--resize-subwindows-skip-p.
10355 (resize-subwindows-normal): Rename to
10356 window--resize-subwindows-normal.
10357 (resize-subwindows): Rename to window--resize-subwindows.
10358 (resize-other-windows): Rename to window--resize-siblings.
10359 (resize-this-window): Rename to window--resize-this-window.
10360 (resize-root-window): Rename to window--resize-root-window.
10361 (resize-root-window-vertically): Rename to
10362 window--resize-root-window-vertically.
10363 (normalize-buffer-to-display): Rename to
10364 window-normalize-buffer-to-display.
10365 (normalize-buffer-to-switch-to): Rename to
10366 window-normalize-buffer-to-switch-to.
10367 Correspondingly update all callers of the functions listed
10368 above.
10369 (display-buffer-alist, display-buffer-normalize-arguments)
10370 (display-buffer-normalize-options, display-buffer)
10371 (display-buffer-alist-set): Use "function" instead of
10372 "fun-with-args".
10373
1176868d
CY
103742011-06-28 Chong Yidong <cyd@stupidchicken.com>
10375
10376 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10377 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10378 debbugs.gnu.org. Mention acknowledgment email.
10379
20a7a65f
LMI
103802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10381
10382 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10383 buffer multibyteness, since it shouldn't matter.
10384
5f45cca5
MR
103852011-06-28 Martin Rudalics <rudalics@gmx.at>
10386
10387 * window.el (display-buffer-in-side-window): Handle dedicated
10388 windows as in display-buffer-reuse-window.
10389 (display-buffer-normalize-alist): Use value of override
10390 specifier.
10391 (display-buffer-normalize-specifiers): Use value of
10392 other-window-means-other-frame specifier.
10393 (display-buffer-alist): Rewrite some texts in widgets.
10394 (display-buffer): Spread arguments when calling function
10395 specified by fun-with-args.
10396
ad85fe1f
DD
103972011-06-28 Deniz Dogan <deniz@dogan.se>
10398
1fa280a3
LM
10399 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10400 Unnest `let'.
da68c4c8 10401
ad85fe1f
DD
10402 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10403 selectors (Bug#5732).
ec49bd31 10404 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10405
a08cc025
JA
104062011-06-27 Jari Aalto <jari.aalto@cante.net>
10407
10408 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10409 (eshell-ls-date-format): New defcustom.
10410 (eshell-ls-file): Use it.
10411
e2b551c5
SM
104122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10415
8982b231
KY
104162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10417
10418 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10419 (ange-ftp-make-tmp-name): New arg.
10420 (ange-ftp-file-local-copy): Use it.
10421
36c9fa27
J
104222011-06-27 Jambunathan K <kjambunathan@gmail.com>
10423
10424 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10425 no-conversion (Bug#8870).
10426
d68443dc
MR
104272011-06-27 Martin Rudalics <rudalics@gmx.at>
10428
10429 * window.el (window-right, window-left, window-child)
10430 (window-child-count, window-last-child)
10431 (window-iso-combination-p, walk-window-tree-1)
10432 (window-atom-check-1, window-tree-1, delete-window)
10433 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10434 new naming conventions - window-vchild, window-hchild,
10435 window-next and window-prev are now called window-top-child,
10436 window-left-child, window-next-sibling and window-prev-sibling
10437 respectively.
d615d6d2
MR
10438 (resize-window-reset): Rename to window-resize-reset.
10439 (resize-window-reset-1): Rename to window-resize-reset-1.
10440 (resize-window): Rename to window-resize.
10441 (window-min-height, window-min-width)
10442 (resize-mini-window, resize-this-window, resize-root-window)
10443 (resize-root-window-vertically, adjust-window-trailing-edge)
10444 (enlarge-window, shrink-window, maximize-window)
10445 (minimize-window, delete-window, quit-restore-window)
10446 (split-window, balance-windows, balance-windows-area-adjust)
10447 (balance-windows-area, window-state-put-2)
10448 (display-buffer-even-window-sizes, display-buffer-set-height)
10449 (display-buffer-set-width, set-window-text-height)
10450 (fit-window-to-buffer): Rename all "resize-window" prefixed
10451 calls to use the "window-resize" prefix convention.
10452 (display-buffer-alist): Fix symbol for label specifier.
10453 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10454 corresponding specifier.
10455 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10456
b6458526
VB
104572011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10458
10459 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10460 convention.
10461 (ses-call-printer): Does not pass an empty string to formatter when the
10462 cell is empty to keep from barking printer Calc math-format-value.
10463
d31fd9ac
RS
104642011-06-27 Richard Stallman <rms@gnu.org>
10465
43d5bf84
RS
10466 * battery.el (battery-mode-line-limit): New variable.
10467 (battery-update): Handle it.
10468
d31fd9ac
RS
10469 * mail/rmailmm.el (rmail-mime-process-multipart):
10470 Handle truncated messages.
10471
819a6054
GM
104722011-06-27 Glenn Morris <rgm@gnu.org>
10473
10474 * progmodes/flymake.el (flymake-err-line-patterns):
10475 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10476
cedc73f2
VB
104772011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10478
819a6054 10479 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10480 (ses--clean-!, ses--clean-_): New functions.
10481 (ses-range): Add configurability of readout order, and conversion
10482 to Calc vector.
10483
5e5d49b6
VB
10484 * ses.el (ses-repair-cell-reference-all): New function.
10485 (ses-cell-symbol): Set macro as safe, so that it can be used in
10486 formulas.
10487
56e6cc31 10488 * ses.el: Update cycle detection algorithm.
90ca8b49 10489 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10490 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10491 (ses-set-localvars): New function.
10492 (ses-make-cell): Add property-list as a cell element.
10493 (ses-cell-property-get-fun, ses-cell-property-get)
10494 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10495 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10496 New functions.
90ca8b49
VB
10497 (ses-cell-property-set, ses-cell-property-pop)
10498 (ses-cell-property-get-handle): New macro.
10499 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10500 New aliases, used for code readability.
10501 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10502 cycle detection.
10503 (ses-self-reference-early-detection): New defcustom.
fac916bf 10504 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10505 (ses-mode): Use ses-set-localvars.
10506 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10507 before lauching the update processing.
10508 (ses-initialize-Dijkstra-attempt): New function.
10509 (ses-recalculate-cell): Update for cycle detection based on
10510 Dijkstra algorithm.
10511
2bb63e81
VB
10512 * ses.el: Fix commenting and indenting convention.
10513
c9d29fb8
SM
105142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * bs.el (bs-cycle-next): Complete last change.
10517
d8e4b68b
JB
105182011-06-27 Drew Adams <drew.adams@oracle.com>
10519
10520 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10521
40098786
LMI
105222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
c9d29fb8
SM
10524 * net/network-stream.el (network-stream-open-starttls):
10525 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10526 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10527
40098786
LMI
10528 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10529 to binary to possibly avoid line encoding issues on Windows (among
10530 other things).
10531
468d09d4
LMI
105322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10533
10534 * net/network-stream.el (open-network-stream): Return an :error
10535 saying what the problem was, if possible.
10536
10537 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10538 server.
10539
10540 * net/network-stream.el (network-stream-open-starttls): If we
10541 wanted to use STARTTLS, and the server offered it, but we weren't
10542 able to because we had no STARTTLS support, then close the connection.
10543 (open-network-stream): Return an :error element, if present.
10544
16f07dd7
CY
105452011-06-26 Chong Yidong <cyd@stupidchicken.com>
10546
88821ca0
CY
10547 * hl-line.el (hl-line-sticky-flag): Doc fix.
10548 (global-hl-line-sticky-flag): New option (Bug#8323).
10549 (global-hl-line-highlight): Obey it.
10550
16f07dd7
CY
10551 * vc/vc.el (vc-revert-show-diff): Default to t.
10552
6b5ccddf
KM
105532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10554
c9d29fb8
SM
10555 * allout-widgets.el (allout-widgets-post-command-business):
10556 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10557 undecorated when an isearch is continued past, and isearch
10558 automatically collapses them. This leads to "widget leaks", where
10559 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10560 hidden widgets can slow down cursor travel, substantially.
10561 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10562 so we're doing without this nicety.
10563
10564 (allout-widgets-tally-string): Don't try to do a hash-table-count
10565 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10566 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10567 *Messages* when allout-widgets-maintain-tally is t.
10568
355f2e07
MR
105692011-06-26 Martin Rudalics <rudalics@gmx.at>
10570
10571 * window.el (display-buffer-normalize-argument): Rename to
10572 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10573 LABEL argument. Respect special-display-function when popping up
10574 a new frame. Fix code searching for a window showing the buffer
10575 on another frame.
c9d29fb8
SM
10576 (display-buffer-normalize-specifiers):
10577 Call display-buffer-normalize-arguments.
355f2e07
MR
10578 (display-buffer-in-window): Don't undedicate the window if its
10579 buffer remains the same.
10580 Reported by Drew Adams <drew.adams@oracle.com>.
10581 (display-buffer-alist): Add choice for same-window macro
10582 specfier.
10583 (display-buffer): Mention special meaning of LABEL argument in
10584 doc-string. Fix quoting. Don't pop up a new frame even as
10585 fallback.
10586
7ca8fc42
JB
105872011-06-26 Juanma Barranquero <lekktu@gmail.com>
10588
10589 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10590 avoid deleting the current window in some cases (bug#8911).
10591
bc312254
AS
105922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10593
10594 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10595 (Bug#8934)
10596
2db18f3f
LMI
105972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10598
c9d29fb8
SM
10599 * net/network-stream.el (network-stream-open-starttls):
10600 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10601 (network-stream-open-tls): Ditto.
10602
6302e0d3
LL
106032011-06-26 Leo Liu <sdl.web@gmail.com>
10604
10605 * register.el (registerv): New struct.
10606 (registerv-make): New function.
c9d29fb8
SM
10607 (jump-to-register, describe-register-1, insert-register):
10608 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10609 struct. (Bug#8415)
10610
5fdd4046
CY
106112011-06-26 Chong Yidong <cyd@stupidchicken.com>
10612
2afef60a
CY
10613 * vc/vc.el (vc-revert-show-diff): New defcustom.
10614 (vc-diff-internal): New arg specifying diff buffer.
10615 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10616 reuse an existing *vc-diff* buffer (Bug#8927).
10617
5fdd4046
CY
10618 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10619
e93db24a
GM
106202011-06-26 Glenn Morris <rgm@gnu.org>
10621
10622 * progmodes/f90.el (f90-critical-indent): New option.
10623 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10624 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10625 (f90-mode): Doc fix.
10626 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10627 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10628 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10629 (f90-match-end): Handle block, critical.
10630
eefff499
GM
106312011-06-25 Glenn Morris <rgm@gnu.org>
10632
f6ba4cc9
GM
10633 * calendar/diary-lib.el (diary-included-files): Doc fix.
10634 (diary-include-files): New function, extracted from
10635 diary-include-other-diary-files and diary-mark-included-diary-files.
10636 (diary-include-other-diary-files, diary-mark-included-diary-files):
10637 Just call diary-include-files.
10638 (diary-mark-entries): Reset diary-included-files on first call.
10639
16712304
GM
10640 * calendar/diary-lib.el (diary-mark-entries)
10641 (diary-mark-included-diary-files):
10642 Visit included diary-files in temp buffers.
10643
5d8e0d43
GM
10644 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10645 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10646 (f90-start-block-re, f90-imenu-generic-expression)
10647 (f90-looking-at-program-block-start, f90-no-block-limit):
10648 Add support for submodules.
10649
ccf7a5d5
GM
10650 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10651 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10652
11fdef7d 106532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10654
10655 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10656 buffer-file-type before setting its value, to avoid disastrous
eefff499 10657 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10658
74f53697
JB
106592011-06-25 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10662
10663 * ses.el (ses-unload-function):
10664 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10665
10666 * proced.el (proced-unload-function):
10667 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10668
18a4ce5e
AR
106692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10670
10671 * server.el (server-create-window-system-frame): Add parameters arg.
10672 (server-process-filter): Doc fix. Handle frame-parameters.
10673
519d22cc
JB
106742011-06-25 Juanma Barranquero <lekktu@gmail.com>
10675
10676 Fix bug#8730, bug#8781.
10677
10678 * loadhist.el (unload--set-major-mode): New function.
10679 (unload-feature): Use it.
10680
10681 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10682 (python-unload-function): New function.
10683
c206f5b0
SM
106842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10687
f9ad64f3
GS
106882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10689
10690 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10691 the candidates list.
10692
7d0da90e
JB
106932011-06-24 Juanma Barranquero <lekktu@gmail.com>
10694
10695 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10696
14b4e83d
RS
106972011-06-23 Richard Stallman <rms@gnu.org>
10698
10699 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10700 (rmail-variables): Set next-error-move-function.
10701 (rmail-what-message): Take argument POS.
10702 (rmail-next-error-move): New function.
10703
273d2baf
SM
107042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10707 messages for adjacent non-terminals.
10708
56c2cc9a
RS
107092011-06-23 Richard Stallman <rms@gnu.org>
10710
10711 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10712 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10713 (rmail-start-mail): Don't specify use of rmail-mail-return;
10714 that's done by mail-bury now.
10715 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10716
d59eb518
MA
107172011-06-23 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10720 SIZE is a number.
10721
02cfc6d6
MR
107222011-06-23 Martin Rudalics <rudalics@gmx.at>
10723
10724 * window.el (get-lru-window, get-mru-window)
10725 (get-largest-window): Never return a minibuffer window.
10726 (display-buffer-pop-up-window): Fix a bug that could lead to
10727 reusing the minibuffer window.
10728 (display-buffer): Pass original specifier argument to
10729 display-buffer-function instead of the normalized one.
10730 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10731
4e323265
LL
107322011-06-22 Leo Liu <sdl.web@gmail.com>
10733
10734 * minibuffer.el (completing-read-function)
10735 (completing-read-default): Move from minibuf.c
10736
7a70468f
RS
107372011-06-22 Richard Stallman <rms@gnu.org>
10738
50718fc2
RS
10739 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10740 to Rmail even if not started by a special Rmail command.
10741
7a70468f
RS
10742 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10743 Copy the buffer currently showing just one message.
10744
297dde5a
RW
107452011-06-22 Roland Winkler <winkler@gnu.org>
10746
10747 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10748 (bibtex-clean-entry): First delete the old key so that a
10749 customized algorithm for generating the new key does not get
10750 confused by the old key.
10751 (bibtex-url): Obey regexp of first step.
10752 (bibtex-search-entries): Do not use add-to-list with local
10753 list-var.
10754
97bb1093
LMI
107552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10756
10757 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10758 stored a user name, then query for the password first, instead of
10759 waiting for SMTP to give an error message and the trying again.
10760
1c0f1a19
JD
107612011-06-22 Lawrence Mitchell <wence@gmx.li>
10762
10763 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10764 BUFFER in call-process.
10765
396f7c9d
LMI
107662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10767
10768 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10769 QUIT twice.
ddb7ffee
LMI
10770 (smtpmail-try-auth-methods): Require user name and password from
10771 auth-source.
396f7c9d 10772
8998d1b3
MR
107732011-06-22 Martin Rudalics <rudalics@gmx.at>
10774
10775 * window.el (display-buffer-default-specifiers)
10776 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10777 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10778 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10779
10780 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10781 (special-display-frame-alist, special-display-popup-frame):
10782 Remove duplicate declarations. These are now in window.el.
10783
4ea31e07
LMI
107842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10785
c9d29fb8
SM
10786 * mail/smtpmail.el (smtpmail-via-smtp):
10787 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10788 server supports it. SMTP servers that support STARTTLS commonly
10789 require it.
10790
10791 * net/network-stream.el (network-stream-open-starttls): Support
10792 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10793 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10794
95f41d9a
LMI
10795 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10796 upgrades with `open-network-stream', and rely solely on
10797 auth-source for all credentials. Big changes throughout the file,
10798 but in particular:
c9d29fb8
SM
10799 (smtpmail-auth-credentials): Remove.
10800 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10801 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10802 MAIL FROM, too.
95f41d9a 10803
c9d29fb8
SM
10804 * net/network-stream.el (network-stream-open-starttls):
10805 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10806 STARTTLS.
10807 (auth-source): Require.
10808 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10809 (network-stream-certificate): Change cert-cert to cert and
10810 cert-key to key.
4ea31e07 10811
065ec2c7
MA
108122011-06-21 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * net/tramp-cache.el (top): Don't load the persistency file when
10815 "emacs -Q" has been called.
10816
cd93b359
DR
108172011-06-21 Tim Harper <timcharper@gmail.com>
10818
d8e4b68b
JB
10819 * term/ns-win.el (ns-initialize-window-system):
10820 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10821 resource to NO as it is not yet supported by the NS port.
10822
ae9c0411
JB
108232011-06-21 Juanma Barranquero <lekktu@gmail.com>
10824
10825 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10826 (list-dynamic-libraries): ...not here.
10827
7f3f739f
LL
108282011-06-21 Leo Liu <sdl.web@gmail.com>
10829
10830 * subr.el (sha1): Implement sha1 using secure-hash.
10831
327c8fb1
MR
108322011-06-21 Martin Rudalics <rudalics@gmx.at>
10833
10834 * window.el (display-buffer-alist): In default value do not
10835 enforce searching a window on any but the selected frame.
10836 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10837 (display-buffer-select-window): Remove function.
10838 (display-buffer-in-window): When a window on another frame gets
10839 reused, do not select it any more but just raise its frame if
10840 necessary (Bug#8851) and (Bug#8856).
10841 (display-buffer-normalize-options): Handle pop-up-frames related
10842 options more faithfully.
10843 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10844 window if it is on another frame.
c9d29fb8
SM
10845 (display-buffer-alist, display-buffer-default-specifiers):
10846 Don't make new frame unsplittable by default.
9e9de014
MR
10847 (display-buffer-normalize-argument): Fix doc-string typo and use
10848 'same-frame-other-window instead of 'other-window when associating
10849 with display-buffer-macro-specifiers.
327c8fb1 10850
7cf3f556
VB
108512011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10852
10853 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10854 New functions.
10855 (5x5-mode-map, 5x5-mode-menu): Bind them.
10856 (5x5-draw-grid): Tweak the solver's rendering.
10857
60a406cf
SM
108582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10861 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10862
d8e4b68b 108632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10864
10865 * menu-bar.el: Use function variable instead of switch-to-buffer.
10866 (menu-bar-select-buffer-function): New variable.
60a406cf 10867 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10868
478d6f95
SM
108692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10872 variable's status.
10873
ca530739
JD
108742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10875
10876 * x-dnd.el (x-dnd-version-from-flags)
10877 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10878 and long as number (Bug#8899).
10879 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10880
bcd70d97
SM
108812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10882
60a406cf 10883 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10884 (completion-try-completion, completion-all-completions): Compute the
10885 metadata argument if it's missing; make it optional (bug#8795).
10886
60a406cf 10887 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10888 (widget-complete): Use new :completion-function property.
10889 (widget-completions-at-point): New function.
10890 (default): Use :completion-function instead of :complete.
60a406cf
SM
10891 (widget-default-completions): Rename from widget-default-complete;
10892 Rewrite.
bcd70d97
SM
10893 (widget-string-complete, widget-file-complete, widget-color-complete):
10894 Remove functions.
10895 (file, symbol, function, variable, coding-system, color):
10896 * international/mule-cmds.el (default-input-method, charset)
10897 (language-info-custom-alist):
10898 * cus-edit.el (face): Use new property :completions.
10899
10900 * progmodes/pascal.el (pascal-completions-at-point): New function.
10901 (pascal-mode): Use it.
10902 (pascal-mode-map): Use completion-at-point.
10903 (pascal-toggle-completions): Make obsolete.
10904 (pascal-complete-word, pascal-show-completions):
10905 * progmodes/octave-mod.el (octave-complete-symbol):
10906 Redefine as obsolete alias.
10907 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10908 Signal absence of completion info for old Octave,
10909 (inferior-octave-complete): Redefine as obsolete alias.
10910 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10911 (meta-completions-at-point): Rename from meta-complete-symbol and
10912 adapt it for use on completion-at-point-functions.
10913 (meta-common-mode): Use it.
10914 (meta-looking-at-backward, meta-match-buffer): Remove.
10915 (meta-complete-symbol): Redefine as obsolete alias.
10916 (meta-common-mode-map): Use completion-at-point.
10917 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10918 (makefile-mode-map): Use completion-at-point.
10919 (makefile-completions-at-point): Rename from makefile-complete and
10920 adapt it for use on completion-at-point-functions.
10921 (makefile-mode): Use it.
10922 (makefile-complete): Redefine as obsolete alias.
10923
aebf69c8
DD
109242011-06-20 Deniz Dogan <deniz@dogan.se>
10925
10926 * net/rcirc.el: Delete trailing whitespaces once and for all.
10927
bfbbb27d
DC
109282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10929
10930 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10931
d264a46b
CY
109322011-06-19 Chong Yidong <cyd@stupidchicken.com>
10933
4ca009e5
CY
10934 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10935
d264a46b
CY
10936 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10937
fbf5b3ce
MR
109382011-06-19 Martin Rudalics <rudalics@gmx.at>
10939
10940 * window.el (display-buffer-other-window-means-other-frame):
10941 Call display-buffer-normalize-alist.
10942 (display-buffer-normalize-specifiers-1): Rename to
10943 display-buffer-normalize-argument. New argument other-frame.
10944 Rewrite.
10945 (display-buffer-normalize-specifiers-2): Rename to
10946 display-buffer-normalize-options.
10947 (display-buffer-normalize-alist-1): New function.
10948 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10949 display-buffer-normalize-alist.
10950 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10951 (display-buffer-normalize-options-inhibit): New variable.
10952 (display-buffer-normalize-specifiers): Rewrite calling
10953 display-buffer-normalize-alist,
10954 display-buffer-normalize-argument, and
10955 display-buffer-normalize-options. Don't call the latter if
10956 display-buffer-normalize-options-inhibit is non-nil.
10957 (frame-auto-delete): New option.
10958 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10959 (window-list-no-nils, window-state-ignored-parameters)
10960 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10961 (window-state-put-1, window-state-put-2, window-state-put):
10962 New functions.
9a028c23
MR
10963 (display-buffer-normalize-options): Move special-display-p group
10964 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10965
6d10d800
CY
109662011-06-18 Chong Yidong <cyd@stupidchicken.com>
10967
6420d28b
CY
10968 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10969 groups (Bug#8776).
10970 (rx-submatch-n): New function.
10971 (rx): Document it.
10972
ddb8b596
CY
10973 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10974 (Bug#8768).
10975
10976 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10977
77080289
CY
10978 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10979
61dfb316
CY
10980 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10981 anytime existing face settings are present (Bug#8889).
10982
6d10d800
CY
10983 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10984 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10985 Remove unused argument.
10986
be3fb2b8
MR
109872011-06-18 Martin Rudalics <rudalics@gmx.at>
10988
bcd70d97
SM
10989 * window.el (display-buffer-default-specifiers):
10990 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10991 pop-up-window-min-width, and another reuse-window specifier
10992 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10993 (display-buffer-normalize-specifiers-2):
10994 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10995 pop-up-windows is unset. Add a reuse-window specifier for the
10996 case popping up a new window fails.
10997 (special-display-popup-frame): Remove double quoting.
28dec25a 10998 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10999
1c6d8c76
SM
110002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11003 according to comint-completion-addsuffix.
11004
11005 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11006 (pcomplete-suffix-list): Mark as obsolete.
11007 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11008 pcomplete-seen in the closure.
11009 (pcomplete-comint-setup): Setup completion-at-point as well.
11010 (pcomplete--entries): New function.
11011 (pcomplete--env-regexp): New var.
11012 (pcomplete-entries): Rewrite to work with partial-completion and
11013 without relying on pcomplete-suffix-list.
11014 (pcomplete-pare-list): Remove, unused.
11015
25aef8b8
MR
110162011-06-17 Martin Rudalics <rudalics@gmx.at>
11017
11018 * window.el (display-buffer-alist): Set pop-up-window-min-height
11019 and pop-up-window-min-width in default value. Reported by
11020 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11021 other-window-means-other-frame.
11022 (display-buffer-macro-specifiers): Comment out entry for
11023 other-window specifier.
11024 (display-buffer-other-window-means-other-frame): New function.
11025 (display-buffer-normalize-specifiers-1): New arguments
11026 buffer-name and label. Treat other-window case specially.
11027 (display-buffer-normalize-specifiers-2): Treat other-window case
11028 specially.
11029 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11030 (display-buffer-normalize-specifiers):
11031 Call display-buffer-normalize-specifiers-3.
25aef8b8 11032
dbad4f69
MR
110332011-06-17 Martin Rudalics <rudalics@gmx.at>
11034
11035 * window.el (same-window-p): Fix two typos introduced when
11036 adding with-no-warnings.
d1067961
MR
11037 (display-buffer-normalize-specifiers-1): Don't check
11038 pop-up-frames for 'unset initialization.
11039 (display-buffer-normalize-specifiers-2): Major rewrite using
11040 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11041 (pop-up-frames, display-buffer-reuse-frames)
11042 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11043 Suggested by David Engster <deng@randomsample.de>.
11044 (even-window-heights): Initialize to 'unset.
11045 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11046 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11047 other window case.
dbad4f69 11048
9b9c9e3a
MR
110492011-06-16 Martin Rudalics <rudalics@gmx.at>
11050
bcd70d97
SM
11051 * window.el (display-buffer-normalize-specifiers-1):
11052 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11053 second argument of display-buffer (Bug#8865).
981d5c09
MR
11054 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11055 (switch-to-buffer-other-window-same-frame)
11056 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11057 Adams (Bug#8875).
9c2755e9
MR
11058 (display-buffer): Don't check noninteractive when calling
11059 display-buffer-pop-up-frame.
11060 (display-buffer-pop-up-frame): Never pop up a frame in
11061 noninteractive mode (Bug#8857).
67222e1d
MR
11062 (enlarge-window, shrink-window): Don't report an error when the
11063 window can't be resized as requested (Bug#8862).
9b9c9e3a 11064
2b75be67
SM
110652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11066
9ffdd3ba
SM
11067 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11068
cb581a67
SM
11069 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11070
2b75be67
SM
11071 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11072
8c0e3589
AM
110732011-06-15 Alan Mackenzie <acm@muc.de>
11074
cb581a67
SM
11075 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11076 for declarators, disable knr checking to speed up for normal files.
11077 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11078
b96e6cde
LMI
110792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11080
4bba86e6
LMI
11081 * net/network-stream.el (open-network-stream): Add the keyword
11082 :always-query-capabilities for the case where you want to force a
11083 `plain' network connection, but the protocol still requires the
11084 capabilitiy command (i.e., SMTP and EHLO).
11085
2b75be67 11086 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11087 consistency with other `-live-p' functions.
11088
efdcdbf8
SM
110892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * window.el (same-window-buffer-names, same-window-regexps)
11092 (special-display-frame-alist, special-display-popup-frame)
11093 (special-display-function, special-display-buffer-names)
11094 (special-display-regexps, pop-up-frame-alist)
11095 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11096 (pop-up-windows, split-window-preferred-function)
11097 (split-height-threshold, split-width-threshold, even-window-heights)
11098 (display-buffer-mark-dedicated): Don't encourage the use of
11099 display-buffer-alist from Elisp code.
11100
c5cde042
DN
111012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11102
11103 * progmodes/python.el (python-mode): Derive from prog-mode.
11104 * progmodes/ps-mode.el (ps-mode):
11105 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11106 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11107 * progmodes/ld-script.el (ld-script-mode): Likewise.
11108
baa1c9ab
MR
111092011-06-15 Martin Rudalics <rudalics@gmx.at>
11110
11111 * window.el (display-buffer-alist): Trim default value to avoid
11112 popping up a new frame (Bug#8857) or reusing an arbitrary window
11113 on another frame.
11114 (display-buffer): Do not fall back on popping up a new frame in
11115 batch mode (Bug#8857).
11116
c5dd5a51
CY
111172011-06-14 Chong Yidong <cyd@stupidchicken.com>
11118
11119 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11120 (custom-theme-summary): New function.
11121 (customize-themes): Use it.
11122
d647b7c4
GM
111232011-06-13 Glenn Morris <rgm@gnu.org>
11124
11125 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11126
9481c002
MR
111272011-06-13 Martin Rudalics <rudalics@gmx.at>
11128
357f93d2
MR
11129 * help.el (help-window): Remove variable.
11130 (help-window-point-marker, temp-buffer-max-height)
11131 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11132 (help-print-return-message): Don't set help-window.
11133 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11134 (help-window-setup-finish): Remove.
11135 (help-window-display-message, help-window-setup)
11136 (with-help-window): Major rewrite based on new
11137 display-buffer-window variable.
11138
11139 * help-mode.el (help-mode-finish): Remove help-window related
11140 code.
11141
11142 * view.el (view-exits-all-viewing-windows): Remove reference to
11143 view-return-to-alist in doc-string.
11144 (view-return-to-alist): Make obsolete.
11145 (view-buffer): Call pop-to-buffer-same-window and remove
11146 undo-window code.
11147 (view-buffer-other-window): Call pop-to-buffer-other-window and
11148 simplify code. Ignore second argument.
11149 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11150 simplify code. Ignore second argument.
11151 (view-return-to-alist-update): Make obsolete.
11152 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11153 Rewrite using quit-restore window parameters.
2b75be67
SM
11154 (view-mode-exit): Rename second argument to EXIT-ONLY.
11155 Rewrite using quit-restore-window.
357f93d2
MR
11156 (View-exit, View-exit-and-edit, View-leave, View-quit)
11157 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11158 appropriate arguments.
11159 (view-end-message): Use quit-restore window parameter.
11160
9481c002
MR
11161 * window.el (display-buffer-function): Rewrite doc-string.
11162 (display-buffer-window, display-buffer-alist): New variables.
11163 (display-buffer-split-specifiers)
11164 (display-buffer-side-specifiers)
11165 (display-buffer-macro-specifiers): New constants.
11166 (display-buffer-even-window-sizes, display-buffer-set-height)
11167 (display-buffer-set-width, display-buffer-select-window)
11168 (display-buffer-in-window, display-buffer-reuse-window)
11169 (display-buffer-split-window-1, display-buffer-split-window)
11170 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11171 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11172 (display-buffer-in-side-window, normalize-buffer-to-display)
11173 (display-buffer-normalize-specifiers-1)
11174 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11175 (display-buffer-normalize-specifiers, display-buffer-frame):
11176 New functions.
9481c002
MR
11177 (display-buffer): Major rewrite.
11178 (display-buffer-other-window, display-buffer-other-frame)
11179 (pop-to-buffer, switch-to-buffer-other-window)
11180 (switch-to-buffer-other-frame): Rewrite.
11181 (display-buffer-same-window, display-buffer-same-frame)
11182 (display-buffer-same-frame-other-window)
11183 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11184 (pop-to-buffer-other-window)
11185 (pop-to-buffer-same-frame-other-window)
11186 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11187 (switch-to-buffer-other-window-same-frame): New functions.
11188 (same-window-p, special-display-p): Rewrite disabling warnings.
11189 Make obsolete.
11190 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11191 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11192 Make obsolete
11193 (same-window-buffer-names, same-window-regexps)
11194 (special-display-frame-alist, special-display-popup-frame)
11195 (special-display-function, special-display-buffer-names)
11196 (special-display-regexps, pop-up-frame-alist)
11197 (pop-up-frame-function, split-window-preferred-function)
11198 (split-height-threshold, split-width-threshold)
11199 (even-window-heights): Make obsolete.
11200
9db51aca
GM
112012011-06-12 Glenn Morris <rgm@gnu.org>
11202
11203 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11204 Misc simplifications.
9db51aca 11205
39cffb44
MR
112062011-06-12 Martin Rudalics <rudalics@gmx.at>
11207
11208 * window.el (window-safely-shrinkable-p): Restore function which
11209 was inadvertently removed in change from 2011-06-11. Declare as
11210 obsolete.
11211
2b75be67
SM
11212 * calendar/calendar.el (calendar-generate-window):
11213 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11214 window-safely-shrinkable-p.
11215
a8955be7
GM
112162011-06-12 Glenn Morris <rgm@gnu.org>
11217
11218 * progmodes/fortran.el (fortran-mode-syntax-table):
11219 * progmodes/f90.el (f90-mode-syntax-table):
11220 Set % to punctuation. (Bug#8820)
11221 (f90-find-tag-default): Remove, no longer needed.
11222
f0d4059d
DC
112232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11224
11225 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11226
1100a63c
CY
112272011-06-11 Chong Yidong <cyd@stupidchicken.com>
11228
11229 * image.el (image-animated-p): Return animation delay in seconds.
11230 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11231 (image-animate-timeout): Remove DELAY argument. Don't assume
11232 every subimage has the same delay; get it from image-animated-p.
11233 (image-animate): Caller changed.
11234
def722bf
MA
112352011-06-11 Michael Albinus <michael.albinus@gmx.de>
11236
11237 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11238 to ignored backtrace functions.
11239
0a2bb1a9
GM
112402011-06-11 Glenn Morris <rgm@gnu.org>
11241
11242 * calendar/appt.el (appt-disp-window-function): Doc fix.
11243 (appt-check): Handle overlapping appointments. (Bug#8337)
11244
6198ccd0
MR
112452011-06-11 Martin Rudalics <rudalics@gmx.at>
11246
11247 * window.el (window-tree-1, window-tree): New functions, moving
11248 the latter to window.el.
11249 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11250 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11251 (bw-refresh-edges): Remove.
11252 (balance-windows-1, balance-windows-2): New functions.
11253 (balance-windows): Rewrite in terms of window tree functions,
11254 balance-windows-1 and balance-windows-2.
11255 (bw-adjust-window): Remove.
11256 (balance-windows-area-adjust): New function with functionality of
11257 bw-adjust-window but using resize-window.
2b75be67
SM
11258 (set-window-text-height): Rewrite doc-string.
11259 Use normalize-live-window and resize-window.
11260 (enlarge-window-horizontally, shrink-window-horizontally):
11261 Rename argument to DELTA.
6198ccd0
MR
11262 (window-buffer-height): New function.
11263 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11264 Rewrite using new window resize routines.
2b75be67
SM
11265 (kill-buffer-and-window, mouse-autoselect-window-select):
11266 Use ignore-errors instead of condition-case.
6198ccd0
MR
11267 (quit-window): Call delete-frame instead of delete-windows-on
11268 for the only buffer on frame.
11269
9397e56f
MR
112702011-06-10 Martin Rudalics <rudalics@gmx.at>
11271
11272 * loadup.el (top-level): Load window before files for the sake
11273 of replace-buffer-in-windows.
11274
11275 * files.el (read-buffer-to-switch)
11276 (switch-to-buffer-other-window)
2b75be67
SM
11277 (switch-to-buffer-other-frame, display-buffer-other-frame):
11278 Move to window.el.
9397e56f
MR
11279
11280 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11281 (previous-buffer): Move to window.el.
11282
11283 * bindings.el (unbury-buffer): Move to window.el.
11284
11285 * window.el (delete-other-windows-vertically): Move after
11286 definition of delete-other-windows.
11287 (other-window, delete-windows-on, replace-buffer-in-windows):
11288 Move here from window.c.
11289 (record-window-buffer, unrecord-window-buffer)
11290 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11291 (switch-to-next-buffer): New functions.
11292 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11293 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11294 (previous-buffer): Move here from simple.el.
11295 Call switch-to-prev-buffer.
9397e56f
MR
11296 (bury-buffer): Move here from buffer.c. Switch to previous
11297 buffer when window cannot be deleted.
11298 (unbury-buffer): Move here from bindings.el.
11299 (ctl-x-map): Move binding for other-window from window.c to
11300 here.
11301 (read-buffer-to-switch, switch-to-buffer-other-window)
11302 (switch-to-buffer-other-frame): Move here from files.el.
11303 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11304 (switch-to-buffer): Move here from buffer.c.
11305 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11306
562dd5e9
MR
113072011-06-10 Martin Rudalics <rudalics@gmx.at>
11308
11309 * window.el (window-min-height, window-min-width): Move here
11310 from window.c. Add defcustoms and rewrite doc-strings.
11311 (resize-mini-window, resize-window): New functions.
11312 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11313 Move here from window.c.
11314 (maximize-window, minimize-window): New functions.
11315 (delete-window, delete-other-windows, split-window): Move here
11316 from window.c.
11317 (window-split-min-size): New function.
11318 (split-window-keep-point): Mention split-window-above-each-other
11319 instead of split-window-vertically.
2b75be67 11320 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11321 Rename split-window-vertically to split-window-above-each-other
11322 and provide defalias for old definition.
11323 (split-window-side-by-side, split-window-horizontally):
11324 Rename split-window-horizontally to split-window-side-by-side
11325 and provide defalias for the old definition.
562dd5e9
MR
11326 (ctl-x-map): Move bindings for delete-window,
11327 delete-other-windows and enlarge-window here from window.c.
11328 Replace bindings for split-window-vertically and
11329 split-window-horizontally by bindings for
11330 split-window-above-each-other and split-window-side-by-side.
11331
11332 * cus-start.el (all): Remove entries for window-min-height and
11333 window-min-width. Add entries for window-splits and
11334 window-nest.
11335
f0da764a
GM
113362011-06-09 Glenn Morris <rgm@gnu.org>
11337
80675c21
GM
11338 * calendar/appt.el (appt-mode-line): New function.
11339 (appt-check, appt-disp-window): Use it.
11340
f0da764a
GM
11341 * files.el (hack-one-local-variable-eval-safep):
11342 Allow minor-modes with explicit +/-1 arguments.
11343
59f623b7
TZ
113442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11345
11346 * term/xterm.el (xterm): Add defgroup.
11347 (xterm-extra-capabilities): Add defcustom to supply known xterm
11348 capabilities, skip querying them, or query them (default).
11349 (terminal-init-xterm): Use it.
11350 (terminal-init-xterm-modify-other-keys): New function to set up
11351 modifyOtherKeys support to simplify `terminal-init-xterm'.
11352
9aab8e0d
MR
113532011-06-09 Martin Rudalics <rudalics@gmx.at>
11354
11355 * window.el (resize-window-reset, resize-window-reset-1)
11356 (resize-subwindows-skip-p, resize-subwindows-normal)
11357 (resize-subwindows, resize-other-windows, resize-this-window)
11358 (resize-root-window, resize-root-window-vertically)
11359 (window-deletable-p, window-or-subwindow-p)
11360 (frame-root-window-p): New functions.
11361
e8b08aee
GM
113622011-06-09 Glenn Morris <rgm@gnu.org>
11363
11364 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11365 (ange-ftp-get-files): Use it.
11366
254c37a5
AK
113672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11368
11369 * mail/sendmail.el (mail-recover-1, mail-recover):
11370 * files.el (recover-file, recover-session):
11371 Handle dired-listing-switches not being just a single short option.
11372
35d7dbd3
GM
113732011-06-09 Glenn Morris <rgm@gnu.org>
11374
11375 * calendar/appt.el (appt-display-message, appt-disp-window):
11376 Handle lists of appointments.
11377
387522b2
MR
113782011-06-08 Martin Rudalics <rudalics@gmx.at>
11379
2b75be67
SM
11380 * window.el (one-window-p): Move down in code.
11381 Rewrite doc-string.
11382 (window-current-scroll-bars): Rewrite doc-string.
11383 Normalize live window argument.
387522b2
MR
11384 (walk-windows, get-window-with-predicate, count-windows):
11385 Rewrite doc-string. Use window-list-1.
11386 (window-in-direction-2, window-in-direction, get-mru-window):
11387 New functions.
11388
d8e4b68b 113892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11390
11391 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11392 Doc fix (Bug#8713).
11393
113942011-06-08 Chong Yidong <cyd@stupidchicken.com>
11395
11396 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11397
113982011-06-08 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * loadhist.el (unload-feature-special-hooks):
11401 Add `comint-output-filter-functions'.
11402
0de12c52
IK
114032011-06-08 Ivan Kanis <gnu@kanis.fr>
11404
11405 * calendar/appt.el (appt-check): Move some initializations into the let.
11406
f3d1777e
MR
114072011-06-08 Martin Rudalics <rudalics@gmx.at>
11408
11409 * window.el (window-height): Defalias to window-total-height.
11410 (window-width): Defalias to window-body-width.
11411
18af70d0
CY
114122011-06-07 Chong Yidong <cyd@stupidchicken.com>
11413
11414 * image-mode.el (image-toggle-animation): New command.
11415 (image-mode-map): Bind it to RET.
11416 (image-mode): Update message.
11417 (image-toggle-display-image): Avoid a spurious cache flush.
11418 (image-transform-rotation): Doc fix.
11419 (image-transform-properties): Return quickly in the normal case.
11420 (image-animate-loop): Rename from image-animate-max-time.
11421
2b75be67 11422 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11423 (create-animated-image): Remove unnecessary function.
11424 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11425 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11426 (image-animate-timer): Use car-safe.
11427 (image-animate-timeout): Rename argument.
11428
190b47e6
MR
114292011-06-07 Martin Rudalics <rudalics@gmx.at>
11430
11431 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11432 window.c. Rename first argument to ALL-FRAMES.
11433 Rephrase doc-strings.
11434 (get-buffer-window-list): Rewrite using window-list-1.
11435 Rephrase doc-string.
a1511caf
MR
11436 (window-safe-min-height, window-safe-min-width): New constants.
11437 (window-size-ignore, window-min-size, window-min-size-1)
11438 (window-sizable, window-sizable-p, window-size-fixed-1)
11439 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11440 (window-max-delta-1, window-max-delta, window-resizable)
11441 (window-resizable-p, window-total-height, window-total-width)
11442 (window-body-width): New functions.
11443 (window-full-height-p, window-full-width-p): Rewrite using
11444 window-total-size.
11445 (window-body-height): Rewrite using window-body-size.
190b47e6 11446
85cc1f11
MR
114472011-06-06 Martin Rudalics <rudalics@gmx.at>
11448
11449 * window.el (window-right, window-left, window-child)
11450 (window-child-count, window-last-child, window-any-p)
11451 (normalize-live-buffer, normalize-live-frame)
11452 (normalize-any-window, normalize-live-window)
11453 (window-iso-combination-p, window-iso-combined-p)
11454 (window-iso-combinations)
11455 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11456 (windows-with-parameter, window-with-parameter)
11457 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11458 (window-atom-check, window-side-check, window-check):
11459 New functions.
85cc1f11
MR
11460 (ignore-window-parameters, window-sides, window-sides-vertical)
11461 (window-sides-slots): New variables.
11462 (window-size-fixed): Move down in code. Minor doc-string fix.
11463
e7156492
AS
114642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11465
11466 * comint.el (comint-dynamic-complete-as-filename)
11467 (comint-dynamic-complete-filename): Correctly call
11468 completion-in-region.
11469
7e821d0d
DD
114702011-06-05 Deniz Dogan <deniz@dogan.se>
11471
11472 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11473 in last change.
11474
ac09b8a1
DD
114752011-06-05 Deniz Dogan <deniz@dogan.se>
11476
11477 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11478 (rcirc): Use it to prompt for encryption.
11479
34699b85
RW
114802011-06-05 Roland Winkler <winkler@gnu.org>
11481
11482 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11483 (bibtex-search-entries): New command bound to C-c C-a.
11484 (bibtex-display-entries): New function.
11485
004dedd3
RW
114862011-06-05 Roland Winkler <winkler@gnu.org>
11487
11488 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11489 (bibtex-insert-kill): After yanking insert newline if necessary.
11490 (bibtex-initialize): Call bibtex-string-files-init only once.
11491 (bibtex-mode): Do not call easy-menu-add.
11492 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11493 (bibtex-yank): Set arg properly if nil.
11494
022fe7ce
RW
114952011-06-05 Roland Winkler <winkler@gnu.org>
11496
2b75be67
SM
11497 * textmodes/bibtex.el (bibtex-search-entry-globally):
11498 New variable.
022fe7ce
RW
11499 (bibtex-search-entry): Use it.
11500
b7c3692a
RW
115012011-06-05 Roland Winkler <winkler@gnu.org>
11502
11503 * textmodes/bibtex.el (bibtex-entry-format): New option
11504 sort-fields.
11505 (bibtex-format-entry, bibtex-reformat): Honor this option.
11506 (bibtex-parse-entry): Return fields in proper order.
11507
8eda563d
JB
115082011-06-05 Juanma Barranquero <lekktu@gmail.com>
11509
11510 * doc-view.el (doc-view-remove-if): Move computation of result out
11511 of `dolist' to silence misleading lexical-binding warning.
11512
7dbe3dbc
CY
115132011-06-04 Chong Yidong <cyd@stupidchicken.com>
11514
11515 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11516 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11517
0c33dd17
MA
115182011-06-04 Michael Albinus <michael.albinus@gmx.de>
11519
11520 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11521 "SunOS 5.10".
11522
f8f91c2b
MA
115232011-06-04 Michael Albinus <michael.albinus@gmx.de>
11524
11525 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11526 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11527 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11528 (tramp-parse-putty):
11529 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11530 (tramp-completion-function-alist-ssh)
11531 (tramp-completion-function-alist-telnet)
11532 (tramp-completion-function-alist-su)
11533 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11534 cookie.
11535
11536 * net/tramp-ftp.el:
11537 * net/tramp-sh.el:
11538 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11539 load "tramp.el" `tramp-set-completion-function'.
11540
e17d9003
SM
115412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * shell.el: Require and use pcomplete.
11544 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11545 (shell-completion-vars): Set pcomplete-default-completion-function.
11546
6c4cab03
DD
115472011-06-04 Deniz Dogan <deniz@dogan.se>
11548
11549 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11550 `memq' (Bug#8799).
11551
ea9fafe0
SM
115522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11555
b3e945d3
JB
115562011-06-02 Juanma Barranquero <lekktu@gmail.com>
11557
11558 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11559 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11560 * vc/log-view.el (log-view-beginning-of-defun):
11561 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11562 (smerge-refine-forward, smerge-refine-chopup-region):
11563 Silence warning for unused `dotimes' counter variables.
11564
7d520089
SM
115652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * net/tramp.el (tramp-with-progress-reporter): Rename from
11568 with-progress-reporter. Use `declare'.
11569 * net/tramp-smb.el:
11570 * net/tramp-sh.el:
11571 * net/tramp-gvfs.el: Update all uses.
11572
a1c2400f
JB
115732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11574
11575 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11576 buffer isn't killed before making it current.
11577
2403c841
SM
115782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 Silence various byte-compiler warnings.
11581 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11582 `access-type' and new obsolescence format.
11583 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11584 new format.
11585 (byte-compile-check-variable): New `access-type' argument.
11586 Only warn if the access-type is obsolete.
11587 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11588 (byte-compile-variable-set): Adjust callers.
11589 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11590 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11591 setting it as obsolete.
11592 * simple.el (minibuffer-completing-symbol):
11593 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11594 access as obsolete.
11595 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11596 obsolete yet.
11597 * international/quail.el (quail-mouse-choose-completion): Remove unused
11598 code referring to obsolete var.
11599 (quail-choose-completion-string): Remove.
11600 * server.el (server-clients-with, server-kill-buffer-query-function)
11601 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11602 * proced.el (proced-send-signal):
11603 * emacs-lisp/lisp.el (lisp-complete-symbol):
11604 Replace completion-annotate-function with completion-extra-properties.
11605
2462470b
SM
116062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11607
fb5b2591
SM
11608 * simple.el (goto-line): Use read-number.
11609 (overriding-map-is-bound): Remove.
11610 (saved-overriding-map): Change default.
11611 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11612 Take the map as argument.
11613 (universal-argument, negative-argument, digit-argument): Use it.
11614 (restore-overriding-map): Adjust.
11615 (do-auto-fill): Use fill-forward-paragraph.
11616 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11617
fd6fa53f
SM
11618 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11619 (minibuffer-inactive-mode): New major mode.
11620 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11621 the *Messages* buffer" hack.
11622 (mouse-popup-menubar): Don't burp if the event is a normal key.
11623
2462470b
SM
11624 Miscellaneous tweaks.
11625 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11626 lexical scoping as in subr.el's dolist and dotimes.
11627 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11628 Silence compiler warning.
11629 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11630 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11631 * international/ccl.el (ccl-compile): Trivial simplification.
11632 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11633 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11634 `printflag' argument.
11635 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11636 Purecopy the whole obsolescence data.
11637
108bf785
LL
116382011-06-01 Leo Liu <sdl.web@gmail.com>
11639
11640 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11641 improve doc-string as suggested by Marco Pessotto
11642 <melmothx@gmail.com>.
11643 (rcirc-print): Fix last change.
11644
30a23501
SM
116452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (complete-with-action): Return nil for the metadata and
11648 boundaries of non-functional tables.
11649 (completion-table-dynamic): Return nil for the metadata.
11650 (completion-table-with-terminator): Add default case, using
11651 complete-with-action.
11652 (completion--metadata): New function.
11653 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11654 to try and avoid pathological performance problems.
11655 (completion--embedded-envvar-table): Return `category' metadata.
11656
bcd54f83
LMI
116572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11658
11659 * subr.el (process-alive-p): New tiny convenience function.
11660
e227544d
SM
116612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11664 content but also its previous major mode.
11665
e8296fdc
HE
116662011-05-31 Helmut Eller <eller.helmut@gmail.com>
11667
4d61f28d 11668 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11669 *Backtrace* buffer when we exit with C-M-c.
11670
620c53a6
SM
116712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * minibuffer.el: Add metadata method to completion tables.
11674 (completion-category-overrides): New defcustom.
11675 (completion-metadata, completion--field-metadata)
11676 (completion-metadata-get, completion--styles)
11677 (completion--cycle-threshold): New functions.
11678 (completion-try-completion, completion-all-completions):
11679 Add `metadata' argument to choose completion-styles.
11680 (completion--do-completion): Use metadata to choose cycling.
11681 (completion-all-sorted-completions): Use metadata for sorting.
11682 Remove :completion-cycle-penalty which is not needed any more.
11683 (completion--try-word-completion): Add `metadata' argument.
11684 (minibuffer-completion-help): Check metadata for annotation function
11685 and sorting.
11686 (completion-file-name-table): Return `category' metadata.
11687 (minibuffer-completing-file-name): Make obsolete.
11688 * simple.el (minibuffer-completing-symbol): Make obsolete.
11689 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11690 completion-try-completion.
11691
1257e755
SM
116922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11695
3767e706
LL
116962011-05-30 Leo Liu <sdl.web@gmail.com>
11697
11698 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11699 (rcirc-print): Decode all incoming messages (bug#8744).
11700 (rcirc-decode-coding-system): Allow value nil for automatic coding
11701 system detection.
3767e706 11702
d1a5d56a
GM
117032011-06-01 Glenn Morris <rgm@gnu.org>
11704
11705 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11706
e8cbec34
CY
117072011-05-29 Chong Yidong <cyd@stupidchicken.com>
11708
11709 * image.el (image-animate-max-time): Allow nil and t values.
11710 Default to nil.
11711 (create-animated-image): Doc fix.
11712 (image-animate-start): Remove second arg; just use
11713 image-animate-max-time.
11714 (image-animate-timeout): Doc fix. Args changed.
11715
11716 * image-mode.el (image-toggle-display-image): Ensure that the
11717 image spec passed to the animate timer is the same object as in
58179cce 11718 the buffer's display property (Bug#6981).
e8cbec34
CY
11719 (image-transform-properties): Doc fix.
11720
11721 * image.el (image-animate-max-time): Default to nil.
11722
159daf87
MR
117232011-05-29 Martin Rudalics <rudalics@gmx.at>
11724
11725 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11726 entire buffer list (Bug#8184).
11727
d66c4c7c
CY
117282011-05-29 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * image.el (imagemagick-types-inhibit)
11731 (imagemagick-register-types): Doc fix.
11732
80aec780
DD
117332011-05-29 Deniz Dogan <deniz@dogan.se>
11734
11735 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11736 default.
11737
1dd3c2d9
CY
117382011-05-29 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * select.el: Don't perform clipboard-manager saving in hooks;
11741 leave the hooks empty.
11742
60e56523
LL
117432011-05-28 Leo Liu <sdl.web@gmail.com>
11744
11745 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11746 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11747 (occur-edit-mode): New major mode (Bug#8463).
11748 (occur-after-change-function): New function.
11749 (occur-engine): Give Occur tags a read-only property.
11750
2b1e1a22
KR
117512011-05-28 Kevin Ryde <user42@zip.com.au>
11752
11753 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11754
5d344e88
CY
117552011-05-28 Chong Yidong <cyd@stupidchicken.com>
11756
8e6ca83d
CY
11757 * bindings.el (help-echo): Make the initial non-indicator dash
11758 empty on graphical terminals (Bug#7295).
11759
5d344e88
CY
11760 * files.el (auto-mode-alist): Move config rule after the
11761 in-stripping one (Bug#8547).
11762
bfbbace7
CY
11763 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11764
fbeba6e2
CY
11765 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11766 setting (Bug#8740).
11767
60ed8c72
AA
117682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11769
4ac619f0
AA
11770 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11771 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11772 (Bug#8539).
60ed8c72 11773
23db196e
CY
117742011-05-28 Chong Yidong <cyd@stupidchicken.com>
11775
11776 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11777
5012f24c
DK
117782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11779
11780 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11781 (hs-hide-block-at-point, hs-find-block-beginning)
11782 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11783 (Bug#8279).
11784
6a639b16
GM
117852011-05-28 Glenn Morris <rgm@gnu.org>
11786
11787 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11788
d43eaf2c
CY
117892011-05-28 Chong Yidong <cyd@stupidchicken.com>
11790
5199bde1
CY
11791 * help-fns.el (describe-function-1): If the function is a derived
11792 major mode, print the parent mode.
11793
d43eaf2c
CY
11794 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11795 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11796
423428a8
SM
117972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11798
0ff8e1ba 11799 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11800 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11801 * progmodes/etags.el (tags-completion-at-point-function):
11802 * info-look.el (info-lookup-completions-at-point): Mark as
11803 non-exclusive.
11804 (info-complete): Adjust accordingly.
11805
423428a8
SM
11806 * info-look.el: Convert to lexical-binding and completion-at-point.
11807 (info-lookup-completions-at-point): New function.
11808 (info-complete): Use it and completion-in-region.
11809
b74aa22b
DA
118102011-05-28 Drew Adams <drew.adams@oracle.com>
11811
11812 * isearch.el: Let M-e start with point at the first mismatched char.
11813 (isearch-fail-pos): New function.
11814 (isearch-edit-string): Use it.
11815
66e2e71d
DK
118162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11817
11818 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11819
b1890b0f 118202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11821
11822 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11823 traversal functions for avl-trees.
11824 (avl-tree--stack): New struct.
11825 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11826 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11827 (avl-tree--do-enter): Add optional `updatefun' arg.
11828 Change return value.
eb95d01d 11829 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11830 (avl-tree--do-delete): Add `test' and `nilflag' args.
11831 Change return value.
eb95d01d
TC
11832 (avl-tree-member): Add optional `nilflag'
11833 (avl-tree-member-p): New function.
11834 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11835 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11836 (avl-tree-stack-empty-p): New functions.
11837
3769ddcf
TC
11838 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11839 avl-tree--del-balance1 and make it work both ways.
11840 (avl-tree--del-balance2): Remove.
11841 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11842 make it work both ways.
11843 (avl-tree--enter-balance2): Remove.
11844 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11845 New macros.
11846 (avl-tree--mapc, avl-tree-map): Add direction argument.
11847
eb95d01d 118482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11849
11850 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11851
a9f737ee
CY
118522011-05-27 Chong Yidong <cyd@stupidchicken.com>
11853
11854 * select.el: Support clipboard managers with built-in function
11855 x-clipboard-manager-save, via delete-frame-functions and
11856 kill-emacs-hook.
11857 (xselect-convert-to-targets): Add MULTIPLE target to list.
11858 (xselect-convert-to-save-targets): New function.
11859
c92a1e54
KH
118602011-05-27 Kenichi Handa <handa@m17n.org>
11861
11862 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11863 let-binding rfc2047-encode-encoded-words to nil.
11864
e145f188
GM
118652011-05-27 Glenn Morris <rgm@gnu.org>
11866
5ec8a862
GM
11867 * mail/emacsbug.el: Don't require url-util.
11868
4b29d9fb
GM
11869 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11870
e145f188
GM
11871 * files.el (set-auto-mode):
11872 Also respect mode: entries at the end of the file. (Bug#8586)
11873
7d15102b
GM
118742011-05-26 Glenn Morris <rgm@gnu.org>
11875
98f593b8
GM
11876 * files.el (hack-local-variables-prop-line, hack-local-variables):
11877 Downcase mode names, as seems to be traditional.
27b48e63 11878 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11879
7d15102b
GM
11880 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11881 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11882
51d5b4ec
JD
118832011-05-25 Julien Danjou <julien@danjou.info>
11884
11885 * textmodes/rst.el (rst-define-level-faces): Do not define face
11886 symbol if it is already defined.
11887
91513f63
VB
118882011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11889
11890 * play/5x5.el (5x5-new-game, 5x5-randomize):
11891 Reset 5x5-solver-output to nil when a new grid is cast.
11892 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11893 these debugging traces, as defmacro breaks the compiled code.
11894
4d90d6d0
DK
118952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11896
11897 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11898
e1b90ef6
LL
118992011-05-24 Leo Liu <sdl.web@gmail.com>
11900
11901 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11902 (vc-bzr-sha1): Adapt.
11903
d8e4b68b 11904 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11905
11906 * bindings.el: Provide sha1 feature.
11907
db0406bb 119082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11909
11910 * mail/sendmail.el: Require `rfc2047'.
11911 (mail-insert-from-field): Do not perform RFC2047 encoding.
11912 (mail-encode-header): New function.
11913 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11914 buffer to the return value of select-message-coding-system.
11915 Call mail-encode-header.
b8d747b9
KH
11916
11917 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11918
db0406bb 119192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11920
4d90d6d0
DK
11921 * mail/supercite.el (sc-default-cite-frame):
11922 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11923
eb8a5e9b
GM
119242011-05-24 Glenn Morris <rgm@gnu.org>
11925
f8630703
GM
11926 * progmodes/python.el (brm-menu): Declare.
11927
8831bbed
GM
11928 * emulation/viper.el (viper-set-hooks): Declare.
11929
eb8a5e9b
GM
11930 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11931 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11932 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11933 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11934 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11935 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11936
a2a25d24
SM
119372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 Add an :exit-function for completion-at-point.
11940
11941 * minibuffer.el (completion--done): New fun.
11942 (completion--do-completion): Use it. New arg `expect-exact'.
11943 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11944 since completion--do-completion does it for us now.
11945 (minibuffer-force-complete): Use completion--done and
11946 completion--replace. Handle sole-completion case with more care.
11947 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11948 (completion-extra-properties): New var.
11949 (completion-annotate-function): Make obsolete.
11950 (minibuffer-completion-help): Adjust accordingly.
11951 Use completion-list-insert-choice-function.
11952 (completion-at-point, completion-help-at-point):
11953 Bind completion-extra-properties.
11954 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11955 * simple.el (completion-list-insert-choice-function): New var.
11956 (completion-setup-function): Preserve it.
11957 (choose-completion): Pay attention to it, shuffle the code a bit.
11958 (choose-completion-string): New arg `insert-function'.
11959
11960 * textmodes/bibtex.el: Convert to lexical binding.
11961 (bibtex-mode-map): Use completion-at-point.
11962 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11963 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11964 (bibtex-complete): Define as obsolete alias.
11965 (bibtex-complete-internal): Remove.
11966 (bibtex-format-entry): Remove unused sub-group in regexp.
11967 * shell.el (shell--command-completion-data)
11968 (shell-environment-variable-completion):
11969 * pcomplete.el (pcomplete-completions-at-point):
11970 * comint.el (comint--complete-file-name-data): Use :exit-function
11971 instead of completion-table-with-terminator so it also works for
11972 choose-completion.
11973
e44e373d
SM
119742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11975
4f91a816
SM
11976 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11977
782fc819
SM
11978 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11979 (bug#8710).
11980
e44e373d
SM
11981 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11982
381987c3
KM
119832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11984
11985 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11986 customization variable and implement: If non-nil, auto-fill will
11987 be inhibited while on topic's header line.
11988
b776bc70
VB
119892011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11990
11991 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11992 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11993 always have a solution in grid size = 5 cases.
11994 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11995 (5x5-solver-output, 5x5-log-buffer): New vars.
11996 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11997 Make these variables buffer local to achieve 5x5 multi-session-ness.
11998 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11999 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12000 (5x5-solve-suggest): New funs.
12001 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12002 randomize a grid so that we ensure that there is always a solution.
12003 (5x5-make-random-grid): Allow other movement than flipping.
12004
7de88b6e
KR
120052011-05-23 Kevin Ryde <user42@zip.com.au>
12006
12007 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12008 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12009 advice and passes PREDICATE.
12010
b1ef1257
SM
120112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12012
bbca48fe
SM
12013 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12014 byte-compile-lambda if it's actually a lambda.
12015
b1ef1257
SM
12016 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12017 Fix function quoting. Use backquote better.
12018
92a9cc65
YS
120192011-05-22 Yuanle Song <sylecn@gmail.com>
12020
12021 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12022 matching (Bug#8516).
12023
f0fb8059
JA
120242011-01-22 Jari Aalto <jari.aalto@cante.net>
12025
12026 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12027 different face (Bug#8178).
12028
d5b44c93
CY
120292011-05-22 Chong Yidong <cyd@stupidchicken.com>
12030
12031 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12032 defface (Bug#8144).
12033
79106a44
SM
120342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12035
9c848d8a
SM
12036 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12037 funcall as well (bug#8712). Warn when performing those conversions.
12038 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12039
79106a44
SM
12040 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12041
88dfa756
GM
120422011-05-22 Glenn Morris <rgm@gnu.org>
12043
12044 * files.el (hack-local-variables-prop-line): Small simplifications.
12045 (hack-local-variables, hack-local-variables-prop-line):
12046 If MODE-ONLY, return the mode, rather than just `t'.
12047
b7cf2c79
SM
120482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12051
3f1a8558
GM
120522011-05-21 Glenn Morris <rgm@gnu.org>
12053
7e4ccca3
GM
12054 * files.el (hack-local-variables-prop-line, hack-local-variables):
12055 If only interested in the mode, don't bother doing the other stuff.
12056
637d46ca
GM
12057 * image-mode.el (image-after-revert-hook):
12058 Redraw all frames on which the image is visible. (Bug#8567)
12059
973d955b
GM
12060 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12061
3f1a8558
GM
12062 * wid-edit.el (widget-checklist-match-inline):
12063 Fix 2011-04-19 change. (Bug#8649)
12064
96479927
SM
120652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12066
1dcf791f
SM
12067 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12068 Also allow singlespace after single-letter capitals followed by a dot.
12069
96479927
SM
12070 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12071 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12072
35fd0881
N
120732011-05-20 Nix <nix@esperi.org.uk>
12074
12075 * files.el (basic-save-buffer-2):
12076 Fix handling of break-hardlink-on-save with non-existent files.
12077
82745640
DD
120782011-05-19 Deniz Dogan <deniz@dogan.se>
12079
12080 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12081 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12082
4a720484
GM
120832011-05-19 Glenn Morris <rgm@gnu.org>
12084
d1f21341
GM
12085 * progmodes/f90.el (f90-type-def-re):
12086 Handle "type, bind(c)". (Bug#8691)
12087
4a720484
GM
12088 * emacs-lisp/autoload.el (batch-update-autoloads):
12089 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12090
2fb0a219
MA
120912011-05-18 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12094 property for the correct connection in case of multihops.
12095
e565dd37
GM
120962011-05-18 Glenn Morris <rgm@gnu.org>
12097
c2571358 12098 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12099 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12100
e565dd37
GM
12101 Rationalize calendar handling of day and month abbrev-arrays.
12102 * calendar/calendar.el (calendar-customized-p): New function.
12103 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12104 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12105 Add :set function.
12106 (calendar-abbrev-length, calendar-day-abbrev-array)
12107 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12108 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12109 Elements may no longer be nil.
12110 (calendar-day-name, calendar-month-name):
12111 Update for changed nature of abbrev arrays.
12112 * calendar/diary-lib.el (diary-name-pattern):
12113 Update for changed nature of abbrev arrays.
12114 (diary-mark-entries-1): Update calendar-make-alist calls.
12115 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12116 * calendar/cal-html.el (cal-html-day-abbrev-array):
12117 Simply inherit from calendar-day-abbrev-array.
12118
1d99a745
SM
121192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * progmodes/grep.el (grep-mode): Disable default
12122 compilation-directory-matcher setting (bug#8684).
12123
7c1d9aa0
MA
121242011-05-17 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12127 instead of "head" and "tail". There were problems with SunOS 5.9,
12128 and it performs better.
12129
3952e9d8
GM
121302011-05-17 Glenn Morris <rgm@gnu.org>
12131
2dd12e7f
GM
12132 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12133
e4157b9c
GM
12134 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12135 Replace obsolete function.
12136
8e249bbd
GM
12137 * shell.el (pcomplete-parse-arguments-function): Declare.
12138
3952e9d8
GM
12139 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12140 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12141 (appt-check): Doc fixes.
12142 (appt-disp-window-function, appt-delete-window-function):
12143 Remove needless special case in custom :type.
12144 (appt-display-count): Default to 0, not nil.
12145 (appt-check): Reset appt-display-count to 0, not nil.
12146
c71a0d48 121472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12148
c71a0d48
GM
12149 * progmodes/python.el (python-font-lock-keywords):
12150 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12151
31d55be9
SM
121522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12153
12154 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12155
3bfacb2f
KR
121562011-05-16 Kevin Ryde <user42@zip.com.au>
12157
12158 * info-look.el (makefile-automake-mode): New setups, looking in
12159 automake manual, then makefile-mode.
12160 (makefile-mode): Remove automake manual, have it just in
12161 makefile-automake-mode since there's various things different or
12162 not relevant to plain make.
12163 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12164 believe a hypothetical automake-mode would go to makefile-mode,
12165 not the other way around.
12166
c8e83751
CY
121672011-05-15 Chong Yidong <cyd@stupidchicken.com>
12168
5e9e35cd
CY
12169 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12170 hunk-end tags (Bug#8672).
12171
c8e83751
CY
12172 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12173 vc-annotate-show-diff-revision-at-line (Bug#8671).
12174
50b23e5a
GM
121752011-05-14 Glenn Morris <rgm@gnu.org>
12176
7210a739
GM
12177 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12178 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12179 (change-log-font-lock-keywords): Also handle multiple author lines
12180 with leading tabs. (Bug#8644)
7210a739 12181
4691905a
GM
12182 * calendar/appt.el (appt-check): Rename some local variables.
12183 Some simplification/reordering.
12184
50b23e5a
GM
12185 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12186 (feedmail-sendmail-f-doesnt-sell-me-out)
12187 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12188 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12189 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12190 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12191 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12192 (feedmail-binmail-gnulinuxish-template):
12193 Rename from feedmail-binmail-linuxish-template.
12194 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12195 Use insert-buffer-substring.
12196
215cda7c
BC
121972011-05-14 Bill Carpenter <bill@carpenter.org>
12198
12199 * mail/feedmail.el (feedmail-patch-level): Increase.
12200 (feedmail-debug): New custom group.
12201 (feedmail-confirm-outgoing-timeout)
12202 (feedmail-sendmail-f-doesnt-sell-me-out)
12203 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12204 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12205 (feedmail-sender-line, feedmail-from-line)
12206 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12207 (feedmail-spray-this-address)
215cda7c
BC
12208 (feedmail-spray-address-fiddle-plex-list)
12209 (feedmail-queue-use-send-time-for-date)
12210 (feedmail-queue-use-send-time-for-message-id)
12211 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12212 (feedmail-buffer-eating-function):
12213 Doc fixes.
12214 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12215 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12216 (feedmail-message-action-scroll-down): New functions.
12217 (feedmail-queue-directory, feedmail-queue-draft-directory):
12218 Use expand-file-name.
12219 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12220 Remove C-v help entry.
12221 (feedmail-queue-buffer-file-name): New variable.
12222 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12223 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12224 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12225 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12226 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12227 (feedmail-message-action-toggle-spray)
12228 (feedmail-run-the-queue-no-prompts)
12229 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12230 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12231 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12232 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12233 (feedmail-envelope-deducer, feedmail-fiddle-from)
12234 (feedmail-fiddle-sender, feedmail-default-date-generator)
12235 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12236 (feedmail-fiddle-spray-address)
12237 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12238 (feedmail-fiddle-list-of-fiddle-plexes)
12239 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12240 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12241 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12242 Change default. Doc fix.
12243 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12244 (feedmail-binmail-linuxish-template): New constant.
12245 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12246 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12247 (feedmail-send-it): Add debug call.
12248 Use feedmail-queue-buffer-file-name, and
12249 feedmail-send-it-immediately-wrapper.
12250 (feedmail-message-action-send): Add debug call.
12251 Use feedmail-send-it-immediately-wrapper.
12252 (feedmail-queue-express-to-queue): Add debug call.
12253 Run feedmail-queue-express-hook.
12254 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12255 (feedmail-message-action-help-blat):
12256 Rename from feedmail-queue-send-edit-prompt-help-first.
12257 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12258 Check line-endings. Handle errors better.
12259 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12260 Doc fix. Add debug call.
12261 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12262 Use feedmail-queue-send-edit-prompt-inner.
12263 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12264 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12265 from feedmail-queue-send-edit-prompt.
12266 (feedmail-queue-send-edit-prompt-help)
12267 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12268 (feedmail-tidy-up-slug): Add debug call.
12269 Respect feedmail-queue-slug-suspect-regexp.
12270 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12271 (feedmail-dump-message-to-queue): Add debug call.
12272 Expand queue-directory.
12273 (feedmail-dump-message-to-queue): Change message slightly.
12274 Use feedmail-say-chatter.
12275 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12276 (feedmail-send-it-immediately-wrapper): New function.
12277 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12278 Insert empty string rather than newline. Handle full-frame case.
12279 Use catch/throw. Use feedmail-say-chatter.
12280 (feedmail-fiddle-from): Try mail-host-address.
12281 (feedmail-default-message-id-generator): Doc fix.
12282 Bind system-time-locale. Handle missing end.
12283 (feedmail-fiddle-x-mailer): Add debug call.
12284 Handle feedmail-x-mailer-line being nil.
12285 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12286 Add debug call. Use buffer-substring-no-properties.
12287 (feedmail-say-debug, feedmail-say-chatter): New functions.
12288 (feedmail-find-eoh): Give an explicit error.
12289
42c7e61e
UJ
122902011-05-13 Ulf Jasper <ulf.jasper@web.de>
12291
c2571358 12292 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12293 family from helvetica to sans.
c2571358 12294 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12295 etc/images/newsticker.
12296
c2571358 12297 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12298 family from helvetica to sans.
12299
12300 * net/newst-plainview.el (newsticker-new-item-face)
12301 (newsticker-old-item-face, newsticker-immortal-item-face)
12302 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12303 (newsticker-statistics-face): Change default family from
42c7e61e 12304 helvetica to sans.
c2571358 12305 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12306 etc/images/newsticker.
12307
5d3385a0
JB
12308 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12309 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12310 auto-marking.
12311
8497a297
DV
123122011-05-13 Didier Verna <didier@xemacs.org>
12313
12314 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12315 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12316 TODO entries.
8497a297
DV
12317 (lisp-lambda-list-keyword-parameter-indentation)
12318 (lisp-lambda-list-keyword-parameter-alignment)
12319 (lisp-lambda-list-keyword-alignment): New customizable user options.
12320 (lisp-indent-defun-method): Improve docstring.
12321 (extended-loop-p): Fix comment.
12322 (lisp-indent-lambda-list-keywords-regexp): New variable.
12323 (lisp-indent-lambda-list): New function.
12324 (lisp-indent-259): Use it.
12325 (lisp-indent-defmethod): Support for more than one
12326 method qualifier and properly indent methods lambda-lists.
12327 (defgeneric): Provide a missing common-lisp-indent-function property.
12328
f278f87f
SM
123292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12330
12331 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12332 bounds for the empty string (bug#8667).
12333
5233edd7
GM
123342011-05-13 Glenn Morris <rgm@gnu.org>
12335
5237a44f
GM
12336 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12337
8340026c 12338 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12339 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12340
5233edd7 12341 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12342 (appt-time-msg-list): Doc fix.
a5464014 12343 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12344
92d10796
AS
123452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12346
12347 * progmodes/ld-script.el (ld-script-keywords)
12348 (ld-script-builtins): Update keywords list.
12349
914a0ae1
SM
123502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12351
c89be45f
SM
12352 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12353
914a0ae1
SM
12354 * shell.el (shell-completion-vars): New function.
12355 (shell-mode):
12356 * simple.el (read-shell-command): Use it.
12357 (blink-matching-open): No need for " [...]" in minibuffer-message.
12358
98dc3df3
GM
123592011-05-12 Glenn Morris <rgm@gnu.org>
12360
12361 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12362 (appt-check): Simplify.
12363
d2fc7e3d 123642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12365
4d61f28d 12366 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12367 literal "/dev/null".
12368
d2fc7e3d 123692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12370
12371 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12372 Fix typo.
12373
d2fc7e3d 123742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12375
3f254caa
SM
12376 * progmodes/which-func.el (which-function):
12377 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12378 which might not be defined (Bug#8260).
12379
d45885f7
GM
123802011-05-12 Glenn Morris <rgm@gnu.org>
12381
12382 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12383 Let byte-compile-initial-macro-environment always take precedence.
12384
488086f4
SM
123852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * net/rcirc.el: Add support for SSL/TLS connections.
12388 (rcirc-server-alist): New field `encryption'.
12389 (rcirc): Check `encryption' settings.
12390 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12391 Merge make-local-variable into `set'.
12392 (rcirc--connection-open-p): New function.
12393 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12394 the process is not a network process (e.g. running gnutls-cli).
12395 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12396 Make rcirc-(en|de)code-coding-system local here.
12397 (rcirc-mode): Merge make-local-variable into `set'.
12398 (rcirc-parent-buffer): Make permanent buffer-local.
12399 (rcirc-multiline-minor-mode): Don't do it here.
12400 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12401 there's no server buffer.
12402
7d3b9d44
GM
124032011-05-11 Glenn Morris <rgm@gnu.org>
12404
f64049c6
GM
12405 * newcomment.el (comment-kill): Prefix "unused" local.
12406
93c9df73
GM
12407 * term/w32console.el (get-screen-color): Declare.
12408
7d3b9d44
GM
12409 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12410 Handle symbol elements of byte-compile-initial-macro-environment.
12411
9e2dd53f
LL
124122011-05-10 Leo Liu <sdl.web@gmail.com>
12413
488086f4
SM
12414 * bookmark.el (bookmark-bmenu-mode-map):
12415 Bind bookmark-bmenu-search to `/'.
8b340240 12416
9e2dd53f 12417 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12418 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12419 (Footnote-unicode): New function.
12420 (footnote-style-alist): Add unicode style to the list.
12421 (footnote-style): Doc fix.
9e2dd53f 12422
79b70037
GM
124232011-05-10 Jim Meyering <meyering@redhat.com>
12424
12425 Fix doubled-word typos.
12426 * international/quail.el (quail-insert-kbd-layout): and and -> and
12427 * kermit.el: and and -> and
12428 * net/ldap.el (ldap-search-internal): to to -> to
12429 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12430 * progmodes/js.el (js-mode): and and -> and
12431 * textmodes/artist.el (artist-move-to-xy): at at -> at
12432 (artist-draw-region-trim-line-endings): if if -> if
12433 And Safetyc -> Safety.
12434 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12435
b8f82dc1 124362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12437 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12438
12439 * files.el (hack-one-local-variable-eval-safep):
12440 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12441
4f99f44b
GM
124422011-05-10 Glenn Morris <rgm@gnu.org>
12443
12444 * calendar/diary-lib.el (diary-list-entries-hook)
12445 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12446 (diary-nongregorian-marking-hook, diary-list-entries)
12447 (diary-include-other-diary-files, diary-mark-entries)
12448 (diary-mark-included-diary-files): Doc fixes.
12449
84f29e6b
JB
124502011-05-09 Juanma Barranquero <lekktu@gmail.com>
12451
12452 * misc.el: Require tabulated-list.el during compilation.
12453
9bedd73a
CY
124542011-05-09 Chong Yidong <cyd@stupidchicken.com>
12455
488086f4
SM
12456 * progmodes/compile.el (compilation-start):
12457 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12458 (compilation-filter-hook): Doc fix.
12459
797c735c
DD
124602011-05-09 Deniz Dogan <deniz@dogan.se>
12461
12462 * wdired.el: Remove outdated installation comment. Fix usage
12463 comment.
12464
5f4b1dfe
JB
124652011-05-09 Juanma Barranquero <lekktu@gmail.com>
12466
12467 * misc.el: Implement new command `list-dynamic-libraries'.
12468 (list-dynamic-libraries--loaded-only-p): New variable.
12469 (list-dynamic-libraries--refresh): New function.
12470 (list-dynamic-libraries): New command.
12471
4c44026c
CY
124722011-05-09 Chong Yidong <cyd@stupidchicken.com>
12473
488086f4
SM
12474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12475 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12476 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12477 higher priority to avoid clobbering by gnu.
12478
027f966d
CY
124792011-05-08 Chong Yidong <cyd@stupidchicken.com>
12480
12481 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12482 if the face has existing theme settings (Bug#8454).
12483
085f5d7d
CY
124842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12485
488086f4
SM
12486 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12487 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12488
2a86a00c
RS
12489 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12490 special file names `.' and `..' (Bug#8259).
12491
d9c54a06
CY
124922011-05-08 Chong Yidong <cyd@stupidchicken.com>
12493
488086f4
SM
12494 * progmodes/grep.el (grep-mode-font-lock-keywords):
12495 Remove buffer-changing entries.
d9c54a06
CY
12496 (grep-filter): New function.
12497 (grep-mode): Add it to compilation-filter-hook.
12498
12499 * progmodes/compile.el (compilation-filter-hook)
12500 (compilation-filter-start): New defvars.
12501 (compilation-filter): Call compilation-filter-hook prior to
12502 updating the process mark.
12503
c4662635
SM
125042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12507
b0512a1d
EZ
125082011-05-07 Eli Zaretskii <eliz@gnu.org>
12509
605c9376
EZ
12510 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12511 mailclient-send-it even if window-system is nil. (Bug#8595)
12512
c4662635
SM
12513 * term/w32console.el (terminal-init-w32console):
12514 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12515 background-mode. (Bug#8597)
12516
d1dc2cc2
SM
125172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12520 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12521 New functions.
12522 (defgeneric, eieio--defmethod): Use them.
12523 (eieio-defgeneric): Remove.
12524 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12525
915d1300
GM
125262011-05-07 Glenn Morris <rgm@gnu.org>
12527
a3961c3e
GM
12528 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12529 Use let rather than let*.
12530 (timeclock-find-discrep): Remove unused local.
12531
314347b9
GM
12532 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12533
915d1300
GM
12534 * calendar/appt.el (appt-time-msg-list): Doc fix.
12535
275b59b0
NF
125362011-05-06 Noah Friedman <friedman@splode.com>
12537
12538 * apropos.el (apropos-print-doc): Only use
12539 emacs-lisp-docstring-fill-column when it is bound to an integer,
12540 per that variable's documentation.
12541
6c19f744
SM
125422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12543
12544 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12545 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12546
60f884b2
GM
125472011-05-06 Glenn Morris <rgm@gnu.org>
12548
5006e634
GM
12549 * calendar/appt.el (appt-message-warning-time): Doc fix.
12550 (appt-warning-time-regexp): New option.
12551 (appt-make-list): Respect appt-message-warning-time.
12552
548d0a63
GM
12553 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12554 New options.
12555 (diary-add-to-list): Strip comments from the displayed string.
12556 (diary-mode): Set comment-start and comment-end.
12557
60f884b2
GM
12558 * vc/diff-mode.el (smerge-refine-subst): Declare.
12559 (diff-refine-hunk): Don't require smerge-mode when compiling.
12560
989681bb
JB
125612011-05-06 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * simple.el (list-processes): Return nil as the docstring says.
12564
a6bc05e1
MA
125652011-05-05 Michael Albinus <michael.albinus@gmx.de>
12566
12567 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12568 to "".
12569 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12570 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12571 determining of binary transfer. (Bug#7383)
12572
23c22e9a
MA
125732011-05-05 Michael Albinus <michael.albinus@gmx.de>
12574
c4662635
SM
12575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12576 Fix port computation bug. (Bug#8618)
23c22e9a 12577
0bff894f
GM
125782011-05-05 Glenn Morris <rgm@gnu.org>
12579
b8296902
GM
12580 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12581
1f522ce8
GM
12582 * simple.el (shell-dynamic-complete-functions)
12583 (comint-dynamic-complete-functions): Declare.
12584
cf5bee67
GM
12585 * net/network-stream.el (gnutls-negotiate):
12586 * simple.el (tabulated-list-print): Fix declarations.
12587
12588 * progmodes/gud.el (syntax-symbol, syntax-point):
12589 Remove unnecessary and incorrect declarations.
12590
0bff894f
GM
12591 * emacs-lisp/check-declare.el (check-declare-scan):
12592 Handle byte-compile-initial-macro-environment in bytecomp.el
12593
9869b3ae
SM
125942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 Fix earlier half-done eieio-defmethod change (bug#8338).
12597 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12598 Streamline and change calling convention.
12599 (defmethod): Adjust accordingly and simplify.
12600 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12601 new eieio--defmethod.
12602 (slot-boundp): Minor CSE simplification.
12603
9c1d5ac5
MZ
126042011-05-05 Milan Zamazal <pdm@zamazal.org>
12605
12606 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12607 (glasses-make-readable): Use glasses-separate-capital-groups.
12608
455c834e
JB
126092011-05-05 Juanma Barranquero <lekktu@gmail.com>
12610
12611 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12612 (warning-series): Doc fix.
12613 (display-warning): Don't try to create the buffer if we just found it.
12614
9ed7c8cb
CY
126152011-05-04 Chong Yidong <cyd@stupidchicken.com>
12616
12617 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12618 (autoload-find-generated-file): New function.
12619 (generate-file-autoloads): Bind generated-autoload-file to
12620 buffer-file-name.
9869b3ae
SM
12621 (update-file-autoloads, update-directory-autoloads):
12622 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12623 output file (Bug#7989).
12624 (batch-update-autoloads): Doc fix.
12625
0898ca10
JB
126262011-05-04 Juanma Barranquero <lekktu@gmail.com>
12627
12628 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12629
31dfb76c
GM
126302011-05-04 Glenn Morris <rgm@gnu.org>
12631
f330b642
GM
12632 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12633 function, so it follows changes in calendar-date-style.
12634 (diary-fancy-date-matcher): New function.
12635 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12636 (diary-fancy-font-lock-fontify-region-function):
12637 Use diary-fancy-date-pattern as a function.
12638
31dfb76c
GM
12639 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12640 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12641
48e79d6a
TZ
126422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12643
12644 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12645 instead of positional arguments. Allow :keylist and :crlfiles
12646 arguments.
12647 (open-gnutls-stream): Call it.
12648
12649 * net/network-stream.el (network-stream-open-starttls): Adjust to
12650 call `gnutls-negotiate' with :process and :hostname arguments.
12651
dd5a5ee0
SM
126522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12653
ef80fc09
SM
12654 * minibuffer.el (completion--message): New function.
12655 (completion--do-completion, minibuffer-complete)
12656 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12657 (completion--do-completion): Don't ignore completion-auto-help when in
12658 icomplete-mode.
12659
dd5a5ee0
SM
12660 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12661 internal encoding (e.g. tibetan zero is not whitespace).
12662 (global-whitespace-mode): Prefer save-current-buffer.
12663 (whitespace-trailing-regexp): Remove useless save-match-data.
12664 (whitespace-empty-at-bob-regexp): Minor simplification.
12665
b7d22a83
CY
126662011-05-03 Chong Yidong <cyd@stupidchicken.com>
12667
12668 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12669
5192af46
AM
126702011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12671
12672 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12673 Use `concat' to create string for insertion.
5192af46 12674
5767d190
SM
126752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12678 Avoid open-line which runs post-self-insert-hook.
12679 (bibtex-fill-entry): Remove unused `end' var.
12680
bf242939
AM
126812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12682
5767d190
SM
12683 * textmodes/ispell.el (ispell-add-per-file-word-list):
12684 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12685
25666126
LL
126862011-05-03 Leo Liu <sdl.web@gmail.com>
12687
12688 * isearch.el (isearch-yank-pop): New command.
5767d190 12689 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12690 (isearch-forward): Mention it.
12691
52d3c2d0
SM
126922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12693
1bcace58
SM
12694 * simple.el (minibuffer-complete-shell-command): Remove.
12695 (minibuffer-local-shell-command-map): Use completion-at-point.
12696 (read-shell-command): Setup completion vars here instead.
12697 (read-expression-map): Bind TAB to symbol completion.
12698
52d3c2d0
SM
12699 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12700 error directly rather via storing it into `results'.
12701
35813471
LL
127022011-05-02 Leo Liu <sdl.web@gmail.com>
12703
12704 * vc/diff.el: Fix description.
12705
e793a940
LMI
127062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12707
12708 * server.el (server-eval-at): New function.
12709
8de66e05
LMI
127102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
12712 * net/network-stream.el (open-network-stream): Take a :nowait
12713 parameter and pass it on to `make-network-process'.
12714 (network-stream-open-plain): Ditto.
12715
dcb79f20
AS
127162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12717
12718 * faces.el (face-spec-set-match-display): Don't match toolkit
12719 options on terminal frames.
12720
14a7fbd8
SM
127212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12722
7eabc1be
SM
12723 * progmodes/pascal.el: Use lexical binding.
12724 (pascal-mode-map): Remove author preferences.
12725
14a7fbd8
SM
12726 * pcomplete.el (pcomplete-std-complete): Don't abuse
12727 completion-at-point.
12728
50f84510
JB
127292011-04-28 Juanma Barranquero <lekktu@gmail.com>
12730
6e087a44
JB
12731 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12732 removing code that has been dead since 1991 or so.
12733
50f84510
JB
12734 * startup.el (command-line): When warning about "_emacs", use a
12735 delayed warning to allow the user to filter it out.
12736
0ba690bd
DD
127372011-04-28 Deniz Dogan <deniz@dogan.se>
12738
12739 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12740 user has not joined.
12741
08abfaad
SM
127422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12745 aren't any completions at point.
12746
638f053a
JB
127472011-04-28 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * subr.el (display-delayed-warnings): New function.
12750 (delayed-warnings-hook): New variable.
12751
8fff8daa
SM
127522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12753
08abfaad
SM
12754 * minibuffer.el (completion-at-point, completion-help-at-point):
12755 Don't presume that a given completion-at-point-function will always
12756 use the same calling convention.
12757
8fff8daa
SM
12758 * pcomplete.el (pcomplete-completions-at-point):
12759 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12760 pcomplete-seen is non-nil.
12761 (pcomplete-comint-setup): Also recognize the new comint/shell
12762 completion functions.
12763 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12764 pcomplete-seen is non-nil.
12765
841a1577 127662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12767
841a1577 12768 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12769 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12770 the first character in the entry. This allows for code to add its
211ec907
UJ
12771 own uid to the entry.
12772 (icalendar--convert-float-to-ical): Add export of
12773 `diary-float'-entries save for those with the optional DAY
12774 argument.
12775
2a782793
DC
127762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12777
12778 * subr.el (shell-quote-argument): Use alternate escaping strategy
12779 when we spot a variable reference in a string.
12780
0438ce91
DC
127812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12782
12783 * cus-start.el (all): Define customization for debug-on-event.
12784
841a1577 127852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12786
12787 * subr.el (shell-quote-argument): Escape correctly under Windows.
12788
d090ed6c
SM
127892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12792
bfd31217
MA
127932011-04-25 Michael Albinus <michael.albinus@gmx.de>
12794
d090ed6c
SM
12795 * net/tramp.el (tramp-process-actions): Add POS argument.
12796 Delete region between POS and (pos).
bfd31217 12797
d090ed6c
SM
12798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12799 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12800 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12801
12802 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12803 position in `tramp-process-actions' call.
12804
12805 * net/trampver.el: Update release number.
12806
e92f3bd3
SM
128072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12808
850256b5
SM
12809 * custom.el (defcustom): Obey lexical-binding.
12810
e92f3bd3
SM
12811 Fix octave-inf completion problems reported by Alexander Klimov.
12812 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12813 Inherit from octave-mode-syntax-table.
12814 (inferior-octave-mode): Set info-lookup-mode.
12815 (inferior-octave-completion-at-point): New function.
12816 (inferior-octave-complete): Use it and completion-in-region.
12817 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12818 comint-filename-completion.
12819 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12820 symbol elements which shouldn't be word elements.
12821 (octave-font-lock-keywords, octave-beginning-of-defun)
12822 (octave-function-header-regexp): Adjust regexps accordingly.
12823 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12824
cd22b309
JB
128252011-04-25 Juanma Barranquero <lekktu@gmail.com>
12826
12827 * net/gnutls.el (gnutls-errorp): Declare before first use.
12828
8b492194
TZ
128292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12830
12831 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12832 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12833 default trustfile exists before going to use it. Add missing
5a5fa834 12834 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12835 Reported by Claudio Bley <claudio.bley@gmail.com>.
12836 (open-gnutls-stream): Add usage example.
12837
12838 * net/network-stream.el (network-stream-open-starttls): Give host
12839 parameter to `gnutls-negotiate'.
12840 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12841 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12842
841a1577 128432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12844
cd22b309
JB
12845 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12846 Use correct match group (bug#8438).
05842630 12847
3ba7869c
CY
128482011-04-24 Chong Yidong <cyd@stupidchicken.com>
12849
512e3ae1
CY
12850 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12851 (package-menu--generate): New arg specifying packages to show.
12852 (package-menu-refresh, package-menu-execute, list-packages):
12853 Callers changed.
12854 (package-show-package-list): New function, replacing deleted
12855 package--list-packages (renamed because it is non-internal).
12856
12857 * finder.el (finder-list-matches): Use package-show-package-list
12858 instead of deleted package--list-packages.
12859
e92f3bd3
SM
12860 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12861 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12862 (vc-annotate-mode-map): Bind it to RET.
12863
7031be6d
UR
128642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12865
12866 * progmodes/etags.el (next-file): Don't use set-buffer to change
12867 buffers (Bug#8478).
12868
4ef177aa
CY
128692011-04-24 Chong Yidong <cyd@stupidchicken.com>
12870
c8d173eb
CY
12871 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12872
4ef177aa
CY
12873 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12874 (apropos-accumulator): Doc fix.
12875 (apropos-function, apropos-macro, apropos-command)
12876 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12877 (apropos-plist): Add face property.
12878 (apropos-symbols-internal): Fix indentation.
12879 (apropos-print): Simplify help, and recognize apropos-multi-type.
12880 (apropos-print-doc): Use button-type-get to extract the button's
12881 face property. Fill docstring (Bug#8352).
12882
4ffd0d6b 128832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12884
12885 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12886
c6c32125 12887 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12888 (mpuz-mode-map): Use mapc.
c6c32125
JB
12889 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12890 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12891 Fix typos in docstrings.
12892
58d468b4
JB
12893 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12894 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12895
6470c3c6
JB
12896 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12897
4ffd0d6b 128982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12899
12900 * minibuffer.el (completion--do-completion): Avoid the "Next char
12901 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12902
3ad8bad0
CY
12903 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12904 mouse-2 into unread-command-events, it is interpreted correctly.
12905
71d73c9c 12906 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12907 (image-toggle-display): Doc fix.
71d73c9c 12908
841a1577 129092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12910
4ffd0d6b
GM
12911 * textmodes/page.el (what-page): Use line-number-at-pos to
12912 calculate line number (Bug#6825).
6e1dbaa9 12913
c2fb1b60
JB
129142011-04-22 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12917 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12918 Pass argument NO-DEFAULT to `find-tag-interactive'.
12919
e02f48d7
JB
129202011-04-22 Juanma Barranquero <lekktu@gmail.com>
12921
12922 Lexical-binding cleanup.
12923
12924 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12925 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12926 * progmodes/ada-prj.el (ada-prj-initialize-values)
12927 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12928 (ada-prj-show-value):
12929 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12930 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12931 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12932 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12933 * progmodes/bug-reference.el (bug-reference-push-button):
12934 * progmodes/fortran.el (fortran-line-length):
12935 * progmodes/glasses.el (glasses-change):
12936 * progmodes/octave-mod.el (octave-fill-paragraph):
12937 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12938 (python-pdbtrack-grub-for-buffer, python-sentinel):
12939 * progmodes/sql.el (sql-save-connection):
12940 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12941 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12942 Mark unused parameters.
12943
12944 * progmodes/compile.el (compilation--flush-directory-cache)
12945 (compilation--flush-parse, compile-internal): Mark unused parameters.
12946 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12947 (compilation-next-error-function): Remove unused variable `timestamp'.
12948
12949 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12950 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12951
12952 * progmodes/dcl-mode.el (dcl-end-of-command):
12953 Remove unused variable `start'.
12954 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12955 (dcl-option-value-basic, dcl-option-value-offset)
12956 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12957 Mark unused parameters.
12958 (dcl-save-local-variable): Remove unused variable `val'.
12959 (mode): Declare.
12960
12961 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12962 Mark unused parameters.
12963 (delphi-ignore-changes): Move before first use.
12964 (delphi-charset-token-at): Remove unused variable `start'.
12965 (delphi-else-start): Remove unused variable `if-count'.
12966 (delphi-comment-block-start, delphi-comment-block-end):
12967 Remove unused variable `kind'.
12968 (delphi-indent-line): Remove unused variable `new-point'.
12969
12970 * progmodes/ebrowse.el (ebrowse-files-list)
12971 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12972 Mark unused parameters. Don't quote `lambda'.
12973 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12974 Don't quote `lambda'.
12975 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12976 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12977 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12978 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12979 Use `ignore-errors'.
12980 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12981 (ebrowse-view/find-file-and-search-pattern)
12982 (ebrowse-view/find-member-declaration/definition):
12983 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12984 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12985 Rename parameter PREFIX-ARG to PREFIX.
12986 (ebrowse-tags-read-name): Remove unused variables `start' and
12987 `member-info'.
12988 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12989 to `tags-file'.
12990
12991 * progmodes/etags.el (local-find-tag-hook): Declare.
12992 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12993 Mark unused parameters.
12994
12995 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12996 (executable-interpret): Mark unused parameter.
12997
12998 * progmodes/flymake.el (flymake-process-sentinel)
12999 (flymake-after-change-function)
13000 (flymake-create-temp-with-folder-structure)
13001 (flymake-get-include-dirs-dot): Mark unused parameters.
13002 (flymake-safe-delete-directory): Remove unused variable `err'.
13003
13004 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13005 (speedbar-timer-fn, speedbar-line-text)
13006 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13007 (speedbar-center-buffer-smartly): Declare functions.
13008 (gdb-find-watch-expression): Remove unused variable `array'.
13009 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13010 (gdb-starting): Mark unused parameters.
13011 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13012 (gdb-table-string): Remove unused variable `res'.
13013 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13014 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13015 (gdb-display-buffer): Remove unused variable `cur-size'.
13016
13017 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13018 allow lexical-binding compilation.
13019 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13020 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13021 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13022 Mark unused parameters.
13023 (gud-gdb-marker-filter): Remove unused variable `match'.
13024 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13025 lambda expressions and funcall them, instead of using `fset'.
13026
13027 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13028 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13029
13030 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13031 variable `header-beg'; use `let'.
13032
13033 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13034 `restart', `last-sexp' and `at-do'.
13035
13036 * progmodes/js.el (js--debug): Mark unused parameter.
13037 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13038 (js--splice-into-items): Remove unused variable `item'.
13039 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13040
13041 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13042 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13043 (makefile-complete): Remove unused variable `try'.
13044 (makefile-fill-paragraph, makefile-match-function-end):
13045 Mark unused parameters.
13046
13047 * progmodes/octave-inf.el (inferior-octave-complete):
13048 Remove unused variable `proc'.
13049 (inferior-octave-output-digest): Mark unused parameter.
13050
13051 * progmodes/perl-mode.el (perl-calculate-indent):
13052 Remove unused variable `err'.
13053
13054 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13055 (prolog-indent-line): Mark unused parameters.
13056 (prolog-indent-line): Remove unused variable `beg'.
13057
13058 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13059 (reporter-dont-compact-list): Declare.
13060
13061 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13062 Remove unused variable `char'.
13063 (sh-debug): Mark unused parameter.
13064 (sh-get-indent-info): Remove unused variable `start'.
13065 (sh-calculate-indent): Remove unused variable `var'.
13066
13067 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13068 (simula-electric-keyword): Remove unused variable `null'.
13069 (simula-search-backward, simula-search-forward): Remove unused
13070 variables `begin' and `end'.
13071
13072 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13073 Remove unused variable `pos'.
13074 (vera-electric-tab, vera-comment-uncomment-region):
13075 Mark unused parameters.
13076 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13077
7ede3b65
CY
130782011-04-22 Chong Yidong <cyd@stupidchicken.com>
13079
13080 * emacs-lisp/package.el (package--builtins, package-alist)
13081 (package-load-descriptor, package-built-in-p, package-activate)
13082 (define-package, package-installed-p)
13083 (package-compute-transaction, package-buffer-info)
13084 (package--push): Doc fix. Distinguish more clearly between
13085 version strings and version lists.
13086
121656e9
JB
130872011-04-21 Juanma Barranquero <lekktu@gmail.com>
13088
13089 Lexical-binding cleanup.
13090
13091 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13092 (5x5-make-mutate-best):
13093 * play/fortune.el (fortune-in-buffer):
13094 * play/gomoku.el (gomoku-init-display):
13095 * play/solitaire.el (solitaire, solitaire-do-check):
13096 * play/tetris.el (tetris-default-update-speed-function):
13097 Mark unused parameters.
13098
13099 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13100 (bubbles--shift): Remove unused variable `char-org'.
13101 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13102 (bubbles--show-images): Remove unused variable `char'.
13103
13104 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13105 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13106 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13107 (decipher-analyze-buffer): Use ?\s.
13108 (decipher-make-checkpoint): Remove unused variable `mapping'.
13109
13110 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13111
13112 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13113 Remove unused variable `result'; use `let'.
13114
13115 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13116 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13117 (gametree-children-shown-p, gametree-compute-reduced-score):
13118 Use `ignore-errors'.
13119
13120 * play/handwrite.el (ps-lpr-switches): Declare.
13121 (handwrite): Remove unused variables `pmin' and `lastp'.
13122
13123 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13124
13125 * play/landmark.el (landmark-init-display)
13126 (landmark-update-naught-weights): Mark unused parameters.
13127 (landmark-y): Remove unused variable `noise'. Simplify.
13128 (landmark-human-plays): Remove unused variable `score'.
13129
13130 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13131 (mpuz-try-proposal): Remove unused variable `game'.
13132
13133 * play/zone.el (life-patterns): Declare.
13134
80f499c7
JB
131352011-04-20 Juanma Barranquero <lekktu@gmail.com>
13136
13137 * vc/vc.el (ediff-vc-internal): Declare function.
13138
024ff170
SM
131392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13140
c0a193ea
SM
13141 * shell.el: Use lexical-binding and std completion UI.
13142 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13143 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13144 comint-preoutput-filter-functions rather than on
13145 comint-output-filter-functions.
13146 (shell-command-completion, shell--command-completion-data)
13147 (shell-filename-completion, shell-environment-variable-completion)
13148 (shell-c-a-p-replace-by-expanded-directory): New functions.
13149 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13150 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13151 (shell-dynamic-complete-environment-variable): Use them.
13152 (shell-dynamic-complete-as-environment-variable)
13153 (shell-dynamic-complete-as-command): Remove.
13154 (shell-match-partial-variable): Match past point.
13155 * comint.el: Clean up use of completion-at-point-functions.
13156 (comint-completion-at-point): New function.
13157 (comint-mode): Use it completion-at-point-functions.
13158 (comint-dynamic-complete): Make it obsolete.
13159 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13160 (comint-c-a-p-replace-by-expanded-history): New function.
13161 (comint-dynamic-complete-functions)
13162 (comint-replace-by-expanded-history): Use it.
13163 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13164 termination strings. Try harder to avoid second try-completion.
13165 (completion-in-region-mode-map): Disable bindings that don't work yet.
13166
2dbaa080
SM
13167 * comint.el: Use lexical-binding. Require CL.
13168 (comint-dynamic-complete-functions): Use comint-filename-completion.
13169 (comint-completion-addsuffix): Tweak custom type.
13170 (comint-filename-completion, comint--common-suffix)
13171 (comint--common-quoted-suffix, comint--table-subvert)
13172 (comint--complete-file-name-data): New functions.
13173 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13174 (comint-dynamic-list-filename-completions): Use them.
13175 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13176
2dbaa080
SM
13177 * minibuffer.el (completion-in-region-mode):
13178 Keep completion-in-region-mode--predicate global.
13179 (completion-in-region--postch):
13180 Assume completion-in-region-mode--predicate is not null.
13181
c79a6f38
SM
13182 * progmodes/flymake.el (flymake-start-syntax-check-process):
13183 Obey `dir'. Simplify.
13184
024ff170
SM
13185 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13186 we're in VC after all.
13187
1c6c854e
CS
131882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13189
13190 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13191 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13192 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13193
bed7f140
SM
131942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13195
332e62ab
SM
13196 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13197 add sanity check.
13198
bed7f140
SM
13199 * obsolete/erc-hecomplete.el: Make obsolete.
13200 * obsolete/: Standardize obsolescence info in the header.
13201
f195c582
GM
132022011-04-20 Glenn Morris <rgm@gnu.org>
13203
13204 * calendar/solar.el (solar-horizontal-coordinates):
13205 Use the longitude argument rather than `calendar-longitude'.
13206 (solar-date-next-longitude): Remove unused locals.
13207
cb79b8c0
VJL
132082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13209
13210 * whitespace.el: New version 13.2.1.
13211
132122011-04-20 felix <EmacsWiki> (tiny change)
13213
d8e4b68b 13214 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13215 switching between major modes on a file.
13216
602ea69d
SM
132172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13220 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13221 multi-line comments as well.
13222
06b60517
JB
132232011-04-19 Juanma Barranquero <lekktu@gmail.com>
13224
13225 Lexical-binding cleanup.
13226
13227 * arc-mode.el (archive-mode-revert):
13228 * cmuscheme.el (scheme-interactively-start-process):
13229 * custom.el (custom-initialize-delay):
13230 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13231 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13232 * emacs-lock.el (emacs-lock-clear-sentinel):
13233 * ezimage.el (defezimage):
13234 * follow.el (follow-avoid-tail-recenter):
13235 * fringe.el (set-fringe-mode-1):
13236 * generic-x.el (bat-generic-mode-compile):
13237 * help-mode.el (help-info-variable, help-do-xref)
13238 (help-mode-revert-buffer):
13239 * help.el (view-emacs-todo):
13240 * iswitchb.el (iswitchb-completion-help):
13241 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13242 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13243 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13244 * locate.el (locate-update):
13245 * longlines.el (longlines-encode-region)
13246 (longlines-after-change-function):
13247 * outline.el (outline-isearch-open-invisible):
13248 * ps-def.el (declare-function, charset-dimension, char-width)
13249 (encode-char):
13250 * ps-mule.el (ps-mule-plot-string):
13251 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13252 (recentf-edit-list-select, recentf-edit-list-validate)
13253 (recentf-open-files-action):
13254 * rect.el (delete-whitespace-rectangle-line)
13255 (rectangle-number-line-callback):
13256 * register.el (window-configuration-to-register)
13257 (frame-configuration-to-register):
13258 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13259 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13260 (xselect-convert-to-targets, xselect-convert-to-delete)
13261 (xselect-convert-to-filename, xselect-convert-to-charpos)
13262 (xselect-convert-to-lineno, xselect-convert-to-colno)
13263 (xselect-convert-to-os, xselect-convert-to-host)
13264 (xselect-convert-to-user, xselect-convert-to-class)
13265 (xselect-convert-to-name, xselect-convert-to-integer)
13266 (xselect-convert-to-atom, xselect-convert-to-identity):
13267 * subr.el (declare, ignore, process-kill-without-query)
13268 (text-clone-maintain):
13269 * terminal.el (te-get-char, te-tic-sentinel):
13270 * tool-bar.el (tool-bar-make-keymap):
13271 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13272 * type-break.el (type-break-mode, type-break-noninteractive-query):
13273 * view.el (View-back-to-mark):
13274 * wid-browse.el (widget-browse-action, widget-browse-widget)
13275 (widget-browse-widgets, widget-browse-sexp):
13276 * widget.el (define-widget-keywords):
13277 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13278 Mark unused parameters.
13279
13280 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13281 (align-areas): Remove unused variable `look'.
13282 (align-region): Remove unused variables `real-end' and `pos-list'.
13283
13284 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13285
13286 * bindings.el (mode-line-modified, mode-line-remote):
13287 Mark unused parameters.
13288 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13289
13290 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13291 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13292
13293 * comint.el (comint-history-isearch-pop-state)
13294 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13295 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13296 (comint-substitute-in-file-name): Doc fix.
13297
13298 * completion.el (cmpl-statistics-block): Mark unused parameter.
13299 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13300 (save-completions-to-file, load-completions-from-file):
13301 Remove unused local variable `e'.
13302
13303 * composite.el (compose-chars): Remove unused variable `len'.
13304 (lgstring-insert-glyph): Remove unused variable `g'.
13305 (compose-glyph-string): Remove unused variables `ascent',
13306 `descent', `lbearing' and `rbearing'.
13307 (compose-glyph-string-relative): Remove unused variables
13308 `lbearing', `rbearing' and `wadjust'.
13309 (compose-gstring-for-graphic): Remove unused variables `header',
13310 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13311 (compose-gstring-for-terminal): Remove unused variables `header'
13312 and `nchars'. Use `let', not `let*'.
13313
13314 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13315 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13316 (Custom-buffer-done, custom-buffer-create-internal)
13317 (custom-browse-visibility-action, custom-browse-group-tag-action)
13318 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13319 (widget-magic-mouse-down-action, custom-toggle-parent)
13320 (custom-add-parent-links, custom-toggle-hide-variable)
13321 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13322 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13323 (custom-face-menu-create, custom-variable-menu-create, get)
13324 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13325 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13326 (customize-apropos): Remove unused variable `tests'.
13327 (custom-group-value-create): Remove unused variable `hidden-p'.
13328 (sort-fold-case): Declare.
13329
13330 * cus-theme.el (custom-reset-standard-faces-list)
13331 (custom-reset-standard-variables-list): Declare.
13332 (customize-create-theme, custom-theme-revert, custom-theme-write)
13333 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13334 Mark unused parameters.
13335
13336 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13337
13338 * delim-col.el (delimit-columns-max): Move defvar before first use.
13339
13340 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13341 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13342
13343 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13344 (auto-insert): Declare.
13345 (desktop-restore-file-buffer): Rename desktop-* parameters;
13346 mark unused ones.
13347 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13348 (desktop-buffer): Rename desktop-* parameters.
13349
13350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13351 (dframe-reposition-frame-xemacs, dframe-help-echo)
13352 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13353 Mark unused parameters.
13354
13355 * dired-aux.el (backup-extract-version-start, overwrite-query)
13356 (overwrite-backup-query, rename-regexp-query)
13357 (rename-non-directory-query): Declare.
13358 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13359 (dired-add-entry): Remove unused variable `orig-file-name'.
13360 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13361 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13362 `dired-copy-preserve-time' directly.
13363 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13364 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13365
13366 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13367 (dired-virtual-revert, dired-make-relative-symlink):
13368 Mark unused parameters.
13369 (manual-program): Declare.
13370 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13371 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13372 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13373
13374 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13375
13376 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13377
13378 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13379 Declare.
13380
13381 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13382
13383 * electric.el (Electric-command-loop): Rename parameter
13384 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13385
13386 * expand.el (expand-in-literal): Remove unused variable `here'.
13387
13388 * facemenu.el (facemenu-add-new-color):
13389 Remove unused variable `docstring'.
13390
13391 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13392 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13393 (face-attr-construct): Mark unused parameter. Doc fix.
13394 (read-color): Remove unused variable `hex-string'.
13395
13396 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13397 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13398 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13399 (display-buffer-other-frame): Remove unused variable `old-window'.
13400 (kill-buffer-hook): Declare.
13401 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13402 Mark unused parameters.
13403 (after-find-file): Pass 1 to `auto-save-mode', not t.
13404
13405 * files-x.el (auto-insert): Declare.
13406 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13407
13408 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13409 variable `buf'. Mark unused parameter.
06b60517
JB
13410 (find-lisp-insert-directory): Mark unused parameter.
13411
13412 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13413 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13414 (format-common-tail): Remove, unused.
13415 (format-deannotate-region): Remove unused variable `loc'.
13416 (format-annotate-region): Remove unused variable `p'.
13417 (format-annotate-single-property-change): Remove unused variables
13418 `default' and `tail'.
13419
13420 * forms.el (read-file-filter): Declare.
13421 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13422
13423 * frame.el (frame-creation-function-alist): Mark unused parameter.
13424 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13425
13426 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13427 Remove unused parameters.
13428 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13429 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13430
13431 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13432 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13433 (hfy-prepare-tag-map): Mark unused parameters.
13434 (htmlfontify-buffer): Use `called-interactively-p'.
13435
13436 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13437 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13438 (ibuffer-do-occur): Mark unused parameters.
13439 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13440 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13441
13442 * ibuffer.el: Don't quote `lambda'.
13443 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13444 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13445 Mark unused parameters.
13446
13447 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13448 (ido-completing-read): Mark unused parameters.
13449 (ido-copy-current-word): Mark unused parameters;
13450 remove unused variable `name'.
13451 (ido-sort-merged-list): Remove unused parameter `dirs'.
13452
13453 * ielm.el (ielm-input-sender): Mark unused parameter.
13454 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13455 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13456 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13457 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13458 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13459
13460 * image-dired.el (image-dired-display-thumbs): Remove unused
13461 variables `curr-file' and `count'.
13462 (image-dired-remove-tag): Remove unused variable `start'.
13463 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13464 variable `curr-file'
13465 (image-dired-rotate-original): Remove unused variable `temp-file'.
13466 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13467 Remove unused variable `file'.
13468 (image-dired-gallery-generate): Remove unused variable `curr'.
13469 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13470
13471 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13472
13473 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13474
13475 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13476
13477 * isearch.el (minibuffer-history-symbol): Declare.
13478 (isearch-edit-string): Remove unused variable `err'.
13479 (isearch-message-prefix, isearch-message-suffix):
13480 Mark unused parameters.
13481
13482 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13483
13484 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13485
13486 * makesum.el (double-column): Remove unused variable `cnt'.
13487
13488 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13489 (ido-ignore-item-temp-list): Declare.
13490
13491 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13492 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13493 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13494 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13495 `mouse-col-delta'.
13496
13497 * mouse-sel.el (mouse-extend-internal):
13498 Remove unused variable `orig-window-frame'.
13499
13500 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13501 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13502 Move declarations before first use.
13503 (pcomplete-opt): Mark unused parameters; doc fix.
13504
13505 * proced.el (proced-revert): Mark unused parameter.
13506 (proced-send-signal): Remove unused variable `err'.
13507
13508 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13509 Rename parameter PREFIX-ARG to ARG.
13510 (ps-basic-plot-string, ps-basic-plot-whitespace):
13511 Mark unused parameters.
13512
13513 * replace.el (replace-count): Define.
13514 (occur-revert-function): Mark unused parameters.
13515 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13516 (isearch-case-fold-search, isearch-string): Declare.
13517 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13518 bind `case-fold-search'. Remove unused variables `beg' and `end',
13519 and simplify.
13520 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13521 COUNT and bind `replace-count'.
13522 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13523 to COUNT.
13524
13525 * savehist.el (print-readably, print-string-length): Declare.
13526
13527 * shadowfile.el (shadow-expand-cluster-in-file-name):
13528 Remove unused variable `cluster'.
13529 (shadow-copy-file): Remove unused variable `i'.
13530 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13531 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13532 (shadow-define-literal-group, shadow-define-regexp-group)
13533 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13534
13535 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13536 (shell): Use `called-interactively-p'.
13537 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13538
13539 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13540 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13541 (delete-backward-char): Remove unused variable `ocol'.
13542 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13543 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13544 (event-apply-hyper-modifier, event-apply-shift-modifier)
13545 (event-apply-control-modifier, event-apply-meta-modifier):
13546 Mark unused parameters.
13547 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13548 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13549
13550 * speedbar.el (speedbar-ignored-directory-expressions)
13551 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13552 (speedbar-find-file, speedbar-dir-follow)
13553 (speedbar-directory-buttons-follow, speedbar-tag-find)
13554 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13555 (speedbar-buffers-line-directory, speedbar-buffer-click):
13556 Mark unused parameters.
13557 (speedbar-tag-file): Remove unused variable `mode'.
13558 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13559
13560 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13561
13562 * talk.el (talk): Remove unused variable `display'.
13563
13564 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13565 (tar-write-region-annotate): Mark unused parameter.
13566
13567 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13568 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13569 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13570 warning by another.
13571
13572 * time-stamp.el (time-stamp-string-preprocess):
13573 Remove unused variable `require-padding'.
13574
13575 * tree-widget.el (widget-glyph-enable): Declare.
13576 (tree-widget-action): Mark unused parameter.
13577
13578 * w32-fns.el (x-get-selection): Mark unused parameter.
13579 (autoload-make-program, generated-autoload-file): Declare.
13580
13581 * wdired.el (wdired-revert): Mark unused parameters.
13582 (wdired-xcase-word): Remove unused variable `err'.
13583
13584 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13585 (whitespace-help-scroll): Remove unused variable `data-help'.
13586
13587 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13588 (widget-image-insert, widget-after-change, default)
13589 (widget-default-format-handler, widget-default-notify)
13590 (widget-default-prompt-value, widget-info-link-action)
13591 (widget-url-link-action, widget-function-link-action)
13592 (widget-variable-link-action, widget-file-link-action)
13593 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13594 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13595 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13596 (widget-insert-button-action, widget-delete-button-action, visibility)
13597 (widget-documentation-link-action, widget-documentation-string-action)
13598 (widget-const-prompt-value, widget-regexp-match, symbol)
13599 (widget-coding-system-prompt-value)
13600 (widget-key-sequence-value-to-external, sexp)
13601 (widget-sexp-value-to-internal, character, vector, cons)
13602 (widget-choice-prompt-value, widget-boolean-prompt-value)
13603 (widget-color--choose-action): Mark unused parameters.
13604 (widget-item-match-inline, widget-choice-match-inline)
13605 (widget-checklist-match, widget-checklist-match-inline)
13606 (widget-group-match): Rename parameter VALUES to VALS.
13607 (widget-field-value-set): Remove unused variable `size'.
13608 (widget-color-action): Remove unused variables `value' and `start'.
13609
13610 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13611 variable `dir'. Doc fix.
06b60517
JB
13612 (windmove-find-other-window): Don't pass it.
13613
13614 * window.el (count-windows): Mark unused parameter.
13615 (bw-adjust-window): Remove unused variable `err'.
13616
13617 * woman.el (woman-file-name): Remove unused variable `default'.
13618 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13619 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13620 (global-font-lock-mode): Declare.
13621 (woman-decode-region): Mark unused parameter.
13622 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13623
13624 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13625 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13626 (x-dnd-handle-moz-url): Remove unused variable `title'.
13627 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13628
13629 * xml.el (xml-parse-tag, xml-parse-attlist):
13630 Remove unused variable `pos'.
13631
bc4f7f3d
GM
136322011-04-19 Glenn Morris <rgm@gnu.org>
13633
13634 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13635 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13636 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13637 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13638 * calendar/cal-html.el (cal-html-insert-minical):
13639 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13640 (calendar-mark-date-pattern):
13641 Prefix "unused" locals.
13642
13643 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13644 optional argument `style'.
13645
13646 * calendar/appt.el (appt-make-list):
13647 * calendar/cal-china.el (calendar-chinese-date-string):
13648 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13649 (diary-hebrew-yahrzeit):
13650 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13651 * calendar/calendar.el (calendar-generate-window):
13652 * calendar/time-date.el (time-to-days):
13653 Remove unused local variables.
13654
16a43933
CY
136552011-04-18 Chong Yidong <cyd@stupidchicken.com>
13656
13657 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13658 glyphless-char-display table.
13659 (tabulated-list-glyphless-char-display): New var.
13660
7eed1860
SS
136612011-04-18 Sam Steingold <sds@gnu.org>
13662
13663 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13664 to acknowledgments.
13665
4d2d1ccd
GM
136662011-04-17 Glenn Morris <rgm@gnu.org>
13667
13668 * calendar/diary-lib.el (diary-sexp-entry):
13669 * calendar/holidays.el (holiday-sexp):
13670 Set debug-on-error rather than the removed stack-trace-on-error.
13671
239da61d
GM
136722011-04-16 Glenn Morris <rgm@gnu.org>
13673
13674 * progmodes/f90.el: Use lexical-binding.
13675 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13676
8b05752a
SM
136772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13678
daca8ba5
SM
13679 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13680 (mail-mode): Setup mailalias completion here instead.
13681 * mail/mailalias.el: Use lexical-binding.
13682 (pattern, mailalias-done): Declare dynamic.
13683 (mail-completion-at-point-function): New function, from mail-complete.
13684 (mail-complete): Use it.
13685 (mail-completion-expand): New function.
13686 (mail-get-names): Use it.
13687 (mail-directory, mail-directory-process, mail-directory-stream):
13688 Don't use `pattern' for lexically bound arg.
13689
6f542485
SM
13690 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13691
037e7c3f
SM
13692 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13693 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13694 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13695
8b05752a
SM
13696 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13697 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13698 (byte-interactive-p): Define them again, for use when inlining
13699 old code.
13700
49093f60
JB
137012011-04-15 Juanma Barranquero <lekktu@gmail.com>
13702
13703 * loadup.el: Use `string-to-number', not `string-to-int'.
13704
b5b8e7de
SM
137052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13706
13707 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13708 gud-gdb-complete-command.
13709 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13710 (gud-gdb-completion-at-point): New function.
13711 (gud-gdb-completions): Remove.
13712
f42efeb5
MA
137132011-04-14 Michael Albinus <michael.albinus@gmx.de>
13714
49093f60
JB
13715 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13716 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13717 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13718 whether `executable-find' is bound.
f42efeb5
MA
13719
13720 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13721
e240cc21
SM
137222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * minibuffer.el (completion-in-region-mode-predicate)
13725 (completion-in-region-mode--predicate): New vars.
13726 (completion-in-region, completion-in-region--postch)
13727 (completion-in-region-mode): Use them.
13728 (completion--capf-wrapper): Also return the hook function.
13729 (completion-at-point, completion-help-at-point):
13730 Adjust and provide a predicate.
c2bd2ab0
SM
13731
13732 Preserve arg names for advice of subr and lexical functions (bug#8457).
13733 * help-fns.el (help-function-arglist): Consolidate the subr and
13734 new-byte-code cases. Add argument `preserve-names' to extract names
13735 from the docstring when needed.
13736 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13737 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13738 (ad-arglist): Use help-function-arglist's new arg.
13739 (ad-definition-type): Use cond.
13740
c183f693
JB
137412011-04-13 Juanma Barranquero <lekktu@gmail.com>
13742
06641a47
JB
13743 * autorevert.el (auto-revert-handler):
13744 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13745 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13746 Don't quote lambda.
13747
c183f693
JB
13748 * image-mode.el (image-transform-set-scale):
13749 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13750
1e3b6001
G
137512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13752
13753 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13754 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13755 Upgrades via gnutls-cli are too slow to be done opportunistically.
13756
2d6af8dd
JB
137572011-04-12 Juanma Barranquero <lekktu@gmail.com>
13758
13759 * dframe.el (dframe-current-frame): Remove spurious quote.
13760
c0749a51
GM
137612011-04-12 Glenn Morris <rgm@gnu.org>
13762
088d0d61
GM
13763 * calendar/cal-tex.el (cal-tex-end-document):
13764 Try to automatically use latin1 input if needed.
13765
c0749a51
GM
13766 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13767 Don't try to cons a mark onto an empty element.
13768
5c90fde0
LL
137692011-04-11 Leo Liu <sdl.web@gmail.com>
13770
13771 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13772 buffers.
13773 (ido-kill-buffer-at-head): Support killing virtual buffers.
13774
369e974d
CY
137752011-04-10 Chong Yidong <cyd@stupidchicken.com>
13776
13777 * minibuffer.el (completion-show-inline-help): New var.
13778 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13779 (minibuffer-force-complete, minibuffer-complete-word):
13780 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13781
13782 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13783 to avoid interference from inline help (Bug#5849).
13784
37f1c930
LL
137852011-04-10 Leo Liu <sdl.web@gmail.com>
13786
099c39a4
JB
13787 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13788 Fix typo.
37f1c930 13789
a32d4040
CY
137902011-04-09 Chong Yidong <cyd@stupidchicken.com>
13791
13792 * image-mode.el (image-toggle-display-image): Signal an error if
13793 not in Image mode.
13794 (image-transform-mode, image-transform-resize)
13795 (image-transform-set-rotation): Doc fix.
daca8ba5 13796 (image-transform-set-resize): Delete.
a32d4040
CY
13797 (image-transform-set-scale, image-transform-fit-to-height)
13798 (image-transform-fit-to-width): Handle image-toggle-display-image
13799 and image-transform-resize directly.
13800
099c39a4 138012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13802
13803 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13804 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13805 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13806 (doc-view-mode-map): Add bindings for the new functions.
13807
099c39a4 138082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13809
4d61f28d 13810 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13811 Fix typo in docstring.
13812
3726838a
EZ
138132011-04-08 Eli Zaretskii <eliz@gnu.org>
13814
04f33f1e
EZ
13815 * files.el (file-size-human-readable): Produce one digit after
13816 decimal, like "ls -lh" does.
13817
13818 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13819 the file size representation.
13820
3726838a
EZ
13821 * simple.el (list-processes): If async subprocesses are not
13822 available, error out with a clear error message.
13823
cbb59342
CY
138242011-04-08 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * help.el (help-form-show): New function, to be called from C.
13827 Put help-form output in a buffer named differently than *Help*.
13828
e3971c44
EZ
138292011-04-08 Eli Zaretskii <eliz@gnu.org>
13830
13831 * files.el (file-size-human-readable): New function.
13832
13833 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13834 computing the representation inline. Don't require `cl'.
13835
12544bbe
GM
138362011-04-08 Glenn Morris <rgm@gnu.org>
13837
a1de6c6a
GM
13838 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13839
3c4671f4
GM
13840 * net/browse-url.el (browse-url-firefox):
13841 Test system-type, not system-configuration.
13842
b605679c
GM
13843 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13844 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13845 Use log-edit-empty-buffer-p. (Bug#7598)
13846
56442f0c
GM
13847 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13848 (rlogin-mode-map): Initialize in the defvar.
13849 (rlogin): Use ignore-errors.
13850
12544bbe
GM
13851 * replace.el (occur-mode-map): Some fixes for menu items.
13852
eb237b0f
AH
138532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13854
13855 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13856
7d668f2c
CY
138572011-04-06 Chong Yidong <cyd@stupidchicken.com>
13858
e67a13ab
CY
13859 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13860 issuing unused warnings.
13861
13862 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13863 macro directly.
13864
7d668f2c
CY
13865 * simple.el: Lisp reimplement of list-processes. Based on an
13866 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13867 (process-menu-mode): New major mode.
13868 (list-processes--refresh, list-processes):
13869 (process-menu-visit-buffer): New functions.
13870
13871 * files.el (save-buffers-kill-emacs): Don't assume any return
13872 value of list-processes, which is undocumented anyway.
13873
a83ec3c9
CY
138742011-04-06 Chong Yidong <cyd@stupidchicken.com>
13875
13876 * emacs-lisp/tabulated-list.el: New file.
13877
e91a96fe
CY
13878 * emacs-lisp/package.el: Use Tabulated List mode.
13879 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13880 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13881 table format using Tabulated List mode variables.
13882 (package--push): New macro, replacing package-list-maybe-add.
13883 (package-menu--generate): Use package--push. Renamed from
13884 package--generate-package-list.
13885 (package-menu-refresh, list-packages): Use it.
daca8ba5 13886 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13887 Return insertion data instead of inserting it directly.
099c39a4
JB
13888 (package-menu-describe-package, package-menu-execute):
13889 Use tabulated-list-get-id.
e91a96fe
CY
13890 (package-menu-mark-delete, package-menu-mark-install)
13891 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13892 (package-menu-mark-obsolete-for-deletion):
13893 Use tabulated-list-put-tag.
e91a96fe
CY
13894 (package--list-packages, package-menu-revert)
13895 (package-menu-get-package, package-menu-get-version)
13896 (package-menu-sort-by-column): Functions deleted.
13897 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13898 (package-menu--status-predicate, package-menu--version-predicate)
13899 (package-menu--name-predicate)
13900 (package-menu--description-predicate): Handle arguments in the
13901 Tabulated List format.
13902 (package-list-packages-no-fetch): Call list-packages.
13903
3e214b50
JB
139042011-04-06 Juanma Barranquero <lekktu@gmail.com>
13905
13906 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13907 (after-find-file): Don't bind it.
3e214b50
JB
13908 (revert-buffer-in-progress-p): New variable.
13909 (revert-buffer): Bind it.
13910 Pass nil for `after-find-file-from-revert-buffer'.
13911
13912 * saveplace.el (save-place-find-file-hook): Use new variable
13913 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13914
3f0f1700
GM
139152011-04-06 Glenn Morris <rgm@gnu.org>
13916
c0274801
GM
13917 * Makefile.in (AUTOGEN_VCS): New variable.
13918 (autoloads): Use $AUTOGEN_VCS.
13919
3f0f1700
GM
13920 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13921 * calendar/calendar.el (calendar-mode-map):
13922 Check for toolkit scroll bars. (Bug#8305)
13923
41ea9e48
CY
139242011-04-05 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * minibuffer.el (completion-in-region--postch)
13927 (completion-in-region-mode): Remove unnecessary messages.
13928
6194c800
JB
139292011-04-05 Juanma Barranquero <lekktu@gmail.com>
13930
33256f14
JB
13931 * font-lock.el (font-lock-refresh-defaults):
13932 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13933 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13934
6194c800
JB
13935 * info.el (Info-directory-list, Info-read-node-name-2)
13936 (Info-split-parameter-string): Doc fixes.
13937 (Info-virtual-nodes): Reflow docstring.
13938 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13939 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13940 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13941 Fix typos in docstrings.
13942 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13943 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13944 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13945 (Info-restore-desktop-buffer): Mark unused parameters.
13946 (Info-directory-find-file, Info-directory-find-node)
13947 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13948 (Info-virtual-index-find-node, Info-apropos-find-file)
13949 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13950 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13951 (Info-virtual-index): Remove unused local variable `nodename'.
13952
b87a8200 139532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13954
b87a8200
DD
13955 * net/rcirc.el: Update my e-mail address.
13956 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13957
3b2ff876
CY
139582011-04-05 Chong Yidong <cyd@stupidchicken.com>
13959
13960 * startup.el (command-line): Save the cursor's theme-face
13961 directly, instead of using face-override-spec.
13962
13963 * custom.el (load-theme): Minor optimization in assigning faces.
13964
8d17e7ca
JB
139652011-04-04 Juanma Barranquero <lekktu@gmail.com>
13966
13967 * help-fns.el (describe-variable): Complete all variables having
13968 documentation, including keywords.
13969 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13970
2fbc1934
JB
139712011-04-04 Juanma Barranquero <lekktu@gmail.com>
13972
13973 Convert to lexical-binding.
13974
13975 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13976 (bs--get-marked-string, bs--get-modified-string)
13977 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13978 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13979 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13980
13981 * ehelp.el (electric-help-execute-extended)
13982 (electric-help-ctrl-x-prefix):
13983 * hexl.el (hexl-revert-buffer-function):
13984 * linum.el (linum-after-change, linum-after-scroll):
13985 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13986
13987 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13988
74f50695
DU
139892011-04-04 Daiki Ueno <ueno@unixuser.org>
13990
13991 * epa-dired.el:
13992 * epa-mail.el:
13993 * epa-hook.el:
13994 * epa-file.el:
13995 * epa.el:
13996 * epg.el: Use lexical binding.
13997
c11325f7
CY
139982011-04-03 Chong Yidong <cyd@stupidchicken.com>
13999
0d9e9a12
CY
14000 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14001
c11325f7 14002 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14003 dictionary case for flyspell-mark-duplications-exceptions.
14004 Use regexp matching for languages.
c11325f7
CY
14005 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14006 default dictionary (Bug#7926).
14007
da91b5f2
CY
140082011-04-02 Chong Yidong <cyd@stupidchicken.com>
14009
099c39a4
JB
14010 * emacs-lisp/package.el (package--with-work-buffer):
14011 Recognize https URLs.
da91b5f2 14012
099c39a4
JB
14013 * net/network-stream.el: Move from gnus/proto-stream.el.
14014 Change prefix to network-stream throughout.
da91b5f2
CY
14015 (open-protocol-stream): Merge into open-network-stream, leaving
14016 open-protocol-stream as an alias. Handle nil BUFFER args.
14017
14018 * subr.el (open-network-stream): Move to net/network-stream.el.
14019
afa8e9f6
GM
140202011-04-02 Glenn Morris <rgm@gnu.org>
14021
1d2e369d
GM
14022 * find-dired.el (find-exec-terminator): New option.
14023 (find-ls-option): Test for -ls support.
14024 (find-ls-subdir-switches): Test for -b in find-ls-option.
14025 (find-dired, find-grep-dired): Doc fixes.
14026 (find-dired): Use find-exec-terminator.
14027
8abb7da8 14028 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14029 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14030 (find-name-arg): Remove purecopy.
8abb7da8 14031
f3ca7378
GM
14032 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14033 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14034 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14035 accordingly. Don't add the null-device if not needed.
14036
afa8e9f6
GM
14037 * files.el (save-some-buffers): Doc fix.
14038
35eae264
EZ
140392011-04-02 Eli Zaretskii <eliz@gnu.org>
14040
14041 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14042
26b51db5
JB
140432011-04-01 Juanma Barranquero <lekktu@gmail.com>
14044
14045 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14046 Use `dolist' rather than `mapcar'.
14047
7200d79c
SM
140482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14049
03408648 14050 Add lexical binding.
7200d79c 14051
03408648
SM
14052 * subr.el (apply-partially): Use new closures rather than CL.
14053 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14054 (dolist, dotimes): Use slightly different expansion for lexical code.
14055 (functionp): Move to C.
14056 (letrec): New macro.
14057 (with-wrapper-hook): Use it and apply-partially instead of CL.
14058 (eval-after-load): Preserve lexical-binding.
14059 (save-window-excursion, with-output-to-temp-buffer): Turn them
14060 into macros.
7200d79c 14061
03408648
SM
14062 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14063
14064 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14065 than the arglist.
14066 (help-add-fundoc-usage): Don't add `Not documented'.
14067 (help-function-arglist): Handle closures, subroutines, and new
14068 byte-code-functions.
14069 (help-make-usage): Remove leading underscores.
14070 (describe-function-1): Handle closures.
14071 (describe-variable): Use special-variable-p for completion.
14072
14073 * files.el (lexical-binding): Declare safe.
f488fb65 14074
03408648
SM
14075 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14076 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14077 (pcase): Add `let' pattern.
14078 Change memoization so it actually works.
14079 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14080 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14081 <let>: New case.
f488fb65 14082
03408648
SM
14083 * emacs-lisp/macroexp.el: Use lexical binding.
14084 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14085 Don't convert ' to #' without checking that it's indeed quoting
14086 a lambda.
14087
14088 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14089 Use eval-sexp-add-defvars.
03408648
SM
14090 (eval-sexp-add-defvars): New fun.
14091
14092 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14093
14094 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14095 Don't autoload.
14096 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14097 than the internal `byte-compile-lambda'.
14098 (defmethod): Don't hide code under quotes.
14099 (eieio-defmethod): New `code' argument.
14100
14101 * emacs-lisp/eieio-comp.el: Remove.
14102
14103 * emacs-lisp/edebug.el (edebug-eval-defun)
14104 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14105 (edebug-toggle): Avoid `eval'.
14106
14107 * emacs-lisp/disass.el (disassemble-internal): Handle new
14108 `closure' objects.
14109 (disassemble-1): Handle new byte codes.
14110
14111 * emacs-lisp/cl.el (pushnew): Silence warning.
14112
14113 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14114 (cl-byte-compile-throw): Remove.
14115 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14116
14117 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14118 closures.
14119
14120 * emacs-lisp/cconv.el: New file.
14121
14122 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14123 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14124 (byte-compile-initial-macro-environment):
14125 Handle declare-function here.
14126 (byte-compile--lexical-environment): New var.
14127 (byte-stack-ref, byte-stack-set, byte-discardN)
14128 (byte-discardN-preserve-tos): New lap codes.
14129 (byte-interactive-p): Don't use any more.
14130 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14131 New macros.
14132 (byte-compile-lapcode): Use them and handle new lap codes.
14133 (byte-compile-obsolete): Remove.
14134 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14135 (byte-compile-arglist-warn): Check late def of inlinable funs.
14136 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14137 since they should have been expanded by now.
14138 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14139 (byte-compile-from-buffer): Remove unused second arg.
14140 (byte-compile-preprocess): New function.
14141 (byte-compile-toplevel-file-form): New function to distinguish
14142 file-form calls from outside from file-form calls from hunk-handlers.
14143 (byte-compile-file-form): Simplify.
14144 (byte-compile-file-form-defsubst): Remove.
14145 (byte-compile-file-form-defmumble): Simplify now that
14146 byte-compile-lambda always returns a byte-code-function.
14147 (byte-compile): Preprocess.
14148 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14149 Remove, not used any more.
14150 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14151 (byte-compile-make-args-desc): New funs.
14152 (byte-compile-lambda): Handle lexical functions. Always return
14153 a byte-code-function.
14154 (byte-compile-reserved-constants): New var, to make up room for
14155 closed-over variables.
14156 (byte-compile-constants-vector): Obey it.
14157 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14158 (byte-compile-macroexpand-declare-function): New function.
14159 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14160 byte-code-functions.
14161 (byte-compile-form): Check obsolescence here.
14162 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14163 (byte-compile-variable-ref): Remove.
14164 (byte-compile-dynamic-variable-op): New fun.
14165 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14166 (byte-compile-variable-set): New funs.
14167 (byte-compile-discard): Add 2 args.
14168 (byte-compile-stack-ref, byte-compile-stack-set)
14169 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14170 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14171 macroexpand-all instead.
14172 (byte-compile-quote-form): Remove.
14173 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14174 (byte-compile-bind, byte-compile-unbind): New funs.
14175 (byte-compile-let): Handle let* and lexical binding.
14176 (byte-compile-let*): Remove.
14177 (byte-compile-catch, byte-compile-unwind-protect)
14178 (byte-compile-track-mouse, byte-compile-condition-case):
14179 Handle a new :fun-body form, used for lexical scoping.
14180 (byte-compile-save-window-excursion)
14181 (byte-compile-with-output-to-temp-buffer): Remove.
14182 (byte-compile-defun): Simplify.
14183 (byte-compile-stack-adjustment): New fun.
14184 (byte-compile-out): Use it.
14185 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14186
14187 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14188 handler any more.
14189
14190 * emacs-lisp/byte-opt.el: Use lexical binding.
14191 (byte-inline-lapcode): Remove (to bytecomp).
14192 (byte-compile-inline-expand): Pay attention to inlining to/from
14193 lexically bound code.
14194 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14195 any more.
14196 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14197 any more and don't call compiler-macros.
14198 (byte-compile-splice-in-already-compiled-code): Remove.
14199 (byte-code): Don't inline any more.
14200 (disassemble-offset): Receive `bytes' as argument rather than via
14201 dynamic scoping.
14202 (byte-compile-tag-number): Declare before first use.
14203 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14204 `return' even if make-spliceable.
14205 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14206 obsolete interactive-p.
14207 (byte-optimize-lapcode): Optimize new lap-codes.
14208 Don't trip up on new form of `byte-constant' lap code.
14209
14210 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14211
14212 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14213
14214 * custom.el (custom-initialize-default, custom-declare-variable):
14215 Use `defvar'.
14216
14217 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14218 New variables.
14219 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14220 (COMPILE_FIRST): Add macroexp and cconv.
14221 * makefile.w32-in: Mirror changes in Makefile.in.
14222
14223 * vc/cvs-status.el:
14224 * vc/diff-mode.el:
14225 * vc/log-edit.el:
14226 * vc/log-view.el:
14227 * vc/smerge-mode.el:
14228 * textmodes/bibtex-style.el:
14229 * textmodes/css.el:
14230 * startup.el:
14231 * uniquify.el:
da91b5f2
CY
14232 * minibuffer.el:
14233 * newcomment.el:
14234 * reveal.el:
14235 * server.el:
14236 * mpc.el:
14237 * emacs-lisp/smie.el:
14238 * doc-view.el:
14239 * dired.el:
03408648
SM
14240 * abbrev.el: Use lexical binding.
14241
0f0c1f27
EZ
142422011-04-01 Eli Zaretskii <eliz@gnu.org>
14243
14244 * info.el (info-display-manual): New function.
14245
c82b2579
SM
142462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14249
221ddf68
TH
142502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14251
14252 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14253 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14254
cba6e77e
GM
142552011-03-31 Glenn Morris <rgm@gnu.org>
14256
e040639f
GM
14257 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14258
cba6e77e
GM
14259 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14260
6d0f1c9e
CS
142612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14262
14263 * progmodes/python.el (python-default-interpreter)
14264 (python-python-command-args, python-jython-command-args)
14265 (python-which-shell, python-which-args, python-which-bufname)
14266 (python-file-queue, python-comint-output-filter-function)
14267 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14268 variables and functions.
14269
3e2d70fd
SM
142702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14271
14272 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14273 (completion-in-region-mode): New minor mode.
14274 (completion-in-region): Use it.
14275 (completion-in-region--data, completion-in-region-mode-map): New vars.
14276 (completion-in-region--postch): New function.
14277 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14278 New vars.
14279 (completion--capf-wrapper): New function.
14280 (completion-at-point): Use it to track well-behavedness of
14281 hook functions.
14282 (completion-help-at-point): New command.
14283
f3e4086c
JM
142842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14285
14286 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14287 syntax class to search for whitespace on a single line
14288 (Message-ID: <4D938140.4030905@redhat.com>).
14289
eb7ffc14
LL
142902011-03-30 Leo Liu <sdl.web@gmail.com>
14291
14292 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14293 New commands.
14294 (edit-abbrevs-map): Bind them here.
14295 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14296
d806ab68
KM
142972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14298
14299 * allout.el (allout-hide-by-annotation, allout-flag-region):
14300 Reduce possibility of overlay leakage by making them volatile.
14301
14302 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14303 hash is not shared between buffers. Mode initialization is
14304 responsible for giving it a useful starting value.
14305 (allout-item-span): Reduce possibility of overlay leakage by
14306 making them volatile.
14307 (allout-widgets-count-buttons-in-region): Add diagnostic function
14308 for tracking down button overlay leaks.
14309
ea622834
LL
143102011-03-29 Leo Liu <sdl.web@gmail.com>
14311
14312 * ido.el (ido-read-internal): Use the default history var
14313 minibuffer-history if no HISTORY is specified.
14314
b62f8267
G
143152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14316
03408648
SM
14317 * net/imap.el (imap-shell-open, imap-process-connection-type):
14318 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14319 Kerberos, SSL, other subprocesses.
14320
947b6566
LL
143212011-03-28 Leo Liu <sdl.web@gmail.com>
14322
14323 * abbrev.el (abbrev-table-empty-p): New function.
14324 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14325 nonempty ones. (Bug#5937)
14326
5ffb62aa
JD
143272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14328
14329 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14330
7a097943
LL
143312011-03-27 Leo Liu <sdl.web@gmail.com>
14332
14333 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14334 for foreground and background colors.
14335 (ansi-color-make-color-map): Adapt.
14336
c5b40130
LL
143372011-03-25 Leo Liu <sdl.web@gmail.com>
14338
1f48f7d2
LL
14339 * midnight.el (midnight-time-float): Remove. Note it calculates
14340 the microsecond component incorrectly and seconds-to-time does the
14341 same job.
625897ec 14342 Remove redundant (require 'timer).
1f48f7d2 14343
c5b40130
LL
14344 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14345 (ido-completions): Remove unused arguments. (Bug#8329)
14346
d86d2721
SM
143472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * minibuffer.el (completion--flush-all-sorted-completions):
14350 Remove itself from hook.
14351 (completion-at-point): Let the functions perform the completion
14352 immediately and return nil or t.
14353 * comint.el (comint-dynamic-complete-functions): Now identical to
14354 completion-at-point-functions.
14355 (comint-dynamic-list-input-ring): Remove unused var `index'.
14356 (comint--match-partial-filename, comint--unquote&expand-filename):
14357 New funs, split from comint-match-partial-filename.
14358 (comint-dynamic-complete): Use completion-at-point.
14359 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14360
e8974c48
DA
143612011-03-24 Drew Adams <drew.adams@oracle.com>
14362
14363 * thingatpt.el: Support `defun'.
14364
def71b5e
LL
143652011-03-23 Leo Liu <sdl.web@gmail.com>
14366
cb5af48e
LL
14367 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14368
def71b5e
LL
14369 * help-mode.el (help-mode-finish): Tweak regexp.
14370
927c53e7
GM
143712011-03-23 Glenn Morris <rgm@gnu.org>
14372
18d05bed
GM
14373 * eshell/esh-opt.el (eshell-eval-using-options):
14374 Do not bind unused local variable `eshell-option-stub'.
14375
927c53e7
GM
14376 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14377
9d0da923
JB
143782011-03-22 Juanma Barranquero <lekktu@gmail.com>
14379
14380 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14381 keymap variable in `with-no-warnings' to avoid a warning when the
14382 keymap has been already `defconst'ed.
14383
4b978a67
LL
143842011-03-22 Leo Liu <sdl.web@gmail.com>
14385
14386 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14387 encode all chars in abbrevs; otherwise use emacs-mule or
14388 utf-8-emacs. (Bug#8308)
14389
5fd62452
JB
143902011-03-22 Juanma Barranquero <lekktu@gmail.com>
14391
0b1596c6
JB
14392 * simple.el (backward-delete-char-untabify):
14393 Avoid warning about using `delete-backward-char'.
14394
5fd62452
JB
14395 * image.el (image-type-file-name-regexps): Make it variable.
14396 `imagemagick-register-types' modifies it, and the user may want
14397 to add new extensions for known image types.
14398 (imagemagick-register-types): Throw error if not using ImageMagick.
14399
0b4e93f1
LL
144002011-03-22 Leo Liu <sdl.web@gmail.com>
14401
14402 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14403 located before rcirc-prompt-end-marker.
14404 (rcirc-complete): Error if point is not after rcirc prompt.
14405 Handle the case when table is nil.
9882e214 14406 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14407
fccee4ab
CY
144082011-03-22 Chong Yidong <cyd@stupidchicken.com>
14409
14410 * custom.el (custom--inhibit-theme-enable): Make it affect only
14411 custom-theme-set-variables and custom-theme-set-faces.
14412 (provide-theme): Ignore custom--inhibit-theme-enable.
14413 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14414 (custom-enabling-themes): Delete variable.
d86d2721
SM
14415 (enable-theme): Accept only loaded themes as arguments.
14416 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14417 (custom-enabled-themes): Forbid themes from setting this.
14418 Eliminate use of custom-enabling-themes.
14419 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14420
af896da6
LL
144212011-03-21 Leo Liu <sdl.web@gmail.com>
14422
14423 * ido.el (ido-read-internal): Add ido-selected to history instead
14424 of user input.
14425
78f64af0
SM
144262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * subr.el (deferred-action-list, deferred-action-function):
14429 Mark obsolete.
14430
b16ac1ec
LL
144312011-03-21 Leo Liu <sdl.web@gmail.com>
14432
810f7698
LL
14433 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14434 change on 2011-02-13 (bug#8309).
14435
b16ac1ec
LL
14436 * minibuffer.el (read-file-name-function): Change default value.
14437 (read-file-name--defaults): Rename from read-file-name-defaults.
14438 (read-file-name-default): Rename from read-file-name.
14439 (read-file-name): Call read-file-name-function.
14440
4e05e67e
GM
144412011-03-21 Glenn Morris <rgm@gnu.org>
14442
14443 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14444 Doc fixes.
14445
4359915b
CY
144462011-03-21 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * cus-theme.el: Add missing provide statement.
14449 (customize-create-theme): Extract theme value correctly.
14450 (custom-theme-visit-theme): Autoload.
14451 (customize-create-theme): Prompt before inserting default faces.
14452
1fe275ee
JB
144532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14454
14455 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14456 units and musical notes.
14457
cd394be1 144582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14459
14460 * ido.el (ido-read-internal): Use completing-read-default.
14461 (ido-completing-read): Fix compatibility with completing-read.
14462
7d476bde
CO
144632011-03-20 Christian Ohler <ohler@gnu.org>
14464
14465 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14466 (ert-delete-all-tests): Use `called-interactively-p' rather than
14467 `interactive-p'.
14468 (ert--make-xrefs-region): Respect END.
14469
fe0fb33e
CY
144702011-03-19 Chong Yidong <cyd@stupidchicken.com>
14471
ff854b0b
CY
14472 * dired-aux.el (dired-create-directory): Signal an error if the
14473 directory already exists (Bug#8246).
14474
fe0fb33e
CY
14475 * facemenu.el (list-colors-display): Call list-faces-display
14476 inside with-help-window.
14477 (list-colors-print): Use display property to align the final
14478 column, instead of checking window-width.
14479
576bce32
EZ
144802011-03-19 Eli Zaretskii <eliz@gnu.org>
14481
4d61f28d 14482 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14483 windows-nt systems.
14484 (emerge-protect-metachars): Quote correctly for ms-dos and
14485 windows-nt systems.
14486
89c41d68 144872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14488
14489 * info.el (info-initialize): Replace all uses of `:' with
14490 path-separator for compatibility with non-Unix systems.
14491 Cache quoting of path-separator. (Bug#8258)
14492
b14e3e21 144932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14494
14495 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14496 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14497 (mouse-avoidance-mode): Fix typos in docstrings.
14498
4525ce3e
CY
144992011-03-19 Chong Yidong <cyd@stupidchicken.com>
14500
14501 * startup.el (package-subdirectory-regexp): Move from package.el.
14502 Omit \\` and \\', and let callers add them.
14503
14504 * emacs-lisp/package.el (package-strip-version)
14505 (package-load-all-descriptors): Add \\` and \\' to
14506 package-subdirectory-regexp before using it.
14507 (package-untar-buffer): New arg DIR; ensure that file untars only
14508 into this expected directory. Remove superfluous delete-region.
14509 (package-unpack): Caller changed.
14510 (package-tar-file-info): Use package-subdirectory-regexp.
14511
a904a09a 145122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14513
a904a09a
SM
14514 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14515 diff-mode-shared-map (bug#8284).
14516 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14517
145182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14519
14520 * calendar/time-date.el (format-seconds): Use assoc instead of
14521 assoc-string, since assoc-string doesn't exist in XEmacs.
14522
171fc304
JB
145232011-03-17 Juanma Barranquero <lekktu@gmail.com>
14524
14525 * custom.el (custom-known-themes): Reflow docstring.
14526 (custom-theme-load-path): Fix typo in docstring.
14527 (load-theme): Fix typo in error message.
14528 (custom-available-themes, custom-variable-theme-value):
14529 Use `let', not `let*'.
14530
d71990a1
JB
145312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14532
14533 * calc/README: Mention inclusion of musical notes.
14534
14535 * calc/calc-units.el (calc-lu-quant): Rename from
14536 `calc-logunits-quantity'.
14537 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14538 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14539 (calc-db): Rename from `calc-dblevel'.
14540 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14541 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14542 (calc-np): Rename from `calc-nplevel'.
14543 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14544 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14545 (calc-lu-plus): Rename from `calc-logunits-add'.
14546 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14547 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14548 (calc-lu-minus): Rename from `calc-logunits-sub'.
14549 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14550 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14551 (calc-lu-times): Rename from `calc-logunits-mul'.
14552 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14553 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14554 (calc-lu-divide): Rename from `calc-logunits-div'.
14555 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14556 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14557
14558 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14559 functions being autoloaded.
14560
14561 * calc/calc.el (calc-lu-power-reference): Rename from
14562 `calc-logunits-power-reference'.
14563 (calc-lu-field-reference): Rename from
14564 `calc-logunits-field-reference'.
14565
7a71b18d
GM
14566 * calc/calc-help.el (calc-l-prefix-help):
14567 Mention musical note functions.
d71990a1 14568
40c2934b
SM
145692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * minibuffer.el (completion-all-sorted-completions):
14572 Use :completion-cycle-penalty text property if present.
14573
b0911414
KM
145742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14575
14576 * allout.el (allout-yank-processing): Adjust for new rebulleting
14577 regime so bullet being yanked is used without prompting the user
14578 for a choice.
14579
8a05b668
JB
145802011-03-16 Juanma Barranquero <lekktu@gmail.com>
14581
14582 * startup.el (command-line): Warn the user that _emacs is deprecated.
14583
5ba5fb81
JB
145842011-03-16 Juanma Barranquero <lekktu@gmail.com>
14585
14586 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14587 (delphi-verbose, delphi-comment-face, delphi-string-face)
14588 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14589 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14590 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14591 (delphi-new-comment-line, delphi-font-lock-defaults)
14592 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14593 Fix typos in docstrings.
14594
2dab465b
KM
145952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14596
5ba5fb81 14597 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14598 Invert the roles of character and string values for INSTEAD, so a
14599 string is used for the more common case of a defaulting prompt.
14600
0adf5618
SM
146012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * progmodes/ruby-mode.el (ruby-backward-sexp):
14604 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14605 * play/gamegrid.el (gamegrid-make-face):
14606 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14607 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14608 * notifications.el (notifications-notify):
14609 * net/xesam.el (xesam-search-engines):
14610 * net/quickurl.el (quickurl-list-insert):
14611 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14612
d72700e5
CY
146132011-03-15 Chong Yidong <cyd@stupidchicken.com>
14614
14615 * startup.el (command-line): Update package subdirectory regexp.
14616
49c5410a
SM
146172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14618
c6eee9aa
SM
14619 * allout.el (allout-abbreviate-flattened-numbering)
14620 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14621
49c5410a
SM
14622 * subr.el (read-char-choice): Only show the cursor after the prompt,
14623 not after the answer.
14624
047b2bb9
KR
146252011-03-15 Kevin Ryde <user42@zip.com.au>
14626
14627 * help-fns.el (variable-at-point): Skip leading quotes, if any
14628 (bug#8253).
14629
0a57d256
SM
146302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14631
14632 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14633 warning message.
14634
77c992bc
MA
146352011-03-14 Michael Albinus <michael.albinus@gmx.de>
14636
14637 * shell.el (shell): When called interactively, offer to change the
14638 shell file name on remote hosts.
14639
eebc475d
TZ
146402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14641
14642 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14643 integration for LDAP parameters. The host, base, user or binddn,
14644 and secret tokens can be specified in a netrc file, for instance.
14645 This is optional because an `auth-source' parameter must be
14646 specified in the search attributes.
14647
9d05d1ba
JB
146482011-03-13 Juanma Barranquero <lekktu@gmail.com>
14649
14650 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14651
09d9db2c
GM
146522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14655 into declaration. Remove redundant and harmful binding.
14656
146572011-03-12 Eli Zaretskii <eliz@gnu.org>
14658
14659 * files.el (file-ownership-preserved-p): Pass `integer' as an
14660 explicit 2nd argument to `file-attributes'. If the file's owner
14661 is the Administrators group on Windows, and the current user is
14662 Administrator, consider that a match.
14663
14664 * server.el (server-ensure-safe-dir): Consider server directory
14665 safe on MS-Windows if its owner is the Administrators group while
14666 the current Emacs user is Administrator. Use `=' to compare
14667 numerical UIDs, since they could be integers or floats.
14668
219bd536
JB
146692011-03-12 Juanma Barranquero <lekktu@gmail.com>
14670
14671 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14672
f3afd36b
MA
146732011-03-12 Michael Albinus <michael.albinus@gmx.de>
14674
14675 Sync with Tramp 2.2.1.
14676
14677 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14678
14679 * net/trampver.el: Update release number.
14680
3aaaa6f1
SM
146812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14682
94642599
SM
14683 * progmodes/compile.el (compilation--previous-directory): Fix up
14684 various nil/dead-marker mismatches (bug#8014).
14685 (compilation-directory-properties, compilation-error-properties):
14686 Don't call it at a position past the one we're about to change.
14687
3aaaa6f1
SM
14688 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14689 Disable obsolescence warnings in the file that declares it.
14690
14239447
KM
146912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14692
099c39a4
JB
14693 * allout-widgets.el (allout-widgets-tally):
14694 Initialize allout-widgets-tally as a hash table rather than nil to
14695 prevent mode-line redisplay warnings. Also, clarify the module
14696 description and fix a comment typo.
14239447 14697
135e287c
JB
146982011-03-11 Juanma Barranquero <lekktu@gmail.com>
14699
14700 * help-fns.el (describe-variable): Don't complete keywords.
14701 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14702
ffbf300e
CY
147032011-03-10 Chong Yidong <cyd@stupidchicken.com>
14704
ba08b241
CY
14705 * emacs-lisp/package.el (package-version-join): Impose a standard
14706 string representation for pre/alpha/beta version lists.
14707 (package-unpack-single): Standardize the directory name by passing
14708 it through package-version-join.
14709 (package-strip-rcs-id): Accept any version string that does not
14710 signal an error in version-to-list.
ffbf300e 14711
f346fd6b
MA
147122011-03-10 Michael Albinus <michael.albinus@gmx.de>
14713
14714 * simple.el (delete-trailing-whitespace): Return nil for the
14715 benefit of `write-file-functions'.
14716
ccb55d27
GM
147172011-03-10 Glenn Morris <rgm@gnu.org>
14718
5ceaac0c
GM
14719 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14720
02da65ff
GM
14721 * vc/vc-git.el (vc-git-program): New option.
14722 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14723 (vc-git--call): Use it.
14724
b2f603cc
GM
14725 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14726
5772caab
GM
14727 * cus-edit.el (Custom-newline): If no button at point, look
14728 for a subgroup button at start-of-line. (Bug#2298)
14729
ccb55d27
GM
14730 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14731
ec6ecaed
JD
147322011-03-10 Julien Danjou <julien@danjou.info>
14733
14734 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14735 `cursor-type' is nil.
14736
9d5aa01d
JB
147372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14738
14739 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14740
b6a5875b
KM
147412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14742
7a71b18d 14743 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14744 preserves the existing header prefix, rebulleting it if necessary,
14745 rather than replacing it. This is necessary for proper operation
14746 of cooperative addons like allout-widgets.
1154d12e
JB
14747 (allout-make-topic-prefix, allout-rebullet-heading):
14748 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14749 value as alternate bullet to be used, instead of prompting the user
14750 for a bullet character.
b6a5875b 14751
ee545c35
MA
147522011-03-09 Michael Albinus <michael.albinus@gmx.de>
14753
d86d2721
SM
14754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14755 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14756 `tramp-default-port'.
14757
c47971d7
DD
147582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14759
14760 * net/rcirc.el (rcirc-handler-001): Remove useless
14761 with-rcirc-process-buffer.
14762 (rcirc-check-auth-status): Swap arguments to string-match.
14763
13522cb4
GM
147642011-03-09 Glenn Morris <rgm@gnu.org>
14765
0be6f4f1
GM
14766 * shell.el (shell-mode):
14767 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14768
13522cb4
GM
14769 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14770 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14771
515de2e3
CY
147722011-03-08 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * emacs-lisp/package.el (package-refresh-contents)
14775 (package-menu-execute): Use condition-case-no-debug.
14776
b511b994
MA
147772011-03-08 Michael Albinus <michael.albinus@gmx.de>
14778
14779 * simple.el (shell-command-to-string): Use `process-file'.
14780
14781 * emacs-lisp/package.el (package-tar-file-info): Handle also
14782 remote files.
14783
d86d2721
SM
14784 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14785 Use `equal' for upload base check.
b511b994 14786
25bbfb31
AM
147872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14788
14789 * textmodes/texinfo.el (texinfo-environments):
14790 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14791
be996521
GM
147922011-03-08 Glenn Morris <rgm@gnu.org>
14793
e9c8529f
GM
14794 * cus-start.el (cursor-in-non-selected-windows):
14795 Fix :set quoting oddness. (Bug#8192)
14796
be996521
GM
14797 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14798 in some setf expressions. (Bug#2159)
14799
2bb5649e
CY
148002011-03-08 Chong Yidong <cyd@stupidchicken.com>
14801
14802 * custom.el (custom-available-themes): Return themes in
14803 alphabetical order.
14804
33383987 14805See ChangeLog.15 for earlier changes.
e3d51b27
MR
14806
14807;; Local Variables:
14808;; coding: utf-8
e3d51b27
MR
14809;; End:
14810
acaf905b 14811 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14812
14813 This file is part of GNU Emacs.
14814
14815 GNU Emacs is free software: you can redistribute it and/or modify
14816 it under the terms of the GNU General Public License as published by
14817 the Free Software Foundation, either version 3 of the License, or
14818 (at your option) any later version.
14819
14820 GNU Emacs is distributed in the hope that it will be useful,
14821 but WITHOUT ANY WARRANTY; without even the implied warranty of
14822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14823 GNU General Public License for more details.
14824
14825 You should have received a copy of the GNU General Public License
14826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.