]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Find rcs2log in the source-directory when running uninstalled
[gnu-emacs] / lisp / ChangeLog
1 2012-06-06 Glenn Morris <rgm@gnu.org>
2
3 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4 (vc-rcs-update-changelog): Use it.
5
6 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
7
8 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10 (vc-sccs-diff): Replace use of the external vcdiff script.
11
12 2012-06-05 Glenn Morris <rgm@gnu.org>
13
14 * ledit.el: Move to obsolete/.
15
16 2012-06-05 Sam Steingold <sds@gnu.org>
17
18 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
19 patch (Bug#11140).
20
21 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * emacs-list/cust-print.el: Move to obsolete.
24
25 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
26 compiler-macro expansion.
27
28 Add native compiler-macro support.
29 * emacs-lisp/macroexp.el (macroexpand-all-1):
30 Support compiler-macros directly. Properly follow aliases and apply
31 the compiler macros more thoroughly.
32 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
33 macroexpand now properly follows aliases.
34 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
35 (cl-compiler-macroexpand): Use new prop.
36 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
37
38 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
39
40 2012-06-05 Martin Rudalics <rudalics@gmx.at>
41
42 * window.el (get-lru-window, get-mru-window, get-largest-window):
43 New argument NOT-SELECTED to avoid picking the selected window.
44 (window--display-buffer-1, window--display-buffer-2): Replace by
45 new function window--display-buffer
46 (display-buffer-same-window, display-buffer-reuse-window)
47 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
48 Use window--display-buffer.
49 (display-buffer-use-some-window): Remove temporary dedication
50 hack by calling get-lru-window and get-largest-window with
51 NOT-SELECTED argument non-nil. Call window--display-buffer.
52
53 2012-06-05 Glenn Morris <rgm@gnu.org>
54
55 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
56 Replace external vcdiff script.
57
58 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
61
62 2012-06-04 Chong Yidong <cyd@gnu.org>
63
64 * image.el (imagemagick-types-inhibit): Revert last change.
65 Add INFO and M.
66 (imagemagick-enabled-types): Remove CIN and EPS*.
67
68 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emacs-lisp/cl-lib.el: Rename from cl.el.
71 * emacs-lisp/cl.el: New compatibility file.
72 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
73 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
74 to obey the "cl-" prefix.
75 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
76
77 2012-06-03 Glenn Morris <rgm@gnu.org>
78
79 * emacs-lisp/authors.el (authors-aliases): Addition.
80
81 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
82 Fix :version.
83
84 2012-06-03 Stefan Merten <smerten@oekonux.de>
85
86 * textmodes/rst.el: Add comments.
87 (rst-transition, rst-adornment): New faces.
88 (rst-adornment-faces-alist): Make default safe to reevaluate.
89 Fixes
90 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
91 Improve customization tags.
92 (rst-define-level-faces): Clarify meaning.
93
94 2012-06-03 Chong Yidong <cyd@gnu.org>
95
96 * progmodes/compile.el (compilation-mode-line-fail)
97 (compilation-mode-line-run, compilation-mode-line-exit):
98 New faces.
99 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
100
101 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
102
103 * progmodes/which-func.el (which-func-update-ediff-windows):
104 New function. Use it in ediff-select-hook (Bug#11478).
105
106 2012-06-03 Chong Yidong <cyd@gnu.org>
107
108 * bindings.el: Remove explicit help text from format-mode-line.
109 It is now supplied by mode-line-default-help-echo.
110 (mode-line-front-space, mode-line-end-spaces)
111 (mode-line-misc-info): New variables.
112 (mode-line-modes, mode-line-position): Move the default value to
113 the variable definition.
114 (mode-line-default-help-echo): New defcustom.
115 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
116 (mode-line-modified-help-echo): New functions.
117 (mode-line-mule-info, mode-line-modified): Use them.
118 (mode-line-eol-desc, propertized-buffer-identification):
119 Consistency fixes for help text.
120 (mode-line-coding-system-map): Allow using mouse-3 to invoke
121 set-buffer-file-coding-system (Bug#289).
122 (mode-line-mule-info-help-echo): Update help text.
123
124 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * simple.el (execute-extended-command): Set real-this-command
127 (bug#11506).
128
129 2012-06-02 Chong Yidong <cyd@gnu.org>
130
131 Remove incorrect uses of "modeline" in comments, docstrings, and
132 function/variable names (Bug#10329).
133
134 * cus-edit.el (mode-line):
135 * dframe.el (dframe-mouse-hscroll):
136 * emacs-lisp/re-builder.el:
137 * emacs-lisp/easy-mmode.el (define-minor-mode):
138 * frame.el (set-frame-name):
139 * help.el (lookup-minor-mode-from-indicator):
140 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
141 * progmodes/cc-cmds.el (c-toggle-auto-newline)
142 (c-toggle-hungry-state):
143 * progmodes/antlr-mode.el (antlr-language-alist):
144 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
145 * progmodes/vhdl-mode.el (vhdl-mode):
146 * progmodes/which-func.el (which-func, which-func-cleanup-function):
147 * term/ns-win.el (ns-face-at-pos):
148 * term/sup-mouse.el (sup-mouse-report):
149 * textmodes/flyspell.el (flyspell-mode-line-string):
150 * textmodes/ispell.el (ispell-highlight-face):
151 * textmodes/reftex-global.el:
152 * vc/vc-arch.el (vc-arch-mode-line-string):
153 * vc/vc-cvs.el (vc-cvs-mode-line-string):
154 * vc/vc-git.el (vc-git-mode-line-string):
155 * vc/vc-hooks.el (vc-display-status)
156 (vc-default-mode-line-string):
157 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
158
159 * ansi-color.el (ansi-color-faces-vector): Change default faces.
160
161 * dired.el (dired-sort-set-mode-line): Rename from
162 dired-sort-set-modeline. All callers changed.
163
164 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
165 eshell-status-in-modeline.
166
167 * foldout.el (foldout-mode-line-string): Rename from
168 foldout-modeline-string. All callers changed.
169 (foldout-update-mode-line): Rename from foldout-update-modeline.
170
171 * subr.el (redraw-modeline): Make into obsolete alias.
172
173 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
174 timeclock-modeline-display. Make old name an alias.
175 (timeclock-update-mode-line): Likewise. All callers changed.
176 (timeclock-mode-line-display): No need to check before using
177 add-hook.
178 (timeclock-relative, timeclock-day-over-hook)
179 (timeclock-use-elapsed, timeclock-mode-string)
180 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
181
182 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
183 crisp-mode-modeline-string.
184
185 * play/solitaire.el (solitaire-build-mode-line): Rename from
186 solitaire-build-modeline. All callers changed.
187
188 * play/zone.el (zone-hiding-mode-line): Rename from
189 zone-hiding-modeline. All callers changed.
190 (zone): Remove unusued `modeline-hidden-level' property.
191
192 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
193 xscheme-modeline-initialize. All callers changed.
194
195 * strokes.el (strokes-lighter): Rename from
196 strokes-modeline-string.
197
198 * textmodes/sgml-mode.el (html-face-tag-alist)
199 (html-tag-face-alist): Use mode-line face instead of obsolete
200 alias modeline.
201
202 2012-06-02 Stefan Merten <smerten@oekonux.de>
203
204 * textmodes/rst.el: Always require `cl'.
205 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
206
207 2012-06-02 Chong Yidong <cyd@gnu.org>
208
209 * image.el (imagemagick-enabled-types): Rename from
210 imagemagick-types-enable. Add many more types.
211 (imagemagick-types-inhibit): Change default to nil.
212 (imagemagick-filter-types): Caller changed.
213
214 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emacs-lisp/cl-macs.el: Use backquotes.
217 (cl-transform-function-property): Use eval-and-compile rather than
218 abusing `require'.
219 (defstruct): Use declare-function instead of with-no-warnings.
220
221 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
222 (byte-compile-output-docform): Re-add the print-circle bindings.
223 (byte-compile-fix-header): Use #$ just because it's shorter.
224 (byte-compile-output-file-form): Remove defun/defmacro.
225
226 2012-06-01 Martin Rudalics <rudalics@gmx.at>
227
228 * simple.el (choose-completion): Remove now obsolete binding for
229 owindow.
230
231 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
232
233 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
234 in order to avoid "Stack overflow in regexp matcher".
235
236 2012-05-31 Glenn Morris <rgm@gnu.org>
237
238 * image.el: For clarity, call imagemagick-register-types at
239 top-level, rather than relying on a custom :initialize.
240 (imagemagick-types-enable): New option. (Bug#11557)
241 (imagemagick-filter-types): New function. (Bug#7406)
242 (imagemagick-register-types): Use imagemagick-filter-types.
243 If disabling support, remove elements altogether rather
244 than using an impossible regexp.
245 (imagemagick-types-inhibit): Give it the default init function.
246
247 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
250 Handle arbitrary file name lengths (Bug#11585).
251
252 2012-05-31 Martin Rudalics <rudalics@gmx.at>
253
254 * desktop.el (desktop-read): Clear previous and next buffers for
255 all windows and bury *Messages* buffer (bug#11556).
256
257 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 Add `declare' for `defun'. Align `defmacro's with it.
260 * emacs-lisp/easy-mmode.el (define-minor-mode)
261 (define-globalized-minor-mode): Don't autoload the var definitions.
262 * emacs-lisp/byte-run.el: Use lexical-binding.
263 (defun-declarations-alist, macro-declarations-alist): New vars.
264 (defmacro, defun): Use them.
265 (make-obsolete, define-obsolete-function-alias)
266 (make-obsolete-variable, define-obsolete-variable-alias):
267 Use `declare'.
268 (macro-declaration-function): Mark obsolete.
269 * emacs-lisp/autoload.el: Use lexical-binding.
270 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
271
272 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
273
274 * textmodes/ispell.el (ispell-with-no-warnings):
275 Define as a macro.
276 (ispell-kill-ispell, ispell-change-dictionary):
277 Use `called-interactively-p' for Emacs instead of obsolete
278 `interactive-p'.
279
280 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
283 (macro-declaration-function): Move var from C code.
284 (macro-declaration-function): Define function with defalias.
285 * emacs-lisp/macroexp.el (macroexpand-all-1):
286 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
287 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
288 defun/defmacro any more.
289 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
290 Provide fallback for unknown arglist.
291 (byte-compile-arglist-warn): Change calling convention.
292 (byte-compile-output-file-form): Move print-vars binding.
293 (byte-compile-output-docform): Simplify accordingly.
294 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
295 (byte-compile-defmacro-declaration): Remove.
296 (byte-compile-file-form-defmumble): Generalize to defalias.
297 (byte-compile-output-as-comment): Return byte-positions.
298 Simplify callers accordingly.
299 (byte-compile-lambda): Use `assert'.
300 (byte-compile-defun, byte-compile-defmacro): Remove.
301 (byte-compile-file-form-defalias):
302 Use byte-compile-file-form-defmumble.
303 (byte-compile-defalias-warn): Remove.
304
305 2012-05-29 Stefan Merten <smerten@oekonux.de>
306
307 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
308 possible. Fix authors. Improve comments. Improve loading of `cl'.
309
310 (rst-mode-abbrev-table): Merge definition.
311 (rst-mode): Make sure `font-lock-defaults' is buffer local.
312 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
313
314 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
315
316 * calendar/icalendar.el
317 (icalendar-export-region): Export UID properly.
318
319 2012-05-29 Leo <sdl.web@gmail.com>
320 * calendar/icalendar.el (icalendar-import-format):
321 Add `icalendar-import-format-uid' (Bug#11525).
322 (icalendar-import-format-uid): New.
323 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
324 Export UID.
325
326 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
329 different alternative patterns.
330 (pcase-codegen): Be more careful to preserve identity.
331 (pcase--u1): Don't forget to mark vars as used.
332
333 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
334 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
335 (byte-compile-from-buffer): ...rather than here.
336
337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
338 functions from byte-compile-function-environment.
339
340 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
341
342 * window.el (window-deletable-p): Avoid deleting the root window
343 of a frame with an active minibuffer.
344
345 2012-05-29 Martin Rudalics <rudalics@gmx.at>
346
347 * simple.el (choose-completion): Use quit-window (Bug#11567).
348
349 2012-05-29 Chong Yidong <cyd@gnu.org>
350
351 * whitespace.el (whitespace-cleanup): Fix usage of
352 whitespace-empty-at-bob-regexp (Bug#11492).
353
354 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
355
356 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
357 revert (Bug#11488).
358
359 2012-05-29 Juri Linkov <juri@jurta.org>
360
361 * isearch.el (isearch-mode-map): Bind `M-s _' to
362 `isearch-toggle-symbol'. Bind `M-s c' to
363 `isearch-toggle-case-fold'.
364 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
365 (isearch-forward): Add `M-s _' to the docstring.
366 (isearch-forward-symbol, isearch-toggle-case-fold)
367 (isearch-symbol-regexp): New functions. (Bug#11381)
368
369 2012-05-29 Juri Linkov <juri@jurta.org>
370
371 * isearch.el (isearch-word): Add docstring. (Bug#11381)
372 (isearch-occur, isearch-search-and-update): If `isearch-word' is
373 a function, call it to get the regexp.
374 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
375 property `isearch-message-prefix' instead of the string "word ".
376 (isearch-search-fun-default): For the case of `isearch-word',
377 return a lambda that calls re-search-forward/re-search-backward
378 with a regexp returned by `word-search-regexp' or by the function
379 in `isearch-word'.
380
381 2012-05-29 Juri Linkov <juri@jurta.org>
382
383 * isearch.el (isearch-search-fun-default): New function.
384 (isearch-search-fun): Move default part to the new function
385 `isearch-search-fun-default'.
386 (isearch-search-fun-function): Set the default value to
387 `isearch-search-fun-default'. (Bug#11381)
388
389 * comint.el (comint-history-isearch-end):
390 Use `isearch-search-fun-default'.
391 (comint-history-isearch-search): Use `isearch-search-fun-default'
392 and remove spacial case for `isearch-word'.
393 (comint-history-isearch-wrap): Remove spacial case for
394 `isearch-word'.
395
396 * hexl.el (hexl-isearch-search-function):
397 Use `isearch-search-fun-default'.
398
399 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
400 Use `word-search-regexp' for `isearch-word'.
401
402 * misearch.el (multi-isearch-search-fun):
403 Use `isearch-search-fun-default'.
404
405 * simple.el (minibuffer-history-isearch-search):
406 Use `isearch-search-fun-default' and remove spacial case for
407 `isearch-word'.
408 (minibuffer-history-isearch-wrap): Remove spacial case for
409 `isearch-word'.
410
411 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
412 Remove spacial case for `isearch-word'.
413 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
414
415 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
416
417 Decrease XEmacs incompatibilities.
418 * textmodes/flyspell.el (flyspell-check-pre-word-p):
419 Use `string-match'.
420 (flyspell-delete-region-overlays): Use alternative definition for
421 XEmacs.
422 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
423 (flyspell-word): Use `process-kill-without-query' if XEmacs.
424 (flyspell-mode-on): Use `interactive-p' if XEmacs.
425 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
426 `define-obsolete-face-alias' under XEmacs, but old method.
427
428 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
429 `with-no-warnings' definition or Emacs alias.
430 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
431 (ispell-word): Do not use `region-p' if XEmacs.
432
433 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
434
435 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
436 Check for `ispell-dictionary-base-alist' instead of full
437 `ispell-dictionary-alist'.
438 (ispell-init-process): Show spellchecker when starting new Ispell
439 process.
440
441 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
444 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
445
446 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
447
448 * version.el (motif-version-string, gtk-version-string)
449 (ns-version-string): Declare.
450
451 2012-05-27 Juri Linkov <juri@jurta.org>
452
453 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
454 after the `eval-defun-1' specialcaseing
455 like in `edebug-eval-defun' (bug#10181).
456
457 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
458 like in `eval-defun-1'.
459
460 2012-05-27 Eli Zaretskii <eliz@gnu.org>
461
462 * mail/sendmail.el (mail-yank-region):
463 Recognize rmail-yank-current-message in addition to insert-buffer.
464 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
465 a *mail* buffer created through rmail-start-mail with sendmail as
466 mail-user-agent.
467
468 2012-05-27 Chong Yidong <cyd@gnu.org>
469
470 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
471 Default to 256 (Bug#11267).
472
473 * help.el (describe-mode): Doc fix.
474
475 2012-05-26 Glenn Morris <rgm@gnu.org>
476
477 * w32-fns.el (w32-init-info): Remove.
478 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
479
480 * info.el (info-initialize): For self-contained NS builds, put the
481 included info/ directory at the front. (Bug#2791)
482
483 * paths.el (Info-default-directory-list): Make it a defcustom,
484 mainly so that we can use custom-initialize-delay.
485
486 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * subr.el (buffer-has-markers-at): Mark obsolete.
489
490 * subr.el (lambda): Use declare.
491
492 * emacs-lisp/lisp-mode.el (lambda):
493 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
494
495 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
496
497 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
498
499 2012-05-26 Glenn Morris <rgm@gnu.org>
500
501 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
502
503 2012-05-25 Glenn Morris <rgm@gnu.org>
504
505 * paths.el: Remove no-byte-compile.
506 * loadup.el: No need to load paths.el uncompiled.
507
508 * image.el (imagemagick-types-inhibit): Doc fix.
509
510 * version.el: Remove no-byte-compile and associated formatting.
511 * loadup.el: No need to load version.el uncompiled. AFAICS, this
512 is ancient code from when there was an "inc-vers.el".
513
514 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * progmodes/gdb-mi.el: Minor style changes.
517 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
518 Turn into minor modes.
519 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
520 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
521 (gdb-shell): Remove unneeded let-binding.
522 (gdb-get-many-fields): Eliminate O(n²) behavior.
523
524 2012-05-25 Eli Zaretskii <eliz@gnu.org>
525
526 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
527 platforms that don't link in fontset.c.
528
529 2012-05-25 Juri Linkov <juri@jurta.org>
530
531 Use the same diff color scheme as in modern VCSes (bug#10181).
532
533 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
534 to avoid confusion with `diff-added' that now uses green colors.
535 (diff-removed): Use shades of red.
536 (diff-added): Use shades of green.
537 (diff-changed): Leave just the yellow color.
538 (diff-use-changed-face): New variable.
539 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
540 how to highlight context diff changes.
541 (diff-refine-change): Use shades of yellow.
542 (diff-refine-removed): New face that uses shades of red.
543 (diff-refine-added): New face that uses shades of green.
544 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
545 `diff-refine-removed' in the call to `smerge-refine-subst'
546 depending on the value of `diff-use-changed-face'.
547
548 * vc/smerge-mode.el (smerge-mine): Use shades of red.
549 (smerge-other): Use shades of green.
550 (smerge-base): Use shades of yellow.
551 (smerge-refined-change): Empty face.
552 (smerge-refined-removed): New face that uses shades of red.
553 (smerge-refined-added): New face that uses shades of green.
554 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
555 args `props-r' and `props-a', and use them. Doc fix.
556 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
557 on its value use different faces `smerge-refined-change',
558 `smerge-refined-removed', `smerge-refined-added' in the call to
559 `smerge-refine-subst'.
560
561 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
562 Add face condition `min-colors 88' with shades of red.
563 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
564 `min-colors 88' with shades of green.
565 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
566 `min-colors 88' with shades of yellow.
567
568 2012-05-24 Glenn Morris <rgm@gnu.org>
569
570 * paths.el (prune-directory-list, remote-shell-program): Move to...
571 * files.el (prune-directory-list, remote-shell-program): ...here.
572 For the latter, delay initialization, prefer ssh, just search PATH.
573
574 * paths.el (term-file-prefix): Move to faces.el (the only user).
575 * faces.el (term-file-prefix): Move here, make it a defcustom.
576
577 * paths.el (news-directory, news-path, news-inews-program):
578 Move to gnus/nnspool.el.
579
580 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
581
582 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
583 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
584 Make the latter a defcustom, with a delayed initialization.
585
586 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
587 These were deleted from Gnus itself late 2010.
588
589 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
590
591 * progmodes/which-func.el (which-func-ff-hook):
592 Check against user-error, not error.
593
594 * emacs-lisp/edebug.el (top): Do not load or set up loading of
595 cl-specs.el, which no longer exists.
596
597 2012-05-22 Glenn Morris <rgm@gnu.org>
598
599 * info.el (info-emacs-bug): New command.
600 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
601 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
602
603 2012-05-21 Glenn Morris <rgm@gnu.org>
604
605 * makefile.w32-in (update-subdirs-SH):
606 * Makefile.in (update-subdirs): Update for moved update-subdirs.
607
608 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
611
612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
613 Simplify Maven regexp, and make sure the file can't start with a space
614 (bug#11517).
615
616 2012-05-21 Glenn Morris <rgm@gnu.org>
617
618 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
619 Scrap superfluous subshells.
620
621 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
624 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
625
626 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
627
628 * calc/calc.el (calc-ensure-consistent-units): New variable.
629
630 * calc/calc-units.el (math-consistent-units-p)
631 (math-check-unit-consistency): New functions.
632 (calc-quick-units, calc-convert-units):
633 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
634 is non-nil.
635 (calc-extract-units): Fix typo.
636
637 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
640
641 * textmodes/flyspell.el: Commenting style, plus code simplifications.
642 (flyspell-default-deplacement-commands): Don't spell check after
643 repeated window/frame switches (e.g. triggered by mouse-movement).
644 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
645 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
646 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
647 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
648 Remove unused vars.
649 (flyspell-get-casechars, flyspell-get-not-casechars):
650 Simplify; Don't bother removing a ] just to add it back.
651 * textmodes/ispell.el (ispell-program-name): Use executable-find.
652
653 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
654
655 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
656 New functions.
657 (math-function-table): Add support for more C functions.
658
659 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
660
661 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
662 (flyspell-debug-signal-word-checked): Protect delay handling for
663 otherchars against empty otherchars.
664
665 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
668 their respective macro declarations.
669 * skeleton.el (define-skeleton):
670 * progmodes/compile.el (define-compilation-mode):
671 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
672 (define-ibuffer-filter):
673 * emacs-lisp/generic.el (define-generic-mode):
674 * emacs-lisp/easy-mmode.el (define-minor-mode)
675 (define-globalized-minor-mode):
676 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
677 * emacs-lisp/byte-run.el (defsubst):
678 * custom.el (deftheme): Add doc-string metadata.
679
680 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
683
684 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
687
688 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
689 * emacs-lisp/cl-macs.el: Idem.
690 * emacs-lisp/cl-specs.el: Remove.
691
692 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 Minor renaming of internal CL functions and variables.
695 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
696 (cl--position): Rename from cl-position.
697 (cl--delete-duplicates): Rename from cl-delete-duplicates.
698 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
699 (cl--random-state): Rename from *random-state*.
700
701 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
704 parens around the arg list (bug#11499).
705
706 2012-05-17 Juri Linkov <juri@jurta.org>
707
708 * isearch.el (word-search-regexp, word-search-backward)
709 (word-search-forward, word-search-backward-lax)
710 (word-search-forward-lax): Move functions from search.c
711 (bug#10145, bug#11381).
712
713 2012-05-16 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): Delay for otherchars as for
717 normal word components.
718
719 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * minibuffer.el (completion--sifn-requote): Fix last change.
722 (minibuffer-local-must-match-filename-map):
723 Move define-obsolete-variable-alias before its var.
724
725 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
728
729 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
730 behavior.
731 (completion--string-equal-p): New function.
732 (completion--twq-all): Use it to get better assertion failure data.
733
734 Only handle ".." and '..' quoting in shell-mode (bug#11466).
735 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
736 (shell--requote-argument): New functions.
737 (shell-completion-vars): Use them.
738 (shell--parse-pcomplete-arguments): Rename from
739 shell-parse-pcomplete-arguments.
740 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
741 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
742 Obey comint-file-name-quote-list.
743
744 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
745 (smie-indent-keyword): Use it.
746
747 2012-05-14 Stefan Merten <smerten@oekonux.de>
748
749 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
750
751 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * net/rlogin.el (rlogin-mode-map): Fix last change.
754
755 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
756
757 * mail/smtpmail.el (smtpmail-send-command): Send the command and
758 the following \r\n using a single `process-send-string', since the
759 Lotus SMTP server refuses to accept any commands if they are sent
760 with two `process-send-string's (Bug#11444).
761
762 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * shell.el (shell-parse-pcomplete-arguments):
765 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
766
767 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
768
769 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
770 (image-transform-scale, image-transform-right-angle-fudge): New vars.
771 (image-transform-width, image-transform-fit-width): New functions.
772 (image-transform-properties): Use them.
773 (image-transform-check-size): New function.
774 (image-toggle-display-image): Use it (for testing).
775 (image-transform-set-rotation): Reduce angle mod 360.
776 Delete obsolete comment.
777
778 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
779
780 * image-mode.el: Fix scaling (bug#11399).
781 (image-transform-resize): Doc fix.
782 (image-transform-properties): Default scale is 1 and height should
783 be an integer.
784
785 2012-05-13 Johan Bockgård <bojohan@gnu.org>
786
787 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
788 than hard-coding `car', to fix misbehavior when moving forward.
789
790 2012-05-13 Chong Yidong <cyd@gnu.org>
791
792 * emacs-lisp/tabulated-list.el (tabulated-list-format)
793 (tabulated-list-entries, tabulated-list-padding)
794 (tabulated-list-sort-key): Make permanent-local.
795
796 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
797 (electric-buffer-list): Put electric buffer menu
798 command descriptions in this docstring, instead of the docstring
799 of electric-buffer-menu-mode. Code cleanups.
800 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
801 Electric-buffer-menu-mode.
802 (electric-buffer-update-highlight): Minor code cleanup.
803
804 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
805
806 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
807 (Bug#11447)
808
809 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 Move define-obsolete-variable-alias before the var's definition.
812 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
813 * tooltip.el (tooltip-hook):
814 * textmodes/reftex-toc.el (reftex-toc-map):
815 * textmodes/reftex-sel.el (reftex-select-label-map)
816 (reftex-select-bib-map):
817 * textmodes/reftex-index.el (reftex-index-map)
818 (reftex-index-phrases-map):
819 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
820 * progmodes/meta-mode.el (meta-mode-map):
821 * novice.el (disabled-command-hook):
822 * loadhist.el (unload-hook-features-list):
823 * frame.el (blink-cursor):
824 * files.el (find-file-not-found-hooks, write-file-hooks)
825 (write-contents-hooks):
826 * emulation/tpu-edt.el (GOLD-map):
827 * emacs-lock.el (emacs-lock-from-exiting):
828 * emacs-lisp/generic.el (generic-font-lock-defaults):
829 * emacs-lisp/chart.el (chart-map):
830 * dos-fns.el (register-name-alist):
831 * dired-x.el (dired-omit-files-p):
832 * desktop.el (desktop-enable):
833 * cus-edit.el (custom-mode-hook):
834 * buff-menu.el (buffer-menu-mode-hook):
835 * bookmark.el (bookmark-read-annotation-text-func)
836 (bookmark-exit-hooks):
837 * allout.el (allout-mode-deactivate-hook)
838 (allout-exposure-change-hook, allout-structure-added-hook)
839 (allout-structure-deleted-hook, allout-structure-shifted-hook):
840 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
841 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
842 comes before the corresponding variable's definition.
843
844 2012-05-12 Chong Yidong <cyd@gnu.org>
845
846 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
847 (Buffer-menu-mouse-select): Restore function (Bug#11459).
848 (Buffer-menu-mode-map): Bind it.
849 (Buffer-menu--pretty-name): Add a mouse-face property.
850
851 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
854 (prolog-upper-case-string, prolog-lower-case-string)
855 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
856 (prolog-use-smie, prolog-smie-grammar): New vars.
857 (prolog-smie-forward-token, prolog-smie-backward-token)
858 (prolog-smie-rules): New funs.
859 (prolog-comment-indent): Remove.
860 (prolog-mode-variables): Use default comment indentation instead.
861 Setup SMIE.
862 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
863 (prolog-mode): Don't call them any more.
864 (prolog-electric-colon, prolog-electric-dash)
865 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
866
867 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
868
869 * minibuffer.el (completion--twq-all): Again, allow case differences.
870
871 * term.el: Move keymap initialization code to be more idiomatic.
872 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
873 (term-terminal-menu): Move initialization into declaration.
874 (term-escape-char): Let the user set it in her .emacs.
875
876 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
877 Provide SMIE-based indentation (not enabled by default yet).
878 (sh-mode-map): Don't bind electric keys.
879 Use electric-pair-mode instead of skeleton-pair.
880 (sh-assignment-regexp): Fit within 80 columns.
881 (sh-indent-supported): Specify actual shell name instead of boolean.
882 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
883 (sh-maybe-here-document): Use it. Make obsolete.
884 (sh-electric-here-document-mode) New minor mode.
885 (sh-mode): Use it. Don't set sh-indent-supported-here here.
886 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
887 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
888 (sh-smie-rc-grammar, sh-use-smie): New vars.
889 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
890 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
891 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
892 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
893 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
894 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
895 (sh-set-shell): Use smie-setup if requested.
896
897 * term.el (term-set-escape-char): Properly set term-escape-char.
898 See http://stackoverflow.com/questions/10524656.
899
900 2012-05-10 Chong Yidong <cyd@gnu.org>
901
902 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
903 Use url-generic-parse-url, and handle host names and Windows
904 filenames properly.
905 (ffap-url-unwrap-remote): Use url-generic-parse-url.
906 (ffap-url-unwrap-remote): Accept list values, specifying a list of
907 URL schemes to work on.
908 (ffap--toggle-read-only): New function.
909 (ffap-read-only, ffap-read-only-other-window)
910 (ffap-read-only-other-frame): Use it.
911 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
912 necessary for ffap-url-unwrap-remote.
913
914 2012-05-10 Dave Abrahams <dave@boostpro.com>
915
916 * cus-start.el (create-lockfiles): Add it.
917
918 2012-05-09 Chong Yidong <cyd@gnu.org>
919
920 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
921 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
922
923 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * shell.el (shell-completion-vars): Fix last change (bug#11348).
926
927 2012-05-09 Chong Yidong <cyd@gnu.org>
928
929 * ansi-color.el (ansi-color-process-output): Check for validity of
930 comint-last-output-start before using it. This avoids a bad
931 interaction with gdb-mi's input/output buffer.
932
933 2012-05-09 Glenn Morris <rgm@gnu.org>
934
935 * files.el (dir-locals-read-from-file):
936 Mention dir-locals in any error message.
937
938 2012-05-09 Chong Yidong <cyd@gnu.org>
939
940 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
941 package (Bug#11410).
942
943 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
944 variables into description.
945
946 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
949 shell-delimiter-argument-list (bug#11348).
950 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
951
952 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
953
954 * textmodes/rst.el: Silence byte-compiler warnings.
955 (rst-re-alist, rst-reset-section-caches): Move around.
956 (rst-re): Use `characterp', not `char-valid-p'.
957 (font-lock-beg, font-lock-end): Declare.
958
959 * progmodes/idlw-shell.el (specs): Remove reference to deleted
960 variable `idlwave-shell-activate-alt-keybindings' and simplify.
961
962 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
963
964 2012-05-08 Glenn Morris <rgm@gnu.org>
965
966 * files.el (auto-mode-alist): Treat ".make" like ".mk".
967
968 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * vc/log-edit.el: Add GNU coding standards highlighting.
971 (log-edit-font-lock-gnu-style)
972 (log-edit-font-lock-gnu-keywords): New vars.
973 (log-edit-font-lock-keywords): New fun.
974 (log-edit-mode): Don't fold case in font-lock.
975 (log-edit-font-lock-keywords): Do not assume case-folding.
976
977 * imenu.el: Misc cleanup. Make docstrings out of comments.
978 Use lexical-binding.
979 (imenu--index-alist, imenu--last-menubar-index-alist)
980 (imenu-menubar-modified-tick): Use defvar-local.
981 (imenu--split-menu): Remove unused var.
982 (imenu--cleanup-seen): Declare as global.
983 (imenu--cleanup): Use dolist.
984
985 * subr.el (defvar-local): Add debug spec and doc-string position.
986
987 2012-05-08 Glenn Morris <rgm@gnu.org>
988
989 * lisp/language/burmese.el, language/cham.el, language/czech.el:
990 * language/english.el, language/georgian.el, language/greek.el:
991 * language/japanese.el, language/khmer.el, language/korean.el:
992 * language/lao.el, language/misc-lang.el, language/romanian.el:
993 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
994 * language/thai.el, language/utf-8-lang.el:
995 Remove no-byte-compile setting.
996
997 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
998
999 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1000
1001 * progmodes/make-mode.el (makefile-browse):
1002 Remove unnecessary interactive. (Bug#11324)
1003
1004 2012-05-07 Glenn Morris <rgm@gnu.org>
1005
1006 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1007
1008 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1009
1010 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * loadup.el: Preload newcomment.el.
1013 * newcomment.el: Move autoload-only code to toplevel.
1014
1015 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1016 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1017 Handle new :right-align column property.
1018 (tabulated-list-print-col): Idem, plus use `display' text-property to
1019 try and preserve alignment for variable pitch fonts.
1020
1021 2012-05-07 Chong Yidong <cyd@gnu.org>
1022
1023 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1024 (tabulated-list-use-header-line): New var.
1025 (tabulated-list-init-header): Use it.
1026 (tabulated-list-print-fake-header): New function.
1027 (tabulated-list-print): Use it.
1028 (tabulated-list-sort-button-map): Add non-header-line commands.
1029 (tabulated-list-init-header): Add column name property to basic
1030 labels as well.
1031 (tabulated-list-col-sort): Handle non-header-line button case.
1032 (tabulated-list--sort-by-column-name): Fix a corner case.
1033
1034 * buff-menu.el (list-buffers--refresh):
1035 Handle Buffer-menu-use-header-line.
1036
1037 2012-05-06 Chong Yidong <cyd@gnu.org>
1038
1039 * buff-menu.el: Convert to Tabulated List mode.
1040 (Buffer-menu-buffer+size-width): Make obsolete.
1041 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1042 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1043 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1044 documentation into docstring of buffer-menu.
1045 (Buffer-menu-toggle-files-only): Add an informative message.
1046 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1047 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1048 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1049 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1050 (Buffer-menu-execute, Buffer-menu-select)
1051 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1052 (Buffer-menu-bury): Use Tabulated List machinery.
1053 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1054 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1055 Delete.
1056 (list-buffers--refresh): New function.
1057 (list-buffers-noselect): Use it.
1058 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1059 (Buffer-menu--pretty-file-name): New helper functions.
1060
1061 * loadup.el: Preload tabulated-list.
1062
1063 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1064 tabulated-list-sort-column.
1065 (tabulated-list-init-header): Add the initial aligning space even
1066 if tabulated-list-padding is zero.
1067
1068 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1069
1070 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1071 whose cdr is not a cons cell correctly (bug#11038).
1072
1073 2012-05-06 Chong Yidong <cyd@gnu.org>
1074
1075 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1076 Accept additional plist in column descriptors.
1077 (tabulated-list-init-header): Obey it.
1078 (tabulated-list-get-entry): New function.
1079 (tabulated-list-put-tag): Use it. Use string-width instead of
1080 length.
1081 (tabulated-list--column-number): New function.
1082 (tabulated-list-print): Use it.
1083 (tabulated-list-print-col): New function.
1084 Set `tabulated-list-column-name' property on each column's text.
1085 (tabulated-list-print-entry): Use it.
1086 (tabulated-list-delete-entry, tabulated-list-set-col):
1087 New functions.
1088 (tabulated-list-sort-column): New command (Bug#11337).
1089
1090 * buff-menu.el (list-buffers): Move C-x C-b binding from
1091 buff-menu.el to bindings.el.
1092
1093 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1094 :advertised-binding feature.
1095
1096 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1097
1098 * progmodes/compile.el (compilation-internal-error-properties):
1099 Calculate start position correctly when end-col is set but
1100 end-line is not (Bug#11382).
1101
1102 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1103
1104 * man.el (Man-unindent): Use text-property-default-nonsticky to
1105 prevent untabify from inheriting face properties (Bug#11408).
1106
1107 2012-05-05 Stefan Merten <smerten@oekonux.de>
1108
1109 * textmodes/rst.el: Major merge with upstream development up to
1110 Docutils SVN r7399 / rst.el V1.2.1.
1111
1112 Clarify maintainership and authors.
1113
1114 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1115 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1116 (rst-official-version, rst-official-cvs-rev, rst-version)
1117 (rst-package-emacs-version-alist): New functions and variables
1118 for version information.
1119
1120 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1121 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1122 (rst-mode-syntax-table, rst-mode): New and corrected functions
1123 and variables representing reStructuredText features.
1124
1125 (rst-re): New function for reStructuredText regexes. Use in
1126 many places.
1127
1128 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1129 (rst-mode-map): Rebind keys.
1130
1131 (rst-mode-lazy, rst-font-lock-keywords)
1132 (rst-font-lock-extend-region)
1133 (rst-font-lock-extend-region-internal)
1134 (rst-font-lock-extend-region-extend)
1135 (rst-font-lock-find-unindented-line-limit)
1136 (rst-font-lock-find-unindented-line-match)
1137 (rst-adornment-level, rst-font-lock-adornment-level)
1138 (rst-font-lock-adornment-match)
1139 (rst-font-lock-handle-adornment-pre-match-form)
1140 (rst-font-lock-handle-adornment-matcher): Major revision of
1141 font-locking. Integrate with other code. Use `jit-lock-mode'.
1142
1143 (rst-preferred-adornments, rst-adjust-hook)
1144 (rst-new-adornment-down, rst-preferred-bullets)
1145 (rst-preferred-bullets, rst-indent, rst-indent-width)
1146 (rst-indent-field, rst-indent-literal-normal)
1147 (rst-indent-literal-minimized, rst-indent-comment): Change,
1148 extend and improve customization.
1149
1150 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1151 (rst-normalize-cursor-position, rst-get-decoration)
1152 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1153 (rst-rstrip, rst-toc-insert-find-delete-contents)
1154 (rst-shift-fill-region, rst-compute-bullet-tabs)
1155 (rst-debug-print-tabs, rst-debug-mark-found)
1156 (rst-shift-region-guts, rst-shift-region-right)
1157 (rst-shift-region-left, rst-use-char-classes)
1158 (rst-font-lock-keywords-function)
1159 (rst-font-lock-indentation-point)
1160 (rst-font-lock-find-unindented-line-begin)
1161 (rst-font-lock-find-unindented-line-end)
1162 (rst-font-lock-find-unindented-line)
1163 (rst-font-lock-adornment-point, rst-font-lock-level)
1164 (rst-adornment-level-alist): Remove functions and variables.
1165
1166 (rst-compare-adornments, rst-get-adornment-match)
1167 (rst-suggest-new-adornment, rst-get-adornments-around)
1168 (rst-adornment-complete-p, rst-get-next-adornment)
1169 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1170 (rst-straighten-adornments): Standardize function names to
1171 use "adornment" instead of "decoration". Correct callers.
1172 Similar standardizing in many places.
1173
1174 (rst-update-section, rst-adjust, rst-promote-region)
1175 (rst-enumerate-region, rst-bullet-list-region)
1176 (rst-repeat-last-character): Correct use of `interactive'.
1177
1178 (rst-classify-adornment, rst-find-all-adornments)
1179 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1180 (rst-find-leftmost-column, rst-repeat-last-character):
1181 Refactor functions.
1182
1183 (rst-find-title-line, rst-reset-section-caches)
1184 (rst-get-adornments-around, rst-adjust-adornment-work)
1185 (rst-arabic-to-roman, rst-roman-to-arabic)
1186 (rst-insert-list-pos, rst-insert-list-new-item)
1187 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1188 New functions.
1189
1190 (rst-all-sections, rst-section-hierarchy)
1191 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1192 New variables.
1193
1194 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1195 configuration instead of only buffer. Change where necessary.
1196
1197 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1198 (rst-shift-region, rst-adaptive-fill): New functions for
1199 indentation and filling.
1200
1201 (rst-comment-line-break, rst-comment-indent)
1202 (rst-comment-insert-comment, rst-comment-region)
1203 (rst-uncomment-region): New functions for handling comments.
1204
1205 (rst-compile): Quote shell arguments.
1206
1207 (rst-compile-pdf-preview, rst-compile-slides-preview):
1208 Delete temporary files after use.
1209
1210 2012-05-05 Glenn Morris <rgm@gnu.org>
1211
1212 * calendar/cal-html.el: Optionally include holidays in the output.
1213 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1214 (cal-html-holidays): New option.
1215 (cal-html-css-default): Add holiday entry.
1216 (holiday-in-range): Autoload it.
1217 (cal-html-htmlify-entry): Add optional class argument.
1218 (cal-html-htmlify-list): Add optional holidays argument.
1219 (cal-html-insert-agenda-days): Include holidays in the output.
1220 (cal-html-one-month): Maybe include holidays.
1221
1222 * calendar/holidays.el (holiday-in-range):
1223 Move here from cal-tex-list-holidays.
1224 * calendar/cal-tex.el (cal-tex-list-holidays):
1225 Make it an obsolete alias for holiday-in-range. Update all callers.
1226
1227 2012-05-05 Chong Yidong <cyd@gnu.org>
1228
1229 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1230 Nextstep.
1231
1232 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1233
1234 * files.el (file-auto-mode-skip): New var.
1235 (set-auto-mode-1): Use it.
1236
1237 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * repeat.el: Use lexical-binding.
1240 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1241 (repeat-undo-count): Remove.
1242 (repeat):
1243 * progmodes/octave-mod.el (octave-abbrev-start):
1244 * progmodes/f90.el (f90-abbrev-start):
1245 * face-remap.el (text-scale-adjust):
1246 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1247
1248 * emacs-lisp/pcase.el (pcase--let*): New function.
1249 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1250 a bit more.
1251 (pcase--split-pred): Be more clever about ruling out overlap between
1252 a predicate and some constant pattern.
1253 (pcase--q1): Use `null' instead of (eq foo nil).
1254
1255 * subr.el (setq-local, defvar-local): New macros.
1256 (kbd): Redefine as an alias.
1257 (with-selected-window): Leave unrelated frames alone.
1258 (set-temporary-overlay-map): New function.
1259
1260 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * subr.el (user-error): New function.
1263 * window.el (switch-to-buffer):
1264 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1265 (smerge-match-conflict):
1266 * simple.el (previous-matching-history-element)
1267 (next-matching-history-element, goto-history-element, undo-more)
1268 (undo-start):
1269 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1270 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1271 (next-file, tags-loop-scan, list-tags, complete-tag):
1272 * progmodes/compile.el (compilation-loop):
1273 * mouse.el (mouse-minibuffer-check):
1274 * man.el (Man-bgproc-sentinel, Man-goto-page):
1275 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1276 (Info-history-forward, Info-follow-reference, Info-menu)
1277 (Info-extract-menu-item, Info-extract-menu-counting)
1278 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1279 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1280 (Info-next-reference, Info-prev-reference, Info-index)
1281 (Info-index-next, Info-follow-nearest-node)
1282 (Info-copy-current-node-name):
1283 * imenu.el (imenu--make-index-alist)
1284 (imenu-default-create-index-function, imenu-add-to-menubar):
1285 * files.el (basic-save-buffer, recover-file):
1286 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1287 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1288 (checkdoc-message-text, checkdoc-defun):
1289 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1290 * cus-edit.el (customize-changed-options, customize-rogue)
1291 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1292 (custom-variable-mark-to-reset-standard)
1293 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1294 (custom-file):
1295 * completion.el (check-completion-length):
1296 * comint.el (comint-search-arg)
1297 (comint-previous-matching-input-string-position)
1298 (comint-previous-matching-input)
1299 (comint-replace-by-expanded-history-before-point, comint-send-input)
1300 (comint-copy-old-input, comint-backward-matching-input)
1301 (comint-goto-process-mark, comint-set-process-mark):
1302 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1303 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1304
1305 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * dabbrev.el (dabbrev--ignore-case-p): New function.
1308 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1309 Use it.
1310
1311 * files.el (automount-dir-prefix): Mark as obsolete.
1312
1313 2012-05-04 Glenn Morris <rgm@gnu.org>
1314
1315 * patcomp.el, play/bruce.el: Move to obsolete/.
1316
1317 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1318
1319 Fix minor Y10k bugs.
1320 * arc-mode.el (archive-unixdate):
1321 * autoinsert.el (auto-insert-alist):
1322 * calc/calc-forms.el (math-this-year):
1323 * emacs-lisp/copyright.el (copyright-current-year)
1324 (copyright-update-year, copyright):
1325 * tar-mode.el (tar-clip-time-string):
1326 * time.el (display-time-update):
1327 Don't assume years have 4 digits.
1328
1329 2012-05-04 Chong Yidong <cyd@gnu.org>
1330
1331 * dos-w32.el (file-name-buffer-file-type-alist)
1332 (direct-print-region-use-command-dot-com):
1333 * ffap.el (ffap-menu-regexp):
1334 * find-file.el (ff-special-constructs):
1335 * follow.el (follow-debug):
1336 * forms.el (forms--debug):
1337 * iswitchb.el (iswitchb-all-frames):
1338 * ido.el (ido-all-frames):
1339 * emacs-lisp/timer.el (timer-max-repeats):
1340 * mail/feedmail.el (feedmail-mail-send-hook)
1341 (feedmail-mail-send-hook-queued):
1342 * mail/footnote.el (footnote-signature-separator):
1343 * mail/mailabbrev.el (mail-alias-separator-string)
1344 (mail-abbrev-mode-regexp):
1345 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1346 * progmodes/idlwave.el (idlwave-libinfo-file)
1347 (idlwave-default-completion-case-is-down)
1348 (idlwave-library-routines): Convert defvars to defcustoms.
1349
1350 * mail/rmail.el (rmail-decode-mime-charset):
1351 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1352 (idlwave-shell-fix-inserted-breaks)
1353 (idlwave-shell-activate-alt-keybindings)
1354 (idlwave-shell-use-breakpoint-glyph):
1355 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1356
1357 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1360
1361 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1362
1363 * progmodes/verilog-mode.el (font-lock-keywords):
1364 Fix mis-highligting auto. Reported by Craig Barner.
1365 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1366 defines from global name space. Reported by Dan Dever.
1367 (verilog-auto-reset, verilog-auto-reset-widths)
1368 (verilog-auto-tieoff): Support using unbased numbers for
1369 AUTORESET and AUTOTIEOFF.
1370 (verilog-submit-bug-report): Update variable list.
1371 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1372 parenthesis from not matching. Reported by Michael Rytting.
1373 (verilog-auto-template-lint): Fix hash error when linting modules
1374 with no used templates.
1375 (verilog-warn, verilog-warn-error)
1376 (verilog-warn-fatal): When non-interactive report multiple
1377 warnings before exiting. Suggested by Brad Dobbie.
1378 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1379 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1380 to report unused template errors. Reported by Brad Dobbie.
1381 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1382 nets, bug438. Reported by Vns Blore.
1383 (verilog-auto-inout-module, verilog-auto-reg)
1384 (verilog-read-decls, verilog-read-sub-decls-sig)
1385 (verilog-signals-edit-wire-reg, verilog-signals-with):
1386 Fix passing of Verilog data types in ANSI input/output ports
1387 such as "output logic" into the AUTOs. Special case "wire" and
1388 "reg" for backwards compatibility presuming Verilog 2001.
1389 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1390 (verilog-preprocess): Fix replication of preprocess output.
1391 Reported by Brad Dobbie.
1392 (verilog-auto-inst-interfaced-ports):
1393 Create verilog-auto-inst-interfaced-ports, bug429.
1394 Reported by Julian Gorfajn.
1395 (verilog-after-save-font-hook)
1396 (verilog-before-save-font-hook): New variable.
1397 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1398 (verilog-save-font-mods): Wrap disabling fontification, reported
1399 by David Rogoff.
1400 (verilog-do-indent, verilog-pretty-declarations-auto)
1401 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1402 Reported by Pierre-David Pfister.
1403 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1404 of class declarations, bug292. Reported by Kevin Heilman.
1405 (verilog-read-decls): Fix 'parameter type' not appearing in
1406 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1407 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1408 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1409 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1410 Reported by David Kravitz.
1411
1412 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1413
1414 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1415 assignment with tests in ifs and for loops.
1416 (verilog-extended-complete-re, verilog-complete-reg): Change so
1417 that DPI inport functions don't look like fuction declarations.
1418 (verilog-pretty-expr): Don't line up assignment
1419 operations to the test and increment in if and for loops
1420 (verilog-extended-complete-re, verilog-complete-reg): Change so
1421 that DPI inport functions don't look like fuction declarations
1422
1423 2012-05-03 Kenichi Handa <handa@m17n.org>
1424
1425 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1426 decoding, and show a warning message without signaling an error
1427 (Bug#11282).
1428
1429 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * emacs-lisp/bytecomp.el
1432 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1433 since cconv.el might have introduced :fun-body, internal-make-closure,
1434 and friends for bytecomp to handle (bug#11391).
1435 * custom.el (defcustom): Avoid ((λ ..) ..).
1436
1437 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1440
1441 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1442
1443 * notifications.el (dbus-debug):
1444 * term/linux.el (gpm-mouse-enable):
1445 * term/screen.el (xterm-register-default-colors): Declare.
1446
1447 2012-05-02 Chong Yidong <cyd@gnu.org>
1448
1449 * cus-start.el (gc-cons-percentage, exec-suffixes)
1450 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1451 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1452 (make-cursor-line-fully-visible, void-text-area-pointer)
1453 (font-list-limit): Add customization data.
1454
1455 * allout.el (allout-exposure-change-functions)
1456 (allout-structure-added-functions)
1457 (allout-structure-deleted-functions)
1458 (allout-structure-shifted-functions): Rename abnormal hooks from
1459 *-hook, and convert to defcustoms.
1460 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1461 Convert to defcustoms.
1462 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1463
1464 * allout-widgets.el: Hook callers changed.
1465
1466 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1467
1468 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1469 the yanked message in preference to the default value of
1470 buffer-file-coding-system.
1471
1472 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1473
1474 * window.el (display-buffer--action-function-custom-type):
1475 Fix entry.
1476
1477 2012-05-02 Alan Mackenzie <acm@muc.de>
1478
1479 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1480
1481 2012-05-01 Glenn Morris <rgm@gnu.org>
1482
1483 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1484
1485 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1486
1487 * cus-edit.el (custom-variable-documentation): Simplify with format.
1488
1489 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1490 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * simple.el (suggest-key-bindings, execute-extended-command):
1493 Move from keyboard.c.
1494
1495 2012-05-01 Chong Yidong <cyd@gnu.org>
1496
1497 * follow.el: Eliminate advice.
1498 (set-process-filter, process-filter, sit-for): Advice deleted.
1499 (follow-mode-off-hook): Obsolete hook removed.
1500 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1501 Vars deleted.
1502 (follow-auto): Use a :set function.
1503 (follow-mode): Rewritten. Don't advise process filters.
1504 (follow-switch-to-current-buffer-all, follow-scroll-up)
1505 (follow-scroll-down): Assume follow-mode is bound.
1506 (follow-comint-scroll-to-bottom)
1507 (follow-align-compilation-windows): New functions.
1508 (follow--window-sorter): New function.
1509 (follow-all-followers): Use it to explicitly sort windows by their
1510 positions; don't make assumptions about next-window order.
1511 (follow-windows-start-end, follow-delete-other-windows-and-split)
1512 (follow-calc-win-start): Doc fix.
1513 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1514 vertical-motion unnecessarily.
1515 (follow-adjust-window): New function.
1516 (follow-post-command-hook): Use it.
1517 (follow-call-set-process-filter, follow-call-process-filter)
1518 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1519 (follow-stop-intercept-process-output, follow-generic-filter):
1520 Functions deleted.
1521 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1522 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1523 New functions, replacing advice on scroll-bar-* commands.
1524 (follow-mwheel-scroll): New function (Bug#4112).
1525
1526 * comint.el (comint-adjust-point): New function.
1527 (comint-postoutput-scroll-to-bottom): Use it.
1528 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1529
1530 2012-05-01 Glenn Morris <rgm@gnu.org>
1531
1532 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1533 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1534 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1535 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1536 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1537 Remove no-byte-compile setting.
1538
1539 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1542 all-completions code to not return a number in the last cdr.
1543
1544 2012-04-30 Leo Liu <sdl.web@gmail.com>
1545
1546 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1547 read-only error.
1548
1549 2012-04-29 Chong Yidong <cyd@gnu.org>
1550
1551 * follow.el (follow-calc-win-end): Rewrite to handle partial
1552 screen lines correctly (Bug#8390).
1553 (follow-avoid-tail-recenter): Minor cleanup.
1554
1555 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 Avoid the obsolete `assoc' package.
1558 * speedbar.el (speedbar-refresh): Avoid adelete.
1559 (speedbar-file-lists): Simplify and avoid aput.
1560 * man.el (Man--sections, Man--refpages): New vars, replacing
1561 Man-sections-alist and Man-refpages-alist.
1562 (Man-build-section-alist, Man-build-references-alist):
1563 Use them; avoid aput.
1564 (Man--last-section, Man--last-refpage): New vars.
1565 (Man-follow-manual-reference): Use them.
1566 Use the `default' arg of completing-read.
1567 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1568
1569 2012-04-27 Chong Yidong <cyd@gnu.org>
1570
1571 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1572
1573 * startup.el (x-apply-session-resources): New function.
1574
1575 * term/ns-win.el (ns-initialize-window-system):
1576 * term/w32-win.el (w32-initialize-window-system):
1577 * term/x-win.el (x-initialize-window-system): Use it to properly
1578 set menu-bar-mode and other vars from X resources, even if the
1579 initial frame is not a window-system frame (Bug#2299).
1580
1581 * subr.el (read-key): Avoid running filter function when setting
1582 up temporary tool bar entries (Bug#9922).
1583
1584 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1585
1586 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1587 (Bug#11344)
1588
1589 2012-04-27 Chong Yidong <cyd@gnu.org>
1590
1591 * select.el (xselect--encode-string): New function, split from
1592 xselect-convert-to-string.
1593 (xselect-convert-to-string): Use it.
1594 (xselect-convert-to-filename, xselect-convert-to-os)
1595 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1596 returned strings are properly encoded (Bug#11315).
1597
1598 2012-04-27 Chong Yidong <cyd@gnu.org>
1599
1600 * simple.el (delete-active-region): Move to killing custom group.
1601
1602 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1603
1604 * progmodes/which-func.el (which-func-current): Quote %
1605 characters for mode-line processing.
1606
1607 2012-04-27 Chong Yidong <cyd@gnu.org>
1608
1609 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1610 reaching eob (Bug#11286).
1611
1612 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1613
1614 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1615 (gdb): Make it buffer-local and init to zero.
1616 (gdb-control-commands-regexp): New variable.
1617 (gdb-send): Don't wrap in "-interpreter-exec console" if
1618 gdb-control-level is positive. Increment gdb-control-level
1619 whenever the command matches gdb-control-commands-regexp, and
1620 decrement it each time the command is "end". (Bug#11279)
1621
1622 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1623
1624 * window.el (adjust-window-trailing-edge, enlarge-window)
1625 (shrink-window, window-resize):
1626 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1627 windows (Bug#11276).
1628
1629 2012-04-27 Chong Yidong <cyd@gnu.org>
1630
1631 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1632 fix "missing prefix" warning. All callers changed.
1633
1634 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * emacs-lisp/assoc.el: Move to obsolete/.
1637
1638 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1641
1642 * term/ns-win.el (ns-define-service):
1643 * progmodes/pascal.el (pascal-goto-defun):
1644 * progmodes/js.el (js--read-tab):
1645 * progmodes/etags.el (tags-lazy-completion-table):
1646 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1647 * emacs-lisp/ewoc.el (ewoc--wrap):
1648 * emacs-lisp/assoc.el (aput, adelete, amake):
1649 * doc-view.el (doc-view-convert-current-doc):
1650 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1651
1652 2012-04-26 Chong Yidong <cyd@gnu.org>
1653
1654 * image.el (image-type-from-buffer): Only return supported image
1655 type (Bug#9045).
1656
1657 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1658 value, for symmetry with diff-end-of-hunk.
1659 (diff-split-hunk, diff-find-source-location)
1660 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1661 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1662 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1663 compute the relevant hunk or file properly (Bug#6005).
1664 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1665
1666 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * vc/vc-mtn.el:
1669 * vc/vc-hg.el:
1670 * vc/vc-git.el:
1671 * vc/vc-dir.el:
1672 * vc/vc-cvs.el:
1673 * vc/vc-bzr.el:
1674 * vc/vc-arch.el:
1675 * vc/vc.el: Replace lexical-let by lexical-binding.
1676 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1677 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1678 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1679
1680 2012-04-26 Chong Yidong <cyd@gnu.org>
1681
1682 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1683 (diff-mode-shared-map): Bind it to / and [remap undo].
1684
1685 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1686 (ediff-window-setup-function): Use it as the default, to set up
1687 windows based on whether the current frame is graphical (Bug#2138).
1688 (ediff-choose-window-setup-function-automatically): Make obsolete.
1689
1690 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1691
1692 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * ffap.el: Remove old code for obsolete package.
1695 (ffap-complete-as-file-p): Remove.
1696
1697 Use completion-table-with-quoting for comint and pcomplete.
1698 * comint.el (comint--unquote&requote-argument)
1699 (comint--unquote-argument, comint--requote-argument): New functions.
1700 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1701 (comint-quote-filename): Use regexp-opt-charset.
1702 (comint--common-suffix, comint--common-quoted-suffix)
1703 (comint--table-subvert): Remove.
1704 (comint-unquote-function, comint-requote-function): New vars.
1705 (comint--complete-file-name-data): Use them with
1706 completion-table-with-quoting.
1707 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1708 * pcomplete.el (pcomplete-arg-quote-list)
1709 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1710 (pcomplete-unquote-argument-function): Default to non-nil.
1711 (pcomplete-unquote-argument): Simplify.
1712 (pcomplete--common-quoted-suffix): Remove.
1713 (pcomplete-requote-argument-function): New var.
1714 (pcomplete--common-suffix): New function.
1715 (pcomplete-completions-at-point): Use completion-table-with-quoting
1716 and completion-table-subvert.
1717
1718 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1719 (minibuffer--double-dollars): Preserve properties.
1720 (completion--sifn-requote): New function.
1721 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1722
1723 * minibuffer.el: Add support for completion of quoted/escaped data.
1724 (completion-table-with-quoting, completion-table-subvert): New funs.
1725 (completion--twq-try, completion--twq-all): New functions.
1726 (completion--nth-completion): New function.
1727 (completion-try-completion, completion-all-completions): Use it.
1728
1729 2012-04-25 Leo Liu <sdl.web@gmail.com>
1730
1731 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1732 Use compilation-message if available to find real filename.
1733
1734 2012-04-25 Chong Yidong <cyd@gnu.org>
1735
1736 * vc/diff-mode.el (diff-setup-whitespace): New function.
1737 (diff-mode): Use it.
1738
1739 * vc/diff.el (diff-sentinel):
1740 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1741 Whitespace mode variables based on diff style (Bug#8612).
1742
1743 2012-04-25 Leo Liu <sdl.web@gmail.com>
1744
1745 * progmodes/python.el (python-send-region): Add suffix .py to the
1746 temp file.
1747
1748 * files.el (auto-mode-alist): Use javascript-mode instead.
1749
1750 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1751
1752 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1753
1754 * soap-client.el (soap-resolve-references-for-sequence-type)
1755 (soap-resolve-references-for-array-type): Hack to prevent self
1756 references, see Bug#9.
1757 (soap-parse-envelope): Report the contents of the 'detail' node
1758 when receiving a fault reply.
1759 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1760
1761 * soap-inspect.el (soap-sample-value-for-simple-type)
1762 (soap-inspect-simple-type): New function.
1763
1764 * soap-client.el (soap-simple-type): New struct.
1765 (soap-default-xsd-types, soap-default-soapenc-types)
1766 (soap-decode-basic-type, soap-encode-basic-type):
1767 support unsignedInt and double basic types.
1768 (soap-resolve-references-for-simple-type)
1769 (soap-parse-simple-type, soap-encode-simple-type): New function.
1770 (soap-parse-schema): Parse xsd:simpleType declarations.
1771
1772 * soap-client.el (soap-default-xsd-types)
1773 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1774 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1775 the local name of "soapenc:Array".
1776 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1777 decoding integer, byte and anyURI xsd types.
1778
1779 2012-04-25 Chong Yidong <cyd@gnu.org>
1780
1781 * cus-edit.el (custom-buffer-create-internal): Update header text.
1782
1783 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1784
1785 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1786 settings on 'system-type', not on 'window-system'. On MS-Windows,
1787 set interactive-mode on in GDB.
1788
1789 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1792 (ruby-syntax-propertize-regexp): Remove.
1793 (ruby-syntax-propertize-function): Split regexp into chunks.
1794 Match following code directly.
1795
1796 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1797
1798 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1799 (ruby-syntax-propertize-regexp): New function.
1800 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1801 by a special keyword.
1802
1803 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1804 (ruby-syntax-general-delimiters-goto-beg)
1805 (ruby-syntax-propertize-general-delimiters): New functions.
1806 (ruby-syntax-propertize-function): Use them to handle GDL.
1807 (ruby-font-lock-keywords): Move old handling of GDL...
1808 (ruby-font-lock-syntactic-keywords): .. to here.
1809 (ruby-calculate-indent): Adjust indentation for GDL.
1810
1811 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1812
1813 * notifications.el (top): Remove unneeded declarations.
1814 (notifications-specification-version): Change to "1.2".
1815 (notifications-interface, notifications-notify-method)
1816 (notifications-close-notification-method): Fix docstring.
1817 (notifications-get-capabilities-method): New defconst.
1818 (notifications-notify): Add :action-items, :resident and
1819 :transient hints. Change "image_data" to "image-data" and
1820 "image_path" to "image-path".
1821 (notifications-get-capabilities): New defun.
1822
1823 2012-04-24 Leo Liu <sdl.web@gmail.com>
1824
1825 * progmodes/python.el: Move hideshow setup to the end.
1826
1827 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1828
1829 * window.el (handle-select-window): Clear echo area since this is
1830 no more done by read_char (Bug#11304).
1831
1832 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1835 and `/ M' to filter-derived-mode.
1836 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1837 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1838 (ibuffer-mark-by-mode): Use default rather than initial-input.
1839 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1840
1841 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1842
1843 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1844 (ibuffer-filter-by-derived-mode): New filter.
1845 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1846
1847 2012-04-23 Andreas Politz <politza@fh-trier.de>
1848
1849 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1850
1851 2012-04-23 Chong Yidong <cyd@gnu.org>
1852
1853 * cus-edit.el (customize-apropos, customize-apropos-options):
1854 Disable matching of non-option variables (Bug#11176).
1855 (customize-option, customize-option-other-window)
1856 (customize-changed-options): Doc fix.
1857 (customize-apropos-options, customize-apropos-faces)
1858 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1859
1860 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1861 Fix word list splitting (Bug#11132).
1862 (apropos-symbol, apropos-keybinding, apropos-label)
1863 (apropos-property, apropos-function-button)
1864 (apropos-variable-button, apropos-misc-button): New faces.
1865 (apropos-symbol-face, apropos-keybinding-face)
1866 (apropos-label-face, apropos-property-face, apropos-match-face):
1867 Variables removed (Bug#8396).
1868 (apropos-library-button, apropos-format-plist, apropos-print)
1869 (apropos-print-doc, apropos-describe-plist): Callers changed.
1870
1871 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1872
1873 * net/xesam.el (xesam-mode-map): Use let-bound map in
1874 initialization. (Bug#11292)
1875
1876 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1877
1878 Preserve ispell session localwords when switching back to
1879 original buffer.
1880
1881 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1882 variable to hold buffer session localwords.
1883 (ispell-kill-ispell): add option 'clear to delete session
1884 localwords.
1885 (ispell-command-loop, ispell-change-dictionary)
1886 (ispell-buffer-local-words): Preserve session localwords when
1887 needed.
1888
1889 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1890 Preserve session localwords when needed.
1891
1892 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1893
1894 * ispell.el (ispell-insert-word) Remove unneeded function using
1895 obsolete `translation-table-for-input'.
1896 (ispell-word, ispell-process-line, ispell-complete-word):
1897 Use plain `insert' instead of removed `ispell-insert-word'.
1898
1899 2012-04-22 Chong Yidong <cyd@gnu.org>
1900
1901 * cus-edit.el (custom-variable-menu)
1902 (custom-variable-reset-saved, custom-face-menu)
1903 (custom-face-reset-saved): If there is no saved value, make the
1904 "reset-saved" operation bring back the default (Bug#9509).
1905 (custom-face-state): Properly detect themed faces.
1906
1907 * faces.el (face-spec-set): Stop supporting deprecated form of
1908 third arg.
1909
1910 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1911
1912 Move functions from C to Lisp. Make non-blocking method calls
1913 the default. Implement further D-Bus standard interfaces.
1914
1915 * net/dbus.el (dbus-message-internal): Declare function.
1916 Remove unneeded function declarations.
1917 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1918 (dbus-message-type-method-return, dbus-message-type-error)
1919 (dbus-message-type-signal): Declare variables. Remove local
1920 definitions.
1921 (dbus-interface-dbus, dbus-interface-peer)
1922 (dbus-interface-introspectable, dbus-interface-properties)
1923 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1924 Adapt docstring.
1925 (dbus-interface-objectmanager): New defconst.
1926 (dbus-call-method, dbus-call-method-asynchronously)
1927 (dbus-send-signal, dbus-method-return-internal)
1928 (dbus-method-error-internal, dbus-register-service)
1929 (dbus-register-signal, dbus-register-method): New defuns, moved
1930 from dbusbind.c
1931 (dbus-call-method-handler, dbus-setenv)
1932 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1933 New defuns.
1934 (dbus-call-method-non-blocking): Make it an obsolete function.
1935 (dbus-unregister-object, dbus-unregister-service)
1936 (dbus-handle-event, dbus-register-property)
1937 (dbus-property-handler): Obey the new structure of
1938 `bus-registered-objects'.
1939 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1940 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1941 Use `dbus-call-method'.
1942
1943 2012-04-22 Chong Yidong <cyd@gnu.org>
1944
1945 * cus-edit.el (custom-commands, custom-reset-menu)
1946 (Custom-reset-standard): Tweak labels.
1947 (custom-reset-button-menu): Change default to t.
1948 (custom-buffer-create-internal): For the custom-reset-button-menu
1949 case, put the revert button first.
1950 (custom-group-subtitle): New face.
1951 (custom-group-value-create): Align docstring to a specific column.
1952
1953 * wid-edit.el (widget-documentation-link-add): Don't handle
1954 indentation in this function.
1955 (widget-documentation-string-indent-to): New function.
1956 (widget-documentation-string-value-create): Use it.
1957
1958 * autorevert.el (auto-revert):
1959 * epg-config.el (epg):
1960 * ibuffer.el (ibuffer):
1961 * mpc.el (mpc):
1962 * ses.el (ses):
1963 * eshell/eshell.el (eshell):
1964 * net/ange-ftp.el (ange-ftp):
1965 * progmodes/ebnf2ps.el (postscript):
1966 * progmodes/flymake.el (flymake):
1967 * progmodes/prolog.el (prolog):
1968 * progmodes/verilog-mode.el (verilog-mode):
1969 * progmodes/which-func.el (which-func):
1970 * term/xterm.el (xterm):
1971 * textmodes/picture.el (picture):
1972 * textmodes/tildify.el (tildify):
1973 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1974 customization buffers.
1975
1976 2012-04-22 Alan Mackenzie <acm@muc.de>
1977
1978 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1979 Adding a ) can hide the resulting (..) from searches. Fix it.
1980 Bound the backward search to the position of the existing (.
1981
1982 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1983
1984 * progmodes/verilog-mode.el (verilog-mode): Check whether
1985 which-func-modes is t before adding verilog-mode.
1986 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1987
1988 2012-04-21 Leo Liu <sdl.web@gmail.com>
1989
1990 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1991
1992 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1993
1994 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1995 filling of the last column of a table (Bug#5635).
1996 (woman-find-next-control-line): New arg, specifying an additional
1997 regexp component for the control line.
1998 (woman2-roff-buffer): Use it.
1999 (woman-break-table): New function.
2000 (woman2-TS): Use it.
2001
2002 2012-04-21 Chong Yidong <cyd@gnu.org>
2003
2004 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2005 (woman-horizontal-escapes, woman-negative-vertical-space)
2006 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2007 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2008
2009 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * minibuffer.el (completion-file-name-table): Complete user names.
2012
2013 2012-04-20 Leo Liu <sdl.web@gmail.com>
2014
2015 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2016 and pcase-let*.
2017
2018 2012-04-20 Chong Yidong <cyd@gnu.org>
2019
2020 * server.el (server-execute): Respect initial-buffer-choice if it
2021 is a string and there are no files to open (Bug#2825).
2022 (server-create-window-system-frame, server-create-tty-frame):
2023 Don't switch buffers here.
2024 (server-process-filter): Only try to open a window system frame if
2025 compiled with graphical support (Bug#8314).
2026
2027 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2028
2029 * battery.el (battery-echo-area-format): Display remaining time
2030 for sysfs backend too (Bug#11269).
2031 (battery-linux-sysfs): Fix conditional for the charge.
2032
2033 2012-04-20 Chong Yidong <cyd@gnu.org>
2034
2035 * progmodes/gdb-mi.el (gdb): Revert previous change.
2036 (gdb-inferior-io--init-proc): New function.
2037 (gdb-init-1): Use it.
2038 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2039 responsible for allocating a new pty and hooking it to gdb when
2040 the old pty gets an EIO due to process exit.
2041 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2042 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2043 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2044
2045 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2046
2047 * window.el (window-min-size, window-sizable, window-min-delta)
2048 (window-max-delta, window--resizable, window-resizable)
2049 (window-total-size, window-full-height-p, window-full-width-p)
2050 (window-in-direction, window--resize-mini-window, window-resize)
2051 (window--resize-child-windows-normal)
2052 (window--resize-child-windows, window--resize-siblings)
2053 (window--resize-this-window, adjust-window-trailing-edge)
2054 (enlarge-window, shrink-window): Doc fixes.
2055
2056 2012-04-20 Chong Yidong <cyd@gnu.org>
2057
2058 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2059 New function to call delete-process on the gdb-inferior buffer's pty.
2060 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2061 pty process (Bug#11273).
2062 (gdb-update): New arg to suppress talking to the gdb process.
2063 (gdb-done-or-error): Use it.
2064 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2065 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2066 sentinel not being called.
2067
2068 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2069
2070 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2071
2072 2012-04-20 Glenn Morris <rgm@gnu.org>
2073
2074 * net/network-stream.el (open-network-stream): Doc fix.
2075
2076 2012-04-20 Chong Yidong <cyd@gnu.org>
2077
2078 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2079
2080 2012-04-20 Alan Mackenzie <acm@muc.de>
2081
2082 Ensure searching for keywords is case sensitive.
2083
2084 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2085 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2086 (c-defun-name, c-mark-function, c-cpp-define-name)
2087 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2088 (c-context-line-break): Bind case-fold-search to nil.
2089
2090 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2091 Bind case-fold-search to nil.
2092
2093 2012-04-20 Chong Yidong <cyd@gnu.org>
2094
2095 * mail/sendmail.el (mail-bury): Call return action with the right
2096 Rmail buffer (Bug#11242).
2097
2098 * server.el (server-process-filter): Handle corner case where both
2099 tty and nowait options are present (Bug#11102).
2100
2101 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2102
2103 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2104 (top level): Put into the executable the ident-style '$Id:' tag on
2105 windows-nt as well.
2106
2107 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * electric.el (electric-indent-post-self-insert-function): Check that
2110 electric-indent-mode is enabled in current buffer.
2111
2112 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * imenu.el (imenu-progress-message): Restore; it is "used" in
2115 erc/erc-imenu.el and net/snmp-mode.el.
2116
2117 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2118
2119 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2120 (mouse-avoidance-nudge-mouse): Remove unused binding.
2121
2122 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2123
2124 * descr-text.el (describe-char):
2125 * progmodes/python.el (python-describe-symbol):
2126 Don't call `toggle-read-only', set `buffer-read-only'.
2127
2128 * imenu.el (imenu-default-goto-function): Mark unused args.
2129 (imenu-progress-message): Remove obsolete macro; all callers changed.
2130
2131 * subr.el (keymap-canonicalize): Remove unused binding.
2132 (read-passwd): Mark unused arg.
2133
2134 * tutorial.el (tutorial--display-changes): Remove unused binding.
2135 (tutorial--save-tutorial-to): Remove unused variable.
2136
2137 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2138 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2139 (package-generate-autoloads, package-menu--generate)
2140 (package-menu--find-upgrades): Remove unused bindings.
2141
2142 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2143 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2144 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2145 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2146 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2147 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2148 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2149 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2150 (cua-delete-char-rectangle): Mark unused args.
2151 (cua-align-rectangle): Remove unused binding.
2152
2153 * mail/rmail.el (compilation--message->loc)
2154 (epa--find-coding-system-for-mime-charset): Declare.
2155
2156 * net/dbus.el (dbus-register-service): Declare.
2157 (dbus-name-owner-changed-handler): Remove unused binding.
2158
2159 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2160 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2161 (nxml-scan-backward-within): Mark unused arg.
2162 (nxml-dynamic-markup-word): Remove unused binding.
2163
2164 * mouse.el (mouse-menu-major-mode-map):
2165 * emacs-lisp/authors.el (authors-scan-change-log)
2166 (authors-add-to-author-list):
2167 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2168 * emacs-lisp/smie.el (smie-auto-fill):
2169 * mail/sendmail.el (mail-bury):
2170 * mail/unrmail.el (unrmail):
2171 * net/tls.el (open-tls-stream):
2172 * textmodes/picture.el (picture-mouse-set-point):
2173 Remove unused bindings.
2174
2175 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp.el (tramp-action-password): Let-bind
2178 `enable-recursive-minibuffers' to t.
2179
2180 2012-04-18 Sam Steingold <sds@gnu.org>
2181
2182 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2183 instead of 'string to accommodate values like [f11].
2184 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2185 * progmodes/gdb-mi.el: Likewise.
2186
2187 2012-04-18 Leo Liu <sdl.web@gmail.com>
2188
2189 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2190 current buffer.
2191 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2192 LOCAL is nil.
2193
2194 2012-04-18 Chong Yidong <cyd@gnu.org>
2195
2196 * simple.el (line-move): Use forward-line if in batch mode
2197 (Bug#11053).
2198
2199 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2200
2201 * files.el (after-find-file): Do not try to add a final newline if
2202 the buffer is read-only (Bug#11156).
2203
2204 2012-04-17 Richard Stallman <rms@gnu.org>
2205
2206 * mail/rmail.el (rmail-start-mail):
2207 Pass (rmail-mail-return...) for the return-action.
2208 Pass (rmail-yank-current-message...) for the yank-action.
2209 (rmail-yank-current-message): New function.
2210 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2211 (rmail-reply): Likewise.
2212 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2213
2214 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2215 buffer, not the last. Reject temp buffers. Use the rmail-mode
2216 buffer, not newbuf.
2217
2218 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2219
2220 * server.el (server-ensure-safe-dir): Simplify.
2221
2222 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/smie.el: Provide smarter auto-filling.
2225 (smie-auto-fill): New function.
2226 (smie-setup): Use it.
2227
2228 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2229
2230 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2231
2232 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2233 (comment-indent): Use it.
2234
2235 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2236
2237 * ses.el: The overall change is to add cell renaming, that is
2238 setting fancy names for cell symbols other than name matching
2239 "\\`[A-Z]+[0-9]+\\'" regexp .
2240 (ses-localvars): Add ses--renamed-cell-symb-list.
2241 (ses-create-cell-variable): New defun.
2242 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2243 (ses-relocate-formula): Relocate formulas only for cells the
2244 symbols of which are not renamed, i.e. symbols whose names do not
2245 match regexp "\\`[A-Z]+[0-9]+\\'".
2246 (ses-relocate-all): Relocate values only for cells the symbols of
2247 which are not renamed.
2248 (ses-load): Create cells variables as the (ses-cell ...) are read,
2249 in order to check row col consistency with cell symbol name only
2250 for cells that are not renamed.
2251 (ses-replace-name-in-formula): New defun.
2252 (ses-rename-cell): New defun.
2253
2254 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2255
2256 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2257 New option (bug#11118).
2258 (perl-calculate-indent): Respect it.
2259
2260 2012-04-17 Glenn Morris <rgm@gnu.org>
2261
2262 * dired-aux.el (dired-mark-read-string): Doc fix.
2263
2264 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2265
2266 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2267 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2268
2269 2012-04-17 Glenn Morris <rgm@gnu.org>
2270
2271 * mouse.el (mouse-drag-track):
2272 * speedbar.el (speedbar-frame-mode):
2273 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2274
2275 2012-04-16 Leo Liu <sdl.web@gmail.com>
2276
2277 * progmodes/python.el: Trivial cleanup.
2278
2279 2012-04-16 Glenn Morris <rgm@gnu.org>
2280
2281 * vc/vc.el (vc-string-prefix-p):
2282 * vc/pcvs-util.el (cvs-string-prefix-p):
2283 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2284 * mpc.el (mpc-string-prefix-p):
2285 Make all of these into obsolete aliases for string-prefix-p.
2286 Update callers.
2287 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2288
2289 * textmodes/two-column.el: Move custom options to the start.
2290 (frame-width): Remove compat definition.
2291 (2C-associate-buffer, 2C-dissociate):
2292 Use with-current-buffer rather than save-excursion.
2293 (2C-dissociate): Force a mode-line update.
2294 (2C-autoscroll): Use ignore-errors.
2295
2296 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2297 Autoload trivia.
2298
2299 * emacs-lisp/cl-extra.el (*random-state*):
2300 Remove unnecessary declaration.
2301
2302 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2303
2304 * play/cookie1.el (cookie-snarf):
2305 Give an explicit error if input file cannot be read.
2306
2307 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2308
2309 * progmodes/perl-mode.el (c-macro-expand):
2310 Remove unnecessary autoload (it is in loaddefs.el).
2311
2312 * textmodes/picture.el (picture-desired-column)
2313 (picture-update-desired-column): Convert comments to doc-strings.
2314 (picture-substitute): Remove function.
2315 (picture-mode-map): Initialize in the defvar.
2316
2317 * woman.el: Remove eval-after-load for tar-mode.
2318 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2319 (woman-tar-extract-file): Autoload it.
2320
2321 * frame.el (automatic-hscrolling): Make this alias obsolete.
2322
2323 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2324
2325 * ispell.el (ispell-set-spellchecker-params): Post-process
2326 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2327 (ispell-dictionary-base-alist): Revert to original XEmacs
2328 friendly version for default. [:alpha:] will be added in
2329 `ispell-set-spellchecker-params' if needed
2330
2331 2012-04-16 Chong Yidong <cyd@gnu.org>
2332
2333 * image.el (imagemagick--extension-regexp): New variable.
2334 (imagemagick-register-types): Use it.
2335 (imagemagick-types-inhibit): Add :set function. Allow new value
2336 of t to inhibit all types.
2337
2338 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2339 so we can preload it.
2340
2341 * loadup.el (fboundp): Preload regexp-opt, needed by
2342 imagemagick-register-types.
2343
2344 2012-04-15 Chong Yidong <cyd@gnu.org>
2345
2346 * frame.el (scrolling): Remove nearly unused customization group.
2347
2348 * scroll-all.el (scroll-all-mode): Move to windows group.
2349
2350 2012-04-15 Chong Yidong <cyd@gnu.org>
2351
2352 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2353
2354 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2357 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2358
2359 2012-04-15 Glenn Morris <rgm@gnu.org>
2360
2361 * simple.el (process-file-side-effects): Doc fix.
2362
2363 2012-04-15 Glenn Morris <rgm@gnu.org>
2364
2365 * international/mule-cmds.el (set-language-environment): Doc fix.
2366
2367 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2368
2369 * server.el (server-auth-key, server-generate-key): Doc fixes.
2370 (server-get-auth-key): Doc fix. Use `string-match-p'.
2371 (server-start): Reflow docstring.
2372
2373 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2374
2375 * server.el (server-generate-key): `called-interactively-p'
2376 requires a parameter.
2377
2378 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2379
2380 * server.el (server-auth-key): New variable.
2381 (server-generate-key, server-get-auth-key): New function.
2382 (server-start): Use the new variable and functions to allow
2383 setting a permanent server key (bug#9423).
2384
2385 2012-04-14 Leo Liu <sdl.web@gmail.com>
2386
2387 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2388
2389 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2390
2391 Spelling fixes.
2392 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2393 Emacs uses American spelling.
2394
2395 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2396
2397 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2398 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2399 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2400 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2401
2402 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * progmodes/which-func.el (which-func-modes): Change default.
2405
2406 2012-04-14 Kim F. Storm <storm@cua.dk>
2407
2408 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2409 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2410
2411 2012-04-14 Chong Yidong <cyd@gnu.org>
2412
2413 * custom.el (custom-theme-set-variables): Doc fix.
2414
2415 2012-04-14 Glenn Morris <rgm@gnu.org>
2416
2417 * international/mule.el (set-auto-coding-for-load): Doc fix.
2418
2419 2012-04-14 Alan Mackenzie <acm@muc.de>
2420
2421 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2422 imenu work again for Objective C Mode. Correct the *-index values,
2423 these having been disturbed by a previous change in 2011-08.
2424
2425 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2426 Correct two search limits.
2427
2428 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2431
2432 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2433
2434 * international/characters.el: Fix sorting.
2435
2436 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2437
2438 * international/characters.el: Add more missing Latin case pairs.
2439
2440 2012-04-14 Glenn Morris <rgm@gnu.org>
2441
2442 * files.el (dir-locals-set-class-variables): Doc fix.
2443
2444 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2445
2446 * international/characters.el: Add set-case-syntax-pair call for
2447 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2448 counterpart. (Bug#11209)
2449
2450 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2451
2452 2012-04-14 Glenn Morris <rgm@gnu.org>
2453
2454 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2455
2456 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2457
2458 * textmodes/ispell.el (ispell-dictionary-base-alist):
2459 Add data for Hebrew.
2460
2461 2012-04-14 Chong Yidong <cyd@gnu.org>
2462
2463 * net/rcirc.el (rcirc-cmd-quit):
2464 Revert 2012-03-18 change (Bug#11192).
2465
2466 2012-04-14 Glenn Morris <rgm@gnu.org>
2467
2468 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2469
2470 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2471
2472 * minibuffer.el (completion-in-region-mode-map):
2473 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2474
2475 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2476
2477 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2478
2479 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2480
2481 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2482 to allow `C-M-f' and `C-M-b' to move to the nearest path
2483 separator (bug#9511).
2484
2485 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2486
2487 * avoid.el: Require cl when compiling. And also move the
2488 `provide' to the end.
2489
2490 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2491
2492 * avoid.el (mouse-avoidance-banish-position): New variable.
2493 (mouse-avoidance-banish-destination): Use it (bug#10165).
2494
2495 2012-04-13 Leo Liu <sdl.web@gmail.com>
2496
2497 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2498
2499 2012-04-13 Ken Brown <kbrown@cornell.edu>
2500
2501 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2502 this is no longer needed now that cygstart understands file:// URLs.
2503 (browse-url-filename-alist): For the same reason, don't modify
2504 file:// URLs on Cygwin.
2505
2506 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2509 the region on shift if the binding is already shifted (bug#11221).
2510
2511 2012-04-12 Glenn Morris <rgm@gnu.org>
2512
2513 * mail/mailpost.el: Move to obsolete/.
2514
2515 2012-04-12 Drew Adams <drew.adams@oracle.com>
2516
2517 * imenu.el (imenu--generic-function): Ignore invisible definitions
2518 (bug#10123).
2519
2520 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2521
2522 * hexl.el (hexl-bits): New variable.
2523 (hexl-options): Mention the variable in the doc string.
2524 (hexl-rulerise, hexl-line-displen): New functions.
2525 (hexl-mode): Mention the new variable.
2526 (hexl-mode, hexl-current-address, hexl-current-address):
2527 Use the displen.
2528 (hexl-ascii-start-column): New function.
2529 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2530 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2531
2532 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2533
2534 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2535 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2536 the encoding, as expected by hunspell.
2537
2538 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * battery.el (battery--linux-sysfs-regexp): New const.
2541 (battery-status-function): Use it. Remove yeeloong special case.
2542 (battery-yeeloong-sysfs): Remove.
2543 (battery-echo-area-format): Remove yeeloong special case.
2544
2545 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2548 Reported by Noah Friedman.
2549
2550 * subr.el (read-passwd): Use read-string.
2551
2552 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2553
2554 * vcursor.el (vcursor-move): Increase the priority of the overlay
2555 (bug#9663).
2556
2557 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2558
2559 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2560 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2561
2562 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2563
2564 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2565 define-minor-mode (bug#10760).
2566
2567 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2568
2569 * progmodes/grep.el (rgrep): Tweak the find command line so
2570 that directories matching `grep-find-ignored-files' won't be
2571 pruned (bug#10351).
2572
2573 2012-04-11 Chong Yidong <cyd@gnu.org>
2574
2575 * startup.el (command-line): Remove support for long-obsolete
2576 variable font-lock-face-attributes.
2577
2578 2012-04-11 Glenn Morris <rgm@gnu.org>
2579
2580 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2581
2582 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * window.el (window--state-get-1): Obey window-point-insertion-type.
2585
2586 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2587
2588 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2589 to previous function when point is on the first character of a
2590 function. Take care of that in `narrow-to-defun' (bug#6157).
2591
2592 2012-04-11 Glenn Morris <rgm@gnu.org>
2593
2594 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2595 not just file-errors.
2596
2597 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2598 (vc-bzr-sha1): Use internal sha1.
2599
2600 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2603
2604 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2605
2606 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2607 that start in the middle of the line (bug#10496).
2608
2609 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2610
2611 * battery.el (battery-linux-proc-acpi): Only one battery is
2612 discharged at a time, but that seems to confuse battery.el when
2613 computing `rate-type' for the battery not being discharged
2614 (bug#10332).
2615
2616 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2619
2620 * international/quail.el: Use dolist and simplify.
2621 (quail-define-package, quail-update-keyboard-layout)
2622 (quail-define-rules): Use dolist.
2623 (quail-insert-kbd-layout, quail-get-translation): CSE.
2624
2625 * tmm.el: Use dolist, remove left over hook.
2626 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2627 Use dolist.
2628 (calendar-load-hook): Don't mess with it.
2629
2630 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2631 Use derived-mode-p. Run the diff asynchronously.
2632
2633 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2634
2635 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2636
2637 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2638
2639 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2640 (list-dynamic-libraries--loaded): New function.
2641 (list-dynamic-libraries--refresh): Use it.
2642
2643 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2644
2645 * progmodes/python.el (python-fill-paragraph):
2646 Make python-fill-region in a multiline string work when font-lock is
2647 disabled (bug#7018).
2648
2649 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2650
2651 * language/european.el (cp775): Add oem/legacy (en)coding on
2652 DOS/MS Windows for the Baltic languages. There are still plenty
2653 of texts written in this encoding/codepage (bug#6519).
2654
2655 2012-04-10 Glenn Morris <rgm@gnu.org>
2656
2657 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2658 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2659
2660 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2661
2662 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2663 next-line "n" and previous-line "p" in order to make recentf more
2664 consistent with ibuffer, dired or org-mode (bug#9387).
2665
2666 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
2668 * image.el (put-image): Return the overlay created instead of the
2669 optional input string (bug#7834). Note that this may break code
2670 that is (for some reason or other) depending on `put-image'
2671 returning the string.
2672
2673 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2674
2675 * simple.el (zap-to-char): Allow zapping using input methods
2676 (bug#1580).
2677
2678 * textmodes/fill.el (fill-region): Leave point and mark where they
2679 were before filling (bug#5399).
2680
2681 2012-04-09 Glenn Morris <rgm@gnu.org>
2682
2683 * version.el (emacs-bzr-get-version):
2684 Handle lightweight checkouts of local branches.
2685
2686 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2687
2688 * international/characters.el: Recover lost case pairs. (Bug#11209)
2689
2690 2012-04-09 Chong Yidong <cyd@gnu.org>
2691
2692 * custom.el (custom-variable-p): Return nil for non-symbol
2693 arguments instead of signaling an error.
2694 (user-variable-p): Obsolete alias for custom-variable-p.
2695
2696 * apropos.el (apropos-variable):
2697 * files-x.el (read-file-local-variable):
2698 * simple.el (set-variable):
2699 * woman.el (woman-mini-help):
2700 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2701
2702 2012-04-09 Glenn Morris <rgm@gnu.org>
2703
2704 * startup.el (normal-top-level): Don't look for leim-list.el
2705 in places where it will not be found. (Bug#910)
2706
2707 * international/mule-cmds.el (set-default-coding-systems):
2708 * files.el (normal-mode):
2709 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2710 This function was removed with ucs-tables.el in 2008.
2711
2712 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2713
2714 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2715 ispell-encoding8-command to "-i", without a trailing space.
2716 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2717 separate command-line arguments, to specify the encoding, since
2718 that's how hunspell expects it.
2719
2720 2012-04-08 Glenn Morris <rgm@gnu.org>
2721
2722 * loadup.el: Load bindings before cus-start.
2723 This reduces somewhat the number of "rogue" settings in emacs -Q.
2724
2725 2012-04-07 Glenn Morris <rgm@gnu.org>
2726
2727 * version.el (emacs-bzr-get-version): New function.
2728 (emacs-bzr-version): New variable.
2729 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2730 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2731
2732 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2733
2734 * international/uni-bidi.el, international/uni-category.el:
2735 * international/uni-combining.el, international/uni-decimal.el:
2736 * international/uni-decomposition.el, international/uni-digit.el:
2737 * international/uni-lowercase.el, international/uni-mirrored.el:
2738 * international/uni-name.el, international/uni-numeric.el:
2739 * international/uni-titlecase.el, international/uni-uppercase.el:
2740 Update for Unicode 6.1.
2741
2742 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2743
2744 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2745
2746 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2747
2748 * window.el (shrink-window): Mention the `window-min-height'
2749 variable in the doc string.
2750
2751 2012-04-05 Bastien Guerry <bzg@altern.org>
2752
2753 * color.el (color-lighten-name): Fix typo.
2754
2755 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * server.el (server--on-display-p): New function.
2758 (server--on-display-p): Use it.
2759
2760 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2761
2762 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2763 (bug#11145).
2764
2765 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * comint.el (comint--common-quoted-suffix): Check string boundary
2768 before comparing (bug#11158).
2769 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2770
2771 2012-04-04 Chong Yidong <cyd@gnu.org>
2772
2773 * minibuffer.el (completion-extra-properties): Doc fix.
2774
2775 * subr.el (delayed-warnings-hook): Doc fix.
2776
2777 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2778
2779 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2780 selection (Bug#11159).
2781 (epa-insert-keys): Inform that the default public key will be
2782 exported if no key is selected.
2783
2784 2012-04-04 Richard Stallman <rms@gnu.org>
2785
2786 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2787
2788 2012-04-03 Chong Yidong <cyd@gnu.org>
2789
2790 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2791 mail-insert-file, not its obsolete alias mail-attach-file.
2792
2793 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * notifications.el (notifications-notify): Fix docstring.
2796
2797 2012-04-02 Glenn Morris <rgm@gnu.org>
2798
2799 * emacs-lisp/authors.el (authors-aliases): Another addition.
2800
2801 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2802
2803 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2804 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2805 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2806
2807 2012-04-01 Chong Yidong <cyd@gnu.org>
2808
2809 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2810 Handle root directory properly.
2811 (copy-directory): Caller changed.
2812
2813 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2814 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2815
2816 2012-03-31 Glenn Morris <rgm@gnu.org>
2817
2818 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2819
2820 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2821
2822 * calendar/calendar.el (calendar-window-list)
2823 (calendar-hide-window): Restore. (Bug#11140)
2824 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2825
2826 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2827
2828 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2829
2830 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2831 Check if file is a symlink (Bug#10489).
2832
2833 * files.el (copy-directory): Likewise.
2834
2835 2012-03-30 Chong Yidong <cyd@gnu.org>
2836
2837 * image.el (imagemagick-types-inhibit)
2838 (imagemagick-register-types): Doc fix.
2839
2840 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2841
2842 * ispell.el (ispell-get-extended-character-mode):
2843 Disable extended-char-mode for hunspell. hunspell does not support it
2844 and treats ~word as ordinary words in pipe mode.
2845
2846 2012-03-30 Glenn Morris <rgm@gnu.org>
2847
2848 * tutorial.el (help-with-tutorial): Ensure local variables don't
2849 happen to make the buffer read-only. (Bug#11127)
2850
2851 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2854 (perl-calculate-indent): Return `noindent' in strings.
2855
2856 2012-03-28 Sam Steingold <sds@gnu.org>
2857
2858 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2859 instead of the broken adhockery which does not prevent calendar
2860 buffers from being displayed at random after exit.
2861 (calendar-window-list, calendar-hide-window): Remove the broken
2862 adhockery.
2863
2864 2012-03-28 Glenn Morris <rgm@gnu.org>
2865
2866 * replace.el (query-replace-map): Doc fix.
2867
2868 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2869
2870 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2871 contents. (Bug#11109)
2872
2873 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2876 (bug#11077).
2877 (avl-tree--check, avl-tree--check-node): New funs.
2878
2879 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2880
2881 * window.el (switch-to-visible-buffer): New option.
2882 (switch-to-prev-buffer, switch-to-next-buffer):
2883 Observe switch-to-visible-buffer. Make sure that checking for a window
2884 showing a buffer already is done on the same frame.
2885
2886 2012-03-27 Glenn Morris <rgm@gnu.org>
2887
2888 * startup.el (mail-host-address): Doc fix.
2889
2890 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2893 than 197 variables.
2894
2895 2012-03-26 Ami Fischman <ami@fischman.org>
2896
2897 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2898
2899 2012-03-26 Glenn Morris <rgm@gnu.org>
2900
2901 * files.el (save-buffers-kill-emacs): Doc fix.
2902
2903 * startup.el (normal-top-level, command-line, command-line-1):
2904 Give them doc strings.
2905
2906 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2907
2908 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2909 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2910
2911 2012-03-25 Chong Yidong <cyd@gnu.org>
2912
2913 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2914 theme if it was previously enabled before (Bug#11031).
2915
2916 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2917 spec with custom-face-get-current-spec if its :shown-value is not
2918 determined yet (Bug#9337).
2919 (customize-create-theme, custom-theme-revert): Doc fixes.
2920
2921 * button.el (button-at): Minor addition to docstring.
2922
2923 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2924
2925 * vc/vc.el (vc-merge): Fix a prompt.
2926
2927 2012-03-24 Chong Yidong <cyd@gnu.org>
2928
2929 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2930 point (Bug#9623).
2931
2932 * button.el (button-at): Minor addition to docstring.
2933
2934 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * newcomment.el (comment-choose-indent): No space after BOL.
2937
2938 2012-03-22 Sam Steingold <sds@gnu.org>
2939
2940 * window.el (switch-to-prev-buffer): Revert last patch because the
2941 bug turned out to be an advertised feature (Elisp manual 28.14).
2942
2943 2012-03-22 Glenn Morris <rgm@gnu.org>
2944
2945 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2946 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2947
2948 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2949
2950 * net/network-stream.el (network-stream-open-starttls): Make error
2951 message under Windows be less misleading.
2952
2953 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2954
2955 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2956 understands (bug#9942).
2957
2958 2012-03-22 Chong Yidong <cyd@gnu.org>
2959
2960 * simple.el (end-of-visible-line): Handle return value of
2961 next-single-property-change properly (Bug#9371).
2962
2963 2012-03-22 Kenichi Handa <handa@m17n.org>
2964
2965 * international/quail.el (quail-insert-kbd-layout): Fix previous
2966 change. To avoid unwanted bidi reordering, use
2967 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2968
2969 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2970
2971 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2972 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2973 (ruby-beginning-of-indent): Be more careful with the difference
2974 between word-boundary and symbol boundary.
2975 (ruby-mode-syntax-table): Make : a symbol constituent.
2976
2977 2012-03-21 Andreas Politz <politza@fh-trier.de>
2978
2979 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2980
2981 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * progmodes/etags.el (tags-completion-at-point-function):
2984 Improve last fix.
2985
2986 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2987
2988 2012-03-21 Sam Steingold <sds@gnu.org>
2989
2990 * progmodes/etags.el (tags-completion-at-point-function):
2991 Avoid the error when point is inside the pattern.
2992
2993 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2994
2995 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2996 line (Bug#10855).
2997
2998 2012-03-21 Drew Adams <drew.adams@oracle.com>
2999
3000 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3001
3002 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3003
3004 * ido.el (ido-set-current-directory, ido-read-internal)
3005 (ido-choose-completion-string, ido-completion-help): Handle nil
3006 value of ido-completion-buffer (Bug#11008).
3007
3008 2012-03-21 Sam Steingold <sds@gnu.org>
3009
3010 * window.el (switch-to-prev-buffer): Do not switch to a visible
3011 window previous buffer, just like with the frame previous buffers.
3012
3013 2012-03-21 Chong Yidong <cyd@gnu.org>
3014
3015 * faces.el (make-face, make-empty-face, copy-face):
3016 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3017 Doc fixes.
3018
3019 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3022 (widget-complete): Remove broken use of it.
3023
3024 2012-03-20 Chong Yidong <cyd@gnu.org>
3025
3026 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3027 Use string-width and truncate-string-width to handle arbitrary
3028 characters.
3029
3030 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3031
3032 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3033 to draw rectangles, not squares. (Regression introduced by revno
3034 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3035
3036 2012-03-18 Chong Yidong <cyd@gnu.org>
3037
3038 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3039 it is not yet defined (for temacs).
3040
3041 2012-03-18 Leo Liu <sdl.web@gmail.com>
3042
3043 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3044
3045 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3046
3047 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3048 (ispell-choices-win-default-height, ispell-silently-savep)
3049 (ispell-dictionary-alist, ispell-encoding8-command)
3050 (ispell-check-version, ispell-aspell-find-dictionary)
3051 (ispell-valid-dictionary-list, ispell-words-keyword)
3052 (ispell-get-word, ispell-internal-change-dictionary)
3053 (ispell-region, ispell-skip-region-list)
3054 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3055 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3056 (ispell-message-text-end, ispell-message)
3057 (ispell-buffer-local-parsing): Doc fix.
3058
3059 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3060
3061 * htmlfontify.el: Add support for code block fontification for ODT
3062 export (Bug #9914).
3063 (hfy-optimisations): Define new option
3064 `body-text-only'
3065 (hfy-fontify-buffer): Honor above setting.
3066 (hfy-begin-span, hfy-end-span): New routines factored out form
3067 `hfy-fontify-buffer'.
3068 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3069 that permit insertion of custom tags.
3070 (hfy-fontify-buffer): Use above handlers.
3071 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3072 (hfy-face-to-css): Re-defined to be a variable.
3073 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3074 over multiple runs. This is made possible by having the caller let
3075 bind a special variable `hfy-user-sheet-assoc'.
3076 (htmlfontify-string): New defun.
3077 (hfy-compile-face-map): Make sure that the last char in the
3078 buffer is correctly fontified.
3079 (hfy-face-resolve-face): Whitespace only change.
3080
3081 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3082
3083 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3084 message more clear.
3085
3086 2012-03-16 Leo Liu <sdl.web@gmail.com>
3087
3088 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3089
3090 2012-03-16 Alan Mackenzie <acm@muc.de>
3091
3092 Further optimise the handling of large macros.
3093
3094 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3095 limit to a call of `c-literal-limits'.
3096 (c-determine-+ve-limit): New function.
3097 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3098 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3099 In CASE 5B, restrict a search limit to 500.
3100 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3101
3102 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3103 Restrict macro bounds to +-500 from after-change's BEG END.
3104
3105 2012-03-16 Leo Liu <sdl.web@gmail.com>
3106
3107 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3108
3109 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3110
3111 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3112 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3113
3114 2012-03-16 Glenn Morris <rgm@gnu.org>
3115
3116 * view.el (view-buffer, view-buffer-other-window)
3117 (view-buffer-other-frame): Doc fixes re special mode-class.
3118
3119 * subr.el (eval-after-load): If named feature is provided not from
3120 a file, run after-load forms. (Bug#10946)
3121
3122 * calendar/calendar.el (calendar-insert-at-column):
3123 Handle non-unit-width characters a bit better. (Bug#10978)
3124
3125 2012-03-15 Chong Yidong <cyd@gnu.org>
3126
3127 * emacs-lisp/ring.el (ring-extend): New function.
3128 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3129
3130 * comint.el (comint-read-input-ring)
3131 (comint-add-to-input-history): Grow comint-input-ring lazily.
3132
3133 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3136 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3137
3138 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3139 (imenu-add-to-menubar): Don't add a redundant index.
3140 (imenu-update-menubar): Handle a dynamically composed keymap.
3141
3142 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3143
3144 * mail/sendmail.el (mail-encode-header):
3145 Bind rfc2047-encode-encoded-words to nil.
3146
3147 2012-03-13 Glenn Morris <rgm@gnu.org>
3148
3149 * calendar/calendar.el (calendar-string-spread):
3150 Handle non-unit-width characters a bit better. (Bug#10978)
3151
3152 2012-03-13 Leo Liu <sdl.web@gmail.com>
3153
3154 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3155 directory and file as argument (Bug#10822).
3156
3157 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3158
3159 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3160 For dynamically generated code, follow $PC.
3161 (gdb-disassembly-handler-custom): Handle no function name case.
3162
3163 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3164
3165 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3166 * emulation/ws-mode.el (ws-query-replace):
3167 * sort.el (sort-regexp-fields):
3168 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3169
3170 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * dabbrev.el: Fix cycle completion order (bug#10963).
3173 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3174 (dabbrev-completion): Don't use an obarray; provide
3175 a cycle-sort-function.
3176
3177 2012-03-12 Leo Liu <sdl.web@gmail.com>
3178
3179 * simple.el (kill-new): Use equal-including-properties for comparison.
3180 (kill-do-not-save-duplicates): Doc fix.
3181
3182 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * dabbrev.el: Fix cycle completion (bug#10963).
3185 Use lexical binding and wrap to 80 columns.
3186 (dabbrev-completion): Delay computing the list of completions.
3187
3188 2012-03-12 Kenichi Handa <handa@m17n.org>
3189
3190 * international/quail.el (quail-insert-kbd-layout): Surround each
3191 row by LRO and PDF instead of inserting many LRMs. Pad the left
3192 and right of each non-spacing marks. Insert invisible space
3193 between lower and upper characters to prevent composition.
3194
3195 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * minibuffer.el (minibuffer-complete): Don't get confused when the
3198 function is run twice via different commands (bug#10958).
3199 (complete-with-action): Fix docstring.
3200
3201 2012-03-12 Chong Yidong <cyd@gnu.org>
3202
3203 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3204 (nxml-completion-at-point-function): New function.
3205 (nxml-mode): Use it.
3206 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3207
3208 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3209 Load generated autoloads file before byte compiling (Bug#10970).
3210 (package--make-autoloads-and-compile): New helper fun.
3211
3212 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3213
3214 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3215
3216 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * autorevert.el (auto-revert-handler): Ensure, that
3219 file-readable-p is applied only for local files or in
3220 auto-revert-tail-mode.
3221
3222 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3223
3224 * server.el (server-eval-at): Handle non-tcp connections.
3225 Decode result string.
3226
3227 * server.el (server-msg-size): New constant.
3228 (server-reply-print): New function.
3229 (server-eval-and-print): Use it.
3230 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3231 Handle -print-nonl.
3232
3233 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3234
3235 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3236 (Bug#10987).
3237
3238 2012-03-11 Chong Yidong <cyd@gnu.org>
3239
3240 * simple.el (goto-line): Doc fix (Bug#9938).
3241
3242 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3243
3244 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3245 when finished (Bug#10963).
3246
3247 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3248
3249 * window.el (split-window-below): Fix bug in case where
3250 split-window-keep-point is nil (Bug#10971).
3251
3252 2012-03-11 Juri Linkov <juri@jurta.org>
3253
3254 * replace.el (replace-highlight): Set isearch-word to nil
3255 unconditionally. (Bug#10887)
3256
3257 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3258
3259 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3260 mairix-replace-illegal-chars; all callers changed. Don't remove
3261 ^, ~, and = characters: they are meaningful in mairix search specs.
3262 (mairix-widget-create-query): Add usage information about mairix
3263 search forms: negating words, searching for substrings, etc.
3264
3265 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3266
3267 * international/fontset.el (font-encoding-alist): Add an entry for
3268 ksx1001 (Bug#5667).
3269
3270 2012-03-10 Richard Stallman <rms@gnu.org>
3271
3272 * mail/sendmail.el (mail-encode-header):
3273 Set rfc2047-encode-encoded-words.
3274
3275 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3276
3277 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3278 view buffer means not swapped.
3279 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3280 (rmail-write-region-annotate): Error if real text has disappeared.
3281
3282 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3283
3284 2012-03-10 Chong Yidong <cyd@gnu.org>
3285
3286 * emulation/cua-rect.el (cua--init-rectangles):
3287 * emulation/cua-base.el (cua--init-keymaps):
3288 Add delete-forward-char to remappings (Bug#9666).
3289
3290 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3291
3292 * speedbar.el (speedbar-unhighlight-one-tag-line):
3293 Avoid unhighlighting due to frame switching (Bug#10275).
3294
3295 2012-03-10 Chong Yidong <cyd@gnu.org>
3296
3297 * minibuffer.el (completion-in-region, completion-help-at-point):
3298 Give the completion field overlay a high priority (Bug#6830).
3299
3300 * dired.el (dired-goto-file): Recognize absolute file name
3301 listings (Bug#7126).
3302 (dired-goto-file-1): New helper function.
3303 (dired-toggle-read-only): Inhibit warnings.
3304
3305 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/dbus.el (dbus-property-handler): Return empty array if
3308 there are no properties.
3309
3310 2012-03-09 Leo Liu <sdl.web@gmail.com>
3311
3312 * savehist.el (savehist-printable): Stricter check for string
3313 value (Bug#10937).
3314
3315 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3316
3317 * mail/smtpmail.el (smtpmail-send-it):
3318 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3319 valid mbox format.
3320
3321 2012-03-09 Glenn Morris <rgm@gnu.org>
3322
3323 * files.el (dir-locals-find-file):
3324 Don't check result is regular, readable.
3325 (dir-locals-read-from-file): Demote errors.
3326
3327 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3328
3329 * international/quail.el (quail-insert-kbd-layout):
3330 Insert invisible LRM characters before each character in a keyboard
3331 layout cell, to prevent their reordering by bidi display engine.
3332 For details, see the discussion in
3333 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3334
3335 2012-03-08 Alan Mackenzie <acm@muc.de>
3336
3337 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3338 the starting position; make it extend the marked region when
3339 invoked repeatedly - all under appropriate circumstances.
3340 Fixes bugs #5525, #10906.
3341
3342 2012-03-08 Glenn Morris <rgm@gnu.org>
3343
3344 * files.el (locate-dominating-file, dir-locals-find-file):
3345 Undo 2012-03-06 change.
3346
3347 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3348
3349 * international/quail.el (quail-help):
3350 Force bidi-paragraph-direction be left-to-right. See discussion in
3351 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3352 for the reason.
3353
3354 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3355
3356 Avoid superfluous registering of signals. (Bug#10807)
3357
3358 * notifications.el (notifications-on-action-object)
3359 (notifications-on-close-object): New defvars.
3360 (notifications-on-action-signal, notifications-on-closed-signal):
3361 Unregister the signal if not needed any longer.
3362 (notifications-notify): Register `notifications-action-signal' or
3363 `notifications-closed-signal', if :on-action or :on-close has been
3364 passed as argument.
3365
3366 2012-03-07 Chong Yidong <cyd@gnu.org>
3367
3368 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3369 non-X platforms.
3370
3371 2012-03-06 Glenn Morris <rgm@gnu.org>
3372
3373 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3374 (x-disown-selection-internal, x-get-selection-internal):
3375 Doc fix (add arglist signatures). (Bug#10783)
3376
3377 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3378
3379 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3380 Handle breakpoints with no "type".
3381
3382 2012-03-06 Glenn Morris <rgm@gnu.org>
3383
3384 * files.el (locate-dominating-file): Add optional predicate argument.
3385 (dir-locals-find-file): Make use of above change.
3386
3387 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3388
3389 * info.el (Info-insert-dir): Also try "dir.gz".
3390
3391 2012-03-06 Glenn Morris <rgm@gnu.org>
3392
3393 * files.el (dir-locals-find-file):
3394 Ignore non-readable or non-regular files. (Bug#10928)
3395
3396 * files.el (locate-dominating-file): Doc fix.
3397
3398 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3399
3400 * calendar/calendar.el (calendar-set-mode-line):
3401 `getenv' returns a string. (Bug#10951)
3402
3403 2012-03-05 Leo Liu <sdl.web@gmail.com>
3404
3405 * simple.el (backward-delete-char-untabify): Constrain point to
3406 field (Bug#10939).
3407
3408 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3409
3410 2012-03-05 Chong Yidong <cyd@gnu.org>
3411
3412 * simple.el (count-words): If called from Lisp, return the word
3413 count, for symmetry with `count-lines'. Arglist changed.
3414 (count-words--message): Args changed. Consolidate counting code
3415 from count-words and count-words-region.
3416 (count-words-region): Caller changed.
3417 (count-lines-region): Make it an obsolete alias.
3418
3419 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3420
3421 * saveplace.el (save-place-to-alist)
3422 (save-place-ignore-files-regexp): Allow value nil to disable this
3423 feature.
3424
3425 2012-03-04 Chong Yidong <cyd@gnu.org>
3426
3427 * faces.el (face-spec-reset-face): For the default face, reset the
3428 attributes to default values (Bug#10748).
3429
3430 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3431
3432 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3433 previous patch: Check `message-send-mail-function', and not the
3434 default function (bug#10897).
3435
3436 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3437
3438 * notifications.el (notifications-on-action-signal)
3439 (notifications-on-closed-signal): Check for unique service name of
3440 incoming event. Fix error in removing entry.
3441 (top): Register for signals with wildcard service name.
3442 (notifications-notify): Use daemon unique service name for map entries.
3443
3444 2012-03-04 Chong Yidong <cyd@gnu.org>
3445
3446 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3447
3448 2012-03-04 Glenn Morris <rgm@gnu.org>
3449
3450 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3451 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3452 (expand-abbrev, define-abbrev-table): Doc fixes.
3453
3454 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3455
3456 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3457 `message-default-send-mail-function' and not `send-mail-function'
3458 when doing the prompting for `sendmail-query-once' before sending
3459 in Message buffers (bug#10897).
3460
3461 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3462 This is inconsistent with all the other stream functions, which leave
3463 the setting up to the higher levels (if so wanted) (bug#10931).
3464
3465 2012-03-02 Alan Mackenzie <acm@muc.de>
3466
3467 Depessimize the handling of very large macros.
3468
3469 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3470 (c-macro-cache-syntactic): New variables to implement a one
3471 element macro cache.
3472 (c-invalidate-macro-cache): New function.
3473 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3474 Adapt to use the new cache.
3475 (c-state-safe-place): Use better the cache of safe positions.
3476 (c-state-semi-nonlit-pos-cache)
3477 (c-state-semi-nonlit-pos-cache-limit):
3478 New variables for...
3479 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3480 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3481 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3482 Use c-state-semi-safe-place.
3483
3484 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3485 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3486
3487 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3488
3489 * jka-compr.el (jka-compr-call-process):
3490 Apply `file-accessible-directory-p' only when the default directory is
3491 not remote.
3492
3493 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3496 access of FILE2, if FILE1 does not exist.
3497
3498 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3499 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3500
3501 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3502 Add "PAGER=" to `process-environment'.
3503
3504 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3505
3506 * progmodes/sql.el: Bug fix
3507 (sql-get-login-ext): Save login values in globals.
3508 (sql-get-login): Use new version of `sql-get-login-ext'.
3509 (sql-interactive-mode): Set global `sql-connection' to nil.
3510 (sql-connect): Set global values for connection.
3511 (sql-product-interactive): Save global values as buffer local.
3512
3513 2012-02-29 Leo Liu <sdl.web@gmail.com>
3514
3515 * abbrev.el (define-abbrevs): Reset sys to nil.
3516
3517 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3518
3519 * files.el (file-equal-p): Rename from `files-equal-p'.
3520 Return nil when one or both files don't exist.
3521 (file-subdir-of-p): Now only top directory must exists,
3522 return nil if it doesn't.
3523 (copy-directory): No need to test with `file-subdir-of-p' after
3524 creating dir.
3525 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3526 to `file-equal-p'.
3527
3528 2012-02-28 Glenn Morris <rgm@gnu.org>
3529
3530 * shell.el (shell-mode):
3531 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3532 * play/landmark.el (landmark-font-lock-face-O):
3533 * play/handwrite.el (handwrite):
3534 * play/gomoku.el (gomoku-O):
3535 * net/browse-url.el (browse-url-browser-display):
3536 * international/mule.el (define-charset):
3537 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3538 * filesets.el (filesets-find-file-delay):
3539 * eshell/em-xtra.el (eshell-xtra):
3540 * eshell/em-unix.el (eshell-grep):
3541 * emulation/viper.el (viper-mode):
3542 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3543 * emacs-lisp/easymenu.el (easy-menu-define):
3544 * calendar/timeclock.el (timeclock-use-display-time):
3545 * bs.el (bs-mode):
3546 * bookmark.el (bookmark-save-flag):
3547 Doc fix (standardize possessive apostrophe usage).
3548
3549 2012-02-27 Chong Yidong <cyd@gnu.org>
3550
3551 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3552 Fix key-binding lookup for ESC key (Bug#9146).
3553
3554 * font-lock.el (font-lock-specified-p): Rename from
3555 font-lock-spec-present. Callers changed.
3556
3557 2012-02-27 Daniel Hackney <dan@haxney.org>
3558
3559 * emacs-lisp/package.el (package-compute-transaction):
3560 Handle holding a package version to t in package-load-list.
3561
3562 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3565 (tramp-get-inode, tramp-get-device): Use cached values.
3566
3567 2012-02-26 Alan Mackenzie <acm@muc.de>
3568
3569 Check there is a font-lock specification before doing initial
3570 fontification.
3571
3572 * font-core.el (font-lock-mode): Move the conditional from
3573 :after-hook to font-lock-initial-fontify.
3574 (font-lock-default-function): Move the check for a specification
3575 to font-lock-spec-present.
3576
3577 * font-lock.el (font-lock-initial-fontify): Call ...
3578 (font-lock-spec-present): New function.
3579
3580 2012-02-26 Jim Blandy <jimb@red-bean.com>
3581
3582 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3583 (gdb-send): Apply it to the operand of the '-interpreter-exec
3584 console' command, so that we can pass arguments with (say) quotes
3585 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3586
3587 2012-02-26 Chong Yidong <cyd@gnu.org>
3588
3589 * help-fns.el (describe-function-1): Clarify description of
3590 remapping (Bug#10844).
3591
3592 * files.el (files-equal-p): Doc fix.
3593 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3594 and quit the loop once a mismatch is found.
3595
3596 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * bs.el (bs--show-with-configuration): Don't throw an error
3599 if the window cannot be split; otherwise, subsequent calls to
3600 bs-show fail, restoring a stale window config. (Bug#10882)
3601
3602 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3603
3604 * term/ns-win.el (global-map): Bind ns-drag-file to
3605 ns-find-file (Bug#5855, Bug#10050).
3606
3607 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3608
3609 * calendar/parse-time.el (parse-time-string): Allow extractor to
3610 return nil.
3611
3612 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3613
3614 * net/tramp.el (tramp-file-name-for-operation):
3615 Add `files-equal-p' and `file-subdir-of-p'.
3616
3617 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3618 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3619 Add COPY-CONTENTS argument.
3620
3621 2012-02-25 Chong Yidong <cyd@gnu.org>
3622
3623 Add custom groups for VC backends, for consistency with vc-bzr.
3624
3625 * vc/vc-arch.el (vc-arch):
3626 * vc/vc-cvs.el (vc-cvs):
3627 * vc/vc-git.el (vc-git):
3628 * vc/vc-hg.el (vc-hg):
3629 * vc/vc-mtn.el (vc-mtn):
3630 * vc/vc-rcs.el (vc-rcs):
3631 * vc/vc-sccs.el (vc-sccs):
3632 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3633 All relevant defcustoms reassigned.
3634
3635 2012-02-25 Chong Yidong <cyd@gnu.org>
3636
3637 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3638
3639 * term/x-win.el (x-initialize-window-system): Reduce default for
3640 x-selection-timeout to 5 seconds (Bug#8869).
3641
3642 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3643
3644 * files.el (files-equal-p, file-subdir-of-p): New functions.
3645 (copy-directory): Error when trying to copy a directory on itself.
3646 Add missing copy-contents arg to tramp handler.
3647 * dired-aux.el (dired-copy-file-recursive): Same.
3648 (dired-create-files): Modify destination when source is equal to
3649 dest when copying files.
3650 Return also when dest is a subdir of source. (Bug#10489)
3651
3652 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3655 (Bug#10874)
3656
3657 2012-02-23 Alan Mackenzie <acm@muc.de>
3658
3659 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3660 parameter "after-hook:" to allow the expansion to run code after
3661 the execution of the mode hooks.
3662
3663 * font-lock.el (font-lock-initial-fontify): New function extracted
3664 from font-lock-mode-internal.
3665
3666 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3667 :after-hook.
3668
3669 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3672 (completion--cache-all-sorted-completions): New function.
3673 (completion-all-sorted-completions): Use it.
3674 (completion--do-completion, minibuffer-force-complete):
3675 Use it to re-instate the flush hook.
3676
3677 * icomplete.el (icomplete-completions): Replace last fix with a better
3678 one (bug#10850).
3679
3680 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3683 when it might call us back infinitely (bug#10797).
3684
3685 2012-02-23 Glenn Morris <rgm@gnu.org>
3686
3687 * minibuffer.el (completion-category-overrides): Doc fix.
3688
3689 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3692 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3693
3694 2012-02-23 Glenn Morris <rgm@gnu.org>
3695
3696 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3697 (authors-obsolete-files-regexps, authors-ignored-files)
3698 (authors-ambiguous-files, authors-renamed-files-alist):
3699 Add more entries.
3700
3701 2012-02-23 Juri Linkov <juri@jurta.org>
3702
3703 * isearch.el (isearch-occur): Sync interactive spec with occur's
3704 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3705
3706 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3707
3708 2012-02-22 Juri Linkov <juri@jurta.org>
3709
3710 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3711 (ucs-insert): Doc fix. Check for hex digits in the string.
3712 Don't display `nil' in the error message. (Bug#10857)
3713
3714 2012-02-22 Alan Mackenzie <acm@muc.de>
3715
3716 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3717
3718 2012-02-22 Glenn Morris <rgm@gnu.org>
3719
3720 * ffap.el (ffap-c-path):
3721 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3722
3723 2012-02-22 Chong Yidong <cyd@gnu.org>
3724
3725 * custom.el (load-theme): Doc fix.
3726
3727 2012-02-22 Glenn Morris <rgm@gnu.org>
3728
3729 * dired-x.el (dired-guess-shell-alist-default):
3730 Remove escape sequences from nroff output. (Bug#172)
3731
3732 2012-02-21 Glenn Morris <rgm@gnu.org>
3733
3734 * vc/emerge.el (emerge-defvar-local):
3735 Set `permanent-local' property rather than unused `preserved'.
3736
3737 * textmodes/picture.el (picture-delete-char): New alias.
3738 (picture-mode-map): Use it. (Bug#10860)
3739 (picture-mode): Doc fix.
3740
3741 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3742
3743 * newcomment.el (uncomment-region-default): Remove unused binding.
3744
3745 2012-02-21 Glenn Morris <rgm@gnu.org>
3746
3747 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3748 (picture-self-insert, picture-tab-chars): Doc fix.
3749 (picture-mode-map): Fix C-a, C-e.
3750
3751 2012-02-20 Glenn Morris <rgm@gnu.org>
3752
3753 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3754
3755 2012-02-20 Leo Liu <sdl.web@gmail.com>
3756
3757 * icomplete.el (icomplete-completions): Check FROM arg before
3758 passing to substring (Bug#10850).
3759
3760 2012-02-19 Chong Yidong <cyd@gnu.org>
3761
3762 * comint.el: Require ansi-color.
3763 (comint-output-filter-functions): Add ansi-color-process-output.
3764
3765 * ansi-color.el: Don't set comint-output-filter-functions; it is
3766 now in the initial value defined in comint.el.
3767 (ansi-color-apply-face-function): New variable.
3768 (ansi-color-apply-on-region): Use it.
3769 (ansi-color-apply-overlay-face): New function.
3770
3771 * shell.el (shell): No need to require ansi-color.
3772 (shell-mode): Use ansi-color-apply-face-function to highlight
3773 color escapes using font-lock-face property (Bug#10835).
3774
3775 2012-02-19 Chong Yidong <cyd@gnu.org>
3776
3777 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3778 mode-line formats (Bug#10839).
3779
3780 2012-02-18 Glenn Morris <rgm@gnu.org>
3781
3782 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3783
3784 * mail/undigest.el (unforward-rmail-message): Doc fix.
3785
3786 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3787
3788 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3789
3790 * international/characters.el (script-list): Sync with the latest
3791 Unicode Character Database.
3792
3793 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3794
3795 * international/titdic-cnv.el: Remove duplicate coding tag.
3796 * language/cham.el: Likewise.
3797 * language/tai-viet.el: Likewise.
3798
3799 2012-02-18 Glenn Morris <rgm@gnu.org>
3800
3801 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3802 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3803 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3804 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3805 * calendar/holidays.el (holiday-bahai-holidays)
3806 (calendar-holidays, list-holidays):
3807 Use utf-8 Bahá'í in doc-strings, menus, etc.
3808
3809 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3810
3811 * saveplace.el (save-place-ignore-files-regexp): New variable
3812 allowing for excluding files from saving their location of point.
3813 The default value matches the temporary commit message editing
3814 files from Git, SVN, Bazaar, and Mercurial.
3815 (save-place-to-alist): Use it.
3816
3817 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3818 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * newcomment.el (uncomment-region-default): Don't leave extra space
3821 when an arg is provided (bug#8150).
3822
3823 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3824
3825 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3826
3827 2012-02-17 Glenn Morris <rgm@gnu.org>
3828
3829 * net/socks.el: Require network-stream. (Bug#10599)
3830
3831 2012-02-17 Kenichi Handa <handa@m17n.org>
3832
3833 * international/charprop.el:
3834 * international/uni-name.el:
3835 * international/uni-old-name.el:
3836 * international/uni-comment.el: Regenerate.
3837
3838 2012-02-16 Glenn Morris <rgm@gnu.org>
3839
3840 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3841 Interactively in calendar buffer, give an error if not on a date.
3842
3843 2012-02-15 Glenn Morris <rgm@gnu.org>
3844
3845 * shell.el (shell-delimiter-argument-list):
3846 Revert 2011-02-17 change. (Bug#8027)
3847
3848 2012-02-15 Chong Yidong <cyd@gnu.org>
3849
3850 * minibuffer.el (completion-at-point-functions): Doc fix.
3851
3852 * custom.el (defcustom): Doc fix; note use of defvar.
3853
3854 2012-02-15 Glenn Morris <rgm@gnu.org>
3855
3856 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3857 Doc fixes.
3858
3859 2012-02-14 Glenn Morris <rgm@gnu.org>
3860
3861 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3862
3863 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3864
3865 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3866 way the ports list is computed.
3867 (smtpmail-query-smtp-server): Prompt the user for a port number if
3868 we can't connect to any of the standard ports (bug#10810).
3869
3870 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3871
3872 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3873
3874 2012-02-13 Glenn Morris <rgm@gnu.org>
3875
3876 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3877
3878 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3879
3880 * net/gnutls.el (gnutls-trustfiles): New variable.
3881 (gnutls-negotiate): Use it.
3882
3883 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3884
3885 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3886 does its stuff if Gnus is running.
3887
3888 2012-02-13 Alan Mackenzie <acm@muc.de>
3889
3890 Fix a loop in c-set-fl-decl-start.
3891
3892 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3893 c-backward-syntactic-ws actually moves backwards.
3894
3895 2012-02-13 Leo Liu <sdl.web@gmail.com>
3896
3897 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3898 beginning so that all \C-o chars are removed.
3899
3900 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3901
3902 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3903
3904 2012-02-12 Alan Mackenzie <acm@muc.de>
3905
3906 Fix infinite loop with long macros.
3907 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3908
3909 2012-02-12 Chong Yidong <cyd@gnu.org>
3910
3911 * window.el (display-buffer): Doc fix (Bug#10785).
3912
3913 2012-02-12 Glenn Morris <rgm@gnu.org>
3914
3915 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3916 (x-disown-selection-internal, x-get-selection-internal):
3917 Sync docs with the xselect.c versions.
3918
3919 * allout-widgets.el: Add missing license notice.
3920
3921 2012-02-11 Glenn Morris <rgm@gnu.org>
3922
3923 * select.el (x-get-selection-internal, x-own-selection-internal)
3924 (x-disown-selection-internal):
3925 * x-dnd.el (x-get-selection-internal): Update declarations.
3926
3927 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3928
3929 * window.el (window-sides-slots):
3930 * tool-bar.el (tool-bar-position):
3931 * term/xterm.el (xterm-extra-capabilities):
3932 * ses.el (ses-self-reference-early-detection):
3933 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3934 (verilog-auto-wire-type)
3935 (verilog-auto-delete-trailing-whitespace)
3936 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3937 (verilog-auto-tieoff-declaration):
3938 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3939 (sql-oracle-statement-starters, sql-oracle-scan-on):
3940 * progmodes/prolog.el (prolog-align-comments-flag)
3941 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3942 (prolog-left-indent-regexp, prolog-paren-indent-p)
3943 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3944 (prolog-types, prolog-mode-specificators)
3945 (prolog-determinism-specificators, prolog-directives)
3946 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3947 (prolog-electric-dot-flag)
3948 (prolog-electric-dot-full-predicate-template)
3949 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3950 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3951 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3952 (prolog-program-switches, prolog-prompt-regexp)
3953 (prolog-debug-on-string, prolog-debug-off-string)
3954 (prolog-trace-on-string, prolog-trace-off-string)
3955 (prolog-zip-on-string, prolog-zip-off-string)
3956 (prolog-use-standard-consult-compile-method-flag)
3957 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3958 (prolog-imenu-max-lines, prolog-info-predicate-index)
3959 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3960 (prolog-char-quote-workaround):
3961 * progmodes/cc-vars.el (c-defun-tactic):
3962 * net/tramp.el (tramp-encoding-command-interactive)
3963 (tramp-local-end-of-line):
3964 * net/soap-client.el (soap-client):
3965 * net/netrc.el (netrc-file):
3966 * net/gnutls.el (gnutls):
3967 * minibuffer.el (completion-category-overrides)
3968 (completion-cycle-threshold)
3969 (completion-pcm-complete-word-inserts-delimiters):
3970 * man.el (Man-name-local-regexp):
3971 * mail/feedmail.el (feedmail-display-full-frame):
3972 * international/characters.el (glyphless-char-display-control):
3973 * eshell/em-ls.el (eshell-ls-date-format):
3974 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3975 (lisp-lambda-list-keyword-parameter-indentation)
3976 (lisp-lambda-list-keyword-parameter-alignment):
3977 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3978 * dired-x.el (dired-omit-verbose):
3979 * cus-theme.el (custom-theme-allow-multiple-selections):
3980 * calc/calc.el (calc-highlight-selections-with-faces)
3981 (calc-lu-field-reference, calc-lu-power-reference)
3982 (calc-note-threshold):
3983 * battery.el (battery-mode-line-limit):
3984 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3985 (archive-7z-update):
3986 * allout.el (allout-prefixed-keybindings)
3987 (allout-unprefixed-keybindings)
3988 (allout-inhibit-auto-fill-on-headline)
3989 (allout-flattened-numbering-abbreviation):
3990 * allout-widgets.el (allout-widgets-auto-activation)
3991 (allout-widgets-icons-dark-subdir)
3992 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3993 (allout-widgets-theme-dark-background)
3994 (allout-widgets-theme-light-background)
3995 (allout-widgets-item-image-properties-emacs)
3996 (allout-widgets-item-image-properties-xemacs)
3997 (allout-widgets-run-unit-tests-on-load)
3998 (allout-widgets-time-decoration-activity)
3999 (allout-widgets-hook-error-post-time)
4000 (allout-widgets-track-decoration):
4001 Add missing :version tags to new defcustoms and defgroups.
4002
4003 * progmodes/sql.el (sql-ansi-statement-starters)
4004 (sql-oracle-statement-starters): Add custom type.
4005
4006 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4007 (prolog-system-version): Give it a type.
4008
4009 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4010
4011 * term/pc-win.el (x-select-text, x-selection-owner-p)
4012 (x-own-selection-internal, x-disown-selection-internal)
4013 (x-get-selection-internal): Sync doc strings and argument lists
4014 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4015
4016 2012-02-11 Leo Liu <sdl.web@gmail.com>
4017
4018 * progmodes/python.el (python-end-of-statement): Fix infinite
4019 loop. (Bug#10788)
4020
4021 2012-02-10 Glenn Morris <rgm@gnu.org>
4022
4023 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4024 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4025
4026 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4027
4028 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4029 about SMTP before checking the From header.
4030
4031 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4032 into own function for reuse by emacsbug.el.
4033
4034 2012-02-10 Leo Liu <sdl.web@gmail.com>
4035
4036 * subr.el (condition-case-unless-debug): Rename from
4037 condition-case-no-debug. All callers changed.
4038 (with-demoted-errors): Fix caller.
4039
4040 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4041 * nxml/rng-valid.el (rng-do-some-validation):
4042 * emacs-lisp/package.el (package-refresh-contents)
4043 (package-menu-execute):
4044 * desktop.el (desktop-create-buffer):
4045 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4046
4047 2012-02-10 Glenn Morris <rgm@gnu.org>
4048
4049 * textmodes/bibtex.el:
4050 Add missing :version tags for new/changed defcustoms.
4051
4052 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4053
4054 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4055
4056 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4057 (smtpmail-via-smtp): Use it, or fall back on the From address.
4058 (smtpmail-send-it): Ditto.
4059
4060 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4063 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4064 (byte-compile-tmp-var): New const.
4065 (byte-compile-defvar): Use it to minimize .elc size.
4066 Just use `defvar' rather than simulate it (bug#10761).
4067
4068 2012-02-09 Glenn Morris <rgm@gnu.org>
4069
4070 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4071
4072 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4073 Add :version tags.
4074
4075 * progmodes/compile.el (compilation-error-screen-columns)
4076 (compilation-first-column, compilation-filter-start): Doc fixes.
4077
4078 * vc/log-view.el (log-view-toggle-entry-display):
4079 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4080
4081 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4082 (report-emacs-bug-can-use-xdg-email):
4083 (report-emacs-bug-insert-to-mailer): Doc fixes.
4084 (report-emacs-bug): Message fix.
4085
4086 * net/browse-url.el (browse-url-can-use-xdg-open)
4087 (browse-url-xdg-open): Doc fixes.
4088
4089 * electric.el (electric-indent-mode, electric-pair-mode)
4090 (electric-layout-rules, electric-layout-mode): Doc fixes.
4091 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4092
4093 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4094
4095 * server.el (server-unselect-display): Don't inadvertently kill
4096 the current buffer. (Bug#10729)
4097
4098 2012-02-08 Glenn Morris <rgm@gnu.org>
4099
4100 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4101 (sql-list-table): Doc fixes.
4102
4103 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4104 Comment out (does nothing).
4105
4106 * completion.el (dynamic-completion-mode):
4107 * dirtrack.el (dirtrack-debug-mode):
4108 * electric.el (electric-layout-mode):
4109 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4110 * face-remap.el (text-scale-mode, buffer-face-mode):
4111 * iimage.el (iimage-mode):
4112 * image-mode.el (image-transform-mode):
4113 * minibuffer.el (completion-in-region-mode):
4114 * scroll-lock.el (scroll-lock-mode):
4115 * simple.el (next-error-follow-minor-mode):
4116 * tar-mode.el (tar-subfile-mode):
4117 * tooltip.el (tooltip-mode):
4118 * vcursor.el (vcursor-use-vcursor-map):
4119 * wid-browse.el (widget-minor-mode):
4120 * emulation/tpu-edt.el (tpu-edt-mode):
4121 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4122 * international/iso-ascii.el (iso-ascii-mode):
4123 * language/thai-util.el (thai-word-mode):
4124 * mail/supercite.el (sc-minor-mode):
4125 * net/goto-addr.el (goto-address-mode):
4126 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4127 * progmodes/cwarn.el (cwarn-mode):
4128 * progmodes/flymake.el (flymake-mode):
4129 * progmodes/glasses.el (glasses-mode):
4130 * progmodes/hideshow.el (hs-minor-mode):
4131 * progmodes/pascal.el (pascal-outline-mode):
4132 * textmodes/enriched.el (enriched-mode):
4133 * vc/smerge-mode.el (smerge-mode):
4134 Doc fixes (minor mode argument).
4135
4136 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4137
4138 * ls-lisp.el (ls-lisp-sanitize): New function.
4139 (ls-lisp-insert-directory): Use it to fix or remove any elements
4140 in file-alist with missing attributes. (Bug#4673)
4141
4142 2012-02-07 Alan Mackenzie <acm@muc.de>
4143
4144 Fix spurious recognition of c-in-knr-argdecl.
4145
4146 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4147 putative K&R region.
4148
4149 2012-02-07 Alan Mackenzie <acm@muc.de>
4150
4151 * progmodes/cc-engine.el (c-forward-objc-directive):
4152 Prevent looping in "#pragma mark @implementation".
4153
4154 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4155
4156 * notifications.el (notifications-on-closed-signal): Make `reason'
4157 optional. (Bug#10744)
4158
4159 2012-02-07 Glenn Morris <rgm@gnu.org>
4160
4161 * emacs-lisp/easy-mmode.el (define-minor-mode):
4162 Doc fixes for the macro and the mode it defines.
4163
4164 * image.el (imagemagick-types-inhibit): Doc fix.
4165
4166 * cus-start.el (imagemagick-render-type): Add it.
4167
4168 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4169
4170 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4171 Set the default at load time, too, so that `font-lock-fontify-buffer'
4172 can be called without setting up the entire mode first. This fixes
4173 a bug in `mm-inline-text' with C MIME parts.
4174
4175 2012-02-06 Chong Yidong <cyd@gnu.org>
4176
4177 * simple.el (list-processes--refresh): Delete exited processes
4178 (Bug#8094).
4179
4180 * comint.el (comint-next-prompt): next-single-char-property-change
4181 and prev-single-char-property-change never return nil (Bug#8657).
4182
4183 * custom.el (defcustom): Doc fix (Bug#9711).
4184
4185 2012-02-05 Chong Yidong <cyd@gnu.org>
4186
4187 * cus-edit.el (custom-variable-reset-backup): Quote the value
4188 before storing it in the customized-value property (Bug#6712).
4189 (custom-display): Add a customization type tag.
4190 (custom-buffer-create-internal): Improve tooltip message.
4191
4192 * wid-edit.el (widget-field-value-get): New optional arg to
4193 suppress trailing whitespace truncation.
4194 (character): Use it (Bug#2689).
4195
4196 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4199 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4200
4201 2012-02-05 Chong Yidong <cyd@gnu.org>
4202
4203 * cus-edit.el (custom-variable-value-create): For mismatched
4204 types, show the current value (Bug#7600).
4205
4206 * custom.el (defcustom): Doc fix.
4207
4208 2012-02-05 Glenn Morris <rgm@gnu.org>
4209
4210 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4211
4212 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4213
4214 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4215 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4216 (pp-last-sexp): Use `looking-at-p'.
4217
4218 2012-02-04 Glenn Morris <rgm@gnu.org>
4219
4220 * files.el (revert-buffer):
4221 Doc fix (mention revert-buffer-in-progress-p).
4222
4223 * emacs-lisp/ert-x.el (ert-simulate-command):
4224 Check deferred-action-list (which is obsolete) is bound.
4225
4226 * subr.el (with-wrapper-hook): Doc fixes.
4227
4228 * simple.el (filter-buffer-substring-functions)
4229 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4230
4231 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4232
4233 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4234 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4235
4236 2012-02-04 Leo Liu <sdl.web@gmail.com>
4237
4238 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4239
4240 2012-02-04 Glenn Morris <rgm@gnu.org>
4241
4242 * image.el (image-extension-data): Add obsolete alias.
4243
4244 * isearch.el (isearch-update): Doc fix.
4245
4246 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4247
4248 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4249
4250 2012-02-03 Glenn Morris <rgm@gnu.org>
4251
4252 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4253 (image-animate-timeout): Doc fix.
4254
4255 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4256
4257 2012-02-02 Glenn Morris <rgm@gnu.org>
4258
4259 * server.el (server-auth-dir): Doc fix.
4260 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4261
4262 * subr.el (run-mode-hooks): Doc fix.
4263
4264 2012-02-02 Juri Linkov <juri@jurta.org>
4265
4266 * image-mode.el (image-toggle-display-image): Remove tautological
4267 `major-mode' from the `derived-mode-p' test.
4268
4269 2012-02-02 Kenichi Handa <handa@m17n.org>
4270
4271 * composite.el (compose-region): Cancel previous change.
4272
4273 2012-02-02 Kenichi Handa <handa@m17n.org>
4274
4275 * composite.el (compose-region, compose-string): Signal error for
4276 a null string component (Bug#6988).
4277
4278 2012-02-01 Chong Yidong <cyd@gnu.org>
4279
4280 * view.el (view-buffer-other-window, view-buffer-other-frame):
4281 Handle special modes like view-buffer (Bug#10650).
4282 (view-buffer): Simplify.
4283
4284 * frame.el (set-frame-font): Tweak meaning of third argument.
4285
4286 * dynamic-setting.el (font-setting-change-default-font):
4287 Use set-frame-font (Bug#9982).
4288
4289 2012-02-01 Glenn Morris <rgm@gnu.org>
4290
4291 * progmodes/compile.el (compilation-internal-error-properties):
4292 Respect compilation-first-column in the "*compilation*" buffer.
4293
4294 * emacs-lisp/easy-mmode.el (define-minor-mode):
4295 Relax :variable's test for a named function.
4296
4297 2012-01-31 Alan Mackenzie <acm@muc.de>
4298
4299 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4300 off by one error.
4301
4302 2012-01-31 Chong Yidong <cyd@gnu.org>
4303
4304 * frame.el (set-frame-font): New arg ALL-FRAMES.
4305
4306 * menu-bar.el (menu-set-font): Use set-frame-font.
4307
4308 * faces.el (face-spec-reset-face): Don't apply unspecified
4309 attribute values to the default face.
4310
4311 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4312
4313 * progmodes/cwarn.el (cwarn): Remove dead link.
4314 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4315 Remove * from defcustom docstrings.
4316 (turn-on-cwarn-mode): Make obsolete.
4317 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4318 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4319
4320 2012-01-31 Glenn Morris <rgm@gnu.org>
4321
4322 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4323 Fix :variable handling of mode a symbol not equal to modefun.
4324 Allow named functions to be used as the cdr of :variable.
4325
4326 2012-01-30 Glenn Morris <rgm@gnu.org>
4327
4328 * emacs-lisp/authors.el (authors-fixed-entries):
4329 Remove reference to deleted file rnewspost.el.
4330
4331 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4332
4333 * window.el (window-with-parameter): Remove unused variable `windows'.
4334 (window--side-check): Remove unused variable `code'.
4335 (window--resize-siblings): Remove unused variable `first'.
4336 (adjust-window-trailing-edge): Remove unused variable `failed'.
4337 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4338 Use `let', not `let*'.
4339 (balance-windows-2): Remove unused variable `found'.
4340 (window--state-put-2): Remove unused variable `splits'.
4341 (window-state-put): Remove unused variable `selected'.
4342 (same-window-p): Use `string-match-p'.
4343 (display-buffer-assq-regexp): Remove unused variable `value'.
4344 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4345 Mark argument ALIST as ignored.
4346 (pop-to-buffer): Remove unused variable `old-window'.
4347
4348 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4349
4350 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4351 and .lzma compressed files.
4352
4353 2012-01-29 Chong Yidong <cyd@gnu.org>
4354
4355 * frame.el (window-system-default-frame-alist): Doc fix.
4356
4357 * dynamic-setting.el (font-setting-change-default-font): Don't
4358 change the default face if SET-FONT argument is non-nil (Bug#9982).
4359
4360 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4361
4362 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4363
4364 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4365
4366 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4367 breakpoints in files outside current directory (Bug#6098).
4368
4369 2012-01-29 Chong Yidong <cyd@gnu.org>
4370
4371 * progmodes/python.el: Require ansi-color at top-level.
4372
4373 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4374 Define and use in Emacs Lisp mode (Bug#9360).
4375 (lisp-mode-abbrev-table): Add doc.
4376 (lisp-mode-variables): Don't set local-abbrev-table.
4377 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4378
4379 2012-01-28 Roland Winkler <winkler@gnu.org>
4380
4381 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4382
4383 2012-01-28 Roland Winkler <winkler@gnu.org>
4384
4385 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4386 (bibtex-set-dialect): Use it. Either set global values of
4387 dialect-dependent variables or bind these variables buffer-locally
4388 (Bug#10254).
4389 (bibtex-mode): Call bibtex-set-dialect via
4390 hack-local-variables-hook.
4391 (bibtex-dialect): Update docstring.
4392 Add safe-local-variable predicate.
4393 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4394 bibtex-set-dialect.
4395 (bibtex-mode-map): Define menu for each dialect.
4396 (bibtex-entry): Fix docstring.
4397
4398 2012-01-28 Chong Yidong <cyd@gnu.org>
4399
4400 * eshell/esh-arg.el (eshell-quote-argument): New function.
4401
4402 * eshell/esh-ext.el (eshell-invoke-batch-file):
4403 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4404 first arg to eshell-parse-command (Bug#10523).
4405
4406 2012-01-28 Drew Adams <drew.adams@oracle.com>
4407
4408 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4409 `default-directory' is non-nil.
4410
4411 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4412
4413 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4414 line that displays system-configuration-options. (Bug#9924)
4415
4416 2012-01-28 Drew Adams <drew.adams@oracle.com>
4417
4418 * descr-text.el (describe-char): Show information about POS, in
4419 addition to information about the character at POS. Improve and
4420 update the doc string. Change "code point" to "code point in
4421 charset", to avoid confusion with the character's Unicode code
4422 point shown above that. (Bug#10129)
4423
4424 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4425
4426 * descr-text.el (describe-char): Show the raw character, not only
4427 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4428 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4429 for the reasons.
4430
4431 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4432
4433 * emacs-lisp/package.el (package-install):
4434 Run package-refresh-contents if there is no archive yet (Bug#9798).
4435
4436 2012-01-28 Chong Yidong <cyd@gnu.org>
4437
4438 * emacs-lisp/package.el (package-maybe-load-descriptor):
4439 New function, split from package-maybe-load-descriptor.
4440 (package-maybe-load-descriptor): Use it.
4441 (package-download-transaction): Fully load required packages
4442 inside the loop, so that `require' calls work (Bug#10593).
4443 (package-install): No need to call package-initialize now.
4444
4445 2012-01-28 Chong Yidong <cyd@gnu.org>
4446
4447 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4448
4449 * tooltip.el (tooltip-mode): Doc fix.
4450 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4451
4452 * frame.el (set-cursor-color): Doc fix (Bug#352).
4453
4454 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4455 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4456
4457 * cus-edit.el (custom-buffer-create-internal): Fix search button
4458 action (Bug#10542).
4459 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4460
4461 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4462
4463 * dired.el (dired-mark-files-regexp):
4464 Include any subdirectory components. (Bug#10445)
4465
4466 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4467
4468 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4469 Handle [host]:port syntax. (Bug#10533)
4470
4471 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4472
4473 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4474
4475 2012-01-26 Glenn Morris <rgm@gnu.org>
4476
4477 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4478 * term.el (term-raw-escape-map): Use Control-X-prefix.
4479 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4480
4481 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4482
4483 * window.el (window-state-get, window--state-get-1): Don't deal
4484 with fixed-sizeness of windows. Simplify code.
4485
4486 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4487
4488 * window.el (window--state-get-1, window--state-put-2):
4489 Don't save and restore the mark.
4490
4491 2012-01-25 Chong Yidong <cyd@gnu.org>
4492
4493 * custom.el (custom-variable-p): Doc fix.
4494
4495 2012-01-25 Glenn Morris <rgm@gnu.org>
4496
4497 * dired.el (dired-goto-file): Handle some of the more common
4498 characters that `ls -b' escapes. (Bug#10596)
4499
4500 * progmodes/compile.el (compilation-next-error-function):
4501 Respect compilation-first-column in the "*compilation*" buffer.
4502 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4503
4504 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4505
4506 2012-01-24 Glenn Morris <rgm@gnu.org>
4507
4508 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4509
4510 2012-01-24 Julien Danjou <julien@danjou.info>
4511
4512 * color.el (color-rgb-to-hsl): Fix value computing.
4513 (color-hue-to-rgb): New function.
4514 (color-hsl-to-rgb): New function.
4515 (color-clamp, color-saturate-hsl, color-saturate-name)
4516 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4517 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4518
4519 2012-01-24 Glenn Morris <rgm@gnu.org>
4520
4521 * vc/vc-rcs.el (vc-rcs-create-tag):
4522 * vc/vc-sccs.el (vc-sccs-create-tag):
4523 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4524
4525 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4526
4527 * eshell/esh-util.el (eshell-read-hosts-file):
4528 Skip comment lines. (Bug#10549)
4529
4530 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4531
4532 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * subr.el (display-delayed-warnings): Doc fix.
4535 (collapse-delayed-warnings): New function to collapse identical
4536 adjacent warnings.
4537 (delayed-warnings-hook): Add it.
4538
4539 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4540
4541 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4542
4543 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4544 properties, when "login-as" is set.
4545
4546 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4547 (tramp-default-user-alist): Don't add "pscp".
4548 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4549 property "login-as", if set. (Bug#10530)
4550
4551 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4554 "plink1" and "psftp". (Bug#10530)
4555
4556 2012-01-21 Kenichi Handa <handa@m17n.org>
4557
4558 * international/mule-cmds.el (prefer-coding-system): Show a
4559 warning message if the default value of file-name-coding-system
4560 was not changed.
4561
4562 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4563
4564 * windmove.el (windmove-reference-loc):
4565 Fix windmove-reference-loc miscalculation.
4566
4567 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4568
4569 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4570 default unit.
4571
4572 2012-01-21 Glenn Morris <rgm@gnu.org>
4573
4574 * international/mule.el (auto-coding-alist): Add .tbz.
4575
4576 * files.el (local-enable-local-variables): Doc fix.
4577 (inhibit-local-variables-regexps): Rename from
4578 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4579 Doc fix. Add some extensions from auto-coding-alist.
4580 (inhibit-local-variables-suffixes):
4581 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4582 (inhibit-local-variables-p):
4583 New function, extracted from set-auto-mode-1.
4584 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4585 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4586 (hack-local-variables): Doc fix. Make the mode-only case
4587 respect enable-local-variables and friends.
4588 Respect inhibit-local-variables-regexps for file-locals, but
4589 not for directory-locals.
4590 (set-visited-file-name):
4591 Take account of inhibit-local-variables-regexps.
4592 Whether it applies may change as the file name is changed.
4593 * jka-cmpr-hook.el (jka-compr-install):
4594 * jka-compr.el (jka-compr-uninstall):
4595 Update for inhibit-first-line-modes-suffixes name change.
4596
4597 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4598
4599 * help-macro.el (make-help-screen): Temporarily restore original
4600 binding for minor-mode-map-alist (Bug#10454).
4601
4602 2012-01-19 Julien Danjou <julien@danjou.info>
4603
4604 * color.el (color-name-to-rgb): Use the white color to find the max
4605 color component value and return correctly computed values.
4606 (color-name-to-rgb): Add missing float conversion for max value.
4607
4608 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4609
4610 * window.el (window--state-get-1, window-state-get): Do not use
4611 special state value for window-persistent-parameters.
4612 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4613 (window--state-put-2): Reset all window parameters to nil before
4614 assigning values of persistent parameters.
4615
4616 2012-01-18 Alan Mackenzie <acm@muc.de>
4617
4618 Eliminate sluggishness and hangs in fontification of "semicolon
4619 deserts".
4620
4621 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4622 Change value 10000 -> 3000.
4623 (c-state-safe-place): Reformulate so it doesn't stack up an
4624 infinite number of wrong entries in c-state-nonlit-pos-cache.
4625 (c-determine-limit-get-base, c-determine-limit): New functions to
4626 determine backward search limits disregarding literals.
4627 (c-find-decl-spots): Amend commenting.
4628 (c-cheap-inside-bracelist-p): New function which detects "={".
4629
4630 * progmodes/cc-fonts.el
4631 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4632 backward search.
4633 (c-font-lock-declarations): Fix an occurrence of point being
4634 undefined. Check additionally for point being in a bracelist or
4635 near a macro invocation without a semicolon so as to avoid a
4636 fruitless time consuming search for a declarator. Give a more
4637 precise search limit for declarators using the new
4638 c-determine-limit.
4639
4640 2012-01-18 Glenn Morris <rgm@gnu.org>
4641
4642 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4643 (set-auto-mode): Doc fixes.
4644
4645 2012-01-17 Glenn Morris <rgm@gnu.org>
4646
4647 * isearch.el (search-nonincremental-instead): Fix doc typo.
4648
4649 * dired.el (dired-insert-directory): Handle newlines in directory name.
4650 (dired-build-subdir-alist): Unescape newlines in directory name.
4651
4652 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4653
4654 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4655 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4656 (tramp-action-terminal): Use it. (Bug#10530)
4657
4658 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4661
4662 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4663
4664 * window.el (window-state-ignored-parameters): Remove variable.
4665 (window--state-get-1): Rename argument MARKERS to IGNORE.
4666 Handle persistent window parameters. Make copy of clone-of
4667 parameter only if requested. (Bug#10348)
4668 (window--state-put-2): Install a window parameter only if it has
4669 a non-nil value or an existing parameter shall be overwritten.
4670
4671 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4672
4673 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4674
4675 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4676
4677 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4678 don't pass the (nil) value of `upnode' to string-match.
4679
4680 2012-01-14 Chong Yidong <cyd@gnu.org>
4681
4682 * startup.el (command-line): Fix X resource class for cursorColor.
4683 Fix values recognized by the cursorBlink resource.
4684
4685 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4686
4687 * epg.el (epg--make-temp-file): Avoid permission race condition
4688 when running on old Emacs versions (bug#10403).
4689
4690 2012-01-14 Glenn Morris <rgm@gnu.org>
4691
4692 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4693
4694 2012-01-13 Alan Mackenzie <acm@muc.de>
4695
4696 Fix filling for when filladapt mode is enabled.
4697
4698 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4699 c-mask-paragraph, pass in `fill-paragraph' rather than
4700 `fill-region-as-paragraph'. (This is a reversion of a previous
4701 change.)
4702 * progmodes/cc-mode.el (c-basic-common-init):
4703 Make fill-paragraph-handle-comment buffer local and set it to nil.
4704
4705 2012-01-13 Glenn Morris <rgm@gnu.org>
4706
4707 * dired.el (dired-switches-escape-p): New function.
4708 (dired-insert-directory): Use dired-switches-escape-p.
4709 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4710
4711 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4712
4713 2012-01-12 Glenn Morris <rgm@gnu.org>
4714
4715 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4716 changes in adaptive-fill-regexp. (Bug#10276)
4717
4718 2012-01-11 Alan Mackenzie <acm@muc.de>
4719
4720 Fix Emacs bug #10463 - put `widen's around the critical spots.
4721
4722 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4723 widen around each invocation of c-state-pp-to-literal. Remove an
4724 unused let variable.
4725
4726 2012-01-11 Glenn Morris <rgm@gnu.org>
4727
4728 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4729 Doc fix.
4730
4731 2012-01-10 Chong Yidong <cyd@gnu.org>
4732
4733 * net/network-stream.el (network-stream-open-starttls):
4734 Avoid emitting a confusing error message when the server gives a bad
4735 response to the capability command.
4736
4737 2012-01-10 Glenn Morris <rgm@gnu.org>
4738
4739 * mail/unrmail.el (unrmail): Tweak previous change.
4740
4741 2012-01-09 Chong Yidong <cyd@gnu.org>
4742
4743 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4744
4745 2012-01-08 Alan Mackenzie <acm@muc.de>
4746
4747 Optimise font locking in long enum definitions.
4748
4749 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4750 arm to a cond form to handle enums.
4751 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4752 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4753
4754 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4755
4756 * files.el (move-file-to-trash): Preserve default file modes on error.
4757 (Bug#10401)
4758
4759 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4760
4761 * faces.el (set-face-attribute): Clarify the meaning of the nil
4762 frame (bug#10294).
4763
4764 * subr.el (with-selected-frame): Mention that the selected frame
4765 is restored (bug#9980).
4766
4767 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4768 (bug#9759).
4769
4770 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4771 (password-read): Don't autoload unused function.
4772
4773 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * progmodes/which-func.el (which-func-mode): Turn into a
4776 non-interactive function and mark as obsolete (bug#10428).
4777
4778 2012-01-06 Chong Yidong <cyd@gnu.org>
4779
4780 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4781 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4782 functions, along with 1 and -1.
4783
4784 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4785
4786 * time.el (display-time-load-average)
4787 (display-time-default-load-average): Doc fixes. See the thread
4788 starting at
4789 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4790 for the details.
4791
4792 2012-01-06 Glenn Morris <rgm@gnu.org>
4793
4794 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4795 has no messages. (Bug#10377)
4796
4797 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4798 than Info-edit. (Bug#10385)
4799
4800 * time.el (display-time-load-average, display-time-next-load-average):
4801 Doc fixes.
4802
4803 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4804 local setting of buffer-read-only to the input buffer. (Bug#10419)
4805
4806 * calendar/calendar.el (calendar-mode):
4807 Locally set scroll-margin to 0. (Bug#10379)
4808
4809 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4810
4811 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4812
4813 2012-01-05 Glenn Morris <rgm@gnu.org>
4814
4815 * eshell/em-unix.el (diff-no-select): Autoload it.
4816 (eshell/diff): Use diff-no-select. (Bug#10420)
4817
4818 2012-01-05 Chong Yidong <cyd@gnu.org>
4819
4820 * shell.el (shell-dynamic-complete-functions): Revert last change.
4821 (shell-command-completion-function): New function.
4822 (shell-completion-vars): Use it to implement
4823 shell-completion-execonly (Bug#10417).
4824
4825 * custom.el (enable-theme): Don't set custom-safe-themes.
4826
4827 * cus-theme.el (custom-theme-merge-theme):
4828 Ignore custom-enabled-themes and custom-safe-themes.
4829
4830 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4831
4832 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4833 first prompt in `sql-interacive-mode'.
4834 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4835 keywords.
4836 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4837 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4838 context of original buffer. Invoke `sql-login-hook'.
4839
4840 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4841
4842 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4843 letters in cite-prefix.
4844
4845 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4846
4847 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4848
4849 2012-01-03 Chong Yidong <cyd@gnu.org>
4850
4851 * shell.el (shell-dynamic-complete-functions):
4852 Put pcomplete-completions-at-point, so as to try
4853 comint-filename-completion first (Bug#10417).
4854
4855 2012-01-02 Richard Stallman <rms@gnu.org>
4856
4857 * battery.el (battery-status-function):
4858 Detect when to use battery-yeeloong-sysfs.
4859 (battery-echo-area-format): Add string for Yeeloong.
4860 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4861 (battery-yeeloong-sysfs): New function.
4862
4863 2012-01-02 Chong Yidong <cyd@gnu.org>
4864
4865 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4866 (dirtrack): Merge code for handling relative filenames in prompt
4867 from shell-dir-cookie-watcher.
4868 (dirtrack-debug-message): New arg to avoid excess format calls.
4869
4870 * shell.el (shell-dir-cookie-re): Variable deleted.
4871 (shell-dir-cookie-watcher): Function deleted.
4872 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4873 with dirtrack-mode.
4874
4875 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4876
4877 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4878 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4879 libgnutls-26.dll.
4880
4881 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4882
4883 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4884
4885 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4886
4887 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4888 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4889
4890 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4891
4892 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4893 also for alternative shells.
4894 (tramp-open-connection-setup-interactive-shell): Check, whether
4895 the shell is a busybox.
4896 (tramp-send-command): Don't suppress multiple prompts for
4897 busyboxes, it hurts.
4898
4899 2011-12-28 Chong Yidong <cyd@gnu.org>
4900
4901 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4902 (gdb-get-source-file): Move mode line update to
4903 gdb-get-source-file (Bug#10087).
4904
4905 2011-12-25 Chong Yidong <cyd@gnu.org>
4906
4907 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4908 gud-gdb-marker-filter without taking it as an argument.
4909 (gud-gdb-run-command-fetch-lines): Caller changed.
4910 (gud-gdb-completion-function): New variable.
4911 (gud-gdb-completion-at-point): Use it.
4912 (gud-gdb-completions-1): Split from gud-gdb-completions.
4913
4914 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4915 function as separate arguments.
4916 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4917 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4918 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4919 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4920 (gdb-stopped, def-gdb-auto-update-trigger)
4921 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4922 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4923 Callers changed.
4924 (gud-gdbmi-completions): New function.
4925 (gdb): Use it for generating the completion table.
4926
4927 2011-12-24 Alan Mackenzie <acm@muc.de>
4928
4929 Introduce a mechanism to widen the region used in context font
4930 locking. Use this to protect declarations from losing their contexts.
4931
4932 * progmodes/cc-langs.el (c-before-font-lock-functions):
4933 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4934 (c-before-context-fontification-functions): New defvar, a list of
4935 functions to be run just before context (etc.) font locking.
4936
4937 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4938 New, functionality extracted from
4939 c-neutralize-syntax-in-and-mark-CPP.
4940 (c-in-after-change-fontification): New variable.
4941 (c-after-change): Set c-in-after-change-fontification.
4942 (c-set-fl-decl-start): Rejig its interface, so it can be called
4943 from both after-change and context fontifying.
4944 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4945 New functions.
4946 (c-standard-font-lock-fontify-region-function): New variable.
4947 (c-font-lock-fontify-region): New function.
4948
4949 2011-12-24 Juri Linkov <juri@jurta.org>
4950
4951 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4952 (Bug#10348)
4953
4954 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4955
4956 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4957 existence of source file. (Bug#10325)
4958
4959 2011-12-23 Alan Mackenzie <acm@muc.de>
4960
4961 Fix unstable fontification inside templates.
4962
4963 * progmodes/cc-langs.el (c-before-font-lock-functions):
4964 Newly created from the singular version. The (c c++ objc) entry now
4965 additionally has c-set-fl-decl-start. The other languages (apart
4966 from AWK) have that as a single entry.
4967
4968 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4969 The functionality for "local" declarations has been extracted to
4970 c-set-fl-decl-start.
4971
4972 * progmodes/cc-mode.el (c-common-init, c-after-change):
4973 Changes due to pluralisation of c-before-font-lock-functions.
4974 (c-set-fl-decl-start): New function, extracted from
4975 c-font-lock-enclosing-decls and enhanced.
4976
4977 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4980
4981 2011-12-22 Juri Linkov <juri@jurta.org>
4982
4983 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4984
4985 2011-12-22 Chong Yidong <cyd@gnu.org>
4986
4987 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4988
4989 2011-12-21 Drew Adams <drew.adams@oracle.com>
4990
4991 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4992
4993 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4994
4995 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4996
4997 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4998
4999 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5000 highlighting and support. Fix up comments for capitalization.
5001 (cfengine-mode-debug): New var.
5002 (cfengine3-mode): Change the modeline indicator to "CFE3".
5003 (cfengine3-font-lock-keywords): Improve defun highlighting.
5004 (cfengine2-actions): Rename from `cfengine-actions'.
5005 (cfengine2-font-lock-keywords): Rename from
5006 `cfengine-font-lock-keywords'.
5007 (cfengine2-imenu-expression): Rename from
5008 `cfengine-imenu-expression'.
5009 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5010 (cfengine2-beginning-of-defun): Rename from
5011 `cfengine-beginning-of-defun'.
5012 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5013 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5014 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5015 modeline indicator to "CFE2".
5016 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5017 (cfengine-mode-abbrevs): Mark obsolete.
5018
5019 2011-12-21 Chong Yidong <cyd@gnu.org>
5020
5021 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5022 filename argument.
5023
5024 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5025
5026 * window.el (window-normalize-buffer-to-display): Remove.
5027 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5028
5029 2011-12-19 Chong Yidong <cyd@gnu.org>
5030
5031 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5032 Don't signal an error in a predicate function; return non-nil.
5033 (vc-dir-mark-file): Move the error here.
5034 (vc-dir-mark-unmark): If acting on the region, keep going if one
5035 of the entries cannot be marked/unmarked.
5036 (vc-dir-mark-all-files): If current entry is a directory, mark
5037 only child files, as documented.
5038
5039 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5040
5041 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5042 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5043 addition.
5044
5045 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5046
5047 * term/ns-win.el (ns-get-selection-internal)
5048 (ns-store-selection-internal): Declare.
5049 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5050 Declare as obsolete.
5051 (ns-get-pasteboard, ns-paste-secondary):
5052 Use ns-get-selection-internal.
5053 (ns-set-pasteboard, ns-copy-including-secondary):
5054 Use ns-store-selection-internal.
5055
5056 2011-12-17 Chong Yidong <cyd@gnu.org>
5057
5058 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5059 (vc-deduce-fileset): Doc fix.
5060
5061 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5062
5063 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5064
5065 2011-12-13 Sam Steingold <sds@gnu.org>
5066
5067 * man.el (Man-getpage-in-background): When running under a
5068 window-system, ignore $MANWIDTH and $COLUMNS.
5069
5070 2011-12-15 Kenichi Handa <handa@m17n.org>
5071
5072 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5073 (setup-ethiopic-environment-internal): Comment out key-binding for
5074 ethio-toggle-punctuation.
5075
5076 2011-12-13 Alan Mackenzie <acm@muc.de>
5077
5078 Add the switch statement to AWK Mode.
5079
5080 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5081 "default" to the keywords regexp.
5082
5083 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5084 expression as the rest.
5085 (c-nonlabel-token-key): Allow string literals for AWK.
5086 Refactor for the other modes.
5087
5088 Large brace-block initialisation makes CC Mode slow: Fix.
5089 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5090 routines. Limit backward searching in c-font-lock-enclosing.decl.
5091
5092 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5093 pp-state and literal type in addition to the limits.
5094 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5095 (c-state-literal-at): Use the above new defun.
5096 (c-slow-in-literal, c-fast-in-literal): Remove.
5097 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5098
5099 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5100 being in a literal. Add a limit for backward searching.
5101
5102 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5103 c-slow-in-literal.
5104
5105 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5108
5109 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5110
5111 * window.el (delete-other-windows): Use correct frame in call to
5112 window-with-parameter.
5113
5114 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5115
5116 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5117 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5118 (makefile-gmake-statements, makefile-makepp-statements):
5119 Use it and add new makepp keywords.
5120 (makefile-makepp-font-lock-keywords): Add new patterns.
5121 (makefile-match-function-end): Match new [...] and [[...]].
5122
5123 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * ses.el (ses-call-printer-return, ses-cell-property-get)
5126 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5127 (ses-create-cell-variable, ses-reset-header-string)
5128 (ses-cell-set-formula, ses-repair-cell-reference-all)
5129 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5130 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5131 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5132 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5133 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5134 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5135 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5136 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5137 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5138 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5139 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5140 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5141
5142 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5143
5144 * ses.el: The overall change is to add cell renaming, that is
5145 setting fancy names for cell symbols other than name matching
5146 "\\`[A-Z]+[0-9]+\\'" regexp .
5147 (ses-create-cell-variable): New defun.
5148 (ses-relocate-formula): Relocate formulas only for cells the
5149 symbols of which are not renamed, i.e. symbols whose names do not
5150 match regexp "\\`[A-Z]+[0-9]+\\'".
5151 (ses-relocate-all): Relocate values only for cells the symbols of
5152 which are not renamed.
5153 (ses-load): Create cells variables as the (ses-cell ...) are read,
5154 in order to check row col consistency with cell symbol name only
5155 for cells that are not renamed.
5156 (ses-replace-name-in-formula): New defun.
5157 (ses-rename-cell): New defun.
5158
5159 2011-12-11 Chong Yidong <cyd@gnu.org>
5160
5161 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5162 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5163
5164 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5165
5166 * window.el (other-window): Fix docstring.
5167
5168 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5169
5170 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5171 `from' or `to' address before taking its substring.
5172 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5173 encoded name is chopped in the middle of the encoded string, and
5174 thus displayed encoded.
5175
5176 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5179
5180 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5181
5182 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5183 to use texinfo-update-node and commands that call it if the
5184 Texinfo file uses @node lines without next/prev/up pointers.
5185 Correct outdated description about texinfo-master-menu.
5186 (texinfo-all-menus-update, texinfo-master-menu)
5187 (texinfo-update-node, texinfo-every-node-update)
5188 (texinfo-multiple-files-update): Doc fix. Warn against updating
5189 all the @node lines.
5190 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5191 argument is numeric. Explain better in the doc string what the
5192 function really does.
5193 (texinfo-insert-master-menu-list): Improve the error message
5194 displayed if there's no menu in the Top node.
5195 (Bug#2975) See also this thread:
5196 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5197
5198 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5199
5200 * speedbar.el (speedbar-supported-extension-expressions):
5201 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5202
5203 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * printing.el (pr-mode-alist):
5206 * simple.el (filter-buffer-substring-functions)
5207 (completion-list-insert-choice-function):
5208 * window.el (window-with-parameter, window-atom-root)
5209 (window-sides-slots, window-size-fixed, window-min-delta)
5210 (window-max-delta, window--resize-mini-window)
5211 (window--resize-child-windows-normal, window-tree)
5212 (delete-other-windows, quit-window, split-window)
5213 (display-buffer-record-window, special-display-buffer-names)
5214 (special-display-regexps, special-display-popup-frame)
5215 (same-window-p, split-window-sensibly)
5216 (display-buffer-overriding-action, display-buffer-alist)
5217 (display-buffer-base-action, display-buffer, switch-to-buffer)
5218 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5219 (fit-window-to-buffer, recenter-positions)
5220 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5221 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5222 and remove unneeded backslashes in docstrings.
5223
5224 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5227
5228 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5229 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5230 end in ".mk".
5231 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5232 when reading the makefile (bug#10116).
5233
5234 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5237 (bug#10116).
5238
5239 2011-12-06 Glenn Morris <rgm@gnu.org>
5240
5241 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5242
5243 2011-12-06 Chong Yidong <cyd@gnu.org>
5244
5245 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5246
5247 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * textmodes/table.el (table-shorten-cell): Fix typo.
5250
5251 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5252
5253 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5254
5255 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5256
5257 * descr-text.el (describe-char): Fix display of strong
5258 right-to-left characters and directional embeddings and overrides.
5259
5260 * simple.el (what-cursor-position): Fix display of codepoints of
5261 strong right-to-left characters.
5262
5263 2011-12-05 Chong Yidong <cyd@gnu.org>
5264
5265 * faces.el (read-color): Doc fix.
5266
5267 2011-12-05 Glenn Morris <rgm@gnu.org>
5268
5269 * align.el (align--set-marker): Add doc-string.
5270 Don't try to move something that is not a marker. (Bug#10216)
5271
5272 2011-12-04 Glenn Morris <rgm@gnu.org>
5273
5274 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5275 overly zealous deletion of trailing whitespace.
5276
5277 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5278
5279 * server.el (server-delete-client): On Windows, do not try to delete
5280 the only terminal.
5281 (server-process-filter): On Windows, treat requests for a tty frame as
5282 if they were for a GUI frame if the running server is in GUI mode.
5283
5284 2011-12-03 Glenn Morris <rgm@gnu.org>
5285
5286 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5287
5288 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * electric.el: Streamline electric-indent's hook.
5291 (electric-indent-chars): Revert to simple list.
5292 (electric-indent-functions): New var.
5293 (electric-indent-post-self-insert-function): Use it.
5294
5295 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5296 there's no inferior buffer (bug#10196).
5297 (prolog-consult-compile): Don't use toggle-read-only.
5298
5299 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5300
5301 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5302 interrupt. (Bug#10187)
5303
5304 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5307 (bug#9160).
5308
5309 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5310 (bug#10191).
5311
5312 2011-12-02 Juri Linkov <juri@jurta.org>
5313
5314 * info.el (Info-search): Display "end of manual" when Isearch
5315 reaches the end of single-file Info manual. (Bug#9918)
5316
5317 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5318
5319 * isearch.el (isearch-message-prefix): Run the input method part
5320 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5321
5322 2011-12-02 Juri Linkov <juri@jurta.org>
5323
5324 * isearch.el (isearch-occur): Use `word-search-regexp' for
5325 `isearch-word'.
5326 (isearch-search-and-update): Add condition for `isearch-word' and
5327 call `word-search-regexp'. (Bug#10145)
5328
5329 2011-12-01 Glenn Morris <rgm@gnu.org>
5330
5331 * eshell/em-hist.el (eshell-hist-initialize):
5332 Handle eshell-history-size nil and HISTSIZE set or unset.
5333 (eshell-history-file-name, eshell-history-size): Fix custom type.
5334
5335 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5338
5339 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5340
5341 * progmodes/verilog-mode.el (verilog-pretty-expr):
5342 Rework verilog-pretty-expr to handle new assignment operators in system
5343 verilog, such as += *= and the like.
5344 (verilog-assignment-operator-re): Regular expression to find the
5345 assigment operator in a verilog assignment.
5346 (verilog-assignment-operation-re): Regular expression to find an
5347 assignment statement for pretty-expr.
5348 (verilog-in-attribute-p): Query returns true if point is in an
5349 attribute context; used to skip these for expression line up from
5350 pretty-expr.
5351 (verilog-in-parameter-p): Query returns true if point is in an
5352 parameter definition context; used to skip these for expression
5353 line up from pretty-expr.
5354 (verilog-in-parenthesis-p): Query returns true if point is in a
5355 parenthetical expression, specifically ( ) but not [ ] or { };
5356 used by pretty-expr.
5357 (verilog-just-one-space): If there is no space, don't add one.
5358 (verilog-get-lineup-indent-2): Specifically skip just attribute
5359 contexts for expression lineup, rather than skipping all
5360 parenthetical expressions.
5361 (verilog-calculate-indent): Fix comment, and fix indent.
5362 (verilog-do-indent): Indent declarations in lists (suggested by
5363 Joachim Lechner).
5364 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5365 skeleton items.
5366 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5367 by Alain Mellan).
5368
5369 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5370
5371 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5372 parameters with embedded comments. Reported by Ray Stevens.
5373 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5374 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5375 Reported by Tim Holt.
5376 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5377 instantiated by upper module causing wrong expansion until AUTOed a
5378 second time. Reported by K C Buckenmaier.
5379 (verilog-diff-auto): Fix showing .* as a difference when
5380 `verilog-auto-star-save' off. Reported by Dan Dever.
5381 (verilog-auto-reset, verilog-read-always-signals)
5382 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5383 temporary signals in reset list if
5384 verilog-auto-reset-blocking-in-non is nil, and match assignment
5385 style to each signal's assignment type, bug381.
5386 Reported by Thomas Esposito.
5387 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5388 (verilog-uvm-statement-re): Support UVM indentation and
5389 highlighting, with old OVM keywords only.
5390 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5391 Support AUTOTIEOFF creating non-wire data types.
5392 Suggested by Jonathan Greenlaw.
5393 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5394 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5395 (verilog-inject-sense, verilog-read-inst-pins)
5396 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5397 Fix mismatching parenthesis inside commented out code when deleting
5398 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5399 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5400 non-numeric vector width. Reported by Alex Reed.
5401 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5402 detecting signals with parameter widths. Reported by Alex Reed.
5403 (verilog-auto-delete-trailing-whitespace):
5404 With `verilog-auto-delete-trailing-whitespace' remove trailing
5405 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5406 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5407 Fix verilog-scan-cache corruption when running user AUTO expansion
5408 hooks that call indentation routines.
5409 (verilog-simplify-range-expression): Fix typo ignoring lower case
5410 identifiers.
5411 (verilog-delete-auto): Fix delete-autos to also remove user created
5412 automatics, as long as they start with AUTO.
5413 (verilog-batch-diff-auto, verilog-diff-auto)
5414 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5415 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5416 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5417 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5418 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5419 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5420 is disabled and its cache will get corrupt, causing AUTOS not to
5421 expand. Instead use only -quick functions.
5422 (verilog-scan-region): Fix scanning over escaped quotes.
5423 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5424 (verilog-re-search-backward-quick)
5425 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5426 related functions now ignore strings, to fix misparsing of strings
5427 with magic comments embedded in them.
5428 (verilog-read-auto-template):
5429 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5430 Reported by Brad Dobbie.
5431 (verilog-read-auto-template):
5432 Fix 'verilog-auto-inst-template-numbers' with comments.
5433 Reported by Brad Dobbie.
5434 (verilog-auto-inst, verilog-auto-inst-param)
5435 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5436 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5437 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5438 debugging templates without merge conflicts, bug357.
5439 Reported by Brad Dobbie.
5440 (verilog-read-auto-template):
5441 Fix verilog-auto-inst-template-numbers with multiple templates.
5442 Reported by Brad Dobbie.
5443 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5444 abbrevs so user won't be asked to save.
5445 (verilog-read-auto-lisp-present): Fix to start at beginning of
5446 buffer in case called outside of verilog-auto.
5447 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5448 to "X-2". Reported by Matthew Myers.
5449 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5450 all inputs from module templates. Reported by Leith Johnson.
5451 (verilog-module-inside-filename-p): Fix locating programs as with
5452 modules.
5453 (verilog-auto-inst-port): Fix vl-width expressions when using
5454 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5455 (verilog-decls-get-regs, verilog-decls-get-signals,
5456 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5457 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5458 verilog-read-decls): Combine reg and wire structures into one var
5459 structure to represent SystemVerilog concepts.
5460 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5461 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5462 (verilog-auto-wire-type, verilog-insert-definition):
5463 Add verilog-auto-wire-type and AUTOLOGIC to support using
5464 SystemVerilog "logic" keyword instead of "wire"/"reg".
5465 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5466 to declares outputs that also have assignments (presumably in an
5467 ifdef or generate if so there's not a driver conflict).
5468 Reported by Matthew Myers.
5469 (verilog-auto-declare-nettype, verilog-insert-definition):
5470 Add verilog-auto-declare-nettype to fix declarations using
5471 `default_nettype none. Reported by Julian Gorfajn.
5472 (verilog-read-always-signals-recurse, verilog-read-decls)
5473 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5474 malformed end statement, bug325. Reported by Joshua Wise and
5475 Andrew Drake.
5476 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5477 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5478 when expanding .* in interfaces, bug320.
5479 Reported by Pierre-David Pfister.
5480 (verilog-read-module-name): Fix import statements between module
5481 name and open parenthesis, bug317.
5482 Reported by Pierre-David Pfister.
5483 (verilog-simplify-range-expression): Fix simplification of
5484 multiplications inside AUTOWIRE connections, bug303.
5485 (verilog-auto-inst-port): Support parameter expansion in
5486 multidimensional arrays.
5487 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5488 after "assert property". Reported by Julian Gorfajn.
5489 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5490 with multiplication, bug303.
5491 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5492 Reported by Jan Frode Lonnum.
5493
5494 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5495
5496 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5497 (hfy-shell-file-name, hfy-shell):
5498 * international/fontset.el (x-decompose-font-name): Fix typos.
5499
5500 2011-11-29 Ken Brown <kbrown@cornell.edu>
5501
5502 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5503 (gdb-version): Remove defvar.
5504 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5505 (gdb-gud-context-command, gdb-non-stop-handler)
5506 (gdb-current-context-command, gdb-stopped): Use it.
5507 (gdb-init-1): Enable pretty printing here.
5508 (gdb-non-stop-handler): Don't enable pretty-printing here.
5509 Check to see if the target supports non-stop mode; if not, turn off
5510 non-stop mode. Use the following.
5511 (gdb-check-target-async): New defun.
5512 (gud-watch, gdb-stopped): Fix whitespace.
5513 (gdb-get-source-file): Don't try to display the source file if
5514 `gdb-main-file' is nil.
5515
5516 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * align.el: Try to generate fewer markers (bug#10047).
5519 (align--set-marker): New macro.
5520 (align-region): Use it.
5521
5522 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5525
5526 2011-11-29 Chong Yidong <cyd@gnu.org>
5527
5528 * indent.el (indent-for-tab-command, indent-according-to-mode):
5529 Doc fix.
5530 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5531
5532 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5533
5534 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5535 aware of remote file names. (Bug#10124)
5536
5537 2011-11-29 Chong Yidong <cyd@gnu.org>
5538
5539 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5540
5541 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * files.el (find-file): Don't use force-same-window (bug#10144).
5544 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5545 use pop-to-buffer if the selected window can't be used.
5546 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5547
5548 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5549
5550 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5551 special-mode-map.
5552
5553 2011-11-28 Chong Yidong <cyd@gnu.org>
5554
5555 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5556
5557 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5558
5559 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5560 gdb-get-source-file-list on gdb-create-source-file-list.
5561
5562 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5563
5564 * whitespace.el (whitespace-newline): Use a different foreground
5565 color for 16-color light-background displays.
5566
5567 2011-11-24 Chong Yidong <cyd@gnu.org>
5568
5569 * window.el (display-buffer--special-action): Doc fix.
5570
5571 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5574 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5575 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5576 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5577 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5578 (avl-tree-stack-first):
5579 * emacs-lisp/cconv.el (cconv--analyse-use):
5580 * net/gnutls.el (gnutls-negotiate): Fix typos.
5581
5582 2011-11-24 Glenn Morris <rgm@gnu.org>
5583
5584 * lpr.el (lpr-windows-system, lpr-lp-system):
5585 * mail/binhex.el (binhex-begin-line):
5586 * progmodes/grep.el (grep-history, grep-find-history):
5587 * textmodes/flyspell.el:
5588 * vc/pcvs-defs.el (cvs-global-menu):
5589 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5590 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5591 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5592
5593 * net/tls.el: Fix case of "GnuTLS".
5594
5595 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5596
5597 * version.el (emacs-build-system): Give it a doc-string.
5598
5599 2011-11-24 Juri Linkov <juri@jurta.org>
5600
5601 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5602
5603 2011-11-24 Glenn Morris <rgm@gnu.org>
5604
5605 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5606 if called on a non-mime message just toggle the headers. (Bug#8006)
5607
5608 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5609
5610 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5611 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5612 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5613 (allout-rebullet-heading, allout-open-sibtopic)
5614 (allout-toggle-current-subtree-encryption)
5615 (allout-toggle-subtree-encryption, allout-encrypt-string)
5616 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5617 (allout-distinctive-bullets-string, allout-auto-activation):
5618 * window.el (window-normalize-buffer-to-display):
5619 * progmodes/verilog-mode.el (verilog-batch-indent):
5620 * textmodes/bibtex.el (bibtex-field-braces-opt)
5621 (bibtex-field-strings-opt):
5622 * vc/cvs-status.el (cvs-tree-merge):
5623 Fix typos.
5624
5625 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5626
5627 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5628 `non-essential' to t, in order to avoid remote connections.
5629
5630 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5631
5632 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5633 On MS-DOS and MS-Windows, compare with loaddefs.el
5634 case-insensitively.
5635
5636 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5637
5638 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5639
5640 2011-11-23 Glenn Morris <rgm@gnu.org>
5641
5642 * paths.el (rmail-file-name): Reformat the doc-string so that it
5643 is picked up.
5644
5645 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5646 (rmail-auto-file): Ignore case in the "special" field names,
5647 as mail-fetch-field does for all others.
5648
5649 * mail/rmail.el (rmail-forward):
5650 * mail/rmailkwd.el (rmail-set-label):
5651 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5652 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5653
5654 * mail/rmail.el (rmail-current-message): Doc fix.
5655
5656 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5657
5658 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5661
5662 2011-11-22 Glenn Morris <rgm@gnu.org>
5663
5664 * mail/rmailmm.el (test-rmail-mime-handler)
5665 (test-rmail-mime-bulk-handler)
5666 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5667
5668 2011-11-21 Juri Linkov <juri@jurta.org>
5669
5670 * calc/calc.el (calc-read-key-sequence):
5671 Let-bind `input-method-function' to nil. (Bug#10018)
5672
5673 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5674
5675 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5676 Tell the caller that the next line needs recomputation, even
5677 though it doesn't start a sexp (bug#10094).
5678
5679 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5682
5683 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5686 Use force-same-window.
5687
5688 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * descr-text.el (describe-char-unicode-data):
5691 * json.el (json-string-escape):
5692 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5693 (Footnote-unicode, Footnote-style-p):
5694 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5695
5696 2011-11-20 Chong Yidong <cyd@gnu.org>
5697
5698 * window.el (replace-buffer-in-windows): Restore interactive spec.
5699
5700 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5703
5704 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5705 (byte-compile-global-not-obsolete-vars): New var.
5706 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5707 Use it.
5708 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5709
5710 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5711
5712 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5713 * progmodes/pascal.el (electric-pascal-equal):
5714 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5715 * xml.el (xml-substitute-special): Fix typos.
5716
5717 2011-11-20 Glenn Morris <rgm@gnu.org>
5718
5719 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5720 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5721 Doc fixes.
5722 (rmail-decode-mime-charset): Mark as obsolete.
5723
5724 * mail/rmailsum.el (rmail-message-regexp-p-1):
5725 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5726 Before using mime functions, check they are set. (Bug#10077)
5727
5728 2011-11-19 Juri Linkov <juri@jurta.org>
5729
5730 * info.el (Info-finder-find-node): Use `package--builtins' instead
5731 of `package-alist'. Use node names formed by the pattern "Keyword "
5732 and the keyword name.
5733
5734 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5735
5736 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5737
5738 2011-11-19 Juri Linkov <juri@jurta.org>
5739
5740 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5741 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5742 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5743 `old-history', `old-history-forward'. Add let-binding
5744 `window-selected'. Remove calls to `kill-buffer',
5745 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5746 before calling `Info-find-node', so `Info-find-node-2' will reread
5747 the Info file. Restore window positions only when `window-selected'
5748 is non-nil.
5749
5750 2011-11-19 Juri Linkov <juri@jurta.org>
5751
5752 * isearch.el (isearch-lazy-highlight-new-loop):
5753 Remove condition `(not isearch-error)'. (Bug#9918)
5754
5755 * misearch.el (multi-isearch-search-fun): Add condition
5756 `(not bound)' to ignore lazy-highlighting search.
5757 Add the search-failed message "end of multi" when the end of
5758 multi-sequence is reached. Uncapitalize the search-failed
5759 message "Repeat for next buffer".
5760
5761 * info.el (Info-search): Add the search-failed message
5762 "end of the manual" when the end of the manual is reached
5763 in Isearch mode.
5764
5765 2011-11-19 Juri Linkov <juri@jurta.org>
5766
5767 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5768 Use non-destructive `remove' instead of `delete' because
5769 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5770 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5771
5772 2011-11-19 Juri Linkov <juri@jurta.org>
5773
5774 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5775 to nil instead of binding `search-ring' and `regexp-search-ring'.
5776 (Bug#9185)
5777
5778 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5779
5780 * simple.el (line-move): Force movement by logical lines for any
5781 hscrolled window, not only when auto-hscroll-mode is on.
5782 (line-move-visual): Update doc string to that effect. (Bug#10076)
5783
5784 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5785
5786 * language/european.el (macintosh): Define as alias for mac-roman.
5787
5788 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5789
5790 * mail/rmailmm.el (rmail-mime-display-header)
5791 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5792 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5793 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5794 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5795 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5796 of a raw aref.
5797 (rmail-mime-entity-segment): To get past the tagline, move forward
5798 2 more lines, to account for the 2 empty lines that precede and
5799 follow the line with the buttons.
5800 (rmail-mime-update-tagline): Move one more line, to get past the
5801 empty line that follows the buttons in the tagline. (Bug#9520)
5802
5803 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5804
5805 * window.el (window-max-delta-1, window-min-delta-1)
5806 (window-min-size-1, window-state-get-1, window-state-put-1)
5807 (window-state-put-2): Use "window--" prefix.
5808
5809 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5812 (smie-warning-count): New var.
5813 (smie-set-prec2tab): Use it.
5814 (smie-bnf->prec2): Improve warnings. Add docstring.
5815 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5816 (smie-bnf--set-class): New function.
5817 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5818 corner case.
5819
5820 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5821 (compilation-error-properties, compilation-move-to-column):
5822 Handle compilation-first-column while in the target buffer.
5823
5824 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5825 Don't hardcode point-min==1.
5826
5827 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5828 (eshell-rewrite-for-command): Remove workaround.
5829 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5830 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5831 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5832
5833 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5834
5835 2011-11-17 Glenn Morris <rgm@gnu.org>
5836
5837 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5838 Ignore buffer-local generated-autoload-file if it is the same
5839 as the global value. (Bug#10049)
5840
5841 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5842
5843 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5844 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5845 (reftex-toc-previous-heading, reftex-toc-max-level)
5846 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5847 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5848 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5849 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5850 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5851 (reftex-toc-rename-label, reftex-toc-visit-location)
5852 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5853 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5854 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5855 leaving "*toc*" only for references to the buffer.
5856
5857 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (window-resize, delete-window, split-window):
5860 Replace window-splits by window-combination-resize.
5861 * cus-start.el (window-splits): Replace by window-combination-resize.
5862
5863 2011-11-17 Glenn Morris <rgm@gnu.org>
5864
5865 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5866 Make bash entry derive from sh entry, not shell entry.
5867
5868 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5871 properties of linked files. (Bug#9879)
5872
5873 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5874 local file name.
5875
5876 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * menu-bar.el (menu-bar-file-menu):
5879 * printing.el (pr-ps-utility):
5880 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5881 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5882 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5883 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5884 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5885 (icalendar--convert-cyclic-to-ical)
5886 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5887 (icalendar--convert-ical-to-diary)
5888 (icalendar--convert-recurring-to-diary)
5889 (icalendar--convert-non-recurring-all-day-to-diary)
5890 (icalendar-import-format-sample):
5891 * progmodes/idlw-shell.el (idlwave-shell-mode):
5892 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5893 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5894 (vhdl-ps-print-init): Fix typos.
5895
5896 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5897
5898 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5899 FSF and collapse date sequence, obscure author/maintainer email address
5900 better, remove extra version line, track relocation of author's webpage.
5901
5902 * progmodes/python.el (python-pdbtrack-input-prompt)
5903 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5904 regular python pdb prompts. Adjustments shamelessly taken exactly as
5905 suggested in EmacsWiki page (tiny change):
5906 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5907
5908 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5909
5910 * expand.el (expand-pos, expand-index, expand-point):
5911 Remove redundant info from docstring.
5912 (expand-add-abbrevs): Doc fix.
5913 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5914 (expand-sample-perl-mode-expand-list): Fix typos.
5915
5916 * net/dbus.el (dbus-event-member-name):
5917 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5918 * term/pc-win.el (msdos-create-frame-with-faces):
5919 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5920
5921 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5922
5923 * window.el (split-window, window-state-get-1)
5924 (window-state-put-1, window-state-put-2): Rename occurrences of
5925 window-nest to window-combination-limit.
5926 * cus-start.el (window-nest): Rename to window-combination-limit.
5927
5928 2011-11-16 Chong Yidong <cyd@gnu.org>
5929
5930 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5931 regexp (Bug#10033).
5932
5933 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5936 `completing-read' will remove *Completions* and will preserve
5937 current-buffer for us.
5938 (tmm-add-prompt): Users of *Completions* will always (re)set its
5939 major mode.
5940 (tmm-old-comp-map): Remove.
5941
5942 2011-11-16 Glenn Morris <rgm@gnu.org>
5943
5944 * mail/rmailedit.el: Require rmailmm when compiling.
5945 (rmail-old-mime-state): New declaration.
5946 (rmail-edit-current-message): If editing a mime message,
5947 edit the "raw" message from the mbox buffer.
5948 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5949
5950 2011-11-15 Glenn Morris <rgm@gnu.org>
5951
5952 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5953 which wasn't being used. Add optional arg to force given state.
5954 (rmail-mime): Add optional arg to force given state.
5955
5956 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5959 * frame.el (display-mm-dimensions-alist):
5960 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5961 (outline-move-subtree-down):
5962 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5963 (newsticker--treeview-do-get-node):
5964 * net/quickurl.el (quickurl-list-buffer-name):
5965 * progmodes/dcl-mode.el (dcl-mode):
5966 * progmodes/gdb-mi.el (gdb-mapcar*):
5967 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5968
5969 2011-11-15 Glenn Morris <rgm@gnu.org>
5970
5971 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5972 in a boolean sense, so just make it a boolean, and fix the doc.
5973 (rmail-show-mime-function, rmail-mime-feature)
5974 (rmail-require-mime-maybe): Doc fixes.
5975 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5976
5977 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5978
5979 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5980
5981 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5982 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5983 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5984 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5985
5986 2011-11-15 Glenn Morris <rgm@gnu.org>
5987
5988 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5989 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5990 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5991 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5992 (rmail-mime, rmail-show-mime): Doc fixes.
5993
5994 * term/ns-win.el (mode-line-frame-identification):
5995 Leave it alone. (Bug#10051)
5996
5997 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5998
5999 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6000 Handle empty buffers. (Bug#9978)
6001
6002 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6003
6004 * international/mule.el (define-charset):
6005 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6006 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6007 * progmodes/verilog-mode.el (verilog-backward-token):
6008 * textmodes/ispell.el (lookup-words):
6009 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6010
6011 2011-11-14 Glenn Morris <rgm@gnu.org>
6012
6013 * progmodes/executable.el
6014 (executable-make-buffer-file-executable-if-script-p):
6015 Handle file-modes returning nil.
6016
6017 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6018 message - not necessary, and causes problems. (Bug#9831)
6019
6020 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6021
6022 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6023
6024 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6025 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6026 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6027
6028 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6029
6030 * window.el (window-resize, delete-window): Use window-splits
6031 variable instead of function.
6032 (window-state-get-1, window-state-put-2, window-state-put):
6033 Don't deal with windows' splits status.
6034
6035 2011-11-12 Glenn Morris <rgm@gnu.org>
6036
6037 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6038 (apropos-documentation): Doc fixes.
6039
6040 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6043 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6044
6045 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * electric.el (electric-indent-post-self-insert-function): Make it
6048 possible for a char to only indent in some circumstances.
6049 (electric-indent-mode): Simplify.
6050
6051 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6052
6053 * window.el (windows-with-parameter): Remove unused function.
6054 (windows-at-side): Rename to window-at-side-list.
6055 (window-check, window-atom-check, window-atom-check-1)
6056 (window-side-check, window-size-ignore, window-size-fixed-1)
6057 (window-in-direction-2): Prefix with "window--".
6058 (window-tree-1): Rename to window--subtree, fix doc-string.
6059
6060 2011-11-11 Glenn Morris <rgm@gnu.org>
6061
6062 * subr.el (eval-after-load): If FILE is already loaded,
6063 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6064
6065 2011-11-10 Glenn Morris <rgm@gnu.org>
6066
6067 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6068 Call svn via vc-svn-command rather than vc-do-command.
6069 (vc-svn-command): Add --non-interactive. (Bug#9993)
6070 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6071
6072 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6073 Add toggle-read-only. (Bug#7292)
6074 * files.el (toggle-read-only): Mention that it should only
6075 be used interactively. (Bug#10006)
6076
6077 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6080 Adjust regexp for OCaml warnings.
6081
6082 * electric.el (electric-pair-post-self-insert-function): Let user
6083 turn it off buffer-locally (bug#9932).
6084
6085 * progmodes/python.el (python-beginning-of-statement):
6086 Rewrite (bug#2703).
6087
6088 * progmodes/compile.el: Better handle TABs (bug#9749).
6089 (compilation-internal-error-properties)
6090 (compilation-next-error-function): Obey the target buffer's
6091 compilation-error-screen-columns.
6092
6093 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * progmodes/meta-mode.el: Remove obsolete comments.
6096 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6097 Fix typos in docstrings.
6098
6099 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6100
6101 * window.el (window-size-fixed-p): Rewrite doc-string.
6102 (window-resizable-p): Rename to window--resizable-p. Update callers.
6103 (window--resizable): New function. Make all callers of
6104 window-resizable call window--resizable instead.
6105 (window-resizable): Rewrite in terms of window--resizable.
6106
6107 2011-11-08 Glenn Morris <rgm@gnu.org>
6108
6109 * progmodes/delphi.el (delphi-mode-syntax-table):
6110 Let define-derived-mode define a proper syntax table. (Bug#9994)
6111
6112 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * window.el: Stay away from defsubst.
6115 (window-list-no-nils): Remove.
6116 (window-state-get-1, window-state-get): Use backquote instead.
6117
6118 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6119
6120 * emacs-lisp/find-func.el (find-function-read):
6121 Fix incorrect use of default argument in `completing-read'.
6122
6123 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6124
6125 * window.el (display-buffer-function, special-display-function):
6126 Mention display-buffer-record-window but do not mention
6127 help-setup parameter in doc-strings.
6128 (window-min-delta): Fix doc-string typo.
6129
6130 2011-11-08 Chong Yidong <cyd@gnu.org>
6131
6132 * window.el (window-total-height, window-total-width): Doc fix.
6133 (window-body-size): Move from C.
6134 (window-body-height, window-body-width): Move to C.
6135
6136 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * window.el: Make special-display like display-buffer-alist (bug#9532).
6139 (display-buffer--special-action): New function, morphed
6140 from display-buffer--special.
6141 (display-buffer): Use it to handle special-display-buffers at higher
6142 priority (just after display-buffer-alist).
6143 (display-buffer-fallback-action, display-buffer--other-frame-action)
6144 (pop-to-buffer-same-window): Remove display-buffer--special.
6145
6146 2011-11-07 Glenn Morris <rgm@gnu.org>
6147
6148 * calendar/cal-menu.el (cal-menu-set-date-title):
6149 Do nothing if not in a calendar. (Bug#9976)
6150
6151 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6152
6153 * files.el (find-file): Always use selected-window.
6154
6155 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6156
6157 * window.el (window-combinations): Make WINDOW argument
6158 mandatory. Rewrite doc-string.
6159 (walk-window-subtree, window-atom-check, window-min-delta)
6160 (window-max-delta, window--resize-this-window)
6161 (window--resize-root-window-vertically, window-tree)
6162 (balance-windows, window-state-put): Rewrite doc-strings as to
6163 not mention the term "subwindow".
6164 (window--resize-subwindows-skip-p): Rename to
6165 window--resize-child-windows-skip-p.
6166 (window--resize-subwindows-normal): Rename to
6167 window--resize-child-windows-normal.
6168 (window--resize-subwindows): Rename to
6169 window--resize-child-windows.
6170 (window-or-subwindow-p): Rename to window--in-subtree-p.
6171
6172 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6173
6174 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6175 Ensure that mbox format messages end in two newlines (Bug#9974).
6176
6177 2011-11-06 Chong Yidong <cyd@gnu.org>
6178
6179 * window.el (window-combination-p): Function deleted; its
6180 side-effect is not used in any existing code.
6181 (window-combinations, window-combined-p): Call window-*-child
6182 directly.
6183
6184 2011-11-05 Chong Yidong <cyd@gnu.org>
6185
6186 * window.el (window-valid-p): Rename from window-any-p.
6187 (window-size-ignore, window-state-get): Callers changed.
6188 (window-normalize-window): Rename from window-normalize-any-window.
6189 New arg LIVE-ONLY, replacing window-normalize-live-window.
6190 (window-normalize-live-window): Delete.
6191 (window-combination-p, window-combined-p, window-combinations)
6192 (walk-window-subtree, window-atom-root, window-min-size)
6193 (window-sizable, window-sizable-p, window-size-fixed-p)
6194 (window-min-delta, window-max-delta, window-resizable)
6195 (window-resizable-p, window-full-height-p, window-full-width-p)
6196 (window-current-scroll-bars, window-point-1, set-window-point-1)
6197 (window-at-side-p, window-in-direction, window-resize)
6198 (adjust-window-trailing-edge, maximize-window, minimize-window)
6199 (window-deletable-p, delete-window, delete-other-windows)
6200 (record-window-buffer, unrecord-window-buffer)
6201 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6202 (quit-window, split-window, window-state-put)
6203 (set-window-text-height, fit-window-to-buffer)
6204 (shrink-window-if-larger-than-buffer): Callers changed.
6205
6206 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6207
6208 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6209 rfc2047-decode-string.
6210 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6211 warnings.
6212
6213 * window.el (window-body-height, window-body-width): Mention in
6214 the doc string that the return values are in frame's canonical
6215 units. (Bug#9949)
6216
6217 2011-11-03 Alan Mackenzie <acm@muc.de>
6218
6219 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6220 change in cc-engine.el.
6221
6222 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6225
6226 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6227
6228 * window.el (quit-window): Call unrecord-window-buffer after
6229 showing another buffer in the window. (Bug#9937)
6230 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6231
6232 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6233
6234 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6235 Accept status with more than 9 shelves. (Bug#9935)
6236 Reported by Colin D Bennett <colin@gibibit.com>.
6237
6238 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6239
6240 * help.el (with-help-window): Don't reference
6241 temp-buffer-show-specifiers in doc-string.
6242
6243 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6244
6245 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6246 menu-item.
6247
6248 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6249
6250 * whitespace.el: New version 13.2.2.
6251 (whitespace-newline-mode): Disable properly. Reported by Sarah
6252 <EmacsWiki>.
6253
6254 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6255
6256 * net/newst-treeview.el: Remove "Time-stamp".
6257 (newsticker--group-manage-orphan-feeds): Do not call
6258 newsticker--treeview-tree-update.
6259 (newsticker-treeview-update, newsticker-treeview):
6260 Call newsticker--treeview-tree-update if necessary.
6261
6262 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6263
6264 * window.el (window-iso-combination-p, window-iso-combined-p)
6265 (window-iso-combinations): Remove "iso-" infix.
6266 Suggested by Chong Yidong.
6267 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6268 (window-max-delta-1, window-resize, window--resize-siblings)
6269 (window--resize-this-window, adjust-window-trailing-edge)
6270 (split-window, balance-windows-1)
6271 (shrink-window-if-larger-than-buffer):
6272 * calendar/calendar.el (calendar-generate-window):
6273 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6274
6275 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6278 in place (bug#9907).
6279 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6280 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6281 (eshell-structure-basic-command, eshell-rewrite-while-command)
6282 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6283 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6284 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6285 (eshell-do-pipelines-synchronously, eshell-eval-command):
6286 Use backquotes and prefer setq to set.
6287 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6288 (eshell-macrop): Use functionp.
6289 (eshell-do-eval): Handle multiple expressions in `while' body.
6290
6291 2011-10-30 Chong Yidong <cyd@gnu.org>
6292
6293 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6294 instead of set-mark (Bug#9810).
6295
6296 2011-10-30 Chong Yidong <cyd@gnu.org>
6297
6298 * window.el (split-window-below, split-window-right): Rename from
6299 split-window-above-each-other and split-window-side-by-side
6300 respectively. All callers changed.
6301 (split-window-sensibly, split-window-sensibly): Use them.
6302 (split-window-keep-point): Doc fix.
6303
6304 * isearch.el: Add isearch-scroll property to split-window-below
6305 and split-window-right.
6306
6307 * follow.el (follow-mode):
6308 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6309 * progmodes/ada-xref.el (ada-gdb-application):
6310 * emulation/vip.el (vip-buffer-in-two-windows):
6311 * image-dired.el (image-dired-dired-with-window-configuration):
6312 * dired-x.el (dired-do-find-marked-files):
6313 * dired.el (dired-pop-to-buffer):
6314 * bs.el (bs--show-with-configuration):
6315 * vc/emerge.el (emerge-setup-windows):
6316 * textmodes/two-column.el (2C-two-columns):
6317 * textmodes/reftex-toc.el (reftex-toc):
6318 * progmodes/gdb-mi.el (gdb-setup-windows):
6319 * progmodes/fortran.el (fortran-window-create):
6320 * net/newst-treeview.el (newsticker--treeview-window-init):
6321 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6322 * emulation/tpu-edt.el (tpu-gold-map):
6323 * emulation/crisp.el (crisp-mode-map):
6324 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6325
6326 2011-10-29 Chong Yidong <cyd@gnu.org>
6327
6328 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6329
6330 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6331
6332 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6333 forged Ispell output (Bug#7904).
6334
6335 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6336
6337 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * doc-view.el: Avoid ugly errors about not finding nil.
6340 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6341 (doc-view-dvipdf-program, doc-view-unoconv-program)
6342 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6343 Avoid nil or absolute file name as default value.
6344 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6345
6346 2011-10-28 Alan Mackenzie <acm@muc.de>
6347
6348 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6349
6350 2011-10-28 Alan Mackenzie <acm@muc.de>
6351
6352 Amend the handling of c-beginning/end-of-defun in nested declaration
6353 scopes.
6354
6355 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6356 cc-langs.el. Change it to a defcustom.
6357
6358 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6359 cc-vars.el.
6360
6361 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6362 Prevent "class foo : bar" being spuriously recognized as a label.
6363
6364 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6365 Add parameter `inclusive' (to include enclosing braces in the region).
6366 (c-widen-to-enclosing-decl-scope): New function.
6367 (c-while-widening-to-decl-block): New macro.
6368 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6369 outward for defun boundaries, and correspondingly change symbol
6370 `respect-enclosure' to `go-outward'.
6371 (c-declaration-limits): Change algorithm to report only the "innermost"
6372 defun's boundaries.
6373
6374 2011-10-28 Deniz Dogan <deniz@dogan.se>
6375
6376 * net/rcirc.el (rcirc-mode): Use hard newlines.
6377
6378 2011-10-28 Alan Mackenzie <acm@muc.de>
6379
6380 Amend to indent and fontify macros "which include their own semicolon"
6381 correctly, using the "virtual semicolon" mechanism.
6382
6383 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6384
6385 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6386 Recode to scan one line at a time rather than having \n and \r
6387 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6388 (c-forward-label): Amend for virtual semicolons.
6389 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6390
6391 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6392 of the new C macros.
6393
6394 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6395 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6396 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6397 (c-opt-cpp-macro-define): Make into a full language variable.
6398 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6399 AWK Mode (including \n, \r) removed, no longer needed.
6400
6401 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6402 Invoke c-make-macro-with-semi-re.
6403
6404 * progmodes/cc-vars.el (c-macro-with-semi-re):
6405 (c-macro-names-with-semicolon): New variables.
6406 (c-make-macro-with-semi-re): New function.
6407
6408 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * vc/log-edit.el: Fill empty field rather than adding new one.
6411 (log-edit-add-field): New function.
6412 (log-edit-insert-changelog): Use it.
6413
6414 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6415
6416 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6417
6418 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6421 (gdb--check-interpreter): New function.
6422 (gdb): Use it.
6423
6424 2011-10-27 Glenn Morris <rgm@gnu.org>
6425
6426 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6427 (least-positive-float, least-negative-float)
6428 (least-positive-normalized-float, least-negative-normalized-float)
6429 (float-epsilon, float-negative-epsilon):
6430 Remove unnecessary declarations.
6431
6432 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6433 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6434 (least-positive-float, least-negative-float)
6435 (least-positive-normalized-float, least-negative-normalized-float)
6436 (float-epsilon, float-negative-epsilon): Add doc-strings,
6437 based on those in cl.texi.
6438
6439 * files.el (set-visited-file-name): If the major-mode changed,
6440 reload the local variables. (Bug#9796)
6441
6442 2011-10-27 Chong Yidong <cyd@gnu.org>
6443
6444 * subr.el (change-major-mode-after-body-hook): New hook.
6445 (run-mode-hooks): Run it.
6446
6447 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6448 Use change-major-mode-before-body-hook.
6449
6450 * simple.el (fundamental-mode):
6451 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6452 change introducing fundamental-mode-hook.
6453
6454 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6455
6456 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6457
6458 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * ido.el (ido-file-name-all-completions-1): Do not require
6461 tramp.el explicitly. (Bug#7583)
6462
6463 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * progmodes/octave-mod.el:
6466 * progmodes/octave-inf.el: Update maintainer.
6467
6468 2011-10-26 Chong Yidong <cyd@gnu.org>
6469
6470 * subr.el (with-wrapper-hook): Rewrite doc.
6471
6472 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6473
6474 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6475 filenames "/method:foo:". (Bug#9793)
6476
6477 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6480 (bug#9865).
6481
6482 2011-10-24 Glenn Morris <rgm@gnu.org>
6483
6484 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6485
6486 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * notifications.el: Add the requirement of a running D-Bus session
6489 bus to the Commentary.
6490
6491 2011-10-24 Juri Linkov <juri@jurta.org>
6492
6493 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6494 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6495 (Bug#9364)
6496
6497 2011-10-24 Juri Linkov <juri@jurta.org>
6498
6499 * info.el (Info-following-node-name-re): Add newline to the list
6500 of allowed characters for leading space. (Bug#9824)
6501
6502 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * progmodes/octave-inf.el (inferior-octave-mode-map):
6505 Fix C-c C-h binding.
6506 * progmodes/octave-mod.el (octave-help): Remove.
6507
6508 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6509
6510 Sync with Tramp 2.2.3.
6511
6512 * net/tramp-cache.el (top): Pacify byte-compiler using
6513 `init-file-user' and `site-run-file'.
6514
6515 * net/trampver.el: Update release number.
6516
6517 2011-10-23 Chong Yidong <cyd@gnu.org>
6518
6519 * files.el (toggle-read-only): Remove obsolete comment about
6520 version control.
6521
6522 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6523 for toggle-read-only. Note that this hasn't called vc-next-action
6524 since 2008-05-02, though it wasn't documented at the time.
6525
6526 * vc/ediff-init.el (ediff-toggle-read-only-function):
6527 Use toggle-read-only.
6528
6529 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6530
6531 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6532 of c-parse-state.
6533
6534 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6535 correct faulty logical expression.
6536 (c-parse-state-state, c-record-parse-state-state):
6537 (c-replay-parse-state-state): New defvar/defuns.
6538 (c-debug-parse-state): Use new functions.
6539
6540 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6541
6542 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6543 last fix. Use window-in-direction correctly.
6544
6545 2011-10-21 Chong Yidong <cyd@gnu.org>
6546
6547 * progmodes/idlwave.el (idlwave-mode):
6548 * progmodes/vera-mode.el (vera-mode): No need to set
6549 require-final-newline; that's done in prog-mode.
6550 Suggested by Stefan Monnier.
6551
6552 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6553
6554 * mouse.el (mouse-drag-window-above)
6555 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6556 (mouse-drag-mode-line-1, mouse-drag-header-line)
6557 (mouse-drag-vertical-line-rightward-window): Remove.
6558 (mouse-drag-line): New function.
6559 (mouse-drag-mode-line, mouse-drag-header-line)
6560 (mouse-drag-vertical-line): Call mouse-drag-line.
6561 * window.el (window-at-side-p, windows-at-side): New functions.
6562
6563 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6564
6565 * tar-mode.el (tar-grind-file-mode):
6566 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6567
6568 2011-10-21 Chong Yidong <cyd@gnu.org>
6569
6570 * progmodes/idlwave.el (idlwave-mode):
6571 * progmodes/vera-mode.el (vera-mode):
6572 Use mode-require-final-newline.
6573
6574 2011-10-20 Glenn Morris <rgm@gnu.org>
6575
6576 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6577
6578 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6579
6580 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6581
6582 2011-10-20 Chong Yidong <cyd@gnu.org>
6583
6584 * emulation/cua-base.el (cua-mode):
6585 * mail/footnote.el (footnote-mode):
6586 * mail/mailabbrev.el (mail-abbrevs-mode):
6587 * net/xesam.el (xesam-minor-mode):
6588 * progmodes/bug-reference.el (bug-reference-mode):
6589 * progmodes/cap-words.el (capitalized-words-mode):
6590 * progmodes/compile.el (compilation-minor-mode)
6591 (compilation-shell-minor-mode):
6592 * progmodes/gud.el (gud-tooltip-mode):
6593 * progmodes/hideif.el (hide-ifdef-mode):
6594 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6595 * progmodes/subword.el (subword-mode):
6596 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6597 * progmodes/which-func.el (which-function-mode):
6598 * term/tvi970.el (tvi970-set-keypad-mode):
6599 * term/vt100.el (vt100-wide-mode):
6600 * textmodes/flyspell.el (flyspell-mode):
6601 * textmodes/ispell.el (ispell-minor-mode):
6602 * textmodes/nroff-mode.el (nroff-electric-mode):
6603 * textmodes/paragraphs.el (use-hard-newlines):
6604 * textmodes/refill.el (refill-mode):
6605 * textmodes/reftex.el (reftex-mode):
6606 * textmodes/rst.el (rst-minor-mode):
6607 * textmodes/sgml-mode.el (html-autoview-mode)
6608 (sgml-electric-tag-pair-mode):
6609 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6610 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6611 * emulation/crisp.el (crisp-mode):
6612 * emacs-lisp/eldoc.el (eldoc-mode):
6613 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6614 minor mode behavior.
6615
6616 2011-10-19 Juri Linkov <juri@jurta.org>
6617
6618 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6619 the list of hard-coded chars with escape-glyph face.
6620
6621 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6624
6625 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6628 running process.
6629
6630 2011-10-19 Glenn Morris <rgm@gnu.org>
6631
6632 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6633 Ignore ignored files. (Bug#9726)
6634
6635 2011-10-19 Chong Yidong <cyd@gnu.org>
6636
6637 Doc fix for minor modes, stating that an omitted argument enables
6638 the mode unconditionally when called from Lisp.
6639
6640 * abbrev.el (abbrev-mode):
6641 * allout.el (allout-mode):
6642 * autoinsert.el (auto-insert-mode):
6643 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6644 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6645 (global-auto-revert-mode):
6646 * battery.el (display-battery-mode):
6647 * composite.el (global-auto-composition-mode)
6648 (auto-composition-mode):
6649 * delsel.el (delete-selection-mode):
6650 * desktop.el (desktop-save-mode):
6651 * dired-x.el (dired-omit-mode):
6652 * dirtrack.el (dirtrack-mode):
6653 * doc-view.el (doc-view-minor-mode):
6654 * double.el (double-mode):
6655 * electric.el (electric-indent-mode, electric-pair-mode):
6656 * emacs-lock.el (emacs-lock-mode):
6657 * epa-hook.el (auto-encryption-mode):
6658 * follow.el (follow-mode):
6659 * font-core.el (font-lock-mode):
6660 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6661 * help.el (temp-buffer-resize-mode):
6662 * hilit-chg.el (highlight-changes-mode)
6663 (highlight-changes-visible-mode):
6664 * hi-lock.el (hi-lock-mode):
6665 * hl-line.el (hl-line-mode, global-hl-line-mode):
6666 * icomplete.el (icomplete-mode):
6667 * ido.el (ido-everywhere):
6668 * image-file.el (auto-image-file-mode):
6669 * image-mode.el (image-minor-mode):
6670 * iswitchb.el (iswitchb-mode):
6671 * jka-cmpr-hook.el (auto-compression-mode):
6672 * linum.el (linum-mode):
6673 * longlines.el (longlines-mode):
6674 * master.el (master-mode):
6675 * mb-depth.el (minibuffer-depth-indicate-mode):
6676 * menu-bar.el (menu-bar-mode):
6677 * minibuf-eldef.el (minibuffer-electric-default-mode):
6678 * mouse-sel.el (mouse-sel-mode):
6679 * msb.el (msb-mode):
6680 * mwheel.el (mouse-wheel-mode):
6681 * outline.el (outline-minor-mode):
6682 * paren.el (show-paren-mode):
6683 * recentf.el (recentf-mode):
6684 * reveal.el (reveal-mode, global-reveal-mode):
6685 * rfn-eshadow.el (file-name-shadow-mode):
6686 * ruler-mode.el (ruler-mode):
6687 * savehist.el (savehist-mode):
6688 * scroll-all.el (scroll-all-mode):
6689 * scroll-bar.el (scroll-bar-mode):
6690 * server.el (server-mode):
6691 * shell.el (shell-dirtrack-mode):
6692 * simple.el (auto-fill-mode, transient-mark-mode)
6693 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6694 (line-number-mode, column-number-mode, size-indication-mode)
6695 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6696 * strokes.el (strokes-mode):
6697 * time.el (display-time-mode):
6698 * t-mouse.el (gpm-mouse-mode):
6699 * tool-bar.el (tool-bar-mode):
6700 * tooltip.el (tooltip-mode):
6701 * type-break.el (type-break-mode-line-message-mode)
6702 (type-break-query-mode):
6703 * view.el (view-mode):
6704 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6705 (global-whitespace-mode, global-whitespace-newline-mode):
6706 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6707
6708 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6709 Fix autogenerated docstring.
6710
6711 2011-10-19 Juri Linkov <juri@jurta.org>
6712
6713 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6714 by checking environment variables "DESKTOP_SESSION" and
6715 "XDG_CURRENT_DESKTOP". (Bug#9779)
6716
6717 2011-10-19 Juri Linkov <juri@jurta.org>
6718
6719 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6720 (browse-url-chromium-program, browse-url-chromium-arguments):
6721 New defcustoms.
6722 (browse-url-default-browser): Check for `browse-url-chromium' and
6723 call `browse-url-chromium-program'.
6724 (browse-url-chromium): New command. (Bug#9779)
6725
6726 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * facemenu.el (list-colors-duplicates): On Windows, detect more
6729 duplicates by assuming that only colors matching "^System" are
6730 special "system colors". (Bug#9722)
6731
6732 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6735 to distinguish the author from the committer.
6736
6737 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6738
6739 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6740
6741 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6742
6743 * international/mule.el (sgml-html-meta-auto-coding-function):
6744 Add support for detecting encoding in HTML5 specified only as
6745 <meta charset="UTF-8">. Implementation just makes http-equiv and
6746 content-type parts from HTML4 encoding string optional. (Bug#9716)
6747
6748 2011-10-18 Glenn Morris <rgm@gnu.org>
6749
6750 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6751
6752 2011-10-18 Chong Yidong <cyd@gnu.org>
6753
6754 * faces.el (cursor): Doc fix.
6755
6756 2011-10-17 Chong Yidong <cyd@gnu.org>
6757
6758 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6759
6760 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6761
6762 * dirtrack.el (dirtrack): Support shell buffers with path
6763 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6764
6765 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6766
6767 * json.el: Bump version to 1.3 and note change in History.
6768 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6769
6770 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * comint.el (comint-insert-input, comint-send-input)
6773 (comint-get-old-input-default, comint-backward-matching-input)
6774 (comint-next-prompt): Use nil instead of `input' for field property of
6775 past user input (bug#114).
6776
6777 * minibuffer.el (completion--replace): Inherit surrounding properties
6778 (bug#114).
6779 (minibuffer-complete-and-exit): Use it.
6780
6781 * comint.el (comint--table-subvert): Quote the all-completions output
6782 (bug#9160).
6783
6784 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6785
6786 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6787
6788 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6789 window on right of selected. (Bug#9350) Reword other window
6790 entries and separate them from frame entries.
6791
6792 2011-10-15 Glenn Morris <rgm@gnu.org>
6793
6794 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6795 Doc fixes.
6796
6797 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6798
6799 * net/network-stream.el (network-stream-open-starttls):
6800 Improve detection of failure due to lack of TLS support.
6801
6802 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6803 putting the input text in front and in bold.
6804
6805 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6808
6809 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6810 empty buffer.
6811
6812 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6813 unread-command-events rather than pushing yet-another event.
6814
6815 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6816
6817 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6818 the explanation of the possible choices. Make the options passed
6819 to completing-read shorter.
6820
6821 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6822
6823 * textmodes/flyspell.el (flyspell-large-region): Make sure
6824 extended character mode is used if defined (Bug#1339).
6825
6826 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6827
6828 * simple.el (what-cursor-position): Fix the display of the
6829 character info for LRE, LRO, RLE, and RLO characters by appending
6830 an invisible PDF.
6831
6832 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6835 even in case of error; add debug spec; simplify data flow.
6836 (with-timeout-handler): Remove.
6837
6838 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6839
6840 Fix Bug#6019, Bug#9315.
6841
6842 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6843 complete `buffer-file-name', the local file name part could look
6844 remotely (for example on VMS).
6845
6846 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6847 `tramp-run-real-handler'.
6848 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6849 already quoted by '"'.
6850
6851 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6852 Let `file-name-handler-alist' be nil, the local file name part
6853 could look remotely (for example on VMS).
6854
6855 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6858 from here...
6859 (flyspell-post-command-hook): ...to here.
6860
6861 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6864 if not needed.
6865 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6866 using completion. Protect against "slow" callers.
6867 Remove the "message hack".
6868
6869 2011-10-11 Juri Linkov <juri@jurta.org>
6870
6871 * isearch.el (isearch-lazy-highlight-word): New variable.
6872 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6873 Use it. (Bug#9727)
6874
6875 2011-10-11 Glenn Morris <rgm@gnu.org>
6876
6877 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6878 like f90-previous-statement does.
6879
6880 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6881
6882 * eshell/eshell.el (eshell-command): History should be saved
6883 only in interactive use, to avoid error.
6884
6885 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * minibuffer.el (completion-file-name-table): Fix last change,
6888 i.e. ignore normal errors but not the other ones.
6889
6890 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6891
6892 * window.el (special-display-buffer-names)
6893 (special-display-regexps): Remove some remnants of earlier
6894 changes from doc-strings.
6895 (quit-windows-on): New function.
6896
6897 * vc/vc.el (vc-revert, vc-rollback):
6898 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6899 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6900 (Bug#6183) (Bug#7074) (Bug#7447)
6901
6902 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6903
6904 * window.el (frame-auto-hide-function): Add version tag.
6905 (Bug#9699)
6906
6907 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6908
6909 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6910 condition.
6911
6912 2011-10-09 Leo Liu <sdl.web@gmail.com>
6913
6914 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6915 (Bug#9701)
6916
6917 2011-10-08 Glenn Morris <rgm@gnu.org>
6918
6919 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6920 before the first code statement zero indent. (Bug#9690)
6921
6922 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6923
6924 * simple.el (count-words-region): Always count in the region.
6925 Report the number of lines and characters too.
6926 (count-words): New command, which counts in the buffer if the
6927 region is inactive, as count-words-region used to.
6928 (count-words--message): New function. Handle plurals.
6929 (count-lines-region): Make it an alias for count-words-region.
6930
6931 * bindings.el (esc-map): Replace count-lines-region with
6932 count-words-region.
6933
6934 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6935
6936 * window.el (window--delete): Delete dedicated frame
6937 unconditionally when argument KILL is non-nil. (Bug#9699)
6938 (switch-to-buffer): Fix doc-string typo.
6939
6940 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6941
6942 * eshell/eshell.el (eshell-command): Avoid using hooks.
6943
6944 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6945
6946 * bindings.el ([M-left],[M-right]): Bind to left-word and
6947 right-word respectively.
6948
6949 2011-10-07 Glenn Morris <rgm@gnu.org>
6950
6951 * cus-start.el (debug-on-quit): Fix custom type.
6952
6953 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6954
6955 * subr.el (define-key-after): Clarify that the function is not
6956 useful for non-menu keymaps.
6957
6958 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6959
6960 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6961
6962 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6963 in current minibuffer (Fix bug with recursive minibuffers).
6964
6965 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6966
6967 * progmodes/gdb-mi.el (gdb): Doc fix.
6968
6969 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6970
6971 * window.el (frame-auto-hide-function): New option replacing
6972 frame-auto-delete. Suggested by Stefan Monnier.
6973 (window--delete): Call frame-auto-hide-function instead of
6974 investigating frame-auto-delete.
6975 (window-point-1, set-window-point-1): New functions.
6976 (window-in-direction, record-window-buffer, window-state-get-1)
6977 (display-buffer-record-window): Use window-point-1 instead of
6978 window-point.
6979 (set-window-buffer-start-and-point): Use set-window-point-1.
6980
6981 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6984
6985 2011-10-05 Glenn Morris <rgm@gnu.org>
6986
6987 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6988 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6989
6990 2011-10-05 Leo Liu <sdl.web@gmail.com>
6991
6992 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6993 works with buffer object.
6994
6995 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * mpc.el (mpc-tool-bar-map): Add labels.
6998
6999 2011-10-04 Glenn Morris <rgm@gnu.org>
7000
7001 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7002
7003 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7004
7005 * window.el (window--delete): New function.
7006 (frame-auto-delete): Resuscitate option.
7007 (bury-buffer, replace-buffer-in-windows)
7008 (quit-window): Rewrite using window--delete.
7009 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7010 Pass display-buffer-mark-dedicated to window--display-buffer-2
7011 (Bug#9639).
7012
7013 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7016 returns a list (bug#9554). Add remote file name completion.
7017 * comint.el (comint--table-subvert): Curry and get quote&unquote
7018 functions as arguments.
7019 (comint--complete-file-name-data): Adjust call accordingly.
7020 * pcomplete.el (pcomplete--table-subvert): Remove.
7021 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7022
7023 * minibuffer.el (completion-table-case-fold): Use currying.
7024 (completion--styles-type, completion--cycling-threshold-type):
7025 New constants.
7026 (completion-styles, completion-category-overrides)
7027 (completion-cycle-threshold): Use them.
7028 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7029 completion-table-case-fold.
7030
7031 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7032
7033 * minibuffer.el (completion-category-overrides): Fix type of styles
7034 and add more user friendly tags (bug#9660).
7035
7036 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7039 (mule-input-method-string): New widget.
7040 (default-input-method, language-info-custom-alist): Use it.
7041
7042 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * pcomplete.el: Require comint.
7045 (pcomplete--common-suffix): Remove.
7046 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7047 (pcomplete--table-subvert): Sync with comint--table-subvert.
7048 (pcomplete--entries): Use comint-completion-file-name-table.
7049 * comint.el (comint-unquote-filename): Simplify.
7050 (comint-completion-file-name-table): New function (bug#9616).
7051 (comint--complete-file-name-data): Use it.
7052
7053 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7054 (pcmpl-gnu-tar-buffer): Remove.
7055 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7056 around. Make sure pcomplete-suffix-list is only changed temporarily.
7057 Don't look inside the tar's file if it's too large.
7058
7059 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7060
7061 * cus-edit.el (custom-mode-map):
7062 * epa.el (epa-key-list-mode-map):
7063 * man.el (Man-mode-map):
7064 * startup.el (splash-screen-keymap):
7065 * simple.el (special-mode-map): Use scroll-up-command and
7066 scroll-down-command.
7067
7068 * progmodes/idlw-help.el (idlwave-help-mode-map):
7069 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7070 * net/newst-plainview.el (newsticker-mode-map):
7071 * emulation/ws-mode.el (wordstar-mode-map):
7072 * emulation/vi.el (vi-com-map):
7073 * calc/calc-graph.el (calc-graph-show-dumb):
7074 * term/sun.el (terminal-init-sun):
7075 * term/ns-win.el (global-map):
7076 * progmodes/grep.el (grep-mode-map):
7077 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7078 * mail/rmail.el (rmail-mode-map):
7079 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7080
7081 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7082 custom-safe-themes as special.
7083
7084 2011-10-01 Julien Danjou <julien@danjou.info>
7085
7086 * notifications.el (notifications-notify): Fix docstring.
7087
7088 2011-10-01 Per Starbäck <per@starback.se>
7089
7090 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7091
7092 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7093
7094 * startup.el (command-line-1): Fix last fix by inserting
7095 initial-scratch-message into *scratch* before displaying it.
7096 (Bug#9605) and (Bug#9636)
7097
7098 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7099
7100 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7101 window is hscrolled, move by logical lines. (Bug#9607)
7102 (line-move-visual): Update the doc string to the above effect.
7103
7104 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7105
7106 * window.el (display-buffer-record-window): When WINDOW is the
7107 selected window use `point' instead of `window-point'. (Bug#9626)
7108
7109 * startup.el (command-line-1): Use insert-before-markers when
7110 inserting initial-scratch-message. (Bug#9605)
7111
7112 * help.el (help-window): Remove variable.
7113
7114 2011-09-29 Glenn Morris <rgm@gnu.org>
7115
7116 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7117
7118 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7119
7120 * descr-text.el (describe-char-categories): Accept category
7121 descriptions more than one line long.
7122
7123 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * simple.el (delete-trailing-whitespace): Fix last change.
7126
7127 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7128 Don't confuse "y => 3" as the beginning of a `y' operation.
7129
7130 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7131 object has more than 4 slots (bug#9613).
7132
7133 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * subr.el (with-output-to-temp-buffer):
7136 * net/quickurl.el (quickurl, quickurl-browse-url):
7137 Fix typos in docstrings.
7138
7139 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7140
7141 * minibuffer.el (completion-styles)
7142 (completion-category-overrides): Cross reference each other in doc
7143 strings.
7144
7145 2011-09-27 Glenn Morris <rgm@gnu.org>
7146
7147 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7148 to split-string. (Bug#9606)
7149
7150 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7151
7152 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7153 (bug#9615).
7154
7155 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7156
7157 * emacs-lisp/package.el (list-packages): Fix echo area message.
7158
7159 2011-09-27 Leo Liu <sdl.web@gmail.com>
7160
7161 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7162
7163 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7164
7165 * net/dbus.el (dbus-unregister-object): Don't release services for
7166 registered signals. (Bug#9581)
7167
7168 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7169
7170 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7171 function that picks between cfengine 2 and 3 support
7172 automatically. Update docs accordingly.
7173
7174 2011-09-22 Kenichi Handa <handa@m17n.org>
7175
7176 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7177 ZERO.
7178 (indian-itrans-v5-table-for-tamil): New variable.
7179 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7180
7181 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7182
7183 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7184 that's true if the current command involved collapsing of text.
7185 It's reset to false at the beginning of the next command.
7186 (allout-post-command-business): Move the cursor to the beginning
7187 of entry if the cursor is hidden and collapsing activity just
7188 happened.
7189
7190 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7191
7192 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7193 tracking (Bug#9541).
7194
7195 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7196
7197 * net/newst-reader.el (newsticker-html-renderer)
7198 (newsticker-show-news): Automatically load html rendering package
7199 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7200 because w3m-fill-column is let-bound" and the error "Symbol's value
7201 as variable is void: w3m-fill-column".
7202
7203 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7204
7205 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7206 Release services only if they are defined. (Bug#9581)
7207
7208 2011-09-23 Richard Stallman <rms@gnu.org>
7209
7210 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7211 distinguish start of paragraph from start of its text.
7212
7213 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7214
7215 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7216 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7217 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7218
7219 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7220
7221 * international/mule-diag.el (mule-diag): Insert a newline after
7222 each fontset description.
7223
7224 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * simple.el (delete-trailing-whitespace):
7227 Document last change; simplify.
7228
7229 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7230
7231 * simple.el (delete-trailing-whitespace): Also delete
7232 extra newlines at the end of the buffer.
7233
7234 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7235 (picture-newline): Use forward-line so as to ignore fields.
7236
7237 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 * subr.el (with-wrapper-hook): Fix edebug spec.
7240
7241 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242
7243 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7244 (bug#4538).
7245
7246 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7247
7248 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7249 Fix nasty bug using wrong cached values.
7250
7251 2011-09-23 Alan Mackenzie <acm@muc.de>
7252
7253 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7254
7255 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7256
7257 * window.el (pop-to-buffer): Ensure right window is selected if we
7258 chose another frame.
7259
7260 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7261
7262 * simple.el (what-cursor-position): Use get-char-property-change
7263 and next-single-char-property-change, to be able to show display
7264 properties that come from overlays as well as text properties.
7265
7266 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7269
7270 * cmuscheme.el (run-scheme, switch-to-scheme):
7271 * cus-edit.el (customize-group, custom-buffer-create)
7272 (customize-browse):
7273 * info.el (info):
7274 * shell.el (shell):
7275 * mail/sendmail.el (mail):
7276 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7277
7278 2011-09-22 Richard Stallman <rms@gnu.org>
7279
7280 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7281 move back only to line beg, don't move back over blank lines.
7282
7283 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7284
7285 * files.el (copy-directory): Set directory attributes only in case
7286 they could be retrieved from the source directory. (Bug#9565)
7287
7288 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7289
7290 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7291 (hs-find-block-beginning, hs-hide-level-recursive):
7292 Ignore strings as well as comments. (Bug#9502)
7293
7294 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7295
7296 * progmodes/sql.el (sql-comint-postgres):
7297 Convert port number to a string. (Bug#9566)
7298
7299 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7300
7301 * window.el (quit-window): Undedicate window when switching to
7302 previous buffer. Reported by Thierry Volpiatto
7303 <thierry.volpiatto@gmail.com>.
7304 (special-display-popup-frame): When popping up a new frame reset
7305 its previous buffers to nil. Simplify code.
7306
7307 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7308
7309 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7310 and process filter, as done also in `shell-command'.
7311
7312 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7313
7314 * window.el (set-window-buffer-start-and-point):
7315 Call set-window-start with NOFORCE argument t.
7316 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7317 (quit-window): Reword doc-string. Handle new format of
7318 quit-restore parameter. Don't delete window if it has a
7319 previous buffer we can show instead of the present one.
7320 (display-buffer-record-window): Rewrite using a new format for
7321 the quit-restore window parameter
7322 (special-display-popup-frame, display-buffer-same-window)
7323 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7324 (display-buffer-pop-up-window, display-buffer-use-some-window):
7325 Adapt symbol passed to display-buffer-record-window.
7326 * help.el (help-window-setup): Handle new format of quit-restore
7327 parameter.
7328
7329 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * faces.el (face-list): Fix docstring (bug#9564).
7332
7333 * window.el (display-buffer--action-function-custom-type):
7334 Don't include internal functions in the Custom interface.
7335
7336 2011-09-20 Juri Linkov <juri@jurta.org>
7337
7338 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7339 (Info-forward-node, Info-backward-node, Info-next-preorder)
7340 (Info-last-preorder): Use it. (Bug#9528)
7341
7342 2011-09-20 Juri Linkov <juri@jurta.org>
7343
7344 * info.el (Info-last-preorder): Visit last menu item only when
7345 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7346
7347 2011-09-20 Julien Danjou <julien@danjou.info>
7348
7349 * password-cache.el (password-cache-remove): Remove entries even if the
7350 value is nil, so that password with a nil value (negative caching) is
7351 possible to invalidate.
7352
7353 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7354
7355 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7356 all whitespace around breakpoint. (Bug#9553)
7357 (f90-find-breakpoint): Only break at whitespace inside a comment.
7358
7359 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * minibuffer.el (completion-file-name-table): Keep track of errors.
7362 (completion-table-with-predicate): Handle the case where pred1 is nil.
7363 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7364
7365 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7368 (debugger-return-value): Signal an error if the debugging context does
7369 not await any return value.
7370
7371 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7372 * image-mode.el (image-toggle-display-text)
7373 (image-toggle-display-image): Stay away from evil `intangible'.
7374
7375 2011-09-19 Leo Liu <sdl.web@gmail.com>
7376
7377 * replace.el (occur-revert-arguments): Make it permanent-local.
7378 (occur-mode): Don't call font-lock-defontify.
7379
7380 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7381
7382 * net/ldap.el (ldap-search-internal): Don't push empty search
7383 result (Bug#9508).
7384
7385 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7388
7389 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7392 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7393
7394 2011-09-18 Juri Linkov <juri@jurta.org>
7395
7396 * buff-menu.el (Buffer-menu-mode-map):
7397 * dired.el (dired-mode-map):
7398 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7399 (lisp-interaction-mode-map):
7400 * emacs-lisp/package.el (package-menu-mode-map):
7401 * epa.el (epa-key-list-mode-map):
7402 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7403 (menu-bar-options-menu):
7404 * outline.el (outline-mode-menu-bar-map):
7405 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7406 * vc/vc-dir.el (vc-dir-menu-map):
7407 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7408 Capitalize non-function content words in menu item strings.
7409
7410 * dired.el (dired-mode-map): Add menu item for
7411 `image-dired-dired-toggle-marked-thumbs'.
7412
7413 2011-09-18 Juri Linkov <juri@jurta.org>
7414
7415 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7416 to `isearch-case-fold-search' and restore its original value
7417 after the `isearch-mode' call.
7418
7419 2011-09-18 Juri Linkov <juri@jurta.org>
7420
7421 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7422 because `zgrep' returns 1 for successful matches (bug#9226).
7423
7424 2011-09-18 Juri Linkov <juri@jurta.org>
7425
7426 * info.el (Info-extract-menu-node-name): Check the second match
7427 for empty string (second test-case of bug#9528).
7428 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7429 intermediate nodes to the history (first test-case of bug#9528).
7430
7431 2011-09-18 Juri Linkov <juri@jurta.org>
7432
7433 * info.el (Info-mode-syntax-table): New variable.
7434 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7435
7436 2011-09-18 Juri Linkov <juri@jurta.org>
7437
7438 * info.el (Info-file-supports-index-cookies):
7439 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7440 outputs one more line for long file names (bug#4142).
7441
7442 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7443
7444 * newcomment.el (comment-normalize-vars): If prompting for
7445 comment-start, set comment-start-skip too (Bug#8424).
7446
7447 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7448
7449 * icomplete.el: Fix previous fix of Bug#5849.
7450 (icomplete-mode): Don't set completion-show-inline-help.
7451 (icomplete-minibuffer-setup): Set completion-show-inline-help
7452 locally during icompletion.
7453
7454 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7455
7456 * woman.el (woman2-process-escapes): Don't delete unrecognized
7457 escapes (Bug#7843).
7458
7459 * files.el (inhibit-first-line-modes-regexps): Add image files.
7460 (hack-local-variables-prop-line): Return nil for malformed
7461 prop-lines (Bug#9044).
7462
7463 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7464
7465 * net/tramp.el (top): Don't require 'shell.
7466 (tramp-methods): Fix docstring.
7467 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7468 Return complete remote file name. Handle "smb" case.
7469 Use `tramp-tmpdir', if defined for the respective method.
7470 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7471
7472 * net/tramp-compat.el (top): Require 'shell.
7473
7474 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7475 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7476 `tramp-current-host'.
7477 (tramp-get-remote-tmpdir): Remove.
7478
7479 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7480 `tramp-tmpdir' entries.
7481 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7482 (tramp-smb-handle-file-attributes): Ignore errors.
7483 (tramp-smb-wait-for-output): Check also for process end.
7484
7485 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7486
7487 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7488 when sending QUIT (bug#9312).
7489
7490 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7491
7492 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7493 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7494 occur-mode-display-occurrence.
7495 (occur-edit-mode): Add usage message.
7496 (occur-cease-edit): New command.
7497 (occur-after-change-function): Use text properties to find the
7498 position of the prefix text.
7499 (occur-engine): Set stickiness of prefix text properties.
7500
7501 2011-09-17 Glenn Morris <rgm@gnu.org>
7502
7503 * progmodes/etags.el (complete-tag):
7504 Fix call to completion-in-region. (Bug#9526)
7505
7506 2011-09-17 Juri Linkov <juri@jurta.org>
7507
7508 * textmodes/ispell.el (ispell-word): Add to the error message
7509 the word, ispell program name and current dictionary (bug#9121).
7510 (ispell-tex-arg-end): Capitalize "error" in the error message.
7511
7512 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7513
7514 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7515 check. (Bug#4251)
7516
7517 2011-09-17 Juri Linkov <juri@jurta.org>
7518
7519 * window.el (window-safe-min-height, window-safe-min-width):
7520 Fix typos (followup to bug#9522).
7521
7522 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7523
7524 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7525
7526 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7527
7528 * simple.el (line-move): If goal-column is set, move by logical
7529 lines, not by display lines. (Bug#971)
7530 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7531 to reflect the above change.
7532
7533 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * image.el (imagemagick-register-types): Use regexp-opt.
7536
7537 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7538
7539 * window.el (display-buffer-base-action): Rename from
7540 display-buffer-default-action. Make default value empty.
7541 (display-buffer-overriding-action): Convert to defvar.
7542 (display-buffer-fallback-action): New var.
7543
7544 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7545
7546 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7547 declaration.
7548 (package--add-to-archive-contents): If there is a duplicate entry
7549 with an older version, remove it.
7550 (package-menu-mark-delete, package-menu-mark-install)
7551 (package-menu-mark-unmark): Make unused args optional.
7552 (package-menu-mark-obsolete-for-deletion):
7553 Use package-menu-get-status instead of a regexp search.
7554 (package-menu-get-status): Use tabulated-list-entry.
7555 (package-menu-mark-upgrades): New command.
7556 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7557 (package-menu-execute): Do installation before deletion.
7558 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7559 instead of checking major-mode.
7560 (package-menu--find-upgrades): New function.
7561
7562 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563
7564 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7565 passwords in the log buffer.
7566 (smtpmail-process-filter): Update the process marker so that the
7567 "broken by peer" status message is inserted in the right place.
7568
7569 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7572 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7573 bibtex-completion-at-point-function.
7574 (bibtex-completion-at-point-function): Use them.
7575
7576 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7577
7578 * mpc.el (mpc-constraints-tag-lookup): New function.
7579 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7580 also to browser "album|playlist".
7581
7582 2011-09-14 Juri Linkov <juri@jurta.org>
7583
7584 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7585 (isearch-edit-string): Use length of `isearch-string' when
7586 `isearch-fail-pos' returns nil.
7587 (isearch-message): Remove duplicate code and call
7588 `isearch-fail-pos' with arg `t'.
7589
7590 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7591
7592 * replace.el (occur-mode-goto-occurrence): Don't force using other
7593 window (Bug#9499).
7594
7595 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7596
7597 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7598
7599 * window.el (display-buffer-window): Remove.
7600 (display-buffer-record-window): Use help-setup window parameter
7601 instead of variable display-buffer-window.
7602 (display-buffer-function, special-display-buffer-names)
7603 (special-display-function): Mention help-setup parameter instead
7604 of display-buffer-window in doc-string.
7605 * help.el (help-window-setup): New argument help-window.
7606 Use help-window-setup parameter instead of display-buffer-window.
7607 Reword some messages.
7608 (with-help-window): Pass window used for displaying the buffer
7609 to help-window-setup. Don't set display-buffer-window.
7610
7611 2011-09-13 Glenn Morris <rgm@gnu.org>
7612
7613 * emacs-lisp/debug.el (debugger-make-xrefs):
7614 Preserve point. (Bug#9462)
7615
7616 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7617
7618 * window.el (window-deletable-p): Use next-frame.
7619
7620 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7621
7622 * window.el (window-auto-delete): Remove.
7623 (window-deletable-p): Remove argument FORCE. Don't deal with
7624 dedication and previous buffers.
7625 (switch-to-prev-buffer): Don't delete window.
7626 (delete-windows-on): Delete a window's frame if and only if the
7627 window is dedicated.
7628 (replace-buffer-in-windows): Delete buffer's window or frame if
7629 and only if window is dedicated.
7630 (quit-window): Handle quit-restore as before last change.
7631 (bury-buffer): Delete window only if window-deletable-p returns t.
7632
7633 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7634
7635 * window.el (window-deletable-p): Never delete the last frame on a
7636 given terminal.
7637
7638 2011-09-13 Glenn Morris <rgm@gnu.org>
7639
7640 * help.el (describe-key-briefly): Copy previous standard-output change.
7641
7642 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7643
7644 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7645
7646 2011-09-13 Glenn Morris <rgm@gnu.org>
7647
7648 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7649 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7650
7651 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7652
7653 * dired-aux.el (dired-mark-read-string): Don't return default
7654 value on empty input (Bug#9361).
7655 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7656 Omit initial minibuffer contents.
7657 (dired-do-chmod): Signal an error on empty input.
7658 (dired-mark-read-string): Don't return default on empty input.
7659
7660 * files.el (file-modes-symbolic-to-number): Doc fix.
7661
7662 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * international/mule-cmds.el (ucs-completions): Remove.
7665 (read-char-by-name): Use complete-with-action instead; add metadata.
7666
7667 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7668
7669 * window.el (display-buffer--action-function-custom-type)
7670 (display-buffer--action-custom-type): New vars.
7671 (display-buffer-alist, display-buffer-default-action)
7672 (display-buffer-overriding-action): Add defcustom types.
7673
7674 * frame.el (delete-other-frames): Doc fix (Bug#276).
7675
7676 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7677
7678 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7679
7680 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7681
7682 Change modes that used same-window-* vars to use switch-to-buffer.
7683
7684 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7685 Use switch-to-buffer.
7686
7687 * cus-edit.el (customize-group, custom-buffer-create)
7688 (customize-browse, custom-buffer-create-other-window):
7689 Use switch-to-buffer or switch-to-buffer-other-window.
7690
7691 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7692 (Info-prev, Info-up, Info-speedbar-goto-node)
7693 (info-display-manual): Use switch-to-buffer.
7694 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7695
7696 * mail/sendmail.el (mail): Use switch-to-buffer.
7697 (mail-recover): Use switch-to-buffer-other-window.
7698
7699 * cmuscheme.el (run-scheme, switch-to-scheme):
7700 * ielm.el (ielm):
7701 * shell.el (shell):
7702 * net/rlogin.el (rlogin):
7703 * net/telnet.el (telnet, rsh):
7704 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7705
7706 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7707
7708 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7709
7710 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711
7712 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7713 so don't mention it (bug#9301).
7714 (dired-sort-toggle-or-edit): Clarify string further.
7715
7716 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7717 match `x', `w32' and `ns', like the manual says (bug#9029).
7718
7719 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7720 (process-kill-buffer-query-function): Mention the buffer name in
7721 the query.
7722
7723 * image-mode.el (image-next-line): The line parameter is mandatory
7724 (bug#9258).
7725
7726 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7727 which can be useful (bug#9301).
7728
7729 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7730
7731 * subr.el (match-string): Mention that the current buffer should
7732 be the same as the search was done in (bug#9282).
7733
7734 * facemenu.el: Disable the remove-* commands if the mark isn't
7735 active (bug#9162).
7736
7737 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7738
7739 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7740 of display-buffer.
7741 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7742
7743 * replace.el (occur-mode-goto-occurrence)
7744 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7745 and display-buffer.
7746
7747 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7748 display-buffer.
7749
7750 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7751 special-display and same-window variables.
7752 (mail-other-window): Use switch-to-buffer-other-window.
7753 (mail-other-frame): USe switch-to-buffer-other-frame.
7754
7755 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7756 Use display-buffer-other-frame.
7757 (gdb-display-gdb-buffer): Use pop-to-buffer.
7758
7759 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7760
7761 * progmodes/python.el: Don't set same-window-buffer-names.
7762
7763 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7764
7765 * window.el (display-buffer-alist): Add *Python*.
7766
7767 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7768
7769 * window.el (display-buffer-alist): Add entry for buffers
7770 previously handled same-window-*.
7771 (display-buffer-alist, display-buffer-default-action)
7772 (display-buffer-overriding-action): Mark as risky.
7773 (display-buffer-alist): Document action function changes.
7774 (display-buffer--same-window-action)
7775 (display-buffer--other-frame-action): New variables.
7776 (switch-to-buffer, display-buffer-other-frame): Use them.
7777 (display-buffer): Rename reuse-frame entry to reusable-frames.
7778 (display-buffer-reuse-selected-window): Function deleted.
7779 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7780 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7781 (display-buffer-special): New function.
7782 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7783 display-buffer-reuse-or-pop-window. Split off special-display
7784 part into display-buffer-special.
7785 (display-buffer-use-some-window): Don't perform any special
7786 pop-up-frames handling.
7787 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7788 (display-buffer--maybe-same-window): Rename from
7789 display-buffer-maybe-same-window.
7790
7791 * info.el: Don't set same-window-regexps.
7792 (info-setup): New function.
7793 (info-other-window, info): Call it.
7794
7795 * cus-edit.el: Don't set same-window-regexps.
7796 (customize-group): New argument.
7797 (customize-group-other-window): Use it.
7798 (customize-face, customize-face-other-window): Likewise.
7799 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7800
7801 * net/rlogin.el:
7802 * net/telnet.el:
7803 * progmodes/gud.el: Don't set same-window-regexps.
7804
7805 * cmuscheme.el:
7806 * ielm.el:
7807 * shell.el:
7808 * mail/sendmail.el:
7809 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7810
7811 2011-09-10 Juri Linkov <juri@jurta.org>
7812
7813 * isearch.el (isearch-edit-string): Remove obsolete mention of
7814 `C-w' (`isearch-yank-word-or-char') from docstring.
7815 (isearch-query-replace): Fix typo in docstring (bug#9466).
7816
7817 2011-09-10 Juri Linkov <juri@jurta.org>
7818
7819 * paren.el (show-paren-function): Don't show escaped parens.
7820 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7821
7822 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7823
7824 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7825 (mm-default-file-encoding): Remove autoload forms, they are
7826 replaced with autoload cookies in mml.el and mm-encode.el.
7827 (mail-add-attachment): New command.
7828 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7829 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7830 the doc string.
7831 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7832
7833 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7834
7835 * simple.el (count-words-region): Use buffer if there's no region
7836 (bug#9429).
7837
7838 2011-09-09 Juri Linkov <juri@jurta.org>
7839
7840 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7841 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7842 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7843
7844 2011-09-09 Alan Mackenzie <acm@muc.de>
7845
7846 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7847 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7848
7849 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7850
7851 Fix for Savannah bug#9392.
7852 * simple.el (mail-encode-mml): New defvar.
7853
7854 * mail/rmail.el (mail-encode-mml): Add a defvar.
7855 (rmail-enable-mime-composing): Default to t.
7856 (rmail-forward): Use MIME method of forwarding only if both
7857 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7858 Set mail-encode-mml non-nil if the MIME method was used.
7859
7860 * mail/sendmail.el (mml-to-mime): Add autoload form.
7861 (mail-encode-mml): Add a defvar.
7862 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7863 to nil.
7864 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7865 message through mml-to-mime, and reset mail-encode-mml to nil.
7866
7867 2011-09-09 Glenn Morris <rgm@gnu.org>
7868
7869 * woman.el (woman-if-body): When processing an .el block,
7870 do not delete the next .el block as well. (Bug#9447)
7871 (woman-special-characters): Add oq, cq, and hy characters.
7872
7873 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (window-deletable-p): Make sure window is live before
7876 invoking window-prev-buffers.
7877
7878 2011-09-08 Leo Liu <sdl.web@gmail.com>
7879
7880 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7881
7882 2011-09-08 Juri Linkov <juri@jurta.org>
7883
7884 * progmodes/compile.el (compilation-environment): Make it
7885 a defcustom (bug#8340).
7886
7887 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7888
7889 * window.el (frame-auto-delete): Rename to window-auto-delete.
7890 Make it control auto-deletion of windows and/or frames.
7891 (window-deletable-p): New argument FORCE. Rewrite conditions
7892 for deleting window/frame. (Bug#9419)
7893 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7894 Rewrite handling of case when window/frame can be deleted.
7895 (delete-windows-on): Call window-deletable-p with new FORCE
7896 argument t. (Bug#9456)
7897
7898 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * help-mode.el (help-mode): Restore autoload.
7901
7902 2011-09-07 Juri Linkov <juri@jurta.org>
7903
7904 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7905 `compilation-environment'. Set buffer-local
7906 `compilation-environment' to `thisenv' later after (funcall mode).
7907 (Bug#8340)
7908
7909 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7910 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7911 instead of replacing its value. (Bug#8340)
7912
7913 2011-09-07 Juri Linkov <juri@jurta.org>
7914
7915 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7916 based on text properties put by `grep-filter' instead of matching
7917 escape sequences.
7918 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7919 to the value of `grep-error-screen-columns' (bug#9438).
7920
7921 2011-09-07 Juri Linkov <juri@jurta.org>
7922
7923 * simple.el (next-error-highlight, next-error-highlight-no-select):
7924 Doc fix (bug#9432).
7925
7926 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7927
7928 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7929 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7930
7931 2011-09-07 Leo Liu <sdl.web@gmail.com>
7932
7933 * net/rcirc.el (rcirc-mode): Conditionally initialize
7934 rcirc-input-ring.
7935
7936 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emacs-lisp/find-func.el (find-function-C-source): Only set
7939 find-function-C-source-directory after checking that we found a source
7940 file there (bug#9440).
7941
7942 2011-09-06 Alan Mackenzie <acm@muc.de>
7943
7944 * isearch.el (isearch-other-meta-char): Wherever a key list is
7945 unread, "unread" the prefix arg, too. This fixes bug #8901.
7946
7947 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7948
7949 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7950
7951 2011-09-05 Juri Linkov <juri@jurta.org>
7952
7953 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7954
7955 2011-09-05 Juri Linkov <juri@jurta.org>
7956
7957 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7958 keeping point where processing of grep matches begins, and
7959 continue to delete remaining escape sequences from the same point.
7960 (grep-filter): Make leading zero optional in "0?1;31m" because
7961 git-grep emits "\033[1;31m" escape sequences unlike expected
7962 "\033[01;31m" as GNU Grep does (bug#9408).
7963 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7964
7965 2011-09-05 Juri Linkov <juri@jurta.org>
7966
7967 * subr.el (y-or-n-p): Capitalize "yes".
7968
7969 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7970
7971 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7972 `tramp-cache-unload-hook' where appropriate.
7973 (tramp-methods): Rename `tramp-remote-sh' to
7974 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7975 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7976
7977 * net/tramp-sh.el (top): Don't require 'shell.
7978 (tramp-methods): Add `tramp-remote-shell' and
7979 `tramp-remote-shell-args' entries.
7980 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7981 (tramp-sh-handle-shell-command): Remove.
7982 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7983 Use `tramp-remote-shell'.
7984
7985 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7986
7987 * mail/sendmail.el (sendmail-query-once-function): Delete.
7988 (sendmail-query-once): Save directly to send-mail-function.
7989 Update message-send-mail-function too.
7990
7991 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7992
7993 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7994
7995 * progmodes/python.el (python-mode-map): Use correct function to
7996 start python interpreter from menu-bar (as reported by Geert
7997 Kloosterman).
7998 (inferior-python-mode-map): Fix typo.
7999 (python-shell-map): Remove.
8000
8001 2011-09-03 Deniz Dogan <deniz@dogan.se>
8002
8003 * net/rcirc.el (rcirc-print): Simplify code for
8004 rcirc-scroll-show-maximum-output. There is no need to walk
8005 through all windows to find the right one.
8006
8007 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8008
8009 * help.el (help-return-method): Doc fix.
8010
8011 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (window-deletable-p): Don't return a non-nil value
8014 when there's a buffer that was shown in the window before.
8015 (Bug#9419)
8016 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8017 Set window's previous buffers to nil.
8018
8019 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8020
8021 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8022 newline before and after the tag line, so it doesn't interfere
8023 with determining the paragraph direction of bidirectional text.
8024
8025 2011-09-03 Leo Liu <sdl.web@gmail.com>
8026
8027 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8028
8029 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8030
8031 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8032 (pop-to-buffer): Change interactive spec. Pass second argument
8033 directly to display-buffer.
8034 (display-buffer): Fix interactive spec. Use functionp to
8035 distinguish between a function and a list of functions.
8036
8037 * abbrev.el (edit-abbrevs):
8038 * arc-mode.el (archive-extract):
8039 * autoinsert.el (auto-insert):
8040 * bookmark.el (bookmark-bmenu-list):
8041 * files.el (find-file):
8042 * view.el (view-buffer):
8043 * progmodes/compile.el (compilation-goto-locus):
8044 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8045
8046 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8047
8048 * window.el (display-buffer-alist): Doc fix.
8049 (display-buffer): Add docstring. Don't treat
8050 display-buffer-default specially.
8051 (display-buffer-reuse-selected-window)
8052 (display-buffer-same-window, display-buffer-maybe-same-window)
8053 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8054 (display-buffer-pop-up-window)
8055 (display-buffer-reuse-or-pop-window)
8056 (display-buffer-use-some-window): New functions.
8057 (display-buffer-default-action): Use them.
8058 (display-buffer-default): Delete.
8059 (pop-to-buffer-1): Fix choice of actions.
8060
8061 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * minibuffer.el (completion--insert-strings): Don't get confused by
8064 completion entries that end with an LF char.
8065
8066 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8067
8068 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8069
8070 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8071
8072 * window.el (display-buffer): Restore interactive spec.
8073 (display-buffer-same-window, display-buffer-other-window):
8074 New functions.
8075 (pop-to-buffer-1): New function. Use the above.
8076 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8077 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8078
8079 * view.el (view-buffer-other-window, view-buffer-other-frame):
8080 Just use pop-to-buffer.
8081
8082 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8083
8084 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8085
8086 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8087
8088 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8089
8090 2011-08-31 Richard Stallman <rms@gnu.org>
8091
8092 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8093 of the separation of rmail-view-buffer from rmail-buffer.
8094 If you say no to "replace original", the decrypt is in the
8095 view buffer. If you say yes, the decrypt goes into the
8096 rmail buffer also.
8097
8098 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8099
8100 * window.el (display-buffer-window): Rewrite doc-string.
8101 (display-buffer-record-window): New function.
8102 (display-buffer-macro-specifiers)
8103 (display-buffer-even-window-sizes, display-buffer-set-height)
8104 (display-buffer-set-width, display-buffer-in-window)
8105 (display-buffer-reuse-window, display-buffer-split-specifiers)
8106 (display-buffer-side-specifiers, display-buffer-split-window-1)
8107 (display-buffer-split-window, display-buffer-split-atom-window)
8108 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8109 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8110 (display-buffer-other-window-means-other-frame)
8111 (display-buffer-normalize-special)
8112 (display-buffer-normalize-default)
8113 (display-buffer-normalize-argument)
8114 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8115 (display-buffer-normalize-specifiers, display-buffer-frame)
8116 (display-buffer-same-window, display-buffer-same-frame)
8117 (display-buffer-other-window)
8118 (display-buffer-same-frame-other-window)
8119 (display-buffer-other-frame, pop-to-buffer-same-window)
8120 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8121 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8122 (switch-to-buffer-same-frame)
8123 (switch-to-buffer-other-window-same-frame)
8124 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8125 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8126 (display-buffer-alist-set): Remove.
8127 (display-buffer-function, special-display-buffer-names)
8128 (special-display-regexps, special-display-function):
8129 In doc-string refer to display-buffer-window and quit-restore
8130 parameter.
8131 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8132 (special-display-frame-alist, special-display-popup-frame)
8133 (same-window-buffer-names, same-window-regexps, same-window-p)
8134 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8135 (split-window-preferred-function, split-height-threshold)
8136 (split-width-threshold, window-splittable-p)
8137 (split-window-sensibly, window--try-to-split-window)
8138 (window--frame-usable-p, even-window-heights)
8139 (window--even-window-heights, window--display-buffer-1)
8140 (window--display-buffer-2, display-buffer-other-frame):
8141 Restore old Emacs 23 code, order and doc-strings where applicable.
8142 (display-buffer-default, display-buffer-assq-regexp): New functions.
8143 (display-buffer-alist): Rewrite doc-string.
8144 (display-buffer-default-action)
8145 (display-buffer-overriding-action): New variables.
8146 (display-buffer, switch-to-buffer): Rewrite.
8147 (pop-to-buffer): Restore Emacs 23 behavior but use
8148 window-normalize-buffer-to-display.
8149 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8150 Restore Emacs 23 behavior but use
8151 window-normalize-buffer-to-switch-to.
8152 (pop-to-buffer-same-window): Rewrite.
8153 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8154 Rewrite using Emacs 23 options.
8155
8156 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * net/tramp.el (tramp-root-regexp): Remove.
8159 (tramp-completion-file-name-regexp-unified)
8160 (tramp-completion-file-name-regexp-separate)
8161 (tramp-completion-file-name-regexp-url): Don't use leading volume
8162 letter on win32 systems. (Bug#5303, Bug#9311)
8163 (tramp-drop-volume-letter): Simplify definition.
8164 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8165
8166 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8169 (bug#9356).
8170
8171 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8172
8173 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8174
8175 2011-08-29 Juri Linkov <juri@jurta.org>
8176
8177 * isearch.el (isearch-done): Don't display message "Mark saved"
8178 when arg `edit' is non-nil to prevent its flicker in the echo area.
8179
8180 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8181
8182 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8183 obsolete packages for deletion.
8184
8185 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8186
8187 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8188 (help-mode): Derive help-mode from special-mode. Don't invoke
8189 view-mode from help-mode.
8190 (help-xref-override-view-map): Remove.
8191 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8192 view-mode is not used anymore.
8193
8194 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8195
8196 * server.el (server-port): Doc fix.
8197
8198 * cus-theme.el (custom-theme-choose-mode): Inherit from
8199 special-mode (Bug#9124).
8200 (custom-theme-choose-mode-map): Add special-mode to parent.
8201
8202 2011-08-28 Alan Mackenzie <acm@muc.de>
8203
8204 * progmodes/cc-fonts.el
8205 (c-make-font-lock-BO-decl-search-function): New function.
8206 (c-basic-matchers-after - "Fontify the clauses after various
8207 keywords"): Extract the three keyword lists for the 3 erroneous
8208 constructs from the list of four, and use the new function above
8209 in place of an old one.
8210
8211 2011-08-28 Deniz Dogan <deniz@dogan.se>
8212
8213 * net/rcirc.el (rcirc-insert-prev-input)
8214 (rcirc-insert-next-input): Remove unused argument.
8215
8216 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8219
8220 2011-08-27 Alan Mackenzie <acm@muc.de>
8221
8222 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8223 handle function pointer parameters properly.
8224
8225 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8226
8227 * window.el (display-buffer-reuse-window): Fix case where
8228 selected window was reused with non-nil OTHER-WINDOW argument.
8229 (Bug#9381)
8230
8231 2011-08-27 Deniz Dogan <deniz@dogan.se>
8232
8233 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8234 oftc's NickServ messages.
8235
8236 2011-08-27 Glenn Morris <rgm@gnu.org>
8237
8238 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8239
8240 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8241
8242 * emacs-lisp/package.el (package-install): Call package-initialize
8243 if called interactively.
8244
8245 2011-08-26 Leo Liu <sdl.web@gmail.com>
8246
8247 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8248
8249 2011-08-25 Juri Linkov <juri@jurta.org>
8250
8251 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8252 `search-whitespace-regexp' (bug#9364).
8253
8254 2011-08-25 Juri Linkov <juri@jurta.org>
8255
8256 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8257 `regexp-search-ring' to their global values to protect from
8258 updating by `read-from-minibuffer' (bug#9185).
8259
8260 2011-08-25 Juri Linkov <juri@jurta.org>
8261
8262 * textmodes/ispell.el (ispell-command-loop): Add newline
8263 at the end of the "Use option `i'..." line.
8264
8265 2011-08-25 Juri Linkov <juri@jurta.org>
8266
8267 * battery.el (display-battery-mode): If `battery-status-function'
8268 or `battery-mode-line-format' is nil, display the message and set
8269 `display-battery-mode' to nil (bug#9363).
8270
8271 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8272
8273 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8274 bidi-string-mark-left-to-right; they are unnecessary now.
8275
8276 2011-08-25 Deniz Dogan <deniz@dogan.se>
8277
8278 * net/quickurl.el: Documentation typo fixes.
8279
8280 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8281
8282 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8283
8284 2011-08-25 Glenn Morris <rgm@gnu.org>
8285
8286 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8287
8288 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8289 (smtpmail-via-smtp): Handle nil response from smtp.
8290
8291 2011-08-24 Juri Linkov <juri@jurta.org>
8292
8293 * proced.el (proced-marked): Inherit from `error' instead of
8294 `font-lock-warning-face'.
8295
8296 * ibuffer.el (ibuffer-marked-face): Change default face from
8297 `font-lock-warning-face' to `warning'.
8298 (ibuffer-deletion-face): Change default face from
8299 `font-lock-type-face' to `error'.
8300
8301 * battery.el (battery-update): Use the face `error' instead of
8302 `font-lock-warning-face' (bug#6117).
8303
8304 2011-08-24 Juri Linkov <juri@jurta.org>
8305
8306 * faces.el (success): Change face color from "Green3" to
8307 "ForestGreen" on light background (bug#9353).
8308
8309 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8310
8311 * window.el (quit-window): Rename from quit-restore-window.
8312 Use same arglist as old quit-window.
8313 (frame-auto-delete): Doc fix.
8314
8315 * view.el (view-mode-exit): Use quit-window.
8316
8317 2011-08-24 Juri Linkov <juri@jurta.org>
8318
8319 * isearch.el (isearch-ring-adjust1): Start visiting previous
8320 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8321 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8322 for empty search string (when the last search string is reused
8323 automatically) to adjust the isearch ring to the last element and
8324 prepare the correct index for further M-p commands (bug#9185).
8325
8326 2011-08-24 Kenichi Handa <handa@m17n.org>
8327
8328 * international/ucs-normalize.el: If decomposition property of
8329 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8330 nil.
8331 (nfd, nfkd): Likewise.
8332
8333 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8336 from process filters aren't reliably transmitted to the surrounding
8337 accept-process-output.
8338 (mpc-proc-check): New function.
8339 (mpc-proc-sync): Use it (bug#8293)
8340
8341 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8344 Add compatibility functions (bug#9313).
8345
8346 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8347
8348 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8349
8350 * international/uni-bidi.el: Regenerate.
8351
8352 2011-08-23 Kenichi Handa <handa@m17n.org>
8353
8354 * international/charprop.el:
8355 * international/uni-bidi.el:
8356 * international/uni-category.el:
8357 * international/uni-combining.el:
8358 * international/uni-comment.el:
8359 * international/uni-decimal.el:
8360 * international/uni-decomposition.el:
8361 * international/uni-digit.el:
8362 * international/uni-lowercase.el:
8363 * international/uni-mirrored.el:
8364 * international/uni-name.el:
8365 * international/uni-numeric.el:
8366 * international/uni-old-name.el:
8367 * international/uni-titlecase.el:
8368 * international/uni-uppercase.el: Regenerate.
8369
8370 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8371
8372 * help.el (help-window-setup): Fix message displayed when other
8373 window is reused. (Bug#9341)
8374
8375 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8378 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8379
8380 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8381 Mark obsolete.
8382 * shell.el (shell-parse-pcomplete-arguments): New function.
8383 (shell-completion-vars): Use it instead (bug#9160).
8384
8385 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8388 strings and comments (bug#9333).
8389
8390 * emacs-lisp/debug.el (debug-arglist): New function.
8391 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8392 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8393
8394 2011-08-22 Juri Linkov <juri@jurta.org>
8395
8396 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8397 Revert regexp that highlights output switches to its old
8398 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8399
8400 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8401 to check for empty output (bug#9226).
8402
8403 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8404
8405 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8406 symbol-constituent as the default, as that stops font-lock from
8407 working properly (Bug#8843).
8408
8409 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410
8411 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8412 `coding-system-for-*' around the process open call to avoid
8413 auth-source side effects.
8414 (smtpmail-try-auth-methods): Expand the secret password.
8415 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8416 probe hangs.
8417
8418 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8419
8420 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8421
8422 * emacs-lisp/find-func.el (find-function-noselect): New arg
8423 lisp-only.
8424
8425 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8426 signal an error for built-in functions (Bug#6664).
8427
8428 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429
8430 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8431 (smtpmail-try-auth-methods): Use it.
8432
8433 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8434
8435 * font-lock.el (font-lock-fontify-region)
8436 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8437 (font-lock-default-unfontify-buffer)
8438 (font-lock-default-fontify-region)
8439 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8440
8441 * progmodes/compile.el (compilation-error-properties):
8442 Fix confusion between file struct and message struct (Bug#9319).
8443 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8444 `ant' regexp.
8445
8446 * net/browse-url.el (browse-url-firefox): Don't call
8447 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8448
8449 2011-08-20 Glenn Morris <rgm@gnu.org>
8450
8451 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8452
8453 * tutorial.el (tutorial--default-keys): Update some default bindings.
8454
8455 * files.el (hack-local-variables): Fully ignore case for "mode:".
8456
8457 2011-08-20 Alan Mackenzie <acm@muc.de>
8458
8459 Resolve invalid use of a regexp in regexp-opt.
8460
8461 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8462 detection for a java annotation.
8463
8464 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8465 detection for a java annotation.
8466
8467 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8468 handling for java.
8469 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8470
8471 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8472
8473 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8474 (Bug#9274).
8475
8476 2011-08-20 Alan Mackenzie <acm@muc.de>
8477
8478 Fontify CPP expressions correctly when starting in the middle of
8479 such a construct. Mainly for when jit-lock etc. starts a chunk
8480 here.
8481
8482 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8483 variable.
8484 (c-make-font-lock-search-form): New function, extracted from
8485 c-make-font-lock-search-function.
8486 (c-make-font-lock-search-function): Use the above function.
8487 (c-make-font-lock-context-search-function): New function.
8488 (c-cpp-matchers): Enhance the preprocessor expression case with
8489 the above function
8490 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8491 which takes an expression.
8492
8493 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8494
8495 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8496
8497 * window.el (display-buffer-reuse-window)
8498 (display-buffer-pop-up-window): Don't reuse or split a side
8499 window.
8500
8501 2011-08-19 Glenn Morris <rgm@gnu.org>
8502
8503 * files.el (hack-local-variables-prop-line, hack-local-variables):
8504 Downcase "Mode:". (Bug#9331)
8505
8506 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8507
8508 * international/characters.el: Add L and R categories.
8509
8510 * subr.el (bidi-string-mark-left-to-right): Rename from
8511 string-mark-left-to-right. Use category search.
8512
8513 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8514
8515 2011-08-18 Juri Linkov <juri@jurta.org>
8516
8517 * faces.el (error, warning, success): New faces with definitions
8518 copied from old default values of `font-lock-warning-face',
8519 `compilation-warning', `compilation-info' (bug#6117).
8520
8521 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8522
8523 * progmodes/compile.el (compilation-error): Inherit from `error'.
8524 (compilation-warning): Inherit from `warning'.
8525 (compilation-info): Inherit from `success'.
8526
8527 * dired.el (dired-marked): Inherit from `warning'.
8528 (dired-flagged): Inherit from `error'.
8529
8530 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
8532 * mail/smtpmail.el (auth-source): Require to avoid problems with
8533 binding variables (bug#9298). Also clean up some unused
8534 autoloads.
8535
8536 * net/network-stream.el (network-stream-open-starttls):
8537 Support using starttls.el without using gnutls-cli.
8538
8539 2011-08-17 Juri Linkov <juri@jurta.org>
8540
8541 * progmodes/grep.el (rgrep): Handle the case when
8542 `grep-find-command' is a cons cell (bug#9278).
8543
8544 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8545
8546 * window.el (display-buffer-pop-up-frame): Run frame creation
8547 function with BUFFER current (as special-display-popup-frame
8548 does). Reported by Drew Adams.
8549
8550 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8551
8552 * epa-mail.el: Simplify GnuPG group expansion using
8553 epg-expand-group.
8554 (epa-mail-group-alist, epa-mail-group-modtime)
8555 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8556 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8557 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8558 Remove.
8559
8560 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8561
8562 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8563
8564 2011-08-16 Alan Mackenzie <acm@muc.de>
8565
8566 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8567 Correct, to avoid the inside of macros.
8568
8569 2011-08-16 Richard Stallman <rms@gnu.org>
8570
8571 * epa-mail.el: Handle GnuPG group definitions.
8572 (epa-mail-group-alist, epa-mail-group-modtime)
8573 (epa-mail-gnupg-conf-file): New variables.
8574 (epa-mail-parse-groups, epa-mail-sync-groups)
8575 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8576 (epa-mail-expand-recipients): New functions.
8577 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8578
8579 * mail/rmail.el (rmail-epa-decrypt): New command.
8580
8581 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8582 Don't bind buffer-read-only, just inhibit-read-only.
8583 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8584 (epa-decrypt-armor-in-region): Make error message clearer.
8585
8586 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8589 and "a2b" to "ab" for `prefix'.
8590
8591 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8592
8593 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8594 filter groups.
8595 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8596 Fourquet (Bug#8804).
8597
8598 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * startup.el (argi): Declare as global variable (bug#9275).
8601
8602 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * subr.el (string-mark-left-to-right): Search the entire string
8605 for RTL script, not just the terminating character. Doc fix.
8606
8607 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8610 New function.
8611 (js--regexp-literal, js-syntax-propertize-function): Remove.
8612 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8613 (js-mode-map): Don't rebind electric keys.
8614 (js-insert-and-indent): Remove.
8615 (js-mode): Setup electric-layout and electric-indent instead.
8616
8617 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8618
8619 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8620
8621 * epa.el (epa-progress-callback-function): Fix the logic of
8622 displaying progress.
8623 * epa-file.el (epa-file-insert-file-contents): Make progress
8624 display more user-friendly.
8625 (epa-file-write-region): Ditto.
8626
8627 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * subr.el (string-mark-left-to-right): New function.
8630
8631 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8632 Use string-mark-left-to-right.
8633 (list-buffers-noselect): Caller changed.
8634
8635 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8636 Use string-mark-left-to-right.
8637 (tabulated-list-print): Recenter after moving point.
8638
8639 2011-08-10 Juri Linkov <juri@jurta.org>
8640
8641 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8642 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8643 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8644
8645 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8646
8647 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8648 (Bug#7554).
8649
8650 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8651
8652 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8653 character. (Bug#6594)
8654
8655 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8656
8657 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8658 (image-dired--with-db-file): New macro.
8659 (image-dired-write-tags, image-dired-remove-tag)
8660 (image-dired-create-gallery-lists, image-dired-write-comments)
8661 (image-dired-get-comment, image-dired-mark-tagged-files)
8662 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8663 (image-dired-gallery-generate): Use insert-file-contents.
8664
8665 * time.el (display-time-world-list, display-time-world-display):
8666 * time-stamp.el (time-stamp-string):
8667 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8668 set-time-zone-rule (Bug#7337).
8669
8670 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8671
8672 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8673 (epg-error-to-string, epg-errors-to-string): New function.
8674 (epg-wait-for-completion): Reverse errors list.
8675 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8676 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8677 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8678 (epg-sign-keys, epg-generate-key-from-file)
8679 (epg-generate-key-from-string): Format errors by using
8680 epg-errors-to-string (bug#9255).
8681 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8682
8683 2011-08-07 Juri Linkov <juri@jurta.org>
8684
8685 * faces.el (list-faces-display): Remove extra angle bracket
8686 from `help-mode-map'.
8687
8688 * info.el (Info-history-toc-nodes): Doc fix.
8689
8690 * longlines.el (longlines-mode): Doc fix.
8691
8692 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8693
8694 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8695 of statements and in a few more cases (bug#9183).
8696
8697 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8698 New functions.
8699 (cl-transform-lambda): Use them (bug#9239).
8700
8701 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8702
8703 * window.el (display-buffer-same-window)
8704 (display-buffer-same-frame, display-buffer-other-window)
8705 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8706 (pop-to-buffer-other-window)
8707 (pop-to-buffer-same-frame-other-window)
8708 (pop-to-buffer-other-frame): Make them defuns.
8709 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8710
8711 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * subr.el (make-composed-keymap): Move from C. Change calling
8714 convention, and improve docstring to bring attention to a subtle point.
8715 * minibuffer.el (completing-read-default): Adjust accordingly.
8716
8717 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8718
8719 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8720 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8721
8722 * net/trampver.el: Update release number.
8723
8724 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8727 "in" (bug#9190).
8728
8729 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8730
8731 * mail/sendmail.el (sendmail-query-once): Restore the current
8732 buffer after querying (bug#9074).
8733
8734 * dired.el (dired-flagged): Use different faces for marked and
8735 flagged files (bug#6117).
8736
8737 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8738 (bug#4433).
8739
8740 * ido.el (ido-mode): Switch off the message if called
8741 non-interactively.
8742
8743 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8744 before 587, since it appears that that's more likely to work for
8745 more people.
8746
8747 * cus-edit.el (custom-file): When running under emacs -q, always
8748 refuse to save the customizations, even if the .emacs file doesn't
8749 exist.
8750
8751 * info.el: Remove the `Info-beginning-of-buffer' function
8752 (bug#8325).
8753
8754 * net/network-stream.el (network-stream-open-starttls):
8755 Use `starttls-available-p' to see whether starttls.el can be used.
8756
8757 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8758
8759 * window.el (display-buffer-in-window): Don't set dedicated status
8760 of window here (Bug#9215).
8761 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8762 (display-buffer-pop-up-side-window)
8763 (display-buffer-in-side-window): Set dedicated status of window here.
8764
8765 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8768 before binding generated-autoload-file.
8769
8770 2011-08-01 Deniz Dogan <deniz@dogan.se>
8771
8772 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8773
8774 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8775
8776 Sync with Tramp 2.2.2.
8777
8778 * net/trampver.el: Update release number.
8779
8780 2011-07-30 Juri Linkov <juri@jurta.org>
8781
8782 * dired-aux.el (dired-touch-initial): Remove function.
8783 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8784 current time, and `default' to the last modification time of the
8785 current marked file (bug#6887).
8786
8787 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8788
8789 * simple.el (goto-line): Use string-to-number to provide a
8790 numeric argument to read-number (bug#9163).
8791
8792 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8793
8794 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8795 connection process, it could be nil.
8796
8797 2011-07-27 Leo Liu <sdl.web@gmail.com>
8798
8799 Simplify url handling in rcirc-mode.
8800
8801 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8802 (rcirc-browse-url-at-mouse): Remove.
8803 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8804
8805 2011-07-26 Alan Mackenzie <acm@muc.de>
8806
8807 Fontify bitfield declarations properly.
8808
8809 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8810 (c-symbol-chars): Now exported as a lang variable.
8811 (c-not-primitive-type-keywords): New lang variable.
8812
8813 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8814 QT keyword "more" to prevent "more slots: ...." being spuriously
8815 parsed as a bitfield declaration.
8816
8817 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8818 Refactor and enhance to handle bitfield declarations.
8819 (c-punctuation-in): New function.
8820 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8821 declarations properly.
8822
8823 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8824
8825 * calendar/icalendar.el (icalendar--all-events): Take care of
8826 multiple vcalendars in a single file.
8827 (icalendar--convert-float-to-ical): Checkdoc fixes.
8828
8829 2011-07-25 Deniz Dogan <deniz@dogan.se>
8830
8831 * image.el (insert-image): Clarifying docstring.
8832
8833 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8834
8835 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8836 `tramp-send-command-and-check' if there is no error.
8837 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8838
8839 2011-07-22 Alan Mackenzie <acm@muc.de>
8840
8841 Prevent cc-langs.elc being loaded at run time.
8842
8843 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8844 cc-langs.
8845
8846 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8847 "(require 'cc-langs)". Quote a form so it will evaluate at
8848 (cc-mode's) compilation time.
8849
8850 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8853 loading. (Bug#9114)
8854
8855 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8856
8857 * window.el (display-buffer-pop-up-window)
8858 (display-buffer-pop-up-side-window)
8859 (display-buffer-in-side-window): Call display-buffer-set-height
8860 and display-buffer-set-width after setting the new window's
8861 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8862
8863 2011-07-20 Sam Steingold <sds@gnu.org>
8864
8865 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8866 (etags-tags-included-tables): Call `convert-standard-filename' on
8867 the file names contained in TAGS so that windows Emacs can handle
8868 TAGS files created by cygwin ctags.
8869
8870 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8871
8872 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8873 which apparently didn't work.
8874
8875 2011-07-19 Roland Winkler <winkler@gnu.org>
8876
8877 * proced.el (proced-send-signal): For *Marked Processes* buffer
8878 put point at beginning of buffer.
8879
8880 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8881
8882 * proced.el (proced-format): Make header lines align with the text
8883 (bug#1779).
8884
8885 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
8887 * view.el (view-buffer): Allow running in `special' modes if we're
8888 visiting a file (bug#8615).
8889
8890 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8891
8892 * window.el (display-buffer-alist-of-strings-p)
8893 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8894 New functions.
8895 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8896 more accurately.
8897
8898 2011-07-18 Alan Mackenzie <acm@muc.de>
8899
8900 Fontify declarators properly when, e.g., a jit-lock chunk begins
8901 inside a declaration.
8902
8903 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8904
8905 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8906 New function.
8907 (c-complex-decl-matchers): Insert reference to
8908 c-font-lock-enclosing-decls.
8909
8910 * progmodes/cc-engine.el (c-backward-single-comment):
8911 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8912 to nil around calls to (forward-comment -1).
8913
8914 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8915
8916 * image.el (put-image): Doc typo fix.
8917
8918 * progmodes/etags.el (tags-search): Doc typo fix.
8919
8920 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8921 password if we get errors 550 to 554.
8922
8923 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924
8925 * net/gnutls.el (gnutls-log-level): Remove.
8926
8927 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8928 indentation character (bug#6380).
8929
8930 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8931
8932 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8933 to clarify what the problem is (bug#4291).
8934
8935 * simple.el (current-kill): Clarify what
8936 `interprogram-paste-function' does (bug#7500).
8937 (auto-fill-mode): Document `auto-fill-function' in relation to
8938 `auto-fill-mode' (bug#2470).
8939
8940 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8941
8942 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8943 method if slot is read-only (bug#9035).
8944
8945 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8946
8947 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8948 * window.el (pop-to-buffer): Select window used even if it was
8949 selected before, see discussion of (Bug#8615), (Bug#6954).
8950 Pass argument NORECORD on to select-frame-set-input-focus.
8951
8952 2011-07-15 Glenn Morris <rgm@gnu.org>
8953
8954 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8955 Respect help-form.
8956
8957 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8958
8959 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8960 (gnutls-negotiate): Use it.
8961
8962 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8963
8964 * net/gnutls.el (gnutls-negotiate):
8965 Upcase `gnutls-algorithm-priority'.
8966
8967 2011-07-15 Glenn Morris <rgm@gnu.org>
8968
8969 * jka-compr.el (jka-compr-verbose): Move from here...
8970 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8971 Add missing :version tag.
8972 * info.el: No need to require jka-compr when compiling.
8973
8974 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8975
8976 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8977 (gnutls-negotiate): Use it.
8978
8979 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8980
8981 * info.el (Info-beginning-of-buffer): New command.
8982 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8983 announcing `b' as the key (bug#8325).
8984 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8985
8986 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8987
8988 * international/mule-cmds.el
8989 (describe-specified-language-support): Make the error message
8990 clearer (bug#8905).
8991
8992 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8993
8994 * isearch.el (isearch-barrier): Add a doc string, since it's
8995 mentioned in a function doc string (bug#8678).
8996
8997 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8998
8999 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9000 buffer argument (Bug#9083) and self-identifying label argument.
9001
9002 2011-07-15 Glenn Morris <rgm@gnu.org>
9003
9004 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9005
9006 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9007
9008 * man.el (Man-fontify-manpage): Fix message when formatting the
9009 man page (bug#7929).
9010
9011 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9012
9013 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9014 argument LRM; if non-nil, append an invisible LRM character to the
9015 buffer name.
9016 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9017 last argument non-nil, when formatting buffer names.
9018 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9019 paragraph direction.
9020
9021 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022
9023 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9024 the man page name (bug#7929).
9025
9026 * image.el (put-image): Mention the `put-image' overlay property
9027 (bug#7834).
9028
9029 * scroll-bar.el (set-scroll-bar-mode): Mention that
9030 `scroll-bar-mode' lists the values (bug#7772).
9031
9032 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9033 command (bug#7729).
9034
9035 * rect.el (apply-on-rectangle): Return the point after the last
9036 operation.
9037 (string-rectangle): Go to the point after the last operation
9038 (bug#7522).
9039
9040 * printing.el (pr-toggle-region): Clarify the documentation
9041 slightly (bug#7493).
9042
9043 * time.el (display-time-update):
9044 Allow `display-time-mail-function' to return nil (bug#7158).
9045 Fix suggested by Detlev Zundel.
9046
9047 * vc/diff.el (diff): Clarify the order the file names are read
9048 (bug#7111).
9049
9050 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9051 the doc string (bug#7015).
9052
9053 * font-lock.el (font-lock-maximum-decoration): Mention what
9054 numeric levels mean (bug#6935).
9055
9056 * startup.el (initial-buffer-choice): Don't mention the `none'
9057 selection, which is against policy.
9058
9059 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9060
9061 * window.el (display-buffer-normalize-special):
9062 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9063
9064 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9065
9066 * subr.el (version<, version<=, version=): Mention "-CVS" and
9067 "-12345" alpha version numbers.
9068
9069 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9070
9071 * bindings.el: Add advertised binding for set-mark-command
9072 (Bug#5772).
9073
9074 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9075
9076 * bindings.el (mode-line-other-buffer):
9077 * bookmark.el (bookmark-bmenu-2-window):
9078 * bs.el (bs-cycle-next, bs-cycle-previous):
9079 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9080 switch-to-buffer.
9081
9082 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9083 Delete.
9084
9085 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * follow.el (follow-debug-message, follow-redisplay):
9088 * jka-cmpr-hook.el (with-auto-compression-mode):
9089 Fix typos in docstrings.
9090
9091 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
9093 * subr.el (with-silent-modifications): Clarify somewhat what the
9094 macro inhibits (bug#6525).
9095
9096 * simple.el (eval-expression): Note what it does if called
9097 interactively (bug#6495).
9098
9099 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9100
9101 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9102 Use pop-to-buffer buffer-or-name if it is nil.
9103
9104 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9105 Remove switch-to-buffer.
9106
9107 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9108
9109 * files.el (make-directory): Clarify that an error will be raised
9110 if there's an error (bug#6397).
9111
9112 * startup.el (initial-buffer-choice): Add `none' as a choice
9113 (bug#6234).
9114
9115 * subr.el (add-hook): Clarify section about buffer-local hooks
9116 (bug#6218).
9117
9118 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9119
9120 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9121
9122 * tabify.el (untabify): Preserve the current column so that point
9123 doesn't move (bug#6032).
9124
9125 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9126
9127 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9128 Rewrite to avoid awkward possessive "s" (bug#5986).
9129
9130 2011-07-13 Glenn Morris <rgm@gnu.org>
9131
9132 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9133 (dired-insert-directory): Give a message the first time
9134 if ls is found not to support --dired.
9135
9136 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9137
9138 * simple.el (toggle-truncate-lines): Clarify what is toggled
9139 (bug#5580). Text by Drew Adams.
9140
9141 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9142
9143 * simple.el (blink-matching-open): Make the error message from the
9144 last change less verbose.
9145
9146 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9147
9148 * font-lock.el (font-lock-comment-face): Use the high contrast
9149 "yellow" color for font-lock-comment-face on low color terminals
9150 using a dark background color (bug#4221).
9151
9152 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9153
9154 * dired.el (dired-insert-set-properties): Make the doc string
9155 reflect what it does now (bug#5325).
9156
9157 * simple.el (blink-matching-open): Say that we were unable to find
9158 the match within the limit, if we're limited (bug#5122).
9159
9160 * international/mule-cmds.el (prefer-coding-system): Add an
9161 example (bug#4869).
9162
9163 * progmodes/etags.el (tags-search): Document `file-list-form'
9164 (bug#4731).
9165
9166 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9167
9168 * net/browse-url.el (browse-url-default-browser)
9169 (browse-url-browser-function): Make the default browser choice a
9170 bit more logical (bug#4300). Also clean up the doc string.
9171
9172 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9175 binary endings (bug#4440).
9176
9177 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9178
9179 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9180 which can be pretty annoying (bug#8971).
9181
9182 * jka-compr.el (jka-compr-verbose): New variable, and use
9183 throughout (bug#8971).
9184
9185 * info.el (Info-find-file): Fall back on the installation
9186 directory if we can't find the info node anywhere else.
9187
9188 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9189
9190 * vc/vc.el (vc-revert-file):
9191 Don't set file time-stamp in the past. (Bug#5181)
9192
9193 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9194
9195 * files.el (after-find-file): Give a better error message when
9196 trying to find a symlink that points to a file that doesn't exist
9197 (bug#4398).
9198
9199 * progmodes/cc-vars.el: Remove (probably) misleading comment
9200 (bug#4396).
9201
9202 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9203
9204 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9205
9206 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9207
9208 * mouse-sel.el: Hack restoring functionality, while keeping
9209 compatibility with 2010-07-03 changes to mouse selection.
9210 (mouse-sel-primary-overlay): New var.
9211 (mouse-sel-selection-alist): Use it.
9212 (mouse-sel-mode): Doc fix; remove points that are default features
9213 of mouse.el.
9214
9215 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9216
9217 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9218 Fix previous fix (bug#2490).
9219
9220 2011-07-12 Roland Winkler <winkler@gnu.org>
9221
9222 * textmodes/bibtex.el (bibtex-initialize):
9223 Use pop-to-buffer-same-window.
9224 (bibtex-search-entries): Fix interactive call.
9225
9226 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9227
9228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9229 Fontise bytecomp Error lines more correctly (bug#2490).
9230 Fix suggested by Johan Bockgård.
9231
9232 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9233
9234 * dired-x.el (dired-guess-default): Use `delete-dups'.
9235
9236 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * dired.el (dired-mark-prompt):
9239 * dired-aux.el (dired-read-shell-command): Doc fix.
9240
9241 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242
9243 * mail/sendmail.el (sendmail-query-once):
9244 Use `customize-save-variable' unconditionally, now that it works under
9245 emacs -Q.
9246
9247 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9248
9249 * cus-edit.el (custom-file): Take an optional no-error variable.
9250 (customize-save-variable): Set the variable, and give a warning if
9251 running under "emacs -q".
9252
9253 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9254
9255 * loadhist.el (unload-feature-special-hooks):
9256 Add `auto-coding-functions', `fill-nobreak-predicate' and
9257 `find-directory-functions' (bug#5327).
9258
9259 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9260
9261 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9262
9263 * cus-edit.el (custom-guess-name-alist): -alist variables should
9264 use the `alist' type (bug#3120). Suggested by Drew Adams.
9265
9266 * printing.el: Add documentation to all the `pr-toggle-' commands.
9267
9268 2011-07-11 Leo Liu <sdl.web@gmail.com>
9269
9270 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9271 backends where it makes sense (bug#2623).
9272
9273 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274
9275 * dired-x.el (dired-guess-default): Remove duplicate shell command
9276 entries (bug#2028).
9277 (dired-guess-default): Fix grammar in doc string (bug#2028).
9278 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9279
9280 * subr.el (remove-duplicates): New conveniency function.
9281
9282 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283
9284 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9285 (bug#1526).
9286
9287 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9288
9289 * window.el (display-buffer-normalize-default): Don't invert
9290 meaning of even-window-heights. Reported by Eli Zaretskii
9291 <eliz@gnu.org>.
9292
9293 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9294
9295 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9296
9297 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9298
9299 * window.el (display-buffer): Fix arguments to
9300 display-buffer-reuse-window in last change.
9301
9302 * faces.el (link): Use a less saturated blue on light backgrounds.
9303
9304 * startup.el (fancy-startup-text, fancy-about-text)
9305 (fancy-startup-tail): Use font-lock faces, for background safety.
9306
9307 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9308
9309 * emulation/viper-cmd.el (viper-change-state-to-vi):
9310 Limit triggering of abbrev expansion (Bug#9038).
9311
9312 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9313
9314 * window.el (display-buffer-default-specifiers): Remove.
9315 (display-buffer-macro-specifiers): Remove default specifiers.
9316 (display-buffer-alist): Default to nil.
9317 (display-buffer-reuse-window): New optional argument other-window.
9318 (display-buffer-pop-up-window): Allow splitting internal
9319 windows. Check whether a live window was created.
9320 (display-buffer-other-window-means-other-frame)
9321 (display-buffer-normalize-arguments): Rename to
9322 display-buffer-normalize-argument and rewrite. Set the
9323 other-window specifier.
9324 (display-buffer-normalize-special): New function.
9325 (display-buffer-normalize-options): Rename to
9326 display-buffer-normalize-default and rewrite.
9327 (display-buffer-normalize-options-inhibit): Remove.
9328 (display-buffer-normalize-specifiers): Rewrite.
9329 (display-buffer): Process other-window specifier and call
9330 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9331 more faithfully.
9332 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9333 (display-buffer-alist-set): Don't handle 'unset default values.
9334 (display-buffer-in-window, display-buffer-alist-set):
9335 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9336 <tassilo@member.fsf.org>.
9337
9338 2011-07-09 Leo Liu <sdl.web@gmail.com>
9339
9340 * register.el (insert-register): Restore accidental change on
9341 2011-06-26. (Bug#9028)
9342
9343 2011-07-09 Glenn Morris <rgm@gnu.org>
9344
9345 * subr.el (remq): Handle the empty list. (Bug#9024)
9346
9347 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9348
9349 * mail/sendmail.el (send-mail-function): No longer delay custom
9350 initialization.
9351 * custom.el (custom-initialize-delay): Doc fix.
9352
9353 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9356
9357 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9358
9359 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9360 human-friendly prompt.
9361
9362 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9363
9364 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9365 provided by a particular plugin.
9366
9367 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
9369 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9370 save customizations (with "emacs -Q"), just set the variable
9371 instead of erroring out.
9372
9373 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9374
9375 2011-07-08 Juri Linkov <juri@jurta.org>
9376
9377 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9378 (archive-zip-update-case): Use 7z if found by `executable-find'.
9379 The order of searching the available programs is the same as in
9380 `archive-zip-extract' (bug#8968).
9381
9382 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9383
9384 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9385 (menu-bar-options-menu): Tweak descriptions.
9386
9387 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9388
9389 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9390 menu items into verb phrases (bug#1421). Also refill to fit under
9391 80 columns.
9392
9393 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9394
9395 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9396 (Info-read-node-name): Doc fix (Bug#1084).
9397
9398 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9399 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9400 (end-of-sexp, beginning-of-sexp)
9401 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9402 (forward-symbol, forward-same-syntax, word-at-point)
9403 (sentence-at-point): Doc fix (Bug#1144).
9404
9405 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9406
9407 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9408 should cover it (bug#1281).
9409
9410 * cus-edit.el (custom-show): Mark as obsolete.
9411
9412 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9413 negotiation fails, then possibly try again with a non-encrypted
9414 connection (bug#9017).
9415
9416 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9417 be used.
9418
9419 2011-07-07 Richard Stallman <rms@gnu.org>
9420
9421 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9422 property, and handle its changed format.
9423 Look for the correct line number.
9424 Use file's line contents (but not past first =) to find
9425 correct line in message.
9426
9427 2011-07-07 Kenichi Handa <handa@m17n.org>
9428
9429 * international/characters.el (build-unicode-category-table):
9430 Delete it.
9431 (unicode-category-table): Set it by unicode-property-table-internal.
9432
9433 * international/mule-cmds.el (char-code-property-alist): Move to
9434 to src/chartab.c.
9435 (get-char-code-property): Call unicode-property-table-internal to
9436 load a file. Call get-unicode-property-internal where necessary.
9437 (put-char-code-property): Call unicode-property-table-internal to
9438 load a file. Call put-unicode-property-internal where necessary.
9439 put-unicode-property-internal where necessary.
9440 (char-code-property-description):
9441 Call unicode-property-table-internal to load a file.
9442
9443 * international/charprop.el:
9444 * international/uni-bidi.el:
9445 * international/uni-category.el:
9446 * international/uni-combining.el:
9447 * international/uni-comment.el:
9448 * international/uni-decimal.el:
9449 * international/uni-decomposition.el:
9450 * international/uni-digit.el:
9451 * international/uni-lowercase.el:
9452 * international/uni-mirrored.el:
9453 * international/uni-name.el:
9454 * international/uni-numeric.el:
9455 * international/uni-old-name.el:
9456 * international/uni-titlecase.el:
9457 * international/uni-uppercase.el: Regenerate.
9458
9459 * loadup.el: Load international/charprop.el before
9460 international/characters.
9461
9462 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9463
9464 * window.el (next-buffer, previous-buffer): Signal an error if
9465 called from a minibuffer window.
9466
9467 * bindings.el: Revert 2011-07-04 change.
9468
9469 2011-07-06 Richard Stallman <rms@gnu.org>
9470
9471 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9472 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9473 Treat markers like ints.
9474 (rmail-mime-entity): Doc fix.
9475
9476 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477
9478 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9479 defcustom again for backwards compatibility.
9480
9481 * simple.el (shell-command-on-region): Fill.
9482
9483 * dired-aux.el (dired-kill-line): Add a doc string.
9484
9485 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9486 to "\\sw\\|\\s_" (bug#358).
9487
9488 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9489 (dired-unmark-backward): Ditto.
9490 (dired-flag-backup-files): Ditto.
9491
9492 * dired-x.el (dired-mark-sexp): Ditto.
9493
9494 2011-07-06 Richard Stallman <rms@gnu.org>
9495
9496 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9497 (rmail-mime-entity): New arg TRUNCATED.
9498 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9499 New functions.
9500 (rmail-mime-save): Warn if entity is truncated.
9501 (rmail-mime-toggle-hidden): Likewise, for showing.
9502 (rmail-mime-process-multipart): Record when an entity is truncated.
9503
9504 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9505 if ENTITY is a string.
9506
9507 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9508
9509 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9510 of faces when `M-C-x'-ing their definitions (bug#8378).
9511 Also clean up the code slightly.
9512
9513 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9514 because that makes the colors go away.
9515
9516 * mail/sendmail.el (send-mail-function): Change the default to
9517 `sendmail-query-once'.
9518 (sendmail-query-once): Add an autoload cookie.
9519
9520 * net/network-stream.el (network-stream-open-starttls): Try using
9521 a plain connection even if the server offered STARTTLS, and we
9522 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9523 capability. This should make smtpmail.el work in slightly more
9524 configurations.
9525
9526 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9527
9528 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9529 New defun.
9530 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9531
9532 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9533
9534 * progmodes/sql.el: Version 3.0
9535 (sql-product-alist): Add product :completion-object,
9536 :completion-column, and :statement attributes.
9537 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9538 (sql-mode-syntax-table): Mark all punctuation.
9539 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9540 ansi keywords.
9541 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9542 (sql-mode-oracle-font-lock-keywords): Improve.
9543 (sql-oracle-show-reserved-words): New function for development.
9544 (sql-product-font-lock): Simplify for source code buffers.
9545 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9546 New functions.
9547 (sql-highlight-product): Set product specific syntax table.
9548 (sql-mode-map): Add statement movement functions.
9549 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9550 New variable.
9551 (sql-statement-regexp, sql-beginning-of-statement)
9552 (sql-end-of-statement, sql-signum): New functions.
9553 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9554 (sql-show-sqli-buffer): Bug fix.
9555 (sql-interactive-mode): Store connection data as buffer local.
9556 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9557 with sql-interactive-mode.
9558 (sql-save-connection): Save buffer local settings.
9559 (sql-connection-menu-filter): Change menu entry name.
9560 (sql-product-interactive): Bug fix.
9561 (sql-preoutput-hold): New variable.
9562 (sql-interactive-remove-continuation-prompt): Bug fixes.
9563 (sql-debug-redirect): New variable.
9564 (sql-str-literal): New function.
9565 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9566 Redesign.
9567 (sql-oracle-save-settings, sql-oracle-restore-settings)
9568 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9569 (sql-completion-object, sql-completion-column)
9570 (sql-completion-sqlbuf): New variables.
9571 (sql-build-completions-1, sql-build-completions)
9572 (sql-try-completion): New functions.
9573 (sql-read-table-name): Use them.
9574 (sql-contains-names): New buffer local variable.
9575 (sql-list-all, sql-list-table): Use it.
9576 (sql-oracle-completion-types): New variable.
9577 (sql-oracle-completion-object, sql-sqlite-completion-object)
9578 (sql-postgres-completion-object): New functions.
9579
9580 2011-07-06 Glenn Morris <rgm@gnu.org>
9581
9582 * window.el (pop-to-buffer): Doc fix.
9583
9584 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9585
9586 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9587
9588 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9589
9590 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9591
9592 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9593
9594 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9595
9596 * button.el (button): Inherit from link face. Suggested by Dan
9597 Nicolaescu.
9598
9599 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * progmodes/gdb-mi.el: Fit in 80 columns.
9602 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9603 switch-to-buffer.
9604
9605 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9606 if imenu is simply not configured (bug#8941).
9607
9608 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9609
9610 * allout.el (allout-post-undo-hook): New allout outline-change
9611 event hook to signal undo activity.
9612 (allout-post-command-business): Run allout-post-undo-hook if an
9613 undo just occurred.
9614 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9615 * allout-widgets.el (allout-widgets-after-undo-function):
9616 Ensure the integrity of the current item's decoration after it has been
9617 in the vicinity of an undo.
9618 (allout-widgets-mode): Include allout-widgets-after-undo-function
9619 on the new allout-post-undo-hook.
9620
9621 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9624 Let define-derived-mode define it.
9625 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9626 cycles of abbrev-table inheritance (bug#8998).
9627
9628 2011-07-05 Roland Winkler <winkler@gnu.org>
9629
9630 * textmodes/bibtex.el: Add support for biblatex.
9631 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9632 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9633 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9634 (bibtex-entry-alist, bibtex-field-alist): New variables.
9635 (bibtex-entry-field-alist): Obsolete alias for
9636 bibtex-BibTeX-entry-alist.
9637 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9638 (bibtex-set-dialect): New command.
9639 (bibtex-entry-type, bibtex-entry-head)
9640 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9641 Bind via bibtex-set-dialect.
9642 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9643 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9644 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9645 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9646 Define via bibtex-set-dialect.
9647 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9648 Obey bibtex-no-opt-remove-re.
9649 (bibtex-vec-push, bibtex-vec-incr): New functions.
9650 (bibtex-format-entry, bibtex-field-list)
9651 (bibtex-print-help-message, bibtex-validate)
9652 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9653
9654 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * progmodes/compile.el (compilation-goto-locus):
9657 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9658 * bs.el (bs-cycle-next, bs-cycle-previous):
9659 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9660 * bindings.el (mode-line-other-buffer):
9661 * autoinsert.el (auto-insert):
9662 * arc-mode.el (archive-extract):
9663 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9664
9665 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9666
9667 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9668 Fix check of `emacs-lock-unlockable-modes'.
9669 Coerce true values of `emacs-lock--try-unlocking' to t.
9670
9671 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9672
9673 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9674 * emacs-lock.el: New file.
9675
9676 2011-07-05 Julien Danjou <julien@danjou.info>
9677
9678 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9679 than `boundp' to check if face is set.
9680
9681 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9682
9683 * register.el (registerv-make):
9684 * window.el (window-min-height): Fix typos in docstrings.
9685
9686 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9687
9688 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9689 Update doc string.
9690
9691 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * server.el (server-execute): Catch quit and call
9694 `server-return-error' to pass the error back to emacsclient and
9695 close the connection (bug#8942).
9696
9697 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9698
9699 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9700 insecure exception for current topic. Also note that auto-saves
9701 are handled differently.
9702
9703 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9704 State variables for tracking auto-save inhibition situation.
9705
9706 (allout-write-contents-hook-handler): Rename from
9707 'allout-write-file-hook-handler', and describe how it depends on
9708 write-contents-functions sensitivity to non-nil value to prevent
9709 file write.
9710
9711 (allout-auto-save-hook-handler): Remove. auto-save does not check
9712 this in individual buffers, only in the starting buffer, so this
9713 is not the right way for us to inhibit auto-save in a buffer
9714 according to its condition.
9715
9716 (allout-mode): Use new allout-write-contents-hook-handler, and
9717 only with write-contents-functions. Remove auto-save provisions -
9718 they're implemented elsewhere.
9719
9720 (allout-before-change-handler): If undo is in progress, note that
9721 for attention of allout-post-command-business.
9722
9723 (allout-post-command-business): If the command we're following was
9724 an undo, check for change in the status of encrypted items and
9725 adjust auto-save inhibitions accordingly.
9726
9727 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9728 according to whether there are or aren't any plain-text topics
9729 pending encryption.
9730
9731 (allout-inhibit-auto-save-info-for-decryption):
9732 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9733 if there are plain-text topics pending encryption.
9734
9735 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9736 buffer-saved-size and some allout state to not inhibit auto-saves
9737 if there are no longer any plain-text topics pending encryption.
9738
9739 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9740 No longer provide for exemption of the current topic.
9741
9742 2011-07-04 Juri Linkov <juri@jurta.org>
9743
9744 Add 7z operations to delete and save changed members (bug#8968).
9745 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9746 New defcustoms.
9747 (archive-7z-write-file-member): New function.
9748 (archive-7z-summarize): Fix the number of dashes in the
9749 listing output.
9750
9751 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9754 (bug#8958).
9755
9756 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9757
9758 * bindings.el: Ignore next-buffer and previous-buffer in
9759 minibuffer-local-map.
9760
9761 * font-lock.el (font-lock-builtin-face): Change light background
9762 color to dark slate blue (Bug#6693).
9763
9764 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9765
9766 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9767
9768 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9769
9770 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9771 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9772 Add switch-to-buffer.
9773
9774 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9775
9776 * isearch.el (isearch-search-fun-function): Clarify further the
9777 meaning of the function returned.
9778
9779 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9780
9781 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9782
9783 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9784 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9785 Use it.
9786 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9787 `tramp-default-remote-path' does not exist.
9788 (tramp-send-command-and-read): New optional argument NOERROR.
9789 (tramp-open-connection-setup-interactive-shell)
9790 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9791 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9792 (tramp-process-sentinel): Flush also process' connection property.
9793 (tramp-sh-handle-start-file-process): Do not set process
9794 sentinel. It is done now ...
9795 (tramp-maybe-open-connection): ... here. (Bug#8929)
9796
9797 2011-07-04 MON KEY <monkey@sandpframing.com>
9798
9799 * play/animate.el (animate-string): Doc fixes and allow changing
9800 the buffer name (bug#5417).
9801
9802 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9803
9804 * play/animate.el (animation-buffer-name): Rename from *animate*.
9805
9806 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9807
9808 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9809 This is simpler and helps future-proof the code.
9810 (timer-until): Use time-subtract and float-time.
9811 (timer--time-less-p): Use time-less-p.
9812
9813 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * type-break.el (timep): Use the value of `float-time' to avoid a
9816 byte-compiler warning.
9817
9818 * server.el (server-eval-and-print): Return any result, even nil.
9819
9820 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9821
9822 * type-break.el: Accept time formats that the builtins accept.
9823 (timep, type-break-time-difference): Accept any format that
9824 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9825 This is simpler and helps future-proof the code.
9826 (type-break-time-difference): Round rather than ignoring
9827 subseconds components.
9828
9829 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9830
9831 * info.el (Info-apropos-matches): Make non-interactive, since it
9832 doesn't seem to do anything useful as a command (bug#8829).
9833
9834 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9835
9836 * frame.el (frame-background-mode, frame-set-background-mode):
9837 Move from faces.el.
9838 (frame-default-terminal-background): New function.
9839
9840 * custom.el (custom-push-theme): Don't record faces in `changed'
9841 theme; this doesn't work correctly for per-frame face settings.
9842 (disable-theme): Use face-set-after-frame-default to reset faces.
9843 (custom--frame-color-default): New function.
9844
9845 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * dired.el (dired-flagging-regexp): Remove unused variable
9848 (bug#8769).
9849
9850 2011-03-29 Kevin Ryde <user42@zip.com.au>
9851
9852 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9853 `perl-Test2' extend to match possible "fail #N" rep count
9854 (bug#8377).
9855
9856 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9857
9858 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9859 `smtpmail-via-smtp' now returns the error instead of nil.
9860
9861 * isearch.el (isearch-search-fun-function): Clarify the doc string
9862 (bug#8101).
9863
9864 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9865
9866 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9867 unnecessary spaces (bug#8987).
9868
9869 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9870
9871 * net/network-stream.el (open-network-stream): Use the
9872 :end-of-capability command thoughout.
9873
9874 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9875
9876 * net/network-stream.el (open-network-stream): Add the
9877 :end-of-capability command parameter, used by pop3.el.
9878
9879 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9880
9881 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9882
9883 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9884 for list)" (bug#6475).
9885
9886 * files.el (file-expand-wildcards): Ignore non-readable
9887 sub-directories while trying to find matches instead of signaling
9888 an error (bug#6297).
9889
9890 * man.el (Man-reference-regexp): Allow matching possible
9891 word-wrapped references (bug#6289).
9892
9893 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9894 for consistency with the other vc buffers (bug#6197).
9895 (vc-checkin): Ditto.
9896
9897 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9898
9899 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9900
9901 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9902
9903 * custom.el (defcustom): Clarify that :set is only used in the
9904 Customize user interface (bug#6089).
9905
9906 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9907 associated with a file, refuse to run instead of erroring out
9908 (bug#6084).
9909
9910 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9911 the doc string, since it appears that using `fill-column' always
9912 controls the width (bug#7845).
9913
9914 * simple.el (shell-command-on-region): Say where the error output
9915 went if `shell-command-default-error-buffer' is set (bug#6857).
9916
9917 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9918
9919 * allout.el (allout-yank-processing): Adjust cursor position for
9920 backwards-deleted space.
9921
9922 (allout-rebullet-heading): Register changes with
9923 allout-exposure-changed-hook, so the modified topic is properly
9924 decorated.
9925
9926 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9927
9928 * minibuffer.el (completion-in-region): Document PREDICATE
9929 (bug#7136).
9930
9931 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9932 of keyword/argument pairs (bug#6904).
9933
9934 * replace.el (multi-occur):
9935 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9936
9937 2011-07-02 Drew Adams <drew.adams@oracle.com>
9938
9939 * dired.el (dired-mark-if): Make the message about whether it's
9940 marking or unmarking clearer (bug#8523).
9941
9942 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9943
9944 * disp-table.el (display-table-print-array): New function.
9945 (describe-display-table): Use it to print the vectors more pretty
9946 (Bug#8859).
9947
9948 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9949
9950 * window.el (window-state-get-1): Don't assign clone numbers.
9951 Add clone-of item to list of window parameters.
9952 (window-state-put-2): Don't process clone numbers.
9953 (display-buffer-alist): Fix doc-string.
9954
9955 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * subr.el (remq): Don't allocate if it's not needed.
9958 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9959 (keymap--merge-bindings): New functions.
9960 (keymap-canonicalize): Use them to refine the canonicalization.
9961 * minibuffer.el (minibuffer-local-completion-map)
9962 (minibuffer-local-must-match-map): Move initialization from C.
9963 (minibuffer-local-filename-completion-map): Move initialization from C;
9964 don't inherit from anything here.
9965 (minibuffer-local-filename-must-match-map): Make obsolete.
9966 (completing-read-default): Use make-composed-keymap to combine
9967 minibuffer-local-filename-completion-map with either
9968 minibuffer-local-must-match-map or
9969 minibuffer-local-filename-completion-map.
9970
9971 2011-07-01 Glenn Morris <rgm@gnu.org>
9972
9973 * type-break.el (type-break-time-sum): Use dolist.
9974
9975 * textmodes/flyspell.el (flyspell-word-search-backward):
9976 Replace CL function.
9977
9978 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * mouse.el (mouse--strip-first-event): New function.
9981 (function-key-map): Use it to map fringe clicks to normal clicks
9982 by default.
9983
9984 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9985 (vc-bzr-revision-completion-table): Add support for annotate and date.
9986
9987 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9988 inherit from parent.
9989
9990 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9991
9992 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9993 (dired-show-file-type): Doc fixup (bug#8818).
9994
9995 * dired.el (dired-mode): Fix up the doc string as suggested by
9996 Drew Adams (bug#8817).
9997
9998 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9999 cookie, since the manual says that it should be possible to add
10000 this function to `find-file-hook' (bug#8709).
10001
10002 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10003
10004 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10005 here. Noted Ted Zlatanov as the maintainer.
10006 (cfengine-common-settings, cfengine-common-syntax): New functions
10007 to set up common things between `cfengine-mode' and
10008 `cfengine3-mode'.
10009 (cfengine3-mode): New mode.
10010 (cfengine3-defuns cfengine3-defuns-regex
10011 (cfengine3-class-selector-regex cfengine3-category-regex)
10012 (cfengine3-vartypes cfengine3-font-lock-keywords)
10013 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10014 (cfengine3-indent-line): Add from cfengine3.el.
10015
10016 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10017
10018 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10019
10020 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10021
10022 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10023
10024 * window.el (same-window-buffer-names, same-window-regexps)
10025 (same-window-p, special-display-frame-alist)
10026 (special-display-popup-frame, special-display-function)
10027 (special-display-buffer-names, special-display-regexps)
10028 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10029 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10030 (split-window-preferred-function, split-height-threshold)
10031 (split-width-threshold, even-window-heights)
10032 (display-buffer-mark-dedicated, window-splittable-p)
10033 (split-window-sensibly, window-safely-shrinkable-p):
10034 Un-obsolete.
10035 (display-buffer): Don't spread args with function specifier
10036 because special-display-popup-frame won't like it.
10037
10038 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10039
10040 Time-stamp simplifications and fixes.
10041 These improve accuracy slightly, and future-proof the code
10042 against some potential changes to current-time format.
10043
10044 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10045 by using time-since and float-time.
10046
10047 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10048 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10049 + NNN microseconds".
10050
10051 * type-break.el (type-break-time-sum): Rewrite using time-add.
10052
10053 * play/hanoi.el (hanoi-current-time-float): Remove.
10054 All uses replaced by float-time.
10055
10056 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10057 This yields a more-accurate answer.
10058 (rng-time-to-float): Remove; no longer needed.
10059
10060 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10061
10062 * calendar/timeclock.el (timeclock-seconds-to-time):
10063 Defalias to seconds-to-time, since they're the same thing.
10064
10065 * emacs-lisp/elp.el (elp-elapsed-time):
10066 * emacs-lisp/benchmark.el (benchmark-elapse):
10067 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10068
10069 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * window.el (bury-buffer): Don't iconify the only frame.
10072 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10073 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10074
10075 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10076
10077 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10078 Add mouse-yank-primary.
10079
10080 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10081
10082 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10083
10084 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10087 (find-library-name): Use it to find relative load names when provided
10088 absolute file name (bug#8803).
10089
10090 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10091
10092 * textmodes/flyspell.el (flyspell-word): Consider words that
10093 differ only in case as potential doublons (bug#5687).
10094
10095 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10096 Remove two rather uninteresting debugging-like messages to make
10097 debbugs.el more silent.
10098
10099 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10100 a password-like phrase.
10101
10102 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10103
10104 * progmodes/cc-guess.el: New file.
10105
10106 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10107
10108 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10109 derived from `c-basic-common-init'.
10110
10111 * progmodes/cc-mode.el (top-level): Require cc-guess.
10112 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10113
10114 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10115
10116 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10117
10118 2011-06-30 Alan Mackenzie <acm@muc.de>
10119
10120 * progmodes/cc-engine.el (c-guess-continued-construct):
10121 Correct the handling of template-args-cont, particularly for when font
10122 lock is disabled. Name this case as "CASE G".
10123
10124 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10125
10126 * allout.el (allout-yank-processing): Fix injection of extra space
10127 between bullet and non-whitespace character in first topic when
10128 pasting, ensuring that the actual spacing in the pasted topic
10129 following the bullet char is preserved. This extra space was
10130 causing pasted encrypted topics to get a decrypted status even
10131 when the content was actually still encrypted. Now the decryption
10132 status from before the paste is preserved.
10133
10134 (allout-flag-region): Set all allout overlays so they evaporate
10135 when reduced to zero length (evanescent), to prevent overlay
10136 leakage.
10137
10138 2011-06-30 Glenn Morris <rgm@gnu.org>
10139
10140 * w32-fns.el (w32-charset-info-alist): Declare.
10141
10142 * find-dired.el (find-grep-options): Simplify.
10143
10144 * term/ns-win.el (ns-set-resource): Declare.
10145
10146 * ses.el (row, col): Declare dynamic variables honestly.
10147
10148 * textmodes/reftex-parse.el (index-tags): Declare.
10149
10150 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10151
10152 * cus-edit.el (customize-push-and-save): New function.
10153
10154 * files.el (hack-local-variables-confirm): Use it.
10155
10156 * custom.el (load-theme): New arg NO-CONFIRM.
10157 Use customize-push-and-save (Bug#8720).
10158 (custom-enabled-themes): Doc fix.
10159
10160 * cus-theme.el (customize-create-theme)
10161 (custom-theme-merge-theme): Callers to load-theme changed.
10162
10163 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10164
10165 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10166 short URLs have at least one dot in them (bug #7614).
10167
10168 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10169 nil, because using a pty is apparently too slow (bug #895).
10170
10171 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10172
10173 * mail/sendmail.el (sendmail-query-once): New function.
10174 (sendmail-query-once-function): New variable.
10175
10176 2011-06-29 Glenn Morris <rgm@gnu.org>
10177
10178 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10179
10180 * ses.el (top-level): Require cl when compiling.
10181 (ses-set-localvars): Fix error statement.
10182 Call it at compile time to silence a storm of warnings.
10183
10184 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10185
10186 * window.el (normalize-live-buffer): Rename to
10187 window-normalize-buffer.
10188 (normalize-live-frame): Rename to window-normalize-frame.
10189 (normalize-any-window): Rename to window-normalize-any-window.
10190 (normalize-live-window): Rename to window-normalize-live-window.
10191 (make-window-atom): Rename to window-make-atom.
10192 (window-resize-reset): Rename to window--resize-reset.
10193 (window-resize-reset-1): Rename to window--resize-reset-1.
10194 (resize-mini-window): Rename to window--resize-mini-window.
10195 (resize-subwindows-skip-p): Rename to
10196 window--resize-subwindows-skip-p.
10197 (resize-subwindows-normal): Rename to
10198 window--resize-subwindows-normal.
10199 (resize-subwindows): Rename to window--resize-subwindows.
10200 (resize-other-windows): Rename to window--resize-siblings.
10201 (resize-this-window): Rename to window--resize-this-window.
10202 (resize-root-window): Rename to window--resize-root-window.
10203 (resize-root-window-vertically): Rename to
10204 window--resize-root-window-vertically.
10205 (normalize-buffer-to-display): Rename to
10206 window-normalize-buffer-to-display.
10207 (normalize-buffer-to-switch-to): Rename to
10208 window-normalize-buffer-to-switch-to.
10209 Correspondingly update all callers of the functions listed
10210 above.
10211 (display-buffer-alist, display-buffer-normalize-arguments)
10212 (display-buffer-normalize-options, display-buffer)
10213 (display-buffer-alist-set): Use "function" instead of
10214 "fun-with-args".
10215
10216 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10217
10218 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10219 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10220 debbugs.gnu.org. Mention acknowledgment email.
10221
10222 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10223
10224 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10225 buffer multibyteness, since it shouldn't matter.
10226
10227 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (display-buffer-in-side-window): Handle dedicated
10230 windows as in display-buffer-reuse-window.
10231 (display-buffer-normalize-alist): Use value of override
10232 specifier.
10233 (display-buffer-normalize-specifiers): Use value of
10234 other-window-means-other-frame specifier.
10235 (display-buffer-alist): Rewrite some texts in widgets.
10236 (display-buffer): Spread arguments when calling function
10237 specified by fun-with-args.
10238
10239 2011-06-28 Deniz Dogan <deniz@dogan.se>
10240
10241 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10242 Unnest `let'.
10243
10244 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10245 selectors (Bug#5732).
10246 (css-proprietary-nmstart-re): Use `regexp-opt'.
10247
10248 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10249
10250 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10251 (eshell-ls-date-format): New defcustom.
10252 (eshell-ls-file): Use it.
10253
10254 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10257
10258 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10259
10260 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10261 (ange-ftp-make-tmp-name): New arg.
10262 (ange-ftp-file-local-copy): Use it.
10263
10264 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10265
10266 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10267 no-conversion (Bug#8870).
10268
10269 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10270
10271 * window.el (window-right, window-left, window-child)
10272 (window-child-count, window-last-child)
10273 (window-iso-combination-p, walk-window-tree-1)
10274 (window-atom-check-1, window-tree-1, delete-window)
10275 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10276 new naming conventions - window-vchild, window-hchild,
10277 window-next and window-prev are now called window-top-child,
10278 window-left-child, window-next-sibling and window-prev-sibling
10279 respectively.
10280 (resize-window-reset): Rename to window-resize-reset.
10281 (resize-window-reset-1): Rename to window-resize-reset-1.
10282 (resize-window): Rename to window-resize.
10283 (window-min-height, window-min-width)
10284 (resize-mini-window, resize-this-window, resize-root-window)
10285 (resize-root-window-vertically, adjust-window-trailing-edge)
10286 (enlarge-window, shrink-window, maximize-window)
10287 (minimize-window, delete-window, quit-restore-window)
10288 (split-window, balance-windows, balance-windows-area-adjust)
10289 (balance-windows-area, window-state-put-2)
10290 (display-buffer-even-window-sizes, display-buffer-set-height)
10291 (display-buffer-set-width, set-window-text-height)
10292 (fit-window-to-buffer): Rename all "resize-window" prefixed
10293 calls to use the "window-resize" prefix convention.
10294 (display-buffer-alist): Fix symbol for label specifier.
10295 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10296 corresponding specifier.
10297 Reported by Juanma Barranquero <lekktu@gmail.com>.
10298
10299 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10300
10301 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10302 convention.
10303 (ses-call-printer): Does not pass an empty string to formatter when the
10304 cell is empty to keep from barking printer Calc math-format-value.
10305
10306 2011-06-27 Richard Stallman <rms@gnu.org>
10307
10308 * battery.el (battery-mode-line-limit): New variable.
10309 (battery-update): Handle it.
10310
10311 * mail/rmailmm.el (rmail-mime-process-multipart):
10312 Handle truncated messages.
10313
10314 2011-06-27 Glenn Morris <rgm@gnu.org>
10315
10316 * progmodes/flymake.el (flymake-err-line-patterns):
10317 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10318
10319 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10320
10321 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10322 (ses--clean-!, ses--clean-_): New functions.
10323 (ses-range): Add configurability of readout order, and conversion
10324 to Calc vector.
10325
10326 * ses.el (ses-repair-cell-reference-all): New function.
10327 (ses-cell-symbol): Set macro as safe, so that it can be used in
10328 formulas.
10329
10330 * ses.el: Update cycle detection algorithm.
10331 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10332 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10333 (ses-set-localvars): New function.
10334 (ses-make-cell): Add property-list as a cell element.
10335 (ses-cell-property-get-fun, ses-cell-property-get)
10336 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10337 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10338 New functions.
10339 (ses-cell-property-set, ses-cell-property-pop)
10340 (ses-cell-property-get-handle): New macro.
10341 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10342 New aliases, used for code readability.
10343 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10344 cycle detection.
10345 (ses-self-reference-early-detection): New defcustom.
10346 (ses-formula-references): Robustify against self-referring cells.
10347 (ses-mode): Use ses-set-localvars.
10348 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10349 before lauching the update processing.
10350 (ses-initialize-Dijkstra-attempt): New function.
10351 (ses-recalculate-cell): Update for cycle detection based on
10352 Dijkstra algorithm.
10353
10354 * ses.el: Fix commenting and indenting convention.
10355
10356 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * bs.el (bs-cycle-next): Complete last change.
10359
10360 2011-06-27 Drew Adams <drew.adams@oracle.com>
10361
10362 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10363
10364 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10365
10366 * net/network-stream.el (network-stream-open-starttls):
10367 Don't re-get capabilities unless we've reestablished connection.
10368 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10369
10370 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10371 to binary to possibly avoid line encoding issues on Windows (among
10372 other things).
10373
10374 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10375
10376 * net/network-stream.el (open-network-stream): Return an :error
10377 saying what the problem was, if possible.
10378
10379 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10380 server.
10381
10382 * net/network-stream.el (network-stream-open-starttls): If we
10383 wanted to use STARTTLS, and the server offered it, but we weren't
10384 able to because we had no STARTTLS support, then close the connection.
10385 (open-network-stream): Return an :error element, if present.
10386
10387 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * hl-line.el (hl-line-sticky-flag): Doc fix.
10390 (global-hl-line-sticky-flag): New option (Bug#8323).
10391 (global-hl-line-highlight): Obey it.
10392
10393 * vc/vc.el (vc-revert-show-diff): Default to t.
10394
10395 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10396
10397 * allout-widgets.el (allout-widgets-post-command-business):
10398 Stop decorating intermediate isearch matches. They're not being
10399 undecorated when an isearch is continued past, and isearch
10400 automatically collapses them. This leads to "widget leaks", where
10401 decorated items accumulate in collapsed areas. Lines with lots of
10402 hidden widgets can slow down cursor travel, substantially.
10403 Too much complicated machinery would be needed to ensure undecoration,
10404 so we're doing without this nicety.
10405
10406 (allout-widgets-tally-string): Don't try to do a hash-table-count
10407 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10408 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10409 *Messages* when allout-widgets-maintain-tally is t.
10410
10411 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (display-buffer-normalize-argument): Rename to
10414 display-buffer-normalize-arguments. Handle special meaning of
10415 LABEL argument. Respect special-display-function when popping up
10416 a new frame. Fix code searching for a window showing the buffer
10417 on another frame.
10418 (display-buffer-normalize-specifiers):
10419 Call display-buffer-normalize-arguments.
10420 (display-buffer-in-window): Don't undedicate the window if its
10421 buffer remains the same.
10422 Reported by Drew Adams <drew.adams@oracle.com>.
10423 (display-buffer-alist): Add choice for same-window macro
10424 specfier.
10425 (display-buffer): Mention special meaning of LABEL argument in
10426 doc-string. Fix quoting. Don't pop up a new frame even as
10427 fallback.
10428
10429 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10432 avoid deleting the current window in some cases (bug#8911).
10433
10434 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10435
10436 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10437 (Bug#8934)
10438
10439 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440
10441 * net/network-stream.el (network-stream-open-starttls):
10442 Use built-in TLS support if `gnutls-available-p' is true.
10443 (network-stream-open-tls): Ditto.
10444
10445 2011-06-26 Leo Liu <sdl.web@gmail.com>
10446
10447 * register.el (registerv): New struct.
10448 (registerv-make): New function.
10449 (jump-to-register, describe-register-1, insert-register):
10450 Support the jump-func, print-func and insert-func slot of a registerv
10451 struct. (Bug#8415)
10452
10453 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10454
10455 * vc/vc.el (vc-revert-show-diff): New defcustom.
10456 (vc-diff-internal): New arg specifying diff buffer.
10457 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10458 reuse an existing *vc-diff* buffer (Bug#8927).
10459
10460 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10461
10462 2011-06-26 Glenn Morris <rgm@gnu.org>
10463
10464 * progmodes/f90.el (f90-critical-indent): New option.
10465 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10466 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10467 (f90-mode): Doc fix.
10468 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10469 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10470 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10471 (f90-match-end): Handle block, critical.
10472
10473 2011-06-25 Glenn Morris <rgm@gnu.org>
10474
10475 * calendar/diary-lib.el (diary-included-files): Doc fix.
10476 (diary-include-files): New function, extracted from
10477 diary-include-other-diary-files and diary-mark-included-diary-files.
10478 (diary-include-other-diary-files, diary-mark-included-diary-files):
10479 Just call diary-include-files.
10480 (diary-mark-entries): Reset diary-included-files on first call.
10481
10482 * calendar/diary-lib.el (diary-mark-entries)
10483 (diary-mark-included-diary-files):
10484 Visit included diary-files in temp buffers.
10485
10486 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10487 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10488 (f90-start-block-re, f90-imenu-generic-expression)
10489 (f90-looking-at-program-block-start, f90-no-block-limit):
10490 Add support for submodules.
10491
10492 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10493 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10494
10495 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10496
10497 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10498 buffer-file-type before setting its value, to avoid disastrous
10499 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10500
10501 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10502
10503 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10504
10505 * ses.el (ses-unload-function):
10506 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10507
10508 * proced.el (proced-unload-function):
10509 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10510
10511 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10512
10513 * server.el (server-create-window-system-frame): Add parameters arg.
10514 (server-process-filter): Doc fix. Handle frame-parameters.
10515
10516 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10517
10518 Fix bug#8730, bug#8781.
10519
10520 * loadhist.el (unload--set-major-mode): New function.
10521 (unload-feature): Use it.
10522
10523 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10524 (python-unload-function): New function.
10525
10526 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10529
10530 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10531
10532 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10533 the candidates list.
10534
10535 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10538
10539 2011-06-23 Richard Stallman <rms@gnu.org>
10540
10541 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10542 (rmail-variables): Set next-error-move-function.
10543 (rmail-what-message): Take argument POS.
10544 (rmail-next-error-move): New function.
10545
10546 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10549 messages for adjacent non-terminals.
10550
10551 2011-06-23 Richard Stallman <rms@gnu.org>
10552
10553 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10554 (rmail-show-message-1): Preserve buffer modified flag.
10555 (rmail-start-mail): Don't specify use of rmail-mail-return;
10556 that's done by mail-bury now.
10557 (rmail-mail-return): Handle arg NEWBUF.
10558
10559 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10560
10561 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10562 SIZE is a number.
10563
10564 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10565
10566 * window.el (get-lru-window, get-mru-window)
10567 (get-largest-window): Never return a minibuffer window.
10568 (display-buffer-pop-up-window): Fix a bug that could lead to
10569 reusing the minibuffer window.
10570 (display-buffer): Pass original specifier argument to
10571 display-buffer-function instead of the normalized one.
10572 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10573
10574 2011-06-22 Leo Liu <sdl.web@gmail.com>
10575
10576 * minibuffer.el (completing-read-function)
10577 (completing-read-default): Move from minibuf.c
10578
10579 2011-06-22 Richard Stallman <rms@gnu.org>
10580
10581 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10582 to Rmail even if not started by a special Rmail command.
10583
10584 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10585 Copy the buffer currently showing just one message.
10586
10587 2011-06-22 Roland Winkler <winkler@gnu.org>
10588
10589 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10590 (bibtex-clean-entry): First delete the old key so that a
10591 customized algorithm for generating the new key does not get
10592 confused by the old key.
10593 (bibtex-url): Obey regexp of first step.
10594 (bibtex-search-entries): Do not use add-to-list with local
10595 list-var.
10596
10597 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10598
10599 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10600 stored a user name, then query for the password first, instead of
10601 waiting for SMTP to give an error message and the trying again.
10602
10603 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10604
10605 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10606 BUFFER in call-process.
10607
10608 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10609
10610 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10611 QUIT twice.
10612 (smtpmail-try-auth-methods): Require user name and password from
10613 auth-source.
10614
10615 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10616
10617 * window.el (display-buffer-default-specifiers)
10618 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10619 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10620 (split-window): Normalize SIDE argument (Bug#8916).
10621
10622 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10623 (special-display-frame-alist, special-display-popup-frame):
10624 Remove duplicate declarations. These are now in window.el.
10625
10626 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10627
10628 * mail/smtpmail.el (smtpmail-via-smtp):
10629 Set :use-starttls-if-possible so that we always use STARTTLS if the
10630 server supports it. SMTP servers that support STARTTLS commonly
10631 require it.
10632
10633 * net/network-stream.el (network-stream-open-starttls): Support
10634 upgrading to STARTTLS always, even if we don't have built-in support.
10635 (open-network-stream): Add the :always-query-capabilities keyword.
10636
10637 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10638 upgrades with `open-network-stream', and rely solely on
10639 auth-source for all credentials. Big changes throughout the file,
10640 but in particular:
10641 (smtpmail-auth-credentials): Remove.
10642 (smtpmail-starttls-credentials): Remove.
10643 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10644 MAIL FROM, too.
10645
10646 * net/network-stream.el (network-stream-open-starttls):
10647 Provide support for client certificates both for external and built-in
10648 STARTTLS.
10649 (auth-source): Require.
10650 (open-network-stream): Document the :client-certificate keyword.
10651 (network-stream-certificate): Change cert-cert to cert and
10652 cert-key to key.
10653
10654 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10655
10656 * net/tramp-cache.el (top): Don't load the persistency file when
10657 "emacs -Q" has been called.
10658
10659 2011-06-21 Tim Harper <timcharper@gmail.com>
10660
10661 * term/ns-win.el (ns-initialize-window-system):
10662 Set application-specific `ApplePressAndHoldEnabled' system
10663 resource to NO as it is not yet supported by the NS port.
10664
10665 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10666
10667 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10668 (list-dynamic-libraries): ...not here.
10669
10670 2011-06-21 Leo Liu <sdl.web@gmail.com>
10671
10672 * subr.el (sha1): Implement sha1 using secure-hash.
10673
10674 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10675
10676 * window.el (display-buffer-alist): In default value do not
10677 enforce searching a window on any but the selected frame.
10678 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10679 (display-buffer-select-window): Remove function.
10680 (display-buffer-in-window): When a window on another frame gets
10681 reused, do not select it any more but just raise its frame if
10682 necessary (Bug#8851) and (Bug#8856).
10683 (display-buffer-normalize-options): Handle pop-up-frames related
10684 options more faithfully.
10685 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10686 window if it is on another frame.
10687 (display-buffer-alist, display-buffer-default-specifiers):
10688 Don't make new frame unsplittable by default.
10689 (display-buffer-normalize-argument): Fix doc-string typo and use
10690 'same-frame-other-window instead of 'other-window when associating
10691 with display-buffer-macro-specifiers.
10692
10693 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10694
10695 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10696 New functions.
10697 (5x5-mode-map, 5x5-mode-menu): Bind them.
10698 (5x5-draw-grid): Tweak the solver's rendering.
10699
10700 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10703 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10704
10705 2011-06-21 Drew Adams <drew.adams@oracle.com>
10706
10707 * menu-bar.el: Use function variable instead of switch-to-buffer.
10708 (menu-bar-select-buffer-function): New variable.
10709 (menu-bar-update-buffers): Use it (bug#8876).
10710
10711 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10714 variable's status.
10715
10716 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10717
10718 * x-dnd.el (x-dnd-version-from-flags)
10719 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10720 and long as number (Bug#8899).
10721 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10722
10723 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10726 (completion-try-completion, completion-all-completions): Compute the
10727 metadata argument if it's missing; make it optional (bug#8795).
10728
10729 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10730 (widget-complete): Use new :completion-function property.
10731 (widget-completions-at-point): New function.
10732 (default): Use :completion-function instead of :complete.
10733 (widget-default-completions): Rename from widget-default-complete;
10734 Rewrite.
10735 (widget-string-complete, widget-file-complete, widget-color-complete):
10736 Remove functions.
10737 (file, symbol, function, variable, coding-system, color):
10738 * international/mule-cmds.el (default-input-method, charset)
10739 (language-info-custom-alist):
10740 * cus-edit.el (face): Use new property :completions.
10741
10742 * progmodes/pascal.el (pascal-completions-at-point): New function.
10743 (pascal-mode): Use it.
10744 (pascal-mode-map): Use completion-at-point.
10745 (pascal-toggle-completions): Make obsolete.
10746 (pascal-complete-word, pascal-show-completions):
10747 * progmodes/octave-mod.el (octave-complete-symbol):
10748 Redefine as obsolete alias.
10749 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10750 Signal absence of completion info for old Octave,
10751 (inferior-octave-complete): Redefine as obsolete alias.
10752 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10753 (meta-completions-at-point): Rename from meta-complete-symbol and
10754 adapt it for use on completion-at-point-functions.
10755 (meta-common-mode): Use it.
10756 (meta-looking-at-backward, meta-match-buffer): Remove.
10757 (meta-complete-symbol): Redefine as obsolete alias.
10758 (meta-common-mode-map): Use completion-at-point.
10759 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10760 (makefile-mode-map): Use completion-at-point.
10761 (makefile-completions-at-point): Rename from makefile-complete and
10762 adapt it for use on completion-at-point-functions.
10763 (makefile-mode): Use it.
10764 (makefile-complete): Redefine as obsolete alias.
10765
10766 2011-06-20 Deniz Dogan <deniz@dogan.se>
10767
10768 * net/rcirc.el: Delete trailing whitespaces once and for all.
10769
10770 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10771
10772 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10773
10774 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10775
10776 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10777
10778 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10779
10780 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10781
10782 * window.el (display-buffer-other-window-means-other-frame):
10783 Call display-buffer-normalize-alist.
10784 (display-buffer-normalize-specifiers-1): Rename to
10785 display-buffer-normalize-argument. New argument other-frame.
10786 Rewrite.
10787 (display-buffer-normalize-specifiers-2): Rename to
10788 display-buffer-normalize-options.
10789 (display-buffer-normalize-alist-1): New function.
10790 (display-buffer-normalize-specifiers-3): Rename to
10791 display-buffer-normalize-alist.
10792 Call display-buffer-normalize-alist-1.
10793 (display-buffer-normalize-options-inhibit): New variable.
10794 (display-buffer-normalize-specifiers): Rewrite calling
10795 display-buffer-normalize-alist,
10796 display-buffer-normalize-argument, and
10797 display-buffer-normalize-options. Don't call the latter if
10798 display-buffer-normalize-options-inhibit is non-nil.
10799 (frame-auto-delete): New option.
10800 (window-deletable-p): Use frame-auto-delete.
10801 (window-list-no-nils, window-state-ignored-parameters)
10802 (window-state-get-1, window-state-get, window-state-put-list)
10803 (window-state-put-1, window-state-put-2, window-state-put):
10804 New functions.
10805 (display-buffer-normalize-options): Move special-display-p group
10806 after pop-up-frame group (Bug#8851) and (Bug#8856).
10807
10808 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10809
10810 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10811 groups (Bug#8776).
10812 (rx-submatch-n): New function.
10813 (rx): Document it.
10814
10815 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10816 (Bug#8768).
10817
10818 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10819
10820 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10821
10822 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10823 anytime existing face settings are present (Bug#8889).
10824
10825 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10826 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10827 Remove unused argument.
10828
10829 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (display-buffer-default-specifiers):
10832 Remove pop-up-frame. Add pop-up-window-min-height,
10833 pop-up-window-min-width, and another reuse-window specifier
10834 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10835 (display-buffer-normalize-specifiers-2):
10836 Handle split-height-threshold and split-width-threshold also when
10837 pop-up-windows is unset. Add a reuse-window specifier for the
10838 case popping up a new window fails.
10839 (special-display-popup-frame): Remove double quoting.
10840 (display-buffer-normalize-specifiers-1): Fix thinko.
10841
10842 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10845 according to comint-completion-addsuffix.
10846
10847 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10848 (pcomplete-suffix-list): Mark as obsolete.
10849 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10850 pcomplete-seen in the closure.
10851 (pcomplete-comint-setup): Setup completion-at-point as well.
10852 (pcomplete--entries): New function.
10853 (pcomplete--env-regexp): New var.
10854 (pcomplete-entries): Rewrite to work with partial-completion and
10855 without relying on pcomplete-suffix-list.
10856 (pcomplete-pare-list): Remove, unused.
10857
10858 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10859
10860 * window.el (display-buffer-alist): Set pop-up-window-min-height
10861 and pop-up-window-min-width in default value. Reported by
10862 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10863 other-window-means-other-frame.
10864 (display-buffer-macro-specifiers): Comment out entry for
10865 other-window specifier.
10866 (display-buffer-other-window-means-other-frame): New function.
10867 (display-buffer-normalize-specifiers-1): New arguments
10868 buffer-name and label. Treat other-window case specially.
10869 (display-buffer-normalize-specifiers-2): Treat other-window case
10870 specially.
10871 (display-buffer-normalize-specifiers-3): New function.
10872 (display-buffer-normalize-specifiers):
10873 Call display-buffer-normalize-specifiers-3.
10874
10875 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10876
10877 * window.el (same-window-p): Fix two typos introduced when
10878 adding with-no-warnings.
10879 (display-buffer-normalize-specifiers-1): Don't check
10880 pop-up-frames for 'unset initialization.
10881 (display-buffer-normalize-specifiers-2): Major rewrite using
10882 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10883 (pop-up-frames, display-buffer-reuse-frames)
10884 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10885 Suggested by David Engster <deng@randomsample.de>.
10886 (even-window-heights): Initialize to 'unset.
10887 (display-buffer-alist-set): Handle new 'unset initializations.
10888 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10889 other window case.
10890
10891 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10892
10893 * window.el (display-buffer-normalize-specifiers-1):
10894 Respect current value of pop-up-frames for most reasonable values of
10895 second argument of display-buffer (Bug#8865).
10896 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10897 (switch-to-buffer-other-window-same-frame)
10898 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10899 Adams (Bug#8875).
10900 (display-buffer): Don't check noninteractive when calling
10901 display-buffer-pop-up-frame.
10902 (display-buffer-pop-up-frame): Never pop up a frame in
10903 noninteractive mode (Bug#8857).
10904 (enlarge-window, shrink-window): Don't report an error when the
10905 window can't be resized as requested (Bug#8862).
10906
10907 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10910
10911 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10912
10913 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10914
10915 2011-06-15 Alan Mackenzie <acm@muc.de>
10916
10917 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10918 for declarators, disable knr checking to speed up for normal files.
10919 2: Refactor, replacing a sequence of nested if forms by a cond form.
10920
10921 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10922
10923 * net/network-stream.el (open-network-stream): Add the keyword
10924 :always-query-capabilities for the case where you want to force a
10925 `plain' network connection, but the protocol still requires the
10926 capabilitiy command (i.e., SMTP and EHLO).
10927
10928 * subr.el (process-live-p): Rename from `process-alive-p' for
10929 consistency with other `-live-p' functions.
10930
10931 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * window.el (same-window-buffer-names, same-window-regexps)
10934 (special-display-frame-alist, special-display-popup-frame)
10935 (special-display-function, special-display-buffer-names)
10936 (special-display-regexps, pop-up-frame-alist)
10937 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10938 (pop-up-windows, split-window-preferred-function)
10939 (split-height-threshold, split-width-threshold, even-window-heights)
10940 (display-buffer-mark-dedicated): Don't encourage the use of
10941 display-buffer-alist from Elisp code.
10942
10943 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10944
10945 * progmodes/python.el (python-mode): Derive from prog-mode.
10946 * progmodes/ps-mode.el (ps-mode):
10947 * progmodes/mixal-mode.el (mixal-mode):
10948 * progmodes/cfengine.el (cfengine-mode):
10949 * progmodes/ld-script.el (ld-script-mode): Likewise.
10950
10951 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10952
10953 * window.el (display-buffer-alist): Trim default value to avoid
10954 popping up a new frame (Bug#8857) or reusing an arbitrary window
10955 on another frame.
10956 (display-buffer): Do not fall back on popping up a new frame in
10957 batch mode (Bug#8857).
10958
10959 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10960
10961 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10962 (custom-theme-summary): New function.
10963 (customize-themes): Use it.
10964
10965 2011-06-13 Glenn Morris <rgm@gnu.org>
10966
10967 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10968
10969 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10970
10971 * help.el (help-window): Remove variable.
10972 (help-window-point-marker, temp-buffer-max-height)
10973 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10974 (help-print-return-message): Don't set help-window.
10975 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10976 (help-window-setup-finish): Remove.
10977 (help-window-display-message, help-window-setup)
10978 (with-help-window): Major rewrite based on new
10979 display-buffer-window variable.
10980
10981 * help-mode.el (help-mode-finish): Remove help-window related
10982 code.
10983
10984 * view.el (view-exits-all-viewing-windows): Remove reference to
10985 view-return-to-alist in doc-string.
10986 (view-return-to-alist): Make obsolete.
10987 (view-buffer): Call pop-to-buffer-same-window and remove
10988 undo-window code.
10989 (view-buffer-other-window): Call pop-to-buffer-other-window and
10990 simplify code. Ignore second argument.
10991 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10992 simplify code. Ignore second argument.
10993 (view-return-to-alist-update): Make obsolete.
10994 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10995 Rewrite using quit-restore window parameters.
10996 (view-mode-exit): Rename second argument to EXIT-ONLY.
10997 Rewrite using quit-restore-window.
10998 (View-exit, View-exit-and-edit, View-leave, View-quit)
10999 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11000 appropriate arguments.
11001 (view-end-message): Use quit-restore window parameter.
11002
11003 * window.el (display-buffer-function): Rewrite doc-string.
11004 (display-buffer-window, display-buffer-alist): New variables.
11005 (display-buffer-split-specifiers)
11006 (display-buffer-side-specifiers)
11007 (display-buffer-macro-specifiers): New constants.
11008 (display-buffer-even-window-sizes, display-buffer-set-height)
11009 (display-buffer-set-width, display-buffer-select-window)
11010 (display-buffer-in-window, display-buffer-reuse-window)
11011 (display-buffer-split-window-1, display-buffer-split-window)
11012 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11013 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11014 (display-buffer-in-side-window, normalize-buffer-to-display)
11015 (display-buffer-normalize-specifiers-1)
11016 (display-buffer-normalize-specifiers-2)
11017 (display-buffer-normalize-specifiers, display-buffer-frame):
11018 New functions.
11019 (display-buffer): Major rewrite.
11020 (display-buffer-other-window, display-buffer-other-frame)
11021 (pop-to-buffer, switch-to-buffer-other-window)
11022 (switch-to-buffer-other-frame): Rewrite.
11023 (display-buffer-same-window, display-buffer-same-frame)
11024 (display-buffer-same-frame-other-window)
11025 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11026 (pop-to-buffer-other-window)
11027 (pop-to-buffer-same-frame-other-window)
11028 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11029 (switch-to-buffer-other-window-same-frame): New functions.
11030 (same-window-p, special-display-p): Rewrite disabling warnings.
11031 Make obsolete.
11032 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11033 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11034 Make obsolete
11035 (same-window-buffer-names, same-window-regexps)
11036 (special-display-frame-alist, special-display-popup-frame)
11037 (special-display-function, special-display-buffer-names)
11038 (special-display-regexps, pop-up-frame-alist)
11039 (pop-up-frame-function, split-window-preferred-function)
11040 (split-height-threshold, split-width-threshold)
11041 (even-window-heights): Make obsolete.
11042
11043 2011-06-12 Glenn Morris <rgm@gnu.org>
11044
11045 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11046 Misc simplifications.
11047
11048 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11049
11050 * window.el (window-safely-shrinkable-p): Restore function which
11051 was inadvertently removed in change from 2011-06-11. Declare as
11052 obsolete.
11053
11054 * calendar/calendar.el (calendar-generate-window):
11055 Use window-iso-combined-p instead of combination of one-window-p and
11056 window-safely-shrinkable-p.
11057
11058 2011-06-12 Glenn Morris <rgm@gnu.org>
11059
11060 * progmodes/fortran.el (fortran-mode-syntax-table):
11061 * progmodes/f90.el (f90-mode-syntax-table):
11062 Set % to punctuation. (Bug#8820)
11063 (f90-find-tag-default): Remove, no longer needed.
11064
11065 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11066
11067 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11068
11069 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11070
11071 * image.el (image-animated-p): Return animation delay in seconds.
11072 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11073 (image-animate-timeout): Remove DELAY argument. Don't assume
11074 every subimage has the same delay; get it from image-animated-p.
11075 (image-animate): Caller changed.
11076
11077 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11078
11079 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11080 to ignored backtrace functions.
11081
11082 2011-06-11 Glenn Morris <rgm@gnu.org>
11083
11084 * calendar/appt.el (appt-disp-window-function): Doc fix.
11085 (appt-check): Handle overlapping appointments. (Bug#8337)
11086
11087 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11088
11089 * window.el (window-tree-1, window-tree): New functions, moving
11090 the latter to window.el.
11091 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11092 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11093 (bw-refresh-edges): Remove.
11094 (balance-windows-1, balance-windows-2): New functions.
11095 (balance-windows): Rewrite in terms of window tree functions,
11096 balance-windows-1 and balance-windows-2.
11097 (bw-adjust-window): Remove.
11098 (balance-windows-area-adjust): New function with functionality of
11099 bw-adjust-window but using resize-window.
11100 (set-window-text-height): Rewrite doc-string.
11101 Use normalize-live-window and resize-window.
11102 (enlarge-window-horizontally, shrink-window-horizontally):
11103 Rename argument to DELTA.
11104 (window-buffer-height): New function.
11105 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11106 Rewrite using new window resize routines.
11107 (kill-buffer-and-window, mouse-autoselect-window-select):
11108 Use ignore-errors instead of condition-case.
11109 (quit-window): Call delete-frame instead of delete-windows-on
11110 for the only buffer on frame.
11111
11112 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11113
11114 * loadup.el (top-level): Load window before files for the sake
11115 of replace-buffer-in-windows.
11116
11117 * files.el (read-buffer-to-switch)
11118 (switch-to-buffer-other-window)
11119 (switch-to-buffer-other-frame, display-buffer-other-frame):
11120 Move to window.el.
11121
11122 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11123 (previous-buffer): Move to window.el.
11124
11125 * bindings.el (unbury-buffer): Move to window.el.
11126
11127 * window.el (delete-other-windows-vertically): Move after
11128 definition of delete-other-windows.
11129 (other-window, delete-windows-on, replace-buffer-in-windows):
11130 Move here from window.c.
11131 (record-window-buffer, unrecord-window-buffer)
11132 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11133 (switch-to-next-buffer): New functions.
11134 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11135 from simple.el. Call switch-to-next-buffer.
11136 (previous-buffer): Move here from simple.el.
11137 Call switch-to-prev-buffer.
11138 (bury-buffer): Move here from buffer.c. Switch to previous
11139 buffer when window cannot be deleted.
11140 (unbury-buffer): Move here from bindings.el.
11141 (ctl-x-map): Move binding for other-window from window.c to
11142 here.
11143 (read-buffer-to-switch, switch-to-buffer-other-window)
11144 (switch-to-buffer-other-frame): Move here from files.el.
11145 (normalize-buffer-to-switch-to): New functions.
11146 (switch-to-buffer): Move here from buffer.c.
11147 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11148
11149 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11150
11151 * window.el (window-min-height, window-min-width): Move here
11152 from window.c. Add defcustoms and rewrite doc-strings.
11153 (resize-mini-window, resize-window): New functions.
11154 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11155 Move here from window.c.
11156 (maximize-window, minimize-window): New functions.
11157 (delete-window, delete-other-windows, split-window): Move here
11158 from window.c.
11159 (window-split-min-size): New function.
11160 (split-window-keep-point): Mention split-window-above-each-other
11161 instead of split-window-vertically.
11162 (split-window-above-each-other, split-window-vertically):
11163 Rename split-window-vertically to split-window-above-each-other
11164 and provide defalias for old definition.
11165 (split-window-side-by-side, split-window-horizontally):
11166 Rename split-window-horizontally to split-window-side-by-side
11167 and provide defalias for the old definition.
11168 (ctl-x-map): Move bindings for delete-window,
11169 delete-other-windows and enlarge-window here from window.c.
11170 Replace bindings for split-window-vertically and
11171 split-window-horizontally by bindings for
11172 split-window-above-each-other and split-window-side-by-side.
11173
11174 * cus-start.el (all): Remove entries for window-min-height and
11175 window-min-width. Add entries for window-splits and
11176 window-nest.
11177
11178 2011-06-09 Glenn Morris <rgm@gnu.org>
11179
11180 * calendar/appt.el (appt-mode-line): New function.
11181 (appt-check, appt-disp-window): Use it.
11182
11183 * files.el (hack-one-local-variable-eval-safep):
11184 Allow minor-modes with explicit +/-1 arguments.
11185
11186 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11187
11188 * term/xterm.el (xterm): Add defgroup.
11189 (xterm-extra-capabilities): Add defcustom to supply known xterm
11190 capabilities, skip querying them, or query them (default).
11191 (terminal-init-xterm): Use it.
11192 (terminal-init-xterm-modify-other-keys): New function to set up
11193 modifyOtherKeys support to simplify `terminal-init-xterm'.
11194
11195 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11196
11197 * window.el (resize-window-reset, resize-window-reset-1)
11198 (resize-subwindows-skip-p, resize-subwindows-normal)
11199 (resize-subwindows, resize-other-windows, resize-this-window)
11200 (resize-root-window, resize-root-window-vertically)
11201 (window-deletable-p, window-or-subwindow-p)
11202 (frame-root-window-p): New functions.
11203
11204 2011-06-09 Glenn Morris <rgm@gnu.org>
11205
11206 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11207 (ange-ftp-get-files): Use it.
11208
11209 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11210
11211 * mail/sendmail.el (mail-recover-1, mail-recover):
11212 * files.el (recover-file, recover-session):
11213 Handle dired-listing-switches not being just a single short option.
11214
11215 2011-06-09 Glenn Morris <rgm@gnu.org>
11216
11217 * calendar/appt.el (appt-display-message, appt-disp-window):
11218 Handle lists of appointments.
11219
11220 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11221
11222 * window.el (one-window-p): Move down in code.
11223 Rewrite doc-string.
11224 (window-current-scroll-bars): Rewrite doc-string.
11225 Normalize live window argument.
11226 (walk-windows, get-window-with-predicate, count-windows):
11227 Rewrite doc-string. Use window-list-1.
11228 (window-in-direction-2, window-in-direction, get-mru-window):
11229 New functions.
11230
11231 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11232
11233 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11234 Doc fix (Bug#8713).
11235
11236 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11237
11238 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11239
11240 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * loadhist.el (unload-feature-special-hooks):
11243 Add `comint-output-filter-functions'.
11244
11245 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11246
11247 * calendar/appt.el (appt-check): Move some initializations into the let.
11248
11249 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11250
11251 * window.el (window-height): Defalias to window-total-height.
11252 (window-width): Defalias to window-body-width.
11253
11254 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11255
11256 * image-mode.el (image-toggle-animation): New command.
11257 (image-mode-map): Bind it to RET.
11258 (image-mode): Update message.
11259 (image-toggle-display-image): Avoid a spurious cache flush.
11260 (image-transform-rotation): Doc fix.
11261 (image-transform-properties): Return quickly in the normal case.
11262 (image-animate-loop): Rename from image-animate-max-time.
11263
11264 * image.el (image-animate-max-time): Move to image-mode.el.
11265 (create-animated-image): Remove unnecessary function.
11266 (image-animate): Rename from image-animate-start. New arg.
11267 (image-animate-stop): Remove; just use image-animate-timer.
11268 (image-animate-timer): Use car-safe.
11269 (image-animate-timeout): Rename argument.
11270
11271 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11272
11273 * window.el (get-lru-window, get-largest-window): Move here from
11274 window.c. Rename first argument to ALL-FRAMES.
11275 Rephrase doc-strings.
11276 (get-buffer-window-list): Rewrite using window-list-1.
11277 Rephrase doc-string.
11278 (window-safe-min-height, window-safe-min-width): New constants.
11279 (window-size-ignore, window-min-size, window-min-size-1)
11280 (window-sizable, window-sizable-p, window-size-fixed-1)
11281 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11282 (window-max-delta-1, window-max-delta, window-resizable)
11283 (window-resizable-p, window-total-height, window-total-width)
11284 (window-body-width): New functions.
11285 (window-full-height-p, window-full-width-p): Rewrite using
11286 window-total-size.
11287 (window-body-height): Rewrite using window-body-size.
11288
11289 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (window-right, window-left, window-child)
11292 (window-child-count, window-last-child, window-any-p)
11293 (normalize-live-buffer, normalize-live-frame)
11294 (normalize-any-window, normalize-live-window)
11295 (window-iso-combination-p, window-iso-combined-p)
11296 (window-iso-combinations)
11297 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11298 (windows-with-parameter, window-with-parameter)
11299 (window-atom-root, make-window-atom, window-atom-check-1)
11300 (window-atom-check, window-side-check, window-check):
11301 New functions.
11302 (ignore-window-parameters, window-sides, window-sides-vertical)
11303 (window-sides-slots): New variables.
11304 (window-size-fixed): Move down in code. Minor doc-string fix.
11305
11306 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11307
11308 * comint.el (comint-dynamic-complete-as-filename)
11309 (comint-dynamic-complete-filename): Correctly call
11310 completion-in-region.
11311
11312 2011-06-05 Deniz Dogan <deniz@dogan.se>
11313
11314 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11315 in last change.
11316
11317 2011-06-05 Deniz Dogan <deniz@dogan.se>
11318
11319 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11320 (rcirc): Use it to prompt for encryption.
11321
11322 2011-06-05 Roland Winkler <winkler@gnu.org>
11323
11324 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11325 (bibtex-search-entries): New command bound to C-c C-a.
11326 (bibtex-display-entries): New function.
11327
11328 2011-06-05 Roland Winkler <winkler@gnu.org>
11329
11330 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11331 (bibtex-insert-kill): After yanking insert newline if necessary.
11332 (bibtex-initialize): Call bibtex-string-files-init only once.
11333 (bibtex-mode): Do not call easy-menu-add.
11334 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11335 (bibtex-yank): Set arg properly if nil.
11336
11337 2011-06-05 Roland Winkler <winkler@gnu.org>
11338
11339 * textmodes/bibtex.el (bibtex-search-entry-globally):
11340 New variable.
11341 (bibtex-search-entry): Use it.
11342
11343 2011-06-05 Roland Winkler <winkler@gnu.org>
11344
11345 * textmodes/bibtex.el (bibtex-entry-format): New option
11346 sort-fields.
11347 (bibtex-format-entry, bibtex-reformat): Honor this option.
11348 (bibtex-parse-entry): Return fields in proper order.
11349
11350 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * doc-view.el (doc-view-remove-if): Move computation of result out
11353 of `dolist' to silence misleading lexical-binding warning.
11354
11355 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11356
11357 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11358 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11359
11360 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11361
11362 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11363 "SunOS 5.10".
11364
11365 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11366
11367 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11368 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11369 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11370 (tramp-parse-putty):
11371 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11372 (tramp-completion-function-alist-ssh)
11373 (tramp-completion-function-alist-telnet)
11374 (tramp-completion-function-alist-su)
11375 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11376 cookie.
11377
11378 * net/tramp-ftp.el:
11379 * net/tramp-sh.el:
11380 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11381 load "tramp.el" `tramp-set-completion-function'.
11382
11383 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * shell.el: Require and use pcomplete.
11386 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11387 (shell-completion-vars): Set pcomplete-default-completion-function.
11388
11389 2011-06-04 Deniz Dogan <deniz@dogan.se>
11390
11391 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11392 `memq' (Bug#8799).
11393
11394 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11397
11398 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11401 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11402 * vc/log-view.el (log-view-beginning-of-defun):
11403 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11404 (smerge-refine-forward, smerge-refine-chopup-region):
11405 Silence warning for unused `dotimes' counter variables.
11406
11407 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11408
11409 * net/tramp.el (tramp-with-progress-reporter): Rename from
11410 with-progress-reporter. Use `declare'.
11411 * net/tramp-smb.el:
11412 * net/tramp-sh.el:
11413 * net/tramp-gvfs.el: Update all uses.
11414
11415 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11416
11417 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11418 buffer isn't killed before making it current.
11419
11420 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 Silence various byte-compiler warnings.
11423 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11424 `access-type' and new obsolescence format.
11425 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11426 new format.
11427 (byte-compile-check-variable): New `access-type' argument.
11428 Only warn if the access-type is obsolete.
11429 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11430 (byte-compile-variable-set): Adjust callers.
11431 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11432 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11433 setting it as obsolete.
11434 * simple.el (minibuffer-completing-symbol):
11435 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11436 access as obsolete.
11437 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11438 obsolete yet.
11439 * international/quail.el (quail-mouse-choose-completion): Remove unused
11440 code referring to obsolete var.
11441 (quail-choose-completion-string): Remove.
11442 * server.el (server-clients-with, server-kill-buffer-query-function)
11443 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11444 * proced.el (proced-send-signal):
11445 * emacs-lisp/lisp.el (lisp-complete-symbol):
11446 Replace completion-annotate-function with completion-extra-properties.
11447
11448 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * simple.el (goto-line): Use read-number.
11451 (overriding-map-is-bound): Remove.
11452 (saved-overriding-map): Change default.
11453 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11454 Take the map as argument.
11455 (universal-argument, negative-argument, digit-argument): Use it.
11456 (restore-overriding-map): Adjust.
11457 (do-auto-fill): Use fill-forward-paragraph.
11458 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11459
11460 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11461 (minibuffer-inactive-mode): New major mode.
11462 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11463 the *Messages* buffer" hack.
11464 (mouse-popup-menubar): Don't burp if the event is a normal key.
11465
11466 Miscellaneous tweaks.
11467 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11468 lexical scoping as in subr.el's dolist and dotimes.
11469 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11470 Silence compiler warning.
11471 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11472 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11473 * international/ccl.el (ccl-compile): Trivial simplification.
11474 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11475 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11476 `printflag' argument.
11477 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11478 Purecopy the whole obsolescence data.
11479
11480 2011-06-01 Leo Liu <sdl.web@gmail.com>
11481
11482 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11483 improve doc-string as suggested by Marco Pessotto
11484 <melmothx@gmail.com>.
11485 (rcirc-print): Fix last change.
11486
11487 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * minibuffer.el (complete-with-action): Return nil for the metadata and
11490 boundaries of non-functional tables.
11491 (completion-table-dynamic): Return nil for the metadata.
11492 (completion-table-with-terminator): Add default case, using
11493 complete-with-action.
11494 (completion--metadata): New function.
11495 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11496 to try and avoid pathological performance problems.
11497 (completion--embedded-envvar-table): Return `category' metadata.
11498
11499 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11500
11501 * subr.el (process-alive-p): New tiny convenience function.
11502
11503 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11506 content but also its previous major mode.
11507
11508 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11509
11510 * emacs-lisp/debug.el (debug): Restore the previous content of the
11511 *Backtrace* buffer when we exit with C-M-c.
11512
11513 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * minibuffer.el: Add metadata method to completion tables.
11516 (completion-category-overrides): New defcustom.
11517 (completion-metadata, completion--field-metadata)
11518 (completion-metadata-get, completion--styles)
11519 (completion--cycle-threshold): New functions.
11520 (completion-try-completion, completion-all-completions):
11521 Add `metadata' argument to choose completion-styles.
11522 (completion--do-completion): Use metadata to choose cycling.
11523 (completion-all-sorted-completions): Use metadata for sorting.
11524 Remove :completion-cycle-penalty which is not needed any more.
11525 (completion--try-word-completion): Add `metadata' argument.
11526 (minibuffer-completion-help): Check metadata for annotation function
11527 and sorting.
11528 (completion-file-name-table): Return `category' metadata.
11529 (minibuffer-completing-file-name): Make obsolete.
11530 * simple.el (minibuffer-completing-symbol): Make obsolete.
11531 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11532 completion-try-completion.
11533
11534 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11537
11538 2011-05-30 Leo Liu <sdl.web@gmail.com>
11539
11540 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11541 (rcirc-print): Decode all incoming messages (bug#8744).
11542 (rcirc-decode-coding-system): Allow value nil for automatic coding
11543 system detection.
11544
11545 2011-06-01 Glenn Morris <rgm@gnu.org>
11546
11547 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11548
11549 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11550
11551 * image.el (image-animate-max-time): Allow nil and t values.
11552 Default to nil.
11553 (create-animated-image): Doc fix.
11554 (image-animate-start): Remove second arg; just use
11555 image-animate-max-time.
11556 (image-animate-timeout): Doc fix. Args changed.
11557
11558 * image-mode.el (image-toggle-display-image): Ensure that the
11559 image spec passed to the animate timer is the same object as in
11560 the buffer's display property (Bug#6981).
11561 (image-transform-properties): Doc fix.
11562
11563 * image.el (image-animate-max-time): Default to nil.
11564
11565 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11566
11567 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11568 entire buffer list (Bug#8184).
11569
11570 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11571
11572 * image.el (imagemagick-types-inhibit)
11573 (imagemagick-register-types): Doc fix.
11574
11575 2011-05-29 Deniz Dogan <deniz@dogan.se>
11576
11577 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11578 default.
11579
11580 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11581
11582 * select.el: Don't perform clipboard-manager saving in hooks;
11583 leave the hooks empty.
11584
11585 2011-05-28 Leo Liu <sdl.web@gmail.com>
11586
11587 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11588 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11589 (occur-edit-mode): New major mode (Bug#8463).
11590 (occur-after-change-function): New function.
11591 (occur-engine): Give Occur tags a read-only property.
11592
11593 2011-05-28 Kevin Ryde <user42@zip.com.au>
11594
11595 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11596
11597 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11598
11599 * bindings.el (help-echo): Make the initial non-indicator dash
11600 empty on graphical terminals (Bug#7295).
11601
11602 * files.el (auto-mode-alist): Move config rule after the
11603 in-stripping one (Bug#8547).
11604
11605 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11606
11607 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11608 setting (Bug#8740).
11609
11610 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11611
11612 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11613 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11614 (Bug#8539).
11615
11616 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11617
11618 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11619
11620 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11621
11622 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11623 (hs-hide-block-at-point, hs-find-block-beginning)
11624 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11625 (Bug#8279).
11626
11627 2011-05-28 Glenn Morris <rgm@gnu.org>
11628
11629 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11630
11631 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * help-fns.el (describe-function-1): If the function is a derived
11634 major mode, print the parent mode.
11635
11636 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11637 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11638
11639 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * minibuffer.el (completion--capf-wrapper): Check applicability before
11642 returning non-nil for non-exclusive completion data.
11643 * progmodes/etags.el (tags-completion-at-point-function):
11644 * info-look.el (info-lookup-completions-at-point): Mark as
11645 non-exclusive.
11646 (info-complete): Adjust accordingly.
11647
11648 * info-look.el: Convert to lexical-binding and completion-at-point.
11649 (info-lookup-completions-at-point): New function.
11650 (info-complete): Use it and completion-in-region.
11651
11652 2011-05-28 Drew Adams <drew.adams@oracle.com>
11653
11654 * isearch.el: Let M-e start with point at the first mismatched char.
11655 (isearch-fail-pos): New function.
11656 (isearch-edit-string): Use it.
11657
11658 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11659
11660 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11661
11662 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11663
11664 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11665 traversal functions for avl-trees.
11666 (avl-tree--stack): New struct.
11667 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11668 (avl-tree-enter): Add optional `updatefun' arg.
11669 (avl-tree--do-enter): Add optional `updatefun' arg.
11670 Change return value.
11671 (avl-tree-delete): Add optional `test' and `nilflag' args.
11672 (avl-tree--do-delete): Add `test' and `nilflag' args.
11673 Change return value.
11674 (avl-tree-member): Add optional `nilflag'
11675 (avl-tree-member-p): New function.
11676 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11677 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11678 (avl-tree-stack-empty-p): New functions.
11679
11680 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11681 avl-tree--del-balance1 and make it work both ways.
11682 (avl-tree--del-balance2): Remove.
11683 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11684 make it work both ways.
11685 (avl-tree--enter-balance2): Remove.
11686 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11687 New macros.
11688 (avl-tree--mapc, avl-tree-map): Add direction argument.
11689
11690 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11691
11692 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11693
11694 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11695
11696 * select.el: Support clipboard managers with built-in function
11697 x-clipboard-manager-save, via delete-frame-functions and
11698 kill-emacs-hook.
11699 (xselect-convert-to-targets): Add MULTIPLE target to list.
11700 (xselect-convert-to-save-targets): New function.
11701
11702 2011-05-27 Kenichi Handa <handa@m17n.org>
11703
11704 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11705 let-binding rfc2047-encode-encoded-words to nil.
11706
11707 2011-05-27 Glenn Morris <rgm@gnu.org>
11708
11709 * mail/emacsbug.el: Don't require url-util.
11710
11711 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11712
11713 * files.el (set-auto-mode):
11714 Also respect mode: entries at the end of the file. (Bug#8586)
11715
11716 2011-05-26 Glenn Morris <rgm@gnu.org>
11717
11718 * files.el (hack-local-variables-prop-line, hack-local-variables):
11719 Downcase mode names, as seems to be traditional.
11720 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11721
11722 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11723 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11724
11725 2011-05-25 Julien Danjou <julien@danjou.info>
11726
11727 * textmodes/rst.el (rst-define-level-faces): Do not define face
11728 symbol if it is already defined.
11729
11730 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11731
11732 * play/5x5.el (5x5-new-game, 5x5-randomize):
11733 Reset 5x5-solver-output to nil when a new grid is cast.
11734 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11735 these debugging traces, as defmacro breaks the compiled code.
11736
11737 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11738
11739 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11740
11741 2011-05-24 Leo Liu <sdl.web@gmail.com>
11742
11743 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11744 (vc-bzr-sha1): Adapt.
11745
11746 * sha1.el: Remove. Function `sha1' is now builtin.
11747
11748 * bindings.el: Provide sha1 feature.
11749
11750 2011-05-24 Kenichi Handa <handa@m17n.org>
11751
11752 * mail/sendmail.el: Require `rfc2047'.
11753 (mail-insert-from-field): Do not perform RFC2047 encoding.
11754 (mail-encode-header): New function.
11755 (sendmail-send-it): Set buffer-file-coding-system of the work
11756 buffer to the return value of select-message-coding-system.
11757 Call mail-encode-header.
11758
11759 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11760
11761 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11762
11763 * mail/supercite.el (sc-default-cite-frame):
11764 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11765
11766 2011-05-24 Glenn Morris <rgm@gnu.org>
11767
11768 * progmodes/python.el (brm-menu): Declare.
11769
11770 * emulation/viper.el (viper-set-hooks): Declare.
11771
11772 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11773 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11774 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11775 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11776 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11777 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11778
11779 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 Add an :exit-function for completion-at-point.
11782
11783 * minibuffer.el (completion--done): New fun.
11784 (completion--do-completion): Use it. New arg `expect-exact'.
11785 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11786 since completion--do-completion does it for us now.
11787 (minibuffer-force-complete): Use completion--done and
11788 completion--replace. Handle sole-completion case with more care.
11789 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11790 (completion-extra-properties): New var.
11791 (completion-annotate-function): Make obsolete.
11792 (minibuffer-completion-help): Adjust accordingly.
11793 Use completion-list-insert-choice-function.
11794 (completion-at-point, completion-help-at-point):
11795 Bind completion-extra-properties.
11796 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11797 * simple.el (completion-list-insert-choice-function): New var.
11798 (completion-setup-function): Preserve it.
11799 (choose-completion): Pay attention to it, shuffle the code a bit.
11800 (choose-completion-string): New arg `insert-function'.
11801
11802 * textmodes/bibtex.el: Convert to lexical binding.
11803 (bibtex-mode-map): Use completion-at-point.
11804 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11805 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11806 (bibtex-complete): Define as obsolete alias.
11807 (bibtex-complete-internal): Remove.
11808 (bibtex-format-entry): Remove unused sub-group in regexp.
11809 * shell.el (shell--command-completion-data)
11810 (shell-environment-variable-completion):
11811 * pcomplete.el (pcomplete-completions-at-point):
11812 * comint.el (comint--complete-file-name-data): Use :exit-function
11813 instead of completion-table-with-terminator so it also works for
11814 choose-completion.
11815
11816 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11819
11820 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11821 (bug#8710).
11822
11823 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11824
11825 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11826
11827 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11828 customization variable and implement: If non-nil, auto-fill will
11829 be inhibited while on topic's header line.
11830
11831 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11832
11833 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11834 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11835 always have a solution in grid size = 5 cases.
11836 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11837 (5x5-solver-output, 5x5-log-buffer): New vars.
11838 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11839 Make these variables buffer local to achieve 5x5 multi-session-ness.
11840 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11841 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11842 (5x5-solve-suggest): New funs.
11843 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11844 randomize a grid so that we ensure that there is always a solution.
11845 (5x5-make-random-grid): Allow other movement than flipping.
11846
11847 2011-05-23 Kevin Ryde <user42@zip.com.au>
11848
11849 * emacs-lisp/advice.el (ad-read-advised-function):
11850 Use `function-called-at-point' as the default, if it has
11851 advice and passes PREDICATE.
11852
11853 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11856 byte-compile-lambda if it's actually a lambda.
11857
11858 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11859 Fix function quoting. Use backquote better.
11860
11861 2011-05-22 Yuanle Song <sylecn@gmail.com>
11862
11863 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11864 matching (Bug#8516).
11865
11866 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11867
11868 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11869 different face (Bug#8178).
11870
11871 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11872
11873 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11874 defface (Bug#8144).
11875
11876 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11879 funcall as well (bug#8712). Warn when performing those conversions.
11880 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11881
11882 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11883
11884 2011-05-22 Glenn Morris <rgm@gnu.org>
11885
11886 * files.el (hack-local-variables-prop-line): Small simplifications.
11887 (hack-local-variables, hack-local-variables-prop-line):
11888 If MODE-ONLY, return the mode, rather than just `t'.
11889
11890 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11893
11894 2011-05-21 Glenn Morris <rgm@gnu.org>
11895
11896 * files.el (hack-local-variables-prop-line, hack-local-variables):
11897 If only interested in the mode, don't bother doing the other stuff.
11898
11899 * image-mode.el (image-after-revert-hook):
11900 Redraw all frames on which the image is visible. (Bug#8567)
11901
11902 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11903
11904 * wid-edit.el (widget-checklist-match-inline):
11905 Fix 2011-04-19 change. (Bug#8649)
11906
11907 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11910 Also allow singlespace after single-letter capitals followed by a dot.
11911
11912 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11913 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11914
11915 2011-05-20 Nix <nix@esperi.org.uk>
11916
11917 * files.el (basic-save-buffer-2):
11918 Fix handling of break-hardlink-on-save with non-existent files.
11919
11920 2011-05-19 Deniz Dogan <deniz@dogan.se>
11921
11922 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11923 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11924
11925 2011-05-19 Glenn Morris <rgm@gnu.org>
11926
11927 * progmodes/f90.el (f90-type-def-re):
11928 Handle "type, bind(c)". (Bug#8691)
11929
11930 * emacs-lisp/autoload.el (batch-update-autoloads):
11931 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11932
11933 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11934
11935 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11936 property for the correct connection in case of multihops.
11937
11938 2011-05-18 Glenn Morris <rgm@gnu.org>
11939
11940 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11941 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11942
11943 Rationalize calendar handling of day and month abbrev-arrays.
11944 * calendar/calendar.el (calendar-customized-p): New function.
11945 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11946 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11947 Add :set function.
11948 (calendar-abbrev-length, calendar-day-abbrev-array)
11949 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11950 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11951 Elements may no longer be nil.
11952 (calendar-day-name, calendar-month-name):
11953 Update for changed nature of abbrev arrays.
11954 * calendar/diary-lib.el (diary-name-pattern):
11955 Update for changed nature of abbrev arrays.
11956 (diary-mark-entries-1): Update calendar-make-alist calls.
11957 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11958 * calendar/cal-html.el (cal-html-day-abbrev-array):
11959 Simply inherit from calendar-day-abbrev-array.
11960
11961 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * progmodes/grep.el (grep-mode): Disable default
11964 compilation-directory-matcher setting (bug#8684).
11965
11966 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11967
11968 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11969 instead of "head" and "tail". There were problems with SunOS 5.9,
11970 and it performs better.
11971
11972 2011-05-17 Glenn Morris <rgm@gnu.org>
11973
11974 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11975
11976 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11977 Replace obsolete function.
11978
11979 * shell.el (pcomplete-parse-arguments-function): Declare.
11980
11981 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11982 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11983 (appt-check): Doc fixes.
11984 (appt-disp-window-function, appt-delete-window-function):
11985 Remove needless special case in custom :type.
11986 (appt-display-count): Default to 0, not nil.
11987 (appt-check): Reset appt-display-count to 0, not nil.
11988
11989 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * progmodes/python.el (python-font-lock-keywords):
11992 Add the Python 3.X keyword "nonlocal" (bug#8639).
11993
11994 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11997
11998 2011-05-16 Kevin Ryde <user42@zip.com.au>
11999
12000 * info-look.el (makefile-automake-mode): New setups, looking in
12001 automake manual, then makefile-mode.
12002 (makefile-mode): Remove automake manual, have it just in
12003 makefile-automake-mode since there's various things different or
12004 not relevant to plain make.
12005 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12006 believe a hypothetical automake-mode would go to makefile-mode,
12007 not the other way around.
12008
12009 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12010
12011 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12012 hunk-end tags (Bug#8672).
12013
12014 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12015 vc-annotate-show-diff-revision-at-line (Bug#8671).
12016
12017 2011-05-14 Glenn Morris <rgm@gnu.org>
12018
12019 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12020 in the middle of an existing one with multiple authors. (Bug#8645)
12021 (change-log-font-lock-keywords): Also handle multiple author lines
12022 with leading tabs. (Bug#8644)
12023
12024 * calendar/appt.el (appt-check): Rename some local variables.
12025 Some simplification/reordering.
12026
12027 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12028 (feedmail-sendmail-f-doesnt-sell-me-out)
12029 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12030 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12031 (feedmail-queue-runner-message-sender): Set :version.
12032 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12033 (bbdb-dwim-net-address, vm-mail): Declare.
12034 (feedmail-binmail-gnulinuxish-template):
12035 Rename from feedmail-binmail-linuxish-template.
12036 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12037 Use insert-buffer-substring.
12038
12039 2011-05-14 Bill Carpenter <bill@carpenter.org>
12040
12041 * mail/feedmail.el (feedmail-patch-level): Increase.
12042 (feedmail-debug): New custom group.
12043 (feedmail-confirm-outgoing-timeout)
12044 (feedmail-sendmail-f-doesnt-sell-me-out)
12045 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12046 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12047 (feedmail-sender-line, feedmail-from-line)
12048 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12049 (feedmail-spray-this-address)
12050 (feedmail-spray-address-fiddle-plex-list)
12051 (feedmail-queue-use-send-time-for-date)
12052 (feedmail-queue-use-send-time-for-message-id)
12053 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12054 (feedmail-buffer-eating-function):
12055 Doc fixes.
12056 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12057 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12058 (feedmail-message-action-scroll-down): New functions.
12059 (feedmail-queue-directory, feedmail-queue-draft-directory):
12060 Use expand-file-name.
12061 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12062 Remove C-v help entry.
12063 (feedmail-queue-buffer-file-name): New variable.
12064 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12065 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12066 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12067 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12068 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12069 (feedmail-message-action-toggle-spray)
12070 (feedmail-run-the-queue-no-prompts)
12071 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12072 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12073 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12074 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12075 (feedmail-envelope-deducer, feedmail-fiddle-from)
12076 (feedmail-fiddle-sender, feedmail-default-date-generator)
12077 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12078 (feedmail-fiddle-spray-address)
12079 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12080 (feedmail-fiddle-list-of-fiddle-plexes)
12081 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12082 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12083 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12084 Change default. Doc fix.
12085 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12086 (feedmail-binmail-linuxish-template): New constant.
12087 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12088 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12089 (feedmail-send-it): Add debug call.
12090 Use feedmail-queue-buffer-file-name, and
12091 feedmail-send-it-immediately-wrapper.
12092 (feedmail-message-action-send): Add debug call.
12093 Use feedmail-send-it-immediately-wrapper.
12094 (feedmail-queue-express-to-queue): Add debug call.
12095 Run feedmail-queue-express-hook.
12096 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12097 (feedmail-message-action-help-blat):
12098 Rename from feedmail-queue-send-edit-prompt-help-first.
12099 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12100 Check line-endings. Handle errors better.
12101 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12102 Doc fix. Add debug call.
12103 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12104 Use feedmail-queue-send-edit-prompt-inner.
12105 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12106 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12107 from feedmail-queue-send-edit-prompt.
12108 (feedmail-queue-send-edit-prompt-help)
12109 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12110 (feedmail-tidy-up-slug): Add debug call.
12111 Respect feedmail-queue-slug-suspect-regexp.
12112 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12113 (feedmail-dump-message-to-queue): Add debug call.
12114 Expand queue-directory.
12115 (feedmail-dump-message-to-queue): Change message slightly.
12116 Use feedmail-say-chatter.
12117 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12118 (feedmail-send-it-immediately-wrapper): New function.
12119 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12120 Insert empty string rather than newline. Handle full-frame case.
12121 Use catch/throw. Use feedmail-say-chatter.
12122 (feedmail-fiddle-from): Try mail-host-address.
12123 (feedmail-default-message-id-generator): Doc fix.
12124 Bind system-time-locale. Handle missing end.
12125 (feedmail-fiddle-x-mailer): Add debug call.
12126 Handle feedmail-x-mailer-line being nil.
12127 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12128 Add debug call. Use buffer-substring-no-properties.
12129 (feedmail-say-debug, feedmail-say-chatter): New functions.
12130 (feedmail-find-eoh): Give an explicit error.
12131
12132 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12133
12134 * net/newst-treeview.el (newsticker-treeview-face): Change default
12135 family from helvetica to sans.
12136 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12137 etc/images/newsticker.
12138
12139 * net/newst-reader.el (newsticker-feed-face): Change default
12140 family from helvetica to sans.
12141
12142 * net/newst-plainview.el (newsticker-new-item-face)
12143 (newsticker-old-item-face, newsticker-immortal-item-face)
12144 (newsticker-obsolete-item-face, newsticker-date-face)
12145 (newsticker-statistics-face): Change default family from
12146 helvetica to sans.
12147 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12148 etc/images/newsticker.
12149
12150 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12151 (newsticker--process-auto-mark-filter-match): Tell user about
12152 auto-marking.
12153
12154 2011-05-13 Didier Verna <didier@xemacs.org>
12155
12156 Common Lisp indentation improvements on defmethod and lambda-lists.
12157 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12158 TODO entries.
12159 (lisp-lambda-list-keyword-parameter-indentation)
12160 (lisp-lambda-list-keyword-parameter-alignment)
12161 (lisp-lambda-list-keyword-alignment): New customizable user options.
12162 (lisp-indent-defun-method): Improve docstring.
12163 (extended-loop-p): Fix comment.
12164 (lisp-indent-lambda-list-keywords-regexp): New variable.
12165 (lisp-indent-lambda-list): New function.
12166 (lisp-indent-259): Use it.
12167 (lisp-indent-defmethod): Support for more than one
12168 method qualifier and properly indent methods lambda-lists.
12169 (defgeneric): Provide a missing common-lisp-indent-function property.
12170
12171 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12174 bounds for the empty string (bug#8667).
12175
12176 2011-05-13 Glenn Morris <rgm@gnu.org>
12177
12178 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12179
12180 * mail/sendmail.el (sendmail-program): Try executable-find first.
12181 (sendmail-send-it): `sendmail-program' cannot be unbound.
12182
12183 * calendar/appt.el (appt-make-list): Simplify.
12184 (appt-time-msg-list): Doc fix.
12185 (appt-check): Change mode-line message at the time of the appointment.
12186
12187 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12188
12189 * progmodes/ld-script.el (ld-script-keywords)
12190 (ld-script-builtins): Update keywords list.
12191
12192 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12195
12196 * shell.el (shell-completion-vars): New function.
12197 (shell-mode):
12198 * simple.el (read-shell-command): Use it.
12199 (blink-matching-open): No need for " [...]" in minibuffer-message.
12200
12201 2011-05-12 Glenn Morris <rgm@gnu.org>
12202
12203 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12204 (appt-check): Simplify.
12205
12206 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12207
12208 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12209 literal "/dev/null".
12210
12211 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12214 Fix typo.
12215
12216 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12217
12218 * progmodes/which-func.el (which-function):
12219 Use add-log-current-defun instead of add-log-current-defun-function,
12220 which might not be defined (Bug#8260).
12221
12222 2011-05-12 Glenn Morris <rgm@gnu.org>
12223
12224 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12225 Let byte-compile-initial-macro-environment always take precedence.
12226
12227 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * net/rcirc.el: Add support for SSL/TLS connections.
12230 (rcirc-server-alist): New field `encryption'.
12231 (rcirc): Check `encryption' settings.
12232 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12233 Merge make-local-variable into `set'.
12234 (rcirc--connection-open-p): New function.
12235 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12236 the process is not a network process (e.g. running gnutls-cli).
12237 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12238 Make rcirc-(en|de)code-coding-system local here.
12239 (rcirc-mode): Merge make-local-variable into `set'.
12240 (rcirc-parent-buffer): Make permanent buffer-local.
12241 (rcirc-multiline-minor-mode): Don't do it here.
12242 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12243 there's no server buffer.
12244
12245 2011-05-11 Glenn Morris <rgm@gnu.org>
12246
12247 * newcomment.el (comment-kill): Prefix "unused" local.
12248
12249 * term/w32console.el (get-screen-color): Declare.
12250
12251 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12252 Handle symbol elements of byte-compile-initial-macro-environment.
12253
12254 2011-05-10 Leo Liu <sdl.web@gmail.com>
12255
12256 * bookmark.el (bookmark-bmenu-mode-map):
12257 Bind bookmark-bmenu-search to `/'.
12258
12259 * mail/footnote.el: Convert to utf-8 encoding.
12260 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12261 (Footnote-unicode): New function.
12262 (footnote-style-alist): Add unicode style to the list.
12263 (footnote-style): Doc fix.
12264
12265 2011-05-10 Jim Meyering <meyering@redhat.com>
12266
12267 Fix doubled-word typos.
12268 * international/quail.el (quail-insert-kbd-layout): and and -> and
12269 * kermit.el: and and -> and
12270 * net/ldap.el (ldap-search-internal): to to -> to
12271 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12272 * progmodes/js.el (js-mode): and and -> and
12273 * textmodes/artist.el (artist-move-to-xy): at at -> at
12274 (artist-draw-region-trim-line-endings): if if -> if
12275 And Safetyc -> Safety.
12276 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12277
12278 2011-05-10 Glenn Morris <rgm@gnu.org>
12279 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * files.el (hack-one-local-variable-eval-safep):
12282 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12283
12284 2011-05-10 Glenn Morris <rgm@gnu.org>
12285
12286 * calendar/diary-lib.el (diary-list-entries-hook)
12287 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12288 (diary-nongregorian-marking-hook, diary-list-entries)
12289 (diary-include-other-diary-files, diary-mark-entries)
12290 (diary-mark-included-diary-files): Doc fixes.
12291
12292 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12293
12294 * misc.el: Require tabulated-list.el during compilation.
12295
12296 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12297
12298 * progmodes/compile.el (compilation-start):
12299 Run compilation-filter-hook for the async case too.
12300 (compilation-filter-hook): Doc fix.
12301
12302 2011-05-09 Deniz Dogan <deniz@dogan.se>
12303
12304 * wdired.el: Remove outdated installation comment. Fix usage
12305 comment.
12306
12307 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12308
12309 * misc.el: Implement new command `list-dynamic-libraries'.
12310 (list-dynamic-libraries--loaded-only-p): New variable.
12311 (list-dynamic-libraries--refresh): New function.
12312 (list-dynamic-libraries): New command.
12313
12314 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12315
12316 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12317 Fix the ant regexp to handle end-line and end-column info from jikes.
12318 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12319 higher priority to avoid clobbering by gnu.
12320
12321 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12322
12323 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12324 if the face has existing theme settings (Bug#8454).
12325
12326 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12327
12328 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12329 Only match variables declared via `my' or `our' (Bug#8261).
12330
12331 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12332 special file names `.' and `..' (Bug#8259).
12333
12334 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12335
12336 * progmodes/grep.el (grep-mode-font-lock-keywords):
12337 Remove buffer-changing entries.
12338 (grep-filter): New function.
12339 (grep-mode): Add it to compilation-filter-hook.
12340
12341 * progmodes/compile.el (compilation-filter-hook)
12342 (compilation-filter-start): New defvars.
12343 (compilation-filter): Call compilation-filter-hook prior to
12344 updating the process mark.
12345
12346 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12349
12350 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12351
12352 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12353 mailclient-send-it even if window-system is nil. (Bug#8595)
12354
12355 * term/w32console.el (terminal-init-w32console):
12356 Call get-screen-color and use its output to set the frame
12357 background-mode. (Bug#8597)
12358
12359 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12362 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12363 New functions.
12364 (defgeneric, eieio--defmethod): Use them.
12365 (eieio-defgeneric): Remove.
12366 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12367
12368 2011-05-07 Glenn Morris <rgm@gnu.org>
12369
12370 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12371 Use let rather than let*.
12372 (timeclock-find-discrep): Remove unused local.
12373
12374 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12375
12376 * calendar/appt.el (appt-time-msg-list): Doc fix.
12377
12378 2011-05-06 Noah Friedman <friedman@splode.com>
12379
12380 * apropos.el (apropos-print-doc): Only use
12381 emacs-lisp-docstring-fill-column when it is bound to an integer,
12382 per that variable's documentation.
12383
12384 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12387 and warnings are not silently discarded (e.g. use -d instead of -P).
12388
12389 2011-05-06 Glenn Morris <rgm@gnu.org>
12390
12391 * calendar/appt.el (appt-message-warning-time): Doc fix.
12392 (appt-warning-time-regexp): New option.
12393 (appt-make-list): Respect appt-message-warning-time.
12394
12395 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12396 New options.
12397 (diary-add-to-list): Strip comments from the displayed string.
12398 (diary-mode): Set comment-start and comment-end.
12399
12400 * vc/diff-mode.el (smerge-refine-subst): Declare.
12401 (diff-refine-hunk): Don't require smerge-mode when compiling.
12402
12403 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * simple.el (list-processes): Return nil as the docstring says.
12406
12407 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12408
12409 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12410 to "".
12411 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12412 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12413 determining of binary transfer. (Bug#7383)
12414
12415 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12416
12417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12418 Fix port computation bug. (Bug#8618)
12419
12420 2011-05-05 Glenn Morris <rgm@gnu.org>
12421
12422 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12423
12424 * simple.el (shell-dynamic-complete-functions)
12425 (comint-dynamic-complete-functions): Declare.
12426
12427 * net/network-stream.el (gnutls-negotiate):
12428 * simple.el (tabulated-list-print): Fix declarations.
12429
12430 * progmodes/gud.el (syntax-symbol, syntax-point):
12431 Remove unnecessary and incorrect declarations.
12432
12433 * emacs-lisp/check-declare.el (check-declare-scan):
12434 Handle byte-compile-initial-macro-environment in bytecomp.el
12435
12436 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 Fix earlier half-done eieio-defmethod change (bug#8338).
12439 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12440 Streamline and change calling convention.
12441 (defmethod): Adjust accordingly and simplify.
12442 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12443 new eieio--defmethod.
12444 (slot-boundp): Minor CSE simplification.
12445
12446 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12447
12448 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12449 (glasses-make-readable): Use glasses-separate-capital-groups.
12450
12451 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12452
12453 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12454 (warning-series): Doc fix.
12455 (display-warning): Don't try to create the buffer if we just found it.
12456
12457 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12460 (autoload-find-generated-file): New function.
12461 (generate-file-autoloads): Bind generated-autoload-file to
12462 buffer-file-name.
12463 (update-file-autoloads, update-directory-autoloads):
12464 Use autoload-find-generated-file. If called interactively, prompt for
12465 output file (Bug#7989).
12466 (batch-update-autoloads): Doc fix.
12467
12468 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12469
12470 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12471
12472 2011-05-04 Glenn Morris <rgm@gnu.org>
12473
12474 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12475 function, so it follows changes in calendar-date-style.
12476 (diary-fancy-date-matcher): New function.
12477 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12478 (diary-fancy-font-lock-fontify-region-function):
12479 Use diary-fancy-date-pattern as a function.
12480
12481 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12482 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12483
12484 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12485
12486 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12487 instead of positional arguments. Allow :keylist and :crlfiles
12488 arguments.
12489 (open-gnutls-stream): Call it.
12490
12491 * net/network-stream.el (network-stream-open-starttls): Adjust to
12492 call `gnutls-negotiate' with :process and :hostname arguments.
12493
12494 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * minibuffer.el (completion--message): New function.
12497 (completion--do-completion, minibuffer-complete)
12498 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12499 (completion--do-completion): Don't ignore completion-auto-help when in
12500 icomplete-mode.
12501
12502 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12503 internal encoding (e.g. tibetan zero is not whitespace).
12504 (global-whitespace-mode): Prefer save-current-buffer.
12505 (whitespace-trailing-regexp): Remove useless save-match-data.
12506 (whitespace-empty-at-bob-regexp): Minor simplification.
12507
12508 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12509
12510 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12511
12512 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12513
12514 * textmodes/ispell.el (ispell-add-per-file-word-list):
12515 Use `concat' to create string for insertion.
12516
12517 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12520 Avoid open-line which runs post-self-insert-hook.
12521 (bibtex-fill-entry): Remove unused `end' var.
12522
12523 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12524
12525 * textmodes/ispell.el (ispell-add-per-file-word-list):
12526 Protect against `nil' value of `comment-start' (Bug#8579).
12527
12528 2011-05-03 Leo Liu <sdl.web@gmail.com>
12529
12530 * isearch.el (isearch-yank-pop): New command.
12531 (isearch-mode-map): Bind it to `M-y'.
12532 (isearch-forward): Mention it.
12533
12534 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * simple.el (minibuffer-complete-shell-command): Remove.
12537 (minibuffer-local-shell-command-map): Use completion-at-point.
12538 (read-shell-command): Setup completion vars here instead.
12539 (read-expression-map): Bind TAB to symbol completion.
12540
12541 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12542 error directly rather via storing it into `results'.
12543
12544 2011-05-02 Leo Liu <sdl.web@gmail.com>
12545
12546 * vc/diff.el: Fix description.
12547
12548 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12549
12550 * server.el (server-eval-at): New function.
12551
12552 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12553
12554 * net/network-stream.el (open-network-stream): Take a :nowait
12555 parameter and pass it on to `make-network-process'.
12556 (network-stream-open-plain): Ditto.
12557
12558 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12559
12560 * faces.el (face-spec-set-match-display): Don't match toolkit
12561 options on terminal frames.
12562
12563 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * progmodes/pascal.el: Use lexical binding.
12566 (pascal-mode-map): Remove author preferences.
12567
12568 * pcomplete.el (pcomplete-std-complete): Don't abuse
12569 completion-at-point.
12570
12571 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12572
12573 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12574 removing code that has been dead since 1991 or so.
12575
12576 * startup.el (command-line): When warning about "_emacs", use a
12577 delayed warning to allow the user to filter it out.
12578
12579 2011-04-28 Deniz Dogan <deniz@dogan.se>
12580
12581 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12582 user has not joined.
12583
12584 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12585
12586 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12587 aren't any completions at point.
12588
12589 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12590
12591 * subr.el (display-delayed-warnings): New function.
12592 (delayed-warnings-hook): New variable.
12593
12594 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * minibuffer.el (completion-at-point, completion-help-at-point):
12597 Don't presume that a given completion-at-point-function will always
12598 use the same calling convention.
12599
12600 * pcomplete.el (pcomplete-completions-at-point):
12601 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12602 pcomplete-seen is non-nil.
12603 (pcomplete-comint-setup): Also recognize the new comint/shell
12604 completion functions.
12605 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12606 pcomplete-seen is non-nil.
12607
12608 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12609
12610 * calendar/icalendar.el (diary-lib): Add require statement.
12611 (icalendar--create-uid): Read out a uid from a text-property on
12612 the first character in the entry. This allows for code to add its
12613 own uid to the entry.
12614 (icalendar--convert-float-to-ical): Add export of
12615 `diary-float'-entries save for those with the optional DAY
12616 argument.
12617
12618 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12619
12620 * subr.el (shell-quote-argument): Use alternate escaping strategy
12621 when we spot a variable reference in a string.
12622
12623 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12624
12625 * cus-start.el (all): Define customization for debug-on-event.
12626
12627 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12628
12629 * subr.el (shell-quote-argument): Escape correctly under Windows.
12630
12631 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12634
12635 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12636
12637 * net/tramp.el (tramp-process-actions): Add POS argument.
12638 Delete region between POS and (pos).
12639
12640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12641 Use `nil' position in `tramp-process-actions' call.
12642 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12643
12644 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12645 position in `tramp-process-actions' call.
12646
12647 * net/trampver.el: Update release number.
12648
12649 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * custom.el (defcustom): Obey lexical-binding.
12652
12653 Fix octave-inf completion problems reported by Alexander Klimov.
12654 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12655 Inherit from octave-mode-syntax-table.
12656 (inferior-octave-mode): Set info-lookup-mode.
12657 (inferior-octave-completion-at-point): New function.
12658 (inferior-octave-complete): Use it and completion-in-region.
12659 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12660 comint-filename-completion.
12661 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12662 symbol elements which shouldn't be word elements.
12663 (octave-font-lock-keywords, octave-beginning-of-defun)
12664 (octave-function-header-regexp): Adjust regexps accordingly.
12665 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12666
12667 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * net/gnutls.el (gnutls-errorp): Declare before first use.
12670
12671 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12672
12673 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12674 verify-error, and verify-hostname-error parameters. Check whether
12675 default trustfile exists before going to use it. Add missing
12676 argument to gnutls-message-maybe call. Return value.
12677 Reported by Claudio Bley <claudio.bley@gmail.com>.
12678 (open-gnutls-stream): Add usage example.
12679
12680 * net/network-stream.el (network-stream-open-starttls): Give host
12681 parameter to `gnutls-negotiate'.
12682 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12683 * subr.el (shell-quote-argument): Escape correctly under Windows.
12684
12685 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12686
12687 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12688 Use correct match group (bug#8438).
12689
12690 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12691
12692 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12693 (package-menu--generate): New arg specifying packages to show.
12694 (package-menu-refresh, package-menu-execute, list-packages):
12695 Callers changed.
12696 (package-show-package-list): New function, replacing deleted
12697 package--list-packages (renamed because it is non-internal).
12698
12699 * finder.el (finder-list-matches): Use package-show-package-list
12700 instead of deleted package--list-packages.
12701
12702 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12703 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12704 (vc-annotate-mode-map): Bind it to RET.
12705
12706 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12707
12708 * progmodes/etags.el (next-file): Don't use set-buffer to change
12709 buffers (Bug#8478).
12710
12711 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12712
12713 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12714
12715 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12716 (apropos-accumulator): Doc fix.
12717 (apropos-function, apropos-macro, apropos-command)
12718 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12719 (apropos-plist): Add face property.
12720 (apropos-symbols-internal): Fix indentation.
12721 (apropos-print): Simplify help, and recognize apropos-multi-type.
12722 (apropos-print-doc): Use button-type-get to extract the button's
12723 face property. Fill docstring (Bug#8352).
12724
12725 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12726
12727 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12728
12729 * play/mpuz.el (mpuz-silent): Doc fix.
12730 (mpuz-mode-map): Use mapc.
12731 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12732 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12733 Fix typos in docstrings.
12734
12735 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12736 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12737
12738 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12739
12740 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12741
12742 * minibuffer.el (completion--do-completion): Avoid the "Next char
12743 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12744
12745 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12746 mouse-2 into unread-command-events, it is interpreted correctly.
12747
12748 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12749 (image-toggle-display): Doc fix.
12750
12751 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12752
12753 * textmodes/page.el (what-page): Use line-number-at-pos to
12754 calculate line number (Bug#6825).
12755
12756 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12759 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12760 Pass argument NO-DEFAULT to `find-tag-interactive'.
12761
12762 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12763
12764 Lexical-binding cleanup.
12765
12766 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12767 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12768 * progmodes/ada-prj.el (ada-prj-initialize-values)
12769 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12770 (ada-prj-show-value):
12771 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12772 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12773 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12774 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12775 * progmodes/bug-reference.el (bug-reference-push-button):
12776 * progmodes/fortran.el (fortran-line-length):
12777 * progmodes/glasses.el (glasses-change):
12778 * progmodes/octave-mod.el (octave-fill-paragraph):
12779 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12780 (python-pdbtrack-grub-for-buffer, python-sentinel):
12781 * progmodes/sql.el (sql-save-connection):
12782 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12783 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12784 Mark unused parameters.
12785
12786 * progmodes/compile.el (compilation--flush-directory-cache)
12787 (compilation--flush-parse, compile-internal): Mark unused parameters.
12788 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12789 (compilation-next-error-function): Remove unused variable `timestamp'.
12790
12791 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12792 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12793
12794 * progmodes/dcl-mode.el (dcl-end-of-command):
12795 Remove unused variable `start'.
12796 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12797 (dcl-option-value-basic, dcl-option-value-offset)
12798 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12799 Mark unused parameters.
12800 (dcl-save-local-variable): Remove unused variable `val'.
12801 (mode): Declare.
12802
12803 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12804 Mark unused parameters.
12805 (delphi-ignore-changes): Move before first use.
12806 (delphi-charset-token-at): Remove unused variable `start'.
12807 (delphi-else-start): Remove unused variable `if-count'.
12808 (delphi-comment-block-start, delphi-comment-block-end):
12809 Remove unused variable `kind'.
12810 (delphi-indent-line): Remove unused variable `new-point'.
12811
12812 * progmodes/ebrowse.el (ebrowse-files-list)
12813 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12814 Mark unused parameters. Don't quote `lambda'.
12815 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12816 Don't quote `lambda'.
12817 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12818 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12819 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12820 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12821 Use `ignore-errors'.
12822 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12823 (ebrowse-view/find-file-and-search-pattern)
12824 (ebrowse-view/find-member-declaration/definition):
12825 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12826 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12827 Rename parameter PREFIX-ARG to PREFIX.
12828 (ebrowse-tags-read-name): Remove unused variables `start' and
12829 `member-info'.
12830 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12831 to `tags-file'.
12832
12833 * progmodes/etags.el (local-find-tag-hook): Declare.
12834 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12835 Mark unused parameters.
12836
12837 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12838 (executable-interpret): Mark unused parameter.
12839
12840 * progmodes/flymake.el (flymake-process-sentinel)
12841 (flymake-after-change-function)
12842 (flymake-create-temp-with-folder-structure)
12843 (flymake-get-include-dirs-dot): Mark unused parameters.
12844 (flymake-safe-delete-directory): Remove unused variable `err'.
12845
12846 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12847 (speedbar-timer-fn, speedbar-line-text)
12848 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12849 (speedbar-center-buffer-smartly): Declare functions.
12850 (gdb-find-watch-expression): Remove unused variable `array'.
12851 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12852 (gdb-starting): Mark unused parameters.
12853 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12854 (gdb-table-string): Remove unused variable `res'.
12855 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12856 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12857 (gdb-display-buffer): Remove unused variable `cur-size'.
12858
12859 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12860 allow lexical-binding compilation.
12861 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12862 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12863 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12864 Mark unused parameters.
12865 (gud-gdb-marker-filter): Remove unused variable `match'.
12866 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12867 lambda expressions and funcall them, instead of using `fset'.
12868
12869 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12870 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12871
12872 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12873 variable `header-beg'; use `let'.
12874
12875 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12876 `restart', `last-sexp' and `at-do'.
12877
12878 * progmodes/js.el (js--debug): Mark unused parameter.
12879 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12880 (js--splice-into-items): Remove unused variable `item'.
12881 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12882
12883 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12884 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12885 (makefile-complete): Remove unused variable `try'.
12886 (makefile-fill-paragraph, makefile-match-function-end):
12887 Mark unused parameters.
12888
12889 * progmodes/octave-inf.el (inferior-octave-complete):
12890 Remove unused variable `proc'.
12891 (inferior-octave-output-digest): Mark unused parameter.
12892
12893 * progmodes/perl-mode.el (perl-calculate-indent):
12894 Remove unused variable `err'.
12895
12896 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12897 (prolog-indent-line): Mark unused parameters.
12898 (prolog-indent-line): Remove unused variable `beg'.
12899
12900 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12901 (reporter-dont-compact-list): Declare.
12902
12903 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12904 Remove unused variable `char'.
12905 (sh-debug): Mark unused parameter.
12906 (sh-get-indent-info): Remove unused variable `start'.
12907 (sh-calculate-indent): Remove unused variable `var'.
12908
12909 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12910 (simula-electric-keyword): Remove unused variable `null'.
12911 (simula-search-backward, simula-search-forward): Remove unused
12912 variables `begin' and `end'.
12913
12914 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12915 Remove unused variable `pos'.
12916 (vera-electric-tab, vera-comment-uncomment-region):
12917 Mark unused parameters.
12918 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12919
12920 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * emacs-lisp/package.el (package--builtins, package-alist)
12923 (package-load-descriptor, package-built-in-p, package-activate)
12924 (define-package, package-installed-p)
12925 (package-compute-transaction, package-buffer-info)
12926 (package--push): Doc fix. Distinguish more clearly between
12927 version strings and version lists.
12928
12929 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12930
12931 Lexical-binding cleanup.
12932
12933 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12934 (5x5-make-mutate-best):
12935 * play/fortune.el (fortune-in-buffer):
12936 * play/gomoku.el (gomoku-init-display):
12937 * play/solitaire.el (solitaire, solitaire-do-check):
12938 * play/tetris.el (tetris-default-update-speed-function):
12939 Mark unused parameters.
12940
12941 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12942 (bubbles--shift): Remove unused variable `char-org'.
12943 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12944 (bubbles--show-images): Remove unused variable `char'.
12945
12946 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12947 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12948 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12949 (decipher-analyze-buffer): Use ?\s.
12950 (decipher-make-checkpoint): Remove unused variable `mapping'.
12951
12952 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12953
12954 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12955 Remove unused variable `result'; use `let'.
12956
12957 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12958 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12959 (gametree-children-shown-p, gametree-compute-reduced-score):
12960 Use `ignore-errors'.
12961
12962 * play/handwrite.el (ps-lpr-switches): Declare.
12963 (handwrite): Remove unused variables `pmin' and `lastp'.
12964
12965 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12966
12967 * play/landmark.el (landmark-init-display)
12968 (landmark-update-naught-weights): Mark unused parameters.
12969 (landmark-y): Remove unused variable `noise'. Simplify.
12970 (landmark-human-plays): Remove unused variable `score'.
12971
12972 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12973 (mpuz-try-proposal): Remove unused variable `game'.
12974
12975 * play/zone.el (life-patterns): Declare.
12976
12977 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12978
12979 * vc/vc.el (ediff-vc-internal): Declare function.
12980
12981 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 * shell.el: Use lexical-binding and std completion UI.
12984 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12985 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12986 comint-preoutput-filter-functions rather than on
12987 comint-output-filter-functions.
12988 (shell-command-completion, shell--command-completion-data)
12989 (shell-filename-completion, shell-environment-variable-completion)
12990 (shell-c-a-p-replace-by-expanded-directory): New functions.
12991 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12992 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12993 (shell-dynamic-complete-environment-variable): Use them.
12994 (shell-dynamic-complete-as-environment-variable)
12995 (shell-dynamic-complete-as-command): Remove.
12996 (shell-match-partial-variable): Match past point.
12997 * comint.el: Clean up use of completion-at-point-functions.
12998 (comint-completion-at-point): New function.
12999 (comint-mode): Use it completion-at-point-functions.
13000 (comint-dynamic-complete): Make it obsolete.
13001 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13002 (comint-c-a-p-replace-by-expanded-history): New function.
13003 (comint-dynamic-complete-functions)
13004 (comint-replace-by-expanded-history): Use it.
13005 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13006 termination strings. Try harder to avoid second try-completion.
13007 (completion-in-region-mode-map): Disable bindings that don't work yet.
13008
13009 * comint.el: Use lexical-binding. Require CL.
13010 (comint-dynamic-complete-functions): Use comint-filename-completion.
13011 (comint-completion-addsuffix): Tweak custom type.
13012 (comint-filename-completion, comint--common-suffix)
13013 (comint--common-quoted-suffix, comint--table-subvert)
13014 (comint--complete-file-name-data): New functions.
13015 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13016 (comint-dynamic-list-filename-completions): Use them.
13017 (comint-dynamic-simple-complete): Make obsolete.
13018
13019 * minibuffer.el (completion-in-region-mode):
13020 Keep completion-in-region-mode--predicate global.
13021 (completion-in-region--postch):
13022 Assume completion-in-region-mode--predicate is not null.
13023
13024 * progmodes/flymake.el (flymake-start-syntax-check-process):
13025 Obey `dir'. Simplify.
13026
13027 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13028 we're in VC after all.
13029
13030 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13031
13032 * vc/vc.el (vc-diff-build-argument-list-internal)
13033 (vc-version-ediff, vc-ediff): New commands.
13034 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13035
13036 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13039 add sanity check.
13040
13041 * obsolete/erc-hecomplete.el: Make obsolete.
13042 * obsolete/: Standardize obsolescence info in the header.
13043
13044 2011-04-20 Glenn Morris <rgm@gnu.org>
13045
13046 * calendar/solar.el (solar-horizontal-coordinates):
13047 Use the longitude argument rather than `calendar-longitude'.
13048 (solar-date-next-longitude): Remove unused locals.
13049
13050 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13051
13052 * whitespace.el: New version 13.2.1.
13053
13054 2011-04-20 felix <EmacsWiki> (tiny change)
13055
13056 * whitespace.el (global-whitespace-mode): Keep highlight when
13057 switching between major modes on a file.
13058
13059 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13062 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13063 multi-line comments as well.
13064
13065 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13066
13067 Lexical-binding cleanup.
13068
13069 * arc-mode.el (archive-mode-revert):
13070 * cmuscheme.el (scheme-interactively-start-process):
13071 * custom.el (custom-initialize-delay):
13072 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13073 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13074 * emacs-lock.el (emacs-lock-clear-sentinel):
13075 * ezimage.el (defezimage):
13076 * follow.el (follow-avoid-tail-recenter):
13077 * fringe.el (set-fringe-mode-1):
13078 * generic-x.el (bat-generic-mode-compile):
13079 * help-mode.el (help-info-variable, help-do-xref)
13080 (help-mode-revert-buffer):
13081 * help.el (view-emacs-todo):
13082 * iswitchb.el (iswitchb-completion-help):
13083 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13084 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13085 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13086 * locate.el (locate-update):
13087 * longlines.el (longlines-encode-region)
13088 (longlines-after-change-function):
13089 * outline.el (outline-isearch-open-invisible):
13090 * ps-def.el (declare-function, charset-dimension, char-width)
13091 (encode-char):
13092 * ps-mule.el (ps-mule-plot-string):
13093 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13094 (recentf-edit-list-select, recentf-edit-list-validate)
13095 (recentf-open-files-action):
13096 * rect.el (delete-whitespace-rectangle-line)
13097 (rectangle-number-line-callback):
13098 * register.el (window-configuration-to-register)
13099 (frame-configuration-to-register):
13100 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13101 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13102 (xselect-convert-to-targets, xselect-convert-to-delete)
13103 (xselect-convert-to-filename, xselect-convert-to-charpos)
13104 (xselect-convert-to-lineno, xselect-convert-to-colno)
13105 (xselect-convert-to-os, xselect-convert-to-host)
13106 (xselect-convert-to-user, xselect-convert-to-class)
13107 (xselect-convert-to-name, xselect-convert-to-integer)
13108 (xselect-convert-to-atom, xselect-convert-to-identity):
13109 * subr.el (declare, ignore, process-kill-without-query)
13110 (text-clone-maintain):
13111 * terminal.el (te-get-char, te-tic-sentinel):
13112 * tool-bar.el (tool-bar-make-keymap):
13113 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13114 * type-break.el (type-break-mode, type-break-noninteractive-query):
13115 * view.el (View-back-to-mark):
13116 * wid-browse.el (widget-browse-action, widget-browse-widget)
13117 (widget-browse-widgets, widget-browse-sexp):
13118 * widget.el (define-widget-keywords):
13119 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13120 Mark unused parameters.
13121
13122 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13123 (align-areas): Remove unused variable `look'.
13124 (align-region): Remove unused variables `real-end' and `pos-list'.
13125
13126 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13127
13128 * bindings.el (mode-line-modified, mode-line-remote):
13129 Mark unused parameters.
13130 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13131
13132 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13133 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13134
13135 * comint.el (comint-history-isearch-pop-state)
13136 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13137 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13138 (comint-substitute-in-file-name): Doc fix.
13139
13140 * completion.el (cmpl-statistics-block): Mark unused parameter.
13141 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13142 (save-completions-to-file, load-completions-from-file):
13143 Remove unused local variable `e'.
13144
13145 * composite.el (compose-chars): Remove unused variable `len'.
13146 (lgstring-insert-glyph): Remove unused variable `g'.
13147 (compose-glyph-string): Remove unused variables `ascent',
13148 `descent', `lbearing' and `rbearing'.
13149 (compose-glyph-string-relative): Remove unused variables
13150 `lbearing', `rbearing' and `wadjust'.
13151 (compose-gstring-for-graphic): Remove unused variables `header',
13152 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13153 (compose-gstring-for-terminal): Remove unused variables `header'
13154 and `nchars'. Use `let', not `let*'.
13155
13156 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13157 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13158 (Custom-buffer-done, custom-buffer-create-internal)
13159 (custom-browse-visibility-action, custom-browse-group-tag-action)
13160 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13161 (widget-magic-mouse-down-action, custom-toggle-parent)
13162 (custom-add-parent-links, custom-toggle-hide-variable)
13163 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13164 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13165 (custom-face-menu-create, custom-variable-menu-create, get)
13166 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13167 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13168 (customize-apropos): Remove unused variable `tests'.
13169 (custom-group-value-create): Remove unused variable `hidden-p'.
13170 (sort-fold-case): Declare.
13171
13172 * cus-theme.el (custom-reset-standard-faces-list)
13173 (custom-reset-standard-variables-list): Declare.
13174 (customize-create-theme, custom-theme-revert, custom-theme-write)
13175 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13176 Mark unused parameters.
13177
13178 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13179
13180 * delim-col.el (delimit-columns-max): Move defvar before first use.
13181
13182 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13183 (describe-char): Don't quote `lambda'. Mark unused parameter.
13184
13185 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13186 (auto-insert): Declare.
13187 (desktop-restore-file-buffer): Rename desktop-* parameters;
13188 mark unused ones.
13189 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13190 (desktop-buffer): Rename desktop-* parameters.
13191
13192 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13193 (dframe-reposition-frame-xemacs, dframe-help-echo)
13194 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13195 Mark unused parameters.
13196
13197 * dired-aux.el (backup-extract-version-start, overwrite-query)
13198 (overwrite-backup-query, rename-regexp-query)
13199 (rename-non-directory-query): Declare.
13200 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13201 (dired-add-entry): Remove unused variable `orig-file-name'.
13202 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13203 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13204 `dired-copy-preserve-time' directly.
13205 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13206 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13207
13208 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13209 (dired-virtual-revert, dired-make-relative-symlink):
13210 Mark unused parameters.
13211 (manual-program): Declare.
13212 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13213 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13214 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13215
13216 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13217
13218 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13219
13220 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13221 Declare.
13222
13223 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13224
13225 * electric.el (Electric-command-loop): Rename parameter
13226 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13227
13228 * expand.el (expand-in-literal): Remove unused variable `here'.
13229
13230 * facemenu.el (facemenu-add-new-color):
13231 Remove unused variable `docstring'.
13232
13233 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13234 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13235 (face-attr-construct): Mark unused parameter. Doc fix.
13236 (read-color): Remove unused variable `hex-string'.
13237
13238 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13239 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13240 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13241 (display-buffer-other-frame): Remove unused variable `old-window'.
13242 (kill-buffer-hook): Declare.
13243 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13244 Mark unused parameters.
13245 (after-find-file): Pass 1 to `auto-save-mode', not t.
13246
13247 * files-x.el (auto-insert): Declare.
13248 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13249
13250 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13251 variable `buf'. Mark unused parameter.
13252 (find-lisp-insert-directory): Mark unused parameter.
13253
13254 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13255 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13256 (format-common-tail): Remove, unused.
13257 (format-deannotate-region): Remove unused variable `loc'.
13258 (format-annotate-region): Remove unused variable `p'.
13259 (format-annotate-single-property-change): Remove unused variables
13260 `default' and `tail'.
13261
13262 * forms.el (read-file-filter): Declare.
13263 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13264
13265 * frame.el (frame-creation-function-alist): Mark unused parameter.
13266 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13267
13268 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13269 Remove unused parameters.
13270 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13271 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13272
13273 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13274 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13275 (hfy-prepare-tag-map): Mark unused parameters.
13276 (htmlfontify-buffer): Use `called-interactively-p'.
13277
13278 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13279 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13280 (ibuffer-do-occur): Mark unused parameters.
13281 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13282 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13283
13284 * ibuffer.el: Don't quote `lambda'.
13285 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13286 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13287 Mark unused parameters.
13288
13289 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13290 (ido-completing-read): Mark unused parameters.
13291 (ido-copy-current-word): Mark unused parameters;
13292 remove unused variable `name'.
13293 (ido-sort-merged-list): Remove unused parameter `dirs'.
13294
13295 * ielm.el (ielm-input-sender): Mark unused parameter.
13296 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13297 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13298 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13299 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13300 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13301
13302 * image-dired.el (image-dired-display-thumbs): Remove unused
13303 variables `curr-file' and `count'.
13304 (image-dired-remove-tag): Remove unused variable `start'.
13305 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13306 variable `curr-file'
13307 (image-dired-rotate-original): Remove unused variable `temp-file'.
13308 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13309 Remove unused variable `file'.
13310 (image-dired-gallery-generate): Remove unused variable `curr'.
13311 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13312
13313 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13314
13315 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13316
13317 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13318
13319 * isearch.el (minibuffer-history-symbol): Declare.
13320 (isearch-edit-string): Remove unused variable `err'.
13321 (isearch-message-prefix, isearch-message-suffix):
13322 Mark unused parameters.
13323
13324 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13325
13326 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13327
13328 * makesum.el (double-column): Remove unused variable `cnt'.
13329
13330 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13331 (ido-ignore-item-temp-list): Declare.
13332
13333 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13334 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13335 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13336 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13337 `mouse-col-delta'.
13338
13339 * mouse-sel.el (mouse-extend-internal):
13340 Remove unused variable `orig-window-frame'.
13341
13342 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13343 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13344 Move declarations before first use.
13345 (pcomplete-opt): Mark unused parameters; doc fix.
13346
13347 * proced.el (proced-revert): Mark unused parameter.
13348 (proced-send-signal): Remove unused variable `err'.
13349
13350 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13351 Rename parameter PREFIX-ARG to ARG.
13352 (ps-basic-plot-string, ps-basic-plot-whitespace):
13353 Mark unused parameters.
13354
13355 * replace.el (replace-count): Define.
13356 (occur-revert-function): Mark unused parameters.
13357 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13358 (isearch-case-fold-search, isearch-string): Declare.
13359 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13360 bind `case-fold-search'. Remove unused variables `beg' and `end',
13361 and simplify.
13362 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13363 COUNT and bind `replace-count'.
13364 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13365 to COUNT.
13366
13367 * savehist.el (print-readably, print-string-length): Declare.
13368
13369 * shadowfile.el (shadow-expand-cluster-in-file-name):
13370 Remove unused variable `cluster'.
13371 (shadow-copy-file): Remove unused variable `i'.
13372 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13373 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13374 (shadow-define-literal-group, shadow-define-regexp-group)
13375 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13376
13377 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13378 (shell): Use `called-interactively-p'.
13379 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13380
13381 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13382 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13383 (delete-backward-char): Remove unused variable `ocol'.
13384 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13385 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13386 (event-apply-hyper-modifier, event-apply-shift-modifier)
13387 (event-apply-control-modifier, event-apply-meta-modifier):
13388 Mark unused parameters.
13389 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13390 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13391
13392 * speedbar.el (speedbar-ignored-directory-expressions)
13393 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13394 (speedbar-find-file, speedbar-dir-follow)
13395 (speedbar-directory-buttons-follow, speedbar-tag-find)
13396 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13397 (speedbar-buffers-line-directory, speedbar-buffer-click):
13398 Mark unused parameters.
13399 (speedbar-tag-file): Remove unused variable `mode'.
13400 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13401
13402 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13403
13404 * talk.el (talk): Remove unused variable `display'.
13405
13406 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13407 (tar-write-region-annotate): Mark unused parameter.
13408
13409 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13410 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13411 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13412 warning by another.
13413
13414 * time-stamp.el (time-stamp-string-preprocess):
13415 Remove unused variable `require-padding'.
13416
13417 * tree-widget.el (widget-glyph-enable): Declare.
13418 (tree-widget-action): Mark unused parameter.
13419
13420 * w32-fns.el (x-get-selection): Mark unused parameter.
13421 (autoload-make-program, generated-autoload-file): Declare.
13422
13423 * wdired.el (wdired-revert): Mark unused parameters.
13424 (wdired-xcase-word): Remove unused variable `err'.
13425
13426 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13427 (whitespace-help-scroll): Remove unused variable `data-help'.
13428
13429 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13430 (widget-image-insert, widget-after-change, default)
13431 (widget-default-format-handler, widget-default-notify)
13432 (widget-default-prompt-value, widget-info-link-action)
13433 (widget-url-link-action, widget-function-link-action)
13434 (widget-variable-link-action, widget-file-link-action)
13435 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13436 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13437 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13438 (widget-insert-button-action, widget-delete-button-action, visibility)
13439 (widget-documentation-link-action, widget-documentation-string-action)
13440 (widget-const-prompt-value, widget-regexp-match, symbol)
13441 (widget-coding-system-prompt-value)
13442 (widget-key-sequence-value-to-external, sexp)
13443 (widget-sexp-value-to-internal, character, vector, cons)
13444 (widget-choice-prompt-value, widget-boolean-prompt-value)
13445 (widget-color--choose-action): Mark unused parameters.
13446 (widget-item-match-inline, widget-choice-match-inline)
13447 (widget-checklist-match, widget-checklist-match-inline)
13448 (widget-group-match): Rename parameter VALUES to VALS.
13449 (widget-field-value-set): Remove unused variable `size'.
13450 (widget-color-action): Remove unused variables `value' and `start'.
13451
13452 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13453 variable `dir'. Doc fix.
13454 (windmove-find-other-window): Don't pass it.
13455
13456 * window.el (count-windows): Mark unused parameter.
13457 (bw-adjust-window): Remove unused variable `err'.
13458
13459 * woman.el (woman-file-name): Remove unused variable `default'.
13460 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13461 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13462 (global-font-lock-mode): Declare.
13463 (woman-decode-region): Mark unused parameter.
13464 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13465
13466 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13467 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13468 (x-dnd-handle-moz-url): Remove unused variable `title'.
13469 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13470
13471 * xml.el (xml-parse-tag, xml-parse-attlist):
13472 Remove unused variable `pos'.
13473
13474 2011-04-19 Glenn Morris <rgm@gnu.org>
13475
13476 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13477 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13478 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13479 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13480 * calendar/cal-html.el (cal-html-insert-minical):
13481 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13482 (calendar-mark-date-pattern):
13483 Prefix "unused" locals.
13484
13485 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13486 optional argument `style'.
13487
13488 * calendar/appt.el (appt-make-list):
13489 * calendar/cal-china.el (calendar-chinese-date-string):
13490 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13491 (diary-hebrew-yahrzeit):
13492 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13493 * calendar/calendar.el (calendar-generate-window):
13494 * calendar/time-date.el (time-to-days):
13495 Remove unused local variables.
13496
13497 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13498
13499 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13500 glyphless-char-display table.
13501 (tabulated-list-glyphless-char-display): New var.
13502
13503 2011-04-18 Sam Steingold <sds@gnu.org>
13504
13505 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13506 to acknowledgments.
13507
13508 2011-04-17 Glenn Morris <rgm@gnu.org>
13509
13510 * calendar/diary-lib.el (diary-sexp-entry):
13511 * calendar/holidays.el (holiday-sexp):
13512 Set debug-on-error rather than the removed stack-trace-on-error.
13513
13514 2011-04-16 Glenn Morris <rgm@gnu.org>
13515
13516 * progmodes/f90.el: Use lexical-binding.
13517 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13518
13519 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13522 (mail-mode): Setup mailalias completion here instead.
13523 * mail/mailalias.el: Use lexical-binding.
13524 (pattern, mailalias-done): Declare dynamic.
13525 (mail-completion-at-point-function): New function, from mail-complete.
13526 (mail-complete): Use it.
13527 (mail-completion-expand): New function.
13528 (mail-get-names): Use it.
13529 (mail-directory, mail-directory-process, mail-directory-stream):
13530 Don't use `pattern' for lexically bound arg.
13531
13532 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13533
13534 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13535 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13536 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13537
13538 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13539 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13540 (byte-interactive-p): Define them again, for use when inlining
13541 old code.
13542
13543 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13544
13545 * loadup.el: Use `string-to-number', not `string-to-int'.
13546
13547 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13550 gud-gdb-complete-command.
13551 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13552 (gud-gdb-completion-at-point): New function.
13553 (gud-gdb-completions): Remove.
13554
13555 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13556
13557 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13558 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13559 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13560 whether `executable-find' is bound.
13561
13562 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13563
13564 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * minibuffer.el (completion-in-region-mode-predicate)
13567 (completion-in-region-mode--predicate): New vars.
13568 (completion-in-region, completion-in-region--postch)
13569 (completion-in-region-mode): Use them.
13570 (completion--capf-wrapper): Also return the hook function.
13571 (completion-at-point, completion-help-at-point):
13572 Adjust and provide a predicate.
13573
13574 Preserve arg names for advice of subr and lexical functions (bug#8457).
13575 * help-fns.el (help-function-arglist): Consolidate the subr and
13576 new-byte-code cases. Add argument `preserve-names' to extract names
13577 from the docstring when needed.
13578 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13579 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13580 (ad-arglist): Use help-function-arglist's new arg.
13581 (ad-definition-type): Use cond.
13582
13583 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13584
13585 * autorevert.el (auto-revert-handler):
13586 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13587 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13588 Don't quote lambda.
13589
13590 * image-mode.el (image-transform-set-scale):
13591 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13592
13593 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
13595 * net/network-stream.el (network-stream-open-starttls): Only do
13596 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13597 Upgrades via gnutls-cli are too slow to be done opportunistically.
13598
13599 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13600
13601 * dframe.el (dframe-current-frame): Remove spurious quote.
13602
13603 2011-04-12 Glenn Morris <rgm@gnu.org>
13604
13605 * calendar/cal-tex.el (cal-tex-end-document):
13606 Try to automatically use latin1 input if needed.
13607
13608 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13609 Don't try to cons a mark onto an empty element.
13610
13611 2011-04-11 Leo Liu <sdl.web@gmail.com>
13612
13613 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13614 buffers.
13615 (ido-kill-buffer-at-head): Support killing virtual buffers.
13616
13617 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * minibuffer.el (completion-show-inline-help): New var.
13620 (completion--do-completion, minibuffer-complete)
13621 (minibuffer-force-complete, minibuffer-complete-word):
13622 Inhibit minibuffer messages if completion-show-inline-help is nil.
13623
13624 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13625 to avoid interference from inline help (Bug#5849).
13626
13627 2011-04-10 Leo Liu <sdl.web@gmail.com>
13628
13629 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13630 Fix typo.
13631
13632 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13633
13634 * image-mode.el (image-toggle-display-image): Signal an error if
13635 not in Image mode.
13636 (image-transform-mode, image-transform-resize)
13637 (image-transform-set-rotation): Doc fix.
13638 (image-transform-set-resize): Delete.
13639 (image-transform-set-scale, image-transform-fit-to-height)
13640 (image-transform-fit-to-width): Handle image-toggle-display-image
13641 and image-transform-resize directly.
13642
13643 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13644
13645 * doc-view.el (doc-view-fit-width-to-window)
13646 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13647 New functions for fitting the shown image to the Emacs window size.
13648 (doc-view-mode-map): Add bindings for the new functions.
13649
13650 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13651
13652 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13653 Fix typo in docstring.
13654
13655 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13656
13657 * files.el (file-size-human-readable): Produce one digit after
13658 decimal, like "ls -lh" does.
13659
13660 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13661 the file size representation.
13662
13663 * simple.el (list-processes): If async subprocesses are not
13664 available, error out with a clear error message.
13665
13666 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13667
13668 * help.el (help-form-show): New function, to be called from C.
13669 Put help-form output in a buffer named differently than *Help*.
13670
13671 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13672
13673 * files.el (file-size-human-readable): New function.
13674
13675 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13676 computing the representation inline. Don't require `cl'.
13677
13678 2011-04-08 Glenn Morris <rgm@gnu.org>
13679
13680 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13681
13682 * net/browse-url.el (browse-url-firefox):
13683 Test system-type, not system-configuration.
13684
13685 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13686 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13687 Use log-edit-empty-buffer-p. (Bug#7598)
13688
13689 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13690 (rlogin-mode-map): Initialize in the defvar.
13691 (rlogin): Use ignore-errors.
13692
13693 * replace.el (occur-mode-map): Some fixes for menu items.
13694
13695 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13696
13697 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13698
13699 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13702 issuing unused warnings.
13703
13704 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13705 macro directly.
13706
13707 * simple.el: Lisp reimplement of list-processes. Based on an
13708 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13709 (process-menu-mode): New major mode.
13710 (list-processes--refresh, list-processes):
13711 (process-menu-visit-buffer): New functions.
13712
13713 * files.el (save-buffers-kill-emacs): Don't assume any return
13714 value of list-processes, which is undocumented anyway.
13715
13716 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13717
13718 * emacs-lisp/tabulated-list.el: New file.
13719
13720 * emacs-lisp/package.el: Use Tabulated List mode.
13721 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13722 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13723 table format using Tabulated List mode variables.
13724 (package--push): New macro, replacing package-list-maybe-add.
13725 (package-menu--generate): Use package--push. Renamed from
13726 package--generate-package-list.
13727 (package-menu-refresh, list-packages): Use it.
13728 (package-menu--print-info): Rename from package-print-package.
13729 Return insertion data instead of inserting it directly.
13730 (package-menu-describe-package, package-menu-execute):
13731 Use tabulated-list-get-id.
13732 (package-menu-mark-delete, package-menu-mark-install)
13733 (package-menu-mark-unmark, package-menu-backup-unmark)
13734 (package-menu-mark-obsolete-for-deletion):
13735 Use tabulated-list-put-tag.
13736 (package--list-packages, package-menu-revert)
13737 (package-menu-get-package, package-menu-get-version)
13738 (package-menu-sort-by-column): Functions deleted.
13739 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13740 (package-menu--status-predicate, package-menu--version-predicate)
13741 (package-menu--name-predicate)
13742 (package-menu--description-predicate): Handle arguments in the
13743 Tabulated List format.
13744 (package-list-packages-no-fetch): Call list-packages.
13745
13746 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13747
13748 * files.el (after-find-file-from-revert-buffer): Remove variable.
13749 (after-find-file): Don't bind it.
13750 (revert-buffer-in-progress-p): New variable.
13751 (revert-buffer): Bind it.
13752 Pass nil for `after-find-file-from-revert-buffer'.
13753
13754 * saveplace.el (save-place-find-file-hook): Use new variable
13755 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13756
13757 2011-04-06 Glenn Morris <rgm@gnu.org>
13758
13759 * Makefile.in (AUTOGEN_VCS): New variable.
13760 (autoloads): Use $AUTOGEN_VCS.
13761
13762 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13763 * calendar/calendar.el (calendar-mode-map):
13764 Check for toolkit scroll bars. (Bug#8305)
13765
13766 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13767
13768 * minibuffer.el (completion-in-region--postch)
13769 (completion-in-region-mode): Remove unnecessary messages.
13770
13771 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13772
13773 * font-lock.el (font-lock-refresh-defaults):
13774 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13775 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13776
13777 * info.el (Info-directory-list, Info-read-node-name-2)
13778 (Info-split-parameter-string): Doc fixes.
13779 (Info-virtual-nodes): Reflow docstring.
13780 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13781 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13782 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13783 Fix typos in docstrings.
13784 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13785 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13786 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13787 (Info-restore-desktop-buffer): Mark unused parameters.
13788 (Info-directory-find-file, Info-directory-find-node)
13789 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13790 (Info-virtual-index-find-node, Info-apropos-find-file)
13791 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13792 Mark unused parameters; fix typos in docstrings.
13793 (Info-virtual-index): Remove unused local variable `nodename'.
13794
13795 2011-04-05 Deniz Dogan <deniz@dogan.se>
13796
13797 * net/rcirc.el: Update my e-mail address.
13798 (rcirc-mode-map): Remove M-o binding.
13799
13800 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13801
13802 * startup.el (command-line): Save the cursor's theme-face
13803 directly, instead of using face-override-spec.
13804
13805 * custom.el (load-theme): Minor optimization in assigning faces.
13806
13807 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13808
13809 * help-fns.el (describe-variable): Complete all variables having
13810 documentation, including keywords.
13811 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13812
13813 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13814
13815 Convert to lexical-binding.
13816
13817 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13818 (bs--get-marked-string, bs--get-modified-string)
13819 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13820 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13821 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13822
13823 * ehelp.el (electric-help-execute-extended)
13824 (electric-help-ctrl-x-prefix):
13825 * hexl.el (hexl-revert-buffer-function):
13826 * linum.el (linum-after-change, linum-after-scroll):
13827 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13828
13829 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13830
13831 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13832
13833 * epa-dired.el:
13834 * epa-mail.el:
13835 * epa-hook.el:
13836 * epa-file.el:
13837 * epa.el:
13838 * epg.el: Use lexical binding.
13839
13840 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13841
13842 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13843
13844 * textmodes/flyspell.el (flyspell-word): Recognize default
13845 dictionary case for flyspell-mark-duplications-exceptions.
13846 Use regexp matching for languages.
13847 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13848 default dictionary (Bug#7926).
13849
13850 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * emacs-lisp/package.el (package--with-work-buffer):
13853 Recognize https URLs.
13854
13855 * net/network-stream.el: Move from gnus/proto-stream.el.
13856 Change prefix to network-stream throughout.
13857 (open-protocol-stream): Merge into open-network-stream, leaving
13858 open-protocol-stream as an alias. Handle nil BUFFER args.
13859
13860 * subr.el (open-network-stream): Move to net/network-stream.el.
13861
13862 2011-04-02 Glenn Morris <rgm@gnu.org>
13863
13864 * find-dired.el (find-exec-terminator): New option.
13865 (find-ls-option): Test for -ls support.
13866 (find-ls-subdir-switches): Test for -b in find-ls-option.
13867 (find-dired, find-grep-dired): Doc fixes.
13868 (find-dired): Use find-exec-terminator.
13869
13870 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13871 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13872 (find-name-arg): Remove purecopy.
13873
13874 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13875 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13876 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13877 accordingly. Don't add the null-device if not needed.
13878
13879 * files.el (save-some-buffers): Doc fix.
13880
13881 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13882
13883 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13884
13885 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13888 Use `dolist' rather than `mapcar'.
13889
13890 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13891
13892 Add lexical binding.
13893
13894 * subr.el (apply-partially): Use new closures rather than CL.
13895 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13896 (dolist, dotimes): Use slightly different expansion for lexical code.
13897 (functionp): Move to C.
13898 (letrec): New macro.
13899 (with-wrapper-hook): Use it and apply-partially instead of CL.
13900 (eval-after-load): Preserve lexical-binding.
13901 (save-window-excursion, with-output-to-temp-buffer): Turn them
13902 into macros.
13903
13904 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13905
13906 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13907 than the arglist.
13908 (help-add-fundoc-usage): Don't add `Not documented'.
13909 (help-function-arglist): Handle closures, subroutines, and new
13910 byte-code-functions.
13911 (help-make-usage): Remove leading underscores.
13912 (describe-function-1): Handle closures.
13913 (describe-variable): Use special-variable-p for completion.
13914
13915 * files.el (lexical-binding): Declare safe.
13916
13917 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13918 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13919 (pcase): Add `let' pattern.
13920 Change memoization so it actually works.
13921 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13922 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13923 <let>: New case.
13924
13925 * emacs-lisp/macroexp.el: Use lexical binding.
13926 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13927 Don't convert ' to #' without checking that it's indeed quoting
13928 a lambda.
13929
13930 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13931 Use eval-sexp-add-defvars.
13932 (eval-sexp-add-defvars): New fun.
13933
13934 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13935
13936 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13937 Don't autoload.
13938 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13939 than the internal `byte-compile-lambda'.
13940 (defmethod): Don't hide code under quotes.
13941 (eieio-defmethod): New `code' argument.
13942
13943 * emacs-lisp/eieio-comp.el: Remove.
13944
13945 * emacs-lisp/edebug.el (edebug-eval-defun)
13946 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13947 (edebug-toggle): Avoid `eval'.
13948
13949 * emacs-lisp/disass.el (disassemble-internal): Handle new
13950 `closure' objects.
13951 (disassemble-1): Handle new byte codes.
13952
13953 * emacs-lisp/cl.el (pushnew): Silence warning.
13954
13955 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13956 (cl-byte-compile-throw): Remove.
13957 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13958
13959 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13960 closures.
13961
13962 * emacs-lisp/cconv.el: New file.
13963
13964 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13965 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13966 (byte-compile-initial-macro-environment):
13967 Handle declare-function here.
13968 (byte-compile--lexical-environment): New var.
13969 (byte-stack-ref, byte-stack-set, byte-discardN)
13970 (byte-discardN-preserve-tos): New lap codes.
13971 (byte-interactive-p): Don't use any more.
13972 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13973 New macros.
13974 (byte-compile-lapcode): Use them and handle new lap codes.
13975 (byte-compile-obsolete): Remove.
13976 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13977 (byte-compile-arglist-warn): Check late def of inlinable funs.
13978 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13979 since they should have been expanded by now.
13980 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13981 (byte-compile-from-buffer): Remove unused second arg.
13982 (byte-compile-preprocess): New function.
13983 (byte-compile-toplevel-file-form): New function to distinguish
13984 file-form calls from outside from file-form calls from hunk-handlers.
13985 (byte-compile-file-form): Simplify.
13986 (byte-compile-file-form-defsubst): Remove.
13987 (byte-compile-file-form-defmumble): Simplify now that
13988 byte-compile-lambda always returns a byte-code-function.
13989 (byte-compile): Preprocess.
13990 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13991 Remove, not used any more.
13992 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13993 (byte-compile-make-args-desc): New funs.
13994 (byte-compile-lambda): Handle lexical functions. Always return
13995 a byte-code-function.
13996 (byte-compile-reserved-constants): New var, to make up room for
13997 closed-over variables.
13998 (byte-compile-constants-vector): Obey it.
13999 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14000 (byte-compile-macroexpand-declare-function): New function.
14001 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14002 byte-code-functions.
14003 (byte-compile-form): Check obsolescence here.
14004 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14005 (byte-compile-variable-ref): Remove.
14006 (byte-compile-dynamic-variable-op): New fun.
14007 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14008 (byte-compile-variable-set): New funs.
14009 (byte-compile-discard): Add 2 args.
14010 (byte-compile-stack-ref, byte-compile-stack-set)
14011 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14012 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14013 macroexpand-all instead.
14014 (byte-compile-quote-form): Remove.
14015 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14016 (byte-compile-bind, byte-compile-unbind): New funs.
14017 (byte-compile-let): Handle let* and lexical binding.
14018 (byte-compile-let*): Remove.
14019 (byte-compile-catch, byte-compile-unwind-protect)
14020 (byte-compile-track-mouse, byte-compile-condition-case):
14021 Handle a new :fun-body form, used for lexical scoping.
14022 (byte-compile-save-window-excursion)
14023 (byte-compile-with-output-to-temp-buffer): Remove.
14024 (byte-compile-defun): Simplify.
14025 (byte-compile-stack-adjustment): New fun.
14026 (byte-compile-out): Use it.
14027 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14028
14029 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14030 handler any more.
14031
14032 * emacs-lisp/byte-opt.el: Use lexical binding.
14033 (byte-inline-lapcode): Remove (to bytecomp).
14034 (byte-compile-inline-expand): Pay attention to inlining to/from
14035 lexically bound code.
14036 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14037 any more.
14038 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14039 any more and don't call compiler-macros.
14040 (byte-compile-splice-in-already-compiled-code): Remove.
14041 (byte-code): Don't inline any more.
14042 (disassemble-offset): Receive `bytes' as argument rather than via
14043 dynamic scoping.
14044 (byte-compile-tag-number): Declare before first use.
14045 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14046 `return' even if make-spliceable.
14047 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14048 obsolete interactive-p.
14049 (byte-optimize-lapcode): Optimize new lap-codes.
14050 Don't trip up on new form of `byte-constant' lap code.
14051
14052 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14053
14054 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14055
14056 * custom.el (custom-initialize-default, custom-declare-variable):
14057 Use `defvar'.
14058
14059 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14060 New variables.
14061 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14062 (COMPILE_FIRST): Add macroexp and cconv.
14063 * makefile.w32-in: Mirror changes in Makefile.in.
14064
14065 * vc/cvs-status.el:
14066 * vc/diff-mode.el:
14067 * vc/log-edit.el:
14068 * vc/log-view.el:
14069 * vc/smerge-mode.el:
14070 * textmodes/bibtex-style.el:
14071 * textmodes/css.el:
14072 * startup.el:
14073 * uniquify.el:
14074 * minibuffer.el:
14075 * newcomment.el:
14076 * reveal.el:
14077 * server.el:
14078 * mpc.el:
14079 * emacs-lisp/smie.el:
14080 * doc-view.el:
14081 * dired.el:
14082 * abbrev.el: Use lexical binding.
14083
14084 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14085
14086 * info.el (info-display-manual): New function.
14087
14088 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14091
14092 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14093
14094 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14095 an entry for that server in rcirc-authinfo. (Bug#8385)
14096
14097 2011-03-31 Glenn Morris <rgm@gnu.org>
14098
14099 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14100
14101 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14102
14103 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14104
14105 * progmodes/python.el (python-default-interpreter)
14106 (python-python-command-args, python-jython-command-args)
14107 (python-which-shell, python-which-args, python-which-bufname)
14108 (python-file-queue, python-comint-output-filter-function)
14109 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14110 variables and functions.
14111
14112 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14115 (completion-in-region-mode): New minor mode.
14116 (completion-in-region): Use it.
14117 (completion-in-region--data, completion-in-region-mode-map): New vars.
14118 (completion-in-region--postch): New function.
14119 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14120 New vars.
14121 (completion--capf-wrapper): New function.
14122 (completion-at-point): Use it to track well-behavedness of
14123 hook functions.
14124 (completion-help-at-point): New command.
14125
14126 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14127
14128 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14129 syntax class to search for whitespace on a single line
14130 (Message-ID: <4D938140.4030905@redhat.com>).
14131
14132 2011-03-30 Leo Liu <sdl.web@gmail.com>
14133
14134 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14135 New commands.
14136 (edit-abbrevs-map): Bind them here.
14137 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14138
14139 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14140
14141 * allout.el (allout-hide-by-annotation, allout-flag-region):
14142 Reduce possibility of overlay leakage by making them volatile.
14143
14144 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14145 hash is not shared between buffers. Mode initialization is
14146 responsible for giving it a useful starting value.
14147 (allout-item-span): Reduce possibility of overlay leakage by
14148 making them volatile.
14149 (allout-widgets-count-buttons-in-region): Add diagnostic function
14150 for tracking down button overlay leaks.
14151
14152 2011-03-29 Leo Liu <sdl.web@gmail.com>
14153
14154 * ido.el (ido-read-internal): Use the default history var
14155 minibuffer-history if no HISTORY is specified.
14156
14157 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14158
14159 * net/imap.el (imap-shell-open, imap-process-connection-type):
14160 Use imap-process-connection-type for 'shell' streams as well as
14161 Kerberos, SSL, other subprocesses.
14162
14163 2011-03-28 Leo Liu <sdl.web@gmail.com>
14164
14165 * abbrev.el (abbrev-table-empty-p): New function.
14166 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14167 nonempty ones. (Bug#5937)
14168
14169 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14170
14171 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14172
14173 2011-03-27 Leo Liu <sdl.web@gmail.com>
14174
14175 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14176 for foreground and background colors.
14177 (ansi-color-make-color-map): Adapt.
14178
14179 2011-03-25 Leo Liu <sdl.web@gmail.com>
14180
14181 * midnight.el (midnight-time-float): Remove. Note it calculates
14182 the microsecond component incorrectly and seconds-to-time does the
14183 same job.
14184 Remove redundant (require 'timer).
14185
14186 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14187 (ido-completions): Remove unused arguments. (Bug#8329)
14188
14189 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * minibuffer.el (completion--flush-all-sorted-completions):
14192 Remove itself from hook.
14193 (completion-at-point): Let the functions perform the completion
14194 immediately and return nil or t.
14195 * comint.el (comint-dynamic-complete-functions): Now identical to
14196 completion-at-point-functions.
14197 (comint-dynamic-list-input-ring): Remove unused var `index'.
14198 (comint--match-partial-filename, comint--unquote&expand-filename):
14199 New funs, split from comint-match-partial-filename.
14200 (comint-dynamic-complete): Use completion-at-point.
14201 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14202
14203 2011-03-24 Drew Adams <drew.adams@oracle.com>
14204
14205 * thingatpt.el: Support `defun'.
14206
14207 2011-03-23 Leo Liu <sdl.web@gmail.com>
14208
14209 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14210
14211 * help-mode.el (help-mode-finish): Tweak regexp.
14212
14213 2011-03-23 Glenn Morris <rgm@gnu.org>
14214
14215 * eshell/esh-opt.el (eshell-eval-using-options):
14216 Do not bind unused local variable `eshell-option-stub'.
14217
14218 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14219
14220 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14221
14222 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14223 keymap variable in `with-no-warnings' to avoid a warning when the
14224 keymap has been already `defconst'ed.
14225
14226 2011-03-22 Leo Liu <sdl.web@gmail.com>
14227
14228 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14229 encode all chars in abbrevs; otherwise use emacs-mule or
14230 utf-8-emacs. (Bug#8308)
14231
14232 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14233
14234 * simple.el (backward-delete-char-untabify):
14235 Avoid warning about using `delete-backward-char'.
14236
14237 * image.el (image-type-file-name-regexps): Make it variable.
14238 `imagemagick-register-types' modifies it, and the user may want
14239 to add new extensions for known image types.
14240 (imagemagick-register-types): Throw error if not using ImageMagick.
14241
14242 2011-03-22 Leo Liu <sdl.web@gmail.com>
14243
14244 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14245 located before rcirc-prompt-end-marker.
14246 (rcirc-complete): Error if point is not after rcirc prompt.
14247 Handle the case when table is nil.
14248 (rcirc-user-authenticated): Define to fix compiler warning.
14249
14250 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14251
14252 * custom.el (custom--inhibit-theme-enable): Make it affect only
14253 custom-theme-set-variables and custom-theme-set-faces.
14254 (provide-theme): Ignore custom--inhibit-theme-enable.
14255 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14256 (custom-enabling-themes): Delete variable.
14257 (enable-theme): Accept only loaded themes as arguments.
14258 Ignore the special custom-enabled-themes variable.
14259 (custom-enabled-themes): Forbid themes from setting this.
14260 Eliminate use of custom-enabling-themes.
14261 (custom-push-theme): Quote "changed" custom var entry.
14262
14263 2011-03-21 Leo Liu <sdl.web@gmail.com>
14264
14265 * ido.el (ido-read-internal): Add ido-selected to history instead
14266 of user input.
14267
14268 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * subr.el (deferred-action-list, deferred-action-function):
14271 Mark obsolete.
14272
14273 2011-03-21 Leo Liu <sdl.web@gmail.com>
14274
14275 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14276 change on 2011-02-13 (bug#8309).
14277
14278 * minibuffer.el (read-file-name-function): Change default value.
14279 (read-file-name--defaults): Rename from read-file-name-defaults.
14280 (read-file-name-default): Rename from read-file-name.
14281 (read-file-name): Call read-file-name-function.
14282
14283 2011-03-21 Glenn Morris <rgm@gnu.org>
14284
14285 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14286 Doc fixes.
14287
14288 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14289
14290 * cus-theme.el: Add missing provide statement.
14291 (customize-create-theme): Extract theme value correctly.
14292 (custom-theme-visit-theme): Autoload.
14293 (customize-create-theme): Prompt before inserting default faces.
14294
14295 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14296
14297 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14298 units and musical notes.
14299
14300 2011-03-20 Leo Liu <sdl.web@gmail.com>
14301
14302 * ido.el (ido-read-internal): Use completing-read-default.
14303 (ido-completing-read): Fix compatibility with completing-read.
14304
14305 2011-03-20 Christian Ohler <ohler@gnu.org>
14306
14307 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14308 (ert-delete-all-tests): Use `called-interactively-p' rather than
14309 `interactive-p'.
14310 (ert--make-xrefs-region): Respect END.
14311
14312 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * dired-aux.el (dired-create-directory): Signal an error if the
14315 directory already exists (Bug#8246).
14316
14317 * facemenu.el (list-colors-display): Call list-faces-display
14318 inside with-help-window.
14319 (list-colors-print): Use display property to align the final
14320 column, instead of checking window-width.
14321
14322 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14323
14324 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14325 windows-nt systems.
14326 (emerge-protect-metachars): Quote correctly for ms-dos and
14327 windows-nt systems.
14328
14329 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14330
14331 * info.el (info-initialize): Replace all uses of `:' with
14332 path-separator for compatibility with non-Unix systems.
14333 Cache quoting of path-separator. (Bug#8258)
14334
14335 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14336
14337 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14338 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14339 (mouse-avoidance-mode): Fix typos in docstrings.
14340
14341 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14342
14343 * startup.el (package-subdirectory-regexp): Move from package.el.
14344 Omit \\` and \\', and let callers add them.
14345
14346 * emacs-lisp/package.el (package-strip-version)
14347 (package-load-all-descriptors): Add \\` and \\' to
14348 package-subdirectory-regexp before using it.
14349 (package-untar-buffer): New arg DIR; ensure that file untars only
14350 into this expected directory. Remove superfluous delete-region.
14351 (package-unpack): Caller changed.
14352 (package-tar-file-info): Use package-subdirectory-regexp.
14353
14354 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14357 diff-mode-shared-map (bug#8284).
14358 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14359
14360 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14361
14362 * calendar/time-date.el (format-seconds): Use assoc instead of
14363 assoc-string, since assoc-string doesn't exist in XEmacs.
14364
14365 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14366
14367 * custom.el (custom-known-themes): Reflow docstring.
14368 (custom-theme-load-path): Fix typo in docstring.
14369 (load-theme): Fix typo in error message.
14370 (custom-available-themes, custom-variable-theme-value):
14371 Use `let', not `let*'.
14372
14373 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14374
14375 * calc/README: Mention inclusion of musical notes.
14376
14377 * calc/calc-units.el (calc-lu-quant): Rename from
14378 `calc-logunits-quantity'.
14379 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14380 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14381 (calc-db): Rename from `calc-dblevel'.
14382 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14383 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14384 (calc-np): Rename from `calc-nplevel'.
14385 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14386 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14387 (calc-lu-plus): Rename from `calc-logunits-add'.
14388 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14389 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14390 (calc-lu-minus): Rename from `calc-logunits-sub'.
14391 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14392 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14393 (calc-lu-times): Rename from `calc-logunits-mul'.
14394 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14395 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14396 (calc-lu-divide): Rename from `calc-logunits-div'.
14397 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14398 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14399
14400 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14401 functions being autoloaded.
14402
14403 * calc/calc.el (calc-lu-power-reference): Rename from
14404 `calc-logunits-power-reference'.
14405 (calc-lu-field-reference): Rename from
14406 `calc-logunits-field-reference'.
14407
14408 * calc/calc-help.el (calc-l-prefix-help):
14409 Mention musical note functions.
14410
14411 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14412
14413 * minibuffer.el (completion-all-sorted-completions):
14414 Use :completion-cycle-penalty text property if present.
14415
14416 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14417
14418 * allout.el (allout-yank-processing): Adjust for new rebulleting
14419 regime so bullet being yanked is used without prompting the user
14420 for a choice.
14421
14422 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14423
14424 * startup.el (command-line): Warn the user that _emacs is deprecated.
14425
14426 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14427
14428 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14429 (delphi-verbose, delphi-comment-face, delphi-string-face)
14430 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14431 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14432 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14433 (delphi-new-comment-line, delphi-font-lock-defaults)
14434 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14435 Fix typos in docstrings.
14436
14437 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14438
14439 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14440 Invert the roles of character and string values for INSTEAD, so a
14441 string is used for the more common case of a defaulting prompt.
14442
14443 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * progmodes/ruby-mode.el (ruby-backward-sexp):
14446 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14447 * play/gamegrid.el (gamegrid-make-face):
14448 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14449 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14450 * notifications.el (notifications-notify):
14451 * net/xesam.el (xesam-search-engines):
14452 * net/quickurl.el (quickurl-list-insert):
14453 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14454
14455 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14456
14457 * startup.el (command-line): Update package subdirectory regexp.
14458
14459 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14460
14461 * allout.el (allout-abbreviate-flattened-numbering)
14462 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14463
14464 * subr.el (read-char-choice): Only show the cursor after the prompt,
14465 not after the answer.
14466
14467 2011-03-15 Kevin Ryde <user42@zip.com.au>
14468
14469 * help-fns.el (variable-at-point): Skip leading quotes, if any
14470 (bug#8253).
14471
14472 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14473
14474 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14475 warning message.
14476
14477 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14478
14479 * shell.el (shell): When called interactively, offer to change the
14480 shell file name on remote hosts.
14481
14482 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14483
14484 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14485 integration for LDAP parameters. The host, base, user or binddn,
14486 and secret tokens can be specified in a netrc file, for instance.
14487 This is optional because an `auth-source' parameter must be
14488 specified in the search attributes.
14489
14490 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14491
14492 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14493
14494 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14497 into declaration. Remove redundant and harmful binding.
14498
14499 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14500
14501 * files.el (file-ownership-preserved-p): Pass `integer' as an
14502 explicit 2nd argument to `file-attributes'. If the file's owner
14503 is the Administrators group on Windows, and the current user is
14504 Administrator, consider that a match.
14505
14506 * server.el (server-ensure-safe-dir): Consider server directory
14507 safe on MS-Windows if its owner is the Administrators group while
14508 the current Emacs user is Administrator. Use `=' to compare
14509 numerical UIDs, since they could be integers or floats.
14510
14511 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14512
14513 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14514
14515 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14516
14517 Sync with Tramp 2.2.1.
14518
14519 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14520
14521 * net/trampver.el: Update release number.
14522
14523 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * progmodes/compile.el (compilation--previous-directory): Fix up
14526 various nil/dead-marker mismatches (bug#8014).
14527 (compilation-directory-properties, compilation-error-properties):
14528 Don't call it at a position past the one we're about to change.
14529
14530 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14531 Disable obsolescence warnings in the file that declares it.
14532
14533 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14534
14535 * allout-widgets.el (allout-widgets-tally):
14536 Initialize allout-widgets-tally as a hash table rather than nil to
14537 prevent mode-line redisplay warnings. Also, clarify the module
14538 description and fix a comment typo.
14539
14540 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14541
14542 * help-fns.el (describe-variable): Don't complete keywords.
14543 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14544
14545 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14546
14547 * emacs-lisp/package.el (package-version-join): Impose a standard
14548 string representation for pre/alpha/beta version lists.
14549 (package-unpack-single): Standardize the directory name by passing
14550 it through package-version-join.
14551 (package-strip-rcs-id): Accept any version string that does not
14552 signal an error in version-to-list.
14553
14554 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14555
14556 * simple.el (delete-trailing-whitespace): Return nil for the
14557 benefit of `write-file-functions'.
14558
14559 2011-03-10 Glenn Morris <rgm@gnu.org>
14560
14561 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14562
14563 * vc/vc-git.el (vc-git-program): New option.
14564 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14565 (vc-git--call): Use it.
14566
14567 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14568
14569 * cus-edit.el (Custom-newline): If no button at point, look
14570 for a subgroup button at start-of-line. (Bug#2298)
14571
14572 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14573
14574 2011-03-10 Julien Danjou <julien@danjou.info>
14575
14576 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14577 `cursor-type' is nil.
14578
14579 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14580
14581 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14582
14583 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14584
14585 * allout.el: Change so yank of distinctive-bullet items
14586 preserves the existing header prefix, rebulleting it if necessary,
14587 rather than replacing it. This is necessary for proper operation
14588 of cooperative addons like allout-widgets.
14589 (allout-make-topic-prefix, allout-rebullet-heading):
14590 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14591 value as alternate bullet to be used, instead of prompting the user
14592 for a bullet character.
14593
14594 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14595
14596 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14597 Do not use `tramp-file-name-port', because this returns also
14598 `tramp-default-port'.
14599
14600 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14601
14602 * net/rcirc.el (rcirc-handler-001): Remove useless
14603 with-rcirc-process-buffer.
14604 (rcirc-check-auth-status): Swap arguments to string-match.
14605
14606 2011-03-09 Glenn Morris <rgm@gnu.org>
14607
14608 * shell.el (shell-mode):
14609 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14610
14611 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14612 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14613
14614 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14615
14616 * emacs-lisp/package.el (package-refresh-contents)
14617 (package-menu-execute): Use condition-case-no-debug.
14618
14619 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14620
14621 * simple.el (shell-command-to-string): Use `process-file'.
14622
14623 * emacs-lisp/package.el (package-tar-file-info): Handle also
14624 remote files.
14625
14626 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14627 Use `equal' for upload base check.
14628
14629 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14630
14631 * textmodes/texinfo.el (texinfo-environments):
14632 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14633
14634 2011-03-08 Glenn Morris <rgm@gnu.org>
14635
14636 * cus-start.el (cursor-in-non-selected-windows):
14637 Fix :set quoting oddness. (Bug#8192)
14638
14639 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14640 in some setf expressions. (Bug#2159)
14641
14642 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14643
14644 * custom.el (custom-available-themes): Return themes in
14645 alphabetical order.
14646
14647 See ChangeLog.15 for earlier changes.
14648
14649 ;; Local Variables:
14650 ;; coding: utf-8
14651 ;; End:
14652
14653 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14654
14655 This file is part of GNU Emacs.
14656
14657 GNU Emacs is free software: you can redistribute it and/or modify
14658 it under the terms of the GNU General Public License as published by
14659 the Free Software Foundation, either version 3 of the License, or
14660 (at your option) any later version.
14661
14662 GNU Emacs is distributed in the hope that it will be useful,
14663 but WITHOUT ANY WARRANTY; without even the implied warranty of
14664 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14665 GNU General Public License for more details.
14666
14667 You should have received a copy of the GNU General Public License
14668 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.