]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* rst.el: Use `eval-when-compile' for requiring
[gnu-emacs] / lisp / ChangeLog
1 2012-06-07 Stefan Merten <smerten@oekonux.de>
2
3 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4 Silence compiler warnings. Fix versions.
5
6 (rst-position-if, rst-position, rst-some, rst-signum): New
7 functions.
8 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9 (rst-indent-line, rst-shift-region, rst-forward-line): Use new
10 functions.
11
12 (rst-package-emacs-version-alist): Correct Emacs version to
13 represent major merge with upstream.
14 (rst-transition, rst-adornment, rst-compile-toolsets): Fix
15 versions.
16
17 2012-06-06 Glenn Morris <rgm@gnu.org>
18
19 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
20 Only print environment variables if set.
21
22 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
25 (macroexp--cons): Rename from maybe-cons.
26 (macroexp--accumulate): Rename from macroexp-accumulate.
27 (macroexp--all-forms): Rename from macroexpand-all-forms.
28 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
29 (macroexp--expand-all): Rename from macroexpand-all-1.
30
31 2012-06-06 Sam Steingold <sds@gnu.org>
32
33 * calendar/calendar.el (calendar-in-read-only-buffer):
34 Call `special-mode' to enable the standard read-only keybindings.
35
36 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
39 with "loading" messages (bug#11635).
40
41 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
42
43 * files.el (enable-remote-dir-locals): New option.
44 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
45
46 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
47 Ensure, that the temp directory is local.
48
49 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
50 `temporary-file-directory'.
51
52 * progmodes/python.el (python-send-region): Ensure, that the
53 temporary file is created also in the remote case.
54
55 2012-06-06 Glenn Morris <rgm@gnu.org>
56
57 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
58 (vc-rcs-update-changelog): Use it.
59
60 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
61
62 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
63 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
64 (vc-sccs-diff): Replace use of the external vcdiff script.
65
66 2012-06-05 Glenn Morris <rgm@gnu.org>
67
68 * ledit.el: Move to obsolete/.
69
70 2012-06-05 Sam Steingold <sds@gnu.org>
71
72 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
73 patch (Bug#11140).
74
75 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-list/cust-print.el: Move to obsolete.
78
79 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
80 compiler-macro expansion.
81
82 Add native compiler-macro support.
83 * emacs-lisp/macroexp.el (macroexpand-all-1):
84 Support compiler-macros directly. Properly follow aliases and apply
85 the compiler macros more thoroughly.
86 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
87 macroexpand now properly follows aliases.
88 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
89 (cl-compiler-macroexpand): Use new prop.
90 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
91
92 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
93
94 2012-06-05 Martin Rudalics <rudalics@gmx.at>
95
96 * window.el (get-lru-window, get-mru-window, get-largest-window):
97 New argument NOT-SELECTED to avoid picking the selected window.
98 (window--display-buffer-1, window--display-buffer-2): Replace by
99 new function window--display-buffer
100 (display-buffer-same-window, display-buffer-reuse-window)
101 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
102 Use window--display-buffer.
103 (display-buffer-use-some-window): Remove temporary dedication
104 hack by calling get-lru-window and get-largest-window with
105 NOT-SELECTED argument non-nil. Call window--display-buffer.
106
107 2012-06-05 Glenn Morris <rgm@gnu.org>
108
109 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
110 Replace external vcdiff script.
111
112 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
115
116 2012-06-04 Chong Yidong <cyd@gnu.org>
117
118 * image.el (imagemagick-types-inhibit): Revert last change.
119 Add INFO and M.
120 (imagemagick-enabled-types): Remove CIN and EPS*.
121
122 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * emacs-lisp/cl-lib.el: Rename from cl.el.
125 * emacs-lisp/cl.el: New compatibility file.
126 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
127 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
128 to obey the "cl-" prefix.
129 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
130
131 2012-06-03 Glenn Morris <rgm@gnu.org>
132
133 * emacs-lisp/authors.el (authors-aliases): Addition.
134
135 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
136 Fix :version.
137
138 2012-06-03 Stefan Merten <smerten@oekonux.de>
139
140 * textmodes/rst.el: Add comments.
141 (rst-transition, rst-adornment): New faces.
142 (rst-adornment-faces-alist): Make default safe to reevaluate.
143 Fixes
144 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
145 Improve customization tags.
146 (rst-define-level-faces): Clarify meaning.
147
148 2012-06-03 Chong Yidong <cyd@gnu.org>
149
150 * progmodes/compile.el (compilation-mode-line-fail)
151 (compilation-mode-line-run, compilation-mode-line-exit):
152 New faces.
153 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
154
155 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
156
157 * progmodes/which-func.el (which-func-update-ediff-windows):
158 New function. Use it in ediff-select-hook (Bug#11478).
159
160 2012-06-03 Chong Yidong <cyd@gnu.org>
161
162 * bindings.el: Remove explicit help text from format-mode-line.
163 It is now supplied by mode-line-default-help-echo.
164 (mode-line-front-space, mode-line-end-spaces)
165 (mode-line-misc-info): New variables.
166 (mode-line-modes, mode-line-position): Move the default value to
167 the variable definition.
168 (mode-line-default-help-echo): New defcustom.
169 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
170 (mode-line-modified-help-echo): New functions.
171 (mode-line-mule-info, mode-line-modified): Use them.
172 (mode-line-eol-desc, propertized-buffer-identification):
173 Consistency fixes for help text.
174 (mode-line-coding-system-map): Allow using mouse-3 to invoke
175 set-buffer-file-coding-system (Bug#289).
176 (mode-line-mule-info-help-echo): Update help text.
177
178 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * simple.el (execute-extended-command): Set real-this-command
181 (bug#11506).
182
183 2012-06-02 Chong Yidong <cyd@gnu.org>
184
185 Remove incorrect uses of "modeline" in comments, docstrings, and
186 function/variable names (Bug#10329).
187
188 * cus-edit.el (mode-line):
189 * dframe.el (dframe-mouse-hscroll):
190 * emacs-lisp/re-builder.el:
191 * emacs-lisp/easy-mmode.el (define-minor-mode):
192 * frame.el (set-frame-name):
193 * help.el (lookup-minor-mode-from-indicator):
194 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
195 * progmodes/cc-cmds.el (c-toggle-auto-newline)
196 (c-toggle-hungry-state):
197 * progmodes/antlr-mode.el (antlr-language-alist):
198 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
199 * progmodes/vhdl-mode.el (vhdl-mode):
200 * progmodes/which-func.el (which-func, which-func-cleanup-function):
201 * term/ns-win.el (ns-face-at-pos):
202 * term/sup-mouse.el (sup-mouse-report):
203 * textmodes/flyspell.el (flyspell-mode-line-string):
204 * textmodes/ispell.el (ispell-highlight-face):
205 * textmodes/reftex-global.el:
206 * vc/vc-arch.el (vc-arch-mode-line-string):
207 * vc/vc-cvs.el (vc-cvs-mode-line-string):
208 * vc/vc-git.el (vc-git-mode-line-string):
209 * vc/vc-hooks.el (vc-display-status)
210 (vc-default-mode-line-string):
211 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
212
213 * ansi-color.el (ansi-color-faces-vector): Change default faces.
214
215 * dired.el (dired-sort-set-mode-line): Rename from
216 dired-sort-set-modeline. All callers changed.
217
218 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
219 eshell-status-in-modeline.
220
221 * foldout.el (foldout-mode-line-string): Rename from
222 foldout-modeline-string. All callers changed.
223 (foldout-update-mode-line): Rename from foldout-update-modeline.
224
225 * subr.el (redraw-modeline): Make into obsolete alias.
226
227 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
228 timeclock-modeline-display. Make old name an alias.
229 (timeclock-update-mode-line): Likewise. All callers changed.
230 (timeclock-mode-line-display): No need to check before using
231 add-hook.
232 (timeclock-relative, timeclock-day-over-hook)
233 (timeclock-use-elapsed, timeclock-mode-string)
234 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
235
236 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
237 crisp-mode-modeline-string.
238
239 * play/solitaire.el (solitaire-build-mode-line): Rename from
240 solitaire-build-modeline. All callers changed.
241
242 * play/zone.el (zone-hiding-mode-line): Rename from
243 zone-hiding-modeline. All callers changed.
244 (zone): Remove unusued `modeline-hidden-level' property.
245
246 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
247 xscheme-modeline-initialize. All callers changed.
248
249 * strokes.el (strokes-lighter): Rename from
250 strokes-modeline-string.
251
252 * textmodes/sgml-mode.el (html-face-tag-alist)
253 (html-tag-face-alist): Use mode-line face instead of obsolete
254 alias modeline.
255
256 2012-06-02 Stefan Merten <smerten@oekonux.de>
257
258 * textmodes/rst.el: Always require `cl'.
259 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
260
261 2012-06-02 Chong Yidong <cyd@gnu.org>
262
263 * image.el (imagemagick-enabled-types): Rename from
264 imagemagick-types-enable. Add many more types.
265 (imagemagick-types-inhibit): Change default to nil.
266 (imagemagick-filter-types): Caller changed.
267
268 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/cl-macs.el: Use backquotes.
271 (cl-transform-function-property): Use eval-and-compile rather than
272 abusing `require'.
273 (defstruct): Use declare-function instead of with-no-warnings.
274
275 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
276 (byte-compile-output-docform): Re-add the print-circle bindings.
277 (byte-compile-fix-header): Use #$ just because it's shorter.
278 (byte-compile-output-file-form): Remove defun/defmacro.
279
280 2012-06-01 Martin Rudalics <rudalics@gmx.at>
281
282 * simple.el (choose-completion): Remove now obsolete binding for
283 owindow.
284
285 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
286
287 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
288 in order to avoid "Stack overflow in regexp matcher".
289
290 2012-05-31 Glenn Morris <rgm@gnu.org>
291
292 * image.el: For clarity, call imagemagick-register-types at
293 top-level, rather than relying on a custom :initialize.
294 (imagemagick-types-enable): New option. (Bug#11557)
295 (imagemagick-filter-types): New function. (Bug#7406)
296 (imagemagick-register-types): Use imagemagick-filter-types.
297 If disabling support, remove elements altogether rather
298 than using an impossible regexp.
299 (imagemagick-types-inhibit): Give it the default init function.
300
301 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
304 Handle arbitrary file name lengths (Bug#11585).
305
306 2012-05-31 Martin Rudalics <rudalics@gmx.at>
307
308 * desktop.el (desktop-read): Clear previous and next buffers for
309 all windows and bury *Messages* buffer (bug#11556).
310
311 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 Add `declare' for `defun'. Align `defmacro's with it.
314 * emacs-lisp/easy-mmode.el (define-minor-mode)
315 (define-globalized-minor-mode): Don't autoload the var definitions.
316 * emacs-lisp/byte-run.el: Use lexical-binding.
317 (defun-declarations-alist, macro-declarations-alist): New vars.
318 (defmacro, defun): Use them.
319 (make-obsolete, define-obsolete-function-alias)
320 (make-obsolete-variable, define-obsolete-variable-alias):
321 Use `declare'.
322 (macro-declaration-function): Mark obsolete.
323 * emacs-lisp/autoload.el: Use lexical-binding.
324 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
325
326 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
327
328 * textmodes/ispell.el (ispell-with-no-warnings):
329 Define as a macro.
330 (ispell-kill-ispell, ispell-change-dictionary):
331 Use `called-interactively-p' for Emacs instead of obsolete
332 `interactive-p'.
333
334 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
337 (macro-declaration-function): Move var from C code.
338 (macro-declaration-function): Define function with defalias.
339 * emacs-lisp/macroexp.el (macroexpand-all-1):
340 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
341 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
342 defun/defmacro any more.
343 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
344 Provide fallback for unknown arglist.
345 (byte-compile-arglist-warn): Change calling convention.
346 (byte-compile-output-file-form): Move print-vars binding.
347 (byte-compile-output-docform): Simplify accordingly.
348 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
349 (byte-compile-defmacro-declaration): Remove.
350 (byte-compile-file-form-defmumble): Generalize to defalias.
351 (byte-compile-output-as-comment): Return byte-positions.
352 Simplify callers accordingly.
353 (byte-compile-lambda): Use `assert'.
354 (byte-compile-defun, byte-compile-defmacro): Remove.
355 (byte-compile-file-form-defalias):
356 Use byte-compile-file-form-defmumble.
357 (byte-compile-defalias-warn): Remove.
358
359 2012-05-29 Stefan Merten <smerten@oekonux.de>
360
361 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
362 possible. Fix authors. Improve comments. Improve loading of `cl'.
363
364 (rst-mode-abbrev-table): Merge definition.
365 (rst-mode): Make sure `font-lock-defaults' is buffer local.
366 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
367
368 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
369
370 * calendar/icalendar.el
371 (icalendar-export-region): Export UID properly.
372
373 2012-05-29 Leo <sdl.web@gmail.com>
374 * calendar/icalendar.el (icalendar-import-format):
375 Add `icalendar-import-format-uid' (Bug#11525).
376 (icalendar-import-format-uid): New.
377 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
378 Export UID.
379
380 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
383 different alternative patterns.
384 (pcase-codegen): Be more careful to preserve identity.
385 (pcase--u1): Don't forget to mark vars as used.
386
387 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
388 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
389 (byte-compile-from-buffer): ...rather than here.
390
391 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
392 functions from byte-compile-function-environment.
393
394 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
395
396 * window.el (window-deletable-p): Avoid deleting the root window
397 of a frame with an active minibuffer.
398
399 2012-05-29 Martin Rudalics <rudalics@gmx.at>
400
401 * simple.el (choose-completion): Use quit-window (Bug#11567).
402
403 2012-05-29 Chong Yidong <cyd@gnu.org>
404
405 * whitespace.el (whitespace-cleanup): Fix usage of
406 whitespace-empty-at-bob-regexp (Bug#11492).
407
408 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
409
410 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
411 revert (Bug#11488).
412
413 2012-05-29 Juri Linkov <juri@jurta.org>
414
415 * isearch.el (isearch-mode-map): Bind `M-s _' to
416 `isearch-toggle-symbol'. Bind `M-s c' to
417 `isearch-toggle-case-fold'.
418 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
419 (isearch-forward): Add `M-s _' to the docstring.
420 (isearch-forward-symbol, isearch-toggle-case-fold)
421 (isearch-symbol-regexp): New functions. (Bug#11381)
422
423 2012-05-29 Juri Linkov <juri@jurta.org>
424
425 * isearch.el (isearch-word): Add docstring. (Bug#11381)
426 (isearch-occur, isearch-search-and-update): If `isearch-word' is
427 a function, call it to get the regexp.
428 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
429 property `isearch-message-prefix' instead of the string "word ".
430 (isearch-search-fun-default): For the case of `isearch-word',
431 return a lambda that calls re-search-forward/re-search-backward
432 with a regexp returned by `word-search-regexp' or by the function
433 in `isearch-word'.
434
435 2012-05-29 Juri Linkov <juri@jurta.org>
436
437 * isearch.el (isearch-search-fun-default): New function.
438 (isearch-search-fun): Move default part to the new function
439 `isearch-search-fun-default'.
440 (isearch-search-fun-function): Set the default value to
441 `isearch-search-fun-default'. (Bug#11381)
442
443 * comint.el (comint-history-isearch-end):
444 Use `isearch-search-fun-default'.
445 (comint-history-isearch-search): Use `isearch-search-fun-default'
446 and remove spacial case for `isearch-word'.
447 (comint-history-isearch-wrap): Remove spacial case for
448 `isearch-word'.
449
450 * hexl.el (hexl-isearch-search-function):
451 Use `isearch-search-fun-default'.
452
453 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
454 Use `word-search-regexp' for `isearch-word'.
455
456 * misearch.el (multi-isearch-search-fun):
457 Use `isearch-search-fun-default'.
458
459 * simple.el (minibuffer-history-isearch-search):
460 Use `isearch-search-fun-default' and remove spacial case for
461 `isearch-word'.
462 (minibuffer-history-isearch-wrap): Remove spacial case for
463 `isearch-word'.
464
465 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
466 Remove spacial case for `isearch-word'.
467 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
468
469 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
470
471 Decrease XEmacs incompatibilities.
472 * textmodes/flyspell.el (flyspell-check-pre-word-p):
473 Use `string-match'.
474 (flyspell-delete-region-overlays): Use alternative definition for
475 XEmacs.
476 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
477 (flyspell-word): Use `process-kill-without-query' if XEmacs.
478 (flyspell-mode-on): Use `interactive-p' if XEmacs.
479 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
480 `define-obsolete-face-alias' under XEmacs, but old method.
481
482 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
483 `with-no-warnings' definition or Emacs alias.
484 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
485 (ispell-word): Do not use `region-p' if XEmacs.
486
487 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
488
489 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
490 Check for `ispell-dictionary-base-alist' instead of full
491 `ispell-dictionary-alist'.
492 (ispell-init-process): Show spellchecker when starting new Ispell
493 process.
494
495 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
498 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
499
500 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
501
502 * version.el (motif-version-string, gtk-version-string)
503 (ns-version-string): Declare.
504
505 2012-05-27 Juri Linkov <juri@jurta.org>
506
507 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
508 after the `eval-defun-1' specialcaseing
509 like in `edebug-eval-defun' (bug#10181).
510
511 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
512 like in `eval-defun-1'.
513
514 2012-05-27 Eli Zaretskii <eliz@gnu.org>
515
516 * mail/sendmail.el (mail-yank-region):
517 Recognize rmail-yank-current-message in addition to insert-buffer.
518 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
519 a *mail* buffer created through rmail-start-mail with sendmail as
520 mail-user-agent.
521
522 2012-05-27 Chong Yidong <cyd@gnu.org>
523
524 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
525 Default to 256 (Bug#11267).
526
527 * help.el (describe-mode): Doc fix.
528
529 2012-05-26 Glenn Morris <rgm@gnu.org>
530
531 * w32-fns.el (w32-init-info): Remove.
532 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
533
534 * info.el (info-initialize): For self-contained NS builds, put the
535 included info/ directory at the front. (Bug#2791)
536
537 * paths.el (Info-default-directory-list): Make it a defcustom,
538 mainly so that we can use custom-initialize-delay.
539
540 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * subr.el (buffer-has-markers-at): Mark obsolete.
543
544 * subr.el (lambda): Use declare.
545
546 * emacs-lisp/lisp-mode.el (lambda):
547 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
548
549 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
550
551 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
552
553 2012-05-26 Glenn Morris <rgm@gnu.org>
554
555 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
556
557 2012-05-25 Glenn Morris <rgm@gnu.org>
558
559 * paths.el: Remove no-byte-compile.
560 * loadup.el: No need to load paths.el uncompiled.
561
562 * image.el (imagemagick-types-inhibit): Doc fix.
563
564 * version.el: Remove no-byte-compile and associated formatting.
565 * loadup.el: No need to load version.el uncompiled. AFAICS, this
566 is ancient code from when there was an "inc-vers.el".
567
568 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * progmodes/gdb-mi.el: Minor style changes.
571 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
572 Turn into minor modes.
573 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
574 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
575 (gdb-shell): Remove unneeded let-binding.
576 (gdb-get-many-fields): Eliminate O(n²) behavior.
577
578 2012-05-25 Eli Zaretskii <eliz@gnu.org>
579
580 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
581 platforms that don't link in fontset.c.
582
583 2012-05-25 Juri Linkov <juri@jurta.org>
584
585 Use the same diff color scheme as in modern VCSes (bug#10181).
586
587 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
588 to avoid confusion with `diff-added' that now uses green colors.
589 (diff-removed): Use shades of red.
590 (diff-added): Use shades of green.
591 (diff-changed): Leave just the yellow color.
592 (diff-use-changed-face): New variable.
593 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
594 how to highlight context diff changes.
595 (diff-refine-change): Use shades of yellow.
596 (diff-refine-removed): New face that uses shades of red.
597 (diff-refine-added): New face that uses shades of green.
598 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
599 `diff-refine-removed' in the call to `smerge-refine-subst'
600 depending on the value of `diff-use-changed-face'.
601
602 * vc/smerge-mode.el (smerge-mine): Use shades of red.
603 (smerge-other): Use shades of green.
604 (smerge-base): Use shades of yellow.
605 (smerge-refined-change): Empty face.
606 (smerge-refined-removed): New face that uses shades of red.
607 (smerge-refined-added): New face that uses shades of green.
608 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
609 args `props-r' and `props-a', and use them. Doc fix.
610 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
611 on its value use different faces `smerge-refined-change',
612 `smerge-refined-removed', `smerge-refined-added' in the call to
613 `smerge-refine-subst'.
614
615 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
616 Add face condition `min-colors 88' with shades of red.
617 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
618 `min-colors 88' with shades of green.
619 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
620 `min-colors 88' with shades of yellow.
621
622 2012-05-24 Glenn Morris <rgm@gnu.org>
623
624 * paths.el (prune-directory-list, remote-shell-program): Move to...
625 * files.el (prune-directory-list, remote-shell-program): ...here.
626 For the latter, delay initialization, prefer ssh, just search PATH.
627
628 * paths.el (term-file-prefix): Move to faces.el (the only user).
629 * faces.el (term-file-prefix): Move here, make it a defcustom.
630
631 * paths.el (news-directory, news-path, news-inews-program):
632 Move to gnus/nnspool.el.
633
634 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
635
636 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
637 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
638 Make the latter a defcustom, with a delayed initialization.
639
640 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
641 These were deleted from Gnus itself late 2010.
642
643 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
644
645 * progmodes/which-func.el (which-func-ff-hook):
646 Check against user-error, not error.
647
648 * emacs-lisp/edebug.el (top): Do not load or set up loading of
649 cl-specs.el, which no longer exists.
650
651 2012-05-22 Glenn Morris <rgm@gnu.org>
652
653 * info.el (info-emacs-bug): New command.
654 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
655 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
656
657 2012-05-21 Glenn Morris <rgm@gnu.org>
658
659 * makefile.w32-in (update-subdirs-SH):
660 * Makefile.in (update-subdirs): Update for moved update-subdirs.
661
662 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
665
666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
667 Simplify Maven regexp, and make sure the file can't start with a space
668 (bug#11517).
669
670 2012-05-21 Glenn Morris <rgm@gnu.org>
671
672 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
673 Scrap superfluous subshells.
674
675 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
678 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
679
680 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
681
682 * calc/calc.el (calc-ensure-consistent-units): New variable.
683
684 * calc/calc-units.el (math-consistent-units-p)
685 (math-check-unit-consistency): New functions.
686 (calc-quick-units, calc-convert-units):
687 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
688 is non-nil.
689 (calc-extract-units): Fix typo.
690
691 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
694
695 * textmodes/flyspell.el: Commenting style, plus code simplifications.
696 (flyspell-default-deplacement-commands): Don't spell check after
697 repeated window/frame switches (e.g. triggered by mouse-movement).
698 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
699 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
700 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
701 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
702 Remove unused vars.
703 (flyspell-get-casechars, flyspell-get-not-casechars):
704 Simplify; Don't bother removing a ] just to add it back.
705 * textmodes/ispell.el (ispell-program-name): Use executable-find.
706
707 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
708
709 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
710 New functions.
711 (math-function-table): Add support for more C functions.
712
713 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
714
715 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
716 (flyspell-debug-signal-word-checked): Protect delay handling for
717 otherchars against empty otherchars.
718
719 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
722 their respective macro declarations.
723 * skeleton.el (define-skeleton):
724 * progmodes/compile.el (define-compilation-mode):
725 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
726 (define-ibuffer-filter):
727 * emacs-lisp/generic.el (define-generic-mode):
728 * emacs-lisp/easy-mmode.el (define-minor-mode)
729 (define-globalized-minor-mode):
730 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
731 * emacs-lisp/byte-run.el (defsubst):
732 * custom.el (deftheme): Add doc-string metadata.
733
734 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
737
738 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
741
742 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
743 * emacs-lisp/cl-macs.el: Idem.
744 * emacs-lisp/cl-specs.el: Remove.
745
746 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 Minor renaming of internal CL functions and variables.
749 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
750 (cl--position): Rename from cl-position.
751 (cl--delete-duplicates): Rename from cl-delete-duplicates.
752 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
753 (cl--random-state): Rename from *random-state*.
754
755 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
758 parens around the arg list (bug#11499).
759
760 2012-05-17 Juri Linkov <juri@jurta.org>
761
762 * isearch.el (word-search-regexp, word-search-backward)
763 (word-search-forward, word-search-backward-lax)
764 (word-search-forward-lax): Move functions from search.c
765 (bug#10145, bug#11381).
766
767 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
768
769 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
770 (flyspell-debug-signal-word-checked): Delay for otherchars as for
771 normal word components.
772
773 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * minibuffer.el (completion--sifn-requote): Fix last change.
776 (minibuffer-local-must-match-filename-map):
777 Move define-obsolete-variable-alias before its var.
778
779 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
782
783 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
784 behavior.
785 (completion--string-equal-p): New function.
786 (completion--twq-all): Use it to get better assertion failure data.
787
788 Only handle ".." and '..' quoting in shell-mode (bug#11466).
789 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
790 (shell--requote-argument): New functions.
791 (shell-completion-vars): Use them.
792 (shell--parse-pcomplete-arguments): Rename from
793 shell-parse-pcomplete-arguments.
794 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
795 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
796 Obey comint-file-name-quote-list.
797
798 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
799 (smie-indent-keyword): Use it.
800
801 2012-05-14 Stefan Merten <smerten@oekonux.de>
802
803 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
804
805 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * net/rlogin.el (rlogin-mode-map): Fix last change.
808
809 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
810
811 * mail/smtpmail.el (smtpmail-send-command): Send the command and
812 the following \r\n using a single `process-send-string', since the
813 Lotus SMTP server refuses to accept any commands if they are sent
814 with two `process-send-string's (Bug#11444).
815
816 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * shell.el (shell-parse-pcomplete-arguments):
819 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
820
821 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
822
823 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
824 (image-transform-scale, image-transform-right-angle-fudge): New vars.
825 (image-transform-width, image-transform-fit-width): New functions.
826 (image-transform-properties): Use them.
827 (image-transform-check-size): New function.
828 (image-toggle-display-image): Use it (for testing).
829 (image-transform-set-rotation): Reduce angle mod 360.
830 Delete obsolete comment.
831
832 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
833
834 * image-mode.el: Fix scaling (bug#11399).
835 (image-transform-resize): Doc fix.
836 (image-transform-properties): Default scale is 1 and height should
837 be an integer.
838
839 2012-05-13 Johan Bockgård <bojohan@gnu.org>
840
841 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
842 than hard-coding `car', to fix misbehavior when moving forward.
843
844 2012-05-13 Chong Yidong <cyd@gnu.org>
845
846 * emacs-lisp/tabulated-list.el (tabulated-list-format)
847 (tabulated-list-entries, tabulated-list-padding)
848 (tabulated-list-sort-key): Make permanent-local.
849
850 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
851 (electric-buffer-list): Put electric buffer menu
852 command descriptions in this docstring, instead of the docstring
853 of electric-buffer-menu-mode. Code cleanups.
854 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
855 Electric-buffer-menu-mode.
856 (electric-buffer-update-highlight): Minor code cleanup.
857
858 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
859
860 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
861 (Bug#11447)
862
863 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 Move define-obsolete-variable-alias before the var's definition.
866 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
867 * tooltip.el (tooltip-hook):
868 * textmodes/reftex-toc.el (reftex-toc-map):
869 * textmodes/reftex-sel.el (reftex-select-label-map)
870 (reftex-select-bib-map):
871 * textmodes/reftex-index.el (reftex-index-map)
872 (reftex-index-phrases-map):
873 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
874 * progmodes/meta-mode.el (meta-mode-map):
875 * novice.el (disabled-command-hook):
876 * loadhist.el (unload-hook-features-list):
877 * frame.el (blink-cursor):
878 * files.el (find-file-not-found-hooks, write-file-hooks)
879 (write-contents-hooks):
880 * emulation/tpu-edt.el (GOLD-map):
881 * emacs-lock.el (emacs-lock-from-exiting):
882 * emacs-lisp/generic.el (generic-font-lock-defaults):
883 * emacs-lisp/chart.el (chart-map):
884 * dos-fns.el (register-name-alist):
885 * dired-x.el (dired-omit-files-p):
886 * desktop.el (desktop-enable):
887 * cus-edit.el (custom-mode-hook):
888 * buff-menu.el (buffer-menu-mode-hook):
889 * bookmark.el (bookmark-read-annotation-text-func)
890 (bookmark-exit-hooks):
891 * allout.el (allout-mode-deactivate-hook)
892 (allout-exposure-change-hook, allout-structure-added-hook)
893 (allout-structure-deleted-hook, allout-structure-shifted-hook):
894 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
895 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
896 comes before the corresponding variable's definition.
897
898 2012-05-12 Chong Yidong <cyd@gnu.org>
899
900 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
901 (Buffer-menu-mouse-select): Restore function (Bug#11459).
902 (Buffer-menu-mode-map): Bind it.
903 (Buffer-menu--pretty-name): Add a mouse-face property.
904
905 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
908 (prolog-upper-case-string, prolog-lower-case-string)
909 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
910 (prolog-use-smie, prolog-smie-grammar): New vars.
911 (prolog-smie-forward-token, prolog-smie-backward-token)
912 (prolog-smie-rules): New funs.
913 (prolog-comment-indent): Remove.
914 (prolog-mode-variables): Use default comment indentation instead.
915 Setup SMIE.
916 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
917 (prolog-mode): Don't call them any more.
918 (prolog-electric-colon, prolog-electric-dash)
919 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
920
921 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
922
923 * minibuffer.el (completion--twq-all): Again, allow case differences.
924
925 * term.el: Move keymap initialization code to be more idiomatic.
926 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
927 (term-terminal-menu): Move initialization into declaration.
928 (term-escape-char): Let the user set it in her .emacs.
929
930 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
931 Provide SMIE-based indentation (not enabled by default yet).
932 (sh-mode-map): Don't bind electric keys.
933 Use electric-pair-mode instead of skeleton-pair.
934 (sh-assignment-regexp): Fit within 80 columns.
935 (sh-indent-supported): Specify actual shell name instead of boolean.
936 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
937 (sh-maybe-here-document): Use it. Make obsolete.
938 (sh-electric-here-document-mode) New minor mode.
939 (sh-mode): Use it. Don't set sh-indent-supported-here here.
940 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
941 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
942 (sh-smie-rc-grammar, sh-use-smie): New vars.
943 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
944 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
945 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
946 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
947 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
948 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
949 (sh-set-shell): Use smie-setup if requested.
950
951 * term.el (term-set-escape-char): Properly set term-escape-char.
952 See http://stackoverflow.com/questions/10524656.
953
954 2012-05-10 Chong Yidong <cyd@gnu.org>
955
956 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
957 Use url-generic-parse-url, and handle host names and Windows
958 filenames properly.
959 (ffap-url-unwrap-remote): Use url-generic-parse-url.
960 (ffap-url-unwrap-remote): Accept list values, specifying a list of
961 URL schemes to work on.
962 (ffap--toggle-read-only): New function.
963 (ffap-read-only, ffap-read-only-other-window)
964 (ffap-read-only-other-frame): Use it.
965 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
966 necessary for ffap-url-unwrap-remote.
967
968 2012-05-10 Dave Abrahams <dave@boostpro.com>
969
970 * cus-start.el (create-lockfiles): Add it.
971
972 2012-05-09 Chong Yidong <cyd@gnu.org>
973
974 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
975 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
976
977 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * shell.el (shell-completion-vars): Fix last change (bug#11348).
980
981 2012-05-09 Chong Yidong <cyd@gnu.org>
982
983 * ansi-color.el (ansi-color-process-output): Check for validity of
984 comint-last-output-start before using it. This avoids a bad
985 interaction with gdb-mi's input/output buffer.
986
987 2012-05-09 Glenn Morris <rgm@gnu.org>
988
989 * files.el (dir-locals-read-from-file):
990 Mention dir-locals in any error message.
991
992 2012-05-09 Chong Yidong <cyd@gnu.org>
993
994 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
995 package (Bug#11410).
996
997 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
998 variables into description.
999
1000 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1003 shell-delimiter-argument-list (bug#11348).
1004 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1005
1006 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * textmodes/rst.el: Silence byte-compiler warnings.
1009 (rst-re-alist, rst-reset-section-caches): Move around.
1010 (rst-re): Use `characterp', not `char-valid-p'.
1011 (font-lock-beg, font-lock-end): Declare.
1012
1013 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1014 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1015
1016 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1017
1018 2012-05-08 Glenn Morris <rgm@gnu.org>
1019
1020 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1021
1022 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * vc/log-edit.el: Add GNU coding standards highlighting.
1025 (log-edit-font-lock-gnu-style)
1026 (log-edit-font-lock-gnu-keywords): New vars.
1027 (log-edit-font-lock-keywords): New fun.
1028 (log-edit-mode): Don't fold case in font-lock.
1029 (log-edit-font-lock-keywords): Do not assume case-folding.
1030
1031 * imenu.el: Misc cleanup. Make docstrings out of comments.
1032 Use lexical-binding.
1033 (imenu--index-alist, imenu--last-menubar-index-alist)
1034 (imenu-menubar-modified-tick): Use defvar-local.
1035 (imenu--split-menu): Remove unused var.
1036 (imenu--cleanup-seen): Declare as global.
1037 (imenu--cleanup): Use dolist.
1038
1039 * subr.el (defvar-local): Add debug spec and doc-string position.
1040
1041 2012-05-08 Glenn Morris <rgm@gnu.org>
1042
1043 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1044 * language/english.el, language/georgian.el, language/greek.el:
1045 * language/japanese.el, language/khmer.el, language/korean.el:
1046 * language/lao.el, language/misc-lang.el, language/romanian.el:
1047 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1048 * language/thai.el, language/utf-8-lang.el:
1049 Remove no-byte-compile setting.
1050
1051 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1052
1053 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1054
1055 * progmodes/make-mode.el (makefile-browse):
1056 Remove unnecessary interactive. (Bug#11324)
1057
1058 2012-05-07 Glenn Morris <rgm@gnu.org>
1059
1060 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1061
1062 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1063
1064 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * loadup.el: Preload newcomment.el.
1067 * newcomment.el: Move autoload-only code to toplevel.
1068
1069 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1070 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1071 Handle new :right-align column property.
1072 (tabulated-list-print-col): Idem, plus use `display' text-property to
1073 try and preserve alignment for variable pitch fonts.
1074
1075 2012-05-07 Chong Yidong <cyd@gnu.org>
1076
1077 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1078 (tabulated-list-use-header-line): New var.
1079 (tabulated-list-init-header): Use it.
1080 (tabulated-list-print-fake-header): New function.
1081 (tabulated-list-print): Use it.
1082 (tabulated-list-sort-button-map): Add non-header-line commands.
1083 (tabulated-list-init-header): Add column name property to basic
1084 labels as well.
1085 (tabulated-list-col-sort): Handle non-header-line button case.
1086 (tabulated-list--sort-by-column-name): Fix a corner case.
1087
1088 * buff-menu.el (list-buffers--refresh):
1089 Handle Buffer-menu-use-header-line.
1090
1091 2012-05-06 Chong Yidong <cyd@gnu.org>
1092
1093 * buff-menu.el: Convert to Tabulated List mode.
1094 (Buffer-menu-buffer+size-width): Make obsolete.
1095 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1096 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1097 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1098 documentation into docstring of buffer-menu.
1099 (Buffer-menu-toggle-files-only): Add an informative message.
1100 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1101 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1102 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1103 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1104 (Buffer-menu-execute, Buffer-menu-select)
1105 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1106 (Buffer-menu-bury): Use Tabulated List machinery.
1107 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1108 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1109 Delete.
1110 (list-buffers--refresh): New function.
1111 (list-buffers-noselect): Use it.
1112 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1113 (Buffer-menu--pretty-file-name): New helper functions.
1114
1115 * loadup.el: Preload tabulated-list.
1116
1117 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1118 tabulated-list-sort-column.
1119 (tabulated-list-init-header): Add the initial aligning space even
1120 if tabulated-list-padding is zero.
1121
1122 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1123
1124 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1125 whose cdr is not a cons cell correctly (bug#11038).
1126
1127 2012-05-06 Chong Yidong <cyd@gnu.org>
1128
1129 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1130 Accept additional plist in column descriptors.
1131 (tabulated-list-init-header): Obey it.
1132 (tabulated-list-get-entry): New function.
1133 (tabulated-list-put-tag): Use it. Use string-width instead of
1134 length.
1135 (tabulated-list--column-number): New function.
1136 (tabulated-list-print): Use it.
1137 (tabulated-list-print-col): New function.
1138 Set `tabulated-list-column-name' property on each column's text.
1139 (tabulated-list-print-entry): Use it.
1140 (tabulated-list-delete-entry, tabulated-list-set-col):
1141 New functions.
1142 (tabulated-list-sort-column): New command (Bug#11337).
1143
1144 * buff-menu.el (list-buffers): Move C-x C-b binding from
1145 buff-menu.el to bindings.el.
1146
1147 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1148 :advertised-binding feature.
1149
1150 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1151
1152 * progmodes/compile.el (compilation-internal-error-properties):
1153 Calculate start position correctly when end-col is set but
1154 end-line is not (Bug#11382).
1155
1156 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1157
1158 * man.el (Man-unindent): Use text-property-default-nonsticky to
1159 prevent untabify from inheriting face properties (Bug#11408).
1160
1161 2012-05-05 Stefan Merten <smerten@oekonux.de>
1162
1163 * textmodes/rst.el: Major merge with upstream development up to
1164 Docutils SVN r7399 / rst.el V1.2.1.
1165
1166 Clarify maintainership and authors.
1167
1168 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1169 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1170 (rst-official-version, rst-official-cvs-rev, rst-version)
1171 (rst-package-emacs-version-alist): New functions and variables
1172 for version information.
1173
1174 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1175 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1176 (rst-mode-syntax-table, rst-mode): New and corrected functions
1177 and variables representing reStructuredText features.
1178
1179 (rst-re): New function for reStructuredText regexes. Use in
1180 many places.
1181
1182 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1183 (rst-mode-map): Rebind keys.
1184
1185 (rst-mode-lazy, rst-font-lock-keywords)
1186 (rst-font-lock-extend-region)
1187 (rst-font-lock-extend-region-internal)
1188 (rst-font-lock-extend-region-extend)
1189 (rst-font-lock-find-unindented-line-limit)
1190 (rst-font-lock-find-unindented-line-match)
1191 (rst-adornment-level, rst-font-lock-adornment-level)
1192 (rst-font-lock-adornment-match)
1193 (rst-font-lock-handle-adornment-pre-match-form)
1194 (rst-font-lock-handle-adornment-matcher): Major revision of
1195 font-locking. Integrate with other code. Use `jit-lock-mode'.
1196
1197 (rst-preferred-adornments, rst-adjust-hook)
1198 (rst-new-adornment-down, rst-preferred-bullets)
1199 (rst-preferred-bullets, rst-indent, rst-indent-width)
1200 (rst-indent-field, rst-indent-literal-normal)
1201 (rst-indent-literal-minimized, rst-indent-comment): Change,
1202 extend and improve customization.
1203
1204 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1205 (rst-normalize-cursor-position, rst-get-decoration)
1206 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1207 (rst-rstrip, rst-toc-insert-find-delete-contents)
1208 (rst-shift-fill-region, rst-compute-bullet-tabs)
1209 (rst-debug-print-tabs, rst-debug-mark-found)
1210 (rst-shift-region-guts, rst-shift-region-right)
1211 (rst-shift-region-left, rst-use-char-classes)
1212 (rst-font-lock-keywords-function)
1213 (rst-font-lock-indentation-point)
1214 (rst-font-lock-find-unindented-line-begin)
1215 (rst-font-lock-find-unindented-line-end)
1216 (rst-font-lock-find-unindented-line)
1217 (rst-font-lock-adornment-point, rst-font-lock-level)
1218 (rst-adornment-level-alist): Remove functions and variables.
1219
1220 (rst-compare-adornments, rst-get-adornment-match)
1221 (rst-suggest-new-adornment, rst-get-adornments-around)
1222 (rst-adornment-complete-p, rst-get-next-adornment)
1223 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1224 (rst-straighten-adornments): Standardize function names to
1225 use "adornment" instead of "decoration". Correct callers.
1226 Similar standardizing in many places.
1227
1228 (rst-update-section, rst-adjust, rst-promote-region)
1229 (rst-enumerate-region, rst-bullet-list-region)
1230 (rst-repeat-last-character): Correct use of `interactive'.
1231
1232 (rst-classify-adornment, rst-find-all-adornments)
1233 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1234 (rst-find-leftmost-column, rst-repeat-last-character):
1235 Refactor functions.
1236
1237 (rst-find-title-line, rst-reset-section-caches)
1238 (rst-get-adornments-around, rst-adjust-adornment-work)
1239 (rst-arabic-to-roman, rst-roman-to-arabic)
1240 (rst-insert-list-pos, rst-insert-list-new-item)
1241 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1242 New functions.
1243
1244 (rst-all-sections, rst-section-hierarchy)
1245 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1246 New variables.
1247
1248 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1249 configuration instead of only buffer. Change where necessary.
1250
1251 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1252 (rst-shift-region, rst-adaptive-fill): New functions for
1253 indentation and filling.
1254
1255 (rst-comment-line-break, rst-comment-indent)
1256 (rst-comment-insert-comment, rst-comment-region)
1257 (rst-uncomment-region): New functions for handling comments.
1258
1259 (rst-compile): Quote shell arguments.
1260
1261 (rst-compile-pdf-preview, rst-compile-slides-preview):
1262 Delete temporary files after use.
1263
1264 2012-05-05 Glenn Morris <rgm@gnu.org>
1265
1266 * calendar/cal-html.el: Optionally include holidays in the output.
1267 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1268 (cal-html-holidays): New option.
1269 (cal-html-css-default): Add holiday entry.
1270 (holiday-in-range): Autoload it.
1271 (cal-html-htmlify-entry): Add optional class argument.
1272 (cal-html-htmlify-list): Add optional holidays argument.
1273 (cal-html-insert-agenda-days): Include holidays in the output.
1274 (cal-html-one-month): Maybe include holidays.
1275
1276 * calendar/holidays.el (holiday-in-range):
1277 Move here from cal-tex-list-holidays.
1278 * calendar/cal-tex.el (cal-tex-list-holidays):
1279 Make it an obsolete alias for holiday-in-range. Update all callers.
1280
1281 2012-05-05 Chong Yidong <cyd@gnu.org>
1282
1283 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1284 Nextstep.
1285
1286 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1287
1288 * files.el (file-auto-mode-skip): New var.
1289 (set-auto-mode-1): Use it.
1290
1291 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * repeat.el: Use lexical-binding.
1294 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1295 (repeat-undo-count): Remove.
1296 (repeat):
1297 * progmodes/octave-mod.el (octave-abbrev-start):
1298 * progmodes/f90.el (f90-abbrev-start):
1299 * face-remap.el (text-scale-adjust):
1300 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1301
1302 * emacs-lisp/pcase.el (pcase--let*): New function.
1303 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1304 a bit more.
1305 (pcase--split-pred): Be more clever about ruling out overlap between
1306 a predicate and some constant pattern.
1307 (pcase--q1): Use `null' instead of (eq foo nil).
1308
1309 * subr.el (setq-local, defvar-local): New macros.
1310 (kbd): Redefine as an alias.
1311 (with-selected-window): Leave unrelated frames alone.
1312 (set-temporary-overlay-map): New function.
1313
1314 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * subr.el (user-error): New function.
1317 * window.el (switch-to-buffer):
1318 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1319 (smerge-match-conflict):
1320 * simple.el (previous-matching-history-element)
1321 (next-matching-history-element, goto-history-element, undo-more)
1322 (undo-start):
1323 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1324 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1325 (next-file, tags-loop-scan, list-tags, complete-tag):
1326 * progmodes/compile.el (compilation-loop):
1327 * mouse.el (mouse-minibuffer-check):
1328 * man.el (Man-bgproc-sentinel, Man-goto-page):
1329 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1330 (Info-history-forward, Info-follow-reference, Info-menu)
1331 (Info-extract-menu-item, Info-extract-menu-counting)
1332 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1333 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1334 (Info-next-reference, Info-prev-reference, Info-index)
1335 (Info-index-next, Info-follow-nearest-node)
1336 (Info-copy-current-node-name):
1337 * imenu.el (imenu--make-index-alist)
1338 (imenu-default-create-index-function, imenu-add-to-menubar):
1339 * files.el (basic-save-buffer, recover-file):
1340 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1341 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1342 (checkdoc-message-text, checkdoc-defun):
1343 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1344 * cus-edit.el (customize-changed-options, customize-rogue)
1345 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1346 (custom-variable-mark-to-reset-standard)
1347 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1348 (custom-file):
1349 * completion.el (check-completion-length):
1350 * comint.el (comint-search-arg)
1351 (comint-previous-matching-input-string-position)
1352 (comint-previous-matching-input)
1353 (comint-replace-by-expanded-history-before-point, comint-send-input)
1354 (comint-copy-old-input, comint-backward-matching-input)
1355 (comint-goto-process-mark, comint-set-process-mark):
1356 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1357 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1358
1359 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * dabbrev.el (dabbrev--ignore-case-p): New function.
1362 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1363 Use it.
1364
1365 * files.el (automount-dir-prefix): Mark as obsolete.
1366
1367 2012-05-04 Glenn Morris <rgm@gnu.org>
1368
1369 * patcomp.el, play/bruce.el: Move to obsolete/.
1370
1371 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1372
1373 Fix minor Y10k bugs.
1374 * arc-mode.el (archive-unixdate):
1375 * autoinsert.el (auto-insert-alist):
1376 * calc/calc-forms.el (math-this-year):
1377 * emacs-lisp/copyright.el (copyright-current-year)
1378 (copyright-update-year, copyright):
1379 * tar-mode.el (tar-clip-time-string):
1380 * time.el (display-time-update):
1381 Don't assume years have 4 digits.
1382
1383 2012-05-04 Chong Yidong <cyd@gnu.org>
1384
1385 * dos-w32.el (file-name-buffer-file-type-alist)
1386 (direct-print-region-use-command-dot-com):
1387 * ffap.el (ffap-menu-regexp):
1388 * find-file.el (ff-special-constructs):
1389 * follow.el (follow-debug):
1390 * forms.el (forms--debug):
1391 * iswitchb.el (iswitchb-all-frames):
1392 * ido.el (ido-all-frames):
1393 * emacs-lisp/timer.el (timer-max-repeats):
1394 * mail/feedmail.el (feedmail-mail-send-hook)
1395 (feedmail-mail-send-hook-queued):
1396 * mail/footnote.el (footnote-signature-separator):
1397 * mail/mailabbrev.el (mail-alias-separator-string)
1398 (mail-abbrev-mode-regexp):
1399 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1400 * progmodes/idlwave.el (idlwave-libinfo-file)
1401 (idlwave-default-completion-case-is-down)
1402 (idlwave-library-routines): Convert defvars to defcustoms.
1403
1404 * mail/rmail.el (rmail-decode-mime-charset):
1405 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1406 (idlwave-shell-fix-inserted-breaks)
1407 (idlwave-shell-activate-alt-keybindings)
1408 (idlwave-shell-use-breakpoint-glyph):
1409 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1410
1411 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1414
1415 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1416
1417 * progmodes/verilog-mode.el (font-lock-keywords):
1418 Fix mis-highligting auto. Reported by Craig Barner.
1419 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1420 defines from global name space. Reported by Dan Dever.
1421 (verilog-auto-reset, verilog-auto-reset-widths)
1422 (verilog-auto-tieoff): Support using unbased numbers for
1423 AUTORESET and AUTOTIEOFF.
1424 (verilog-submit-bug-report): Update variable list.
1425 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1426 parenthesis from not matching. Reported by Michael Rytting.
1427 (verilog-auto-template-lint): Fix hash error when linting modules
1428 with no used templates.
1429 (verilog-warn, verilog-warn-error)
1430 (verilog-warn-fatal): When non-interactive report multiple
1431 warnings before exiting. Suggested by Brad Dobbie.
1432 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1433 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1434 to report unused template errors. Reported by Brad Dobbie.
1435 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1436 nets, bug438. Reported by Vns Blore.
1437 (verilog-auto-inout-module, verilog-auto-reg)
1438 (verilog-read-decls, verilog-read-sub-decls-sig)
1439 (verilog-signals-edit-wire-reg, verilog-signals-with):
1440 Fix passing of Verilog data types in ANSI input/output ports
1441 such as "output logic" into the AUTOs. Special case "wire" and
1442 "reg" for backwards compatibility presuming Verilog 2001.
1443 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1444 (verilog-preprocess): Fix replication of preprocess output.
1445 Reported by Brad Dobbie.
1446 (verilog-auto-inst-interfaced-ports):
1447 Create verilog-auto-inst-interfaced-ports, bug429.
1448 Reported by Julian Gorfajn.
1449 (verilog-after-save-font-hook)
1450 (verilog-before-save-font-hook): New variable.
1451 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1452 (verilog-save-font-mods): Wrap disabling fontification, reported
1453 by David Rogoff.
1454 (verilog-do-indent, verilog-pretty-declarations-auto)
1455 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1456 Reported by Pierre-David Pfister.
1457 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1458 of class declarations, bug292. Reported by Kevin Heilman.
1459 (verilog-read-decls): Fix 'parameter type' not appearing in
1460 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1461 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1462 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1463 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1464 Reported by David Kravitz.
1465
1466 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1467
1468 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1469 assignment with tests in ifs and for loops.
1470 (verilog-extended-complete-re, verilog-complete-reg): Change so
1471 that DPI inport functions don't look like fuction declarations.
1472 (verilog-pretty-expr): Don't line up assignment
1473 operations to the test and increment in if and for loops
1474 (verilog-extended-complete-re, verilog-complete-reg): Change so
1475 that DPI inport functions don't look like fuction declarations
1476
1477 2012-05-03 Kenichi Handa <handa@m17n.org>
1478
1479 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1480 decoding, and show a warning message without signaling an error
1481 (Bug#11282).
1482
1483 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/bytecomp.el
1486 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1487 since cconv.el might have introduced :fun-body, internal-make-closure,
1488 and friends for bytecomp to handle (bug#11391).
1489 * custom.el (defcustom): Avoid ((λ ..) ..).
1490
1491 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1494
1495 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1496
1497 * notifications.el (dbus-debug):
1498 * term/linux.el (gpm-mouse-enable):
1499 * term/screen.el (xterm-register-default-colors): Declare.
1500
1501 2012-05-02 Chong Yidong <cyd@gnu.org>
1502
1503 * cus-start.el (gc-cons-percentage, exec-suffixes)
1504 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1505 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1506 (make-cursor-line-fully-visible, void-text-area-pointer)
1507 (font-list-limit): Add customization data.
1508
1509 * allout.el (allout-exposure-change-functions)
1510 (allout-structure-added-functions)
1511 (allout-structure-deleted-functions)
1512 (allout-structure-shifted-functions): Rename abnormal hooks from
1513 *-hook, and convert to defcustoms.
1514 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1515 Convert to defcustoms.
1516 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1517
1518 * allout-widgets.el: Hook callers changed.
1519
1520 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1521
1522 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1523 the yanked message in preference to the default value of
1524 buffer-file-coding-system.
1525
1526 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1527
1528 * window.el (display-buffer--action-function-custom-type):
1529 Fix entry.
1530
1531 2012-05-02 Alan Mackenzie <acm@muc.de>
1532
1533 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1534
1535 2012-05-01 Glenn Morris <rgm@gnu.org>
1536
1537 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1538
1539 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1540
1541 * cus-edit.el (custom-variable-documentation): Simplify with format.
1542
1543 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1544 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * simple.el (suggest-key-bindings, execute-extended-command):
1547 Move from keyboard.c.
1548
1549 2012-05-01 Chong Yidong <cyd@gnu.org>
1550
1551 * follow.el: Eliminate advice.
1552 (set-process-filter, process-filter, sit-for): Advice deleted.
1553 (follow-mode-off-hook): Obsolete hook removed.
1554 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1555 Vars deleted.
1556 (follow-auto): Use a :set function.
1557 (follow-mode): Rewritten. Don't advise process filters.
1558 (follow-switch-to-current-buffer-all, follow-scroll-up)
1559 (follow-scroll-down): Assume follow-mode is bound.
1560 (follow-comint-scroll-to-bottom)
1561 (follow-align-compilation-windows): New functions.
1562 (follow--window-sorter): New function.
1563 (follow-all-followers): Use it to explicitly sort windows by their
1564 positions; don't make assumptions about next-window order.
1565 (follow-windows-start-end, follow-delete-other-windows-and-split)
1566 (follow-calc-win-start): Doc fix.
1567 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1568 vertical-motion unnecessarily.
1569 (follow-adjust-window): New function.
1570 (follow-post-command-hook): Use it.
1571 (follow-call-set-process-filter, follow-call-process-filter)
1572 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1573 (follow-stop-intercept-process-output, follow-generic-filter):
1574 Functions deleted.
1575 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1576 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1577 New functions, replacing advice on scroll-bar-* commands.
1578 (follow-mwheel-scroll): New function (Bug#4112).
1579
1580 * comint.el (comint-adjust-point): New function.
1581 (comint-postoutput-scroll-to-bottom): Use it.
1582 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1583
1584 2012-05-01 Glenn Morris <rgm@gnu.org>
1585
1586 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1587 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1588 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1589 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1590 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1591 Remove no-byte-compile setting.
1592
1593 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1596 all-completions code to not return a number in the last cdr.
1597
1598 2012-04-30 Leo Liu <sdl.web@gmail.com>
1599
1600 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1601 read-only error.
1602
1603 2012-04-29 Chong Yidong <cyd@gnu.org>
1604
1605 * follow.el (follow-calc-win-end): Rewrite to handle partial
1606 screen lines correctly (Bug#8390).
1607 (follow-avoid-tail-recenter): Minor cleanup.
1608
1609 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 Avoid the obsolete `assoc' package.
1612 * speedbar.el (speedbar-refresh): Avoid adelete.
1613 (speedbar-file-lists): Simplify and avoid aput.
1614 * man.el (Man--sections, Man--refpages): New vars, replacing
1615 Man-sections-alist and Man-refpages-alist.
1616 (Man-build-section-alist, Man-build-references-alist):
1617 Use them; avoid aput.
1618 (Man--last-section, Man--last-refpage): New vars.
1619 (Man-follow-manual-reference): Use them.
1620 Use the `default' arg of completing-read.
1621 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1622
1623 2012-04-27 Chong Yidong <cyd@gnu.org>
1624
1625 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1626
1627 * startup.el (x-apply-session-resources): New function.
1628
1629 * term/ns-win.el (ns-initialize-window-system):
1630 * term/w32-win.el (w32-initialize-window-system):
1631 * term/x-win.el (x-initialize-window-system): Use it to properly
1632 set menu-bar-mode and other vars from X resources, even if the
1633 initial frame is not a window-system frame (Bug#2299).
1634
1635 * subr.el (read-key): Avoid running filter function when setting
1636 up temporary tool bar entries (Bug#9922).
1637
1638 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1639
1640 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1641 (Bug#11344)
1642
1643 2012-04-27 Chong Yidong <cyd@gnu.org>
1644
1645 * select.el (xselect--encode-string): New function, split from
1646 xselect-convert-to-string.
1647 (xselect-convert-to-string): Use it.
1648 (xselect-convert-to-filename, xselect-convert-to-os)
1649 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1650 returned strings are properly encoded (Bug#11315).
1651
1652 2012-04-27 Chong Yidong <cyd@gnu.org>
1653
1654 * simple.el (delete-active-region): Move to killing custom group.
1655
1656 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1657
1658 * progmodes/which-func.el (which-func-current): Quote %
1659 characters for mode-line processing.
1660
1661 2012-04-27 Chong Yidong <cyd@gnu.org>
1662
1663 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1664 reaching eob (Bug#11286).
1665
1666 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1667
1668 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1669 (gdb): Make it buffer-local and init to zero.
1670 (gdb-control-commands-regexp): New variable.
1671 (gdb-send): Don't wrap in "-interpreter-exec console" if
1672 gdb-control-level is positive. Increment gdb-control-level
1673 whenever the command matches gdb-control-commands-regexp, and
1674 decrement it each time the command is "end". (Bug#11279)
1675
1676 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1677
1678 * window.el (adjust-window-trailing-edge, enlarge-window)
1679 (shrink-window, window-resize):
1680 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1681 windows (Bug#11276).
1682
1683 2012-04-27 Chong Yidong <cyd@gnu.org>
1684
1685 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1686 fix "missing prefix" warning. All callers changed.
1687
1688 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/assoc.el: Move to obsolete/.
1691
1692 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1695
1696 * term/ns-win.el (ns-define-service):
1697 * progmodes/pascal.el (pascal-goto-defun):
1698 * progmodes/js.el (js--read-tab):
1699 * progmodes/etags.el (tags-lazy-completion-table):
1700 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1701 * emacs-lisp/ewoc.el (ewoc--wrap):
1702 * emacs-lisp/assoc.el (aput, adelete, amake):
1703 * doc-view.el (doc-view-convert-current-doc):
1704 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1705
1706 2012-04-26 Chong Yidong <cyd@gnu.org>
1707
1708 * image.el (image-type-from-buffer): Only return supported image
1709 type (Bug#9045).
1710
1711 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1712 value, for symmetry with diff-end-of-hunk.
1713 (diff-split-hunk, diff-find-source-location)
1714 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1715 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1716 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1717 compute the relevant hunk or file properly (Bug#6005).
1718 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1719
1720 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * vc/vc-mtn.el:
1723 * vc/vc-hg.el:
1724 * vc/vc-git.el:
1725 * vc/vc-dir.el:
1726 * vc/vc-cvs.el:
1727 * vc/vc-bzr.el:
1728 * vc/vc-arch.el:
1729 * vc/vc.el: Replace lexical-let by lexical-binding.
1730 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1731 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1732 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1733
1734 2012-04-26 Chong Yidong <cyd@gnu.org>
1735
1736 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1737 (diff-mode-shared-map): Bind it to / and [remap undo].
1738
1739 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1740 (ediff-window-setup-function): Use it as the default, to set up
1741 windows based on whether the current frame is graphical (Bug#2138).
1742 (ediff-choose-window-setup-function-automatically): Make obsolete.
1743
1744 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1745
1746 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * ffap.el: Remove old code for obsolete package.
1749 (ffap-complete-as-file-p): Remove.
1750
1751 Use completion-table-with-quoting for comint and pcomplete.
1752 * comint.el (comint--unquote&requote-argument)
1753 (comint--unquote-argument, comint--requote-argument): New functions.
1754 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1755 (comint-quote-filename): Use regexp-opt-charset.
1756 (comint--common-suffix, comint--common-quoted-suffix)
1757 (comint--table-subvert): Remove.
1758 (comint-unquote-function, comint-requote-function): New vars.
1759 (comint--complete-file-name-data): Use them with
1760 completion-table-with-quoting.
1761 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1762 * pcomplete.el (pcomplete-arg-quote-list)
1763 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1764 (pcomplete-unquote-argument-function): Default to non-nil.
1765 (pcomplete-unquote-argument): Simplify.
1766 (pcomplete--common-quoted-suffix): Remove.
1767 (pcomplete-requote-argument-function): New var.
1768 (pcomplete--common-suffix): New function.
1769 (pcomplete-completions-at-point): Use completion-table-with-quoting
1770 and completion-table-subvert.
1771
1772 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1773 (minibuffer--double-dollars): Preserve properties.
1774 (completion--sifn-requote): New function.
1775 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1776
1777 * minibuffer.el: Add support for completion of quoted/escaped data.
1778 (completion-table-with-quoting, completion-table-subvert): New funs.
1779 (completion--twq-try, completion--twq-all): New functions.
1780 (completion--nth-completion): New function.
1781 (completion-try-completion, completion-all-completions): Use it.
1782
1783 2012-04-25 Leo Liu <sdl.web@gmail.com>
1784
1785 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1786 Use compilation-message if available to find real filename.
1787
1788 2012-04-25 Chong Yidong <cyd@gnu.org>
1789
1790 * vc/diff-mode.el (diff-setup-whitespace): New function.
1791 (diff-mode): Use it.
1792
1793 * vc/diff.el (diff-sentinel):
1794 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1795 Whitespace mode variables based on diff style (Bug#8612).
1796
1797 2012-04-25 Leo Liu <sdl.web@gmail.com>
1798
1799 * progmodes/python.el (python-send-region): Add suffix .py to the
1800 temp file.
1801
1802 * files.el (auto-mode-alist): Use javascript-mode instead.
1803
1804 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1805
1806 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1807
1808 * soap-client.el (soap-resolve-references-for-sequence-type)
1809 (soap-resolve-references-for-array-type): Hack to prevent self
1810 references, see Bug#9.
1811 (soap-parse-envelope): Report the contents of the 'detail' node
1812 when receiving a fault reply.
1813 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1814
1815 * soap-inspect.el (soap-sample-value-for-simple-type)
1816 (soap-inspect-simple-type): New function.
1817
1818 * soap-client.el (soap-simple-type): New struct.
1819 (soap-default-xsd-types, soap-default-soapenc-types)
1820 (soap-decode-basic-type, soap-encode-basic-type):
1821 support unsignedInt and double basic types.
1822 (soap-resolve-references-for-simple-type)
1823 (soap-parse-simple-type, soap-encode-simple-type): New function.
1824 (soap-parse-schema): Parse xsd:simpleType declarations.
1825
1826 * soap-client.el (soap-default-xsd-types)
1827 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1828 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1829 the local name of "soapenc:Array".
1830 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1831 decoding integer, byte and anyURI xsd types.
1832
1833 2012-04-25 Chong Yidong <cyd@gnu.org>
1834
1835 * cus-edit.el (custom-buffer-create-internal): Update header text.
1836
1837 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1838
1839 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1840 settings on 'system-type', not on 'window-system'. On MS-Windows,
1841 set interactive-mode on in GDB.
1842
1843 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1846 (ruby-syntax-propertize-regexp): Remove.
1847 (ruby-syntax-propertize-function): Split regexp into chunks.
1848 Match following code directly.
1849
1850 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1853 (ruby-syntax-propertize-regexp): New function.
1854 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1855 by a special keyword.
1856
1857 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1858 (ruby-syntax-general-delimiters-goto-beg)
1859 (ruby-syntax-propertize-general-delimiters): New functions.
1860 (ruby-syntax-propertize-function): Use them to handle GDL.
1861 (ruby-font-lock-keywords): Move old handling of GDL...
1862 (ruby-font-lock-syntactic-keywords): .. to here.
1863 (ruby-calculate-indent): Adjust indentation for GDL.
1864
1865 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1866
1867 * notifications.el (top): Remove unneeded declarations.
1868 (notifications-specification-version): Change to "1.2".
1869 (notifications-interface, notifications-notify-method)
1870 (notifications-close-notification-method): Fix docstring.
1871 (notifications-get-capabilities-method): New defconst.
1872 (notifications-notify): Add :action-items, :resident and
1873 :transient hints. Change "image_data" to "image-data" and
1874 "image_path" to "image-path".
1875 (notifications-get-capabilities): New defun.
1876
1877 2012-04-24 Leo Liu <sdl.web@gmail.com>
1878
1879 * progmodes/python.el: Move hideshow setup to the end.
1880
1881 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1882
1883 * window.el (handle-select-window): Clear echo area since this is
1884 no more done by read_char (Bug#11304).
1885
1886 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1889 and `/ M' to filter-derived-mode.
1890 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1891 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1892 (ibuffer-mark-by-mode): Use default rather than initial-input.
1893 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1894
1895 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1896
1897 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1898 (ibuffer-filter-by-derived-mode): New filter.
1899 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1900
1901 2012-04-23 Andreas Politz <politza@fh-trier.de>
1902
1903 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1904
1905 2012-04-23 Chong Yidong <cyd@gnu.org>
1906
1907 * cus-edit.el (customize-apropos, customize-apropos-options):
1908 Disable matching of non-option variables (Bug#11176).
1909 (customize-option, customize-option-other-window)
1910 (customize-changed-options): Doc fix.
1911 (customize-apropos-options, customize-apropos-faces)
1912 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1913
1914 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1915 Fix word list splitting (Bug#11132).
1916 (apropos-symbol, apropos-keybinding, apropos-label)
1917 (apropos-property, apropos-function-button)
1918 (apropos-variable-button, apropos-misc-button): New faces.
1919 (apropos-symbol-face, apropos-keybinding-face)
1920 (apropos-label-face, apropos-property-face, apropos-match-face):
1921 Variables removed (Bug#8396).
1922 (apropos-library-button, apropos-format-plist, apropos-print)
1923 (apropos-print-doc, apropos-describe-plist): Callers changed.
1924
1925 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/xesam.el (xesam-mode-map): Use let-bound map in
1928 initialization. (Bug#11292)
1929
1930 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1931
1932 Preserve ispell session localwords when switching back to
1933 original buffer.
1934
1935 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1936 variable to hold buffer session localwords.
1937 (ispell-kill-ispell): add option 'clear to delete session
1938 localwords.
1939 (ispell-command-loop, ispell-change-dictionary)
1940 (ispell-buffer-local-words): Preserve session localwords when
1941 needed.
1942
1943 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1944 Preserve session localwords when needed.
1945
1946 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1947
1948 * ispell.el (ispell-insert-word) Remove unneeded function using
1949 obsolete `translation-table-for-input'.
1950 (ispell-word, ispell-process-line, ispell-complete-word):
1951 Use plain `insert' instead of removed `ispell-insert-word'.
1952
1953 2012-04-22 Chong Yidong <cyd@gnu.org>
1954
1955 * cus-edit.el (custom-variable-menu)
1956 (custom-variable-reset-saved, custom-face-menu)
1957 (custom-face-reset-saved): If there is no saved value, make the
1958 "reset-saved" operation bring back the default (Bug#9509).
1959 (custom-face-state): Properly detect themed faces.
1960
1961 * faces.el (face-spec-set): Stop supporting deprecated form of
1962 third arg.
1963
1964 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1965
1966 Move functions from C to Lisp. Make non-blocking method calls
1967 the default. Implement further D-Bus standard interfaces.
1968
1969 * net/dbus.el (dbus-message-internal): Declare function.
1970 Remove unneeded function declarations.
1971 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1972 (dbus-message-type-method-return, dbus-message-type-error)
1973 (dbus-message-type-signal): Declare variables. Remove local
1974 definitions.
1975 (dbus-interface-dbus, dbus-interface-peer)
1976 (dbus-interface-introspectable, dbus-interface-properties)
1977 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1978 Adapt docstring.
1979 (dbus-interface-objectmanager): New defconst.
1980 (dbus-call-method, dbus-call-method-asynchronously)
1981 (dbus-send-signal, dbus-method-return-internal)
1982 (dbus-method-error-internal, dbus-register-service)
1983 (dbus-register-signal, dbus-register-method): New defuns, moved
1984 from dbusbind.c
1985 (dbus-call-method-handler, dbus-setenv)
1986 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1987 New defuns.
1988 (dbus-call-method-non-blocking): Make it an obsolete function.
1989 (dbus-unregister-object, dbus-unregister-service)
1990 (dbus-handle-event, dbus-register-property)
1991 (dbus-property-handler): Obey the new structure of
1992 `bus-registered-objects'.
1993 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1994 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1995 Use `dbus-call-method'.
1996
1997 2012-04-22 Chong Yidong <cyd@gnu.org>
1998
1999 * cus-edit.el (custom-commands, custom-reset-menu)
2000 (Custom-reset-standard): Tweak labels.
2001 (custom-reset-button-menu): Change default to t.
2002 (custom-buffer-create-internal): For the custom-reset-button-menu
2003 case, put the revert button first.
2004 (custom-group-subtitle): New face.
2005 (custom-group-value-create): Align docstring to a specific column.
2006
2007 * wid-edit.el (widget-documentation-link-add): Don't handle
2008 indentation in this function.
2009 (widget-documentation-string-indent-to): New function.
2010 (widget-documentation-string-value-create): Use it.
2011
2012 * autorevert.el (auto-revert):
2013 * epg-config.el (epg):
2014 * ibuffer.el (ibuffer):
2015 * mpc.el (mpc):
2016 * ses.el (ses):
2017 * eshell/eshell.el (eshell):
2018 * net/ange-ftp.el (ange-ftp):
2019 * progmodes/ebnf2ps.el (postscript):
2020 * progmodes/flymake.el (flymake):
2021 * progmodes/prolog.el (prolog):
2022 * progmodes/verilog-mode.el (verilog-mode):
2023 * progmodes/which-func.el (which-func):
2024 * term/xterm.el (xterm):
2025 * textmodes/picture.el (picture):
2026 * textmodes/tildify.el (tildify):
2027 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2028 customization buffers.
2029
2030 2012-04-22 Alan Mackenzie <acm@muc.de>
2031
2032 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2033 Adding a ) can hide the resulting (..) from searches. Fix it.
2034 Bound the backward search to the position of the existing (.
2035
2036 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2037
2038 * progmodes/verilog-mode.el (verilog-mode): Check whether
2039 which-func-modes is t before adding verilog-mode.
2040 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2041
2042 2012-04-21 Leo Liu <sdl.web@gmail.com>
2043
2044 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2045
2046 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2047
2048 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2049 filling of the last column of a table (Bug#5635).
2050 (woman-find-next-control-line): New arg, specifying an additional
2051 regexp component for the control line.
2052 (woman2-roff-buffer): Use it.
2053 (woman-break-table): New function.
2054 (woman2-TS): Use it.
2055
2056 2012-04-21 Chong Yidong <cyd@gnu.org>
2057
2058 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2059 (woman-horizontal-escapes, woman-negative-vertical-space)
2060 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2061 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2062
2063 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * minibuffer.el (completion-file-name-table): Complete user names.
2066
2067 2012-04-20 Leo Liu <sdl.web@gmail.com>
2068
2069 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2070 and pcase-let*.
2071
2072 2012-04-20 Chong Yidong <cyd@gnu.org>
2073
2074 * server.el (server-execute): Respect initial-buffer-choice if it
2075 is a string and there are no files to open (Bug#2825).
2076 (server-create-window-system-frame, server-create-tty-frame):
2077 Don't switch buffers here.
2078 (server-process-filter): Only try to open a window system frame if
2079 compiled with graphical support (Bug#8314).
2080
2081 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2082
2083 * battery.el (battery-echo-area-format): Display remaining time
2084 for sysfs backend too (Bug#11269).
2085 (battery-linux-sysfs): Fix conditional for the charge.
2086
2087 2012-04-20 Chong Yidong <cyd@gnu.org>
2088
2089 * progmodes/gdb-mi.el (gdb): Revert previous change.
2090 (gdb-inferior-io--init-proc): New function.
2091 (gdb-init-1): Use it.
2092 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2093 responsible for allocating a new pty and hooking it to gdb when
2094 the old pty gets an EIO due to process exit.
2095 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2096 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2097 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2098
2099 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2100
2101 * window.el (window-min-size, window-sizable, window-min-delta)
2102 (window-max-delta, window--resizable, window-resizable)
2103 (window-total-size, window-full-height-p, window-full-width-p)
2104 (window-in-direction, window--resize-mini-window, window-resize)
2105 (window--resize-child-windows-normal)
2106 (window--resize-child-windows, window--resize-siblings)
2107 (window--resize-this-window, adjust-window-trailing-edge)
2108 (enlarge-window, shrink-window): Doc fixes.
2109
2110 2012-04-20 Chong Yidong <cyd@gnu.org>
2111
2112 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2113 New function to call delete-process on the gdb-inferior buffer's pty.
2114 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2115 pty process (Bug#11273).
2116 (gdb-update): New arg to suppress talking to the gdb process.
2117 (gdb-done-or-error): Use it.
2118 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2119 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2120 sentinel not being called.
2121
2122 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2123
2124 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2125
2126 2012-04-20 Glenn Morris <rgm@gnu.org>
2127
2128 * net/network-stream.el (open-network-stream): Doc fix.
2129
2130 2012-04-20 Chong Yidong <cyd@gnu.org>
2131
2132 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2133
2134 2012-04-20 Alan Mackenzie <acm@muc.de>
2135
2136 Ensure searching for keywords is case sensitive.
2137
2138 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2139 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2140 (c-defun-name, c-mark-function, c-cpp-define-name)
2141 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2142 (c-context-line-break): Bind case-fold-search to nil.
2143
2144 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2145 Bind case-fold-search to nil.
2146
2147 2012-04-20 Chong Yidong <cyd@gnu.org>
2148
2149 * mail/sendmail.el (mail-bury): Call return action with the right
2150 Rmail buffer (Bug#11242).
2151
2152 * server.el (server-process-filter): Handle corner case where both
2153 tty and nowait options are present (Bug#11102).
2154
2155 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2156
2157 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2158 (top level): Put into the executable the ident-style '$Id:' tag on
2159 windows-nt as well.
2160
2161 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * electric.el (electric-indent-post-self-insert-function): Check that
2164 electric-indent-mode is enabled in current buffer.
2165
2166 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2167
2168 * imenu.el (imenu-progress-message): Restore; it is "used" in
2169 erc/erc-imenu.el and net/snmp-mode.el.
2170
2171 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2172
2173 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2174 (mouse-avoidance-nudge-mouse): Remove unused binding.
2175
2176 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2177
2178 * descr-text.el (describe-char):
2179 * progmodes/python.el (python-describe-symbol):
2180 Don't call `toggle-read-only', set `buffer-read-only'.
2181
2182 * imenu.el (imenu-default-goto-function): Mark unused args.
2183 (imenu-progress-message): Remove obsolete macro; all callers changed.
2184
2185 * subr.el (keymap-canonicalize): Remove unused binding.
2186 (read-passwd): Mark unused arg.
2187
2188 * tutorial.el (tutorial--display-changes): Remove unused binding.
2189 (tutorial--save-tutorial-to): Remove unused variable.
2190
2191 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2192 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2193 (package-generate-autoloads, package-menu--generate)
2194 (package-menu--find-upgrades): Remove unused bindings.
2195
2196 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2197 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2198 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2199 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2200 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2201 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2202 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2203 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2204 (cua-delete-char-rectangle): Mark unused args.
2205 (cua-align-rectangle): Remove unused binding.
2206
2207 * mail/rmail.el (compilation--message->loc)
2208 (epa--find-coding-system-for-mime-charset): Declare.
2209
2210 * net/dbus.el (dbus-register-service): Declare.
2211 (dbus-name-owner-changed-handler): Remove unused binding.
2212
2213 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2214 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2215 (nxml-scan-backward-within): Mark unused arg.
2216 (nxml-dynamic-markup-word): Remove unused binding.
2217
2218 * mouse.el (mouse-menu-major-mode-map):
2219 * emacs-lisp/authors.el (authors-scan-change-log)
2220 (authors-add-to-author-list):
2221 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2222 * emacs-lisp/smie.el (smie-auto-fill):
2223 * mail/sendmail.el (mail-bury):
2224 * mail/unrmail.el (unrmail):
2225 * net/tls.el (open-tls-stream):
2226 * textmodes/picture.el (picture-mouse-set-point):
2227 Remove unused bindings.
2228
2229 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2230
2231 * net/tramp.el (tramp-action-password): Let-bind
2232 `enable-recursive-minibuffers' to t.
2233
2234 2012-04-18 Sam Steingold <sds@gnu.org>
2235
2236 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2237 instead of 'string to accommodate values like [f11].
2238 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2239 * progmodes/gdb-mi.el: Likewise.
2240
2241 2012-04-18 Leo Liu <sdl.web@gmail.com>
2242
2243 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2244 current buffer.
2245 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2246 LOCAL is nil.
2247
2248 2012-04-18 Chong Yidong <cyd@gnu.org>
2249
2250 * simple.el (line-move): Use forward-line if in batch mode
2251 (Bug#11053).
2252
2253 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2254
2255 * files.el (after-find-file): Do not try to add a final newline if
2256 the buffer is read-only (Bug#11156).
2257
2258 2012-04-17 Richard Stallman <rms@gnu.org>
2259
2260 * mail/rmail.el (rmail-start-mail):
2261 Pass (rmail-mail-return...) for the return-action.
2262 Pass (rmail-yank-current-message...) for the yank-action.
2263 (rmail-yank-current-message): New function.
2264 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2265 (rmail-reply): Likewise.
2266 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2267
2268 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2269 buffer, not the last. Reject temp buffers. Use the rmail-mode
2270 buffer, not newbuf.
2271
2272 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2273
2274 * server.el (server-ensure-safe-dir): Simplify.
2275
2276 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/smie.el: Provide smarter auto-filling.
2279 (smie-auto-fill): New function.
2280 (smie-setup): Use it.
2281
2282 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2283
2284 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2285
2286 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2287 (comment-indent): Use it.
2288
2289 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2290
2291 * ses.el: The overall change is to add cell renaming, that is
2292 setting fancy names for cell symbols other than name matching
2293 "\\`[A-Z]+[0-9]+\\'" regexp .
2294 (ses-localvars): Add ses--renamed-cell-symb-list.
2295 (ses-create-cell-variable): New defun.
2296 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2297 (ses-relocate-formula): Relocate formulas only for cells the
2298 symbols of which are not renamed, i.e. symbols whose names do not
2299 match regexp "\\`[A-Z]+[0-9]+\\'".
2300 (ses-relocate-all): Relocate values only for cells the symbols of
2301 which are not renamed.
2302 (ses-load): Create cells variables as the (ses-cell ...) are read,
2303 in order to check row col consistency with cell symbol name only
2304 for cells that are not renamed.
2305 (ses-replace-name-in-formula): New defun.
2306 (ses-rename-cell): New defun.
2307
2308 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2309
2310 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2311 New option (bug#11118).
2312 (perl-calculate-indent): Respect it.
2313
2314 2012-04-17 Glenn Morris <rgm@gnu.org>
2315
2316 * dired-aux.el (dired-mark-read-string): Doc fix.
2317
2318 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2319
2320 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2321 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2322
2323 2012-04-17 Glenn Morris <rgm@gnu.org>
2324
2325 * mouse.el (mouse-drag-track):
2326 * speedbar.el (speedbar-frame-mode):
2327 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2328
2329 2012-04-16 Leo Liu <sdl.web@gmail.com>
2330
2331 * progmodes/python.el: Trivial cleanup.
2332
2333 2012-04-16 Glenn Morris <rgm@gnu.org>
2334
2335 * vc/vc.el (vc-string-prefix-p):
2336 * vc/pcvs-util.el (cvs-string-prefix-p):
2337 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2338 * mpc.el (mpc-string-prefix-p):
2339 Make all of these into obsolete aliases for string-prefix-p.
2340 Update callers.
2341 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2342
2343 * textmodes/two-column.el: Move custom options to the start.
2344 (frame-width): Remove compat definition.
2345 (2C-associate-buffer, 2C-dissociate):
2346 Use with-current-buffer rather than save-excursion.
2347 (2C-dissociate): Force a mode-line update.
2348 (2C-autoscroll): Use ignore-errors.
2349
2350 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2351 Autoload trivia.
2352
2353 * emacs-lisp/cl-extra.el (*random-state*):
2354 Remove unnecessary declaration.
2355
2356 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2357
2358 * play/cookie1.el (cookie-snarf):
2359 Give an explicit error if input file cannot be read.
2360
2361 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2362
2363 * progmodes/perl-mode.el (c-macro-expand):
2364 Remove unnecessary autoload (it is in loaddefs.el).
2365
2366 * textmodes/picture.el (picture-desired-column)
2367 (picture-update-desired-column): Convert comments to doc-strings.
2368 (picture-substitute): Remove function.
2369 (picture-mode-map): Initialize in the defvar.
2370
2371 * woman.el: Remove eval-after-load for tar-mode.
2372 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2373 (woman-tar-extract-file): Autoload it.
2374
2375 * frame.el (automatic-hscrolling): Make this alias obsolete.
2376
2377 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2378
2379 * ispell.el (ispell-set-spellchecker-params): Post-process
2380 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2381 (ispell-dictionary-base-alist): Revert to original XEmacs
2382 friendly version for default. [:alpha:] will be added in
2383 `ispell-set-spellchecker-params' if needed
2384
2385 2012-04-16 Chong Yidong <cyd@gnu.org>
2386
2387 * image.el (imagemagick--extension-regexp): New variable.
2388 (imagemagick-register-types): Use it.
2389 (imagemagick-types-inhibit): Add :set function. Allow new value
2390 of t to inhibit all types.
2391
2392 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2393 so we can preload it.
2394
2395 * loadup.el (fboundp): Preload regexp-opt, needed by
2396 imagemagick-register-types.
2397
2398 2012-04-15 Chong Yidong <cyd@gnu.org>
2399
2400 * frame.el (scrolling): Remove nearly unused customization group.
2401
2402 * scroll-all.el (scroll-all-mode): Move to windows group.
2403
2404 2012-04-15 Chong Yidong <cyd@gnu.org>
2405
2406 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2407
2408 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2411 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2412
2413 2012-04-15 Glenn Morris <rgm@gnu.org>
2414
2415 * simple.el (process-file-side-effects): Doc fix.
2416
2417 2012-04-15 Glenn Morris <rgm@gnu.org>
2418
2419 * international/mule-cmds.el (set-language-environment): Doc fix.
2420
2421 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2422
2423 * server.el (server-auth-key, server-generate-key): Doc fixes.
2424 (server-get-auth-key): Doc fix. Use `string-match-p'.
2425 (server-start): Reflow docstring.
2426
2427 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2428
2429 * server.el (server-generate-key): `called-interactively-p'
2430 requires a parameter.
2431
2432 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2433
2434 * server.el (server-auth-key): New variable.
2435 (server-generate-key, server-get-auth-key): New function.
2436 (server-start): Use the new variable and functions to allow
2437 setting a permanent server key (bug#9423).
2438
2439 2012-04-14 Leo Liu <sdl.web@gmail.com>
2440
2441 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2442
2443 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2444
2445 Spelling fixes.
2446 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2447 Emacs uses American spelling.
2448
2449 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2450
2451 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2452 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2453 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2454 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2455
2456 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * progmodes/which-func.el (which-func-modes): Change default.
2459
2460 2012-04-14 Kim F. Storm <storm@cua.dk>
2461
2462 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2463 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2464
2465 2012-04-14 Chong Yidong <cyd@gnu.org>
2466
2467 * custom.el (custom-theme-set-variables): Doc fix.
2468
2469 2012-04-14 Glenn Morris <rgm@gnu.org>
2470
2471 * international/mule.el (set-auto-coding-for-load): Doc fix.
2472
2473 2012-04-14 Alan Mackenzie <acm@muc.de>
2474
2475 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2476 imenu work again for Objective C Mode. Correct the *-index values,
2477 these having been disturbed by a previous change in 2011-08.
2478
2479 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2480 Correct two search limits.
2481
2482 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2485
2486 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2487
2488 * international/characters.el: Fix sorting.
2489
2490 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2491
2492 * international/characters.el: Add more missing Latin case pairs.
2493
2494 2012-04-14 Glenn Morris <rgm@gnu.org>
2495
2496 * files.el (dir-locals-set-class-variables): Doc fix.
2497
2498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2499
2500 * international/characters.el: Add set-case-syntax-pair call for
2501 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2502 counterpart. (Bug#11209)
2503
2504 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2505
2506 2012-04-14 Glenn Morris <rgm@gnu.org>
2507
2508 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2509
2510 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2511
2512 * textmodes/ispell.el (ispell-dictionary-base-alist):
2513 Add data for Hebrew.
2514
2515 2012-04-14 Chong Yidong <cyd@gnu.org>
2516
2517 * net/rcirc.el (rcirc-cmd-quit):
2518 Revert 2012-03-18 change (Bug#11192).
2519
2520 2012-04-14 Glenn Morris <rgm@gnu.org>
2521
2522 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2523
2524 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2525
2526 * minibuffer.el (completion-in-region-mode-map):
2527 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2528
2529 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2530
2531 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2532
2533 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2534
2535 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2536 to allow `C-M-f' and `C-M-b' to move to the nearest path
2537 separator (bug#9511).
2538
2539 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2540
2541 * avoid.el: Require cl when compiling. And also move the
2542 `provide' to the end.
2543
2544 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2545
2546 * avoid.el (mouse-avoidance-banish-position): New variable.
2547 (mouse-avoidance-banish-destination): Use it (bug#10165).
2548
2549 2012-04-13 Leo Liu <sdl.web@gmail.com>
2550
2551 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2552
2553 2012-04-13 Ken Brown <kbrown@cornell.edu>
2554
2555 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2556 this is no longer needed now that cygstart understands file:// URLs.
2557 (browse-url-filename-alist): For the same reason, don't modify
2558 file:// URLs on Cygwin.
2559
2560 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2563 the region on shift if the binding is already shifted (bug#11221).
2564
2565 2012-04-12 Glenn Morris <rgm@gnu.org>
2566
2567 * mail/mailpost.el: Move to obsolete/.
2568
2569 2012-04-12 Drew Adams <drew.adams@oracle.com>
2570
2571 * imenu.el (imenu--generic-function): Ignore invisible definitions
2572 (bug#10123).
2573
2574 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2575
2576 * hexl.el (hexl-bits): New variable.
2577 (hexl-options): Mention the variable in the doc string.
2578 (hexl-rulerise, hexl-line-displen): New functions.
2579 (hexl-mode): Mention the new variable.
2580 (hexl-mode, hexl-current-address, hexl-current-address):
2581 Use the displen.
2582 (hexl-ascii-start-column): New function.
2583 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2584 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2585
2586 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2587
2588 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2589 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2590 the encoding, as expected by hunspell.
2591
2592 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * battery.el (battery--linux-sysfs-regexp): New const.
2595 (battery-status-function): Use it. Remove yeeloong special case.
2596 (battery-yeeloong-sysfs): Remove.
2597 (battery-echo-area-format): Remove yeeloong special case.
2598
2599 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2602 Reported by Noah Friedman.
2603
2604 * subr.el (read-passwd): Use read-string.
2605
2606 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2607
2608 * vcursor.el (vcursor-move): Increase the priority of the overlay
2609 (bug#9663).
2610
2611 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2612
2613 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2614 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2615
2616 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2617
2618 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2619 define-minor-mode (bug#10760).
2620
2621 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2622
2623 * progmodes/grep.el (rgrep): Tweak the find command line so
2624 that directories matching `grep-find-ignored-files' won't be
2625 pruned (bug#10351).
2626
2627 2012-04-11 Chong Yidong <cyd@gnu.org>
2628
2629 * startup.el (command-line): Remove support for long-obsolete
2630 variable font-lock-face-attributes.
2631
2632 2012-04-11 Glenn Morris <rgm@gnu.org>
2633
2634 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2635
2636 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * window.el (window--state-get-1): Obey window-point-insertion-type.
2639
2640 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2641
2642 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2643 to previous function when point is on the first character of a
2644 function. Take care of that in `narrow-to-defun' (bug#6157).
2645
2646 2012-04-11 Glenn Morris <rgm@gnu.org>
2647
2648 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2649 not just file-errors.
2650
2651 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2652 (vc-bzr-sha1): Use internal sha1.
2653
2654 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2657
2658 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2659
2660 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2661 that start in the middle of the line (bug#10496).
2662
2663 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2664
2665 * battery.el (battery-linux-proc-acpi): Only one battery is
2666 discharged at a time, but that seems to confuse battery.el when
2667 computing `rate-type' for the battery not being discharged
2668 (bug#10332).
2669
2670 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2673
2674 * international/quail.el: Use dolist and simplify.
2675 (quail-define-package, quail-update-keyboard-layout)
2676 (quail-define-rules): Use dolist.
2677 (quail-insert-kbd-layout, quail-get-translation): CSE.
2678
2679 * tmm.el: Use dolist, remove left over hook.
2680 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2681 Use dolist.
2682 (calendar-load-hook): Don't mess with it.
2683
2684 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2685 Use derived-mode-p. Run the diff asynchronously.
2686
2687 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2688
2689 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2690
2691 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2692
2693 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2694 (list-dynamic-libraries--loaded): New function.
2695 (list-dynamic-libraries--refresh): Use it.
2696
2697 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2698
2699 * progmodes/python.el (python-fill-paragraph):
2700 Make python-fill-region in a multiline string work when font-lock is
2701 disabled (bug#7018).
2702
2703 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2704
2705 * language/european.el (cp775): Add oem/legacy (en)coding on
2706 DOS/MS Windows for the Baltic languages. There are still plenty
2707 of texts written in this encoding/codepage (bug#6519).
2708
2709 2012-04-10 Glenn Morris <rgm@gnu.org>
2710
2711 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2712 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2713
2714 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2715
2716 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2717 next-line "n" and previous-line "p" in order to make recentf more
2718 consistent with ibuffer, dired or org-mode (bug#9387).
2719
2720 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2721
2722 * image.el (put-image): Return the overlay created instead of the
2723 optional input string (bug#7834). Note that this may break code
2724 that is (for some reason or other) depending on `put-image'
2725 returning the string.
2726
2727 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2728
2729 * simple.el (zap-to-char): Allow zapping using input methods
2730 (bug#1580).
2731
2732 * textmodes/fill.el (fill-region): Leave point and mark where they
2733 were before filling (bug#5399).
2734
2735 2012-04-09 Glenn Morris <rgm@gnu.org>
2736
2737 * version.el (emacs-bzr-get-version):
2738 Handle lightweight checkouts of local branches.
2739
2740 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2741
2742 * international/characters.el: Recover lost case pairs. (Bug#11209)
2743
2744 2012-04-09 Chong Yidong <cyd@gnu.org>
2745
2746 * custom.el (custom-variable-p): Return nil for non-symbol
2747 arguments instead of signaling an error.
2748 (user-variable-p): Obsolete alias for custom-variable-p.
2749
2750 * apropos.el (apropos-variable):
2751 * files-x.el (read-file-local-variable):
2752 * simple.el (set-variable):
2753 * woman.el (woman-mini-help):
2754 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2755
2756 2012-04-09 Glenn Morris <rgm@gnu.org>
2757
2758 * startup.el (normal-top-level): Don't look for leim-list.el
2759 in places where it will not be found. (Bug#910)
2760
2761 * international/mule-cmds.el (set-default-coding-systems):
2762 * files.el (normal-mode):
2763 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2764 This function was removed with ucs-tables.el in 2008.
2765
2766 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2767
2768 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2769 ispell-encoding8-command to "-i", without a trailing space.
2770 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2771 separate command-line arguments, to specify the encoding, since
2772 that's how hunspell expects it.
2773
2774 2012-04-08 Glenn Morris <rgm@gnu.org>
2775
2776 * loadup.el: Load bindings before cus-start.
2777 This reduces somewhat the number of "rogue" settings in emacs -Q.
2778
2779 2012-04-07 Glenn Morris <rgm@gnu.org>
2780
2781 * version.el (emacs-bzr-get-version): New function.
2782 (emacs-bzr-version): New variable.
2783 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2784 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2785
2786 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2787
2788 * international/uni-bidi.el, international/uni-category.el:
2789 * international/uni-combining.el, international/uni-decimal.el:
2790 * international/uni-decomposition.el, international/uni-digit.el:
2791 * international/uni-lowercase.el, international/uni-mirrored.el:
2792 * international/uni-name.el, international/uni-numeric.el:
2793 * international/uni-titlecase.el, international/uni-uppercase.el:
2794 Update for Unicode 6.1.
2795
2796 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2797
2798 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2799
2800 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2801
2802 * window.el (shrink-window): Mention the `window-min-height'
2803 variable in the doc string.
2804
2805 2012-04-05 Bastien Guerry <bzg@altern.org>
2806
2807 * color.el (color-lighten-name): Fix typo.
2808
2809 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * server.el (server--on-display-p): New function.
2812 (server--on-display-p): Use it.
2813
2814 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2815
2816 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2817 (bug#11145).
2818
2819 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * comint.el (comint--common-quoted-suffix): Check string boundary
2822 before comparing (bug#11158).
2823 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2824
2825 2012-04-04 Chong Yidong <cyd@gnu.org>
2826
2827 * minibuffer.el (completion-extra-properties): Doc fix.
2828
2829 * subr.el (delayed-warnings-hook): Doc fix.
2830
2831 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2832
2833 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2834 selection (Bug#11159).
2835 (epa-insert-keys): Inform that the default public key will be
2836 exported if no key is selected.
2837
2838 2012-04-04 Richard Stallman <rms@gnu.org>
2839
2840 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2841
2842 2012-04-03 Chong Yidong <cyd@gnu.org>
2843
2844 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2845 mail-insert-file, not its obsolete alias mail-attach-file.
2846
2847 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * notifications.el (notifications-notify): Fix docstring.
2850
2851 2012-04-02 Glenn Morris <rgm@gnu.org>
2852
2853 * emacs-lisp/authors.el (authors-aliases): Another addition.
2854
2855 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2856
2857 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2858 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2859 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2860
2861 2012-04-01 Chong Yidong <cyd@gnu.org>
2862
2863 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2864 Handle root directory properly.
2865 (copy-directory): Caller changed.
2866
2867 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2868 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2869
2870 2012-03-31 Glenn Morris <rgm@gnu.org>
2871
2872 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2873
2874 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2875
2876 * calendar/calendar.el (calendar-window-list)
2877 (calendar-hide-window): Restore. (Bug#11140)
2878 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2879
2880 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2881
2882 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2883
2884 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2885 Check if file is a symlink (Bug#10489).
2886
2887 * files.el (copy-directory): Likewise.
2888
2889 2012-03-30 Chong Yidong <cyd@gnu.org>
2890
2891 * image.el (imagemagick-types-inhibit)
2892 (imagemagick-register-types): Doc fix.
2893
2894 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2895
2896 * ispell.el (ispell-get-extended-character-mode):
2897 Disable extended-char-mode for hunspell. hunspell does not support it
2898 and treats ~word as ordinary words in pipe mode.
2899
2900 2012-03-30 Glenn Morris <rgm@gnu.org>
2901
2902 * tutorial.el (help-with-tutorial): Ensure local variables don't
2903 happen to make the buffer read-only. (Bug#11127)
2904
2905 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2908 (perl-calculate-indent): Return `noindent' in strings.
2909
2910 2012-03-28 Sam Steingold <sds@gnu.org>
2911
2912 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2913 instead of the broken adhockery which does not prevent calendar
2914 buffers from being displayed at random after exit.
2915 (calendar-window-list, calendar-hide-window): Remove the broken
2916 adhockery.
2917
2918 2012-03-28 Glenn Morris <rgm@gnu.org>
2919
2920 * replace.el (query-replace-map): Doc fix.
2921
2922 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2925 contents. (Bug#11109)
2926
2927 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2930 (bug#11077).
2931 (avl-tree--check, avl-tree--check-node): New funs.
2932
2933 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2934
2935 * window.el (switch-to-visible-buffer): New option.
2936 (switch-to-prev-buffer, switch-to-next-buffer):
2937 Observe switch-to-visible-buffer. Make sure that checking for a window
2938 showing a buffer already is done on the same frame.
2939
2940 2012-03-27 Glenn Morris <rgm@gnu.org>
2941
2942 * startup.el (mail-host-address): Doc fix.
2943
2944 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2947 than 197 variables.
2948
2949 2012-03-26 Ami Fischman <ami@fischman.org>
2950
2951 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2952
2953 2012-03-26 Glenn Morris <rgm@gnu.org>
2954
2955 * files.el (save-buffers-kill-emacs): Doc fix.
2956
2957 * startup.el (normal-top-level, command-line, command-line-1):
2958 Give them doc strings.
2959
2960 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2961
2962 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2963 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2964
2965 2012-03-25 Chong Yidong <cyd@gnu.org>
2966
2967 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2968 theme if it was previously enabled before (Bug#11031).
2969
2970 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2971 spec with custom-face-get-current-spec if its :shown-value is not
2972 determined yet (Bug#9337).
2973 (customize-create-theme, custom-theme-revert): Doc fixes.
2974
2975 * button.el (button-at): Minor addition to docstring.
2976
2977 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2978
2979 * vc/vc.el (vc-merge): Fix a prompt.
2980
2981 2012-03-24 Chong Yidong <cyd@gnu.org>
2982
2983 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2984 point (Bug#9623).
2985
2986 * button.el (button-at): Minor addition to docstring.
2987
2988 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * newcomment.el (comment-choose-indent): No space after BOL.
2991
2992 2012-03-22 Sam Steingold <sds@gnu.org>
2993
2994 * window.el (switch-to-prev-buffer): Revert last patch because the
2995 bug turned out to be an advertised feature (Elisp manual 28.14).
2996
2997 2012-03-22 Glenn Morris <rgm@gnu.org>
2998
2999 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3000 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3001
3002 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3003
3004 * net/network-stream.el (network-stream-open-starttls): Make error
3005 message under Windows be less misleading.
3006
3007 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3008
3009 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3010 understands (bug#9942).
3011
3012 2012-03-22 Chong Yidong <cyd@gnu.org>
3013
3014 * simple.el (end-of-visible-line): Handle return value of
3015 next-single-property-change properly (Bug#9371).
3016
3017 2012-03-22 Kenichi Handa <handa@m17n.org>
3018
3019 * international/quail.el (quail-insert-kbd-layout): Fix previous
3020 change. To avoid unwanted bidi reordering, use
3021 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3022
3023 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3026 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3027 (ruby-beginning-of-indent): Be more careful with the difference
3028 between word-boundary and symbol boundary.
3029 (ruby-mode-syntax-table): Make : a symbol constituent.
3030
3031 2012-03-21 Andreas Politz <politza@fh-trier.de>
3032
3033 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3034
3035 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/etags.el (tags-completion-at-point-function):
3038 Improve last fix.
3039
3040 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3041
3042 2012-03-21 Sam Steingold <sds@gnu.org>
3043
3044 * progmodes/etags.el (tags-completion-at-point-function):
3045 Avoid the error when point is inside the pattern.
3046
3047 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3048
3049 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3050 line (Bug#10855).
3051
3052 2012-03-21 Drew Adams <drew.adams@oracle.com>
3053
3054 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3055
3056 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3057
3058 * ido.el (ido-set-current-directory, ido-read-internal)
3059 (ido-choose-completion-string, ido-completion-help): Handle nil
3060 value of ido-completion-buffer (Bug#11008).
3061
3062 2012-03-21 Sam Steingold <sds@gnu.org>
3063
3064 * window.el (switch-to-prev-buffer): Do not switch to a visible
3065 window previous buffer, just like with the frame previous buffers.
3066
3067 2012-03-21 Chong Yidong <cyd@gnu.org>
3068
3069 * faces.el (make-face, make-empty-face, copy-face):
3070 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3071 Doc fixes.
3072
3073 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3076 (widget-complete): Remove broken use of it.
3077
3078 2012-03-20 Chong Yidong <cyd@gnu.org>
3079
3080 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3081 Use string-width and truncate-string-width to handle arbitrary
3082 characters.
3083
3084 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3085
3086 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3087 to draw rectangles, not squares. (Regression introduced by revno
3088 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3089
3090 2012-03-18 Chong Yidong <cyd@gnu.org>
3091
3092 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3093 it is not yet defined (for temacs).
3094
3095 2012-03-18 Leo Liu <sdl.web@gmail.com>
3096
3097 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3098
3099 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3100
3101 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3102 (ispell-choices-win-default-height, ispell-silently-savep)
3103 (ispell-dictionary-alist, ispell-encoding8-command)
3104 (ispell-check-version, ispell-aspell-find-dictionary)
3105 (ispell-valid-dictionary-list, ispell-words-keyword)
3106 (ispell-get-word, ispell-internal-change-dictionary)
3107 (ispell-region, ispell-skip-region-list)
3108 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3109 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3110 (ispell-message-text-end, ispell-message)
3111 (ispell-buffer-local-parsing): Doc fix.
3112
3113 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3114
3115 * htmlfontify.el: Add support for code block fontification for ODT
3116 export (Bug #9914).
3117 (hfy-optimisations): Define new option
3118 `body-text-only'
3119 (hfy-fontify-buffer): Honor above setting.
3120 (hfy-begin-span, hfy-end-span): New routines factored out form
3121 `hfy-fontify-buffer'.
3122 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3123 that permit insertion of custom tags.
3124 (hfy-fontify-buffer): Use above handlers.
3125 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3126 (hfy-face-to-css): Re-defined to be a variable.
3127 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3128 over multiple runs. This is made possible by having the caller let
3129 bind a special variable `hfy-user-sheet-assoc'.
3130 (htmlfontify-string): New defun.
3131 (hfy-compile-face-map): Make sure that the last char in the
3132 buffer is correctly fontified.
3133 (hfy-face-resolve-face): Whitespace only change.
3134
3135 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3136
3137 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3138 message more clear.
3139
3140 2012-03-16 Leo Liu <sdl.web@gmail.com>
3141
3142 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3143
3144 2012-03-16 Alan Mackenzie <acm@muc.de>
3145
3146 Further optimise the handling of large macros.
3147
3148 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3149 limit to a call of `c-literal-limits'.
3150 (c-determine-+ve-limit): New function.
3151 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3152 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3153 In CASE 5B, restrict a search limit to 500.
3154 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3155
3156 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3157 Restrict macro bounds to +-500 from after-change's BEG END.
3158
3159 2012-03-16 Leo Liu <sdl.web@gmail.com>
3160
3161 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3162
3163 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3164
3165 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3166 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3167
3168 2012-03-16 Glenn Morris <rgm@gnu.org>
3169
3170 * view.el (view-buffer, view-buffer-other-window)
3171 (view-buffer-other-frame): Doc fixes re special mode-class.
3172
3173 * subr.el (eval-after-load): If named feature is provided not from
3174 a file, run after-load forms. (Bug#10946)
3175
3176 * calendar/calendar.el (calendar-insert-at-column):
3177 Handle non-unit-width characters a bit better. (Bug#10978)
3178
3179 2012-03-15 Chong Yidong <cyd@gnu.org>
3180
3181 * emacs-lisp/ring.el (ring-extend): New function.
3182 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3183
3184 * comint.el (comint-read-input-ring)
3185 (comint-add-to-input-history): Grow comint-input-ring lazily.
3186
3187 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3190 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3191
3192 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3193 (imenu-add-to-menubar): Don't add a redundant index.
3194 (imenu-update-menubar): Handle a dynamically composed keymap.
3195
3196 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3197
3198 * mail/sendmail.el (mail-encode-header):
3199 Bind rfc2047-encode-encoded-words to nil.
3200
3201 2012-03-13 Glenn Morris <rgm@gnu.org>
3202
3203 * calendar/calendar.el (calendar-string-spread):
3204 Handle non-unit-width characters a bit better. (Bug#10978)
3205
3206 2012-03-13 Leo Liu <sdl.web@gmail.com>
3207
3208 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3209 directory and file as argument (Bug#10822).
3210
3211 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3212
3213 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3214 For dynamically generated code, follow $PC.
3215 (gdb-disassembly-handler-custom): Handle no function name case.
3216
3217 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3218
3219 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3220 * emulation/ws-mode.el (ws-query-replace):
3221 * sort.el (sort-regexp-fields):
3222 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3223
3224 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * dabbrev.el: Fix cycle completion order (bug#10963).
3227 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3228 (dabbrev-completion): Don't use an obarray; provide
3229 a cycle-sort-function.
3230
3231 2012-03-12 Leo Liu <sdl.web@gmail.com>
3232
3233 * simple.el (kill-new): Use equal-including-properties for comparison.
3234 (kill-do-not-save-duplicates): Doc fix.
3235
3236 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * dabbrev.el: Fix cycle completion (bug#10963).
3239 Use lexical binding and wrap to 80 columns.
3240 (dabbrev-completion): Delay computing the list of completions.
3241
3242 2012-03-12 Kenichi Handa <handa@m17n.org>
3243
3244 * international/quail.el (quail-insert-kbd-layout): Surround each
3245 row by LRO and PDF instead of inserting many LRMs. Pad the left
3246 and right of each non-spacing marks. Insert invisible space
3247 between lower and upper characters to prevent composition.
3248
3249 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * minibuffer.el (minibuffer-complete): Don't get confused when the
3252 function is run twice via different commands (bug#10958).
3253 (complete-with-action): Fix docstring.
3254
3255 2012-03-12 Chong Yidong <cyd@gnu.org>
3256
3257 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3258 (nxml-completion-at-point-function): New function.
3259 (nxml-mode): Use it.
3260 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3261
3262 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3263 Load generated autoloads file before byte compiling (Bug#10970).
3264 (package--make-autoloads-and-compile): New helper fun.
3265
3266 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3267
3268 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3269
3270 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3271
3272 * autorevert.el (auto-revert-handler): Ensure, that
3273 file-readable-p is applied only for local files or in
3274 auto-revert-tail-mode.
3275
3276 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3277
3278 * server.el (server-eval-at): Handle non-tcp connections.
3279 Decode result string.
3280
3281 * server.el (server-msg-size): New constant.
3282 (server-reply-print): New function.
3283 (server-eval-and-print): Use it.
3284 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3285 Handle -print-nonl.
3286
3287 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3288
3289 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3290 (Bug#10987).
3291
3292 2012-03-11 Chong Yidong <cyd@gnu.org>
3293
3294 * simple.el (goto-line): Doc fix (Bug#9938).
3295
3296 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3297
3298 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3299 when finished (Bug#10963).
3300
3301 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3302
3303 * window.el (split-window-below): Fix bug in case where
3304 split-window-keep-point is nil (Bug#10971).
3305
3306 2012-03-11 Juri Linkov <juri@jurta.org>
3307
3308 * replace.el (replace-highlight): Set isearch-word to nil
3309 unconditionally. (Bug#10887)
3310
3311 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3312
3313 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3314 mairix-replace-illegal-chars; all callers changed. Don't remove
3315 ^, ~, and = characters: they are meaningful in mairix search specs.
3316 (mairix-widget-create-query): Add usage information about mairix
3317 search forms: negating words, searching for substrings, etc.
3318
3319 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3320
3321 * international/fontset.el (font-encoding-alist): Add an entry for
3322 ksx1001 (Bug#5667).
3323
3324 2012-03-10 Richard Stallman <rms@gnu.org>
3325
3326 * mail/sendmail.el (mail-encode-header):
3327 Set rfc2047-encode-encoded-words.
3328
3329 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3330
3331 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3332 view buffer means not swapped.
3333 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3334 (rmail-write-region-annotate): Error if real text has disappeared.
3335
3336 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3337
3338 2012-03-10 Chong Yidong <cyd@gnu.org>
3339
3340 * emulation/cua-rect.el (cua--init-rectangles):
3341 * emulation/cua-base.el (cua--init-keymaps):
3342 Add delete-forward-char to remappings (Bug#9666).
3343
3344 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3345
3346 * speedbar.el (speedbar-unhighlight-one-tag-line):
3347 Avoid unhighlighting due to frame switching (Bug#10275).
3348
3349 2012-03-10 Chong Yidong <cyd@gnu.org>
3350
3351 * minibuffer.el (completion-in-region, completion-help-at-point):
3352 Give the completion field overlay a high priority (Bug#6830).
3353
3354 * dired.el (dired-goto-file): Recognize absolute file name
3355 listings (Bug#7126).
3356 (dired-goto-file-1): New helper function.
3357 (dired-toggle-read-only): Inhibit warnings.
3358
3359 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3360
3361 * net/dbus.el (dbus-property-handler): Return empty array if
3362 there are no properties.
3363
3364 2012-03-09 Leo Liu <sdl.web@gmail.com>
3365
3366 * savehist.el (savehist-printable): Stricter check for string
3367 value (Bug#10937).
3368
3369 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3370
3371 * mail/smtpmail.el (smtpmail-send-it):
3372 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3373 valid mbox format.
3374
3375 2012-03-09 Glenn Morris <rgm@gnu.org>
3376
3377 * files.el (dir-locals-find-file):
3378 Don't check result is regular, readable.
3379 (dir-locals-read-from-file): Demote errors.
3380
3381 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3382
3383 * international/quail.el (quail-insert-kbd-layout):
3384 Insert invisible LRM characters before each character in a keyboard
3385 layout cell, to prevent their reordering by bidi display engine.
3386 For details, see the discussion in
3387 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3388
3389 2012-03-08 Alan Mackenzie <acm@muc.de>
3390
3391 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3392 the starting position; make it extend the marked region when
3393 invoked repeatedly - all under appropriate circumstances.
3394 Fixes bugs #5525, #10906.
3395
3396 2012-03-08 Glenn Morris <rgm@gnu.org>
3397
3398 * files.el (locate-dominating-file, dir-locals-find-file):
3399 Undo 2012-03-06 change.
3400
3401 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3402
3403 * international/quail.el (quail-help):
3404 Force bidi-paragraph-direction be left-to-right. See discussion in
3405 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3406 for the reason.
3407
3408 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3409
3410 Avoid superfluous registering of signals. (Bug#10807)
3411
3412 * notifications.el (notifications-on-action-object)
3413 (notifications-on-close-object): New defvars.
3414 (notifications-on-action-signal, notifications-on-closed-signal):
3415 Unregister the signal if not needed any longer.
3416 (notifications-notify): Register `notifications-action-signal' or
3417 `notifications-closed-signal', if :on-action or :on-close has been
3418 passed as argument.
3419
3420 2012-03-07 Chong Yidong <cyd@gnu.org>
3421
3422 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3423 non-X platforms.
3424
3425 2012-03-06 Glenn Morris <rgm@gnu.org>
3426
3427 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3428 (x-disown-selection-internal, x-get-selection-internal):
3429 Doc fix (add arglist signatures). (Bug#10783)
3430
3431 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3432
3433 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3434 Handle breakpoints with no "type".
3435
3436 2012-03-06 Glenn Morris <rgm@gnu.org>
3437
3438 * files.el (locate-dominating-file): Add optional predicate argument.
3439 (dir-locals-find-file): Make use of above change.
3440
3441 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3442
3443 * info.el (Info-insert-dir): Also try "dir.gz".
3444
3445 2012-03-06 Glenn Morris <rgm@gnu.org>
3446
3447 * files.el (dir-locals-find-file):
3448 Ignore non-readable or non-regular files. (Bug#10928)
3449
3450 * files.el (locate-dominating-file): Doc fix.
3451
3452 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3453
3454 * calendar/calendar.el (calendar-set-mode-line):
3455 `getenv' returns a string. (Bug#10951)
3456
3457 2012-03-05 Leo Liu <sdl.web@gmail.com>
3458
3459 * simple.el (backward-delete-char-untabify): Constrain point to
3460 field (Bug#10939).
3461
3462 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3463
3464 2012-03-05 Chong Yidong <cyd@gnu.org>
3465
3466 * simple.el (count-words): If called from Lisp, return the word
3467 count, for symmetry with `count-lines'. Arglist changed.
3468 (count-words--message): Args changed. Consolidate counting code
3469 from count-words and count-words-region.
3470 (count-words-region): Caller changed.
3471 (count-lines-region): Make it an obsolete alias.
3472
3473 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3474
3475 * saveplace.el (save-place-to-alist)
3476 (save-place-ignore-files-regexp): Allow value nil to disable this
3477 feature.
3478
3479 2012-03-04 Chong Yidong <cyd@gnu.org>
3480
3481 * faces.el (face-spec-reset-face): For the default face, reset the
3482 attributes to default values (Bug#10748).
3483
3484 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3485
3486 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3487 previous patch: Check `message-send-mail-function', and not the
3488 default function (bug#10897).
3489
3490 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3491
3492 * notifications.el (notifications-on-action-signal)
3493 (notifications-on-closed-signal): Check for unique service name of
3494 incoming event. Fix error in removing entry.
3495 (top): Register for signals with wildcard service name.
3496 (notifications-notify): Use daemon unique service name for map entries.
3497
3498 2012-03-04 Chong Yidong <cyd@gnu.org>
3499
3500 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3501
3502 2012-03-04 Glenn Morris <rgm@gnu.org>
3503
3504 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3505 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3506 (expand-abbrev, define-abbrev-table): Doc fixes.
3507
3508 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3509
3510 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3511 `message-default-send-mail-function' and not `send-mail-function'
3512 when doing the prompting for `sendmail-query-once' before sending
3513 in Message buffers (bug#10897).
3514
3515 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3516 This is inconsistent with all the other stream functions, which leave
3517 the setting up to the higher levels (if so wanted) (bug#10931).
3518
3519 2012-03-02 Alan Mackenzie <acm@muc.de>
3520
3521 Depessimize the handling of very large macros.
3522
3523 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3524 (c-macro-cache-syntactic): New variables to implement a one
3525 element macro cache.
3526 (c-invalidate-macro-cache): New function.
3527 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3528 Adapt to use the new cache.
3529 (c-state-safe-place): Use better the cache of safe positions.
3530 (c-state-semi-nonlit-pos-cache)
3531 (c-state-semi-nonlit-pos-cache-limit):
3532 New variables for...
3533 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3534 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3535 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3536 Use c-state-semi-safe-place.
3537
3538 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3539 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3540
3541 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * jka-compr.el (jka-compr-call-process):
3544 Apply `file-accessible-directory-p' only when the default directory is
3545 not remote.
3546
3547 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3550 access of FILE2, if FILE1 does not exist.
3551
3552 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3553 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3554
3555 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3556 Add "PAGER=" to `process-environment'.
3557
3558 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3559
3560 * progmodes/sql.el: Bug fix
3561 (sql-get-login-ext): Save login values in globals.
3562 (sql-get-login): Use new version of `sql-get-login-ext'.
3563 (sql-interactive-mode): Set global `sql-connection' to nil.
3564 (sql-connect): Set global values for connection.
3565 (sql-product-interactive): Save global values as buffer local.
3566
3567 2012-02-29 Leo Liu <sdl.web@gmail.com>
3568
3569 * abbrev.el (define-abbrevs): Reset sys to nil.
3570
3571 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3572
3573 * files.el (file-equal-p): Rename from `files-equal-p'.
3574 Return nil when one or both files don't exist.
3575 (file-subdir-of-p): Now only top directory must exists,
3576 return nil if it doesn't.
3577 (copy-directory): No need to test with `file-subdir-of-p' after
3578 creating dir.
3579 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3580 to `file-equal-p'.
3581
3582 2012-02-28 Glenn Morris <rgm@gnu.org>
3583
3584 * shell.el (shell-mode):
3585 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3586 * play/landmark.el (landmark-font-lock-face-O):
3587 * play/handwrite.el (handwrite):
3588 * play/gomoku.el (gomoku-O):
3589 * net/browse-url.el (browse-url-browser-display):
3590 * international/mule.el (define-charset):
3591 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3592 * filesets.el (filesets-find-file-delay):
3593 * eshell/em-xtra.el (eshell-xtra):
3594 * eshell/em-unix.el (eshell-grep):
3595 * emulation/viper.el (viper-mode):
3596 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3597 * emacs-lisp/easymenu.el (easy-menu-define):
3598 * calendar/timeclock.el (timeclock-use-display-time):
3599 * bs.el (bs-mode):
3600 * bookmark.el (bookmark-save-flag):
3601 Doc fix (standardize possessive apostrophe usage).
3602
3603 2012-02-27 Chong Yidong <cyd@gnu.org>
3604
3605 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3606 Fix key-binding lookup for ESC key (Bug#9146).
3607
3608 * font-lock.el (font-lock-specified-p): Rename from
3609 font-lock-spec-present. Callers changed.
3610
3611 2012-02-27 Daniel Hackney <dan@haxney.org>
3612
3613 * emacs-lisp/package.el (package-compute-transaction):
3614 Handle holding a package version to t in package-load-list.
3615
3616 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3619 (tramp-get-inode, tramp-get-device): Use cached values.
3620
3621 2012-02-26 Alan Mackenzie <acm@muc.de>
3622
3623 Check there is a font-lock specification before doing initial
3624 fontification.
3625
3626 * font-core.el (font-lock-mode): Move the conditional from
3627 :after-hook to font-lock-initial-fontify.
3628 (font-lock-default-function): Move the check for a specification
3629 to font-lock-spec-present.
3630
3631 * font-lock.el (font-lock-initial-fontify): Call ...
3632 (font-lock-spec-present): New function.
3633
3634 2012-02-26 Jim Blandy <jimb@red-bean.com>
3635
3636 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3637 (gdb-send): Apply it to the operand of the '-interpreter-exec
3638 console' command, so that we can pass arguments with (say) quotes
3639 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3640
3641 2012-02-26 Chong Yidong <cyd@gnu.org>
3642
3643 * help-fns.el (describe-function-1): Clarify description of
3644 remapping (Bug#10844).
3645
3646 * files.el (files-equal-p): Doc fix.
3647 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3648 and quit the loop once a mismatch is found.
3649
3650 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3651
3652 * bs.el (bs--show-with-configuration): Don't throw an error
3653 if the window cannot be split; otherwise, subsequent calls to
3654 bs-show fail, restoring a stale window config. (Bug#10882)
3655
3656 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3657
3658 * term/ns-win.el (global-map): Bind ns-drag-file to
3659 ns-find-file (Bug#5855, Bug#10050).
3660
3661 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3662
3663 * calendar/parse-time.el (parse-time-string): Allow extractor to
3664 return nil.
3665
3666 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp.el (tramp-file-name-for-operation):
3669 Add `files-equal-p' and `file-subdir-of-p'.
3670
3671 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3672 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3673 Add COPY-CONTENTS argument.
3674
3675 2012-02-25 Chong Yidong <cyd@gnu.org>
3676
3677 Add custom groups for VC backends, for consistency with vc-bzr.
3678
3679 * vc/vc-arch.el (vc-arch):
3680 * vc/vc-cvs.el (vc-cvs):
3681 * vc/vc-git.el (vc-git):
3682 * vc/vc-hg.el (vc-hg):
3683 * vc/vc-mtn.el (vc-mtn):
3684 * vc/vc-rcs.el (vc-rcs):
3685 * vc/vc-sccs.el (vc-sccs):
3686 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3687 All relevant defcustoms reassigned.
3688
3689 2012-02-25 Chong Yidong <cyd@gnu.org>
3690
3691 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3692
3693 * term/x-win.el (x-initialize-window-system): Reduce default for
3694 x-selection-timeout to 5 seconds (Bug#8869).
3695
3696 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3697
3698 * files.el (files-equal-p, file-subdir-of-p): New functions.
3699 (copy-directory): Error when trying to copy a directory on itself.
3700 Add missing copy-contents arg to tramp handler.
3701 * dired-aux.el (dired-copy-file-recursive): Same.
3702 (dired-create-files): Modify destination when source is equal to
3703 dest when copying files.
3704 Return also when dest is a subdir of source. (Bug#10489)
3705
3706 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3707
3708 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3709 (Bug#10874)
3710
3711 2012-02-23 Alan Mackenzie <acm@muc.de>
3712
3713 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3714 parameter "after-hook:" to allow the expansion to run code after
3715 the execution of the mode hooks.
3716
3717 * font-lock.el (font-lock-initial-fontify): New function extracted
3718 from font-lock-mode-internal.
3719
3720 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3721 :after-hook.
3722
3723 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3726 (completion--cache-all-sorted-completions): New function.
3727 (completion-all-sorted-completions): Use it.
3728 (completion--do-completion, minibuffer-force-complete):
3729 Use it to re-instate the flush hook.
3730
3731 * icomplete.el (icomplete-completions): Replace last fix with a better
3732 one (bug#10850).
3733
3734 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3735
3736 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3737 when it might call us back infinitely (bug#10797).
3738
3739 2012-02-23 Glenn Morris <rgm@gnu.org>
3740
3741 * minibuffer.el (completion-category-overrides): Doc fix.
3742
3743 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3746 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3747
3748 2012-02-23 Glenn Morris <rgm@gnu.org>
3749
3750 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3751 (authors-obsolete-files-regexps, authors-ignored-files)
3752 (authors-ambiguous-files, authors-renamed-files-alist):
3753 Add more entries.
3754
3755 2012-02-23 Juri Linkov <juri@jurta.org>
3756
3757 * isearch.el (isearch-occur): Sync interactive spec with occur's
3758 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3759
3760 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3761
3762 2012-02-22 Juri Linkov <juri@jurta.org>
3763
3764 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3765 (ucs-insert): Doc fix. Check for hex digits in the string.
3766 Don't display `nil' in the error message. (Bug#10857)
3767
3768 2012-02-22 Alan Mackenzie <acm@muc.de>
3769
3770 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3771
3772 2012-02-22 Glenn Morris <rgm@gnu.org>
3773
3774 * ffap.el (ffap-c-path):
3775 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3776
3777 2012-02-22 Chong Yidong <cyd@gnu.org>
3778
3779 * custom.el (load-theme): Doc fix.
3780
3781 2012-02-22 Glenn Morris <rgm@gnu.org>
3782
3783 * dired-x.el (dired-guess-shell-alist-default):
3784 Remove escape sequences from nroff output. (Bug#172)
3785
3786 2012-02-21 Glenn Morris <rgm@gnu.org>
3787
3788 * vc/emerge.el (emerge-defvar-local):
3789 Set `permanent-local' property rather than unused `preserved'.
3790
3791 * textmodes/picture.el (picture-delete-char): New alias.
3792 (picture-mode-map): Use it. (Bug#10860)
3793 (picture-mode): Doc fix.
3794
3795 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * newcomment.el (uncomment-region-default): Remove unused binding.
3798
3799 2012-02-21 Glenn Morris <rgm@gnu.org>
3800
3801 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3802 (picture-self-insert, picture-tab-chars): Doc fix.
3803 (picture-mode-map): Fix C-a, C-e.
3804
3805 2012-02-20 Glenn Morris <rgm@gnu.org>
3806
3807 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3808
3809 2012-02-20 Leo Liu <sdl.web@gmail.com>
3810
3811 * icomplete.el (icomplete-completions): Check FROM arg before
3812 passing to substring (Bug#10850).
3813
3814 2012-02-19 Chong Yidong <cyd@gnu.org>
3815
3816 * comint.el: Require ansi-color.
3817 (comint-output-filter-functions): Add ansi-color-process-output.
3818
3819 * ansi-color.el: Don't set comint-output-filter-functions; it is
3820 now in the initial value defined in comint.el.
3821 (ansi-color-apply-face-function): New variable.
3822 (ansi-color-apply-on-region): Use it.
3823 (ansi-color-apply-overlay-face): New function.
3824
3825 * shell.el (shell): No need to require ansi-color.
3826 (shell-mode): Use ansi-color-apply-face-function to highlight
3827 color escapes using font-lock-face property (Bug#10835).
3828
3829 2012-02-19 Chong Yidong <cyd@gnu.org>
3830
3831 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3832 mode-line formats (Bug#10839).
3833
3834 2012-02-18 Glenn Morris <rgm@gnu.org>
3835
3836 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3837
3838 * mail/undigest.el (unforward-rmail-message): Doc fix.
3839
3840 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3841
3842 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3843
3844 * international/characters.el (script-list): Sync with the latest
3845 Unicode Character Database.
3846
3847 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3848
3849 * international/titdic-cnv.el: Remove duplicate coding tag.
3850 * language/cham.el: Likewise.
3851 * language/tai-viet.el: Likewise.
3852
3853 2012-02-18 Glenn Morris <rgm@gnu.org>
3854
3855 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3856 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3857 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3858 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3859 * calendar/holidays.el (holiday-bahai-holidays)
3860 (calendar-holidays, list-holidays):
3861 Use utf-8 Bahá'í in doc-strings, menus, etc.
3862
3863 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3864
3865 * saveplace.el (save-place-ignore-files-regexp): New variable
3866 allowing for excluding files from saving their location of point.
3867 The default value matches the temporary commit message editing
3868 files from Git, SVN, Bazaar, and Mercurial.
3869 (save-place-to-alist): Use it.
3870
3871 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3872 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * newcomment.el (uncomment-region-default): Don't leave extra space
3875 when an arg is provided (bug#8150).
3876
3877 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3878
3879 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3880
3881 2012-02-17 Glenn Morris <rgm@gnu.org>
3882
3883 * net/socks.el: Require network-stream. (Bug#10599)
3884
3885 2012-02-17 Kenichi Handa <handa@m17n.org>
3886
3887 * international/charprop.el:
3888 * international/uni-name.el:
3889 * international/uni-old-name.el:
3890 * international/uni-comment.el: Regenerate.
3891
3892 2012-02-16 Glenn Morris <rgm@gnu.org>
3893
3894 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3895 Interactively in calendar buffer, give an error if not on a date.
3896
3897 2012-02-15 Glenn Morris <rgm@gnu.org>
3898
3899 * shell.el (shell-delimiter-argument-list):
3900 Revert 2011-02-17 change. (Bug#8027)
3901
3902 2012-02-15 Chong Yidong <cyd@gnu.org>
3903
3904 * minibuffer.el (completion-at-point-functions): Doc fix.
3905
3906 * custom.el (defcustom): Doc fix; note use of defvar.
3907
3908 2012-02-15 Glenn Morris <rgm@gnu.org>
3909
3910 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3911 Doc fixes.
3912
3913 2012-02-14 Glenn Morris <rgm@gnu.org>
3914
3915 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3916
3917 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3918
3919 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3920 way the ports list is computed.
3921 (smtpmail-query-smtp-server): Prompt the user for a port number if
3922 we can't connect to any of the standard ports (bug#10810).
3923
3924 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3925
3926 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3927
3928 2012-02-13 Glenn Morris <rgm@gnu.org>
3929
3930 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3931
3932 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3933
3934 * net/gnutls.el (gnutls-trustfiles): New variable.
3935 (gnutls-negotiate): Use it.
3936
3937 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3938
3939 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3940 does its stuff if Gnus is running.
3941
3942 2012-02-13 Alan Mackenzie <acm@muc.de>
3943
3944 Fix a loop in c-set-fl-decl-start.
3945
3946 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3947 c-backward-syntactic-ws actually moves backwards.
3948
3949 2012-02-13 Leo Liu <sdl.web@gmail.com>
3950
3951 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3952 beginning so that all \C-o chars are removed.
3953
3954 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3955
3956 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3957
3958 2012-02-12 Alan Mackenzie <acm@muc.de>
3959
3960 Fix infinite loop with long macros.
3961 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3962
3963 2012-02-12 Chong Yidong <cyd@gnu.org>
3964
3965 * window.el (display-buffer): Doc fix (Bug#10785).
3966
3967 2012-02-12 Glenn Morris <rgm@gnu.org>
3968
3969 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3970 (x-disown-selection-internal, x-get-selection-internal):
3971 Sync docs with the xselect.c versions.
3972
3973 * allout-widgets.el: Add missing license notice.
3974
3975 2012-02-11 Glenn Morris <rgm@gnu.org>
3976
3977 * select.el (x-get-selection-internal, x-own-selection-internal)
3978 (x-disown-selection-internal):
3979 * x-dnd.el (x-get-selection-internal): Update declarations.
3980
3981 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3982
3983 * window.el (window-sides-slots):
3984 * tool-bar.el (tool-bar-position):
3985 * term/xterm.el (xterm-extra-capabilities):
3986 * ses.el (ses-self-reference-early-detection):
3987 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3988 (verilog-auto-wire-type)
3989 (verilog-auto-delete-trailing-whitespace)
3990 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3991 (verilog-auto-tieoff-declaration):
3992 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3993 (sql-oracle-statement-starters, sql-oracle-scan-on):
3994 * progmodes/prolog.el (prolog-align-comments-flag)
3995 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3996 (prolog-left-indent-regexp, prolog-paren-indent-p)
3997 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3998 (prolog-types, prolog-mode-specificators)
3999 (prolog-determinism-specificators, prolog-directives)
4000 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4001 (prolog-electric-dot-flag)
4002 (prolog-electric-dot-full-predicate-template)
4003 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4004 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4005 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4006 (prolog-program-switches, prolog-prompt-regexp)
4007 (prolog-debug-on-string, prolog-debug-off-string)
4008 (prolog-trace-on-string, prolog-trace-off-string)
4009 (prolog-zip-on-string, prolog-zip-off-string)
4010 (prolog-use-standard-consult-compile-method-flag)
4011 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4012 (prolog-imenu-max-lines, prolog-info-predicate-index)
4013 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4014 (prolog-char-quote-workaround):
4015 * progmodes/cc-vars.el (c-defun-tactic):
4016 * net/tramp.el (tramp-encoding-command-interactive)
4017 (tramp-local-end-of-line):
4018 * net/soap-client.el (soap-client):
4019 * net/netrc.el (netrc-file):
4020 * net/gnutls.el (gnutls):
4021 * minibuffer.el (completion-category-overrides)
4022 (completion-cycle-threshold)
4023 (completion-pcm-complete-word-inserts-delimiters):
4024 * man.el (Man-name-local-regexp):
4025 * mail/feedmail.el (feedmail-display-full-frame):
4026 * international/characters.el (glyphless-char-display-control):
4027 * eshell/em-ls.el (eshell-ls-date-format):
4028 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4029 (lisp-lambda-list-keyword-parameter-indentation)
4030 (lisp-lambda-list-keyword-parameter-alignment):
4031 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4032 * dired-x.el (dired-omit-verbose):
4033 * cus-theme.el (custom-theme-allow-multiple-selections):
4034 * calc/calc.el (calc-highlight-selections-with-faces)
4035 (calc-lu-field-reference, calc-lu-power-reference)
4036 (calc-note-threshold):
4037 * battery.el (battery-mode-line-limit):
4038 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4039 (archive-7z-update):
4040 * allout.el (allout-prefixed-keybindings)
4041 (allout-unprefixed-keybindings)
4042 (allout-inhibit-auto-fill-on-headline)
4043 (allout-flattened-numbering-abbreviation):
4044 * allout-widgets.el (allout-widgets-auto-activation)
4045 (allout-widgets-icons-dark-subdir)
4046 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4047 (allout-widgets-theme-dark-background)
4048 (allout-widgets-theme-light-background)
4049 (allout-widgets-item-image-properties-emacs)
4050 (allout-widgets-item-image-properties-xemacs)
4051 (allout-widgets-run-unit-tests-on-load)
4052 (allout-widgets-time-decoration-activity)
4053 (allout-widgets-hook-error-post-time)
4054 (allout-widgets-track-decoration):
4055 Add missing :version tags to new defcustoms and defgroups.
4056
4057 * progmodes/sql.el (sql-ansi-statement-starters)
4058 (sql-oracle-statement-starters): Add custom type.
4059
4060 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4061 (prolog-system-version): Give it a type.
4062
4063 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4064
4065 * term/pc-win.el (x-select-text, x-selection-owner-p)
4066 (x-own-selection-internal, x-disown-selection-internal)
4067 (x-get-selection-internal): Sync doc strings and argument lists
4068 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4069
4070 2012-02-11 Leo Liu <sdl.web@gmail.com>
4071
4072 * progmodes/python.el (python-end-of-statement): Fix infinite
4073 loop. (Bug#10788)
4074
4075 2012-02-10 Glenn Morris <rgm@gnu.org>
4076
4077 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4078 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4079
4080 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4081
4082 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4083 about SMTP before checking the From header.
4084
4085 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4086 into own function for reuse by emacsbug.el.
4087
4088 2012-02-10 Leo Liu <sdl.web@gmail.com>
4089
4090 * subr.el (condition-case-unless-debug): Rename from
4091 condition-case-no-debug. All callers changed.
4092 (with-demoted-errors): Fix caller.
4093
4094 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4095 * nxml/rng-valid.el (rng-do-some-validation):
4096 * emacs-lisp/package.el (package-refresh-contents)
4097 (package-menu-execute):
4098 * desktop.el (desktop-create-buffer):
4099 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4100
4101 2012-02-10 Glenn Morris <rgm@gnu.org>
4102
4103 * textmodes/bibtex.el:
4104 Add missing :version tags for new/changed defcustoms.
4105
4106 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4107
4108 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4109
4110 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4111 (smtpmail-via-smtp): Use it, or fall back on the From address.
4112 (smtpmail-send-it): Ditto.
4113
4114 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4117 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4118 (byte-compile-tmp-var): New const.
4119 (byte-compile-defvar): Use it to minimize .elc size.
4120 Just use `defvar' rather than simulate it (bug#10761).
4121
4122 2012-02-09 Glenn Morris <rgm@gnu.org>
4123
4124 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4125
4126 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4127 Add :version tags.
4128
4129 * progmodes/compile.el (compilation-error-screen-columns)
4130 (compilation-first-column, compilation-filter-start): Doc fixes.
4131
4132 * vc/log-view.el (log-view-toggle-entry-display):
4133 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4134
4135 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4136 (report-emacs-bug-can-use-xdg-email):
4137 (report-emacs-bug-insert-to-mailer): Doc fixes.
4138 (report-emacs-bug): Message fix.
4139
4140 * net/browse-url.el (browse-url-can-use-xdg-open)
4141 (browse-url-xdg-open): Doc fixes.
4142
4143 * electric.el (electric-indent-mode, electric-pair-mode)
4144 (electric-layout-rules, electric-layout-mode): Doc fixes.
4145 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4146
4147 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4148
4149 * server.el (server-unselect-display): Don't inadvertently kill
4150 the current buffer. (Bug#10729)
4151
4152 2012-02-08 Glenn Morris <rgm@gnu.org>
4153
4154 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4155 (sql-list-table): Doc fixes.
4156
4157 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4158 Comment out (does nothing).
4159
4160 * completion.el (dynamic-completion-mode):
4161 * dirtrack.el (dirtrack-debug-mode):
4162 * electric.el (electric-layout-mode):
4163 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4164 * face-remap.el (text-scale-mode, buffer-face-mode):
4165 * iimage.el (iimage-mode):
4166 * image-mode.el (image-transform-mode):
4167 * minibuffer.el (completion-in-region-mode):
4168 * scroll-lock.el (scroll-lock-mode):
4169 * simple.el (next-error-follow-minor-mode):
4170 * tar-mode.el (tar-subfile-mode):
4171 * tooltip.el (tooltip-mode):
4172 * vcursor.el (vcursor-use-vcursor-map):
4173 * wid-browse.el (widget-minor-mode):
4174 * emulation/tpu-edt.el (tpu-edt-mode):
4175 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4176 * international/iso-ascii.el (iso-ascii-mode):
4177 * language/thai-util.el (thai-word-mode):
4178 * mail/supercite.el (sc-minor-mode):
4179 * net/goto-addr.el (goto-address-mode):
4180 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4181 * progmodes/cwarn.el (cwarn-mode):
4182 * progmodes/flymake.el (flymake-mode):
4183 * progmodes/glasses.el (glasses-mode):
4184 * progmodes/hideshow.el (hs-minor-mode):
4185 * progmodes/pascal.el (pascal-outline-mode):
4186 * textmodes/enriched.el (enriched-mode):
4187 * vc/smerge-mode.el (smerge-mode):
4188 Doc fixes (minor mode argument).
4189
4190 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4191
4192 * ls-lisp.el (ls-lisp-sanitize): New function.
4193 (ls-lisp-insert-directory): Use it to fix or remove any elements
4194 in file-alist with missing attributes. (Bug#4673)
4195
4196 2012-02-07 Alan Mackenzie <acm@muc.de>
4197
4198 Fix spurious recognition of c-in-knr-argdecl.
4199
4200 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4201 putative K&R region.
4202
4203 2012-02-07 Alan Mackenzie <acm@muc.de>
4204
4205 * progmodes/cc-engine.el (c-forward-objc-directive):
4206 Prevent looping in "#pragma mark @implementation".
4207
4208 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * notifications.el (notifications-on-closed-signal): Make `reason'
4211 optional. (Bug#10744)
4212
4213 2012-02-07 Glenn Morris <rgm@gnu.org>
4214
4215 * emacs-lisp/easy-mmode.el (define-minor-mode):
4216 Doc fixes for the macro and the mode it defines.
4217
4218 * image.el (imagemagick-types-inhibit): Doc fix.
4219
4220 * cus-start.el (imagemagick-render-type): Add it.
4221
4222 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4223
4224 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4225 Set the default at load time, too, so that `font-lock-fontify-buffer'
4226 can be called without setting up the entire mode first. This fixes
4227 a bug in `mm-inline-text' with C MIME parts.
4228
4229 2012-02-06 Chong Yidong <cyd@gnu.org>
4230
4231 * simple.el (list-processes--refresh): Delete exited processes
4232 (Bug#8094).
4233
4234 * comint.el (comint-next-prompt): next-single-char-property-change
4235 and prev-single-char-property-change never return nil (Bug#8657).
4236
4237 * custom.el (defcustom): Doc fix (Bug#9711).
4238
4239 2012-02-05 Chong Yidong <cyd@gnu.org>
4240
4241 * cus-edit.el (custom-variable-reset-backup): Quote the value
4242 before storing it in the customized-value property (Bug#6712).
4243 (custom-display): Add a customization type tag.
4244 (custom-buffer-create-internal): Improve tooltip message.
4245
4246 * wid-edit.el (widget-field-value-get): New optional arg to
4247 suppress trailing whitespace truncation.
4248 (character): Use it (Bug#2689).
4249
4250 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4251
4252 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4253 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4254
4255 2012-02-05 Chong Yidong <cyd@gnu.org>
4256
4257 * cus-edit.el (custom-variable-value-create): For mismatched
4258 types, show the current value (Bug#7600).
4259
4260 * custom.el (defcustom): Doc fix.
4261
4262 2012-02-05 Glenn Morris <rgm@gnu.org>
4263
4264 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4265
4266 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4267
4268 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4269 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4270 (pp-last-sexp): Use `looking-at-p'.
4271
4272 2012-02-04 Glenn Morris <rgm@gnu.org>
4273
4274 * files.el (revert-buffer):
4275 Doc fix (mention revert-buffer-in-progress-p).
4276
4277 * emacs-lisp/ert-x.el (ert-simulate-command):
4278 Check deferred-action-list (which is obsolete) is bound.
4279
4280 * subr.el (with-wrapper-hook): Doc fixes.
4281
4282 * simple.el (filter-buffer-substring-functions)
4283 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4284
4285 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4286
4287 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4288 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4289
4290 2012-02-04 Leo Liu <sdl.web@gmail.com>
4291
4292 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4293
4294 2012-02-04 Glenn Morris <rgm@gnu.org>
4295
4296 * image.el (image-extension-data): Add obsolete alias.
4297
4298 * isearch.el (isearch-update): Doc fix.
4299
4300 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4301
4302 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4303
4304 2012-02-03 Glenn Morris <rgm@gnu.org>
4305
4306 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4307 (image-animate-timeout): Doc fix.
4308
4309 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4310
4311 2012-02-02 Glenn Morris <rgm@gnu.org>
4312
4313 * server.el (server-auth-dir): Doc fix.
4314 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4315
4316 * subr.el (run-mode-hooks): Doc fix.
4317
4318 2012-02-02 Juri Linkov <juri@jurta.org>
4319
4320 * image-mode.el (image-toggle-display-image): Remove tautological
4321 `major-mode' from the `derived-mode-p' test.
4322
4323 2012-02-02 Kenichi Handa <handa@m17n.org>
4324
4325 * composite.el (compose-region): Cancel previous change.
4326
4327 2012-02-02 Kenichi Handa <handa@m17n.org>
4328
4329 * composite.el (compose-region, compose-string): Signal error for
4330 a null string component (Bug#6988).
4331
4332 2012-02-01 Chong Yidong <cyd@gnu.org>
4333
4334 * view.el (view-buffer-other-window, view-buffer-other-frame):
4335 Handle special modes like view-buffer (Bug#10650).
4336 (view-buffer): Simplify.
4337
4338 * frame.el (set-frame-font): Tweak meaning of third argument.
4339
4340 * dynamic-setting.el (font-setting-change-default-font):
4341 Use set-frame-font (Bug#9982).
4342
4343 2012-02-01 Glenn Morris <rgm@gnu.org>
4344
4345 * progmodes/compile.el (compilation-internal-error-properties):
4346 Respect compilation-first-column in the "*compilation*" buffer.
4347
4348 * emacs-lisp/easy-mmode.el (define-minor-mode):
4349 Relax :variable's test for a named function.
4350
4351 2012-01-31 Alan Mackenzie <acm@muc.de>
4352
4353 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4354 off by one error.
4355
4356 2012-01-31 Chong Yidong <cyd@gnu.org>
4357
4358 * frame.el (set-frame-font): New arg ALL-FRAMES.
4359
4360 * menu-bar.el (menu-set-font): Use set-frame-font.
4361
4362 * faces.el (face-spec-reset-face): Don't apply unspecified
4363 attribute values to the default face.
4364
4365 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4366
4367 * progmodes/cwarn.el (cwarn): Remove dead link.
4368 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4369 Remove * from defcustom docstrings.
4370 (turn-on-cwarn-mode): Make obsolete.
4371 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4372 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4373
4374 2012-01-31 Glenn Morris <rgm@gnu.org>
4375
4376 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4377 Fix :variable handling of mode a symbol not equal to modefun.
4378 Allow named functions to be used as the cdr of :variable.
4379
4380 2012-01-30 Glenn Morris <rgm@gnu.org>
4381
4382 * emacs-lisp/authors.el (authors-fixed-entries):
4383 Remove reference to deleted file rnewspost.el.
4384
4385 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4386
4387 * window.el (window-with-parameter): Remove unused variable `windows'.
4388 (window--side-check): Remove unused variable `code'.
4389 (window--resize-siblings): Remove unused variable `first'.
4390 (adjust-window-trailing-edge): Remove unused variable `failed'.
4391 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4392 Use `let', not `let*'.
4393 (balance-windows-2): Remove unused variable `found'.
4394 (window--state-put-2): Remove unused variable `splits'.
4395 (window-state-put): Remove unused variable `selected'.
4396 (same-window-p): Use `string-match-p'.
4397 (display-buffer-assq-regexp): Remove unused variable `value'.
4398 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4399 Mark argument ALIST as ignored.
4400 (pop-to-buffer): Remove unused variable `old-window'.
4401
4402 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4403
4404 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4405 and .lzma compressed files.
4406
4407 2012-01-29 Chong Yidong <cyd@gnu.org>
4408
4409 * frame.el (window-system-default-frame-alist): Doc fix.
4410
4411 * dynamic-setting.el (font-setting-change-default-font): Don't
4412 change the default face if SET-FONT argument is non-nil (Bug#9982).
4413
4414 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4415
4416 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4417
4418 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4419
4420 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4421 breakpoints in files outside current directory (Bug#6098).
4422
4423 2012-01-29 Chong Yidong <cyd@gnu.org>
4424
4425 * progmodes/python.el: Require ansi-color at top-level.
4426
4427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4428 Define and use in Emacs Lisp mode (Bug#9360).
4429 (lisp-mode-abbrev-table): Add doc.
4430 (lisp-mode-variables): Don't set local-abbrev-table.
4431 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4432
4433 2012-01-28 Roland Winkler <winkler@gnu.org>
4434
4435 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4436
4437 2012-01-28 Roland Winkler <winkler@gnu.org>
4438
4439 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4440 (bibtex-set-dialect): Use it. Either set global values of
4441 dialect-dependent variables or bind these variables buffer-locally
4442 (Bug#10254).
4443 (bibtex-mode): Call bibtex-set-dialect via
4444 hack-local-variables-hook.
4445 (bibtex-dialect): Update docstring.
4446 Add safe-local-variable predicate.
4447 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4448 bibtex-set-dialect.
4449 (bibtex-mode-map): Define menu for each dialect.
4450 (bibtex-entry): Fix docstring.
4451
4452 2012-01-28 Chong Yidong <cyd@gnu.org>
4453
4454 * eshell/esh-arg.el (eshell-quote-argument): New function.
4455
4456 * eshell/esh-ext.el (eshell-invoke-batch-file):
4457 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4458 first arg to eshell-parse-command (Bug#10523).
4459
4460 2012-01-28 Drew Adams <drew.adams@oracle.com>
4461
4462 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4463 `default-directory' is non-nil.
4464
4465 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4466
4467 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4468 line that displays system-configuration-options. (Bug#9924)
4469
4470 2012-01-28 Drew Adams <drew.adams@oracle.com>
4471
4472 * descr-text.el (describe-char): Show information about POS, in
4473 addition to information about the character at POS. Improve and
4474 update the doc string. Change "code point" to "code point in
4475 charset", to avoid confusion with the character's Unicode code
4476 point shown above that. (Bug#10129)
4477
4478 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4479
4480 * descr-text.el (describe-char): Show the raw character, not only
4481 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4482 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4483 for the reasons.
4484
4485 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4486
4487 * emacs-lisp/package.el (package-install):
4488 Run package-refresh-contents if there is no archive yet (Bug#9798).
4489
4490 2012-01-28 Chong Yidong <cyd@gnu.org>
4491
4492 * emacs-lisp/package.el (package-maybe-load-descriptor):
4493 New function, split from package-maybe-load-descriptor.
4494 (package-maybe-load-descriptor): Use it.
4495 (package-download-transaction): Fully load required packages
4496 inside the loop, so that `require' calls work (Bug#10593).
4497 (package-install): No need to call package-initialize now.
4498
4499 2012-01-28 Chong Yidong <cyd@gnu.org>
4500
4501 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4502
4503 * tooltip.el (tooltip-mode): Doc fix.
4504 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4505
4506 * frame.el (set-cursor-color): Doc fix (Bug#352).
4507
4508 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4509 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4510
4511 * cus-edit.el (custom-buffer-create-internal): Fix search button
4512 action (Bug#10542).
4513 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4514
4515 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4516
4517 * dired.el (dired-mark-files-regexp):
4518 Include any subdirectory components. (Bug#10445)
4519
4520 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4521
4522 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4523 Handle [host]:port syntax. (Bug#10533)
4524
4525 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4526
4527 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4528
4529 2012-01-26 Glenn Morris <rgm@gnu.org>
4530
4531 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4532 * term.el (term-raw-escape-map): Use Control-X-prefix.
4533 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4534
4535 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4536
4537 * window.el (window-state-get, window--state-get-1): Don't deal
4538 with fixed-sizeness of windows. Simplify code.
4539
4540 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4541
4542 * window.el (window--state-get-1, window--state-put-2):
4543 Don't save and restore the mark.
4544
4545 2012-01-25 Chong Yidong <cyd@gnu.org>
4546
4547 * custom.el (custom-variable-p): Doc fix.
4548
4549 2012-01-25 Glenn Morris <rgm@gnu.org>
4550
4551 * dired.el (dired-goto-file): Handle some of the more common
4552 characters that `ls -b' escapes. (Bug#10596)
4553
4554 * progmodes/compile.el (compilation-next-error-function):
4555 Respect compilation-first-column in the "*compilation*" buffer.
4556 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4557
4558 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4559
4560 2012-01-24 Glenn Morris <rgm@gnu.org>
4561
4562 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4563
4564 2012-01-24 Julien Danjou <julien@danjou.info>
4565
4566 * color.el (color-rgb-to-hsl): Fix value computing.
4567 (color-hue-to-rgb): New function.
4568 (color-hsl-to-rgb): New function.
4569 (color-clamp, color-saturate-hsl, color-saturate-name)
4570 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4571 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4572
4573 2012-01-24 Glenn Morris <rgm@gnu.org>
4574
4575 * vc/vc-rcs.el (vc-rcs-create-tag):
4576 * vc/vc-sccs.el (vc-sccs-create-tag):
4577 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4578
4579 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4580
4581 * eshell/esh-util.el (eshell-read-hosts-file):
4582 Skip comment lines. (Bug#10549)
4583
4584 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4585
4586 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4587
4588 * subr.el (display-delayed-warnings): Doc fix.
4589 (collapse-delayed-warnings): New function to collapse identical
4590 adjacent warnings.
4591 (delayed-warnings-hook): Add it.
4592
4593 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4594
4595 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4596
4597 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4598 properties, when "login-as" is set.
4599
4600 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4601 (tramp-default-user-alist): Don't add "pscp".
4602 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4603 property "login-as", if set. (Bug#10530)
4604
4605 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4606
4607 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4608 "plink1" and "psftp". (Bug#10530)
4609
4610 2012-01-21 Kenichi Handa <handa@m17n.org>
4611
4612 * international/mule-cmds.el (prefer-coding-system): Show a
4613 warning message if the default value of file-name-coding-system
4614 was not changed.
4615
4616 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4617
4618 * windmove.el (windmove-reference-loc):
4619 Fix windmove-reference-loc miscalculation.
4620
4621 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4622
4623 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4624 default unit.
4625
4626 2012-01-21 Glenn Morris <rgm@gnu.org>
4627
4628 * international/mule.el (auto-coding-alist): Add .tbz.
4629
4630 * files.el (local-enable-local-variables): Doc fix.
4631 (inhibit-local-variables-regexps): Rename from
4632 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4633 Doc fix. Add some extensions from auto-coding-alist.
4634 (inhibit-local-variables-suffixes):
4635 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4636 (inhibit-local-variables-p):
4637 New function, extracted from set-auto-mode-1.
4638 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4639 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4640 (hack-local-variables): Doc fix. Make the mode-only case
4641 respect enable-local-variables and friends.
4642 Respect inhibit-local-variables-regexps for file-locals, but
4643 not for directory-locals.
4644 (set-visited-file-name):
4645 Take account of inhibit-local-variables-regexps.
4646 Whether it applies may change as the file name is changed.
4647 * jka-cmpr-hook.el (jka-compr-install):
4648 * jka-compr.el (jka-compr-uninstall):
4649 Update for inhibit-first-line-modes-suffixes name change.
4650
4651 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4652
4653 * help-macro.el (make-help-screen): Temporarily restore original
4654 binding for minor-mode-map-alist (Bug#10454).
4655
4656 2012-01-19 Julien Danjou <julien@danjou.info>
4657
4658 * color.el (color-name-to-rgb): Use the white color to find the max
4659 color component value and return correctly computed values.
4660 (color-name-to-rgb): Add missing float conversion for max value.
4661
4662 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4663
4664 * window.el (window--state-get-1, window-state-get): Do not use
4665 special state value for window-persistent-parameters.
4666 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4667 (window--state-put-2): Reset all window parameters to nil before
4668 assigning values of persistent parameters.
4669
4670 2012-01-18 Alan Mackenzie <acm@muc.de>
4671
4672 Eliminate sluggishness and hangs in fontification of "semicolon
4673 deserts".
4674
4675 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4676 Change value 10000 -> 3000.
4677 (c-state-safe-place): Reformulate so it doesn't stack up an
4678 infinite number of wrong entries in c-state-nonlit-pos-cache.
4679 (c-determine-limit-get-base, c-determine-limit): New functions to
4680 determine backward search limits disregarding literals.
4681 (c-find-decl-spots): Amend commenting.
4682 (c-cheap-inside-bracelist-p): New function which detects "={".
4683
4684 * progmodes/cc-fonts.el
4685 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4686 backward search.
4687 (c-font-lock-declarations): Fix an occurrence of point being
4688 undefined. Check additionally for point being in a bracelist or
4689 near a macro invocation without a semicolon so as to avoid a
4690 fruitless time consuming search for a declarator. Give a more
4691 precise search limit for declarators using the new
4692 c-determine-limit.
4693
4694 2012-01-18 Glenn Morris <rgm@gnu.org>
4695
4696 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4697 (set-auto-mode): Doc fixes.
4698
4699 2012-01-17 Glenn Morris <rgm@gnu.org>
4700
4701 * isearch.el (search-nonincremental-instead): Fix doc typo.
4702
4703 * dired.el (dired-insert-directory): Handle newlines in directory name.
4704 (dired-build-subdir-alist): Unescape newlines in directory name.
4705
4706 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4709 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4710 (tramp-action-terminal): Use it. (Bug#10530)
4711
4712 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4715
4716 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4717
4718 * window.el (window-state-ignored-parameters): Remove variable.
4719 (window--state-get-1): Rename argument MARKERS to IGNORE.
4720 Handle persistent window parameters. Make copy of clone-of
4721 parameter only if requested. (Bug#10348)
4722 (window--state-put-2): Install a window parameter only if it has
4723 a non-nil value or an existing parameter shall be overwritten.
4724
4725 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4726
4727 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4728
4729 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4730
4731 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4732 don't pass the (nil) value of `upnode' to string-match.
4733
4734 2012-01-14 Chong Yidong <cyd@gnu.org>
4735
4736 * startup.el (command-line): Fix X resource class for cursorColor.
4737 Fix values recognized by the cursorBlink resource.
4738
4739 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4740
4741 * epg.el (epg--make-temp-file): Avoid permission race condition
4742 when running on old Emacs versions (bug#10403).
4743
4744 2012-01-14 Glenn Morris <rgm@gnu.org>
4745
4746 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4747
4748 2012-01-13 Alan Mackenzie <acm@muc.de>
4749
4750 Fix filling for when filladapt mode is enabled.
4751
4752 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4753 c-mask-paragraph, pass in `fill-paragraph' rather than
4754 `fill-region-as-paragraph'. (This is a reversion of a previous
4755 change.)
4756 * progmodes/cc-mode.el (c-basic-common-init):
4757 Make fill-paragraph-handle-comment buffer local and set it to nil.
4758
4759 2012-01-13 Glenn Morris <rgm@gnu.org>
4760
4761 * dired.el (dired-switches-escape-p): New function.
4762 (dired-insert-directory): Use dired-switches-escape-p.
4763 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4764
4765 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4766
4767 2012-01-12 Glenn Morris <rgm@gnu.org>
4768
4769 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4770 changes in adaptive-fill-regexp. (Bug#10276)
4771
4772 2012-01-11 Alan Mackenzie <acm@muc.de>
4773
4774 Fix Emacs bug #10463 - put `widen's around the critical spots.
4775
4776 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4777 widen around each invocation of c-state-pp-to-literal. Remove an
4778 unused let variable.
4779
4780 2012-01-11 Glenn Morris <rgm@gnu.org>
4781
4782 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4783 Doc fix.
4784
4785 2012-01-10 Chong Yidong <cyd@gnu.org>
4786
4787 * net/network-stream.el (network-stream-open-starttls):
4788 Avoid emitting a confusing error message when the server gives a bad
4789 response to the capability command.
4790
4791 2012-01-10 Glenn Morris <rgm@gnu.org>
4792
4793 * mail/unrmail.el (unrmail): Tweak previous change.
4794
4795 2012-01-09 Chong Yidong <cyd@gnu.org>
4796
4797 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4798
4799 2012-01-08 Alan Mackenzie <acm@muc.de>
4800
4801 Optimise font locking in long enum definitions.
4802
4803 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4804 arm to a cond form to handle enums.
4805 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4806 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4807
4808 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4809
4810 * files.el (move-file-to-trash): Preserve default file modes on error.
4811 (Bug#10401)
4812
4813 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4814
4815 * faces.el (set-face-attribute): Clarify the meaning of the nil
4816 frame (bug#10294).
4817
4818 * subr.el (with-selected-frame): Mention that the selected frame
4819 is restored (bug#9980).
4820
4821 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4822 (bug#9759).
4823
4824 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4825 (password-read): Don't autoload unused function.
4826
4827 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * progmodes/which-func.el (which-func-mode): Turn into a
4830 non-interactive function and mark as obsolete (bug#10428).
4831
4832 2012-01-06 Chong Yidong <cyd@gnu.org>
4833
4834 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4835 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4836 functions, along with 1 and -1.
4837
4838 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4839
4840 * time.el (display-time-load-average)
4841 (display-time-default-load-average): Doc fixes. See the thread
4842 starting at
4843 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4844 for the details.
4845
4846 2012-01-06 Glenn Morris <rgm@gnu.org>
4847
4848 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4849 has no messages. (Bug#10377)
4850
4851 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4852 than Info-edit. (Bug#10385)
4853
4854 * time.el (display-time-load-average, display-time-next-load-average):
4855 Doc fixes.
4856
4857 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4858 local setting of buffer-read-only to the input buffer. (Bug#10419)
4859
4860 * calendar/calendar.el (calendar-mode):
4861 Locally set scroll-margin to 0. (Bug#10379)
4862
4863 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4864
4865 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4866
4867 2012-01-05 Glenn Morris <rgm@gnu.org>
4868
4869 * eshell/em-unix.el (diff-no-select): Autoload it.
4870 (eshell/diff): Use diff-no-select. (Bug#10420)
4871
4872 2012-01-05 Chong Yidong <cyd@gnu.org>
4873
4874 * shell.el (shell-dynamic-complete-functions): Revert last change.
4875 (shell-command-completion-function): New function.
4876 (shell-completion-vars): Use it to implement
4877 shell-completion-execonly (Bug#10417).
4878
4879 * custom.el (enable-theme): Don't set custom-safe-themes.
4880
4881 * cus-theme.el (custom-theme-merge-theme):
4882 Ignore custom-enabled-themes and custom-safe-themes.
4883
4884 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4885
4886 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4887 first prompt in `sql-interacive-mode'.
4888 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4889 keywords.
4890 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4891 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4892 context of original buffer. Invoke `sql-login-hook'.
4893
4894 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4895
4896 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4897 letters in cite-prefix.
4898
4899 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4900
4901 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4902
4903 2012-01-03 Chong Yidong <cyd@gnu.org>
4904
4905 * shell.el (shell-dynamic-complete-functions):
4906 Put pcomplete-completions-at-point, so as to try
4907 comint-filename-completion first (Bug#10417).
4908
4909 2012-01-02 Richard Stallman <rms@gnu.org>
4910
4911 * battery.el (battery-status-function):
4912 Detect when to use battery-yeeloong-sysfs.
4913 (battery-echo-area-format): Add string for Yeeloong.
4914 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4915 (battery-yeeloong-sysfs): New function.
4916
4917 2012-01-02 Chong Yidong <cyd@gnu.org>
4918
4919 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4920 (dirtrack): Merge code for handling relative filenames in prompt
4921 from shell-dir-cookie-watcher.
4922 (dirtrack-debug-message): New arg to avoid excess format calls.
4923
4924 * shell.el (shell-dir-cookie-re): Variable deleted.
4925 (shell-dir-cookie-watcher): Function deleted.
4926 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4927 with dirtrack-mode.
4928
4929 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4930
4931 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4932 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4933 libgnutls-26.dll.
4934
4935 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4936
4937 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4938
4939 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4940
4941 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4942 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4943
4944 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4947 also for alternative shells.
4948 (tramp-open-connection-setup-interactive-shell): Check, whether
4949 the shell is a busybox.
4950 (tramp-send-command): Don't suppress multiple prompts for
4951 busyboxes, it hurts.
4952
4953 2011-12-28 Chong Yidong <cyd@gnu.org>
4954
4955 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4956 (gdb-get-source-file): Move mode line update to
4957 gdb-get-source-file (Bug#10087).
4958
4959 2011-12-25 Chong Yidong <cyd@gnu.org>
4960
4961 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4962 gud-gdb-marker-filter without taking it as an argument.
4963 (gud-gdb-run-command-fetch-lines): Caller changed.
4964 (gud-gdb-completion-function): New variable.
4965 (gud-gdb-completion-at-point): Use it.
4966 (gud-gdb-completions-1): Split from gud-gdb-completions.
4967
4968 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4969 function as separate arguments.
4970 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4971 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4972 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4973 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4974 (gdb-stopped, def-gdb-auto-update-trigger)
4975 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4976 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4977 Callers changed.
4978 (gud-gdbmi-completions): New function.
4979 (gdb): Use it for generating the completion table.
4980
4981 2011-12-24 Alan Mackenzie <acm@muc.de>
4982
4983 Introduce a mechanism to widen the region used in context font
4984 locking. Use this to protect declarations from losing their contexts.
4985
4986 * progmodes/cc-langs.el (c-before-font-lock-functions):
4987 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4988 (c-before-context-fontification-functions): New defvar, a list of
4989 functions to be run just before context (etc.) font locking.
4990
4991 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4992 New, functionality extracted from
4993 c-neutralize-syntax-in-and-mark-CPP.
4994 (c-in-after-change-fontification): New variable.
4995 (c-after-change): Set c-in-after-change-fontification.
4996 (c-set-fl-decl-start): Rejig its interface, so it can be called
4997 from both after-change and context fontifying.
4998 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4999 New functions.
5000 (c-standard-font-lock-fontify-region-function): New variable.
5001 (c-font-lock-fontify-region): New function.
5002
5003 2011-12-24 Juri Linkov <juri@jurta.org>
5004
5005 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5006 (Bug#10348)
5007
5008 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5011 existence of source file. (Bug#10325)
5012
5013 2011-12-23 Alan Mackenzie <acm@muc.de>
5014
5015 Fix unstable fontification inside templates.
5016
5017 * progmodes/cc-langs.el (c-before-font-lock-functions):
5018 Newly created from the singular version. The (c c++ objc) entry now
5019 additionally has c-set-fl-decl-start. The other languages (apart
5020 from AWK) have that as a single entry.
5021
5022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5023 The functionality for "local" declarations has been extracted to
5024 c-set-fl-decl-start.
5025
5026 * progmodes/cc-mode.el (c-common-init, c-after-change):
5027 Changes due to pluralisation of c-before-font-lock-functions.
5028 (c-set-fl-decl-start): New function, extracted from
5029 c-font-lock-enclosing-decls and enhanced.
5030
5031 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5034
5035 2011-12-22 Juri Linkov <juri@jurta.org>
5036
5037 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5038
5039 2011-12-22 Chong Yidong <cyd@gnu.org>
5040
5041 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5042
5043 2011-12-21 Drew Adams <drew.adams@oracle.com>
5044
5045 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5046
5047 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5048
5049 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5050
5051 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5052
5053 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5054 highlighting and support. Fix up comments for capitalization.
5055 (cfengine-mode-debug): New var.
5056 (cfengine3-mode): Change the modeline indicator to "CFE3".
5057 (cfengine3-font-lock-keywords): Improve defun highlighting.
5058 (cfengine2-actions): Rename from `cfengine-actions'.
5059 (cfengine2-font-lock-keywords): Rename from
5060 `cfengine-font-lock-keywords'.
5061 (cfengine2-imenu-expression): Rename from
5062 `cfengine-imenu-expression'.
5063 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5064 (cfengine2-beginning-of-defun): Rename from
5065 `cfengine-beginning-of-defun'.
5066 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5067 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5068 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5069 modeline indicator to "CFE2".
5070 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5071 (cfengine-mode-abbrevs): Mark obsolete.
5072
5073 2011-12-21 Chong Yidong <cyd@gnu.org>
5074
5075 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5076 filename argument.
5077
5078 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5079
5080 * window.el (window-normalize-buffer-to-display): Remove.
5081 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5082
5083 2011-12-19 Chong Yidong <cyd@gnu.org>
5084
5085 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5086 Don't signal an error in a predicate function; return non-nil.
5087 (vc-dir-mark-file): Move the error here.
5088 (vc-dir-mark-unmark): If acting on the region, keep going if one
5089 of the entries cannot be marked/unmarked.
5090 (vc-dir-mark-all-files): If current entry is a directory, mark
5091 only child files, as documented.
5092
5093 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5094
5095 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5096 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5097 addition.
5098
5099 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5100
5101 * term/ns-win.el (ns-get-selection-internal)
5102 (ns-store-selection-internal): Declare.
5103 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5104 Declare as obsolete.
5105 (ns-get-pasteboard, ns-paste-secondary):
5106 Use ns-get-selection-internal.
5107 (ns-set-pasteboard, ns-copy-including-secondary):
5108 Use ns-store-selection-internal.
5109
5110 2011-12-17 Chong Yidong <cyd@gnu.org>
5111
5112 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5113 (vc-deduce-fileset): Doc fix.
5114
5115 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5116
5117 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5118
5119 2011-12-13 Sam Steingold <sds@gnu.org>
5120
5121 * man.el (Man-getpage-in-background): When running under a
5122 window-system, ignore $MANWIDTH and $COLUMNS.
5123
5124 2011-12-15 Kenichi Handa <handa@m17n.org>
5125
5126 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5127 (setup-ethiopic-environment-internal): Comment out key-binding for
5128 ethio-toggle-punctuation.
5129
5130 2011-12-13 Alan Mackenzie <acm@muc.de>
5131
5132 Add the switch statement to AWK Mode.
5133
5134 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5135 "default" to the keywords regexp.
5136
5137 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5138 expression as the rest.
5139 (c-nonlabel-token-key): Allow string literals for AWK.
5140 Refactor for the other modes.
5141
5142 Large brace-block initialisation makes CC Mode slow: Fix.
5143 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5144 routines. Limit backward searching in c-font-lock-enclosing.decl.
5145
5146 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5147 pp-state and literal type in addition to the limits.
5148 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5149 (c-state-literal-at): Use the above new defun.
5150 (c-slow-in-literal, c-fast-in-literal): Remove.
5151 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5152
5153 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5154 being in a literal. Add a limit for backward searching.
5155
5156 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5157 c-slow-in-literal.
5158
5159 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5162
5163 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5164
5165 * window.el (delete-other-windows): Use correct frame in call to
5166 window-with-parameter.
5167
5168 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5169
5170 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5171 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5172 (makefile-gmake-statements, makefile-makepp-statements):
5173 Use it and add new makepp keywords.
5174 (makefile-makepp-font-lock-keywords): Add new patterns.
5175 (makefile-match-function-end): Match new [...] and [[...]].
5176
5177 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * ses.el (ses-call-printer-return, ses-cell-property-get)
5180 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5181 (ses-create-cell-variable, ses-reset-header-string)
5182 (ses-cell-set-formula, ses-repair-cell-reference-all)
5183 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5184 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5185 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5186 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5187 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5188 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5189 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5190 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5191 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5192 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5193 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5194 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5195
5196 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5197
5198 * ses.el: The overall change is to add cell renaming, that is
5199 setting fancy names for cell symbols other than name matching
5200 "\\`[A-Z]+[0-9]+\\'" regexp .
5201 (ses-create-cell-variable): New defun.
5202 (ses-relocate-formula): Relocate formulas only for cells the
5203 symbols of which are not renamed, i.e. symbols whose names do not
5204 match regexp "\\`[A-Z]+[0-9]+\\'".
5205 (ses-relocate-all): Relocate values only for cells the symbols of
5206 which are not renamed.
5207 (ses-load): Create cells variables as the (ses-cell ...) are read,
5208 in order to check row col consistency with cell symbol name only
5209 for cells that are not renamed.
5210 (ses-replace-name-in-formula): New defun.
5211 (ses-rename-cell): New defun.
5212
5213 2011-12-11 Chong Yidong <cyd@gnu.org>
5214
5215 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5216 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5217
5218 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5219
5220 * window.el (other-window): Fix docstring.
5221
5222 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5223
5224 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5225 `from' or `to' address before taking its substring.
5226 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5227 encoded name is chopped in the middle of the encoded string, and
5228 thus displayed encoded.
5229
5230 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5231
5232 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5233
5234 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5235
5236 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5237 to use texinfo-update-node and commands that call it if the
5238 Texinfo file uses @node lines without next/prev/up pointers.
5239 Correct outdated description about texinfo-master-menu.
5240 (texinfo-all-menus-update, texinfo-master-menu)
5241 (texinfo-update-node, texinfo-every-node-update)
5242 (texinfo-multiple-files-update): Doc fix. Warn against updating
5243 all the @node lines.
5244 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5245 argument is numeric. Explain better in the doc string what the
5246 function really does.
5247 (texinfo-insert-master-menu-list): Improve the error message
5248 displayed if there's no menu in the Top node.
5249 (Bug#2975) See also this thread:
5250 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5251
5252 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5253
5254 * speedbar.el (speedbar-supported-extension-expressions):
5255 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5256
5257 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5258
5259 * printing.el (pr-mode-alist):
5260 * simple.el (filter-buffer-substring-functions)
5261 (completion-list-insert-choice-function):
5262 * window.el (window-with-parameter, window-atom-root)
5263 (window-sides-slots, window-size-fixed, window-min-delta)
5264 (window-max-delta, window--resize-mini-window)
5265 (window--resize-child-windows-normal, window-tree)
5266 (delete-other-windows, quit-window, split-window)
5267 (display-buffer-record-window, special-display-buffer-names)
5268 (special-display-regexps, special-display-popup-frame)
5269 (same-window-p, split-window-sensibly)
5270 (display-buffer-overriding-action, display-buffer-alist)
5271 (display-buffer-base-action, display-buffer, switch-to-buffer)
5272 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5273 (fit-window-to-buffer, recenter-positions)
5274 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5275 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5276 and remove unneeded backslashes in docstrings.
5277
5278 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5281
5282 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5283 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5284 end in ".mk".
5285 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5286 when reading the makefile (bug#10116).
5287
5288 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5291 (bug#10116).
5292
5293 2011-12-06 Glenn Morris <rgm@gnu.org>
5294
5295 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5296
5297 2011-12-06 Chong Yidong <cyd@gnu.org>
5298
5299 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5300
5301 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5302
5303 * textmodes/table.el (table-shorten-cell): Fix typo.
5304
5305 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5306
5307 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5308
5309 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5310
5311 * descr-text.el (describe-char): Fix display of strong
5312 right-to-left characters and directional embeddings and overrides.
5313
5314 * simple.el (what-cursor-position): Fix display of codepoints of
5315 strong right-to-left characters.
5316
5317 2011-12-05 Chong Yidong <cyd@gnu.org>
5318
5319 * faces.el (read-color): Doc fix.
5320
5321 2011-12-05 Glenn Morris <rgm@gnu.org>
5322
5323 * align.el (align--set-marker): Add doc-string.
5324 Don't try to move something that is not a marker. (Bug#10216)
5325
5326 2011-12-04 Glenn Morris <rgm@gnu.org>
5327
5328 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5329 overly zealous deletion of trailing whitespace.
5330
5331 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * server.el (server-delete-client): On Windows, do not try to delete
5334 the only terminal.
5335 (server-process-filter): On Windows, treat requests for a tty frame as
5336 if they were for a GUI frame if the running server is in GUI mode.
5337
5338 2011-12-03 Glenn Morris <rgm@gnu.org>
5339
5340 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5341
5342 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * electric.el: Streamline electric-indent's hook.
5345 (electric-indent-chars): Revert to simple list.
5346 (electric-indent-functions): New var.
5347 (electric-indent-post-self-insert-function): Use it.
5348
5349 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5350 there's no inferior buffer (bug#10196).
5351 (prolog-consult-compile): Don't use toggle-read-only.
5352
5353 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5356 interrupt. (Bug#10187)
5357
5358 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5361 (bug#9160).
5362
5363 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5364 (bug#10191).
5365
5366 2011-12-02 Juri Linkov <juri@jurta.org>
5367
5368 * info.el (Info-search): Display "end of manual" when Isearch
5369 reaches the end of single-file Info manual. (Bug#9918)
5370
5371 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5372
5373 * isearch.el (isearch-message-prefix): Run the input method part
5374 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5375
5376 2011-12-02 Juri Linkov <juri@jurta.org>
5377
5378 * isearch.el (isearch-occur): Use `word-search-regexp' for
5379 `isearch-word'.
5380 (isearch-search-and-update): Add condition for `isearch-word' and
5381 call `word-search-regexp'. (Bug#10145)
5382
5383 2011-12-01 Glenn Morris <rgm@gnu.org>
5384
5385 * eshell/em-hist.el (eshell-hist-initialize):
5386 Handle eshell-history-size nil and HISTSIZE set or unset.
5387 (eshell-history-file-name, eshell-history-size): Fix custom type.
5388
5389 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5392
5393 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5394
5395 * progmodes/verilog-mode.el (verilog-pretty-expr):
5396 Rework verilog-pretty-expr to handle new assignment operators in system
5397 verilog, such as += *= and the like.
5398 (verilog-assignment-operator-re): Regular expression to find the
5399 assigment operator in a verilog assignment.
5400 (verilog-assignment-operation-re): Regular expression to find an
5401 assignment statement for pretty-expr.
5402 (verilog-in-attribute-p): Query returns true if point is in an
5403 attribute context; used to skip these for expression line up from
5404 pretty-expr.
5405 (verilog-in-parameter-p): Query returns true if point is in an
5406 parameter definition context; used to skip these for expression
5407 line up from pretty-expr.
5408 (verilog-in-parenthesis-p): Query returns true if point is in a
5409 parenthetical expression, specifically ( ) but not [ ] or { };
5410 used by pretty-expr.
5411 (verilog-just-one-space): If there is no space, don't add one.
5412 (verilog-get-lineup-indent-2): Specifically skip just attribute
5413 contexts for expression lineup, rather than skipping all
5414 parenthetical expressions.
5415 (verilog-calculate-indent): Fix comment, and fix indent.
5416 (verilog-do-indent): Indent declarations in lists (suggested by
5417 Joachim Lechner).
5418 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5419 skeleton items.
5420 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5421 by Alain Mellan).
5422
5423 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5424
5425 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5426 parameters with embedded comments. Reported by Ray Stevens.
5427 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5428 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5429 Reported by Tim Holt.
5430 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5431 instantiated by upper module causing wrong expansion until AUTOed a
5432 second time. Reported by K C Buckenmaier.
5433 (verilog-diff-auto): Fix showing .* as a difference when
5434 `verilog-auto-star-save' off. Reported by Dan Dever.
5435 (verilog-auto-reset, verilog-read-always-signals)
5436 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5437 temporary signals in reset list if
5438 verilog-auto-reset-blocking-in-non is nil, and match assignment
5439 style to each signal's assignment type, bug381.
5440 Reported by Thomas Esposito.
5441 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5442 (verilog-uvm-statement-re): Support UVM indentation and
5443 highlighting, with old OVM keywords only.
5444 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5445 Support AUTOTIEOFF creating non-wire data types.
5446 Suggested by Jonathan Greenlaw.
5447 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5448 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5449 (verilog-inject-sense, verilog-read-inst-pins)
5450 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5451 Fix mismatching parenthesis inside commented out code when deleting
5452 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5453 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5454 non-numeric vector width. Reported by Alex Reed.
5455 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5456 detecting signals with parameter widths. Reported by Alex Reed.
5457 (verilog-auto-delete-trailing-whitespace):
5458 With `verilog-auto-delete-trailing-whitespace' remove trailing
5459 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5460 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5461 Fix verilog-scan-cache corruption when running user AUTO expansion
5462 hooks that call indentation routines.
5463 (verilog-simplify-range-expression): Fix typo ignoring lower case
5464 identifiers.
5465 (verilog-delete-auto): Fix delete-autos to also remove user created
5466 automatics, as long as they start with AUTO.
5467 (verilog-batch-diff-auto, verilog-diff-auto)
5468 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5469 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5470 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5471 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5472 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5473 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5474 is disabled and its cache will get corrupt, causing AUTOS not to
5475 expand. Instead use only -quick functions.
5476 (verilog-scan-region): Fix scanning over escaped quotes.
5477 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5478 (verilog-re-search-backward-quick)
5479 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5480 related functions now ignore strings, to fix misparsing of strings
5481 with magic comments embedded in them.
5482 (verilog-read-auto-template):
5483 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5484 Reported by Brad Dobbie.
5485 (verilog-read-auto-template):
5486 Fix 'verilog-auto-inst-template-numbers' with comments.
5487 Reported by Brad Dobbie.
5488 (verilog-auto-inst, verilog-auto-inst-param)
5489 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5490 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5491 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5492 debugging templates without merge conflicts, bug357.
5493 Reported by Brad Dobbie.
5494 (verilog-read-auto-template):
5495 Fix verilog-auto-inst-template-numbers with multiple templates.
5496 Reported by Brad Dobbie.
5497 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5498 abbrevs so user won't be asked to save.
5499 (verilog-read-auto-lisp-present): Fix to start at beginning of
5500 buffer in case called outside of verilog-auto.
5501 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5502 to "X-2". Reported by Matthew Myers.
5503 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5504 all inputs from module templates. Reported by Leith Johnson.
5505 (verilog-module-inside-filename-p): Fix locating programs as with
5506 modules.
5507 (verilog-auto-inst-port): Fix vl-width expressions when using
5508 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5509 (verilog-decls-get-regs, verilog-decls-get-signals,
5510 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5511 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5512 verilog-read-decls): Combine reg and wire structures into one var
5513 structure to represent SystemVerilog concepts.
5514 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5515 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5516 (verilog-auto-wire-type, verilog-insert-definition):
5517 Add verilog-auto-wire-type and AUTOLOGIC to support using
5518 SystemVerilog "logic" keyword instead of "wire"/"reg".
5519 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5520 to declares outputs that also have assignments (presumably in an
5521 ifdef or generate if so there's not a driver conflict).
5522 Reported by Matthew Myers.
5523 (verilog-auto-declare-nettype, verilog-insert-definition):
5524 Add verilog-auto-declare-nettype to fix declarations using
5525 `default_nettype none. Reported by Julian Gorfajn.
5526 (verilog-read-always-signals-recurse, verilog-read-decls)
5527 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5528 malformed end statement, bug325. Reported by Joshua Wise and
5529 Andrew Drake.
5530 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5531 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5532 when expanding .* in interfaces, bug320.
5533 Reported by Pierre-David Pfister.
5534 (verilog-read-module-name): Fix import statements between module
5535 name and open parenthesis, bug317.
5536 Reported by Pierre-David Pfister.
5537 (verilog-simplify-range-expression): Fix simplification of
5538 multiplications inside AUTOWIRE connections, bug303.
5539 (verilog-auto-inst-port): Support parameter expansion in
5540 multidimensional arrays.
5541 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5542 after "assert property". Reported by Julian Gorfajn.
5543 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5544 with multiplication, bug303.
5545 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5546 Reported by Jan Frode Lonnum.
5547
5548 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5549
5550 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5551 (hfy-shell-file-name, hfy-shell):
5552 * international/fontset.el (x-decompose-font-name): Fix typos.
5553
5554 2011-11-29 Ken Brown <kbrown@cornell.edu>
5555
5556 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5557 (gdb-version): Remove defvar.
5558 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5559 (gdb-gud-context-command, gdb-non-stop-handler)
5560 (gdb-current-context-command, gdb-stopped): Use it.
5561 (gdb-init-1): Enable pretty printing here.
5562 (gdb-non-stop-handler): Don't enable pretty-printing here.
5563 Check to see if the target supports non-stop mode; if not, turn off
5564 non-stop mode. Use the following.
5565 (gdb-check-target-async): New defun.
5566 (gud-watch, gdb-stopped): Fix whitespace.
5567 (gdb-get-source-file): Don't try to display the source file if
5568 `gdb-main-file' is nil.
5569
5570 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * align.el: Try to generate fewer markers (bug#10047).
5573 (align--set-marker): New macro.
5574 (align-region): Use it.
5575
5576 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5579
5580 2011-11-29 Chong Yidong <cyd@gnu.org>
5581
5582 * indent.el (indent-for-tab-command, indent-according-to-mode):
5583 Doc fix.
5584 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5585
5586 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5589 aware of remote file names. (Bug#10124)
5590
5591 2011-11-29 Chong Yidong <cyd@gnu.org>
5592
5593 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5594
5595 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * files.el (find-file): Don't use force-same-window (bug#10144).
5598 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5599 use pop-to-buffer if the selected window can't be used.
5600 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5601
5602 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5603
5604 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5605 special-mode-map.
5606
5607 2011-11-28 Chong Yidong <cyd@gnu.org>
5608
5609 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5610
5611 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5612
5613 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5614 gdb-get-source-file-list on gdb-create-source-file-list.
5615
5616 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5617
5618 * whitespace.el (whitespace-newline): Use a different foreground
5619 color for 16-color light-background displays.
5620
5621 2011-11-24 Chong Yidong <cyd@gnu.org>
5622
5623 * window.el (display-buffer--special-action): Doc fix.
5624
5625 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5626
5627 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5628 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5629 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5630 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5631 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5632 (avl-tree-stack-first):
5633 * emacs-lisp/cconv.el (cconv--analyse-use):
5634 * net/gnutls.el (gnutls-negotiate): Fix typos.
5635
5636 2011-11-24 Glenn Morris <rgm@gnu.org>
5637
5638 * lpr.el (lpr-windows-system, lpr-lp-system):
5639 * mail/binhex.el (binhex-begin-line):
5640 * progmodes/grep.el (grep-history, grep-find-history):
5641 * textmodes/flyspell.el:
5642 * vc/pcvs-defs.el (cvs-global-menu):
5643 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5644 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5645 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5646
5647 * net/tls.el: Fix case of "GnuTLS".
5648
5649 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5650
5651 * version.el (emacs-build-system): Give it a doc-string.
5652
5653 2011-11-24 Juri Linkov <juri@jurta.org>
5654
5655 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5656
5657 2011-11-24 Glenn Morris <rgm@gnu.org>
5658
5659 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5660 if called on a non-mime message just toggle the headers. (Bug#8006)
5661
5662 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5663
5664 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5665 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5666 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5667 (allout-rebullet-heading, allout-open-sibtopic)
5668 (allout-toggle-current-subtree-encryption)
5669 (allout-toggle-subtree-encryption, allout-encrypt-string)
5670 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5671 (allout-distinctive-bullets-string, allout-auto-activation):
5672 * window.el (window-normalize-buffer-to-display):
5673 * progmodes/verilog-mode.el (verilog-batch-indent):
5674 * textmodes/bibtex.el (bibtex-field-braces-opt)
5675 (bibtex-field-strings-opt):
5676 * vc/cvs-status.el (cvs-tree-merge):
5677 Fix typos.
5678
5679 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5682 `non-essential' to t, in order to avoid remote connections.
5683
5684 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5685
5686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5687 On MS-DOS and MS-Windows, compare with loaddefs.el
5688 case-insensitively.
5689
5690 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5691
5692 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5693
5694 2011-11-23 Glenn Morris <rgm@gnu.org>
5695
5696 * paths.el (rmail-file-name): Reformat the doc-string so that it
5697 is picked up.
5698
5699 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5700 (rmail-auto-file): Ignore case in the "special" field names,
5701 as mail-fetch-field does for all others.
5702
5703 * mail/rmail.el (rmail-forward):
5704 * mail/rmailkwd.el (rmail-set-label):
5705 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5706 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5707
5708 * mail/rmail.el (rmail-current-message): Doc fix.
5709
5710 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5711
5712 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5715
5716 2011-11-22 Glenn Morris <rgm@gnu.org>
5717
5718 * mail/rmailmm.el (test-rmail-mime-handler)
5719 (test-rmail-mime-bulk-handler)
5720 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5721
5722 2011-11-21 Juri Linkov <juri@jurta.org>
5723
5724 * calc/calc.el (calc-read-key-sequence):
5725 Let-bind `input-method-function' to nil. (Bug#10018)
5726
5727 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5728
5729 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5730 Tell the caller that the next line needs recomputation, even
5731 though it doesn't start a sexp (bug#10094).
5732
5733 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5736
5737 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5740 Use force-same-window.
5741
5742 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5743
5744 * descr-text.el (describe-char-unicode-data):
5745 * json.el (json-string-escape):
5746 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5747 (Footnote-unicode, Footnote-style-p):
5748 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5749
5750 2011-11-20 Chong Yidong <cyd@gnu.org>
5751
5752 * window.el (replace-buffer-in-windows): Restore interactive spec.
5753
5754 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5757
5758 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5759 (byte-compile-global-not-obsolete-vars): New var.
5760 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5761 Use it.
5762 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5763
5764 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5767 * progmodes/pascal.el (electric-pascal-equal):
5768 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5769 * xml.el (xml-substitute-special): Fix typos.
5770
5771 2011-11-20 Glenn Morris <rgm@gnu.org>
5772
5773 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5774 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5775 Doc fixes.
5776 (rmail-decode-mime-charset): Mark as obsolete.
5777
5778 * mail/rmailsum.el (rmail-message-regexp-p-1):
5779 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5780 Before using mime functions, check they are set. (Bug#10077)
5781
5782 2011-11-19 Juri Linkov <juri@jurta.org>
5783
5784 * info.el (Info-finder-find-node): Use `package--builtins' instead
5785 of `package-alist'. Use node names formed by the pattern "Keyword "
5786 and the keyword name.
5787
5788 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5789
5790 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5791
5792 2011-11-19 Juri Linkov <juri@jurta.org>
5793
5794 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5795 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5796 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5797 `old-history', `old-history-forward'. Add let-binding
5798 `window-selected'. Remove calls to `kill-buffer',
5799 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5800 before calling `Info-find-node', so `Info-find-node-2' will reread
5801 the Info file. Restore window positions only when `window-selected'
5802 is non-nil.
5803
5804 2011-11-19 Juri Linkov <juri@jurta.org>
5805
5806 * isearch.el (isearch-lazy-highlight-new-loop):
5807 Remove condition `(not isearch-error)'. (Bug#9918)
5808
5809 * misearch.el (multi-isearch-search-fun): Add condition
5810 `(not bound)' to ignore lazy-highlighting search.
5811 Add the search-failed message "end of multi" when the end of
5812 multi-sequence is reached. Uncapitalize the search-failed
5813 message "Repeat for next buffer".
5814
5815 * info.el (Info-search): Add the search-failed message
5816 "end of the manual" when the end of the manual is reached
5817 in Isearch mode.
5818
5819 2011-11-19 Juri Linkov <juri@jurta.org>
5820
5821 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5822 Use non-destructive `remove' instead of `delete' because
5823 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5824 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5825
5826 2011-11-19 Juri Linkov <juri@jurta.org>
5827
5828 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5829 to nil instead of binding `search-ring' and `regexp-search-ring'.
5830 (Bug#9185)
5831
5832 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5833
5834 * simple.el (line-move): Force movement by logical lines for any
5835 hscrolled window, not only when auto-hscroll-mode is on.
5836 (line-move-visual): Update doc string to that effect. (Bug#10076)
5837
5838 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5839
5840 * language/european.el (macintosh): Define as alias for mac-roman.
5841
5842 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5843
5844 * mail/rmailmm.el (rmail-mime-display-header)
5845 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5846 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5847 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5848 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5849 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5850 of a raw aref.
5851 (rmail-mime-entity-segment): To get past the tagline, move forward
5852 2 more lines, to account for the 2 empty lines that precede and
5853 follow the line with the buttons.
5854 (rmail-mime-update-tagline): Move one more line, to get past the
5855 empty line that follows the buttons in the tagline. (Bug#9520)
5856
5857 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (window-max-delta-1, window-min-delta-1)
5860 (window-min-size-1, window-state-get-1, window-state-put-1)
5861 (window-state-put-2): Use "window--" prefix.
5862
5863 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5866 (smie-warning-count): New var.
5867 (smie-set-prec2tab): Use it.
5868 (smie-bnf->prec2): Improve warnings. Add docstring.
5869 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5870 (smie-bnf--set-class): New function.
5871 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5872 corner case.
5873
5874 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5875 (compilation-error-properties, compilation-move-to-column):
5876 Handle compilation-first-column while in the target buffer.
5877
5878 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5879 Don't hardcode point-min==1.
5880
5881 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5882 (eshell-rewrite-for-command): Remove workaround.
5883 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5884 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5885 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5886
5887 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5888
5889 2011-11-17 Glenn Morris <rgm@gnu.org>
5890
5891 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5892 Ignore buffer-local generated-autoload-file if it is the same
5893 as the global value. (Bug#10049)
5894
5895 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5896
5897 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5898 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5899 (reftex-toc-previous-heading, reftex-toc-max-level)
5900 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5901 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5902 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5903 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5904 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5905 (reftex-toc-rename-label, reftex-toc-visit-location)
5906 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5907 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5908 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5909 leaving "*toc*" only for references to the buffer.
5910
5911 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5912
5913 * window.el (window-resize, delete-window, split-window):
5914 Replace window-splits by window-combination-resize.
5915 * cus-start.el (window-splits): Replace by window-combination-resize.
5916
5917 2011-11-17 Glenn Morris <rgm@gnu.org>
5918
5919 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5920 Make bash entry derive from sh entry, not shell entry.
5921
5922 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5923
5924 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5925 properties of linked files. (Bug#9879)
5926
5927 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5928 local file name.
5929
5930 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * menu-bar.el (menu-bar-file-menu):
5933 * printing.el (pr-ps-utility):
5934 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5935 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5936 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5937 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5938 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5939 (icalendar--convert-cyclic-to-ical)
5940 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5941 (icalendar--convert-ical-to-diary)
5942 (icalendar--convert-recurring-to-diary)
5943 (icalendar--convert-non-recurring-all-day-to-diary)
5944 (icalendar-import-format-sample):
5945 * progmodes/idlw-shell.el (idlwave-shell-mode):
5946 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5947 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5948 (vhdl-ps-print-init): Fix typos.
5949
5950 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5951
5952 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5953 FSF and collapse date sequence, obscure author/maintainer email address
5954 better, remove extra version line, track relocation of author's webpage.
5955
5956 * progmodes/python.el (python-pdbtrack-input-prompt)
5957 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5958 regular python pdb prompts. Adjustments shamelessly taken exactly as
5959 suggested in EmacsWiki page (tiny change):
5960 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5961
5962 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * expand.el (expand-pos, expand-index, expand-point):
5965 Remove redundant info from docstring.
5966 (expand-add-abbrevs): Doc fix.
5967 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5968 (expand-sample-perl-mode-expand-list): Fix typos.
5969
5970 * net/dbus.el (dbus-event-member-name):
5971 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5972 * term/pc-win.el (msdos-create-frame-with-faces):
5973 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5974
5975 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5976
5977 * window.el (split-window, window-state-get-1)
5978 (window-state-put-1, window-state-put-2): Rename occurrences of
5979 window-nest to window-combination-limit.
5980 * cus-start.el (window-nest): Rename to window-combination-limit.
5981
5982 2011-11-16 Chong Yidong <cyd@gnu.org>
5983
5984 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5985 regexp (Bug#10033).
5986
5987 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5990 `completing-read' will remove *Completions* and will preserve
5991 current-buffer for us.
5992 (tmm-add-prompt): Users of *Completions* will always (re)set its
5993 major mode.
5994 (tmm-old-comp-map): Remove.
5995
5996 2011-11-16 Glenn Morris <rgm@gnu.org>
5997
5998 * mail/rmailedit.el: Require rmailmm when compiling.
5999 (rmail-old-mime-state): New declaration.
6000 (rmail-edit-current-message): If editing a mime message,
6001 edit the "raw" message from the mbox buffer.
6002 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6003
6004 2011-11-15 Glenn Morris <rgm@gnu.org>
6005
6006 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6007 which wasn't being used. Add optional arg to force given state.
6008 (rmail-mime): Add optional arg to force given state.
6009
6010 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6011
6012 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6013 * frame.el (display-mm-dimensions-alist):
6014 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6015 (outline-move-subtree-down):
6016 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6017 (newsticker--treeview-do-get-node):
6018 * net/quickurl.el (quickurl-list-buffer-name):
6019 * progmodes/dcl-mode.el (dcl-mode):
6020 * progmodes/gdb-mi.el (gdb-mapcar*):
6021 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6022
6023 2011-11-15 Glenn Morris <rgm@gnu.org>
6024
6025 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6026 in a boolean sense, so just make it a boolean, and fix the doc.
6027 (rmail-show-mime-function, rmail-mime-feature)
6028 (rmail-require-mime-maybe): Doc fixes.
6029 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6030
6031 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6032
6033 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6036 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6037 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6038 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6039
6040 2011-11-15 Glenn Morris <rgm@gnu.org>
6041
6042 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6043 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6044 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6045 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6046 (rmail-mime, rmail-show-mime): Doc fixes.
6047
6048 * term/ns-win.el (mode-line-frame-identification):
6049 Leave it alone. (Bug#10051)
6050
6051 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6052
6053 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6054 Handle empty buffers. (Bug#9978)
6055
6056 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6057
6058 * international/mule.el (define-charset):
6059 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6060 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6061 * progmodes/verilog-mode.el (verilog-backward-token):
6062 * textmodes/ispell.el (lookup-words):
6063 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6064
6065 2011-11-14 Glenn Morris <rgm@gnu.org>
6066
6067 * progmodes/executable.el
6068 (executable-make-buffer-file-executable-if-script-p):
6069 Handle file-modes returning nil.
6070
6071 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6072 message - not necessary, and causes problems. (Bug#9831)
6073
6074 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6075
6076 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6077
6078 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6079 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6080 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6081
6082 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6083
6084 * window.el (window-resize, delete-window): Use window-splits
6085 variable instead of function.
6086 (window-state-get-1, window-state-put-2, window-state-put):
6087 Don't deal with windows' splits status.
6088
6089 2011-11-12 Glenn Morris <rgm@gnu.org>
6090
6091 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6092 (apropos-documentation): Doc fixes.
6093
6094 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6097 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6098
6099 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * electric.el (electric-indent-post-self-insert-function): Make it
6102 possible for a char to only indent in some circumstances.
6103 (electric-indent-mode): Simplify.
6104
6105 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6106
6107 * window.el (windows-with-parameter): Remove unused function.
6108 (windows-at-side): Rename to window-at-side-list.
6109 (window-check, window-atom-check, window-atom-check-1)
6110 (window-side-check, window-size-ignore, window-size-fixed-1)
6111 (window-in-direction-2): Prefix with "window--".
6112 (window-tree-1): Rename to window--subtree, fix doc-string.
6113
6114 2011-11-11 Glenn Morris <rgm@gnu.org>
6115
6116 * subr.el (eval-after-load): If FILE is already loaded,
6117 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6118
6119 2011-11-10 Glenn Morris <rgm@gnu.org>
6120
6121 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6122 Call svn via vc-svn-command rather than vc-do-command.
6123 (vc-svn-command): Add --non-interactive. (Bug#9993)
6124 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6125
6126 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6127 Add toggle-read-only. (Bug#7292)
6128 * files.el (toggle-read-only): Mention that it should only
6129 be used interactively. (Bug#10006)
6130
6131 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6134 Adjust regexp for OCaml warnings.
6135
6136 * electric.el (electric-pair-post-self-insert-function): Let user
6137 turn it off buffer-locally (bug#9932).
6138
6139 * progmodes/python.el (python-beginning-of-statement):
6140 Rewrite (bug#2703).
6141
6142 * progmodes/compile.el: Better handle TABs (bug#9749).
6143 (compilation-internal-error-properties)
6144 (compilation-next-error-function): Obey the target buffer's
6145 compilation-error-screen-columns.
6146
6147 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * progmodes/meta-mode.el: Remove obsolete comments.
6150 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6151 Fix typos in docstrings.
6152
6153 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6154
6155 * window.el (window-size-fixed-p): Rewrite doc-string.
6156 (window-resizable-p): Rename to window--resizable-p. Update callers.
6157 (window--resizable): New function. Make all callers of
6158 window-resizable call window--resizable instead.
6159 (window-resizable): Rewrite in terms of window--resizable.
6160
6161 2011-11-08 Glenn Morris <rgm@gnu.org>
6162
6163 * progmodes/delphi.el (delphi-mode-syntax-table):
6164 Let define-derived-mode define a proper syntax table. (Bug#9994)
6165
6166 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * window.el: Stay away from defsubst.
6169 (window-list-no-nils): Remove.
6170 (window-state-get-1, window-state-get): Use backquote instead.
6171
6172 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6173
6174 * emacs-lisp/find-func.el (find-function-read):
6175 Fix incorrect use of default argument in `completing-read'.
6176
6177 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6178
6179 * window.el (display-buffer-function, special-display-function):
6180 Mention display-buffer-record-window but do not mention
6181 help-setup parameter in doc-strings.
6182 (window-min-delta): Fix doc-string typo.
6183
6184 2011-11-08 Chong Yidong <cyd@gnu.org>
6185
6186 * window.el (window-total-height, window-total-width): Doc fix.
6187 (window-body-size): Move from C.
6188 (window-body-height, window-body-width): Move to C.
6189
6190 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * window.el: Make special-display like display-buffer-alist (bug#9532).
6193 (display-buffer--special-action): New function, morphed
6194 from display-buffer--special.
6195 (display-buffer): Use it to handle special-display-buffers at higher
6196 priority (just after display-buffer-alist).
6197 (display-buffer-fallback-action, display-buffer--other-frame-action)
6198 (pop-to-buffer-same-window): Remove display-buffer--special.
6199
6200 2011-11-07 Glenn Morris <rgm@gnu.org>
6201
6202 * calendar/cal-menu.el (cal-menu-set-date-title):
6203 Do nothing if not in a calendar. (Bug#9976)
6204
6205 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * files.el (find-file): Always use selected-window.
6208
6209 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (window-combinations): Make WINDOW argument
6212 mandatory. Rewrite doc-string.
6213 (walk-window-subtree, window-atom-check, window-min-delta)
6214 (window-max-delta, window--resize-this-window)
6215 (window--resize-root-window-vertically, window-tree)
6216 (balance-windows, window-state-put): Rewrite doc-strings as to
6217 not mention the term "subwindow".
6218 (window--resize-subwindows-skip-p): Rename to
6219 window--resize-child-windows-skip-p.
6220 (window--resize-subwindows-normal): Rename to
6221 window--resize-child-windows-normal.
6222 (window--resize-subwindows): Rename to
6223 window--resize-child-windows.
6224 (window-or-subwindow-p): Rename to window--in-subtree-p.
6225
6226 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6227
6228 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6229 Ensure that mbox format messages end in two newlines (Bug#9974).
6230
6231 2011-11-06 Chong Yidong <cyd@gnu.org>
6232
6233 * window.el (window-combination-p): Function deleted; its
6234 side-effect is not used in any existing code.
6235 (window-combinations, window-combined-p): Call window-*-child
6236 directly.
6237
6238 2011-11-05 Chong Yidong <cyd@gnu.org>
6239
6240 * window.el (window-valid-p): Rename from window-any-p.
6241 (window-size-ignore, window-state-get): Callers changed.
6242 (window-normalize-window): Rename from window-normalize-any-window.
6243 New arg LIVE-ONLY, replacing window-normalize-live-window.
6244 (window-normalize-live-window): Delete.
6245 (window-combination-p, window-combined-p, window-combinations)
6246 (walk-window-subtree, window-atom-root, window-min-size)
6247 (window-sizable, window-sizable-p, window-size-fixed-p)
6248 (window-min-delta, window-max-delta, window-resizable)
6249 (window-resizable-p, window-full-height-p, window-full-width-p)
6250 (window-current-scroll-bars, window-point-1, set-window-point-1)
6251 (window-at-side-p, window-in-direction, window-resize)
6252 (adjust-window-trailing-edge, maximize-window, minimize-window)
6253 (window-deletable-p, delete-window, delete-other-windows)
6254 (record-window-buffer, unrecord-window-buffer)
6255 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6256 (quit-window, split-window, window-state-put)
6257 (set-window-text-height, fit-window-to-buffer)
6258 (shrink-window-if-larger-than-buffer): Callers changed.
6259
6260 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6261
6262 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6263 rfc2047-decode-string.
6264 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6265 warnings.
6266
6267 * window.el (window-body-height, window-body-width): Mention in
6268 the doc string that the return values are in frame's canonical
6269 units. (Bug#9949)
6270
6271 2011-11-03 Alan Mackenzie <acm@muc.de>
6272
6273 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6274 change in cc-engine.el.
6275
6276 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6279
6280 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6281
6282 * window.el (quit-window): Call unrecord-window-buffer after
6283 showing another buffer in the window. (Bug#9937)
6284 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6285
6286 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6289 Accept status with more than 9 shelves. (Bug#9935)
6290 Reported by Colin D Bennett <colin@gibibit.com>.
6291
6292 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6293
6294 * help.el (with-help-window): Don't reference
6295 temp-buffer-show-specifiers in doc-string.
6296
6297 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6298
6299 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6300 menu-item.
6301
6302 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6303
6304 * whitespace.el: New version 13.2.2.
6305 (whitespace-newline-mode): Disable properly. Reported by Sarah
6306 <EmacsWiki>.
6307
6308 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6309
6310 * net/newst-treeview.el: Remove "Time-stamp".
6311 (newsticker--group-manage-orphan-feeds): Do not call
6312 newsticker--treeview-tree-update.
6313 (newsticker-treeview-update, newsticker-treeview):
6314 Call newsticker--treeview-tree-update if necessary.
6315
6316 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (window-iso-combination-p, window-iso-combined-p)
6319 (window-iso-combinations): Remove "iso-" infix.
6320 Suggested by Chong Yidong.
6321 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6322 (window-max-delta-1, window-resize, window--resize-siblings)
6323 (window--resize-this-window, adjust-window-trailing-edge)
6324 (split-window, balance-windows-1)
6325 (shrink-window-if-larger-than-buffer):
6326 * calendar/calendar.el (calendar-generate-window):
6327 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6328
6329 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6332 in place (bug#9907).
6333 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6334 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6335 (eshell-structure-basic-command, eshell-rewrite-while-command)
6336 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6337 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6338 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6339 (eshell-do-pipelines-synchronously, eshell-eval-command):
6340 Use backquotes and prefer setq to set.
6341 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6342 (eshell-macrop): Use functionp.
6343 (eshell-do-eval): Handle multiple expressions in `while' body.
6344
6345 2011-10-30 Chong Yidong <cyd@gnu.org>
6346
6347 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6348 instead of set-mark (Bug#9810).
6349
6350 2011-10-30 Chong Yidong <cyd@gnu.org>
6351
6352 * window.el (split-window-below, split-window-right): Rename from
6353 split-window-above-each-other and split-window-side-by-side
6354 respectively. All callers changed.
6355 (split-window-sensibly, split-window-sensibly): Use them.
6356 (split-window-keep-point): Doc fix.
6357
6358 * isearch.el: Add isearch-scroll property to split-window-below
6359 and split-window-right.
6360
6361 * follow.el (follow-mode):
6362 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6363 * progmodes/ada-xref.el (ada-gdb-application):
6364 * emulation/vip.el (vip-buffer-in-two-windows):
6365 * image-dired.el (image-dired-dired-with-window-configuration):
6366 * dired-x.el (dired-do-find-marked-files):
6367 * dired.el (dired-pop-to-buffer):
6368 * bs.el (bs--show-with-configuration):
6369 * vc/emerge.el (emerge-setup-windows):
6370 * textmodes/two-column.el (2C-two-columns):
6371 * textmodes/reftex-toc.el (reftex-toc):
6372 * progmodes/gdb-mi.el (gdb-setup-windows):
6373 * progmodes/fortran.el (fortran-window-create):
6374 * net/newst-treeview.el (newsticker--treeview-window-init):
6375 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6376 * emulation/tpu-edt.el (tpu-gold-map):
6377 * emulation/crisp.el (crisp-mode-map):
6378 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6379
6380 2011-10-29 Chong Yidong <cyd@gnu.org>
6381
6382 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6383
6384 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6385
6386 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6387 forged Ispell output (Bug#7904).
6388
6389 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6390
6391 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * doc-view.el: Avoid ugly errors about not finding nil.
6394 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6395 (doc-view-dvipdf-program, doc-view-unoconv-program)
6396 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6397 Avoid nil or absolute file name as default value.
6398 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6399
6400 2011-10-28 Alan Mackenzie <acm@muc.de>
6401
6402 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6403
6404 2011-10-28 Alan Mackenzie <acm@muc.de>
6405
6406 Amend the handling of c-beginning/end-of-defun in nested declaration
6407 scopes.
6408
6409 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6410 cc-langs.el. Change it to a defcustom.
6411
6412 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6413 cc-vars.el.
6414
6415 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6416 Prevent "class foo : bar" being spuriously recognized as a label.
6417
6418 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6419 Add parameter `inclusive' (to include enclosing braces in the region).
6420 (c-widen-to-enclosing-decl-scope): New function.
6421 (c-while-widening-to-decl-block): New macro.
6422 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6423 outward for defun boundaries, and correspondingly change symbol
6424 `respect-enclosure' to `go-outward'.
6425 (c-declaration-limits): Change algorithm to report only the "innermost"
6426 defun's boundaries.
6427
6428 2011-10-28 Deniz Dogan <deniz@dogan.se>
6429
6430 * net/rcirc.el (rcirc-mode): Use hard newlines.
6431
6432 2011-10-28 Alan Mackenzie <acm@muc.de>
6433
6434 Amend to indent and fontify macros "which include their own semicolon"
6435 correctly, using the "virtual semicolon" mechanism.
6436
6437 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6438
6439 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6440 Recode to scan one line at a time rather than having \n and \r
6441 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6442 (c-forward-label): Amend for virtual semicolons.
6443 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6444
6445 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6446 of the new C macros.
6447
6448 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6449 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6450 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6451 (c-opt-cpp-macro-define): Make into a full language variable.
6452 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6453 AWK Mode (including \n, \r) removed, no longer needed.
6454
6455 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6456 Invoke c-make-macro-with-semi-re.
6457
6458 * progmodes/cc-vars.el (c-macro-with-semi-re):
6459 (c-macro-names-with-semicolon): New variables.
6460 (c-make-macro-with-semi-re): New function.
6461
6462 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * vc/log-edit.el: Fill empty field rather than adding new one.
6465 (log-edit-add-field): New function.
6466 (log-edit-insert-changelog): Use it.
6467
6468 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6469
6470 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6471
6472 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6475 (gdb--check-interpreter): New function.
6476 (gdb): Use it.
6477
6478 2011-10-27 Glenn Morris <rgm@gnu.org>
6479
6480 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6481 (least-positive-float, least-negative-float)
6482 (least-positive-normalized-float, least-negative-normalized-float)
6483 (float-epsilon, float-negative-epsilon):
6484 Remove unnecessary declarations.
6485
6486 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6487 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6488 (least-positive-float, least-negative-float)
6489 (least-positive-normalized-float, least-negative-normalized-float)
6490 (float-epsilon, float-negative-epsilon): Add doc-strings,
6491 based on those in cl.texi.
6492
6493 * files.el (set-visited-file-name): If the major-mode changed,
6494 reload the local variables. (Bug#9796)
6495
6496 2011-10-27 Chong Yidong <cyd@gnu.org>
6497
6498 * subr.el (change-major-mode-after-body-hook): New hook.
6499 (run-mode-hooks): Run it.
6500
6501 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6502 Use change-major-mode-before-body-hook.
6503
6504 * simple.el (fundamental-mode):
6505 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6506 change introducing fundamental-mode-hook.
6507
6508 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6509
6510 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6511
6512 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6513
6514 * ido.el (ido-file-name-all-completions-1): Do not require
6515 tramp.el explicitly. (Bug#7583)
6516
6517 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * progmodes/octave-mod.el:
6520 * progmodes/octave-inf.el: Update maintainer.
6521
6522 2011-10-26 Chong Yidong <cyd@gnu.org>
6523
6524 * subr.el (with-wrapper-hook): Rewrite doc.
6525
6526 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6527
6528 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6529 filenames "/method:foo:". (Bug#9793)
6530
6531 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6534 (bug#9865).
6535
6536 2011-10-24 Glenn Morris <rgm@gnu.org>
6537
6538 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6539
6540 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6541
6542 * notifications.el: Add the requirement of a running D-Bus session
6543 bus to the Commentary.
6544
6545 2011-10-24 Juri Linkov <juri@jurta.org>
6546
6547 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6548 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6549 (Bug#9364)
6550
6551 2011-10-24 Juri Linkov <juri@jurta.org>
6552
6553 * info.el (Info-following-node-name-re): Add newline to the list
6554 of allowed characters for leading space. (Bug#9824)
6555
6556 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * progmodes/octave-inf.el (inferior-octave-mode-map):
6559 Fix C-c C-h binding.
6560 * progmodes/octave-mod.el (octave-help): Remove.
6561
6562 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6563
6564 Sync with Tramp 2.2.3.
6565
6566 * net/tramp-cache.el (top): Pacify byte-compiler using
6567 `init-file-user' and `site-run-file'.
6568
6569 * net/trampver.el: Update release number.
6570
6571 2011-10-23 Chong Yidong <cyd@gnu.org>
6572
6573 * files.el (toggle-read-only): Remove obsolete comment about
6574 version control.
6575
6576 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6577 for toggle-read-only. Note that this hasn't called vc-next-action
6578 since 2008-05-02, though it wasn't documented at the time.
6579
6580 * vc/ediff-init.el (ediff-toggle-read-only-function):
6581 Use toggle-read-only.
6582
6583 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6584
6585 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6586 of c-parse-state.
6587
6588 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6589 correct faulty logical expression.
6590 (c-parse-state-state, c-record-parse-state-state):
6591 (c-replay-parse-state-state): New defvar/defuns.
6592 (c-debug-parse-state): Use new functions.
6593
6594 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6595
6596 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6597 last fix. Use window-in-direction correctly.
6598
6599 2011-10-21 Chong Yidong <cyd@gnu.org>
6600
6601 * progmodes/idlwave.el (idlwave-mode):
6602 * progmodes/vera-mode.el (vera-mode): No need to set
6603 require-final-newline; that's done in prog-mode.
6604 Suggested by Stefan Monnier.
6605
6606 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6607
6608 * mouse.el (mouse-drag-window-above)
6609 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6610 (mouse-drag-mode-line-1, mouse-drag-header-line)
6611 (mouse-drag-vertical-line-rightward-window): Remove.
6612 (mouse-drag-line): New function.
6613 (mouse-drag-mode-line, mouse-drag-header-line)
6614 (mouse-drag-vertical-line): Call mouse-drag-line.
6615 * window.el (window-at-side-p, windows-at-side): New functions.
6616
6617 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6618
6619 * tar-mode.el (tar-grind-file-mode):
6620 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6621
6622 2011-10-21 Chong Yidong <cyd@gnu.org>
6623
6624 * progmodes/idlwave.el (idlwave-mode):
6625 * progmodes/vera-mode.el (vera-mode):
6626 Use mode-require-final-newline.
6627
6628 2011-10-20 Glenn Morris <rgm@gnu.org>
6629
6630 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6631
6632 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6633
6634 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6635
6636 2011-10-20 Chong Yidong <cyd@gnu.org>
6637
6638 * emulation/cua-base.el (cua-mode):
6639 * mail/footnote.el (footnote-mode):
6640 * mail/mailabbrev.el (mail-abbrevs-mode):
6641 * net/xesam.el (xesam-minor-mode):
6642 * progmodes/bug-reference.el (bug-reference-mode):
6643 * progmodes/cap-words.el (capitalized-words-mode):
6644 * progmodes/compile.el (compilation-minor-mode)
6645 (compilation-shell-minor-mode):
6646 * progmodes/gud.el (gud-tooltip-mode):
6647 * progmodes/hideif.el (hide-ifdef-mode):
6648 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6649 * progmodes/subword.el (subword-mode):
6650 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6651 * progmodes/which-func.el (which-function-mode):
6652 * term/tvi970.el (tvi970-set-keypad-mode):
6653 * term/vt100.el (vt100-wide-mode):
6654 * textmodes/flyspell.el (flyspell-mode):
6655 * textmodes/ispell.el (ispell-minor-mode):
6656 * textmodes/nroff-mode.el (nroff-electric-mode):
6657 * textmodes/paragraphs.el (use-hard-newlines):
6658 * textmodes/refill.el (refill-mode):
6659 * textmodes/reftex.el (reftex-mode):
6660 * textmodes/rst.el (rst-minor-mode):
6661 * textmodes/sgml-mode.el (html-autoview-mode)
6662 (sgml-electric-tag-pair-mode):
6663 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6664 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6665 * emulation/crisp.el (crisp-mode):
6666 * emacs-lisp/eldoc.el (eldoc-mode):
6667 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6668 minor mode behavior.
6669
6670 2011-10-19 Juri Linkov <juri@jurta.org>
6671
6672 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6673 the list of hard-coded chars with escape-glyph face.
6674
6675 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6678
6679 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6680
6681 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6682 running process.
6683
6684 2011-10-19 Glenn Morris <rgm@gnu.org>
6685
6686 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6687 Ignore ignored files. (Bug#9726)
6688
6689 2011-10-19 Chong Yidong <cyd@gnu.org>
6690
6691 Doc fix for minor modes, stating that an omitted argument enables
6692 the mode unconditionally when called from Lisp.
6693
6694 * abbrev.el (abbrev-mode):
6695 * allout.el (allout-mode):
6696 * autoinsert.el (auto-insert-mode):
6697 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6698 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6699 (global-auto-revert-mode):
6700 * battery.el (display-battery-mode):
6701 * composite.el (global-auto-composition-mode)
6702 (auto-composition-mode):
6703 * delsel.el (delete-selection-mode):
6704 * desktop.el (desktop-save-mode):
6705 * dired-x.el (dired-omit-mode):
6706 * dirtrack.el (dirtrack-mode):
6707 * doc-view.el (doc-view-minor-mode):
6708 * double.el (double-mode):
6709 * electric.el (electric-indent-mode, electric-pair-mode):
6710 * emacs-lock.el (emacs-lock-mode):
6711 * epa-hook.el (auto-encryption-mode):
6712 * follow.el (follow-mode):
6713 * font-core.el (font-lock-mode):
6714 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6715 * help.el (temp-buffer-resize-mode):
6716 * hilit-chg.el (highlight-changes-mode)
6717 (highlight-changes-visible-mode):
6718 * hi-lock.el (hi-lock-mode):
6719 * hl-line.el (hl-line-mode, global-hl-line-mode):
6720 * icomplete.el (icomplete-mode):
6721 * ido.el (ido-everywhere):
6722 * image-file.el (auto-image-file-mode):
6723 * image-mode.el (image-minor-mode):
6724 * iswitchb.el (iswitchb-mode):
6725 * jka-cmpr-hook.el (auto-compression-mode):
6726 * linum.el (linum-mode):
6727 * longlines.el (longlines-mode):
6728 * master.el (master-mode):
6729 * mb-depth.el (minibuffer-depth-indicate-mode):
6730 * menu-bar.el (menu-bar-mode):
6731 * minibuf-eldef.el (minibuffer-electric-default-mode):
6732 * mouse-sel.el (mouse-sel-mode):
6733 * msb.el (msb-mode):
6734 * mwheel.el (mouse-wheel-mode):
6735 * outline.el (outline-minor-mode):
6736 * paren.el (show-paren-mode):
6737 * recentf.el (recentf-mode):
6738 * reveal.el (reveal-mode, global-reveal-mode):
6739 * rfn-eshadow.el (file-name-shadow-mode):
6740 * ruler-mode.el (ruler-mode):
6741 * savehist.el (savehist-mode):
6742 * scroll-all.el (scroll-all-mode):
6743 * scroll-bar.el (scroll-bar-mode):
6744 * server.el (server-mode):
6745 * shell.el (shell-dirtrack-mode):
6746 * simple.el (auto-fill-mode, transient-mark-mode)
6747 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6748 (line-number-mode, column-number-mode, size-indication-mode)
6749 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6750 * strokes.el (strokes-mode):
6751 * time.el (display-time-mode):
6752 * t-mouse.el (gpm-mouse-mode):
6753 * tool-bar.el (tool-bar-mode):
6754 * tooltip.el (tooltip-mode):
6755 * type-break.el (type-break-mode-line-message-mode)
6756 (type-break-query-mode):
6757 * view.el (view-mode):
6758 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6759 (global-whitespace-mode, global-whitespace-newline-mode):
6760 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6761
6762 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6763 Fix autogenerated docstring.
6764
6765 2011-10-19 Juri Linkov <juri@jurta.org>
6766
6767 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6768 by checking environment variables "DESKTOP_SESSION" and
6769 "XDG_CURRENT_DESKTOP". (Bug#9779)
6770
6771 2011-10-19 Juri Linkov <juri@jurta.org>
6772
6773 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6774 (browse-url-chromium-program, browse-url-chromium-arguments):
6775 New defcustoms.
6776 (browse-url-default-browser): Check for `browse-url-chromium' and
6777 call `browse-url-chromium-program'.
6778 (browse-url-chromium): New command. (Bug#9779)
6779
6780 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6781
6782 * facemenu.el (list-colors-duplicates): On Windows, detect more
6783 duplicates by assuming that only colors matching "^System" are
6784 special "system colors". (Bug#9722)
6785
6786 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6789 to distinguish the author from the committer.
6790
6791 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6794
6795 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6796
6797 * international/mule.el (sgml-html-meta-auto-coding-function):
6798 Add support for detecting encoding in HTML5 specified only as
6799 <meta charset="UTF-8">. Implementation just makes http-equiv and
6800 content-type parts from HTML4 encoding string optional. (Bug#9716)
6801
6802 2011-10-18 Glenn Morris <rgm@gnu.org>
6803
6804 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6805
6806 2011-10-18 Chong Yidong <cyd@gnu.org>
6807
6808 * faces.el (cursor): Doc fix.
6809
6810 2011-10-17 Chong Yidong <cyd@gnu.org>
6811
6812 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6813
6814 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6815
6816 * dirtrack.el (dirtrack): Support shell buffers with path
6817 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6818
6819 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6820
6821 * json.el: Bump version to 1.3 and note change in History.
6822 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6823
6824 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * comint.el (comint-insert-input, comint-send-input)
6827 (comint-get-old-input-default, comint-backward-matching-input)
6828 (comint-next-prompt): Use nil instead of `input' for field property of
6829 past user input (bug#114).
6830
6831 * minibuffer.el (completion--replace): Inherit surrounding properties
6832 (bug#114).
6833 (minibuffer-complete-and-exit): Use it.
6834
6835 * comint.el (comint--table-subvert): Quote the all-completions output
6836 (bug#9160).
6837
6838 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6839
6840 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6841
6842 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6843 window on right of selected. (Bug#9350) Reword other window
6844 entries and separate them from frame entries.
6845
6846 2011-10-15 Glenn Morris <rgm@gnu.org>
6847
6848 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6849 Doc fixes.
6850
6851 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6852
6853 * net/network-stream.el (network-stream-open-starttls):
6854 Improve detection of failure due to lack of TLS support.
6855
6856 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6857 putting the input text in front and in bold.
6858
6859 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6862
6863 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6864 empty buffer.
6865
6866 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6867 unread-command-events rather than pushing yet-another event.
6868
6869 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6870
6871 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6872 the explanation of the possible choices. Make the options passed
6873 to completing-read shorter.
6874
6875 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6876
6877 * textmodes/flyspell.el (flyspell-large-region): Make sure
6878 extended character mode is used if defined (Bug#1339).
6879
6880 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6881
6882 * simple.el (what-cursor-position): Fix the display of the
6883 character info for LRE, LRO, RLE, and RLO characters by appending
6884 an invisible PDF.
6885
6886 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6889 even in case of error; add debug spec; simplify data flow.
6890 (with-timeout-handler): Remove.
6891
6892 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6893
6894 Fix Bug#6019, Bug#9315.
6895
6896 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6897 complete `buffer-file-name', the local file name part could look
6898 remotely (for example on VMS).
6899
6900 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6901 `tramp-run-real-handler'.
6902 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6903 already quoted by '"'.
6904
6905 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6906 Let `file-name-handler-alist' be nil, the local file name part
6907 could look remotely (for example on VMS).
6908
6909 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6912 from here...
6913 (flyspell-post-command-hook): ...to here.
6914
6915 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6918 if not needed.
6919 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6920 using completion. Protect against "slow" callers.
6921 Remove the "message hack".
6922
6923 2011-10-11 Juri Linkov <juri@jurta.org>
6924
6925 * isearch.el (isearch-lazy-highlight-word): New variable.
6926 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6927 Use it. (Bug#9727)
6928
6929 2011-10-11 Glenn Morris <rgm@gnu.org>
6930
6931 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6932 like f90-previous-statement does.
6933
6934 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6935
6936 * eshell/eshell.el (eshell-command): History should be saved
6937 only in interactive use, to avoid error.
6938
6939 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * minibuffer.el (completion-file-name-table): Fix last change,
6942 i.e. ignore normal errors but not the other ones.
6943
6944 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6945
6946 * window.el (special-display-buffer-names)
6947 (special-display-regexps): Remove some remnants of earlier
6948 changes from doc-strings.
6949 (quit-windows-on): New function.
6950
6951 * vc/vc.el (vc-revert, vc-rollback):
6952 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6953 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6954 (Bug#6183) (Bug#7074) (Bug#7447)
6955
6956 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (frame-auto-hide-function): Add version tag.
6959 (Bug#9699)
6960
6961 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6962
6963 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6964 condition.
6965
6966 2011-10-09 Leo Liu <sdl.web@gmail.com>
6967
6968 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6969 (Bug#9701)
6970
6971 2011-10-08 Glenn Morris <rgm@gnu.org>
6972
6973 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6974 before the first code statement zero indent. (Bug#9690)
6975
6976 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6977
6978 * simple.el (count-words-region): Always count in the region.
6979 Report the number of lines and characters too.
6980 (count-words): New command, which counts in the buffer if the
6981 region is inactive, as count-words-region used to.
6982 (count-words--message): New function. Handle plurals.
6983 (count-lines-region): Make it an alias for count-words-region.
6984
6985 * bindings.el (esc-map): Replace count-lines-region with
6986 count-words-region.
6987
6988 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6989
6990 * window.el (window--delete): Delete dedicated frame
6991 unconditionally when argument KILL is non-nil. (Bug#9699)
6992 (switch-to-buffer): Fix doc-string typo.
6993
6994 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6995
6996 * eshell/eshell.el (eshell-command): Avoid using hooks.
6997
6998 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6999
7000 * bindings.el ([M-left],[M-right]): Bind to left-word and
7001 right-word respectively.
7002
7003 2011-10-07 Glenn Morris <rgm@gnu.org>
7004
7005 * cus-start.el (debug-on-quit): Fix custom type.
7006
7007 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7008
7009 * subr.el (define-key-after): Clarify that the function is not
7010 useful for non-menu keymaps.
7011
7012 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7013
7014 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7015
7016 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7017 in current minibuffer (Fix bug with recursive minibuffers).
7018
7019 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7020
7021 * progmodes/gdb-mi.el (gdb): Doc fix.
7022
7023 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7024
7025 * window.el (frame-auto-hide-function): New option replacing
7026 frame-auto-delete. Suggested by Stefan Monnier.
7027 (window--delete): Call frame-auto-hide-function instead of
7028 investigating frame-auto-delete.
7029 (window-point-1, set-window-point-1): New functions.
7030 (window-in-direction, record-window-buffer, window-state-get-1)
7031 (display-buffer-record-window): Use window-point-1 instead of
7032 window-point.
7033 (set-window-buffer-start-and-point): Use set-window-point-1.
7034
7035 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7038
7039 2011-10-05 Glenn Morris <rgm@gnu.org>
7040
7041 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7042 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7043
7044 2011-10-05 Leo Liu <sdl.web@gmail.com>
7045
7046 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7047 works with buffer object.
7048
7049 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * mpc.el (mpc-tool-bar-map): Add labels.
7052
7053 2011-10-04 Glenn Morris <rgm@gnu.org>
7054
7055 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7056
7057 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7058
7059 * window.el (window--delete): New function.
7060 (frame-auto-delete): Resuscitate option.
7061 (bury-buffer, replace-buffer-in-windows)
7062 (quit-window): Rewrite using window--delete.
7063 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7064 Pass display-buffer-mark-dedicated to window--display-buffer-2
7065 (Bug#9639).
7066
7067 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7070 returns a list (bug#9554). Add remote file name completion.
7071 * comint.el (comint--table-subvert): Curry and get quote&unquote
7072 functions as arguments.
7073 (comint--complete-file-name-data): Adjust call accordingly.
7074 * pcomplete.el (pcomplete--table-subvert): Remove.
7075 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7076
7077 * minibuffer.el (completion-table-case-fold): Use currying.
7078 (completion--styles-type, completion--cycling-threshold-type):
7079 New constants.
7080 (completion-styles, completion-category-overrides)
7081 (completion-cycle-threshold): Use them.
7082 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7083 completion-table-case-fold.
7084
7085 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7086
7087 * minibuffer.el (completion-category-overrides): Fix type of styles
7088 and add more user friendly tags (bug#9660).
7089
7090 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7093 (mule-input-method-string): New widget.
7094 (default-input-method, language-info-custom-alist): Use it.
7095
7096 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * pcomplete.el: Require comint.
7099 (pcomplete--common-suffix): Remove.
7100 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7101 (pcomplete--table-subvert): Sync with comint--table-subvert.
7102 (pcomplete--entries): Use comint-completion-file-name-table.
7103 * comint.el (comint-unquote-filename): Simplify.
7104 (comint-completion-file-name-table): New function (bug#9616).
7105 (comint--complete-file-name-data): Use it.
7106
7107 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7108 (pcmpl-gnu-tar-buffer): Remove.
7109 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7110 around. Make sure pcomplete-suffix-list is only changed temporarily.
7111 Don't look inside the tar's file if it's too large.
7112
7113 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7114
7115 * cus-edit.el (custom-mode-map):
7116 * epa.el (epa-key-list-mode-map):
7117 * man.el (Man-mode-map):
7118 * startup.el (splash-screen-keymap):
7119 * simple.el (special-mode-map): Use scroll-up-command and
7120 scroll-down-command.
7121
7122 * progmodes/idlw-help.el (idlwave-help-mode-map):
7123 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7124 * net/newst-plainview.el (newsticker-mode-map):
7125 * emulation/ws-mode.el (wordstar-mode-map):
7126 * emulation/vi.el (vi-com-map):
7127 * calc/calc-graph.el (calc-graph-show-dumb):
7128 * term/sun.el (terminal-init-sun):
7129 * term/ns-win.el (global-map):
7130 * progmodes/grep.el (grep-mode-map):
7131 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7132 * mail/rmail.el (rmail-mode-map):
7133 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7134
7135 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7136 custom-safe-themes as special.
7137
7138 2011-10-01 Julien Danjou <julien@danjou.info>
7139
7140 * notifications.el (notifications-notify): Fix docstring.
7141
7142 2011-10-01 Per Starbäck <per@starback.se>
7143
7144 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7145
7146 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7147
7148 * startup.el (command-line-1): Fix last fix by inserting
7149 initial-scratch-message into *scratch* before displaying it.
7150 (Bug#9605) and (Bug#9636)
7151
7152 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7153
7154 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7155 window is hscrolled, move by logical lines. (Bug#9607)
7156 (line-move-visual): Update the doc string to the above effect.
7157
7158 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7159
7160 * window.el (display-buffer-record-window): When WINDOW is the
7161 selected window use `point' instead of `window-point'. (Bug#9626)
7162
7163 * startup.el (command-line-1): Use insert-before-markers when
7164 inserting initial-scratch-message. (Bug#9605)
7165
7166 * help.el (help-window): Remove variable.
7167
7168 2011-09-29 Glenn Morris <rgm@gnu.org>
7169
7170 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7171
7172 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7173
7174 * descr-text.el (describe-char-categories): Accept category
7175 descriptions more than one line long.
7176
7177 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * simple.el (delete-trailing-whitespace): Fix last change.
7180
7181 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7182 Don't confuse "y => 3" as the beginning of a `y' operation.
7183
7184 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7185 object has more than 4 slots (bug#9613).
7186
7187 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7188
7189 * subr.el (with-output-to-temp-buffer):
7190 * net/quickurl.el (quickurl, quickurl-browse-url):
7191 Fix typos in docstrings.
7192
7193 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7194
7195 * minibuffer.el (completion-styles)
7196 (completion-category-overrides): Cross reference each other in doc
7197 strings.
7198
7199 2011-09-27 Glenn Morris <rgm@gnu.org>
7200
7201 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7202 to split-string. (Bug#9606)
7203
7204 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205
7206 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7207 (bug#9615).
7208
7209 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * emacs-lisp/package.el (list-packages): Fix echo area message.
7212
7213 2011-09-27 Leo Liu <sdl.web@gmail.com>
7214
7215 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7216
7217 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7218
7219 * net/dbus.el (dbus-unregister-object): Don't release services for
7220 registered signals. (Bug#9581)
7221
7222 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7223
7224 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7225 function that picks between cfengine 2 and 3 support
7226 automatically. Update docs accordingly.
7227
7228 2011-09-22 Kenichi Handa <handa@m17n.org>
7229
7230 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7231 ZERO.
7232 (indian-itrans-v5-table-for-tamil): New variable.
7233 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7234
7235 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7236
7237 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7238 that's true if the current command involved collapsing of text.
7239 It's reset to false at the beginning of the next command.
7240 (allout-post-command-business): Move the cursor to the beginning
7241 of entry if the cursor is hidden and collapsing activity just
7242 happened.
7243
7244 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7245
7246 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7247 tracking (Bug#9541).
7248
7249 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7250
7251 * net/newst-reader.el (newsticker-html-renderer)
7252 (newsticker-show-news): Automatically load html rendering package
7253 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7254 because w3m-fill-column is let-bound" and the error "Symbol's value
7255 as variable is void: w3m-fill-column".
7256
7257 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7258
7259 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7260 Release services only if they are defined. (Bug#9581)
7261
7262 2011-09-23 Richard Stallman <rms@gnu.org>
7263
7264 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7265 distinguish start of paragraph from start of its text.
7266
7267 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7268
7269 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7270 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7271 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7272
7273 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7274
7275 * international/mule-diag.el (mule-diag): Insert a newline after
7276 each fontset description.
7277
7278 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * simple.el (delete-trailing-whitespace):
7281 Document last change; simplify.
7282
7283 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7284
7285 * simple.el (delete-trailing-whitespace): Also delete
7286 extra newlines at the end of the buffer.
7287
7288 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7289 (picture-newline): Use forward-line so as to ignore fields.
7290
7291 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * subr.el (with-wrapper-hook): Fix edebug spec.
7294
7295 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296
7297 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7298 (bug#4538).
7299
7300 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7301
7302 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7303 Fix nasty bug using wrong cached values.
7304
7305 2011-09-23 Alan Mackenzie <acm@muc.de>
7306
7307 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7308
7309 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7310
7311 * window.el (pop-to-buffer): Ensure right window is selected if we
7312 chose another frame.
7313
7314 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7315
7316 * simple.el (what-cursor-position): Use get-char-property-change
7317 and next-single-char-property-change, to be able to show display
7318 properties that come from overlays as well as text properties.
7319
7320 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7321
7322 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7323
7324 * cmuscheme.el (run-scheme, switch-to-scheme):
7325 * cus-edit.el (customize-group, custom-buffer-create)
7326 (customize-browse):
7327 * info.el (info):
7328 * shell.el (shell):
7329 * mail/sendmail.el (mail):
7330 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7331
7332 2011-09-22 Richard Stallman <rms@gnu.org>
7333
7334 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7335 move back only to line beg, don't move back over blank lines.
7336
7337 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7338
7339 * files.el (copy-directory): Set directory attributes only in case
7340 they could be retrieved from the source directory. (Bug#9565)
7341
7342 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7343
7344 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7345 (hs-find-block-beginning, hs-hide-level-recursive):
7346 Ignore strings as well as comments. (Bug#9502)
7347
7348 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7349
7350 * progmodes/sql.el (sql-comint-postgres):
7351 Convert port number to a string. (Bug#9566)
7352
7353 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7354
7355 * window.el (quit-window): Undedicate window when switching to
7356 previous buffer. Reported by Thierry Volpiatto
7357 <thierry.volpiatto@gmail.com>.
7358 (special-display-popup-frame): When popping up a new frame reset
7359 its previous buffers to nil. Simplify code.
7360
7361 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7364 and process filter, as done also in `shell-command'.
7365
7366 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7367
7368 * window.el (set-window-buffer-start-and-point):
7369 Call set-window-start with NOFORCE argument t.
7370 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7371 (quit-window): Reword doc-string. Handle new format of
7372 quit-restore parameter. Don't delete window if it has a
7373 previous buffer we can show instead of the present one.
7374 (display-buffer-record-window): Rewrite using a new format for
7375 the quit-restore window parameter
7376 (special-display-popup-frame, display-buffer-same-window)
7377 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7378 (display-buffer-pop-up-window, display-buffer-use-some-window):
7379 Adapt symbol passed to display-buffer-record-window.
7380 * help.el (help-window-setup): Handle new format of quit-restore
7381 parameter.
7382
7383 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * faces.el (face-list): Fix docstring (bug#9564).
7386
7387 * window.el (display-buffer--action-function-custom-type):
7388 Don't include internal functions in the Custom interface.
7389
7390 2011-09-20 Juri Linkov <juri@jurta.org>
7391
7392 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7393 (Info-forward-node, Info-backward-node, Info-next-preorder)
7394 (Info-last-preorder): Use it. (Bug#9528)
7395
7396 2011-09-20 Juri Linkov <juri@jurta.org>
7397
7398 * info.el (Info-last-preorder): Visit last menu item only when
7399 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7400
7401 2011-09-20 Julien Danjou <julien@danjou.info>
7402
7403 * password-cache.el (password-cache-remove): Remove entries even if the
7404 value is nil, so that password with a nil value (negative caching) is
7405 possible to invalidate.
7406
7407 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7408
7409 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7410 all whitespace around breakpoint. (Bug#9553)
7411 (f90-find-breakpoint): Only break at whitespace inside a comment.
7412
7413 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * minibuffer.el (completion-file-name-table): Keep track of errors.
7416 (completion-table-with-predicate): Handle the case where pred1 is nil.
7417 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7418
7419 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7422 (debugger-return-value): Signal an error if the debugging context does
7423 not await any return value.
7424
7425 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7426 * image-mode.el (image-toggle-display-text)
7427 (image-toggle-display-image): Stay away from evil `intangible'.
7428
7429 2011-09-19 Leo Liu <sdl.web@gmail.com>
7430
7431 * replace.el (occur-revert-arguments): Make it permanent-local.
7432 (occur-mode): Don't call font-lock-defontify.
7433
7434 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7435
7436 * net/ldap.el (ldap-search-internal): Don't push empty search
7437 result (Bug#9508).
7438
7439 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7442
7443 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7444
7445 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7446 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7447
7448 2011-09-18 Juri Linkov <juri@jurta.org>
7449
7450 * buff-menu.el (Buffer-menu-mode-map):
7451 * dired.el (dired-mode-map):
7452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7453 (lisp-interaction-mode-map):
7454 * emacs-lisp/package.el (package-menu-mode-map):
7455 * epa.el (epa-key-list-mode-map):
7456 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7457 (menu-bar-options-menu):
7458 * outline.el (outline-mode-menu-bar-map):
7459 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7460 * vc/vc-dir.el (vc-dir-menu-map):
7461 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7462 Capitalize non-function content words in menu item strings.
7463
7464 * dired.el (dired-mode-map): Add menu item for
7465 `image-dired-dired-toggle-marked-thumbs'.
7466
7467 2011-09-18 Juri Linkov <juri@jurta.org>
7468
7469 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7470 to `isearch-case-fold-search' and restore its original value
7471 after the `isearch-mode' call.
7472
7473 2011-09-18 Juri Linkov <juri@jurta.org>
7474
7475 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7476 because `zgrep' returns 1 for successful matches (bug#9226).
7477
7478 2011-09-18 Juri Linkov <juri@jurta.org>
7479
7480 * info.el (Info-extract-menu-node-name): Check the second match
7481 for empty string (second test-case of bug#9528).
7482 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7483 intermediate nodes to the history (first test-case of bug#9528).
7484
7485 2011-09-18 Juri Linkov <juri@jurta.org>
7486
7487 * info.el (Info-mode-syntax-table): New variable.
7488 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7489
7490 2011-09-18 Juri Linkov <juri@jurta.org>
7491
7492 * info.el (Info-file-supports-index-cookies):
7493 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7494 outputs one more line for long file names (bug#4142).
7495
7496 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * newcomment.el (comment-normalize-vars): If prompting for
7499 comment-start, set comment-start-skip too (Bug#8424).
7500
7501 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7502
7503 * icomplete.el: Fix previous fix of Bug#5849.
7504 (icomplete-mode): Don't set completion-show-inline-help.
7505 (icomplete-minibuffer-setup): Set completion-show-inline-help
7506 locally during icompletion.
7507
7508 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7509
7510 * woman.el (woman2-process-escapes): Don't delete unrecognized
7511 escapes (Bug#7843).
7512
7513 * files.el (inhibit-first-line-modes-regexps): Add image files.
7514 (hack-local-variables-prop-line): Return nil for malformed
7515 prop-lines (Bug#9044).
7516
7517 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp.el (top): Don't require 'shell.
7520 (tramp-methods): Fix docstring.
7521 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7522 Return complete remote file name. Handle "smb" case.
7523 Use `tramp-tmpdir', if defined for the respective method.
7524 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7525
7526 * net/tramp-compat.el (top): Require 'shell.
7527
7528 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7529 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7530 `tramp-current-host'.
7531 (tramp-get-remote-tmpdir): Remove.
7532
7533 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7534 `tramp-tmpdir' entries.
7535 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7536 (tramp-smb-handle-file-attributes): Ignore errors.
7537 (tramp-smb-wait-for-output): Check also for process end.
7538
7539 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
7541 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7542 when sending QUIT (bug#9312).
7543
7544 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7545
7546 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7547 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7548 occur-mode-display-occurrence.
7549 (occur-edit-mode): Add usage message.
7550 (occur-cease-edit): New command.
7551 (occur-after-change-function): Use text properties to find the
7552 position of the prefix text.
7553 (occur-engine): Set stickiness of prefix text properties.
7554
7555 2011-09-17 Glenn Morris <rgm@gnu.org>
7556
7557 * progmodes/etags.el (complete-tag):
7558 Fix call to completion-in-region. (Bug#9526)
7559
7560 2011-09-17 Juri Linkov <juri@jurta.org>
7561
7562 * textmodes/ispell.el (ispell-word): Add to the error message
7563 the word, ispell program name and current dictionary (bug#9121).
7564 (ispell-tex-arg-end): Capitalize "error" in the error message.
7565
7566 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7567
7568 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7569 check. (Bug#4251)
7570
7571 2011-09-17 Juri Linkov <juri@jurta.org>
7572
7573 * window.el (window-safe-min-height, window-safe-min-width):
7574 Fix typos (followup to bug#9522).
7575
7576 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7577
7578 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7579
7580 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7581
7582 * simple.el (line-move): If goal-column is set, move by logical
7583 lines, not by display lines. (Bug#971)
7584 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7585 to reflect the above change.
7586
7587 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * image.el (imagemagick-register-types): Use regexp-opt.
7590
7591 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * window.el (display-buffer-base-action): Rename from
7594 display-buffer-default-action. Make default value empty.
7595 (display-buffer-overriding-action): Convert to defvar.
7596 (display-buffer-fallback-action): New var.
7597
7598 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7599
7600 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7601 declaration.
7602 (package--add-to-archive-contents): If there is a duplicate entry
7603 with an older version, remove it.
7604 (package-menu-mark-delete, package-menu-mark-install)
7605 (package-menu-mark-unmark): Make unused args optional.
7606 (package-menu-mark-obsolete-for-deletion):
7607 Use package-menu-get-status instead of a regexp search.
7608 (package-menu-get-status): Use tabulated-list-entry.
7609 (package-menu-mark-upgrades): New command.
7610 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7611 (package-menu-execute): Do installation before deletion.
7612 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7613 instead of checking major-mode.
7614 (package-menu--find-upgrades): New function.
7615
7616 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7617
7618 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7619 passwords in the log buffer.
7620 (smtpmail-process-filter): Update the process marker so that the
7621 "broken by peer" status message is inserted in the right place.
7622
7623 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7626 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7627 bibtex-completion-at-point-function.
7628 (bibtex-completion-at-point-function): Use them.
7629
7630 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7631
7632 * mpc.el (mpc-constraints-tag-lookup): New function.
7633 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7634 also to browser "album|playlist".
7635
7636 2011-09-14 Juri Linkov <juri@jurta.org>
7637
7638 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7639 (isearch-edit-string): Use length of `isearch-string' when
7640 `isearch-fail-pos' returns nil.
7641 (isearch-message): Remove duplicate code and call
7642 `isearch-fail-pos' with arg `t'.
7643
7644 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7645
7646 * replace.el (occur-mode-goto-occurrence): Don't force using other
7647 window (Bug#9499).
7648
7649 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7650
7651 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7652
7653 * window.el (display-buffer-window): Remove.
7654 (display-buffer-record-window): Use help-setup window parameter
7655 instead of variable display-buffer-window.
7656 (display-buffer-function, special-display-buffer-names)
7657 (special-display-function): Mention help-setup parameter instead
7658 of display-buffer-window in doc-string.
7659 * help.el (help-window-setup): New argument help-window.
7660 Use help-window-setup parameter instead of display-buffer-window.
7661 Reword some messages.
7662 (with-help-window): Pass window used for displaying the buffer
7663 to help-window-setup. Don't set display-buffer-window.
7664
7665 2011-09-13 Glenn Morris <rgm@gnu.org>
7666
7667 * emacs-lisp/debug.el (debugger-make-xrefs):
7668 Preserve point. (Bug#9462)
7669
7670 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7671
7672 * window.el (window-deletable-p): Use next-frame.
7673
7674 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7675
7676 * window.el (window-auto-delete): Remove.
7677 (window-deletable-p): Remove argument FORCE. Don't deal with
7678 dedication and previous buffers.
7679 (switch-to-prev-buffer): Don't delete window.
7680 (delete-windows-on): Delete a window's frame if and only if the
7681 window is dedicated.
7682 (replace-buffer-in-windows): Delete buffer's window or frame if
7683 and only if window is dedicated.
7684 (quit-window): Handle quit-restore as before last change.
7685 (bury-buffer): Delete window only if window-deletable-p returns t.
7686
7687 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7688
7689 * window.el (window-deletable-p): Never delete the last frame on a
7690 given terminal.
7691
7692 2011-09-13 Glenn Morris <rgm@gnu.org>
7693
7694 * help.el (describe-key-briefly): Copy previous standard-output change.
7695
7696 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7697
7698 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7699
7700 2011-09-13 Glenn Morris <rgm@gnu.org>
7701
7702 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7703 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7704
7705 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7706
7707 * dired-aux.el (dired-mark-read-string): Don't return default
7708 value on empty input (Bug#9361).
7709 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7710 Omit initial minibuffer contents.
7711 (dired-do-chmod): Signal an error on empty input.
7712 (dired-mark-read-string): Don't return default on empty input.
7713
7714 * files.el (file-modes-symbolic-to-number): Doc fix.
7715
7716 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * international/mule-cmds.el (ucs-completions): Remove.
7719 (read-char-by-name): Use complete-with-action instead; add metadata.
7720
7721 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7722
7723 * window.el (display-buffer--action-function-custom-type)
7724 (display-buffer--action-custom-type): New vars.
7725 (display-buffer-alist, display-buffer-default-action)
7726 (display-buffer-overriding-action): Add defcustom types.
7727
7728 * frame.el (delete-other-frames): Doc fix (Bug#276).
7729
7730 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731
7732 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7733
7734 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7735
7736 Change modes that used same-window-* vars to use switch-to-buffer.
7737
7738 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7739 Use switch-to-buffer.
7740
7741 * cus-edit.el (customize-group, custom-buffer-create)
7742 (customize-browse, custom-buffer-create-other-window):
7743 Use switch-to-buffer or switch-to-buffer-other-window.
7744
7745 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7746 (Info-prev, Info-up, Info-speedbar-goto-node)
7747 (info-display-manual): Use switch-to-buffer.
7748 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7749
7750 * mail/sendmail.el (mail): Use switch-to-buffer.
7751 (mail-recover): Use switch-to-buffer-other-window.
7752
7753 * cmuscheme.el (run-scheme, switch-to-scheme):
7754 * ielm.el (ielm):
7755 * shell.el (shell):
7756 * net/rlogin.el (rlogin):
7757 * net/telnet.el (telnet, rsh):
7758 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7759
7760 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7761
7762 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7763
7764 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
7766 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7767 so don't mention it (bug#9301).
7768 (dired-sort-toggle-or-edit): Clarify string further.
7769
7770 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7771 match `x', `w32' and `ns', like the manual says (bug#9029).
7772
7773 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7774 (process-kill-buffer-query-function): Mention the buffer name in
7775 the query.
7776
7777 * image-mode.el (image-next-line): The line parameter is mandatory
7778 (bug#9258).
7779
7780 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7781 which can be useful (bug#9301).
7782
7783 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7784
7785 * subr.el (match-string): Mention that the current buffer should
7786 be the same as the search was done in (bug#9282).
7787
7788 * facemenu.el: Disable the remove-* commands if the mark isn't
7789 active (bug#9162).
7790
7791 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7794 of display-buffer.
7795 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7796
7797 * replace.el (occur-mode-goto-occurrence)
7798 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7799 and display-buffer.
7800
7801 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7802 display-buffer.
7803
7804 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7805 special-display and same-window variables.
7806 (mail-other-window): Use switch-to-buffer-other-window.
7807 (mail-other-frame): USe switch-to-buffer-other-frame.
7808
7809 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7810 Use display-buffer-other-frame.
7811 (gdb-display-gdb-buffer): Use pop-to-buffer.
7812
7813 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7814
7815 * progmodes/python.el: Don't set same-window-buffer-names.
7816
7817 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7818
7819 * window.el (display-buffer-alist): Add *Python*.
7820
7821 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7822
7823 * window.el (display-buffer-alist): Add entry for buffers
7824 previously handled same-window-*.
7825 (display-buffer-alist, display-buffer-default-action)
7826 (display-buffer-overriding-action): Mark as risky.
7827 (display-buffer-alist): Document action function changes.
7828 (display-buffer--same-window-action)
7829 (display-buffer--other-frame-action): New variables.
7830 (switch-to-buffer, display-buffer-other-frame): Use them.
7831 (display-buffer): Rename reuse-frame entry to reusable-frames.
7832 (display-buffer-reuse-selected-window): Function deleted.
7833 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7834 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7835 (display-buffer-special): New function.
7836 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7837 display-buffer-reuse-or-pop-window. Split off special-display
7838 part into display-buffer-special.
7839 (display-buffer-use-some-window): Don't perform any special
7840 pop-up-frames handling.
7841 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7842 (display-buffer--maybe-same-window): Rename from
7843 display-buffer-maybe-same-window.
7844
7845 * info.el: Don't set same-window-regexps.
7846 (info-setup): New function.
7847 (info-other-window, info): Call it.
7848
7849 * cus-edit.el: Don't set same-window-regexps.
7850 (customize-group): New argument.
7851 (customize-group-other-window): Use it.
7852 (customize-face, customize-face-other-window): Likewise.
7853 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7854
7855 * net/rlogin.el:
7856 * net/telnet.el:
7857 * progmodes/gud.el: Don't set same-window-regexps.
7858
7859 * cmuscheme.el:
7860 * ielm.el:
7861 * shell.el:
7862 * mail/sendmail.el:
7863 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7864
7865 2011-09-10 Juri Linkov <juri@jurta.org>
7866
7867 * isearch.el (isearch-edit-string): Remove obsolete mention of
7868 `C-w' (`isearch-yank-word-or-char') from docstring.
7869 (isearch-query-replace): Fix typo in docstring (bug#9466).
7870
7871 2011-09-10 Juri Linkov <juri@jurta.org>
7872
7873 * paren.el (show-paren-function): Don't show escaped parens.
7874 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7875
7876 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7877
7878 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7879 (mm-default-file-encoding): Remove autoload forms, they are
7880 replaced with autoload cookies in mml.el and mm-encode.el.
7881 (mail-add-attachment): New command.
7882 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7883 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7884 the doc string.
7885 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7886
7887 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7888
7889 * simple.el (count-words-region): Use buffer if there's no region
7890 (bug#9429).
7891
7892 2011-09-09 Juri Linkov <juri@jurta.org>
7893
7894 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7895 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7896 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7897
7898 2011-09-09 Alan Mackenzie <acm@muc.de>
7899
7900 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7901 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7902
7903 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7904
7905 Fix for Savannah bug#9392.
7906 * simple.el (mail-encode-mml): New defvar.
7907
7908 * mail/rmail.el (mail-encode-mml): Add a defvar.
7909 (rmail-enable-mime-composing): Default to t.
7910 (rmail-forward): Use MIME method of forwarding only if both
7911 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7912 Set mail-encode-mml non-nil if the MIME method was used.
7913
7914 * mail/sendmail.el (mml-to-mime): Add autoload form.
7915 (mail-encode-mml): Add a defvar.
7916 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7917 to nil.
7918 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7919 message through mml-to-mime, and reset mail-encode-mml to nil.
7920
7921 2011-09-09 Glenn Morris <rgm@gnu.org>
7922
7923 * woman.el (woman-if-body): When processing an .el block,
7924 do not delete the next .el block as well. (Bug#9447)
7925 (woman-special-characters): Add oq, cq, and hy characters.
7926
7927 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7928
7929 * window.el (window-deletable-p): Make sure window is live before
7930 invoking window-prev-buffers.
7931
7932 2011-09-08 Leo Liu <sdl.web@gmail.com>
7933
7934 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7935
7936 2011-09-08 Juri Linkov <juri@jurta.org>
7937
7938 * progmodes/compile.el (compilation-environment): Make it
7939 a defcustom (bug#8340).
7940
7941 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7942
7943 * window.el (frame-auto-delete): Rename to window-auto-delete.
7944 Make it control auto-deletion of windows and/or frames.
7945 (window-deletable-p): New argument FORCE. Rewrite conditions
7946 for deleting window/frame. (Bug#9419)
7947 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7948 Rewrite handling of case when window/frame can be deleted.
7949 (delete-windows-on): Call window-deletable-p with new FORCE
7950 argument t. (Bug#9456)
7951
7952 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7953
7954 * help-mode.el (help-mode): Restore autoload.
7955
7956 2011-09-07 Juri Linkov <juri@jurta.org>
7957
7958 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7959 `compilation-environment'. Set buffer-local
7960 `compilation-environment' to `thisenv' later after (funcall mode).
7961 (Bug#8340)
7962
7963 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7964 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7965 instead of replacing its value. (Bug#8340)
7966
7967 2011-09-07 Juri Linkov <juri@jurta.org>
7968
7969 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7970 based on text properties put by `grep-filter' instead of matching
7971 escape sequences.
7972 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7973 to the value of `grep-error-screen-columns' (bug#9438).
7974
7975 2011-09-07 Juri Linkov <juri@jurta.org>
7976
7977 * simple.el (next-error-highlight, next-error-highlight-no-select):
7978 Doc fix (bug#9432).
7979
7980 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7981
7982 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7983 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7984
7985 2011-09-07 Leo Liu <sdl.web@gmail.com>
7986
7987 * net/rcirc.el (rcirc-mode): Conditionally initialize
7988 rcirc-input-ring.
7989
7990 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * emacs-lisp/find-func.el (find-function-C-source): Only set
7993 find-function-C-source-directory after checking that we found a source
7994 file there (bug#9440).
7995
7996 2011-09-06 Alan Mackenzie <acm@muc.de>
7997
7998 * isearch.el (isearch-other-meta-char): Wherever a key list is
7999 unread, "unread" the prefix arg, too. This fixes bug #8901.
8000
8001 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8002
8003 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8004
8005 2011-09-05 Juri Linkov <juri@jurta.org>
8006
8007 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8008
8009 2011-09-05 Juri Linkov <juri@jurta.org>
8010
8011 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8012 keeping point where processing of grep matches begins, and
8013 continue to delete remaining escape sequences from the same point.
8014 (grep-filter): Make leading zero optional in "0?1;31m" because
8015 git-grep emits "\033[1;31m" escape sequences unlike expected
8016 "\033[01;31m" as GNU Grep does (bug#9408).
8017 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8018
8019 2011-09-05 Juri Linkov <juri@jurta.org>
8020
8021 * subr.el (y-or-n-p): Capitalize "yes".
8022
8023 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8024
8025 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8026 `tramp-cache-unload-hook' where appropriate.
8027 (tramp-methods): Rename `tramp-remote-sh' to
8028 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8029 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8030
8031 * net/tramp-sh.el (top): Don't require 'shell.
8032 (tramp-methods): Add `tramp-remote-shell' and
8033 `tramp-remote-shell-args' entries.
8034 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8035 (tramp-sh-handle-shell-command): Remove.
8036 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8037 Use `tramp-remote-shell'.
8038
8039 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8040
8041 * mail/sendmail.el (sendmail-query-once-function): Delete.
8042 (sendmail-query-once): Save directly to send-mail-function.
8043 Update message-send-mail-function too.
8044
8045 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8046
8047 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8048
8049 * progmodes/python.el (python-mode-map): Use correct function to
8050 start python interpreter from menu-bar (as reported by Geert
8051 Kloosterman).
8052 (inferior-python-mode-map): Fix typo.
8053 (python-shell-map): Remove.
8054
8055 2011-09-03 Deniz Dogan <deniz@dogan.se>
8056
8057 * net/rcirc.el (rcirc-print): Simplify code for
8058 rcirc-scroll-show-maximum-output. There is no need to walk
8059 through all windows to find the right one.
8060
8061 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8062
8063 * help.el (help-return-method): Doc fix.
8064
8065 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8066
8067 * window.el (window-deletable-p): Don't return a non-nil value
8068 when there's a buffer that was shown in the window before.
8069 (Bug#9419)
8070 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8071 Set window's previous buffers to nil.
8072
8073 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8074
8075 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8076 newline before and after the tag line, so it doesn't interfere
8077 with determining the paragraph direction of bidirectional text.
8078
8079 2011-09-03 Leo Liu <sdl.web@gmail.com>
8080
8081 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8082
8083 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8086 (pop-to-buffer): Change interactive spec. Pass second argument
8087 directly to display-buffer.
8088 (display-buffer): Fix interactive spec. Use functionp to
8089 distinguish between a function and a list of functions.
8090
8091 * abbrev.el (edit-abbrevs):
8092 * arc-mode.el (archive-extract):
8093 * autoinsert.el (auto-insert):
8094 * bookmark.el (bookmark-bmenu-list):
8095 * files.el (find-file):
8096 * view.el (view-buffer):
8097 * progmodes/compile.el (compilation-goto-locus):
8098 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8099
8100 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8101
8102 * window.el (display-buffer-alist): Doc fix.
8103 (display-buffer): Add docstring. Don't treat
8104 display-buffer-default specially.
8105 (display-buffer-reuse-selected-window)
8106 (display-buffer-same-window, display-buffer-maybe-same-window)
8107 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8108 (display-buffer-pop-up-window)
8109 (display-buffer-reuse-or-pop-window)
8110 (display-buffer-use-some-window): New functions.
8111 (display-buffer-default-action): Use them.
8112 (display-buffer-default): Delete.
8113 (pop-to-buffer-1): Fix choice of actions.
8114
8115 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * minibuffer.el (completion--insert-strings): Don't get confused by
8118 completion entries that end with an LF char.
8119
8120 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8121
8122 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8123
8124 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8125
8126 * window.el (display-buffer): Restore interactive spec.
8127 (display-buffer-same-window, display-buffer-other-window):
8128 New functions.
8129 (pop-to-buffer-1): New function. Use the above.
8130 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8131 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8132
8133 * view.el (view-buffer-other-window, view-buffer-other-frame):
8134 Just use pop-to-buffer.
8135
8136 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8137
8138 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8139
8140 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8141
8142 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8143
8144 2011-08-31 Richard Stallman <rms@gnu.org>
8145
8146 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8147 of the separation of rmail-view-buffer from rmail-buffer.
8148 If you say no to "replace original", the decrypt is in the
8149 view buffer. If you say yes, the decrypt goes into the
8150 rmail buffer also.
8151
8152 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8153
8154 * window.el (display-buffer-window): Rewrite doc-string.
8155 (display-buffer-record-window): New function.
8156 (display-buffer-macro-specifiers)
8157 (display-buffer-even-window-sizes, display-buffer-set-height)
8158 (display-buffer-set-width, display-buffer-in-window)
8159 (display-buffer-reuse-window, display-buffer-split-specifiers)
8160 (display-buffer-side-specifiers, display-buffer-split-window-1)
8161 (display-buffer-split-window, display-buffer-split-atom-window)
8162 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8163 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8164 (display-buffer-other-window-means-other-frame)
8165 (display-buffer-normalize-special)
8166 (display-buffer-normalize-default)
8167 (display-buffer-normalize-argument)
8168 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8169 (display-buffer-normalize-specifiers, display-buffer-frame)
8170 (display-buffer-same-window, display-buffer-same-frame)
8171 (display-buffer-other-window)
8172 (display-buffer-same-frame-other-window)
8173 (display-buffer-other-frame, pop-to-buffer-same-window)
8174 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8175 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8176 (switch-to-buffer-same-frame)
8177 (switch-to-buffer-other-window-same-frame)
8178 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8179 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8180 (display-buffer-alist-set): Remove.
8181 (display-buffer-function, special-display-buffer-names)
8182 (special-display-regexps, special-display-function):
8183 In doc-string refer to display-buffer-window and quit-restore
8184 parameter.
8185 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8186 (special-display-frame-alist, special-display-popup-frame)
8187 (same-window-buffer-names, same-window-regexps, same-window-p)
8188 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8189 (split-window-preferred-function, split-height-threshold)
8190 (split-width-threshold, window-splittable-p)
8191 (split-window-sensibly, window--try-to-split-window)
8192 (window--frame-usable-p, even-window-heights)
8193 (window--even-window-heights, window--display-buffer-1)
8194 (window--display-buffer-2, display-buffer-other-frame):
8195 Restore old Emacs 23 code, order and doc-strings where applicable.
8196 (display-buffer-default, display-buffer-assq-regexp): New functions.
8197 (display-buffer-alist): Rewrite doc-string.
8198 (display-buffer-default-action)
8199 (display-buffer-overriding-action): New variables.
8200 (display-buffer, switch-to-buffer): Rewrite.
8201 (pop-to-buffer): Restore Emacs 23 behavior but use
8202 window-normalize-buffer-to-display.
8203 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8204 Restore Emacs 23 behavior but use
8205 window-normalize-buffer-to-switch-to.
8206 (pop-to-buffer-same-window): Rewrite.
8207 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8208 Rewrite using Emacs 23 options.
8209
8210 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8211
8212 * net/tramp.el (tramp-root-regexp): Remove.
8213 (tramp-completion-file-name-regexp-unified)
8214 (tramp-completion-file-name-regexp-separate)
8215 (tramp-completion-file-name-regexp-url): Don't use leading volume
8216 letter on win32 systems. (Bug#5303, Bug#9311)
8217 (tramp-drop-volume-letter): Simplify definition.
8218 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8219
8220 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8223 (bug#9356).
8224
8225 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8226
8227 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8228
8229 2011-08-29 Juri Linkov <juri@jurta.org>
8230
8231 * isearch.el (isearch-done): Don't display message "Mark saved"
8232 when arg `edit' is non-nil to prevent its flicker in the echo area.
8233
8234 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8235
8236 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8237 obsolete packages for deletion.
8238
8239 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8240
8241 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8242 (help-mode): Derive help-mode from special-mode. Don't invoke
8243 view-mode from help-mode.
8244 (help-xref-override-view-map): Remove.
8245 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8246 view-mode is not used anymore.
8247
8248 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8249
8250 * server.el (server-port): Doc fix.
8251
8252 * cus-theme.el (custom-theme-choose-mode): Inherit from
8253 special-mode (Bug#9124).
8254 (custom-theme-choose-mode-map): Add special-mode to parent.
8255
8256 2011-08-28 Alan Mackenzie <acm@muc.de>
8257
8258 * progmodes/cc-fonts.el
8259 (c-make-font-lock-BO-decl-search-function): New function.
8260 (c-basic-matchers-after - "Fontify the clauses after various
8261 keywords"): Extract the three keyword lists for the 3 erroneous
8262 constructs from the list of four, and use the new function above
8263 in place of an old one.
8264
8265 2011-08-28 Deniz Dogan <deniz@dogan.se>
8266
8267 * net/rcirc.el (rcirc-insert-prev-input)
8268 (rcirc-insert-next-input): Remove unused argument.
8269
8270 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8273
8274 2011-08-27 Alan Mackenzie <acm@muc.de>
8275
8276 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8277 handle function pointer parameters properly.
8278
8279 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8280
8281 * window.el (display-buffer-reuse-window): Fix case where
8282 selected window was reused with non-nil OTHER-WINDOW argument.
8283 (Bug#9381)
8284
8285 2011-08-27 Deniz Dogan <deniz@dogan.se>
8286
8287 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8288 oftc's NickServ messages.
8289
8290 2011-08-27 Glenn Morris <rgm@gnu.org>
8291
8292 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8293
8294 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8295
8296 * emacs-lisp/package.el (package-install): Call package-initialize
8297 if called interactively.
8298
8299 2011-08-26 Leo Liu <sdl.web@gmail.com>
8300
8301 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8302
8303 2011-08-25 Juri Linkov <juri@jurta.org>
8304
8305 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8306 `search-whitespace-regexp' (bug#9364).
8307
8308 2011-08-25 Juri Linkov <juri@jurta.org>
8309
8310 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8311 `regexp-search-ring' to their global values to protect from
8312 updating by `read-from-minibuffer' (bug#9185).
8313
8314 2011-08-25 Juri Linkov <juri@jurta.org>
8315
8316 * textmodes/ispell.el (ispell-command-loop): Add newline
8317 at the end of the "Use option `i'..." line.
8318
8319 2011-08-25 Juri Linkov <juri@jurta.org>
8320
8321 * battery.el (display-battery-mode): If `battery-status-function'
8322 or `battery-mode-line-format' is nil, display the message and set
8323 `display-battery-mode' to nil (bug#9363).
8324
8325 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8326
8327 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8328 bidi-string-mark-left-to-right; they are unnecessary now.
8329
8330 2011-08-25 Deniz Dogan <deniz@dogan.se>
8331
8332 * net/quickurl.el: Documentation typo fixes.
8333
8334 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8335
8336 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8337
8338 2011-08-25 Glenn Morris <rgm@gnu.org>
8339
8340 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8341
8342 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8343 (smtpmail-via-smtp): Handle nil response from smtp.
8344
8345 2011-08-24 Juri Linkov <juri@jurta.org>
8346
8347 * proced.el (proced-marked): Inherit from `error' instead of
8348 `font-lock-warning-face'.
8349
8350 * ibuffer.el (ibuffer-marked-face): Change default face from
8351 `font-lock-warning-face' to `warning'.
8352 (ibuffer-deletion-face): Change default face from
8353 `font-lock-type-face' to `error'.
8354
8355 * battery.el (battery-update): Use the face `error' instead of
8356 `font-lock-warning-face' (bug#6117).
8357
8358 2011-08-24 Juri Linkov <juri@jurta.org>
8359
8360 * faces.el (success): Change face color from "Green3" to
8361 "ForestGreen" on light background (bug#9353).
8362
8363 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8364
8365 * window.el (quit-window): Rename from quit-restore-window.
8366 Use same arglist as old quit-window.
8367 (frame-auto-delete): Doc fix.
8368
8369 * view.el (view-mode-exit): Use quit-window.
8370
8371 2011-08-24 Juri Linkov <juri@jurta.org>
8372
8373 * isearch.el (isearch-ring-adjust1): Start visiting previous
8374 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8375 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8376 for empty search string (when the last search string is reused
8377 automatically) to adjust the isearch ring to the last element and
8378 prepare the correct index for further M-p commands (bug#9185).
8379
8380 2011-08-24 Kenichi Handa <handa@m17n.org>
8381
8382 * international/ucs-normalize.el: If decomposition property of
8383 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8384 nil.
8385 (nfd, nfkd): Likewise.
8386
8387 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8390 from process filters aren't reliably transmitted to the surrounding
8391 accept-process-output.
8392 (mpc-proc-check): New function.
8393 (mpc-proc-sync): Use it (bug#8293)
8394
8395 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8398 Add compatibility functions (bug#9313).
8399
8400 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8401
8402 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8403
8404 * international/uni-bidi.el: Regenerate.
8405
8406 2011-08-23 Kenichi Handa <handa@m17n.org>
8407
8408 * international/charprop.el:
8409 * international/uni-bidi.el:
8410 * international/uni-category.el:
8411 * international/uni-combining.el:
8412 * international/uni-comment.el:
8413 * international/uni-decimal.el:
8414 * international/uni-decomposition.el:
8415 * international/uni-digit.el:
8416 * international/uni-lowercase.el:
8417 * international/uni-mirrored.el:
8418 * international/uni-name.el:
8419 * international/uni-numeric.el:
8420 * international/uni-old-name.el:
8421 * international/uni-titlecase.el:
8422 * international/uni-uppercase.el: Regenerate.
8423
8424 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8425
8426 * help.el (help-window-setup): Fix message displayed when other
8427 window is reused. (Bug#9341)
8428
8429 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8432 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8433
8434 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8435 Mark obsolete.
8436 * shell.el (shell-parse-pcomplete-arguments): New function.
8437 (shell-completion-vars): Use it instead (bug#9160).
8438
8439 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8442 strings and comments (bug#9333).
8443
8444 * emacs-lisp/debug.el (debug-arglist): New function.
8445 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8446 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8447
8448 2011-08-22 Juri Linkov <juri@jurta.org>
8449
8450 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8451 Revert regexp that highlights output switches to its old
8452 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8453
8454 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8455 to check for empty output (bug#9226).
8456
8457 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8458
8459 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8460 symbol-constituent as the default, as that stops font-lock from
8461 working properly (Bug#8843).
8462
8463 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8466 `coding-system-for-*' around the process open call to avoid
8467 auth-source side effects.
8468 (smtpmail-try-auth-methods): Expand the secret password.
8469 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8470 probe hangs.
8471
8472 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8473
8474 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8475
8476 * emacs-lisp/find-func.el (find-function-noselect): New arg
8477 lisp-only.
8478
8479 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8480 signal an error for built-in functions (Bug#6664).
8481
8482 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8483
8484 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8485 (smtpmail-try-auth-methods): Use it.
8486
8487 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8488
8489 * font-lock.el (font-lock-fontify-region)
8490 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8491 (font-lock-default-unfontify-buffer)
8492 (font-lock-default-fontify-region)
8493 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8494
8495 * progmodes/compile.el (compilation-error-properties):
8496 Fix confusion between file struct and message struct (Bug#9319).
8497 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8498 `ant' regexp.
8499
8500 * net/browse-url.el (browse-url-firefox): Don't call
8501 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8502
8503 2011-08-20 Glenn Morris <rgm@gnu.org>
8504
8505 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8506
8507 * tutorial.el (tutorial--default-keys): Update some default bindings.
8508
8509 * files.el (hack-local-variables): Fully ignore case for "mode:".
8510
8511 2011-08-20 Alan Mackenzie <acm@muc.de>
8512
8513 Resolve invalid use of a regexp in regexp-opt.
8514
8515 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8516 detection for a java annotation.
8517
8518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8519 detection for a java annotation.
8520
8521 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8522 handling for java.
8523 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8524
8525 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8526
8527 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8528 (Bug#9274).
8529
8530 2011-08-20 Alan Mackenzie <acm@muc.de>
8531
8532 Fontify CPP expressions correctly when starting in the middle of
8533 such a construct. Mainly for when jit-lock etc. starts a chunk
8534 here.
8535
8536 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8537 variable.
8538 (c-make-font-lock-search-form): New function, extracted from
8539 c-make-font-lock-search-function.
8540 (c-make-font-lock-search-function): Use the above function.
8541 (c-make-font-lock-context-search-function): New function.
8542 (c-cpp-matchers): Enhance the preprocessor expression case with
8543 the above function
8544 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8545 which takes an expression.
8546
8547 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8548
8549 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8550
8551 * window.el (display-buffer-reuse-window)
8552 (display-buffer-pop-up-window): Don't reuse or split a side
8553 window.
8554
8555 2011-08-19 Glenn Morris <rgm@gnu.org>
8556
8557 * files.el (hack-local-variables-prop-line, hack-local-variables):
8558 Downcase "Mode:". (Bug#9331)
8559
8560 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8561
8562 * international/characters.el: Add L and R categories.
8563
8564 * subr.el (bidi-string-mark-left-to-right): Rename from
8565 string-mark-left-to-right. Use category search.
8566
8567 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8568
8569 2011-08-18 Juri Linkov <juri@jurta.org>
8570
8571 * faces.el (error, warning, success): New faces with definitions
8572 copied from old default values of `font-lock-warning-face',
8573 `compilation-warning', `compilation-info' (bug#6117).
8574
8575 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8576
8577 * progmodes/compile.el (compilation-error): Inherit from `error'.
8578 (compilation-warning): Inherit from `warning'.
8579 (compilation-info): Inherit from `success'.
8580
8581 * dired.el (dired-marked): Inherit from `warning'.
8582 (dired-flagged): Inherit from `error'.
8583
8584 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8585
8586 * mail/smtpmail.el (auth-source): Require to avoid problems with
8587 binding variables (bug#9298). Also clean up some unused
8588 autoloads.
8589
8590 * net/network-stream.el (network-stream-open-starttls):
8591 Support using starttls.el without using gnutls-cli.
8592
8593 2011-08-17 Juri Linkov <juri@jurta.org>
8594
8595 * progmodes/grep.el (rgrep): Handle the case when
8596 `grep-find-command' is a cons cell (bug#9278).
8597
8598 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8599
8600 * window.el (display-buffer-pop-up-frame): Run frame creation
8601 function with BUFFER current (as special-display-popup-frame
8602 does). Reported by Drew Adams.
8603
8604 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8605
8606 * epa-mail.el: Simplify GnuPG group expansion using
8607 epg-expand-group.
8608 (epa-mail-group-alist, epa-mail-group-modtime)
8609 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8610 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8611 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8612 Remove.
8613
8614 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8615
8616 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8617
8618 2011-08-16 Alan Mackenzie <acm@muc.de>
8619
8620 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8621 Correct, to avoid the inside of macros.
8622
8623 2011-08-16 Richard Stallman <rms@gnu.org>
8624
8625 * epa-mail.el: Handle GnuPG group definitions.
8626 (epa-mail-group-alist, epa-mail-group-modtime)
8627 (epa-mail-gnupg-conf-file): New variables.
8628 (epa-mail-parse-groups, epa-mail-sync-groups)
8629 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8630 (epa-mail-expand-recipients): New functions.
8631 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8632
8633 * mail/rmail.el (rmail-epa-decrypt): New command.
8634
8635 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8636 Don't bind buffer-read-only, just inhibit-read-only.
8637 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8638 (epa-decrypt-armor-in-region): Make error message clearer.
8639
8640 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8643 and "a2b" to "ab" for `prefix'.
8644
8645 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8646
8647 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8648 filter groups.
8649 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8650 Fourquet (Bug#8804).
8651
8652 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8653
8654 * startup.el (argi): Declare as global variable (bug#9275).
8655
8656 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8657
8658 * subr.el (string-mark-left-to-right): Search the entire string
8659 for RTL script, not just the terminating character. Doc fix.
8660
8661 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8664 New function.
8665 (js--regexp-literal, js-syntax-propertize-function): Remove.
8666 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8667 (js-mode-map): Don't rebind electric keys.
8668 (js-insert-and-indent): Remove.
8669 (js-mode): Setup electric-layout and electric-indent instead.
8670
8671 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8672
8673 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8674
8675 * epa.el (epa-progress-callback-function): Fix the logic of
8676 displaying progress.
8677 * epa-file.el (epa-file-insert-file-contents): Make progress
8678 display more user-friendly.
8679 (epa-file-write-region): Ditto.
8680
8681 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8682
8683 * subr.el (string-mark-left-to-right): New function.
8684
8685 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8686 Use string-mark-left-to-right.
8687 (list-buffers-noselect): Caller changed.
8688
8689 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8690 Use string-mark-left-to-right.
8691 (tabulated-list-print): Recenter after moving point.
8692
8693 2011-08-10 Juri Linkov <juri@jurta.org>
8694
8695 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8696 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8697 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8698
8699 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8700
8701 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8702 (Bug#7554).
8703
8704 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8705
8706 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8707 character. (Bug#6594)
8708
8709 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8710
8711 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8712 (image-dired--with-db-file): New macro.
8713 (image-dired-write-tags, image-dired-remove-tag)
8714 (image-dired-create-gallery-lists, image-dired-write-comments)
8715 (image-dired-get-comment, image-dired-mark-tagged-files)
8716 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8717 (image-dired-gallery-generate): Use insert-file-contents.
8718
8719 * time.el (display-time-world-list, display-time-world-display):
8720 * time-stamp.el (time-stamp-string):
8721 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8722 set-time-zone-rule (Bug#7337).
8723
8724 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8725
8726 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8727 (epg-error-to-string, epg-errors-to-string): New function.
8728 (epg-wait-for-completion): Reverse errors list.
8729 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8730 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8731 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8732 (epg-sign-keys, epg-generate-key-from-file)
8733 (epg-generate-key-from-string): Format errors by using
8734 epg-errors-to-string (bug#9255).
8735 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8736
8737 2011-08-07 Juri Linkov <juri@jurta.org>
8738
8739 * faces.el (list-faces-display): Remove extra angle bracket
8740 from `help-mode-map'.
8741
8742 * info.el (Info-history-toc-nodes): Doc fix.
8743
8744 * longlines.el (longlines-mode): Doc fix.
8745
8746 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8749 of statements and in a few more cases (bug#9183).
8750
8751 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8752 New functions.
8753 (cl-transform-lambda): Use them (bug#9239).
8754
8755 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8756
8757 * window.el (display-buffer-same-window)
8758 (display-buffer-same-frame, display-buffer-other-window)
8759 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8760 (pop-to-buffer-other-window)
8761 (pop-to-buffer-same-frame-other-window)
8762 (pop-to-buffer-other-frame): Make them defuns.
8763 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8764
8765 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * subr.el (make-composed-keymap): Move from C. Change calling
8768 convention, and improve docstring to bring attention to a subtle point.
8769 * minibuffer.el (completing-read-default): Adjust accordingly.
8770
8771 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8772
8773 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8774 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8775
8776 * net/trampver.el: Update release number.
8777
8778 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8781 "in" (bug#9190).
8782
8783 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8784
8785 * mail/sendmail.el (sendmail-query-once): Restore the current
8786 buffer after querying (bug#9074).
8787
8788 * dired.el (dired-flagged): Use different faces for marked and
8789 flagged files (bug#6117).
8790
8791 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8792 (bug#4433).
8793
8794 * ido.el (ido-mode): Switch off the message if called
8795 non-interactively.
8796
8797 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8798 before 587, since it appears that that's more likely to work for
8799 more people.
8800
8801 * cus-edit.el (custom-file): When running under emacs -q, always
8802 refuse to save the customizations, even if the .emacs file doesn't
8803 exist.
8804
8805 * info.el: Remove the `Info-beginning-of-buffer' function
8806 (bug#8325).
8807
8808 * net/network-stream.el (network-stream-open-starttls):
8809 Use `starttls-available-p' to see whether starttls.el can be used.
8810
8811 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8812
8813 * window.el (display-buffer-in-window): Don't set dedicated status
8814 of window here (Bug#9215).
8815 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8816 (display-buffer-pop-up-side-window)
8817 (display-buffer-in-side-window): Set dedicated status of window here.
8818
8819 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8822 before binding generated-autoload-file.
8823
8824 2011-08-01 Deniz Dogan <deniz@dogan.se>
8825
8826 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8827
8828 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8829
8830 Sync with Tramp 2.2.2.
8831
8832 * net/trampver.el: Update release number.
8833
8834 2011-07-30 Juri Linkov <juri@jurta.org>
8835
8836 * dired-aux.el (dired-touch-initial): Remove function.
8837 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8838 current time, and `default' to the last modification time of the
8839 current marked file (bug#6887).
8840
8841 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8842
8843 * simple.el (goto-line): Use string-to-number to provide a
8844 numeric argument to read-number (bug#9163).
8845
8846 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8849 connection process, it could be nil.
8850
8851 2011-07-27 Leo Liu <sdl.web@gmail.com>
8852
8853 Simplify url handling in rcirc-mode.
8854
8855 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8856 (rcirc-browse-url-at-mouse): Remove.
8857 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8858
8859 2011-07-26 Alan Mackenzie <acm@muc.de>
8860
8861 Fontify bitfield declarations properly.
8862
8863 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8864 (c-symbol-chars): Now exported as a lang variable.
8865 (c-not-primitive-type-keywords): New lang variable.
8866
8867 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8868 QT keyword "more" to prevent "more slots: ...." being spuriously
8869 parsed as a bitfield declaration.
8870
8871 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8872 Refactor and enhance to handle bitfield declarations.
8873 (c-punctuation-in): New function.
8874 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8875 declarations properly.
8876
8877 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8878
8879 * calendar/icalendar.el (icalendar--all-events): Take care of
8880 multiple vcalendars in a single file.
8881 (icalendar--convert-float-to-ical): Checkdoc fixes.
8882
8883 2011-07-25 Deniz Dogan <deniz@dogan.se>
8884
8885 * image.el (insert-image): Clarifying docstring.
8886
8887 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8888
8889 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8890 `tramp-send-command-and-check' if there is no error.
8891 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8892
8893 2011-07-22 Alan Mackenzie <acm@muc.de>
8894
8895 Prevent cc-langs.elc being loaded at run time.
8896
8897 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8898 cc-langs.
8899
8900 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8901 "(require 'cc-langs)". Quote a form so it will evaluate at
8902 (cc-mode's) compilation time.
8903
8904 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8907 loading. (Bug#9114)
8908
8909 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8910
8911 * window.el (display-buffer-pop-up-window)
8912 (display-buffer-pop-up-side-window)
8913 (display-buffer-in-side-window): Call display-buffer-set-height
8914 and display-buffer-set-width after setting the new window's
8915 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8916
8917 2011-07-20 Sam Steingold <sds@gnu.org>
8918
8919 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8920 (etags-tags-included-tables): Call `convert-standard-filename' on
8921 the file names contained in TAGS so that windows Emacs can handle
8922 TAGS files created by cygwin ctags.
8923
8924 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8925
8926 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8927 which apparently didn't work.
8928
8929 2011-07-19 Roland Winkler <winkler@gnu.org>
8930
8931 * proced.el (proced-send-signal): For *Marked Processes* buffer
8932 put point at beginning of buffer.
8933
8934 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8935
8936 * proced.el (proced-format): Make header lines align with the text
8937 (bug#1779).
8938
8939 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8940
8941 * view.el (view-buffer): Allow running in `special' modes if we're
8942 visiting a file (bug#8615).
8943
8944 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8945
8946 * window.el (display-buffer-alist-of-strings-p)
8947 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8948 New functions.
8949 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8950 more accurately.
8951
8952 2011-07-18 Alan Mackenzie <acm@muc.de>
8953
8954 Fontify declarators properly when, e.g., a jit-lock chunk begins
8955 inside a declaration.
8956
8957 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8958
8959 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8960 New function.
8961 (c-complex-decl-matchers): Insert reference to
8962 c-font-lock-enclosing-decls.
8963
8964 * progmodes/cc-engine.el (c-backward-single-comment):
8965 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8966 to nil around calls to (forward-comment -1).
8967
8968 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969
8970 * image.el (put-image): Doc typo fix.
8971
8972 * progmodes/etags.el (tags-search): Doc typo fix.
8973
8974 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8975 password if we get errors 550 to 554.
8976
8977 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8978
8979 * net/gnutls.el (gnutls-log-level): Remove.
8980
8981 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8982 indentation character (bug#6380).
8983
8984 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8985
8986 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8987 to clarify what the problem is (bug#4291).
8988
8989 * simple.el (current-kill): Clarify what
8990 `interprogram-paste-function' does (bug#7500).
8991 (auto-fill-mode): Document `auto-fill-function' in relation to
8992 `auto-fill-mode' (bug#2470).
8993
8994 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8995
8996 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8997 method if slot is read-only (bug#9035).
8998
8999 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9000
9001 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9002 * window.el (pop-to-buffer): Select window used even if it was
9003 selected before, see discussion of (Bug#8615), (Bug#6954).
9004 Pass argument NORECORD on to select-frame-set-input-focus.
9005
9006 2011-07-15 Glenn Morris <rgm@gnu.org>
9007
9008 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9009 Respect help-form.
9010
9011 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9012
9013 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9014 (gnutls-negotiate): Use it.
9015
9016 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017
9018 * net/gnutls.el (gnutls-negotiate):
9019 Upcase `gnutls-algorithm-priority'.
9020
9021 2011-07-15 Glenn Morris <rgm@gnu.org>
9022
9023 * jka-compr.el (jka-compr-verbose): Move from here...
9024 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9025 Add missing :version tag.
9026 * info.el: No need to require jka-compr when compiling.
9027
9028 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9029
9030 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9031 (gnutls-negotiate): Use it.
9032
9033 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9034
9035 * info.el (Info-beginning-of-buffer): New command.
9036 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9037 announcing `b' as the key (bug#8325).
9038 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9039
9040 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9041
9042 * international/mule-cmds.el
9043 (describe-specified-language-support): Make the error message
9044 clearer (bug#8905).
9045
9046 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9047
9048 * isearch.el (isearch-barrier): Add a doc string, since it's
9049 mentioned in a function doc string (bug#8678).
9050
9051 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9052
9053 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9054 buffer argument (Bug#9083) and self-identifying label argument.
9055
9056 2011-07-15 Glenn Morris <rgm@gnu.org>
9057
9058 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9059
9060 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9061
9062 * man.el (Man-fontify-manpage): Fix message when formatting the
9063 man page (bug#7929).
9064
9065 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9066
9067 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9068 argument LRM; if non-nil, append an invisible LRM character to the
9069 buffer name.
9070 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9071 last argument non-nil, when formatting buffer names.
9072 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9073 paragraph direction.
9074
9075 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9076
9077 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9078 the man page name (bug#7929).
9079
9080 * image.el (put-image): Mention the `put-image' overlay property
9081 (bug#7834).
9082
9083 * scroll-bar.el (set-scroll-bar-mode): Mention that
9084 `scroll-bar-mode' lists the values (bug#7772).
9085
9086 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9087 command (bug#7729).
9088
9089 * rect.el (apply-on-rectangle): Return the point after the last
9090 operation.
9091 (string-rectangle): Go to the point after the last operation
9092 (bug#7522).
9093
9094 * printing.el (pr-toggle-region): Clarify the documentation
9095 slightly (bug#7493).
9096
9097 * time.el (display-time-update):
9098 Allow `display-time-mail-function' to return nil (bug#7158).
9099 Fix suggested by Detlev Zundel.
9100
9101 * vc/diff.el (diff): Clarify the order the file names are read
9102 (bug#7111).
9103
9104 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9105 the doc string (bug#7015).
9106
9107 * font-lock.el (font-lock-maximum-decoration): Mention what
9108 numeric levels mean (bug#6935).
9109
9110 * startup.el (initial-buffer-choice): Don't mention the `none'
9111 selection, which is against policy.
9112
9113 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9114
9115 * window.el (display-buffer-normalize-special):
9116 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9117
9118 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9119
9120 * subr.el (version<, version<=, version=): Mention "-CVS" and
9121 "-12345" alpha version numbers.
9122
9123 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9124
9125 * bindings.el: Add advertised binding for set-mark-command
9126 (Bug#5772).
9127
9128 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9129
9130 * bindings.el (mode-line-other-buffer):
9131 * bookmark.el (bookmark-bmenu-2-window):
9132 * bs.el (bs-cycle-next, bs-cycle-previous):
9133 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9134 switch-to-buffer.
9135
9136 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9137 Delete.
9138
9139 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * follow.el (follow-debug-message, follow-redisplay):
9142 * jka-cmpr-hook.el (with-auto-compression-mode):
9143 Fix typos in docstrings.
9144
9145 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9146
9147 * subr.el (with-silent-modifications): Clarify somewhat what the
9148 macro inhibits (bug#6525).
9149
9150 * simple.el (eval-expression): Note what it does if called
9151 interactively (bug#6495).
9152
9153 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9154
9155 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9156 Use pop-to-buffer buffer-or-name if it is nil.
9157
9158 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9159 Remove switch-to-buffer.
9160
9161 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9162
9163 * files.el (make-directory): Clarify that an error will be raised
9164 if there's an error (bug#6397).
9165
9166 * startup.el (initial-buffer-choice): Add `none' as a choice
9167 (bug#6234).
9168
9169 * subr.el (add-hook): Clarify section about buffer-local hooks
9170 (bug#6218).
9171
9172 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9173
9174 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9175
9176 * tabify.el (untabify): Preserve the current column so that point
9177 doesn't move (bug#6032).
9178
9179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9180
9181 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9182 Rewrite to avoid awkward possessive "s" (bug#5986).
9183
9184 2011-07-13 Glenn Morris <rgm@gnu.org>
9185
9186 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9187 (dired-insert-directory): Give a message the first time
9188 if ls is found not to support --dired.
9189
9190 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9191
9192 * simple.el (toggle-truncate-lines): Clarify what is toggled
9193 (bug#5580). Text by Drew Adams.
9194
9195 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9196
9197 * simple.el (blink-matching-open): Make the error message from the
9198 last change less verbose.
9199
9200 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9201
9202 * font-lock.el (font-lock-comment-face): Use the high contrast
9203 "yellow" color for font-lock-comment-face on low color terminals
9204 using a dark background color (bug#4221).
9205
9206 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9207
9208 * dired.el (dired-insert-set-properties): Make the doc string
9209 reflect what it does now (bug#5325).
9210
9211 * simple.el (blink-matching-open): Say that we were unable to find
9212 the match within the limit, if we're limited (bug#5122).
9213
9214 * international/mule-cmds.el (prefer-coding-system): Add an
9215 example (bug#4869).
9216
9217 * progmodes/etags.el (tags-search): Document `file-list-form'
9218 (bug#4731).
9219
9220 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9221
9222 * net/browse-url.el (browse-url-default-browser)
9223 (browse-url-browser-function): Make the default browser choice a
9224 bit more logical (bug#4300). Also clean up the doc string.
9225
9226 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9227
9228 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9229 binary endings (bug#4440).
9230
9231 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9232
9233 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9234 which can be pretty annoying (bug#8971).
9235
9236 * jka-compr.el (jka-compr-verbose): New variable, and use
9237 throughout (bug#8971).
9238
9239 * info.el (Info-find-file): Fall back on the installation
9240 directory if we can't find the info node anywhere else.
9241
9242 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9243
9244 * vc/vc.el (vc-revert-file):
9245 Don't set file time-stamp in the past. (Bug#5181)
9246
9247 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9248
9249 * files.el (after-find-file): Give a better error message when
9250 trying to find a symlink that points to a file that doesn't exist
9251 (bug#4398).
9252
9253 * progmodes/cc-vars.el: Remove (probably) misleading comment
9254 (bug#4396).
9255
9256 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9257
9258 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9259
9260 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9261
9262 * mouse-sel.el: Hack restoring functionality, while keeping
9263 compatibility with 2010-07-03 changes to mouse selection.
9264 (mouse-sel-primary-overlay): New var.
9265 (mouse-sel-selection-alist): Use it.
9266 (mouse-sel-mode): Doc fix; remove points that are default features
9267 of mouse.el.
9268
9269 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9270
9271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9272 Fix previous fix (bug#2490).
9273
9274 2011-07-12 Roland Winkler <winkler@gnu.org>
9275
9276 * textmodes/bibtex.el (bibtex-initialize):
9277 Use pop-to-buffer-same-window.
9278 (bibtex-search-entries): Fix interactive call.
9279
9280 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9281
9282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9283 Fontise bytecomp Error lines more correctly (bug#2490).
9284 Fix suggested by Johan Bockgård.
9285
9286 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9287
9288 * dired-x.el (dired-guess-default): Use `delete-dups'.
9289
9290 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9291
9292 * dired.el (dired-mark-prompt):
9293 * dired-aux.el (dired-read-shell-command): Doc fix.
9294
9295 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9296
9297 * mail/sendmail.el (sendmail-query-once):
9298 Use `customize-save-variable' unconditionally, now that it works under
9299 emacs -Q.
9300
9301 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9302
9303 * cus-edit.el (custom-file): Take an optional no-error variable.
9304 (customize-save-variable): Set the variable, and give a warning if
9305 running under "emacs -q".
9306
9307 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9308
9309 * loadhist.el (unload-feature-special-hooks):
9310 Add `auto-coding-functions', `fill-nobreak-predicate' and
9311 `find-directory-functions' (bug#5327).
9312
9313 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9314
9315 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9316
9317 * cus-edit.el (custom-guess-name-alist): -alist variables should
9318 use the `alist' type (bug#3120). Suggested by Drew Adams.
9319
9320 * printing.el: Add documentation to all the `pr-toggle-' commands.
9321
9322 2011-07-11 Leo Liu <sdl.web@gmail.com>
9323
9324 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9325 backends where it makes sense (bug#2623).
9326
9327 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9328
9329 * dired-x.el (dired-guess-default): Remove duplicate shell command
9330 entries (bug#2028).
9331 (dired-guess-default): Fix grammar in doc string (bug#2028).
9332 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9333
9334 * subr.el (remove-duplicates): New conveniency function.
9335
9336 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9337
9338 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9339 (bug#1526).
9340
9341 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9342
9343 * window.el (display-buffer-normalize-default): Don't invert
9344 meaning of even-window-heights. Reported by Eli Zaretskii
9345 <eliz@gnu.org>.
9346
9347 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9348
9349 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9350
9351 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9352
9353 * window.el (display-buffer): Fix arguments to
9354 display-buffer-reuse-window in last change.
9355
9356 * faces.el (link): Use a less saturated blue on light backgrounds.
9357
9358 * startup.el (fancy-startup-text, fancy-about-text)
9359 (fancy-startup-tail): Use font-lock faces, for background safety.
9360
9361 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9362
9363 * emulation/viper-cmd.el (viper-change-state-to-vi):
9364 Limit triggering of abbrev expansion (Bug#9038).
9365
9366 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9367
9368 * window.el (display-buffer-default-specifiers): Remove.
9369 (display-buffer-macro-specifiers): Remove default specifiers.
9370 (display-buffer-alist): Default to nil.
9371 (display-buffer-reuse-window): New optional argument other-window.
9372 (display-buffer-pop-up-window): Allow splitting internal
9373 windows. Check whether a live window was created.
9374 (display-buffer-other-window-means-other-frame)
9375 (display-buffer-normalize-arguments): Rename to
9376 display-buffer-normalize-argument and rewrite. Set the
9377 other-window specifier.
9378 (display-buffer-normalize-special): New function.
9379 (display-buffer-normalize-options): Rename to
9380 display-buffer-normalize-default and rewrite.
9381 (display-buffer-normalize-options-inhibit): Remove.
9382 (display-buffer-normalize-specifiers): Rewrite.
9383 (display-buffer): Process other-window specifier and call
9384 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9385 more faithfully.
9386 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9387 (display-buffer-alist-set): Don't handle 'unset default values.
9388 (display-buffer-in-window, display-buffer-alist-set):
9389 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9390 <tassilo@member.fsf.org>.
9391
9392 2011-07-09 Leo Liu <sdl.web@gmail.com>
9393
9394 * register.el (insert-register): Restore accidental change on
9395 2011-06-26. (Bug#9028)
9396
9397 2011-07-09 Glenn Morris <rgm@gnu.org>
9398
9399 * subr.el (remq): Handle the empty list. (Bug#9024)
9400
9401 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9402
9403 * mail/sendmail.el (send-mail-function): No longer delay custom
9404 initialization.
9405 * custom.el (custom-initialize-delay): Doc fix.
9406
9407 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9410
9411 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9414 human-friendly prompt.
9415
9416 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9419 provided by a particular plugin.
9420
9421 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9422
9423 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9424 save customizations (with "emacs -Q"), just set the variable
9425 instead of erroring out.
9426
9427 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9428
9429 2011-07-08 Juri Linkov <juri@jurta.org>
9430
9431 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9432 (archive-zip-update-case): Use 7z if found by `executable-find'.
9433 The order of searching the available programs is the same as in
9434 `archive-zip-extract' (bug#8968).
9435
9436 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9437
9438 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9439 (menu-bar-options-menu): Tweak descriptions.
9440
9441 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
9443 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9444 menu items into verb phrases (bug#1421). Also refill to fit under
9445 80 columns.
9446
9447 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9448
9449 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9450 (Info-read-node-name): Doc fix (Bug#1084).
9451
9452 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9453 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9454 (end-of-sexp, beginning-of-sexp)
9455 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9456 (forward-symbol, forward-same-syntax, word-at-point)
9457 (sentence-at-point): Doc fix (Bug#1144).
9458
9459 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460
9461 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9462 should cover it (bug#1281).
9463
9464 * cus-edit.el (custom-show): Mark as obsolete.
9465
9466 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9467 negotiation fails, then possibly try again with a non-encrypted
9468 connection (bug#9017).
9469
9470 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9471 be used.
9472
9473 2011-07-07 Richard Stallman <rms@gnu.org>
9474
9475 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9476 property, and handle its changed format.
9477 Look for the correct line number.
9478 Use file's line contents (but not past first =) to find
9479 correct line in message.
9480
9481 2011-07-07 Kenichi Handa <handa@m17n.org>
9482
9483 * international/characters.el (build-unicode-category-table):
9484 Delete it.
9485 (unicode-category-table): Set it by unicode-property-table-internal.
9486
9487 * international/mule-cmds.el (char-code-property-alist): Move to
9488 to src/chartab.c.
9489 (get-char-code-property): Call unicode-property-table-internal to
9490 load a file. Call get-unicode-property-internal where necessary.
9491 (put-char-code-property): Call unicode-property-table-internal to
9492 load a file. Call put-unicode-property-internal where necessary.
9493 put-unicode-property-internal where necessary.
9494 (char-code-property-description):
9495 Call unicode-property-table-internal to load a file.
9496
9497 * international/charprop.el:
9498 * international/uni-bidi.el:
9499 * international/uni-category.el:
9500 * international/uni-combining.el:
9501 * international/uni-comment.el:
9502 * international/uni-decimal.el:
9503 * international/uni-decomposition.el:
9504 * international/uni-digit.el:
9505 * international/uni-lowercase.el:
9506 * international/uni-mirrored.el:
9507 * international/uni-name.el:
9508 * international/uni-numeric.el:
9509 * international/uni-old-name.el:
9510 * international/uni-titlecase.el:
9511 * international/uni-uppercase.el: Regenerate.
9512
9513 * loadup.el: Load international/charprop.el before
9514 international/characters.
9515
9516 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9517
9518 * window.el (next-buffer, previous-buffer): Signal an error if
9519 called from a minibuffer window.
9520
9521 * bindings.el: Revert 2011-07-04 change.
9522
9523 2011-07-06 Richard Stallman <rms@gnu.org>
9524
9525 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9526 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9527 Treat markers like ints.
9528 (rmail-mime-entity): Doc fix.
9529
9530 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9531
9532 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9533 defcustom again for backwards compatibility.
9534
9535 * simple.el (shell-command-on-region): Fill.
9536
9537 * dired-aux.el (dired-kill-line): Add a doc string.
9538
9539 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9540 to "\\sw\\|\\s_" (bug#358).
9541
9542 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9543 (dired-unmark-backward): Ditto.
9544 (dired-flag-backup-files): Ditto.
9545
9546 * dired-x.el (dired-mark-sexp): Ditto.
9547
9548 2011-07-06 Richard Stallman <rms@gnu.org>
9549
9550 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9551 (rmail-mime-entity): New arg TRUNCATED.
9552 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9553 New functions.
9554 (rmail-mime-save): Warn if entity is truncated.
9555 (rmail-mime-toggle-hidden): Likewise, for showing.
9556 (rmail-mime-process-multipart): Record when an entity is truncated.
9557
9558 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9559 if ENTITY is a string.
9560
9561 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9562
9563 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9564 of faces when `M-C-x'-ing their definitions (bug#8378).
9565 Also clean up the code slightly.
9566
9567 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9568 because that makes the colors go away.
9569
9570 * mail/sendmail.el (send-mail-function): Change the default to
9571 `sendmail-query-once'.
9572 (sendmail-query-once): Add an autoload cookie.
9573
9574 * net/network-stream.el (network-stream-open-starttls): Try using
9575 a plain connection even if the server offered STARTTLS, and we
9576 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9577 capability. This should make smtpmail.el work in slightly more
9578 configurations.
9579
9580 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9581
9582 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9583 New defun.
9584 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9585
9586 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9587
9588 * progmodes/sql.el: Version 3.0
9589 (sql-product-alist): Add product :completion-object,
9590 :completion-column, and :statement attributes.
9591 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9592 (sql-mode-syntax-table): Mark all punctuation.
9593 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9594 ansi keywords.
9595 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9596 (sql-mode-oracle-font-lock-keywords): Improve.
9597 (sql-oracle-show-reserved-words): New function for development.
9598 (sql-product-font-lock): Simplify for source code buffers.
9599 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9600 New functions.
9601 (sql-highlight-product): Set product specific syntax table.
9602 (sql-mode-map): Add statement movement functions.
9603 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9604 New variable.
9605 (sql-statement-regexp, sql-beginning-of-statement)
9606 (sql-end-of-statement, sql-signum): New functions.
9607 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9608 (sql-show-sqli-buffer): Bug fix.
9609 (sql-interactive-mode): Store connection data as buffer local.
9610 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9611 with sql-interactive-mode.
9612 (sql-save-connection): Save buffer local settings.
9613 (sql-connection-menu-filter): Change menu entry name.
9614 (sql-product-interactive): Bug fix.
9615 (sql-preoutput-hold): New variable.
9616 (sql-interactive-remove-continuation-prompt): Bug fixes.
9617 (sql-debug-redirect): New variable.
9618 (sql-str-literal): New function.
9619 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9620 Redesign.
9621 (sql-oracle-save-settings, sql-oracle-restore-settings)
9622 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9623 (sql-completion-object, sql-completion-column)
9624 (sql-completion-sqlbuf): New variables.
9625 (sql-build-completions-1, sql-build-completions)
9626 (sql-try-completion): New functions.
9627 (sql-read-table-name): Use them.
9628 (sql-contains-names): New buffer local variable.
9629 (sql-list-all, sql-list-table): Use it.
9630 (sql-oracle-completion-types): New variable.
9631 (sql-oracle-completion-object, sql-sqlite-completion-object)
9632 (sql-postgres-completion-object): New functions.
9633
9634 2011-07-06 Glenn Morris <rgm@gnu.org>
9635
9636 * window.el (pop-to-buffer): Doc fix.
9637
9638 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9639
9640 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9641
9642 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9643
9644 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9645
9646 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9647
9648 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9649
9650 * button.el (button): Inherit from link face. Suggested by Dan
9651 Nicolaescu.
9652
9653 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * progmodes/gdb-mi.el: Fit in 80 columns.
9656 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9657 switch-to-buffer.
9658
9659 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9660 if imenu is simply not configured (bug#8941).
9661
9662 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9663
9664 * allout.el (allout-post-undo-hook): New allout outline-change
9665 event hook to signal undo activity.
9666 (allout-post-command-business): Run allout-post-undo-hook if an
9667 undo just occurred.
9668 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9669 * allout-widgets.el (allout-widgets-after-undo-function):
9670 Ensure the integrity of the current item's decoration after it has been
9671 in the vicinity of an undo.
9672 (allout-widgets-mode): Include allout-widgets-after-undo-function
9673 on the new allout-post-undo-hook.
9674
9675 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9678 Let define-derived-mode define it.
9679 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9680 cycles of abbrev-table inheritance (bug#8998).
9681
9682 2011-07-05 Roland Winkler <winkler@gnu.org>
9683
9684 * textmodes/bibtex.el: Add support for biblatex.
9685 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9686 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9687 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9688 (bibtex-entry-alist, bibtex-field-alist): New variables.
9689 (bibtex-entry-field-alist): Obsolete alias for
9690 bibtex-BibTeX-entry-alist.
9691 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9692 (bibtex-set-dialect): New command.
9693 (bibtex-entry-type, bibtex-entry-head)
9694 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9695 Bind via bibtex-set-dialect.
9696 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9697 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9698 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9699 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9700 Define via bibtex-set-dialect.
9701 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9702 Obey bibtex-no-opt-remove-re.
9703 (bibtex-vec-push, bibtex-vec-incr): New functions.
9704 (bibtex-format-entry, bibtex-field-list)
9705 (bibtex-print-help-message, bibtex-validate)
9706 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9707
9708 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * progmodes/compile.el (compilation-goto-locus):
9711 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9712 * bs.el (bs-cycle-next, bs-cycle-previous):
9713 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9714 * bindings.el (mode-line-other-buffer):
9715 * autoinsert.el (auto-insert):
9716 * arc-mode.el (archive-extract):
9717 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9718
9719 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9720
9721 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9722 Fix check of `emacs-lock-unlockable-modes'.
9723 Coerce true values of `emacs-lock--try-unlocking' to t.
9724
9725 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9726
9727 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9728 * emacs-lock.el: New file.
9729
9730 2011-07-05 Julien Danjou <julien@danjou.info>
9731
9732 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9733 than `boundp' to check if face is set.
9734
9735 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9736
9737 * register.el (registerv-make):
9738 * window.el (window-min-height): Fix typos in docstrings.
9739
9740 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9741
9742 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9743 Update doc string.
9744
9745 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9746
9747 * server.el (server-execute): Catch quit and call
9748 `server-return-error' to pass the error back to emacsclient and
9749 close the connection (bug#8942).
9750
9751 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9752
9753 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9754 insecure exception for current topic. Also note that auto-saves
9755 are handled differently.
9756
9757 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9758 State variables for tracking auto-save inhibition situation.
9759
9760 (allout-write-contents-hook-handler): Rename from
9761 'allout-write-file-hook-handler', and describe how it depends on
9762 write-contents-functions sensitivity to non-nil value to prevent
9763 file write.
9764
9765 (allout-auto-save-hook-handler): Remove. auto-save does not check
9766 this in individual buffers, only in the starting buffer, so this
9767 is not the right way for us to inhibit auto-save in a buffer
9768 according to its condition.
9769
9770 (allout-mode): Use new allout-write-contents-hook-handler, and
9771 only with write-contents-functions. Remove auto-save provisions -
9772 they're implemented elsewhere.
9773
9774 (allout-before-change-handler): If undo is in progress, note that
9775 for attention of allout-post-command-business.
9776
9777 (allout-post-command-business): If the command we're following was
9778 an undo, check for change in the status of encrypted items and
9779 adjust auto-save inhibitions accordingly.
9780
9781 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9782 according to whether there are or aren't any plain-text topics
9783 pending encryption.
9784
9785 (allout-inhibit-auto-save-info-for-decryption):
9786 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9787 if there are plain-text topics pending encryption.
9788
9789 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9790 buffer-saved-size and some allout state to not inhibit auto-saves
9791 if there are no longer any plain-text topics pending encryption.
9792
9793 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9794 No longer provide for exemption of the current topic.
9795
9796 2011-07-04 Juri Linkov <juri@jurta.org>
9797
9798 Add 7z operations to delete and save changed members (bug#8968).
9799 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9800 New defcustoms.
9801 (archive-7z-write-file-member): New function.
9802 (archive-7z-summarize): Fix the number of dashes in the
9803 listing output.
9804
9805 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9808 (bug#8958).
9809
9810 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9811
9812 * bindings.el: Ignore next-buffer and previous-buffer in
9813 minibuffer-local-map.
9814
9815 * font-lock.el (font-lock-builtin-face): Change light background
9816 color to dark slate blue (Bug#6693).
9817
9818 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9819
9820 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9821
9822 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9825 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9826 Add switch-to-buffer.
9827
9828 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9829
9830 * isearch.el (isearch-search-fun-function): Clarify further the
9831 meaning of the function returned.
9832
9833 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9834
9835 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9836
9837 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9838 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9839 Use it.
9840 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9841 `tramp-default-remote-path' does not exist.
9842 (tramp-send-command-and-read): New optional argument NOERROR.
9843 (tramp-open-connection-setup-interactive-shell)
9844 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9845 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9846 (tramp-process-sentinel): Flush also process' connection property.
9847 (tramp-sh-handle-start-file-process): Do not set process
9848 sentinel. It is done now ...
9849 (tramp-maybe-open-connection): ... here. (Bug#8929)
9850
9851 2011-07-04 MON KEY <monkey@sandpframing.com>
9852
9853 * play/animate.el (animate-string): Doc fixes and allow changing
9854 the buffer name (bug#5417).
9855
9856 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9857
9858 * play/animate.el (animation-buffer-name): Rename from *animate*.
9859
9860 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9861
9862 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9863 This is simpler and helps future-proof the code.
9864 (timer-until): Use time-subtract and float-time.
9865 (timer--time-less-p): Use time-less-p.
9866
9867 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9868
9869 * type-break.el (timep): Use the value of `float-time' to avoid a
9870 byte-compiler warning.
9871
9872 * server.el (server-eval-and-print): Return any result, even nil.
9873
9874 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9875
9876 * type-break.el: Accept time formats that the builtins accept.
9877 (timep, type-break-time-difference): Accept any format that
9878 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9879 This is simpler and helps future-proof the code.
9880 (type-break-time-difference): Round rather than ignoring
9881 subseconds components.
9882
9883 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9884
9885 * info.el (Info-apropos-matches): Make non-interactive, since it
9886 doesn't seem to do anything useful as a command (bug#8829).
9887
9888 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9889
9890 * frame.el (frame-background-mode, frame-set-background-mode):
9891 Move from faces.el.
9892 (frame-default-terminal-background): New function.
9893
9894 * custom.el (custom-push-theme): Don't record faces in `changed'
9895 theme; this doesn't work correctly for per-frame face settings.
9896 (disable-theme): Use face-set-after-frame-default to reset faces.
9897 (custom--frame-color-default): New function.
9898
9899 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9900
9901 * dired.el (dired-flagging-regexp): Remove unused variable
9902 (bug#8769).
9903
9904 2011-03-29 Kevin Ryde <user42@zip.com.au>
9905
9906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9907 `perl-Test2' extend to match possible "fail #N" rep count
9908 (bug#8377).
9909
9910 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9911
9912 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9913 `smtpmail-via-smtp' now returns the error instead of nil.
9914
9915 * isearch.el (isearch-search-fun-function): Clarify the doc string
9916 (bug#8101).
9917
9918 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9919
9920 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9921 unnecessary spaces (bug#8987).
9922
9923 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9924
9925 * net/network-stream.el (open-network-stream): Use the
9926 :end-of-capability command thoughout.
9927
9928 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9929
9930 * net/network-stream.el (open-network-stream): Add the
9931 :end-of-capability command parameter, used by pop3.el.
9932
9933 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9934
9935 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9936
9937 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9938 for list)" (bug#6475).
9939
9940 * files.el (file-expand-wildcards): Ignore non-readable
9941 sub-directories while trying to find matches instead of signaling
9942 an error (bug#6297).
9943
9944 * man.el (Man-reference-regexp): Allow matching possible
9945 word-wrapped references (bug#6289).
9946
9947 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9948 for consistency with the other vc buffers (bug#6197).
9949 (vc-checkin): Ditto.
9950
9951 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9952
9953 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9954
9955 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
9957 * custom.el (defcustom): Clarify that :set is only used in the
9958 Customize user interface (bug#6089).
9959
9960 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9961 associated with a file, refuse to run instead of erroring out
9962 (bug#6084).
9963
9964 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9965 the doc string, since it appears that using `fill-column' always
9966 controls the width (bug#7845).
9967
9968 * simple.el (shell-command-on-region): Say where the error output
9969 went if `shell-command-default-error-buffer' is set (bug#6857).
9970
9971 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9972
9973 * allout.el (allout-yank-processing): Adjust cursor position for
9974 backwards-deleted space.
9975
9976 (allout-rebullet-heading): Register changes with
9977 allout-exposure-changed-hook, so the modified topic is properly
9978 decorated.
9979
9980 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9981
9982 * minibuffer.el (completion-in-region): Document PREDICATE
9983 (bug#7136).
9984
9985 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9986 of keyword/argument pairs (bug#6904).
9987
9988 * replace.el (multi-occur):
9989 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9990
9991 2011-07-02 Drew Adams <drew.adams@oracle.com>
9992
9993 * dired.el (dired-mark-if): Make the message about whether it's
9994 marking or unmarking clearer (bug#8523).
9995
9996 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
9998 * disp-table.el (display-table-print-array): New function.
9999 (describe-display-table): Use it to print the vectors more pretty
10000 (Bug#8859).
10001
10002 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10003
10004 * window.el (window-state-get-1): Don't assign clone numbers.
10005 Add clone-of item to list of window parameters.
10006 (window-state-put-2): Don't process clone numbers.
10007 (display-buffer-alist): Fix doc-string.
10008
10009 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * subr.el (remq): Don't allocate if it's not needed.
10012 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10013 (keymap--merge-bindings): New functions.
10014 (keymap-canonicalize): Use them to refine the canonicalization.
10015 * minibuffer.el (minibuffer-local-completion-map)
10016 (minibuffer-local-must-match-map): Move initialization from C.
10017 (minibuffer-local-filename-completion-map): Move initialization from C;
10018 don't inherit from anything here.
10019 (minibuffer-local-filename-must-match-map): Make obsolete.
10020 (completing-read-default): Use make-composed-keymap to combine
10021 minibuffer-local-filename-completion-map with either
10022 minibuffer-local-must-match-map or
10023 minibuffer-local-filename-completion-map.
10024
10025 2011-07-01 Glenn Morris <rgm@gnu.org>
10026
10027 * type-break.el (type-break-time-sum): Use dolist.
10028
10029 * textmodes/flyspell.el (flyspell-word-search-backward):
10030 Replace CL function.
10031
10032 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * mouse.el (mouse--strip-first-event): New function.
10035 (function-key-map): Use it to map fringe clicks to normal clicks
10036 by default.
10037
10038 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10039 (vc-bzr-revision-completion-table): Add support for annotate and date.
10040
10041 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10042 inherit from parent.
10043
10044 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045
10046 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10047 (dired-show-file-type): Doc fixup (bug#8818).
10048
10049 * dired.el (dired-mode): Fix up the doc string as suggested by
10050 Drew Adams (bug#8817).
10051
10052 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10053 cookie, since the manual says that it should be possible to add
10054 this function to `find-file-hook' (bug#8709).
10055
10056 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10057
10058 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10059 here. Noted Ted Zlatanov as the maintainer.
10060 (cfengine-common-settings, cfengine-common-syntax): New functions
10061 to set up common things between `cfengine-mode' and
10062 `cfengine3-mode'.
10063 (cfengine3-mode): New mode.
10064 (cfengine3-defuns cfengine3-defuns-regex
10065 (cfengine3-class-selector-regex cfengine3-category-regex)
10066 (cfengine3-vartypes cfengine3-font-lock-keywords)
10067 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10068 (cfengine3-indent-line): Add from cfengine3.el.
10069
10070 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10071
10072 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10073
10074 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10075
10076 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10077
10078 * window.el (same-window-buffer-names, same-window-regexps)
10079 (same-window-p, special-display-frame-alist)
10080 (special-display-popup-frame, special-display-function)
10081 (special-display-buffer-names, special-display-regexps)
10082 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10083 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10084 (split-window-preferred-function, split-height-threshold)
10085 (split-width-threshold, even-window-heights)
10086 (display-buffer-mark-dedicated, window-splittable-p)
10087 (split-window-sensibly, window-safely-shrinkable-p):
10088 Un-obsolete.
10089 (display-buffer): Don't spread args with function specifier
10090 because special-display-popup-frame won't like it.
10091
10092 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10093
10094 Time-stamp simplifications and fixes.
10095 These improve accuracy slightly, and future-proof the code
10096 against some potential changes to current-time format.
10097
10098 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10099 by using time-since and float-time.
10100
10101 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10102 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10103 + NNN microseconds".
10104
10105 * type-break.el (type-break-time-sum): Rewrite using time-add.
10106
10107 * play/hanoi.el (hanoi-current-time-float): Remove.
10108 All uses replaced by float-time.
10109
10110 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10111 This yields a more-accurate answer.
10112 (rng-time-to-float): Remove; no longer needed.
10113
10114 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10115
10116 * calendar/timeclock.el (timeclock-seconds-to-time):
10117 Defalias to seconds-to-time, since they're the same thing.
10118
10119 * emacs-lisp/elp.el (elp-elapsed-time):
10120 * emacs-lisp/benchmark.el (benchmark-elapse):
10121 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10122
10123 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * window.el (bury-buffer): Don't iconify the only frame.
10126 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10127 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10128
10129 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10130
10131 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10132 Add mouse-yank-primary.
10133
10134 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10135
10136 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10137
10138 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10141 (find-library-name): Use it to find relative load names when provided
10142 absolute file name (bug#8803).
10143
10144 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10145
10146 * textmodes/flyspell.el (flyspell-word): Consider words that
10147 differ only in case as potential doublons (bug#5687).
10148
10149 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10150 Remove two rather uninteresting debugging-like messages to make
10151 debbugs.el more silent.
10152
10153 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10154 a password-like phrase.
10155
10156 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10157
10158 * progmodes/cc-guess.el: New file.
10159
10160 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10161
10162 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10163 derived from `c-basic-common-init'.
10164
10165 * progmodes/cc-mode.el (top-level): Require cc-guess.
10166 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10167
10168 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10169
10170 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10171
10172 2011-06-30 Alan Mackenzie <acm@muc.de>
10173
10174 * progmodes/cc-engine.el (c-guess-continued-construct):
10175 Correct the handling of template-args-cont, particularly for when font
10176 lock is disabled. Name this case as "CASE G".
10177
10178 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10179
10180 * allout.el (allout-yank-processing): Fix injection of extra space
10181 between bullet and non-whitespace character in first topic when
10182 pasting, ensuring that the actual spacing in the pasted topic
10183 following the bullet char is preserved. This extra space was
10184 causing pasted encrypted topics to get a decrypted status even
10185 when the content was actually still encrypted. Now the decryption
10186 status from before the paste is preserved.
10187
10188 (allout-flag-region): Set all allout overlays so they evaporate
10189 when reduced to zero length (evanescent), to prevent overlay
10190 leakage.
10191
10192 2011-06-30 Glenn Morris <rgm@gnu.org>
10193
10194 * w32-fns.el (w32-charset-info-alist): Declare.
10195
10196 * find-dired.el (find-grep-options): Simplify.
10197
10198 * term/ns-win.el (ns-set-resource): Declare.
10199
10200 * ses.el (row, col): Declare dynamic variables honestly.
10201
10202 * textmodes/reftex-parse.el (index-tags): Declare.
10203
10204 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * cus-edit.el (customize-push-and-save): New function.
10207
10208 * files.el (hack-local-variables-confirm): Use it.
10209
10210 * custom.el (load-theme): New arg NO-CONFIRM.
10211 Use customize-push-and-save (Bug#8720).
10212 (custom-enabled-themes): Doc fix.
10213
10214 * cus-theme.el (customize-create-theme)
10215 (custom-theme-merge-theme): Callers to load-theme changed.
10216
10217 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10218
10219 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10220 short URLs have at least one dot in them (bug #7614).
10221
10222 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10223 nil, because using a pty is apparently too slow (bug #895).
10224
10225 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10226
10227 * mail/sendmail.el (sendmail-query-once): New function.
10228 (sendmail-query-once-function): New variable.
10229
10230 2011-06-29 Glenn Morris <rgm@gnu.org>
10231
10232 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10233
10234 * ses.el (top-level): Require cl when compiling.
10235 (ses-set-localvars): Fix error statement.
10236 Call it at compile time to silence a storm of warnings.
10237
10238 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (normalize-live-buffer): Rename to
10241 window-normalize-buffer.
10242 (normalize-live-frame): Rename to window-normalize-frame.
10243 (normalize-any-window): Rename to window-normalize-any-window.
10244 (normalize-live-window): Rename to window-normalize-live-window.
10245 (make-window-atom): Rename to window-make-atom.
10246 (window-resize-reset): Rename to window--resize-reset.
10247 (window-resize-reset-1): Rename to window--resize-reset-1.
10248 (resize-mini-window): Rename to window--resize-mini-window.
10249 (resize-subwindows-skip-p): Rename to
10250 window--resize-subwindows-skip-p.
10251 (resize-subwindows-normal): Rename to
10252 window--resize-subwindows-normal.
10253 (resize-subwindows): Rename to window--resize-subwindows.
10254 (resize-other-windows): Rename to window--resize-siblings.
10255 (resize-this-window): Rename to window--resize-this-window.
10256 (resize-root-window): Rename to window--resize-root-window.
10257 (resize-root-window-vertically): Rename to
10258 window--resize-root-window-vertically.
10259 (normalize-buffer-to-display): Rename to
10260 window-normalize-buffer-to-display.
10261 (normalize-buffer-to-switch-to): Rename to
10262 window-normalize-buffer-to-switch-to.
10263 Correspondingly update all callers of the functions listed
10264 above.
10265 (display-buffer-alist, display-buffer-normalize-arguments)
10266 (display-buffer-normalize-options, display-buffer)
10267 (display-buffer-alist-set): Use "function" instead of
10268 "fun-with-args".
10269
10270 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10271
10272 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10273 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10274 debbugs.gnu.org. Mention acknowledgment email.
10275
10276 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
10278 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10279 buffer multibyteness, since it shouldn't matter.
10280
10281 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10282
10283 * window.el (display-buffer-in-side-window): Handle dedicated
10284 windows as in display-buffer-reuse-window.
10285 (display-buffer-normalize-alist): Use value of override
10286 specifier.
10287 (display-buffer-normalize-specifiers): Use value of
10288 other-window-means-other-frame specifier.
10289 (display-buffer-alist): Rewrite some texts in widgets.
10290 (display-buffer): Spread arguments when calling function
10291 specified by fun-with-args.
10292
10293 2011-06-28 Deniz Dogan <deniz@dogan.se>
10294
10295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10296 Unnest `let'.
10297
10298 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10299 selectors (Bug#5732).
10300 (css-proprietary-nmstart-re): Use `regexp-opt'.
10301
10302 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10303
10304 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10305 (eshell-ls-date-format): New defcustom.
10306 (eshell-ls-file): Use it.
10307
10308 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10311
10312 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10313
10314 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10315 (ange-ftp-make-tmp-name): New arg.
10316 (ange-ftp-file-local-copy): Use it.
10317
10318 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10319
10320 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10321 no-conversion (Bug#8870).
10322
10323 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10324
10325 * window.el (window-right, window-left, window-child)
10326 (window-child-count, window-last-child)
10327 (window-iso-combination-p, walk-window-tree-1)
10328 (window-atom-check-1, window-tree-1, delete-window)
10329 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10330 new naming conventions - window-vchild, window-hchild,
10331 window-next and window-prev are now called window-top-child,
10332 window-left-child, window-next-sibling and window-prev-sibling
10333 respectively.
10334 (resize-window-reset): Rename to window-resize-reset.
10335 (resize-window-reset-1): Rename to window-resize-reset-1.
10336 (resize-window): Rename to window-resize.
10337 (window-min-height, window-min-width)
10338 (resize-mini-window, resize-this-window, resize-root-window)
10339 (resize-root-window-vertically, adjust-window-trailing-edge)
10340 (enlarge-window, shrink-window, maximize-window)
10341 (minimize-window, delete-window, quit-restore-window)
10342 (split-window, balance-windows, balance-windows-area-adjust)
10343 (balance-windows-area, window-state-put-2)
10344 (display-buffer-even-window-sizes, display-buffer-set-height)
10345 (display-buffer-set-width, set-window-text-height)
10346 (fit-window-to-buffer): Rename all "resize-window" prefixed
10347 calls to use the "window-resize" prefix convention.
10348 (display-buffer-alist): Fix symbol for label specifier.
10349 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10350 corresponding specifier.
10351 Reported by Juanma Barranquero <lekktu@gmail.com>.
10352
10353 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10354
10355 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10356 convention.
10357 (ses-call-printer): Does not pass an empty string to formatter when the
10358 cell is empty to keep from barking printer Calc math-format-value.
10359
10360 2011-06-27 Richard Stallman <rms@gnu.org>
10361
10362 * battery.el (battery-mode-line-limit): New variable.
10363 (battery-update): Handle it.
10364
10365 * mail/rmailmm.el (rmail-mime-process-multipart):
10366 Handle truncated messages.
10367
10368 2011-06-27 Glenn Morris <rgm@gnu.org>
10369
10370 * progmodes/flymake.el (flymake-err-line-patterns):
10371 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10372
10373 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10374
10375 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10376 (ses--clean-!, ses--clean-_): New functions.
10377 (ses-range): Add configurability of readout order, and conversion
10378 to Calc vector.
10379
10380 * ses.el (ses-repair-cell-reference-all): New function.
10381 (ses-cell-symbol): Set macro as safe, so that it can be used in
10382 formulas.
10383
10384 * ses.el: Update cycle detection algorithm.
10385 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10386 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10387 (ses-set-localvars): New function.
10388 (ses-make-cell): Add property-list as a cell element.
10389 (ses-cell-property-get-fun, ses-cell-property-get)
10390 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10391 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10392 New functions.
10393 (ses-cell-property-set, ses-cell-property-pop)
10394 (ses-cell-property-get-handle): New macro.
10395 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10396 New aliases, used for code readability.
10397 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10398 cycle detection.
10399 (ses-self-reference-early-detection): New defcustom.
10400 (ses-formula-references): Robustify against self-referring cells.
10401 (ses-mode): Use ses-set-localvars.
10402 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10403 before lauching the update processing.
10404 (ses-initialize-Dijkstra-attempt): New function.
10405 (ses-recalculate-cell): Update for cycle detection based on
10406 Dijkstra algorithm.
10407
10408 * ses.el: Fix commenting and indenting convention.
10409
10410 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * bs.el (bs-cycle-next): Complete last change.
10413
10414 2011-06-27 Drew Adams <drew.adams@oracle.com>
10415
10416 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10417
10418 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10419
10420 * net/network-stream.el (network-stream-open-starttls):
10421 Don't re-get capabilities unless we've reestablished connection.
10422 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10423
10424 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10425 to binary to possibly avoid line encoding issues on Windows (among
10426 other things).
10427
10428 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10429
10430 * net/network-stream.el (open-network-stream): Return an :error
10431 saying what the problem was, if possible.
10432
10433 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10434 server.
10435
10436 * net/network-stream.el (network-stream-open-starttls): If we
10437 wanted to use STARTTLS, and the server offered it, but we weren't
10438 able to because we had no STARTTLS support, then close the connection.
10439 (open-network-stream): Return an :error element, if present.
10440
10441 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10442
10443 * hl-line.el (hl-line-sticky-flag): Doc fix.
10444 (global-hl-line-sticky-flag): New option (Bug#8323).
10445 (global-hl-line-highlight): Obey it.
10446
10447 * vc/vc.el (vc-revert-show-diff): Default to t.
10448
10449 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10450
10451 * allout-widgets.el (allout-widgets-post-command-business):
10452 Stop decorating intermediate isearch matches. They're not being
10453 undecorated when an isearch is continued past, and isearch
10454 automatically collapses them. This leads to "widget leaks", where
10455 decorated items accumulate in collapsed areas. Lines with lots of
10456 hidden widgets can slow down cursor travel, substantially.
10457 Too much complicated machinery would be needed to ensure undecoration,
10458 so we're doing without this nicety.
10459
10460 (allout-widgets-tally-string): Don't try to do a hash-table-count
10461 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10462 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10463 *Messages* when allout-widgets-maintain-tally is t.
10464
10465 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10466
10467 * window.el (display-buffer-normalize-argument): Rename to
10468 display-buffer-normalize-arguments. Handle special meaning of
10469 LABEL argument. Respect special-display-function when popping up
10470 a new frame. Fix code searching for a window showing the buffer
10471 on another frame.
10472 (display-buffer-normalize-specifiers):
10473 Call display-buffer-normalize-arguments.
10474 (display-buffer-in-window): Don't undedicate the window if its
10475 buffer remains the same.
10476 Reported by Drew Adams <drew.adams@oracle.com>.
10477 (display-buffer-alist): Add choice for same-window macro
10478 specfier.
10479 (display-buffer): Mention special meaning of LABEL argument in
10480 doc-string. Fix quoting. Don't pop up a new frame even as
10481 fallback.
10482
10483 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10484
10485 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10486 avoid deleting the current window in some cases (bug#8911).
10487
10488 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10489
10490 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10491 (Bug#8934)
10492
10493 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10494
10495 * net/network-stream.el (network-stream-open-starttls):
10496 Use built-in TLS support if `gnutls-available-p' is true.
10497 (network-stream-open-tls): Ditto.
10498
10499 2011-06-26 Leo Liu <sdl.web@gmail.com>
10500
10501 * register.el (registerv): New struct.
10502 (registerv-make): New function.
10503 (jump-to-register, describe-register-1, insert-register):
10504 Support the jump-func, print-func and insert-func slot of a registerv
10505 struct. (Bug#8415)
10506
10507 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10508
10509 * vc/vc.el (vc-revert-show-diff): New defcustom.
10510 (vc-diff-internal): New arg specifying diff buffer.
10511 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10512 reuse an existing *vc-diff* buffer (Bug#8927).
10513
10514 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10515
10516 2011-06-26 Glenn Morris <rgm@gnu.org>
10517
10518 * progmodes/f90.el (f90-critical-indent): New option.
10519 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10520 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10521 (f90-mode): Doc fix.
10522 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10523 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10524 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10525 (f90-match-end): Handle block, critical.
10526
10527 2011-06-25 Glenn Morris <rgm@gnu.org>
10528
10529 * calendar/diary-lib.el (diary-included-files): Doc fix.
10530 (diary-include-files): New function, extracted from
10531 diary-include-other-diary-files and diary-mark-included-diary-files.
10532 (diary-include-other-diary-files, diary-mark-included-diary-files):
10533 Just call diary-include-files.
10534 (diary-mark-entries): Reset diary-included-files on first call.
10535
10536 * calendar/diary-lib.el (diary-mark-entries)
10537 (diary-mark-included-diary-files):
10538 Visit included diary-files in temp buffers.
10539
10540 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10541 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10542 (f90-start-block-re, f90-imenu-generic-expression)
10543 (f90-looking-at-program-block-start, f90-no-block-limit):
10544 Add support for submodules.
10545
10546 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10547 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10548
10549 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10550
10551 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10552 buffer-file-type before setting its value, to avoid disastrous
10553 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10554
10555 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10558
10559 * ses.el (ses-unload-function):
10560 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10561
10562 * proced.el (proced-unload-function):
10563 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10564
10565 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10566
10567 * server.el (server-create-window-system-frame): Add parameters arg.
10568 (server-process-filter): Doc fix. Handle frame-parameters.
10569
10570 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10571
10572 Fix bug#8730, bug#8781.
10573
10574 * loadhist.el (unload--set-major-mode): New function.
10575 (unload-feature): Use it.
10576
10577 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10578 (python-unload-function): New function.
10579
10580 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10583
10584 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10585
10586 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10587 the candidates list.
10588
10589 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10592
10593 2011-06-23 Richard Stallman <rms@gnu.org>
10594
10595 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10596 (rmail-variables): Set next-error-move-function.
10597 (rmail-what-message): Take argument POS.
10598 (rmail-next-error-move): New function.
10599
10600 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10603 messages for adjacent non-terminals.
10604
10605 2011-06-23 Richard Stallman <rms@gnu.org>
10606
10607 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10608 (rmail-show-message-1): Preserve buffer modified flag.
10609 (rmail-start-mail): Don't specify use of rmail-mail-return;
10610 that's done by mail-bury now.
10611 (rmail-mail-return): Handle arg NEWBUF.
10612
10613 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10614
10615 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10616 SIZE is a number.
10617
10618 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10619
10620 * window.el (get-lru-window, get-mru-window)
10621 (get-largest-window): Never return a minibuffer window.
10622 (display-buffer-pop-up-window): Fix a bug that could lead to
10623 reusing the minibuffer window.
10624 (display-buffer): Pass original specifier argument to
10625 display-buffer-function instead of the normalized one.
10626 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10627
10628 2011-06-22 Leo Liu <sdl.web@gmail.com>
10629
10630 * minibuffer.el (completing-read-function)
10631 (completing-read-default): Move from minibuf.c
10632
10633 2011-06-22 Richard Stallman <rms@gnu.org>
10634
10635 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10636 to Rmail even if not started by a special Rmail command.
10637
10638 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10639 Copy the buffer currently showing just one message.
10640
10641 2011-06-22 Roland Winkler <winkler@gnu.org>
10642
10643 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10644 (bibtex-clean-entry): First delete the old key so that a
10645 customized algorithm for generating the new key does not get
10646 confused by the old key.
10647 (bibtex-url): Obey regexp of first step.
10648 (bibtex-search-entries): Do not use add-to-list with local
10649 list-var.
10650
10651 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10652
10653 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10654 stored a user name, then query for the password first, instead of
10655 waiting for SMTP to give an error message and the trying again.
10656
10657 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10658
10659 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10660 BUFFER in call-process.
10661
10662 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10663
10664 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10665 QUIT twice.
10666 (smtpmail-try-auth-methods): Require user name and password from
10667 auth-source.
10668
10669 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10670
10671 * window.el (display-buffer-default-specifiers)
10672 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10673 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10674 (split-window): Normalize SIDE argument (Bug#8916).
10675
10676 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10677 (special-display-frame-alist, special-display-popup-frame):
10678 Remove duplicate declarations. These are now in window.el.
10679
10680 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10681
10682 * mail/smtpmail.el (smtpmail-via-smtp):
10683 Set :use-starttls-if-possible so that we always use STARTTLS if the
10684 server supports it. SMTP servers that support STARTTLS commonly
10685 require it.
10686
10687 * net/network-stream.el (network-stream-open-starttls): Support
10688 upgrading to STARTTLS always, even if we don't have built-in support.
10689 (open-network-stream): Add the :always-query-capabilities keyword.
10690
10691 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10692 upgrades with `open-network-stream', and rely solely on
10693 auth-source for all credentials. Big changes throughout the file,
10694 but in particular:
10695 (smtpmail-auth-credentials): Remove.
10696 (smtpmail-starttls-credentials): Remove.
10697 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10698 MAIL FROM, too.
10699
10700 * net/network-stream.el (network-stream-open-starttls):
10701 Provide support for client certificates both for external and built-in
10702 STARTTLS.
10703 (auth-source): Require.
10704 (open-network-stream): Document the :client-certificate keyword.
10705 (network-stream-certificate): Change cert-cert to cert and
10706 cert-key to key.
10707
10708 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10709
10710 * net/tramp-cache.el (top): Don't load the persistency file when
10711 "emacs -Q" has been called.
10712
10713 2011-06-21 Tim Harper <timcharper@gmail.com>
10714
10715 * term/ns-win.el (ns-initialize-window-system):
10716 Set application-specific `ApplePressAndHoldEnabled' system
10717 resource to NO as it is not yet supported by the NS port.
10718
10719 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10722 (list-dynamic-libraries): ...not here.
10723
10724 2011-06-21 Leo Liu <sdl.web@gmail.com>
10725
10726 * subr.el (sha1): Implement sha1 using secure-hash.
10727
10728 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10729
10730 * window.el (display-buffer-alist): In default value do not
10731 enforce searching a window on any but the selected frame.
10732 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10733 (display-buffer-select-window): Remove function.
10734 (display-buffer-in-window): When a window on another frame gets
10735 reused, do not select it any more but just raise its frame if
10736 necessary (Bug#8851) and (Bug#8856).
10737 (display-buffer-normalize-options): Handle pop-up-frames related
10738 options more faithfully.
10739 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10740 window if it is on another frame.
10741 (display-buffer-alist, display-buffer-default-specifiers):
10742 Don't make new frame unsplittable by default.
10743 (display-buffer-normalize-argument): Fix doc-string typo and use
10744 'same-frame-other-window instead of 'other-window when associating
10745 with display-buffer-macro-specifiers.
10746
10747 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10748
10749 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10750 New functions.
10751 (5x5-mode-map, 5x5-mode-menu): Bind them.
10752 (5x5-draw-grid): Tweak the solver's rendering.
10753
10754 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10757 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10758
10759 2011-06-21 Drew Adams <drew.adams@oracle.com>
10760
10761 * menu-bar.el: Use function variable instead of switch-to-buffer.
10762 (menu-bar-select-buffer-function): New variable.
10763 (menu-bar-update-buffers): Use it (bug#8876).
10764
10765 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10768 variable's status.
10769
10770 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10771
10772 * x-dnd.el (x-dnd-version-from-flags)
10773 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10774 and long as number (Bug#8899).
10775 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10776
10777 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10780 (completion-try-completion, completion-all-completions): Compute the
10781 metadata argument if it's missing; make it optional (bug#8795).
10782
10783 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10784 (widget-complete): Use new :completion-function property.
10785 (widget-completions-at-point): New function.
10786 (default): Use :completion-function instead of :complete.
10787 (widget-default-completions): Rename from widget-default-complete;
10788 Rewrite.
10789 (widget-string-complete, widget-file-complete, widget-color-complete):
10790 Remove functions.
10791 (file, symbol, function, variable, coding-system, color):
10792 * international/mule-cmds.el (default-input-method, charset)
10793 (language-info-custom-alist):
10794 * cus-edit.el (face): Use new property :completions.
10795
10796 * progmodes/pascal.el (pascal-completions-at-point): New function.
10797 (pascal-mode): Use it.
10798 (pascal-mode-map): Use completion-at-point.
10799 (pascal-toggle-completions): Make obsolete.
10800 (pascal-complete-word, pascal-show-completions):
10801 * progmodes/octave-mod.el (octave-complete-symbol):
10802 Redefine as obsolete alias.
10803 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10804 Signal absence of completion info for old Octave,
10805 (inferior-octave-complete): Redefine as obsolete alias.
10806 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10807 (meta-completions-at-point): Rename from meta-complete-symbol and
10808 adapt it for use on completion-at-point-functions.
10809 (meta-common-mode): Use it.
10810 (meta-looking-at-backward, meta-match-buffer): Remove.
10811 (meta-complete-symbol): Redefine as obsolete alias.
10812 (meta-common-mode-map): Use completion-at-point.
10813 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10814 (makefile-mode-map): Use completion-at-point.
10815 (makefile-completions-at-point): Rename from makefile-complete and
10816 adapt it for use on completion-at-point-functions.
10817 (makefile-mode): Use it.
10818 (makefile-complete): Redefine as obsolete alias.
10819
10820 2011-06-20 Deniz Dogan <deniz@dogan.se>
10821
10822 * net/rcirc.el: Delete trailing whitespaces once and for all.
10823
10824 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10825
10826 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10827
10828 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10829
10830 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10831
10832 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10833
10834 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10835
10836 * window.el (display-buffer-other-window-means-other-frame):
10837 Call display-buffer-normalize-alist.
10838 (display-buffer-normalize-specifiers-1): Rename to
10839 display-buffer-normalize-argument. New argument other-frame.
10840 Rewrite.
10841 (display-buffer-normalize-specifiers-2): Rename to
10842 display-buffer-normalize-options.
10843 (display-buffer-normalize-alist-1): New function.
10844 (display-buffer-normalize-specifiers-3): Rename to
10845 display-buffer-normalize-alist.
10846 Call display-buffer-normalize-alist-1.
10847 (display-buffer-normalize-options-inhibit): New variable.
10848 (display-buffer-normalize-specifiers): Rewrite calling
10849 display-buffer-normalize-alist,
10850 display-buffer-normalize-argument, and
10851 display-buffer-normalize-options. Don't call the latter if
10852 display-buffer-normalize-options-inhibit is non-nil.
10853 (frame-auto-delete): New option.
10854 (window-deletable-p): Use frame-auto-delete.
10855 (window-list-no-nils, window-state-ignored-parameters)
10856 (window-state-get-1, window-state-get, window-state-put-list)
10857 (window-state-put-1, window-state-put-2, window-state-put):
10858 New functions.
10859 (display-buffer-normalize-options): Move special-display-p group
10860 after pop-up-frame group (Bug#8851) and (Bug#8856).
10861
10862 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10863
10864 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10865 groups (Bug#8776).
10866 (rx-submatch-n): New function.
10867 (rx): Document it.
10868
10869 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10870 (Bug#8768).
10871
10872 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10873
10874 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10875
10876 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10877 anytime existing face settings are present (Bug#8889).
10878
10879 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10880 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10881 Remove unused argument.
10882
10883 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10884
10885 * window.el (display-buffer-default-specifiers):
10886 Remove pop-up-frame. Add pop-up-window-min-height,
10887 pop-up-window-min-width, and another reuse-window specifier
10888 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10889 (display-buffer-normalize-specifiers-2):
10890 Handle split-height-threshold and split-width-threshold also when
10891 pop-up-windows is unset. Add a reuse-window specifier for the
10892 case popping up a new window fails.
10893 (special-display-popup-frame): Remove double quoting.
10894 (display-buffer-normalize-specifiers-1): Fix thinko.
10895
10896 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10899 according to comint-completion-addsuffix.
10900
10901 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10902 (pcomplete-suffix-list): Mark as obsolete.
10903 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10904 pcomplete-seen in the closure.
10905 (pcomplete-comint-setup): Setup completion-at-point as well.
10906 (pcomplete--entries): New function.
10907 (pcomplete--env-regexp): New var.
10908 (pcomplete-entries): Rewrite to work with partial-completion and
10909 without relying on pcomplete-suffix-list.
10910 (pcomplete-pare-list): Remove, unused.
10911
10912 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (display-buffer-alist): Set pop-up-window-min-height
10915 and pop-up-window-min-width in default value. Reported by
10916 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10917 other-window-means-other-frame.
10918 (display-buffer-macro-specifiers): Comment out entry for
10919 other-window specifier.
10920 (display-buffer-other-window-means-other-frame): New function.
10921 (display-buffer-normalize-specifiers-1): New arguments
10922 buffer-name and label. Treat other-window case specially.
10923 (display-buffer-normalize-specifiers-2): Treat other-window case
10924 specially.
10925 (display-buffer-normalize-specifiers-3): New function.
10926 (display-buffer-normalize-specifiers):
10927 Call display-buffer-normalize-specifiers-3.
10928
10929 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10930
10931 * window.el (same-window-p): Fix two typos introduced when
10932 adding with-no-warnings.
10933 (display-buffer-normalize-specifiers-1): Don't check
10934 pop-up-frames for 'unset initialization.
10935 (display-buffer-normalize-specifiers-2): Major rewrite using
10936 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10937 (pop-up-frames, display-buffer-reuse-frames)
10938 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10939 Suggested by David Engster <deng@randomsample.de>.
10940 (even-window-heights): Initialize to 'unset.
10941 (display-buffer-alist-set): Handle new 'unset initializations.
10942 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10943 other window case.
10944
10945 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10946
10947 * window.el (display-buffer-normalize-specifiers-1):
10948 Respect current value of pop-up-frames for most reasonable values of
10949 second argument of display-buffer (Bug#8865).
10950 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10951 (switch-to-buffer-other-window-same-frame)
10952 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10953 Adams (Bug#8875).
10954 (display-buffer): Don't check noninteractive when calling
10955 display-buffer-pop-up-frame.
10956 (display-buffer-pop-up-frame): Never pop up a frame in
10957 noninteractive mode (Bug#8857).
10958 (enlarge-window, shrink-window): Don't report an error when the
10959 window can't be resized as requested (Bug#8862).
10960
10961 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10964
10965 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10966
10967 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10968
10969 2011-06-15 Alan Mackenzie <acm@muc.de>
10970
10971 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10972 for declarators, disable knr checking to speed up for normal files.
10973 2: Refactor, replacing a sequence of nested if forms by a cond form.
10974
10975 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10976
10977 * net/network-stream.el (open-network-stream): Add the keyword
10978 :always-query-capabilities for the case where you want to force a
10979 `plain' network connection, but the protocol still requires the
10980 capabilitiy command (i.e., SMTP and EHLO).
10981
10982 * subr.el (process-live-p): Rename from `process-alive-p' for
10983 consistency with other `-live-p' functions.
10984
10985 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * window.el (same-window-buffer-names, same-window-regexps)
10988 (special-display-frame-alist, special-display-popup-frame)
10989 (special-display-function, special-display-buffer-names)
10990 (special-display-regexps, pop-up-frame-alist)
10991 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10992 (pop-up-windows, split-window-preferred-function)
10993 (split-height-threshold, split-width-threshold, even-window-heights)
10994 (display-buffer-mark-dedicated): Don't encourage the use of
10995 display-buffer-alist from Elisp code.
10996
10997 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10998
10999 * progmodes/python.el (python-mode): Derive from prog-mode.
11000 * progmodes/ps-mode.el (ps-mode):
11001 * progmodes/mixal-mode.el (mixal-mode):
11002 * progmodes/cfengine.el (cfengine-mode):
11003 * progmodes/ld-script.el (ld-script-mode): Likewise.
11004
11005 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11006
11007 * window.el (display-buffer-alist): Trim default value to avoid
11008 popping up a new frame (Bug#8857) or reusing an arbitrary window
11009 on another frame.
11010 (display-buffer): Do not fall back on popping up a new frame in
11011 batch mode (Bug#8857).
11012
11013 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11014
11015 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11016 (custom-theme-summary): New function.
11017 (customize-themes): Use it.
11018
11019 2011-06-13 Glenn Morris <rgm@gnu.org>
11020
11021 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11022
11023 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11024
11025 * help.el (help-window): Remove variable.
11026 (help-window-point-marker, temp-buffer-max-height)
11027 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11028 (help-print-return-message): Don't set help-window.
11029 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11030 (help-window-setup-finish): Remove.
11031 (help-window-display-message, help-window-setup)
11032 (with-help-window): Major rewrite based on new
11033 display-buffer-window variable.
11034
11035 * help-mode.el (help-mode-finish): Remove help-window related
11036 code.
11037
11038 * view.el (view-exits-all-viewing-windows): Remove reference to
11039 view-return-to-alist in doc-string.
11040 (view-return-to-alist): Make obsolete.
11041 (view-buffer): Call pop-to-buffer-same-window and remove
11042 undo-window code.
11043 (view-buffer-other-window): Call pop-to-buffer-other-window and
11044 simplify code. Ignore second argument.
11045 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11046 simplify code. Ignore second argument.
11047 (view-return-to-alist-update): Make obsolete.
11048 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11049 Rewrite using quit-restore window parameters.
11050 (view-mode-exit): Rename second argument to EXIT-ONLY.
11051 Rewrite using quit-restore-window.
11052 (View-exit, View-exit-and-edit, View-leave, View-quit)
11053 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11054 appropriate arguments.
11055 (view-end-message): Use quit-restore window parameter.
11056
11057 * window.el (display-buffer-function): Rewrite doc-string.
11058 (display-buffer-window, display-buffer-alist): New variables.
11059 (display-buffer-split-specifiers)
11060 (display-buffer-side-specifiers)
11061 (display-buffer-macro-specifiers): New constants.
11062 (display-buffer-even-window-sizes, display-buffer-set-height)
11063 (display-buffer-set-width, display-buffer-select-window)
11064 (display-buffer-in-window, display-buffer-reuse-window)
11065 (display-buffer-split-window-1, display-buffer-split-window)
11066 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11067 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11068 (display-buffer-in-side-window, normalize-buffer-to-display)
11069 (display-buffer-normalize-specifiers-1)
11070 (display-buffer-normalize-specifiers-2)
11071 (display-buffer-normalize-specifiers, display-buffer-frame):
11072 New functions.
11073 (display-buffer): Major rewrite.
11074 (display-buffer-other-window, display-buffer-other-frame)
11075 (pop-to-buffer, switch-to-buffer-other-window)
11076 (switch-to-buffer-other-frame): Rewrite.
11077 (display-buffer-same-window, display-buffer-same-frame)
11078 (display-buffer-same-frame-other-window)
11079 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11080 (pop-to-buffer-other-window)
11081 (pop-to-buffer-same-frame-other-window)
11082 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11083 (switch-to-buffer-other-window-same-frame): New functions.
11084 (same-window-p, special-display-p): Rewrite disabling warnings.
11085 Make obsolete.
11086 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11087 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11088 Make obsolete
11089 (same-window-buffer-names, same-window-regexps)
11090 (special-display-frame-alist, special-display-popup-frame)
11091 (special-display-function, special-display-buffer-names)
11092 (special-display-regexps, pop-up-frame-alist)
11093 (pop-up-frame-function, split-window-preferred-function)
11094 (split-height-threshold, split-width-threshold)
11095 (even-window-heights): Make obsolete.
11096
11097 2011-06-12 Glenn Morris <rgm@gnu.org>
11098
11099 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11100 Misc simplifications.
11101
11102 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11103
11104 * window.el (window-safely-shrinkable-p): Restore function which
11105 was inadvertently removed in change from 2011-06-11. Declare as
11106 obsolete.
11107
11108 * calendar/calendar.el (calendar-generate-window):
11109 Use window-iso-combined-p instead of combination of one-window-p and
11110 window-safely-shrinkable-p.
11111
11112 2011-06-12 Glenn Morris <rgm@gnu.org>
11113
11114 * progmodes/fortran.el (fortran-mode-syntax-table):
11115 * progmodes/f90.el (f90-mode-syntax-table):
11116 Set % to punctuation. (Bug#8820)
11117 (f90-find-tag-default): Remove, no longer needed.
11118
11119 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11120
11121 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11122
11123 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11124
11125 * image.el (image-animated-p): Return animation delay in seconds.
11126 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11127 (image-animate-timeout): Remove DELAY argument. Don't assume
11128 every subimage has the same delay; get it from image-animated-p.
11129 (image-animate): Caller changed.
11130
11131 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11132
11133 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11134 to ignored backtrace functions.
11135
11136 2011-06-11 Glenn Morris <rgm@gnu.org>
11137
11138 * calendar/appt.el (appt-disp-window-function): Doc fix.
11139 (appt-check): Handle overlapping appointments. (Bug#8337)
11140
11141 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11142
11143 * window.el (window-tree-1, window-tree): New functions, moving
11144 the latter to window.el.
11145 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11146 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11147 (bw-refresh-edges): Remove.
11148 (balance-windows-1, balance-windows-2): New functions.
11149 (balance-windows): Rewrite in terms of window tree functions,
11150 balance-windows-1 and balance-windows-2.
11151 (bw-adjust-window): Remove.
11152 (balance-windows-area-adjust): New function with functionality of
11153 bw-adjust-window but using resize-window.
11154 (set-window-text-height): Rewrite doc-string.
11155 Use normalize-live-window and resize-window.
11156 (enlarge-window-horizontally, shrink-window-horizontally):
11157 Rename argument to DELTA.
11158 (window-buffer-height): New function.
11159 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11160 Rewrite using new window resize routines.
11161 (kill-buffer-and-window, mouse-autoselect-window-select):
11162 Use ignore-errors instead of condition-case.
11163 (quit-window): Call delete-frame instead of delete-windows-on
11164 for the only buffer on frame.
11165
11166 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11167
11168 * loadup.el (top-level): Load window before files for the sake
11169 of replace-buffer-in-windows.
11170
11171 * files.el (read-buffer-to-switch)
11172 (switch-to-buffer-other-window)
11173 (switch-to-buffer-other-frame, display-buffer-other-frame):
11174 Move to window.el.
11175
11176 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11177 (previous-buffer): Move to window.el.
11178
11179 * bindings.el (unbury-buffer): Move to window.el.
11180
11181 * window.el (delete-other-windows-vertically): Move after
11182 definition of delete-other-windows.
11183 (other-window, delete-windows-on, replace-buffer-in-windows):
11184 Move here from window.c.
11185 (record-window-buffer, unrecord-window-buffer)
11186 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11187 (switch-to-next-buffer): New functions.
11188 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11189 from simple.el. Call switch-to-next-buffer.
11190 (previous-buffer): Move here from simple.el.
11191 Call switch-to-prev-buffer.
11192 (bury-buffer): Move here from buffer.c. Switch to previous
11193 buffer when window cannot be deleted.
11194 (unbury-buffer): Move here from bindings.el.
11195 (ctl-x-map): Move binding for other-window from window.c to
11196 here.
11197 (read-buffer-to-switch, switch-to-buffer-other-window)
11198 (switch-to-buffer-other-frame): Move here from files.el.
11199 (normalize-buffer-to-switch-to): New functions.
11200 (switch-to-buffer): Move here from buffer.c.
11201 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11202
11203 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11204
11205 * window.el (window-min-height, window-min-width): Move here
11206 from window.c. Add defcustoms and rewrite doc-strings.
11207 (resize-mini-window, resize-window): New functions.
11208 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11209 Move here from window.c.
11210 (maximize-window, minimize-window): New functions.
11211 (delete-window, delete-other-windows, split-window): Move here
11212 from window.c.
11213 (window-split-min-size): New function.
11214 (split-window-keep-point): Mention split-window-above-each-other
11215 instead of split-window-vertically.
11216 (split-window-above-each-other, split-window-vertically):
11217 Rename split-window-vertically to split-window-above-each-other
11218 and provide defalias for old definition.
11219 (split-window-side-by-side, split-window-horizontally):
11220 Rename split-window-horizontally to split-window-side-by-side
11221 and provide defalias for the old definition.
11222 (ctl-x-map): Move bindings for delete-window,
11223 delete-other-windows and enlarge-window here from window.c.
11224 Replace bindings for split-window-vertically and
11225 split-window-horizontally by bindings for
11226 split-window-above-each-other and split-window-side-by-side.
11227
11228 * cus-start.el (all): Remove entries for window-min-height and
11229 window-min-width. Add entries for window-splits and
11230 window-nest.
11231
11232 2011-06-09 Glenn Morris <rgm@gnu.org>
11233
11234 * calendar/appt.el (appt-mode-line): New function.
11235 (appt-check, appt-disp-window): Use it.
11236
11237 * files.el (hack-one-local-variable-eval-safep):
11238 Allow minor-modes with explicit +/-1 arguments.
11239
11240 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11241
11242 * term/xterm.el (xterm): Add defgroup.
11243 (xterm-extra-capabilities): Add defcustom to supply known xterm
11244 capabilities, skip querying them, or query them (default).
11245 (terminal-init-xterm): Use it.
11246 (terminal-init-xterm-modify-other-keys): New function to set up
11247 modifyOtherKeys support to simplify `terminal-init-xterm'.
11248
11249 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11250
11251 * window.el (resize-window-reset, resize-window-reset-1)
11252 (resize-subwindows-skip-p, resize-subwindows-normal)
11253 (resize-subwindows, resize-other-windows, resize-this-window)
11254 (resize-root-window, resize-root-window-vertically)
11255 (window-deletable-p, window-or-subwindow-p)
11256 (frame-root-window-p): New functions.
11257
11258 2011-06-09 Glenn Morris <rgm@gnu.org>
11259
11260 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11261 (ange-ftp-get-files): Use it.
11262
11263 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11264
11265 * mail/sendmail.el (mail-recover-1, mail-recover):
11266 * files.el (recover-file, recover-session):
11267 Handle dired-listing-switches not being just a single short option.
11268
11269 2011-06-09 Glenn Morris <rgm@gnu.org>
11270
11271 * calendar/appt.el (appt-display-message, appt-disp-window):
11272 Handle lists of appointments.
11273
11274 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11275
11276 * window.el (one-window-p): Move down in code.
11277 Rewrite doc-string.
11278 (window-current-scroll-bars): Rewrite doc-string.
11279 Normalize live window argument.
11280 (walk-windows, get-window-with-predicate, count-windows):
11281 Rewrite doc-string. Use window-list-1.
11282 (window-in-direction-2, window-in-direction, get-mru-window):
11283 New functions.
11284
11285 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11286
11287 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11288 Doc fix (Bug#8713).
11289
11290 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11291
11292 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11293
11294 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * loadhist.el (unload-feature-special-hooks):
11297 Add `comint-output-filter-functions'.
11298
11299 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11300
11301 * calendar/appt.el (appt-check): Move some initializations into the let.
11302
11303 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11304
11305 * window.el (window-height): Defalias to window-total-height.
11306 (window-width): Defalias to window-body-width.
11307
11308 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11309
11310 * image-mode.el (image-toggle-animation): New command.
11311 (image-mode-map): Bind it to RET.
11312 (image-mode): Update message.
11313 (image-toggle-display-image): Avoid a spurious cache flush.
11314 (image-transform-rotation): Doc fix.
11315 (image-transform-properties): Return quickly in the normal case.
11316 (image-animate-loop): Rename from image-animate-max-time.
11317
11318 * image.el (image-animate-max-time): Move to image-mode.el.
11319 (create-animated-image): Remove unnecessary function.
11320 (image-animate): Rename from image-animate-start. New arg.
11321 (image-animate-stop): Remove; just use image-animate-timer.
11322 (image-animate-timer): Use car-safe.
11323 (image-animate-timeout): Rename argument.
11324
11325 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11326
11327 * window.el (get-lru-window, get-largest-window): Move here from
11328 window.c. Rename first argument to ALL-FRAMES.
11329 Rephrase doc-strings.
11330 (get-buffer-window-list): Rewrite using window-list-1.
11331 Rephrase doc-string.
11332 (window-safe-min-height, window-safe-min-width): New constants.
11333 (window-size-ignore, window-min-size, window-min-size-1)
11334 (window-sizable, window-sizable-p, window-size-fixed-1)
11335 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11336 (window-max-delta-1, window-max-delta, window-resizable)
11337 (window-resizable-p, window-total-height, window-total-width)
11338 (window-body-width): New functions.
11339 (window-full-height-p, window-full-width-p): Rewrite using
11340 window-total-size.
11341 (window-body-height): Rewrite using window-body-size.
11342
11343 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11344
11345 * window.el (window-right, window-left, window-child)
11346 (window-child-count, window-last-child, window-any-p)
11347 (normalize-live-buffer, normalize-live-frame)
11348 (normalize-any-window, normalize-live-window)
11349 (window-iso-combination-p, window-iso-combined-p)
11350 (window-iso-combinations)
11351 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11352 (windows-with-parameter, window-with-parameter)
11353 (window-atom-root, make-window-atom, window-atom-check-1)
11354 (window-atom-check, window-side-check, window-check):
11355 New functions.
11356 (ignore-window-parameters, window-sides, window-sides-vertical)
11357 (window-sides-slots): New variables.
11358 (window-size-fixed): Move down in code. Minor doc-string fix.
11359
11360 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11361
11362 * comint.el (comint-dynamic-complete-as-filename)
11363 (comint-dynamic-complete-filename): Correctly call
11364 completion-in-region.
11365
11366 2011-06-05 Deniz Dogan <deniz@dogan.se>
11367
11368 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11369 in last change.
11370
11371 2011-06-05 Deniz Dogan <deniz@dogan.se>
11372
11373 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11374 (rcirc): Use it to prompt for encryption.
11375
11376 2011-06-05 Roland Winkler <winkler@gnu.org>
11377
11378 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11379 (bibtex-search-entries): New command bound to C-c C-a.
11380 (bibtex-display-entries): New function.
11381
11382 2011-06-05 Roland Winkler <winkler@gnu.org>
11383
11384 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11385 (bibtex-insert-kill): After yanking insert newline if necessary.
11386 (bibtex-initialize): Call bibtex-string-files-init only once.
11387 (bibtex-mode): Do not call easy-menu-add.
11388 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11389 (bibtex-yank): Set arg properly if nil.
11390
11391 2011-06-05 Roland Winkler <winkler@gnu.org>
11392
11393 * textmodes/bibtex.el (bibtex-search-entry-globally):
11394 New variable.
11395 (bibtex-search-entry): Use it.
11396
11397 2011-06-05 Roland Winkler <winkler@gnu.org>
11398
11399 * textmodes/bibtex.el (bibtex-entry-format): New option
11400 sort-fields.
11401 (bibtex-format-entry, bibtex-reformat): Honor this option.
11402 (bibtex-parse-entry): Return fields in proper order.
11403
11404 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11405
11406 * doc-view.el (doc-view-remove-if): Move computation of result out
11407 of `dolist' to silence misleading lexical-binding warning.
11408
11409 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11410
11411 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11412 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11413
11414 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11415
11416 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11417 "SunOS 5.10".
11418
11419 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11422 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11423 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11424 (tramp-parse-putty):
11425 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11426 (tramp-completion-function-alist-ssh)
11427 (tramp-completion-function-alist-telnet)
11428 (tramp-completion-function-alist-su)
11429 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11430 cookie.
11431
11432 * net/tramp-ftp.el:
11433 * net/tramp-sh.el:
11434 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11435 load "tramp.el" `tramp-set-completion-function'.
11436
11437 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * shell.el: Require and use pcomplete.
11440 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11441 (shell-completion-vars): Set pcomplete-default-completion-function.
11442
11443 2011-06-04 Deniz Dogan <deniz@dogan.se>
11444
11445 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11446 `memq' (Bug#8799).
11447
11448 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11451
11452 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11453
11454 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11455 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11456 * vc/log-view.el (log-view-beginning-of-defun):
11457 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11458 (smerge-refine-forward, smerge-refine-chopup-region):
11459 Silence warning for unused `dotimes' counter variables.
11460
11461 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * net/tramp.el (tramp-with-progress-reporter): Rename from
11464 with-progress-reporter. Use `declare'.
11465 * net/tramp-smb.el:
11466 * net/tramp-sh.el:
11467 * net/tramp-gvfs.el: Update all uses.
11468
11469 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11470
11471 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11472 buffer isn't killed before making it current.
11473
11474 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 Silence various byte-compiler warnings.
11477 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11478 `access-type' and new obsolescence format.
11479 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11480 new format.
11481 (byte-compile-check-variable): New `access-type' argument.
11482 Only warn if the access-type is obsolete.
11483 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11484 (byte-compile-variable-set): Adjust callers.
11485 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11486 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11487 setting it as obsolete.
11488 * simple.el (minibuffer-completing-symbol):
11489 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11490 access as obsolete.
11491 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11492 obsolete yet.
11493 * international/quail.el (quail-mouse-choose-completion): Remove unused
11494 code referring to obsolete var.
11495 (quail-choose-completion-string): Remove.
11496 * server.el (server-clients-with, server-kill-buffer-query-function)
11497 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11498 * proced.el (proced-send-signal):
11499 * emacs-lisp/lisp.el (lisp-complete-symbol):
11500 Replace completion-annotate-function with completion-extra-properties.
11501
11502 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11503
11504 * simple.el (goto-line): Use read-number.
11505 (overriding-map-is-bound): Remove.
11506 (saved-overriding-map): Change default.
11507 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11508 Take the map as argument.
11509 (universal-argument, negative-argument, digit-argument): Use it.
11510 (restore-overriding-map): Adjust.
11511 (do-auto-fill): Use fill-forward-paragraph.
11512 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11513
11514 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11515 (minibuffer-inactive-mode): New major mode.
11516 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11517 the *Messages* buffer" hack.
11518 (mouse-popup-menubar): Don't burp if the event is a normal key.
11519
11520 Miscellaneous tweaks.
11521 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11522 lexical scoping as in subr.el's dolist and dotimes.
11523 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11524 Silence compiler warning.
11525 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11526 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11527 * international/ccl.el (ccl-compile): Trivial simplification.
11528 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11529 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11530 `printflag' argument.
11531 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11532 Purecopy the whole obsolescence data.
11533
11534 2011-06-01 Leo Liu <sdl.web@gmail.com>
11535
11536 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11537 improve doc-string as suggested by Marco Pessotto
11538 <melmothx@gmail.com>.
11539 (rcirc-print): Fix last change.
11540
11541 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * minibuffer.el (complete-with-action): Return nil for the metadata and
11544 boundaries of non-functional tables.
11545 (completion-table-dynamic): Return nil for the metadata.
11546 (completion-table-with-terminator): Add default case, using
11547 complete-with-action.
11548 (completion--metadata): New function.
11549 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11550 to try and avoid pathological performance problems.
11551 (completion--embedded-envvar-table): Return `category' metadata.
11552
11553 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11554
11555 * subr.el (process-alive-p): New tiny convenience function.
11556
11557 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11560 content but also its previous major mode.
11561
11562 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11563
11564 * emacs-lisp/debug.el (debug): Restore the previous content of the
11565 *Backtrace* buffer when we exit with C-M-c.
11566
11567 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * minibuffer.el: Add metadata method to completion tables.
11570 (completion-category-overrides): New defcustom.
11571 (completion-metadata, completion--field-metadata)
11572 (completion-metadata-get, completion--styles)
11573 (completion--cycle-threshold): New functions.
11574 (completion-try-completion, completion-all-completions):
11575 Add `metadata' argument to choose completion-styles.
11576 (completion--do-completion): Use metadata to choose cycling.
11577 (completion-all-sorted-completions): Use metadata for sorting.
11578 Remove :completion-cycle-penalty which is not needed any more.
11579 (completion--try-word-completion): Add `metadata' argument.
11580 (minibuffer-completion-help): Check metadata for annotation function
11581 and sorting.
11582 (completion-file-name-table): Return `category' metadata.
11583 (minibuffer-completing-file-name): Make obsolete.
11584 * simple.el (minibuffer-completing-symbol): Make obsolete.
11585 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11586 completion-try-completion.
11587
11588 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11591
11592 2011-05-30 Leo Liu <sdl.web@gmail.com>
11593
11594 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11595 (rcirc-print): Decode all incoming messages (bug#8744).
11596 (rcirc-decode-coding-system): Allow value nil for automatic coding
11597 system detection.
11598
11599 2011-06-01 Glenn Morris <rgm@gnu.org>
11600
11601 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11602
11603 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11604
11605 * image.el (image-animate-max-time): Allow nil and t values.
11606 Default to nil.
11607 (create-animated-image): Doc fix.
11608 (image-animate-start): Remove second arg; just use
11609 image-animate-max-time.
11610 (image-animate-timeout): Doc fix. Args changed.
11611
11612 * image-mode.el (image-toggle-display-image): Ensure that the
11613 image spec passed to the animate timer is the same object as in
11614 the buffer's display property (Bug#6981).
11615 (image-transform-properties): Doc fix.
11616
11617 * image.el (image-animate-max-time): Default to nil.
11618
11619 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11620
11621 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11622 entire buffer list (Bug#8184).
11623
11624 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11625
11626 * image.el (imagemagick-types-inhibit)
11627 (imagemagick-register-types): Doc fix.
11628
11629 2011-05-29 Deniz Dogan <deniz@dogan.se>
11630
11631 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11632 default.
11633
11634 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11635
11636 * select.el: Don't perform clipboard-manager saving in hooks;
11637 leave the hooks empty.
11638
11639 2011-05-28 Leo Liu <sdl.web@gmail.com>
11640
11641 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11642 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11643 (occur-edit-mode): New major mode (Bug#8463).
11644 (occur-after-change-function): New function.
11645 (occur-engine): Give Occur tags a read-only property.
11646
11647 2011-05-28 Kevin Ryde <user42@zip.com.au>
11648
11649 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11650
11651 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11652
11653 * bindings.el (help-echo): Make the initial non-indicator dash
11654 empty on graphical terminals (Bug#7295).
11655
11656 * files.el (auto-mode-alist): Move config rule after the
11657 in-stripping one (Bug#8547).
11658
11659 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11660
11661 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11662 setting (Bug#8740).
11663
11664 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11665
11666 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11667 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11668 (Bug#8539).
11669
11670 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11671
11672 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11673
11674 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11675
11676 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11677 (hs-hide-block-at-point, hs-find-block-beginning)
11678 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11679 (Bug#8279).
11680
11681 2011-05-28 Glenn Morris <rgm@gnu.org>
11682
11683 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11684
11685 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11686
11687 * help-fns.el (describe-function-1): If the function is a derived
11688 major mode, print the parent mode.
11689
11690 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11691 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11692
11693 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * minibuffer.el (completion--capf-wrapper): Check applicability before
11696 returning non-nil for non-exclusive completion data.
11697 * progmodes/etags.el (tags-completion-at-point-function):
11698 * info-look.el (info-lookup-completions-at-point): Mark as
11699 non-exclusive.
11700 (info-complete): Adjust accordingly.
11701
11702 * info-look.el: Convert to lexical-binding and completion-at-point.
11703 (info-lookup-completions-at-point): New function.
11704 (info-complete): Use it and completion-in-region.
11705
11706 2011-05-28 Drew Adams <drew.adams@oracle.com>
11707
11708 * isearch.el: Let M-e start with point at the first mismatched char.
11709 (isearch-fail-pos): New function.
11710 (isearch-edit-string): Use it.
11711
11712 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11713
11714 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11715
11716 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11717
11718 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11719 traversal functions for avl-trees.
11720 (avl-tree--stack): New struct.
11721 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11722 (avl-tree-enter): Add optional `updatefun' arg.
11723 (avl-tree--do-enter): Add optional `updatefun' arg.
11724 Change return value.
11725 (avl-tree-delete): Add optional `test' and `nilflag' args.
11726 (avl-tree--do-delete): Add `test' and `nilflag' args.
11727 Change return value.
11728 (avl-tree-member): Add optional `nilflag'
11729 (avl-tree-member-p): New function.
11730 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11731 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11732 (avl-tree-stack-empty-p): New functions.
11733
11734 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11735 avl-tree--del-balance1 and make it work both ways.
11736 (avl-tree--del-balance2): Remove.
11737 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11738 make it work both ways.
11739 (avl-tree--enter-balance2): Remove.
11740 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11741 New macros.
11742 (avl-tree--mapc, avl-tree-map): Add direction argument.
11743
11744 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11745
11746 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11747
11748 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11749
11750 * select.el: Support clipboard managers with built-in function
11751 x-clipboard-manager-save, via delete-frame-functions and
11752 kill-emacs-hook.
11753 (xselect-convert-to-targets): Add MULTIPLE target to list.
11754 (xselect-convert-to-save-targets): New function.
11755
11756 2011-05-27 Kenichi Handa <handa@m17n.org>
11757
11758 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11759 let-binding rfc2047-encode-encoded-words to nil.
11760
11761 2011-05-27 Glenn Morris <rgm@gnu.org>
11762
11763 * mail/emacsbug.el: Don't require url-util.
11764
11765 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11766
11767 * files.el (set-auto-mode):
11768 Also respect mode: entries at the end of the file. (Bug#8586)
11769
11770 2011-05-26 Glenn Morris <rgm@gnu.org>
11771
11772 * files.el (hack-local-variables-prop-line, hack-local-variables):
11773 Downcase mode names, as seems to be traditional.
11774 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11775
11776 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11777 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11778
11779 2011-05-25 Julien Danjou <julien@danjou.info>
11780
11781 * textmodes/rst.el (rst-define-level-faces): Do not define face
11782 symbol if it is already defined.
11783
11784 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11785
11786 * play/5x5.el (5x5-new-game, 5x5-randomize):
11787 Reset 5x5-solver-output to nil when a new grid is cast.
11788 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11789 these debugging traces, as defmacro breaks the compiled code.
11790
11791 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11792
11793 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11794
11795 2011-05-24 Leo Liu <sdl.web@gmail.com>
11796
11797 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11798 (vc-bzr-sha1): Adapt.
11799
11800 * sha1.el: Remove. Function `sha1' is now builtin.
11801
11802 * bindings.el: Provide sha1 feature.
11803
11804 2011-05-24 Kenichi Handa <handa@m17n.org>
11805
11806 * mail/sendmail.el: Require `rfc2047'.
11807 (mail-insert-from-field): Do not perform RFC2047 encoding.
11808 (mail-encode-header): New function.
11809 (sendmail-send-it): Set buffer-file-coding-system of the work
11810 buffer to the return value of select-message-coding-system.
11811 Call mail-encode-header.
11812
11813 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11814
11815 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11816
11817 * mail/supercite.el (sc-default-cite-frame):
11818 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11819
11820 2011-05-24 Glenn Morris <rgm@gnu.org>
11821
11822 * progmodes/python.el (brm-menu): Declare.
11823
11824 * emulation/viper.el (viper-set-hooks): Declare.
11825
11826 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11827 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11828 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11829 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11830 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11831 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11832
11833 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 Add an :exit-function for completion-at-point.
11836
11837 * minibuffer.el (completion--done): New fun.
11838 (completion--do-completion): Use it. New arg `expect-exact'.
11839 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11840 since completion--do-completion does it for us now.
11841 (minibuffer-force-complete): Use completion--done and
11842 completion--replace. Handle sole-completion case with more care.
11843 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11844 (completion-extra-properties): New var.
11845 (completion-annotate-function): Make obsolete.
11846 (minibuffer-completion-help): Adjust accordingly.
11847 Use completion-list-insert-choice-function.
11848 (completion-at-point, completion-help-at-point):
11849 Bind completion-extra-properties.
11850 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11851 * simple.el (completion-list-insert-choice-function): New var.
11852 (completion-setup-function): Preserve it.
11853 (choose-completion): Pay attention to it, shuffle the code a bit.
11854 (choose-completion-string): New arg `insert-function'.
11855
11856 * textmodes/bibtex.el: Convert to lexical binding.
11857 (bibtex-mode-map): Use completion-at-point.
11858 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11859 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11860 (bibtex-complete): Define as obsolete alias.
11861 (bibtex-complete-internal): Remove.
11862 (bibtex-format-entry): Remove unused sub-group in regexp.
11863 * shell.el (shell--command-completion-data)
11864 (shell-environment-variable-completion):
11865 * pcomplete.el (pcomplete-completions-at-point):
11866 * comint.el (comint--complete-file-name-data): Use :exit-function
11867 instead of completion-table-with-terminator so it also works for
11868 choose-completion.
11869
11870 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11873
11874 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11875 (bug#8710).
11876
11877 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11878
11879 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11880
11881 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11882 customization variable and implement: If non-nil, auto-fill will
11883 be inhibited while on topic's header line.
11884
11885 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11886
11887 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11888 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11889 always have a solution in grid size = 5 cases.
11890 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11891 (5x5-solver-output, 5x5-log-buffer): New vars.
11892 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11893 Make these variables buffer local to achieve 5x5 multi-session-ness.
11894 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11895 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11896 (5x5-solve-suggest): New funs.
11897 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11898 randomize a grid so that we ensure that there is always a solution.
11899 (5x5-make-random-grid): Allow other movement than flipping.
11900
11901 2011-05-23 Kevin Ryde <user42@zip.com.au>
11902
11903 * emacs-lisp/advice.el (ad-read-advised-function):
11904 Use `function-called-at-point' as the default, if it has
11905 advice and passes PREDICATE.
11906
11907 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11910 byte-compile-lambda if it's actually a lambda.
11911
11912 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11913 Fix function quoting. Use backquote better.
11914
11915 2011-05-22 Yuanle Song <sylecn@gmail.com>
11916
11917 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11918 matching (Bug#8516).
11919
11920 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11921
11922 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11923 different face (Bug#8178).
11924
11925 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11926
11927 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11928 defface (Bug#8144).
11929
11930 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11933 funcall as well (bug#8712). Warn when performing those conversions.
11934 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11935
11936 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11937
11938 2011-05-22 Glenn Morris <rgm@gnu.org>
11939
11940 * files.el (hack-local-variables-prop-line): Small simplifications.
11941 (hack-local-variables, hack-local-variables-prop-line):
11942 If MODE-ONLY, return the mode, rather than just `t'.
11943
11944 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11947
11948 2011-05-21 Glenn Morris <rgm@gnu.org>
11949
11950 * files.el (hack-local-variables-prop-line, hack-local-variables):
11951 If only interested in the mode, don't bother doing the other stuff.
11952
11953 * image-mode.el (image-after-revert-hook):
11954 Redraw all frames on which the image is visible. (Bug#8567)
11955
11956 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11957
11958 * wid-edit.el (widget-checklist-match-inline):
11959 Fix 2011-04-19 change. (Bug#8649)
11960
11961 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11964 Also allow singlespace after single-letter capitals followed by a dot.
11965
11966 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11967 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11968
11969 2011-05-20 Nix <nix@esperi.org.uk>
11970
11971 * files.el (basic-save-buffer-2):
11972 Fix handling of break-hardlink-on-save with non-existent files.
11973
11974 2011-05-19 Deniz Dogan <deniz@dogan.se>
11975
11976 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11977 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11978
11979 2011-05-19 Glenn Morris <rgm@gnu.org>
11980
11981 * progmodes/f90.el (f90-type-def-re):
11982 Handle "type, bind(c)". (Bug#8691)
11983
11984 * emacs-lisp/autoload.el (batch-update-autoloads):
11985 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11986
11987 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11988
11989 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11990 property for the correct connection in case of multihops.
11991
11992 2011-05-18 Glenn Morris <rgm@gnu.org>
11993
11994 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11995 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11996
11997 Rationalize calendar handling of day and month abbrev-arrays.
11998 * calendar/calendar.el (calendar-customized-p): New function.
11999 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12000 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12001 Add :set function.
12002 (calendar-abbrev-length, calendar-day-abbrev-array)
12003 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12004 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12005 Elements may no longer be nil.
12006 (calendar-day-name, calendar-month-name):
12007 Update for changed nature of abbrev arrays.
12008 * calendar/diary-lib.el (diary-name-pattern):
12009 Update for changed nature of abbrev arrays.
12010 (diary-mark-entries-1): Update calendar-make-alist calls.
12011 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12012 * calendar/cal-html.el (cal-html-day-abbrev-array):
12013 Simply inherit from calendar-day-abbrev-array.
12014
12015 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * progmodes/grep.el (grep-mode): Disable default
12018 compilation-directory-matcher setting (bug#8684).
12019
12020 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12021
12022 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12023 instead of "head" and "tail". There were problems with SunOS 5.9,
12024 and it performs better.
12025
12026 2011-05-17 Glenn Morris <rgm@gnu.org>
12027
12028 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12029
12030 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12031 Replace obsolete function.
12032
12033 * shell.el (pcomplete-parse-arguments-function): Declare.
12034
12035 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12036 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12037 (appt-check): Doc fixes.
12038 (appt-disp-window-function, appt-delete-window-function):
12039 Remove needless special case in custom :type.
12040 (appt-display-count): Default to 0, not nil.
12041 (appt-check): Reset appt-display-count to 0, not nil.
12042
12043 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12044
12045 * progmodes/python.el (python-font-lock-keywords):
12046 Add the Python 3.X keyword "nonlocal" (bug#8639).
12047
12048 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12051
12052 2011-05-16 Kevin Ryde <user42@zip.com.au>
12053
12054 * info-look.el (makefile-automake-mode): New setups, looking in
12055 automake manual, then makefile-mode.
12056 (makefile-mode): Remove automake manual, have it just in
12057 makefile-automake-mode since there's various things different or
12058 not relevant to plain make.
12059 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12060 believe a hypothetical automake-mode would go to makefile-mode,
12061 not the other way around.
12062
12063 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12064
12065 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12066 hunk-end tags (Bug#8672).
12067
12068 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12069 vc-annotate-show-diff-revision-at-line (Bug#8671).
12070
12071 2011-05-14 Glenn Morris <rgm@gnu.org>
12072
12073 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12074 in the middle of an existing one with multiple authors. (Bug#8645)
12075 (change-log-font-lock-keywords): Also handle multiple author lines
12076 with leading tabs. (Bug#8644)
12077
12078 * calendar/appt.el (appt-check): Rename some local variables.
12079 Some simplification/reordering.
12080
12081 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12082 (feedmail-sendmail-f-doesnt-sell-me-out)
12083 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12084 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12085 (feedmail-queue-runner-message-sender): Set :version.
12086 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12087 (bbdb-dwim-net-address, vm-mail): Declare.
12088 (feedmail-binmail-gnulinuxish-template):
12089 Rename from feedmail-binmail-linuxish-template.
12090 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12091 Use insert-buffer-substring.
12092
12093 2011-05-14 Bill Carpenter <bill@carpenter.org>
12094
12095 * mail/feedmail.el (feedmail-patch-level): Increase.
12096 (feedmail-debug): New custom group.
12097 (feedmail-confirm-outgoing-timeout)
12098 (feedmail-sendmail-f-doesnt-sell-me-out)
12099 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12100 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12101 (feedmail-sender-line, feedmail-from-line)
12102 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12103 (feedmail-spray-this-address)
12104 (feedmail-spray-address-fiddle-plex-list)
12105 (feedmail-queue-use-send-time-for-date)
12106 (feedmail-queue-use-send-time-for-message-id)
12107 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12108 (feedmail-buffer-eating-function):
12109 Doc fixes.
12110 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12111 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12112 (feedmail-message-action-scroll-down): New functions.
12113 (feedmail-queue-directory, feedmail-queue-draft-directory):
12114 Use expand-file-name.
12115 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12116 Remove C-v help entry.
12117 (feedmail-queue-buffer-file-name): New variable.
12118 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12119 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12120 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12121 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12122 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12123 (feedmail-message-action-toggle-spray)
12124 (feedmail-run-the-queue-no-prompts)
12125 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12126 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12127 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12128 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12129 (feedmail-envelope-deducer, feedmail-fiddle-from)
12130 (feedmail-fiddle-sender, feedmail-default-date-generator)
12131 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12132 (feedmail-fiddle-spray-address)
12133 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12134 (feedmail-fiddle-list-of-fiddle-plexes)
12135 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12136 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12137 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12138 Change default. Doc fix.
12139 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12140 (feedmail-binmail-linuxish-template): New constant.
12141 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12142 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12143 (feedmail-send-it): Add debug call.
12144 Use feedmail-queue-buffer-file-name, and
12145 feedmail-send-it-immediately-wrapper.
12146 (feedmail-message-action-send): Add debug call.
12147 Use feedmail-send-it-immediately-wrapper.
12148 (feedmail-queue-express-to-queue): Add debug call.
12149 Run feedmail-queue-express-hook.
12150 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12151 (feedmail-message-action-help-blat):
12152 Rename from feedmail-queue-send-edit-prompt-help-first.
12153 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12154 Check line-endings. Handle errors better.
12155 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12156 Doc fix. Add debug call.
12157 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12158 Use feedmail-queue-send-edit-prompt-inner.
12159 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12160 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12161 from feedmail-queue-send-edit-prompt.
12162 (feedmail-queue-send-edit-prompt-help)
12163 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12164 (feedmail-tidy-up-slug): Add debug call.
12165 Respect feedmail-queue-slug-suspect-regexp.
12166 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12167 (feedmail-dump-message-to-queue): Add debug call.
12168 Expand queue-directory.
12169 (feedmail-dump-message-to-queue): Change message slightly.
12170 Use feedmail-say-chatter.
12171 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12172 (feedmail-send-it-immediately-wrapper): New function.
12173 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12174 Insert empty string rather than newline. Handle full-frame case.
12175 Use catch/throw. Use feedmail-say-chatter.
12176 (feedmail-fiddle-from): Try mail-host-address.
12177 (feedmail-default-message-id-generator): Doc fix.
12178 Bind system-time-locale. Handle missing end.
12179 (feedmail-fiddle-x-mailer): Add debug call.
12180 Handle feedmail-x-mailer-line being nil.
12181 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12182 Add debug call. Use buffer-substring-no-properties.
12183 (feedmail-say-debug, feedmail-say-chatter): New functions.
12184 (feedmail-find-eoh): Give an explicit error.
12185
12186 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12187
12188 * net/newst-treeview.el (newsticker-treeview-face): Change default
12189 family from helvetica to sans.
12190 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12191 etc/images/newsticker.
12192
12193 * net/newst-reader.el (newsticker-feed-face): Change default
12194 family from helvetica to sans.
12195
12196 * net/newst-plainview.el (newsticker-new-item-face)
12197 (newsticker-old-item-face, newsticker-immortal-item-face)
12198 (newsticker-obsolete-item-face, newsticker-date-face)
12199 (newsticker-statistics-face): Change default family from
12200 helvetica to sans.
12201 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12202 etc/images/newsticker.
12203
12204 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12205 (newsticker--process-auto-mark-filter-match): Tell user about
12206 auto-marking.
12207
12208 2011-05-13 Didier Verna <didier@xemacs.org>
12209
12210 Common Lisp indentation improvements on defmethod and lambda-lists.
12211 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12212 TODO entries.
12213 (lisp-lambda-list-keyword-parameter-indentation)
12214 (lisp-lambda-list-keyword-parameter-alignment)
12215 (lisp-lambda-list-keyword-alignment): New customizable user options.
12216 (lisp-indent-defun-method): Improve docstring.
12217 (extended-loop-p): Fix comment.
12218 (lisp-indent-lambda-list-keywords-regexp): New variable.
12219 (lisp-indent-lambda-list): New function.
12220 (lisp-indent-259): Use it.
12221 (lisp-indent-defmethod): Support for more than one
12222 method qualifier and properly indent methods lambda-lists.
12223 (defgeneric): Provide a missing common-lisp-indent-function property.
12224
12225 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12228 bounds for the empty string (bug#8667).
12229
12230 2011-05-13 Glenn Morris <rgm@gnu.org>
12231
12232 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12233
12234 * mail/sendmail.el (sendmail-program): Try executable-find first.
12235 (sendmail-send-it): `sendmail-program' cannot be unbound.
12236
12237 * calendar/appt.el (appt-make-list): Simplify.
12238 (appt-time-msg-list): Doc fix.
12239 (appt-check): Change mode-line message at the time of the appointment.
12240
12241 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12242
12243 * progmodes/ld-script.el (ld-script-keywords)
12244 (ld-script-builtins): Update keywords list.
12245
12246 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12249
12250 * shell.el (shell-completion-vars): New function.
12251 (shell-mode):
12252 * simple.el (read-shell-command): Use it.
12253 (blink-matching-open): No need for " [...]" in minibuffer-message.
12254
12255 2011-05-12 Glenn Morris <rgm@gnu.org>
12256
12257 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12258 (appt-check): Simplify.
12259
12260 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12261
12262 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12263 literal "/dev/null".
12264
12265 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12268 Fix typo.
12269
12270 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12271
12272 * progmodes/which-func.el (which-function):
12273 Use add-log-current-defun instead of add-log-current-defun-function,
12274 which might not be defined (Bug#8260).
12275
12276 2011-05-12 Glenn Morris <rgm@gnu.org>
12277
12278 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12279 Let byte-compile-initial-macro-environment always take precedence.
12280
12281 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * net/rcirc.el: Add support for SSL/TLS connections.
12284 (rcirc-server-alist): New field `encryption'.
12285 (rcirc): Check `encryption' settings.
12286 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12287 Merge make-local-variable into `set'.
12288 (rcirc--connection-open-p): New function.
12289 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12290 the process is not a network process (e.g. running gnutls-cli).
12291 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12292 Make rcirc-(en|de)code-coding-system local here.
12293 (rcirc-mode): Merge make-local-variable into `set'.
12294 (rcirc-parent-buffer): Make permanent buffer-local.
12295 (rcirc-multiline-minor-mode): Don't do it here.
12296 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12297 there's no server buffer.
12298
12299 2011-05-11 Glenn Morris <rgm@gnu.org>
12300
12301 * newcomment.el (comment-kill): Prefix "unused" local.
12302
12303 * term/w32console.el (get-screen-color): Declare.
12304
12305 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12306 Handle symbol elements of byte-compile-initial-macro-environment.
12307
12308 2011-05-10 Leo Liu <sdl.web@gmail.com>
12309
12310 * bookmark.el (bookmark-bmenu-mode-map):
12311 Bind bookmark-bmenu-search to `/'.
12312
12313 * mail/footnote.el: Convert to utf-8 encoding.
12314 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12315 (Footnote-unicode): New function.
12316 (footnote-style-alist): Add unicode style to the list.
12317 (footnote-style): Doc fix.
12318
12319 2011-05-10 Jim Meyering <meyering@redhat.com>
12320
12321 Fix doubled-word typos.
12322 * international/quail.el (quail-insert-kbd-layout): and and -> and
12323 * kermit.el: and and -> and
12324 * net/ldap.el (ldap-search-internal): to to -> to
12325 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12326 * progmodes/js.el (js-mode): and and -> and
12327 * textmodes/artist.el (artist-move-to-xy): at at -> at
12328 (artist-draw-region-trim-line-endings): if if -> if
12329 And Safetyc -> Safety.
12330 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12331
12332 2011-05-10 Glenn Morris <rgm@gnu.org>
12333 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * files.el (hack-one-local-variable-eval-safep):
12336 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12337
12338 2011-05-10 Glenn Morris <rgm@gnu.org>
12339
12340 * calendar/diary-lib.el (diary-list-entries-hook)
12341 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12342 (diary-nongregorian-marking-hook, diary-list-entries)
12343 (diary-include-other-diary-files, diary-mark-entries)
12344 (diary-mark-included-diary-files): Doc fixes.
12345
12346 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12347
12348 * misc.el: Require tabulated-list.el during compilation.
12349
12350 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12351
12352 * progmodes/compile.el (compilation-start):
12353 Run compilation-filter-hook for the async case too.
12354 (compilation-filter-hook): Doc fix.
12355
12356 2011-05-09 Deniz Dogan <deniz@dogan.se>
12357
12358 * wdired.el: Remove outdated installation comment. Fix usage
12359 comment.
12360
12361 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12362
12363 * misc.el: Implement new command `list-dynamic-libraries'.
12364 (list-dynamic-libraries--loaded-only-p): New variable.
12365 (list-dynamic-libraries--refresh): New function.
12366 (list-dynamic-libraries): New command.
12367
12368 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12369
12370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12371 Fix the ant regexp to handle end-line and end-column info from jikes.
12372 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12373 higher priority to avoid clobbering by gnu.
12374
12375 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12376
12377 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12378 if the face has existing theme settings (Bug#8454).
12379
12380 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12381
12382 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12383 Only match variables declared via `my' or `our' (Bug#8261).
12384
12385 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12386 special file names `.' and `..' (Bug#8259).
12387
12388 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12389
12390 * progmodes/grep.el (grep-mode-font-lock-keywords):
12391 Remove buffer-changing entries.
12392 (grep-filter): New function.
12393 (grep-mode): Add it to compilation-filter-hook.
12394
12395 * progmodes/compile.el (compilation-filter-hook)
12396 (compilation-filter-start): New defvars.
12397 (compilation-filter): Call compilation-filter-hook prior to
12398 updating the process mark.
12399
12400 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12401
12402 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12403
12404 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12405
12406 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12407 mailclient-send-it even if window-system is nil. (Bug#8595)
12408
12409 * term/w32console.el (terminal-init-w32console):
12410 Call get-screen-color and use its output to set the frame
12411 background-mode. (Bug#8597)
12412
12413 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12414
12415 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12416 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12417 New functions.
12418 (defgeneric, eieio--defmethod): Use them.
12419 (eieio-defgeneric): Remove.
12420 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12421
12422 2011-05-07 Glenn Morris <rgm@gnu.org>
12423
12424 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12425 Use let rather than let*.
12426 (timeclock-find-discrep): Remove unused local.
12427
12428 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12429
12430 * calendar/appt.el (appt-time-msg-list): Doc fix.
12431
12432 2011-05-06 Noah Friedman <friedman@splode.com>
12433
12434 * apropos.el (apropos-print-doc): Only use
12435 emacs-lisp-docstring-fill-column when it is bound to an integer,
12436 per that variable's documentation.
12437
12438 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12439
12440 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12441 and warnings are not silently discarded (e.g. use -d instead of -P).
12442
12443 2011-05-06 Glenn Morris <rgm@gnu.org>
12444
12445 * calendar/appt.el (appt-message-warning-time): Doc fix.
12446 (appt-warning-time-regexp): New option.
12447 (appt-make-list): Respect appt-message-warning-time.
12448
12449 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12450 New options.
12451 (diary-add-to-list): Strip comments from the displayed string.
12452 (diary-mode): Set comment-start and comment-end.
12453
12454 * vc/diff-mode.el (smerge-refine-subst): Declare.
12455 (diff-refine-hunk): Don't require smerge-mode when compiling.
12456
12457 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12458
12459 * simple.el (list-processes): Return nil as the docstring says.
12460
12461 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12462
12463 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12464 to "".
12465 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12466 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12467 determining of binary transfer. (Bug#7383)
12468
12469 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12470
12471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12472 Fix port computation bug. (Bug#8618)
12473
12474 2011-05-05 Glenn Morris <rgm@gnu.org>
12475
12476 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12477
12478 * simple.el (shell-dynamic-complete-functions)
12479 (comint-dynamic-complete-functions): Declare.
12480
12481 * net/network-stream.el (gnutls-negotiate):
12482 * simple.el (tabulated-list-print): Fix declarations.
12483
12484 * progmodes/gud.el (syntax-symbol, syntax-point):
12485 Remove unnecessary and incorrect declarations.
12486
12487 * emacs-lisp/check-declare.el (check-declare-scan):
12488 Handle byte-compile-initial-macro-environment in bytecomp.el
12489
12490 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 Fix earlier half-done eieio-defmethod change (bug#8338).
12493 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12494 Streamline and change calling convention.
12495 (defmethod): Adjust accordingly and simplify.
12496 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12497 new eieio--defmethod.
12498 (slot-boundp): Minor CSE simplification.
12499
12500 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12501
12502 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12503 (glasses-make-readable): Use glasses-separate-capital-groups.
12504
12505 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12506
12507 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12508 (warning-series): Doc fix.
12509 (display-warning): Don't try to create the buffer if we just found it.
12510
12511 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12512
12513 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12514 (autoload-find-generated-file): New function.
12515 (generate-file-autoloads): Bind generated-autoload-file to
12516 buffer-file-name.
12517 (update-file-autoloads, update-directory-autoloads):
12518 Use autoload-find-generated-file. If called interactively, prompt for
12519 output file (Bug#7989).
12520 (batch-update-autoloads): Doc fix.
12521
12522 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12523
12524 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12525
12526 2011-05-04 Glenn Morris <rgm@gnu.org>
12527
12528 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12529 function, so it follows changes in calendar-date-style.
12530 (diary-fancy-date-matcher): New function.
12531 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12532 (diary-fancy-font-lock-fontify-region-function):
12533 Use diary-fancy-date-pattern as a function.
12534
12535 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12536 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12537
12538 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12539
12540 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12541 instead of positional arguments. Allow :keylist and :crlfiles
12542 arguments.
12543 (open-gnutls-stream): Call it.
12544
12545 * net/network-stream.el (network-stream-open-starttls): Adjust to
12546 call `gnutls-negotiate' with :process and :hostname arguments.
12547
12548 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * minibuffer.el (completion--message): New function.
12551 (completion--do-completion, minibuffer-complete)
12552 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12553 (completion--do-completion): Don't ignore completion-auto-help when in
12554 icomplete-mode.
12555
12556 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12557 internal encoding (e.g. tibetan zero is not whitespace).
12558 (global-whitespace-mode): Prefer save-current-buffer.
12559 (whitespace-trailing-regexp): Remove useless save-match-data.
12560 (whitespace-empty-at-bob-regexp): Minor simplification.
12561
12562 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12563
12564 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12565
12566 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12567
12568 * textmodes/ispell.el (ispell-add-per-file-word-list):
12569 Use `concat' to create string for insertion.
12570
12571 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12574 Avoid open-line which runs post-self-insert-hook.
12575 (bibtex-fill-entry): Remove unused `end' var.
12576
12577 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12578
12579 * textmodes/ispell.el (ispell-add-per-file-word-list):
12580 Protect against `nil' value of `comment-start' (Bug#8579).
12581
12582 2011-05-03 Leo Liu <sdl.web@gmail.com>
12583
12584 * isearch.el (isearch-yank-pop): New command.
12585 (isearch-mode-map): Bind it to `M-y'.
12586 (isearch-forward): Mention it.
12587
12588 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * simple.el (minibuffer-complete-shell-command): Remove.
12591 (minibuffer-local-shell-command-map): Use completion-at-point.
12592 (read-shell-command): Setup completion vars here instead.
12593 (read-expression-map): Bind TAB to symbol completion.
12594
12595 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12596 error directly rather via storing it into `results'.
12597
12598 2011-05-02 Leo Liu <sdl.web@gmail.com>
12599
12600 * vc/diff.el: Fix description.
12601
12602 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12603
12604 * server.el (server-eval-at): New function.
12605
12606 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12607
12608 * net/network-stream.el (open-network-stream): Take a :nowait
12609 parameter and pass it on to `make-network-process'.
12610 (network-stream-open-plain): Ditto.
12611
12612 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12613
12614 * faces.el (face-spec-set-match-display): Don't match toolkit
12615 options on terminal frames.
12616
12617 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * progmodes/pascal.el: Use lexical binding.
12620 (pascal-mode-map): Remove author preferences.
12621
12622 * pcomplete.el (pcomplete-std-complete): Don't abuse
12623 completion-at-point.
12624
12625 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12626
12627 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12628 removing code that has been dead since 1991 or so.
12629
12630 * startup.el (command-line): When warning about "_emacs", use a
12631 delayed warning to allow the user to filter it out.
12632
12633 2011-04-28 Deniz Dogan <deniz@dogan.se>
12634
12635 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12636 user has not joined.
12637
12638 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12641 aren't any completions at point.
12642
12643 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12644
12645 * subr.el (display-delayed-warnings): New function.
12646 (delayed-warnings-hook): New variable.
12647
12648 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12649
12650 * minibuffer.el (completion-at-point, completion-help-at-point):
12651 Don't presume that a given completion-at-point-function will always
12652 use the same calling convention.
12653
12654 * pcomplete.el (pcomplete-completions-at-point):
12655 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12656 pcomplete-seen is non-nil.
12657 (pcomplete-comint-setup): Also recognize the new comint/shell
12658 completion functions.
12659 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12660 pcomplete-seen is non-nil.
12661
12662 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12663
12664 * calendar/icalendar.el (diary-lib): Add require statement.
12665 (icalendar--create-uid): Read out a uid from a text-property on
12666 the first character in the entry. This allows for code to add its
12667 own uid to the entry.
12668 (icalendar--convert-float-to-ical): Add export of
12669 `diary-float'-entries save for those with the optional DAY
12670 argument.
12671
12672 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12673
12674 * subr.el (shell-quote-argument): Use alternate escaping strategy
12675 when we spot a variable reference in a string.
12676
12677 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12678
12679 * cus-start.el (all): Define customization for debug-on-event.
12680
12681 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12682
12683 * subr.el (shell-quote-argument): Escape correctly under Windows.
12684
12685 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12688
12689 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12690
12691 * net/tramp.el (tramp-process-actions): Add POS argument.
12692 Delete region between POS and (pos).
12693
12694 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12695 Use `nil' position in `tramp-process-actions' call.
12696 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12697
12698 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12699 position in `tramp-process-actions' call.
12700
12701 * net/trampver.el: Update release number.
12702
12703 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * custom.el (defcustom): Obey lexical-binding.
12706
12707 Fix octave-inf completion problems reported by Alexander Klimov.
12708 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12709 Inherit from octave-mode-syntax-table.
12710 (inferior-octave-mode): Set info-lookup-mode.
12711 (inferior-octave-completion-at-point): New function.
12712 (inferior-octave-complete): Use it and completion-in-region.
12713 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12714 comint-filename-completion.
12715 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12716 symbol elements which shouldn't be word elements.
12717 (octave-font-lock-keywords, octave-beginning-of-defun)
12718 (octave-function-header-regexp): Adjust regexps accordingly.
12719 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12720
12721 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12722
12723 * net/gnutls.el (gnutls-errorp): Declare before first use.
12724
12725 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12726
12727 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12728 verify-error, and verify-hostname-error parameters. Check whether
12729 default trustfile exists before going to use it. Add missing
12730 argument to gnutls-message-maybe call. Return value.
12731 Reported by Claudio Bley <claudio.bley@gmail.com>.
12732 (open-gnutls-stream): Add usage example.
12733
12734 * net/network-stream.el (network-stream-open-starttls): Give host
12735 parameter to `gnutls-negotiate'.
12736 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12737 * subr.el (shell-quote-argument): Escape correctly under Windows.
12738
12739 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12740
12741 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12742 Use correct match group (bug#8438).
12743
12744 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12745
12746 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12747 (package-menu--generate): New arg specifying packages to show.
12748 (package-menu-refresh, package-menu-execute, list-packages):
12749 Callers changed.
12750 (package-show-package-list): New function, replacing deleted
12751 package--list-packages (renamed because it is non-internal).
12752
12753 * finder.el (finder-list-matches): Use package-show-package-list
12754 instead of deleted package--list-packages.
12755
12756 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12757 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12758 (vc-annotate-mode-map): Bind it to RET.
12759
12760 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12761
12762 * progmodes/etags.el (next-file): Don't use set-buffer to change
12763 buffers (Bug#8478).
12764
12765 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12766
12767 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12768
12769 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12770 (apropos-accumulator): Doc fix.
12771 (apropos-function, apropos-macro, apropos-command)
12772 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12773 (apropos-plist): Add face property.
12774 (apropos-symbols-internal): Fix indentation.
12775 (apropos-print): Simplify help, and recognize apropos-multi-type.
12776 (apropos-print-doc): Use button-type-get to extract the button's
12777 face property. Fill docstring (Bug#8352).
12778
12779 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12780
12781 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12782
12783 * play/mpuz.el (mpuz-silent): Doc fix.
12784 (mpuz-mode-map): Use mapc.
12785 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12786 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12787 Fix typos in docstrings.
12788
12789 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12790 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12791
12792 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12793
12794 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12795
12796 * minibuffer.el (completion--do-completion): Avoid the "Next char
12797 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12798
12799 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12800 mouse-2 into unread-command-events, it is interpreted correctly.
12801
12802 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12803 (image-toggle-display): Doc fix.
12804
12805 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12806
12807 * textmodes/page.el (what-page): Use line-number-at-pos to
12808 calculate line number (Bug#6825).
12809
12810 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12813 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12814 Pass argument NO-DEFAULT to `find-tag-interactive'.
12815
12816 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12817
12818 Lexical-binding cleanup.
12819
12820 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12821 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12822 * progmodes/ada-prj.el (ada-prj-initialize-values)
12823 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12824 (ada-prj-show-value):
12825 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12826 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12827 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12828 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12829 * progmodes/bug-reference.el (bug-reference-push-button):
12830 * progmodes/fortran.el (fortran-line-length):
12831 * progmodes/glasses.el (glasses-change):
12832 * progmodes/octave-mod.el (octave-fill-paragraph):
12833 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12834 (python-pdbtrack-grub-for-buffer, python-sentinel):
12835 * progmodes/sql.el (sql-save-connection):
12836 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12837 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12838 Mark unused parameters.
12839
12840 * progmodes/compile.el (compilation--flush-directory-cache)
12841 (compilation--flush-parse, compile-internal): Mark unused parameters.
12842 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12843 (compilation-next-error-function): Remove unused variable `timestamp'.
12844
12845 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12846 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12847
12848 * progmodes/dcl-mode.el (dcl-end-of-command):
12849 Remove unused variable `start'.
12850 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12851 (dcl-option-value-basic, dcl-option-value-offset)
12852 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12853 Mark unused parameters.
12854 (dcl-save-local-variable): Remove unused variable `val'.
12855 (mode): Declare.
12856
12857 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12858 Mark unused parameters.
12859 (delphi-ignore-changes): Move before first use.
12860 (delphi-charset-token-at): Remove unused variable `start'.
12861 (delphi-else-start): Remove unused variable `if-count'.
12862 (delphi-comment-block-start, delphi-comment-block-end):
12863 Remove unused variable `kind'.
12864 (delphi-indent-line): Remove unused variable `new-point'.
12865
12866 * progmodes/ebrowse.el (ebrowse-files-list)
12867 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12868 Mark unused parameters. Don't quote `lambda'.
12869 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12870 Don't quote `lambda'.
12871 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12872 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12873 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12874 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12875 Use `ignore-errors'.
12876 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12877 (ebrowse-view/find-file-and-search-pattern)
12878 (ebrowse-view/find-member-declaration/definition):
12879 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12880 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12881 Rename parameter PREFIX-ARG to PREFIX.
12882 (ebrowse-tags-read-name): Remove unused variables `start' and
12883 `member-info'.
12884 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12885 to `tags-file'.
12886
12887 * progmodes/etags.el (local-find-tag-hook): Declare.
12888 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12889 Mark unused parameters.
12890
12891 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12892 (executable-interpret): Mark unused parameter.
12893
12894 * progmodes/flymake.el (flymake-process-sentinel)
12895 (flymake-after-change-function)
12896 (flymake-create-temp-with-folder-structure)
12897 (flymake-get-include-dirs-dot): Mark unused parameters.
12898 (flymake-safe-delete-directory): Remove unused variable `err'.
12899
12900 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12901 (speedbar-timer-fn, speedbar-line-text)
12902 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12903 (speedbar-center-buffer-smartly): Declare functions.
12904 (gdb-find-watch-expression): Remove unused variable `array'.
12905 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12906 (gdb-starting): Mark unused parameters.
12907 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12908 (gdb-table-string): Remove unused variable `res'.
12909 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12910 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12911 (gdb-display-buffer): Remove unused variable `cur-size'.
12912
12913 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12914 allow lexical-binding compilation.
12915 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12916 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12917 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12918 Mark unused parameters.
12919 (gud-gdb-marker-filter): Remove unused variable `match'.
12920 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12921 lambda expressions and funcall them, instead of using `fset'.
12922
12923 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12924 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12925
12926 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12927 variable `header-beg'; use `let'.
12928
12929 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12930 `restart', `last-sexp' and `at-do'.
12931
12932 * progmodes/js.el (js--debug): Mark unused parameter.
12933 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12934 (js--splice-into-items): Remove unused variable `item'.
12935 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12936
12937 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12938 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12939 (makefile-complete): Remove unused variable `try'.
12940 (makefile-fill-paragraph, makefile-match-function-end):
12941 Mark unused parameters.
12942
12943 * progmodes/octave-inf.el (inferior-octave-complete):
12944 Remove unused variable `proc'.
12945 (inferior-octave-output-digest): Mark unused parameter.
12946
12947 * progmodes/perl-mode.el (perl-calculate-indent):
12948 Remove unused variable `err'.
12949
12950 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12951 (prolog-indent-line): Mark unused parameters.
12952 (prolog-indent-line): Remove unused variable `beg'.
12953
12954 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12955 (reporter-dont-compact-list): Declare.
12956
12957 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12958 Remove unused variable `char'.
12959 (sh-debug): Mark unused parameter.
12960 (sh-get-indent-info): Remove unused variable `start'.
12961 (sh-calculate-indent): Remove unused variable `var'.
12962
12963 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12964 (simula-electric-keyword): Remove unused variable `null'.
12965 (simula-search-backward, simula-search-forward): Remove unused
12966 variables `begin' and `end'.
12967
12968 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12969 Remove unused variable `pos'.
12970 (vera-electric-tab, vera-comment-uncomment-region):
12971 Mark unused parameters.
12972 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12973
12974 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12975
12976 * emacs-lisp/package.el (package--builtins, package-alist)
12977 (package-load-descriptor, package-built-in-p, package-activate)
12978 (define-package, package-installed-p)
12979 (package-compute-transaction, package-buffer-info)
12980 (package--push): Doc fix. Distinguish more clearly between
12981 version strings and version lists.
12982
12983 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12984
12985 Lexical-binding cleanup.
12986
12987 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12988 (5x5-make-mutate-best):
12989 * play/fortune.el (fortune-in-buffer):
12990 * play/gomoku.el (gomoku-init-display):
12991 * play/solitaire.el (solitaire, solitaire-do-check):
12992 * play/tetris.el (tetris-default-update-speed-function):
12993 Mark unused parameters.
12994
12995 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12996 (bubbles--shift): Remove unused variable `char-org'.
12997 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12998 (bubbles--show-images): Remove unused variable `char'.
12999
13000 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13001 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13002 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13003 (decipher-analyze-buffer): Use ?\s.
13004 (decipher-make-checkpoint): Remove unused variable `mapping'.
13005
13006 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13007
13008 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13009 Remove unused variable `result'; use `let'.
13010
13011 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13012 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13013 (gametree-children-shown-p, gametree-compute-reduced-score):
13014 Use `ignore-errors'.
13015
13016 * play/handwrite.el (ps-lpr-switches): Declare.
13017 (handwrite): Remove unused variables `pmin' and `lastp'.
13018
13019 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13020
13021 * play/landmark.el (landmark-init-display)
13022 (landmark-update-naught-weights): Mark unused parameters.
13023 (landmark-y): Remove unused variable `noise'. Simplify.
13024 (landmark-human-plays): Remove unused variable `score'.
13025
13026 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13027 (mpuz-try-proposal): Remove unused variable `game'.
13028
13029 * play/zone.el (life-patterns): Declare.
13030
13031 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13032
13033 * vc/vc.el (ediff-vc-internal): Declare function.
13034
13035 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * shell.el: Use lexical-binding and std completion UI.
13038 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13039 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13040 comint-preoutput-filter-functions rather than on
13041 comint-output-filter-functions.
13042 (shell-command-completion, shell--command-completion-data)
13043 (shell-filename-completion, shell-environment-variable-completion)
13044 (shell-c-a-p-replace-by-expanded-directory): New functions.
13045 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13046 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13047 (shell-dynamic-complete-environment-variable): Use them.
13048 (shell-dynamic-complete-as-environment-variable)
13049 (shell-dynamic-complete-as-command): Remove.
13050 (shell-match-partial-variable): Match past point.
13051 * comint.el: Clean up use of completion-at-point-functions.
13052 (comint-completion-at-point): New function.
13053 (comint-mode): Use it completion-at-point-functions.
13054 (comint-dynamic-complete): Make it obsolete.
13055 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13056 (comint-c-a-p-replace-by-expanded-history): New function.
13057 (comint-dynamic-complete-functions)
13058 (comint-replace-by-expanded-history): Use it.
13059 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13060 termination strings. Try harder to avoid second try-completion.
13061 (completion-in-region-mode-map): Disable bindings that don't work yet.
13062
13063 * comint.el: Use lexical-binding. Require CL.
13064 (comint-dynamic-complete-functions): Use comint-filename-completion.
13065 (comint-completion-addsuffix): Tweak custom type.
13066 (comint-filename-completion, comint--common-suffix)
13067 (comint--common-quoted-suffix, comint--table-subvert)
13068 (comint--complete-file-name-data): New functions.
13069 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13070 (comint-dynamic-list-filename-completions): Use them.
13071 (comint-dynamic-simple-complete): Make obsolete.
13072
13073 * minibuffer.el (completion-in-region-mode):
13074 Keep completion-in-region-mode--predicate global.
13075 (completion-in-region--postch):
13076 Assume completion-in-region-mode--predicate is not null.
13077
13078 * progmodes/flymake.el (flymake-start-syntax-check-process):
13079 Obey `dir'. Simplify.
13080
13081 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13082 we're in VC after all.
13083
13084 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13085
13086 * vc/vc.el (vc-diff-build-argument-list-internal)
13087 (vc-version-ediff, vc-ediff): New commands.
13088 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13089
13090 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13093 add sanity check.
13094
13095 * obsolete/erc-hecomplete.el: Make obsolete.
13096 * obsolete/: Standardize obsolescence info in the header.
13097
13098 2011-04-20 Glenn Morris <rgm@gnu.org>
13099
13100 * calendar/solar.el (solar-horizontal-coordinates):
13101 Use the longitude argument rather than `calendar-longitude'.
13102 (solar-date-next-longitude): Remove unused locals.
13103
13104 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13105
13106 * whitespace.el: New version 13.2.1.
13107
13108 2011-04-20 felix <EmacsWiki> (tiny change)
13109
13110 * whitespace.el (global-whitespace-mode): Keep highlight when
13111 switching between major modes on a file.
13112
13113 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13114
13115 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13116 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13117 multi-line comments as well.
13118
13119 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13120
13121 Lexical-binding cleanup.
13122
13123 * arc-mode.el (archive-mode-revert):
13124 * cmuscheme.el (scheme-interactively-start-process):
13125 * custom.el (custom-initialize-delay):
13126 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13127 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13128 * emacs-lock.el (emacs-lock-clear-sentinel):
13129 * ezimage.el (defezimage):
13130 * follow.el (follow-avoid-tail-recenter):
13131 * fringe.el (set-fringe-mode-1):
13132 * generic-x.el (bat-generic-mode-compile):
13133 * help-mode.el (help-info-variable, help-do-xref)
13134 (help-mode-revert-buffer):
13135 * help.el (view-emacs-todo):
13136 * iswitchb.el (iswitchb-completion-help):
13137 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13138 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13139 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13140 * locate.el (locate-update):
13141 * longlines.el (longlines-encode-region)
13142 (longlines-after-change-function):
13143 * outline.el (outline-isearch-open-invisible):
13144 * ps-def.el (declare-function, charset-dimension, char-width)
13145 (encode-char):
13146 * ps-mule.el (ps-mule-plot-string):
13147 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13148 (recentf-edit-list-select, recentf-edit-list-validate)
13149 (recentf-open-files-action):
13150 * rect.el (delete-whitespace-rectangle-line)
13151 (rectangle-number-line-callback):
13152 * register.el (window-configuration-to-register)
13153 (frame-configuration-to-register):
13154 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13155 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13156 (xselect-convert-to-targets, xselect-convert-to-delete)
13157 (xselect-convert-to-filename, xselect-convert-to-charpos)
13158 (xselect-convert-to-lineno, xselect-convert-to-colno)
13159 (xselect-convert-to-os, xselect-convert-to-host)
13160 (xselect-convert-to-user, xselect-convert-to-class)
13161 (xselect-convert-to-name, xselect-convert-to-integer)
13162 (xselect-convert-to-atom, xselect-convert-to-identity):
13163 * subr.el (declare, ignore, process-kill-without-query)
13164 (text-clone-maintain):
13165 * terminal.el (te-get-char, te-tic-sentinel):
13166 * tool-bar.el (tool-bar-make-keymap):
13167 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13168 * type-break.el (type-break-mode, type-break-noninteractive-query):
13169 * view.el (View-back-to-mark):
13170 * wid-browse.el (widget-browse-action, widget-browse-widget)
13171 (widget-browse-widgets, widget-browse-sexp):
13172 * widget.el (define-widget-keywords):
13173 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13174 Mark unused parameters.
13175
13176 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13177 (align-areas): Remove unused variable `look'.
13178 (align-region): Remove unused variables `real-end' and `pos-list'.
13179
13180 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13181
13182 * bindings.el (mode-line-modified, mode-line-remote):
13183 Mark unused parameters.
13184 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13185
13186 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13187 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13188
13189 * comint.el (comint-history-isearch-pop-state)
13190 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13191 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13192 (comint-substitute-in-file-name): Doc fix.
13193
13194 * completion.el (cmpl-statistics-block): Mark unused parameter.
13195 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13196 (save-completions-to-file, load-completions-from-file):
13197 Remove unused local variable `e'.
13198
13199 * composite.el (compose-chars): Remove unused variable `len'.
13200 (lgstring-insert-glyph): Remove unused variable `g'.
13201 (compose-glyph-string): Remove unused variables `ascent',
13202 `descent', `lbearing' and `rbearing'.
13203 (compose-glyph-string-relative): Remove unused variables
13204 `lbearing', `rbearing' and `wadjust'.
13205 (compose-gstring-for-graphic): Remove unused variables `header',
13206 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13207 (compose-gstring-for-terminal): Remove unused variables `header'
13208 and `nchars'. Use `let', not `let*'.
13209
13210 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13211 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13212 (Custom-buffer-done, custom-buffer-create-internal)
13213 (custom-browse-visibility-action, custom-browse-group-tag-action)
13214 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13215 (widget-magic-mouse-down-action, custom-toggle-parent)
13216 (custom-add-parent-links, custom-toggle-hide-variable)
13217 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13218 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13219 (custom-face-menu-create, custom-variable-menu-create, get)
13220 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13221 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13222 (customize-apropos): Remove unused variable `tests'.
13223 (custom-group-value-create): Remove unused variable `hidden-p'.
13224 (sort-fold-case): Declare.
13225
13226 * cus-theme.el (custom-reset-standard-faces-list)
13227 (custom-reset-standard-variables-list): Declare.
13228 (customize-create-theme, custom-theme-revert, custom-theme-write)
13229 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13230 Mark unused parameters.
13231
13232 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13233
13234 * delim-col.el (delimit-columns-max): Move defvar before first use.
13235
13236 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13237 (describe-char): Don't quote `lambda'. Mark unused parameter.
13238
13239 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13240 (auto-insert): Declare.
13241 (desktop-restore-file-buffer): Rename desktop-* parameters;
13242 mark unused ones.
13243 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13244 (desktop-buffer): Rename desktop-* parameters.
13245
13246 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13247 (dframe-reposition-frame-xemacs, dframe-help-echo)
13248 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13249 Mark unused parameters.
13250
13251 * dired-aux.el (backup-extract-version-start, overwrite-query)
13252 (overwrite-backup-query, rename-regexp-query)
13253 (rename-non-directory-query): Declare.
13254 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13255 (dired-add-entry): Remove unused variable `orig-file-name'.
13256 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13257 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13258 `dired-copy-preserve-time' directly.
13259 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13260 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13261
13262 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13263 (dired-virtual-revert, dired-make-relative-symlink):
13264 Mark unused parameters.
13265 (manual-program): Declare.
13266 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13267 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13268 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13269
13270 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13271
13272 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13273
13274 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13275 Declare.
13276
13277 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13278
13279 * electric.el (Electric-command-loop): Rename parameter
13280 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13281
13282 * expand.el (expand-in-literal): Remove unused variable `here'.
13283
13284 * facemenu.el (facemenu-add-new-color):
13285 Remove unused variable `docstring'.
13286
13287 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13288 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13289 (face-attr-construct): Mark unused parameter. Doc fix.
13290 (read-color): Remove unused variable `hex-string'.
13291
13292 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13293 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13294 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13295 (display-buffer-other-frame): Remove unused variable `old-window'.
13296 (kill-buffer-hook): Declare.
13297 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13298 Mark unused parameters.
13299 (after-find-file): Pass 1 to `auto-save-mode', not t.
13300
13301 * files-x.el (auto-insert): Declare.
13302 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13303
13304 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13305 variable `buf'. Mark unused parameter.
13306 (find-lisp-insert-directory): Mark unused parameter.
13307
13308 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13309 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13310 (format-common-tail): Remove, unused.
13311 (format-deannotate-region): Remove unused variable `loc'.
13312 (format-annotate-region): Remove unused variable `p'.
13313 (format-annotate-single-property-change): Remove unused variables
13314 `default' and `tail'.
13315
13316 * forms.el (read-file-filter): Declare.
13317 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13318
13319 * frame.el (frame-creation-function-alist): Mark unused parameter.
13320 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13321
13322 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13323 Remove unused parameters.
13324 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13325 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13326
13327 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13328 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13329 (hfy-prepare-tag-map): Mark unused parameters.
13330 (htmlfontify-buffer): Use `called-interactively-p'.
13331
13332 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13333 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13334 (ibuffer-do-occur): Mark unused parameters.
13335 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13336 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13337
13338 * ibuffer.el: Don't quote `lambda'.
13339 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13340 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13341 Mark unused parameters.
13342
13343 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13344 (ido-completing-read): Mark unused parameters.
13345 (ido-copy-current-word): Mark unused parameters;
13346 remove unused variable `name'.
13347 (ido-sort-merged-list): Remove unused parameter `dirs'.
13348
13349 * ielm.el (ielm-input-sender): Mark unused parameter.
13350 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13351 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13352 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13353 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13354 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13355
13356 * image-dired.el (image-dired-display-thumbs): Remove unused
13357 variables `curr-file' and `count'.
13358 (image-dired-remove-tag): Remove unused variable `start'.
13359 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13360 variable `curr-file'
13361 (image-dired-rotate-original): Remove unused variable `temp-file'.
13362 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13363 Remove unused variable `file'.
13364 (image-dired-gallery-generate): Remove unused variable `curr'.
13365 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13366
13367 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13368
13369 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13370
13371 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13372
13373 * isearch.el (minibuffer-history-symbol): Declare.
13374 (isearch-edit-string): Remove unused variable `err'.
13375 (isearch-message-prefix, isearch-message-suffix):
13376 Mark unused parameters.
13377
13378 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13379
13380 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13381
13382 * makesum.el (double-column): Remove unused variable `cnt'.
13383
13384 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13385 (ido-ignore-item-temp-list): Declare.
13386
13387 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13388 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13389 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13390 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13391 `mouse-col-delta'.
13392
13393 * mouse-sel.el (mouse-extend-internal):
13394 Remove unused variable `orig-window-frame'.
13395
13396 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13397 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13398 Move declarations before first use.
13399 (pcomplete-opt): Mark unused parameters; doc fix.
13400
13401 * proced.el (proced-revert): Mark unused parameter.
13402 (proced-send-signal): Remove unused variable `err'.
13403
13404 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13405 Rename parameter PREFIX-ARG to ARG.
13406 (ps-basic-plot-string, ps-basic-plot-whitespace):
13407 Mark unused parameters.
13408
13409 * replace.el (replace-count): Define.
13410 (occur-revert-function): Mark unused parameters.
13411 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13412 (isearch-case-fold-search, isearch-string): Declare.
13413 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13414 bind `case-fold-search'. Remove unused variables `beg' and `end',
13415 and simplify.
13416 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13417 COUNT and bind `replace-count'.
13418 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13419 to COUNT.
13420
13421 * savehist.el (print-readably, print-string-length): Declare.
13422
13423 * shadowfile.el (shadow-expand-cluster-in-file-name):
13424 Remove unused variable `cluster'.
13425 (shadow-copy-file): Remove unused variable `i'.
13426 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13427 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13428 (shadow-define-literal-group, shadow-define-regexp-group)
13429 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13430
13431 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13432 (shell): Use `called-interactively-p'.
13433 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13434
13435 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13436 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13437 (delete-backward-char): Remove unused variable `ocol'.
13438 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13439 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13440 (event-apply-hyper-modifier, event-apply-shift-modifier)
13441 (event-apply-control-modifier, event-apply-meta-modifier):
13442 Mark unused parameters.
13443 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13444 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13445
13446 * speedbar.el (speedbar-ignored-directory-expressions)
13447 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13448 (speedbar-find-file, speedbar-dir-follow)
13449 (speedbar-directory-buttons-follow, speedbar-tag-find)
13450 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13451 (speedbar-buffers-line-directory, speedbar-buffer-click):
13452 Mark unused parameters.
13453 (speedbar-tag-file): Remove unused variable `mode'.
13454 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13455
13456 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13457
13458 * talk.el (talk): Remove unused variable `display'.
13459
13460 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13461 (tar-write-region-annotate): Mark unused parameter.
13462
13463 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13464 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13465 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13466 warning by another.
13467
13468 * time-stamp.el (time-stamp-string-preprocess):
13469 Remove unused variable `require-padding'.
13470
13471 * tree-widget.el (widget-glyph-enable): Declare.
13472 (tree-widget-action): Mark unused parameter.
13473
13474 * w32-fns.el (x-get-selection): Mark unused parameter.
13475 (autoload-make-program, generated-autoload-file): Declare.
13476
13477 * wdired.el (wdired-revert): Mark unused parameters.
13478 (wdired-xcase-word): Remove unused variable `err'.
13479
13480 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13481 (whitespace-help-scroll): Remove unused variable `data-help'.
13482
13483 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13484 (widget-image-insert, widget-after-change, default)
13485 (widget-default-format-handler, widget-default-notify)
13486 (widget-default-prompt-value, widget-info-link-action)
13487 (widget-url-link-action, widget-function-link-action)
13488 (widget-variable-link-action, widget-file-link-action)
13489 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13490 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13491 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13492 (widget-insert-button-action, widget-delete-button-action, visibility)
13493 (widget-documentation-link-action, widget-documentation-string-action)
13494 (widget-const-prompt-value, widget-regexp-match, symbol)
13495 (widget-coding-system-prompt-value)
13496 (widget-key-sequence-value-to-external, sexp)
13497 (widget-sexp-value-to-internal, character, vector, cons)
13498 (widget-choice-prompt-value, widget-boolean-prompt-value)
13499 (widget-color--choose-action): Mark unused parameters.
13500 (widget-item-match-inline, widget-choice-match-inline)
13501 (widget-checklist-match, widget-checklist-match-inline)
13502 (widget-group-match): Rename parameter VALUES to VALS.
13503 (widget-field-value-set): Remove unused variable `size'.
13504 (widget-color-action): Remove unused variables `value' and `start'.
13505
13506 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13507 variable `dir'. Doc fix.
13508 (windmove-find-other-window): Don't pass it.
13509
13510 * window.el (count-windows): Mark unused parameter.
13511 (bw-adjust-window): Remove unused variable `err'.
13512
13513 * woman.el (woman-file-name): Remove unused variable `default'.
13514 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13515 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13516 (global-font-lock-mode): Declare.
13517 (woman-decode-region): Mark unused parameter.
13518 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13519
13520 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13521 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13522 (x-dnd-handle-moz-url): Remove unused variable `title'.
13523 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13524
13525 * xml.el (xml-parse-tag, xml-parse-attlist):
13526 Remove unused variable `pos'.
13527
13528 2011-04-19 Glenn Morris <rgm@gnu.org>
13529
13530 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13531 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13532 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13533 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13534 * calendar/cal-html.el (cal-html-insert-minical):
13535 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13536 (calendar-mark-date-pattern):
13537 Prefix "unused" locals.
13538
13539 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13540 optional argument `style'.
13541
13542 * calendar/appt.el (appt-make-list):
13543 * calendar/cal-china.el (calendar-chinese-date-string):
13544 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13545 (diary-hebrew-yahrzeit):
13546 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13547 * calendar/calendar.el (calendar-generate-window):
13548 * calendar/time-date.el (time-to-days):
13549 Remove unused local variables.
13550
13551 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13552
13553 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13554 glyphless-char-display table.
13555 (tabulated-list-glyphless-char-display): New var.
13556
13557 2011-04-18 Sam Steingold <sds@gnu.org>
13558
13559 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13560 to acknowledgments.
13561
13562 2011-04-17 Glenn Morris <rgm@gnu.org>
13563
13564 * calendar/diary-lib.el (diary-sexp-entry):
13565 * calendar/holidays.el (holiday-sexp):
13566 Set debug-on-error rather than the removed stack-trace-on-error.
13567
13568 2011-04-16 Glenn Morris <rgm@gnu.org>
13569
13570 * progmodes/f90.el: Use lexical-binding.
13571 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13572
13573 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13576 (mail-mode): Setup mailalias completion here instead.
13577 * mail/mailalias.el: Use lexical-binding.
13578 (pattern, mailalias-done): Declare dynamic.
13579 (mail-completion-at-point-function): New function, from mail-complete.
13580 (mail-complete): Use it.
13581 (mail-completion-expand): New function.
13582 (mail-get-names): Use it.
13583 (mail-directory, mail-directory-process, mail-directory-stream):
13584 Don't use `pattern' for lexically bound arg.
13585
13586 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13587
13588 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13589 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13590 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13591
13592 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13593 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13594 (byte-interactive-p): Define them again, for use when inlining
13595 old code.
13596
13597 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13598
13599 * loadup.el: Use `string-to-number', not `string-to-int'.
13600
13601 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13604 gud-gdb-complete-command.
13605 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13606 (gud-gdb-completion-at-point): New function.
13607 (gud-gdb-completions): Remove.
13608
13609 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13610
13611 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13612 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13613 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13614 whether `executable-find' is bound.
13615
13616 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13617
13618 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * minibuffer.el (completion-in-region-mode-predicate)
13621 (completion-in-region-mode--predicate): New vars.
13622 (completion-in-region, completion-in-region--postch)
13623 (completion-in-region-mode): Use them.
13624 (completion--capf-wrapper): Also return the hook function.
13625 (completion-at-point, completion-help-at-point):
13626 Adjust and provide a predicate.
13627
13628 Preserve arg names for advice of subr and lexical functions (bug#8457).
13629 * help-fns.el (help-function-arglist): Consolidate the subr and
13630 new-byte-code cases. Add argument `preserve-names' to extract names
13631 from the docstring when needed.
13632 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13633 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13634 (ad-arglist): Use help-function-arglist's new arg.
13635 (ad-definition-type): Use cond.
13636
13637 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13638
13639 * autorevert.el (auto-revert-handler):
13640 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13641 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13642 Don't quote lambda.
13643
13644 * image-mode.el (image-transform-set-scale):
13645 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13646
13647 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13648
13649 * net/network-stream.el (network-stream-open-starttls): Only do
13650 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13651 Upgrades via gnutls-cli are too slow to be done opportunistically.
13652
13653 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13654
13655 * dframe.el (dframe-current-frame): Remove spurious quote.
13656
13657 2011-04-12 Glenn Morris <rgm@gnu.org>
13658
13659 * calendar/cal-tex.el (cal-tex-end-document):
13660 Try to automatically use latin1 input if needed.
13661
13662 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13663 Don't try to cons a mark onto an empty element.
13664
13665 2011-04-11 Leo Liu <sdl.web@gmail.com>
13666
13667 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13668 buffers.
13669 (ido-kill-buffer-at-head): Support killing virtual buffers.
13670
13671 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13672
13673 * minibuffer.el (completion-show-inline-help): New var.
13674 (completion--do-completion, minibuffer-complete)
13675 (minibuffer-force-complete, minibuffer-complete-word):
13676 Inhibit minibuffer messages if completion-show-inline-help is nil.
13677
13678 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13679 to avoid interference from inline help (Bug#5849).
13680
13681 2011-04-10 Leo Liu <sdl.web@gmail.com>
13682
13683 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13684 Fix typo.
13685
13686 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13687
13688 * image-mode.el (image-toggle-display-image): Signal an error if
13689 not in Image mode.
13690 (image-transform-mode, image-transform-resize)
13691 (image-transform-set-rotation): Doc fix.
13692 (image-transform-set-resize): Delete.
13693 (image-transform-set-scale, image-transform-fit-to-height)
13694 (image-transform-fit-to-width): Handle image-toggle-display-image
13695 and image-transform-resize directly.
13696
13697 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13698
13699 * doc-view.el (doc-view-fit-width-to-window)
13700 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13701 New functions for fitting the shown image to the Emacs window size.
13702 (doc-view-mode-map): Add bindings for the new functions.
13703
13704 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13707 Fix typo in docstring.
13708
13709 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13710
13711 * files.el (file-size-human-readable): Produce one digit after
13712 decimal, like "ls -lh" does.
13713
13714 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13715 the file size representation.
13716
13717 * simple.el (list-processes): If async subprocesses are not
13718 available, error out with a clear error message.
13719
13720 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13721
13722 * help.el (help-form-show): New function, to be called from C.
13723 Put help-form output in a buffer named differently than *Help*.
13724
13725 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13726
13727 * files.el (file-size-human-readable): New function.
13728
13729 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13730 computing the representation inline. Don't require `cl'.
13731
13732 2011-04-08 Glenn Morris <rgm@gnu.org>
13733
13734 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13735
13736 * net/browse-url.el (browse-url-firefox):
13737 Test system-type, not system-configuration.
13738
13739 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13740 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13741 Use log-edit-empty-buffer-p. (Bug#7598)
13742
13743 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13744 (rlogin-mode-map): Initialize in the defvar.
13745 (rlogin): Use ignore-errors.
13746
13747 * replace.el (occur-mode-map): Some fixes for menu items.
13748
13749 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13750
13751 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13752
13753 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13754
13755 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13756 issuing unused warnings.
13757
13758 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13759 macro directly.
13760
13761 * simple.el: Lisp reimplement of list-processes. Based on an
13762 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13763 (process-menu-mode): New major mode.
13764 (list-processes--refresh, list-processes):
13765 (process-menu-visit-buffer): New functions.
13766
13767 * files.el (save-buffers-kill-emacs): Don't assume any return
13768 value of list-processes, which is undocumented anyway.
13769
13770 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13771
13772 * emacs-lisp/tabulated-list.el: New file.
13773
13774 * emacs-lisp/package.el: Use Tabulated List mode.
13775 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13776 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13777 table format using Tabulated List mode variables.
13778 (package--push): New macro, replacing package-list-maybe-add.
13779 (package-menu--generate): Use package--push. Renamed from
13780 package--generate-package-list.
13781 (package-menu-refresh, list-packages): Use it.
13782 (package-menu--print-info): Rename from package-print-package.
13783 Return insertion data instead of inserting it directly.
13784 (package-menu-describe-package, package-menu-execute):
13785 Use tabulated-list-get-id.
13786 (package-menu-mark-delete, package-menu-mark-install)
13787 (package-menu-mark-unmark, package-menu-backup-unmark)
13788 (package-menu-mark-obsolete-for-deletion):
13789 Use tabulated-list-put-tag.
13790 (package--list-packages, package-menu-revert)
13791 (package-menu-get-package, package-menu-get-version)
13792 (package-menu-sort-by-column): Functions deleted.
13793 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13794 (package-menu--status-predicate, package-menu--version-predicate)
13795 (package-menu--name-predicate)
13796 (package-menu--description-predicate): Handle arguments in the
13797 Tabulated List format.
13798 (package-list-packages-no-fetch): Call list-packages.
13799
13800 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13801
13802 * files.el (after-find-file-from-revert-buffer): Remove variable.
13803 (after-find-file): Don't bind it.
13804 (revert-buffer-in-progress-p): New variable.
13805 (revert-buffer): Bind it.
13806 Pass nil for `after-find-file-from-revert-buffer'.
13807
13808 * saveplace.el (save-place-find-file-hook): Use new variable
13809 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13810
13811 2011-04-06 Glenn Morris <rgm@gnu.org>
13812
13813 * Makefile.in (AUTOGEN_VCS): New variable.
13814 (autoloads): Use $AUTOGEN_VCS.
13815
13816 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13817 * calendar/calendar.el (calendar-mode-map):
13818 Check for toolkit scroll bars. (Bug#8305)
13819
13820 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13821
13822 * minibuffer.el (completion-in-region--postch)
13823 (completion-in-region-mode): Remove unnecessary messages.
13824
13825 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13826
13827 * font-lock.el (font-lock-refresh-defaults):
13828 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13829 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13830
13831 * info.el (Info-directory-list, Info-read-node-name-2)
13832 (Info-split-parameter-string): Doc fixes.
13833 (Info-virtual-nodes): Reflow docstring.
13834 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13835 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13836 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13837 Fix typos in docstrings.
13838 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13839 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13840 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13841 (Info-restore-desktop-buffer): Mark unused parameters.
13842 (Info-directory-find-file, Info-directory-find-node)
13843 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13844 (Info-virtual-index-find-node, Info-apropos-find-file)
13845 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13846 Mark unused parameters; fix typos in docstrings.
13847 (Info-virtual-index): Remove unused local variable `nodename'.
13848
13849 2011-04-05 Deniz Dogan <deniz@dogan.se>
13850
13851 * net/rcirc.el: Update my e-mail address.
13852 (rcirc-mode-map): Remove M-o binding.
13853
13854 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13855
13856 * startup.el (command-line): Save the cursor's theme-face
13857 directly, instead of using face-override-spec.
13858
13859 * custom.el (load-theme): Minor optimization in assigning faces.
13860
13861 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13862
13863 * help-fns.el (describe-variable): Complete all variables having
13864 documentation, including keywords.
13865 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13866
13867 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13868
13869 Convert to lexical-binding.
13870
13871 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13872 (bs--get-marked-string, bs--get-modified-string)
13873 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13874 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13875 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13876
13877 * ehelp.el (electric-help-execute-extended)
13878 (electric-help-ctrl-x-prefix):
13879 * hexl.el (hexl-revert-buffer-function):
13880 * linum.el (linum-after-change, linum-after-scroll):
13881 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13882
13883 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13884
13885 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13886
13887 * epa-dired.el:
13888 * epa-mail.el:
13889 * epa-hook.el:
13890 * epa-file.el:
13891 * epa.el:
13892 * epg.el: Use lexical binding.
13893
13894 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13895
13896 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13897
13898 * textmodes/flyspell.el (flyspell-word): Recognize default
13899 dictionary case for flyspell-mark-duplications-exceptions.
13900 Use regexp matching for languages.
13901 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13902 default dictionary (Bug#7926).
13903
13904 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13905
13906 * emacs-lisp/package.el (package--with-work-buffer):
13907 Recognize https URLs.
13908
13909 * net/network-stream.el: Move from gnus/proto-stream.el.
13910 Change prefix to network-stream throughout.
13911 (open-protocol-stream): Merge into open-network-stream, leaving
13912 open-protocol-stream as an alias. Handle nil BUFFER args.
13913
13914 * subr.el (open-network-stream): Move to net/network-stream.el.
13915
13916 2011-04-02 Glenn Morris <rgm@gnu.org>
13917
13918 * find-dired.el (find-exec-terminator): New option.
13919 (find-ls-option): Test for -ls support.
13920 (find-ls-subdir-switches): Test for -b in find-ls-option.
13921 (find-dired, find-grep-dired): Doc fixes.
13922 (find-dired): Use find-exec-terminator.
13923
13924 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13925 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13926 (find-name-arg): Remove purecopy.
13927
13928 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13929 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13930 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13931 accordingly. Don't add the null-device if not needed.
13932
13933 * files.el (save-some-buffers): Doc fix.
13934
13935 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13936
13937 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13938
13939 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13940
13941 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13942 Use `dolist' rather than `mapcar'.
13943
13944 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 Add lexical binding.
13947
13948 * subr.el (apply-partially): Use new closures rather than CL.
13949 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13950 (dolist, dotimes): Use slightly different expansion for lexical code.
13951 (functionp): Move to C.
13952 (letrec): New macro.
13953 (with-wrapper-hook): Use it and apply-partially instead of CL.
13954 (eval-after-load): Preserve lexical-binding.
13955 (save-window-excursion, with-output-to-temp-buffer): Turn them
13956 into macros.
13957
13958 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13959
13960 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13961 than the arglist.
13962 (help-add-fundoc-usage): Don't add `Not documented'.
13963 (help-function-arglist): Handle closures, subroutines, and new
13964 byte-code-functions.
13965 (help-make-usage): Remove leading underscores.
13966 (describe-function-1): Handle closures.
13967 (describe-variable): Use special-variable-p for completion.
13968
13969 * files.el (lexical-binding): Declare safe.
13970
13971 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13972 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13973 (pcase): Add `let' pattern.
13974 Change memoization so it actually works.
13975 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13976 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13977 <let>: New case.
13978
13979 * emacs-lisp/macroexp.el: Use lexical binding.
13980 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13981 Don't convert ' to #' without checking that it's indeed quoting
13982 a lambda.
13983
13984 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13985 Use eval-sexp-add-defvars.
13986 (eval-sexp-add-defvars): New fun.
13987
13988 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13989
13990 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13991 Don't autoload.
13992 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13993 than the internal `byte-compile-lambda'.
13994 (defmethod): Don't hide code under quotes.
13995 (eieio-defmethod): New `code' argument.
13996
13997 * emacs-lisp/eieio-comp.el: Remove.
13998
13999 * emacs-lisp/edebug.el (edebug-eval-defun)
14000 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14001 (edebug-toggle): Avoid `eval'.
14002
14003 * emacs-lisp/disass.el (disassemble-internal): Handle new
14004 `closure' objects.
14005 (disassemble-1): Handle new byte codes.
14006
14007 * emacs-lisp/cl.el (pushnew): Silence warning.
14008
14009 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14010 (cl-byte-compile-throw): Remove.
14011 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14012
14013 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14014 closures.
14015
14016 * emacs-lisp/cconv.el: New file.
14017
14018 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14019 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14020 (byte-compile-initial-macro-environment):
14021 Handle declare-function here.
14022 (byte-compile--lexical-environment): New var.
14023 (byte-stack-ref, byte-stack-set, byte-discardN)
14024 (byte-discardN-preserve-tos): New lap codes.
14025 (byte-interactive-p): Don't use any more.
14026 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14027 New macros.
14028 (byte-compile-lapcode): Use them and handle new lap codes.
14029 (byte-compile-obsolete): Remove.
14030 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14031 (byte-compile-arglist-warn): Check late def of inlinable funs.
14032 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14033 since they should have been expanded by now.
14034 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14035 (byte-compile-from-buffer): Remove unused second arg.
14036 (byte-compile-preprocess): New function.
14037 (byte-compile-toplevel-file-form): New function to distinguish
14038 file-form calls from outside from file-form calls from hunk-handlers.
14039 (byte-compile-file-form): Simplify.
14040 (byte-compile-file-form-defsubst): Remove.
14041 (byte-compile-file-form-defmumble): Simplify now that
14042 byte-compile-lambda always returns a byte-code-function.
14043 (byte-compile): Preprocess.
14044 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14045 Remove, not used any more.
14046 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14047 (byte-compile-make-args-desc): New funs.
14048 (byte-compile-lambda): Handle lexical functions. Always return
14049 a byte-code-function.
14050 (byte-compile-reserved-constants): New var, to make up room for
14051 closed-over variables.
14052 (byte-compile-constants-vector): Obey it.
14053 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14054 (byte-compile-macroexpand-declare-function): New function.
14055 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14056 byte-code-functions.
14057 (byte-compile-form): Check obsolescence here.
14058 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14059 (byte-compile-variable-ref): Remove.
14060 (byte-compile-dynamic-variable-op): New fun.
14061 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14062 (byte-compile-variable-set): New funs.
14063 (byte-compile-discard): Add 2 args.
14064 (byte-compile-stack-ref, byte-compile-stack-set)
14065 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14066 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14067 macroexpand-all instead.
14068 (byte-compile-quote-form): Remove.
14069 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14070 (byte-compile-bind, byte-compile-unbind): New funs.
14071 (byte-compile-let): Handle let* and lexical binding.
14072 (byte-compile-let*): Remove.
14073 (byte-compile-catch, byte-compile-unwind-protect)
14074 (byte-compile-track-mouse, byte-compile-condition-case):
14075 Handle a new :fun-body form, used for lexical scoping.
14076 (byte-compile-save-window-excursion)
14077 (byte-compile-with-output-to-temp-buffer): Remove.
14078 (byte-compile-defun): Simplify.
14079 (byte-compile-stack-adjustment): New fun.
14080 (byte-compile-out): Use it.
14081 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14082
14083 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14084 handler any more.
14085
14086 * emacs-lisp/byte-opt.el: Use lexical binding.
14087 (byte-inline-lapcode): Remove (to bytecomp).
14088 (byte-compile-inline-expand): Pay attention to inlining to/from
14089 lexically bound code.
14090 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14091 any more.
14092 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14093 any more and don't call compiler-macros.
14094 (byte-compile-splice-in-already-compiled-code): Remove.
14095 (byte-code): Don't inline any more.
14096 (disassemble-offset): Receive `bytes' as argument rather than via
14097 dynamic scoping.
14098 (byte-compile-tag-number): Declare before first use.
14099 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14100 `return' even if make-spliceable.
14101 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14102 obsolete interactive-p.
14103 (byte-optimize-lapcode): Optimize new lap-codes.
14104 Don't trip up on new form of `byte-constant' lap code.
14105
14106 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14107
14108 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14109
14110 * custom.el (custom-initialize-default, custom-declare-variable):
14111 Use `defvar'.
14112
14113 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14114 New variables.
14115 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14116 (COMPILE_FIRST): Add macroexp and cconv.
14117 * makefile.w32-in: Mirror changes in Makefile.in.
14118
14119 * vc/cvs-status.el:
14120 * vc/diff-mode.el:
14121 * vc/log-edit.el:
14122 * vc/log-view.el:
14123 * vc/smerge-mode.el:
14124 * textmodes/bibtex-style.el:
14125 * textmodes/css.el:
14126 * startup.el:
14127 * uniquify.el:
14128 * minibuffer.el:
14129 * newcomment.el:
14130 * reveal.el:
14131 * server.el:
14132 * mpc.el:
14133 * emacs-lisp/smie.el:
14134 * doc-view.el:
14135 * dired.el:
14136 * abbrev.el: Use lexical binding.
14137
14138 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14139
14140 * info.el (info-display-manual): New function.
14141
14142 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14143
14144 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14145
14146 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14147
14148 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14149 an entry for that server in rcirc-authinfo. (Bug#8385)
14150
14151 2011-03-31 Glenn Morris <rgm@gnu.org>
14152
14153 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14154
14155 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14156
14157 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14158
14159 * progmodes/python.el (python-default-interpreter)
14160 (python-python-command-args, python-jython-command-args)
14161 (python-which-shell, python-which-args, python-which-bufname)
14162 (python-file-queue, python-comint-output-filter-function)
14163 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14164 variables and functions.
14165
14166 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14167
14168 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14169 (completion-in-region-mode): New minor mode.
14170 (completion-in-region): Use it.
14171 (completion-in-region--data, completion-in-region-mode-map): New vars.
14172 (completion-in-region--postch): New function.
14173 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14174 New vars.
14175 (completion--capf-wrapper): New function.
14176 (completion-at-point): Use it to track well-behavedness of
14177 hook functions.
14178 (completion-help-at-point): New command.
14179
14180 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14181
14182 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14183 syntax class to search for whitespace on a single line
14184 (Message-ID: <4D938140.4030905@redhat.com>).
14185
14186 2011-03-30 Leo Liu <sdl.web@gmail.com>
14187
14188 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14189 New commands.
14190 (edit-abbrevs-map): Bind them here.
14191 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14192
14193 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14194
14195 * allout.el (allout-hide-by-annotation, allout-flag-region):
14196 Reduce possibility of overlay leakage by making them volatile.
14197
14198 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14199 hash is not shared between buffers. Mode initialization is
14200 responsible for giving it a useful starting value.
14201 (allout-item-span): Reduce possibility of overlay leakage by
14202 making them volatile.
14203 (allout-widgets-count-buttons-in-region): Add diagnostic function
14204 for tracking down button overlay leaks.
14205
14206 2011-03-29 Leo Liu <sdl.web@gmail.com>
14207
14208 * ido.el (ido-read-internal): Use the default history var
14209 minibuffer-history if no HISTORY is specified.
14210
14211 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14212
14213 * net/imap.el (imap-shell-open, imap-process-connection-type):
14214 Use imap-process-connection-type for 'shell' streams as well as
14215 Kerberos, SSL, other subprocesses.
14216
14217 2011-03-28 Leo Liu <sdl.web@gmail.com>
14218
14219 * abbrev.el (abbrev-table-empty-p): New function.
14220 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14221 nonempty ones. (Bug#5937)
14222
14223 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14224
14225 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14226
14227 2011-03-27 Leo Liu <sdl.web@gmail.com>
14228
14229 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14230 for foreground and background colors.
14231 (ansi-color-make-color-map): Adapt.
14232
14233 2011-03-25 Leo Liu <sdl.web@gmail.com>
14234
14235 * midnight.el (midnight-time-float): Remove. Note it calculates
14236 the microsecond component incorrectly and seconds-to-time does the
14237 same job.
14238 Remove redundant (require 'timer).
14239
14240 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14241 (ido-completions): Remove unused arguments. (Bug#8329)
14242
14243 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * minibuffer.el (completion--flush-all-sorted-completions):
14246 Remove itself from hook.
14247 (completion-at-point): Let the functions perform the completion
14248 immediately and return nil or t.
14249 * comint.el (comint-dynamic-complete-functions): Now identical to
14250 completion-at-point-functions.
14251 (comint-dynamic-list-input-ring): Remove unused var `index'.
14252 (comint--match-partial-filename, comint--unquote&expand-filename):
14253 New funs, split from comint-match-partial-filename.
14254 (comint-dynamic-complete): Use completion-at-point.
14255 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14256
14257 2011-03-24 Drew Adams <drew.adams@oracle.com>
14258
14259 * thingatpt.el: Support `defun'.
14260
14261 2011-03-23 Leo Liu <sdl.web@gmail.com>
14262
14263 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14264
14265 * help-mode.el (help-mode-finish): Tweak regexp.
14266
14267 2011-03-23 Glenn Morris <rgm@gnu.org>
14268
14269 * eshell/esh-opt.el (eshell-eval-using-options):
14270 Do not bind unused local variable `eshell-option-stub'.
14271
14272 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14273
14274 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14275
14276 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14277 keymap variable in `with-no-warnings' to avoid a warning when the
14278 keymap has been already `defconst'ed.
14279
14280 2011-03-22 Leo Liu <sdl.web@gmail.com>
14281
14282 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14283 encode all chars in abbrevs; otherwise use emacs-mule or
14284 utf-8-emacs. (Bug#8308)
14285
14286 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14287
14288 * simple.el (backward-delete-char-untabify):
14289 Avoid warning about using `delete-backward-char'.
14290
14291 * image.el (image-type-file-name-regexps): Make it variable.
14292 `imagemagick-register-types' modifies it, and the user may want
14293 to add new extensions for known image types.
14294 (imagemagick-register-types): Throw error if not using ImageMagick.
14295
14296 2011-03-22 Leo Liu <sdl.web@gmail.com>
14297
14298 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14299 located before rcirc-prompt-end-marker.
14300 (rcirc-complete): Error if point is not after rcirc prompt.
14301 Handle the case when table is nil.
14302 (rcirc-user-authenticated): Define to fix compiler warning.
14303
14304 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14305
14306 * custom.el (custom--inhibit-theme-enable): Make it affect only
14307 custom-theme-set-variables and custom-theme-set-faces.
14308 (provide-theme): Ignore custom--inhibit-theme-enable.
14309 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14310 (custom-enabling-themes): Delete variable.
14311 (enable-theme): Accept only loaded themes as arguments.
14312 Ignore the special custom-enabled-themes variable.
14313 (custom-enabled-themes): Forbid themes from setting this.
14314 Eliminate use of custom-enabling-themes.
14315 (custom-push-theme): Quote "changed" custom var entry.
14316
14317 2011-03-21 Leo Liu <sdl.web@gmail.com>
14318
14319 * ido.el (ido-read-internal): Add ido-selected to history instead
14320 of user input.
14321
14322 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14323
14324 * subr.el (deferred-action-list, deferred-action-function):
14325 Mark obsolete.
14326
14327 2011-03-21 Leo Liu <sdl.web@gmail.com>
14328
14329 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14330 change on 2011-02-13 (bug#8309).
14331
14332 * minibuffer.el (read-file-name-function): Change default value.
14333 (read-file-name--defaults): Rename from read-file-name-defaults.
14334 (read-file-name-default): Rename from read-file-name.
14335 (read-file-name): Call read-file-name-function.
14336
14337 2011-03-21 Glenn Morris <rgm@gnu.org>
14338
14339 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14340 Doc fixes.
14341
14342 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14343
14344 * cus-theme.el: Add missing provide statement.
14345 (customize-create-theme): Extract theme value correctly.
14346 (custom-theme-visit-theme): Autoload.
14347 (customize-create-theme): Prompt before inserting default faces.
14348
14349 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14350
14351 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14352 units and musical notes.
14353
14354 2011-03-20 Leo Liu <sdl.web@gmail.com>
14355
14356 * ido.el (ido-read-internal): Use completing-read-default.
14357 (ido-completing-read): Fix compatibility with completing-read.
14358
14359 2011-03-20 Christian Ohler <ohler@gnu.org>
14360
14361 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14362 (ert-delete-all-tests): Use `called-interactively-p' rather than
14363 `interactive-p'.
14364 (ert--make-xrefs-region): Respect END.
14365
14366 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14367
14368 * dired-aux.el (dired-create-directory): Signal an error if the
14369 directory already exists (Bug#8246).
14370
14371 * facemenu.el (list-colors-display): Call list-faces-display
14372 inside with-help-window.
14373 (list-colors-print): Use display property to align the final
14374 column, instead of checking window-width.
14375
14376 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14377
14378 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14379 windows-nt systems.
14380 (emerge-protect-metachars): Quote correctly for ms-dos and
14381 windows-nt systems.
14382
14383 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14384
14385 * info.el (info-initialize): Replace all uses of `:' with
14386 path-separator for compatibility with non-Unix systems.
14387 Cache quoting of path-separator. (Bug#8258)
14388
14389 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14390
14391 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14392 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14393 (mouse-avoidance-mode): Fix typos in docstrings.
14394
14395 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * startup.el (package-subdirectory-regexp): Move from package.el.
14398 Omit \\` and \\', and let callers add them.
14399
14400 * emacs-lisp/package.el (package-strip-version)
14401 (package-load-all-descriptors): Add \\` and \\' to
14402 package-subdirectory-regexp before using it.
14403 (package-untar-buffer): New arg DIR; ensure that file untars only
14404 into this expected directory. Remove superfluous delete-region.
14405 (package-unpack): Caller changed.
14406 (package-tar-file-info): Use package-subdirectory-regexp.
14407
14408 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14411 diff-mode-shared-map (bug#8284).
14412 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14413
14414 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14415
14416 * calendar/time-date.el (format-seconds): Use assoc instead of
14417 assoc-string, since assoc-string doesn't exist in XEmacs.
14418
14419 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14420
14421 * custom.el (custom-known-themes): Reflow docstring.
14422 (custom-theme-load-path): Fix typo in docstring.
14423 (load-theme): Fix typo in error message.
14424 (custom-available-themes, custom-variable-theme-value):
14425 Use `let', not `let*'.
14426
14427 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14428
14429 * calc/README: Mention inclusion of musical notes.
14430
14431 * calc/calc-units.el (calc-lu-quant): Rename from
14432 `calc-logunits-quantity'.
14433 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14434 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14435 (calc-db): Rename from `calc-dblevel'.
14436 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14437 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14438 (calc-np): Rename from `calc-nplevel'.
14439 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14440 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14441 (calc-lu-plus): Rename from `calc-logunits-add'.
14442 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14443 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14444 (calc-lu-minus): Rename from `calc-logunits-sub'.
14445 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14446 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14447 (calc-lu-times): Rename from `calc-logunits-mul'.
14448 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14449 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14450 (calc-lu-divide): Rename from `calc-logunits-div'.
14451 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14452 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14453
14454 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14455 functions being autoloaded.
14456
14457 * calc/calc.el (calc-lu-power-reference): Rename from
14458 `calc-logunits-power-reference'.
14459 (calc-lu-field-reference): Rename from
14460 `calc-logunits-field-reference'.
14461
14462 * calc/calc-help.el (calc-l-prefix-help):
14463 Mention musical note functions.
14464
14465 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * minibuffer.el (completion-all-sorted-completions):
14468 Use :completion-cycle-penalty text property if present.
14469
14470 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14471
14472 * allout.el (allout-yank-processing): Adjust for new rebulleting
14473 regime so bullet being yanked is used without prompting the user
14474 for a choice.
14475
14476 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14477
14478 * startup.el (command-line): Warn the user that _emacs is deprecated.
14479
14480 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14481
14482 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14483 (delphi-verbose, delphi-comment-face, delphi-string-face)
14484 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14485 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14486 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14487 (delphi-new-comment-line, delphi-font-lock-defaults)
14488 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14489 Fix typos in docstrings.
14490
14491 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14492
14493 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14494 Invert the roles of character and string values for INSTEAD, so a
14495 string is used for the more common case of a defaulting prompt.
14496
14497 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * progmodes/ruby-mode.el (ruby-backward-sexp):
14500 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14501 * play/gamegrid.el (gamegrid-make-face):
14502 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14503 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14504 * notifications.el (notifications-notify):
14505 * net/xesam.el (xesam-search-engines):
14506 * net/quickurl.el (quickurl-list-insert):
14507 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14508
14509 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14510
14511 * startup.el (command-line): Update package subdirectory regexp.
14512
14513 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * allout.el (allout-abbreviate-flattened-numbering)
14516 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14517
14518 * subr.el (read-char-choice): Only show the cursor after the prompt,
14519 not after the answer.
14520
14521 2011-03-15 Kevin Ryde <user42@zip.com.au>
14522
14523 * help-fns.el (variable-at-point): Skip leading quotes, if any
14524 (bug#8253).
14525
14526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14529 warning message.
14530
14531 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14532
14533 * shell.el (shell): When called interactively, offer to change the
14534 shell file name on remote hosts.
14535
14536 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14537
14538 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14539 integration for LDAP parameters. The host, base, user or binddn,
14540 and secret tokens can be specified in a netrc file, for instance.
14541 This is optional because an `auth-source' parameter must be
14542 specified in the search attributes.
14543
14544 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14545
14546 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14547
14548 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14551 into declaration. Remove redundant and harmful binding.
14552
14553 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14554
14555 * files.el (file-ownership-preserved-p): Pass `integer' as an
14556 explicit 2nd argument to `file-attributes'. If the file's owner
14557 is the Administrators group on Windows, and the current user is
14558 Administrator, consider that a match.
14559
14560 * server.el (server-ensure-safe-dir): Consider server directory
14561 safe on MS-Windows if its owner is the Administrators group while
14562 the current Emacs user is Administrator. Use `=' to compare
14563 numerical UIDs, since they could be integers or floats.
14564
14565 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14568
14569 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14570
14571 Sync with Tramp 2.2.1.
14572
14573 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14574
14575 * net/trampver.el: Update release number.
14576
14577 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * progmodes/compile.el (compilation--previous-directory): Fix up
14580 various nil/dead-marker mismatches (bug#8014).
14581 (compilation-directory-properties, compilation-error-properties):
14582 Don't call it at a position past the one we're about to change.
14583
14584 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14585 Disable obsolescence warnings in the file that declares it.
14586
14587 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14588
14589 * allout-widgets.el (allout-widgets-tally):
14590 Initialize allout-widgets-tally as a hash table rather than nil to
14591 prevent mode-line redisplay warnings. Also, clarify the module
14592 description and fix a comment typo.
14593
14594 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14595
14596 * help-fns.el (describe-variable): Don't complete keywords.
14597 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14598
14599 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * emacs-lisp/package.el (package-version-join): Impose a standard
14602 string representation for pre/alpha/beta version lists.
14603 (package-unpack-single): Standardize the directory name by passing
14604 it through package-version-join.
14605 (package-strip-rcs-id): Accept any version string that does not
14606 signal an error in version-to-list.
14607
14608 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14609
14610 * simple.el (delete-trailing-whitespace): Return nil for the
14611 benefit of `write-file-functions'.
14612
14613 2011-03-10 Glenn Morris <rgm@gnu.org>
14614
14615 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14616
14617 * vc/vc-git.el (vc-git-program): New option.
14618 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14619 (vc-git--call): Use it.
14620
14621 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14622
14623 * cus-edit.el (Custom-newline): If no button at point, look
14624 for a subgroup button at start-of-line. (Bug#2298)
14625
14626 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14627
14628 2011-03-10 Julien Danjou <julien@danjou.info>
14629
14630 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14631 `cursor-type' is nil.
14632
14633 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14634
14635 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14636
14637 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14638
14639 * allout.el: Change so yank of distinctive-bullet items
14640 preserves the existing header prefix, rebulleting it if necessary,
14641 rather than replacing it. This is necessary for proper operation
14642 of cooperative addons like allout-widgets.
14643 (allout-make-topic-prefix, allout-rebullet-heading):
14644 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14645 value as alternate bullet to be used, instead of prompting the user
14646 for a bullet character.
14647
14648 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14649
14650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14651 Do not use `tramp-file-name-port', because this returns also
14652 `tramp-default-port'.
14653
14654 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14655
14656 * net/rcirc.el (rcirc-handler-001): Remove useless
14657 with-rcirc-process-buffer.
14658 (rcirc-check-auth-status): Swap arguments to string-match.
14659
14660 2011-03-09 Glenn Morris <rgm@gnu.org>
14661
14662 * shell.el (shell-mode):
14663 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14664
14665 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14666 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14667
14668 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14669
14670 * emacs-lisp/package.el (package-refresh-contents)
14671 (package-menu-execute): Use condition-case-no-debug.
14672
14673 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14674
14675 * simple.el (shell-command-to-string): Use `process-file'.
14676
14677 * emacs-lisp/package.el (package-tar-file-info): Handle also
14678 remote files.
14679
14680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14681 Use `equal' for upload base check.
14682
14683 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14684
14685 * textmodes/texinfo.el (texinfo-environments):
14686 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14687
14688 2011-03-08 Glenn Morris <rgm@gnu.org>
14689
14690 * cus-start.el (cursor-in-non-selected-windows):
14691 Fix :set quoting oddness. (Bug#8192)
14692
14693 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14694 in some setf expressions. (Bug#2159)
14695
14696 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14697
14698 * custom.el (custom-available-themes): Return themes in
14699 alphabetical order.
14700
14701 See ChangeLog.15 for earlier changes.
14702
14703 ;; Local Variables:
14704 ;; coding: utf-8
14705 ;; End:
14706
14707 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14708
14709 This file is part of GNU Emacs.
14710
14711 GNU Emacs is free software: you can redistribute it and/or modify
14712 it under the terms of the GNU General Public License as published by
14713 the Free Software Foundation, either version 3 of the License, or
14714 (at your option) any later version.
14715
14716 GNU Emacs is distributed in the hope that it will be useful,
14717 but WITHOUT ANY WARRANTY; without even the implied warranty of
14718 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14719 GNU General Public License for more details.
14720
14721 You should have received a copy of the GNU General Public License
14722 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.