92f3343db64d9a72800c15fca1909423b1c8e250
[bpt/emacs.git] / lisp / ChangeLog
1 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4 override the default.
5 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6 cl--dotimes/dolist.
7 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
8 `cl' is loaded.
9
10 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
11 from add-advice.
12 (advice--strip-macro): New function.
13 (advice--defalias-fset): Use them to handle macros.
14 (advice-add): Use them.
15 (advice-member-p): Correctly handle macros.
16
17 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
20
21 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
22
23 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
24 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
25 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
26
27 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
28
29 Fix end-of-defun misbehavior.
30 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
31 python-beginning-of-defun-function. Handle nested defuns
32 correctly.
33 (python-nav-end-of-defun): Rename from
34 python-end-of-defun-function. Ensure forward movement.
35 (python-info-current-defun): Reimplement to work as intended
36 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
37 parent defuns as soon as possible.
38
39 2012-11-13 Glenn Morris <rgm@gnu.org>
40
41 * progmodes/flymake.el (flymake-error-bitmap)
42 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
43 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
44
45 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
46
47 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
48 backward, always stop at indentation. Reverts the change from
49 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
50
51 2012-11-13 Glenn Morris <rgm@gnu.org>
52
53 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
54 Add ibuffer-filter-by-derived-mode.
55
56 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
57 the same name shadowing each other.
58
59 * window.el (with-temp-buffer-window): Doc tweak.
60
61 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
62
63 * help.el (temp-buffer-max-height):
64 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
65 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
66
67 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * emacs-lisp/nadvice.el: New package.
70 * subr.el (special-form-p): New function.
71 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
72 (elp-all-instrumented-list): Remove var.
73 (elp-not-profilable): Remove elp-wrapper.
74 (elp-profilable-p): Use autoloadp and special-form-p.
75 (elp--advice-name): New const.
76 (elp-instrument-function): Use advice-add.
77 (elp--instrumented-p): New predicate.
78 (elp-restore-function): Use advice-remove.
79 (elp-restore-all, elp-reset-all): Use mapatoms.
80 (elp-set-master): Use elp--instrumented-p.
81 (elp--make-wrapper): Rename from elp-wrapper, return a function
82 suitable for advice-add. Use cl-inf.
83 (elp-results): Use mapatoms+elp--instrumented-p.
84 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
85 (debug-function-list): Remove var.
86 (debug): Rename arg, and then let-bind it explicitly inside.
87 (debugger-setup-buffer): Rename arg.
88 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
89 (debugger-frame-number): Adjust to new debug-on-entry setup.
90 (debug--implement-debug-on-entry): Rename from
91 implement-debug-on-entry, add argument.
92 (debugger-special-form-p): Remove, use special-form-p instead.
93 (debug-on-entry): Use advice-add.
94 (debug--function-list): New function.
95 (cancel-debug-on-entry): Use it, along with advice-remove.
96 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
97 (debugger-list-functions): Use debug--function-list instead of
98 debug-function-list.
99 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
100 (ad-special-form-p): Remove, use special-form-p instead.
101 (ad-set-advice-info): Use add-function and remove-function.
102 (ad--defalias-fset): Adjust accordingly.
103
104 2012-11-10 Glenn Morris <rgm@gnu.org>
105
106 * mail/emacsbug.el (report-emacs-bug-tracker-url)
107 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
108 (report-emacs-bug-create-existing-bugs-buffer)
109 (report-emacs-bug-parse-query-results)
110 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
111
112 * term.el (term-default-fg-color, term-default-bg-color):
113 Make obsolete, rather than just saying "deprecated" in the doc.
114
115 * term.el (term): Rename from `term-face'.
116 (term-current-face, ansi-term-color-vector)
117 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
118 Update all users.
119
120 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
121
122 * server.el (server-create-window-system-frame): Handle Nextstep
123 specially (Bug#12780).
124
125 2012-11-10 Glenn Morris <rgm@gnu.org>
126
127 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
128 Unautoload, and make obsolete. (Bug#7449)
129
130 2012-11-10 Chong Yidong <cyd@gnu.org>
131
132 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
133 rename from diff-remove-trailing-whitespace (Bug#12831).
134
135 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
138 miscompilation of trace.el.
139
140 2012-11-10 Glenn Morris <rgm@gnu.org>
141
142 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
143
144 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
147 (bug#12812).
148
149 2012-11-10 Chong Yidong <cyd@gnu.org>
150
151 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
152 a defcustom with an appropriate :set function.
153 (minibuffer-default--in-prompt-regexps): New function.
154
155 2012-11-10 Glenn Morris <rgm@gnu.org>
156
157 * emacs-lisp/cl.el (define-setf-expander, defsetf)
158 (define-modify-macro): Doc fixes.
159
160 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
161 (gv-define-simple-setter): Update doc of `fix-return'.
162
163 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
166 twice when `fix-return' is set (bug#12813).
167
168 * emacs-lisp/cl.el (defsetf): Pass the third arg to
169 gv-define-simple-setter (bug#12812).
170
171 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
172 (bug#12756).
173
174 2012-11-10 Glenn Morris <rgm@gnu.org>
175
176 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
177
178 * emacs-lisp/cl-extra.el (cl-prettyexpand):
179 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
180 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
181 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
182
183 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
184
185 2012-11-10 Leo Liu <sdl.web@gmail.com>
186
187 * ido.el (ido-set-matches-1): Improve flex matching performance by
188 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
189
190 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
193 (ad--defalias-fset): New function.
194 (ad-safe-fset): Remove.
195 (ad-make-freeze-definition): Use cl-letf*.
196
197 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * subr.el (dolist): Don't bind VAR in RESULT.
200
201 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
202 (fset, documentation): Don't save real def since we don't advise.
203 (ad-do-advised-functions): Remove problematic `result-form'.
204 (ad-safe-fset): `ad-real-fset' => `fset'.
205 (ad-read-advised-function): Don't assume that ad-do-advised-functions
206 uses CL's dolist internally.
207 (ad-arglist): Remove unused arg `name'.
208 (ad-docstring, ad-make-advised-docstring):
209 `ad-real-documentation' => `documentation'.
210 (warning-suppress-types): Declare.
211 (ad-set-arguments): Simple CSE.
212 (ad-recover-normality): Sanity check.
213
214 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
215 (funcall '(lambda ..) ..) into ((lambda ..) ..).
216
217 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
218
219 * ses.el: symbol to coordinate mapping is made by symbol property
220 `ses-cell'. This means that the same mapping is done for all SES
221 sheets. That is good enough for cells with standard A1 names, but
222 not for named cell. So a hash map is added for the latter.
223 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
224 (ses-sym-rowcol): Use hashmap for named cell.
225 (ses-is-cell-sym-p): New defun.
226 (ses-decode-cell-symbol): New defun.
227 (ses-create-cell-variable): Add cell to hashmap when name is not
228 A1-like.
229 (ses-rename-cell): Check that cell new name is not already in
230 spreadsheet with the use of ses-is-cell-sym-p
231 (ses-rename-cell): Use hash map for named cells, but accept also
232 renaming back to A1-like.
233
234 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * emacs-lisp/advice.el: Use new dynamic docstrings.
237 (ad-make-advised-definition-docstring, ad-advised-definition-p):
238 Use dynamic-docstring-function instead of ad-advice-info.
239 (ad--make-advised-docstring): New function extracted from
240 ad-make-advised-docstring.
241 (ad-make-advised-docstring): Use it.
242 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
243 from sql-help.
244 (sql-help): Use it with dynamic-docstring-function.
245
246 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
247
248 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * files.el (hack-one-local-variable--obsolete): New function.
251 (hack-one-local-variable): Use it for obsolete settings.
252
253 * subr.el (locate-user-emacs-file): If both old and new name exist, use
254 the new name.
255
256 * progmodes/js.el (js--filling-paragraph): New var.
257 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
258 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
259 less sneaky.
260
261 2012-11-08 Julien Danjou <julien@danjou.info>
262
263 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
264 `auto-mode-alist' (Bug#12835).
265
266 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
269 (perl--prettify-symbols-alist): New const.
270 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
271 New functions.
272 (perl-font-lock-keywords-2): Use them.
273 (perl-electric-noindent-p): New function.
274 (perl-mode): Use it to set up electric-indent-mode.
275 (perl-electric-terminator, perl-indent-command): Mark obsolete.
276 (perl-mode-map): Remove bindings for them.
277 (perl-imenu-generic-expression, perl-outline-level):
278 Match functions&packages in column>0.
279
280 * env.el (env--substitute-vars-regexp): New const.
281 (substitute-env-vars): Use it. Add `only-defined' arg.
282 * net/tramp.el (tramp-replace-environment-variables): Use it.
283
284 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
285 Byte-compile *before* eval in eval-and-compile.
286 (byte-compile-log-warning): Remove redundant inhibit-read-only.
287 (byte-compile-file-form-autoload): Don't hide actual definition.
288 (byte-compile-maybe-guarded): Accept `functionp' as well.
289
290 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
291
292 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
293
294 * notifications.el (notifications-get-server-information-method):
295 New defconst.
296 (notifications-get-capabilities): Fix docstring.
297 (notifications-get-server-information): New defun.
298
299 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
300
301 * textmodes/ispell.el (ispell-region): Standard re-indent for better
302 readability.
303
304 * textmodes/ispell.el: Experimental support for support debugging.
305 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
306 buffer for ispell.
307 (ispell-print-if-debug): New function to print stuff to
308 `ispell-debug-buffer' if debugging is enabled.
309 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
310 show some debugging info.
311 (ispell-buffer-with-debug): New function that creates a debugging
312 buffer and calls `ispell-buffer' with debugging enabled.
313
314 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
315 comment in autoconf mode. (Bug#12768)
316
317 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
318
319 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
320 frame-first-window, frame-root-window, frame-selected-window,
321 minibuffer-selected-window, minibuffer-window,
322 window-absolute-pixel-edges, window-at, window-body-height,
323 window-body-width, window-display-table, window-combination-limit,
324 window-frame, window-fringes, window-inside-absolute-pixel-edges,
325 window-inside-edges, window-inside-pixel-edges, window-left-child,
326 window-left-column, window-margins, window-next-buffers,
327 window-next-sibling, window-new-normal, window-new-total,
328 window-normal-size, window-parameter, window-parameters, window-parent,
329 window-pixel-edges, window-point, window-prev-buffers,
330 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
331 window-start, window-text-height, window-top-child, window-top-line,
332 window-total-height, window-total-width and window-use-time to the list
333 of functions without side-effects.
334 (toplevel): Add window-valid-p to the list of error-free functions
335 without side-effects.
336
337 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
338
339 * textmodes/ispell.el (ispell-program-name):
340 Update spellchecker parameters when customized.
341
342 2012-11-04 Glenn Morris <rgm@gnu.org>
343
344 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
345
346 2012-11-04 Chong Yidong <cyd@gnu.org>
347
348 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
349 same-window-* variables.
350
351 2012-11-04 Juri Linkov <juri@jurta.org>
352
353 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
354 (isearch-describe-key, isearch-describe-mode): Use a display
355 action instead of binding same-window-* variables (Bug#10040).
356
357 2012-11-03 Glenn Morris <rgm@gnu.org>
358
359 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
360 Rename handler properties back from cl-- to cl-. (Bug#12788)
361
362 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
363
364 2012-11-03 Eli Zaretskii <eliz@gnu.org>
365
366 * term/pc-win.el: Don't load term/internal from here.
367
368 * loadup.el: Load term/internal from here.
369
370 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
371
372 * progmodes/python.el (inferior-python-mode): Fix hang in
373 jit-lock (Bug#12645).
374
375 2012-11-03 Martin Rudalics <rudalics@gmx.at>
376
377 * window.el (switch-to-visible-buffer)
378 (switch-to-buffer-preserve-window-point): Fix doc-strings.
379
380 2012-11-03 Glenn Morris <rgm@gnu.org>
381
382 * emacs-lisp/cl-lib.el (cl--random-time):
383 Rename from cl-random-time. (Bug#12773)
384 (cl--gensym-counter, cl--random-state): Update callers.
385 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
386
387 2012-11-03 Chong Yidong <cyd@gnu.org>
388
389 * cus-start.el: Make cursor-type customizable (Bug#11633).
390
391 2012-11-02 Glenn Morris <rgm@gnu.org>
392
393 * filecache.el: No need to load find-lisp when compiling.
394 (find-lisp-find-files): Autoload it.
395 (file-cache-add-directory-recursively): Don't require find-lisp.
396
397 * image.el (image-type-from-file-name): Trivial simplification.
398
399 * emacs-lisp/bytecomp.el (byte-compile-eval):
400 Decouple "noruntime" and "cl-functions" warnings.
401
402 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
403
404 * play/gomoku.el (gomoku-display-statistics): Update mode line
405 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
406
407 2012-10-31 Martin Rudalics <rudalics@gmx.at>
408
409 * window.el (quit-restore-window): If the window has been
410 created on an existing frame and ended up as the sole window on
411 that frame, do not delete it (Bug#12764).
412
413 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * progmodes/sh-script.el (sh--inside-noncommand-expression):
416 Rename from sh--inside-arithmetic-expression, handle more cases
417 (bug#11263).
418
419 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
420 (sh-font-lock-open-heredoc): Use it (bug#12770).
421
422 2012-10-30 Glenn Morris <rgm@gnu.org>
423
424 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
425
426 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
427
428 2012-10-29 Chong Yidong <cyd@gnu.org>
429
430 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
431 function key is stored in a keyboard macro (Bug#4894).
432
433 * thingatpt.el (number-at-point): Apply a thing-at-point property.
434
435 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
438 header comments".
439 (diff-unified->context, diff-context->unified)
440 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
441
442 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
443
444 * files.el (find-alternate-file): Only ask one question (bug#12487).
445
446 2012-10-29 Chong Yidong <cyd@gnu.org>
447
448 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
449 Suggested by Dan Nicolaescu (Bug#6326).
450
451 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
452
453 * startup.el (fancy-about-screen): Don't message (Bug#12680).
454
455 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
456
457 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
458
459 * face-remap.el (face-remap-add-relative): Handle the case where a
460 face-remapping-alist entry is a cons cell (Bug#12762).
461
462 2012-10-29 Kevin Ryde <user42@zip.com.au>
463
464 * woman.el (woman-parse-numeric-value): Handle picas correctly
465 (Bug#12639).
466
467 2012-10-29 Glenn Morris <rgm@gnu.org>
468
469 * emacs-lisp/cl.el (defsetf): Doc fix.
470
471 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
474 syntax to the matching opener, if any (bug#12547).
475 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
476 matching open as a "case-(".
477 (sh-smie-rc-grammar): Add a corresponding rule for it.
478
479 2012-10-28 Daniel Hackney <dan@haxney.org>
480
481 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
482 "PKGNAME-autoloads.el" in case we created it.
483
484 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
487 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
488 (completion--twq-all): Disable too-strict assertions.
489
490 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
491
492 2012-10-27 Eli Zaretskii <eliz@gnu.org>
493
494 * profiler.el (profiler-report-make-entry-part): Fix help-echo
495 text to match the real keybindings.
496
497 2012-10-27 Juri Linkov <juri@jurta.org>
498
499 * wdired.el (wdired-keep-marker-rename): New defcustom.
500 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
501 (Bug#11795)
502
503 * dired.el (dired-keep-marker-rename): Add reference to
504 `wdired-keep-marker-rename' in the docstring.
505 Add default character value ?R to display initially in
506 Customization UI instead of ?@.
507
508 2012-10-27 Martin Rudalics <rudalics@gmx.at>
509
510 * window.el (display-buffer): In doc-string describe
511 window-height and window-width alist entries.
512
513 * time.el (display-time-world): Restore fit-window-to-buffer
514 behavior.
515
516 2012-10-27 Chong Yidong <cyd@gnu.org>
517
518 * subr.el (insert-buffer-substring-as-yank): Doc fix.
519
520 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
521
522 * minibuffer.el (completion-category-overrides): New completion
523 category `bookmark' (bug#11131).
524
525 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * emacs-lisp/advice.el (ad-assemble-advised-definition):
528 Silence bogus compiler warnings for ad-do-it.
529
530 * bookmark.el (bookmark-completing-read): Set the completion category
531 to `bookmark' (bug#11131).
532
533 2012-10-26 Bastien <bzg@altern.org>
534 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * face-remap.el: Use lexical-binding.
537 (text-scale-adjust): Improve docstring. Use itself for the temporary
538 overlay-map bindings, so as to repeat the "Use..." message each time.
539
540 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * emacs-lisp/macroexp.el (macroexp--expand-all):
543 Obey byte-compile-warning-enabled-p (bug#12486).
544
545 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
546 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
547
548 2012-10-26 Martin Rudalics <rudalics@gmx.at>
549
550 * mouse.el (mouse-drag-line): Move last form into preceding when
551 clause (Bug#12731).
552
553 * help.el (resize-temp-buffer-window): Fix doc-string.
554
555 2012-10-25 David Engster <deng@randomsample.de>
556
557 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
558 Remove. This feature is already integrated in imenu.
559
560 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
561 always loaded. Require `speedbar' unconditionally.
562
563 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
566
567 * minibuffer.el (minibuffer-force-complete): Fix thinko.
568
569 * net/ldap.el (ldap-search-internal): The official ldif format starts
570 with a "version: 1" header (bug#12724).
571
572 * emacs-lisp/package.el (package-installed-p): Warn if not ready
573 (bug#12721).
574
575 2012-10-25 Glenn Morris <rgm@gnu.org>
576
577 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
578
579 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * minibuffer.el (minibuffer-force-complete): Use one more marker
582 for the temporary-overlay-map command (bug#12619).
583
584 2012-10-24 Chong Yidong <cyd@gnu.org>
585
586 * time.el (display-time-world-mode): Derive from special-mode.
587 (display-time-world): Use display-buffer (Bug#12708).
588 (display-time-world-mode-map): Variable deleted.
589 (display-time-world-display): Wrap the final delete-char inside
590 inhibit-read-only.
591
592 2012-10-24 Chong Yidong <cyd@gnu.org>
593
594 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
595 Doc fix.
596
597 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
598
599 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * minibuffer.el (completion--all-sorted-completions-location): New var.
602 (completion--cache-all-sorted-completions)
603 (completion--flush-all-sorted-completions): Use it.
604 (completion-in-region, completion-in-region--postch)
605 (completion-at-point, completion-help-at-point): Use markers in
606 completion-in-region--data (bug#12619).
607
608 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * progmodes/compile.el (compilation-start): Try to handle common
611 quoting of `cd' argument (bug#12640).
612
613 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
614 (bug#12671).
615
616 2012-10-23 Glenn Morris <rgm@gnu.org>
617
618 * progmodes/gud.el (gud-menu-map):
619 Check gdb-active-process is bound. (Bug#12358)
620
621 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * repeat.el (repeat): Set real-this-command (bug#12232).
624
625 * htmlfontify.el (hfy-post-html-hook):
626 * filesets.el (filesets-cache-fill-content-hook):
627 * arc-mode.el (archive-extract-hook):
628 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
629 * net/rcirc.el (rcirc-sentinel-functions)
630 (rcirc-receive-message-functions, rcirc-activity-functions)
631 (rcirc-print-functions):
632 * net/dbus.el (dbus-event-error-functions):
633 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
634 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
635 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
636 * term/sun.el (sun-raw-prefix-hooks):
637 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
638
639 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
640
641 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
642 Set `tramp-chunksize' to 1. This improves the performance.
643 (tramp-smb-wait-for-output): Add timeout to
644 `tramp-accept-process-output' calls.
645
646 2012-10-23 Chong Yidong <cyd@gnu.org>
647
648 * faces.el (font-list-limit): Define as an obsolete variable.
649
650 * startup.el (command-line):
651 * cus-start.el: Don't refer to font-list-limit.
652
653 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
654
655 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * subr.el (internal-temp-output-buffer-show): Rename from
658 temp-output-buffer-show, since previously compiled files expect this name.
659
660 2012-10-23 Glenn Morris <rgm@gnu.org>
661
662 * image.el (image-type-from-file-name): If multiple types match,
663 return the first one that is supported. (Bug#9045)
664
665 2012-10-22 Glenn Morris <rgm@gnu.org>
666
667 * image.el (imagemagick-enabled-types): Doc fix.
668
669 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
670
671 * progmodes/which-func.el (which-func-current): The hash-table may have
672 an explicit nil (bug#12338).
673
674 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * electric.el (electric-pair-delete-selection-self-insert-function):
677 Rename to electric-pair-will-use-region, return a boolean.
678 (electric-pair-mode): Adjust accordingly. Don't require delsel.
679
680 * delsel.el (delete-selection-helper): Use a function instead of a hook.
681 (delete-selection-pre-hook): Use use-region-p.
682 (delete-selection-self-insert-function): Remove.
683 (self-insert-command): Obey self-insert-uses-region-functions.
684 (self-insert-iso): Revert to previous setting, since we don't actually
685 know what that command does.
686 (delete-selection-self-insert-hooks): Remove.
687
688 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
689
690 * delsel.el (delete-selection-helper): New function, extracted from
691 delete-selection-pre-hook.
692 (delete-selection-pre-hook): Use it.
693 (delete-selection-self-insert-function): New function.
694 (delete-selection-self-insert-hooks): New hook.
695 (self-insert-command, self-insert-iso): Use it.
696 * electric.el (electric-pair-syntax): New function, extracted from
697 electric-pair-post-self-insert-function.
698 (electric-pair-post-self-insert-function): Use it.
699 (electric-pair-delete-selection-self-insert-function): New function.
700 (electric-pair-mode): Require delsel and setup
701 delete-selection-self-insert-hooks (bug#11520).
702
703 2012-10-20 Chong Yidong <cyd@gnu.org>
704
705 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
706 no changes to show (Bug#12586).
707
708 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
709 list explicitly (Bug#12571).
710
711 2012-10-20 Arne Jørgensen <arne@arnested.dk>
712
713 * progmodes/flymake.el (flymake-create-temp-inplace):
714 Use file-truename.
715
716 2012-10-20 Eli Zaretskii <eliz@gnu.org>
717
718 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
719
720 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
721
722 * calc/calc-units.el (math-extract-units): Properly extract powers
723 of units.
724
725 2012-10-20 Daniel Colascione <dancol@dancol.org>
726
727 * frame.el (make-frame): Set x-display-name as we used to in order
728 to unbreak creating an X11 frame from an Emacs daemon started
729 without a display.
730
731 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * minibuffer.el (minibuffer-force-complete): Make the next completion use
734 the same completion-field (bug#12221).
735
736 2012-10-19 Martin Rudalics <rudalics@gmx.at>
737
738 * emacs-lisp/debug.el (debug): Record height of debugger window
739 also when debugger will be back (Bug#8789).
740
741 2012-10-18 Chong Yidong <cyd@gnu.org>
742
743 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
744 Convert to defcustom.
745 (gdb-get-source-file): Don't bind pop-up-windows.
746
747 * progmodes/gud.el (gud-display-line): Don't specially re-use
748 other frames for the gdb-mi case (Bug#12648).
749
750 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * emacs-lisp/advice.el: Clean up commentary a bit.
753 (ad-do-advised-functions, ad-with-originals): Use `declare'.
754 (byte-code-function-p): Never redefine.
755
756 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
757
758 2012-10-18 Glenn Morris <rgm@gnu.org>
759
760 * dired.el (dired-sort-toggle): Some ls implementations only allow
761 a single option string. (Bug#12666)
762
763 * minibuffer.el (completion-cycle-threshold): Doc fix.
764
765 2012-10-17 Kenichi Handa <handa@gnu.org>
766
767 * international/mule.el (set-keyboard-coding-system):
768 Recover input meta mode when the new coding system doesn not use 8-bit.
769 Supply TERMINAL arg to set-input-meta-mode.
770
771 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
772
773 * wdired.el (wdired-old-marks): New variable.
774 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
775 (wdired-do-renames): Move point with renamed file and don't lose
776 mark status (Bug#11795).
777
778 2012-10-16 Juri Linkov <juri@jurta.org>
779
780 * replace.el (query-replace-help): Mention multi-buffer replacement
781 keys in the Help message. (Bug#12655)
782
783 2012-10-15 Chong Yidong <cyd@gnu.org>
784
785 * emacs-lisp/byte-run.el (defsubst): Doc fix.
786
787 2012-10-14 Eli Zaretskii <eliz@gnu.org>
788
789 * window.el (display-buffer): Doc fix.
790
791 * progmodes/compile.el (compilation-error-regexp-alist-alist):
792 Adjust the msft regexp to the output of Studio 2010, and move msft
793 before edg-1. See the discussion on emacs-devel,
794 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
795 for the details.
796
797 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
800 (oset): Move uses of object-class-fast macro after its definition.
801
802 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
803
804 2012-10-13 Chong Yidong <cyd@gnu.org>
805
806 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
807 enabled, re-enable it (Bug#11963).
808
809 2012-10-13 Martin Rudalics <rudalics@gmx.at>
810
811 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
812 non-nil, restore window configuration (Bug#12623).
813
814 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * help-fns.el (describe-variable, describe-function-1):
817 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
818
819 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
820
821 2012-10-12 Glenn Morris <rgm@gnu.org>
822
823 * mail/rmailsum.el (rmail-header-summary):
824 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
825
826 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
827
828 * progmodes/python.el (python-mode-map):
829 Replace subtitute-key-definition with proper command remapping.
830 (python-nav--up-list): Fix behavior for blocks on the same level.
831
832 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
835
836 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
837 changes to the format of load-history.
838
839 * international/mule-cmds.el (read-char-by-name): Move let-binding of
840 completion-ignore-case in case that var is buffer-local (bug#12615).
841
842 2012-10-11 Kenichi Handa <handa@gnu.org>
843
844 * international/eucjp-ms.el: Re-generated.
845
846 2012-10-10 Kenichi Handa <handa@gnu.org>
847
848 * select.el (xselect--encode-string): If a coding is specified for
849 selection, and that is compatible with COMPOUND_TEXT, use it.
850
851 2012-10-10 Martin Rudalics <rudalics@gmx.at>
852
853 * window.el (switch-to-buffer-preserve-window-point): New option.
854 (switch-to-buffer):
855 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
856
857 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
860 Don't document nil as a useful value (bug#12583).
861
862 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
863
864 * net/tramp.el (tramp-debug-message):
865 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
866 (with-tramp-progress-reporter): Rename from
867 `tramp-with-progress-reporter'.
868 (with-tramp-file-property, with-tramp-connection-property):
869 Move from tramp-cache.el, rename from `with-file-property' and
870 `with-connection-property', respectively.
871
872 * net/tramp-cache.el: Remove `with-file-property' and
873 `with-connection-property'.
874
875 * net/tramp.el:
876 * net/tramp-gvfs.el:
877 * net/tramp-sh.el:
878 * net/tramp-smb.el: Adapt callees.
879
880 * net/trampver.el: Update release number.
881
882 2012-10-09 Glenn Morris <rgm@gnu.org>
883
884 * w32-fns.el (set-message-beep):
885 * term/w32-win.el (set-message-beep): Update declarations.
886
887 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
890 (mode-line-widen, mode-line-input-method-map)
891 (mode-line-coding-system-map, mode-line-remote)
892 (mode-line-unbury-buffer, mode-line-bury-buffer)
893 (mode-line-next-buffer, mode-line-previous-buffer):
894 Replace save-selected-window+select-window => with-selected-window.
895
896 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
897 * progmodes/cc-vars.el (bq-process): Remove, unused.
898
899 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
900
901 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
902
903 Implemented `backward-up-list'-like navigation.
904 * progmodes/python.el (python-nav-up-list)
905 (python-nav-backward-up-list): New functions.
906 (python-mode-map): Define substitute key for backward-up-list to
907 python-nav-backward-up-list.
908
909 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
910
911 * progmodes/python.el (python-fill-paragraph): Rename from
912 python-fill-paragraph-function. Fixed fill-paragraph for
913 decorators (Bug#12605).
914
915 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
916
917 * progmodes/python.el (python-shell-output-filter): Handle extra
918 carriage return in OSX (Bug#12409).
919
920 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
921
922 Fix shell handling of unbalanced quotes and parens in output.
923 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
924 (python-syntax-propertize-function): Use it.
925 (python-shell-output-syntax-table): New var.
926 (inferior-python-mode): Prevent unbalanced parens/quotes from
927 previous output mess with current input context.
928
929 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
930
931 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
932 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
933
934 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
935
936 * ffap.el (ffap-replace-file-component): Support Tramp file name
937 syntax, not only ange-ftp's one.
938
939 2012-10-08 Glenn Morris <rgm@gnu.org>
940
941 * cus-start.el (message-log-max): Set :version.
942
943 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
944
945 2012-10-08 Martin Rudalics <rudalics@gmx.at>
946
947 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
948 the minibuffer window (Bug#10851).
949
950 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
951
952 Enhancements on forward-sexp movement.
953 * progmodes/python.el (python-nav-beginning-of-statement)
954 (python-nav-end-of-statement): Return point-marker.
955 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
956 (python-info-current-symbol)
957 (python-info-statement-starts-block-p): Rename from
958 python-info-beginning-of-block-p.
959 (python-info-statement-ends-block-p): Rename from
960 python-info-end-of-block-p.
961 (python-info-beginning-of-statement-p)
962 (python-info-end-of-statement-p)
963 (python-info-beginning-of-block-p, python-info-end-of-block-p):
964 New functions.
965
966 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
969 frame-selected-windows.
970
971 2012-10-08 Daniel Colascione <dancol@dancol.org>
972
973 * battery.el (battery-status-function): Check for
974 w32-battery-status itself, not system-time windows-nt.
975
976 * frame.el: Require cl-lib.
977 (display-format-alist): New variable mapping frame types to
978 functions that initialize them.
979 (window-system-for-display): New function: interprets
980 display-format-alist.
981 (make-frame-on-display): Remove existing display-selection logic
982 and just forward to make-frame, which will now DTRT.
983 (make-frame): Restructure to use window-system-for-display to
984 figure out how to create a frame on a given display.
985 (display-mouse-p): Look for frame-type w32, not a particular
986 system-type.
987
988 * loadup.el: Load w32 lisp code when we have the w32 feature.
989
990 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
991 system-type windows-nt.
992
993 * server.el (server-create-window-system-frame): Look for window
994 type.
995 (server-proces-filter): Only force a window system when windows-nt
996 _and_ w32. Explain why.
997
998 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
999 of window systems we configure for the mode.
1000
1001 * startup.el (command-line): Mark window system is initialized
1002 after we've done it.
1003
1004 * common-win.el (x-select-text): Look for w32, not windows-nt.
1005
1006 * ns-win.el: Require cl-lib. Add ourselves to
1007 display-format-alist.
1008 (ns-initialize-window-system): Assert we're not initialized twice.
1009
1010 * w32-win.el: Enable lexical binding; require cl-lib; add
1011 ourselves to display-format-alist.
1012 (w32-handle-dropped-file): Convert incoming dropped files from
1013 Windows paths to Cygwin ones before passing them on to the rest of
1014 Emacs.
1015 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1016 (w32-initialize-window-system): Assert we're not initialized twice.
1017
1018 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1019 (x-initialize-window-system): Assert we're not initialized twice.
1020
1021 * w32-common-fns.el: New File.
1022 (w32-version, w32-using-nt, w32-get-clipboard-data)
1023 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1024 (w32-charset-info-alist, x-last-selected, text)
1025 (x-get-selection-value, x-selection-value): Move here.
1026
1027 * w32-fns.el: Require w32-common-fns.
1028 (w32-version, w32-using-nt, w32-get-clipboard-data)
1029 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1030 (w32-charset-info-alist, x-last-selected, text)
1031 (x-get-selection-value, x-selection-value): Move to
1032 w32-common-fns.
1033
1034 * w32-vars.el:
1035 (w32-allow-system-shell, w32-system-shells): Define only in
1036 non-cygwin case.
1037
1038 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1041 (read-passwd): Remove a few more potential sources of leaks.
1042
1043 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1044
1045 * progmodes/python.el (inferior-python-mode)
1046 (python-shell-make-comint): Fix initialization of local
1047 variables copied from parent buffer.
1048
1049 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1050
1051 * term/ns-win.el (ns-read-file-name): Update declaration to match
1052 nsfns.m.
1053 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1054 it is set when font is acted upon.
1055
1056 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1057
1058 Enhancements to indentation.
1059 * progmodes/python.el (python-indent-context): Give priority to
1060 inside-string context. Make comments indentation markers.
1061 (python-indent-region): Do not mess with strings, unless it's the
1062 enclosing set of quotes.
1063
1064 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * window.el (internal--before-save-selected-window)
1067 (internal--after-save-selected-window): New functions extracted from
1068 save-selected-window. Make sure we return the `alist' we construct.
1069 (save-selected-window): Use them.
1070
1071 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1072 Use with-selected-window.
1073
1074 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1075 forms that define macros (bug#12593).
1076
1077 2012-10-07 Kenichi Handa <handa@gnu.org>
1078
1079 * international/mule-conf.el (compound-text-with-extensions):
1080 Add :mime-charset property as x-ctext.
1081
1082 2012-10-07 Stefan Merten <smerten@oekonux.de>
1083
1084 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1085 (rst-indent-literal-normal, rst-indent-literal-minimized)
1086 (rst-indent-comment): Correct :version tag.
1087 (rst-official-cvs-rev): Correct version string.
1088
1089 2012-10-07 Glenn Morris <rgm@gnu.org>
1090
1091 * mail/rmailmm.el (rmail-mime-process-multipart):
1092 Do not confuse a multipart message with an epilogue
1093 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1094
1095 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1096
1097 Fix shell output retrieval and comint-prompt-regexp init.
1098 * progmodes/python.el (inferior-python-mode):
1099 (python-shell-make-comint): Fix initialization of
1100 comint-prompt-regexp from copied file local variables.
1101 (python-shell-fetched-lines): Remove var.
1102 (python-shell-output-filter-in-progress): Rename from
1103 python-shell-fetch-lines-in-progress.
1104 (python-shell-output-filter-buffer): Rename from
1105 python-shell-fetch-lines-string.
1106 (python-shell-fetch-lines-filter): Delete function.
1107 (python-shell-output-filter): New function.
1108 (python-shell-send-string-no-output): Use them.
1109
1110 2012-10-07 Glenn Morris <rgm@gnu.org>
1111
1112 * hi-lock.el (hi-lock-process-phrase):
1113 Try to make it less fragile. (Bug#7161)
1114
1115 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1116
1117 2012-10-06 Glenn Morris <rgm@gnu.org>
1118
1119 * ehelp.el (electric-help-mode): Use help-mode rather than
1120 non-existent mode `help'.
1121 (electric-help-map): Use button-buffer-map. (Bug#10917)
1122
1123 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1124 (reftex-create-bibtex-footer): Fix custom types.
1125
1126 * progmodes/sh-script.el (sh-indent-after-continuation):
1127 Add explicit :group.
1128
1129 * textmodes/rst.el (rst-preferred-decorations)
1130 (rst-shift-basic-offset): Clarify obsolescence versions.
1131
1132 * profiler.el (profiler): Add missing group :version tag.
1133 * avoid.el (mouse-avoidance-banish-position):
1134 * proced.el (proced-renice-command):
1135 * calc/calc.el (calc-ensure-consistent-units):
1136 * calendar/icalendar.el (icalendar-import-format-uid):
1137 * net/tramp.el (tramp-save-ad-hoc-proxies):
1138 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1139 * progmodes/flymake.el (flymake-error-bitmap)
1140 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1141 * progmodes/sh-script.el (sh-indent-after-continuation):
1142 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1143 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1144 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1145 (vhdl-array-index-record-field-in-sensitivity-list)
1146 (vhdl-indent-comment-like-next-code-line):
1147 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1148 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1149 (reftex-cite-key-separator, reftex-create-bibtex-header)
1150 (reftex-create-bibtex-footer):
1151 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1152 (rst-indent-literal-normal, rst-indent-literal-minimized)
1153 (rst-indent-comment): Add missing custom :version tags.
1154
1155 * calendar/timeclock.el (timeclock-modeline-display):
1156 Add missing obsolete alias for renamed user option.
1157
1158 * strokes.el (strokes-modeline-string):
1159 * emulation/crisp.el (crisp-mode-modeline-string):
1160 * eshell/esh-mode.el (eshell-status-in-modeline):
1161 Aliases to defcustoms must come before the defcustom.
1162
1163 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1164 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1165 (cal-tex-cursor-week-monday): Doc fixes.
1166 (cal-tex-cursor-week2-summary): Doc fix.
1167 Rename from cal-tex-cursor-week-at-a-glance.
1168
1169 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1170 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1171
1172 * calendar/calendar.el (calendar-mode-map):
1173 Add cal-tex-cursor-week2-summary.
1174
1175 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1178
1179 * subr.el (read-passwd-map): New var.
1180 (read-passwd): Use `read-string' again.
1181 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1182
1183 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1184
1185 * register.el (append-to-register, prepend-to-register):
1186 Deactivate mark, as does `copy-to-register' (bug#12389).
1187
1188 2012-10-06 Chong Yidong <cyd@gnu.org>
1189
1190 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1191
1192 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1193
1194 * international/characters.el: Fix simple mistake ((car chars) ->
1195 elt), delete duplicated code.
1196
1197 2012-10-06 Glenn Morris <rgm@gnu.org>
1198
1199 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1200
1201 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1202
1203 * color.el (color-hsl-to-rgb): Fix incorrect results for
1204 small and large hue values. (Bug#12559)
1205
1206 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1207
1208 Enhancements to docstring formatting when filling paragraphs.
1209 * progmodes/python.el (python-fill-docstring-style): Rename from
1210 python-fill-string-style. Added new style.
1211 (python-fill-string): Use new style. Better checks for
1212 docstrings.
1213
1214 2012-10-05 Glenn Morris <rgm@gnu.org>
1215
1216 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1217
1218 * color.el (color-name-to-rgb, color-rgb-to-hex)
1219 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1220 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1221 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1222 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1223
1224 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1225
1226 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1229 to get the correct size across symlinks.
1230
1231 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1232
1233 2012-10-04 Juri Linkov <juri@jurta.org>
1234
1235 * replace.el (query-replace-interactive): Declare obsolete.
1236 (query-replace-read-from): Add the last incremental search string
1237 to the list of default values accessible via M-n.
1238 (map-query-replace-regexp): Use `read-regexp'.
1239 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1240 (map-query-replace-regexp, replace-string, replace-regexp):
1241 Fix docstrings to replace mentions of `query-replace-interactive'
1242 with alternatives. (Bug#12526)
1243
1244 2012-10-04 Juri Linkov <juri@jurta.org>
1245
1246 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1247 (dired-pop-to-buffer): Declare obsolete.
1248 (dired-mark-pop-up): Doc fix.
1249
1250 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1251
1252 Allow user to set docstring style for fill-paragraph.
1253 * progmodes/python.el
1254 (python-fill-comment-function, python-fill-string-function)
1255 (python-fill-decorator-function, python-fill-paren-function):
1256 Remove :safe for defcustoms.
1257 (python-fill-string-style): New defcustom
1258 (python-fill-paragraph-function): Enhance context detection.
1259 (python-fill-string): Honor python-fill-string-style settings.
1260
1261 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1262
1263 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1264 after setting its buffer (Bug#10805).
1265
1266 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1267
1268 Fix cornercase for string syntax.
1269 * progmodes/python.el (python-syntax-propertize-function):
1270 Simplify and enhance the regexp for unescaped quotes. Now it also
1271 matches quotes in weird situations like the single quote in
1272 "something\"'".
1273 (python-syntax-stringify): Simplify num-quotes detecting code.
1274
1275 2012-10-03 Glenn Morris <rgm@gnu.org>
1276
1277 * help-macro.el (three-step-help):
1278 Revert 2012-09-29 change. (Bug#12567)
1279
1280 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1281
1282 * menu-bar.el (kill-this-buffer): Don't do anything when
1283 `menu-frame' is not alive or visible (Bug#8184).
1284
1285 * emacs-lisp/debug.el (debug): When quitting the debugger window
1286 restore current buffer (Bug#12502).
1287
1288 2012-10-02 Chong Yidong <cyd@gnu.org>
1289
1290 * progmodes/hideif.el (hif-lookup, hif-defined):
1291 Handle semantic-c-takeover-hideif.
1292
1293 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1294
1295 Change sampling interval units from ms to ns.
1296 * profiler.el (profiler-sampling-interval): Change units
1297 from ms to ns, multiplying the default by 1000000 so that
1298 it remains 1 ms.
1299 (profiler-report-cpu-line-format): Give enough room for
1300 the maximum counters on 64-bit hosts.
1301 (profiler-report-render-calltree-1): Call them "CPU samples",
1302 not "Time (ms)", since they are not milliseconds now (and
1303 never really were).
1304
1305 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1306
1307 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1308 Fix querying BBDB for entries without a last name (Bug#11580).
1309
1310 2012-10-02 Chong Yidong <cyd@gnu.org>
1311
1312 * emacs-lisp/eieio.el: Restore Version header.
1313
1314 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * vc/diff-mode.el (diff--auto-refine-data): New var.
1317 (diff-hunk): Use it to delay refinement.
1318 (diff-mode): Remove overlays when we turn off font-lock.
1319
1320 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1321 (table-initialize-table-fixed-width-mode)
1322 (table-set-table-fixed-width-mode): Remove functions.
1323 (table-command-list): Move initialization into declaration.
1324 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1325 (table-with-cache-buffer): Use `declare'.
1326 (table-span-cell): Simplify via CSE.
1327 (table-fixed-width-mode): Use define-minor-mode.
1328 (table-call-interactively, table-funcall, table-apply): Remove.
1329 (table-function): New function, to replace them.
1330
1331 * bookmark.el (bookmark-search-pattern): Remove var.
1332 (bookmark-read-search-input): Remove function.
1333 (bookmark-bmenu-search): Reimplement using a minibuffer.
1334
1335 * faces.el (modeline): Remove obsolete face name.
1336
1337 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1338 and give a non-nil default value.
1339 (add-change-log-entry): Simplify accordingly.
1340
1341 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1342
1343 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1344 (vc-git-log-edit-toggle-amend): New function.
1345 (vc-git-log-edit-toggle-signoff): New function.
1346 (vc-git-log-edit-mode): New major mode.
1347 (vc-git-log-edit-mode-map): Keymap for it.
1348 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1349
1350 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1351 header names.
1352 (log-edit-toggle-header): New function.
1353 (log-edit-extract-headers): Accept function values in HEADERS alist.
1354
1355 2012-10-01 David Engster <deng@randomsample.de>
1356
1357 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1358 from symbol property and change message to be more consistent with
1359 Emacs proper.
1360 (eieio-describe-generic): Add filename for each implementation.
1361 Fix indices for generic and normal methods.
1362 (eieio-method-def, eieio-class-def): New buttons.
1363 (eieio-help-find-method-definition)
1364 (eieio-help-find-class-definition): New functions.
1365 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1366 class, constructor and method definitions.
1367
1368 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1369 information in symbol property.
1370 (scoped-class): Remove.
1371 (eieio-slot-name-index, call-next-method): Check if it is bound.
1372
1373 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1374
1375 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1376 (eieio-custom-mode): New major mode.
1377 (eieio-customize-object): Use it.
1378
1379 2012-10-01 Eric Ludlam <zappo@gnu.org>
1380
1381 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1382 specifying the expected class, and whether subclassing is allowed.
1383 (eieio-persistent-convert-list-to-object):
1384 (eieio-persistent-validate/fix-slot-value)
1385 (eieio-persistent-slot-type-is-class-p): New functions.
1386 (eieio-named::slot-missing): Doc fix.
1387
1388 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1389 Stop using unused publd variable.
1390
1391 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1392 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1393 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1394 (eieio-speedbar-handle-click): Do not specify a class for the
1395 method. Fixes method invocation order problems with EDE.
1396
1397 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1400 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1401
1402 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1403
1404 * bookmark.el (bookmark-version-control): Give tags in the
1405 :type choices (Bug#12309), and improve doc string.
1406 (bookmark-write-file): Bind `print-circle' to `t' to allow
1407 circular custom bookmark types. (Bug#12503)
1408
1409 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1410
1411 Revert the FOLLOW-SYMLINKS change for file-attributes.
1412 * files.el (remote-file-name-inhibit-cache, after-find-file):
1413 * time.el (display-time-file-nonempty-p): Undo last change.
1414
1415 * profiler.el (profiler-sampling-interval): Change default back to 1.
1416 See Stefan Monnier in
1417 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1418
1419 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1420
1421 Shell output catching a la gud-gdb.
1422 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1423 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1424 New Vars.
1425 (python-shell-fetch-lines-filter): New function.
1426 (python-shell-send-string-no-output): Use them.
1427
1428 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1429
1430 * profiler.el (profiler-sampling-interval): Rename from
1431 profiler-sample-interval.
1432 (profiler-sampling-interval): Default to 10.
1433 (profiler-find-profile): New command (was profiler-find-log).
1434 (profiler-find-profile-other-window): New command.
1435 (profiler-find-profile-other-frame): New command.
1436 (profiler-profile): Introduce API-level data structure.
1437
1438 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1439
1440 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1441 * files.el (remote-file-name-inhibit-cache):
1442 * time.el (display-time-file-nonempty-p): Use it.
1443 * files.el (after-find-file): Don't chase links before calling
1444 file-exists-p, as file-exists-p already does the right thing.
1445
1446 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1447
1448 Merge from standalone RefTeX repository.
1449
1450 The following ChangeLog entries are shortened versions of the
1451 original ones with file paths adapted. A not so strongly edited
1452 version of the original ChangeLog can be found in the commit log.
1453
1454 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1455 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1456 Correctly handle new value type returned by `reftex-citation'.
1457
1458 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1459 that entries with whitespace at various places are found.
1460 Doc fix. Include entries that are cross-referenced from cited entries.
1461 Include @String definitions in the resulting bib file. Add header
1462 and footer defined in `reftex-create-bibtex-header' and
1463 `reftex-create-bibtex-footer'.
1464 (reftex-do-citation): Make it possible again to insert
1465 non-existent entries. Save match data when asking for optional
1466 arguments. Return all keys, not just the first one.
1467 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1468 all citations in the same line.
1469 (reftex-parse-bibtex-entry): Accept additional optional argument
1470 `raw' and keep quotes or braces if it is non-nil. Match fields
1471 containing hyphens besides word constituents.
1472 (reftex-get-string-refs): New function.
1473 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1474 and ask if it should be reread in case it did.
1475 (reftex-pop-to-bibtex-entry)
1476 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1477 entries with spaces or tabs in front of arguments.
1478 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1479 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1480 Match entries containing numbers and symbol constituents.
1481 (reftex-do-citation, reftex-figure-out-cite-format):
1482 Use `reftex-cite-key-separator'.
1483
1484 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1485 (reftex-mouse-view-crossref): Explain why point is set.
1486
1487 * textmodes/reftex-global.el: Whitespace changes.
1488
1489 * textmodes/reftex-index.el: Move provide statement to end of
1490 file.
1491 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1492 (reftex-index-visit-phrases-buffer): Set marker when visiting
1493 buffer. This allows for returning from the phrases file to the
1494 file one was just editing instead of the file where the last
1495 phrases was added from.
1496 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1497 punctuation syntax as it usually is not used as string quote in
1498 TeX-related modes and may occur unmatched. The change also
1499 prevents fontification of quoted content.
1500 (reftex-index-phrases-mode): Use it.
1501
1502 * textmodes/reftex-parse.el (reftex-parse-from-file):
1503 Move backward one char if a `\' was matched after a section macro.
1504 (reftex-parse-from-file): Use beginning of match instead of end as
1505 bound.
1506
1507 * textmodes/reftex-ref.el: Adapt creation of
1508 `reftex-<package>-<macro>' functions to new structure of
1509 `reftex-ref-style-alist'.
1510 (reftex-reference): Use `reftex-ref-style-list' function.
1511 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1512 reference macro if `reftex-ref-macro-prompt' is non-nil.
1513 (reftex-reference): Pass refstyle to `reftex-format-special'.
1514 Determine reference macro by looking at
1515 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1516 Use only one special format function.
1517 (reftex-varioref-vref, reftex-fancyref-fref)
1518 (reftex-fancyref-Fref): Remove definitions. The functions are now
1519 generated from `reftex-ref-style-alist'.
1520 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1521 Remove.
1522 (reftex-format-special): New function.
1523
1524 * textmodes/reftex-sel.el
1525 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1526 of `reftex-ref-style-alist'. Remove code for testing macro type.
1527 (reftex-select-toggle-varioref)
1528 (reftex-select-toggle-fancyref): Remove.
1529 (reftex-select-cycle-ref-style-internal)
1530 (reftex-select-cycle-ref-style-forward)
1531 (reftex-select-cycle-ref-style-backward): New functions.
1532 (reftex-select-label-map): Use `v' and `V' for general cycling
1533 through reference styles. Add `p' for switching between number
1534 and page reference types.
1535
1536 * textmodes/reftex-toc.el (reftex-re-enlarge):
1537 Call `enlarge-window' only if there is something to do because in Emacs
1538 the horizontal version throws an error even if the parameter is 0.
1539
1540 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1541 (reftex-plug-into-AUCTeX): Doc fix.
1542 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1543 string. Adapt to new name.
1544 (reftex-ref-style-alist): Change structure so that it is not
1545 possible to use multiple different package names within a style.
1546 Remove the symbols for symbols for macro type distinction.
1547 Add characters for macro selection.
1548 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1549 (reftex-create-bibtex-footer): New variables.
1550 (reftex-format-ref-function): Mention third argument of special
1551 format function.
1552 (reftex-ref-style-alist, reftex-ref-style-default-list):
1553 New variables.
1554 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1555 to new implementation. Mark as obsolete. Add compatibility code
1556 for honoring the variable values in case they are set.
1557 (reftex-cite-format-builtin, reftex-bibliography-commands):
1558 Add support for ConTeXt.
1559 (reftex-format-ref-function, reftex-format-cite-function):
1560 Fix custom type.
1561 (reftex-cite-key-separator): New variable.
1562
1563 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1564 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1565 `reftex-syntax-table' because parens have to retain their paren
1566 syntax in order for parsing of BibTeX entries like @book(...) to
1567 work.
1568 (reftex-in-comment): Do not error out if `comment-start-skip' is
1569 not set. Deal correctly with escaped comment characters.
1570 (reftex-tie-multifile-symbols): Add doc string.
1571 Initialize `reftex-ref-style-list'.
1572 (reftex-untie-multifile-symbols): Add doc string.
1573 (reftex-add-index-macros): Doc fix.
1574 (reftex-ref-style-activate, reftex-ref-style-toggle)
1575 (reftex-ref-style-list): New functions.
1576 (reftex-mode-menu): Use them. Adapt to new structure of
1577 `reftex-ref-style-alist'.
1578 (reftex-select-with-char): Kill the RefTeX Select buffer when
1579 done.
1580 (reftex-remove-if): New function.
1581 (reftex-erase-all-selection-and-index-buffers)
1582 (reftex-mode-menu): Reference styles are now computed from
1583 `reftex-ref-style-alist'. Fix typo.
1584 (reftex-report-bug): New function.
1585 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1586 algorithms with O(n log n). Introduce optional argument SORT (not
1587 yet used).
1588
1589 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1590
1591 Enhancements for triple-quote string syntax.
1592 * progmodes/python.el (python-syntax-propertize-function):
1593 Match both quote cases in one regexp.
1594 (python-syntax-stringify): Handle matches properly.
1595
1596 2012-09-30 Juri Linkov <juri@jurta.org>
1597
1598 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1599 to nil around the call to `insert' to prevent
1600 directory time modification by lock_file. (Bug#2295)
1601 * tar-mode.el (tar-summarize-buffer): Idem.
1602
1603 2012-09-30 Juri Linkov <juri@jurta.org>
1604
1605 * facemenu.el (list-colors-sort): Add option "Luminance".
1606 (list-colors-sort-key): Implement it.
1607
1608 * vc/diff-mode.el (diff-refine-removed):
1609 * vc/ediff-init.el (ediff-fine-diff-A):
1610 * vc/smerge-mode.el (smerge-refined-removed):
1611 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1612
1613 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1614
1615 * term/ns-win.el (x-file-dialog): New function.
1616
1617 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1618
1619 * ido.el (ido-max-directory-size): Default to nil; the current
1620 default is small for POSIX systems, and impractical on Windows 7
1621 now that lstat returns directory sizes for NTFS.
1622
1623 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1624
1625 In buffer display functions handle window-height/window-width
1626 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1627 * window.el (window--display-buffer): New argument ALIST.
1628 Obey window-height and window-width alist entries.
1629 (window--try-to-split-window): New argument ALIST.
1630 Bind window-combination-limit to t when the window's size shall be
1631 changed and window-combination-limit equals `window-size'.
1632 (display-buffer-in-atom-window)
1633 (display-buffer-in-major-side-window)
1634 (display-buffer-in-side-window, display-buffer-same-window)
1635 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1636 (display-buffer-pop-up-window, display-buffer-below-selected)
1637 (display-buffer-at-bottom, display-buffer-in-previous-window)
1638 (display-buffer-use-some-window): Adjust all callers of
1639 window--display-buffer and window--try-to-split-window.
1640 (fit-frame-to-buffer): New option.
1641 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1642 is non-nil.
1643 (display-buffer-in-major-side-window): Evaluate window-height /
1644 window-width alist entries.
1645
1646 * help.el (temp-buffer-resize-frames)
1647 (temp-buffer-resize-regexps): Remove options.
1648 (temp-buffer-resize-mode): Adjust doc-string.
1649 (resize-temp-buffer-window): Don't consult
1650 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1651 temp-buffer-resize-frames.
1652
1653 * dired.el (dired-mark-pop-up):
1654 Call display-buffer-below-selected with a fit-window-to-buffer alist
1655 entry.
1656
1657 2012-09-30 Chong Yidong <cyd@gnu.org>
1658
1659 * server.el (server-host): Document the security implications.
1660 (server-auth-key): Doc fix.
1661
1662 * startup.el (initial-buffer-choice): Doc fix.
1663
1664 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1665
1666 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1667 restriction change.
1668
1669 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1670
1671 * help-fns.el (help-fns--obsolete): Fix last change.
1672
1673 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1676 (minor-mode-map-alist): Remove redundant code.
1677
1678 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1679 visited in a buffer.
1680 (cvs-insert-visited-file): New function.
1681 (find-file-hook): Use it.
1682
1683 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1684
1685 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1686 chose face.
1687 (log-edit-empty-buffer-p): Don't require a space after a header.
1688
1689 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1690
1691 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1692
1693 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1694 a proper minor-mode.
1695
1696 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1697
1698 2012-09-29 Glenn Morris <rgm@gnu.org>
1699
1700 * winner.el (winner-mode): Remove variable (let define-minor-mode
1701 handle it).
1702 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1703 Doc fixes.
1704 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1705 (winner-mode): Use define-minor-mode.
1706
1707 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1708 the full definition in loaddefs, rather than duplicating it.
1709
1710 * help-macro.el (three-step-help): No need to autoload defcustom.
1711
1712 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1713 (inferior-lisp-program, inferior-lisp-load-command)
1714 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1715 No need to autoload defcustoms.
1716
1717 * hippie-exp.el (hippie-expand-try-functions-list)
1718 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1719 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1720 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1721 (hippie-expand-only-buffers): No need to autoload defcustoms.
1722 * progmodes/vhdl-mode.el (vhdl-line-expand):
1723 Explicitly load hippie-exp, so it does not get autoloaded
1724 while hippie-expand-try-functions-list is let-bound.
1725
1726 2012-09-28 Glenn Morris <rgm@gnu.org>
1727
1728 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1729
1730 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1731 Only "cl.el" counts as cl these days.
1732
1733 2012-09-28 Juri Linkov <juri@jurta.org>
1734
1735 Display archive errors in the echo area instead of inserting
1736 to the file buffer.
1737
1738 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1739 to STDERR-TEST that can be a regexp matching a successful output.
1740 Create a temporary file and redirect stderr to it. Search for
1741 STDERR-TEST in the stderr output and display it in the echo area
1742 if no match is found.
1743 (archive-extract-by-file): New function like
1744 `archive-extract-by-stdout' but extracting archives to files
1745 and looking for successful matches in stdout. Function body is
1746 mostly copied from `archive-rar-extract'.
1747 (archive-rar-extract): Use `archive-extract-by-file'.
1748 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1749
1750 2012-09-28 Leo Liu <sdl.web@gmail.com>
1751
1752 * pcomplete.el (pcomplete-show-completions):
1753 Use minibuffer-message to make pcomplete usable in minibuffer.
1754
1755 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1756
1757 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * type-break.el: Use lexical-binding.
1760 (type-break-mode): Use define-minor-mode.
1761
1762 * emacs-lisp/pcase.el (pcase--mark-used): New.
1763 (pcase--u1): Use it (bug#12512).
1764
1765 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1766 in load-history with the right file name.
1767
1768 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1769
1770 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1771 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1772 (doc-view-get-bounding-box): Make bounding box slicing work for
1773 ODF and DVI documents.
1774
1775 2012-09-28 Glenn Morris <rgm@gnu.org>
1776
1777 * type-break.el (type-break-mode, type-break-interval)
1778 (type-break-good-rest-interval, type-break-keystroke-threshold):
1779 No need to autoload.
1780 (type-break-good-rest-interval, type-break-keystroke-threshold):
1781 Add :set-after.
1782
1783 2012-09-28 Chong Yidong <cyd@gnu.org>
1784
1785 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1786 Add :version tag.
1787
1788 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1791
1792 2012-09-27 Glenn Morris <rgm@gnu.org>
1793
1794 * faces.el (x-display-name): Declare (for without-x builds).
1795
1796 * linum.el (linum-format): Don't autoload it. Improve :type.
1797
1798 * progmodes/tcl.el: Don't require outline when compiling.
1799 (outline-regexp, outline-level): Declare.
1800 * textmodes/sgml-mode.el: Don't require outline when compiling.
1801 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1802
1803 * term.el (term-ansi-reset):
1804 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1805
1806 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1807 files for RCS and SCCS. (Bug#9781)
1808
1809 2012-09-27 Chong Yidong <cyd@gnu.org>
1810
1811 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1812 change; value should be t.
1813
1814 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * image-mode.el: Use lexical-binding.
1817 (image-mode-winprops): Use t to stand for the window of
1818 a buffer that's not displayed.
1819 * doc-view.el (doc-view-new-window-function): Handle the new
1820 t in winprops.
1821 (doc-view-enlarge): Make it a real nop if the size is not changed.
1822 (doc-view-display): Handle the case where the buffer is not (yet?)
1823 displayed in any window.
1824 (doc-view-saved-settings): New var.
1825 (doc-view-mode): Use it.
1826 (doc-view-fallback-mode): Set it.
1827
1828 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1829 Set lexical-binding.
1830 (minibuffer-eldef-shorten-default): New var.
1831 (minibuffer-default-in-prompt-regexps): Use it for new default.
1832 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1833
1834 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * international/uni-bidi.el:
1837 * international/uni-category.el:
1838 * international/uni-name.el:
1839 * international/uni-numeric.el: Regenerate.
1840
1841 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1842 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * profiler.el: New file.
1845
1846 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1849 (testcover-reinstrument): Simplify with CSE.
1850
1851 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1852
1853 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1854
1855 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1856
1857 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1858 (verilog-auto-input, verilog-auto-insert-lisp)
1859 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1860 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1861 (verilog-auto-unused, verilog-auto-wire)
1862 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1863 newline. Reported by Andrew Jones.
1864 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1865 Reported by Brad Dobbie.
1866 (verilog-batch-delete-trailing-whitespace):
1867 Create verilog-batch-delete-trailing-whitespace.
1868 Reported by Brad Dobbie.
1869 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1870 parameters from another module. Reported by Dan Katz.
1871 (verilog-auto, verilog-auto-assign-modport)
1872 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1873 AUTOINOUTMODPORT for UVM interface module shell generation.
1874 Reported by Brad Dobbie.
1875 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1876 standard behavior.
1877 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1878 Reported by Matt Martin.
1879
1880 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (window--resize-child-windows): When resizing child
1883 windows proportionally, process them in reverse order to
1884 preserve the "when splitting a window the new one gets the odd
1885 line" behavior.
1886 (window--resize-root-window-vertically): When resizing the
1887 minibuffer window try to affect only windows at the bottom of the
1888 frame. (Bug#12419)
1889
1890 2012-09-25 Chong Yidong <cyd@gnu.org>
1891
1892 * subr.el (declare): Doc fix.
1893
1894 * help-fns.el (help-fns--obsolete): Handle macros properly.
1895
1896 2012-09-25 Chong Yidong <cyd@gnu.org>
1897
1898 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1899 this function obsolete.
1900
1901 * calendar/cal-x.el (calendar-two-frame-setup)
1902 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1903 * calendar/calendar.el (american-calendar, european-calendar)
1904 (calendar-for-loop):
1905 * comint.el (comint-dynamic-simple-complete)
1906 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1907 * desktop.el (desktop-load-default):
1908 * dired-x.el (dired-omit-here-always)
1909 (dired-hack-local-variables, dired-default-directory):
1910 * emacs-lisp/derived.el (derived-mode-class):
1911 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1912 * emacs-lock.el (toggle-emacs-lock):
1913 * epa.el (epa-display-verify-result):
1914 * epg.el (epg-sign-keys, epg-start-sign-keys)
1915 (epg-passphrase-callback-function):
1916 * eshell/esh-util.el (eshell-for):
1917 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1918 (eshell-add-to-window-buffer-names):
1919 * files.el (locate-file-completion):
1920 * imenu.el (imenu-example--create-c-index)
1921 (imenu-example--create-lisp-index)
1922 (imenu-example--lisp-extract-index-name)
1923 (imenu-example--name-and-position):
1924 * international/mule-cmds.el (princ-list):
1925 * international/mule-diag.el (decode-codepage-char):
1926 * international/mule-util.el (detect-coding-with-priority):
1927 * iswitchb.el (iswitchb-read-buffer):
1928 * mail/mailalias.el (mail-complete):
1929 * mail/sendmail.el (mail-sent-via):
1930 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1931 (mouse-major-mode-menu):
1932 * password-cache.el (password-read-and-add):
1933 * pcomplete.el (pcomplete-parse-comint-arguments):
1934 * progmodes/sh-script.el (sh-maybe-here-document):
1935 * replace.el (query-replace-regexp-eval):
1936 * savehist.el (savehist-load):
1937 * simple.el (choose-completion-delete-max-match):
1938 * term.el (term-dynamic-simple-complete):
1939 * vc/ediff-init.el (ediff-check-version):
1940 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1941 * vc/vc.el (vc-diff-switches-list):
1942 * view.el (view-return-to-alist-update): Likewise.
1943
1944 * subr.el (eval-next-after-load, makehash, insert-string)
1945 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1946 mark obsolete.
1947 (mode-line-inverse-video): Variable deleted.
1948
1949 * international/mule-util.el (string-to-sequence): Remove.
1950
1951 * calendar/calendar.el (calendar-version):
1952 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1953 (icalendar-convert-diary-to-ical):
1954 * cus-edit.el (custom-mode):
1955 * ansi-color.el (ansi-color-unfontify-region):
1956 * international/latin1-disp.el (latin1-char-displayable-p):
1957 * progmodes/cwarn.el (turn-on-cwarn-mode):
1958 * progmodes/which-func.el (which-func-update-1):
1959 Use define-obsolete-function-alias.
1960
1961 * net/newst-backend.el (newsticker-cache-filename):
1962 * net/newst-treeview.el (newsticker-groups-filename):
1963 Fix incorrect obsolescence declaration.
1964
1965 * allout.el (allout-passphrase-hint-string): Likewise.
1966 (allout-init): Use a declare form to mark obsolete.
1967
1968 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1969 this applies to functions.
1970
1971 * iswitchb.el (iswitchb-read-buffer): Move code of
1972 iswitchb-define-mode-map here, and delete that obsolete function.
1973
1974 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1975 font-lock-reference-face.
1976
1977 2012-09-25 Glenn Morris <rgm@gnu.org>
1978
1979 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1980 Doc fixes.
1981
1982 * eshell/em-term.el (eshell-term-name):
1983 Default to term-term-name. (Bug#12485)
1984
1985 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1986
1987 * progmodes/python.el (python-shell-send-buffer): Better handling
1988 of "if __name__ == '__main__':" conditionals when sending the buffer.
1989
1990 2012-09-24 Glenn Morris <rgm@gnu.org>
1991
1992 * eshell/esh-cmd.el (eshell-find-alias-function):
1993 Tighten up file-name regexp. (Bug#12499)
1994
1995 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1996
1997 Enhancements for triple-quote string syntax.
1998 * progmodes/python.el (python-quote-syntax): Remove.
1999 (python-syntax-propertize-function): New value.
2000 (python-syntax-count-quotes, python-syntax-stringify):
2001 New functions.
2002
2003 2012-09-24 Chong Yidong <cyd@gnu.org>
2004
2005 * mail/supercite.el (sc-version): Remove obsolete function.
2006 (sc-describe): Don't mark as obsolete, since it is bound.
2007 (sc-submit-bug-report): Remove.
2008
2009 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2010 (cvs-commit-buffer-require-final-newline): Remove.
2011 (log-edit-require-final-newline)
2012 (log-edit-changelog-full-paragraphs): Default to t.
2013
2014 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2015 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2016 * vc/vc.el (vc-checkout-carefully): Likewise.
2017
2018 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2019 (emerge-version): Remove.
2020
2021 * progmodes/compile.el (compile-internal): Remove.
2022 (compilation-parse-errors-function): Fix typo.
2023
2024 * international/mule.el (set-char-table-default): Remove.
2025 (set-coding-priority, make-coding-system, generic-char-p)
2026 (charset-list, charset-bytes, charset-id): Use declare to mark
2027 functions as obsolete.
2028
2029 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2030 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2031 * vc/vc-hooks.el (vc-default-registered): Don't use
2032 vc-master-templates.
2033
2034 * font-lock.el (font-lock-reference-face):
2035 Use define-obsolete-variable-alias.
2036
2037 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2038 * calendar/calendar.el (calendar-font-lock-keywords):
2039 * calendar/diary-lib.el (diary-font-lock-keywords)
2040 (diary-fancy-font-lock-keywords):
2041 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2042 * textmodes/reftex-index.el (reftex-insert-index):
2043 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2044 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2045 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2046 * progmodes/prolog.el (prolog-font-lock-keywords):
2047 * progmodes/idlwave.el (idlwave-idl-keywords):
2048 * progmodes/ada-mode.el (ada-font-lock-keywords):
2049 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2050
2051 2012-09-24 Glenn Morris <rgm@gnu.org>
2052
2053 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2054
2055 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2056
2057 * progmodes/python.el (python-indent-line): More consistent cursor
2058 movement behavior.
2059
2060 2012-09-23 Stefan Merten <smerten@oekonux.de>
2061
2062 * textmodes/rst.el: Fix compiler warning.
2063
2064 2012-09-23 Roland Winkler <winkler@gnu.org>
2065
2066 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2067 Transcribe also LaTeX hyphenation.
2068 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2069 bibtex-reformat-previous-options.
2070
2071 2012-09-23 Roland Winkler <winkler@gnu.org>
2072
2073 * proced.el (proced-renice-command): New variable.
2074 (proced-marked-processes): New function.
2075 (proced-with-processes-buffer): New macro.
2076 (proced-send-signal): Use them.
2077 (proced-renice): New command bound to r.
2078
2079 2012-09-23 Roland Winkler <winkler@gnu.org>
2080
2081 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2082 ibuffer-saved-filter-groups has one element, shortcut the call of
2083 completing-read. (Bug#12331)
2084
2085 2012-09-23 Chong Yidong <cyd@gnu.org>
2086
2087 * bindings.el (mode-line-toggle-read-only):
2088 * bs.el (bs-toggle-readonly):
2089 * buff-menu.el (Buffer-menu-toggle-read-only):
2090 * dired.el (dired-toggle-read-only):
2091 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2092
2093 2012-09-23 Chong Yidong <cyd@gnu.org>
2094
2095 * image.el (image-type-available-p): Adapt to init-image-library
2096 argument changes.
2097
2098 2012-09-22 Juri Linkov <juri@jurta.org>
2099
2100 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2101 `dired-toggle-read-only'. (Bug#12462)
2102
2103 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2104
2105 * subr.el (temp-output-buffer-show): New function.
2106 (with-output-to-temp-buffer): Call temp-output-buffer-show
2107 instead of internal-temp-output-buffer-show.
2108
2109 2012-09-22 Chong Yidong <cyd@gnu.org>
2110
2111 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2112 (Bug#12462).
2113
2114 * repeat.el (repeat): Doc fix (Bug#12348).
2115
2116 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2117 (Bug#10909).
2118
2119 * simple.el (shell-command-on-region): Doc fix.
2120 (read-only-mode): Doc fix.
2121
2122 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2123
2124 * emacs-lisp/timer.el (run-with-idle-timer)
2125 (timer-activate-when-idle): Warn against reinvoking an idle timer
2126 from within its own timer action. (Bug#12447)
2127
2128 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2129
2130 * cus-start.el (window-combination-limit): Add new optional
2131 values.
2132 * window.el (temp-buffer-window-show)
2133 (window--try-to-split-window): Handle new values of
2134 window-combination-limit (Bug#1806).
2135 (split-window): Test window-combination-limit for t instead of
2136 non-nil.
2137 (display-buffer-at-bottom): New buffer display action function.
2138 * help.el (temp-buffer-resize-regexps): New option.
2139 (temp-buffer-resize-mode): Rewrite doc-string.
2140 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2141 Don't resize reused window. Suggested by Glenn Morris.
2142
2143 2012-09-22 Stefan Merten <smerten@oekonux.de>
2144
2145 * textmodes/rst.el: Revamp section title faces.
2146 (rst-official-version)
2147 (rst-package-emacs-version-alist): Sync with official version
2148 V1.4.0.
2149 (rst-faces-defaults, rst-set-level-default)
2150 (rst-level-face-max, rst-level-face-base-color)
2151 (rst-level-face-base-light, rst-level-face-format-light)
2152 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2153 (rst-adornment-faces-alist): Match new setup.
2154 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2155 (rst-level-5, rst-level-6): New faces.
2156
2157 2012-09-22 Chong Yidong <cyd@gnu.org>
2158
2159 * simple.el (undo): Handle indirect buffers (Bug#8207).
2160
2161 2012-09-21 Leo Liu <sdl.web@gmail.com>
2162
2163 IDO: Disable match re-ordering for buffer switching.
2164 * ido.el (ido-buffer-disable-smart-matches): New variable.
2165 (ido-set-matches-1): Use it. (Bug#2042)
2166
2167 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2168
2169 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2170 Fix 2011-05-17 change. (Bug#12418)
2171
2172 2012-09-21 Leo Liu <sdl.web@gmail.com>
2173
2174 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2175
2176 2012-09-21 Glenn Morris <rgm@gnu.org>
2177
2178 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2179 Be more robust about locating simple.el.
2180
2181 2012-09-21 Glenn Morris <rgm@gnu.org>
2182
2183 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2184
2185 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2186
2187 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2188
2189 2012-09-20 Juri Linkov <juri@jurta.org>
2190
2191 * replace.el (query-replace-read-from): Use `read-regexp' instead
2192 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2193 (occur-read-primary-args): Use `read-regexp' instead of
2194 `read-string'.
2195 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2196 `read-from-minibuffer'.
2197 * isearch.el (isearch-occur): Use `read-regexp' instead of
2198 `read-string'.
2199 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2200 `read-from-minibuffer'.
2201 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2202 of `read-string'. (Bug#7567)
2203
2204 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2205 and allow accepting a list of strings prepended to a list of
2206 standard default values. Doc fix. (Bug#12321)
2207
2208 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2209
2210 * replace.el (read-regexp): Don't add ": " when PROMPT already
2211 ends with a colon and space. (Bug#12321)
2212
2213 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2214
2215 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2216 error.
2217
2218 2012-09-20 Stefan Merten <smerten@oekonux.de>
2219
2220 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2221 Fixes feature request bug#11711.
2222 (rst-mode): Create `imenu-create-index-function'.
2223 (rst-get-stripped-line): Delete after refactoring.
2224 (rst-section-tree, rst-section-tree-rec)
2225 (rst-section-tree-point): Refactor and document properly.
2226 (rst-imenu-find-adornments-for-position)
2227 (rst-imenu-convert-cell, rst-imenu-create-index):
2228 New function.
2229
2230 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2233 (macroexp--expand-all): Use it.
2234 (macroexp--funcall-and-return): Remove by folding it into its sole
2235 caller (macroexp--warn-and-return).
2236 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2237 Use macroexp--obsolete-warning.
2238
2239 * calc/calc.el: Fix last change by removing the whole chunk, since it
2240 was only needed back when Calc was not bundled.
2241
2242 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2243
2244 * emacs-lisp/debug.el (debug): Restore assignment to
2245 debugger-old-buffer removed on 2012-09-08.
2246
2247 2012-09-20 Juri Linkov <juri@jurta.org>
2248
2249 * dired-aux.el (dired-diff): Remove (require 'diff) since
2250 `diff-latest-backup-file' is now autoloaded.
2251
2252 2012-09-20 Chong Yidong <cyd@gnu.org>
2253
2254 * vc/diff.el (diff-latest-backup-file): Autoload.
2255
2256 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * calc/calc.el: Remove redundant autoload shape check.
2259 (sel-mode): Don't defvar.
2260 (calc-get-stack-element): Add `sel-mode' arg instead.
2261 (calc-top, calc-top-list): Pass it this additional argument.
2262 * calc/calc-store.el (calc-store-map):
2263 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2264 (calc-map-equation, calc-outer-product, calc-inner-product):
2265 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2266
2267 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2268
2269 2012-09-19 Juri Linkov <juri@jurta.org>
2270
2271 * dired-aux.el (dired-diff): Add (require 'diff) because
2272 `diff-latest-backup-file' is not autoloaded.
2273 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2274 of `dired-get-filename' to t to not report error when there is
2275 no default file on the current line.
2276
2277 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2280 macroexp--eval-if-compile.
2281 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2282 (macroexp--expand-all): Use them (bug#12371).
2283
2284 * doc-view.el (doc-view-guess-paper-size)
2285 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2286
2287 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2288
2289 New feature: set optimal slice from BoundingBox information.
2290 * doc-view.el (doc-view-mode-map): Add keybinding.
2291 (doc-view-menu): Add menu entry.
2292 (doc-view-set-slice): Adapt docstring.
2293 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2294 (doc-view-scale-bounding-box)
2295 (doc-view-set-slice-from-bounding-box): New functions.
2296 (doc-view-paper-sizes): New defvar.
2297
2298 2012-09-19 Glenn Morris <rgm@gnu.org>
2299
2300 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2301 (byte-compile-log-warning): Autoload. (Bug#12371)
2302
2303 * calendar/calendar.el (calendar-american-month-header)
2304 (calendar-european-month-header, calendar-iso-month-header)
2305 (calendar-month-header): New options.
2306 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2307 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2308
2309 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2310
2311 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2312
2313 2012-09-18 Juri Linkov <juri@jurta.org>
2314
2315 * dired-aux.el (dired-diff): Restore original functionality of
2316 getting the default value, but keep new feature of using the
2317 latest existing backup file (`diff-latest-backup-file').
2318
2319 2012-09-18 Juri Linkov <juri@jurta.org>
2320
2321 * dired.el (dired-mark): If the region is active in Transient Mark
2322 mode, mark all files in the active region. Doc fix.
2323 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2324 Doc fix. (Bug#10624)
2325
2326 2012-09-18 Juri Linkov <juri@jurta.org>
2327
2328 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2329 attributes for M-n are pulled from the file at point.
2330 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2331 Suggested by Drew Adams. (Bug#10624)
2332
2333 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2336 whitespace after "end".
2337 (ruby-do-end-to-brace): Collapse block to one line if it fits
2338 within fill-column.
2339
2340 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2341
2342 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2343 value.
2344 (debug): Don't remove debugger window when debugger is expected
2345 to be back.
2346
2347 2012-09-18 Chong Yidong <cyd@gnu.org>
2348
2349 * custom.el (defface): Doc fix.
2350
2351 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2352
2353 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2354
2355 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2356 to initialize query-on-exit; then test that instead (bug#12288).
2357
2358 2012-09-17 Stefan Merten <smerten@oekonux.de>
2359
2360 * textmodes/rst.el: Add support for `testcover'.
2361 (rst-defcustom-testcover, rst-testcover-add-compose)
2362 (rst-testcover-add-1value): New functions.
2363 (rst-portable-mark-active-p): Replace by `use-region-p'.
2364 (rst-update-section, rst-classify-adornment)
2365 (rst-find-title-line): Mark `1value' forms.
2366 (rst-classify-adornment): Remove superfluous form.
2367 (rst-update-section, rst-get-adornments-around)
2368 (rst-adornment-complete-p, rst-get-next-adornment)
2369 (rst-adjust, rst-promote-region)
2370 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2371 (rst-find-pfx-in-region, rst-section-tree-rec)
2372 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2373 (rst-toc-node, rst-toc, rst-forward-section)
2374 (rst-iterate-leftmost-paragraphs)
2375 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2376 (rst-bullet-list-region)
2377 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2378 (rst-compile-find-conf, rst-compile)
2379 (rst-repeat-last-character): Fix style.
2380
2381 2012-09-17 Chong Yidong <cyd@gnu.org>
2382
2383 * comint.el (comint--complete-file-name-data): Don't add a space
2384 if the status is `sole'; that adds a gratuitous space in the
2385 completion-cycling case (Bug#12092).
2386
2387 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2388
2389 2012-09-17 Richard Stallman <rms@gnu.org>
2390
2391 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2392 only in the mime-shown mode, not in raw mode.
2393 (rmail-mime): Toggle off mime by displaying the message without
2394 mime processing. (Bug#12305)
2395
2396 * mail/rmail.el (rmail-retry-failure):
2397 Turn off mime processing first. (Bug#12037)
2398
2399 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2400
2401 2012-09-17 Chong Yidong <cyd@gnu.org>
2402
2403 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2404 (shell-dynamic-complete-functions): Convert to defcustom.
2405 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2406
2407 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2408 * comint.el (comint-prompt-read-only):
2409 * custom.el (defcustom):
2410 * hi-lock.el (hi-lock-mode):
2411 * ibuffer.el (ibuffer-formats):
2412 * ielm.el (ielm-prompt-read-only):
2413 * novice.el (disable-command):
2414 * saveplace.el (toggle-save-place):
2415 * speedbar.el (speedbar-supported-extension-expressions):
2416 * startup.el (auto-save-list-file-prefix, init-file-user)
2417 (after-init-hook, inhibit-startup-echo-area-message):
2418 * strokes.el (strokes-help):
2419 * time-stamp.el (time-stamp):
2420 * calendar/calendar.el (calendar, diary-file):
2421 * calendar/diary-lib.el (diary-mail-entries, diary)
2422 (diary-list-entries-hook):
2423 * calendar/holidays.el (holidays, calendar-holidays):
2424 * calendar/lunar.el (lunar-phases):
2425 * calendar/solar.el (sunrise-sunset):
2426 * emulation/edt.el (edt-load-keys):
2427 * emulation/viper.el (viper-mode):
2428 * eshell/em-alias.el (eshell-command-aliases-list):
2429 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2430 * international/ogonek.el (ogonek-information):
2431 * net/tramp-cmds.el (tramp-bug):
2432 * net/quickurl.el (quickurl-reread-hook-postfix):
2433 * play/decipher.el (decipher-font-lock-keywords):
2434 * progmodes/cc-styles.el (c-set-style):
2435 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2436 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2437 * progmodes/octave-mod.el (octave-mode):
2438 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2439 * progmodes/verilog-mode.el (verilog-read-defines):
2440 * textmodes/two-column.el (2C-mode): Likewise.
2441
2442 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2443
2444 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2445 that holds many addresses.
2446
2447 2012-09-16 Chong Yidong <cyd@gnu.org>
2448
2449 * align.el (align-areas): Call the indication function with
2450 positions instead of markers for arguments (Bug#12343).
2451
2452 * files.el (parse-colon-path): Use split-string (Bug#12351).
2453
2454 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2455 (display-buffer-function): Mark as obsolete.
2456
2457 * progmodes/compile.el (compilation-parse-errors): Accept list
2458 values similar to font-lock-keywords (Bug#12136).
2459 Suggested by Oleksandr Manzyuk.
2460 (compilation-error-regexp-alist): Doc fix.
2461
2462 2012-09-15 Glenn Morris <rgm@gnu.org>
2463
2464 * version.el (emacs-bzr-version-bzr): New function.
2465 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2466
2467 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2468 checkouts, check the parent dirstate matches the branch.
2469 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2470 empty string.
2471
2472 * version.el (emacs-bzr-version): Doc fix.
2473 (emacs-bzr-version-dirstate): New function.
2474 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2475 is local try and check that it matches the branch. If not, just
2476 use dirstate information. (Bug#12441)
2477
2478 2012-09-14 Juri Linkov <juri@jurta.org>
2479
2480 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2481 (Bug#12399)
2482
2483 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2486
2487 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2488 Remove obsolete byte-compiler hack that tried to silence some warnings.
2489 (edebug-submit-bug-report): Remove.
2490 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2491 Remove aliases, use the un-prefixed name instead.
2492 (edebug-pop-to-buffer): Consider other frames.
2493 (edebug-original-read):: Make it more obvious that it's always defined.
2494 (edebug--make-form-data-entry, edebug--form-data-name)
2495 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2496 single-dashed name, and implement with cl-defstruct.
2497 (edebug-set-form-data-entry): Use the standard accessors.
2498 (edebug-make-top-form-data-entry): Use push.
2499 (edebug-no-match): Drop useless `funcall'.
2500 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2501 to functions.
2502 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2503 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2504 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2505 (easy-menu-define, with-custom-print): Remove redundant specs.
2506 (edebug-outside-overriding-local-map)
2507 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2508 (edebug--display): Bind unread-command-events directly to nil rather
2509 than binding it to unread-command-events and later setting it to nil.
2510 (edebug--display): Kill edebug-eval-buffer here...
2511 (edebug--recursive-edit): ...rather than here.
2512 Bind standard-output and standard-input.
2513 (edebug-eval): Check cl-macroexpand-all is fboundp.
2514 (edebug-temp-display-freq-count): Fix last change.
2515
2516 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2517 * subr.el (noreturn, 1value): Add `debug' spec.
2518 * emacs-lisp/advice.el: Require cl-lib.
2519 (ad-copy-tree): Remove, use copy-tree instead.
2520 (ad-dolist): Remove use dolist or cl-dolist instead.
2521 (ad-do-return): Remove, use cl-return instead.
2522 (defadvice): Add `debug' spec.
2523
2524 2012-09-13 Juri Linkov <juri@jurta.org>
2525
2526 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2527 (Bug#12399)
2528
2529 2012-09-13 Glenn Morris <rgm@gnu.org>
2530
2531 * calc/calc.el (math-compose-expr):
2532 * calc/calc-ext.el (math-compose-expr):
2533 * progmodes/cc-defs.el (cl-macroexpand-all):
2534 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2535 (cl-macroexpand-all): Update declarations.
2536
2537 * vc/vc.el: No need to require ediff.
2538 (ediff-load-version-control): Declare.
2539 (ediff-vc-internal): Fix declaration.
2540 (vc-version-ediff): Require ediff.
2541
2542 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2543
2544 Use a more backwards-compatible timer format (Bug#12430).
2545 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2546 being right after USECS, as that better supports old code that
2547 inadvisedly looked directly at the timer vector.
2548
2549 2012-09-13 Kenichi Handa <handa@gnu.org>
2550
2551 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2552 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2553 `coding-priority' property of these language environment.
2554
2555 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2556
2557 Fix glitches caused by addition of psec to timers (Bug#12430).
2558 * image.el (image-animate-timer):
2559 * time.el (display-time-world-timer):
2560 Use timer--function and timer--args rather than raw access to
2561 timer vector.
2562
2563 2012-09-13 Glenn Morris <rgm@gnu.org>
2564
2565 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2566 If not compiling a file, try using load-file-name.
2567
2568 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2571 Fix last change.
2572 (edebug-update-eval-list): Use `push'.
2573
2574 * emacs-lisp/edebug.el: Use lexical-binding.
2575 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2576 Mark unused args with underscore.
2577 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2578 (edebug-form-data): Use defvar-local.
2579 (edebug-make-before-and-after-form, edebug-make-after-form):
2580 Use backquote.
2581 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2582 Not dynamically scoped any more.
2583 (edebug--enter-trace): Add arguments `function' and `args'.
2584 Rename from edebug-enter-trace.
2585 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2586 (edebug--update-coverage): Add `after-index' and `value' args.
2587 Rename from edebug-update-coverage.
2588 (edebug-slow-after): Call it accordingly.
2589 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2590 edebug-recursive-edit.
2591 (edebug--display): Call it accordingly. Add args `value',
2592 `offset-index', and `arg-mode'. Rename from edebug-display.
2593 (edebug-debugger, edebug): Call it accordingly.
2594 (edebug-eval-display-list): Use dolist.
2595
2596 2012-09-12 Juri Linkov <juri@jurta.org>
2597
2598 * info.el (Info-search): Don't check for isearch-mode and
2599 isearch-regexp before let-binding search-spaces-regexp to
2600 Info-search-whitespace-regexp.
2601 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2602 search-whitespace-regexp if isearch-lax-whitespace or
2603 isearch-regexp-lax-whitespace is non-nil.
2604 (Info-mode): Don't set local variable search-whitespace-regexp.
2605 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2606
2607 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2610 (debugger-env-macro): Remove support for unread-command-char.
2611
2612 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2613 the temporary map re-appearing on emulation-mode-map-alists.
2614
2615 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2616 since 22.1.
2617
2618 * ehelp.el (with-electric-help): Accept functions in
2619 electric-help-form-to-execute.
2620 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2621 And replace unread-command-char -> unread-command-events.
2622
2623 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2624
2625 Sync with Tramp 2.2.6.
2626
2627 * net/tramp.el (tramp-accept-process-output): Don't use
2628 JUST-THIS-ONE in the XEmacs case.
2629
2630 * net/trampver.el: Update release number.
2631
2632 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2633
2634 * emacs-lisp/debug.el (debugger-previous-window-height):
2635 New variable.
2636 (debug): When debugger-jumping-flag is non-nil try to restore
2637 height of debugger window. (Bug#8789)
2638
2639 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2642 overriding-local-map and pre/post-command-hook here.
2643 (edebug-recursive-edit): Do it here instead (bug#12345).
2644 (edebug-outside-unread-command-char): Remove all uses of
2645 unread-command-char.
2646
2647 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2648 inhibit-debugger is bound instead.
2649
2650 2012-09-11 Bastien Guerry <bzg@gnu.org>
2651
2652 * subr.el (set-temporary-overlay-map): Add a docstring.
2653 (Bug#12346)
2654
2655 2012-09-11 Bastien Guerry <bzg@gnu.org>
2656
2657 * minibuffer.el (completion-table-subvert): Fix docstring.
2658 (Bug#12347)
2659
2660 2012-09-11 Bastien Guerry <bzg@gnu.org>
2661
2662 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2663
2664 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2665
2666 * progmodes/sql.el: Version 3.1
2667 (sql-db2-escape-newlines): New variable.
2668 (sql-escape-newlines-filter): Use it.
2669
2670 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2671
2672 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2673
2674 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2675
2676 * vc/diff-mode.el (diff-mode-menu):
2677 Bind diff-remove-trailing-whitespace.
2678
2679 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2682 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2683 (emacs-lisp-byte-code-mode): New functions.
2684 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2685 (eval-defun-2): Remove bogus interactive spec.
2686 (lisp-indent-line): Remove redundant whole-exp code, now done in
2687 indent-according-to-mode.
2688 (save-match-data): Remove redundant indent data.
2689
2690 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2691 Use `declare'.
2692
2693 2012-09-09 Juri Linkov <juri@jurta.org>
2694
2695 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2696 (replace-lax-whitespace, query-replace-regexp)
2697 (query-replace-regexp-eval, replace-regexp): Doc fix.
2698 (perform-replace, replace-highlight): Let-bind
2699 isearch-lax-whitespace to replace-lax-whitespace and
2700 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2701
2702 * isearch.el (isearch-query-replace): Let-bind
2703 replace-lax-whitespace to isearch-lax-whitespace and
2704 replace-regexp-lax-whitespace to
2705 isearch-regexp-lax-whitespace. (Bug#10885)
2706
2707 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2710
2711 2012-09-09 Alan Mackenzie <acm@muc.de>
2712
2713 * progmodes/cc-engine.el (c-state-cache-init):
2714 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2715 (c-record-parse-state-state):
2716 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2717
2718 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2719
2720 * register.el (register-separator): Rename from
2721 separator-register. All uses changed. Doc fix.
2722 (register): Fix version.
2723
2724 2012-09-09 Chong Yidong <cyd@gnu.org>
2725
2726 * replace.el (query-replace-map): Bind four new symbols for
2727 requesting window scrolling.
2728
2729 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2730 query-replace-map (Bug#8948).
2731
2732 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2733
2734 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2735 since they are now in query-replace-map.
2736
2737 * window.el (scroll-other-window-down): Make the arg optional.
2738
2739 2012-09-09 Chong Yidong <cyd@gnu.org>
2740
2741 * files.el (hack-local-variables-confirm): Use quit-window to kill
2742 the *Local Variables* buffer.
2743
2744 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2745
2746 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2747 not just expect to be at its beginning. Adjust callees.
2748 Succeed when do-end block has no space before the pipe character.
2749 (ruby-brace-to-do-end): When the original block is one-liner,
2750 convert to multiline. Reindent the result.
2751
2752 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2753
2754 * register.el (register): New group.
2755 (separator-register): New user option.
2756 (increment-register): Route it to `append-to-register', if
2757 register contains text. Implication is that `C-x r +' can now be
2758 used for appending to a text register (bug#12217).
2759 (append-to-register, prepend-to-register): Add separator based on
2760 `separator-register'.
2761
2762 2012-09-08 Alan Mackenzie <acm@muc.de>
2763
2764 AWK Mode: make auto-newline work when there's "==" in the pattern.
2765 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2766 correctly.
2767 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2768 Test more rigorously for "=" token.
2769
2770 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2773 Only fail when reached LIMIT.
2774
2775 2012-09-08 Chong Yidong <cyd@gnu.org>
2776
2777 * dired.el (dired-mode-map): Don't bind M-=.
2778
2779 * dired-aux.el (dired-diff): Use backup file as default.
2780
2781 2012-09-08 Drew Adams <drew.adams@oracle.com>
2782
2783 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2784
2785 2012-09-08 Chong Yidong <cyd@gnu.org>
2786
2787 * subr.el (syntax-after, syntax-class): Doc fix.
2788
2789 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (display-buffer-in-previous-window): New buffer
2792 display action function.
2793
2794 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2795 (debugger-previous-window): New variable.
2796 (debug): Rewrite using display-buffer-in-previous-window,
2797 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2798
2799 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2802
2803 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2804
2805 * progmodes/python.el (python-shell-send-string):
2806 When default-directory is remote, create temp file on remote
2807 filesystem.
2808 (python-shell-send-file): When file is remote, pass local view of
2809 file paths to remote Python interpreter. (Bug#12340)
2810
2811 2012-09-07 Chong Yidong <cyd@gnu.org>
2812
2813 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2814
2815 * files.el (after-find-file): Don't fail on a read-only buffer if
2816 require-final-newline is `visit' or `visit-save' (Bug#11156).
2817
2818 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2819
2820 * userlock.el (ask-user-about-supersession-threat):
2821 Use read-char-choice (Bug#12093).
2822
2823 2012-09-07 Chong Yidong <cyd@gnu.org>
2824
2825 * subr.el (buffer-narrowed-p): New function.
2826
2827 * ses.el (ses-widen):
2828 * simple.el (count-words--buffer-message):
2829 * net/browse-url.el (browse-url-of-buffer): Use it.
2830
2831 * simple.el (count-words-region): Don't signal an error if there
2832 is a non-nil prefix arg and the mark is not set.
2833
2834 * help.el (describe-key-briefly): Allow the message to be seen
2835 when invoked from the minibuffer (Bug#7014).
2836
2837 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * progmodes/ruby-mode.el (ruby-end-of-defun)
2840 (ruby-beginning-of-defun): Simplify, allow indentation before
2841 block beginning and end keywords.
2842 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2843 (ruby-end-of-defun): Expect that the point is at the beginning of
2844 the defun.
2845
2846 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2849 (bug#12367).
2850 (cl--make-usage-args): Strip _ from argument names.
2851
2852 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2853
2854 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2855 obsolete alias speedbar-key-map.
2856 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2857 (vhdl-index-menu-init): Don't use obsolete variable
2858 font-lock-maximum-size.
2859
2860 2012-09-06 Chong Yidong <cyd@gnu.org>
2861
2862 * frame.el (window-system-version): Mark as obsolete.
2863
2864 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2865 of obsolete variable speedbar-key-map.
2866
2867 2012-09-06 Juri Linkov <juri@jurta.org>
2868
2869 * replace.el (replace-lax-whitespace): New defcustom.
2870 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2871 (replace-string, replace-regexp): Mention it in docstrings.
2872 (perform-replace, replace-highlight): Let-bind
2873 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2874 to the values of replace-lax-whitespace and regexp-flag.
2875 Don't let-bind search-whitespace-regexp. (Bug#10885)
2876
2877 * isearch.el (isearch-query-replace): Let-bind
2878 replace-lax-whitespace instead of let-binding
2879 replace-search-function and replace-re-search-function.
2880 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2881 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2882 (isearch-toggle-symbol): Set isearch-regexp to nil
2883 in isearch-word mode (like in isearch-toggle-word).
2884
2885 2012-09-06 Juri Linkov <juri@jurta.org>
2886
2887 * replace.el (replace-search-function)
2888 (replace-re-search-function): Set default values to nil.
2889 (perform-replace): Let-bind isearch-related variables based on
2890 replace-related values, call `isearch-search-fun' and let-bind
2891 the result to `search-function'. Remove code that sets
2892 `search-function' and `search-string' separately for
2893 `delimited-flag'.
2894 (replace-highlight): Add new argument `delimited-flag' and
2895 rename other arguments to the names used in `perform-replace'.
2896 Let-bind `isearch-word' to the argument `delimited-flag'.
2897 (Bug#10885, bug#10887)
2898
2899 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2900
2901 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2902 ruby-beginning-of-indent, simplify, allow all keywords to have
2903 indentation before them.
2904 (ruby-beginning-of-indent): Adjust for above. Search until the
2905 found point is not inside a string or comment.
2906 (ruby-font-lock-keywords): Allow symbols to start with "@"
2907 character, give them higher priority than variables.
2908 (ruby-syntax-propertize-function)
2909 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2910 matchers. Expression expansions are not comments when inside a
2911 string, and there comment syntax status is irrelevant.
2912 (ruby-match-expression-expansion): New function. Check that
2913 expression expansion is inside a string, and it's not escaped.
2914 (ruby-font-lock-keywords): Use it.
2915
2916 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2917
2918 * help.el (temp-buffer-max-height): New default value.
2919 (temp-buffer-resize-frames): New option.
2920 (resize-temp-buffer-window): Optionally resize frame.
2921
2922 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2923 (fit-frame-to-buffer): New function.
2924
2925 2012-09-05 Glenn Morris <rgm@gnu.org>
2926
2927 * emulation/cua-rect.el (cua--init-rectangles):
2928 * textmodes/picture.el (picture-mode-map):
2929 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2930 like forward-char and backward-char. (Bug#12317)
2931
2932 2012-09-05 Leo Liu <sdl.web@gmail.com>
2933
2934 * progmodes/flymake.el (flymake-warning-re): New variable.
2935 (flymake-parse-line): Use it.
2936
2937 2012-09-05 Glenn Morris <rgm@gnu.org>
2938
2939 * calendar/holidays.el (holiday-christian-holidays):
2940 Rename an entry. (Bug#12289)
2941
2942 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2945 (bug#12222).
2946
2947 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * loadup.el: Load macroexp. Remove hack.
2950 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2951 (macroexp--expand-all): Use it to get better warnings.
2952 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2953 (internal-macroexpand-for-load): New functions.
2954 (macroexp--pending-eager-loads): New var.
2955 (emacs-startup-hook): New hack to replace one in loadup.el.
2956 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2957 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2958 (cl-psetf): Simplify.
2959 (cl-defstruct): Add indent rule.
2960
2961 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2962
2963 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2964 over `user-mail-address' for the SMTP MAIL FROM envelope.
2965 (smtpmail-via-smtp): Ditto.
2966
2967 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2968
2969 * progmodes/ruby-mode.el: Clean up keybindings.
2970 (ruby-mode-map): Don't bind ruby-electric-brace,
2971 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2972 backward-kill-word, reindent-then-newline-and-indent.
2973 (ruby-mark-defun): Remove.
2974 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2975 (ruby-mode): Set local beginning-of-defun-function and
2976 end-of-defun-function values.
2977
2978 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2979
2980 * window.el (temp-buffer-window-setup-hook)
2981 (temp-buffer-window-show-hook): New hooks.
2982 (temp-buffer-window-setup, temp-buffer-window-show)
2983 (with-temp-buffer-window): New functions.
2984 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2985 (special-display-popup-frame): Make sure the window used shows BUFFER.
2986
2987 * help.el (temp-buffer-resize-mode): Fix doc-string.
2988 (resize-temp-buffer-window): New optional argument WINDOW.
2989
2990 * files.el (recover-file, save-buffers-kill-emacs):
2991 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2992
2993 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2994
2995 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2996 remote definition of `default-directory', ensure we can connect.
2997
2998 2012-09-02 Juri Linkov <juri@jurta.org>
2999
3000 Toggle whitespace matching mode with M-s SPC.
3001 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3002
3003 * isearch.el (search-whitespace-regexp): Doc fix.
3004 Remove cons cell customization.
3005 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3006 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3007 New variables.
3008 (isearch-forward, isearch-forward-regexp): Doc fix.
3009 (isearch-toggle-lax-whitespace): New command.
3010 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3011 (re-search-forward-lax-whitespace)
3012 (re-search-backward-lax-whitespace): New functions.
3013 (isearch-whitespace-regexp): Remove function.
3014 (isearch-query-replace): Let-bind replace-search-function and
3015 replace-re-search-function.
3016 (isearch-occur): Let-bind search-spaces-regexp according to the
3017 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3018 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3019 condition for C-q SPC.
3020 (isearch-search-fun-default): Use new functions mentioned above.
3021 (isearch-search-forward, isearch-search-backward): Remove functions.
3022 (isearch-search): Don't let-bind search-spaces-regexp.
3023 (isearch-lazy-highlight-space-regexp): Remove variable.
3024 (isearch-lazy-highlight-lax-whitespace)
3025 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3026 (isearch-lazy-highlight-new-loop): Use them.
3027 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3028
3029 2012-09-02 Chong Yidong <cyd@gnu.org>
3030
3031 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3032
3033 2012-09-02 Glenn Morris <rgm@gnu.org>
3034
3035 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3036
3037 2012-09-01 Glenn Morris <rgm@gnu.org>
3038
3039 * term.el: Tidy up menu definitions.
3040 (term-mode-map): Use easymenu for In/Out, Complete menus.
3041 (term-pager-break-map): Initialize in the defvar.
3042 (term-terminal-menu, term-signals-menu): Define with easymenu.
3043 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3044 (term-pager-menu): New, extracted from term-process-pager.
3045 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3046 (term-update-mode-line): Propertize line/char and page items.
3047 (term-process-pager): Move keymap initialization elsewhere.
3048
3049 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3050
3051 * window.el (switch-to-prev-buffer): Handle additional values of
3052 BURY-OR-KILL argument. Don't switch in minibuffer window.
3053 (switch-to-next-buffer): Don't switch in minibuffer window.
3054 (quit-restore-window): New function based on quit-window.
3055 Handle additional values of former KILL argument.
3056 (quit-window): Call quit-restore-window with appropriate
3057 interpretation of KILL argument.
3058 (display-buffer-below-selected): New buffer display action
3059 function.
3060
3061 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * minibuffer.el (completion-at-point-functions): Complete docstring
3064 (bug#12254).
3065
3066 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3067
3068 Better seed support for (random).
3069 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3070 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3071 * play/mpuz.el, play/tetris.el, play/zone.el:
3072 * calc/calc-comb.el (math-init-random-base):
3073 * play/blackbox.el (bb-init-board):
3074 * play/life.el (life):
3075 * server.el (server-use-tcp):
3076 * type-break.el (type-break):
3077 Remove unnecessary call to (random t).
3078 * net/sasl.el (sasl-unique-id-function):
3079 Change (random t) to (random), now that the latter is more random.
3080 * play/life.el (life-initialized): Remove no-longer-needed var.
3081
3082 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3083
3084 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3085 Consider frame's buffer predicate when choosing the buffer.
3086 (Bug#12081)
3087
3088 2012-08-30 Richard Stallman <rms@gnu.org>
3089
3090 * simple.el (special-mode-map): Delete binding for `z'.
3091
3092 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3093
3094 * progmodes/compile.el (compilation-always-kill): Doc fix.
3095
3096 2012-08-30 Chong Yidong <cyd@gnu.org>
3097
3098 * window.el (display-buffer-reuse-frames): Make the obsolescence
3099 message more informative.
3100
3101 2012-08-30 Glenn Morris <rgm@gnu.org>
3102
3103 * paren.el (show-paren-delay):
3104 Add a :set function. Doc fix. (Bug#12297)
3105
3106 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3107
3108 * progmodes/compile.el (compilation-always-kill): New var.
3109 (compilation-start): Use it.
3110
3111 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3114 * files.el (read-only-mode): Move to simple.el.
3115
3116 * files.el (read-only-mode): New minor mode.
3117 (toggle-read-only): Use it and mark obsolete.
3118 (find-file--read-only):
3119 * vc/vc.el (vc-next-action, vc-checkout):
3120 * vc/vc-cvs.el (vc-cvs-checkout):
3121 * obsolete/vc-mcvs.el (vc-mcvs-update):
3122 * ffap.el (ffap--toggle-read-only): Update callers.
3123
3124 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * eshell/esh-ext.el (eshell-external-command): Do not examine
3127 remote shell scripts.
3128 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3129
3130 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3131 "/usr/local/sbin".
3132
3133 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3136
3137 2012-08-28 Leo Liu <sdl.web@gmail.com>
3138
3139 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3140 completion-at-point. (Bug#12220)
3141
3142 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3143
3144 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3145
3146 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3149 be buffer-local; add delete-trailing-whitespace (bug#12259).
3150
3151 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3152
3153 * progmodes/hideif.el (hif-compress-define-list):
3154 Fix typo. (Bug#11951)
3155
3156 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3157
3158 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3159 buffer local setting.
3160
3161 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3162 rcirc-encode-coding-system.
3163
3164 2012-08-28 Leo Liu <sdl.web@gmail.com>
3165
3166 * net/rcirc.el (rcirc-split-message): New function.
3167 (rcirc-send-message): Use it. (Bug#12051)
3168
3169 2012-08-28 Juri Linkov <juri@jurta.org>
3170
3171 * info.el (Info-fontify-node): Hide empty lines at the end of
3172 the node. (Bug#12272)
3173
3174 2012-08-27 Drew Adams <drew.adams@oracle.com>
3175
3176 * dired.el (dired-pop-to-buffer): Make window start at beginning
3177 of buffer (Bug#12281).
3178
3179 2012-08-26 Chong Yidong <cyd@gnu.org>
3180
3181 * window.el (special-display-regexps, special-display-frame-alist)
3182 (special-display-buffer-names, special-display-function)
3183 (display-buffer-reuse-frames): Mark as obsolete.
3184
3185 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3186
3187 * help.el (help-print-return-message): Don't treat
3188 display-buffer-reuse-frames specially.
3189
3190 2012-08-26 Chong Yidong <cyd@gnu.org>
3191
3192 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3193 New variable, replacing gdb-frame-parameters.
3194 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3195 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3196 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3197 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3198 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3199 the functions directly with gdb-display-buffer-other-frame-action.
3200 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3201 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3202 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3203 (gdb-display-registers-buffer): Define directly.
3204 (def-gdb-display-buffer): Macro deleted.
3205 (gdb-display-buffer): Remove second and third args, callers don't
3206 use them. Defer to the default display-buffer behavior, apart
3207 from making windows dedicated.
3208 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3209
3210 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3211
3212 * window.el (display-buffer-pop-up-frame): Handle a
3213 pop-up-frame-parameters alist entry.
3214 (display-buffer): Document it.
3215
3216 2012-08-26 Chong Yidong <cyd@gnu.org>
3217
3218 * isearch.el (search-whitespace-regexp): Make string and nil
3219 values apply to both ordinary and regexp search. Allow a cons
3220 cell value to distinguish between the two.
3221 (isearch-whitespace-regexp, isearch-search-forward)
3222 (isearch-search-backward): New functions.
3223 (isearch-occur, isearch-search-fun-default, isearch-search)
3224 (isearch-lazy-highlight-new-loop): Use them.
3225 (isearch-forward, isearch-forward-regexp): Doc fix.
3226
3227 2012-08-26 Chong Yidong <cyd@gnu.org>
3228
3229 * faces.el (help-argument-name): Always inherit from italic
3230 (Bug#12213).
3231
3232 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3233
3234 * window.el (window--even-window-heights): Even heights when
3235 WINDOW and the selected window form a vertical combination.
3236 (display-buffer-use-some-window): Provide that window used gets
3237 sized back by quit-window. (Bug#11880) and (Bug#12091)
3238
3239 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3240
3241 Fix file time stamp problem with bzr and CVS (Bug#12001).
3242 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3243 in the file's time stamp, since the version control system loses
3244 that information.
3245
3246 2012-08-22 Juri Linkov <juri@jurta.org>
3247
3248 * info.el (Info-fontify-node): Hide the suffix of the
3249 Info file name in the header line. (Bug#12187)
3250
3251 2012-08-22 Glenn Morris <rgm@gnu.org>
3252
3253 * calendar/cal-tex.el (cal-tex-weekly-common):
3254 Restore leading blank page.
3255
3256 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3257
3258 * misc.el (forward-to-word, backward-to-word): Activate or extend
3259 the region under `shift-select-mode'. (Bug#12231)
3260
3261 2012-08-22 Bastien Guerry <bzg@gnu.org>
3262
3263 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3264 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3265 gives details on why the space is never needed.
3266
3267 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3268
3269 * window.el (walk-window-tree, window-with-parameter):
3270 New optional argument MINIBUF to control whether these functions
3271 should run on the minibuffer window.
3272 (window-at-side-list): Don't operate on minibuffer window.
3273 (window-in-direction): Simplify and rewrite doc-string.
3274 (window--size-ignore): Rename to window--size-ignore-p.
3275 Update callers.
3276 (display-buffer-in-atom-window, window--major-non-side-window)
3277 (window--major-side-window, display-buffer-in-major-side-window)
3278 (delete-side-window, display-buffer-in-side-window):
3279 New functions.
3280 (window--side-check, window-deletable-p, delete-window)
3281 (delete-other-windows, split-window): Handle side windows and
3282 atomic windows appropriately.
3283 (window--display-buffer): Call display-buffer-record-window also
3284 when the window buffer did not change.
3285
3286 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3287
3288 * help-fns.el (help-fns--key-bindings):
3289 Abbreviate non-symbol remap targets. (Bug#12174)
3290
3291 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3292
3293 * dired.el (dired-mark-remembered): Don't clobber point.
3294 (Bug#11795)
3295
3296 2012-08-22 Glenn Morris <rgm@gnu.org>
3297
3298 * progmodes/bug-reference.el (bug-reference): New custom group.
3299 (bug-reference-bug-regexp): Make it a defcustom.
3300
3301 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3302
3303 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3304 (js-paren-indent-offset, js-square-indent-offset)
3305 (js-curly-indent-offset): Add :safe (Bug#12257).
3306
3307 2012-08-22 Edward O'Connor <hober0@gmail.com>
3308
3309 * json.el (json-key-format): Add error properties.
3310 (json-encode-key): New function.
3311 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3312 Use json-encode-key.
3313
3314 2012-08-22 Glenn Morris <rgm@gnu.org>
3315
3316 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3317 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3318 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3319 Update for above change.
3320
3321 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3322
3323 * cus-face.el (custom-face-attributes): Fix customize type for the
3324 :underline attribute. (Bug#11805)
3325
3326 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3327
3328 * window.el (window-point-1, set-window-point-1): Remove.
3329 (window-in-direction, record-window-buffer)
3330 (set-window-buffer-start-and-point, split-window-below)
3331 (window--state-get-1, display-buffer-record-window):
3332 Replace calls to window-point-1 and set-window-point-1 by calls to
3333 window-point and set-window-point respectively.
3334
3335 2012-08-21 Glenn Morris <rgm@gnu.org>
3336
3337 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3338 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3339 Use it.
3340
3341 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3342 (cal-tex-shortday): New function.
3343 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3344 (cal-tex-cursor-filofax-daily): Use the above.
3345
3346 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3347 New functions.
3348 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3349 (cal-tex-cursor-filofax-week): Use them.
3350
3351 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3352 New constants.
3353 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3354 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3355
3356 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3357 (cal-tex-end-document): Don't rely on buffer name.
3358
3359 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3360 Use cal-tex-vspace.
3361 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3362 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3363 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3364 Use cal-tex-arg.
3365
3366 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3367 (cal-tex-cursor-week, cal-tex-cursor-week2)
3368 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3369 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3370 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3371 (cal-tex-insert-preamble, cal-tex-b-document)
3372 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3373 Improve cal-tex-cmd usage.
3374
3375 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3376 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3377 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3378 (cal-tex-weekly-paper): New function.
3379 (cal-tex-cursor-week, cal-tex-cursor-week2)
3380 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3381 (cal-tex-cursor-day): Use it.
3382
3383 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3384 (cal-tex-cursor-filofax-week): Remove leading blank page.
3385
3386 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3387 Add autoload cookie. For now at least, don't use color, since
3388 no other cal-tex function does.
3389
3390 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3391 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3392 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3393
3394 2012-08-21 Juri Linkov <juri@jurta.org>
3395
3396 * info.el (Info-file-attributes): New variable.
3397 (info-insert-file-contents): Add file attributes to
3398 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3399 `Info-toc-nodes' when previous modtime of the Info file is less
3400 than new modtime.
3401 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3402 of info.el. (Bug#12230)
3403
3404 2012-08-20 Glenn Morris <rgm@gnu.org>
3405
3406 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3407 * calendar/holidays.el (calendar-holiday-list):
3408 Report errors with display-warning rather than beep'n'sleep.
3409
3410 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3411
3412 * net/tramp.el (tramp-accept-process-output): Accept only output
3413 from PROC. Otherwise, process filters and sentinels might be
3414 confused. (Bug#12145)
3415
3416 2012-08-20 Chong Yidong <cyd@gnu.org>
3417
3418 * descr-text.el (describe-text-properties-1): Use overlays-in to
3419 report on empty overlays (Bug#3322).
3420
3421 2012-08-20 Glenn Morris <rgm@gnu.org>
3422
3423 * mail/rmailout.el (rmail-output-read-file-name):
3424 Trap and report errors in rmail-output-file-alist elements.
3425
3426 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3427 since most non-font-lock faces are not also variables).
3428
3429 2012-08-20 Edward Reingold <reingold@iit.edu>
3430
3431 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3432 New function. (Bug12160)
3433
3434 2012-08-19 Glenn Morris <rgm@gnu.org>
3435
3436 * mail/rmailout.el (rmail-output-read-file-name):
3437 Fix previous change (when the alist is nil or does not match).
3438
3439 2012-08-19 Chong Yidong <cyd@gnu.org>
3440
3441 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3442 (Bug#12228).
3443
3444 2012-08-18 Chong Yidong <cyd@gnu.org>
3445
3446 * simple.el (yank-handled-properties): New defcustom.
3447 (yank-excluded-properties): Add font-lock-face and category.
3448 (yank): Doc fix.
3449
3450 * subr.el (remove-yank-excluded-properties):
3451 Obey yank-handled-properties. The special handling of font-lock-face
3452 and category is now done this way, instead of being hard-coded.
3453 (insert-for-yank-1): Remove font-lock-face handling.
3454 (yank-handle-font-lock-face-property)
3455 (yank-handle-category-property): New function.
3456
3457 2012-08-17 Glenn Morris <rgm@gnu.org>
3458
3459 * mail/rmailout.el (rmail-output-read-file-name):
3460 Check rmail-output-file-alist against the full message body
3461 in the correct rmail buffer. (Bug#12214)
3462
3463 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3464
3465 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3466 Eliminate superfluous prompt. (Bug#12203)
3467
3468 2012-08-17 Chong Yidong <cyd@gnu.org>
3469
3470 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3471 font spec, set the font directly (Bug#3228).
3472
3473 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3474
3475 * window.el (delete-window): Fix last fix.
3476
3477 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3478
3479 * window.el (window-valid-p): Move to window.c.
3480 (window-child, window-child-count, window-last-child)
3481 (window-normalize-window, window-combined-p)
3482 (window-combinations, window-atom-root, window-min-size)
3483 (window-sizable, window-sizable-p, window-size-fixed-p)
3484 (window-min-delta, window-max-delta, window--resizable)
3485 (window--resizable-p, window-resizable, window-total-size)
3486 (window-full-height-p, window-full-width-p, window-body-size)
3487 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3488 (minimize-window, window-deletable-p, delete-window)
3489 (delete-other-windows, set-window-buffer-start-and-point)
3490 (next-buffer, previous-buffer, split-window, balance-windows-2)
3491 (set-window-text-height, window-buffer-height)
3492 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3493 (truncated-partial-width-window-p): Minor code adjustments.
3494 In doc-strings state whether the argument window has to denote a
3495 live, valid or any window.
3496
3497 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3498
3499 * progmodes/subword.el (subword-forward-function)
3500 (subword-backward-function, subword-forward-regexp)
3501 (subword-backward-regexp): New variables.
3502 (subword-forward, subword-forward-internal, subword-backward-internal):
3503 Use new variables, eg so that different "word" definitions
3504 can be easily used. (Bug#11411)
3505
3506 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3509 for composite selectors.
3510 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3511 operation just because we can't find a previous revision.
3512
3513 2012-08-15 Chong Yidong <cyd@gnu.org>
3514
3515 * frame.el (set-frame-font): Accept font objects.
3516
3517 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3520
3521 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3522
3523 * man.el (Man-overstrike-face, Man-underline-face)
3524 (Man-reverse-face): Remove variables.
3525 (Man-overstrike, Man-underline, Man-reverse): New faces.
3526 (Man-fontify-manpage): Use them instead of the variables.
3527 (Man-cleanup-manpage): Comment change.
3528 (Man-ansi-color-map): New variable.
3529 (Man-fontify-manpage): Use it.
3530 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3531
3532 Implement ANSI SGR parameters 22-27 (bug#12146).
3533 * ansi-color.el (ansi-colors): Doc fix.
3534 (ansi-color-context, ansi-color-context-region): Doc fix.
3535 (ansi-color--find-face): New function.
3536 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3537 Rename the local variable `face' to `codes' since it is now a list of
3538 ansi codes. Doc fix.
3539 (ansi-color-get-face): Remove.
3540 (ansi-color-parse-sequence): New function, derived from
3541 ansi-color-get-face.
3542 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3543 codes 22-27.
3544
3545 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * subr.el (read-passwd): Allow use from a minibuffer.
3548
3549 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3550
3551 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3552 inside comments and strings as identifiers.
3553
3554 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3555 expression to evaluate. This allows to evaluate expressions with
3556 embedded whitespace.
3557 (gud-tooltip-tips): Add a blank before the newline in the
3558 message-box text, for the benefit of message-box emulation on
3559 MS-Windows.
3560
3561 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3562 messages from GDB, pop them up in a tooltip to give feedback to
3563 user.
3564 (gdb-tooltip-print-1): Quote the expression to evaluate.
3565 This allows to evaluate expressions with embedded whitespace.
3566 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3567 if the TTY name is nil or empty (which happens when communicating
3568 with the inferior via pipes, e.g. on MS-Windows).
3569 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3570 don't send that to the GUD buffer.
3571
3572 2012-08-14 Glenn Morris <rgm@gnu.org>
3573
3574 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3575 Optimize away setq-default with no args, as for setq. (Bug#12195)
3576
3577 2012-08-14 Chong Yidong <cyd@gnu.org>
3578
3579 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3580
3581 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3582 (Bug#12085).
3583
3584 2012-08-14 Glenn Morris <rgm@gnu.org>
3585
3586 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3587
3588 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3591 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3592 Use cached shell name.
3593
3594 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3595
3596 * progmodes/python.el (python-shell-send-string):
3597 (python-shell-send-setup-code): Do not use `format' with `message'.
3598
3599 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3600
3601 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3602 (ruby-percent-literal-beg-re): New constant.
3603 (ruby-syntax-general-delimiters-goto-beg): Rename to
3604 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3605 (ruby-syntax-propertize-general-delimiters): Rename to
3606 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3607 popular term. Adjust comments everywhere.
3608 (ruby-syntax-propertize-percent-literal): Only propertize when not
3609 inside a simple string or comment. When the literal is unclosed,
3610 leave the text after it unpropertized.
3611 (ruby-syntax-methods-before-regexp): New constant.
3612 (ruby-syntax-propertize-function): Use it to recognize regexps.
3613 Don't look at the text after regexp, just use the whitelist.
3614
3615 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3616
3617 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3618 non-nil always load the compiled file if it exists. (Bug#12197)
3619
3620 2012-08-14 Chong Yidong <cyd@gnu.org>
3621
3622 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3623 (hi-lock-set-pattern): When deciding whether to use font lock or
3624 overlays, look at font-lock-mode instead of font-lock-fontified
3625 (Bug#12168).
3626 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3627 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3628
3629 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3630
3631 * subr.el (internal--after-with-selected-window): Fix typo
3632 (Bug#12193).
3633
3634 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3635
3636 Use `completion-table-dynamic' for completion functions.
3637 * progmodes/python.el
3638 (python-shell-completion--do-completion-at-point)
3639 (python-shell-completion--get-completions):
3640 Remove functions.
3641 (python-shell-completion-complete-at-point): New function.
3642 (python-completion-complete-at-point): Use it.
3643
3644 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3645
3646 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3647 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3648
3649 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * subr.el (function-get): Refine `autoload' arg so it can also
3652 autoload functions for gv.el (bug#12191).
3653 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3654 autoloads macros.
3655
3656 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3657 Prefer pcase-let over destructuring-bind.
3658 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3659 Also, remove whitespace as we go, rather than after accumulating the
3660 various places.
3661
3662 * subr.el (internal--before-with-selected-window)
3663 (internal--after-with-selected-window): Fix typo seleted->selected.
3664 (with-selected-window): Adjust callers.
3665 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3666
3667 2012-08-13 Bastien Guerry <bzg@gnu.org>
3668
3669 * window.el (special-display-popup-frame): Minor docstring
3670 enhancement. (Bug#12172)
3671
3672 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3673
3674 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3675 type 1-6.
3676 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3677 extended headers.
3678
3679 * files.el (hack-local-variables-filter): Remove useless eval.
3680
3681 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3682
3683 * subr.el (with-selected-window): Fix last change.
3684
3685 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * subr.el (internal--before-with-seleted-window)
3688 (internal--after-with-seleted-window): New functions.
3689 (with-selected-window): Use them, to replace dependency on
3690 tty-top-frame.
3691
3692 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3693
3694 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3695 binding for `newline'.
3696 (ruby-move-to-block): When moving backward, stop at block opening,
3697 not indentation.
3698 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3699 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3700 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3701 `ruby-toggle-block'.
3702
3703 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * ibuffer.el (ibuffer-do-toggle-read-only):
3706 * dired.el (dired-toggle-read-only):
3707 * buff-menu.el (Buffer-menu-toggle-read-only):
3708 * bindings.el (mode-line-toggle-read-only):
3709 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3710
3711 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3712
3713 * descr-text.el (describe-char): Put the overlays over the
3714 "displayed as" character.
3715
3716 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3717
3718 * calc/calc-units.el (math-default-units-table): Give an
3719 initial value.
3720 (math-put-default-units): Add options to put composite units and
3721 unit systems in the default units table.
3722 (calc-convert-units): Send composite units to
3723 `math-put-default-units' when appropriate.
3724
3725 2012-08-11 Glenn Morris <rgm@gnu.org>
3726
3727 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3728
3729 * tutorial.el (help-with-tutorial):
3730 * emacs-lisp/copyright.el (copyright-update-directory):
3731 * emacs-lisp/autoload.el (autoload-find-generated-file)
3732 (autoload-find-file): Disable local eval: (for insurance).
3733
3734 * files.el (hack-local-variables-filter): If an eval: form is not
3735 known to be safe, and enable-local-variables is :safe, then ignore
3736 the form totally, as is done for non-eval forms. (Bug#12155)
3737 This is CVE-2012-3479.
3738
3739 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3742 (rx-form): Simplify.
3743
3744 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3745
3746 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3747 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3748 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3749 (ruby-syntax-propertize-function): Adjust for changes in
3750 `ruby-syntax-propertize-heredoc'.
3751
3752 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3753
3754 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3755 binding (use `M-;' instead).
3756 (ruby-singleton-class-p): New function.
3757 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3758
3759 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3762
3763 2012-08-10 Chong Yidong <cyd@gnu.org>
3764
3765 * progmodes/python.el (python-shell-get-process-name): Don't mess
3766 with same-window-buffer-names.
3767
3768 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3769 (eshell-remove-from-window-buffer-names): Make obsolete.
3770 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3771 (eshell): Just use pop-to-buffer-same-window instead.
3772
3773 2012-08-10 Chong Yidong <cyd@gnu.org>
3774
3775 * bindings.el: Bind M-= back to count-words-region.
3776
3777 * simple.el (count-words-region): Accept a prefix arg for acting
3778 on the entire buffer.
3779 (count-words--buffer-message): New helper function.
3780
3781 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3784 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3785 (event-start, event-end): Use posn-at-point to return a more
3786 informative posn.
3787 (posnp): New function.
3788 * mouse.el (popup-menu-normalize-position): Use it.
3789
3790 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3791
3792 * mouse.el (popup-menu-normalize-position): New function.
3793 (popup-menu): Use `popup-menu-normalize-position' to normalize
3794 the form for POSITION argument.
3795
3796 * term/x-win.el (x-menu-bar-open):
3797 Use the value returend from (posn-at-point) as position
3798 passed to `popup-menu'.
3799
3800 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3801
3802 * calc/calccomp.el (math-compose-expr): Add extra argument
3803 indicating that parentheses should be put around products in
3804 denominators. Give multiplication precedence over division during
3805 composition.
3806
3807 2012-08-09 Chong Yidong <cyd@gnu.org>
3808
3809 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3810 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3811 (Man-untabify-command, manual-program): Convert to defcustom
3812 (Bug#10429).
3813
3814 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3815
3816 * descr-text.el (describe-char): Don't insert extra newlines
3817 (Bug#10127).
3818
3819 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3820 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3821
3822 * align.el (align-region): Delete temporary markers (Bug#10047).
3823 Plus some code cleanups.
3824
3825 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3826
3827 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3828 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3829 (python-shell-internal-last-output): Use make-local-variable
3830 instead of make-variable-buffer-local.
3831
3832 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3833
3834 * progmodes/python.el: Enhancements to forward-sexp.
3835 (python-nav-forward-sexp): Rename from
3836 python-nav-forward-sexp-function.
3837 (python-nav--forward-sexp, python-nav--backward-sexp):
3838 New functions.
3839
3840 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3841
3842 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3843 modes and simplification modes.
3844
3845 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * delsel.el (delete-selection-pre-hook): Don't propagate the
3848 file-supersession signals (bug#12161).
3849
3850 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3853 (cl-map-extents): Add compatibility aliases (bug#12135).
3854
3855 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3856
3857 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3858 tests by `ignore-error'.
3859 (tramp-find-shell): Open also a new shell, when cache is already
3860 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3861
3862 2012-08-08 Juri Linkov <juri@jurta.org>
3863
3864 * bookmark.el: Add `defaults' property to the bookmark record.
3865 (bookmark-current-buffer): Doc fix.
3866 (bookmark-make-record): Add `defaults' property with default values
3867 to the bookmark record.
3868 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3869 with `bookmark-insert-current-bookmark'.
3870 (bookmark-set): Get `defaults' property from the bookmark record
3871 and use it in `read-from-minibuffer'.
3872 (bookmark-insert-current-bookmark): Remove function.
3873
3874 * info.el (Info-bookmark-make-record): Add `defaults' property
3875 with values of canonical Info node name, the current Info file
3876 name and the current Info node name. (Bug#12107)
3877
3878 2012-08-08 Juri Linkov <juri@jurta.org>
3879
3880 * files.el (basic-save-buffer): Use `buffer-name' as the default
3881 of `read-file-name' when buffer is not visiting a file (bug#12128).
3882
3883 2012-08-08 Juri Linkov <juri@jurta.org>
3884
3885 * info.el (Info-isearch-search): Doc fix.
3886 (Info-search): Change search-failed message from "initial node" to
3887 "end of node" (bug#12078).
3888 (Info-isearch-search): Change `isearch-string-state' to
3889 `isearch--state-string'.
3890
3891 2012-08-08 Glenn Morris <rgm@gnu.org>
3892
3893 * language/persian.el: Remove file.
3894 * language/misc-lang.el: Move unique part of persian.el here.
3895 * loadup.el: Remove language/persian.
3896
3897 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3898
3899 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3900
3901 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3902
3903 * progmodes/python.el Fixed defsubst warning.
3904 (python-syntax-context) Rename from python-info-ppss-context.
3905 (python-syntax-context-type): Rename from
3906 python-info-ppss-context-type.
3907 (python-syntax-comment-or-string-p): Rename from
3908 python-info-ppss-comment-or-string-p.
3909
3910 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3911
3912 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3913
3914 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3915
3916 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3917 a defcustom that is quoted with backquote.
3918
3919 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3920 Fix handling of interactive spec when the body uses return.
3921 (math-do-arg-check, math-define-function-body): Use backquote forms.
3922 * calc/calc-ext.el (math-defcache): Likewise.
3923 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3924 * allout.el (allout-new-exposure): Likewise.
3925 * calc/calcalg2.el (math-tracing-integral): Likewise.
3926 * info.el (Info-last-menu-item): Likewise.
3927 * emulation/vip.el (vip-loop): Likewise.
3928 * textmodes/artist.el (artist-funcall): Likewise.
3929 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3930 Construct menu-item directly.
3931
3932 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3933 Don't declare.
3934
3935 2012-08-07 Chong Yidong <cyd@gnu.org>
3936
3937 * simple.el (deactivate-mark): Preserve text properties when
3938 saving the primary selection (Bug#8384).
3939
3940 2012-08-07 Kevin Ryde <user42@zip.com.au>
3941
3942 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3943 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3944 and continue processing (Bug#12110).
3945
3946 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3949 syntax-propertize-function (bug#10095).
3950
3951 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3954 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3955 describe-function-1.
3956 (describe-function-1): Use them. Move compiler macro after sig.
3957 (help-fns--compiler-macro): Use function-get. Assume we're already in
3958 standard-output. Adjust layout to new call order.
3959
3960 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3961 re-binding a symbol that has a symbol-macro (bug#12119).
3962
3963 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3964
3965 * language/persian.el: New file. (Bug#11812)
3966 * loadup.el: Add language/persian.el.
3967
3968 2012-08-06 Chong Yidong <cyd@gnu.org>
3969
3970 * window.el (window--maybe-raise-frame): New function.
3971 (window--display-buffer): Split off from here.
3972 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3973 (display-buffer-pop-up-window, display-buffer-use-some-window):
3974 Obey an inhibit-switch-frame action alist entry.
3975 (display-buffer): Update doc.
3976
3977 * replace.el (occur-after-change-function): Avoid losing focus by
3978 using the inhibit-switch-frame display parameter (Bug#12139).
3979
3980 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3981
3982 Make internal shell process buffer names start with space.
3983 * progmodes/python.el (python-shell-make-comint): Add optional
3984 argument INTERNAL.
3985 (run-python-internal): Use it.
3986 (python-shell-internal-get-or-create-process): Check for new
3987 internal buffer names.
3988
3989 2012-08-06 Glenn Morris <rgm@gnu.org>
3990
3991 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3992 Do less getting and setting of environment variables.
3993
3994 2012-08-05 Chong Yidong <cyd@gnu.org>
3995
3996 * proced.el (proced): Add substitution string to docstring to
3997 trigger autoloading of the proced library on C-h f (Bug#1768).
3998
3999 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4000 Don't show defvars which have no second argument (Bug#8638).
4001
4002 * imenu.el (imenu-generic-expression): Move documentation here
4003 from imenu--generic-function.
4004 (imenu--generic-function): Refer to imenu-generic-expression.
4005
4006 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4007
4008 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4009 indentation declaration.
4010 (viper-loop): Add indentation declaration (Bug#7025).
4011
4012 2012-08-05 Chong Yidong <cyd@gnu.org>
4013
4014 * help-fns.el (describe-variable): Add hyperlink for
4015 directory-local variables files. Improve buffer-local and
4016 permanent-local reporting; suggested by MON KEY (Bug#6644).
4017
4018 * help-mode.el (help-dir-local-var-def): New button type.
4019
4020 * files.el (kill-buffer-hook): Provide a defvar.
4021
4022 2012-08-05 Glenn Morris <rgm@gnu.org>
4023
4024 * eshell/esh-ext.el (eshell/addpath):
4025 Also update eshell-path-env. (Bug#12013)
4026
4027 2012-08-05 Chong Yidong <cyd@gnu.org>
4028
4029 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4030
4031 * fringe.el (fringe-styles): Add docstring.
4032 (fringe--check-mode): New function.
4033 (set-fringe-mode, set-fringe-style): Use it.
4034 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4035
4036 * files.el (set-auto-mode): Fix invalid setq call.
4037
4038 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * isearch.el: Misc simplification; use defstruct.
4041 (isearch-mode-map): Dense maps now work like sparse ones.
4042 (isearch--state): New defstruct.
4043 (isearch-string-state, isearch-message-state, isearch-point-state)
4044 (isearch-success-state, isearch-forward-state)
4045 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4046 (isearch-wrapped-state, isearch-barrier-state)
4047 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4048 replaced by defstruct's accessors.
4049 (isearch--set-state): Rename from isearch-top-state and change
4050 calling convention.
4051 (isearch-push-state): Use new isearch--get-state.
4052 (isearch-toggle-word): Disable regexp when enabling word.
4053 (isearch-message-prefix): Remove unused arg _c-q-hack.
4054 (isearch-message-suffix): Remove unused arg _ellipsis.
4055
4056 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4057
4058 * simple.el (list-processes--refresh): For a server use :host or
4059 :local as the address.
4060 (list-processes): Doc fix.
4061
4062 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4063
4064 * lisp/mpc.el: Support password in host argument.
4065 (mpc--proc-connect): Parse and use new password element.
4066 Set mpc-proc variable instead of returning process.
4067 (mpc-proc): Adjust accordingly.
4068
4069 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4070
4071 * whitespace.el (whitespace-display-mappings): Use Unicode
4072 codepoints, instead of emacs-mule codepoints. See
4073 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4074 for the details.
4075
4076 * files.el (file-truename): Don't skip symlink-chasing part on
4077 windows-nt. Incorporate the resolution of 8+3 short aliases on
4078 Windows into the loop that recursively chases symlinks.
4079 Compare directory and its parent case-insensitively on MS-Windows and
4080 MS-DOS.
4081
4082 2012-08-03 Chong Yidong <cyd@gnu.org>
4083
4084 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4085
4086 * sort.el (sort-regexp-fields): Doc fix.
4087
4088 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4089
4090 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4091 labels regex position point at the expected place.
4092
4093 2012-08-03 MON KEY <monkey@sandpframing.com>
4094
4095 * net/imap.el (imap-interactive-login, imap-authenticate)
4096 (imap-mailbox-lsub, imap-mailbox-list)
4097 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4098 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4099 (imap-parse-response): Doc fix.
4100
4101 2012-08-03 João Távora <joaotavora@gmail.com>
4102
4103 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4104 if sexp scanning does not move point (Bug#5734).
4105
4106 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4107
4108 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4109 Add listings, minted, and ctable packages.
4110 (reftex-label-alist-builtin): Move listings, minted, and ctable
4111 entries before LaTeX.
4112 (reftex-label-alist): Docfix.
4113
4114 2012-08-02 Bastien Guerry <bzg@gnu.org>
4115
4116 * replace.el (occur): Fix docstring (bug#12122).
4117
4118 2012-08-02 Glenn Morris <rgm@gnu.org>
4119
4120 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4121
4122 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4123
4124 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4125 * international/mule-cmds.el: Create
4126 inactivate-current-input-method-function as an obsolete alias for
4127 deactivate-current-input-method-function. See Katsumi Yamaoka in
4128 <http://bugs.gnu.org/10150#46>.
4129
4130 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4131
4132 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4133 of nested `if's.
4134
4135 2012-08-01 Glenn Morris <rgm@gnu.org>
4136
4137 * progmodes/autoconf.el (autoconf-definition-regexp):
4138 Add AH_TEMPLATE, adjust submatch numbering.
4139 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4140 (autoconf-current-defun-function): Update for above change.
4141 (autoconf-current-defun-function): First skip to end of current word.
4142
4143 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4144
4145 * calendar/cal-html.el (cal-html-insert-agenda-days):
4146 Fix typo. (Bug#12018)
4147
4148 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4149
4150 Shell processes: enhancements to startup and CEDET compatibility.
4151 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4152 (python-shell-make-comint): accept-process-output at startup.
4153 (run-python-internal): Set inferior-python-mode-hook to nil.
4154 (python-shell-internal-get-or-create-process): call sit-for.
4155 (python-preoutput-result): Add obsolete alias.
4156 (python-shell-internal-send-string): Use it.
4157 (python-shell-send-setup-code): Remove call to
4158 accept-process-output.
4159
4160 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4161
4162 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4163 (Bug#12108)
4164
4165 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4166
4167 * calc-mode.el (calc-basic-simplification-mode): Rename from
4168 `calc-limited-simplification-mode'.
4169 (calc-alg-simplification-mode): New function.
4170 (calc-set-simplify-mode): Adjust message.
4171
4172 * calc.el (calc-set-mode-line): Adjust mode line display for
4173 basic simplification mode.
4174
4175 * calc-help.el (calc-m-prefix-help): Update help message.
4176
4177 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4178 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4179
4180 2012-07-31 Bastien Guerry <bzg@gnu.org>
4181
4182 * man.el (man): Fix comment. (bug#12101)
4183
4184 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4185
4186 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4187 Don't return a non-nil value when no suitable buffer was found.
4188
4189 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4190
4191 * progmodes/python.el (run-python-internal): Disable font lock for
4192 internal shells.
4193
4194 2012-07-30 Stefan Merten <smerten@oekonux.de>
4195
4196 * textmodes/rst.el: Silence `checkdoc-ispell'.
4197 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4198 (rst-official-version, rst-official-cvs-rev)
4199 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4200 (rst-mode-map): New key binding.
4201
4202 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4203
4204 Update .PHONY listings in makefiles.
4205 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4206 autoloads, update-subdirs, updates, bzr-update, update-authors,
4207 compile-onefile, compile-calc, backup-compiled-files,
4208 compile-after-backup, compile-one-process, mh-autoloads,
4209 bootstrap-clean, distclean, maintainer-clean.
4210
4211 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4212
4213 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4214 (calc-set-mode-line): Don't display "AlgSimp ".
4215
4216 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4217 (calc-lim-simplify-mode): New function.
4218 (calc-set-simplify-mode): Default to 'alg.
4219 (calc-default-simplify-mode): Make algebraic simplifications
4220 the default.
4221
4222 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4223 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4224
4225 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4226 indicate new simplification modes.
4227
4228 * calc/README: Mention new default simplification mode.
4229
4230 * calc/calc.el (math-normalize-error): New variable.
4231 (math-normalize): Set `math-normalize-error' to t
4232 when there's an error.
4233
4234 * calc/calc-alg.el (math-simplify): Don't simplify when
4235 `math-normalize' returns an error.
4236
4237 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4238
4239 * international/mule-cmds.el (set-locale-environment): Revert last
4240 change, since display-graphic-p returns nil when this function is
4241 called during startup. Instead...
4242
4243 * term/w32console.el (terminal-init-w32console): ...setup the
4244 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4245
4246 2012-07-29 Juri Linkov <juri@jurta.org>
4247
4248 * simple.el (goto-line): Don't display default line number in the
4249 prompt because it should be displayed by `read-number' (bug#9952).
4250 Add the current line number to the defaults of `goto-line' to
4251 allow its easier modification by users with `M-n' (bug#9201).
4252
4253 * subr.el (read-number): Support multiple default values like in
4254 other minibuffer reading functions. Replace `read' with
4255 `string-to-number' for consistency with `number-to-string'.
4256
4257 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4258
4259 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4260 * emulation/viper-init.el (viper-deactivate-input-method-action):
4261 Rename from viper-inactivate-input-method-action.
4262 (viper-deactivate-input-method):
4263 Rename from viper-inactivate-input-method.
4264 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4265 * international/mule-cmds.el (deactivate-input-method):
4266 Rename from inactivate-input-method.
4267 Also run input-method-deactivate-hook.
4268 (deactivate-current-input-method-function):
4269 Rename from inactivate-current-input-method-function.
4270 (input-method-deactivate-hook): New hook.
4271 (input-method-inactivate-hook): Mark obsolete.
4272 (inactivate-input-method): Mark obsolete.
4273
4274 * international/quail.el (quail-activate):
4275 Also run quail-deactivate-hook.
4276 (quail-deactivate): Rename from quail-inactivate.
4277 * international/robin.el (robin-activate):
4278 Also run robin-deactivate-hook.
4279 (robin-deactivate): Rename from robin-inactivate.
4280
4281 2012-07-29 Chong Yidong <cyd@gnu.org>
4282
4283 * simple.el (indicate-copied-region): New function.
4284 (kill-ring-save): Split off from here.
4285
4286 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4287 (kill-rectangle): Set deactivate-mark to t on read-only error.
4288
4289 * register.el (copy-to-register, copy-rectangle-to-register):
4290 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4291 (append-to-register, prepend-to-register): Call indicate-copied-region.
4292
4293 2012-07-29 Juri Linkov <juri@jurta.org>
4294
4295 * simple.el (async-shell-command-buffer): New defcustom.
4296 (shell-command): Use it. (Bug#4719)
4297
4298 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4299
4300 * international/mule-cmds.el (set-locale-environment): In a
4301 console session on MS-Windows, set up keyboard and terminal
4302 encoding from the OEM codepage, not the ANSI codepage.
4303 (Bug#12055)
4304
4305 2012-07-28 Chong Yidong <cyd@gnu.org>
4306
4307 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4308 gdb-get-location.
4309
4310 2012-07-28 Leo Liu <sdl.web@gmail.com>
4311
4312 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4313 the alist (bug#12029).
4314
4315 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4316
4317 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4318 (compile-always, compile-first)
4319 ($(lisp)/calendar/cal-loaddefs.el)
4320 ($(lisp)/calendar/diary-loaddefs.el)
4321 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4322 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4323 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4324 instead of on update-subdirs.
4325 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4326
4327 2012-07-28 Chong Yidong <cyd@gnu.org>
4328
4329 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4330 directory if vc-deduce-backend returns nil (Bug#7350).
4331
4332 * simple.el (delete-trailing-lines): New option.
4333 (delete-trailing-whitespace): Obey it (Bug#11879).
4334
4335 2012-07-28 David Engster <deng@randomsample.de>
4336
4337 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4338 Explanation of new 'symbol-qnames feature in doc-strings.
4339 (xml-maybe-do-ns): Return expanded names as plain symbols if
4340 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4341 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4342
4343 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4344
4345 Consistent completion in inferior python with emacs -nw.
4346 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4347 binding in inferior-python-mode-map with "\t".
4348 (python-shell-completion-complete-at-point)
4349 (python-completion-complete-at-point): Remove interactive spec.
4350
4351 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4352
4353 * calc/calccomp.el (math-compose-expr): Undo previous change.
4354
4355 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4356
4357 * progmodes/python.el (python-mode-map): Add keybinding for
4358 run-python.
4359 (python-shell-make-comint): Fix pop-to-buffer call.
4360 (run-python): Autoload. New arg SHOW.
4361 (python-shell-get-or-create-process): Do not pop python process
4362 buffer.
4363
4364 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4365
4366 * notifications.el (notifications-on-action-signal)
4367 (notifications-on-closed-signal): Use also the bus address for the map.
4368 (notifications-notify, notifications-close-notification)
4369 (notifications-get-capabilities): Add optional argument BUS.
4370
4371 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4372
4373 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4374 Add support for the lstlisting and minted environments, and for the
4375 ctable macro.
4376 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4377 labels written in keyvals syntax.
4378
4379 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4380
4381 * calc/calccomp.el (math-compose-expr): Use parentheses when
4382 there is a product in the denominator of a fraction.
4383
4384 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4385
4386 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4387 ($(lisp)/calendar/diary-loaddefs.el)
4388 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4389 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4390 Fixes failures in parallel bootstrap because subdirs.el is being
4391 rewritten while the autoload files are built at the same time,
4392 which needs to load subdirs.el.
4393
4394 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4395
4396 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4397 (mouse-drag-line): Don't exit tracking when a switch-frame or
4398 switch-window event occurs (Bug#12006).
4399
4400 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * mouse.el (popup-menu): Fix last change.
4403
4404 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 Autoload from Lisp with more care. Follow aliases when looking for
4407 function properties.
4408 * subr.el (autoloadp): New function.
4409 (symbol-file): Use it.
4410 (function-get): New function.
4411 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4412 autoload-do-load.
4413 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4414 (lisp-indent-function):
4415 * emacs-lisp/gv.el (gv-get):
4416 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4417 * emacs-lisp/byte-opt.el (byte-optimize-form):
4418 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4419 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4420 Use function-get.
4421 * emacs-lisp/cl.el: Don't propagate function properties any more.
4422
4423 * speedbar.el (speedbar-add-localized-speedbar-support):
4424 * emacs-lisp/disass.el (disassemble-internal):
4425 * desktop.el (desktop-load-file):
4426 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4427 (describe-function-1):
4428 * emacs-lisp/find-func.el (find-function-noselect):
4429 * emacs-lisp/elp.el (elp-instrument-function):
4430 * emacs-lisp/advice.el (ad-has-proper-definition):
4431 * apropos.el (apropos-safe-documentation, apropos-macrop):
4432 * emacs-lisp/debug.el (debug-on-entry):
4433 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4434 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4435 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4436
4437 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4438
4439 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4440 function, not an obsolete variable (Bug#12046).
4441
4442 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4443
4444 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4445
4446 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4447
4448 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4449 window only if it is still live (Bug#12034).
4450
4451 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4452
4453 * subr.el (redirect-frame-focus): Add advertised calling
4454 convention (Bug#12030).
4455
4456 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4457
4458 Prefer typical American spelling for "acknowledgment".
4459 * vc/add-log.el (change-log-acknowledgment): Rename from
4460 change-log-acknowledgement, with an alias for the old name.
4461
4462 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4463
4464 * calc-alg.el (math-simplify-divide): Don't cross multiply
4465 in an equation when the lhs is a variable.
4466
4467 2012-07-24 Julien Danjou <julien@danjou.info>
4468
4469 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4470 Remove, unused.
4471
4472 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4473
4474 * startup.el (command-line): Don't display an empty user name in
4475 the error message about non-existent home directory, when
4476 init-file-user was set to an empty string. See
4477 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4478 for the details and context.
4479
4480 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4481
4482 * ses.el (ses-cell-formula-aset): New macro.
4483 (ses-cell-references-aset): New macro.
4484 (ses-cell-p): New function.
4485 (ses-rename-cell): Do no longer rely on complex operations like
4486 ses-cell-set-formula or ses-set-cell to change the cell and handle
4487 the undo at the same time, but rather use lower level new macros
4488 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4489 the undo directly. Refresh the mode line.
4490
4491 2012-07-21 Leo Liu <sdl.web@gmail.com>
4492
4493 * progmodes/cc-cmds.el (c-defun-name):
4494 Use match-string-no-properties instead for consistency.
4495
4496 2012-07-20 Leo Liu <sdl.web@gmail.com>
4497
4498 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4499 (Bug#7879)
4500
4501 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4502
4503 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4506 * progmodes/bug-reference.el, misearch.el: Provide themselves
4507 (bug#11915).
4508
4509 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4510 of narrowed buffer (bug#11966).
4511
4512 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4513
4514 * ses.el (ses-rename-cell): Set new name also in reference list of
4515 cells of which the renamed cell depends.
4516
4517 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4518
4519 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4520 to check whether menu-bar is shown or not. If not shown,
4521 show the menu-bar as a popup menu instead of using tmm.
4522 * mouse.el (popup-menu): Accept `point' as `position' argument.
4523
4524 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4525
4526 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4527 up inside string symbol literal (bug#11923).
4528
4529 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4530
4531 * startup.el (fancy-startup-text): Read the whole tutorial, not
4532 just its first 256 bytes. Prevents gibberish in display of the
4533 tutorial title.
4534
4535 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4536
4537 Drop idle buffer compaction due to an absence of the
4538 proved efficiency.
4539 * compact.el: Remove.
4540
4541 2012-07-19 Sam Steingold <sds@gnu.org>
4542
4543 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4544 vc-bzr-pull & vc-bzr-merge-branch.
4545 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4546 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4547 for consistency with compilation-error-regexp-alist.
4548 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4549 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4550 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4551 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4552
4553 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * emacs-lisp/chart.el: Use lexical-binding.
4556 (chart-emacs-storage): Don't hardcode the list of entries.
4557
4558 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4559
4560 Next round of tweaks caused by Fgarbage_collect changes.
4561 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4562
4563 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4564
4565 Compact buffers when idle.
4566 * compact.el: New file.
4567
4568 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * subr.el (eventp): Presume that if it looks vaguely like an event,
4571 it's an event (bug#10190).
4572
4573 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4574
4575 Enhancements to ppss related code (thanks Stefan).
4576 * progmodes/python.el (python-indent-context)
4577 (python-indent-calculate-indentation, python-indent-dedent-line)
4578 (python-indent-electric-colon, python-nav-forward-block)
4579 (python-mode-abbrev-table)
4580 (python-info-assignment-continuation-line-p): Simplify checks
4581 for ppss context.
4582 (python-info-continuation-line-p): Cleanup.
4583 (python-info-ppss-context): Do not catch 'quote.
4584 (python-info-ppss-context-type)
4585 (python-info-ppss-comment-or-string-p): Simplify.
4586
4587 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4588
4589 * progmodes/python.el: Enhancements to eldoc support.
4590 (python-info-current-symbol): New function.
4591 (python-eldoc-at-point): Use python-info-current-symbol.
4592 (python-info-current-defun): Fix cornercase on first defun scan.
4593 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4594 and signal error when no inferior python process is available.
4595
4596 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4597
4598 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4599 assume it's always t.
4600 (vc-git-registered): Remove caching, the function is only called
4601 once.
4602 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4603
4604 2012-07-18 Chong Yidong <cyd@gnu.org>
4605
4606 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4607
4608 * simple.el (count-words): Report on narrowing (Bug#9959).
4609
4610 * bindings.el: Bind M-= to count-words.
4611
4612 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4613
4614 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4615
4616 * progmodes/sh-script.el (sh-imenu-generic-expression):
4617 Capture a function with `function' keyword and without parentheses
4618 like "function FOO" (bug#11856).
4619
4620 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4621
4622 * window.el (split-window-sensibly): Make WINDOW argument
4623 optional.
4624
4625 2012-07-18 Chong Yidong <cyd@gnu.org>
4626
4627 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4628
4629 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4630 and make C-x 8 RET exit isearch (Bug#11439).
4631
4632 * international/iso-transl.el: Move isearch-mode-map key
4633 definitions to isearch.el.
4634
4635 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4638 (eieio-defclass): Use gv-define-setter when possible.
4639
4640 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4641
4642 Reflect recent changes in Fgarbage_collect.
4643 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4644 reflect new format of data returned by Fgarbage_collect.
4645
4646 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4647
4648 New utility functions + python-info-ppss-context fix (Bug#11910).
4649 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4650 (python-info-ppss-comment-or-string-p): New functions.
4651 (python-info-ppss-context): Small fix for string check.
4652
4653 2012-07-17 Juri Linkov <juri@jurta.org>
4654
4655 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4656 (dired-do-async-shell-command): Don't add `*' at the end of the
4657 command (Bug#11815).
4658 (dired-do-shell-command): Doc fix.
4659 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4660 Join the individual commands using either "&" or ";" as the
4661 separator depending on the values of these trailing characters.
4662 At the end re-add the trailing "&". (Bug#10598)
4663
4664 * simple.el (async-shell-command): Sync the interactive spec with
4665 `shell-command'. Doc fix.
4666 (shell-command): Doc fix.
4667
4668 2012-07-17 Juri Linkov <juri@jurta.org>
4669
4670 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4671
4672 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4673
4674 Final renames and doc fixes for movement commands (bug#11899).
4675 * progmodes/python.el (python-nav-beginning-of-statement):
4676 Rename from python-nav-statement-start.
4677 (python-nav-end-of-statement): Rename from
4678 python-nav-statement-end.
4679 (python-nav-beginning-of-block): Rename from
4680 python-nav-block-start.
4681 (python-nav-end-of-block): Rename from python-nav-block-end.
4682
4683 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4684
4685 * progmodes/python.el (python-shell-send-string-no-output):
4686 Allow accept-process-output to quit, keeping shell process ready for
4687 future interactions (Bug#11868).
4688
4689 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4692
4693 * emacs-lisp/elint.el (elint-find-args-in-code):
4694 Use help-function-arglist, so as to handle lexical byte-code.
4695
4696 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4697 change (bug#11826).
4698
4699 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4702 Avoid spuriously marking the buffer as modified because of c-is-sws.
4703
4704 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4705 as not-a-comment (bug#11946).
4706
4707 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4708 for uninterned vars.
4709
4710 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4711 Use read-event since we don't really want to read chars but bytes.
4712
4713 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4714 $$..$$ but also $..$ using regexps (bug#11953).
4715 Use tex-verbatim for \url and \path.
4716 (tex-font-lock-keywords): Define as defconst like the others.
4717 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4718
4719 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4720
4721 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4722 alias for insert-char.
4723
4724 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4725
4726 * progmodes/python.el: Simplified imenu implementation.
4727 (python-nav-jump-to-defun): Remove command.
4728 (python-mode-map): Use `imenu' instead.
4729 (python-nav-list-defun-positions-cache)
4730 (python-imenu-include-defun-type, python-imenu-make-tree)
4731 (python-imenu-subtree-root-label, python-imenu-index-alist):
4732 Remove vars.
4733 (python-nav-list-defun-positions, python-nav-read-defun)
4734 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4735 (python-imenu-make-tree, python-imenu-create-index):
4736 Remove functions.
4737 (python-mode): Update to interact with imenu by setting
4738 `imenu-extract-index-name-function' only.
4739
4740 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4741
4742 * progmodes/python.el: Enhancements to navigation commands.
4743 (python-nav-backward-sentence)
4744 (python-nav-forward-sentence): Remove.
4745 (python-nav-backward-statement, python-nav-forward-statement)
4746 (python-nav-statement-start, python-nav-statement-end)
4747 (python-nav-backward-block, python-nav-forward-block)
4748 (python-nav-block-start, python-nav-block-end)
4749 (python-nav-forward-sexp-function)
4750 (python-info-current-line-comment-p)
4751 (python-info-current-line-empty-p): New functions.
4752 (python-indent-context): Use `python-nav-statement-start'.
4753
4754 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4755
4756 * eshell/em-ls.el (eshell/ls): Use `apply'.
4757
4758 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4759 multi-hops, instead of Tramp internals.
4760
4761 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4762
4763 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4764 when F1 and F2 are located on different hosts.
4765
4766 2012-07-14 Chong Yidong <cyd@gnu.org>
4767
4768 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4769 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4770 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4771 (xterm-mouse--read-event-sequence-1000)
4772 (xterm-mouse--read-event-sequence-1006): New functions. For old
4773 mouse protocol, handle M-mouse-X events correctly.
4774 (xterm-mouse-event): New arg specifying mouse protocol.
4775 (turn-on-xterm-mouse-tracking-on-terminal)
4776 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4777 sequence to toggle extended coordinates on newer XTerms.
4778 This appears to be harmless on terminals which do not support this.
4779
4780 2012-07-14 Leo Liu <sdl.web@gmail.com>
4781
4782 Add fringe bitmap indicators for flymake. (Bug#11253)
4783 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4784 (flymake-make-overlay): New arg BITMAP.
4785 (flymake-error-bitmap, flymake-warning-bitmap)
4786 (flymake-fringe-indicator-position): New user variables.
4787
4788 * fringe.el: New bitmap exclamation-mark.
4789
4790 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4791
4792 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4793 also (Bug#7879).
4794
4795 2012-07-14 Chong Yidong <cyd@gnu.org>
4796
4797 * electric.el (electric-pair-post-self-insert-function): Fix pair
4798 insertion in empty-region case (Bug#11520).
4799
4800 2012-07-14 Chong Yidong <cyd@gnu.org>
4801
4802 * bindings.el: Consolidate ctl-x-r-map bindings.
4803 Bind copy-rectangle-as-kill to C-x r w.
4804
4805 * rect.el, register.el: Move bindings to bindings.el.
4806
4807 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4808
4809 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4810
4811 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4814
4815 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4816
4817 * bindings.el (top): Use `mapc' instead of `mapcar'.
4818
4819 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4820
4821 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * progmodes/sql.el (sql-comint): Suppress the check for program on
4824 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4825 (Bug#11908)
4826
4827 2012-07-13 Chong Yidong <cyd@gnu.org>
4828
4829 * bindings.el: Assign a non-nil permanent-local property to
4830 per-buffer variables which lack a default value (Bug#11930).
4831
4832 * help-fns.el (describe-variable): In the "automatically becomes
4833 local" notice, take note of permanent-local variables.
4834
4835 2012-07-13 Chong Yidong <cyd@gnu.org>
4836
4837 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4838 to allow printing the message when called from Lisp.
4839
4840 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4841 Remove toggle-read-only.
4842
4843 * bs.el (bs-toggle-readonly):
4844 * buff-menu.el (Buffer-menu-toggle-read-only):
4845 Remove with-no-warnings around toggle-read-only.
4846
4847 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4848 Remove with-no-warnings around toggle-read-only.
4849 (ffap-read-only, ffap-read-only-other-window)
4850 (ffap-read-only-other-frame): Callers changed.
4851
4852 * help-mode.el: Don't require view package.
4853 (help-mode-finish): Set buffer-read-only instead of calling
4854 toggle-read-only.
4855
4856 * bindings.el (mode-line-toggle-read-only):
4857 * dired.el (dired-toggle-read-only):
4858 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4859 with non-nil second arg.
4860
4861 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4862 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4863 directly.
4864
4865 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4866
4867 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4868 not incf.
4869
4870 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 More CL cleanups and reduction of use of cl.el.
4873 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4874 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4875 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4876 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4877 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4878 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4879 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4880 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4881 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4882 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4883 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4884 * eshell/em-cmpl.el, eshell/em-banner.el:
4885 * calendar/parse-time.el: Use cl-lib.
4886 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4887 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4888 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4889 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4890 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4891 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4892 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4893 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4894 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4895 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4896 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4897 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4898 `lambda' rather than with `quote'.
4899 (eshell-do-opt): Adjust accordingly.
4900 (eshell-process-option): Simplify.
4901 * eshell/esh-var.el:
4902 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4903 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4904 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4905 to `pcase--dontcare'.
4906 * emacs-lisp/cl.el (labels): Mark obsolete.
4907 (cl--letf, letf): Move to cl-lib.
4908 (cl--letf*, letf*): Remove.
4909 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4910 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4911 (cl-progv): Rewrite.
4912 (cl--letf, cl-letf): Move from cl.el.
4913 (cl-letf*): New macro.
4914 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4915
4916 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4919
4920 2012-07-11 Chong Yidong <cyd@gnu.org>
4921
4922 * vc/log-edit.el (log-edit-vc-backend): New variable.
4923 (log-edit): Doc fix.
4924
4925 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4926 argument of log-edit to set up all local variables.
4927 (vc-start-logentry): New optional arg specifying VC backend.
4928
4929 * vc/vc.el (vc-checkin): Use it.
4930 (vc-deduce-fileset): Handle Log Edit buffers.
4931 (vc-diff): Make first argument optional too.
4932
4933 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4934
4935 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4936
4937 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4938 command, just in case. The function is not needed anymore.
4939 (eshell-external-command): Do not call `eshell-remote-command'.
4940
4941 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 Reduce use of (require 'cl).
4944 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4945 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4946 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4947 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4948 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4949 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4950 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4951 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4952 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4953 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4954 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4955 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4956 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4957 (byte-compile-unfold-bcf, byte-compile-check-variable):
4958 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4959 (byte-compile-nilconstp):
4960 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4961 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4962
4963 * emacs-lisp/gv.el (cond): Make it a valid place.
4964 (if): Simplify slightly.
4965
4966 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4967 (pcase--self-quoting-p): New function.
4968 (pcase--u1): Use it.
4969
4970 2012-07-10 Glenn Morris <rgm@gnu.org>
4971
4972 * emacs-lisp/authors.el (authors-fixed-entries):
4973 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4974
4975 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4976
4977 Rename configure.in to configure.ac (Bug#11603).
4978 * emacs-lisp/authors.el (authors-canonical-file-name):
4979 * progmodes/autoconf.el (autoconf-mode):
4980 Prefer configure.ac to configure.in.
4981
4982 2012-07-08 Chong Yidong <cyd@gnu.org>
4983
4984 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4985 Implement the mouse-1-click-follows-link handling properly.
4986
4987 * info.el (Info-link-keymap): Use follow-link mechanism for
4988 header-line links (Bug#374).
4989
4990 * simple.el (deactivate-mark): Do not set the primary selection
4991 if another program has acquired it (Bug#11772).
4992
4993 2012-07-07 Kevin Ryde <user42@zip.com.au>
4994
4995 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4996 (woman-decode-region): Replace escaped-escapes without destroying
4997 bold or underline (Bug#11552).
4998 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4999
5000 2012-07-07 Chong Yidong <cyd@gnu.org>
5001
5002 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5003 (interprogram-cut-function, interprogram-paste-function):
5004 Mention that we typically mean the clipboard.
5005
5006 2012-07-06 Glenn Morris <rgm@gnu.org>
5007
5008 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5009
5010 * files.el (toggle-read-only): Restrict message to interactive use.
5011
5012 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5015
5016 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5017
5018 2012-07-06 Glenn Morris <rgm@gnu.org>
5019
5020 * Makefile.in (compile-one-process): Rename from "recompile".
5021
5022 * Makefile.in (bzr-update): "compile" is the same as "recompile
5023 autoloads", but parallelizable, so use that instead.
5024
5025 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5026
5027 * window.el (quit-window): Always restore window height when
5028 it's saved in quit-restore parameter (Bug#11810).
5029
5030 2012-07-06 Glenn Morris <rgm@gnu.org>
5031
5032 * simple.el (kill-whole-line): Doc tweak.
5033
5034 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5035
5036 * files.el (file-relative-name): Compare file names
5037 case-insensitively if on MS-Windows or MS-DOS, or if
5038 read-file-name-completion-ignore-case is non-nil. Don't use
5039 case-fold-search for this purpose. (Bug#11827)
5040
5041 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5042
5043 * calendar/cal-dst.el (calendar-current-time-zone):
5044 Return calendar-current-time-zone-cache if non-nil.
5045
5046 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5047 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5048
5049 * calendar/cal-dst.el (calendar-current-time-zone):
5050 Return calendar-current-time-zone-cache if non-nil.
5051
5052 2012-07-06 Glenn Morris <rgm@gnu.org>
5053
5054 * Makefile.in (cvs-update): Remove old alias.
5055
5056 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5057
5058 Sync with Tramp 2.2.6-pre.
5059
5060 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5061 compatible declaration.
5062
5063 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5064 Protect `list-load-path-shadows' call.
5065
5066 * net/tramp-compat.el (top): Require packages, which aren't
5067 autoloaded anymore for XEmacs. Protect call of
5068 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5069 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5070 it hurts at least for SXEmacs.
5071 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5072 standard-value for `temporary-file-directory'.
5073
5074 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5075 Redirect stderr to /dev/null.
5076 (tramp-sh-handle-write-region): uid and gid can be floats.
5077 Reported by Russell Sim <russell.sim@gmail.com>.
5078 (tramp-sh-handle-vc-registered): Hide errors.
5079 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5080 and `start-file-process'.
5081 (tramp-maybe-open-connection): Check also whether `non-essential'
5082 is bound.
5083
5084 2012-07-04 Chong Yidong <cyd@gnu.org>
5085
5086 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5087 (xml-parse-tag): Likewise, and avoid changing entity tables.
5088 (xml-syntax-table): Define from scratch, making sure not to give
5089 x2000 and other Unicode spaces whitespace syntax, since those are
5090 not spaces in XML.
5091 (xml-parse-fragment): Delete unused function.
5092 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5093 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5094 (xml-entity-ref, xml-pe-reference-re)
5095 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5096 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5097 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5098 (xml-entity-value-re): Use syntax references in regexps where
5099 possible; no need to define inside a let-binding.
5100 (xml-parse-dtd): Use xml-pe-reference-re.
5101 (xml-entity-or-char-ref-re): New defconst.
5102 (xml-parse-string, xml-substitute-special): Use it.
5103
5104 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5107 (find-file--read-only): New function.
5108 (find-file-read-only, find-file-read-only-other-window)
5109 (find-file-read-only-other-frame): Use it.
5110 (insert-file-contents-literally): Don't `fset'.
5111 (get-free-disk-space): Use locate-dominating-file.
5112
5113 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5114 function is already compiled.
5115
5116 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5117
5118 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5119
5120 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5121 files on the same host.
5122
5123 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5124
5125 * help-fns.el (describe-function-1): Only call
5126 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5127
5128 2012-07-03 Chong Yidong <cyd@gnu.org>
5129
5130 * xml.el: Protect parser against XML bombs.
5131 (xml-entity-expansion-limit): New variable.
5132 (xml-parse-string, xml-substitute-special): Use it.
5133 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5134
5135 2012-07-03 Glenn Morris <rgm@gnu.org>
5136
5137 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5138 Allow linking to specific messages in debbugs reports (eg 123#5).
5139
5140 2012-07-02 Chong Yidong <cyd@gnu.org>
5141
5142 * xml.el: Fix entity and character reference expansion, allowing
5143 them to expand into markup as per XML spec.
5144 (xml-default-ns): New variable.
5145 (xml-entity-alist): Use XML spec definitions for lt and amp.
5146 (xml-parse-region): Make first two arguments optional.
5147 Discard text properties.
5148 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5149 All callers changed.
5150 (xml-parse-tag): Call xml-parse-tag-1. For backward
5151 compatibility, this function should not modify buffer contents.
5152 (xml-parse-tag-1): Fix opening-tag regexp.
5153 (xml-parse-string): Rewrite, handling entity and character
5154 references properly.
5155 (xml--entity-replacement-text): Signal an error if a parameter
5156 entity is undefined.
5157
5158 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * comint.el (comint-output-filter): Filter out repeated prompts.
5161
5162 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5163 and file-name-absolute-p.
5164 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5165 internal calls.
5166
5167 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5168
5169 Spelling fixes.
5170 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5171 Rename from byte-compile--refiy-function. All uses changed.
5172
5173 2012-07-01 Chong Yidong <cyd@gnu.org>
5174
5175 * xml.el (xml--parse-buffer): New function. Move most of
5176 xml-parse-region here.
5177 (xml-parse-region): Copy region into a temporary buffer, since
5178 parameter entity substitution requires changing buffer contents.
5179 Use xml--parse-buffer.
5180 (xml-parse-file): Use xml--parse-buffer.
5181 (xml-parse-dtd): Make parameter entity substitution work right.
5182 Use proper regexps for ELEMENT declarations (Bug#7172).
5183
5184 2012-06-30 Glenn Morris <rgm@gnu.org>
5185
5186 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5187
5188 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5189 Remove outdated and unnecessary dbus declarations.
5190
5191 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5192
5193 * emacs-lisp/timer.el (timer-until): Subtract results of
5194 float-time, instead of taking float-time of the result of
5195 time-subtract, since float-time signals an error for negative time
5196 arguments.
5197
5198 2012-06-30 Chong Yidong <cyd@gnu.org>
5199
5200 * xml.el (xml-*-re): Convert defvars into defconsts, and
5201 eval-and-compile them so eval-and-compile works on derivatives.
5202 (xml--entity-replacement-text): Use eval-and-comple.
5203
5204 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5205
5206 * vc/vc-git.el (vc-git-registered): Use cache property
5207 `git-registered'.
5208 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5209 `vc-git-working-revision' in order to benefit from the cache.
5210 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5211
5212 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5213
5214 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5215 removed (likely outside Emacs). (Bug#11757)
5216
5217 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * emacs-lisp/cl-lib.el: Require macroexp.
5220
5221 2012-06-30 Chong Yidong <cyd@gnu.org>
5222
5223 * xml.el: Implement XML parameter entities.
5224 (xml-parameter-entity-alist): New variable.
5225 (xml-parse-region, xml-parse-fragment): Preserve previous values
5226 of xml-entity-alist and xml-parameter-entity-alist, so that
5227 repeated calls on different documents do not change them.
5228 (xml-parse-tag): Fix doctype regexp.
5229 (xml--entity-replacement-text): New function.
5230 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5231 properly requires url retrieval which is unimplemented.
5232 (xml-escape-string): Doc fix.
5233
5234 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5237
5238 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5239
5240 * fringe.el (fringe-mode): Doc fix.
5241
5242 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5245 is non-nil.
5246 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5247 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5248
5249 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5250
5251 * calendar/cal-dst.el (calendar-current-time-zone):
5252 Return calendar-current-time-zone-cache if non-nil.
5253
5254 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5255
5256 * progmodes/which-func.el (which-func-format):
5257 Add mouse-face. (Bug#11698)
5258
5259 2012-06-29 Leo Liu <sdl.web@gmail.com>
5260
5261 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5262
5263 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * minibuffer.el (minibuffer-confirm-exit-commands):
5266 Add completion-at-point (bug#11725).
5267
5268 2012-06-29 Glenn Morris <rgm@gnu.org>
5269
5270 * progmodes/f90.el (f90-font-lock-keywords-2):
5271 Add some preprocessor elements. (Bug#10499)
5272
5273 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5276 Use syntax-propertize (bug#11739).
5277
5278 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5279
5280 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5281
5282 2012-06-28 Julien Danjou <julien@danjou.info>
5283
5284 * term.el (term-handle-colors-array): Use a set of new faces to
5285 color the terminal. Also uses :inverse-video property.
5286 (term-default-fg-color): Set to nil by default, deprecate in favor
5287 of `term-face'.
5288 (term-default-bg-color): Set to nil by default, deprecate in favor
5289 of `term-face'.
5290 (term-current-face): Use `term-face' by default.
5291 (term-bold-attribute): Variable deleted.
5292
5293 2012-06-28 Glenn Morris <rgm@gnu.org>
5294
5295 * simple.el (completion-list-mode-finish):
5296 Don't use toggle-read-only. (Since completion-list-mode has
5297 a special mode-class, it wasn't doing anything extra anyway.)
5298
5299 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 Make inlining of other-mode interpreted functions work (bug#11799).
5302 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5303 (byte-compile): Use it to fix compilation of lexical-binding closures.
5304 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5305 function, if needed.
5306
5307 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * help-mode.el (help-make-xrefs): Don't just withstand
5310 cyclic-variable-indirection but any error in documentation-property.
5311
5312 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5313 memory use.
5314 * bindings.el (bindings--define-key): New function.
5315 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5316 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5317 * bindings.el: Use it to purecopy define-key bindings.
5318
5319 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5320
5321 * emacs-lisp/cl.el (flet): Mark obsolete.
5322 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5323 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5324 * progmodes/js.el (js-c-fill-paragraph):
5325 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5326 (ebrowse-switch-member-buffer-to-derived-class):
5327 * play/5x5.el (5x5-solver): Use cl-flet.
5328
5329 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5330 (cl--symbol-function): New macro.
5331 (cl--letf, cl--letf*): Use it.
5332
5333 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5334 Strip "toggle-" if any.
5335
5336 2012-06-27 Glenn Morris <rgm@gnu.org>
5337
5338 * info.el (Info-default-directory-list): Move here from paths.el.
5339 * paths.el: Remove file, which is now empty.
5340 * loadup.el: No longer load "paths".
5341
5342 * custom.el (custom-initialize-delay): Doc fix.
5343
5344 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5345 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5346 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5347 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5348 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5349 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5350 * eshell/eshell.el (eshell-defgroup): Remove alias.
5351
5352 2012-06-27 Chong Yidong <cyd@gnu.org>
5353
5354 * help.el (help-enable-auto-load): New variable.
5355
5356 * help-fns.el (help-fns--autoloaded-p): New function.
5357 (describe-function-1): Refer to a function as "autoloaded" if it
5358 was autoloaded at any time in the past. Perform autoloading if
5359 help-enable-auto-load is non-nil.
5360
5361 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5362
5363 * makefile.w32-in (compile, compile-always): Depend on
5364 update-subdirs, not on subdirs.el. Otherwise, several different
5365 sub-targets of 'bootstrap' running in parallel could
5366 simultaneously write to subdirs.el, producing a garbled file.
5367
5368 2012-06-26 Sam Steingold <sds@gnu.org>
5369
5370 * files.el (file-name-base): New convenience function.
5371 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5372 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5373 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5374 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5375 * textmodes/ispell.el, textmodes/reftex-ref.el:
5376 * textmodes/tex-mode.el: Use it.
5377 Did not touch cedet and org because they are maintained elsewhere.
5378
5379 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5380
5381 * calendar/calendar.el (calendar-exit): Don't try to delete or
5382 iconify last frame. See:
5383 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5384
5385 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5386
5387 * server.el (server-process-filter): Remember dir in the
5388 process's `server-client-directory' properties.
5389
5390 2012-06-24 Chong Yidong <cyd@gnu.org>
5391
5392 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5393 non-tag text.
5394
5395 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5396
5397 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5398
5399 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * help-fns.el (describe-variable): Don't croak when doc is not found.
5402 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5403 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5404 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5405 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5406 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5407 ((lambda ..) ..).
5408 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5409
5410 2012-06-23 Chong Yidong <cyd@gnu.org>
5411
5412 * info.el (Info-mouse-follow-link): Accept symbol values of
5413 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5414 (Info-fontify-node): Use Info-link-keymap for all navigation
5415 buttons, with link-args property to perform the desired action.
5416 (Info-link-keymap): Doc fix.
5417 (Info-next-link-keymap, Info-prev-link-keymap)
5418 (Info-up-link-keymap): Delete now-unused keymaps.
5419
5420 2012-06-23 Chong Yidong <cyd@gnu.org>
5421
5422 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5423
5424 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5425 system abbrevs.
5426
5427 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5428
5429 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5432 (bug#11719).
5433
5434 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5435 the requote function doesn't work properly (bug#11714).
5436
5437 2012-06-23 Glenn Morris <rgm@gnu.org>
5438
5439 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5440
5441 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 Further GV/CL cleanups.
5444 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5445 gv-expander.
5446 (gv--defun-declaration): New function.
5447 (defun-declarations-alist): Use it.
5448 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5449 (gv-place): Autoload.
5450 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5451 original definition of dotimes and dolist.
5452 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5453 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5454 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5455 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5456 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5457 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5458 to the function's definition.
5459 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5460 * window.el:
5461 * files.el:
5462 * faces.el:
5463 * env.el: Don't use CL.
5464
5465 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5466
5467 Support higher-resolution time stamps (Bug#9000).
5468
5469 * calendar/time-date.el (with-decoded-time-value): New arg
5470 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5471 (encode-time-value): New optional arg PICO. New type 3.
5472 (time-to-seconds) [!float-time]: Support the new picoseconds
5473 component if it's used.
5474 (seconds-to-time, time-subtract, time-add):
5475 Support ps-resolution time stamps as well.
5476
5477 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5478 (timerp): Timer vectors now have length 9, not 8.
5479 (timer--time): Support new-style (4-part) time stamps.
5480 (timer-next-integral-multiple-of-time): Time stamps now have
5481 picosecond resolution, so take a bit more care about rounding.
5482 (timer-relative-time, timer-inc-time): New optional arg psecs.
5483 (timer-set-time-with-usecs): Set psecs to 0.
5484 (timer--activate): Check psecs component, too.
5485
5486 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5487
5488 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5491 Move the non-essential binding to the post/pre-command-hook where it is
5492 more obviously correct.
5493
5494 * subr.el (read-passwd): Don't use a history at all.
5495 * savehist.el (savehist-save): Remove password saved accidentally
5496 because of the above bug.
5497
5498 2012-06-22 Bastien Guerry <bzg@gnu.org>
5499
5500 * files.el (toggle-read-only): Display a message telling whether
5501 the buffer is read-only or not (bug#11726).
5502
5503 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 * emacs-lisp/gv.el: New file.
5506 * subr.el (push, pop): Extend to generalized variables.
5507 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5508 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5509 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5510 gv-define-simple-setter, and gv-define-expander.
5511 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5512 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5513 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5514 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5515 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5516 gv-letplace.
5517 (cl-defstruct): Don't define setf-method any more.
5518 * emacs-lisp/cl.el (flet): Don't autoload.
5519 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5520 (define-setf-expander, defsetf, define-modify-macro)
5521 (cl-struct-setf-expander): Move from cl-lib.el.
5522 * emacs-lisp/syntax.el:
5523 * emacs-lisp/ewoc.el:
5524 * emacs-lisp/smie.el:
5525 * emacs-lisp/cconv.el:
5526 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5527 (timer--time): Use gv-define-simple-setter.
5528 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5529 to avoid coding-system problems in subr.el. Adjust all users.
5530 (macroexp--maxsize, macroexp-small-p): New functions.
5531 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5532 * scroll-bar.el (scroll-bar-mode):
5533 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5534 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5535 * winner.el (winner-configuration, winner-make-point-alist)
5536 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5537 * files.el (locate-file-completion-table): Avoid list*.
5538
5539 2012-06-22 Chong Yidong <cyd@gnu.org>
5540
5541 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5542 (dired-create-files): Doc fix (Bug#11329).
5543 (dired-do-copy): Doc fix (Bug#11334).
5544 (dired-mark-read-string): Doc fix (Bug#11553).
5545
5546 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5547 Doc fix (Bug#11326).
5548 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5549 (dired-dwim-target): Doc fix.
5550
5551 * wdired.el (wdired-mode): Doc fix.
5552
5553 2012-06-22 Glenn Morris <rgm@gnu.org>
5554
5555 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5556 (pcmpl-rpm-cache-stamp-file): New constant.
5557 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5558 (pcmpl-rpm-packages): Optionally cache list of packages.
5559
5560 * pcmpl-rpm.el (pcmpl-rpm): New group.
5561 (pcmpl-rpm-query-options): New option.
5562 (pcmpl-rpm-packages): No need to inline it.
5563 Use pcmpl-rpm-query-options.
5564
5565 * calendar/calendar.el (calendar-in-read-only-buffer):
5566 Avoid some needless mode changes.
5567
5568 2012-06-21 Chong Yidong <cyd@gnu.org>
5569
5570 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5571 (desktop-path): Remove . from the default value (Bug#10977).
5572 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5573
5574 2012-06-20 Chong Yidong <cyd@gnu.org>
5575
5576 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5577
5578 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5579
5580 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5581 (bug#11201).
5582
5583 2012-06-20 Chong Yidong <cyd@gnu.org>
5584
5585 * term.el (term-window-width): Handle the case of a missing right
5586 fringe (Bug#8837).
5587 (term-check-size): Use window-text-height (Bug#5445).
5588 (term-mode): Use define-derived-mode. Minor cleanups.
5589 Set font-lock-defaults (Bug#7692).
5590 (term-move-columns, term-insert-char, term-emulate-terminal)
5591 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5592
5593 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/ange-ftp.el (ange-ftp-get-passwd):
5596 Bind `enable-recursive-minibuffers'.
5597 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5598
5599 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5600
5601 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5602
5603 2012-06-19 Glenn Morris <rgm@gnu.org>
5604
5605 * progmodes/python.el (python-mode): Derive from prog-mode.
5606
5607 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5608
5609 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5610 (edt-user-menu-bar-update-buffers): New functions.
5611 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5612
5613 2012-06-19 Chong Yidong <cyd@gnu.org>
5614
5615 * subr.el (with-selected-window): Preserve the selected window's
5616 terminal's top-frame (Bug#4702).
5617
5618 * window.el (save-selected-window): Likewise.
5619
5620 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * progmodes/python.el (python-rx-constituents): Move backquote.
5623 (python-skeleton-define, python-define-auxiliary-skeleton):
5624 Use `declare'.
5625
5626 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * minibuffer.el (read-file-name-default): Revert the patch from
5629 2012-06-17.
5630
5631 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5634 (pcase--u1, pcase--q1): Don't use apply-partially.
5635
5636 2012-06-18 Glenn Morris <rgm@gnu.org>
5637
5638 * progmodes/python.el (python-proc, python-buffer)
5639 (python-send-receive, python-send-string): Fix obsolete versions.
5640
5641 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (special-display-p): Completely remove stringp
5644 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5645
5646 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5649
5650 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5651
5652 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5653 * net/tramp-sh.el (tramp-maybe-open-connection):
5654 Throw if `non-essential' is non-nil.
5655
5656 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5657
5658 * window.el (special-display-p): Signal an error if BUFFER-NAME
5659 is not a string (Bug#11713).
5660
5661 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5662
5663 * progmodes/python.el (python-info-beginning-of-backslash):
5664 Rename from python-info-beginning-of-backlash, as a spelling fix.
5665
5666 2012-06-17 Chong Yidong <cyd@gnu.org>
5667
5668 * term.el (term-emulate-terminal): If term-check-size is called,
5669 move point to the process mark without resetting point (Bug#4635).
5670
5671 2012-06-17 Glenn Morris <rgm@gnu.org>
5672
5673 * international/mule-cmds.el (mule-menu-keymap)
5674 (set-language-environment, set-locale-environment): Doc tweaks.
5675
5676 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5677
5678 * cus-face.el (custom-face-attributes): Add wave-style underline
5679 attribute.
5680 * faces.el (set-face-attribute): Update docstring to describe
5681 wave-style underline attribute.
5682
5683 2012-06-16 Chong Yidong <cyd@gnu.org>
5684
5685 * term/xterm.el (terminal-init-xterm): Discard input before
5686 querying background mode (Bug#10959).
5687
5688 2012-06-16 Stefan Merten <smerten@oekonux.de>
5689
5690 * textmodes/rst.el: Added and corrected some comments.
5691 (rst-re-alist-def): Improve symbol syntax.
5692 (rst-mode-syntax-table): Correct syntax entries.
5693 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5694 (rst-official-version, rst-official-cvs-rev): Update version
5695 information.
5696
5697 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5698
5699 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5700 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5701
5702 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5703
5704 * progmodes/python.el: New python.el merge.
5705 (python-guess-indent): Obsolete var.
5706 (python-indent-guess-indent-offset): New defcustom.
5707 (python-indent): Obsolete var.
5708 (python-indent-offset): New defcustom.
5709 (python-python-command, python-jython-command): Delete var.
5710 (python-shell-interpreter): New defcustom.
5711 (python-pdbtrack-do-tracking-p): Delete var.
5712 (python-pdbtrack-activate): New defcustom.
5713 (python-use-skeletons): Obsolete var.
5714 (python-skeleton-autoinsert): New defcustom.
5715 (inferior-python-filter-regexp, python-continuation-offset)
5716 (python-honour-comment-indentation, python-indent-string-contents)
5717 (python-jython-packages, python-mode-hook)
5718 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5719 (python-shell-prompt-alist)
5720 (python-source-modes): Delete defcustoms.
5721 (python-check-buffer-name, python-eldoc-setup-code)
5722 (python-eldoc-string-code, python-ffap-setup-code)
5723 (python-ffap-string-code, python-fill-comment-function)
5724 (python-fill-decorator-function, python-fill-paren-function)
5725 (python-fill-string-function, python-imenu-include-defun-type)
5726 (python-imenu-make-tree, python-imenu-subtree-root-label)
5727 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5728 (python-shell-compilation-regexp-alist)
5729 (python-shell-completion-module-string-code)
5730 (python-shell-completion-pdb-string-code)
5731 (python-shell-completion-setup-code)
5732 (python-shell-completion-string-code)
5733 (python-shell-enable-font-lock, python-shell-exec-path)
5734 (python-shell-extra-pythonpaths)
5735 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5736 (python-shell-process-environment)
5737 (python-shell-prompt-block-regexp)
5738 (python-shell-prompt-output-regexp)
5739 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5740 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5741 (python-shell-virtualenv-path): New defcustoms.
5742 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5743 (inferior-python-mode-syntax-table, python--prompt-regexp)
5744 (python-buffer, python-command python-python-command)
5745 (python-default-template, python-imports, python-indent-index)
5746 (python-indent-list, python-indent-list-length)
5747 (python-mode-running, python-pdbtrack-is-tracking-p)
5748 (python-preoutput-continuation, python-preoutput-leftover)
5749 (python-preoutput-result, python-preoutput-skip-next-prompt)
5750 (python-prev-dir/file, python-recursing)
5751 (python-saved-check-command, python-version-checked)
5752 (python-which-func-length-limit)
5753 (view-return-to-alist): Delete vars.
5754 (python-check-custom-command, python-dotty-syntax-table)
5755 (python-imenu-index-alist, python-indent-current-level)
5756 (python-indent-dedenters, python-indent-levels)
5757 (python-nav-beginning-of-defun-regexp)
5758 (python-nav-list-defun-positions-cache)
5759 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5760 (python-shell-internal-buffer)
5761 (python-skeleton-available): New vars.
5762 (def-python-skeleton): Delete macro.
5763 (python-skeleton-define): New macro.
5764 (python-define-auxiliary-skeleton, python-rx): New macros.
5765 (python-insert-class): Delete command.
5766 (python-skeleton-class): New command.
5767 (python-insert-def): Delete command.
5768 (python-skeleton-def): New command.
5769 (python-insert-for): Delete command.
5770 (python-skeleton-for): New command.
5771 (python-insert-if): Delete command.
5772 (python-skeleton-if): New command.
5773 (python-insert-try/except, python-insert-try/finally): Delete commands.
5774 (python-skeleton-try): New command.
5775 (python-insert-while): Delete command.
5776 (python-skeleton-while): New command.
5777 (python-backspace): Delete command.
5778 (python-indent-dedent-line-backspace): New command.
5779 (python-electric-colon): Delete command.
5780 (python-indent-electric-colon): New command.
5781 (python-guess-indent): Delete command.
5782 (python-indent-guess-indent-offset): New command.
5783 (python-shift-left): Delete command.
5784 (python-indent-shift-left): New command.
5785 (python-shift-right): Delete command.
5786 (python-indent-shift-right): New command.
5787 (python-find-function): Delete command.
5788 (python-nav-jump-to-defun): New command.
5789 (python-next-statement): Delete command.
5790 (python-nav-forward-sentence): New command.
5791 (python-previous-statement): Delete command.
5792 (python-nav-backward-sentence): New command.
5793 (python-fill-paragraph): Delete command.
5794 (python-fill-paragraph-function): New command.
5795 (python-send-buffer): Delete command.
5796 (python-shell-send-buffer): New command.
5797 (python-send-defun): Delete command.
5798 (python-shell-send-defun): New command.
5799 (python-send-region, python-send-region-and-go): Delete commands.
5800 (python-shell-send-region)
5801 (python-shell-switch-to-shell): New commands.
5802 (python-send-string): Delete command.
5803 (python-shell-send-string): New command.
5804 (python-switch-to-python): Delete command.
5805 (python-shell-switch-to-shell): New command.
5806 (python-describe-symbol): Delete command.
5807 (python-eldoc-at-point): New command.
5808 (python--set-prompt-regexp, python-args-to-list)
5809 (python-after-info-look, python-check-version)
5810 (python-check-comint-prompt, python-find-imports)
5811 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5812 (python-unload-function, python-expand-template)
5813 (python-maybe-jython, python-preoutput-filter)
5814 (python-pdbtrack-get-source-buffer)
5815 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5816 (python-pdbtrack-toggle-stack-tracking)
5817 (python-pdbtrack-track-stack-file, python-initial-text)
5818 (python-first-word, python-comment-line-p, python-send-command)
5819 (python-setup-brm, python-sentinel, python-set-proc)
5820 (python-skip-out, python-input-filter, python-outdent-p)
5821 (python-outline-level, python-backslash-continuation-line-p)
5822 (python-end-of-block, python-end-of-statement, python-mark-block)
5823 (python-beginning-of-block, python-beginning-of-statement)
5824 (python-blank-line-p, python-beginning-of-string)
5825 (python-open-block-statement-p): Delete functions.
5826 (python-indent-line, python-indent-line-1): Delete functions.
5827 (python-indent-line): New function.
5828 (python-indentation-levels): Delete function.
5829 (python-indent-calculate-levels): New function.
5830 (python-proc): Delete function.
5831 (python-shell-get-process): New function.
5832 (python-send-receive): Delete function.
5833 (python-shell-send-string-no-output): New function.
5834 (python-module-path): Delete function.
5835 (python-ffap-module-path): New function.
5836 (python-completion-at-point)
5837 (python-symbol-completions): Delete functions.
5838 (python-completion-complete-at-point): New function.
5839 (python-load-file): Delete function.
5840 (python-shell-send-file): New function.
5841 (python-calculate-indentation): Delete function.
5842 (python-indent-calculate-indentation): New function.
5843 (python-skip-comments/blanks): Delete function.
5844 (python-util-forward-comment): New function.
5845 (python-continuation-line-p): Delete function.
5846 (python-info-continuation-line-p): New function.
5847 (python-which-func, python-current-defun): Delete function.
5848 (python-info-current-defun): New function.
5849 (python-beginning-of-defun): Delete function.
5850 (python-nav-beginning-of-defun): New function.
5851 (python-close-block-statement-p)
5852 (python-block-end-p): Delete function.
5853 (python-info-closing-block): New function.
5854 (python-comint-output-filter-function)
5855 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5856 (python-fill-comment, python-fill-decorator, python-fill-paren)
5857 (python-fill-string, python-imenu-make-element-tree)
5858 (python-imenu-make-tree, python-imenu-tree-assoc)
5859 (python-indent-context, python-indent-dedent-line)
5860 (python-indent-line-function)
5861 (python-indent-post-self-insert-function)
5862 (python-indent-toggle-levels)
5863 (python-info-assignment-continuation-line-p)
5864 (python-info-beginning-of-backlash)
5865 (python-info-block-continuation-line-p)
5866 (python-info-closing-block-message)
5867 (python-info-line-ends-backslash-p)
5868 (python-info-looking-at-beginning-of-defun)
5869 (python-info-ppss-context, python-info-ppss-context-type)
5870 (python-nav-list-defun-positions, python-nav-read-defun)
5871 (python-nav-sentence-end, python-nav-sentence-start)
5872 (python-pdbtrack-comint-output-filter-function)
5873 (python-pdbtrack-set-tracked-buffer)
5874 (python-shell-calculate-exec-path)
5875 (python-shell-calculate-process-environment)
5876 (python-shell-completion--do-completion-at-point)
5877 (python-shell-completion--get-completions)
5878 (python-shell-completion-complete-at-point)
5879 (python-shell-completion-complete-or-indent)
5880 (python-shell-get-or-create-process)
5881 (python-shell-get-process-name)
5882 (python-shell-internal-get-or-create-process)
5883 (python-shell-internal-get-process-name)
5884 (python-shell-internal-send-string, python-shell-make-comint)
5885 (python-shell-parse-command, python-shell-send-setup-code)
5886 (python-skeleton-add-menu-items)
5887 (python-util-clone-local-variables, python-util-position)
5888 (run-python-internal, python-indentation-levels)
5889 (python-nav-beginning-of-defun)
5890 (python-completion-complete-at-point): New functions.
5891 (run-python): Change arguments. New API requirements.
5892
5893 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5896 (bug#11649).
5897
5898 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5899 (macroexp--expand-all): Use it.
5900
5901 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5902 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5903 Use `cl-function' instead.
5904
5905 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5908 Suggested by Stefan Monnier while discussing bug#11657.
5909
5910 2012-06-14 Sam Steingold <sds@gnu.org>
5911
5912 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5913
5914 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5915
5916 * play/doctor.el (doctor-doc): Remove parameter and use
5917 doctor-sent instead of sent.
5918 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5919
5920 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * files.el: Require cl-lib.
5923 (file-name-non-special): Replace case -> cl-case.
5924
5925 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5926
5927 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5928 mapping from #' to function*.
5929
5930 2012-06-13 Chong Yidong <cyd@gnu.org>
5931
5932 * mouse.el (mouse-drag-track): Do not set the mark if the user
5933 releases the mouse without selecting anything (Bug#11588).
5934
5935 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5938 as well (bug#11646).
5939
5940 * loadup.el: Count byte-code functions as well.
5941
5942 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5943 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5944
5945 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5946 (bug#11649). Add cl-defun and cl-defmacro.
5947
5948 2012-06-13 Drew Adams <drew.adams@oracle.com>
5949
5950 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5951 Fix last change.
5952
5953 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5954
5955 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5956 Otherwise, it blocks in batch mode.
5957
5958 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5959
5960 * help-mode.el (bookmark-make-record-default): Declare.
5961
5962 2012-06-13 Chong Yidong <cyd@gnu.org>
5963
5964 * emacs-lisp/package.el (list-packages): Compute a list of
5965 packages that are newly-available since the last list-packages
5966 invocation.
5967 (package-menu--new-package-list): New var.
5968 (package-menu--generate, package-menu--print-info)
5969 (package-menu--status-predicate, package-menu-mark-install):
5970 Handle new status label "new".
5971
5972 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5975 conversion to backquotes.
5976
5977 2012-06-12 Chong Yidong <cyd@gnu.org>
5978
5979 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5980 Rename from gud-inhibit-global-bindings.
5981
5982 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5983
5984 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5985 hook from nxml-glyph-set-hook.
5986
5987 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5988 declaration.
5989
5990 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5991
5992 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5993 Convert to defcustom.
5994
5995 2012-06-12 Drew Adams <drew.adams@oracle.com>
5996
5997 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5998 New functions.
5999 (help-mode): Use them.
6000
6001 2012-06-11 Glenn Morris <rgm@gnu.org>
6002
6003 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6004 Use preprocessor face for directives.
6005 (fortran-directive-re): Doc fix.
6006
6007 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6010 conversion to backquotes (bug#11652).
6011
6012 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6013 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6014 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6015 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6016 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6017 (cl-ninth, cl-tenth): Mark them as inlinable.
6018 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6019 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6020 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6021 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6022 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6023 (cl-list*, cl-adjoin): Don't put an autoload manually.
6024 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6025 (cl--compiler-macro-list*): Add autoload cookie.
6026 (cl--compiler-macro-cXXr): New function.
6027
6028 * help-fns.el (help-fns--compiler-macro): New function extracted from
6029 describe-function-1; follow aliases and use `compiler-macro' property.
6030 (describe-function-1): Use it.
6031
6032 2012-06-11 Chong Yidong <cyd@gnu.org>
6033
6034 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6035 is uninstalled, if imagemagick is installed.
6036
6037 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * emacs-lisp/cl-lib.el: Use lexical-binding.
6040 (cl-map-extents, cl-maclisp-member): Remove.
6041 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6042 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6043 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6044 * emacs-lisp/cl-extra.el: Use lexical-binding.
6045 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6046 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6047 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6048 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6049 * emacs-lisp/cl-seq.el: Use lexical-binding.
6050 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6051 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6052 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6053 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6054 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6055 CL's internals.
6056
6057 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6058
6059 Sync with Tramp 2.2.6-pre.
6060
6061 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6062 `print-length' and `print-level' to nil, in order to avoid
6063 truncation. Reported by Christopher Schmidt
6064 <christopher@ristopher.com>.
6065
6066 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6067
6068 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6069 New defmacro.
6070 (tramp-compat-copy-directory): Add optional argument
6071 COPY-CONTENTS. It is not handled yet.
6072
6073 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6074 (tramp-ftp-file-name-p): Simplify.
6075
6076 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6077 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6078 connection vector.
6079
6080 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6081 (tramp-methods): Do not use `tramp-password-end-of-line'.
6082 (tramp-completion-function-alist-putty): Handle UNIX case.
6083 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6084 (tramp-do-file-attributes-with-stat)
6085 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6086 gid as real numbers. They could run out of integer range on cygwin.
6087 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6088 (tramp-sh-handle-expand-file-name): Handle hops.
6089 (tramp-open-connection-setup-interactive-shell):
6090 Use `tramp-cleanup'. Move check for busyboxes ...
6091 (tramp-find-shell): ... here. Simplify implementation.
6092 Set "remote-shell" property also for alternative shells.
6093 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6094 If failing, a regular file would be written otherwise.
6095 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6096 (tramp-find-inline-encoding): Cache the coding commands in the
6097 process cache. Apply test command on the remote side, if defined.
6098 (tramp-find-inline-compress): Cache the compress commands in the
6099 process cache.
6100 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6101 when requested. Handle hops.
6102 (tramp-current-connection): New defvar.
6103 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6104 Throw `suppress', if there was a failed connection shortly before.
6105 Handle user interrupt. (Bug#10187)
6106 (tramp-get-inline-compress, tramp-get-inline-coding):
6107 Read connection properties from the process cache.
6108
6109 * net/tramp-smb.el (tramp-smb-server-version)
6110 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6111 New defconsts.
6112 (tramp-smb-prompt): Extend for powershell prompt.
6113 (tramp-smb-file-name-handler-alist): Add handlers for
6114 `process-file', `shell-command' and `start-file-process'.
6115 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6116 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6117 (tramp-smb-file-name-p): Simplify.
6118 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6119 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6120 (tramp-smb-shell-quote-argument): New defuns.
6121 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6122 Implement using "tar". By this, time-stamps are preserved.
6123 (tramp-smb-handle-copy-file): Handle also the case of directories.
6124 (tramp-smb-do-file-attributes-with-stat)
6125 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6126 Use `tramp-get-connection-buffer').
6127 (tramp-smb-handle-rename-file): Use "rename", when source and
6128 target are on the same share.
6129 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6130 Use `tramp-smb-server-version'.
6131 (tramp-smb-wait-for-output): Remove prompt.
6132
6133 * net/tramp.el (top): Require 'cl.
6134 (tramp-methods, tramp-rsh-end-of-line):
6135 Remove `tramp-password-end-of-line' from docstring.
6136 (tramp-save-ad-hoc-proxies): New defcustom.
6137 (tramp-completion-function-alist): Adapt docstring.
6138 (tramp-default-password-end-of-line): Remove defcustom.
6139 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6140 (tramp-user-regexp, tramp-file-name-regexp-unified)
6141 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6142 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6143 (tramp-remote-file-name-spec-regexp): New defconst.
6144 (tramp-file-name-structure): Extend structure for hops.
6145 (tramp-get-method-parameter): Move up.
6146 (tramp-file-name-p, tramp-dissect-file-name)
6147 (with-parsed-tramp-file-name): Handle hops.
6148 (tramp-file-name-hop): New defun.
6149 (tramp-make-tramp-file-name): New optional arg HOP.
6150 (tramp-message-show-progress-reporter-message): New defvar.
6151 (tramp-with-progress-reporter): Use it. We cannot use
6152 `tramp-message-show-message' here, because this suppresses also
6153 error buffers.
6154 (tramp-error-with-buffer): Suppress buffer view, if
6155 `tramp-message-show-message' is nil.
6156 Use `tramp-get-connection-buffer'.
6157 (tramp-cleanup): New defun.
6158 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6159 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6160 an error unchanged.
6161 (tramp-completion-handle-file-name-all-completions): Handle hops.
6162 Fix an error when called from ido.
6163 (tramp-completion-dissect-file-name): Use better local variable
6164 name. Add hop to the vector.
6165 (tramp-handle-insert-file-contents): Use progress-reporter for the
6166 whole scenario.
6167 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6168 to `t'.
6169 (tramp-check-for-regexp): Simplify search.
6170 (tramp-enter-password): Remove it. Move implementation ...
6171 (tramp-action-password): ... here.
6172 (tramp-mode-string-to-int, tramp-local-host-p)
6173 (tramp-make-tramp-temp-file, tramp-read-passwd)
6174 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6175 Set tramp-autoload cookie.
6176
6177 * net/trampver.el: Update release number.
6178
6179 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6180 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6183 (tramp-parse-group, tramp-parse-file)
6184 (tramp-parse-shostkeys-sknownhosts): New defuns.
6185 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6186 (tramp-parse-shosts-group, tramp-parse-sconfig)
6187 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6188 (tramp-parse-sknownhosts, tramp-parse-hosts)
6189 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6190 Use them.
6191 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6192 (tramp-parse-putty-group): Don't narrow.
6193 (tramp-parse-putty): Make a loop.
6194 (tramp-file-name-handler): Catch the `suppress' signal.
6195
6196 2012-06-11 Chong Yidong <cyd@gnu.org>
6197
6198 * image.el (imagemagick-register-types): Put the ImageMagick entry
6199 at the end of image-type-file-name-regexps.
6200
6201 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6202
6203 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6204 (pcase, pcase-let*, pcase-dolist): Use them.
6205
6206 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/pcase.el (pcase--let*): New function.
6209 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6210 (pcase--expand): Use macroexp-let².
6211
6212 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6215 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6216 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6217 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6218 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6219 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6220
6221 2012-06-10 Glenn Morris <rgm@gnu.org>
6222
6223 * mail/rmail.el (rmail-yank-current-message): Leave point at
6224 correct position. (Bug#11660)
6225
6226 2012-06-10 Chong Yidong <cyd@gnu.org>
6227
6228 * allout-widgets.el: Fix code header.
6229
6230 2012-06-10 Chong Yidong <cyd@gnu.org>
6231
6232 * cus-edit.el (customize-changed-options-previous-release):
6233 Bump to 24.1.
6234
6235 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6236
6237 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6238
6239 2012-06-09 Chong Yidong <cyd@gnu.org>
6240
6241 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6242
6243 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6244
6245 * window.el (special-display-popup-frame): Don't use
6246 window--display-buffer (Bug#11651).
6247
6248 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6249
6250 Fix parallel builds: make sure loaddefs.el is not being written
6251 while Lisp files are compiled.
6252 (compile): Don't depend on 'mh-autoloads'.
6253 (compile-CMD, compile-SH): Depend on 'autoloads'.
6254 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6255
6256 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6257
6258 2012-06-09 Chong Yidong <cyd@gnu.org>
6259
6260 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6261 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6262 Doc fixes (Bug#11225).
6263
6264 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6267 a function if there's a clear indication that it has a compiler-macro.
6268 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6269 (macro-declarations-alist): Add arglist to declaration functions.
6270 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6271 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6272 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6273 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6274 Also add autoload to find the compiler macro.
6275 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6276 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6277 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6278 (cl--compiler-macro-get): New functions, replacing calls to
6279 cl-define-compiler-macro.
6280 (cl-typep) [compiler-macro]: Use macroexp-let².
6281
6282 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6283
6284 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6285 string properly, fixes Bug#11473.
6286
6287 2012-06-08 Chong Yidong <cyd@gnu.org>
6288
6289 * faces.el (set-face-attribute): Doc fix.
6290 (modify-face): Don't use :bold and :italic.
6291 (error, warning, success): Tweak definitions.
6292
6293 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6294 (custom-modified, custom-set, custom-changed, custom-themed)
6295 (custom-saved, custom-button, custom-button-mouse)
6296 (custom-button-pressed, custom-state, custom-comment-tag)
6297 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6298 (custom-group-subtitle): Use new-style face specs.
6299 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6300 (custom-set-face, custom-changed-face, custom-saved-face)
6301 (custom-button-face, custom-button-pressed-face)
6302 (custom-documentation-face, custom-state-face)
6303 (custom-comment-face, custom-comment-tag-face)
6304 (custom-variable-tag-face, custom-variable-button-face)
6305 (custom-face-tag-face, custom-group-tag-face-1)
6306 (custom-group-tag-face): Remove obsolete face alias.
6307
6308 * epa.el (epa-validity-high, epa-validity-medium)
6309 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6310 (epa-field-name, epa-field-body):
6311 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6312 (font-lock-keyword-face, font-lock-builtin-face)
6313 (font-lock-function-name-face, font-lock-variable-name-face)
6314 (font-lock-type-face, font-lock-constant-face):
6315 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6316 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6317 * speedbar.el (speedbar-button-face, speedbar-file-face)
6318 (speedbar-directory-face, speedbar-tag-face)
6319 (speedbar-selected-face, speedbar-highlight-face)
6320 (speedbar-separator-face):
6321 * whitespace.el (whitespace-newline, whitespace-space)
6322 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6323 (whitespace-line, whitespace-space-before-tab)
6324 (whitespace-space-after-tab, whitespace-indentation)
6325 (whitespace-empty):
6326 * emulation/cua-base.el (cua-global-mark):
6327 * eshell/em-prompt.el (eshell-prompt):
6328 * net/newst-plainview.el (newsticker-new-item-face)
6329 (newsticker-old-item-face, newsticker-immortal-item-face)
6330 (newsticker-obsolete-item-face, newsticker-date-face)
6331 (newsticker-statistics-face, newsticker-default-face):
6332 * net/newst-reader.el (newsticker-feed-face)
6333 (newsticker-extra-face, newsticker-enclosure-face):
6334 * net/newst-treeview.el (newsticker-treeview-face)
6335 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6336 (newsticker-treeview-immortal-face)
6337 (newsticker-treeview-obsolete-face)
6338 (newsticker-treeview-selection-face):
6339 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6340 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6341 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6342 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6343 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6344 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6345 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6346 (mpuz-text):
6347 * progmodes/vera-mode.el (vera-font-lock-number)
6348 (vera-font-lock-function, vera-font-lock-interface):
6349 * textmodes/table.el (table-cell): Use new-style face specs, and
6350 don't use the old :bold and :italic attributes.
6351
6352 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6353 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6354 (ebrowse-member-class, ebrowse-progress): Likewise.
6355 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6356 (ebrowse-file-name-face, ebrowse-default-face)
6357 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6358 (ebrowse-progress-face): Remove obsolete faces.
6359
6360 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6361 Inherit from error and warning faces respectively.
6362
6363 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6364 Likewise.
6365 (flyspell-incorrect-face, flyspell-duplicate-face):
6366 Remove obsolete aliases.
6367
6368 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6369
6370 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6371 Avoid infloop.
6372
6373 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * startup.el (argv, argi): Make lexically scoped.
6376 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6377 * emacs-lisp/cl-macs.el: Use lexical-binding.
6378 Rename cl-bind-* to cl--bind-*.
6379 * files.el: Don't require `cl' since it doesn't use it.
6380 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6381
6382 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6383
6384 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6385 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6386 instead of calling external sort utility.
6387 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6388
6389 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6390
6391 * descr-text.el (describe-char): Mention how to insert the
6392 character, if the current input method doesn't support it.
6393 See the discussion in this thread for the details:
6394 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6395
6396 2012-06-08 Sam Steingold <sds@gnu.org>
6397
6398 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6399 XF86Back to previous-buffer.
6400 (minibuffer-local-map): Bind them to next-history-element and
6401 previous-history-element respectively.
6402 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6403 help-go-back respectively.
6404 * info.el (Info-mode-map): Bind them to Info-history-forward and
6405 Info-history-back respectively.
6406 These are the keys next to Up on the ThinkPad keyboard.
6407
6408 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6411 * emacs-lisp/cl-macs.el: Provide itself.
6412 (cl--labels-convert-cache): New var.
6413 (cl--labels-convert): New function.
6414 (cl-flet, cl-labels): New implementation with new semantics, relying on
6415 lexical-binding.
6416 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6417 (cl-closure-vars, cl--function-convert-cache)
6418 (cl--function-convert): Move from cl-macs.el.
6419 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6420 rename by removing the "cl-" prefix.
6421 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6422
6423 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6426 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6427 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6428 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6429 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6430 (cl-hash-table-count): Add old compatibility aliases.
6431
6432 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6433 Use macroexpand-all-environment instead.
6434 (cl--old-macroexpand): New var.
6435 (cl--sm-macroexpand): New function.
6436 (cl-symbol-macrolet): Use it during macro expansion.
6437 (cl--function-convert-cache): New var.
6438 (cl--function-convert): New function, extracted from
6439 cl-macroexpand-all.
6440 (cl-lexical-let): Use it.
6441
6442 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6443 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6444 (cl-member): Remove old alias.
6445
6446 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6447 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6448 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6449 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6450 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6451 (cl-macroexpand-cmacs): Remove var.
6452 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6453 Use macroexpand-all instead.
6454
6455 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6458 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6459 (macroexp-copyable-p): New functions and macros.
6460 * emacs-lisp/edebug.el (edebug-unwrap):
6461 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6462 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6463 (pcase--let*): Remove.
6464 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6465 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6466 macroexp-const-p instead.
6467 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6468
6469 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6470 instead of "cl-" for internal definitions. Use macroexp-const-p.
6471 (cl-old-bc-file-form): Remove var.
6472 (cl-const-exprs-p): Remove fun.
6473 (cl-labels, cl-macrolet): Use backquote.
6474 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6475 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6476 (cl-define-setf-expander): Rename from cl-define-setf-method.
6477 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6478
6479 * international/mule-cmds.el: Don't require CL.
6480 (view-hello-file): Don't use `letf'.
6481
6482 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * tmm.el (tmm-prompt): Use string-prefix-p.
6485 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6486 (tmm-add-prompt): Use minibuffer-completion-help.
6487 (tmm-delete-map): Remove.
6488
6489 * subr.el (kbd): Make it its own function.
6490
6491 2012-06-07 Stefan Merten <smerten@oekonux.de>
6492
6493 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6494 Silence compiler warnings. Fix versions.
6495 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6496 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6497 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6498 (rst-package-emacs-version-alist): Correct Emacs version to
6499 represent major merge with upstream.
6500 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6501
6502 2012-06-06 Glenn Morris <rgm@gnu.org>
6503
6504 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6505 Only print environment variables if set.
6506
6507 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6510 (macroexp--cons): Rename from maybe-cons.
6511 (macroexp--accumulate): Rename from macroexp-accumulate.
6512 (macroexp--all-forms): Rename from macroexpand-all-forms.
6513 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6514 (macroexp--expand-all): Rename from macroexpand-all-1.
6515
6516 2012-06-06 Sam Steingold <sds@gnu.org>
6517
6518 * calendar/calendar.el (calendar-in-read-only-buffer):
6519 Call `special-mode' to enable the standard read-only keybindings.
6520
6521 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6524 with "loading" messages (bug#11635).
6525
6526 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6527
6528 * files.el (enable-remote-dir-locals): New option.
6529 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6530
6531 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6532 Ensure, that the temp directory is local.
6533
6534 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6535 `temporary-file-directory'.
6536
6537 * progmodes/python.el (python-send-region): Ensure, that the
6538 temporary file is created also in the remote case.
6539
6540 2012-06-06 Glenn Morris <rgm@gnu.org>
6541
6542 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6543 (vc-rcs-update-changelog): Use it.
6544
6545 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6546
6547 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6548 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6549 (vc-sccs-diff): Replace use of the external vcdiff script.
6550
6551 2012-06-05 Glenn Morris <rgm@gnu.org>
6552
6553 * ledit.el: Move to obsolete/.
6554
6555 2012-06-05 Sam Steingold <sds@gnu.org>
6556
6557 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6558 patch (Bug#11140).
6559
6560 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * emacs-lisp/cust-print.el: Move to obsolete.
6563
6564 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6565 compiler-macro expansion.
6566
6567 Add native compiler-macro support.
6568 * emacs-lisp/macroexp.el (macroexpand-all-1):
6569 Support compiler-macros directly. Properly follow aliases and apply
6570 the compiler macros more thoroughly.
6571 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6572 macroexpand now properly follows aliases.
6573 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6574 (cl-compiler-macroexpand): Use new prop.
6575 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6576
6577 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6578
6579 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6580
6581 * window.el (get-lru-window, get-mru-window, get-largest-window):
6582 New argument NOT-SELECTED to avoid picking the selected window.
6583 (window--display-buffer-1, window--display-buffer-2): Replace by
6584 new function window--display-buffer
6585 (display-buffer-same-window, display-buffer-reuse-window)
6586 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6587 Use window--display-buffer.
6588 (display-buffer-use-some-window): Remove temporary dedication
6589 hack by calling get-lru-window and get-largest-window with
6590 NOT-SELECTED argument non-nil. Call window--display-buffer.
6591
6592 2012-06-05 Glenn Morris <rgm@gnu.org>
6593
6594 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6595 Replace external vcdiff script.
6596
6597 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6600
6601 2012-06-04 Chong Yidong <cyd@gnu.org>
6602
6603 * image.el (imagemagick-types-inhibit): Revert last change.
6604 Add INFO and M.
6605 (imagemagick-enabled-types): Remove CIN and EPS*.
6606
6607 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * emacs-lisp/cl-lib.el: Rename from cl.el.
6610 * emacs-lisp/cl.el: New compatibility file.
6611 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6612 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6613 to obey the "cl-" prefix.
6614 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6615
6616 2012-06-03 Glenn Morris <rgm@gnu.org>
6617
6618 * emacs-lisp/authors.el (authors-aliases): Addition.
6619
6620 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6621 Fix :version.
6622
6623 2012-06-03 Stefan Merten <smerten@oekonux.de>
6624
6625 * textmodes/rst.el: Add comments.
6626 (rst-transition, rst-adornment): New faces.
6627 (rst-adornment-faces-alist): Make default safe to reevaluate.
6628 Fixes
6629 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6630 Improve customization tags.
6631 (rst-define-level-faces): Clarify meaning.
6632
6633 2012-06-03 Chong Yidong <cyd@gnu.org>
6634
6635 * progmodes/compile.el (compilation-mode-line-fail)
6636 (compilation-mode-line-run, compilation-mode-line-exit):
6637 New faces.
6638 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6639
6640 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6641
6642 * progmodes/which-func.el (which-func-update-ediff-windows):
6643 New function. Use it in ediff-select-hook (Bug#11478).
6644
6645 2012-06-03 Chong Yidong <cyd@gnu.org>
6646
6647 * bindings.el: Remove explicit help text from format-mode-line.
6648 It is now supplied by mode-line-default-help-echo.
6649 (mode-line-front-space, mode-line-end-spaces)
6650 (mode-line-misc-info): New variables.
6651 (mode-line-modes, mode-line-position): Move the default value to
6652 the variable definition.
6653 (mode-line-default-help-echo): New defcustom.
6654 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6655 (mode-line-modified-help-echo): New functions.
6656 (mode-line-mule-info, mode-line-modified): Use them.
6657 (mode-line-eol-desc, propertized-buffer-identification):
6658 Consistency fixes for help text.
6659 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6660 set-buffer-file-coding-system (Bug#289).
6661 (mode-line-mule-info-help-echo): Update help text.
6662
6663 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * simple.el (execute-extended-command): Set real-this-command
6666 (bug#11506).
6667
6668 2012-06-02 Chong Yidong <cyd@gnu.org>
6669
6670 Remove incorrect uses of "modeline" in comments, docstrings, and
6671 function/variable names (Bug#10329).
6672
6673 * cus-edit.el (mode-line):
6674 * dframe.el (dframe-mouse-hscroll):
6675 * emacs-lisp/re-builder.el:
6676 * emacs-lisp/easy-mmode.el (define-minor-mode):
6677 * frame.el (set-frame-name):
6678 * help.el (lookup-minor-mode-from-indicator):
6679 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6680 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6681 (c-toggle-hungry-state):
6682 * progmodes/antlr-mode.el (antlr-language-alist):
6683 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6684 * progmodes/vhdl-mode.el (vhdl-mode):
6685 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6686 * term/ns-win.el (ns-face-at-pos):
6687 * term/sup-mouse.el (sup-mouse-report):
6688 * textmodes/flyspell.el (flyspell-mode-line-string):
6689 * textmodes/ispell.el (ispell-highlight-face):
6690 * textmodes/reftex-global.el:
6691 * vc/vc-arch.el (vc-arch-mode-line-string):
6692 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6693 * vc/vc-git.el (vc-git-mode-line-string):
6694 * vc/vc-hooks.el (vc-display-status)
6695 (vc-default-mode-line-string):
6696 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6697
6698 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6699
6700 * dired.el (dired-sort-set-mode-line): Rename from
6701 dired-sort-set-modeline. All callers changed.
6702
6703 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6704 eshell-status-in-modeline.
6705
6706 * foldout.el (foldout-mode-line-string): Rename from
6707 foldout-modeline-string. All callers changed.
6708 (foldout-update-mode-line): Rename from foldout-update-modeline.
6709
6710 * subr.el (redraw-modeline): Make into obsolete alias.
6711
6712 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6713 timeclock-modeline-display. Make old name an alias.
6714 (timeclock-update-mode-line): Likewise. All callers changed.
6715 (timeclock-mode-line-display): No need to check before using
6716 add-hook.
6717 (timeclock-relative, timeclock-day-over-hook)
6718 (timeclock-use-elapsed, timeclock-mode-string)
6719 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6720
6721 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6722 crisp-mode-modeline-string.
6723
6724 * play/solitaire.el (solitaire-build-mode-line): Rename from
6725 solitaire-build-modeline. All callers changed.
6726
6727 * play/zone.el (zone-hiding-mode-line): Rename from
6728 zone-hiding-modeline. All callers changed.
6729 (zone): Remove unusued `modeline-hidden-level' property.
6730
6731 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6732 xscheme-modeline-initialize. All callers changed.
6733
6734 * strokes.el (strokes-lighter): Rename from
6735 strokes-modeline-string.
6736
6737 * textmodes/sgml-mode.el (html-face-tag-alist)
6738 (html-tag-face-alist): Use mode-line face instead of obsolete
6739 alias modeline.
6740
6741 2012-06-02 Stefan Merten <smerten@oekonux.de>
6742
6743 * textmodes/rst.el: Always require `cl'.
6744 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6745
6746 2012-06-02 Chong Yidong <cyd@gnu.org>
6747
6748 * image.el (imagemagick-enabled-types): Rename from
6749 imagemagick-types-enable. Add many more types.
6750 (imagemagick-types-inhibit): Change default to nil.
6751 (imagemagick-filter-types): Caller changed.
6752
6753 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * emacs-lisp/cl-macs.el: Use backquotes.
6756 (cl-transform-function-property): Use eval-and-compile rather than
6757 abusing `require'.
6758 (defstruct): Use declare-function instead of with-no-warnings.
6759
6760 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6761 (byte-compile-output-docform): Re-add the print-circle bindings.
6762 (byte-compile-fix-header): Use #$ just because it's shorter.
6763 (byte-compile-output-file-form): Remove defun/defmacro.
6764
6765 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6766
6767 * simple.el (choose-completion): Remove now obsolete binding for
6768 owindow.
6769
6770 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6773 in order to avoid "Stack overflow in regexp matcher".
6774
6775 2012-05-31 Glenn Morris <rgm@gnu.org>
6776
6777 * image.el: For clarity, call imagemagick-register-types at
6778 top-level, rather than relying on a custom :initialize.
6779 (imagemagick-types-enable): New option. (Bug#11557)
6780 (imagemagick-filter-types): New function. (Bug#7406)
6781 (imagemagick-register-types): Use imagemagick-filter-types.
6782 If disabling support, remove elements altogether rather
6783 than using an impossible regexp.
6784 (imagemagick-types-inhibit): Give it the default init function.
6785
6786 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6789 Handle arbitrary file name lengths (Bug#11585).
6790
6791 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6792
6793 * desktop.el (desktop-read): Clear previous and next buffers for
6794 all windows and bury *Messages* buffer (bug#11556).
6795
6796 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 Add `declare' for `defun'. Align `defmacro's with it.
6799 * emacs-lisp/easy-mmode.el (define-minor-mode)
6800 (define-globalized-minor-mode): Don't autoload the var definitions.
6801 * emacs-lisp/byte-run.el: Use lexical-binding.
6802 (defun-declarations-alist, macro-declarations-alist): New vars.
6803 (defmacro, defun): Use them.
6804 (make-obsolete, define-obsolete-function-alias)
6805 (make-obsolete-variable, define-obsolete-variable-alias):
6806 Use `declare'.
6807 (macro-declaration-function): Mark obsolete.
6808 * emacs-lisp/autoload.el: Use lexical-binding.
6809 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6810
6811 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6812
6813 * textmodes/ispell.el (ispell-with-no-warnings):
6814 Define as a macro.
6815 (ispell-kill-ispell, ispell-change-dictionary):
6816 Use `called-interactively-p' for Emacs instead of obsolete
6817 `interactive-p'.
6818
6819 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6822 (macro-declaration-function): Move var from C code.
6823 (macro-declaration-function): Define function with defalias.
6824 * emacs-lisp/macroexp.el (macroexpand-all-1):
6825 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6826 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6827 defun/defmacro any more.
6828 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6829 Provide fallback for unknown arglist.
6830 (byte-compile-arglist-warn): Change calling convention.
6831 (byte-compile-output-file-form): Move print-vars binding.
6832 (byte-compile-output-docform): Simplify accordingly.
6833 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6834 (byte-compile-defmacro-declaration): Remove.
6835 (byte-compile-file-form-defmumble): Generalize to defalias.
6836 (byte-compile-output-as-comment): Return byte-positions.
6837 Simplify callers accordingly.
6838 (byte-compile-lambda): Use `assert'.
6839 (byte-compile-defun, byte-compile-defmacro): Remove.
6840 (byte-compile-file-form-defalias):
6841 Use byte-compile-file-form-defmumble.
6842 (byte-compile-defalias-warn): Remove.
6843
6844 2012-05-29 Stefan Merten <smerten@oekonux.de>
6845
6846 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6847 possible. Fix authors. Improve comments. Improve loading of `cl'.
6848
6849 (rst-mode-abbrev-table): Merge definition.
6850 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6851 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6852
6853 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6854
6855 * calendar/icalendar.el
6856 (icalendar-export-region): Export UID properly.
6857
6858 2012-05-29 Leo Liu <sdl.web@gmail.com>
6859 * calendar/icalendar.el (icalendar-import-format):
6860 Add `icalendar-import-format-uid' (Bug#11525).
6861 (icalendar-import-format-uid): New.
6862 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6863 Export UID.
6864
6865 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6868 different alternative patterns.
6869 (pcase-codegen): Be more careful to preserve identity.
6870 (pcase--u1): Don't forget to mark vars as used.
6871
6872 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6873 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6874 (byte-compile-from-buffer): ...rather than here.
6875
6876 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6877 functions from byte-compile-function-environment.
6878
6879 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6880
6881 * window.el (window-deletable-p): Avoid deleting the root window
6882 of a frame with an active minibuffer.
6883
6884 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6885
6886 * simple.el (choose-completion): Use quit-window (Bug#11567).
6887
6888 2012-05-29 Chong Yidong <cyd@gnu.org>
6889
6890 * whitespace.el (whitespace-cleanup): Fix usage of
6891 whitespace-empty-at-bob-regexp (Bug#11492).
6892
6893 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6894
6895 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6896 revert (Bug#11488).
6897
6898 2012-05-29 Juri Linkov <juri@jurta.org>
6899
6900 * isearch.el (isearch-mode-map): Bind `M-s _' to
6901 `isearch-toggle-symbol'. Bind `M-s c' to
6902 `isearch-toggle-case-fold'.
6903 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6904 (isearch-forward): Add `M-s _' to the docstring.
6905 (isearch-forward-symbol, isearch-toggle-case-fold)
6906 (isearch-symbol-regexp): New functions. (Bug#11381)
6907
6908 2012-05-29 Juri Linkov <juri@jurta.org>
6909
6910 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6911 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6912 a function, call it to get the regexp.
6913 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6914 property `isearch-message-prefix' instead of the string "word ".
6915 (isearch-search-fun-default): For the case of `isearch-word',
6916 return a lambda that calls re-search-forward/re-search-backward
6917 with a regexp returned by `word-search-regexp' or by the function
6918 in `isearch-word'.
6919
6920 2012-05-29 Juri Linkov <juri@jurta.org>
6921
6922 * isearch.el (isearch-search-fun-default): New function.
6923 (isearch-search-fun): Move default part to the new function
6924 `isearch-search-fun-default'.
6925 (isearch-search-fun-function): Set the default value to
6926 `isearch-search-fun-default'. (Bug#11381)
6927
6928 * comint.el (comint-history-isearch-end):
6929 Use `isearch-search-fun-default'.
6930 (comint-history-isearch-search): Use `isearch-search-fun-default'
6931 and remove spacial case for `isearch-word'.
6932 (comint-history-isearch-wrap): Remove spacial case for
6933 `isearch-word'.
6934
6935 * hexl.el (hexl-isearch-search-function):
6936 Use `isearch-search-fun-default'.
6937
6938 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6939 Use `word-search-regexp' for `isearch-word'.
6940
6941 * misearch.el (multi-isearch-search-fun):
6942 Use `isearch-search-fun-default'.
6943
6944 * simple.el (minibuffer-history-isearch-search):
6945 Use `isearch-search-fun-default' and remove spacial case for
6946 `isearch-word'.
6947 (minibuffer-history-isearch-wrap): Remove spacial case for
6948 `isearch-word'.
6949
6950 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6951 Remove spacial case for `isearch-word'.
6952 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6953
6954 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6955
6956 Decrease XEmacs incompatibilities.
6957 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6958 Use `string-match'.
6959 (flyspell-delete-region-overlays): Use alternative definition for
6960 XEmacs.
6961 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6962 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6963 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6964 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6965 `define-obsolete-face-alias' under XEmacs, but old method.
6966
6967 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6968 `with-no-warnings' definition or Emacs alias.
6969 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6970 (ispell-word): Do not use `region-p' if XEmacs.
6971
6972 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6973
6974 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6975 Check for `ispell-dictionary-base-alist' instead of full
6976 `ispell-dictionary-alist'.
6977 (ispell-init-process): Show spellchecker when starting new Ispell
6978 process.
6979
6980 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6983 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6984
6985 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * version.el (motif-version-string, gtk-version-string)
6988 (ns-version-string): Declare.
6989
6990 2012-05-27 Juri Linkov <juri@jurta.org>
6991
6992 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6993 after the `eval-defun-1' specialcaseing
6994 like in `edebug-eval-defun' (bug#10181).
6995
6996 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6997 like in `eval-defun-1'.
6998
6999 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7000
7001 * mail/sendmail.el (mail-yank-region):
7002 Recognize rmail-yank-current-message in addition to insert-buffer.
7003 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7004 a *mail* buffer created through rmail-start-mail with sendmail as
7005 mail-user-agent.
7006
7007 2012-05-27 Chong Yidong <cyd@gnu.org>
7008
7009 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7010 Default to 256 (Bug#11267).
7011
7012 * help.el (describe-mode): Doc fix.
7013
7014 2012-05-26 Glenn Morris <rgm@gnu.org>
7015
7016 * w32-fns.el (w32-init-info): Remove.
7017 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7018
7019 * info.el (info-initialize): For self-contained NS builds, put the
7020 included info/ directory at the front. (Bug#2791)
7021
7022 * paths.el (Info-default-directory-list): Make it a defcustom,
7023 mainly so that we can use custom-initialize-delay.
7024
7025 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * subr.el (buffer-has-markers-at): Mark obsolete.
7028
7029 * subr.el (lambda): Use declare.
7030
7031 * emacs-lisp/lisp-mode.el (lambda):
7032 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7033
7034 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7035
7036 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7037
7038 2012-05-26 Glenn Morris <rgm@gnu.org>
7039
7040 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7041
7042 2012-05-25 Glenn Morris <rgm@gnu.org>
7043
7044 * paths.el: Remove no-byte-compile.
7045 * loadup.el: No need to load paths.el uncompiled.
7046
7047 * image.el (imagemagick-types-inhibit): Doc fix.
7048
7049 * version.el: Remove no-byte-compile and associated formatting.
7050 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7051 is ancient code from when there was an "inc-vers.el".
7052
7053 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * progmodes/gdb-mi.el: Minor style changes.
7056 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7057 Turn into minor modes.
7058 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7059 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7060 (gdb-shell): Remove unneeded let-binding.
7061 (gdb-get-many-fields): Eliminate O(n²) behavior.
7062
7063 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7064
7065 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7066 platforms that don't link in fontset.c.
7067
7068 2012-05-25 Juri Linkov <juri@jurta.org>
7069
7070 Use the same diff color scheme as in modern VCSes (bug#10181).
7071
7072 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7073 to avoid confusion with `diff-added' that now uses green colors.
7074 (diff-removed): Use shades of red.
7075 (diff-added): Use shades of green.
7076 (diff-changed): Leave just the yellow color.
7077 (diff-use-changed-face): New variable.
7078 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7079 how to highlight context diff changes.
7080 (diff-refine-change): Use shades of yellow.
7081 (diff-refine-removed): New face that uses shades of red.
7082 (diff-refine-added): New face that uses shades of green.
7083 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7084 `diff-refine-removed' in the call to `smerge-refine-subst'
7085 depending on the value of `diff-use-changed-face'.
7086
7087 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7088 (smerge-other): Use shades of green.
7089 (smerge-base): Use shades of yellow.
7090 (smerge-refined-change): Empty face.
7091 (smerge-refined-removed): New face that uses shades of red.
7092 (smerge-refined-added): New face that uses shades of green.
7093 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7094 args `props-r' and `props-a', and use them. Doc fix.
7095 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7096 on its value use different faces `smerge-refined-change',
7097 `smerge-refined-removed', `smerge-refined-added' in the call to
7098 `smerge-refine-subst'.
7099
7100 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7101 Add face condition `min-colors 88' with shades of red.
7102 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7103 `min-colors 88' with shades of green.
7104 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7105 `min-colors 88' with shades of yellow.
7106
7107 2012-05-24 Glenn Morris <rgm@gnu.org>
7108
7109 * paths.el (prune-directory-list, remote-shell-program): Move to...
7110 * files.el (prune-directory-list, remote-shell-program): ...here.
7111 For the latter, delay initialization, prefer ssh, just search PATH.
7112
7113 * paths.el (term-file-prefix): Move to faces.el (the only user).
7114 * faces.el (term-file-prefix): Move here, make it a defcustom.
7115
7116 * paths.el (news-directory, news-path, news-inews-program):
7117 Move to gnus/nnspool.el.
7118
7119 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7120
7121 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7122 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7123 Make the latter a defcustom, with a delayed initialization.
7124
7125 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7126 These were deleted from Gnus itself late 2010.
7127
7128 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7129
7130 * progmodes/which-func.el (which-func-ff-hook):
7131 Check against user-error, not error.
7132
7133 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7134 cl-specs.el, which no longer exists.
7135
7136 2012-05-22 Glenn Morris <rgm@gnu.org>
7137
7138 * info.el (info-emacs-bug): New command.
7139 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7140 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7141
7142 2012-05-21 Glenn Morris <rgm@gnu.org>
7143
7144 * makefile.w32-in (update-subdirs-SH):
7145 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7146
7147 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7150
7151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7152 Simplify Maven regexp, and make sure the file can't start with a space
7153 (bug#11517).
7154
7155 2012-05-21 Glenn Morris <rgm@gnu.org>
7156
7157 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7158 Scrap superfluous subshells.
7159
7160 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7163 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7164
7165 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7166
7167 * calc/calc.el (calc-ensure-consistent-units): New variable.
7168
7169 * calc/calc-units.el (math-consistent-units-p)
7170 (math-check-unit-consistency): New functions.
7171 (calc-quick-units, calc-convert-units):
7172 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7173 is non-nil.
7174 (calc-extract-units): Fix typo.
7175
7176 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7179
7180 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7181 (flyspell-default-deplacement-commands): Don't spell check after
7182 repeated window/frame switches (e.g. triggered by mouse-movement).
7183 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7184 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7185 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7186 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7187 Remove unused vars.
7188 (flyspell-get-casechars, flyspell-get-not-casechars):
7189 Simplify; Don't bother removing a ] just to add it back.
7190 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7191
7192 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7193
7194 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7195 New functions.
7196 (math-function-table): Add support for more C functions.
7197
7198 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7199
7200 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7201 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7202 Protect delay handling for otherchars against empty otherchars.
7203
7204 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7207 their respective macro declarations.
7208 * skeleton.el (define-skeleton):
7209 * progmodes/compile.el (define-compilation-mode):
7210 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7211 (define-ibuffer-filter):
7212 * emacs-lisp/generic.el (define-generic-mode):
7213 * emacs-lisp/easy-mmode.el (define-minor-mode)
7214 (define-globalized-minor-mode):
7215 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7216 * emacs-lisp/byte-run.el (defsubst):
7217 * custom.el (deftheme): Add doc-string metadata.
7218
7219 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7222
7223 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7226
7227 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7228 * emacs-lisp/cl-macs.el: Idem.
7229 * emacs-lisp/cl-specs.el: Remove.
7230
7231 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 Minor renaming of internal CL functions and variables.
7234 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7235 (cl--position): Rename from cl-position.
7236 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7237 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7238 (cl--random-state): Rename from *random-state*.
7239
7240 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7243 parens around the arg list (bug#11499).
7244
7245 2012-05-17 Juri Linkov <juri@jurta.org>
7246
7247 * isearch.el (word-search-regexp, word-search-backward)
7248 (word-search-forward, word-search-backward-lax)
7249 (word-search-forward-lax): Move functions from search.c
7250 (bug#10145, bug#11381).
7251
7252 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7253
7254 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7255 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7256 Delay for otherchars as for normal word components.
7257
7258 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * minibuffer.el (completion--sifn-requote): Fix last change.
7261 (minibuffer-local-must-match-filename-map):
7262 Move define-obsolete-variable-alias before its var.
7263
7264 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7267
7268 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7269 behavior.
7270 (completion--string-equal-p): New function.
7271 (completion--twq-all): Use it to get better assertion failure data.
7272
7273 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7274 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7275 (shell--requote-argument): New functions.
7276 (shell-completion-vars): Use them.
7277 (shell--parse-pcomplete-arguments): Rename from
7278 shell-parse-pcomplete-arguments.
7279 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7280 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7281 Obey comint-file-name-quote-list.
7282
7283 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7284 (smie-indent-keyword): Use it.
7285
7286 2012-05-14 Stefan Merten <smerten@oekonux.de>
7287
7288 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7289
7290 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * net/rlogin.el (rlogin-mode-map): Fix last change.
7293
7294 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7295
7296 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7297 the following \r\n using a single `process-send-string', since the
7298 Lotus SMTP server refuses to accept any commands if they are sent
7299 with two `process-send-string's (Bug#11444).
7300
7301 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * shell.el (shell-parse-pcomplete-arguments):
7304 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7305
7306 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7307
7308 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7309 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7310 (image-transform-width, image-transform-fit-width): New functions.
7311 (image-transform-properties): Use them.
7312 (image-transform-check-size): New function.
7313 (image-toggle-display-image): Use it (for testing).
7314 (image-transform-set-rotation): Reduce angle mod 360.
7315 Delete obsolete comment.
7316
7317 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7318
7319 * image-mode.el: Fix scaling (bug#11399).
7320 (image-transform-resize): Doc fix.
7321 (image-transform-properties): Default scale is 1 and height should
7322 be an integer.
7323
7324 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7325
7326 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7327 than hard-coding `car', to fix misbehavior when moving forward.
7328
7329 2012-05-13 Chong Yidong <cyd@gnu.org>
7330
7331 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7332 (tabulated-list-entries, tabulated-list-padding)
7333 (tabulated-list-sort-key): Make permanent-local.
7334
7335 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7336 (electric-buffer-list): Put electric buffer menu
7337 command descriptions in this docstring, instead of the docstring
7338 of electric-buffer-menu-mode. Code cleanups.
7339 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7340 Electric-buffer-menu-mode.
7341 (electric-buffer-update-highlight): Minor code cleanup.
7342
7343 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7344
7345 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7346 (Bug#11447)
7347
7348 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 Move define-obsolete-variable-alias before the var's definition.
7351 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7352 * tooltip.el (tooltip-hook):
7353 * textmodes/reftex-toc.el (reftex-toc-map):
7354 * textmodes/reftex-sel.el (reftex-select-label-map)
7355 (reftex-select-bib-map):
7356 * textmodes/reftex-index.el (reftex-index-map)
7357 (reftex-index-phrases-map):
7358 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7359 * progmodes/meta-mode.el (meta-mode-map):
7360 * novice.el (disabled-command-hook):
7361 * loadhist.el (unload-hook-features-list):
7362 * frame.el (blink-cursor):
7363 * files.el (find-file-not-found-hooks, write-file-hooks)
7364 (write-contents-hooks):
7365 * emulation/tpu-edt.el (GOLD-map):
7366 * emacs-lock.el (emacs-lock-from-exiting):
7367 * emacs-lisp/generic.el (generic-font-lock-defaults):
7368 * emacs-lisp/chart.el (chart-map):
7369 * dos-fns.el (register-name-alist):
7370 * dired-x.el (dired-omit-files-p):
7371 * desktop.el (desktop-enable):
7372 * cus-edit.el (custom-mode-hook):
7373 * buff-menu.el (buffer-menu-mode-hook):
7374 * bookmark.el (bookmark-read-annotation-text-func)
7375 (bookmark-exit-hooks):
7376 * allout.el (allout-mode-deactivate-hook)
7377 (allout-exposure-change-hook, allout-structure-added-hook)
7378 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7379 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7380 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7381 comes before the corresponding variable's definition.
7382
7383 2012-05-12 Chong Yidong <cyd@gnu.org>
7384
7385 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7386 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7387 (Buffer-menu-mode-map): Bind it.
7388 (Buffer-menu--pretty-name): Add a mouse-face property.
7389
7390 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7393 (prolog-upper-case-string, prolog-lower-case-string)
7394 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7395 (prolog-use-smie, prolog-smie-grammar): New vars.
7396 (prolog-smie-forward-token, prolog-smie-backward-token)
7397 (prolog-smie-rules): New funs.
7398 (prolog-comment-indent): Remove.
7399 (prolog-mode-variables): Use default comment indentation instead.
7400 Setup SMIE.
7401 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7402 (prolog-mode): Don't call them any more.
7403 (prolog-electric-colon, prolog-electric-dash)
7404 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7405
7406 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7407
7408 * minibuffer.el (completion--twq-all): Again, allow case differences.
7409
7410 * term.el: Move keymap initialization code to be more idiomatic.
7411 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7412 (term-terminal-menu): Move initialization into declaration.
7413 (term-escape-char): Let the user set it in her .emacs.
7414
7415 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7416 Provide SMIE-based indentation (not enabled by default yet).
7417 (sh-mode-map): Don't bind electric keys.
7418 Use electric-pair-mode instead of skeleton-pair.
7419 (sh-assignment-regexp): Fit within 80 columns.
7420 (sh-indent-supported): Specify actual shell name instead of boolean.
7421 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7422 (sh-maybe-here-document): Use it. Make obsolete.
7423 (sh-electric-here-document-mode) New minor mode.
7424 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7425 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7426 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7427 (sh-smie-rc-grammar, sh-use-smie): New vars.
7428 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7429 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7430 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7431 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7432 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7433 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7434 (sh-set-shell): Use smie-setup if requested.
7435
7436 * term.el (term-set-escape-char): Properly set term-escape-char.
7437 See http://stackoverflow.com/questions/10524656.
7438
7439 2012-05-10 Chong Yidong <cyd@gnu.org>
7440
7441 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7442 Use url-generic-parse-url, and handle host names and Windows
7443 filenames properly.
7444 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7445 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7446 URL schemes to work on.
7447 (ffap--toggle-read-only): New function.
7448 (ffap-read-only, ffap-read-only-other-window)
7449 (ffap-read-only-other-frame): Use it.
7450 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7451 necessary for ffap-url-unwrap-remote.
7452
7453 2012-05-10 Dave Abrahams <dave@boostpro.com>
7454
7455 * cus-start.el (create-lockfiles): Add it.
7456
7457 2012-05-09 Chong Yidong <cyd@gnu.org>
7458
7459 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7460 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7461
7462 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7465
7466 2012-05-09 Chong Yidong <cyd@gnu.org>
7467
7468 * ansi-color.el (ansi-color-process-output): Check for validity of
7469 comint-last-output-start before using it. This avoids a bad
7470 interaction with gdb-mi's input/output buffer.
7471
7472 2012-05-09 Glenn Morris <rgm@gnu.org>
7473
7474 * files.el (dir-locals-read-from-file):
7475 Mention dir-locals in any error message.
7476
7477 2012-05-09 Chong Yidong <cyd@gnu.org>
7478
7479 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7480 package (Bug#11410).
7481
7482 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7483 variables into description.
7484
7485 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7488 shell-delimiter-argument-list (bug#11348).
7489 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7490
7491 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7492
7493 * textmodes/rst.el: Silence byte-compiler warnings.
7494 (rst-re-alist, rst-reset-section-caches): Move around.
7495 (rst-re): Use `characterp', not `char-valid-p'.
7496 (font-lock-beg, font-lock-end): Declare.
7497
7498 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7499 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7500
7501 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7502
7503 2012-05-08 Glenn Morris <rgm@gnu.org>
7504
7505 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7506
7507 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * vc/log-edit.el: Add GNU coding standards highlighting.
7510 (log-edit-font-lock-gnu-style)
7511 (log-edit-font-lock-gnu-keywords): New vars.
7512 (log-edit-font-lock-keywords): New fun.
7513 (log-edit-mode): Don't fold case in font-lock.
7514 (log-edit-font-lock-keywords): Do not assume case-folding.
7515
7516 * imenu.el: Misc cleanup. Make docstrings out of comments.
7517 Use lexical-binding.
7518 (imenu--index-alist, imenu--last-menubar-index-alist)
7519 (imenu-menubar-modified-tick): Use defvar-local.
7520 (imenu--split-menu): Remove unused var.
7521 (imenu--cleanup-seen): Declare as global.
7522 (imenu--cleanup): Use dolist.
7523
7524 * subr.el (defvar-local): Add debug spec and doc-string position.
7525
7526 2012-05-08 Glenn Morris <rgm@gnu.org>
7527
7528 * language/burmese.el, language/cham.el, language/czech.el:
7529 * language/english.el, language/georgian.el, language/greek.el:
7530 * language/japanese.el, language/khmer.el, language/korean.el:
7531 * language/lao.el, language/misc-lang.el, language/romanian.el:
7532 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7533 * language/thai.el, language/utf-8-lang.el:
7534 Remove no-byte-compile setting.
7535
7536 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7537
7538 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7539
7540 * progmodes/make-mode.el (makefile-browse):
7541 Remove unnecessary interactive. (Bug#11324)
7542
7543 2012-05-07 Glenn Morris <rgm@gnu.org>
7544
7545 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7546
7547 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7548
7549 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * loadup.el: Preload newcomment.el.
7552 * newcomment.el: Move autoload-only code to toplevel.
7553
7554 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7555 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7556 Handle new :right-align column property.
7557 (tabulated-list-print-col): Idem, plus use `display' text-property to
7558 try and preserve alignment for variable pitch fonts.
7559
7560 2012-05-07 Chong Yidong <cyd@gnu.org>
7561
7562 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7563 (tabulated-list-use-header-line): New var.
7564 (tabulated-list-init-header): Use it.
7565 (tabulated-list-print-fake-header): New function.
7566 (tabulated-list-print): Use it.
7567 (tabulated-list-sort-button-map): Add non-header-line commands.
7568 (tabulated-list-init-header): Add column name property to basic
7569 labels as well.
7570 (tabulated-list-col-sort): Handle non-header-line button case.
7571 (tabulated-list--sort-by-column-name): Fix a corner case.
7572
7573 * buff-menu.el (list-buffers--refresh):
7574 Handle Buffer-menu-use-header-line.
7575
7576 2012-05-06 Chong Yidong <cyd@gnu.org>
7577
7578 * buff-menu.el: Convert to Tabulated List mode.
7579 (Buffer-menu-buffer+size-width): Make obsolete.
7580 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7581 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7582 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7583 documentation into docstring of buffer-menu.
7584 (Buffer-menu-toggle-files-only): Add an informative message.
7585 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7586 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7587 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7588 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7589 (Buffer-menu-execute, Buffer-menu-select)
7590 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7591 (Buffer-menu-bury): Use Tabulated List machinery.
7592 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7593 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7594 Delete.
7595 (list-buffers--refresh): New function.
7596 (list-buffers-noselect): Use it.
7597 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7598 (Buffer-menu--pretty-file-name): New helper functions.
7599
7600 * loadup.el: Preload tabulated-list.
7601
7602 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7603 tabulated-list-sort-column.
7604 (tabulated-list-init-header): Add the initial aligning space even
7605 if tabulated-list-padding is zero.
7606
7607 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7608
7609 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7610 whose cdr is not a cons cell correctly (bug#11038).
7611
7612 2012-05-06 Chong Yidong <cyd@gnu.org>
7613
7614 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7615 Accept additional plist in column descriptors.
7616 (tabulated-list-init-header): Obey it.
7617 (tabulated-list-get-entry): New function.
7618 (tabulated-list-put-tag): Use it. Use string-width instead of
7619 length.
7620 (tabulated-list--column-number): New function.
7621 (tabulated-list-print): Use it.
7622 (tabulated-list-print-col): New function.
7623 Set `tabulated-list-column-name' property on each column's text.
7624 (tabulated-list-print-entry): Use it.
7625 (tabulated-list-delete-entry, tabulated-list-set-col):
7626 New functions.
7627 (tabulated-list-sort-column): New command (Bug#11337).
7628
7629 * buff-menu.el (list-buffers): Move C-x C-b binding from
7630 buff-menu.el to bindings.el.
7631
7632 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7633 :advertised-binding feature.
7634
7635 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7636
7637 * progmodes/compile.el (compilation-internal-error-properties):
7638 Calculate start position correctly when end-col is set but
7639 end-line is not (Bug#11382).
7640
7641 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7642
7643 * man.el (Man-unindent): Use text-property-default-nonsticky to
7644 prevent untabify from inheriting face properties (Bug#11408).
7645
7646 2012-05-05 Stefan Merten <smerten@oekonux.de>
7647
7648 * textmodes/rst.el: Major merge with upstream development up to
7649 Docutils SVN r7399 / rst.el V1.2.1.
7650
7651 Clarify maintainership and authors.
7652
7653 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7654 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7655 (rst-official-version, rst-official-cvs-rev, rst-version)
7656 (rst-package-emacs-version-alist): New functions and variables
7657 for version information.
7658
7659 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7660 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7661 (rst-mode-syntax-table, rst-mode): New and corrected functions
7662 and variables representing reStructuredText features.
7663
7664 (rst-re): New function for reStructuredText regexes. Use in
7665 many places.
7666
7667 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7668 (rst-mode-map): Rebind keys.
7669
7670 (rst-mode-lazy, rst-font-lock-keywords)
7671 (rst-font-lock-extend-region)
7672 (rst-font-lock-extend-region-internal)
7673 (rst-font-lock-extend-region-extend)
7674 (rst-font-lock-find-unindented-line-limit)
7675 (rst-font-lock-find-unindented-line-match)
7676 (rst-adornment-level, rst-font-lock-adornment-level)
7677 (rst-font-lock-adornment-match)
7678 (rst-font-lock-handle-adornment-pre-match-form)
7679 (rst-font-lock-handle-adornment-matcher): Major revision of
7680 font-locking. Integrate with other code. Use `jit-lock-mode'.
7681
7682 (rst-preferred-adornments, rst-adjust-hook)
7683 (rst-new-adornment-down, rst-preferred-bullets)
7684 (rst-preferred-bullets, rst-indent, rst-indent-width)
7685 (rst-indent-field, rst-indent-literal-normal)
7686 (rst-indent-literal-minimized, rst-indent-comment): Change,
7687 extend and improve customization.
7688
7689 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7690 (rst-normalize-cursor-position, rst-get-decoration)
7691 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7692 (rst-rstrip, rst-toc-insert-find-delete-contents)
7693 (rst-shift-fill-region, rst-compute-bullet-tabs)
7694 (rst-debug-print-tabs, rst-debug-mark-found)
7695 (rst-shift-region-guts, rst-shift-region-right)
7696 (rst-shift-region-left, rst-use-char-classes)
7697 (rst-font-lock-keywords-function)
7698 (rst-font-lock-indentation-point)
7699 (rst-font-lock-find-unindented-line-begin)
7700 (rst-font-lock-find-unindented-line-end)
7701 (rst-font-lock-find-unindented-line)
7702 (rst-font-lock-adornment-point, rst-font-lock-level)
7703 (rst-adornment-level-alist): Remove functions and variables.
7704
7705 (rst-compare-adornments, rst-get-adornment-match)
7706 (rst-suggest-new-adornment, rst-get-adornments-around)
7707 (rst-adornment-complete-p, rst-get-next-adornment)
7708 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7709 (rst-straighten-adornments): Standardize function names to
7710 use "adornment" instead of "decoration". Correct callers.
7711 Similar standardizing in many places.
7712
7713 (rst-update-section, rst-adjust, rst-promote-region)
7714 (rst-enumerate-region, rst-bullet-list-region)
7715 (rst-repeat-last-character): Correct use of `interactive'.
7716
7717 (rst-classify-adornment, rst-find-all-adornments)
7718 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7719 (rst-find-leftmost-column, rst-repeat-last-character):
7720 Refactor functions.
7721
7722 (rst-find-title-line, rst-reset-section-caches)
7723 (rst-get-adornments-around, rst-adjust-adornment-work)
7724 (rst-arabic-to-roman, rst-roman-to-arabic)
7725 (rst-insert-list-pos, rst-insert-list-new-item)
7726 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7727 New functions.
7728
7729 (rst-all-sections, rst-section-hierarchy)
7730 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7731 New variables.
7732
7733 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7734 configuration instead of only buffer. Change where necessary.
7735
7736 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7737 (rst-shift-region, rst-adaptive-fill): New functions for
7738 indentation and filling.
7739
7740 (rst-comment-line-break, rst-comment-indent)
7741 (rst-comment-insert-comment, rst-comment-region)
7742 (rst-uncomment-region): New functions for handling comments.
7743
7744 (rst-compile): Quote shell arguments.
7745
7746 (rst-compile-pdf-preview, rst-compile-slides-preview):
7747 Delete temporary files after use.
7748
7749 2012-05-05 Glenn Morris <rgm@gnu.org>
7750
7751 * calendar/cal-html.el: Optionally include holidays in the output.
7752 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7753 (cal-html-holidays): New option.
7754 (cal-html-css-default): Add holiday entry.
7755 (holiday-in-range): Autoload it.
7756 (cal-html-htmlify-entry): Add optional class argument.
7757 (cal-html-htmlify-list): Add optional holidays argument.
7758 (cal-html-insert-agenda-days): Include holidays in the output.
7759 (cal-html-one-month): Maybe include holidays.
7760
7761 * calendar/holidays.el (holiday-in-range):
7762 Move here from cal-tex-list-holidays.
7763 * calendar/cal-tex.el (cal-tex-list-holidays):
7764 Make it an obsolete alias for holiday-in-range. Update all callers.
7765
7766 2012-05-05 Chong Yidong <cyd@gnu.org>
7767
7768 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7769 Nextstep.
7770
7771 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7772
7773 * files.el (file-auto-mode-skip): New var.
7774 (set-auto-mode-1): Use it.
7775
7776 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * repeat.el: Use lexical-binding.
7779 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7780 (repeat-undo-count): Remove.
7781 (repeat):
7782 * progmodes/octave-mod.el (octave-abbrev-start):
7783 * progmodes/f90.el (f90-abbrev-start):
7784 * face-remap.el (text-scale-adjust):
7785 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7786
7787 * emacs-lisp/pcase.el (pcase--let*): New function.
7788 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7789 a bit more.
7790 (pcase--split-pred): Be more clever about ruling out overlap between
7791 a predicate and some constant pattern.
7792 (pcase--q1): Use `null' instead of (eq foo nil).
7793
7794 * subr.el (setq-local, defvar-local): New macros.
7795 (kbd): Redefine as an alias.
7796 (with-selected-window): Leave unrelated frames alone.
7797 (set-temporary-overlay-map): New function.
7798
7799 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * subr.el (user-error): New function.
7802 * window.el (switch-to-buffer):
7803 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7804 (smerge-match-conflict):
7805 * simple.el (previous-matching-history-element)
7806 (next-matching-history-element, goto-history-element, undo-more)
7807 (undo-start):
7808 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7809 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7810 (next-file, tags-loop-scan, list-tags, complete-tag):
7811 * progmodes/compile.el (compilation-loop):
7812 * mouse.el (mouse-minibuffer-check):
7813 * man.el (Man-bgproc-sentinel, Man-goto-page):
7814 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7815 (Info-history-forward, Info-follow-reference, Info-menu)
7816 (Info-extract-menu-item, Info-extract-menu-counting)
7817 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7818 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7819 (Info-next-reference, Info-prev-reference, Info-index)
7820 (Info-index-next, Info-follow-nearest-node)
7821 (Info-copy-current-node-name):
7822 * imenu.el (imenu--make-index-alist)
7823 (imenu-default-create-index-function, imenu-add-to-menubar):
7824 * files.el (basic-save-buffer, recover-file):
7825 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7826 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7827 (checkdoc-message-text, checkdoc-defun):
7828 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7829 * cus-edit.el (customize-changed-options, customize-rogue)
7830 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7831 (custom-variable-mark-to-reset-standard)
7832 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7833 (custom-file):
7834 * completion.el (check-completion-length):
7835 * comint.el (comint-search-arg)
7836 (comint-previous-matching-input-string-position)
7837 (comint-previous-matching-input)
7838 (comint-replace-by-expanded-history-before-point, comint-send-input)
7839 (comint-copy-old-input, comint-backward-matching-input)
7840 (comint-goto-process-mark, comint-set-process-mark):
7841 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7842 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7843
7844 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * dabbrev.el (dabbrev--ignore-case-p): New function.
7847 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7848 Use it.
7849
7850 * files.el (automount-dir-prefix): Mark as obsolete.
7851
7852 2012-05-04 Glenn Morris <rgm@gnu.org>
7853
7854 * patcomp.el, play/bruce.el: Move to obsolete/.
7855
7856 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7857
7858 Fix minor Y10k bugs.
7859 * arc-mode.el (archive-unixdate):
7860 * autoinsert.el (auto-insert-alist):
7861 * calc/calc-forms.el (math-this-year):
7862 * emacs-lisp/copyright.el (copyright-current-year)
7863 (copyright-update-year, copyright):
7864 * tar-mode.el (tar-clip-time-string):
7865 * time.el (display-time-update):
7866 Don't assume years have 4 digits.
7867
7868 2012-05-04 Chong Yidong <cyd@gnu.org>
7869
7870 * dos-w32.el (file-name-buffer-file-type-alist)
7871 (direct-print-region-use-command-dot-com):
7872 * ffap.el (ffap-menu-regexp):
7873 * find-file.el (ff-special-constructs):
7874 * follow.el (follow-debug):
7875 * forms.el (forms--debug):
7876 * iswitchb.el (iswitchb-all-frames):
7877 * ido.el (ido-all-frames):
7878 * emacs-lisp/timer.el (timer-max-repeats):
7879 * mail/feedmail.el (feedmail-mail-send-hook)
7880 (feedmail-mail-send-hook-queued):
7881 * mail/footnote.el (footnote-signature-separator):
7882 * mail/mailabbrev.el (mail-alias-separator-string)
7883 (mail-abbrev-mode-regexp):
7884 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7885 * progmodes/idlwave.el (idlwave-libinfo-file)
7886 (idlwave-default-completion-case-is-down)
7887 (idlwave-library-routines): Convert defvars to defcustoms.
7888
7889 * mail/rmail.el (rmail-decode-mime-charset):
7890 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7891 (idlwave-shell-fix-inserted-breaks)
7892 (idlwave-shell-activate-alt-keybindings)
7893 (idlwave-shell-use-breakpoint-glyph):
7894 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7895
7896 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7899
7900 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7901
7902 * progmodes/verilog-mode.el (font-lock-keywords):
7903 Fix mis-highligting auto. Reported by Craig Barner.
7904 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7905 defines from global name space. Reported by Dan Dever.
7906 (verilog-auto-reset, verilog-auto-reset-widths)
7907 (verilog-auto-tieoff): Support using unbased numbers for
7908 AUTORESET and AUTOTIEOFF.
7909 (verilog-submit-bug-report): Update variable list.
7910 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7911 parenthesis from not matching. Reported by Michael Rytting.
7912 (verilog-auto-template-lint): Fix hash error when linting modules
7913 with no used templates.
7914 (verilog-warn, verilog-warn-error)
7915 (verilog-warn-fatal): When non-interactive report multiple
7916 warnings before exiting. Suggested by Brad Dobbie.
7917 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7918 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7919 to report unused template errors. Reported by Brad Dobbie.
7920 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7921 nets, bug438. Reported by Vns Blore.
7922 (verilog-auto-inout-module, verilog-auto-reg)
7923 (verilog-read-decls, verilog-read-sub-decls-sig)
7924 (verilog-signals-edit-wire-reg, verilog-signals-with):
7925 Fix passing of Verilog data types in ANSI input/output ports
7926 such as "output logic" into the AUTOs. Special case "wire" and
7927 "reg" for backwards compatibility presuming Verilog 2001.
7928 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7929 (verilog-preprocess): Fix replication of preprocess output.
7930 Reported by Brad Dobbie.
7931 (verilog-auto-inst-interfaced-ports):
7932 Create verilog-auto-inst-interfaced-ports, bug429.
7933 Reported by Julian Gorfajn.
7934 (verilog-after-save-font-hook)
7935 (verilog-before-save-font-hook): New variable.
7936 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7937 (verilog-save-font-mods): Wrap disabling fontification, reported
7938 by David Rogoff.
7939 (verilog-do-indent, verilog-pretty-declarations-auto)
7940 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7941 Reported by Pierre-David Pfister.
7942 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7943 of class declarations, bug292. Reported by Kevin Heilman.
7944 (verilog-read-decls): Fix 'parameter type' not appearing in
7945 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7946 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7947 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7948 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7949 Reported by David Kravitz.
7950
7951 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7952
7953 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7954 assignment with tests in ifs and for loops.
7955 (verilog-extended-complete-re, verilog-complete-reg): Change so
7956 that DPI inport functions don't look like fuction declarations.
7957 (verilog-pretty-expr): Don't line up assignment
7958 operations to the test and increment in if and for loops
7959 (verilog-extended-complete-re, verilog-complete-reg): Change so
7960 that DPI inport functions don't look like fuction declarations.
7961
7962 2012-05-03 Kenichi Handa <handa@m17n.org>
7963
7964 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7965 decoding, and show a warning message without signaling an error
7966 (Bug#11282).
7967
7968 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * emacs-lisp/bytecomp.el
7971 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7972 since cconv.el might have introduced :fun-body, internal-make-closure,
7973 and friends for bytecomp to handle (bug#11391).
7974 * custom.el (defcustom): Avoid ((λ ..) ..).
7975
7976 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7979
7980 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * notifications.el (dbus-debug):
7983 * term/linux.el (gpm-mouse-enable):
7984 * term/screen.el (xterm-register-default-colors): Declare.
7985
7986 2012-05-02 Chong Yidong <cyd@gnu.org>
7987
7988 * cus-start.el (gc-cons-percentage, exec-suffixes)
7989 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7990 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7991 (make-cursor-line-fully-visible, void-text-area-pointer)
7992 (font-list-limit): Add customization data.
7993
7994 * allout.el (allout-exposure-change-functions)
7995 (allout-structure-added-functions)
7996 (allout-structure-deleted-functions)
7997 (allout-structure-shifted-functions): Rename abnormal hooks from
7998 *-hook, and convert to defcustoms.
7999 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8000 Convert to defcustoms.
8001 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8002
8003 * allout-widgets.el: Hook callers changed.
8004
8005 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8006
8007 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8008 the yanked message in preference to the default value of
8009 buffer-file-coding-system.
8010
8011 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (display-buffer--action-function-custom-type):
8014 Fix entry.
8015
8016 2012-05-02 Alan Mackenzie <acm@muc.de>
8017
8018 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8019
8020 2012-05-01 Glenn Morris <rgm@gnu.org>
8021
8022 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8023
8024 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8025
8026 * cus-edit.el (custom-variable-documentation): Simplify with format.
8027
8028 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8029 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * simple.el (suggest-key-bindings, execute-extended-command):
8032 Move from keyboard.c.
8033
8034 2012-05-01 Chong Yidong <cyd@gnu.org>
8035
8036 * follow.el: Eliminate advice.
8037 (set-process-filter, process-filter, sit-for): Advice deleted.
8038 (follow-mode-off-hook): Obsolete hook removed.
8039 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8040 Vars deleted.
8041 (follow-auto): Use a :set function.
8042 (follow-mode): Rewritten. Don't advise process filters.
8043 (follow-switch-to-current-buffer-all, follow-scroll-up)
8044 (follow-scroll-down): Assume follow-mode is bound.
8045 (follow-comint-scroll-to-bottom)
8046 (follow-align-compilation-windows): New functions.
8047 (follow--window-sorter): New function.
8048 (follow-all-followers): Use it to explicitly sort windows by their
8049 positions; don't make assumptions about next-window order.
8050 (follow-windows-start-end, follow-delete-other-windows-and-split)
8051 (follow-calc-win-start): Doc fix.
8052 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8053 vertical-motion unnecessarily.
8054 (follow-adjust-window): New function.
8055 (follow-post-command-hook): Use it.
8056 (follow-call-set-process-filter, follow-call-process-filter)
8057 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8058 (follow-stop-intercept-process-output, follow-generic-filter):
8059 Functions deleted.
8060 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8061 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8062 New functions, replacing advice on scroll-bar-* commands.
8063 (follow-mwheel-scroll): New function (Bug#4112).
8064
8065 * comint.el (comint-adjust-point): New function.
8066 (comint-postoutput-scroll-to-bottom): Use it.
8067 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8068
8069 2012-05-01 Glenn Morris <rgm@gnu.org>
8070
8071 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8072 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8073 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8074 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8075 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8076 Remove no-byte-compile setting.
8077
8078 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8081 all-completions code to not return a number in the last cdr.
8082
8083 2012-04-30 Leo Liu <sdl.web@gmail.com>
8084
8085 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8086 read-only error.
8087
8088 2012-04-29 Chong Yidong <cyd@gnu.org>
8089
8090 * follow.el (follow-calc-win-end): Rewrite to handle partial
8091 screen lines correctly (Bug#8390).
8092 (follow-avoid-tail-recenter): Minor cleanup.
8093
8094 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 Avoid the obsolete `assoc' package.
8097 * speedbar.el (speedbar-refresh): Avoid adelete.
8098 (speedbar-file-lists): Simplify and avoid aput.
8099 * man.el (Man--sections, Man--refpages): New vars, replacing
8100 Man-sections-alist and Man-refpages-alist.
8101 (Man-build-section-alist, Man-build-references-alist):
8102 Use them; avoid aput.
8103 (Man--last-section, Man--last-refpage): New vars.
8104 (Man-follow-manual-reference): Use them.
8105 Use the `default' arg of completing-read.
8106 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8107
8108 2012-04-27 Chong Yidong <cyd@gnu.org>
8109
8110 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8111
8112 * startup.el (x-apply-session-resources): New function.
8113
8114 * term/ns-win.el (ns-initialize-window-system):
8115 * term/w32-win.el (w32-initialize-window-system):
8116 * term/x-win.el (x-initialize-window-system): Use it to properly
8117 set menu-bar-mode and other vars from X resources, even if the
8118 initial frame is not a window-system frame (Bug#2299).
8119
8120 * subr.el (read-key): Avoid running filter function when setting
8121 up temporary tool bar entries (Bug#9922).
8122
8123 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8124
8125 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8126 (Bug#11344)
8127
8128 2012-04-27 Chong Yidong <cyd@gnu.org>
8129
8130 * select.el (xselect--encode-string): New function, split from
8131 xselect-convert-to-string.
8132 (xselect-convert-to-string): Use it.
8133 (xselect-convert-to-filename, xselect-convert-to-os)
8134 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8135 returned strings are properly encoded (Bug#11315).
8136
8137 2012-04-27 Chong Yidong <cyd@gnu.org>
8138
8139 * simple.el (delete-active-region): Move to killing custom group.
8140
8141 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8142
8143 * progmodes/which-func.el (which-func-current): Quote %
8144 characters for mode-line processing.
8145
8146 2012-04-27 Chong Yidong <cyd@gnu.org>
8147
8148 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8149 reaching eob (Bug#11286).
8150
8151 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8152
8153 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8154 (gdb): Make it buffer-local and init to zero.
8155 (gdb-control-commands-regexp): New variable.
8156 (gdb-send): Don't wrap in "-interpreter-exec console" if
8157 gdb-control-level is positive. Increment gdb-control-level
8158 whenever the command matches gdb-control-commands-regexp, and
8159 decrement it each time the command is "end". (Bug#11279)
8160
8161 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (adjust-window-trailing-edge, enlarge-window)
8164 (shrink-window, window-resize):
8165 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8166 windows (Bug#11276).
8167
8168 2012-04-27 Chong Yidong <cyd@gnu.org>
8169
8170 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8171 fix "missing prefix" warning. All callers changed.
8172
8173 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * emacs-lisp/assoc.el: Move to obsolete/.
8176
8177 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8180
8181 * term/ns-win.el (ns-define-service):
8182 * progmodes/pascal.el (pascal-goto-defun):
8183 * progmodes/js.el (js--read-tab):
8184 * progmodes/etags.el (tags-lazy-completion-table):
8185 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8186 * emacs-lisp/ewoc.el (ewoc--wrap):
8187 * emacs-lisp/assoc.el (aput, adelete, amake):
8188 * doc-view.el (doc-view-convert-current-doc):
8189 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8190
8191 2012-04-26 Chong Yidong <cyd@gnu.org>
8192
8193 * image.el (image-type-from-buffer): Only return supported image
8194 type (Bug#9045).
8195
8196 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8197 value, for symmetry with diff-end-of-hunk.
8198 (diff-split-hunk, diff-find-source-location)
8199 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8200 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8201 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8202 compute the relevant hunk or file properly (Bug#6005).
8203 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8204
8205 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * vc/vc-mtn.el:
8208 * vc/vc-hg.el:
8209 * vc/vc-git.el:
8210 * vc/vc-dir.el:
8211 * vc/vc-cvs.el:
8212 * vc/vc-bzr.el:
8213 * vc/vc-arch.el:
8214 * vc/vc.el: Replace lexical-let by lexical-binding.
8215 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8216 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8217 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8218
8219 2012-04-26 Chong Yidong <cyd@gnu.org>
8220
8221 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8222 (diff-mode-shared-map): Bind it to / and [remap undo].
8223
8224 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8225 (ediff-window-setup-function): Use it as the default, to set up
8226 windows based on whether the current frame is graphical (Bug#2138).
8227 (ediff-choose-window-setup-function-automatically): Make obsolete.
8228
8229 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8230
8231 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * ffap.el: Remove old code for obsolete package.
8234 (ffap-complete-as-file-p): Remove.
8235
8236 Use completion-table-with-quoting for comint and pcomplete.
8237 * comint.el (comint--unquote&requote-argument)
8238 (comint--unquote-argument, comint--requote-argument): New functions.
8239 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8240 (comint-quote-filename): Use regexp-opt-charset.
8241 (comint--common-suffix, comint--common-quoted-suffix)
8242 (comint--table-subvert): Remove.
8243 (comint-unquote-function, comint-requote-function): New vars.
8244 (comint--complete-file-name-data): Use them with
8245 completion-table-with-quoting.
8246 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8247 * pcomplete.el (pcomplete-arg-quote-list)
8248 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8249 (pcomplete-unquote-argument-function): Default to non-nil.
8250 (pcomplete-unquote-argument): Simplify.
8251 (pcomplete--common-quoted-suffix): Remove.
8252 (pcomplete-requote-argument-function): New var.
8253 (pcomplete--common-suffix): New function.
8254 (pcomplete-completions-at-point): Use completion-table-with-quoting
8255 and completion-table-subvert.
8256
8257 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8258 (minibuffer--double-dollars): Preserve properties.
8259 (completion--sifn-requote): New function.
8260 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8261
8262 * minibuffer.el: Add support for completion of quoted/escaped data.
8263 (completion-table-with-quoting, completion-table-subvert): New funs.
8264 (completion--twq-try, completion--twq-all): New functions.
8265 (completion--nth-completion): New function.
8266 (completion-try-completion, completion-all-completions): Use it.
8267
8268 2012-04-25 Leo Liu <sdl.web@gmail.com>
8269
8270 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8271 Use compilation-message if available to find real filename.
8272
8273 2012-04-25 Chong Yidong <cyd@gnu.org>
8274
8275 * vc/diff-mode.el (diff-setup-whitespace): New function.
8276 (diff-mode): Use it.
8277
8278 * vc/diff.el (diff-sentinel):
8279 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8280 Whitespace mode variables based on diff style (Bug#8612).
8281
8282 2012-04-25 Leo Liu <sdl.web@gmail.com>
8283
8284 * progmodes/python.el (python-send-region): Add suffix .py to the
8285 temp file.
8286
8287 * files.el (auto-mode-alist): Use javascript-mode instead.
8288
8289 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8290
8291 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8292
8293 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8294 (soap-resolve-references-for-array-type): Hack to prevent self
8295 references, see Bug#9.
8296 (soap-parse-envelope): Report the contents of the 'detail' node
8297 when receiving a fault reply.
8298 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8299
8300 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8301 (soap-inspect-simple-type): New function.
8302
8303 * net/soap-client.el (soap-simple-type): New struct.
8304 (soap-default-xsd-types, soap-default-soapenc-types)
8305 (soap-decode-basic-type, soap-encode-basic-type):
8306 support unsignedInt and double basic types.
8307 (soap-resolve-references-for-simple-type)
8308 (soap-parse-simple-type, soap-encode-simple-type): New function.
8309 (soap-parse-schema): Parse xsd:simpleType declarations.
8310
8311 * net/soap-client.el (soap-default-xsd-types)
8312 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8313 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8314 the local name of "soapenc:Array".
8315 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8316 decoding integer, byte and anyURI xsd types.
8317
8318 2012-04-25 Chong Yidong <cyd@gnu.org>
8319
8320 * cus-edit.el (custom-buffer-create-internal): Update header text.
8321
8322 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8323
8324 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8325 settings on 'system-type', not on 'window-system'. On MS-Windows,
8326 set interactive-mode on in GDB.
8327
8328 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8331 (ruby-syntax-propertize-regexp): Remove.
8332 (ruby-syntax-propertize-function): Split regexp into chunks.
8333 Match following code directly.
8334
8335 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8336
8337 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8338 (ruby-syntax-propertize-regexp): New function.
8339 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8340 by a special keyword.
8341
8342 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8343 (ruby-syntax-general-delimiters-goto-beg)
8344 (ruby-syntax-propertize-general-delimiters): New functions.
8345 (ruby-syntax-propertize-function): Use them to handle GDL.
8346 (ruby-font-lock-keywords): Move old handling of GDL...
8347 (ruby-font-lock-syntactic-keywords): .. to here.
8348 (ruby-calculate-indent): Adjust indentation for GDL.
8349
8350 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * notifications.el (top): Remove unneeded declarations.
8353 (notifications-specification-version): Change to "1.2".
8354 (notifications-interface, notifications-notify-method)
8355 (notifications-close-notification-method): Fix docstring.
8356 (notifications-get-capabilities-method): New defconst.
8357 (notifications-notify): Add :action-items, :resident and
8358 :transient hints. Change "image_data" to "image-data" and
8359 "image_path" to "image-path".
8360 (notifications-get-capabilities): New defun.
8361
8362 2012-04-24 Leo Liu <sdl.web@gmail.com>
8363
8364 * progmodes/python.el: Move hideshow setup to the end.
8365
8366 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8367
8368 * window.el (handle-select-window): Clear echo area since this is
8369 no more done by read_char (Bug#11304).
8370
8371 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8374 and `/ M' to filter-derived-mode.
8375 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8376 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8377 (ibuffer-mark-by-mode): Use default rather than initial-input.
8378 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8379
8380 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8381
8382 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8383 (ibuffer-filter-by-derived-mode): New filter.
8384 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8385
8386 2012-04-23 Andreas Politz <politza@fh-trier.de>
8387
8388 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8389
8390 2012-04-23 Chong Yidong <cyd@gnu.org>
8391
8392 * cus-edit.el (customize-apropos, customize-apropos-options):
8393 Disable matching of non-option variables (Bug#11176).
8394 (customize-option, customize-option-other-window)
8395 (customize-changed-options): Doc fix.
8396 (customize-apropos-options, customize-apropos-faces)
8397 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8398
8399 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8400 Fix word list splitting (Bug#11132).
8401 (apropos-symbol, apropos-keybinding, apropos-label)
8402 (apropos-property, apropos-function-button)
8403 (apropos-variable-button, apropos-misc-button): New faces.
8404 (apropos-symbol-face, apropos-keybinding-face)
8405 (apropos-label-face, apropos-property-face, apropos-match-face):
8406 Variables removed (Bug#8396).
8407 (apropos-library-button, apropos-format-plist, apropos-print)
8408 (apropos-print-doc, apropos-describe-plist): Callers changed.
8409
8410 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8411
8412 * net/xesam.el (xesam-mode-map): Use let-bound map in
8413 initialization. (Bug#11292)
8414
8415 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8416
8417 Preserve ispell session localwords when switching back to
8418 original buffer.
8419
8420 * textmodes/ispell.el (ispell-buffer-session-localwords):
8421 New buffer-local variable to hold buffer session localwords.
8422 (ispell-kill-ispell): Add option 'clear to delete session
8423 localwords.
8424 (ispell-command-loop, ispell-change-dictionary)
8425 (ispell-buffer-local-words): Preserve session localwords when
8426 needed.
8427
8428 * textmodes/flyspell.el (flyspell-process-localwords)
8429 (flyspell-do-correct): Preserve session localwords when needed.
8430
8431 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8432
8433 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8434 using obsolete `translation-table-for-input'.
8435 (ispell-word, ispell-process-line, ispell-complete-word):
8436 Use plain `insert' instead of removed `ispell-insert-word'.
8437
8438 2012-04-22 Chong Yidong <cyd@gnu.org>
8439
8440 * cus-edit.el (custom-variable-menu)
8441 (custom-variable-reset-saved, custom-face-menu)
8442 (custom-face-reset-saved): If there is no saved value, make the
8443 "reset-saved" operation bring back the default (Bug#9509).
8444 (custom-face-state): Properly detect themed faces.
8445
8446 * faces.el (face-spec-set): Stop supporting deprecated form of
8447 third arg.
8448
8449 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8450
8451 Move functions from C to Lisp. Make non-blocking method calls
8452 the default. Implement further D-Bus standard interfaces.
8453
8454 * net/dbus.el (dbus-message-internal): Declare function.
8455 Remove unneeded function declarations.
8456 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8457 (dbus-message-type-method-return, dbus-message-type-error)
8458 (dbus-message-type-signal): Declare variables. Remove local
8459 definitions.
8460 (dbus-interface-dbus, dbus-interface-peer)
8461 (dbus-interface-introspectable, dbus-interface-properties)
8462 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8463 Adapt docstring.
8464 (dbus-interface-objectmanager): New defconst.
8465 (dbus-call-method, dbus-call-method-asynchronously)
8466 (dbus-send-signal, dbus-method-return-internal)
8467 (dbus-method-error-internal, dbus-register-service)
8468 (dbus-register-signal, dbus-register-method): New defuns, moved
8469 from dbusbind.c
8470 (dbus-call-method-handler, dbus-setenv)
8471 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8472 New defuns.
8473 (dbus-call-method-non-blocking): Make it an obsolete function.
8474 (dbus-unregister-object, dbus-unregister-service)
8475 (dbus-handle-event, dbus-register-property)
8476 (dbus-property-handler): Obey the new structure of
8477 `bus-registered-objects'.
8478 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8479 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8480 Use `dbus-call-method'.
8481
8482 2012-04-22 Chong Yidong <cyd@gnu.org>
8483
8484 * cus-edit.el (custom-commands, custom-reset-menu)
8485 (Custom-reset-standard): Tweak labels.
8486 (custom-reset-button-menu): Change default to t.
8487 (custom-buffer-create-internal): For the custom-reset-button-menu
8488 case, put the revert button first.
8489 (custom-group-subtitle): New face.
8490 (custom-group-value-create): Align docstring to a specific column.
8491
8492 * wid-edit.el (widget-documentation-link-add): Don't handle
8493 indentation in this function.
8494 (widget-documentation-string-indent-to): New function.
8495 (widget-documentation-string-value-create): Use it.
8496
8497 * autorevert.el (auto-revert):
8498 * epg-config.el (epg):
8499 * ibuffer.el (ibuffer):
8500 * mpc.el (mpc):
8501 * ses.el (ses):
8502 * eshell/eshell.el (eshell):
8503 * net/ange-ftp.el (ange-ftp):
8504 * progmodes/ebnf2ps.el (postscript):
8505 * progmodes/flymake.el (flymake):
8506 * progmodes/prolog.el (prolog):
8507 * progmodes/verilog-mode.el (verilog-mode):
8508 * progmodes/which-func.el (which-func):
8509 * term/xterm.el (xterm):
8510 * textmodes/picture.el (picture):
8511 * textmodes/tildify.el (tildify):
8512 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8513 customization buffers.
8514
8515 2012-04-22 Alan Mackenzie <acm@muc.de>
8516
8517 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8518 Adding a ) can hide the resulting (..) from searches. Fix it.
8519 Bound the backward search to the position of the existing (.
8520
8521 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8522
8523 * progmodes/verilog-mode.el (verilog-mode): Check whether
8524 which-func-modes is t before adding verilog-mode.
8525 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8526
8527 2012-04-21 Leo Liu <sdl.web@gmail.com>
8528
8529 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8530
8531 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8532
8533 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8534 filling of the last column of a table (Bug#5635).
8535 (woman-find-next-control-line): New arg, specifying an additional
8536 regexp component for the control line.
8537 (woman2-roff-buffer): Use it.
8538 (woman-break-table): New function.
8539 (woman2-TS): Use it.
8540
8541 2012-04-21 Chong Yidong <cyd@gnu.org>
8542
8543 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8544 (woman-horizontal-escapes, woman-negative-vertical-space)
8545 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8546 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8547
8548 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * minibuffer.el (completion-file-name-table): Complete user names.
8551
8552 2012-04-20 Leo Liu <sdl.web@gmail.com>
8553
8554 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8555 and pcase-let*.
8556
8557 2012-04-20 Chong Yidong <cyd@gnu.org>
8558
8559 * server.el (server-execute): Respect initial-buffer-choice if it
8560 is a string and there are no files to open (Bug#2825).
8561 (server-create-window-system-frame, server-create-tty-frame):
8562 Don't switch buffers here.
8563 (server-process-filter): Only try to open a window system frame if
8564 compiled with graphical support (Bug#8314).
8565
8566 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8567
8568 * battery.el (battery-echo-area-format): Display remaining time
8569 for sysfs backend too (Bug#11269).
8570 (battery-linux-sysfs): Fix conditional for the charge.
8571
8572 2012-04-20 Chong Yidong <cyd@gnu.org>
8573
8574 * progmodes/gdb-mi.el (gdb): Revert previous change.
8575 (gdb-inferior-io--init-proc): New function.
8576 (gdb-init-1): Use it.
8577 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8578 responsible for allocating a new pty and hooking it to gdb when
8579 the old pty gets an EIO due to process exit.
8580 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8581 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8582 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8583
8584 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8585
8586 * window.el (window-min-size, window-sizable, window-min-delta)
8587 (window-max-delta, window--resizable, window-resizable)
8588 (window-total-size, window-full-height-p, window-full-width-p)
8589 (window-in-direction, window--resize-mini-window, window-resize)
8590 (window--resize-child-windows-normal)
8591 (window--resize-child-windows, window--resize-siblings)
8592 (window--resize-this-window, adjust-window-trailing-edge)
8593 (enlarge-window, shrink-window): Doc fixes.
8594
8595 2012-04-20 Chong Yidong <cyd@gnu.org>
8596
8597 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8598 New function to call delete-process on the gdb-inferior buffer's pty.
8599 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8600 pty process (Bug#11273).
8601 (gdb-update): New arg to suppress talking to the gdb process.
8602 (gdb-done-or-error): Use it.
8603 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8604 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8605 sentinel not being called.
8606
8607 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8608
8609 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8610
8611 2012-04-20 Glenn Morris <rgm@gnu.org>
8612
8613 * net/network-stream.el (open-network-stream): Doc fix.
8614
8615 2012-04-20 Chong Yidong <cyd@gnu.org>
8616
8617 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8618
8619 2012-04-20 Alan Mackenzie <acm@muc.de>
8620
8621 Ensure searching for keywords is case sensitive.
8622
8623 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8624 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8625 (c-defun-name, c-mark-function, c-cpp-define-name)
8626 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8627 (c-context-line-break): Bind case-fold-search to nil.
8628
8629 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8630 Bind case-fold-search to nil.
8631
8632 2012-04-20 Chong Yidong <cyd@gnu.org>
8633
8634 * mail/sendmail.el (mail-bury): Call return action with the right
8635 Rmail buffer (Bug#11242).
8636
8637 * server.el (server-process-filter): Handle corner case where both
8638 tty and nowait options are present (Bug#11102).
8639
8640 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8641
8642 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8643 (top level): Put into the executable the ident-style '$Id:' tag on
8644 windows-nt as well.
8645
8646 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * electric.el (electric-indent-post-self-insert-function): Check that
8649 electric-indent-mode is enabled in current buffer.
8650
8651 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * imenu.el (imenu-progress-message): Restore; it is "used" in
8654 erc/erc-imenu.el and net/snmp-mode.el.
8655
8656 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8657
8658 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8659 (mouse-avoidance-nudge-mouse): Remove unused binding.
8660
8661 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8662
8663 * descr-text.el (describe-char):
8664 * progmodes/python.el (python-describe-symbol):
8665 Don't call `toggle-read-only', set `buffer-read-only'.
8666
8667 * imenu.el (imenu-default-goto-function): Mark unused args.
8668 (imenu-progress-message): Remove obsolete macro; all callers changed.
8669
8670 * subr.el (keymap-canonicalize): Remove unused binding.
8671 (read-passwd): Mark unused arg.
8672
8673 * tutorial.el (tutorial--display-changes): Remove unused binding.
8674 (tutorial--save-tutorial-to): Remove unused variable.
8675
8676 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8677 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8678 (package-generate-autoloads, package-menu--generate)
8679 (package-menu--find-upgrades): Remove unused bindings.
8680
8681 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8682 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8683 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8684 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8685 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8686 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8687 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8688 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8689 (cua-delete-char-rectangle): Mark unused args.
8690 (cua-align-rectangle): Remove unused binding.
8691
8692 * mail/rmail.el (compilation--message->loc)
8693 (epa--find-coding-system-for-mime-charset): Declare.
8694
8695 * net/dbus.el (dbus-register-service): Declare.
8696 (dbus-name-owner-changed-handler): Remove unused binding.
8697
8698 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8699 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8700 (nxml-scan-backward-within): Mark unused arg.
8701 (nxml-dynamic-markup-word): Remove unused binding.
8702
8703 * mouse.el (mouse-menu-major-mode-map):
8704 * emacs-lisp/authors.el (authors-scan-change-log)
8705 (authors-add-to-author-list):
8706 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8707 * emacs-lisp/smie.el (smie-auto-fill):
8708 * mail/sendmail.el (mail-bury):
8709 * mail/unrmail.el (unrmail):
8710 * net/tls.el (open-tls-stream):
8711 * textmodes/picture.el (picture-mouse-set-point):
8712 Remove unused bindings.
8713
8714 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8715
8716 * net/tramp.el (tramp-action-password): Let-bind
8717 `enable-recursive-minibuffers' to t.
8718
8719 2012-04-18 Sam Steingold <sds@gnu.org>
8720
8721 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8722 instead of 'string to accommodate values like [f11].
8723 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8724 * progmodes/gdb-mi.el: Likewise.
8725
8726 2012-04-18 Leo Liu <sdl.web@gmail.com>
8727
8728 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8729 current buffer.
8730 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8731 LOCAL is nil.
8732
8733 2012-04-18 Chong Yidong <cyd@gnu.org>
8734
8735 * simple.el (line-move): Use forward-line if in batch mode
8736 (Bug#11053).
8737
8738 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8739
8740 * files.el (after-find-file): Do not try to add a final newline if
8741 the buffer is read-only (Bug#11156).
8742
8743 2012-04-17 Richard Stallman <rms@gnu.org>
8744
8745 * mail/rmail.el (rmail-start-mail):
8746 Pass (rmail-mail-return...) for the return-action.
8747 Pass (rmail-yank-current-message...) for the yank-action.
8748 (rmail-yank-current-message): New function.
8749 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8750 (rmail-reply): Likewise.
8751 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8752
8753 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8754 buffer, not the last. Reject temp buffers. Use the rmail-mode
8755 buffer, not newbuf.
8756
8757 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8758
8759 * server.el (server-ensure-safe-dir): Simplify.
8760
8761 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * emacs-lisp/smie.el: Provide smarter auto-filling.
8764 (smie-auto-fill): New function.
8765 (smie-setup): Use it.
8766
8767 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8768
8769 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8770
8771 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8772 (comment-indent): Use it.
8773
8774 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8775
8776 * ses.el: The overall change is to add cell renaming, that is
8777 setting fancy names for cell symbols other than name matching
8778 "\\`[A-Z]+[0-9]+\\'" regexp .
8779 (ses-localvars): Add ses--renamed-cell-symb-list.
8780 (ses-create-cell-variable): New defun.
8781 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8782 (ses-relocate-formula): Relocate formulas only for cells the
8783 symbols of which are not renamed, i.e. symbols whose names do not
8784 match regexp "\\`[A-Z]+[0-9]+\\'".
8785 (ses-relocate-all): Relocate values only for cells the symbols of
8786 which are not renamed.
8787 (ses-load): Create cells variables as the (ses-cell ...) are read,
8788 in order to check row col consistency with cell symbol name only
8789 for cells that are not renamed.
8790 (ses-replace-name-in-formula): New defun.
8791 (ses-rename-cell): New defun.
8792
8793 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8794
8795 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8796 New option (bug#11118).
8797 (perl-calculate-indent): Respect it.
8798
8799 2012-04-17 Glenn Morris <rgm@gnu.org>
8800
8801 * dired-aux.el (dired-mark-read-string): Doc fix.
8802
8803 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8804
8805 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8806 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8807
8808 2012-04-17 Glenn Morris <rgm@gnu.org>
8809
8810 * mouse.el (mouse-drag-track):
8811 * speedbar.el (speedbar-frame-mode):
8812 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8813
8814 2012-04-16 Leo Liu <sdl.web@gmail.com>
8815
8816 * progmodes/python.el: Trivial cleanup.
8817
8818 2012-04-16 Glenn Morris <rgm@gnu.org>
8819
8820 * vc/vc.el (vc-string-prefix-p):
8821 * vc/pcvs-util.el (cvs-string-prefix-p):
8822 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8823 * mpc.el (mpc-string-prefix-p):
8824 Make all of these into obsolete aliases for string-prefix-p.
8825 Update callers.
8826 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8827
8828 * textmodes/two-column.el: Move custom options to the start.
8829 (frame-width): Remove compat definition.
8830 (2C-associate-buffer, 2C-dissociate):
8831 Use with-current-buffer rather than save-excursion.
8832 (2C-dissociate): Force a mode-line update.
8833 (2C-autoscroll): Use ignore-errors.
8834
8835 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8836 Autoload trivia.
8837
8838 * emacs-lisp/cl-extra.el (*random-state*):
8839 Remove unnecessary declaration.
8840
8841 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8842
8843 * play/cookie1.el (cookie-snarf):
8844 Give an explicit error if input file cannot be read.
8845
8846 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8847
8848 * progmodes/perl-mode.el (c-macro-expand):
8849 Remove unnecessary autoload (it is in loaddefs.el).
8850
8851 * textmodes/picture.el (picture-desired-column)
8852 (picture-update-desired-column): Convert comments to doc-strings.
8853 (picture-substitute): Remove function.
8854 (picture-mode-map): Initialize in the defvar.
8855
8856 * woman.el: Remove eval-after-load for tar-mode.
8857 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8858 (woman-tar-extract-file): Autoload it.
8859
8860 * frame.el (automatic-hscrolling): Make this alias obsolete.
8861
8862 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8863
8864 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8865 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8866 (ispell-dictionary-base-alist): Revert to original XEmacs
8867 friendly version for default. [:alpha:] will be added in
8868 `ispell-set-spellchecker-params' if needed.
8869
8870 2012-04-16 Chong Yidong <cyd@gnu.org>
8871
8872 * image.el (imagemagick--file-regexp): New variable.
8873 (imagemagick-register-types): Use it.
8874 (imagemagick-types-inhibit): Add :set function. Allow new value
8875 of t to inhibit all types.
8876
8877 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8878 so we can preload it.
8879
8880 * loadup.el (fboundp): Preload regexp-opt, needed by
8881 imagemagick-register-types.
8882
8883 2012-04-15 Chong Yidong <cyd@gnu.org>
8884
8885 * frame.el (scrolling): Remove nearly unused customization group.
8886
8887 * scroll-all.el (scroll-all-mode): Move to windows group.
8888
8889 2012-04-15 Chong Yidong <cyd@gnu.org>
8890
8891 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8892
8893 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8896 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8897
8898 2012-04-15 Glenn Morris <rgm@gnu.org>
8899
8900 * simple.el (process-file-side-effects): Doc fix.
8901
8902 2012-04-15 Glenn Morris <rgm@gnu.org>
8903
8904 * international/mule-cmds.el (set-language-environment): Doc fix.
8905
8906 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8907
8908 * server.el (server-auth-key, server-generate-key): Doc fixes.
8909 (server-get-auth-key): Doc fix. Use `string-match-p'.
8910 (server-start): Reflow docstring.
8911
8912 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8913
8914 * server.el (server-generate-key): `called-interactively-p'
8915 requires a parameter.
8916
8917 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8918
8919 * server.el (server-auth-key): New variable.
8920 (server-generate-key, server-get-auth-key): New function.
8921 (server-start): Use the new variable and functions to allow
8922 setting a permanent server key (bug#9423).
8923
8924 2012-04-14 Leo Liu <sdl.web@gmail.com>
8925
8926 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8927
8928 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8929
8930 Spelling fixes.
8931 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8932 Emacs uses American spelling.
8933
8934 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8935
8936 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8937 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8938 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8939 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8940
8941 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * progmodes/which-func.el (which-func-modes): Change default.
8944
8945 2012-04-14 Kim F. Storm <storm@cua.dk>
8946
8947 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8948 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8949
8950 2012-04-14 Chong Yidong <cyd@gnu.org>
8951
8952 * custom.el (custom-theme-set-variables): Doc fix.
8953
8954 2012-04-14 Glenn Morris <rgm@gnu.org>
8955
8956 * international/mule.el (set-auto-coding-for-load): Doc fix.
8957
8958 2012-04-14 Alan Mackenzie <acm@muc.de>
8959
8960 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8961 imenu work again for Objective C Mode. Correct the *-index values,
8962 these having been disturbed by a previous change in 2011-08.
8963
8964 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8965 Correct two search limits.
8966
8967 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8970
8971 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8972
8973 * international/characters.el: Fix sorting.
8974
8975 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8976
8977 * international/characters.el: Add more missing Latin case pairs.
8978
8979 2012-04-14 Glenn Morris <rgm@gnu.org>
8980
8981 * files.el (dir-locals-set-class-variables): Doc fix.
8982
8983 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8984
8985 * international/characters.el: Add set-case-syntax-pair call for
8986 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8987 counterpart. (Bug#11209)
8988
8989 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8990
8991 2012-04-14 Glenn Morris <rgm@gnu.org>
8992
8993 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8994
8995 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8996
8997 * textmodes/ispell.el (ispell-dictionary-base-alist):
8998 Add data for Hebrew.
8999
9000 2012-04-14 Chong Yidong <cyd@gnu.org>
9001
9002 * net/rcirc.el (rcirc-cmd-quit):
9003 Revert 2012-03-18 change (Bug#11192).
9004
9005 2012-04-14 Glenn Morris <rgm@gnu.org>
9006
9007 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9008
9009 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9010
9011 * minibuffer.el (completion-in-region-mode-map):
9012 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9013
9014 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9015
9016 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9017
9018 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9019
9020 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9021 to allow `C-M-f' and `C-M-b' to move to the nearest path
9022 separator (bug#9511).
9023
9024 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9025
9026 * avoid.el: Require cl when compiling. And also move the
9027 `provide' to the end.
9028
9029 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9030
9031 * avoid.el (mouse-avoidance-banish-position): New variable.
9032 (mouse-avoidance-banish-destination): Use it (bug#10165).
9033
9034 2012-04-13 Leo Liu <sdl.web@gmail.com>
9035
9036 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9037
9038 2012-04-13 Ken Brown <kbrown@cornell.edu>
9039
9040 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9041 this is no longer needed now that cygstart understands file:// URLs.
9042 (browse-url-filename-alist): For the same reason, don't modify
9043 file:// URLs on Cygwin.
9044
9045 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9048 the region on shift if the binding is already shifted (bug#11221).
9049
9050 2012-04-12 Glenn Morris <rgm@gnu.org>
9051
9052 * mail/mailpost.el: Move to obsolete/.
9053
9054 2012-04-12 Drew Adams <drew.adams@oracle.com>
9055
9056 * imenu.el (imenu--generic-function): Ignore invisible definitions
9057 (bug#10123).
9058
9059 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9060
9061 * hexl.el (hexl-bits): New variable.
9062 (hexl-options): Mention the variable in the doc string.
9063 (hexl-rulerise, hexl-line-displen): New functions.
9064 (hexl-mode): Mention the new variable.
9065 (hexl-mode, hexl-current-address, hexl-current-address):
9066 Use the displen.
9067 (hexl-ascii-start-column): New function.
9068 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9069 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9070
9071 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9072
9073 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9074 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9075 the encoding, as expected by hunspell.
9076
9077 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * battery.el (battery--linux-sysfs-regexp): New const.
9080 (battery-status-function): Use it. Remove yeeloong special case.
9081 (battery-yeeloong-sysfs): Remove.
9082 (battery-echo-area-format): Remove yeeloong special case.
9083
9084 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9087 Reported by Noah Friedman.
9088
9089 * subr.el (read-passwd): Use read-string.
9090
9091 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
9093 * vcursor.el (vcursor-move): Increase the priority of the overlay
9094 (bug#9663).
9095
9096 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9097
9098 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9099 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9100
9101 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9102
9103 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9104 define-minor-mode (bug#10760).
9105
9106 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9107
9108 * progmodes/grep.el (rgrep): Tweak the find command line so
9109 that directories matching `grep-find-ignored-files' won't be
9110 pruned (bug#10351).
9111
9112 2012-04-11 Chong Yidong <cyd@gnu.org>
9113
9114 * startup.el (command-line): Remove support for long-obsolete
9115 variable font-lock-face-attributes.
9116
9117 2012-04-11 Glenn Morris <rgm@gnu.org>
9118
9119 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9120
9121 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * window.el (window--state-get-1): Obey window-point-insertion-type.
9124
9125 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9126
9127 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9128 to previous function when point is on the first character of a
9129 function. Take care of that in `narrow-to-defun' (bug#6157).
9130
9131 2012-04-11 Glenn Morris <rgm@gnu.org>
9132
9133 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9134 not just file-errors.
9135
9136 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9137 (vc-bzr-sha1): Use internal sha1.
9138
9139 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9142
9143 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9144
9145 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9146 that start in the middle of the line (bug#10496).
9147
9148 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9149
9150 * battery.el (battery-linux-proc-acpi): Only one battery is
9151 discharged at a time, but that seems to confuse battery.el when
9152 computing `rate-type' for the battery not being discharged
9153 (bug#10332).
9154
9155 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9158
9159 * international/quail.el: Use dolist and simplify.
9160 (quail-define-package, quail-update-keyboard-layout)
9161 (quail-define-rules): Use dolist.
9162 (quail-insert-kbd-layout, quail-get-translation): CSE.
9163
9164 * tmm.el: Use dolist, remove left over hook.
9165 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9166 Use dolist.
9167 (calendar-load-hook): Don't mess with it.
9168
9169 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9170 Use derived-mode-p. Run the diff asynchronously.
9171
9172 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
9174 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9175
9176 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9177
9178 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9179 (list-dynamic-libraries--loaded): New function.
9180 (list-dynamic-libraries--refresh): Use it.
9181
9182 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9183
9184 * progmodes/python.el (python-fill-paragraph):
9185 Make python-fill-region in a multiline string work when font-lock is
9186 disabled (bug#7018).
9187
9188 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9189
9190 * language/european.el (cp775): Add oem/legacy (en)coding on
9191 DOS/MS Windows for the Baltic languages. There are still plenty
9192 of texts written in this encoding/codepage (bug#6519).
9193
9194 2012-04-10 Glenn Morris <rgm@gnu.org>
9195
9196 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9197 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9198
9199 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9200
9201 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9202 next-line "n" and previous-line "p" in order to make recentf more
9203 consistent with ibuffer, dired or org-mode (bug#9387).
9204
9205 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9206
9207 * image.el (put-image): Return the overlay created instead of the
9208 optional input string (bug#7834). Note that this may break code
9209 that is (for some reason or other) depending on `put-image'
9210 returning the string.
9211
9212 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9213
9214 * simple.el (zap-to-char): Allow zapping using input methods
9215 (bug#1580).
9216
9217 * textmodes/fill.el (fill-region): Leave point and mark where they
9218 were before filling (bug#5399).
9219
9220 2012-04-09 Glenn Morris <rgm@gnu.org>
9221
9222 * version.el (emacs-bzr-get-version):
9223 Handle lightweight checkouts of local branches.
9224
9225 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9226
9227 * international/characters.el: Recover lost case pairs. (Bug#11209)
9228
9229 2012-04-09 Chong Yidong <cyd@gnu.org>
9230
9231 * custom.el (custom-variable-p): Return nil for non-symbol
9232 arguments instead of signaling an error.
9233 (user-variable-p): Obsolete alias for custom-variable-p.
9234
9235 * apropos.el (apropos-variable):
9236 * files-x.el (read-file-local-variable):
9237 * simple.el (set-variable):
9238 * woman.el (woman-mini-help):
9239 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9240
9241 2012-04-09 Glenn Morris <rgm@gnu.org>
9242
9243 * startup.el (normal-top-level): Don't look for leim-list.el
9244 in places where it will not be found. (Bug#910)
9245
9246 * international/mule-cmds.el (set-default-coding-systems):
9247 * files.el (normal-mode):
9248 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9249 This function was removed with ucs-tables.el in 2008.
9250
9251 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9252
9253 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9254 ispell-encoding8-command to "-i", without a trailing space.
9255 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9256 separate command-line arguments, to specify the encoding, since
9257 that's how hunspell expects it.
9258
9259 2012-04-08 Glenn Morris <rgm@gnu.org>
9260
9261 * loadup.el: Load bindings before cus-start.
9262 This reduces somewhat the number of "rogue" settings in emacs -Q.
9263
9264 2012-04-07 Glenn Morris <rgm@gnu.org>
9265
9266 * version.el (emacs-bzr-get-version): New function.
9267 (emacs-bzr-version): New variable.
9268 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9269 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9270
9271 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9272
9273 * international/uni-bidi.el, international/uni-category.el:
9274 * international/uni-combining.el, international/uni-decimal.el:
9275 * international/uni-decomposition.el, international/uni-digit.el:
9276 * international/uni-lowercase.el, international/uni-mirrored.el:
9277 * international/uni-name.el, international/uni-numeric.el:
9278 * international/uni-titlecase.el, international/uni-uppercase.el:
9279 Update for Unicode 6.1.
9280
9281 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9282
9283 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9284
9285 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286
9287 * window.el (shrink-window): Mention the `window-min-height'
9288 variable in the doc string.
9289
9290 2012-04-05 Bastien Guerry <bzg@altern.org>
9291
9292 * color.el (color-lighten-name): Fix typo.
9293
9294 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * server.el (server--on-display-p): New function.
9297 (server--on-display-p): Use it.
9298
9299 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9300
9301 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9302 (bug#11145).
9303
9304 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * comint.el (comint--common-quoted-suffix): Check string boundary
9307 before comparing (bug#11158).
9308 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9309
9310 2012-04-04 Chong Yidong <cyd@gnu.org>
9311
9312 * minibuffer.el (completion-extra-properties): Doc fix.
9313
9314 * subr.el (delayed-warnings-hook): Doc fix.
9315
9316 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9317
9318 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9319 selection (Bug#11159).
9320 (epa-insert-keys): Inform that the default public key will be
9321 exported if no key is selected.
9322
9323 2012-04-04 Richard Stallman <rms@gnu.org>
9324
9325 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9326
9327 2012-04-03 Chong Yidong <cyd@gnu.org>
9328
9329 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9330 mail-insert-file, not its obsolete alias mail-attach-file.
9331
9332 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9333
9334 * notifications.el (notifications-notify): Fix docstring.
9335
9336 2012-04-02 Glenn Morris <rgm@gnu.org>
9337
9338 * emacs-lisp/authors.el (authors-aliases): Another addition.
9339
9340 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9341
9342 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9343 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9344 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9345
9346 2012-04-01 Chong Yidong <cyd@gnu.org>
9347
9348 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9349 Handle root directory properly.
9350 (copy-directory): Caller changed.
9351
9352 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9353 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9354
9355 2012-03-31 Glenn Morris <rgm@gnu.org>
9356
9357 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9358
9359 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9360
9361 * calendar/calendar.el (calendar-window-list)
9362 (calendar-hide-window): Restore. (Bug#11140)
9363 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9364
9365 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9366
9367 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9368
9369 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9370 Check if file is a symlink (Bug#10489).
9371
9372 * files.el (copy-directory): Likewise.
9373
9374 2012-03-30 Chong Yidong <cyd@gnu.org>
9375
9376 * image.el (imagemagick-types-inhibit)
9377 (imagemagick-register-types): Doc fix.
9378
9379 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9380
9381 * textmodes/ispell.el (ispell-get-extended-character-mode):
9382 Disable extended-char-mode for hunspell. hunspell does not support it
9383 and treats ~word as ordinary words in pipe mode.
9384
9385 2012-03-30 Glenn Morris <rgm@gnu.org>
9386
9387 * tutorial.el (help-with-tutorial): Ensure local variables don't
9388 happen to make the buffer read-only. (Bug#11127)
9389
9390 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9393 (perl-calculate-indent): Return `noindent' in strings.
9394
9395 2012-03-28 Sam Steingold <sds@gnu.org>
9396
9397 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9398 instead of the broken adhockery which does not prevent calendar
9399 buffers from being displayed at random after exit.
9400 (calendar-window-list, calendar-hide-window): Remove the broken
9401 adhockery.
9402
9403 2012-03-28 Glenn Morris <rgm@gnu.org>
9404
9405 * replace.el (query-replace-map): Doc fix.
9406
9407 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9410 contents. (Bug#11109)
9411
9412 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9415 (bug#11077).
9416 (avl-tree--check, avl-tree--check-node): New funs.
9417
9418 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9419
9420 * window.el (switch-to-visible-buffer): New option.
9421 (switch-to-prev-buffer, switch-to-next-buffer):
9422 Observe switch-to-visible-buffer. Make sure that checking for a window
9423 showing a buffer already is done on the same frame.
9424
9425 2012-03-27 Glenn Morris <rgm@gnu.org>
9426
9427 * startup.el (mail-host-address): Doc fix.
9428
9429 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9432 than 197 variables.
9433
9434 2012-03-26 Ami Fischman <ami@fischman.org>
9435
9436 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9437
9438 2012-03-26 Glenn Morris <rgm@gnu.org>
9439
9440 * files.el (save-buffers-kill-emacs): Doc fix.
9441
9442 * startup.el (normal-top-level, command-line, command-line-1):
9443 Give them doc strings.
9444
9445 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9446
9447 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9448 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9449
9450 2012-03-25 Chong Yidong <cyd@gnu.org>
9451
9452 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9453 theme if it was previously enabled before (Bug#11031).
9454
9455 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9456 spec with custom-face-get-current-spec if its :shown-value is not
9457 determined yet (Bug#9337).
9458 (customize-create-theme, custom-theme-revert): Doc fixes.
9459
9460 * button.el (button-at): Minor addition to docstring.
9461
9462 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9463
9464 * vc/vc.el (vc-merge): Fix a prompt.
9465
9466 2012-03-24 Chong Yidong <cyd@gnu.org>
9467
9468 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9469 point (Bug#9623).
9470
9471 * button.el (button-at): Minor addition to docstring.
9472
9473 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * newcomment.el (comment-choose-indent): No space after BOL.
9476
9477 2012-03-22 Sam Steingold <sds@gnu.org>
9478
9479 * window.el (switch-to-prev-buffer): Revert last patch because the
9480 bug turned out to be an advertised feature (Elisp manual 28.14).
9481
9482 2012-03-22 Glenn Morris <rgm@gnu.org>
9483
9484 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9485 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9486
9487 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9488
9489 * net/network-stream.el (network-stream-open-starttls): Make error
9490 message under Windows be less misleading.
9491
9492 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9493
9494 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9495 understands (bug#9942).
9496
9497 2012-03-22 Chong Yidong <cyd@gnu.org>
9498
9499 * simple.el (end-of-visible-line): Handle return value of
9500 next-single-property-change properly (Bug#9371).
9501
9502 2012-03-22 Kenichi Handa <handa@m17n.org>
9503
9504 * international/quail.el (quail-insert-kbd-layout): Fix previous
9505 change. To avoid unwanted bidi reordering, use
9506 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9507
9508 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9509
9510 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9511 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9512 (ruby-beginning-of-indent): Be more careful with the difference
9513 between word-boundary and symbol boundary.
9514 (ruby-mode-syntax-table): Make : a symbol constituent.
9515
9516 2012-03-21 Andreas Politz <politza@fh-trier.de>
9517
9518 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9519
9520 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * progmodes/etags.el (tags-completion-at-point-function):
9523 Improve last fix.
9524
9525 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9526
9527 2012-03-21 Sam Steingold <sds@gnu.org>
9528
9529 * progmodes/etags.el (tags-completion-at-point-function):
9530 Avoid the error when point is inside the pattern.
9531
9532 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9533
9534 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9535 line (Bug#10855).
9536
9537 2012-03-21 Drew Adams <drew.adams@oracle.com>
9538
9539 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9540
9541 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9542
9543 * ido.el (ido-set-current-directory, ido-read-internal)
9544 (ido-choose-completion-string, ido-completion-help): Handle nil
9545 value of ido-completion-buffer (Bug#11008).
9546
9547 2012-03-21 Sam Steingold <sds@gnu.org>
9548
9549 * window.el (switch-to-prev-buffer): Do not switch to a visible
9550 window previous buffer, just like with the frame previous buffers.
9551
9552 2012-03-21 Chong Yidong <cyd@gnu.org>
9553
9554 * faces.el (make-face, make-empty-face, copy-face):
9555 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9556 Doc fixes.
9557
9558 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9561 (widget-complete): Remove broken use of it.
9562
9563 2012-03-20 Chong Yidong <cyd@gnu.org>
9564
9565 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9566 Use string-width and truncate-string-width to handle arbitrary
9567 characters.
9568
9569 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9570
9571 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9572 to draw rectangles, not squares. (Regression introduced by revno
9573 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9574
9575 2012-03-18 Chong Yidong <cyd@gnu.org>
9576
9577 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9578 it is not yet defined (for temacs).
9579
9580 2012-03-18 Leo Liu <sdl.web@gmail.com>
9581
9582 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9583 prefix.
9584
9585 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9586
9587 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9588 (ispell-choices-win-default-height, ispell-silently-savep)
9589 (ispell-dictionary-alist, ispell-encoding8-command)
9590 (ispell-check-version, ispell-aspell-find-dictionary)
9591 (ispell-valid-dictionary-list, ispell-words-keyword)
9592 (ispell-get-word, ispell-internal-change-dictionary)
9593 (ispell-region, ispell-skip-region-list)
9594 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9595 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9596 (ispell-message-text-end, ispell-message)
9597 (ispell-buffer-local-parsing): Doc fix.
9598
9599 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9600
9601 * htmlfontify.el: Add support for code block fontification for ODT
9602 export (Bug #9914).
9603 (hfy-optimisations): Define new option
9604 `body-text-only'
9605 (hfy-fontify-buffer): Honor above setting.
9606 (hfy-begin-span, hfy-end-span): New routines factored out form
9607 `hfy-fontify-buffer'.
9608 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9609 that permit insertion of custom tags.
9610 (hfy-fontify-buffer): Use above handlers.
9611 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9612 (hfy-face-to-css): Re-defined to be a variable.
9613 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9614 over multiple runs. This is made possible by having the caller let
9615 bind a special variable `hfy-user-sheet-assoc'.
9616 (htmlfontify-string): New defun.
9617 (hfy-compile-face-map): Make sure that the last char in the
9618 buffer is correctly fontified.
9619 (hfy-face-resolve-face): Whitespace only change.
9620
9621 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9622
9623 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9624 message more clear.
9625
9626 2012-03-16 Leo Liu <sdl.web@gmail.com>
9627
9628 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9629
9630 2012-03-16 Alan Mackenzie <acm@muc.de>
9631
9632 Further optimise the handling of large macros.
9633
9634 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9635 limit to a call of `c-literal-limits'.
9636 (c-determine-+ve-limit): New function.
9637 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9638 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9639 In CASE 5B, restrict a search limit to 500.
9640 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9641
9642 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9643 Restrict macro bounds to +-500 from after-change's BEG END.
9644
9645 2012-03-16 Leo Liu <sdl.web@gmail.com>
9646
9647 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9648
9649 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9650
9651 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9652 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9653
9654 2012-03-16 Glenn Morris <rgm@gnu.org>
9655
9656 * view.el (view-buffer, view-buffer-other-window)
9657 (view-buffer-other-frame): Doc fixes re special mode-class.
9658
9659 * subr.el (eval-after-load): If named feature is provided not from
9660 a file, run after-load forms. (Bug#10946)
9661
9662 * calendar/calendar.el (calendar-insert-at-column):
9663 Handle non-unit-width characters a bit better. (Bug#10978)
9664
9665 2012-03-15 Chong Yidong <cyd@gnu.org>
9666
9667 * emacs-lisp/ring.el (ring-extend): New function.
9668 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9669
9670 * comint.el (comint-read-input-ring)
9671 (comint-add-to-input-history): Grow comint-input-ring lazily.
9672
9673 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9676 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9677
9678 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9679 (imenu-add-to-menubar): Don't add a redundant index.
9680 (imenu-update-menubar): Handle a dynamically composed keymap.
9681
9682 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9683
9684 * mail/sendmail.el (mail-encode-header):
9685 Bind rfc2047-encode-encoded-words to nil.
9686
9687 2012-03-13 Glenn Morris <rgm@gnu.org>
9688
9689 * calendar/calendar.el (calendar-string-spread):
9690 Handle non-unit-width characters a bit better. (Bug#10978)
9691
9692 2012-03-13 Leo Liu <sdl.web@gmail.com>
9693
9694 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9695 directory and file as argument (Bug#10822).
9696
9697 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9698
9699 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9700 For dynamically generated code, follow $PC.
9701 (gdb-disassembly-handler-custom): Handle no function name case.
9702
9703 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9704
9705 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9706 * emulation/ws-mode.el (ws-query-replace):
9707 * sort.el (sort-regexp-fields):
9708 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9709
9710 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * dabbrev.el: Fix cycle completion order (bug#10963).
9713 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9714 (dabbrev-completion): Don't use an obarray; provide
9715 a cycle-sort-function.
9716
9717 2012-03-12 Leo Liu <sdl.web@gmail.com>
9718
9719 * simple.el (kill-new): Use equal-including-properties for comparison.
9720 (kill-do-not-save-duplicates): Doc fix.
9721
9722 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * dabbrev.el: Fix cycle completion (bug#10963).
9725 Use lexical binding and wrap to 80 columns.
9726 (dabbrev-completion): Delay computing the list of completions.
9727
9728 2012-03-12 Kenichi Handa <handa@m17n.org>
9729
9730 * international/quail.el (quail-insert-kbd-layout): Surround each
9731 row by LRO and PDF instead of inserting many LRMs. Pad the left
9732 and right of each non-spacing marks. Insert invisible space
9733 between lower and upper characters to prevent composition.
9734
9735 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * minibuffer.el (minibuffer-complete): Don't get confused when the
9738 function is run twice via different commands (bug#10958).
9739 (complete-with-action): Fix docstring.
9740
9741 2012-03-12 Chong Yidong <cyd@gnu.org>
9742
9743 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9744 (nxml-completion-at-point-function): New function.
9745 (nxml-mode): Use it.
9746 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9747
9748 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9749 Load generated autoloads file before byte compiling (Bug#10970).
9750 (package--make-autoloads-and-compile): New helper fun.
9751
9752 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9753
9754 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9755
9756 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * autorevert.el (auto-revert-handler): Ensure, that
9759 file-readable-p is applied only for local files or in
9760 auto-revert-tail-mode.
9761
9762 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9763
9764 * server.el (server-eval-at): Handle non-tcp connections.
9765 Decode result string.
9766
9767 * server.el (server-msg-size): New constant.
9768 (server-reply-print): New function.
9769 (server-eval-and-print): Use it.
9770 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9771 Handle -print-nonl.
9772
9773 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9774
9775 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9776 (Bug#10987).
9777
9778 2012-03-11 Chong Yidong <cyd@gnu.org>
9779
9780 * simple.el (goto-line): Doc fix (Bug#9938).
9781
9782 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9783
9784 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9785 when finished (Bug#10963).
9786
9787 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9788
9789 * window.el (split-window-below): Fix bug in case where
9790 split-window-keep-point is nil (Bug#10971).
9791
9792 2012-03-11 Juri Linkov <juri@jurta.org>
9793
9794 * replace.el (replace-highlight): Set isearch-word to nil
9795 unconditionally. (Bug#10887)
9796
9797 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9798
9799 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9800 mairix-replace-illegal-chars; all callers changed. Don't remove
9801 ^, ~, and = characters: they are meaningful in mairix search specs.
9802 (mairix-widget-create-query): Add usage information about mairix
9803 search forms: negating words, searching for substrings, etc.
9804
9805 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9806
9807 * international/fontset.el (font-encoding-alist): Add an entry for
9808 ksx1001 (Bug#5667).
9809
9810 2012-03-10 Richard Stallman <rms@gnu.org>
9811
9812 * mail/sendmail.el (mail-encode-header):
9813 Set rfc2047-encode-encoded-words.
9814
9815 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9816
9817 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9818 view buffer means not swapped.
9819 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9820 (rmail-write-region-annotate): Error if real text has disappeared.
9821
9822 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9823
9824 2012-03-10 Chong Yidong <cyd@gnu.org>
9825
9826 * emulation/cua-rect.el (cua--init-rectangles):
9827 * emulation/cua-base.el (cua--init-keymaps):
9828 Add delete-forward-char to remappings (Bug#9666).
9829
9830 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9831
9832 * speedbar.el (speedbar-unhighlight-one-tag-line):
9833 Avoid unhighlighting due to frame switching (Bug#10275).
9834
9835 2012-03-10 Chong Yidong <cyd@gnu.org>
9836
9837 * minibuffer.el (completion-in-region, completion-help-at-point):
9838 Give the completion field overlay a high priority (Bug#6830).
9839
9840 * dired.el (dired-goto-file): Recognize absolute file name
9841 listings (Bug#7126).
9842 (dired-goto-file-1): New helper function.
9843 (dired-toggle-read-only): Inhibit warnings.
9844
9845 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9846
9847 * net/dbus.el (dbus-property-handler): Return empty array if
9848 there are no properties.
9849
9850 2012-03-09 Leo Liu <sdl.web@gmail.com>
9851
9852 * savehist.el (savehist-printable): Stricter check for string
9853 value (Bug#10937).
9854
9855 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9856
9857 * mail/smtpmail.el (smtpmail-send-it):
9858 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9859 valid mbox format.
9860
9861 2012-03-09 Glenn Morris <rgm@gnu.org>
9862
9863 * files.el (dir-locals-find-file):
9864 Don't check result is regular, readable.
9865 (dir-locals-read-from-file): Demote errors.
9866
9867 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9868
9869 * international/quail.el (quail-insert-kbd-layout):
9870 Insert invisible LRM characters before each character in a keyboard
9871 layout cell, to prevent their reordering by bidi display engine.
9872 For details, see the discussion in
9873 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9874
9875 2012-03-08 Alan Mackenzie <acm@muc.de>
9876
9877 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9878 the starting position; make it extend the marked region when
9879 invoked repeatedly - all under appropriate circumstances.
9880 Fixes bugs #5525, #10906.
9881
9882 2012-03-08 Glenn Morris <rgm@gnu.org>
9883
9884 * files.el (locate-dominating-file, dir-locals-find-file):
9885 Undo 2012-03-06 change.
9886
9887 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9888
9889 * international/quail.el (quail-help):
9890 Force bidi-paragraph-direction be left-to-right. See discussion in
9891 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9892 for the reason.
9893
9894 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9895
9896 Avoid superfluous registering of signals. (Bug#10807)
9897
9898 * notifications.el (notifications-on-action-object)
9899 (notifications-on-close-object): New defvars.
9900 (notifications-on-action-signal, notifications-on-closed-signal):
9901 Unregister the signal if not needed any longer.
9902 (notifications-notify): Register `notifications-action-signal' or
9903 `notifications-closed-signal', if :on-action or :on-close has been
9904 passed as argument.
9905
9906 2012-03-07 Chong Yidong <cyd@gnu.org>
9907
9908 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9909 non-X platforms.
9910
9911 2012-03-06 Glenn Morris <rgm@gnu.org>
9912
9913 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9914 (x-disown-selection-internal, x-get-selection-internal):
9915 Doc fix (add arglist signatures). (Bug#10783)
9916
9917 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9918
9919 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9920 Handle breakpoints with no "type".
9921
9922 2012-03-06 Glenn Morris <rgm@gnu.org>
9923
9924 * files.el (locate-dominating-file): Add optional predicate argument.
9925 (dir-locals-find-file): Make use of above change.
9926
9927 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9928
9929 * info.el (Info-insert-dir): Also try "dir.gz".
9930
9931 2012-03-06 Glenn Morris <rgm@gnu.org>
9932
9933 * files.el (dir-locals-find-file):
9934 Ignore non-readable or non-regular files. (Bug#10928)
9935
9936 * files.el (locate-dominating-file): Doc fix.
9937
9938 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9939
9940 * calendar/calendar.el (calendar-set-mode-line):
9941 `getenv' returns a string. (Bug#10951)
9942
9943 2012-03-05 Leo Liu <sdl.web@gmail.com>
9944
9945 * simple.el (backward-delete-char-untabify): Constrain point to
9946 field (Bug#10939).
9947
9948 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9949
9950 2012-03-05 Chong Yidong <cyd@gnu.org>
9951
9952 * simple.el (count-words): If called from Lisp, return the word
9953 count, for symmetry with `count-lines'. Arglist changed.
9954 (count-words--message): Args changed. Consolidate counting code
9955 from count-words and count-words-region.
9956 (count-words-region): Caller changed.
9957 (count-lines-region): Make it an obsolete alias.
9958
9959 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9960
9961 * saveplace.el (save-place-to-alist)
9962 (save-place-ignore-files-regexp): Allow value nil to disable this
9963 feature.
9964
9965 2012-03-04 Chong Yidong <cyd@gnu.org>
9966
9967 * faces.el (face-spec-reset-face): For the default face, reset the
9968 attributes to default values (Bug#10748).
9969
9970 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9971
9972 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9973 previous patch: Check `message-send-mail-function', and not the
9974 default function (bug#10897).
9975
9976 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * notifications.el (notifications-on-action-signal)
9979 (notifications-on-closed-signal): Check for unique service name of
9980 incoming event. Fix error in removing entry.
9981 (top): Register for signals with wildcard service name.
9982 (notifications-notify): Use daemon unique service name for map entries.
9983
9984 2012-03-04 Chong Yidong <cyd@gnu.org>
9985
9986 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9987
9988 2012-03-04 Glenn Morris <rgm@gnu.org>
9989
9990 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9991 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9992 (expand-abbrev, define-abbrev-table): Doc fixes.
9993
9994 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9995
9996 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9997 `message-default-send-mail-function' and not `send-mail-function'
9998 when doing the prompting for `sendmail-query-once' before sending
9999 in Message buffers (bug#10897).
10000
10001 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10002 This is inconsistent with all the other stream functions, which leave
10003 the setting up to the higher levels (if so wanted) (bug#10931).
10004
10005 2012-03-02 Alan Mackenzie <acm@muc.de>
10006
10007 Depessimize the handling of very large macros.
10008
10009 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10010 (c-macro-cache-syntactic): New variables to implement a one
10011 element macro cache.
10012 (c-invalidate-macro-cache): New function.
10013 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10014 Adapt to use the new cache.
10015 (c-state-safe-place): Use better the cache of safe positions.
10016 (c-state-semi-nonlit-pos-cache)
10017 (c-state-semi-nonlit-pos-cache-limit):
10018 New variables for...
10019 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10020 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10021 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10022 Use c-state-semi-safe-place.
10023
10024 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10025 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10026
10027 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10028
10029 * jka-compr.el (jka-compr-call-process):
10030 Apply `file-accessible-directory-p' only when the default directory is
10031 not remote.
10032
10033 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10034
10035 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10036 access of FILE2, if FILE1 does not exist.
10037
10038 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10039 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10040
10041 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10042 Add "PAGER=" to `process-environment'.
10043
10044 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10045
10046 * progmodes/sql.el: Bug fix
10047 (sql-get-login-ext): Save login values in globals.
10048 (sql-get-login): Use new version of `sql-get-login-ext'.
10049 (sql-interactive-mode): Set global `sql-connection' to nil.
10050 (sql-connect): Set global values for connection.
10051 (sql-product-interactive): Save global values as buffer local.
10052
10053 2012-02-29 Leo Liu <sdl.web@gmail.com>
10054
10055 * abbrev.el (define-abbrevs): Reset sys to nil.
10056
10057 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10058
10059 * files.el (file-equal-p): Rename from `files-equal-p'.
10060 Return nil when one or both files don't exist.
10061 (file-subdir-of-p): Now only top directory must exists,
10062 return nil if it doesn't.
10063 (copy-directory): No need to test with `file-subdir-of-p' after
10064 creating dir.
10065 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10066 to `file-equal-p'.
10067
10068 2012-02-28 Glenn Morris <rgm@gnu.org>
10069
10070 * shell.el (shell-mode):
10071 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10072 * play/landmark.el (landmark-font-lock-face-O):
10073 * play/handwrite.el (handwrite):
10074 * play/gomoku.el (gomoku-O):
10075 * net/browse-url.el (browse-url-browser-display):
10076 * international/mule.el (define-charset):
10077 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10078 * filesets.el (filesets-find-file-delay):
10079 * eshell/em-xtra.el (eshell-xtra):
10080 * eshell/em-unix.el (eshell-grep):
10081 * emulation/viper.el (viper-mode):
10082 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10083 * emacs-lisp/easymenu.el (easy-menu-define):
10084 * calendar/timeclock.el (timeclock-use-display-time):
10085 * bs.el (bs-mode):
10086 * bookmark.el (bookmark-save-flag):
10087 Doc fix (standardize possessive apostrophe usage).
10088
10089 2012-02-27 Chong Yidong <cyd@gnu.org>
10090
10091 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10092 Fix key-binding lookup for ESC key (Bug#9146).
10093
10094 * font-lock.el (font-lock-specified-p): Rename from
10095 font-lock-spec-present. Callers changed.
10096
10097 2012-02-27 Daniel Hackney <dan@haxney.org>
10098
10099 * emacs-lisp/package.el (package-compute-transaction):
10100 Handle holding a package version to t in package-load-list.
10101
10102 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10105 (tramp-get-inode, tramp-get-device): Use cached values.
10106
10107 2012-02-26 Alan Mackenzie <acm@muc.de>
10108
10109 Check there is a font-lock specification before doing initial
10110 fontification.
10111
10112 * font-core.el (font-lock-mode): Move the conditional from
10113 :after-hook to font-lock-initial-fontify.
10114 (font-lock-default-function): Move the check for a specification
10115 to font-lock-spec-present.
10116
10117 * font-lock.el (font-lock-initial-fontify): Call ...
10118 (font-lock-spec-present): New function.
10119
10120 2012-02-26 Jim Blandy <jimb@red-bean.com>
10121
10122 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10123 (gdb-send): Apply it to the operand of the '-interpreter-exec
10124 console' command, so that we can pass arguments with (say) quotes
10125 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10126
10127 2012-02-26 Chong Yidong <cyd@gnu.org>
10128
10129 * help-fns.el (describe-function-1): Clarify description of
10130 remapping (Bug#10844).
10131
10132 * files.el (files-equal-p): Doc fix.
10133 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10134 and quit the loop once a mismatch is found.
10135
10136 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * bs.el (bs--show-with-configuration): Don't throw an error
10139 if the window cannot be split; otherwise, subsequent calls to
10140 bs-show fail, restoring a stale window config. (Bug#10882)
10141
10142 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10143
10144 * term/ns-win.el (global-map): Bind ns-drag-file to
10145 ns-find-file (Bug#5855, Bug#10050).
10146
10147 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10148
10149 * calendar/parse-time.el (parse-time-string): Allow extractor to
10150 return nil.
10151
10152 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp.el (tramp-file-name-for-operation):
10155 Add `files-equal-p' and `file-subdir-of-p'.
10156
10157 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10158 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10159 Add COPY-CONTENTS argument.
10160
10161 2012-02-25 Chong Yidong <cyd@gnu.org>
10162
10163 Add custom groups for VC backends, for consistency with vc-bzr.
10164
10165 * vc/vc-arch.el (vc-arch):
10166 * vc/vc-cvs.el (vc-cvs):
10167 * vc/vc-git.el (vc-git):
10168 * vc/vc-hg.el (vc-hg):
10169 * vc/vc-mtn.el (vc-mtn):
10170 * vc/vc-rcs.el (vc-rcs):
10171 * vc/vc-sccs.el (vc-sccs):
10172 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10173 All relevant defcustoms reassigned.
10174
10175 2012-02-25 Chong Yidong <cyd@gnu.org>
10176
10177 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10178
10179 * term/x-win.el (x-initialize-window-system): Reduce default for
10180 x-selection-timeout to 5 seconds (Bug#8869).
10181
10182 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10183
10184 * files.el (files-equal-p, file-subdir-of-p): New functions.
10185 (copy-directory): Error when trying to copy a directory on itself.
10186 Add missing copy-contents arg to tramp handler.
10187 * dired-aux.el (dired-copy-file-recursive): Same.
10188 (dired-create-files): Modify destination when source is equal to
10189 dest when copying files.
10190 Return also when dest is a subdir of source. (Bug#10489)
10191
10192 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10195 (Bug#10874)
10196
10197 2012-02-23 Alan Mackenzie <acm@muc.de>
10198
10199 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10200 parameter "after-hook:" to allow the expansion to run code after
10201 the execution of the mode hooks.
10202
10203 * font-lock.el (font-lock-initial-fontify): New function extracted
10204 from font-lock-mode-internal.
10205
10206 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10207 :after-hook.
10208
10209 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10212 (completion--cache-all-sorted-completions): New function.
10213 (completion-all-sorted-completions): Use it.
10214 (completion--do-completion, minibuffer-force-complete):
10215 Use it to re-instate the flush hook.
10216
10217 * icomplete.el (icomplete-completions): Replace last fix with a better
10218 one (bug#10850).
10219
10220 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10221
10222 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10223 when it might call us back infinitely (bug#10797).
10224
10225 2012-02-23 Glenn Morris <rgm@gnu.org>
10226
10227 * minibuffer.el (completion-category-overrides): Doc fix.
10228
10229 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10232 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10233
10234 2012-02-23 Glenn Morris <rgm@gnu.org>
10235
10236 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10237 (authors-obsolete-files-regexps, authors-ignored-files)
10238 (authors-ambiguous-files, authors-renamed-files-alist):
10239 Add more entries.
10240
10241 2012-02-23 Juri Linkov <juri@jurta.org>
10242
10243 * isearch.el (isearch-occur): Sync interactive spec with occur's
10244 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10245
10246 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10247
10248 2012-02-22 Juri Linkov <juri@jurta.org>
10249
10250 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10251 (ucs-insert): Doc fix. Check for hex digits in the string.
10252 Don't display `nil' in the error message. (Bug#10857)
10253
10254 2012-02-22 Alan Mackenzie <acm@muc.de>
10255
10256 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10257
10258 2012-02-22 Glenn Morris <rgm@gnu.org>
10259
10260 * ffap.el (ffap-c-path):
10261 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10262
10263 2012-02-22 Chong Yidong <cyd@gnu.org>
10264
10265 * custom.el (load-theme): Doc fix.
10266
10267 2012-02-22 Glenn Morris <rgm@gnu.org>
10268
10269 * dired-x.el (dired-guess-shell-alist-default):
10270 Remove escape sequences from nroff output. (Bug#172)
10271
10272 2012-02-21 Glenn Morris <rgm@gnu.org>
10273
10274 * vc/emerge.el (emerge-defvar-local):
10275 Set `permanent-local' property rather than unused `preserved'.
10276
10277 * textmodes/picture.el (picture-delete-char): New alias.
10278 (picture-mode-map): Use it. (Bug#10860)
10279 (picture-mode): Doc fix.
10280
10281 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * newcomment.el (uncomment-region-default): Remove unused binding.
10284
10285 2012-02-21 Glenn Morris <rgm@gnu.org>
10286
10287 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10288 (picture-self-insert, picture-tab-chars): Doc fix.
10289 (picture-mode-map): Fix C-a, C-e.
10290
10291 2012-02-20 Glenn Morris <rgm@gnu.org>
10292
10293 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10294
10295 2012-02-20 Leo Liu <sdl.web@gmail.com>
10296
10297 * icomplete.el (icomplete-completions): Check FROM arg before
10298 passing to substring (Bug#10850).
10299
10300 2012-02-19 Chong Yidong <cyd@gnu.org>
10301
10302 * comint.el: Require ansi-color.
10303 (comint-output-filter-functions): Add ansi-color-process-output.
10304
10305 * ansi-color.el: Don't set comint-output-filter-functions; it is
10306 now in the initial value defined in comint.el.
10307 (ansi-color-apply-face-function): New variable.
10308 (ansi-color-apply-on-region): Use it.
10309 (ansi-color-apply-overlay-face): New function.
10310
10311 * shell.el (shell): No need to require ansi-color.
10312 (shell-mode): Use ansi-color-apply-face-function to highlight
10313 color escapes using font-lock-face property (Bug#10835).
10314
10315 2012-02-19 Chong Yidong <cyd@gnu.org>
10316
10317 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10318 mode-line formats (Bug#10839).
10319
10320 2012-02-18 Glenn Morris <rgm@gnu.org>
10321
10322 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10323
10324 * mail/undigest.el (unforward-rmail-message): Doc fix.
10325
10326 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10327
10328 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10329
10330 * international/characters.el (script-list): Sync with the latest
10331 Unicode Character Database.
10332
10333 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * international/titdic-cnv.el: Remove duplicate coding tag.
10336 * language/cham.el: Likewise.
10337 * language/tai-viet.el: Likewise.
10338
10339 2012-02-18 Glenn Morris <rgm@gnu.org>
10340
10341 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10342 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10343 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10344 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10345 * calendar/holidays.el (holiday-bahai-holidays)
10346 (calendar-holidays, list-holidays):
10347 Use utf-8 Bahá'í in doc-strings, menus, etc.
10348
10349 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10350
10351 * saveplace.el (save-place-ignore-files-regexp): New variable
10352 allowing for excluding files from saving their location of point.
10353 The default value matches the temporary commit message editing
10354 files from Git, SVN, Bazaar, and Mercurial.
10355 (save-place-to-alist): Use it.
10356
10357 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10358 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * newcomment.el (uncomment-region-default): Don't leave extra space
10361 when an arg is provided (bug#8150).
10362
10363 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10364
10365 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10366
10367 2012-02-17 Glenn Morris <rgm@gnu.org>
10368
10369 * net/socks.el: Require network-stream. (Bug#10599)
10370
10371 2012-02-17 Kenichi Handa <handa@m17n.org>
10372
10373 * international/charprop.el:
10374 * international/uni-name.el:
10375 * international/uni-old-name.el:
10376 * international/uni-comment.el: Regenerate.
10377
10378 2012-02-16 Glenn Morris <rgm@gnu.org>
10379
10380 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10381 Interactively in calendar buffer, give an error if not on a date.
10382
10383 2012-02-15 Glenn Morris <rgm@gnu.org>
10384
10385 * shell.el (shell-delimiter-argument-list):
10386 Revert 2011-02-17 change. (Bug#8027)
10387
10388 2012-02-15 Chong Yidong <cyd@gnu.org>
10389
10390 * minibuffer.el (completion-at-point-functions): Doc fix.
10391
10392 * custom.el (defcustom): Doc fix; note use of defvar.
10393
10394 2012-02-15 Glenn Morris <rgm@gnu.org>
10395
10396 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10397 Doc fixes.
10398
10399 2012-02-14 Glenn Morris <rgm@gnu.org>
10400
10401 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10402
10403 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10404
10405 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10406 way the ports list is computed.
10407 (smtpmail-query-smtp-server): Prompt the user for a port number if
10408 we can't connect to any of the standard ports (bug#10810).
10409
10410 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10411
10412 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10413
10414 2012-02-13 Glenn Morris <rgm@gnu.org>
10415
10416 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10417
10418 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10419
10420 * net/gnutls.el (gnutls-trustfiles): New variable.
10421 (gnutls-negotiate): Use it.
10422
10423 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10424
10425 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10426 does its stuff if Gnus is running.
10427
10428 2012-02-13 Alan Mackenzie <acm@muc.de>
10429
10430 Fix a loop in c-set-fl-decl-start.
10431
10432 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10433 c-backward-syntactic-ws actually moves backwards.
10434
10435 2012-02-13 Leo Liu <sdl.web@gmail.com>
10436
10437 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10438 beginning so that all \C-o chars are removed.
10439
10440 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10441
10442 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10443
10444 2012-02-12 Alan Mackenzie <acm@muc.de>
10445
10446 Fix infinite loop with long macros.
10447 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10448
10449 2012-02-12 Chong Yidong <cyd@gnu.org>
10450
10451 * window.el (display-buffer): Doc fix (Bug#10785).
10452
10453 2012-02-12 Glenn Morris <rgm@gnu.org>
10454
10455 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10456 (x-disown-selection-internal, x-get-selection-internal):
10457 Sync docs with the xselect.c versions.
10458
10459 * allout-widgets.el: Add missing license notice.
10460
10461 2012-02-11 Glenn Morris <rgm@gnu.org>
10462
10463 * select.el (x-get-selection-internal, x-own-selection-internal)
10464 (x-disown-selection-internal):
10465 * x-dnd.el (x-get-selection-internal): Update declarations.
10466
10467 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10468
10469 * window.el (window-sides-slots):
10470 * tool-bar.el (tool-bar-position):
10471 * term/xterm.el (xterm-extra-capabilities):
10472 * ses.el (ses-self-reference-early-detection):
10473 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10474 (verilog-auto-wire-type)
10475 (verilog-auto-delete-trailing-whitespace)
10476 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10477 (verilog-auto-tieoff-declaration):
10478 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10479 (sql-oracle-statement-starters, sql-oracle-scan-on):
10480 * progmodes/prolog.el (prolog-align-comments-flag)
10481 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10482 (prolog-left-indent-regexp, prolog-paren-indent-p)
10483 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10484 (prolog-types, prolog-mode-specificators)
10485 (prolog-determinism-specificators, prolog-directives)
10486 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10487 (prolog-electric-dot-flag)
10488 (prolog-electric-dot-full-predicate-template)
10489 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10490 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10491 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10492 (prolog-program-switches, prolog-prompt-regexp)
10493 (prolog-debug-on-string, prolog-debug-off-string)
10494 (prolog-trace-on-string, prolog-trace-off-string)
10495 (prolog-zip-on-string, prolog-zip-off-string)
10496 (prolog-use-standard-consult-compile-method-flag)
10497 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10498 (prolog-imenu-max-lines, prolog-info-predicate-index)
10499 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10500 (prolog-char-quote-workaround):
10501 * progmodes/cc-vars.el (c-defun-tactic):
10502 * net/tramp.el (tramp-encoding-command-interactive)
10503 (tramp-local-end-of-line):
10504 * net/soap-client.el (soap-client):
10505 * net/netrc.el (netrc-file):
10506 * net/gnutls.el (gnutls):
10507 * minibuffer.el (completion-category-overrides)
10508 (completion-cycle-threshold)
10509 (completion-pcm-complete-word-inserts-delimiters):
10510 * man.el (Man-name-local-regexp):
10511 * mail/feedmail.el (feedmail-display-full-frame):
10512 * international/characters.el (glyphless-char-display-control):
10513 * eshell/em-ls.el (eshell-ls-date-format):
10514 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10515 (lisp-lambda-list-keyword-parameter-indentation)
10516 (lisp-lambda-list-keyword-parameter-alignment):
10517 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10518 * dired-x.el (dired-omit-verbose):
10519 * cus-theme.el (custom-theme-allow-multiple-selections):
10520 * calc/calc.el (calc-highlight-selections-with-faces)
10521 (calc-lu-field-reference, calc-lu-power-reference)
10522 (calc-note-threshold):
10523 * battery.el (battery-mode-line-limit):
10524 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10525 (archive-7z-update):
10526 * allout.el (allout-prefixed-keybindings)
10527 (allout-unprefixed-keybindings)
10528 (allout-inhibit-auto-fill-on-headline)
10529 (allout-flattened-numbering-abbreviation):
10530 * allout-widgets.el (allout-widgets-auto-activation)
10531 (allout-widgets-icons-dark-subdir)
10532 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10533 (allout-widgets-theme-dark-background)
10534 (allout-widgets-theme-light-background)
10535 (allout-widgets-item-image-properties-emacs)
10536 (allout-widgets-item-image-properties-xemacs)
10537 (allout-widgets-run-unit-tests-on-load)
10538 (allout-widgets-time-decoration-activity)
10539 (allout-widgets-hook-error-post-time)
10540 (allout-widgets-track-decoration):
10541 Add missing :version tags to new defcustoms and defgroups.
10542
10543 * progmodes/sql.el (sql-ansi-statement-starters)
10544 (sql-oracle-statement-starters): Add custom type.
10545
10546 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10547 (prolog-system-version): Give it a type.
10548
10549 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10550
10551 * term/pc-win.el (x-select-text, x-selection-owner-p)
10552 (x-own-selection-internal, x-disown-selection-internal)
10553 (x-get-selection-internal): Sync doc strings and argument lists
10554 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10555
10556 2012-02-11 Leo Liu <sdl.web@gmail.com>
10557
10558 * progmodes/python.el (python-end-of-statement): Fix infinite
10559 loop. (Bug#10788)
10560
10561 2012-02-10 Glenn Morris <rgm@gnu.org>
10562
10563 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10564 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10565
10566 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10567
10568 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10569 about SMTP before checking the From header.
10570
10571 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10572 into own function for reuse by emacsbug.el.
10573
10574 2012-02-10 Leo Liu <sdl.web@gmail.com>
10575
10576 * subr.el (condition-case-unless-debug): Rename from
10577 condition-case-no-debug. All callers changed.
10578 (with-demoted-errors): Fix caller.
10579
10580 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10581 * nxml/rng-valid.el (rng-do-some-validation):
10582 * emacs-lisp/package.el (package-refresh-contents)
10583 (package-menu-execute):
10584 * desktop.el (desktop-create-buffer):
10585 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10586
10587 2012-02-10 Glenn Morris <rgm@gnu.org>
10588
10589 * textmodes/bibtex.el:
10590 Add missing :version tags for new/changed defcustoms.
10591
10592 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10593
10594 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10595
10596 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10597 (smtpmail-via-smtp): Use it, or fall back on the From address.
10598 (smtpmail-send-it): Ditto.
10599
10600 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10603 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10604 (byte-compile-tmp-var): New const.
10605 (byte-compile-defvar): Use it to minimize .elc size.
10606 Just use `defvar' rather than simulate it (bug#10761).
10607
10608 2012-02-09 Glenn Morris <rgm@gnu.org>
10609
10610 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10611
10612 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10613 Add :version tags.
10614
10615 * progmodes/compile.el (compilation-error-screen-columns)
10616 (compilation-first-column, compilation-filter-start): Doc fixes.
10617
10618 * vc/log-view.el (log-view-toggle-entry-display):
10619 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10620
10621 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10622 (report-emacs-bug-can-use-xdg-email):
10623 (report-emacs-bug-insert-to-mailer): Doc fixes.
10624 (report-emacs-bug): Message fix.
10625
10626 * net/browse-url.el (browse-url-can-use-xdg-open)
10627 (browse-url-xdg-open): Doc fixes.
10628
10629 * electric.el (electric-indent-mode, electric-pair-mode)
10630 (electric-layout-rules, electric-layout-mode): Doc fixes.
10631 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10632
10633 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10634
10635 * server.el (server-unselect-display): Don't inadvertently kill
10636 the current buffer. (Bug#10729)
10637
10638 2012-02-08 Glenn Morris <rgm@gnu.org>
10639
10640 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10641 (sql-list-table): Doc fixes.
10642
10643 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10644 Comment out (does nothing).
10645
10646 * completion.el (dynamic-completion-mode):
10647 * dirtrack.el (dirtrack-debug-mode):
10648 * electric.el (electric-layout-mode):
10649 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10650 * face-remap.el (text-scale-mode, buffer-face-mode):
10651 * iimage.el (iimage-mode):
10652 * image-mode.el (image-transform-mode):
10653 * minibuffer.el (completion-in-region-mode):
10654 * scroll-lock.el (scroll-lock-mode):
10655 * simple.el (next-error-follow-minor-mode):
10656 * tar-mode.el (tar-subfile-mode):
10657 * tooltip.el (tooltip-mode):
10658 * vcursor.el (vcursor-use-vcursor-map):
10659 * wid-browse.el (widget-minor-mode):
10660 * emulation/tpu-edt.el (tpu-edt-mode):
10661 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10662 * international/iso-ascii.el (iso-ascii-mode):
10663 * language/thai-util.el (thai-word-mode):
10664 * mail/supercite.el (sc-minor-mode):
10665 * net/goto-addr.el (goto-address-mode):
10666 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10667 * progmodes/cwarn.el (cwarn-mode):
10668 * progmodes/flymake.el (flymake-mode):
10669 * progmodes/glasses.el (glasses-mode):
10670 * progmodes/hideshow.el (hs-minor-mode):
10671 * progmodes/pascal.el (pascal-outline-mode):
10672 * textmodes/enriched.el (enriched-mode):
10673 * vc/smerge-mode.el (smerge-mode):
10674 Doc fixes (minor mode argument).
10675
10676 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10677
10678 * ls-lisp.el (ls-lisp-sanitize): New function.
10679 (ls-lisp-insert-directory): Use it to fix or remove any elements
10680 in file-alist with missing attributes. (Bug#4673)
10681
10682 2012-02-07 Alan Mackenzie <acm@muc.de>
10683
10684 Fix spurious recognition of c-in-knr-argdecl.
10685
10686 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10687 putative K&R region.
10688
10689 2012-02-07 Alan Mackenzie <acm@muc.de>
10690
10691 * progmodes/cc-engine.el (c-forward-objc-directive):
10692 Prevent looping in "#pragma mark @implementation".
10693
10694 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10695
10696 * notifications.el (notifications-on-closed-signal): Make `reason'
10697 optional. (Bug#10744)
10698
10699 2012-02-07 Glenn Morris <rgm@gnu.org>
10700
10701 * emacs-lisp/easy-mmode.el (define-minor-mode):
10702 Doc fixes for the macro and the mode it defines.
10703
10704 * image.el (imagemagick-types-inhibit): Doc fix.
10705
10706 * cus-start.el (imagemagick-render-type): Add it.
10707
10708 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10709
10710 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10711 Set the default at load time, too, so that `font-lock-fontify-buffer'
10712 can be called without setting up the entire mode first. This fixes
10713 a bug in `mm-inline-text' with C MIME parts.
10714
10715 2012-02-06 Chong Yidong <cyd@gnu.org>
10716
10717 * simple.el (list-processes--refresh): Delete exited processes
10718 (Bug#8094).
10719
10720 * comint.el (comint-next-prompt): next-single-char-property-change
10721 and prev-single-char-property-change never return nil (Bug#8657).
10722
10723 * custom.el (defcustom): Doc fix (Bug#9711).
10724
10725 2012-02-05 Chong Yidong <cyd@gnu.org>
10726
10727 * cus-edit.el (custom-variable-reset-backup): Quote the value
10728 before storing it in the customized-value property (Bug#6712).
10729 (custom-display): Add a customization type tag.
10730 (custom-buffer-create-internal): Improve tooltip message.
10731
10732 * wid-edit.el (widget-field-value-get): New optional arg to
10733 suppress trailing whitespace truncation.
10734 (character): Use it (Bug#2689).
10735
10736 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10737
10738 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10739 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10740
10741 2012-02-05 Chong Yidong <cyd@gnu.org>
10742
10743 * cus-edit.el (custom-variable-value-create): For mismatched
10744 types, show the current value (Bug#7600).
10745
10746 * custom.el (defcustom): Doc fix.
10747
10748 2012-02-05 Glenn Morris <rgm@gnu.org>
10749
10750 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10751
10752 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10753
10754 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10755 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10756 (pp-last-sexp): Use `looking-at-p'.
10757
10758 2012-02-04 Glenn Morris <rgm@gnu.org>
10759
10760 * files.el (revert-buffer):
10761 Doc fix (mention revert-buffer-in-progress-p).
10762
10763 * emacs-lisp/ert-x.el (ert-simulate-command):
10764 Check deferred-action-list (which is obsolete) is bound.
10765
10766 * subr.el (with-wrapper-hook): Doc fixes.
10767
10768 * simple.el (filter-buffer-substring-functions)
10769 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10770
10771 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10772
10773 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10774 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10775
10776 2012-02-04 Leo Liu <sdl.web@gmail.com>
10777
10778 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10779
10780 2012-02-04 Glenn Morris <rgm@gnu.org>
10781
10782 * image.el (image-extension-data): Add obsolete alias.
10783
10784 * isearch.el (isearch-update): Doc fix.
10785
10786 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10787
10788 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10789
10790 2012-02-03 Glenn Morris <rgm@gnu.org>
10791
10792 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10793 (image-animate-timeout): Doc fix.
10794
10795 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10796
10797 2012-02-02 Glenn Morris <rgm@gnu.org>
10798
10799 * server.el (server-auth-dir): Doc fix.
10800 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10801
10802 * subr.el (run-mode-hooks): Doc fix.
10803
10804 2012-02-02 Juri Linkov <juri@jurta.org>
10805
10806 * image-mode.el (image-toggle-display-image): Remove tautological
10807 `major-mode' from the `derived-mode-p' test.
10808
10809 2012-02-02 Kenichi Handa <handa@m17n.org>
10810
10811 * composite.el (compose-region): Cancel previous change.
10812
10813 2012-02-02 Kenichi Handa <handa@m17n.org>
10814
10815 * composite.el (compose-region, compose-string): Signal error for
10816 a null string component (Bug#6988).
10817
10818 2012-02-01 Chong Yidong <cyd@gnu.org>
10819
10820 * view.el (view-buffer-other-window, view-buffer-other-frame):
10821 Handle special modes like view-buffer (Bug#10650).
10822 (view-buffer): Simplify.
10823
10824 * frame.el (set-frame-font): Tweak meaning of third argument.
10825
10826 * dynamic-setting.el (font-setting-change-default-font):
10827 Use set-frame-font (Bug#9982).
10828
10829 2012-02-01 Glenn Morris <rgm@gnu.org>
10830
10831 * progmodes/compile.el (compilation-internal-error-properties):
10832 Respect compilation-first-column in the "*compilation*" buffer.
10833
10834 * emacs-lisp/easy-mmode.el (define-minor-mode):
10835 Relax :variable's test for a named function.
10836
10837 2012-01-31 Alan Mackenzie <acm@muc.de>
10838
10839 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10840 off by one error.
10841
10842 2012-01-31 Chong Yidong <cyd@gnu.org>
10843
10844 * frame.el (set-frame-font): New arg ALL-FRAMES.
10845
10846 * menu-bar.el (menu-set-font): Use set-frame-font.
10847
10848 * faces.el (face-spec-reset-face): Don't apply unspecified
10849 attribute values to the default face.
10850
10851 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10852
10853 * progmodes/cwarn.el (cwarn): Remove dead link.
10854 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10855 Remove * from defcustom docstrings.
10856 (turn-on-cwarn-mode): Make obsolete.
10857 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10858 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10859
10860 2012-01-31 Glenn Morris <rgm@gnu.org>
10861
10862 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10863 Fix :variable handling of mode a symbol not equal to modefun.
10864 Allow named functions to be used as the cdr of :variable.
10865
10866 2012-01-30 Glenn Morris <rgm@gnu.org>
10867
10868 * emacs-lisp/authors.el (authors-fixed-entries):
10869 Remove reference to deleted file rnewspost.el.
10870
10871 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10872
10873 * window.el (window-with-parameter): Remove unused variable `windows'.
10874 (window--side-check): Remove unused variable `code'.
10875 (window--resize-siblings): Remove unused variable `first'.
10876 (adjust-window-trailing-edge): Remove unused variable `failed'.
10877 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10878 Use `let', not `let*'.
10879 (balance-windows-2): Remove unused variable `found'.
10880 (window--state-put-2): Remove unused variable `splits'.
10881 (window-state-put): Remove unused variable `selected'.
10882 (same-window-p): Use `string-match-p'.
10883 (display-buffer-assq-regexp): Remove unused variable `value'.
10884 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10885 Mark argument ALIST as ignored.
10886 (pop-to-buffer): Remove unused variable `old-window'.
10887
10888 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10889
10890 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10891 and .lzma compressed files.
10892
10893 2012-01-29 Chong Yidong <cyd@gnu.org>
10894
10895 * frame.el (window-system-default-frame-alist): Doc fix.
10896
10897 * dynamic-setting.el (font-setting-change-default-font): Don't
10898 change the default face if SET-FONT argument is non-nil (Bug#9982).
10899
10900 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10901
10902 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10903
10904 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10905
10906 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10907 breakpoints in files outside current directory (Bug#6098).
10908
10909 2012-01-29 Chong Yidong <cyd@gnu.org>
10910
10911 * progmodes/python.el: Require ansi-color at top-level.
10912
10913 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10914 Define and use in Emacs Lisp mode (Bug#9360).
10915 (lisp-mode-abbrev-table): Add doc.
10916 (lisp-mode-variables): Don't set local-abbrev-table.
10917 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10918
10919 2012-01-28 Roland Winkler <winkler@gnu.org>
10920
10921 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10922
10923 2012-01-28 Roland Winkler <winkler@gnu.org>
10924
10925 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10926 (bibtex-set-dialect): Use it. Either set global values of
10927 dialect-dependent variables or bind these variables buffer-locally
10928 (Bug#10254).
10929 (bibtex-mode): Call bibtex-set-dialect via
10930 hack-local-variables-hook.
10931 (bibtex-dialect): Update docstring.
10932 Add safe-local-variable predicate.
10933 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10934 bibtex-set-dialect.
10935 (bibtex-mode-map): Define menu for each dialect.
10936 (bibtex-entry): Fix docstring.
10937
10938 2012-01-28 Chong Yidong <cyd@gnu.org>
10939
10940 * eshell/esh-arg.el (eshell-quote-argument): New function.
10941
10942 * eshell/esh-ext.el (eshell-invoke-batch-file):
10943 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10944 first arg to eshell-parse-command (Bug#10523).
10945
10946 2012-01-28 Drew Adams <drew.adams@oracle.com>
10947
10948 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10949 `default-directory' is non-nil.
10950
10951 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10952
10953 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10954 line that displays system-configuration-options. (Bug#9924)
10955
10956 2012-01-28 Drew Adams <drew.adams@oracle.com>
10957
10958 * descr-text.el (describe-char): Show information about POS, in
10959 addition to information about the character at POS. Improve and
10960 update the doc string. Change "code point" to "code point in
10961 charset", to avoid confusion with the character's Unicode code
10962 point shown above that. (Bug#10129)
10963
10964 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10965
10966 * descr-text.el (describe-char): Show the raw character, not only
10967 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10968 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10969 for the reasons.
10970
10971 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10972
10973 * emacs-lisp/package.el (package-install):
10974 Run package-refresh-contents if there is no archive yet (Bug#9798).
10975
10976 2012-01-28 Chong Yidong <cyd@gnu.org>
10977
10978 * emacs-lisp/package.el (package-maybe-load-descriptor):
10979 New function, split from package-maybe-load-descriptor.
10980 (package-maybe-load-descriptor): Use it.
10981 (package-download-transaction): Fully load required packages
10982 inside the loop, so that `require' calls work (Bug#10593).
10983 (package-install): No need to call package-initialize now.
10984
10985 2012-01-28 Chong Yidong <cyd@gnu.org>
10986
10987 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10988
10989 * tooltip.el (tooltip-mode): Doc fix.
10990 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10991
10992 * frame.el (set-cursor-color): Doc fix (Bug#352).
10993
10994 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10995 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10996
10997 * cus-edit.el (custom-buffer-create-internal): Fix search button
10998 action (Bug#10542).
10999 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11000
11001 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11002
11003 * dired.el (dired-mark-files-regexp):
11004 Include any subdirectory components. (Bug#10445)
11005
11006 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11007
11008 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11009 Handle [host]:port syntax. (Bug#10533)
11010
11011 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11012
11013 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11014
11015 2012-01-26 Glenn Morris <rgm@gnu.org>
11016
11017 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11018 * term.el (term-raw-escape-map): Use Control-X-prefix.
11019 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11020
11021 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11022
11023 * window.el (window-state-get, window--state-get-1): Don't deal
11024 with fixed-sizeness of windows. Simplify code.
11025
11026 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11027
11028 * window.el (window--state-get-1, window--state-put-2):
11029 Don't save and restore the mark.
11030
11031 2012-01-25 Chong Yidong <cyd@gnu.org>
11032
11033 * custom.el (custom-variable-p): Doc fix.
11034
11035 2012-01-25 Glenn Morris <rgm@gnu.org>
11036
11037 * dired.el (dired-goto-file): Handle some of the more common
11038 characters that `ls -b' escapes. (Bug#10596)
11039
11040 * progmodes/compile.el (compilation-next-error-function):
11041 Respect compilation-first-column in the "*compilation*" buffer.
11042 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11043
11044 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11045
11046 2012-01-24 Glenn Morris <rgm@gnu.org>
11047
11048 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11049
11050 2012-01-24 Julien Danjou <julien@danjou.info>
11051
11052 * color.el (color-rgb-to-hsl): Fix value computing.
11053 (color-hue-to-rgb): New function.
11054 (color-hsl-to-rgb): New function.
11055 (color-clamp, color-saturate-hsl, color-saturate-name)
11056 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11057 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11058
11059 2012-01-24 Glenn Morris <rgm@gnu.org>
11060
11061 * vc/vc-rcs.el (vc-rcs-create-tag):
11062 * vc/vc-sccs.el (vc-sccs-create-tag):
11063 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11064
11065 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11066
11067 * eshell/esh-util.el (eshell-read-hosts-file):
11068 Skip comment lines. (Bug#10549)
11069
11070 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11071
11072 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11073
11074 * subr.el (display-delayed-warnings): Doc fix.
11075 (collapse-delayed-warnings): New function to collapse identical
11076 adjacent warnings.
11077 (delayed-warnings-hook): Add it.
11078
11079 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11082
11083 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11084 (tramp-default-user-alist): Don't add "pscp".
11085 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11086 property "login-as", if set. (Bug#10530)
11087
11088 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11089
11090 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11091 "plink1" and "psftp". (Bug#10530)
11092
11093 2012-01-21 Kenichi Handa <handa@m17n.org>
11094
11095 * international/mule-cmds.el (prefer-coding-system): Show a
11096 warning message if the default value of file-name-coding-system
11097 was not changed.
11098
11099 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11100
11101 * windmove.el (windmove-reference-loc):
11102 Fix windmove-reference-loc miscalculation.
11103
11104 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11105
11106 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11107 default unit.
11108
11109 2012-01-21 Glenn Morris <rgm@gnu.org>
11110
11111 * international/mule.el (auto-coding-alist): Add .tbz.
11112
11113 * files.el (local-enable-local-variables): Doc fix.
11114 (inhibit-local-variables-regexps): Rename from
11115 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11116 Doc fix. Add some extensions from auto-coding-alist.
11117 (inhibit-local-variables-suffixes):
11118 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11119 (inhibit-local-variables-p):
11120 New function, extracted from set-auto-mode-1.
11121 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11122 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11123 (hack-local-variables): Doc fix. Make the mode-only case
11124 respect enable-local-variables and friends.
11125 Respect inhibit-local-variables-regexps for file-locals, but
11126 not for directory-locals.
11127 (set-visited-file-name):
11128 Take account of inhibit-local-variables-regexps.
11129 Whether it applies may change as the file name is changed.
11130 * jka-cmpr-hook.el (jka-compr-install):
11131 * jka-compr.el (jka-compr-uninstall):
11132 Update for inhibit-first-line-modes-suffixes name change.
11133
11134 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11135
11136 * help-macro.el (make-help-screen): Temporarily restore original
11137 binding for minor-mode-map-alist (Bug#10454).
11138
11139 2012-01-19 Julien Danjou <julien@danjou.info>
11140
11141 * color.el (color-name-to-rgb): Use the white color to find the max
11142 color component value and return correctly computed values.
11143 (color-name-to-rgb): Add missing float conversion for max value.
11144
11145 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11146
11147 * window.el (window--state-get-1, window-state-get): Do not use
11148 special state value for window-persistent-parameters.
11149 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11150 (window--state-put-2): Reset all window parameters to nil before
11151 assigning values of persistent parameters.
11152
11153 2012-01-18 Alan Mackenzie <acm@muc.de>
11154
11155 Eliminate sluggishness and hangs in fontification of "semicolon
11156 deserts".
11157
11158 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11159 Change value 10000 -> 3000.
11160 (c-state-safe-place): Reformulate so it doesn't stack up an
11161 infinite number of wrong entries in c-state-nonlit-pos-cache.
11162 (c-determine-limit-get-base, c-determine-limit): New functions to
11163 determine backward search limits disregarding literals.
11164 (c-find-decl-spots): Amend commenting.
11165 (c-cheap-inside-bracelist-p): New function which detects "={".
11166
11167 * progmodes/cc-fonts.el
11168 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11169 backward search.
11170 (c-font-lock-declarations): Fix an occurrence of point being
11171 undefined. Check additionally for point being in a bracelist or
11172 near a macro invocation without a semicolon so as to avoid a
11173 fruitless time consuming search for a declarator. Give a more
11174 precise search limit for declarators using the new
11175 c-determine-limit.
11176
11177 2012-01-18 Glenn Morris <rgm@gnu.org>
11178
11179 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11180 (set-auto-mode): Doc fixes.
11181
11182 2012-01-17 Glenn Morris <rgm@gnu.org>
11183
11184 * isearch.el (search-nonincremental-instead): Fix doc typo.
11185
11186 * dired.el (dired-insert-directory): Handle newlines in directory name.
11187 (dired-build-subdir-alist): Unescape newlines in directory name.
11188
11189 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11190
11191 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11192 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11193 (tramp-action-terminal): Use it. (Bug#10530)
11194
11195 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11198
11199 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11200
11201 * window.el (window-state-ignored-parameters): Remove variable.
11202 (window--state-get-1): Rename argument MARKERS to IGNORE.
11203 Handle persistent window parameters. Make copy of clone-of
11204 parameter only if requested. (Bug#10348)
11205 (window--state-put-2): Install a window parameter only if it has
11206 a non-nil value or an existing parameter shall be overwritten.
11207
11208 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11209
11210 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11211
11212 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11213
11214 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11215 don't pass the (nil) value of `upnode' to string-match.
11216
11217 2012-01-14 Chong Yidong <cyd@gnu.org>
11218
11219 * startup.el (command-line): Fix X resource class for cursorColor.
11220 Fix values recognized by the cursorBlink resource.
11221
11222 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11223
11224 * epg.el (epg--make-temp-file): Avoid permission race condition
11225 when running on old Emacs versions (bug#10403).
11226
11227 2012-01-14 Glenn Morris <rgm@gnu.org>
11228
11229 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11230
11231 2012-01-13 Alan Mackenzie <acm@muc.de>
11232
11233 Fix filling for when filladapt mode is enabled.
11234
11235 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11236 c-mask-paragraph, pass in `fill-paragraph' rather than
11237 `fill-region-as-paragraph'. (This is a reversion of a previous
11238 change.)
11239 * progmodes/cc-mode.el (c-basic-common-init):
11240 Make fill-paragraph-handle-comment buffer local and set it to nil.
11241
11242 2012-01-13 Glenn Morris <rgm@gnu.org>
11243
11244 * dired.el (dired-switches-escape-p): New function.
11245 (dired-insert-directory): Use dired-switches-escape-p.
11246 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11247
11248 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11249
11250 2012-01-12 Glenn Morris <rgm@gnu.org>
11251
11252 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11253 changes in adaptive-fill-regexp. (Bug#10276)
11254
11255 2012-01-11 Alan Mackenzie <acm@muc.de>
11256
11257 Fix Emacs bug #10463 - put `widen's around the critical spots.
11258
11259 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11260 widen around each invocation of c-state-pp-to-literal. Remove an
11261 unused let variable.
11262
11263 2012-01-11 Glenn Morris <rgm@gnu.org>
11264
11265 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11266 Doc fix.
11267
11268 2012-01-10 Chong Yidong <cyd@gnu.org>
11269
11270 * net/network-stream.el (network-stream-open-starttls):
11271 Avoid emitting a confusing error message when the server gives a bad
11272 response to the capability command.
11273
11274 2012-01-10 Glenn Morris <rgm@gnu.org>
11275
11276 * mail/unrmail.el (unrmail): Tweak previous change.
11277
11278 2012-01-09 Chong Yidong <cyd@gnu.org>
11279
11280 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11281
11282 2012-01-08 Alan Mackenzie <acm@muc.de>
11283
11284 Optimise font locking in long enum definitions.
11285
11286 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11287 arm to a cond form to handle enums.
11288 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11289 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11290
11291 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11292
11293 * files.el (move-file-to-trash): Preserve default file modes on error.
11294 (Bug#10401)
11295
11296 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297
11298 * faces.el (set-face-attribute): Clarify the meaning of the nil
11299 frame (bug#10294).
11300
11301 * subr.el (with-selected-frame): Mention that the selected frame
11302 is restored (bug#9980).
11303
11304 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11305 (bug#9759).
11306
11307 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11308 (password-read): Don't autoload unused function.
11309
11310 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * progmodes/which-func.el (which-func-mode): Turn into a
11313 non-interactive function and mark as obsolete (bug#10428).
11314
11315 2012-01-06 Chong Yidong <cyd@gnu.org>
11316
11317 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11318 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11319 functions, along with 1 and -1.
11320
11321 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11322
11323 * time.el (display-time-load-average)
11324 (display-time-default-load-average): Doc fixes. See the thread
11325 starting at
11326 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11327 for the details.
11328
11329 2012-01-06 Glenn Morris <rgm@gnu.org>
11330
11331 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11332 has no messages. (Bug#10377)
11333
11334 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11335 than Info-edit. (Bug#10385)
11336
11337 * time.el (display-time-load-average, display-time-next-load-average):
11338 Doc fixes.
11339
11340 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11341 local setting of buffer-read-only to the input buffer. (Bug#10419)
11342
11343 * calendar/calendar.el (calendar-mode):
11344 Locally set scroll-margin to 0. (Bug#10379)
11345
11346 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11347
11348 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11349
11350 2012-01-05 Glenn Morris <rgm@gnu.org>
11351
11352 * eshell/em-unix.el (diff-no-select): Autoload it.
11353 (eshell/diff): Use diff-no-select. (Bug#10420)
11354
11355 2012-01-05 Chong Yidong <cyd@gnu.org>
11356
11357 * shell.el (shell-dynamic-complete-functions): Revert last change.
11358 (shell-command-completion-function): New function.
11359 (shell-completion-vars): Use it to implement
11360 shell-completion-execonly (Bug#10417).
11361
11362 * custom.el (enable-theme): Don't set custom-safe-themes.
11363
11364 * cus-theme.el (custom-theme-merge-theme):
11365 Ignore custom-enabled-themes and custom-safe-themes.
11366
11367 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11368
11369 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11370 first prompt in `sql-interacive-mode'.
11371 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11372 keywords.
11373 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11374 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11375 context of original buffer. Invoke `sql-login-hook'.
11376
11377 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11378
11379 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11380 letters in cite-prefix.
11381
11382 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11385
11386 2012-01-03 Chong Yidong <cyd@gnu.org>
11387
11388 * shell.el (shell-dynamic-complete-functions):
11389 Put pcomplete-completions-at-point, so as to try
11390 comint-filename-completion first (Bug#10417).
11391
11392 2012-01-02 Richard Stallman <rms@gnu.org>
11393
11394 * battery.el (battery-status-function):
11395 Detect when to use battery-yeeloong-sysfs.
11396 (battery-echo-area-format): Add string for Yeeloong.
11397 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11398 (battery-yeeloong-sysfs): New function.
11399
11400 2012-01-02 Chong Yidong <cyd@gnu.org>
11401
11402 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11403 (dirtrack): Merge code for handling relative filenames in prompt
11404 from shell-dir-cookie-watcher.
11405 (dirtrack-debug-message): New arg to avoid excess format calls.
11406
11407 * shell.el (shell-dir-cookie-re): Variable deleted.
11408 (shell-dir-cookie-watcher): Function deleted.
11409 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11410 with dirtrack-mode.
11411
11412 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11413
11414 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11415 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11416 libgnutls-26.dll.
11417
11418 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11419
11420 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11421
11422 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11423
11424 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11425 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11426
11427 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11428
11429 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11430 also for alternative shells.
11431 (tramp-open-connection-setup-interactive-shell): Check, whether
11432 the shell is a busybox.
11433 (tramp-send-command): Don't suppress multiple prompts for
11434 busyboxes, it hurts.
11435
11436 2011-12-28 Chong Yidong <cyd@gnu.org>
11437
11438 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11439 (gdb-get-source-file): Move mode line update to
11440 gdb-get-source-file (Bug#10087).
11441
11442 2011-12-25 Chong Yidong <cyd@gnu.org>
11443
11444 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11445 gud-gdb-marker-filter without taking it as an argument.
11446 (gud-gdb-run-command-fetch-lines): Caller changed.
11447 (gud-gdb-completion-function): New variable.
11448 (gud-gdb-completion-at-point): Use it.
11449 (gud-gdb-completions-1): Split from gud-gdb-completions.
11450
11451 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11452 function as separate arguments.
11453 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11454 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11455 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11456 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11457 (gdb-stopped, def-gdb-auto-update-trigger)
11458 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11459 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11460 Callers changed.
11461 (gud-gdbmi-completions): New function.
11462 (gdb): Use it for generating the completion table.
11463
11464 2011-12-24 Alan Mackenzie <acm@muc.de>
11465
11466 Introduce a mechanism to widen the region used in context font
11467 locking. Use this to protect declarations from losing their contexts.
11468
11469 * progmodes/cc-langs.el (c-before-font-lock-functions):
11470 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11471 (c-before-context-fontification-functions): New defvar, a list of
11472 functions to be run just before context (etc.) font locking.
11473
11474 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11475 New, functionality extracted from
11476 c-neutralize-syntax-in-and-mark-CPP.
11477 (c-in-after-change-fontification): New variable.
11478 (c-after-change): Set c-in-after-change-fontification.
11479 (c-set-fl-decl-start): Rejig its interface, so it can be called
11480 from both after-change and context fontifying.
11481 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11482 New functions.
11483 (c-standard-font-lock-fontify-region-function): New variable.
11484 (c-font-lock-fontify-region): New function.
11485
11486 2011-12-24 Juri Linkov <juri@jurta.org>
11487
11488 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11489 (Bug#10348)
11490
11491 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11494 existence of source file. (Bug#10325)
11495
11496 2011-12-23 Alan Mackenzie <acm@muc.de>
11497
11498 Fix unstable fontification inside templates.
11499
11500 * progmodes/cc-langs.el (c-before-font-lock-functions):
11501 Newly created from the singular version. The (c c++ objc) entry now
11502 additionally has c-set-fl-decl-start. The other languages (apart
11503 from AWK) have that as a single entry.
11504
11505 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11506 The functionality for "local" declarations has been extracted to
11507 c-set-fl-decl-start.
11508
11509 * progmodes/cc-mode.el (c-common-init, c-after-change):
11510 Changes due to pluralisation of c-before-font-lock-functions.
11511 (c-set-fl-decl-start): New function, extracted from
11512 c-font-lock-enclosing-decls and enhanced.
11513
11514 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11517
11518 2011-12-22 Juri Linkov <juri@jurta.org>
11519
11520 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11521
11522 2011-12-22 Chong Yidong <cyd@gnu.org>
11523
11524 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11525
11526 2011-12-21 Drew Adams <drew.adams@oracle.com>
11527
11528 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11529
11530 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11531
11532 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11533
11534 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11535
11536 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11537 highlighting and support. Fix up comments for capitalization.
11538 (cfengine-mode-debug): New var.
11539 (cfengine3-mode): Change the modeline indicator to "CFE3".
11540 (cfengine3-font-lock-keywords): Improve defun highlighting.
11541 (cfengine2-actions): Rename from `cfengine-actions'.
11542 (cfengine2-font-lock-keywords): Rename from
11543 `cfengine-font-lock-keywords'.
11544 (cfengine2-imenu-expression): Rename from
11545 `cfengine-imenu-expression'.
11546 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11547 (cfengine2-beginning-of-defun): Rename from
11548 `cfengine-beginning-of-defun'.
11549 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11550 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11551 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11552 modeline indicator to "CFE2".
11553 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11554 (cfengine-mode-abbrevs): Mark obsolete.
11555
11556 2011-12-21 Chong Yidong <cyd@gnu.org>
11557
11558 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11559 filename argument.
11560
11561 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11562
11563 * window.el (window-normalize-buffer-to-display): Remove.
11564 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11565
11566 2011-12-19 Chong Yidong <cyd@gnu.org>
11567
11568 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11569 Don't signal an error in a predicate function; return non-nil.
11570 (vc-dir-mark-file): Move the error here.
11571 (vc-dir-mark-unmark): If acting on the region, keep going if one
11572 of the entries cannot be marked/unmarked.
11573 (vc-dir-mark-all-files): If current entry is a directory, mark
11574 only child files, as documented.
11575
11576 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11577
11578 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11579 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11580 addition.
11581
11582 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11583
11584 * term/ns-win.el (ns-get-selection-internal)
11585 (ns-store-selection-internal): Declare.
11586 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11587 Declare as obsolete.
11588 (ns-get-pasteboard, ns-paste-secondary):
11589 Use ns-get-selection-internal.
11590 (ns-set-pasteboard, ns-copy-including-secondary):
11591 Use ns-store-selection-internal.
11592
11593 2011-12-17 Chong Yidong <cyd@gnu.org>
11594
11595 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11596 (vc-deduce-fileset): Doc fix.
11597
11598 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11599
11600 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11601
11602 2011-12-13 Sam Steingold <sds@gnu.org>
11603
11604 * man.el (Man-getpage-in-background): When running under a
11605 window-system, ignore $MANWIDTH and $COLUMNS.
11606
11607 2011-12-15 Kenichi Handa <handa@m17n.org>
11608
11609 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11610 (setup-ethiopic-environment-internal): Comment out key-binding for
11611 ethio-toggle-punctuation.
11612
11613 2011-12-13 Alan Mackenzie <acm@muc.de>
11614
11615 Add the switch statement to AWK Mode.
11616
11617 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11618 "default" to the keywords regexp.
11619
11620 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11621 expression as the rest.
11622 (c-nonlabel-token-key): Allow string literals for AWK.
11623 Refactor for the other modes.
11624
11625 Large brace-block initialisation makes CC Mode slow: Fix.
11626 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11627 routines. Limit backward searching in c-font-lock-enclosing.decl.
11628
11629 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11630 pp-state and literal type in addition to the limits.
11631 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11632 (c-state-literal-at): Use the above new defun.
11633 (c-slow-in-literal, c-fast-in-literal): Remove.
11634 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11635
11636 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11637 being in a literal. Add a limit for backward searching.
11638
11639 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11640 c-slow-in-literal.
11641
11642 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11645
11646 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11647
11648 * window.el (delete-other-windows): Use correct frame in call to
11649 window-with-parameter.
11650
11651 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11652
11653 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11654 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11655 (makefile-gmake-statements, makefile-makepp-statements):
11656 Use it and add new makepp keywords.
11657 (makefile-makepp-font-lock-keywords): Add new patterns.
11658 (makefile-match-function-end): Match new [...] and [[...]].
11659
11660 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11661
11662 * ses.el (ses-call-printer-return, ses-cell-property-get)
11663 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11664 (ses-create-cell-variable, ses-reset-header-string)
11665 (ses-cell-set-formula, ses-repair-cell-reference-all)
11666 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11667 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11668 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11669 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11670 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11671 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11672 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11673 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11674 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11675 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11676 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11677 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11678
11679 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11680
11681 * ses.el: The overall change is to add cell renaming, that is
11682 setting fancy names for cell symbols other than name matching
11683 "\\`[A-Z]+[0-9]+\\'" regexp .
11684 (ses-create-cell-variable): New defun.
11685 (ses-relocate-formula): Relocate formulas only for cells the
11686 symbols of which are not renamed, i.e. symbols whose names do not
11687 match regexp "\\`[A-Z]+[0-9]+\\'".
11688 (ses-relocate-all): Relocate values only for cells the symbols of
11689 which are not renamed.
11690 (ses-load): Create cells variables as the (ses-cell ...) are read,
11691 in order to check row col consistency with cell symbol name only
11692 for cells that are not renamed.
11693 (ses-replace-name-in-formula): New defun.
11694 (ses-rename-cell): New defun.
11695
11696 2011-12-11 Chong Yidong <cyd@gnu.org>
11697
11698 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11699 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11700
11701 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11702
11703 * window.el (other-window): Fix docstring.
11704
11705 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11706
11707 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11708 `from' or `to' address before taking its substring.
11709 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11710 encoded name is chopped in the middle of the encoded string, and
11711 thus displayed encoded.
11712
11713 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11716
11717 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11718
11719 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11720 to use texinfo-update-node and commands that call it if the
11721 Texinfo file uses @node lines without next/prev/up pointers.
11722 Correct outdated description about texinfo-master-menu.
11723 (texinfo-all-menus-update, texinfo-master-menu)
11724 (texinfo-update-node, texinfo-every-node-update)
11725 (texinfo-multiple-files-update): Doc fix. Warn against updating
11726 all the @node lines.
11727 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11728 argument is numeric. Explain better in the doc string what the
11729 function really does.
11730 (texinfo-insert-master-menu-list): Improve the error message
11731 displayed if there's no menu in the Top node.
11732 (Bug#2975) See also this thread:
11733 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11734
11735 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11736
11737 * speedbar.el (speedbar-supported-extension-expressions):
11738 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11739
11740 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * printing.el (pr-mode-alist):
11743 * simple.el (filter-buffer-substring-functions)
11744 (completion-list-insert-choice-function):
11745 * window.el (window-with-parameter, window-atom-root)
11746 (window-sides-slots, window-size-fixed, window-min-delta)
11747 (window-max-delta, window--resize-mini-window)
11748 (window--resize-child-windows-normal, window-tree)
11749 (delete-other-windows, quit-window, split-window)
11750 (display-buffer-record-window, special-display-buffer-names)
11751 (special-display-regexps, special-display-popup-frame)
11752 (same-window-p, split-window-sensibly)
11753 (display-buffer-overriding-action, display-buffer-alist)
11754 (display-buffer-base-action, display-buffer, switch-to-buffer)
11755 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11756 (fit-window-to-buffer, recenter-positions)
11757 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11758 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11759 and remove unneeded backslashes in docstrings.
11760
11761 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11764
11765 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11766 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11767 end in ".mk".
11768 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11769 when reading the makefile (bug#10116).
11770
11771 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11774 (bug#10116).
11775
11776 2011-12-06 Glenn Morris <rgm@gnu.org>
11777
11778 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11779
11780 2011-12-06 Chong Yidong <cyd@gnu.org>
11781
11782 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11783
11784 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * textmodes/table.el (table-shorten-cell): Fix typo.
11787
11788 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11789
11790 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11791
11792 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11793
11794 * descr-text.el (describe-char): Fix display of strong
11795 right-to-left characters and directional embeddings and overrides.
11796
11797 * simple.el (what-cursor-position): Fix display of codepoints of
11798 strong right-to-left characters.
11799
11800 2011-12-05 Chong Yidong <cyd@gnu.org>
11801
11802 * faces.el (read-color): Doc fix.
11803
11804 2011-12-05 Glenn Morris <rgm@gnu.org>
11805
11806 * align.el (align--set-marker): Add doc-string.
11807 Don't try to move something that is not a marker. (Bug#10216)
11808
11809 2011-12-04 Glenn Morris <rgm@gnu.org>
11810
11811 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11812 overly zealous deletion of trailing whitespace.
11813
11814 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * server.el (server-delete-client): On Windows, do not try to delete
11817 the only terminal.
11818 (server-process-filter): On Windows, treat requests for a tty frame as
11819 if they were for a GUI frame if the running server is in GUI mode.
11820
11821 2011-12-03 Glenn Morris <rgm@gnu.org>
11822
11823 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11824
11825 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * electric.el: Streamline electric-indent's hook.
11828 (electric-indent-chars): Revert to simple list.
11829 (electric-indent-functions): New var.
11830 (electric-indent-post-self-insert-function): Use it.
11831
11832 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11833 there's no inferior buffer (bug#10196).
11834 (prolog-consult-compile): Don't use toggle-read-only.
11835
11836 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11837
11838 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11839 interrupt. (Bug#10187)
11840
11841 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11844 (bug#9160).
11845
11846 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11847 (bug#10191).
11848
11849 2011-12-02 Juri Linkov <juri@jurta.org>
11850
11851 * info.el (Info-search): Display "end of manual" when Isearch
11852 reaches the end of single-file Info manual. (Bug#9918)
11853
11854 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11855
11856 * isearch.el (isearch-message-prefix): Run the input method part
11857 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11858
11859 2011-12-02 Juri Linkov <juri@jurta.org>
11860
11861 * isearch.el (isearch-occur): Use `word-search-regexp' for
11862 `isearch-word'.
11863 (isearch-search-and-update): Add condition for `isearch-word' and
11864 call `word-search-regexp'. (Bug#10145)
11865
11866 2011-12-01 Glenn Morris <rgm@gnu.org>
11867
11868 * eshell/em-hist.el (eshell-hist-initialize):
11869 Handle eshell-history-size nil and HISTSIZE set or unset.
11870 (eshell-history-file-name, eshell-history-size): Fix custom type.
11871
11872 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11875
11876 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11877
11878 * progmodes/verilog-mode.el (verilog-pretty-expr):
11879 Rework verilog-pretty-expr to handle new assignment operators in system
11880 verilog, such as += *= and the like.
11881 (verilog-assignment-operator-re): Regular expression to find the
11882 assigment operator in a verilog assignment.
11883 (verilog-assignment-operation-re): Regular expression to find an
11884 assignment statement for pretty-expr.
11885 (verilog-in-attribute-p): Query returns true if point is in an
11886 attribute context; used to skip these for expression line up from
11887 pretty-expr.
11888 (verilog-in-parameter-p): Query returns true if point is in an
11889 parameter definition context; used to skip these for expression
11890 line up from pretty-expr.
11891 (verilog-in-parenthesis-p): Query returns true if point is in a
11892 parenthetical expression, specifically ( ) but not [ ] or { };
11893 used by pretty-expr.
11894 (verilog-just-one-space): If there is no space, don't add one.
11895 (verilog-get-lineup-indent-2): Specifically skip just attribute
11896 contexts for expression lineup, rather than skipping all
11897 parenthetical expressions.
11898 (verilog-calculate-indent): Fix comment, and fix indent.
11899 (verilog-do-indent): Indent declarations in lists (suggested by
11900 Joachim Lechner).
11901 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11902 skeleton items.
11903 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11904 by Alain Mellan).
11905
11906 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11907
11908 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11909 parameters with embedded comments. Reported by Ray Stevens.
11910 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11911 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11912 Reported by Tim Holt.
11913 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11914 instantiated by upper module causing wrong expansion until AUTOed a
11915 second time. Reported by K C Buckenmaier.
11916 (verilog-diff-auto): Fix showing .* as a difference when
11917 `verilog-auto-star-save' off. Reported by Dan Dever.
11918 (verilog-auto-reset, verilog-read-always-signals)
11919 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11920 temporary signals in reset list if
11921 verilog-auto-reset-blocking-in-non is nil, and match assignment
11922 style to each signal's assignment type, bug381.
11923 Reported by Thomas Esposito.
11924 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11925 (verilog-uvm-statement-re): Support UVM indentation and
11926 highlighting, with old OVM keywords only.
11927 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11928 Support AUTOTIEOFF creating non-wire data types.
11929 Suggested by Jonathan Greenlaw.
11930 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11931 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11932 (verilog-inject-sense, verilog-read-inst-pins)
11933 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11934 Fix mismatching parenthesis inside commented out code when deleting
11935 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11936 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11937 non-numeric vector width. Reported by Alex Reed.
11938 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11939 detecting signals with parameter widths. Reported by Alex Reed.
11940 (verilog-auto-delete-trailing-whitespace):
11941 With `verilog-auto-delete-trailing-whitespace' remove trailing
11942 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11943 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11944 Fix verilog-scan-cache corruption when running user AUTO expansion
11945 hooks that call indentation routines.
11946 (verilog-simplify-range-expression): Fix typo ignoring lower case
11947 identifiers.
11948 (verilog-delete-auto): Fix delete-autos to also remove user created
11949 automatics, as long as they start with AUTO.
11950 (verilog-batch-diff-auto, verilog-diff-auto)
11951 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11952 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11953 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11954 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11955 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11956 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11957 is disabled and its cache will get corrupt, causing AUTOS not to
11958 expand. Instead use only -quick functions.
11959 (verilog-scan-region): Fix scanning over escaped quotes.
11960 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11961 (verilog-re-search-backward-quick)
11962 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11963 related functions now ignore strings, to fix misparsing of strings
11964 with magic comments embedded in them.
11965 (verilog-read-auto-template):
11966 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11967 Reported by Brad Dobbie.
11968 (verilog-read-auto-template):
11969 Fix 'verilog-auto-inst-template-numbers' with comments.
11970 Reported by Brad Dobbie.
11971 (verilog-auto-inst, verilog-auto-inst-param)
11972 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11973 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11974 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11975 debugging templates without merge conflicts, bug357.
11976 Reported by Brad Dobbie.
11977 (verilog-read-auto-template):
11978 Fix verilog-auto-inst-template-numbers with multiple templates.
11979 Reported by Brad Dobbie.
11980 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11981 abbrevs so user won't be asked to save.
11982 (verilog-read-auto-lisp-present): Fix to start at beginning of
11983 buffer in case called outside of verilog-auto.
11984 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11985 to "X-2". Reported by Matthew Myers.
11986 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11987 all inputs from module templates. Reported by Leith Johnson.
11988 (verilog-module-inside-filename-p): Fix locating programs as with
11989 modules.
11990 (verilog-auto-inst-port): Fix vl-width expressions when using
11991 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11992 (verilog-decls-get-regs, verilog-decls-get-signals,
11993 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11994 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11995 verilog-read-decls): Combine reg and wire structures into one var
11996 structure to represent SystemVerilog concepts.
11997 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11998 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11999 (verilog-auto-wire-type, verilog-insert-definition):
12000 Add verilog-auto-wire-type and AUTOLOGIC to support using
12001 SystemVerilog "logic" keyword instead of "wire"/"reg".
12002 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12003 to declares outputs that also have assignments (presumably in an
12004 ifdef or generate if so there's not a driver conflict).
12005 Reported by Matthew Myers.
12006 (verilog-auto-declare-nettype, verilog-insert-definition):
12007 Add verilog-auto-declare-nettype to fix declarations using
12008 `default_nettype none. Reported by Julian Gorfajn.
12009 (verilog-read-always-signals-recurse, verilog-read-decls)
12010 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12011 malformed end statement, bug325. Reported by Joshua Wise and
12012 Andrew Drake.
12013 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12014 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12015 when expanding .* in interfaces, bug320.
12016 Reported by Pierre-David Pfister.
12017 (verilog-read-module-name): Fix import statements between module
12018 name and open parenthesis, bug317.
12019 Reported by Pierre-David Pfister.
12020 (verilog-simplify-range-expression): Fix simplification of
12021 multiplications inside AUTOWIRE connections, bug303.
12022 (verilog-auto-inst-port): Support parameter expansion in
12023 multidimensional arrays.
12024 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12025 after "assert property". Reported by Julian Gorfajn.
12026 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12027 with multiplication, bug303.
12028 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12029 Reported by Jan Frode Lonnum.
12030
12031 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12032
12033 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12034 (hfy-shell-file-name, hfy-shell):
12035 * international/fontset.el (x-decompose-font-name): Fix typos.
12036
12037 2011-11-29 Ken Brown <kbrown@cornell.edu>
12038
12039 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12040 (gdb-version): Remove defvar.
12041 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12042 (gdb-gud-context-command, gdb-non-stop-handler)
12043 (gdb-current-context-command, gdb-stopped): Use it.
12044 (gdb-init-1): Enable pretty printing here.
12045 (gdb-non-stop-handler): Don't enable pretty-printing here.
12046 Check to see if the target supports non-stop mode; if not, turn off
12047 non-stop mode. Use the following.
12048 (gdb-check-target-async): New defun.
12049 (gud-watch, gdb-stopped): Fix whitespace.
12050 (gdb-get-source-file): Don't try to display the source file if
12051 `gdb-main-file' is nil.
12052
12053 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 * align.el: Try to generate fewer markers (bug#10047).
12056 (align--set-marker): New macro.
12057 (align-region): Use it.
12058
12059 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12062
12063 2011-11-29 Chong Yidong <cyd@gnu.org>
12064
12065 * indent.el (indent-for-tab-command, indent-according-to-mode):
12066 Doc fix.
12067 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12068
12069 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12070
12071 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12072 aware of remote file names. (Bug#10124)
12073
12074 2011-11-29 Chong Yidong <cyd@gnu.org>
12075
12076 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12077
12078 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * files.el (find-file): Don't use force-same-window (bug#10144).
12081 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12082 use pop-to-buffer if the selected window can't be used.
12083 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12084
12085 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12086
12087 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12088 special-mode-map.
12089
12090 2011-11-28 Chong Yidong <cyd@gnu.org>
12091
12092 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12093
12094 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12095
12096 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12097 gdb-get-source-file-list on gdb-create-source-file-list.
12098
12099 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12100
12101 * whitespace.el (whitespace-newline): Use a different foreground
12102 color for 16-color light-background displays.
12103
12104 2011-11-24 Chong Yidong <cyd@gnu.org>
12105
12106 * window.el (display-buffer--special-action): Doc fix.
12107
12108 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12109
12110 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12111 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12112 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12113 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12114 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12115 (avl-tree-stack-first):
12116 * emacs-lisp/cconv.el (cconv--analyse-use):
12117 * net/gnutls.el (gnutls-negotiate): Fix typos.
12118
12119 2011-11-24 Glenn Morris <rgm@gnu.org>
12120
12121 * lpr.el (lpr-windows-system, lpr-lp-system):
12122 * mail/binhex.el (binhex-begin-line):
12123 * progmodes/grep.el (grep-history, grep-find-history):
12124 * textmodes/flyspell.el:
12125 * vc/pcvs-defs.el (cvs-global-menu):
12126 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12127 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12128 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12129
12130 * net/tls.el: Fix case of "GnuTLS".
12131
12132 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12133
12134 * version.el (emacs-build-system): Give it a doc-string.
12135
12136 2011-11-24 Juri Linkov <juri@jurta.org>
12137
12138 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12139
12140 2011-11-24 Glenn Morris <rgm@gnu.org>
12141
12142 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12143 if called on a non-mime message just toggle the headers. (Bug#8006)
12144
12145 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12148 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12149 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12150 (allout-rebullet-heading, allout-open-sibtopic)
12151 (allout-toggle-current-subtree-encryption)
12152 (allout-toggle-subtree-encryption, allout-encrypt-string)
12153 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12154 (allout-distinctive-bullets-string, allout-auto-activation):
12155 * window.el (window-normalize-buffer-to-display):
12156 * progmodes/verilog-mode.el (verilog-batch-indent):
12157 * textmodes/bibtex.el (bibtex-field-braces-opt)
12158 (bibtex-field-strings-opt):
12159 * vc/cvs-status.el (cvs-tree-merge):
12160 Fix typos.
12161
12162 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12163
12164 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12165 `non-essential' to t, in order to avoid remote connections.
12166
12167 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12168
12169 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12170 On MS-DOS and MS-Windows, compare with loaddefs.el
12171 case-insensitively.
12172
12173 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12174
12175 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12176
12177 2011-11-23 Glenn Morris <rgm@gnu.org>
12178
12179 * paths.el (rmail-file-name): Reformat the doc-string so that it
12180 is picked up.
12181
12182 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12183 (rmail-auto-file): Ignore case in the "special" field names,
12184 as mail-fetch-field does for all others.
12185
12186 * mail/rmail.el (rmail-forward):
12187 * mail/rmailkwd.el (rmail-set-label):
12188 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12189 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12190
12191 * mail/rmail.el (rmail-current-message): Doc fix.
12192
12193 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12194
12195 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12198
12199 2011-11-22 Glenn Morris <rgm@gnu.org>
12200
12201 * mail/rmailmm.el (test-rmail-mime-handler)
12202 (test-rmail-mime-bulk-handler)
12203 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12204
12205 2011-11-21 Juri Linkov <juri@jurta.org>
12206
12207 * calc/calc.el (calc-read-key-sequence):
12208 Let-bind `input-method-function' to nil. (Bug#10018)
12209
12210 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12211
12212 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12213 Tell the caller that the next line needs recomputation, even
12214 though it doesn't start a sexp (bug#10094).
12215
12216 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12219
12220 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12223 Use force-same-window.
12224
12225 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * descr-text.el (describe-char-unicode-data):
12228 * json.el (json-string-escape):
12229 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12230 (Footnote-unicode, Footnote-style-p):
12231 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12232
12233 2011-11-20 Chong Yidong <cyd@gnu.org>
12234
12235 * window.el (replace-buffer-in-windows): Restore interactive spec.
12236
12237 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12240
12241 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12242 (byte-compile-global-not-obsolete-vars): New var.
12243 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12244 Use it.
12245 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12246
12247 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12248
12249 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12250 * progmodes/pascal.el (electric-pascal-equal):
12251 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12252 * xml.el (xml-substitute-special): Fix typos.
12253
12254 2011-11-20 Glenn Morris <rgm@gnu.org>
12255
12256 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12257 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12258 Doc fixes.
12259 (rmail-decode-mime-charset): Mark as obsolete.
12260
12261 * mail/rmailsum.el (rmail-message-regexp-p-1):
12262 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12263 Before using mime functions, check they are set. (Bug#10077)
12264
12265 2011-11-19 Juri Linkov <juri@jurta.org>
12266
12267 * info.el (Info-finder-find-node): Use `package--builtins' instead
12268 of `package-alist'. Use node names formed by the pattern "Keyword "
12269 and the keyword name.
12270
12271 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12272
12273 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12274
12275 2011-11-19 Juri Linkov <juri@jurta.org>
12276
12277 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12278 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12279 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12280 `old-history', `old-history-forward'. Add let-binding
12281 `window-selected'. Remove calls to `kill-buffer',
12282 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12283 before calling `Info-find-node', so `Info-find-node-2' will reread
12284 the Info file. Restore window positions only when `window-selected'
12285 is non-nil.
12286
12287 2011-11-19 Juri Linkov <juri@jurta.org>
12288
12289 * isearch.el (isearch-lazy-highlight-new-loop):
12290 Remove condition `(not isearch-error)'. (Bug#9918)
12291
12292 * misearch.el (multi-isearch-search-fun): Add condition
12293 `(not bound)' to ignore lazy-highlighting search.
12294 Add the search-failed message "end of multi" when the end of
12295 multi-sequence is reached. Uncapitalize the search-failed
12296 message "Repeat for next buffer".
12297
12298 * info.el (Info-search): Add the search-failed message
12299 "end of the manual" when the end of the manual is reached
12300 in Isearch mode.
12301
12302 2011-11-19 Juri Linkov <juri@jurta.org>
12303
12304 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12305 Use non-destructive `remove' instead of `delete' because
12306 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12307 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12308
12309 2011-11-19 Juri Linkov <juri@jurta.org>
12310
12311 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12312 to nil instead of binding `search-ring' and `regexp-search-ring'.
12313 (Bug#9185)
12314
12315 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12316
12317 * simple.el (line-move): Force movement by logical lines for any
12318 hscrolled window, not only when auto-hscroll-mode is on.
12319 (line-move-visual): Update doc string to that effect. (Bug#10076)
12320
12321 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12322
12323 * language/european.el (macintosh): Define as alias for mac-roman.
12324
12325 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12326
12327 * mail/rmailmm.el (rmail-mime-display-header)
12328 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12329 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12330 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12331 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12332 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12333 of a raw aref.
12334 (rmail-mime-entity-segment): To get past the tagline, move forward
12335 2 more lines, to account for the 2 empty lines that precede and
12336 follow the line with the buttons.
12337 (rmail-mime-update-tagline): Move one more line, to get past the
12338 empty line that follows the buttons in the tagline. (Bug#9520)
12339
12340 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12341
12342 * window.el (window-max-delta-1, window-min-delta-1)
12343 (window-min-size-1, window-state-get-1, window-state-put-1)
12344 (window-state-put-2): Use "window--" prefix.
12345
12346 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12349 (smie-warning-count): New var.
12350 (smie-set-prec2tab): Use it.
12351 (smie-bnf->prec2): Improve warnings. Add docstring.
12352 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12353 (smie-bnf--set-class): New function.
12354 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12355 corner case.
12356
12357 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12358 (compilation-error-properties, compilation-move-to-column):
12359 Handle compilation-first-column while in the target buffer.
12360
12361 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12362 Don't hardcode point-min==1.
12363
12364 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12365 (eshell-rewrite-for-command): Remove workaround.
12366 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12367 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12368 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12369
12370 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12371
12372 2011-11-17 Glenn Morris <rgm@gnu.org>
12373
12374 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12375 Ignore buffer-local generated-autoload-file if it is the same
12376 as the global value. (Bug#10049)
12377
12378 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12379
12380 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12381 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12382 (reftex-toc-previous-heading, reftex-toc-max-level)
12383 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12384 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12385 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12386 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12387 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12388 (reftex-toc-rename-label, reftex-toc-visit-location)
12389 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12390 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12391 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12392 leaving "*toc*" only for references to the buffer.
12393
12394 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12395
12396 * window.el (window-resize, delete-window, split-window):
12397 Replace window-splits by window-combination-resize.
12398 * cus-start.el (window-splits): Replace by window-combination-resize.
12399
12400 2011-11-17 Glenn Morris <rgm@gnu.org>
12401
12402 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12403 Make bash entry derive from sh entry, not shell entry.
12404
12405 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12406
12407 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12408 local file name.
12409
12410 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12411
12412 * menu-bar.el (menu-bar-file-menu):
12413 * printing.el (pr-ps-utility):
12414 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12415 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12416 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12417 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12418 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12419 (icalendar--convert-cyclic-to-ical)
12420 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12421 (icalendar--convert-ical-to-diary)
12422 (icalendar--convert-recurring-to-diary)
12423 (icalendar--convert-non-recurring-all-day-to-diary)
12424 (icalendar-import-format-sample):
12425 * progmodes/idlw-shell.el (idlwave-shell-mode):
12426 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12427 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12428 (vhdl-ps-print-init): Fix typos.
12429
12430 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12431
12432 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12433 FSF and collapse date sequence, obscure author/maintainer email address
12434 better, remove extra version line, track relocation of author's webpage.
12435
12436 * progmodes/python.el (python-pdbtrack-input-prompt)
12437 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12438 regular python pdb prompts. Adjustments shamelessly taken exactly as
12439 suggested in EmacsWiki page (tiny change):
12440 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12441
12442 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12443
12444 * expand.el (expand-pos, expand-index, expand-point):
12445 Remove redundant info from docstring.
12446 (expand-add-abbrevs): Doc fix.
12447 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12448 (expand-sample-perl-mode-expand-list): Fix typos.
12449
12450 * net/dbus.el (dbus-event-member-name):
12451 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12452 * term/pc-win.el (msdos-create-frame-with-faces):
12453 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12454
12455 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12456
12457 * window.el (split-window, window-state-get-1)
12458 (window-state-put-1, window-state-put-2): Rename occurrences of
12459 window-nest to window-combination-limit.
12460 * cus-start.el (window-nest): Rename to window-combination-limit.
12461
12462 2011-11-16 Chong Yidong <cyd@gnu.org>
12463
12464 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12465 regexp (Bug#10033).
12466
12467 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12470 `completing-read' will remove *Completions* and will preserve
12471 current-buffer for us.
12472 (tmm-add-prompt): Users of *Completions* will always (re)set its
12473 major mode.
12474 (tmm-old-comp-map): Remove.
12475
12476 2011-11-16 Glenn Morris <rgm@gnu.org>
12477
12478 * mail/rmailedit.el: Require rmailmm when compiling.
12479 (rmail-old-mime-state): New declaration.
12480 (rmail-edit-current-message): If editing a mime message,
12481 edit the "raw" message from the mbox buffer.
12482 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12483
12484 2011-11-15 Glenn Morris <rgm@gnu.org>
12485
12486 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12487 which wasn't being used. Add optional arg to force given state.
12488 (rmail-mime): Add optional arg to force given state.
12489
12490 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12491
12492 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12493 * frame.el (display-mm-dimensions-alist):
12494 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12495 (outline-move-subtree-down):
12496 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12497 (newsticker--treeview-do-get-node):
12498 * net/quickurl.el (quickurl-list-buffer-name):
12499 * progmodes/dcl-mode.el (dcl-mode):
12500 * progmodes/gdb-mi.el (gdb-mapcar*):
12501 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12502
12503 2011-11-15 Glenn Morris <rgm@gnu.org>
12504
12505 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12506 in a boolean sense, so just make it a boolean, and fix the doc.
12507 (rmail-show-mime-function, rmail-mime-feature)
12508 (rmail-require-mime-maybe): Doc fixes.
12509 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12510
12511 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12512
12513 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12514
12515 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12516 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12517 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12518 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12519
12520 2011-11-15 Glenn Morris <rgm@gnu.org>
12521
12522 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12523 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12524 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12525 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12526 (rmail-mime, rmail-show-mime): Doc fixes.
12527
12528 * term/ns-win.el (mode-line-frame-identification):
12529 Leave it alone. (Bug#10051)
12530
12531 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12532
12533 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12534 Handle empty buffers. (Bug#9978)
12535
12536 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * international/mule.el (define-charset):
12539 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12540 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12541 * progmodes/verilog-mode.el (verilog-backward-token):
12542 * textmodes/ispell.el (lookup-words):
12543 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12544
12545 2011-11-14 Glenn Morris <rgm@gnu.org>
12546
12547 * progmodes/executable.el
12548 (executable-make-buffer-file-executable-if-script-p):
12549 Handle file-modes returning nil.
12550
12551 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12552 message - not necessary, and causes problems. (Bug#9831)
12553
12554 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12555
12556 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12557
12558 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12559 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12560 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12561
12562 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12563
12564 * window.el (window-resize, delete-window): Use window-splits
12565 variable instead of function.
12566 (window-state-get-1, window-state-put-2, window-state-put):
12567 Don't deal with windows' splits status.
12568
12569 2011-11-12 Glenn Morris <rgm@gnu.org>
12570
12571 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12572 (apropos-documentation): Doc fixes.
12573
12574 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12575
12576 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12577 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12578
12579 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12580
12581 * electric.el (electric-indent-post-self-insert-function): Make it
12582 possible for a char to only indent in some circumstances.
12583 (electric-indent-mode): Simplify.
12584
12585 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12586
12587 * window.el (windows-with-parameter): Remove unused function.
12588 (windows-at-side): Rename to window-at-side-list.
12589 (window-check, window-atom-check, window-atom-check-1)
12590 (window-side-check, window-size-ignore, window-size-fixed-1)
12591 (window-in-direction-2): Prefix with "window--".
12592 (window-tree-1): Rename to window--subtree, fix doc-string.
12593
12594 2011-11-11 Glenn Morris <rgm@gnu.org>
12595
12596 * subr.el (eval-after-load): If FILE is already loaded,
12597 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12598
12599 2011-11-10 Glenn Morris <rgm@gnu.org>
12600
12601 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12602 Call svn via vc-svn-command rather than vc-do-command.
12603 (vc-svn-command): Add --non-interactive. (Bug#9993)
12604 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12605
12606 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12607 Add toggle-read-only. (Bug#7292)
12608 * files.el (toggle-read-only): Mention that it should only
12609 be used interactively. (Bug#10006)
12610
12611 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12614 Adjust regexp for OCaml warnings.
12615
12616 * electric.el (electric-pair-post-self-insert-function): Let user
12617 turn it off buffer-locally (bug#9932).
12618
12619 * progmodes/python.el (python-beginning-of-statement):
12620 Rewrite (bug#2703).
12621
12622 * progmodes/compile.el: Better handle TABs (bug#9749).
12623 (compilation-internal-error-properties)
12624 (compilation-next-error-function): Obey the target buffer's
12625 compilation-error-screen-columns.
12626
12627 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12628
12629 * progmodes/meta-mode.el: Remove obsolete comments.
12630 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12631 Fix typos in docstrings.
12632
12633 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12634
12635 * window.el (window-size-fixed-p): Rewrite doc-string.
12636 (window-resizable-p): Rename to window--resizable-p. Update callers.
12637 (window--resizable): New function. Make all callers of
12638 window-resizable call window--resizable instead.
12639 (window-resizable): Rewrite in terms of window--resizable.
12640
12641 2011-11-08 Glenn Morris <rgm@gnu.org>
12642
12643 * progmodes/delphi.el (delphi-mode-syntax-table):
12644 Let define-derived-mode define a proper syntax table. (Bug#9994)
12645
12646 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * window.el: Stay away from defsubst.
12649 (window-list-no-nils): Remove.
12650 (window-state-get-1, window-state-get): Use backquote instead.
12651
12652 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12653
12654 * emacs-lisp/find-func.el (find-function-read):
12655 Fix incorrect use of default argument in `completing-read'.
12656
12657 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12658
12659 * window.el (display-buffer-function, special-display-function):
12660 Mention display-buffer-record-window but do not mention
12661 help-setup parameter in doc-strings.
12662 (window-min-delta): Fix doc-string typo.
12663
12664 2011-11-08 Chong Yidong <cyd@gnu.org>
12665
12666 * window.el (window-total-height, window-total-width): Doc fix.
12667 (window-body-size): Move from C.
12668 (window-body-height, window-body-width): Move to C.
12669
12670 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * window.el: Make special-display like display-buffer-alist (bug#9532).
12673 (display-buffer--special-action): New function, morphed
12674 from display-buffer--special.
12675 (display-buffer): Use it to handle special-display-buffers at higher
12676 priority (just after display-buffer-alist).
12677 (display-buffer-fallback-action, display-buffer--other-frame-action)
12678 (pop-to-buffer-same-window): Remove display-buffer--special.
12679
12680 2011-11-07 Glenn Morris <rgm@gnu.org>
12681
12682 * calendar/cal-menu.el (cal-menu-set-date-title):
12683 Do nothing if not in a calendar. (Bug#9976)
12684
12685 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * files.el (find-file): Always use selected-window.
12688
12689 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12690
12691 * window.el (window-combinations): Make WINDOW argument
12692 mandatory. Rewrite doc-string.
12693 (walk-window-subtree, window-atom-check, window-min-delta)
12694 (window-max-delta, window--resize-this-window)
12695 (window--resize-root-window-vertically, window-tree)
12696 (balance-windows, window-state-put): Rewrite doc-strings as to
12697 not mention the term "subwindow".
12698 (window--resize-subwindows-skip-p): Rename to
12699 window--resize-child-windows-skip-p.
12700 (window--resize-subwindows-normal): Rename to
12701 window--resize-child-windows-normal.
12702 (window--resize-subwindows): Rename to
12703 window--resize-child-windows.
12704 (window-or-subwindow-p): Rename to window--in-subtree-p.
12705
12706 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12707
12708 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12709 Ensure that mbox format messages end in two newlines (Bug#9974).
12710
12711 2011-11-06 Chong Yidong <cyd@gnu.org>
12712
12713 * window.el (window-combination-p): Function deleted; its
12714 side-effect is not used in any existing code.
12715 (window-combinations, window-combined-p): Call window-*-child
12716 directly.
12717
12718 2011-11-05 Chong Yidong <cyd@gnu.org>
12719
12720 * window.el (window-valid-p): Rename from window-any-p.
12721 (window-size-ignore, window-state-get): Callers changed.
12722 (window-normalize-window): Rename from window-normalize-any-window.
12723 New arg LIVE-ONLY, replacing window-normalize-live-window.
12724 (window-normalize-live-window): Delete.
12725 (window-combination-p, window-combined-p, window-combinations)
12726 (walk-window-subtree, window-atom-root, window-min-size)
12727 (window-sizable, window-sizable-p, window-size-fixed-p)
12728 (window-min-delta, window-max-delta, window-resizable)
12729 (window-resizable-p, window-full-height-p, window-full-width-p)
12730 (window-current-scroll-bars, window-point-1, set-window-point-1)
12731 (window-at-side-p, window-in-direction, window-resize)
12732 (adjust-window-trailing-edge, maximize-window, minimize-window)
12733 (window-deletable-p, delete-window, delete-other-windows)
12734 (record-window-buffer, unrecord-window-buffer)
12735 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12736 (quit-window, split-window, window-state-put)
12737 (set-window-text-height, fit-window-to-buffer)
12738 (shrink-window-if-larger-than-buffer): Callers changed.
12739
12740 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12741
12742 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12743 rfc2047-decode-string.
12744 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12745 warnings.
12746
12747 * window.el (window-body-height, window-body-width): Mention in
12748 the doc string that the return values are in frame's canonical
12749 units. (Bug#9949)
12750
12751 2011-11-03 Alan Mackenzie <acm@muc.de>
12752
12753 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12754 change in cc-engine.el.
12755
12756 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12759
12760 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12761
12762 * window.el (quit-window): Call unrecord-window-buffer after
12763 showing another buffer in the window. (Bug#9937)
12764 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12765
12766 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12767
12768 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12769 Accept status with more than 9 shelves. (Bug#9935)
12770 Reported by Colin D Bennett <colin@gibibit.com>.
12771
12772 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12773
12774 * help.el (with-help-window): Don't reference
12775 temp-buffer-show-specifiers in doc-string.
12776
12777 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12778
12779 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12780 menu-item.
12781
12782 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12783
12784 * whitespace.el: New version 13.2.2.
12785 (whitespace-newline-mode): Disable properly. Reported by Sarah
12786 <EmacsWiki>.
12787
12788 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12789
12790 * net/newst-treeview.el: Remove "Time-stamp".
12791 (newsticker--group-manage-orphan-feeds): Do not call
12792 newsticker--treeview-tree-update.
12793 (newsticker-treeview-update, newsticker-treeview):
12794 Call newsticker--treeview-tree-update if necessary.
12795
12796 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12797
12798 * window.el (window-iso-combination-p, window-iso-combined-p)
12799 (window-iso-combinations): Remove "iso-" infix.
12800 Suggested by Chong Yidong.
12801 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12802 (window-max-delta-1, window-resize, window--resize-siblings)
12803 (window--resize-this-window, adjust-window-trailing-edge)
12804 (split-window, balance-windows-1)
12805 (shrink-window-if-larger-than-buffer):
12806 * calendar/calendar.el (calendar-generate-window):
12807 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12808
12809 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12812 in place (bug#9907).
12813 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12814 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12815 (eshell-structure-basic-command, eshell-rewrite-while-command)
12816 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12817 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12818 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12819 (eshell-do-pipelines-synchronously, eshell-eval-command):
12820 Use backquotes and prefer setq to set.
12821 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12822 (eshell-macrop): Use functionp.
12823 (eshell-do-eval): Handle multiple expressions in `while' body.
12824
12825 2011-10-30 Chong Yidong <cyd@gnu.org>
12826
12827 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12828 instead of set-mark (Bug#9810).
12829
12830 2011-10-30 Chong Yidong <cyd@gnu.org>
12831
12832 * window.el (split-window-below, split-window-right): Rename from
12833 split-window-above-each-other and split-window-side-by-side
12834 respectively. All callers changed.
12835 (split-window-sensibly, split-window-sensibly): Use them.
12836 (split-window-keep-point): Doc fix.
12837
12838 * isearch.el: Add isearch-scroll property to split-window-below
12839 and split-window-right.
12840
12841 * follow.el (follow-mode):
12842 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12843 * progmodes/ada-xref.el (ada-gdb-application):
12844 * emulation/vip.el (vip-buffer-in-two-windows):
12845 * image-dired.el (image-dired-dired-with-window-configuration):
12846 * dired-x.el (dired-do-find-marked-files):
12847 * dired.el (dired-pop-to-buffer):
12848 * bs.el (bs--show-with-configuration):
12849 * vc/emerge.el (emerge-setup-windows):
12850 * textmodes/two-column.el (2C-two-columns):
12851 * textmodes/reftex-toc.el (reftex-toc):
12852 * progmodes/gdb-mi.el (gdb-setup-windows):
12853 * progmodes/fortran.el (fortran-window-create):
12854 * net/newst-treeview.el (newsticker--treeview-window-init):
12855 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12856 * emulation/tpu-edt.el (tpu-gold-map):
12857 * emulation/crisp.el (crisp-mode-map):
12858 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12859
12860 2011-10-29 Chong Yidong <cyd@gnu.org>
12861
12862 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12863
12864 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12865
12866 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12867 forged Ispell output (Bug#7904).
12868
12869 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12870
12871 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * doc-view.el: Avoid ugly errors about not finding nil.
12874 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12875 (doc-view-dvipdf-program, doc-view-unoconv-program)
12876 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12877 Avoid nil or absolute file name as default value.
12878 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12879
12880 2011-10-28 Alan Mackenzie <acm@muc.de>
12881
12882 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12883
12884 2011-10-28 Alan Mackenzie <acm@muc.de>
12885
12886 Amend the handling of c-beginning/end-of-defun in nested declaration
12887 scopes.
12888
12889 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12890 cc-langs.el. Change it to a defcustom.
12891
12892 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12893 cc-vars.el.
12894
12895 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12896 Prevent "class foo : bar" being spuriously recognized as a label.
12897
12898 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12899 Add parameter `inclusive' (to include enclosing braces in the region).
12900 (c-widen-to-enclosing-decl-scope): New function.
12901 (c-while-widening-to-decl-block): New macro.
12902 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12903 outward for defun boundaries, and correspondingly change symbol
12904 `respect-enclosure' to `go-outward'.
12905 (c-declaration-limits): Change algorithm to report only the "innermost"
12906 defun's boundaries.
12907
12908 2011-10-28 Deniz Dogan <deniz@dogan.se>
12909
12910 * net/rcirc.el (rcirc-mode): Use hard newlines.
12911
12912 2011-10-28 Alan Mackenzie <acm@muc.de>
12913
12914 Amend to indent and fontify macros "which include their own semicolon"
12915 correctly, using the "virtual semicolon" mechanism.
12916
12917 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12918
12919 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12920 Recode to scan one line at a time rather than having \n and \r
12921 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12922 (c-forward-label): Amend for virtual semicolons.
12923 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12924
12925 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12926 of the new C macros.
12927
12928 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12929 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12930 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12931 (c-opt-cpp-macro-define): Make into a full language variable.
12932 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12933 AWK Mode (including \n, \r) removed, no longer needed.
12934
12935 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12936 Invoke c-make-macro-with-semi-re.
12937
12938 * progmodes/cc-vars.el (c-macro-with-semi-re):
12939 (c-macro-names-with-semicolon): New variables.
12940 (c-make-macro-with-semi-re): New function.
12941
12942 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * vc/log-edit.el: Fill empty field rather than adding new one.
12945 (log-edit-add-field): New function.
12946 (log-edit-insert-changelog): Use it.
12947
12948 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12949
12950 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12951
12952 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12953
12954 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12955 (gdb--check-interpreter): New function.
12956 (gdb): Use it.
12957
12958 2011-10-27 Glenn Morris <rgm@gnu.org>
12959
12960 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12961 (least-positive-float, least-negative-float)
12962 (least-positive-normalized-float, least-negative-normalized-float)
12963 (float-epsilon, float-negative-epsilon):
12964 Remove unnecessary declarations.
12965
12966 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12967 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12968 (least-positive-float, least-negative-float)
12969 (least-positive-normalized-float, least-negative-normalized-float)
12970 (float-epsilon, float-negative-epsilon): Add doc-strings,
12971 based on those in cl.texi.
12972
12973 * files.el (set-visited-file-name): If the major-mode changed,
12974 reload the local variables. (Bug#9796)
12975
12976 2011-10-27 Chong Yidong <cyd@gnu.org>
12977
12978 * subr.el (change-major-mode-after-body-hook): New hook.
12979 (run-mode-hooks): Run it.
12980
12981 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12982 Use change-major-mode-before-body-hook.
12983
12984 * simple.el (fundamental-mode):
12985 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12986 change introducing fundamental-mode-hook.
12987
12988 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12989
12990 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12991
12992 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12993
12994 * ido.el (ido-file-name-all-completions-1): Do not require
12995 tramp.el explicitly. (Bug#7583)
12996
12997 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * progmodes/octave-mod.el:
13000 * progmodes/octave-inf.el: Update maintainer.
13001
13002 2011-10-26 Chong Yidong <cyd@gnu.org>
13003
13004 * subr.el (with-wrapper-hook): Rewrite doc.
13005
13006 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13007
13008 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13009 filenames "/method:foo:". (Bug#9793)
13010
13011 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13014 (bug#9865).
13015
13016 2011-10-24 Glenn Morris <rgm@gnu.org>
13017
13018 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13019
13020 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13021
13022 * notifications.el: Add the requirement of a running D-Bus session
13023 bus to the Commentary.
13024
13025 2011-10-24 Juri Linkov <juri@jurta.org>
13026
13027 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13028 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13029 (Bug#9364)
13030
13031 2011-10-24 Juri Linkov <juri@jurta.org>
13032
13033 * info.el (Info-following-node-name-re): Add newline to the list
13034 of allowed characters for leading space. (Bug#9824)
13035
13036 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * progmodes/octave-inf.el (inferior-octave-mode-map):
13039 Fix C-c C-h binding.
13040 * progmodes/octave-mod.el (octave-help): Remove.
13041
13042 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13043
13044 Sync with Tramp 2.2.3.
13045
13046 * net/tramp-cache.el (top): Pacify byte-compiler using
13047 `init-file-user' and `site-run-file'.
13048
13049 * net/trampver.el: Update release number.
13050
13051 2011-10-23 Chong Yidong <cyd@gnu.org>
13052
13053 * files.el (toggle-read-only): Remove obsolete comment about
13054 version control.
13055
13056 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13057 for toggle-read-only. Note that this hasn't called vc-next-action
13058 since 2008-05-02, though it wasn't documented at the time.
13059
13060 * vc/ediff-init.el (ediff-toggle-read-only-function):
13061 Use toggle-read-only.
13062
13063 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13064
13065 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13066 of c-parse-state.
13067
13068 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13069 correct faulty logical expression.
13070 (c-parse-state-state, c-record-parse-state-state):
13071 (c-replay-parse-state-state): New defvar/defuns.
13072 (c-debug-parse-state): Use new functions.
13073
13074 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13075
13076 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13077 last fix. Use window-in-direction correctly.
13078
13079 2011-10-21 Chong Yidong <cyd@gnu.org>
13080
13081 * progmodes/idlwave.el (idlwave-mode):
13082 * progmodes/vera-mode.el (vera-mode): No need to set
13083 require-final-newline; that's done in prog-mode.
13084 Suggested by Stefan Monnier.
13085
13086 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13087
13088 * mouse.el (mouse-drag-window-above)
13089 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13090 (mouse-drag-mode-line-1, mouse-drag-header-line)
13091 (mouse-drag-vertical-line-rightward-window): Remove.
13092 (mouse-drag-line): New function.
13093 (mouse-drag-mode-line, mouse-drag-header-line)
13094 (mouse-drag-vertical-line): Call mouse-drag-line.
13095 * window.el (window-at-side-p, windows-at-side): New functions.
13096
13097 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13098
13099 * tar-mode.el (tar-grind-file-mode):
13100 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13101
13102 2011-10-21 Chong Yidong <cyd@gnu.org>
13103
13104 * progmodes/idlwave.el (idlwave-mode):
13105 * progmodes/vera-mode.el (vera-mode):
13106 Use mode-require-final-newline.
13107
13108 2011-10-20 Glenn Morris <rgm@gnu.org>
13109
13110 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13111
13112 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13113
13114 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13115
13116 2011-10-20 Chong Yidong <cyd@gnu.org>
13117
13118 * emulation/cua-base.el (cua-mode):
13119 * mail/footnote.el (footnote-mode):
13120 * mail/mailabbrev.el (mail-abbrevs-mode):
13121 * net/xesam.el (xesam-minor-mode):
13122 * progmodes/bug-reference.el (bug-reference-mode):
13123 * progmodes/cap-words.el (capitalized-words-mode):
13124 * progmodes/compile.el (compilation-minor-mode)
13125 (compilation-shell-minor-mode):
13126 * progmodes/gud.el (gud-tooltip-mode):
13127 * progmodes/hideif.el (hide-ifdef-mode):
13128 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13129 * progmodes/subword.el (subword-mode):
13130 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13131 * progmodes/which-func.el (which-function-mode):
13132 * term/tvi970.el (tvi970-set-keypad-mode):
13133 * term/vt100.el (vt100-wide-mode):
13134 * textmodes/flyspell.el (flyspell-mode):
13135 * textmodes/ispell.el (ispell-minor-mode):
13136 * textmodes/nroff-mode.el (nroff-electric-mode):
13137 * textmodes/paragraphs.el (use-hard-newlines):
13138 * textmodes/refill.el (refill-mode):
13139 * textmodes/reftex.el (reftex-mode):
13140 * textmodes/rst.el (rst-minor-mode):
13141 * textmodes/sgml-mode.el (html-autoview-mode)
13142 (sgml-electric-tag-pair-mode):
13143 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13144 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13145 * emulation/crisp.el (crisp-mode):
13146 * emacs-lisp/eldoc.el (eldoc-mode):
13147 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13148 minor mode behavior.
13149
13150 2011-10-19 Juri Linkov <juri@jurta.org>
13151
13152 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13153 the list of hard-coded chars with escape-glyph face.
13154
13155 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13158
13159 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13160
13161 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13162 running process.
13163
13164 2011-10-19 Glenn Morris <rgm@gnu.org>
13165
13166 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13167 Ignore ignored files. (Bug#9726)
13168
13169 2011-10-19 Chong Yidong <cyd@gnu.org>
13170
13171 Doc fix for minor modes, stating that an omitted argument enables
13172 the mode unconditionally when called from Lisp.
13173
13174 * abbrev.el (abbrev-mode):
13175 * allout.el (allout-mode):
13176 * autoinsert.el (auto-insert-mode):
13177 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13178 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13179 (global-auto-revert-mode):
13180 * battery.el (display-battery-mode):
13181 * composite.el (global-auto-composition-mode)
13182 (auto-composition-mode):
13183 * delsel.el (delete-selection-mode):
13184 * desktop.el (desktop-save-mode):
13185 * dired-x.el (dired-omit-mode):
13186 * dirtrack.el (dirtrack-mode):
13187 * doc-view.el (doc-view-minor-mode):
13188 * double.el (double-mode):
13189 * electric.el (electric-indent-mode, electric-pair-mode):
13190 * emacs-lock.el (emacs-lock-mode):
13191 * epa-hook.el (auto-encryption-mode):
13192 * follow.el (follow-mode):
13193 * font-core.el (font-lock-mode):
13194 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13195 * help.el (temp-buffer-resize-mode):
13196 * hilit-chg.el (highlight-changes-mode)
13197 (highlight-changes-visible-mode):
13198 * hi-lock.el (hi-lock-mode):
13199 * hl-line.el (hl-line-mode, global-hl-line-mode):
13200 * icomplete.el (icomplete-mode):
13201 * ido.el (ido-everywhere):
13202 * image-file.el (auto-image-file-mode):
13203 * image-mode.el (image-minor-mode):
13204 * iswitchb.el (iswitchb-mode):
13205 * jka-cmpr-hook.el (auto-compression-mode):
13206 * linum.el (linum-mode):
13207 * longlines.el (longlines-mode):
13208 * master.el (master-mode):
13209 * mb-depth.el (minibuffer-depth-indicate-mode):
13210 * menu-bar.el (menu-bar-mode):
13211 * minibuf-eldef.el (minibuffer-electric-default-mode):
13212 * mouse-sel.el (mouse-sel-mode):
13213 * msb.el (msb-mode):
13214 * mwheel.el (mouse-wheel-mode):
13215 * outline.el (outline-minor-mode):
13216 * paren.el (show-paren-mode):
13217 * recentf.el (recentf-mode):
13218 * reveal.el (reveal-mode, global-reveal-mode):
13219 * rfn-eshadow.el (file-name-shadow-mode):
13220 * ruler-mode.el (ruler-mode):
13221 * savehist.el (savehist-mode):
13222 * scroll-all.el (scroll-all-mode):
13223 * scroll-bar.el (scroll-bar-mode):
13224 * server.el (server-mode):
13225 * shell.el (shell-dirtrack-mode):
13226 * simple.el (auto-fill-mode, transient-mark-mode)
13227 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13228 (line-number-mode, column-number-mode, size-indication-mode)
13229 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13230 * strokes.el (strokes-mode):
13231 * time.el (display-time-mode):
13232 * t-mouse.el (gpm-mouse-mode):
13233 * tool-bar.el (tool-bar-mode):
13234 * tooltip.el (tooltip-mode):
13235 * type-break.el (type-break-mode-line-message-mode)
13236 (type-break-query-mode):
13237 * view.el (view-mode):
13238 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13239 (global-whitespace-mode, global-whitespace-newline-mode):
13240 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13241
13242 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13243 Fix autogenerated docstring.
13244
13245 2011-10-19 Juri Linkov <juri@jurta.org>
13246
13247 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13248 by checking environment variables "DESKTOP_SESSION" and
13249 "XDG_CURRENT_DESKTOP". (Bug#9779)
13250
13251 2011-10-19 Juri Linkov <juri@jurta.org>
13252
13253 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13254 (browse-url-chromium-program, browse-url-chromium-arguments):
13255 New defcustoms.
13256 (browse-url-default-browser): Check for `browse-url-chromium' and
13257 call `browse-url-chromium-program'.
13258 (browse-url-chromium): New command. (Bug#9779)
13259
13260 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13261
13262 * facemenu.el (list-colors-duplicates): On Windows, detect more
13263 duplicates by assuming that only colors matching "^System" are
13264 special "system colors". (Bug#9722)
13265
13266 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13267
13268 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13269 to distinguish the author from the committer.
13270
13271 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13272
13273 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13274
13275 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13276
13277 * international/mule.el (sgml-html-meta-auto-coding-function):
13278 Add support for detecting encoding in HTML5 specified only as
13279 <meta charset="UTF-8">. Implementation just makes http-equiv and
13280 content-type parts from HTML4 encoding string optional. (Bug#9716)
13281
13282 2011-10-18 Glenn Morris <rgm@gnu.org>
13283
13284 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13285
13286 2011-10-18 Chong Yidong <cyd@gnu.org>
13287
13288 * faces.el (cursor): Doc fix.
13289
13290 2011-10-17 Chong Yidong <cyd@gnu.org>
13291
13292 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13293
13294 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13295
13296 * dirtrack.el (dirtrack): Support shell buffers with path
13297 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13298
13299 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13300
13301 * json.el: Bump version to 1.3 and note change in History.
13302 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13303
13304 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * comint.el (comint-insert-input, comint-send-input)
13307 (comint-get-old-input-default, comint-backward-matching-input)
13308 (comint-next-prompt): Use nil instead of `input' for field property of
13309 past user input (bug#114).
13310
13311 * minibuffer.el (completion--replace): Inherit surrounding properties
13312 (bug#114).
13313 (minibuffer-complete-and-exit): Use it.
13314
13315 * comint.el (comint--table-subvert): Quote the all-completions output
13316 (bug#9160).
13317
13318 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13319
13320 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13321
13322 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13323 window on right of selected. (Bug#9350) Reword other window
13324 entries and separate them from frame entries.
13325
13326 2011-10-15 Glenn Morris <rgm@gnu.org>
13327
13328 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13329 Doc fixes.
13330
13331 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13332
13333 * net/network-stream.el (network-stream-open-starttls):
13334 Improve detection of failure due to lack of TLS support.
13335
13336 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13337 putting the input text in front and in bold.
13338
13339 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13342
13343 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13344 empty buffer.
13345
13346 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13347 unread-command-events rather than pushing yet-another event.
13348
13349 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13350
13351 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13352 the explanation of the possible choices. Make the options passed
13353 to completing-read shorter.
13354
13355 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13356
13357 * textmodes/flyspell.el (flyspell-large-region): Make sure
13358 extended character mode is used if defined (Bug#1339).
13359
13360 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13361
13362 * simple.el (what-cursor-position): Fix the display of the
13363 character info for LRE, LRO, RLE, and RLO characters by appending
13364 an invisible PDF.
13365
13366 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13367
13368 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13369 even in case of error; add debug spec; simplify data flow.
13370 (with-timeout-handler): Remove.
13371
13372 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13373
13374 Fix Bug#6019, Bug#9315.
13375
13376 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13377 complete `buffer-file-name', the local file name part could look
13378 remotely (for example on VMS).
13379
13380 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13381 `tramp-run-real-handler'.
13382 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13383 already quoted by '"'.
13384
13385 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13386 Let `file-name-handler-alist' be nil, the local file name part
13387 could look remotely (for example on VMS).
13388
13389 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13390
13391 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13392 from here...
13393 (flyspell-post-command-hook): ...to here.
13394
13395 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13398 if not needed.
13399 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13400 using completion. Protect against "slow" callers.
13401 Remove the "message hack".
13402
13403 2011-10-11 Juri Linkov <juri@jurta.org>
13404
13405 * isearch.el (isearch-lazy-highlight-word): New variable.
13406 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13407 Use it. (Bug#9727)
13408
13409 2011-10-11 Glenn Morris <rgm@gnu.org>
13410
13411 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13412 like f90-previous-statement does.
13413
13414 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13415
13416 * eshell/eshell.el (eshell-command): History should be saved
13417 only in interactive use, to avoid error.
13418
13419 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * minibuffer.el (completion-file-name-table): Fix last change,
13422 i.e. ignore normal errors but not the other ones.
13423
13424 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13425
13426 * window.el (special-display-buffer-names)
13427 (special-display-regexps): Remove some remnants of earlier
13428 changes from doc-strings.
13429 (quit-windows-on): New function.
13430
13431 * vc/vc.el (vc-revert, vc-rollback):
13432 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13433 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13434 (Bug#6183) (Bug#7074) (Bug#7447)
13435
13436 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13437
13438 * window.el (frame-auto-hide-function): Add version tag.
13439 (Bug#9699)
13440
13441 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13442
13443 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13444 condition.
13445
13446 2011-10-09 Leo Liu <sdl.web@gmail.com>
13447
13448 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13449 (Bug#9701)
13450
13451 2011-10-08 Glenn Morris <rgm@gnu.org>
13452
13453 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13454 before the first code statement zero indent. (Bug#9690)
13455
13456 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13457
13458 * simple.el (count-words-region): Always count in the region.
13459 Report the number of lines and characters too.
13460 (count-words): New command, which counts in the buffer if the
13461 region is inactive, as count-words-region used to.
13462 (count-words--message): New function. Handle plurals.
13463 (count-lines-region): Make it an alias for count-words-region.
13464
13465 * bindings.el (esc-map): Replace count-lines-region with
13466 count-words-region.
13467
13468 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13469
13470 * window.el (window--delete): Delete dedicated frame
13471 unconditionally when argument KILL is non-nil. (Bug#9699)
13472 (switch-to-buffer): Fix doc-string typo.
13473
13474 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13475
13476 * eshell/eshell.el (eshell-command): Avoid using hooks.
13477
13478 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13479
13480 * bindings.el ([M-left],[M-right]): Bind to left-word and
13481 right-word respectively.
13482
13483 2011-10-07 Glenn Morris <rgm@gnu.org>
13484
13485 * cus-start.el (debug-on-quit): Fix custom type.
13486
13487 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13488
13489 * subr.el (define-key-after): Clarify that the function is not
13490 useful for non-menu keymaps.
13491
13492 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13493
13494 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13495
13496 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13497 in current minibuffer (Fix bug with recursive minibuffers).
13498
13499 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13500
13501 * progmodes/gdb-mi.el (gdb): Doc fix.
13502
13503 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13504
13505 * window.el (frame-auto-hide-function): New option replacing
13506 frame-auto-delete. Suggested by Stefan Monnier.
13507 (window--delete): Call frame-auto-hide-function instead of
13508 investigating frame-auto-delete.
13509 (window-point-1, set-window-point-1): New functions.
13510 (window-in-direction, record-window-buffer, window-state-get-1)
13511 (display-buffer-record-window): Use window-point-1 instead of
13512 window-point.
13513 (set-window-buffer-start-and-point): Use set-window-point-1.
13514
13515 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13518
13519 2011-10-05 Glenn Morris <rgm@gnu.org>
13520
13521 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13522 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13523
13524 2011-10-05 Leo Liu <sdl.web@gmail.com>
13525
13526 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13527 works with buffer object.
13528
13529 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13530
13531 * mpc.el (mpc-tool-bar-map): Add labels.
13532
13533 2011-10-04 Glenn Morris <rgm@gnu.org>
13534
13535 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13536
13537 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13538
13539 * window.el (window--delete): New function.
13540 (frame-auto-delete): Resuscitate option.
13541 (bury-buffer, replace-buffer-in-windows)
13542 (quit-window): Rewrite using window--delete.
13543 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13544 Pass display-buffer-mark-dedicated to window--display-buffer-2
13545 (Bug#9639).
13546
13547 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13550 returns a list (bug#9554). Add remote file name completion.
13551 * comint.el (comint--table-subvert): Curry and get quote&unquote
13552 functions as arguments.
13553 (comint--complete-file-name-data): Adjust call accordingly.
13554 * pcomplete.el (pcomplete--table-subvert): Remove.
13555 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13556
13557 * minibuffer.el (completion-table-case-fold): Use currying.
13558 (completion--styles-type, completion--cycling-threshold-type):
13559 New constants.
13560 (completion-styles, completion-category-overrides)
13561 (completion-cycle-threshold): Use them.
13562 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13563 completion-table-case-fold.
13564
13565 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13566
13567 * minibuffer.el (completion-category-overrides): Fix type of styles
13568 and add more user friendly tags (bug#9660).
13569
13570 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13573 (mule-input-method-string): New widget.
13574 (default-input-method, language-info-custom-alist): Use it.
13575
13576 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * pcomplete.el: Require comint.
13579 (pcomplete--common-suffix): Remove.
13580 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13581 (pcomplete--table-subvert): Sync with comint--table-subvert.
13582 (pcomplete--entries): Use comint-completion-file-name-table.
13583 * comint.el (comint-unquote-filename): Simplify.
13584 (comint-completion-file-name-table): New function (bug#9616).
13585 (comint--complete-file-name-data): Use it.
13586
13587 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13588 (pcmpl-gnu-tar-buffer): Remove.
13589 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13590 around. Make sure pcomplete-suffix-list is only changed temporarily.
13591 Don't look inside the tar's file if it's too large.
13592
13593 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13594
13595 * cus-edit.el (custom-mode-map):
13596 * epa.el (epa-key-list-mode-map):
13597 * man.el (Man-mode-map):
13598 * startup.el (splash-screen-keymap):
13599 * simple.el (special-mode-map): Use scroll-up-command and
13600 scroll-down-command.
13601
13602 * progmodes/idlw-help.el (idlwave-help-mode-map):
13603 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13604 * net/newst-plainview.el (newsticker-mode-map):
13605 * emulation/ws-mode.el (wordstar-mode-map):
13606 * emulation/vi.el (vi-com-map):
13607 * calc/calc-graph.el (calc-graph-show-dumb):
13608 * term/sun.el (terminal-init-sun):
13609 * term/ns-win.el (global-map):
13610 * progmodes/grep.el (grep-mode-map):
13611 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13612 * mail/rmail.el (rmail-mode-map):
13613 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13614
13615 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13616 custom-safe-themes as special.
13617
13618 2011-10-01 Julien Danjou <julien@danjou.info>
13619
13620 * notifications.el (notifications-notify): Fix docstring.
13621
13622 2011-10-01 Per Starbäck <per@starback.se>
13623
13624 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13625
13626 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13627
13628 * startup.el (command-line-1): Fix last fix by inserting
13629 initial-scratch-message into *scratch* before displaying it.
13630 (Bug#9605) and (Bug#9636)
13631
13632 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13633
13634 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13635 window is hscrolled, move by logical lines. (Bug#9607)
13636 (line-move-visual): Update the doc string to the above effect.
13637
13638 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13639
13640 * window.el (display-buffer-record-window): When WINDOW is the
13641 selected window use `point' instead of `window-point'. (Bug#9626)
13642
13643 * startup.el (command-line-1): Use insert-before-markers when
13644 inserting initial-scratch-message. (Bug#9605)
13645
13646 * help.el (help-window): Remove variable.
13647
13648 2011-09-29 Glenn Morris <rgm@gnu.org>
13649
13650 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13651
13652 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * descr-text.el (describe-char-categories): Accept category
13655 descriptions more than one line long.
13656
13657 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13658
13659 * simple.el (delete-trailing-whitespace): Fix last change.
13660
13661 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13662 Don't confuse "y => 3" as the beginning of a `y' operation.
13663
13664 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13665 object has more than 4 slots (bug#9613).
13666
13667 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * subr.el (with-output-to-temp-buffer):
13670 * net/quickurl.el (quickurl, quickurl-browse-url):
13671 Fix typos in docstrings.
13672
13673 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13674
13675 * minibuffer.el (completion-styles)
13676 (completion-category-overrides): Cross reference each other in doc
13677 strings.
13678
13679 2011-09-27 Glenn Morris <rgm@gnu.org>
13680
13681 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13682 to split-string. (Bug#9606)
13683
13684 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13685
13686 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13687 (bug#9615).
13688
13689 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13690
13691 * emacs-lisp/package.el (list-packages): Fix echo area message.
13692
13693 2011-09-27 Leo Liu <sdl.web@gmail.com>
13694
13695 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13696
13697 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13698
13699 * net/dbus.el (dbus-unregister-object): Don't release services for
13700 registered signals. (Bug#9581)
13701
13702 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13703
13704 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13705 function that picks between cfengine 2 and 3 support
13706 automatically. Update docs accordingly.
13707
13708 2011-09-22 Kenichi Handa <handa@m17n.org>
13709
13710 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13711 ZERO.
13712 (indian-itrans-v5-table-for-tamil): New variable.
13713 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13714
13715 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13716
13717 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13718 that's true if the current command involved collapsing of text.
13719 It's reset to false at the beginning of the next command.
13720 (allout-post-command-business): Move the cursor to the beginning
13721 of entry if the cursor is hidden and collapsing activity just
13722 happened.
13723
13724 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13725
13726 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13727 tracking (Bug#9541).
13728
13729 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13730
13731 * net/newst-reader.el (newsticker-html-renderer)
13732 (newsticker-show-news): Automatically load html rendering package
13733 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13734 because w3m-fill-column is let-bound" and the error "Symbol's value
13735 as variable is void: w3m-fill-column".
13736
13737 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13738
13739 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13740 Release services only if they are defined. (Bug#9581)
13741
13742 2011-09-23 Richard Stallman <rms@gnu.org>
13743
13744 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13745 distinguish start of paragraph from start of its text.
13746
13747 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13748
13749 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13750 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13751 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13752
13753 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13754
13755 * international/mule-diag.el (mule-diag): Insert a newline after
13756 each fontset description.
13757
13758 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * simple.el (delete-trailing-whitespace):
13761 Document last change; simplify.
13762
13763 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13764
13765 * simple.el (delete-trailing-whitespace): Also delete
13766 extra newlines at the end of the buffer.
13767
13768 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13769 (picture-newline): Use forward-line so as to ignore fields.
13770
13771 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13772
13773 * subr.el (with-wrapper-hook): Fix edebug spec.
13774
13775 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13776
13777 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13778 (bug#4538).
13779
13780 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13781
13782 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13783 Fix nasty bug using wrong cached values.
13784
13785 2011-09-23 Alan Mackenzie <acm@muc.de>
13786
13787 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13788
13789 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13790
13791 * window.el (pop-to-buffer): Ensure right window is selected if we
13792 chose another frame.
13793
13794 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13795
13796 * simple.el (what-cursor-position): Use get-char-property-change
13797 and next-single-char-property-change, to be able to show display
13798 properties that come from overlays as well as text properties.
13799
13800 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13801
13802 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13803
13804 * cmuscheme.el (run-scheme, switch-to-scheme):
13805 * cus-edit.el (customize-group, custom-buffer-create)
13806 (customize-browse):
13807 * info.el (info):
13808 * shell.el (shell):
13809 * mail/sendmail.el (mail):
13810 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13811
13812 2011-09-22 Richard Stallman <rms@gnu.org>
13813
13814 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13815 move back only to line beg, don't move back over blank lines.
13816
13817 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13818
13819 * files.el (copy-directory): Set directory attributes only in case
13820 they could be retrieved from the source directory. (Bug#9565)
13821
13822 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13823
13824 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13825 (hs-find-block-beginning, hs-hide-level-recursive):
13826 Ignore strings as well as comments. (Bug#9502)
13827
13828 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13829
13830 * progmodes/sql.el (sql-comint-postgres):
13831 Convert port number to a string. (Bug#9566)
13832
13833 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13834
13835 * window.el (quit-window): Undedicate window when switching to
13836 previous buffer. Reported by Thierry Volpiatto
13837 <thierry.volpiatto@gmail.com>.
13838 (special-display-popup-frame): When popping up a new frame reset
13839 its previous buffers to nil. Simplify code.
13840
13841 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13842
13843 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13844 and process filter, as done also in `shell-command'.
13845
13846 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13847
13848 * window.el (set-window-buffer-start-and-point):
13849 Call set-window-start with NOFORCE argument t.
13850 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13851 (quit-window): Reword doc-string. Handle new format of
13852 quit-restore parameter. Don't delete window if it has a
13853 previous buffer we can show instead of the present one.
13854 (display-buffer-record-window): Rewrite using a new format for
13855 the quit-restore window parameter
13856 (special-display-popup-frame, display-buffer-same-window)
13857 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13858 (display-buffer-pop-up-window, display-buffer-use-some-window):
13859 Adapt symbol passed to display-buffer-record-window.
13860 * help.el (help-window-setup): Handle new format of quit-restore
13861 parameter.
13862
13863 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * faces.el (face-list): Fix docstring (bug#9564).
13866
13867 * window.el (display-buffer--action-function-custom-type):
13868 Don't include internal functions in the Custom interface.
13869
13870 2011-09-20 Juri Linkov <juri@jurta.org>
13871
13872 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13873 (Info-forward-node, Info-backward-node, Info-next-preorder)
13874 (Info-last-preorder): Use it. (Bug#9528)
13875
13876 2011-09-20 Juri Linkov <juri@jurta.org>
13877
13878 * info.el (Info-last-preorder): Visit last menu item only when
13879 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13880
13881 2011-09-20 Julien Danjou <julien@danjou.info>
13882
13883 * password-cache.el (password-cache-remove): Remove entries even if the
13884 value is nil, so that password with a nil value (negative caching) is
13885 possible to invalidate.
13886
13887 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13888
13889 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13890 all whitespace around breakpoint. (Bug#9553)
13891 (f90-find-breakpoint): Only break at whitespace inside a comment.
13892
13893 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * minibuffer.el (completion-file-name-table): Keep track of errors.
13896 (completion-table-with-predicate): Handle the case where pred1 is nil.
13897 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13898
13899 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13902 (debugger-return-value): Signal an error if the debugging context does
13903 not await any return value.
13904
13905 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13906 * image-mode.el (image-toggle-display-text)
13907 (image-toggle-display-image): Stay away from evil `intangible'.
13908
13909 2011-09-19 Leo Liu <sdl.web@gmail.com>
13910
13911 * replace.el (occur-revert-arguments): Make it permanent-local.
13912 (occur-mode): Don't call font-lock-defontify.
13913
13914 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * net/ldap.el (ldap-search-internal): Don't push empty search
13917 result (Bug#9508).
13918
13919 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13922
13923 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13926 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13927
13928 2011-09-18 Juri Linkov <juri@jurta.org>
13929
13930 * buff-menu.el (Buffer-menu-mode-map):
13931 * dired.el (dired-mode-map):
13932 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13933 (lisp-interaction-mode-map):
13934 * emacs-lisp/package.el (package-menu-mode-map):
13935 * epa.el (epa-key-list-mode-map):
13936 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13937 (menu-bar-options-menu):
13938 * outline.el (outline-mode-menu-bar-map):
13939 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13940 * vc/vc-dir.el (vc-dir-menu-map):
13941 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13942 Capitalize non-function content words in menu item strings.
13943
13944 * dired.el (dired-mode-map): Add menu item for
13945 `image-dired-dired-toggle-marked-thumbs'.
13946
13947 2011-09-18 Juri Linkov <juri@jurta.org>
13948
13949 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13950 to `isearch-case-fold-search' and restore its original value
13951 after the `isearch-mode' call.
13952
13953 2011-09-18 Juri Linkov <juri@jurta.org>
13954
13955 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13956 because `zgrep' returns 1 for successful matches (bug#9226).
13957
13958 2011-09-18 Juri Linkov <juri@jurta.org>
13959
13960 * info.el (Info-extract-menu-node-name): Check the second match
13961 for empty string (second test-case of bug#9528).
13962 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13963 intermediate nodes to the history (first test-case of bug#9528).
13964
13965 2011-09-18 Juri Linkov <juri@jurta.org>
13966
13967 * info.el (Info-mode-syntax-table): New variable.
13968 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13969
13970 2011-09-18 Juri Linkov <juri@jurta.org>
13971
13972 * info.el (Info-file-supports-index-cookies):
13973 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13974 outputs one more line for long file names (bug#4142).
13975
13976 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * newcomment.el (comment-normalize-vars): If prompting for
13979 comment-start, set comment-start-skip too (Bug#8424).
13980
13981 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13982
13983 * icomplete.el: Fix previous fix of Bug#5849.
13984 (icomplete-mode): Don't set completion-show-inline-help.
13985 (icomplete-minibuffer-setup): Set completion-show-inline-help
13986 locally during icompletion.
13987
13988 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13989
13990 * woman.el (woman2-process-escapes): Don't delete unrecognized
13991 escapes (Bug#7843).
13992
13993 * files.el (inhibit-first-line-modes-regexps): Add image files.
13994 (hack-local-variables-prop-line): Return nil for malformed
13995 prop-lines (Bug#9044).
13996
13997 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13998
13999 * net/tramp.el (top): Don't require 'shell.
14000 (tramp-methods): Fix docstring.
14001 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14002 Return complete remote file name. Handle "smb" case.
14003 Use `tramp-tmpdir', if defined for the respective method.
14004 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14005
14006 * net/tramp-compat.el (top): Require 'shell.
14007
14008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14009 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14010 `tramp-current-host'.
14011 (tramp-get-remote-tmpdir): Remove.
14012
14013 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14014 `tramp-tmpdir' entries.
14015 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14016 (tramp-smb-handle-file-attributes): Ignore errors.
14017 (tramp-smb-wait-for-output): Check also for process end.
14018
14019 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14020
14021 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14022 when sending QUIT (bug#9312).
14023
14024 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14027 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14028 occur-mode-display-occurrence.
14029 (occur-edit-mode): Add usage message.
14030 (occur-cease-edit): New command.
14031 (occur-after-change-function): Use text properties to find the
14032 position of the prefix text.
14033 (occur-engine): Set stickiness of prefix text properties.
14034
14035 2011-09-17 Glenn Morris <rgm@gnu.org>
14036
14037 * progmodes/etags.el (complete-tag):
14038 Fix call to completion-in-region. (Bug#9526)
14039
14040 2011-09-17 Juri Linkov <juri@jurta.org>
14041
14042 * textmodes/ispell.el (ispell-word): Add to the error message
14043 the word, ispell program name and current dictionary (bug#9121).
14044 (ispell-tex-arg-end): Capitalize "error" in the error message.
14045
14046 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14047
14048 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14049 check. (Bug#4251)
14050
14051 2011-09-17 Juri Linkov <juri@jurta.org>
14052
14053 * window.el (window-safe-min-height, window-safe-min-width):
14054 Fix typos (followup to bug#9522).
14055
14056 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14057
14058 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14059
14060 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14061
14062 * simple.el (line-move): If goal-column is set, move by logical
14063 lines, not by display lines. (Bug#971)
14064 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14065 to reflect the above change.
14066
14067 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14068
14069 * image.el (imagemagick-register-types): Use regexp-opt.
14070
14071 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * window.el (display-buffer-base-action): Rename from
14074 display-buffer-default-action. Make default value empty.
14075 (display-buffer-overriding-action): Convert to defvar.
14076 (display-buffer-fallback-action): New var.
14077
14078 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14079
14080 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14081 declaration.
14082 (package--add-to-archive-contents): If there is a duplicate entry
14083 with an older version, remove it.
14084 (package-menu-mark-delete, package-menu-mark-install)
14085 (package-menu-mark-unmark): Make unused args optional.
14086 (package-menu-mark-obsolete-for-deletion):
14087 Use package-menu-get-status instead of a regexp search.
14088 (package-menu-get-status): Use tabulated-list-entry.
14089 (package-menu-mark-upgrades): New command.
14090 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14091 (package-menu-execute): Do installation before deletion.
14092 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14093 instead of checking major-mode.
14094 (package-menu--find-upgrades): New function.
14095
14096 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14097
14098 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14099 passwords in the log buffer.
14100 (smtpmail-process-filter): Update the process marker so that the
14101 "broken by peer" status message is inserted in the right place.
14102
14103 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14106 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14107 bibtex-completion-at-point-function.
14108 (bibtex-completion-at-point-function): Use them.
14109
14110 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14111
14112 * mpc.el (mpc-constraints-tag-lookup): New function.
14113 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14114 also to browser "album|playlist".
14115
14116 2011-09-14 Juri Linkov <juri@jurta.org>
14117
14118 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14119 (isearch-edit-string): Use length of `isearch-string' when
14120 `isearch-fail-pos' returns nil.
14121 (isearch-message): Remove duplicate code and call
14122 `isearch-fail-pos' with arg `t'.
14123
14124 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14125
14126 * replace.el (occur-mode-goto-occurrence): Don't force using other
14127 window (Bug#9499).
14128
14129 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14130
14131 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14132
14133 * window.el (display-buffer-window): Remove.
14134 (display-buffer-record-window): Use help-setup window parameter
14135 instead of variable display-buffer-window.
14136 (display-buffer-function, special-display-buffer-names)
14137 (special-display-function): Mention help-setup parameter instead
14138 of display-buffer-window in doc-string.
14139 * help.el (help-window-setup): New argument help-window.
14140 Use help-window-setup parameter instead of display-buffer-window.
14141 Reword some messages.
14142 (with-help-window): Pass window used for displaying the buffer
14143 to help-window-setup. Don't set display-buffer-window.
14144
14145 2011-09-13 Glenn Morris <rgm@gnu.org>
14146
14147 * emacs-lisp/debug.el (debugger-make-xrefs):
14148 Preserve point. (Bug#9462)
14149
14150 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * window.el (window-deletable-p): Use next-frame.
14153
14154 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14155
14156 * window.el (window-auto-delete): Remove.
14157 (window-deletable-p): Remove argument FORCE. Don't deal with
14158 dedication and previous buffers.
14159 (switch-to-prev-buffer): Don't delete window.
14160 (delete-windows-on): Delete a window's frame if and only if the
14161 window is dedicated.
14162 (replace-buffer-in-windows): Delete buffer's window or frame if
14163 and only if window is dedicated.
14164 (quit-window): Handle quit-restore as before last change.
14165 (bury-buffer): Delete window only if window-deletable-p returns t.
14166
14167 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14168
14169 * window.el (window-deletable-p): Never delete the last frame on a
14170 given terminal.
14171
14172 2011-09-13 Glenn Morris <rgm@gnu.org>
14173
14174 * help.el (describe-key-briefly): Copy previous standard-output change.
14175
14176 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14177
14178 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14179
14180 2011-09-13 Glenn Morris <rgm@gnu.org>
14181
14182 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14183 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14184
14185 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14186
14187 * dired-aux.el (dired-mark-read-string): Don't return default
14188 value on empty input (Bug#9361).
14189 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14190 Omit initial minibuffer contents.
14191 (dired-do-chmod): Signal an error on empty input.
14192 (dired-mark-read-string): Don't return default on empty input.
14193
14194 * files.el (file-modes-symbolic-to-number): Doc fix.
14195
14196 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * international/mule-cmds.el (ucs-completions): Remove.
14199 (read-char-by-name): Use complete-with-action instead; add metadata.
14200
14201 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14202
14203 * window.el (display-buffer--action-function-custom-type)
14204 (display-buffer--action-custom-type): New vars.
14205 (display-buffer-alist, display-buffer-default-action)
14206 (display-buffer-overriding-action): Add defcustom types.
14207
14208 * frame.el (delete-other-frames): Doc fix (Bug#276).
14209
14210 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14211
14212 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14213
14214 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14215
14216 Change modes that used same-window-* vars to use switch-to-buffer.
14217
14218 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14219 Use switch-to-buffer.
14220
14221 * cus-edit.el (customize-group, custom-buffer-create)
14222 (customize-browse, custom-buffer-create-other-window):
14223 Use switch-to-buffer or switch-to-buffer-other-window.
14224
14225 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14226 (Info-prev, Info-up, Info-speedbar-goto-node)
14227 (info-display-manual): Use switch-to-buffer.
14228 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14229
14230 * mail/sendmail.el (mail): Use switch-to-buffer.
14231 (mail-recover): Use switch-to-buffer-other-window.
14232
14233 * cmuscheme.el (run-scheme, switch-to-scheme):
14234 * ielm.el (ielm):
14235 * shell.el (shell):
14236 * net/rlogin.el (rlogin):
14237 * net/telnet.el (telnet, rsh):
14238 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14239
14240 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14241
14242 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14243
14244 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14245
14246 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14247 so don't mention it (bug#9301).
14248 (dired-sort-toggle-or-edit): Clarify string further.
14249
14250 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14251 match `x', `w32' and `ns', like the manual says (bug#9029).
14252
14253 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14254 (process-kill-buffer-query-function): Mention the buffer name in
14255 the query.
14256
14257 * image-mode.el (image-next-line): The line parameter is mandatory
14258 (bug#9258).
14259
14260 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14261 which can be useful (bug#9301).
14262
14263 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14264
14265 * subr.el (match-string): Mention that the current buffer should
14266 be the same as the search was done in (bug#9282).
14267
14268 * facemenu.el: Disable the remove-* commands if the mark isn't
14269 active (bug#9162).
14270
14271 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14272
14273 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14274 of display-buffer.
14275 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14276
14277 * replace.el (occur-mode-goto-occurrence)
14278 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14279 and display-buffer.
14280
14281 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14282 display-buffer.
14283
14284 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14285 special-display and same-window variables.
14286 (mail-other-window): Use switch-to-buffer-other-window.
14287 (mail-other-frame): USe switch-to-buffer-other-frame.
14288
14289 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14290 Use display-buffer-other-frame.
14291 (gdb-display-gdb-buffer): Use pop-to-buffer.
14292
14293 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14294
14295 * progmodes/python.el: Don't set same-window-buffer-names.
14296
14297 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14298
14299 * window.el (display-buffer-alist): Add *Python*.
14300
14301 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14302
14303 * window.el (display-buffer-alist): Add entry for buffers
14304 previously handled same-window-*.
14305 (display-buffer-alist, display-buffer-default-action)
14306 (display-buffer-overriding-action): Mark as risky.
14307 (display-buffer-alist): Document action function changes.
14308 (display-buffer--same-window-action)
14309 (display-buffer--other-frame-action): New variables.
14310 (switch-to-buffer, display-buffer-other-frame): Use them.
14311 (display-buffer): Rename reuse-frame entry to reusable-frames.
14312 (display-buffer-reuse-selected-window): Function deleted.
14313 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14314 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14315 (display-buffer-special): New function.
14316 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14317 display-buffer-reuse-or-pop-window. Split off special-display
14318 part into display-buffer-special.
14319 (display-buffer-use-some-window): Don't perform any special
14320 pop-up-frames handling.
14321 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14322 (display-buffer--maybe-same-window): Rename from
14323 display-buffer-maybe-same-window.
14324
14325 * info.el: Don't set same-window-regexps.
14326 (info-setup): New function.
14327 (info-other-window, info): Call it.
14328
14329 * cus-edit.el: Don't set same-window-regexps.
14330 (customize-group): New argument.
14331 (customize-group-other-window): Use it.
14332 (customize-face, customize-face-other-window): Likewise.
14333 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14334
14335 * net/rlogin.el:
14336 * net/telnet.el:
14337 * progmodes/gud.el: Don't set same-window-regexps.
14338
14339 * cmuscheme.el:
14340 * ielm.el:
14341 * shell.el:
14342 * mail/sendmail.el:
14343 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14344
14345 2011-09-10 Juri Linkov <juri@jurta.org>
14346
14347 * isearch.el (isearch-edit-string): Remove obsolete mention of
14348 `C-w' (`isearch-yank-word-or-char') from docstring.
14349 (isearch-query-replace): Fix typo in docstring (bug#9466).
14350
14351 2011-09-10 Juri Linkov <juri@jurta.org>
14352
14353 * paren.el (show-paren-function): Don't show escaped parens.
14354 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14355
14356 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14357
14358 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14359 (mm-default-file-encoding): Remove autoload forms, they are
14360 replaced with autoload cookies in mml.el and mm-encode.el.
14361 (mail-add-attachment): New command.
14362 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14363 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14364 the doc string.
14365 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14366
14367 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14368
14369 * simple.el (count-words-region): Use buffer if there's no region
14370 (bug#9429).
14371
14372 2011-09-09 Juri Linkov <juri@jurta.org>
14373
14374 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14375 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14376 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14377
14378 2011-09-09 Alan Mackenzie <acm@muc.de>
14379
14380 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14381 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14382
14383 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14384
14385 Fix for Savannah bug#9392.
14386 * simple.el (mail-encode-mml): New defvar.
14387
14388 * mail/rmail.el (mail-encode-mml): Add a defvar.
14389 (rmail-enable-mime-composing): Default to t.
14390 (rmail-forward): Use MIME method of forwarding only if both
14391 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14392 Set mail-encode-mml non-nil if the MIME method was used.
14393
14394 * mail/sendmail.el (mml-to-mime): Add autoload form.
14395 (mail-encode-mml): Add a defvar.
14396 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14397 to nil.
14398 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14399 message through mml-to-mime, and reset mail-encode-mml to nil.
14400
14401 2011-09-09 Glenn Morris <rgm@gnu.org>
14402
14403 * woman.el (woman-if-body): When processing an .el block,
14404 do not delete the next .el block as well. (Bug#9447)
14405 (woman-special-characters): Add oq, cq, and hy characters.
14406
14407 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14408
14409 * window.el (window-deletable-p): Make sure window is live before
14410 invoking window-prev-buffers.
14411
14412 2011-09-08 Leo Liu <sdl.web@gmail.com>
14413
14414 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14415
14416 2011-09-08 Juri Linkov <juri@jurta.org>
14417
14418 * progmodes/compile.el (compilation-environment): Make it
14419 a defcustom (bug#8340).
14420
14421 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14422
14423 * window.el (frame-auto-delete): Rename to window-auto-delete.
14424 Make it control auto-deletion of windows and/or frames.
14425 (window-deletable-p): New argument FORCE. Rewrite conditions
14426 for deleting window/frame. (Bug#9419)
14427 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14428 Rewrite handling of case when window/frame can be deleted.
14429 (delete-windows-on): Call window-deletable-p with new FORCE
14430 argument t. (Bug#9456)
14431
14432 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14433
14434 * help-mode.el (help-mode): Restore autoload.
14435
14436 2011-09-07 Juri Linkov <juri@jurta.org>
14437
14438 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14439 `compilation-environment'. Set buffer-local
14440 `compilation-environment' to `thisenv' later after (funcall mode).
14441 (Bug#8340)
14442
14443 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14444 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14445 instead of replacing its value. (Bug#8340)
14446
14447 2011-09-07 Juri Linkov <juri@jurta.org>
14448
14449 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14450 based on text properties put by `grep-filter' instead of matching
14451 escape sequences.
14452 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14453 to the value of `grep-error-screen-columns' (bug#9438).
14454
14455 2011-09-07 Juri Linkov <juri@jurta.org>
14456
14457 * simple.el (next-error-highlight, next-error-highlight-no-select):
14458 Doc fix (bug#9432).
14459
14460 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14461
14462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14463 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14464
14465 2011-09-07 Leo Liu <sdl.web@gmail.com>
14466
14467 * net/rcirc.el (rcirc-mode): Conditionally initialize
14468 rcirc-input-ring.
14469
14470 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * emacs-lisp/find-func.el (find-function-C-source): Only set
14473 find-function-C-source-directory after checking that we found a source
14474 file there (bug#9440).
14475
14476 2011-09-06 Alan Mackenzie <acm@muc.de>
14477
14478 * isearch.el (isearch-other-meta-char): Wherever a key list is
14479 unread, "unread" the prefix arg, too. This fixes bug #8901.
14480
14481 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14482
14483 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14484
14485 2011-09-05 Juri Linkov <juri@jurta.org>
14486
14487 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14488
14489 2011-09-05 Juri Linkov <juri@jurta.org>
14490
14491 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14492 keeping point where processing of grep matches begins, and
14493 continue to delete remaining escape sequences from the same point.
14494 (grep-filter): Make leading zero optional in "0?1;31m" because
14495 git-grep emits "\033[1;31m" escape sequences unlike expected
14496 "\033[01;31m" as GNU Grep does (bug#9408).
14497 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14498
14499 2011-09-05 Juri Linkov <juri@jurta.org>
14500
14501 * subr.el (y-or-n-p): Capitalize "yes".
14502
14503 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14504
14505 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14506 `tramp-cache-unload-hook' where appropriate.
14507 (tramp-methods): Rename `tramp-remote-sh' to
14508 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14509 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14510
14511 * net/tramp-sh.el (top): Don't require 'shell.
14512 (tramp-methods): Add `tramp-remote-shell' and
14513 `tramp-remote-shell-args' entries.
14514 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14515 (tramp-sh-handle-shell-command): Remove.
14516 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14517 Use `tramp-remote-shell'.
14518
14519 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14520
14521 * mail/sendmail.el (sendmail-query-once-function): Delete.
14522 (sendmail-query-once): Save directly to send-mail-function.
14523 Update message-send-mail-function too.
14524
14525 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14526
14527 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14528
14529 * progmodes/python.el (python-mode-map): Use correct function to
14530 start python interpreter from menu-bar (as reported by Geert
14531 Kloosterman).
14532 (inferior-python-mode-map): Fix typo.
14533 (python-shell-map): Remove.
14534
14535 2011-09-03 Deniz Dogan <deniz@dogan.se>
14536
14537 * net/rcirc.el (rcirc-print): Simplify code for
14538 rcirc-scroll-show-maximum-output. There is no need to walk
14539 through all windows to find the right one.
14540
14541 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14542
14543 * help.el (help-return-method): Doc fix.
14544
14545 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14546
14547 * window.el (window-deletable-p): Don't return a non-nil value
14548 when there's a buffer that was shown in the window before.
14549 (Bug#9419)
14550 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14551 Set window's previous buffers to nil.
14552
14553 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14554
14555 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14556 newline before and after the tag line, so it doesn't interfere
14557 with determining the paragraph direction of bidirectional text.
14558
14559 2011-09-03 Leo Liu <sdl.web@gmail.com>
14560
14561 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14562
14563 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14564
14565 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14566 (pop-to-buffer): Change interactive spec. Pass second argument
14567 directly to display-buffer.
14568 (display-buffer): Fix interactive spec. Use functionp to
14569 distinguish between a function and a list of functions.
14570
14571 * abbrev.el (edit-abbrevs):
14572 * arc-mode.el (archive-extract):
14573 * autoinsert.el (auto-insert):
14574 * bookmark.el (bookmark-bmenu-list):
14575 * files.el (find-file):
14576 * view.el (view-buffer):
14577 * progmodes/compile.el (compilation-goto-locus):
14578 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14579
14580 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14581
14582 * window.el (display-buffer-alist): Doc fix.
14583 (display-buffer): Add docstring. Don't treat
14584 display-buffer-default specially.
14585 (display-buffer-reuse-selected-window)
14586 (display-buffer-same-window, display-buffer-maybe-same-window)
14587 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14588 (display-buffer-pop-up-window)
14589 (display-buffer-reuse-or-pop-window)
14590 (display-buffer-use-some-window): New functions.
14591 (display-buffer-default-action): Use them.
14592 (display-buffer-default): Delete.
14593 (pop-to-buffer-1): Fix choice of actions.
14594
14595 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * minibuffer.el (completion--insert-strings): Don't get confused by
14598 completion entries that end with an LF char.
14599
14600 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14601
14602 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14603
14604 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14605
14606 * window.el (display-buffer): Restore interactive spec.
14607 (display-buffer-same-window, display-buffer-other-window):
14608 New functions.
14609 (pop-to-buffer-1): New function. Use the above.
14610 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14611 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14612
14613 * view.el (view-buffer-other-window, view-buffer-other-frame):
14614 Just use pop-to-buffer.
14615
14616 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14617
14618 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14619
14620 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14621
14622 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14623
14624 2011-08-31 Richard Stallman <rms@gnu.org>
14625
14626 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14627 of the separation of rmail-view-buffer from rmail-buffer.
14628 If you say no to "replace original", the decrypt is in the
14629 view buffer. If you say yes, the decrypt goes into the
14630 rmail buffer also.
14631
14632 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14633
14634 * window.el (display-buffer-window): Rewrite doc-string.
14635 (display-buffer-record-window): New function.
14636 (display-buffer-macro-specifiers)
14637 (display-buffer-even-window-sizes, display-buffer-set-height)
14638 (display-buffer-set-width, display-buffer-in-window)
14639 (display-buffer-reuse-window, display-buffer-split-specifiers)
14640 (display-buffer-side-specifiers, display-buffer-split-window-1)
14641 (display-buffer-split-window, display-buffer-split-atom-window)
14642 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14643 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14644 (display-buffer-other-window-means-other-frame)
14645 (display-buffer-normalize-special)
14646 (display-buffer-normalize-default)
14647 (display-buffer-normalize-argument)
14648 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14649 (display-buffer-normalize-specifiers, display-buffer-frame)
14650 (display-buffer-same-window, display-buffer-same-frame)
14651 (display-buffer-other-window)
14652 (display-buffer-same-frame-other-window)
14653 (display-buffer-other-frame, pop-to-buffer-same-window)
14654 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14655 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14656 (switch-to-buffer-same-frame)
14657 (switch-to-buffer-other-window-same-frame)
14658 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14659 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14660 (display-buffer-alist-set): Remove.
14661 (display-buffer-function, special-display-buffer-names)
14662 (special-display-regexps, special-display-function):
14663 In doc-string refer to display-buffer-window and quit-restore
14664 parameter.
14665 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14666 (special-display-frame-alist, special-display-popup-frame)
14667 (same-window-buffer-names, same-window-regexps, same-window-p)
14668 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14669 (split-window-preferred-function, split-height-threshold)
14670 (split-width-threshold, window-splittable-p)
14671 (split-window-sensibly, window--try-to-split-window)
14672 (window--frame-usable-p, even-window-heights)
14673 (window--even-window-heights, window--display-buffer-1)
14674 (window--display-buffer-2, display-buffer-other-frame):
14675 Restore old Emacs 23 code, order and doc-strings where applicable.
14676 (display-buffer-default, display-buffer-assq-regexp): New functions.
14677 (display-buffer-alist): Rewrite doc-string.
14678 (display-buffer-default-action)
14679 (display-buffer-overriding-action): New variables.
14680 (display-buffer, switch-to-buffer): Rewrite.
14681 (pop-to-buffer): Restore Emacs 23 behavior but use
14682 window-normalize-buffer-to-display.
14683 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14684 Restore Emacs 23 behavior but use
14685 window-normalize-buffer-to-switch-to.
14686 (pop-to-buffer-same-window): Rewrite.
14687 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14688 Rewrite using Emacs 23 options.
14689
14690 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14691
14692 * net/tramp.el (tramp-root-regexp): Remove.
14693 (tramp-completion-file-name-regexp-unified)
14694 (tramp-completion-file-name-regexp-separate)
14695 (tramp-completion-file-name-regexp-url): Don't use leading volume
14696 letter on w32 systems. (Bug#5303, Bug#9311)
14697 (tramp-drop-volume-letter): Simplify definition.
14698 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14699
14700 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14701
14702 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14703 (bug#9356).
14704
14705 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14706
14707 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14708
14709 2011-08-29 Juri Linkov <juri@jurta.org>
14710
14711 * isearch.el (isearch-done): Don't display message "Mark saved"
14712 when arg `edit' is non-nil to prevent its flicker in the echo area.
14713
14714 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14715
14716 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14717 obsolete packages for deletion.
14718
14719 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14720
14721 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14722 (help-mode): Derive help-mode from special-mode. Don't invoke
14723 view-mode from help-mode.
14724 (help-xref-override-view-map): Remove.
14725 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14726 view-mode is not used anymore.
14727
14728 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14729
14730 * server.el (server-port): Doc fix.
14731
14732 * cus-theme.el (custom-theme-choose-mode): Inherit from
14733 special-mode (Bug#9124).
14734 (custom-theme-choose-mode-map): Add special-mode to parent.
14735
14736 2011-08-28 Alan Mackenzie <acm@muc.de>
14737
14738 * progmodes/cc-fonts.el
14739 (c-make-font-lock-BO-decl-search-function): New function.
14740 (c-basic-matchers-after - "Fontify the clauses after various
14741 keywords"): Extract the three keyword lists for the 3 erroneous
14742 constructs from the list of four, and use the new function above
14743 in place of an old one.
14744
14745 2011-08-28 Deniz Dogan <deniz@dogan.se>
14746
14747 * net/rcirc.el (rcirc-insert-prev-input)
14748 (rcirc-insert-next-input): Remove unused argument.
14749
14750 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14753
14754 2011-08-27 Alan Mackenzie <acm@muc.de>
14755
14756 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14757 handle function pointer parameters properly.
14758
14759 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14760
14761 * window.el (display-buffer-reuse-window): Fix case where
14762 selected window was reused with non-nil OTHER-WINDOW argument.
14763 (Bug#9381)
14764
14765 2011-08-27 Deniz Dogan <deniz@dogan.se>
14766
14767 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14768 oftc's NickServ messages.
14769
14770 2011-08-27 Glenn Morris <rgm@gnu.org>
14771
14772 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14773
14774 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14775
14776 * emacs-lisp/package.el (package-install): Call package-initialize
14777 if called interactively.
14778
14779 2011-08-26 Leo Liu <sdl.web@gmail.com>
14780
14781 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14782
14783 2011-08-25 Juri Linkov <juri@jurta.org>
14784
14785 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14786 `search-whitespace-regexp' (bug#9364).
14787
14788 2011-08-25 Juri Linkov <juri@jurta.org>
14789
14790 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14791 `regexp-search-ring' to their global values to protect from
14792 updating by `read-from-minibuffer' (bug#9185).
14793
14794 2011-08-25 Juri Linkov <juri@jurta.org>
14795
14796 * textmodes/ispell.el (ispell-command-loop): Add newline
14797 at the end of the "Use option `i'..." line.
14798
14799 2011-08-25 Juri Linkov <juri@jurta.org>
14800
14801 * battery.el (display-battery-mode): If `battery-status-function'
14802 or `battery-mode-line-format' is nil, display the message and set
14803 `display-battery-mode' to nil (bug#9363).
14804
14805 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14806
14807 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14808 bidi-string-mark-left-to-right; they are unnecessary now.
14809
14810 2011-08-25 Deniz Dogan <deniz@dogan.se>
14811
14812 * net/quickurl.el: Documentation typo fixes.
14813
14814 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14815
14816 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14817
14818 2011-08-25 Glenn Morris <rgm@gnu.org>
14819
14820 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14821
14822 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14823 (smtpmail-via-smtp): Handle nil response from smtp.
14824
14825 2011-08-24 Juri Linkov <juri@jurta.org>
14826
14827 * proced.el (proced-marked): Inherit from `error' instead of
14828 `font-lock-warning-face'.
14829
14830 * ibuffer.el (ibuffer-marked-face): Change default face from
14831 `font-lock-warning-face' to `warning'.
14832 (ibuffer-deletion-face): Change default face from
14833 `font-lock-type-face' to `error'.
14834
14835 * battery.el (battery-update): Use the face `error' instead of
14836 `font-lock-warning-face' (bug#6117).
14837
14838 2011-08-24 Juri Linkov <juri@jurta.org>
14839
14840 * faces.el (success): Change face color from "Green3" to
14841 "ForestGreen" on light background (bug#9353).
14842
14843 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14844
14845 * window.el (quit-window): Rename from quit-restore-window.
14846 Use same arglist as old quit-window.
14847 (frame-auto-delete): Doc fix.
14848
14849 * view.el (view-mode-exit): Use quit-window.
14850
14851 2011-08-24 Juri Linkov <juri@jurta.org>
14852
14853 * isearch.el (isearch-ring-adjust1): Start visiting previous
14854 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14855 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14856 for empty search string (when the last search string is reused
14857 automatically) to adjust the isearch ring to the last element and
14858 prepare the correct index for further M-p commands (bug#9185).
14859
14860 2011-08-24 Kenichi Handa <handa@m17n.org>
14861
14862 * international/ucs-normalize.el: If decomposition property of
14863 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14864 nil.
14865 (nfd, nfkd): Likewise.
14866
14867 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14870 from process filters aren't reliably transmitted to the surrounding
14871 accept-process-output.
14872 (mpc-proc-check): New function.
14873 (mpc-proc-sync): Use it (bug#8293)
14874
14875 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14876
14877 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14878 Add compatibility functions (bug#9313).
14879
14880 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14881
14882 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14883
14884 * international/uni-bidi.el: Regenerate.
14885
14886 2011-08-23 Kenichi Handa <handa@m17n.org>
14887
14888 * international/charprop.el:
14889 * international/uni-bidi.el:
14890 * international/uni-category.el:
14891 * international/uni-combining.el:
14892 * international/uni-comment.el:
14893 * international/uni-decimal.el:
14894 * international/uni-decomposition.el:
14895 * international/uni-digit.el:
14896 * international/uni-lowercase.el:
14897 * international/uni-mirrored.el:
14898 * international/uni-name.el:
14899 * international/uni-numeric.el:
14900 * international/uni-old-name.el:
14901 * international/uni-titlecase.el:
14902 * international/uni-uppercase.el: Regenerate.
14903
14904 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14905
14906 * help.el (help-window-setup): Fix message displayed when other
14907 window is reused. (Bug#9341)
14908
14909 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14912 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14913
14914 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14915 Mark obsolete.
14916 * shell.el (shell-parse-pcomplete-arguments): New function.
14917 (shell-completion-vars): Use it instead (bug#9160).
14918
14919 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14922 strings and comments (bug#9333).
14923
14924 * emacs-lisp/debug.el (debug-arglist): New function.
14925 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14926 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14927
14928 2011-08-22 Juri Linkov <juri@jurta.org>
14929
14930 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14931 Revert regexp that highlights output switches to its old
14932 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14933
14934 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14935 to check for empty output (bug#9226).
14936
14937 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14938
14939 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14940 symbol-constituent as the default, as that stops font-lock from
14941 working properly (Bug#8843).
14942
14943 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14944
14945 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14946 `coding-system-for-*' around the process open call to avoid
14947 auth-source side effects.
14948 (smtpmail-try-auth-methods): Expand the secret password.
14949 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14950 probe hangs.
14951
14952 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14953
14954 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14955
14956 * emacs-lisp/find-func.el (find-function-noselect): New arg
14957 lisp-only.
14958
14959 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14960 signal an error for built-in functions (Bug#6664).
14961
14962 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14963
14964 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14965 (smtpmail-try-auth-methods): Use it.
14966
14967 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14968
14969 * font-lock.el (font-lock-fontify-region)
14970 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14971 (font-lock-default-unfontify-buffer)
14972 (font-lock-default-fontify-region)
14973 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14974
14975 * progmodes/compile.el (compilation-error-properties):
14976 Fix confusion between file struct and message struct (Bug#9319).
14977 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14978 `ant' regexp.
14979
14980 * net/browse-url.el (browse-url-firefox): Don't call
14981 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14982
14983 2011-08-20 Glenn Morris <rgm@gnu.org>
14984
14985 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14986
14987 * tutorial.el (tutorial--default-keys): Update some default bindings.
14988
14989 * files.el (hack-local-variables): Fully ignore case for "mode:".
14990
14991 2011-08-20 Alan Mackenzie <acm@muc.de>
14992
14993 Resolve invalid use of a regexp in regexp-opt.
14994
14995 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14996 detection for a java annotation.
14997
14998 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14999 detection for a java annotation.
15000
15001 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15002 handling for java.
15003 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15004
15005 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15006
15007 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15008 (Bug#9274).
15009
15010 2011-08-20 Alan Mackenzie <acm@muc.de>
15011
15012 Fontify CPP expressions correctly when starting in the middle of
15013 such a construct. Mainly for when jit-lock etc. starts a chunk
15014 here.
15015
15016 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15017 variable.
15018 (c-make-font-lock-search-form): New function, extracted from
15019 c-make-font-lock-search-function.
15020 (c-make-font-lock-search-function): Use the above function.
15021 (c-make-font-lock-context-search-function): New function.
15022 (c-cpp-matchers): Enhance the preprocessor expression case with
15023 the above function
15024 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15025 which takes an expression.
15026
15027 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15028
15029 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15030
15031 * window.el (display-buffer-reuse-window)
15032 (display-buffer-pop-up-window): Don't reuse or split a side
15033 window.
15034
15035 2011-08-19 Glenn Morris <rgm@gnu.org>
15036
15037 * files.el (hack-local-variables-prop-line, hack-local-variables):
15038 Downcase "Mode:". (Bug#9331)
15039
15040 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15041
15042 * international/characters.el: Add L and R categories.
15043
15044 * subr.el (bidi-string-mark-left-to-right): Rename from
15045 string-mark-left-to-right. Use category search.
15046
15047 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15048
15049 2011-08-18 Juri Linkov <juri@jurta.org>
15050
15051 * faces.el (error, warning, success): New faces with definitions
15052 copied from old default values of `font-lock-warning-face',
15053 `compilation-warning', `compilation-info' (bug#6117).
15054
15055 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15056
15057 * progmodes/compile.el (compilation-error): Inherit from `error'.
15058 (compilation-warning): Inherit from `warning'.
15059 (compilation-info): Inherit from `success'.
15060
15061 * dired.el (dired-marked): Inherit from `warning'.
15062 (dired-flagged): Inherit from `error'.
15063
15064 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15065
15066 * mail/smtpmail.el (auth-source): Require to avoid problems with
15067 binding variables (bug#9298). Also clean up some unused
15068 autoloads.
15069
15070 * net/network-stream.el (network-stream-open-starttls):
15071 Support using starttls.el without using gnutls-cli.
15072
15073 2011-08-17 Juri Linkov <juri@jurta.org>
15074
15075 * progmodes/grep.el (rgrep): Handle the case when
15076 `grep-find-command' is a cons cell (bug#9278).
15077
15078 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15079
15080 * window.el (display-buffer-pop-up-frame): Run frame creation
15081 function with BUFFER current (as special-display-popup-frame
15082 does). Reported by Drew Adams.
15083
15084 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15085
15086 * epa-mail.el: Simplify GnuPG group expansion using
15087 epg-expand-group.
15088 (epa-mail-group-alist, epa-mail-group-modtime)
15089 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15090 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15091 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15092 Remove.
15093
15094 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15095
15096 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15097
15098 2011-08-16 Alan Mackenzie <acm@muc.de>
15099
15100 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15101 Correct, to avoid the inside of macros.
15102
15103 2011-08-16 Richard Stallman <rms@gnu.org>
15104
15105 * epa-mail.el: Handle GnuPG group definitions.
15106 (epa-mail-group-alist, epa-mail-group-modtime)
15107 (epa-mail-gnupg-conf-file): New variables.
15108 (epa-mail-parse-groups, epa-mail-sync-groups)
15109 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15110 (epa-mail-expand-recipients): New functions.
15111 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15112
15113 * mail/rmail.el (rmail-epa-decrypt): New command.
15114
15115 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15116 Don't bind buffer-read-only, just inhibit-read-only.
15117 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15118 (epa-decrypt-armor-in-region): Make error message clearer.
15119
15120 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15123 and "a2b" to "ab" for `prefix'.
15124
15125 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15126
15127 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15128 filter groups.
15129 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15130 Fourquet (Bug#8804).
15131
15132 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15133
15134 * startup.el (argi): Declare as global variable (bug#9275).
15135
15136 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15137
15138 * subr.el (string-mark-left-to-right): Search the entire string
15139 for RTL script, not just the terminating character. Doc fix.
15140
15141 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15144 New function.
15145 (js--regexp-literal, js-syntax-propertize-function): Remove.
15146 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15147 (js-mode-map): Don't rebind electric keys.
15148 (js-insert-and-indent): Remove.
15149 (js-mode): Setup electric-layout and electric-indent instead.
15150
15151 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15152
15153 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15154
15155 * epa.el (epa-progress-callback-function): Fix the logic of
15156 displaying progress.
15157 * epa-file.el (epa-file-insert-file-contents): Make progress
15158 display more user-friendly.
15159 (epa-file-write-region): Ditto.
15160
15161 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15162
15163 * subr.el (string-mark-left-to-right): New function.
15164
15165 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15166 Use string-mark-left-to-right.
15167 (list-buffers-noselect): Caller changed.
15168
15169 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15170 Use string-mark-left-to-right.
15171 (tabulated-list-print): Recenter after moving point.
15172
15173 2011-08-10 Juri Linkov <juri@jurta.org>
15174
15175 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15176 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15177 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15178
15179 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15180
15181 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15182 (Bug#7554).
15183
15184 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15185
15186 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15187 character. (Bug#6594)
15188
15189 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15190
15191 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15192 (image-dired--with-db-file): New macro.
15193 (image-dired-write-tags, image-dired-remove-tag)
15194 (image-dired-create-gallery-lists, image-dired-write-comments)
15195 (image-dired-get-comment, image-dired-mark-tagged-files)
15196 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15197 (image-dired-gallery-generate): Use insert-file-contents.
15198
15199 * time.el (display-time-world-list, display-time-world-display):
15200 * time-stamp.el (time-stamp-string):
15201 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15202 set-time-zone-rule (Bug#7337).
15203
15204 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15205
15206 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15207 (epg-error-to-string, epg-errors-to-string): New function.
15208 (epg-wait-for-completion): Reverse errors list.
15209 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15210 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15211 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15212 (epg-sign-keys, epg-generate-key-from-file)
15213 (epg-generate-key-from-string): Format errors by using
15214 epg-errors-to-string (bug#9255).
15215 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15216
15217 2011-08-07 Juri Linkov <juri@jurta.org>
15218
15219 * faces.el (list-faces-display): Remove extra angle bracket
15220 from `help-mode-map'.
15221
15222 * info.el (Info-history-toc-nodes): Doc fix.
15223
15224 * longlines.el (longlines-mode): Doc fix.
15225
15226 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15227
15228 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15229 of statements and in a few more cases (bug#9183).
15230
15231 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15232 New functions.
15233 (cl-transform-lambda): Use them (bug#9239).
15234
15235 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15236
15237 * window.el (display-buffer-same-window)
15238 (display-buffer-same-frame, display-buffer-other-window)
15239 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15240 (pop-to-buffer-other-window)
15241 (pop-to-buffer-same-frame-other-window)
15242 (pop-to-buffer-other-frame): Make them defuns.
15243 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15244
15245 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15246
15247 * subr.el (make-composed-keymap): Move from C. Change calling
15248 convention, and improve docstring to bring attention to a subtle point.
15249 * minibuffer.el (completing-read-default): Adjust accordingly.
15250
15251 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15252
15253 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15254 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15255
15256 * net/trampver.el: Update release number.
15257
15258 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15259
15260 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15261 "in" (bug#9190).
15262
15263 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15264
15265 * mail/sendmail.el (sendmail-query-once): Restore the current
15266 buffer after querying (bug#9074).
15267
15268 * dired.el (dired-flagged): Use different faces for marked and
15269 flagged files (bug#6117).
15270
15271 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15272 (bug#4433).
15273
15274 * ido.el (ido-mode): Switch off the message if called
15275 non-interactively.
15276
15277 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15278 before 587, since it appears that that's more likely to work for
15279 more people.
15280
15281 * cus-edit.el (custom-file): When running under emacs -q, always
15282 refuse to save the customizations, even if the .emacs file doesn't
15283 exist.
15284
15285 * info.el: Remove the `Info-beginning-of-buffer' function
15286 (bug#8325).
15287
15288 * net/network-stream.el (network-stream-open-starttls):
15289 Use `starttls-available-p' to see whether starttls.el can be used.
15290
15291 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15292
15293 * window.el (display-buffer-in-window): Don't set dedicated status
15294 of window here (Bug#9215).
15295 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15296 (display-buffer-pop-up-side-window)
15297 (display-buffer-in-side-window): Set dedicated status of window here.
15298
15299 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15302 before binding generated-autoload-file.
15303
15304 2011-08-01 Deniz Dogan <deniz@dogan.se>
15305
15306 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15307
15308 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15309
15310 Sync with Tramp 2.2.2.
15311
15312 * net/trampver.el: Update release number.
15313
15314 2011-07-30 Juri Linkov <juri@jurta.org>
15315
15316 * dired-aux.el (dired-touch-initial): Remove function.
15317 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15318 current time, and `default' to the last modification time of the
15319 current marked file (bug#6887).
15320
15321 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15322
15323 * simple.el (goto-line): Use string-to-number to provide a
15324 numeric argument to read-number (bug#9163).
15325
15326 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15327
15328 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15329 connection process, it could be nil.
15330
15331 2011-07-27 Leo Liu <sdl.web@gmail.com>
15332
15333 Simplify url handling in rcirc-mode.
15334
15335 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15336 (rcirc-browse-url-at-mouse): Remove.
15337 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15338
15339 2011-07-26 Alan Mackenzie <acm@muc.de>
15340
15341 Fontify bitfield declarations properly.
15342
15343 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15344 (c-symbol-chars): Now exported as a lang variable.
15345 (c-not-primitive-type-keywords): New lang variable.
15346
15347 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15348 QT keyword "more" to prevent "more slots: ...." being spuriously
15349 parsed as a bitfield declaration.
15350
15351 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15352 Refactor and enhance to handle bitfield declarations.
15353 (c-punctuation-in): New function.
15354 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15355 declarations properly.
15356
15357 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15358
15359 * calendar/icalendar.el (icalendar--all-events): Take care of
15360 multiple vcalendars in a single file.
15361 (icalendar--convert-float-to-ical): Checkdoc fixes.
15362
15363 2011-07-25 Deniz Dogan <deniz@dogan.se>
15364
15365 * image.el (insert-image): Clarifying docstring.
15366
15367 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15370 `tramp-send-command-and-check' if there is no error.
15371 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15372
15373 2011-07-22 Alan Mackenzie <acm@muc.de>
15374
15375 Prevent cc-langs.elc being loaded at run time.
15376
15377 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15378 cc-langs.
15379
15380 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15381 "(require 'cc-langs)". Quote a form so it will evaluate at
15382 (cc-mode's) compilation time.
15383
15384 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15385
15386 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15387 loading. (Bug#9114)
15388
15389 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15390
15391 * window.el (display-buffer-pop-up-window)
15392 (display-buffer-pop-up-side-window)
15393 (display-buffer-in-side-window): Call display-buffer-set-height
15394 and display-buffer-set-width after setting the new window's
15395 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15396
15397 2011-07-20 Sam Steingold <sds@gnu.org>
15398
15399 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15400 (etags-tags-included-tables): Call `convert-standard-filename' on
15401 the file names contained in TAGS so that windows Emacs can handle
15402 TAGS files created by cygwin ctags.
15403
15404 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15405
15406 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15407 which apparently didn't work.
15408
15409 2011-07-19 Roland Winkler <winkler@gnu.org>
15410
15411 * proced.el (proced-send-signal): For *Marked Processes* buffer
15412 put point at beginning of buffer.
15413
15414 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15415
15416 * proced.el (proced-format): Make header lines align with the text
15417 (bug#1779).
15418
15419 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15420
15421 * view.el (view-buffer): Allow running in `special' modes if we're
15422 visiting a file (bug#8615).
15423
15424 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15425
15426 * window.el (display-buffer-alist-of-strings-p)
15427 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15428 New functions.
15429 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15430 more accurately.
15431
15432 2011-07-18 Alan Mackenzie <acm@muc.de>
15433
15434 Fontify declarators properly when, e.g., a jit-lock chunk begins
15435 inside a declaration.
15436
15437 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15438
15439 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15440 New function.
15441 (c-complex-decl-matchers): Insert reference to
15442 c-font-lock-enclosing-decls.
15443
15444 * progmodes/cc-engine.el (c-backward-single-comment):
15445 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15446 to nil around calls to (forward-comment -1).
15447
15448 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449
15450 * image.el (put-image): Doc typo fix.
15451
15452 * progmodes/etags.el (tags-search): Doc typo fix.
15453
15454 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15455 password if we get errors 550 to 554.
15456
15457 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15458
15459 * net/gnutls.el (gnutls-log-level): Remove.
15460
15461 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15462 indentation character (bug#6380).
15463
15464 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15465
15466 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15467 to clarify what the problem is (bug#4291).
15468
15469 * simple.el (current-kill): Clarify what
15470 `interprogram-paste-function' does (bug#7500).
15471 (auto-fill-mode): Document `auto-fill-function' in relation to
15472 `auto-fill-mode' (bug#2470).
15473
15474 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15475
15476 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15477 method if slot is read-only (bug#9035).
15478
15479 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15480
15481 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15482 * window.el (pop-to-buffer): Select window used even if it was
15483 selected before, see discussion of (Bug#8615), (Bug#6954).
15484 Pass argument NORECORD on to select-frame-set-input-focus.
15485
15486 2011-07-15 Glenn Morris <rgm@gnu.org>
15487
15488 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15489 Respect help-form.
15490
15491 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15492
15493 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15494 (gnutls-negotiate): Use it.
15495
15496 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15497
15498 * net/gnutls.el (gnutls-negotiate):
15499 Upcase `gnutls-algorithm-priority'.
15500
15501 2011-07-15 Glenn Morris <rgm@gnu.org>
15502
15503 * jka-compr.el (jka-compr-verbose): Move from here...
15504 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15505 Add missing :version tag.
15506 * info.el: No need to require jka-compr when compiling.
15507
15508 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15509
15510 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15511 (gnutls-negotiate): Use it.
15512
15513 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15514
15515 * info.el (Info-beginning-of-buffer): New command.
15516 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15517 announcing `b' as the key (bug#8325).
15518 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15519
15520 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15521
15522 * international/mule-cmds.el
15523 (describe-specified-language-support): Make the error message
15524 clearer (bug#8905).
15525
15526 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15527
15528 * isearch.el (isearch-barrier): Add a doc string, since it's
15529 mentioned in a function doc string (bug#8678).
15530
15531 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15532
15533 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15534 buffer argument (Bug#9083) and self-identifying label argument.
15535
15536 2011-07-15 Glenn Morris <rgm@gnu.org>
15537
15538 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15539
15540 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15541
15542 * man.el (Man-fontify-manpage): Fix message when formatting the
15543 man page (bug#7929).
15544
15545 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15546
15547 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15548 argument LRM; if non-nil, append an invisible LRM character to the
15549 buffer name.
15550 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15551 last argument non-nil, when formatting buffer names.
15552 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15553 paragraph direction.
15554
15555 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15556
15557 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15558 the man page name (bug#7929).
15559
15560 * image.el (put-image): Mention the `put-image' overlay property
15561 (bug#7834).
15562
15563 * scroll-bar.el (set-scroll-bar-mode): Mention that
15564 `scroll-bar-mode' lists the values (bug#7772).
15565
15566 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15567 command (bug#7729).
15568
15569 * rect.el (apply-on-rectangle): Return the point after the last
15570 operation.
15571 (string-rectangle): Go to the point after the last operation
15572 (bug#7522).
15573
15574 * printing.el (pr-toggle-region): Clarify the documentation
15575 slightly (bug#7493).
15576
15577 * time.el (display-time-update):
15578 Allow `display-time-mail-function' to return nil (bug#7158).
15579 Fix suggested by Detlev Zundel.
15580
15581 * vc/diff.el (diff): Clarify the order the file names are read
15582 (bug#7111).
15583
15584 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15585 the doc string (bug#7015).
15586
15587 * font-lock.el (font-lock-maximum-decoration): Mention what
15588 numeric levels mean (bug#6935).
15589
15590 * startup.el (initial-buffer-choice): Don't mention the `none'
15591 selection, which is against policy.
15592
15593 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15594
15595 * window.el (display-buffer-normalize-special):
15596 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15597
15598 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15599
15600 * subr.el (version<, version<=, version=): Mention "-CVS" and
15601 "-12345" alpha version numbers.
15602
15603 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15604
15605 * bindings.el: Add advertised binding for set-mark-command
15606 (Bug#5772).
15607
15608 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15609
15610 * bindings.el (mode-line-other-buffer):
15611 * bookmark.el (bookmark-bmenu-2-window):
15612 * bs.el (bs-cycle-next, bs-cycle-previous):
15613 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15614 switch-to-buffer.
15615
15616 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15617 Delete.
15618
15619 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * follow.el (follow-debug-message, follow-redisplay):
15622 * jka-cmpr-hook.el (with-auto-compression-mode):
15623 Fix typos in docstrings.
15624
15625 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15626
15627 * subr.el (with-silent-modifications): Clarify somewhat what the
15628 macro inhibits (bug#6525).
15629
15630 * simple.el (eval-expression): Note what it does if called
15631 interactively (bug#6495).
15632
15633 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15634
15635 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15636 Use pop-to-buffer buffer-or-name if it is nil.
15637
15638 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15639 Remove switch-to-buffer.
15640
15641 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642
15643 * files.el (make-directory): Clarify that an error will be raised
15644 if there's an error (bug#6397).
15645
15646 * startup.el (initial-buffer-choice): Add `none' as a choice
15647 (bug#6234).
15648
15649 * subr.el (add-hook): Clarify section about buffer-local hooks
15650 (bug#6218).
15651
15652 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15653
15654 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15655
15656 * tabify.el (untabify): Preserve the current column so that point
15657 doesn't move (bug#6032).
15658
15659 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15660
15661 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15662 Rewrite to avoid awkward possessive "s" (bug#5986).
15663
15664 2011-07-13 Glenn Morris <rgm@gnu.org>
15665
15666 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15667 (dired-insert-directory): Give a message the first time
15668 if ls is found not to support --dired.
15669
15670 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15671
15672 * simple.el (toggle-truncate-lines): Clarify what is toggled
15673 (bug#5580). Text by Drew Adams.
15674
15675 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15676
15677 * simple.el (blink-matching-open): Make the error message from the
15678 last change less verbose.
15679
15680 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15681
15682 * font-lock.el (font-lock-comment-face): Use the high contrast
15683 "yellow" color for font-lock-comment-face on low color terminals
15684 using a dark background color (bug#4221).
15685
15686 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15687
15688 * dired.el (dired-insert-set-properties): Make the doc string
15689 reflect what it does now (bug#5325).
15690
15691 * simple.el (blink-matching-open): Say that we were unable to find
15692 the match within the limit, if we're limited (bug#5122).
15693
15694 * international/mule-cmds.el (prefer-coding-system): Add an
15695 example (bug#4869).
15696
15697 * progmodes/etags.el (tags-search): Document `file-list-form'
15698 (bug#4731).
15699
15700 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15701
15702 * net/browse-url.el (browse-url-default-browser)
15703 (browse-url-browser-function): Make the default browser choice a
15704 bit more logical (bug#4300). Also clean up the doc string.
15705
15706 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15707
15708 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15709 binary endings (bug#4440).
15710
15711 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15712
15713 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15714 which can be pretty annoying (bug#8971).
15715
15716 * jka-compr.el (jka-compr-verbose): New variable, and use
15717 throughout (bug#8971).
15718
15719 * info.el (Info-find-file): Fall back on the installation
15720 directory if we can't find the info node anywhere else.
15721
15722 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15723
15724 * vc/vc.el (vc-revert-file):
15725 Don't set file time-stamp in the past. (Bug#5181)
15726
15727 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15728
15729 * files.el (after-find-file): Give a better error message when
15730 trying to find a symlink that points to a file that doesn't exist
15731 (bug#4398).
15732
15733 * progmodes/cc-vars.el: Remove (probably) misleading comment
15734 (bug#4396).
15735
15736 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15737
15738 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15739
15740 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15741
15742 * mouse-sel.el: Hack restoring functionality, while keeping
15743 compatibility with 2010-07-03 changes to mouse selection.
15744 (mouse-sel-primary-overlay): New var.
15745 (mouse-sel-selection-alist): Use it.
15746 (mouse-sel-mode): Doc fix; remove points that are default features
15747 of mouse.el.
15748
15749 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15750
15751 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15752 Fix previous fix (bug#2490).
15753
15754 2011-07-12 Roland Winkler <winkler@gnu.org>
15755
15756 * textmodes/bibtex.el (bibtex-initialize):
15757 Use pop-to-buffer-same-window.
15758 (bibtex-search-entries): Fix interactive call.
15759
15760 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15761
15762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15763 Fontise bytecomp Error lines more correctly (bug#2490).
15764 Fix suggested by Johan Bockgård.
15765
15766 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15767
15768 * dired-x.el (dired-guess-default): Use `delete-dups'.
15769
15770 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15771
15772 * dired.el (dired-mark-prompt):
15773 * dired-aux.el (dired-read-shell-command): Doc fix.
15774
15775 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15776
15777 * mail/sendmail.el (sendmail-query-once):
15778 Use `customize-save-variable' unconditionally, now that it works under
15779 emacs -Q.
15780
15781 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15782
15783 * cus-edit.el (custom-file): Take an optional no-error variable.
15784 (customize-save-variable): Set the variable, and give a warning if
15785 running under "emacs -q".
15786
15787 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15788
15789 * loadhist.el (unload-feature-special-hooks):
15790 Add `auto-coding-functions', `fill-nobreak-predicate' and
15791 `find-directory-functions' (bug#5327).
15792
15793 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15794
15795 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15796
15797 * cus-edit.el (custom-guess-name-alist): -alist variables should
15798 use the `alist' type (bug#3120). Suggested by Drew Adams.
15799
15800 * printing.el: Add documentation to all the `pr-toggle-' commands.
15801
15802 2011-07-11 Leo Liu <sdl.web@gmail.com>
15803
15804 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15805 backends where it makes sense (bug#2623).
15806
15807 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15808
15809 * dired-x.el (dired-guess-default): Remove duplicate shell command
15810 entries (bug#2028).
15811 (dired-guess-default): Fix grammar in doc string (bug#2028).
15812 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15813
15814 * subr.el (remove-duplicates): New conveniency function.
15815
15816 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15817
15818 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15819 (bug#1526).
15820
15821 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15822
15823 * window.el (display-buffer-normalize-default): Don't invert
15824 meaning of even-window-heights. Reported by Eli Zaretskii
15825 <eliz@gnu.org>.
15826
15827 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15828
15829 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15830
15831 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15832
15833 * window.el (display-buffer): Fix arguments to
15834 display-buffer-reuse-window in last change.
15835
15836 * faces.el (link): Use a less saturated blue on light backgrounds.
15837
15838 * startup.el (fancy-startup-text, fancy-about-text)
15839 (fancy-startup-tail): Use font-lock faces, for background safety.
15840
15841 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15842
15843 * emulation/viper-cmd.el (viper-change-state-to-vi):
15844 Limit triggering of abbrev expansion (Bug#9038).
15845
15846 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15847
15848 * window.el (display-buffer-default-specifiers): Remove.
15849 (display-buffer-macro-specifiers): Remove default specifiers.
15850 (display-buffer-alist): Default to nil.
15851 (display-buffer-reuse-window): New optional argument other-window.
15852 (display-buffer-pop-up-window): Allow splitting internal
15853 windows. Check whether a live window was created.
15854 (display-buffer-other-window-means-other-frame)
15855 (display-buffer-normalize-arguments): Rename to
15856 display-buffer-normalize-argument and rewrite. Set the
15857 other-window specifier.
15858 (display-buffer-normalize-special): New function.
15859 (display-buffer-normalize-options): Rename to
15860 display-buffer-normalize-default and rewrite.
15861 (display-buffer-normalize-options-inhibit): Remove.
15862 (display-buffer-normalize-specifiers): Rewrite.
15863 (display-buffer): Process other-window specifier and call
15864 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15865 more faithfully.
15866 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15867 (display-buffer-alist-set): Don't handle 'unset default values.
15868 (display-buffer-in-window, display-buffer-alist-set):
15869 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15870 <tassilo@member.fsf.org>.
15871
15872 2011-07-09 Leo Liu <sdl.web@gmail.com>
15873
15874 * register.el (insert-register): Restore accidental change on
15875 2011-06-26. (Bug#9028)
15876
15877 2011-07-09 Glenn Morris <rgm@gnu.org>
15878
15879 * subr.el (remq): Handle the empty list. (Bug#9024)
15880
15881 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15882
15883 * mail/sendmail.el (send-mail-function): No longer delay custom
15884 initialization.
15885 * custom.el (custom-initialize-delay): Doc fix.
15886
15887 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15890
15891 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15892
15893 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15894 human-friendly prompt.
15895
15896 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15899 provided by a particular plugin.
15900
15901 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15902
15903 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15904 save customizations (with "emacs -Q"), just set the variable
15905 instead of erroring out.
15906
15907 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15908
15909 2011-07-08 Juri Linkov <juri@jurta.org>
15910
15911 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15912 (archive-zip-update-case): Use 7z if found by `executable-find'.
15913 The order of searching the available programs is the same as in
15914 `archive-zip-extract' (bug#8968).
15915
15916 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15917
15918 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15919 (menu-bar-options-menu): Tweak descriptions.
15920
15921 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15922
15923 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15924 menu items into verb phrases (bug#1421). Also refill to fit under
15925 80 columns.
15926
15927 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15928
15929 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15930 (Info-read-node-name): Doc fix (Bug#1084).
15931
15932 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15933 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15934 (end-of-sexp, beginning-of-sexp)
15935 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15936 (forward-symbol, forward-same-syntax, word-at-point)
15937 (sentence-at-point): Doc fix (Bug#1144).
15938
15939 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15940
15941 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15942 should cover it (bug#1281).
15943
15944 * cus-edit.el (custom-show): Mark as obsolete.
15945
15946 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15947 negotiation fails, then possibly try again with a non-encrypted
15948 connection (bug#9017).
15949
15950 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15951 be used.
15952
15953 2011-07-07 Richard Stallman <rms@gnu.org>
15954
15955 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15956 property, and handle its changed format.
15957 Look for the correct line number.
15958 Use file's line contents (but not past first =) to find
15959 correct line in message.
15960
15961 2011-07-07 Kenichi Handa <handa@m17n.org>
15962
15963 * international/characters.el (build-unicode-category-table):
15964 Delete it.
15965 (unicode-category-table): Set it by unicode-property-table-internal.
15966
15967 * international/mule-cmds.el (char-code-property-alist): Move to
15968 to src/chartab.c.
15969 (get-char-code-property): Call unicode-property-table-internal to
15970 load a file. Call get-unicode-property-internal where necessary.
15971 (put-char-code-property): Call unicode-property-table-internal to
15972 load a file. Call put-unicode-property-internal where necessary.
15973 put-unicode-property-internal where necessary.
15974 (char-code-property-description):
15975 Call unicode-property-table-internal to load a file.
15976
15977 * international/charprop.el:
15978 * international/uni-bidi.el:
15979 * international/uni-category.el:
15980 * international/uni-combining.el:
15981 * international/uni-comment.el:
15982 * international/uni-decimal.el:
15983 * international/uni-decomposition.el:
15984 * international/uni-digit.el:
15985 * international/uni-lowercase.el:
15986 * international/uni-mirrored.el:
15987 * international/uni-name.el:
15988 * international/uni-numeric.el:
15989 * international/uni-old-name.el:
15990 * international/uni-titlecase.el:
15991 * international/uni-uppercase.el: Regenerate.
15992
15993 * loadup.el: Load international/charprop.el before
15994 international/characters.
15995
15996 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15997
15998 * window.el (next-buffer, previous-buffer): Signal an error if
15999 called from a minibuffer window.
16000
16001 * bindings.el: Revert 2011-07-04 change.
16002
16003 2011-07-06 Richard Stallman <rms@gnu.org>
16004
16005 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16006 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16007 Treat markers like ints.
16008 (rmail-mime-entity): Doc fix.
16009
16010 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16011
16012 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16013 defcustom again for backwards compatibility.
16014
16015 * simple.el (shell-command-on-region): Fill.
16016
16017 * dired-aux.el (dired-kill-line): Add a doc string.
16018
16019 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16020 to "\\sw\\|\\s_" (bug#358).
16021
16022 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16023 (dired-unmark-backward): Ditto.
16024 (dired-flag-backup-files): Ditto.
16025
16026 * dired-x.el (dired-mark-sexp): Ditto.
16027
16028 2011-07-06 Richard Stallman <rms@gnu.org>
16029
16030 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16031 (rmail-mime-entity): New arg TRUNCATED.
16032 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16033 New functions.
16034 (rmail-mime-save): Warn if entity is truncated.
16035 (rmail-mime-toggle-hidden): Likewise, for showing.
16036 (rmail-mime-process-multipart): Record when an entity is truncated.
16037
16038 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16039 if ENTITY is a string.
16040
16041 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16042
16043 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16044 of faces when `M-C-x'-ing their definitions (bug#8378).
16045 Also clean up the code slightly.
16046
16047 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16048 because that makes the colors go away.
16049
16050 * mail/sendmail.el (send-mail-function): Change the default to
16051 `sendmail-query-once'.
16052 (sendmail-query-once): Add an autoload cookie.
16053
16054 * net/network-stream.el (network-stream-open-starttls): Try using
16055 a plain connection even if the server offered STARTTLS, and we
16056 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16057 capability. This should make smtpmail.el work in slightly more
16058 configurations.
16059
16060 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16061
16062 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16063 New defun.
16064 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16065
16066 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16067
16068 * progmodes/sql.el: Version 3.0
16069 (sql-product-alist): Add product :completion-object,
16070 :completion-column, and :statement attributes.
16071 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16072 (sql-mode-syntax-table): Mark all punctuation.
16073 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16074 ansi keywords.
16075 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16076 (sql-mode-oracle-font-lock-keywords): Improve.
16077 (sql-oracle-show-reserved-words): New function for development.
16078 (sql-product-font-lock): Simplify for source code buffers.
16079 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16080 New functions.
16081 (sql-highlight-product): Set product specific syntax table.
16082 (sql-mode-map): Add statement movement functions.
16083 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16084 New variable.
16085 (sql-statement-regexp, sql-beginning-of-statement)
16086 (sql-end-of-statement, sql-signum): New functions.
16087 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16088 (sql-show-sqli-buffer): Bug fix.
16089 (sql-interactive-mode): Store connection data as buffer local.
16090 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16091 with sql-interactive-mode.
16092 (sql-save-connection): Save buffer local settings.
16093 (sql-connection-menu-filter): Change menu entry name.
16094 (sql-product-interactive): Bug fix.
16095 (sql-preoutput-hold): New variable.
16096 (sql-interactive-remove-continuation-prompt): Bug fixes.
16097 (sql-debug-redirect): New variable.
16098 (sql-str-literal): New function.
16099 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16100 Redesign.
16101 (sql-oracle-save-settings, sql-oracle-restore-settings)
16102 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16103 (sql-completion-object, sql-completion-column)
16104 (sql-completion-sqlbuf): New variables.
16105 (sql-build-completions-1, sql-build-completions)
16106 (sql-try-completion): New functions.
16107 (sql-read-table-name): Use them.
16108 (sql-contains-names): New buffer local variable.
16109 (sql-list-all, sql-list-table): Use it.
16110 (sql-oracle-completion-types): New variable.
16111 (sql-oracle-completion-object, sql-sqlite-completion-object)
16112 (sql-postgres-completion-object): New functions.
16113
16114 2011-07-06 Glenn Morris <rgm@gnu.org>
16115
16116 * window.el (pop-to-buffer): Doc fix.
16117
16118 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16119
16120 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16121
16122 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16123
16124 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16125
16126 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16127
16128 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16129
16130 * button.el (button): Inherit from link face. Suggested by Dan
16131 Nicolaescu.
16132
16133 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16134
16135 * progmodes/gdb-mi.el: Fit in 80 columns.
16136 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16137 switch-to-buffer.
16138
16139 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16140 if imenu is simply not configured (bug#8941).
16141
16142 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16143
16144 * allout.el (allout-post-undo-hook): New allout outline-change
16145 event hook to signal undo activity.
16146 (allout-post-command-business): Run allout-post-undo-hook if an
16147 undo just occurred.
16148 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16149 * allout-widgets.el (allout-widgets-after-undo-function):
16150 Ensure the integrity of the current item's decoration after it has been
16151 in the vicinity of an undo.
16152 (allout-widgets-mode): Include allout-widgets-after-undo-function
16153 on the new allout-post-undo-hook.
16154
16155 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16156
16157 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16158 Let define-derived-mode define it.
16159 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16160 cycles of abbrev-table inheritance (bug#8998).
16161
16162 2011-07-05 Roland Winkler <winkler@gnu.org>
16163
16164 * textmodes/bibtex.el: Add support for biblatex.
16165 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16166 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16167 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16168 (bibtex-entry-alist, bibtex-field-alist): New variables.
16169 (bibtex-entry-field-alist): Obsolete alias for
16170 bibtex-BibTeX-entry-alist.
16171 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16172 (bibtex-set-dialect): New command.
16173 (bibtex-entry-type, bibtex-entry-head)
16174 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16175 Bind via bibtex-set-dialect.
16176 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16177 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16178 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16179 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16180 Define via bibtex-set-dialect.
16181 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16182 Obey bibtex-no-opt-remove-re.
16183 (bibtex-vec-push, bibtex-vec-incr): New functions.
16184 (bibtex-format-entry, bibtex-field-list)
16185 (bibtex-print-help-message, bibtex-validate)
16186 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16187
16188 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16189
16190 * progmodes/compile.el (compilation-goto-locus):
16191 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16192 * bs.el (bs-cycle-next, bs-cycle-previous):
16193 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16194 * bindings.el (mode-line-other-buffer):
16195 * autoinsert.el (auto-insert):
16196 * arc-mode.el (archive-extract):
16197 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16198
16199 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16200
16201 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16202 Fix check of `emacs-lock-unlockable-modes'.
16203 Coerce true values of `emacs-lock--try-unlocking' to t.
16204
16205 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16206
16207 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16208 * emacs-lock.el: New file.
16209
16210 2011-07-05 Julien Danjou <julien@danjou.info>
16211
16212 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16213 than `boundp' to check if face is set.
16214
16215 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16216
16217 * register.el (registerv-make):
16218 * window.el (window-min-height): Fix typos in docstrings.
16219
16220 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16221
16222 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16223 Update doc string.
16224
16225 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16226
16227 * server.el (server-execute): Catch quit and call
16228 `server-return-error' to pass the error back to emacsclient and
16229 close the connection (bug#8942).
16230
16231 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16232
16233 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16234 insecure exception for current topic. Also note that auto-saves
16235 are handled differently.
16236
16237 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16238 State variables for tracking auto-save inhibition situation.
16239
16240 (allout-write-contents-hook-handler): Rename from
16241 'allout-write-file-hook-handler', and describe how it depends on
16242 write-contents-functions sensitivity to non-nil value to prevent
16243 file write.
16244
16245 (allout-auto-save-hook-handler): Remove. auto-save does not check
16246 this in individual buffers, only in the starting buffer, so this
16247 is not the right way for us to inhibit auto-save in a buffer
16248 according to its condition.
16249
16250 (allout-mode): Use new allout-write-contents-hook-handler, and
16251 only with write-contents-functions. Remove auto-save provisions -
16252 they're implemented elsewhere.
16253
16254 (allout-before-change-handler): If undo is in progress, note that
16255 for attention of allout-post-command-business.
16256
16257 (allout-post-command-business): If the command we're following was
16258 an undo, check for change in the status of encrypted items and
16259 adjust auto-save inhibitions accordingly.
16260
16261 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16262 according to whether there are or aren't any plain-text topics
16263 pending encryption.
16264
16265 (allout-inhibit-auto-save-info-for-decryption):
16266 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16267 if there are plain-text topics pending encryption.
16268
16269 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16270 buffer-saved-size and some allout state to not inhibit auto-saves
16271 if there are no longer any plain-text topics pending encryption.
16272
16273 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16274 No longer provide for exemption of the current topic.
16275
16276 2011-07-04 Juri Linkov <juri@jurta.org>
16277
16278 Add 7z operations to delete and save changed members (bug#8968).
16279 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16280 New defcustoms.
16281 (archive-7z-write-file-member): New function.
16282 (archive-7z-summarize): Fix the number of dashes in the
16283 listing output.
16284
16285 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16288 (bug#8958).
16289
16290 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16291
16292 * bindings.el: Ignore next-buffer and previous-buffer in
16293 minibuffer-local-map.
16294
16295 * font-lock.el (font-lock-builtin-face): Change light background
16296 color to dark slate blue (Bug#6693).
16297
16298 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16299
16300 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16301
16302 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16303
16304 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16305 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16306 Add switch-to-buffer.
16307
16308 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16309
16310 * isearch.el (isearch-search-fun-function): Clarify further the
16311 meaning of the function returned.
16312
16313 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16314
16315 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16316
16317 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16318 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16319 Use it.
16320 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16321 `tramp-default-remote-path' does not exist.
16322 (tramp-send-command-and-read): New optional argument NOERROR.
16323 (tramp-open-connection-setup-interactive-shell)
16324 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16325 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16326 (tramp-process-sentinel): Flush also process' connection property.
16327 (tramp-sh-handle-start-file-process): Do not set process
16328 sentinel. It is done now ...
16329 (tramp-maybe-open-connection): ... here. (Bug#8929)
16330
16331 2011-07-04 MON KEY <monkey@sandpframing.com>
16332
16333 * play/animate.el (animate-string): Doc fixes and allow changing
16334 the buffer name (bug#5417).
16335
16336 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16337
16338 * play/animate.el (animation-buffer-name): Rename from *animate*.
16339
16340 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16341
16342 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16343 This is simpler and helps future-proof the code.
16344 (timer-until): Use time-subtract and float-time.
16345 (timer--time-less-p): Use time-less-p.
16346
16347 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16348
16349 * type-break.el (timep): Use the value of `float-time' to avoid a
16350 byte-compiler warning.
16351
16352 * server.el (server-eval-and-print): Return any result, even nil.
16353
16354 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16355
16356 * type-break.el: Accept time formats that the builtins accept.
16357 (timep, type-break-time-difference): Accept any format that
16358 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16359 This is simpler and helps future-proof the code.
16360 (type-break-time-difference): Round rather than ignoring
16361 subseconds components.
16362
16363 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16364
16365 * info.el (Info-apropos-matches): Make non-interactive, since it
16366 doesn't seem to do anything useful as a command (bug#8829).
16367
16368 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16369
16370 * frame.el (frame-background-mode, frame-set-background-mode):
16371 Move from faces.el.
16372 (frame-default-terminal-background): New function.
16373
16374 * custom.el (custom-push-theme): Don't record faces in `changed'
16375 theme; this doesn't work correctly for per-frame face settings.
16376 (disable-theme): Use face-set-after-frame-default to reset faces.
16377 (custom--frame-color-default): New function.
16378
16379 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16380
16381 * dired.el (dired-flagging-regexp): Remove unused variable
16382 (bug#8769).
16383
16384 2011-03-29 Kevin Ryde <user42@zip.com.au>
16385
16386 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16387 `perl-Test2' extend to match possible "fail #N" rep count
16388 (bug#8377).
16389
16390 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16391
16392 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16393 `smtpmail-via-smtp' now returns the error instead of nil.
16394
16395 * isearch.el (isearch-search-fun-function): Clarify the doc string
16396 (bug#8101).
16397
16398 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16399
16400 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16401 unnecessary spaces (bug#8987).
16402
16403 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16404
16405 * net/network-stream.el (open-network-stream): Use the
16406 :end-of-capability command thoughout.
16407
16408 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16409
16410 * net/network-stream.el (open-network-stream): Add the
16411 :end-of-capability command parameter, used by pop3.el.
16412
16413 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16414
16415 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16416
16417 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16418 for list)" (bug#6475).
16419
16420 * files.el (file-expand-wildcards): Ignore non-readable
16421 sub-directories while trying to find matches instead of signaling
16422 an error (bug#6297).
16423
16424 * man.el (Man-reference-regexp): Allow matching possible
16425 word-wrapped references (bug#6289).
16426
16427 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16428 for consistency with the other vc buffers (bug#6197).
16429 (vc-checkin): Ditto.
16430
16431 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16432
16433 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16434
16435 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16436
16437 * custom.el (defcustom): Clarify that :set is only used in the
16438 Customize user interface (bug#6089).
16439
16440 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16441 associated with a file, refuse to run instead of erroring out
16442 (bug#6084).
16443
16444 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16445 the doc string, since it appears that using `fill-column' always
16446 controls the width (bug#7845).
16447
16448 * simple.el (shell-command-on-region): Say where the error output
16449 went if `shell-command-default-error-buffer' is set (bug#6857).
16450
16451 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16452
16453 * allout.el (allout-yank-processing): Adjust cursor position for
16454 backwards-deleted space.
16455
16456 (allout-rebullet-heading): Register changes with
16457 allout-exposure-changed-hook, so the modified topic is properly
16458 decorated.
16459
16460 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16461
16462 * minibuffer.el (completion-in-region): Document PREDICATE
16463 (bug#7136).
16464
16465 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16466 of keyword/argument pairs (bug#6904).
16467
16468 * replace.el (multi-occur):
16469 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16470
16471 2011-07-02 Drew Adams <drew.adams@oracle.com>
16472
16473 * dired.el (dired-mark-if): Make the message about whether it's
16474 marking or unmarking clearer (bug#8523).
16475
16476 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16477
16478 * disp-table.el (display-table-print-array): New function.
16479 (describe-display-table): Use it to print the vectors more pretty
16480 (Bug#8859).
16481
16482 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16483
16484 * window.el (window-state-get-1): Don't assign clone numbers.
16485 Add clone-of item to list of window parameters.
16486 (window-state-put-2): Don't process clone numbers.
16487 (display-buffer-alist): Fix doc-string.
16488
16489 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * subr.el (remq): Don't allocate if it's not needed.
16492 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16493 (keymap--merge-bindings): New functions.
16494 (keymap-canonicalize): Use them to refine the canonicalization.
16495 * minibuffer.el (minibuffer-local-completion-map)
16496 (minibuffer-local-must-match-map): Move initialization from C.
16497 (minibuffer-local-filename-completion-map): Move initialization from C;
16498 don't inherit from anything here.
16499 (minibuffer-local-filename-must-match-map): Make obsolete.
16500 (completing-read-default): Use make-composed-keymap to combine
16501 minibuffer-local-filename-completion-map with either
16502 minibuffer-local-must-match-map or
16503 minibuffer-local-filename-completion-map.
16504
16505 2011-07-01 Glenn Morris <rgm@gnu.org>
16506
16507 * type-break.el (type-break-time-sum): Use dolist.
16508
16509 * textmodes/flyspell.el (flyspell-word-search-backward):
16510 Replace CL function.
16511
16512 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16513
16514 * mouse.el (mouse--strip-first-event): New function.
16515 (function-key-map): Use it to map fringe clicks to normal clicks
16516 by default.
16517
16518 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16519 (vc-bzr-revision-completion-table): Add support for annotate and date.
16520
16521 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16522 inherit from parent.
16523
16524 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16525
16526 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16527 (dired-show-file-type): Doc fixup (bug#8818).
16528
16529 * dired.el (dired-mode): Fix up the doc string as suggested by
16530 Drew Adams (bug#8817).
16531
16532 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16533 cookie, since the manual says that it should be possible to add
16534 this function to `find-file-hook' (bug#8709).
16535
16536 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16537
16538 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16539 here. Noted Ted Zlatanov as the maintainer.
16540 (cfengine-common-settings, cfengine-common-syntax): New functions
16541 to set up common things between `cfengine-mode' and
16542 `cfengine3-mode'.
16543 (cfengine3-mode): New mode.
16544 (cfengine3-defuns cfengine3-defuns-regex
16545 (cfengine3-class-selector-regex cfengine3-category-regex)
16546 (cfengine3-vartypes cfengine3-font-lock-keywords)
16547 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16548 (cfengine3-indent-line): Add from cfengine3.el.
16549
16550 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16551
16552 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16553
16554 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16555
16556 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16557
16558 * window.el (same-window-buffer-names, same-window-regexps)
16559 (same-window-p, special-display-frame-alist)
16560 (special-display-popup-frame, special-display-function)
16561 (special-display-buffer-names, special-display-regexps)
16562 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16563 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16564 (split-window-preferred-function, split-height-threshold)
16565 (split-width-threshold, even-window-heights)
16566 (display-buffer-mark-dedicated, window-splittable-p)
16567 (split-window-sensibly, window-safely-shrinkable-p):
16568 Un-obsolete.
16569 (display-buffer): Don't spread args with function specifier
16570 because special-display-popup-frame won't like it.
16571
16572 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16573
16574 Time-stamp simplifications and fixes.
16575 These improve accuracy slightly, and future-proof the code
16576 against some potential changes to current-time format.
16577
16578 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16579 by using time-since and float-time.
16580
16581 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16582 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16583 + NNN microseconds".
16584
16585 * type-break.el (type-break-time-sum): Rewrite using time-add.
16586
16587 * play/hanoi.el (hanoi-current-time-float): Remove.
16588 All uses replaced by float-time.
16589
16590 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16591 This yields a more-accurate answer.
16592 (rng-time-to-float): Remove; no longer needed.
16593
16594 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16595
16596 * calendar/timeclock.el (timeclock-seconds-to-time):
16597 Defalias to seconds-to-time, since they're the same thing.
16598
16599 * emacs-lisp/elp.el (elp-elapsed-time):
16600 * emacs-lisp/benchmark.el (benchmark-elapse):
16601 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16602
16603 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16604
16605 * window.el (bury-buffer): Don't iconify the only frame.
16606 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16607 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16608
16609 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16610
16611 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16612 Add mouse-yank-primary.
16613
16614 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16615
16616 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16617
16618 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16621 (find-library-name): Use it to find relative load names when provided
16622 absolute file name (bug#8803).
16623
16624 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625
16626 * textmodes/flyspell.el (flyspell-word): Consider words that
16627 differ only in case as potential doublons (bug#5687).
16628
16629 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16630 Remove two rather uninteresting debugging-like messages to make
16631 debbugs.el more silent.
16632
16633 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16634 a password-like phrase.
16635
16636 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16637
16638 * progmodes/cc-guess.el: New file.
16639
16640 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16641
16642 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16643 derived from `c-basic-common-init'.
16644
16645 * progmodes/cc-mode.el (top-level): Require cc-guess.
16646 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16647
16648 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16649
16650 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16651
16652 2011-06-30 Alan Mackenzie <acm@muc.de>
16653
16654 * progmodes/cc-engine.el (c-guess-continued-construct):
16655 Correct the handling of template-args-cont, particularly for when font
16656 lock is disabled. Name this case as "CASE G".
16657
16658 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16659
16660 * allout.el (allout-yank-processing): Fix injection of extra space
16661 between bullet and non-whitespace character in first topic when
16662 pasting, ensuring that the actual spacing in the pasted topic
16663 following the bullet char is preserved. This extra space was
16664 causing pasted encrypted topics to get a decrypted status even
16665 when the content was actually still encrypted. Now the decryption
16666 status from before the paste is preserved.
16667
16668 (allout-flag-region): Set all allout overlays so they evaporate
16669 when reduced to zero length (evanescent), to prevent overlay
16670 leakage.
16671
16672 2011-06-30 Glenn Morris <rgm@gnu.org>
16673
16674 * w32-fns.el (w32-charset-info-alist): Declare.
16675
16676 * find-dired.el (find-grep-options): Simplify.
16677
16678 * term/ns-win.el (ns-set-resource): Declare.
16679
16680 * ses.el (row, col): Declare dynamic variables honestly.
16681
16682 * textmodes/reftex-parse.el (index-tags): Declare.
16683
16684 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16685
16686 * cus-edit.el (customize-push-and-save): New function.
16687
16688 * files.el (hack-local-variables-confirm): Use it.
16689
16690 * custom.el (load-theme): New arg NO-CONFIRM.
16691 Use customize-push-and-save (Bug#8720).
16692 (custom-enabled-themes): Doc fix.
16693
16694 * cus-theme.el (customize-create-theme)
16695 (custom-theme-merge-theme): Callers to load-theme changed.
16696
16697 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16698
16699 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16700 short URLs have at least one dot in them (bug #7614).
16701
16702 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16703 nil, because using a pty is apparently too slow (bug #895).
16704
16705 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16706
16707 * mail/sendmail.el (sendmail-query-once): New function.
16708 (sendmail-query-once-function): New variable.
16709
16710 2011-06-29 Glenn Morris <rgm@gnu.org>
16711
16712 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16713
16714 * ses.el (top-level): Require cl when compiling.
16715 (ses-set-localvars): Fix error statement.
16716 Call it at compile time to silence a storm of warnings.
16717
16718 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16719
16720 * window.el (normalize-live-buffer): Rename to
16721 window-normalize-buffer.
16722 (normalize-live-frame): Rename to window-normalize-frame.
16723 (normalize-any-window): Rename to window-normalize-any-window.
16724 (normalize-live-window): Rename to window-normalize-live-window.
16725 (make-window-atom): Rename to window-make-atom.
16726 (window-resize-reset): Rename to window--resize-reset.
16727 (window-resize-reset-1): Rename to window--resize-reset-1.
16728 (resize-mini-window): Rename to window--resize-mini-window.
16729 (resize-subwindows-skip-p): Rename to
16730 window--resize-subwindows-skip-p.
16731 (resize-subwindows-normal): Rename to
16732 window--resize-subwindows-normal.
16733 (resize-subwindows): Rename to window--resize-subwindows.
16734 (resize-other-windows): Rename to window--resize-siblings.
16735 (resize-this-window): Rename to window--resize-this-window.
16736 (resize-root-window): Rename to window--resize-root-window.
16737 (resize-root-window-vertically): Rename to
16738 window--resize-root-window-vertically.
16739 (normalize-buffer-to-display): Rename to
16740 window-normalize-buffer-to-display.
16741 (normalize-buffer-to-switch-to): Rename to
16742 window-normalize-buffer-to-switch-to.
16743 Correspondingly update all callers of the functions listed
16744 above.
16745 (display-buffer-alist, display-buffer-normalize-arguments)
16746 (display-buffer-normalize-options, display-buffer)
16747 (display-buffer-alist-set): Use "function" instead of
16748 "fun-with-args".
16749
16750 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16751
16752 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16753 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16754 debbugs.gnu.org. Mention acknowledgment email.
16755
16756 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16757
16758 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16759 buffer multibyteness, since it shouldn't matter.
16760
16761 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16762
16763 * window.el (display-buffer-in-side-window): Handle dedicated
16764 windows as in display-buffer-reuse-window.
16765 (display-buffer-normalize-alist): Use value of override
16766 specifier.
16767 (display-buffer-normalize-specifiers): Use value of
16768 other-window-means-other-frame specifier.
16769 (display-buffer-alist): Rewrite some texts in widgets.
16770 (display-buffer): Spread arguments when calling function
16771 specified by fun-with-args.
16772
16773 2011-06-28 Deniz Dogan <deniz@dogan.se>
16774
16775 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16776 Unnest `let'.
16777
16778 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16779 selectors (Bug#5732).
16780 (css-proprietary-nmstart-re): Use `regexp-opt'.
16781
16782 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16783
16784 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16785 (eshell-ls-date-format): New defcustom.
16786 (eshell-ls-file): Use it.
16787
16788 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16789
16790 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16791
16792 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16793
16794 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16795 (ange-ftp-make-tmp-name): New arg.
16796 (ange-ftp-file-local-copy): Use it.
16797
16798 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16799
16800 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16801 no-conversion (Bug#8870).
16802
16803 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16804
16805 * window.el (window-right, window-left, window-child)
16806 (window-child-count, window-last-child)
16807 (window-iso-combination-p, walk-window-tree-1)
16808 (window-atom-check-1, window-tree-1, delete-window)
16809 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16810 new naming conventions - window-vchild, window-hchild,
16811 window-next and window-prev are now called window-top-child,
16812 window-left-child, window-next-sibling and window-prev-sibling
16813 respectively.
16814 (resize-window-reset): Rename to window-resize-reset.
16815 (resize-window-reset-1): Rename to window-resize-reset-1.
16816 (resize-window): Rename to window-resize.
16817 (window-min-height, window-min-width)
16818 (resize-mini-window, resize-this-window, resize-root-window)
16819 (resize-root-window-vertically, adjust-window-trailing-edge)
16820 (enlarge-window, shrink-window, maximize-window)
16821 (minimize-window, delete-window, quit-restore-window)
16822 (split-window, balance-windows, balance-windows-area-adjust)
16823 (balance-windows-area, window-state-put-2)
16824 (display-buffer-even-window-sizes, display-buffer-set-height)
16825 (display-buffer-set-width, set-window-text-height)
16826 (fit-window-to-buffer): Rename all "resize-window" prefixed
16827 calls to use the "window-resize" prefix convention.
16828 (display-buffer-alist): Fix symbol for label specifier.
16829 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16830 corresponding specifier.
16831 Reported by Juanma Barranquero <lekktu@gmail.com>.
16832
16833 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16834
16835 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16836 convention.
16837 (ses-call-printer): Does not pass an empty string to formatter when the
16838 cell is empty to keep from barking printer Calc math-format-value.
16839
16840 2011-06-27 Richard Stallman <rms@gnu.org>
16841
16842 * battery.el (battery-mode-line-limit): New variable.
16843 (battery-update): Handle it.
16844
16845 * mail/rmailmm.el (rmail-mime-process-multipart):
16846 Handle truncated messages.
16847
16848 2011-06-27 Glenn Morris <rgm@gnu.org>
16849
16850 * progmodes/flymake.el (flymake-err-line-patterns):
16851 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16852
16853 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16854
16855 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16856 (ses--clean-!, ses--clean-_): New functions.
16857 (ses-range): Add configurability of readout order, and conversion
16858 to Calc vector.
16859
16860 * ses.el (ses-repair-cell-reference-all): New function.
16861 (ses-cell-symbol): Set macro as safe, so that it can be used in
16862 formulas.
16863
16864 * ses.el: Update cycle detection algorithm.
16865 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16866 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16867 (ses-set-localvars): New function.
16868 (ses-make-cell): Add property-list as a cell element.
16869 (ses-cell-property-get-fun, ses-cell-property-get)
16870 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16871 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16872 New functions.
16873 (ses-cell-property-set, ses-cell-property-pop)
16874 (ses-cell-property-get-handle): New macro.
16875 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16876 New aliases, used for code readability.
16877 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16878 cycle detection.
16879 (ses-self-reference-early-detection): New defcustom.
16880 (ses-formula-references): Robustify against self-referring cells.
16881 (ses-mode): Use ses-set-localvars.
16882 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16883 before lauching the update processing.
16884 (ses-initialize-Dijkstra-attempt): New function.
16885 (ses-recalculate-cell): Update for cycle detection based on
16886 Dijkstra algorithm.
16887
16888 * ses.el: Fix commenting and indenting convention.
16889
16890 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16891
16892 * bs.el (bs-cycle-next): Complete last change.
16893
16894 2011-06-27 Drew Adams <drew.adams@oracle.com>
16895
16896 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16897
16898 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16899
16900 * net/network-stream.el (network-stream-open-starttls):
16901 Don't re-get capabilities unless we've reestablished connection.
16902 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16903
16904 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16905 to binary to possibly avoid line encoding issues on Windows (among
16906 other things).
16907
16908 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16909
16910 * net/network-stream.el (open-network-stream): Return an :error
16911 saying what the problem was, if possible.
16912
16913 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16914 server.
16915
16916 * net/network-stream.el (network-stream-open-starttls): If we
16917 wanted to use STARTTLS, and the server offered it, but we weren't
16918 able to because we had no STARTTLS support, then close the connection.
16919 (open-network-stream): Return an :error element, if present.
16920
16921 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16922
16923 * hl-line.el (hl-line-sticky-flag): Doc fix.
16924 (global-hl-line-sticky-flag): New option (Bug#8323).
16925 (global-hl-line-highlight): Obey it.
16926
16927 * vc/vc.el (vc-revert-show-diff): Default to t.
16928
16929 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16930
16931 * allout-widgets.el (allout-widgets-post-command-business):
16932 Stop decorating intermediate isearch matches. They're not being
16933 undecorated when an isearch is continued past, and isearch
16934 automatically collapses them. This leads to "widget leaks", where
16935 decorated items accumulate in collapsed areas. Lines with lots of
16936 hidden widgets can slow down cursor travel, substantially.
16937 Too much complicated machinery would be needed to ensure undecoration,
16938 so we're doing without this nicety.
16939
16940 (allout-widgets-tally-string): Don't try to do a hash-table-count
16941 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16942 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16943 *Messages* when allout-widgets-maintain-tally is t.
16944
16945 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16946
16947 * window.el (display-buffer-normalize-argument): Rename to
16948 display-buffer-normalize-arguments. Handle special meaning of
16949 LABEL argument. Respect special-display-function when popping up
16950 a new frame. Fix code searching for a window showing the buffer
16951 on another frame.
16952 (display-buffer-normalize-specifiers):
16953 Call display-buffer-normalize-arguments.
16954 (display-buffer-in-window): Don't undedicate the window if its
16955 buffer remains the same.
16956 Reported by Drew Adams <drew.adams@oracle.com>.
16957 (display-buffer-alist): Add choice for same-window macro
16958 specfier.
16959 (display-buffer): Mention special meaning of LABEL argument in
16960 doc-string. Fix quoting. Don't pop up a new frame even as
16961 fallback.
16962
16963 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16964
16965 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16966 avoid deleting the current window in some cases (bug#8911).
16967
16968 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16969
16970 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16971 (Bug#8934)
16972
16973 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16974
16975 * net/network-stream.el (network-stream-open-starttls):
16976 Use built-in TLS support if `gnutls-available-p' is true.
16977 (network-stream-open-tls): Ditto.
16978
16979 2011-06-26 Leo Liu <sdl.web@gmail.com>
16980
16981 * register.el (registerv): New struct.
16982 (registerv-make): New function.
16983 (jump-to-register, describe-register-1, insert-register):
16984 Support the jump-func, print-func and insert-func slot of a registerv
16985 struct. (Bug#8415)
16986
16987 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16988
16989 * vc/vc.el (vc-revert-show-diff): New defcustom.
16990 (vc-diff-internal): New arg specifying diff buffer.
16991 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16992 reuse an existing *vc-diff* buffer (Bug#8927).
16993
16994 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16995
16996 2011-06-26 Glenn Morris <rgm@gnu.org>
16997
16998 * progmodes/f90.el (f90-critical-indent): New option.
16999 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17000 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17001 (f90-mode): Doc fix.
17002 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17003 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17004 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17005 (f90-match-end): Handle block, critical.
17006
17007 2011-06-25 Glenn Morris <rgm@gnu.org>
17008
17009 * calendar/diary-lib.el (diary-included-files): Doc fix.
17010 (diary-include-files): New function, extracted from
17011 diary-include-other-diary-files and diary-mark-included-diary-files.
17012 (diary-include-other-diary-files, diary-mark-included-diary-files):
17013 Just call diary-include-files.
17014 (diary-mark-entries): Reset diary-included-files on first call.
17015
17016 * calendar/diary-lib.el (diary-mark-entries)
17017 (diary-mark-included-diary-files):
17018 Visit included diary-files in temp buffers.
17019
17020 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17021 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17022 (f90-start-block-re, f90-imenu-generic-expression)
17023 (f90-looking-at-program-block-start, f90-no-block-limit):
17024 Add support for submodules.
17025
17026 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17027 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17028
17029 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17030
17031 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17032 buffer-file-type before setting its value, to avoid disastrous
17033 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17034
17035 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17036
17037 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17038
17039 * ses.el (ses-unload-function):
17040 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17041
17042 * proced.el (proced-unload-function):
17043 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17044
17045 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17046
17047 * server.el (server-create-window-system-frame): Add parameters arg.
17048 (server-process-filter): Doc fix. Handle frame-parameters.
17049
17050 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17051
17052 Fix bug#8730, bug#8781.
17053
17054 * loadhist.el (unload--set-major-mode): New function.
17055 (unload-feature): Use it.
17056
17057 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17058 (python-unload-function): New function.
17059
17060 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17063
17064 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17065
17066 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17067 the candidates list.
17068
17069 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17070
17071 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17072
17073 2011-06-23 Richard Stallman <rms@gnu.org>
17074
17075 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17076 (rmail-variables): Set next-error-move-function.
17077 (rmail-what-message): Take argument POS.
17078 (rmail-next-error-move): New function.
17079
17080 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17081
17082 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17083 messages for adjacent non-terminals.
17084
17085 2011-06-23 Richard Stallman <rms@gnu.org>
17086
17087 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17088 (rmail-show-message-1): Preserve buffer modified flag.
17089 (rmail-start-mail): Don't specify use of rmail-mail-return;
17090 that's done by mail-bury now.
17091 (rmail-mail-return): Handle arg NEWBUF.
17092
17093 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17094
17095 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17096 SIZE is a number.
17097
17098 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17099
17100 * window.el (get-lru-window, get-mru-window)
17101 (get-largest-window): Never return a minibuffer window.
17102 (display-buffer-pop-up-window): Fix a bug that could lead to
17103 reusing the minibuffer window.
17104 (display-buffer): Pass original specifier argument to
17105 display-buffer-function instead of the normalized one.
17106 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17107
17108 2011-06-22 Leo Liu <sdl.web@gmail.com>
17109
17110 * minibuffer.el (completing-read-function)
17111 (completing-read-default): Move from minibuf.c.
17112
17113 2011-06-22 Richard Stallman <rms@gnu.org>
17114
17115 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17116 to Rmail even if not started by a special Rmail command.
17117
17118 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17119 Copy the buffer currently showing just one message.
17120
17121 2011-06-22 Roland Winkler <winkler@gnu.org>
17122
17123 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17124 (bibtex-clean-entry): First delete the old key so that a
17125 customized algorithm for generating the new key does not get
17126 confused by the old key.
17127 (bibtex-url): Obey regexp of first step.
17128 (bibtex-search-entries): Do not use add-to-list with local
17129 list-var.
17130
17131 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17132
17133 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17134 stored a user name, then query for the password first, instead of
17135 waiting for SMTP to give an error message and the trying again.
17136
17137 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17138
17139 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17140 BUFFER in call-process.
17141
17142 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17143
17144 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17145 QUIT twice.
17146 (smtpmail-try-auth-methods): Require user name and password from
17147 auth-source.
17148
17149 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17150
17151 * window.el (display-buffer-default-specifiers)
17152 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17153 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17154 (split-window): Normalize SIDE argument (Bug#8916).
17155
17156 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17157 (special-display-frame-alist, special-display-popup-frame):
17158 Remove duplicate declarations. These are now in window.el.
17159
17160 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17161
17162 * mail/smtpmail.el (smtpmail-via-smtp):
17163 Set :use-starttls-if-possible so that we always use STARTTLS if the
17164 server supports it. SMTP servers that support STARTTLS commonly
17165 require it.
17166
17167 * net/network-stream.el (network-stream-open-starttls): Support
17168 upgrading to STARTTLS always, even if we don't have built-in support.
17169 (open-network-stream): Add the :always-query-capabilities keyword.
17170
17171 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17172 upgrades with `open-network-stream', and rely solely on
17173 auth-source for all credentials. Big changes throughout the file,
17174 but in particular:
17175 (smtpmail-auth-credentials): Remove.
17176 (smtpmail-starttls-credentials): Remove.
17177 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17178 MAIL FROM, too.
17179
17180 * net/network-stream.el (network-stream-open-starttls):
17181 Provide support for client certificates both for external and built-in
17182 STARTTLS.
17183 (auth-source): Require.
17184 (open-network-stream): Document the :client-certificate keyword.
17185 (network-stream-certificate): Change cert-cert to cert and
17186 cert-key to key.
17187
17188 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17189
17190 * net/tramp-cache.el (top): Don't load the persistency file when
17191 "emacs -Q" has been called.
17192
17193 2011-06-21 Tim Harper <timcharper@gmail.com>
17194
17195 * term/ns-win.el (ns-initialize-window-system):
17196 Set application-specific `ApplePressAndHoldEnabled' system
17197 resource to NO as it is not yet supported by the NS port.
17198
17199 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17200
17201 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17202 (list-dynamic-libraries): ...not here.
17203
17204 2011-06-21 Leo Liu <sdl.web@gmail.com>
17205
17206 * subr.el (sha1): Implement sha1 using secure-hash.
17207
17208 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17209
17210 * window.el (display-buffer-alist): In default value do not
17211 enforce searching a window on any but the selected frame.
17212 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17213 (display-buffer-select-window): Remove function.
17214 (display-buffer-in-window): When a window on another frame gets
17215 reused, do not select it any more but just raise its frame if
17216 necessary (Bug#8851) and (Bug#8856).
17217 (display-buffer-normalize-options): Handle pop-up-frames related
17218 options more faithfully.
17219 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17220 window if it is on another frame.
17221 (display-buffer-alist, display-buffer-default-specifiers):
17222 Don't make new frame unsplittable by default.
17223 (display-buffer-normalize-argument): Fix doc-string typo and use
17224 'same-frame-other-window instead of 'other-window when associating
17225 with display-buffer-macro-specifiers.
17226
17227 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17228
17229 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17230 New functions.
17231 (5x5-mode-map, 5x5-mode-menu): Bind them.
17232 (5x5-draw-grid): Tweak the solver's rendering.
17233
17234 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17235
17236 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17237 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17238
17239 2011-06-21 Drew Adams <drew.adams@oracle.com>
17240
17241 * menu-bar.el: Use function variable instead of switch-to-buffer.
17242 (menu-bar-select-buffer-function): New variable.
17243 (menu-bar-update-buffers): Use it (bug#8876).
17244
17245 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17248 variable's status.
17249
17250 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17251
17252 * x-dnd.el (x-dnd-version-from-flags)
17253 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17254 and long as number (Bug#8899).
17255 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17256
17257 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17260 (completion-try-completion, completion-all-completions): Compute the
17261 metadata argument if it's missing; make it optional (bug#8795).
17262
17263 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17264 (widget-complete): Use new :completion-function property.
17265 (widget-completions-at-point): New function.
17266 (default): Use :completion-function instead of :complete.
17267 (widget-default-completions): Rename from widget-default-complete;
17268 Rewrite.
17269 (widget-string-complete, widget-file-complete, widget-color-complete):
17270 Remove functions.
17271 (file, symbol, function, variable, coding-system, color):
17272 * international/mule-cmds.el (default-input-method, charset)
17273 (language-info-custom-alist):
17274 * cus-edit.el (face): Use new property :completions.
17275
17276 * progmodes/pascal.el (pascal-completions-at-point): New function.
17277 (pascal-mode): Use it.
17278 (pascal-mode-map): Use completion-at-point.
17279 (pascal-toggle-completions): Make obsolete.
17280 (pascal-complete-word, pascal-show-completions):
17281 * progmodes/octave-mod.el (octave-complete-symbol):
17282 Redefine as obsolete alias.
17283 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17284 Signal absence of completion info for old Octave,
17285 (inferior-octave-complete): Redefine as obsolete alias.
17286 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17287 (meta-completions-at-point): Rename from meta-complete-symbol and
17288 adapt it for use on completion-at-point-functions.
17289 (meta-common-mode): Use it.
17290 (meta-looking-at-backward, meta-match-buffer): Remove.
17291 (meta-complete-symbol): Redefine as obsolete alias.
17292 (meta-common-mode-map): Use completion-at-point.
17293 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17294 (makefile-mode-map): Use completion-at-point.
17295 (makefile-completions-at-point): Rename from makefile-complete and
17296 adapt it for use on completion-at-point-functions.
17297 (makefile-mode): Use it.
17298 (makefile-complete): Redefine as obsolete alias.
17299
17300 2011-06-20 Deniz Dogan <deniz@dogan.se>
17301
17302 * net/rcirc.el: Delete trailing whitespaces once and for all.
17303
17304 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17305
17306 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17307
17308 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17309
17310 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17311
17312 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17313
17314 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17315
17316 * window.el (display-buffer-other-window-means-other-frame):
17317 Call display-buffer-normalize-alist.
17318 (display-buffer-normalize-specifiers-1): Rename to
17319 display-buffer-normalize-argument. New argument other-frame.
17320 Rewrite.
17321 (display-buffer-normalize-specifiers-2): Rename to
17322 display-buffer-normalize-options.
17323 (display-buffer-normalize-alist-1): New function.
17324 (display-buffer-normalize-specifiers-3): Rename to
17325 display-buffer-normalize-alist.
17326 Call display-buffer-normalize-alist-1.
17327 (display-buffer-normalize-options-inhibit): New variable.
17328 (display-buffer-normalize-specifiers): Rewrite calling
17329 display-buffer-normalize-alist,
17330 display-buffer-normalize-argument, and
17331 display-buffer-normalize-options. Don't call the latter if
17332 display-buffer-normalize-options-inhibit is non-nil.
17333 (frame-auto-delete): New option.
17334 (window-deletable-p): Use frame-auto-delete.
17335 (window-list-no-nils, window-state-ignored-parameters)
17336 (window-state-get-1, window-state-get, window-state-put-list)
17337 (window-state-put-1, window-state-put-2, window-state-put):
17338 New functions.
17339 (display-buffer-normalize-options): Move special-display-p group
17340 after pop-up-frame group (Bug#8851) and (Bug#8856).
17341
17342 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17343
17344 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17345 groups (Bug#8776).
17346 (rx-submatch-n): New function.
17347 (rx): Document it.
17348
17349 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17350 (Bug#8768).
17351
17352 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17353
17354 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17355
17356 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17357 anytime existing face settings are present (Bug#8889).
17358
17359 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17360 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17361 Remove unused argument.
17362
17363 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17364
17365 * window.el (display-buffer-default-specifiers):
17366 Remove pop-up-frame. Add pop-up-window-min-height,
17367 pop-up-window-min-width, and another reuse-window specifier
17368 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17369 (display-buffer-normalize-specifiers-2):
17370 Handle split-height-threshold and split-width-threshold also when
17371 pop-up-windows is unset. Add a reuse-window specifier for the
17372 case popping up a new window fails.
17373 (special-display-popup-frame): Remove double quoting.
17374 (display-buffer-normalize-specifiers-1): Fix thinko.
17375
17376 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17377
17378 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17379 according to comint-completion-addsuffix.
17380
17381 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17382 (pcomplete-suffix-list): Mark as obsolete.
17383 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17384 pcomplete-seen in the closure.
17385 (pcomplete-comint-setup): Setup completion-at-point as well.
17386 (pcomplete--entries): New function.
17387 (pcomplete--env-regexp): New var.
17388 (pcomplete-entries): Rewrite to work with partial-completion and
17389 without relying on pcomplete-suffix-list.
17390 (pcomplete-pare-list): Remove, unused.
17391
17392 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17393
17394 * window.el (display-buffer-alist): Set pop-up-window-min-height
17395 and pop-up-window-min-width in default value. Reported by
17396 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17397 other-window-means-other-frame.
17398 (display-buffer-macro-specifiers): Comment out entry for
17399 other-window specifier.
17400 (display-buffer-other-window-means-other-frame): New function.
17401 (display-buffer-normalize-specifiers-1): New arguments
17402 buffer-name and label. Treat other-window case specially.
17403 (display-buffer-normalize-specifiers-2): Treat other-window case
17404 specially.
17405 (display-buffer-normalize-specifiers-3): New function.
17406 (display-buffer-normalize-specifiers):
17407 Call display-buffer-normalize-specifiers-3.
17408
17409 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17410
17411 * window.el (same-window-p): Fix two typos introduced when
17412 adding with-no-warnings.
17413 (display-buffer-normalize-specifiers-1): Don't check
17414 pop-up-frames for 'unset initialization.
17415 (display-buffer-normalize-specifiers-2): Major rewrite using
17416 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17417 (pop-up-frames, display-buffer-reuse-frames)
17418 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17419 Suggested by David Engster <deng@randomsample.de>.
17420 (even-window-heights): Initialize to 'unset.
17421 (display-buffer-alist-set): Handle new 'unset initializations.
17422 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17423 other window case.
17424
17425 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17426
17427 * window.el (display-buffer-normalize-specifiers-1):
17428 Respect current value of pop-up-frames for most reasonable values of
17429 second argument of display-buffer (Bug#8865).
17430 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17431 (switch-to-buffer-other-window-same-frame)
17432 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17433 Adams (Bug#8875).
17434 (display-buffer): Don't check noninteractive when calling
17435 display-buffer-pop-up-frame.
17436 (display-buffer-pop-up-frame): Never pop up a frame in
17437 noninteractive mode (Bug#8857).
17438 (enlarge-window, shrink-window): Don't report an error when the
17439 window can't be resized as requested (Bug#8862).
17440
17441 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17442
17443 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17444
17445 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17446
17447 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17448
17449 2011-06-15 Alan Mackenzie <acm@muc.de>
17450
17451 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17452 for declarators, disable knr checking to speed up for normal files.
17453 2: Refactor, replacing a sequence of nested if forms by a cond form.
17454
17455 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17456
17457 * net/network-stream.el (open-network-stream): Add the keyword
17458 :always-query-capabilities for the case where you want to force a
17459 `plain' network connection, but the protocol still requires the
17460 capabilitiy command (i.e., SMTP and EHLO).
17461
17462 * subr.el (process-live-p): Rename from `process-alive-p' for
17463 consistency with other `-live-p' functions.
17464
17465 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17466
17467 * window.el (same-window-buffer-names, same-window-regexps)
17468 (special-display-frame-alist, special-display-popup-frame)
17469 (special-display-function, special-display-buffer-names)
17470 (special-display-regexps, pop-up-frame-alist)
17471 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17472 (pop-up-windows, split-window-preferred-function)
17473 (split-height-threshold, split-width-threshold, even-window-heights)
17474 (display-buffer-mark-dedicated): Don't encourage the use of
17475 display-buffer-alist from Elisp code.
17476
17477 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17478
17479 * progmodes/python.el (python-mode): Derive from prog-mode.
17480 * progmodes/ps-mode.el (ps-mode):
17481 * progmodes/mixal-mode.el (mixal-mode):
17482 * progmodes/cfengine.el (cfengine-mode):
17483 * progmodes/ld-script.el (ld-script-mode): Likewise.
17484
17485 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17486
17487 * window.el (display-buffer-alist): Trim default value to avoid
17488 popping up a new frame (Bug#8857) or reusing an arbitrary window
17489 on another frame.
17490 (display-buffer): Do not fall back on popping up a new frame in
17491 batch mode (Bug#8857).
17492
17493 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17494
17495 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17496 (custom-theme-summary): New function.
17497 (customize-themes): Use it.
17498
17499 2011-06-13 Glenn Morris <rgm@gnu.org>
17500
17501 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17502
17503 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17504
17505 * help.el (help-window): Remove variable.
17506 (help-window-point-marker, temp-buffer-max-height)
17507 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17508 (help-print-return-message): Don't set help-window.
17509 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17510 (help-window-setup-finish): Remove.
17511 (help-window-display-message, help-window-setup)
17512 (with-help-window): Major rewrite based on new
17513 display-buffer-window variable.
17514
17515 * help-mode.el (help-mode-finish): Remove help-window related
17516 code.
17517
17518 * view.el (view-exits-all-viewing-windows): Remove reference to
17519 view-return-to-alist in doc-string.
17520 (view-return-to-alist): Make obsolete.
17521 (view-buffer): Call pop-to-buffer-same-window and remove
17522 undo-window code.
17523 (view-buffer-other-window): Call pop-to-buffer-other-window and
17524 simplify code. Ignore second argument.
17525 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17526 simplify code. Ignore second argument.
17527 (view-return-to-alist-update): Make obsolete.
17528 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17529 Rewrite using quit-restore window parameters.
17530 (view-mode-exit): Rename second argument to EXIT-ONLY.
17531 Rewrite using quit-restore-window.
17532 (View-exit, View-exit-and-edit, View-leave, View-quit)
17533 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17534 appropriate arguments.
17535 (view-end-message): Use quit-restore window parameter.
17536
17537 * window.el (display-buffer-function): Rewrite doc-string.
17538 (display-buffer-window, display-buffer-alist): New variables.
17539 (display-buffer-split-specifiers)
17540 (display-buffer-side-specifiers)
17541 (display-buffer-macro-specifiers): New constants.
17542 (display-buffer-even-window-sizes, display-buffer-set-height)
17543 (display-buffer-set-width, display-buffer-select-window)
17544 (display-buffer-in-window, display-buffer-reuse-window)
17545 (display-buffer-split-window-1, display-buffer-split-window)
17546 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17547 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17548 (display-buffer-in-side-window, normalize-buffer-to-display)
17549 (display-buffer-normalize-specifiers-1)
17550 (display-buffer-normalize-specifiers-2)
17551 (display-buffer-normalize-specifiers, display-buffer-frame):
17552 New functions.
17553 (display-buffer): Major rewrite.
17554 (display-buffer-other-window, display-buffer-other-frame)
17555 (pop-to-buffer, switch-to-buffer-other-window)
17556 (switch-to-buffer-other-frame): Rewrite.
17557 (display-buffer-same-window, display-buffer-same-frame)
17558 (display-buffer-same-frame-other-window)
17559 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17560 (pop-to-buffer-other-window)
17561 (pop-to-buffer-same-frame-other-window)
17562 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17563 (switch-to-buffer-other-window-same-frame): New functions.
17564 (same-window-p, special-display-p): Rewrite disabling warnings.
17565 Make obsolete.
17566 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17567 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17568 Make obsolete
17569 (same-window-buffer-names, same-window-regexps)
17570 (special-display-frame-alist, special-display-popup-frame)
17571 (special-display-function, special-display-buffer-names)
17572 (special-display-regexps, pop-up-frame-alist)
17573 (pop-up-frame-function, split-window-preferred-function)
17574 (split-height-threshold, split-width-threshold)
17575 (even-window-heights): Make obsolete.
17576
17577 2011-06-12 Glenn Morris <rgm@gnu.org>
17578
17579 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17580 Misc simplifications.
17581
17582 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17583
17584 * window.el (window-safely-shrinkable-p): Restore function which
17585 was inadvertently removed in change from 2011-06-11. Declare as
17586 obsolete.
17587
17588 * calendar/calendar.el (calendar-generate-window):
17589 Use window-iso-combined-p instead of combination of one-window-p and
17590 window-safely-shrinkable-p.
17591
17592 2011-06-12 Glenn Morris <rgm@gnu.org>
17593
17594 * progmodes/fortran.el (fortran-mode-syntax-table):
17595 * progmodes/f90.el (f90-mode-syntax-table):
17596 Set % to punctuation. (Bug#8820)
17597 (f90-find-tag-default): Remove, no longer needed.
17598
17599 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17600
17601 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17602
17603 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17604
17605 * image.el (image-animated-p): Return animation delay in seconds.
17606 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17607 (image-animate-timeout): Remove DELAY argument. Don't assume
17608 every subimage has the same delay; get it from image-animated-p.
17609 (image-animate): Caller changed.
17610
17611 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17612
17613 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17614 to ignored backtrace functions.
17615
17616 2011-06-11 Glenn Morris <rgm@gnu.org>
17617
17618 * calendar/appt.el (appt-disp-window-function): Doc fix.
17619 (appt-check): Handle overlapping appointments. (Bug#8337)
17620
17621 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17622
17623 * window.el (window-tree-1, window-tree): New functions, moving
17624 the latter to window.el.
17625 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17626 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17627 (bw-refresh-edges): Remove.
17628 (balance-windows-1, balance-windows-2): New functions.
17629 (balance-windows): Rewrite in terms of window tree functions,
17630 balance-windows-1 and balance-windows-2.
17631 (bw-adjust-window): Remove.
17632 (balance-windows-area-adjust): New function with functionality of
17633 bw-adjust-window but using resize-window.
17634 (set-window-text-height): Rewrite doc-string.
17635 Use normalize-live-window and resize-window.
17636 (enlarge-window-horizontally, shrink-window-horizontally):
17637 Rename argument to DELTA.
17638 (window-buffer-height): New function.
17639 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17640 Rewrite using new window resize routines.
17641 (kill-buffer-and-window, mouse-autoselect-window-select):
17642 Use ignore-errors instead of condition-case.
17643 (quit-window): Call delete-frame instead of delete-windows-on
17644 for the only buffer on frame.
17645
17646 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17647
17648 * loadup.el (top-level): Load window before files for the sake
17649 of replace-buffer-in-windows.
17650
17651 * files.el (read-buffer-to-switch)
17652 (switch-to-buffer-other-window)
17653 (switch-to-buffer-other-frame, display-buffer-other-frame):
17654 Move to window.el.
17655
17656 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17657 (previous-buffer): Move to window.el.
17658
17659 * bindings.el (unbury-buffer): Move to window.el.
17660
17661 * window.el (delete-other-windows-vertically): Move after
17662 definition of delete-other-windows.
17663 (other-window, delete-windows-on, replace-buffer-in-windows):
17664 Move here from window.c.
17665 (record-window-buffer, unrecord-window-buffer)
17666 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17667 (switch-to-next-buffer): New functions.
17668 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17669 from simple.el. Call switch-to-next-buffer.
17670 (previous-buffer): Move here from simple.el.
17671 Call switch-to-prev-buffer.
17672 (bury-buffer): Move here from buffer.c. Switch to previous
17673 buffer when window cannot be deleted.
17674 (unbury-buffer): Move here from bindings.el.
17675 (ctl-x-map): Move binding for other-window from window.c to
17676 here.
17677 (read-buffer-to-switch, switch-to-buffer-other-window)
17678 (switch-to-buffer-other-frame): Move here from files.el.
17679 (normalize-buffer-to-switch-to): New functions.
17680 (switch-to-buffer): Move here from buffer.c.
17681 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17682
17683 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17684
17685 * window.el (window-min-height, window-min-width): Move here
17686 from window.c. Add defcustoms and rewrite doc-strings.
17687 (resize-mini-window, resize-window): New functions.
17688 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17689 Move here from window.c.
17690 (maximize-window, minimize-window): New functions.
17691 (delete-window, delete-other-windows, split-window): Move here
17692 from window.c.
17693 (window-split-min-size): New function.
17694 (split-window-keep-point): Mention split-window-above-each-other
17695 instead of split-window-vertically.
17696 (split-window-above-each-other, split-window-vertically):
17697 Rename split-window-vertically to split-window-above-each-other
17698 and provide defalias for old definition.
17699 (split-window-side-by-side, split-window-horizontally):
17700 Rename split-window-horizontally to split-window-side-by-side
17701 and provide defalias for the old definition.
17702 (ctl-x-map): Move bindings for delete-window,
17703 delete-other-windows and enlarge-window here from window.c.
17704 Replace bindings for split-window-vertically and
17705 split-window-horizontally by bindings for
17706 split-window-above-each-other and split-window-side-by-side.
17707
17708 * cus-start.el (all): Remove entries for window-min-height and
17709 window-min-width. Add entries for window-splits and
17710 window-nest.
17711
17712 2011-06-09 Glenn Morris <rgm@gnu.org>
17713
17714 * calendar/appt.el (appt-mode-line): New function.
17715 (appt-check, appt-disp-window): Use it.
17716
17717 * files.el (hack-one-local-variable-eval-safep):
17718 Allow minor-modes with explicit +/-1 arguments.
17719
17720 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17721
17722 * term/xterm.el (xterm): Add defgroup.
17723 (xterm-extra-capabilities): Add defcustom to supply known xterm
17724 capabilities, skip querying them, or query them (default).
17725 (terminal-init-xterm): Use it.
17726 (terminal-init-xterm-modify-other-keys): New function to set up
17727 modifyOtherKeys support to simplify `terminal-init-xterm'.
17728
17729 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17730
17731 * window.el (resize-window-reset, resize-window-reset-1)
17732 (resize-subwindows-skip-p, resize-subwindows-normal)
17733 (resize-subwindows, resize-other-windows, resize-this-window)
17734 (resize-root-window, resize-root-window-vertically)
17735 (window-deletable-p, window-or-subwindow-p)
17736 (frame-root-window-p): New functions.
17737
17738 2011-06-09 Glenn Morris <rgm@gnu.org>
17739
17740 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17741 (ange-ftp-get-files): Use it.
17742
17743 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17744
17745 * mail/sendmail.el (mail-recover-1, mail-recover):
17746 * files.el (recover-file, recover-session):
17747 Handle dired-listing-switches not being just a single short option.
17748
17749 2011-06-09 Glenn Morris <rgm@gnu.org>
17750
17751 * calendar/appt.el (appt-display-message, appt-disp-window):
17752 Handle lists of appointments.
17753
17754 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17755
17756 * window.el (one-window-p): Move down in code.
17757 Rewrite doc-string.
17758 (window-current-scroll-bars): Rewrite doc-string.
17759 Normalize live window argument.
17760 (walk-windows, get-window-with-predicate, count-windows):
17761 Rewrite doc-string. Use window-list-1.
17762 (window-in-direction-2, window-in-direction, get-mru-window):
17763 New functions.
17764
17765 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17766
17767 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17768 Doc fix (Bug#8713).
17769
17770 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17771
17772 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17773
17774 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17775
17776 * loadhist.el (unload-feature-special-hooks):
17777 Add `comint-output-filter-functions'.
17778
17779 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17780
17781 * calendar/appt.el (appt-check): Move some initializations into the let.
17782
17783 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17784
17785 * window.el (window-height): Defalias to window-total-height.
17786 (window-width): Defalias to window-body-width.
17787
17788 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17789
17790 * image-mode.el (image-toggle-animation): New command.
17791 (image-mode-map): Bind it to RET.
17792 (image-mode): Update message.
17793 (image-toggle-display-image): Avoid a spurious cache flush.
17794 (image-transform-rotation): Doc fix.
17795 (image-transform-properties): Return quickly in the normal case.
17796 (image-animate-loop): Rename from image-animate-max-time.
17797
17798 * image.el (image-animate-max-time): Move to image-mode.el.
17799 (create-animated-image): Remove unnecessary function.
17800 (image-animate): Rename from image-animate-start. New arg.
17801 (image-animate-stop): Remove; just use image-animate-timer.
17802 (image-animate-timer): Use car-safe.
17803 (image-animate-timeout): Rename argument.
17804
17805 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17806
17807 * window.el (get-lru-window, get-largest-window): Move here from
17808 window.c. Rename first argument to ALL-FRAMES.
17809 Rephrase doc-strings.
17810 (get-buffer-window-list): Rewrite using window-list-1.
17811 Rephrase doc-string.
17812 (window-safe-min-height, window-safe-min-width): New constants.
17813 (window-size-ignore, window-min-size, window-min-size-1)
17814 (window-sizable, window-sizable-p, window-size-fixed-1)
17815 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17816 (window-max-delta-1, window-max-delta, window-resizable)
17817 (window-resizable-p, window-total-height, window-total-width)
17818 (window-body-width): New functions.
17819 (window-full-height-p, window-full-width-p): Rewrite using
17820 window-total-size.
17821 (window-body-height): Rewrite using window-body-size.
17822
17823 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17824
17825 * window.el (window-right, window-left, window-child)
17826 (window-child-count, window-last-child, window-any-p)
17827 (normalize-live-buffer, normalize-live-frame)
17828 (normalize-any-window, normalize-live-window)
17829 (window-iso-combination-p, window-iso-combined-p)
17830 (window-iso-combinations)
17831 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17832 (windows-with-parameter, window-with-parameter)
17833 (window-atom-root, make-window-atom, window-atom-check-1)
17834 (window-atom-check, window-side-check, window-check):
17835 New functions.
17836 (ignore-window-parameters, window-sides, window-sides-vertical)
17837 (window-sides-slots): New variables.
17838 (window-size-fixed): Move down in code. Minor doc-string fix.
17839
17840 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17841
17842 * comint.el (comint-dynamic-complete-as-filename)
17843 (comint-dynamic-complete-filename): Correctly call
17844 completion-in-region.
17845
17846 2011-06-05 Deniz Dogan <deniz@dogan.se>
17847
17848 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17849 in last change.
17850
17851 2011-06-05 Deniz Dogan <deniz@dogan.se>
17852
17853 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17854 (rcirc): Use it to prompt for encryption.
17855
17856 2011-06-05 Roland Winkler <winkler@gnu.org>
17857
17858 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17859 (bibtex-search-entries): New command bound to C-c C-a.
17860 (bibtex-display-entries): New function.
17861
17862 2011-06-05 Roland Winkler <winkler@gnu.org>
17863
17864 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17865 (bibtex-insert-kill): After yanking insert newline if necessary.
17866 (bibtex-initialize): Call bibtex-string-files-init only once.
17867 (bibtex-mode): Do not call easy-menu-add.
17868 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17869 (bibtex-yank): Set arg properly if nil.
17870
17871 2011-06-05 Roland Winkler <winkler@gnu.org>
17872
17873 * textmodes/bibtex.el (bibtex-search-entry-globally):
17874 New variable.
17875 (bibtex-search-entry): Use it.
17876
17877 2011-06-05 Roland Winkler <winkler@gnu.org>
17878
17879 * textmodes/bibtex.el (bibtex-entry-format): New option
17880 sort-fields.
17881 (bibtex-format-entry, bibtex-reformat): Honor this option.
17882 (bibtex-parse-entry): Return fields in proper order.
17883
17884 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17885
17886 * doc-view.el (doc-view-remove-if): Move computation of result out
17887 of `dolist' to silence misleading lexical-binding warning.
17888
17889 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17890
17891 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17892 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17893
17894 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17895
17896 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17897 "SunOS 5.10".
17898
17899 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17900
17901 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17902 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17903 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17904 (tramp-parse-putty):
17905 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17906 (tramp-completion-function-alist-ssh)
17907 (tramp-completion-function-alist-telnet)
17908 (tramp-completion-function-alist-su)
17909 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17910 cookie.
17911
17912 * net/tramp-ftp.el:
17913 * net/tramp-sh.el:
17914 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17915 load "tramp.el" `tramp-set-completion-function'.
17916
17917 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * shell.el: Require and use pcomplete.
17920 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17921 (shell-completion-vars): Set pcomplete-default-completion-function.
17922
17923 2011-06-04 Deniz Dogan <deniz@dogan.se>
17924
17925 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17926 `memq' (Bug#8799).
17927
17928 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17929
17930 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17931
17932 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17933
17934 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17935 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17936 * vc/log-view.el (log-view-beginning-of-defun):
17937 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17938 (smerge-refine-forward, smerge-refine-chopup-region):
17939 Silence warning for unused `dotimes' counter variables.
17940
17941 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17942
17943 * net/tramp.el (tramp-with-progress-reporter): Rename from
17944 with-progress-reporter. Use `declare'.
17945 * net/tramp-smb.el:
17946 * net/tramp-sh.el:
17947 * net/tramp-gvfs.el: Update all uses.
17948
17949 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17950
17951 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17952 buffer isn't killed before making it current.
17953
17954 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17955
17956 Silence various byte-compiler warnings.
17957 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17958 `access-type' and new obsolescence format.
17959 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17960 new format.
17961 (byte-compile-check-variable): New `access-type' argument.
17962 Only warn if the access-type is obsolete.
17963 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17964 (byte-compile-variable-set): Adjust callers.
17965 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17966 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17967 setting it as obsolete.
17968 * simple.el (minibuffer-completing-symbol):
17969 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17970 access as obsolete.
17971 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17972 obsolete yet.
17973 * international/quail.el (quail-mouse-choose-completion): Remove unused
17974 code referring to obsolete var.
17975 (quail-choose-completion-string): Remove.
17976 * server.el (server-clients-with, server-kill-buffer-query-function)
17977 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17978 * proced.el (proced-send-signal):
17979 * emacs-lisp/lisp.el (lisp-complete-symbol):
17980 Replace completion-annotate-function with completion-extra-properties.
17981
17982 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17983
17984 * simple.el (goto-line): Use read-number.
17985 (overriding-map-is-bound): Remove.
17986 (saved-overriding-map): Change default.
17987 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17988 Take the map as argument.
17989 (universal-argument, negative-argument, digit-argument): Use it.
17990 (restore-overriding-map): Adjust.
17991 (do-auto-fill): Use fill-forward-paragraph.
17992 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17993
17994 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17995 (minibuffer-inactive-mode): New major mode.
17996 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17997 the *Messages* buffer" hack.
17998 (mouse-popup-menubar): Don't burp if the event is a normal key.
17999
18000 Miscellaneous tweaks.
18001 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18002 lexical scoping as in subr.el's dolist and dotimes.
18003 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18004 Silence compiler warning.
18005 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18006 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18007 * international/ccl.el (ccl-compile): Trivial simplification.
18008 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18009 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18010 `printflag' argument.
18011 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18012 Purecopy the whole obsolescence data.
18013
18014 2011-06-01 Leo Liu <sdl.web@gmail.com>
18015
18016 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18017 improve doc-string as suggested by Marco Pessotto
18018 <melmothx@gmail.com>.
18019 (rcirc-print): Fix last change.
18020
18021 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18022
18023 * minibuffer.el (complete-with-action): Return nil for the metadata and
18024 boundaries of non-functional tables.
18025 (completion-table-dynamic): Return nil for the metadata.
18026 (completion-table-with-terminator): Add default case, using
18027 complete-with-action.
18028 (completion--metadata): New function.
18029 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18030 to try and avoid pathological performance problems.
18031 (completion--embedded-envvar-table): Return `category' metadata.
18032
18033 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18034
18035 * subr.el (process-alive-p): New tiny convenience function.
18036
18037 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18038
18039 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18040 content but also its previous major mode.
18041
18042 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18043
18044 * emacs-lisp/debug.el (debug): Restore the previous content of the
18045 *Backtrace* buffer when we exit with C-M-c.
18046
18047 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18048
18049 * minibuffer.el: Add metadata method to completion tables.
18050 (completion-category-overrides): New defcustom.
18051 (completion-metadata, completion--field-metadata)
18052 (completion-metadata-get, completion--styles)
18053 (completion--cycle-threshold): New functions.
18054 (completion-try-completion, completion-all-completions):
18055 Add `metadata' argument to choose completion-styles.
18056 (completion--do-completion): Use metadata to choose cycling.
18057 (completion-all-sorted-completions): Use metadata for sorting.
18058 Remove :completion-cycle-penalty which is not needed any more.
18059 (completion--try-word-completion): Add `metadata' argument.
18060 (minibuffer-completion-help): Check metadata for annotation function
18061 and sorting.
18062 (completion-file-name-table): Return `category' metadata.
18063 (minibuffer-completing-file-name): Make obsolete.
18064 * simple.el (minibuffer-completing-symbol): Make obsolete.
18065 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18066 completion-try-completion.
18067
18068 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18069
18070 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18071
18072 2011-05-30 Leo Liu <sdl.web@gmail.com>
18073
18074 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18075 (rcirc-print): Decode all incoming messages (bug#8744).
18076 (rcirc-decode-coding-system): Allow value nil for automatic coding
18077 system detection.
18078
18079 2011-06-01 Glenn Morris <rgm@gnu.org>
18080
18081 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18082
18083 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18084
18085 * image.el (image-animate-max-time): Allow nil and t values.
18086 Default to nil.
18087 (create-animated-image): Doc fix.
18088 (image-animate-start): Remove second arg; just use
18089 image-animate-max-time.
18090 (image-animate-timeout): Doc fix. Args changed.
18091
18092 * image-mode.el (image-toggle-display-image): Ensure that the
18093 image spec passed to the animate timer is the same object as in
18094 the buffer's display property (Bug#6981).
18095 (image-transform-properties): Doc fix.
18096
18097 * image.el (image-animate-max-time): Default to nil.
18098
18099 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18100
18101 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18102 entire buffer list (Bug#8184).
18103
18104 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18105
18106 * image.el (imagemagick-types-inhibit)
18107 (imagemagick-register-types): Doc fix.
18108
18109 2011-05-29 Deniz Dogan <deniz@dogan.se>
18110
18111 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18112 default.
18113
18114 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18115
18116 * select.el: Don't perform clipboard-manager saving in hooks;
18117 leave the hooks empty.
18118
18119 2011-05-28 Leo Liu <sdl.web@gmail.com>
18120
18121 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18122 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18123 (occur-edit-mode): New major mode (Bug#8463).
18124 (occur-after-change-function): New function.
18125 (occur-engine): Give Occur tags a read-only property.
18126
18127 2011-05-28 Kevin Ryde <user42@zip.com.au>
18128
18129 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18130
18131 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18132
18133 * bindings.el (help-echo): Make the initial non-indicator dash
18134 empty on graphical terminals (Bug#7295).
18135
18136 * files.el (auto-mode-alist): Move config rule after the
18137 in-stripping one (Bug#8547).
18138
18139 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18140
18141 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18142 setting (Bug#8740).
18143
18144 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18145
18146 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18147 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18148 (Bug#8539).
18149
18150 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18151
18152 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18153
18154 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18155
18156 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18157 (hs-hide-block-at-point, hs-find-block-beginning)
18158 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18159 (Bug#8279).
18160
18161 2011-05-28 Glenn Morris <rgm@gnu.org>
18162
18163 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18164
18165 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * help-fns.el (describe-function-1): If the function is a derived
18168 major mode, print the parent mode.
18169
18170 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18171 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18172
18173 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18174
18175 * minibuffer.el (completion--capf-wrapper): Check applicability before
18176 returning non-nil for non-exclusive completion data.
18177 * progmodes/etags.el (tags-completion-at-point-function):
18178 * info-look.el (info-lookup-completions-at-point): Mark as
18179 non-exclusive.
18180 (info-complete): Adjust accordingly.
18181
18182 * info-look.el: Convert to lexical-binding and completion-at-point.
18183 (info-lookup-completions-at-point): New function.
18184 (info-complete): Use it and completion-in-region.
18185
18186 2011-05-28 Drew Adams <drew.adams@oracle.com>
18187
18188 * isearch.el: Let M-e start with point at the first mismatched char.
18189 (isearch-fail-pos): New function.
18190 (isearch-edit-string): Use it.
18191
18192 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18193
18194 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18195
18196 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18197
18198 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18199 traversal functions for avl-trees.
18200 (avl-tree--stack): New struct.
18201 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18202 (avl-tree-enter): Add optional `updatefun' arg.
18203 (avl-tree--do-enter): Add optional `updatefun' arg.
18204 Change return value.
18205 (avl-tree-delete): Add optional `test' and `nilflag' args.
18206 (avl-tree--do-delete): Add `test' and `nilflag' args.
18207 Change return value.
18208 (avl-tree-member): Add optional `nilflag'
18209 (avl-tree-member-p): New function.
18210 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18211 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18212 (avl-tree-stack-empty-p): New functions.
18213
18214 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18215 avl-tree--del-balance1 and make it work both ways.
18216 (avl-tree--del-balance2): Remove.
18217 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18218 make it work both ways.
18219 (avl-tree--enter-balance2): Remove.
18220 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18221 New macros.
18222 (avl-tree--mapc, avl-tree-map): Add direction argument.
18223
18224 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18225
18226 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18227
18228 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18229
18230 * select.el: Support clipboard managers with built-in function
18231 x-clipboard-manager-save, via delete-frame-functions and
18232 kill-emacs-hook.
18233 (xselect-convert-to-targets): Add MULTIPLE target to list.
18234 (xselect-convert-to-save-targets): New function.
18235
18236 2011-05-27 Kenichi Handa <handa@m17n.org>
18237
18238 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18239 let-binding rfc2047-encode-encoded-words to nil.
18240
18241 2011-05-27 Glenn Morris <rgm@gnu.org>
18242
18243 * mail/emacsbug.el: Don't require url-util.
18244
18245 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18246
18247 * files.el (set-auto-mode):
18248 Also respect mode: entries at the end of the file. (Bug#8586)
18249
18250 2011-05-26 Glenn Morris <rgm@gnu.org>
18251
18252 * files.el (hack-local-variables-prop-line, hack-local-variables):
18253 Downcase mode names, as seems to be traditional.
18254 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18255
18256 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18257 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18258
18259 2011-05-25 Julien Danjou <julien@danjou.info>
18260
18261 * textmodes/rst.el (rst-define-level-faces): Do not define face
18262 symbol if it is already defined.
18263
18264 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18265
18266 * play/5x5.el (5x5-new-game, 5x5-randomize):
18267 Reset 5x5-solver-output to nil when a new grid is cast.
18268 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18269 these debugging traces, as defmacro breaks the compiled code.
18270
18271 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18272
18273 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18274
18275 2011-05-24 Leo Liu <sdl.web@gmail.com>
18276
18277 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18278 (vc-bzr-sha1): Adapt.
18279
18280 * sha1.el: Remove. Function `sha1' is now builtin.
18281
18282 * bindings.el: Provide sha1 feature.
18283
18284 2011-05-24 Kenichi Handa <handa@m17n.org>
18285
18286 * mail/sendmail.el: Require `rfc2047'.
18287 (mail-insert-from-field): Do not perform RFC2047 encoding.
18288 (mail-encode-header): New function.
18289 (sendmail-send-it): Set buffer-file-coding-system of the work
18290 buffer to the return value of select-message-coding-system.
18291 Call mail-encode-header.
18292
18293 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18294
18295 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18296
18297 * mail/supercite.el (sc-default-cite-frame):
18298 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18299
18300 2011-05-24 Glenn Morris <rgm@gnu.org>
18301
18302 * progmodes/python.el (brm-menu): Declare.
18303
18304 * emulation/viper.el (viper-set-hooks): Declare.
18305
18306 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18307 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18308 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18309 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18310 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18311 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18312
18313 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18314
18315 Add an :exit-function for completion-at-point.
18316
18317 * minibuffer.el (completion--done): New fun.
18318 (completion--do-completion): Use it. New arg `expect-exact'.
18319 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18320 since completion--do-completion does it for us now.
18321 (minibuffer-force-complete): Use completion--done and
18322 completion--replace. Handle sole-completion case with more care.
18323 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18324 (completion-extra-properties): New var.
18325 (completion-annotate-function): Make obsolete.
18326 (minibuffer-completion-help): Adjust accordingly.
18327 Use completion-list-insert-choice-function.
18328 (completion-at-point, completion-help-at-point):
18329 Bind completion-extra-properties.
18330 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18331 * simple.el (completion-list-insert-choice-function): New var.
18332 (completion-setup-function): Preserve it.
18333 (choose-completion): Pay attention to it, shuffle the code a bit.
18334 (choose-completion-string): New arg `insert-function'.
18335
18336 * textmodes/bibtex.el: Convert to lexical binding.
18337 (bibtex-mode-map): Use completion-at-point.
18338 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18339 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18340 (bibtex-complete): Define as obsolete alias.
18341 (bibtex-complete-internal): Remove.
18342 (bibtex-format-entry): Remove unused sub-group in regexp.
18343 * shell.el (shell--command-completion-data)
18344 (shell-environment-variable-completion):
18345 * pcomplete.el (pcomplete-completions-at-point):
18346 * comint.el (comint--complete-file-name-data): Use :exit-function
18347 instead of completion-table-with-terminator so it also works for
18348 choose-completion.
18349
18350 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18351
18352 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18353
18354 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18355 (bug#8710).
18356
18357 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18358
18359 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18360
18361 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18362 customization variable and implement: If non-nil, auto-fill will
18363 be inhibited while on topic's header line.
18364
18365 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18366
18367 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18368 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18369 always have a solution in grid size = 5 cases.
18370 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18371 (5x5-solver-output, 5x5-log-buffer): New vars.
18372 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18373 Make these variables buffer local to achieve 5x5 multi-session-ness.
18374 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18375 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18376 (5x5-solve-suggest): New funs.
18377 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18378 randomize a grid so that we ensure that there is always a solution.
18379 (5x5-make-random-grid): Allow other movement than flipping.
18380
18381 2011-05-23 Kevin Ryde <user42@zip.com.au>
18382
18383 * emacs-lisp/advice.el (ad-read-advised-function):
18384 Use `function-called-at-point' as the default, if it has
18385 advice and passes PREDICATE.
18386
18387 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18390 byte-compile-lambda if it's actually a lambda.
18391
18392 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18393 Fix function quoting. Use backquote better.
18394
18395 2011-05-22 Yuanle Song <sylecn@gmail.com>
18396
18397 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18398 matching (Bug#8516).
18399
18400 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18401
18402 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18403 different face (Bug#8178).
18404
18405 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18406
18407 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18408 defface (Bug#8144).
18409
18410 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18411
18412 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18413 funcall as well (bug#8712). Warn when performing those conversions.
18414 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18415
18416 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18417
18418 2011-05-22 Glenn Morris <rgm@gnu.org>
18419
18420 * files.el (hack-local-variables-prop-line): Small simplifications.
18421 (hack-local-variables, hack-local-variables-prop-line):
18422 If MODE-ONLY, return the mode, rather than just `t'.
18423
18424 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18425
18426 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18427
18428 2011-05-21 Glenn Morris <rgm@gnu.org>
18429
18430 * files.el (hack-local-variables-prop-line, hack-local-variables):
18431 If only interested in the mode, don't bother doing the other stuff.
18432
18433 * image-mode.el (image-after-revert-hook):
18434 Redraw all frames on which the image is visible. (Bug#8567)
18435
18436 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18437
18438 * wid-edit.el (widget-checklist-match-inline):
18439 Fix 2011-04-19 change. (Bug#8649)
18440
18441 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18442
18443 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18444 Also allow singlespace after single-letter capitals followed by a dot.
18445
18446 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18447 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18448
18449 2011-05-20 Nix <nix@esperi.org.uk>
18450
18451 * files.el (basic-save-buffer-2):
18452 Fix handling of break-hardlink-on-save with non-existent files.
18453
18454 2011-05-19 Deniz Dogan <deniz@dogan.se>
18455
18456 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18457 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18458
18459 2011-05-19 Glenn Morris <rgm@gnu.org>
18460
18461 * progmodes/f90.el (f90-type-def-re):
18462 Handle "type, bind(c)". (Bug#8691)
18463
18464 * emacs-lisp/autoload.el (batch-update-autoloads):
18465 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18466
18467 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18468
18469 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18470 property for the correct connection in case of multihops.
18471
18472 2011-05-18 Glenn Morris <rgm@gnu.org>
18473
18474 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18475 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18476
18477 Rationalize calendar handling of day and month abbrev-arrays.
18478 * calendar/calendar.el (calendar-customized-p): New function.
18479 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18480 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18481 Add :set function.
18482 (calendar-abbrev-length, calendar-day-abbrev-array)
18483 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18484 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18485 Elements may no longer be nil.
18486 (calendar-day-name, calendar-month-name):
18487 Update for changed nature of abbrev arrays.
18488 * calendar/diary-lib.el (diary-name-pattern):
18489 Update for changed nature of abbrev arrays.
18490 (diary-mark-entries-1): Update calendar-make-alist calls.
18491 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18492 * calendar/cal-html.el (cal-html-day-abbrev-array):
18493 Simply inherit from calendar-day-abbrev-array.
18494
18495 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18496
18497 * progmodes/grep.el (grep-mode): Disable default
18498 compilation-directory-matcher setting (bug#8684).
18499
18500 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18501
18502 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18503 instead of "head" and "tail". There were problems with SunOS 5.9,
18504 and it performs better.
18505
18506 2011-05-17 Glenn Morris <rgm@gnu.org>
18507
18508 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18509
18510 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18511 Replace obsolete function.
18512
18513 * shell.el (pcomplete-parse-arguments-function): Declare.
18514
18515 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18516 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18517 (appt-check): Doc fixes.
18518 (appt-disp-window-function, appt-delete-window-function):
18519 Remove needless special case in custom :type.
18520 (appt-display-count): Default to 0, not nil.
18521 (appt-check): Reset appt-display-count to 0, not nil.
18522
18523 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18524
18525 * progmodes/python.el (python-font-lock-keywords):
18526 Add the Python 3.X keyword "nonlocal" (bug#8639).
18527
18528 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18529
18530 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18531
18532 2011-05-16 Kevin Ryde <user42@zip.com.au>
18533
18534 * info-look.el (makefile-automake-mode): New setups, looking in
18535 automake manual, then makefile-mode.
18536 (makefile-mode): Remove automake manual, have it just in
18537 makefile-automake-mode since there's various things different or
18538 not relevant to plain make.
18539 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18540 believe a hypothetical automake-mode would go to makefile-mode,
18541 not the other way around.
18542
18543 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18544
18545 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18546 hunk-end tags (Bug#8672).
18547
18548 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18549 vc-annotate-show-diff-revision-at-line (Bug#8671).
18550
18551 2011-05-14 Glenn Morris <rgm@gnu.org>
18552
18553 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18554 in the middle of an existing one with multiple authors. (Bug#8645)
18555 (change-log-font-lock-keywords): Also handle multiple author lines
18556 with leading tabs. (Bug#8644)
18557
18558 * calendar/appt.el (appt-check): Rename some local variables.
18559 Some simplification/reordering.
18560
18561 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18562 (feedmail-sendmail-f-doesnt-sell-me-out)
18563 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18564 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18565 (feedmail-queue-runner-message-sender): Set :version.
18566 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18567 (bbdb-dwim-net-address, vm-mail): Declare.
18568 (feedmail-binmail-gnulinuxish-template):
18569 Rename from feedmail-binmail-linuxish-template.
18570 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18571 Use insert-buffer-substring.
18572
18573 2011-05-14 Bill Carpenter <bill@carpenter.org>
18574
18575 * mail/feedmail.el (feedmail-patch-level): Increase.
18576 (feedmail-debug): New custom group.
18577 (feedmail-confirm-outgoing-timeout)
18578 (feedmail-sendmail-f-doesnt-sell-me-out)
18579 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18580 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18581 (feedmail-sender-line, feedmail-from-line)
18582 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18583 (feedmail-spray-this-address)
18584 (feedmail-spray-address-fiddle-plex-list)
18585 (feedmail-queue-use-send-time-for-date)
18586 (feedmail-queue-use-send-time-for-message-id)
18587 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18588 (feedmail-buffer-eating-function):
18589 Doc fixes.
18590 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18591 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18592 (feedmail-message-action-scroll-down): New functions.
18593 (feedmail-queue-directory, feedmail-queue-draft-directory):
18594 Use expand-file-name.
18595 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18596 Remove C-v help entry.
18597 (feedmail-queue-buffer-file-name): New variable.
18598 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18599 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18600 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18601 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18602 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18603 (feedmail-message-action-toggle-spray)
18604 (feedmail-run-the-queue-no-prompts)
18605 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18606 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18607 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18608 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18609 (feedmail-envelope-deducer, feedmail-fiddle-from)
18610 (feedmail-fiddle-sender, feedmail-default-date-generator)
18611 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18612 (feedmail-fiddle-spray-address)
18613 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18614 (feedmail-fiddle-list-of-fiddle-plexes)
18615 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18616 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18617 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18618 Change default. Doc fix.
18619 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18620 (feedmail-binmail-linuxish-template): New constant.
18621 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18622 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18623 (feedmail-send-it): Add debug call.
18624 Use feedmail-queue-buffer-file-name, and
18625 feedmail-send-it-immediately-wrapper.
18626 (feedmail-message-action-send): Add debug call.
18627 Use feedmail-send-it-immediately-wrapper.
18628 (feedmail-queue-express-to-queue): Add debug call.
18629 Run feedmail-queue-express-hook.
18630 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18631 (feedmail-message-action-help-blat):
18632 Rename from feedmail-queue-send-edit-prompt-help-first.
18633 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18634 Check line-endings. Handle errors better.
18635 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18636 Doc fix. Add debug call.
18637 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18638 Use feedmail-queue-send-edit-prompt-inner.
18639 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18640 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18641 from feedmail-queue-send-edit-prompt.
18642 (feedmail-queue-send-edit-prompt-help)
18643 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18644 (feedmail-tidy-up-slug): Add debug call.
18645 Respect feedmail-queue-slug-suspect-regexp.
18646 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18647 (feedmail-dump-message-to-queue): Add debug call.
18648 Expand queue-directory.
18649 (feedmail-dump-message-to-queue): Change message slightly.
18650 Use feedmail-say-chatter.
18651 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18652 (feedmail-send-it-immediately-wrapper): New function.
18653 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18654 Insert empty string rather than newline. Handle full-frame case.
18655 Use catch/throw. Use feedmail-say-chatter.
18656 (feedmail-fiddle-from): Try mail-host-address.
18657 (feedmail-default-message-id-generator): Doc fix.
18658 Bind system-time-locale. Handle missing end.
18659 (feedmail-fiddle-x-mailer): Add debug call.
18660 Handle feedmail-x-mailer-line being nil.
18661 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18662 Add debug call. Use buffer-substring-no-properties.
18663 (feedmail-say-debug, feedmail-say-chatter): New functions.
18664 (feedmail-find-eoh): Give an explicit error.
18665
18666 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18667
18668 * net/newst-treeview.el (newsticker-treeview-face): Change default
18669 family from helvetica to sans.
18670 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18671 etc/images/newsticker.
18672
18673 * net/newst-reader.el (newsticker-feed-face): Change default
18674 family from helvetica to sans.
18675
18676 * net/newst-plainview.el (newsticker-new-item-face)
18677 (newsticker-old-item-face, newsticker-immortal-item-face)
18678 (newsticker-obsolete-item-face, newsticker-date-face)
18679 (newsticker-statistics-face): Change default family from
18680 helvetica to sans.
18681 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18682 etc/images/newsticker.
18683
18684 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18685 (newsticker--process-auto-mark-filter-match): Tell user about
18686 auto-marking.
18687
18688 2011-05-13 Didier Verna <didier@xemacs.org>
18689
18690 Common Lisp indentation improvements on defmethod and lambda-lists.
18691 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18692 TODO entries.
18693 (lisp-lambda-list-keyword-parameter-indentation)
18694 (lisp-lambda-list-keyword-parameter-alignment)
18695 (lisp-lambda-list-keyword-alignment): New customizable user options.
18696 (lisp-indent-defun-method): Improve docstring.
18697 (extended-loop-p): Fix comment.
18698 (lisp-indent-lambda-list-keywords-regexp): New variable.
18699 (lisp-indent-lambda-list): New function.
18700 (lisp-indent-259): Use it.
18701 (lisp-indent-defmethod): Support for more than one
18702 method qualifier and properly indent methods lambda-lists.
18703 (defgeneric): Provide a missing common-lisp-indent-function property.
18704
18705 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18706
18707 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18708 bounds for the empty string (bug#8667).
18709
18710 2011-05-13 Glenn Morris <rgm@gnu.org>
18711
18712 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18713
18714 * mail/sendmail.el (sendmail-program): Try executable-find first.
18715 (sendmail-send-it): `sendmail-program' cannot be unbound.
18716
18717 * calendar/appt.el (appt-make-list): Simplify.
18718 (appt-time-msg-list): Doc fix.
18719 (appt-check): Change mode-line message at the time of the appointment.
18720
18721 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18722
18723 * progmodes/ld-script.el (ld-script-keywords)
18724 (ld-script-builtins): Update keywords list.
18725
18726 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18727
18728 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18729
18730 * shell.el (shell-completion-vars): New function.
18731 (shell-mode):
18732 * simple.el (read-shell-command): Use it.
18733 (blink-matching-open): No need for " [...]" in minibuffer-message.
18734
18735 2011-05-12 Glenn Morris <rgm@gnu.org>
18736
18737 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18738 (appt-check): Simplify.
18739
18740 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18741
18742 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18743 literal "/dev/null".
18744
18745 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18746
18747 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18748 Fix typo.
18749
18750 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18751
18752 * progmodes/which-func.el (which-function):
18753 Use add-log-current-defun instead of add-log-current-defun-function,
18754 which might not be defined (Bug#8260).
18755
18756 2011-05-12 Glenn Morris <rgm@gnu.org>
18757
18758 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18759 Let byte-compile-initial-macro-environment always take precedence.
18760
18761 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18762
18763 * net/rcirc.el: Add support for SSL/TLS connections.
18764 (rcirc-server-alist): New field `encryption'.
18765 (rcirc): Check `encryption' settings.
18766 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18767 Merge make-local-variable into `set'.
18768 (rcirc--connection-open-p): New function.
18769 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18770 the process is not a network process (e.g. running gnutls-cli).
18771 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18772 Make rcirc-(en|de)code-coding-system local here.
18773 (rcirc-mode): Merge make-local-variable into `set'.
18774 (rcirc-parent-buffer): Make permanent buffer-local.
18775 (rcirc-multiline-minor-mode): Don't do it here.
18776 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18777 there's no server buffer.
18778
18779 2011-05-11 Glenn Morris <rgm@gnu.org>
18780
18781 * newcomment.el (comment-kill): Prefix "unused" local.
18782
18783 * term/w32console.el (get-screen-color): Declare.
18784
18785 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18786 Handle symbol elements of byte-compile-initial-macro-environment.
18787
18788 2011-05-10 Leo Liu <sdl.web@gmail.com>
18789
18790 * bookmark.el (bookmark-bmenu-mode-map):
18791 Bind bookmark-bmenu-search to `/'.
18792
18793 * mail/footnote.el: Convert to utf-8 encoding.
18794 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18795 (Footnote-unicode): New function.
18796 (footnote-style-alist): Add unicode style to the list.
18797 (footnote-style): Doc fix.
18798
18799 2011-05-10 Jim Meyering <meyering@redhat.com>
18800
18801 Fix doubled-word typos.
18802 * international/quail.el (quail-insert-kbd-layout): and and -> and
18803 * kermit.el: and and -> and
18804 * net/ldap.el (ldap-search-internal): to to -> to
18805 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18806 * progmodes/js.el (js-mode): and and -> and
18807 * textmodes/artist.el (artist-move-to-xy): at at -> at
18808 (artist-draw-region-trim-line-endings): if if -> if
18809 And Safetyc -> Safety.
18810 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18811
18812 2011-05-10 Glenn Morris <rgm@gnu.org>
18813 Stefan Monnier <monnier@iro.umontreal.ca>
18814
18815 * files.el (hack-one-local-variable-eval-safep):
18816 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18817
18818 2011-05-10 Glenn Morris <rgm@gnu.org>
18819
18820 * calendar/diary-lib.el (diary-list-entries-hook)
18821 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18822 (diary-nongregorian-marking-hook, diary-list-entries)
18823 (diary-include-other-diary-files, diary-mark-entries)
18824 (diary-mark-included-diary-files): Doc fixes.
18825
18826 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18827
18828 * misc.el: Require tabulated-list.el during compilation.
18829
18830 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18831
18832 * progmodes/compile.el (compilation-start):
18833 Run compilation-filter-hook for the async case too.
18834 (compilation-filter-hook): Doc fix.
18835
18836 2011-05-09 Deniz Dogan <deniz@dogan.se>
18837
18838 * wdired.el: Remove outdated installation comment. Fix usage
18839 comment.
18840
18841 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18842
18843 * misc.el: Implement new command `list-dynamic-libraries'.
18844 (list-dynamic-libraries--loaded-only-p): New variable.
18845 (list-dynamic-libraries--refresh): New function.
18846 (list-dynamic-libraries): New command.
18847
18848 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18849
18850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18851 Fix the ant regexp to handle end-line and end-column info from jikes.
18852 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18853 higher priority to avoid clobbering by gnu.
18854
18855 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18856
18857 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18858 if the face has existing theme settings (Bug#8454).
18859
18860 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18861
18862 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18863 Only match variables declared via `my' or `our' (Bug#8261).
18864
18865 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18866 special file names `.' and `..' (Bug#8259).
18867
18868 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * progmodes/grep.el (grep-mode-font-lock-keywords):
18871 Remove buffer-changing entries.
18872 (grep-filter): New function.
18873 (grep-mode): Add it to compilation-filter-hook.
18874
18875 * progmodes/compile.el (compilation-filter-hook)
18876 (compilation-filter-start): New defvars.
18877 (compilation-filter): Call compilation-filter-hook prior to
18878 updating the process mark.
18879
18880 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18881
18882 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18883
18884 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18885
18886 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18887 mailclient-send-it even if window-system is nil. (Bug#8595)
18888
18889 * term/w32console.el (terminal-init-w32console):
18890 Call get-screen-color and use its output to set the frame
18891 background-mode. (Bug#8597)
18892
18893 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18894
18895 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18896 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18897 New functions.
18898 (defgeneric, eieio--defmethod): Use them.
18899 (eieio-defgeneric): Remove.
18900 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18901
18902 2011-05-07 Glenn Morris <rgm@gnu.org>
18903
18904 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18905 Use let rather than let*.
18906 (timeclock-find-discrep): Remove unused local.
18907
18908 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18909
18910 * calendar/appt.el (appt-time-msg-list): Doc fix.
18911
18912 2011-05-06 Noah Friedman <friedman@splode.com>
18913
18914 * apropos.el (apropos-print-doc): Only use
18915 emacs-lisp-docstring-fill-column when it is bound to an integer,
18916 per that variable's documentation.
18917
18918 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18919
18920 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18921 and warnings are not silently discarded (e.g. use -d instead of -P).
18922
18923 2011-05-06 Glenn Morris <rgm@gnu.org>
18924
18925 * calendar/appt.el (appt-message-warning-time): Doc fix.
18926 (appt-warning-time-regexp): New option.
18927 (appt-make-list): Respect appt-message-warning-time.
18928
18929 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18930 New options.
18931 (diary-add-to-list): Strip comments from the displayed string.
18932 (diary-mode): Set comment-start and comment-end.
18933
18934 * vc/diff-mode.el (smerge-refine-subst): Declare.
18935 (diff-refine-hunk): Don't require smerge-mode when compiling.
18936
18937 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18938
18939 * simple.el (list-processes): Return nil as the docstring says.
18940
18941 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18942
18943 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18944 to "".
18945 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18946 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18947 determining of binary transfer. (Bug#7383)
18948
18949 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18950
18951 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18952 Fix port computation bug. (Bug#8618)
18953
18954 2011-05-05 Glenn Morris <rgm@gnu.org>
18955
18956 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18957
18958 * simple.el (shell-dynamic-complete-functions)
18959 (comint-dynamic-complete-functions): Declare.
18960
18961 * net/network-stream.el (gnutls-negotiate):
18962 * simple.el (tabulated-list-print): Fix declarations.
18963
18964 * progmodes/gud.el (syntax-symbol, syntax-point):
18965 Remove unnecessary and incorrect declarations.
18966
18967 * emacs-lisp/check-declare.el (check-declare-scan):
18968 Handle byte-compile-initial-macro-environment in bytecomp.el.
18969
18970 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 Fix earlier half-done eieio-defmethod change (bug#8338).
18973 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18974 Streamline and change calling convention.
18975 (defmethod): Adjust accordingly and simplify.
18976 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18977 new eieio--defmethod.
18978 (slot-boundp): Minor CSE simplification.
18979
18980 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18981
18982 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18983 (glasses-make-readable): Use glasses-separate-capital-groups.
18984
18985 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18986
18987 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18988 (warning-series): Doc fix.
18989 (display-warning): Don't try to create the buffer if we just found it.
18990
18991 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18992
18993 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18994 (autoload-find-generated-file): New function.
18995 (generate-file-autoloads): Bind generated-autoload-file to
18996 buffer-file-name.
18997 (update-file-autoloads, update-directory-autoloads):
18998 Use autoload-find-generated-file. If called interactively, prompt for
18999 output file (Bug#7989).
19000 (batch-update-autoloads): Doc fix.
19001
19002 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19003
19004 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19005
19006 2011-05-04 Glenn Morris <rgm@gnu.org>
19007
19008 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19009 function, so it follows changes in calendar-date-style.
19010 (diary-fancy-date-matcher): New function.
19011 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19012 (diary-fancy-font-lock-fontify-region-function):
19013 Use diary-fancy-date-pattern as a function.
19014
19015 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19016 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19017
19018 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19019
19020 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19021 instead of positional arguments. Allow :keylist and :crlfiles
19022 arguments.
19023 (open-gnutls-stream): Call it.
19024
19025 * net/network-stream.el (network-stream-open-starttls): Adjust to
19026 call `gnutls-negotiate' with :process and :hostname arguments.
19027
19028 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19029
19030 * minibuffer.el (completion--message): New function.
19031 (completion--do-completion, minibuffer-complete)
19032 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19033 (completion--do-completion): Don't ignore completion-auto-help when in
19034 icomplete-mode.
19035
19036 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19037 internal encoding (e.g. tibetan zero is not whitespace).
19038 (global-whitespace-mode): Prefer save-current-buffer.
19039 (whitespace-trailing-regexp): Remove useless save-match-data.
19040 (whitespace-empty-at-bob-regexp): Minor simplification.
19041
19042 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19043
19044 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19045
19046 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19047
19048 * textmodes/ispell.el (ispell-add-per-file-word-list):
19049 Use `concat' to create string for insertion.
19050
19051 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19052
19053 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19054 Avoid open-line which runs post-self-insert-hook.
19055 (bibtex-fill-entry): Remove unused `end' var.
19056
19057 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19058
19059 * textmodes/ispell.el (ispell-add-per-file-word-list):
19060 Protect against `nil' value of `comment-start' (Bug#8579).
19061
19062 2011-05-03 Leo Liu <sdl.web@gmail.com>
19063
19064 * isearch.el (isearch-yank-pop): New command.
19065 (isearch-mode-map): Bind it to `M-y'.
19066 (isearch-forward): Mention it.
19067
19068 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19069
19070 * simple.el (minibuffer-complete-shell-command): Remove.
19071 (minibuffer-local-shell-command-map): Use completion-at-point.
19072 (read-shell-command): Setup completion vars here instead.
19073 (read-expression-map): Bind TAB to symbol completion.
19074
19075 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19076 error directly rather via storing it into `results'.
19077
19078 2011-05-02 Leo Liu <sdl.web@gmail.com>
19079
19080 * vc/diff.el: Fix description.
19081
19082 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083
19084 * server.el (server-eval-at): New function.
19085
19086 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19087
19088 * net/network-stream.el (open-network-stream): Take a :nowait
19089 parameter and pass it on to `make-network-process'.
19090 (network-stream-open-plain): Ditto.
19091
19092 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19093
19094 * faces.el (face-spec-set-match-display): Don't match toolkit
19095 options on terminal frames.
19096
19097 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19098
19099 * progmodes/pascal.el: Use lexical binding.
19100 (pascal-mode-map): Remove author preferences.
19101
19102 * pcomplete.el (pcomplete-std-complete): Don't abuse
19103 completion-at-point.
19104
19105 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19106
19107 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19108 removing code that has been dead since 1991 or so.
19109
19110 * startup.el (command-line): When warning about "_emacs", use a
19111 delayed warning to allow the user to filter it out.
19112
19113 2011-04-28 Deniz Dogan <deniz@dogan.se>
19114
19115 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19116 user has not joined.
19117
19118 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19119
19120 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19121 aren't any completions at point.
19122
19123 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * subr.el (display-delayed-warnings): New function.
19126 (delayed-warnings-hook): New variable.
19127
19128 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19129
19130 * minibuffer.el (completion-at-point, completion-help-at-point):
19131 Don't presume that a given completion-at-point-function will always
19132 use the same calling convention.
19133
19134 * pcomplete.el (pcomplete-completions-at-point):
19135 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19136 pcomplete-seen is non-nil.
19137 (pcomplete-comint-setup): Also recognize the new comint/shell
19138 completion functions.
19139 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19140 pcomplete-seen is non-nil.
19141
19142 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19143
19144 * calendar/icalendar.el (diary-lib): Add require statement.
19145 (icalendar--create-uid): Read out a uid from a text-property on
19146 the first character in the entry. This allows for code to add its
19147 own uid to the entry.
19148 (icalendar--convert-float-to-ical): Add export of
19149 `diary-float'-entries save for those with the optional DAY
19150 argument.
19151
19152 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19153
19154 * subr.el (shell-quote-argument): Use alternate escaping strategy
19155 when we spot a variable reference in a string.
19156
19157 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19158
19159 * cus-start.el (all): Define customization for debug-on-event.
19160
19161 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19162
19163 * subr.el (shell-quote-argument): Escape correctly under Windows.
19164
19165 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19166
19167 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19168
19169 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19170
19171 * net/tramp.el (tramp-process-actions): Add POS argument.
19172 Delete region between POS and (pos).
19173
19174 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19175 Use `nil' position in `tramp-process-actions' call.
19176 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19177
19178 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19179 position in `tramp-process-actions' call.
19180
19181 * net/trampver.el: Update release number.
19182
19183 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19184
19185 * custom.el (defcustom): Obey lexical-binding.
19186
19187 Fix octave-inf completion problems reported by Alexander Klimov.
19188 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19189 Inherit from octave-mode-syntax-table.
19190 (inferior-octave-mode): Set info-lookup-mode.
19191 (inferior-octave-completion-at-point): New function.
19192 (inferior-octave-complete): Use it and completion-in-region.
19193 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19194 comint-filename-completion.
19195 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19196 symbol elements which shouldn't be word elements.
19197 (octave-font-lock-keywords, octave-beginning-of-defun)
19198 (octave-function-header-regexp): Adjust regexps accordingly.
19199 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19200
19201 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19202
19203 * net/gnutls.el (gnutls-errorp): Declare before first use.
19204
19205 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19206
19207 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19208 verify-error, and verify-hostname-error parameters. Check whether
19209 default trustfile exists before going to use it. Add missing
19210 argument to gnutls-message-maybe call. Return value.
19211 Reported by Claudio Bley <claudio.bley@gmail.com>.
19212 (open-gnutls-stream): Add usage example.
19213
19214 * net/network-stream.el (network-stream-open-starttls): Give host
19215 parameter to `gnutls-negotiate'.
19216 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19217 * subr.el (shell-quote-argument): Escape correctly under Windows.
19218
19219 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19220
19221 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19222 Use correct match group (bug#8438).
19223
19224 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19225
19226 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19227 (package-menu--generate): New arg specifying packages to show.
19228 (package-menu-refresh, package-menu-execute, list-packages):
19229 Callers changed.
19230 (package-show-package-list): New function, replacing deleted
19231 package--list-packages (renamed because it is non-internal).
19232
19233 * finder.el (finder-list-matches): Use package-show-package-list
19234 instead of deleted package--list-packages.
19235
19236 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19237 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19238 (vc-annotate-mode-map): Bind it to RET.
19239
19240 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19241
19242 * progmodes/etags.el (next-file): Don't use set-buffer to change
19243 buffers (Bug#8478).
19244
19245 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19248
19249 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19250 (apropos-accumulator): Doc fix.
19251 (apropos-function, apropos-macro, apropos-command)
19252 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19253 (apropos-plist): Add face property.
19254 (apropos-symbols-internal): Fix indentation.
19255 (apropos-print): Simplify help, and recognize apropos-multi-type.
19256 (apropos-print-doc): Use button-type-get to extract the button's
19257 face property. Fill docstring (Bug#8352).
19258
19259 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19260
19261 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19262
19263 * play/mpuz.el (mpuz-silent): Doc fix.
19264 (mpuz-mode-map): Use mapc.
19265 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19266 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19267 Fix typos in docstrings.
19268
19269 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19270 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19271
19272 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19273
19274 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19275
19276 * minibuffer.el (completion--do-completion): Avoid the "Next char
19277 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19278
19279 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19280 mouse-2 into unread-command-events, it is interpreted correctly.
19281
19282 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19283 (image-toggle-display): Doc fix.
19284
19285 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19286
19287 * textmodes/page.el (what-page): Use line-number-at-pos to
19288 calculate line number (Bug#6825).
19289
19290 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19291
19292 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19293 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19294 Pass argument NO-DEFAULT to `find-tag-interactive'.
19295
19296 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19297
19298 Lexical-binding cleanup.
19299
19300 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19301 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19302 * progmodes/ada-prj.el (ada-prj-initialize-values)
19303 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19304 (ada-prj-show-value):
19305 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19306 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19307 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19308 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19309 * progmodes/bug-reference.el (bug-reference-push-button):
19310 * progmodes/fortran.el (fortran-line-length):
19311 * progmodes/glasses.el (glasses-change):
19312 * progmodes/octave-mod.el (octave-fill-paragraph):
19313 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19314 (python-pdbtrack-grub-for-buffer, python-sentinel):
19315 * progmodes/sql.el (sql-save-connection):
19316 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19317 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19318 Mark unused parameters.
19319
19320 * progmodes/compile.el (compilation--flush-directory-cache)
19321 (compilation--flush-parse, compile-internal): Mark unused parameters.
19322 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19323 (compilation-next-error-function): Remove unused variable `timestamp'.
19324
19325 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19326 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19327
19328 * progmodes/dcl-mode.el (dcl-end-of-command):
19329 Remove unused variable `start'.
19330 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19331 (dcl-option-value-basic, dcl-option-value-offset)
19332 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19333 Mark unused parameters.
19334 (dcl-save-local-variable): Remove unused variable `val'.
19335 (mode): Declare.
19336
19337 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19338 Mark unused parameters.
19339 (delphi-ignore-changes): Move before first use.
19340 (delphi-charset-token-at): Remove unused variable `start'.
19341 (delphi-else-start): Remove unused variable `if-count'.
19342 (delphi-comment-block-start, delphi-comment-block-end):
19343 Remove unused variable `kind'.
19344 (delphi-indent-line): Remove unused variable `new-point'.
19345
19346 * progmodes/ebrowse.el (ebrowse-files-list)
19347 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19348 Mark unused parameters. Don't quote `lambda'.
19349 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19350 Don't quote `lambda'.
19351 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19352 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19353 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19354 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19355 Use `ignore-errors'.
19356 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19357 (ebrowse-view/find-file-and-search-pattern)
19358 (ebrowse-view/find-member-declaration/definition):
19359 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19360 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19361 Rename parameter PREFIX-ARG to PREFIX.
19362 (ebrowse-tags-read-name): Remove unused variables `start' and
19363 `member-info'.
19364 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19365 to `tags-file'.
19366
19367 * progmodes/etags.el (local-find-tag-hook): Declare.
19368 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19369 Mark unused parameters.
19370
19371 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19372 (executable-interpret): Mark unused parameter.
19373
19374 * progmodes/flymake.el (flymake-process-sentinel)
19375 (flymake-after-change-function)
19376 (flymake-create-temp-with-folder-structure)
19377 (flymake-get-include-dirs-dot): Mark unused parameters.
19378 (flymake-safe-delete-directory): Remove unused variable `err'.
19379
19380 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19381 (speedbar-timer-fn, speedbar-line-text)
19382 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19383 (speedbar-center-buffer-smartly): Declare functions.
19384 (gdb-find-watch-expression): Remove unused variable `array'.
19385 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19386 (gdb-starting): Mark unused parameters.
19387 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19388 (gdb-table-string): Remove unused variable `res'.
19389 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19390 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19391 (gdb-display-buffer): Remove unused variable `cur-size'.
19392
19393 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19394 allow lexical-binding compilation.
19395 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19396 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19397 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19398 Mark unused parameters.
19399 (gud-gdb-marker-filter): Remove unused variable `match'.
19400 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19401 lambda expressions and funcall them, instead of using `fset'.
19402
19403 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19404 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19405
19406 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19407 variable `header-beg'; use `let'.
19408
19409 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19410 `restart', `last-sexp' and `at-do'.
19411
19412 * progmodes/js.el (js--debug): Mark unused parameter.
19413 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19414 (js--splice-into-items): Remove unused variable `item'.
19415 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19416
19417 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19418 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19419 (makefile-complete): Remove unused variable `try'.
19420 (makefile-fill-paragraph, makefile-match-function-end):
19421 Mark unused parameters.
19422
19423 * progmodes/octave-inf.el (inferior-octave-complete):
19424 Remove unused variable `proc'.
19425 (inferior-octave-output-digest): Mark unused parameter.
19426
19427 * progmodes/perl-mode.el (perl-calculate-indent):
19428 Remove unused variable `err'.
19429
19430 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19431 (prolog-indent-line): Mark unused parameters.
19432 (prolog-indent-line): Remove unused variable `beg'.
19433
19434 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19435 (reporter-dont-compact-list): Declare.
19436
19437 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19438 Remove unused variable `char'.
19439 (sh-debug): Mark unused parameter.
19440 (sh-get-indent-info): Remove unused variable `start'.
19441 (sh-calculate-indent): Remove unused variable `var'.
19442
19443 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19444 (simula-electric-keyword): Remove unused variable `null'.
19445 (simula-search-backward, simula-search-forward): Remove unused
19446 variables `begin' and `end'.
19447
19448 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19449 Remove unused variable `pos'.
19450 (vera-electric-tab, vera-comment-uncomment-region):
19451 Mark unused parameters.
19452 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19453
19454 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19455
19456 * emacs-lisp/package.el (package--builtins, package-alist)
19457 (package-load-descriptor, package-built-in-p, package-activate)
19458 (define-package, package-installed-p)
19459 (package-compute-transaction, package-buffer-info)
19460 (package--push): Doc fix. Distinguish more clearly between
19461 version strings and version lists.
19462
19463 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19464
19465 Lexical-binding cleanup.
19466
19467 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19468 (5x5-make-mutate-best):
19469 * play/fortune.el (fortune-in-buffer):
19470 * play/gomoku.el (gomoku-init-display):
19471 * play/solitaire.el (solitaire, solitaire-do-check):
19472 * play/tetris.el (tetris-default-update-speed-function):
19473 Mark unused parameters.
19474
19475 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19476 (bubbles--shift): Remove unused variable `char-org'.
19477 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19478 (bubbles--show-images): Remove unused variable `char'.
19479
19480 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19481 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19482 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19483 (decipher-analyze-buffer): Use ?\s.
19484 (decipher-make-checkpoint): Remove unused variable `mapping'.
19485
19486 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19487
19488 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19489 Remove unused variable `result'; use `let'.
19490
19491 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19492 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19493 (gametree-children-shown-p, gametree-compute-reduced-score):
19494 Use `ignore-errors'.
19495
19496 * play/handwrite.el (ps-lpr-switches): Declare.
19497 (handwrite): Remove unused variables `pmin' and `lastp'.
19498
19499 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19500
19501 * play/landmark.el (landmark-init-display)
19502 (landmark-update-naught-weights): Mark unused parameters.
19503 (landmark-y): Remove unused variable `noise'. Simplify.
19504 (landmark-human-plays): Remove unused variable `score'.
19505
19506 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19507 (mpuz-try-proposal): Remove unused variable `game'.
19508
19509 * play/zone.el (life-patterns): Declare.
19510
19511 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19512
19513 * vc/vc.el (ediff-vc-internal): Declare function.
19514
19515 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19516
19517 * shell.el: Use lexical-binding and std completion UI.
19518 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19519 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19520 comint-preoutput-filter-functions rather than on
19521 comint-output-filter-functions.
19522 (shell-command-completion, shell--command-completion-data)
19523 (shell-filename-completion, shell-environment-variable-completion)
19524 (shell-c-a-p-replace-by-expanded-directory): New functions.
19525 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19526 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19527 (shell-dynamic-complete-environment-variable): Use them.
19528 (shell-dynamic-complete-as-environment-variable)
19529 (shell-dynamic-complete-as-command): Remove.
19530 (shell-match-partial-variable): Match past point.
19531 * comint.el: Clean up use of completion-at-point-functions.
19532 (comint-completion-at-point): New function.
19533 (comint-mode): Use it completion-at-point-functions.
19534 (comint-dynamic-complete): Make it obsolete.
19535 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19536 (comint-c-a-p-replace-by-expanded-history): New function.
19537 (comint-dynamic-complete-functions)
19538 (comint-replace-by-expanded-history): Use it.
19539 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19540 termination strings. Try harder to avoid second try-completion.
19541 (completion-in-region-mode-map): Disable bindings that don't work yet.
19542
19543 * comint.el: Use lexical-binding. Require CL.
19544 (comint-dynamic-complete-functions): Use comint-filename-completion.
19545 (comint-completion-addsuffix): Tweak custom type.
19546 (comint-filename-completion, comint--common-suffix)
19547 (comint--common-quoted-suffix, comint--table-subvert)
19548 (comint--complete-file-name-data): New functions.
19549 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19550 (comint-dynamic-list-filename-completions): Use them.
19551 (comint-dynamic-simple-complete): Make obsolete.
19552
19553 * minibuffer.el (completion-in-region-mode):
19554 Keep completion-in-region-mode--predicate global.
19555 (completion-in-region--postch):
19556 Assume completion-in-region-mode--predicate is not null.
19557
19558 * progmodes/flymake.el (flymake-start-syntax-check-process):
19559 Obey `dir'. Simplify.
19560
19561 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19562 we're in VC after all.
19563
19564 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19565
19566 * vc/vc.el (vc-diff-build-argument-list-internal)
19567 (vc-version-ediff, vc-ediff): New commands.
19568 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19569
19570 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19571
19572 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19573 add sanity check.
19574
19575 * obsolete/erc-hecomplete.el: Make obsolete.
19576 * obsolete/: Standardize obsolescence info in the header.
19577
19578 2011-04-20 Glenn Morris <rgm@gnu.org>
19579
19580 * calendar/solar.el (solar-horizontal-coordinates):
19581 Use the longitude argument rather than `calendar-longitude'.
19582 (solar-date-next-longitude): Remove unused locals.
19583
19584 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19585
19586 * whitespace.el: New version 13.2.1.
19587
19588 2011-04-20 felix <EmacsWiki> (tiny change)
19589
19590 * whitespace.el (global-whitespace-mode): Keep highlight when
19591 switching between major modes on a file.
19592
19593 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19594
19595 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19596 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19597 multi-line comments as well.
19598
19599 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19600
19601 Lexical-binding cleanup.
19602
19603 * arc-mode.el (archive-mode-revert):
19604 * cmuscheme.el (scheme-interactively-start-process):
19605 * custom.el (custom-initialize-delay):
19606 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19607 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19608 * emacs-lock.el (emacs-lock-clear-sentinel):
19609 * ezimage.el (defezimage):
19610 * follow.el (follow-avoid-tail-recenter):
19611 * fringe.el (set-fringe-mode-1):
19612 * generic-x.el (bat-generic-mode-compile):
19613 * help-mode.el (help-info-variable, help-do-xref)
19614 (help-mode-revert-buffer):
19615 * help.el (view-emacs-todo):
19616 * iswitchb.el (iswitchb-completion-help):
19617 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19618 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19619 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19620 * locate.el (locate-update):
19621 * longlines.el (longlines-encode-region)
19622 (longlines-after-change-function):
19623 * outline.el (outline-isearch-open-invisible):
19624 * ps-def.el (declare-function, charset-dimension, char-width)
19625 (encode-char):
19626 * ps-mule.el (ps-mule-plot-string):
19627 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19628 (recentf-edit-list-select, recentf-edit-list-validate)
19629 (recentf-open-files-action):
19630 * rect.el (delete-whitespace-rectangle-line)
19631 (rectangle-number-line-callback):
19632 * register.el (window-configuration-to-register)
19633 (frame-configuration-to-register):
19634 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19635 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19636 (xselect-convert-to-targets, xselect-convert-to-delete)
19637 (xselect-convert-to-filename, xselect-convert-to-charpos)
19638 (xselect-convert-to-lineno, xselect-convert-to-colno)
19639 (xselect-convert-to-os, xselect-convert-to-host)
19640 (xselect-convert-to-user, xselect-convert-to-class)
19641 (xselect-convert-to-name, xselect-convert-to-integer)
19642 (xselect-convert-to-atom, xselect-convert-to-identity):
19643 * subr.el (declare, ignore, process-kill-without-query)
19644 (text-clone-maintain):
19645 * terminal.el (te-get-char, te-tic-sentinel):
19646 * tool-bar.el (tool-bar-make-keymap):
19647 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19648 * type-break.el (type-break-mode, type-break-noninteractive-query):
19649 * view.el (View-back-to-mark):
19650 * wid-browse.el (widget-browse-action, widget-browse-widget)
19651 (widget-browse-widgets, widget-browse-sexp):
19652 * widget.el (define-widget-keywords):
19653 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19654 Mark unused parameters.
19655
19656 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19657 (align-areas): Remove unused variable `look'.
19658 (align-region): Remove unused variables `real-end' and `pos-list'.
19659
19660 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19661
19662 * bindings.el (mode-line-modified, mode-line-remote):
19663 Mark unused parameters.
19664 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19665
19666 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19667 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19668
19669 * comint.el (comint-history-isearch-pop-state)
19670 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19671 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19672 (comint-substitute-in-file-name): Doc fix.
19673
19674 * completion.el (cmpl-statistics-block): Mark unused parameter.
19675 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19676 (save-completions-to-file, load-completions-from-file):
19677 Remove unused local variable `e'.
19678
19679 * composite.el (compose-chars): Remove unused variable `len'.
19680 (lgstring-insert-glyph): Remove unused variable `g'.
19681 (compose-glyph-string): Remove unused variables `ascent',
19682 `descent', `lbearing' and `rbearing'.
19683 (compose-glyph-string-relative): Remove unused variables
19684 `lbearing', `rbearing' and `wadjust'.
19685 (compose-gstring-for-graphic): Remove unused variables `header',
19686 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19687 (compose-gstring-for-terminal): Remove unused variables `header'
19688 and `nchars'. Use `let', not `let*'.
19689
19690 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19691 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19692 (Custom-buffer-done, custom-buffer-create-internal)
19693 (custom-browse-visibility-action, custom-browse-group-tag-action)
19694 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19695 (widget-magic-mouse-down-action, custom-toggle-parent)
19696 (custom-add-parent-links, custom-toggle-hide-variable)
19697 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19698 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19699 (custom-face-menu-create, custom-variable-menu-create, get)
19700 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19701 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19702 (customize-apropos): Remove unused variable `tests'.
19703 (custom-group-value-create): Remove unused variable `hidden-p'.
19704 (sort-fold-case): Declare.
19705
19706 * cus-theme.el (custom-reset-standard-faces-list)
19707 (custom-reset-standard-variables-list): Declare.
19708 (customize-create-theme, custom-theme-revert, custom-theme-write)
19709 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19710 Mark unused parameters.
19711
19712 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19713
19714 * delim-col.el (delimit-columns-max): Move defvar before first use.
19715
19716 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19717 (describe-char): Don't quote `lambda'. Mark unused parameter.
19718
19719 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19720 (auto-insert): Declare.
19721 (desktop-restore-file-buffer): Rename desktop-* parameters;
19722 mark unused ones.
19723 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19724 (desktop-buffer): Rename desktop-* parameters.
19725
19726 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19727 (dframe-reposition-frame-xemacs, dframe-help-echo)
19728 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19729 Mark unused parameters.
19730
19731 * dired-aux.el (backup-extract-version-start, overwrite-query)
19732 (overwrite-backup-query, rename-regexp-query)
19733 (rename-non-directory-query): Declare.
19734 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19735 (dired-add-entry): Remove unused variable `orig-file-name'.
19736 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19737 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19738 `dired-copy-preserve-time' directly.
19739 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19740 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19741
19742 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19743 (dired-virtual-revert, dired-make-relative-symlink):
19744 Mark unused parameters.
19745 (manual-program): Declare.
19746 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19747 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19748 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19749
19750 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19751
19752 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19753
19754 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19755 Declare.
19756
19757 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19758
19759 * electric.el (Electric-command-loop): Rename parameter
19760 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19761
19762 * expand.el (expand-in-literal): Remove unused variable `here'.
19763
19764 * facemenu.el (facemenu-add-new-color):
19765 Remove unused variable `docstring'.
19766
19767 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19768 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19769 (face-attr-construct): Mark unused parameter. Doc fix.
19770 (read-color): Remove unused variable `hex-string'.
19771
19772 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19773 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19774 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19775 (display-buffer-other-frame): Remove unused variable `old-window'.
19776 (kill-buffer-hook): Declare.
19777 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19778 Mark unused parameters.
19779 (after-find-file): Pass 1 to `auto-save-mode', not t.
19780
19781 * files-x.el (auto-insert): Declare.
19782 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19783
19784 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19785 variable `buf'. Mark unused parameter.
19786 (find-lisp-insert-directory): Mark unused parameter.
19787
19788 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19789 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19790 (format-common-tail): Remove, unused.
19791 (format-deannotate-region): Remove unused variable `loc'.
19792 (format-annotate-region): Remove unused variable `p'.
19793 (format-annotate-single-property-change): Remove unused variables
19794 `default' and `tail'.
19795
19796 * forms.el (read-file-filter): Declare.
19797 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19798
19799 * frame.el (frame-creation-function-alist): Mark unused parameter.
19800 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19801
19802 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19803 Remove unused parameters.
19804 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19805 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19806
19807 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19808 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19809 (hfy-prepare-tag-map): Mark unused parameters.
19810 (htmlfontify-buffer): Use `called-interactively-p'.
19811
19812 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19813 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19814 (ibuffer-do-occur): Mark unused parameters.
19815 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19816 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19817
19818 * ibuffer.el: Don't quote `lambda'.
19819 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19820 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19821 Mark unused parameters.
19822
19823 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19824 (ido-completing-read): Mark unused parameters.
19825 (ido-copy-current-word): Mark unused parameters;
19826 remove unused variable `name'.
19827 (ido-sort-merged-list): Remove unused parameter `dirs'.
19828
19829 * ielm.el (ielm-input-sender): Mark unused parameter.
19830 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19831 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19832 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19833 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19834 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19835
19836 * image-dired.el (image-dired-display-thumbs): Remove unused
19837 variables `curr-file' and `count'.
19838 (image-dired-remove-tag): Remove unused variable `start'.
19839 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19840 variable `curr-file'
19841 (image-dired-rotate-original): Remove unused variable `temp-file'.
19842 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19843 Remove unused variable `file'.
19844 (image-dired-gallery-generate): Remove unused variable `curr'.
19845 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19846
19847 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19848
19849 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19850
19851 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19852
19853 * isearch.el (minibuffer-history-symbol): Declare.
19854 (isearch-edit-string): Remove unused variable `err'.
19855 (isearch-message-prefix, isearch-message-suffix):
19856 Mark unused parameters.
19857
19858 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19859
19860 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19861
19862 * makesum.el (double-column): Remove unused variable `cnt'.
19863
19864 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19865 (ido-ignore-item-temp-list): Declare.
19866
19867 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19868 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19869 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19870 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19871 `mouse-col-delta'.
19872
19873 * mouse-sel.el (mouse-extend-internal):
19874 Remove unused variable `orig-window-frame'.
19875
19876 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19877 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19878 Move declarations before first use.
19879 (pcomplete-opt): Mark unused parameters; doc fix.
19880
19881 * proced.el (proced-revert): Mark unused parameter.
19882 (proced-send-signal): Remove unused variable `err'.
19883
19884 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19885 Rename parameter PREFIX-ARG to ARG.
19886 (ps-basic-plot-string, ps-basic-plot-whitespace):
19887 Mark unused parameters.
19888
19889 * replace.el (replace-count): Define.
19890 (occur-revert-function): Mark unused parameters.
19891 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19892 (isearch-case-fold-search, isearch-string): Declare.
19893 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19894 bind `case-fold-search'. Remove unused variables `beg' and `end',
19895 and simplify.
19896 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19897 COUNT and bind `replace-count'.
19898 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19899 to COUNT.
19900
19901 * savehist.el (print-readably, print-string-length): Declare.
19902
19903 * shadowfile.el (shadow-expand-cluster-in-file-name):
19904 Remove unused variable `cluster'.
19905 (shadow-copy-file): Remove unused variable `i'.
19906 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19907 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19908 (shadow-define-literal-group, shadow-define-regexp-group)
19909 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19910
19911 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19912 (shell): Use `called-interactively-p'.
19913 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19914
19915 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19916 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19917 (delete-backward-char): Remove unused variable `ocol'.
19918 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19919 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19920 (event-apply-hyper-modifier, event-apply-shift-modifier)
19921 (event-apply-control-modifier, event-apply-meta-modifier):
19922 Mark unused parameters.
19923 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19924 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19925
19926 * speedbar.el (speedbar-ignored-directory-expressions)
19927 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19928 (speedbar-find-file, speedbar-dir-follow)
19929 (speedbar-directory-buttons-follow, speedbar-tag-find)
19930 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19931 (speedbar-buffers-line-directory, speedbar-buffer-click):
19932 Mark unused parameters.
19933 (speedbar-tag-file): Remove unused variable `mode'.
19934 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19935
19936 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19937
19938 * talk.el (talk): Remove unused variable `display'.
19939
19940 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19941 (tar-write-region-annotate): Mark unused parameter.
19942
19943 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19944 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19945 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19946 warning by another.
19947
19948 * time-stamp.el (time-stamp-string-preprocess):
19949 Remove unused variable `require-padding'.
19950
19951 * tree-widget.el (widget-glyph-enable): Declare.
19952 (tree-widget-action): Mark unused parameter.
19953
19954 * w32-fns.el (x-get-selection): Mark unused parameter.
19955 (autoload-make-program, generated-autoload-file): Declare.
19956
19957 * wdired.el (wdired-revert): Mark unused parameters.
19958 (wdired-xcase-word): Remove unused variable `err'.
19959
19960 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19961 (whitespace-help-scroll): Remove unused variable `data-help'.
19962
19963 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19964 (widget-image-insert, widget-after-change, default)
19965 (widget-default-format-handler, widget-default-notify)
19966 (widget-default-prompt-value, widget-info-link-action)
19967 (widget-url-link-action, widget-function-link-action)
19968 (widget-variable-link-action, widget-file-link-action)
19969 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19970 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19971 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19972 (widget-insert-button-action, widget-delete-button-action, visibility)
19973 (widget-documentation-link-action, widget-documentation-string-action)
19974 (widget-const-prompt-value, widget-regexp-match, symbol)
19975 (widget-coding-system-prompt-value)
19976 (widget-key-sequence-value-to-external, sexp)
19977 (widget-sexp-value-to-internal, character, vector, cons)
19978 (widget-choice-prompt-value, widget-boolean-prompt-value)
19979 (widget-color--choose-action): Mark unused parameters.
19980 (widget-item-match-inline, widget-choice-match-inline)
19981 (widget-checklist-match, widget-checklist-match-inline)
19982 (widget-group-match): Rename parameter VALUES to VALS.
19983 (widget-field-value-set): Remove unused variable `size'.
19984 (widget-color-action): Remove unused variables `value' and `start'.
19985
19986 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19987 variable `dir'. Doc fix.
19988 (windmove-find-other-window): Don't pass it.
19989
19990 * window.el (count-windows): Mark unused parameter.
19991 (bw-adjust-window): Remove unused variable `err'.
19992
19993 * woman.el (woman-file-name): Remove unused variable `default'.
19994 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19995 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19996 (global-font-lock-mode): Declare.
19997 (woman-decode-region): Mark unused parameter.
19998 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19999
20000 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20001 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20002 (x-dnd-handle-moz-url): Remove unused variable `title'.
20003 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20004
20005 * xml.el (xml-parse-tag, xml-parse-attlist):
20006 Remove unused variable `pos'.
20007
20008 2011-04-19 Glenn Morris <rgm@gnu.org>
20009
20010 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20011 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20012 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20013 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20014 * calendar/cal-html.el (cal-html-insert-minical):
20015 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20016 (calendar-mark-date-pattern):
20017 Prefix "unused" locals.
20018
20019 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20020 optional argument `style'.
20021
20022 * calendar/appt.el (appt-make-list):
20023 * calendar/cal-china.el (calendar-chinese-date-string):
20024 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20025 (diary-hebrew-yahrzeit):
20026 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20027 * calendar/calendar.el (calendar-generate-window):
20028 * calendar/time-date.el (time-to-days):
20029 Remove unused local variables.
20030
20031 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20032
20033 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20034 glyphless-char-display table.
20035 (tabulated-list-glyphless-char-display): New var.
20036
20037 2011-04-18 Sam Steingold <sds@gnu.org>
20038
20039 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20040 to acknowledgments.
20041
20042 2011-04-17 Glenn Morris <rgm@gnu.org>
20043
20044 * calendar/diary-lib.el (diary-sexp-entry):
20045 * calendar/holidays.el (holiday-sexp):
20046 Set debug-on-error rather than the removed stack-trace-on-error.
20047
20048 2011-04-16 Glenn Morris <rgm@gnu.org>
20049
20050 * progmodes/f90.el: Use lexical-binding.
20051 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20052
20053 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20054
20055 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20056 (mail-mode): Setup mailalias completion here instead.
20057 * mail/mailalias.el: Use lexical-binding.
20058 (pattern, mailalias-done): Declare dynamic.
20059 (mail-completion-at-point-function): New function, from mail-complete.
20060 (mail-complete): Use it.
20061 (mail-completion-expand): New function.
20062 (mail-get-names): Use it.
20063 (mail-directory, mail-directory-process, mail-directory-stream):
20064 Don't use `pattern' for lexically bound arg.
20065
20066 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20067
20068 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20069 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20070 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20071
20072 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20073 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20074 (byte-interactive-p): Define them again, for use when inlining
20075 old code.
20076
20077 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20078
20079 * loadup.el: Use `string-to-number', not `string-to-int'.
20080
20081 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20084 gud-gdb-complete-command.
20085 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20086 (gud-gdb-completion-at-point): New function.
20087 (gud-gdb-completions): Remove.
20088
20089 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20090
20091 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20092 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20093 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20094 whether `executable-find' is bound.
20095
20096 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20097
20098 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * minibuffer.el (completion-in-region-mode-predicate)
20101 (completion-in-region-mode--predicate): New vars.
20102 (completion-in-region, completion-in-region--postch)
20103 (completion-in-region-mode): Use them.
20104 (completion--capf-wrapper): Also return the hook function.
20105 (completion-at-point, completion-help-at-point):
20106 Adjust and provide a predicate.
20107
20108 Preserve arg names for advice of subr and lexical functions (bug#8457).
20109 * help-fns.el (help-function-arglist): Consolidate the subr and
20110 new-byte-code cases. Add argument `preserve-names' to extract names
20111 from the docstring when needed.
20112 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20113 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20114 (ad-arglist): Use help-function-arglist's new arg.
20115 (ad-definition-type): Use cond.
20116
20117 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20118
20119 * autorevert.el (auto-revert-handler):
20120 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20121 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20122 Don't quote lambda.
20123
20124 * image-mode.el (image-transform-set-scale):
20125 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20126
20127 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20128
20129 * net/network-stream.el (network-stream-open-starttls): Only do
20130 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20131 Upgrades via gnutls-cli are too slow to be done opportunistically.
20132
20133 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * dframe.el (dframe-current-frame): Remove spurious quote.
20136
20137 2011-04-12 Glenn Morris <rgm@gnu.org>
20138
20139 * calendar/cal-tex.el (cal-tex-end-document):
20140 Try to automatically use latin1 input if needed.
20141
20142 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20143 Don't try to cons a mark onto an empty element.
20144
20145 2011-04-11 Leo Liu <sdl.web@gmail.com>
20146
20147 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20148 buffers.
20149 (ido-kill-buffer-at-head): Support killing virtual buffers.
20150
20151 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20152
20153 * minibuffer.el (completion-show-inline-help): New var.
20154 (completion--do-completion, minibuffer-complete)
20155 (minibuffer-force-complete, minibuffer-complete-word):
20156 Inhibit minibuffer messages if completion-show-inline-help is nil.
20157
20158 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20159 to avoid interference from inline help (Bug#5849).
20160
20161 2011-04-10 Leo Liu <sdl.web@gmail.com>
20162
20163 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20164 Fix typo.
20165
20166 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20167
20168 * image-mode.el (image-toggle-display-image): Signal an error if
20169 not in Image mode.
20170 (image-transform-mode, image-transform-resize)
20171 (image-transform-set-rotation): Doc fix.
20172 (image-transform-set-resize): Delete.
20173 (image-transform-set-scale, image-transform-fit-to-height)
20174 (image-transform-fit-to-width): Handle image-toggle-display-image
20175 and image-transform-resize directly.
20176
20177 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20178
20179 * doc-view.el (doc-view-fit-width-to-window)
20180 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20181 New functions for fitting the shown image to the Emacs window size.
20182 (doc-view-mode-map): Add bindings for the new functions.
20183
20184 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20185
20186 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20187 Fix typo in docstring.
20188
20189 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20190
20191 * files.el (file-size-human-readable): Produce one digit after
20192 decimal, like "ls -lh" does.
20193
20194 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20195 the file size representation.
20196
20197 * simple.el (list-processes): If async subprocesses are not
20198 available, error out with a clear error message.
20199
20200 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20201
20202 * help.el (help-form-show): New function, to be called from C.
20203 Put help-form output in a buffer named differently than *Help*.
20204
20205 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20206
20207 * files.el (file-size-human-readable): New function.
20208
20209 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20210 computing the representation inline. Don't require `cl'.
20211
20212 2011-04-08 Glenn Morris <rgm@gnu.org>
20213
20214 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20215
20216 * net/browse-url.el (browse-url-firefox):
20217 Test system-type, not system-configuration.
20218
20219 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20220 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20221 Use log-edit-empty-buffer-p. (Bug#7598)
20222
20223 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20224 (rlogin-mode-map): Initialize in the defvar.
20225 (rlogin): Use ignore-errors.
20226
20227 * replace.el (occur-mode-map): Some fixes for menu items.
20228
20229 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20230
20231 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20232
20233 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20234
20235 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20236 issuing unused warnings.
20237
20238 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20239 macro directly.
20240
20241 * simple.el: Lisp reimplement of list-processes. Based on an
20242 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20243 (process-menu-mode): New major mode.
20244 (list-processes--refresh, list-processes):
20245 (process-menu-visit-buffer): New functions.
20246
20247 * files.el (save-buffers-kill-emacs): Don't assume any return
20248 value of list-processes, which is undocumented anyway.
20249
20250 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20251
20252 * emacs-lisp/tabulated-list.el: New file.
20253
20254 * emacs-lisp/package.el: Use Tabulated List mode.
20255 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20256 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20257 table format using Tabulated List mode variables.
20258 (package--push): New macro, replacing package-list-maybe-add.
20259 (package-menu--generate): Use package--push. Renamed from
20260 package--generate-package-list.
20261 (package-menu-refresh, list-packages): Use it.
20262 (package-menu--print-info): Rename from package-print-package.
20263 Return insertion data instead of inserting it directly.
20264 (package-menu-describe-package, package-menu-execute):
20265 Use tabulated-list-get-id.
20266 (package-menu-mark-delete, package-menu-mark-install)
20267 (package-menu-mark-unmark, package-menu-backup-unmark)
20268 (package-menu-mark-obsolete-for-deletion):
20269 Use tabulated-list-put-tag.
20270 (package--list-packages, package-menu-revert)
20271 (package-menu-get-package, package-menu-get-version)
20272 (package-menu-sort-by-column): Functions deleted.
20273 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20274 (package-menu--status-predicate, package-menu--version-predicate)
20275 (package-menu--name-predicate)
20276 (package-menu--description-predicate): Handle arguments in the
20277 Tabulated List format.
20278 (package-list-packages-no-fetch): Call list-packages.
20279
20280 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20281
20282 * files.el (after-find-file-from-revert-buffer): Remove variable.
20283 (after-find-file): Don't bind it.
20284 (revert-buffer-in-progress-p): New variable.
20285 (revert-buffer): Bind it.
20286 Pass nil for `after-find-file-from-revert-buffer'.
20287
20288 * saveplace.el (save-place-find-file-hook): Use new variable
20289 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20290
20291 2011-04-06 Glenn Morris <rgm@gnu.org>
20292
20293 * Makefile.in (AUTOGEN_VCS): New variable.
20294 (autoloads): Use $AUTOGEN_VCS.
20295
20296 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20297 * calendar/calendar.el (calendar-mode-map):
20298 Check for toolkit scroll bars. (Bug#8305)
20299
20300 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20301
20302 * minibuffer.el (completion-in-region--postch)
20303 (completion-in-region-mode): Remove unnecessary messages.
20304
20305 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20306
20307 * font-lock.el (font-lock-refresh-defaults):
20308 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20309 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20310
20311 * info.el (Info-directory-list, Info-read-node-name-2)
20312 (Info-split-parameter-string): Doc fixes.
20313 (Info-virtual-nodes): Reflow docstring.
20314 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20315 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20316 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20317 Fix typos in docstrings.
20318 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20319 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20320 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20321 (Info-restore-desktop-buffer): Mark unused parameters.
20322 (Info-directory-find-file, Info-directory-find-node)
20323 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20324 (Info-virtual-index-find-node, Info-apropos-find-file)
20325 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20326 Mark unused parameters; fix typos in docstrings.
20327 (Info-virtual-index): Remove unused local variable `nodename'.
20328
20329 2011-04-05 Deniz Dogan <deniz@dogan.se>
20330
20331 * net/rcirc.el: Update my e-mail address.
20332 (rcirc-mode-map): Remove M-o binding.
20333
20334 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20335
20336 * startup.el (command-line): Save the cursor's theme-face
20337 directly, instead of using face-override-spec.
20338
20339 * custom.el (load-theme): Minor optimization in assigning faces.
20340
20341 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20342
20343 * help-fns.el (describe-variable): Complete all variables having
20344 documentation, including keywords.
20345 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20346
20347 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20348
20349 Convert to lexical-binding.
20350
20351 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20352 (bs--get-marked-string, bs--get-modified-string)
20353 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20354 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20355 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20356
20357 * ehelp.el (electric-help-execute-extended)
20358 (electric-help-ctrl-x-prefix):
20359 * hexl.el (hexl-revert-buffer-function):
20360 * linum.el (linum-after-change, linum-after-scroll):
20361 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20362
20363 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20364
20365 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20366
20367 * epa-dired.el:
20368 * epa-mail.el:
20369 * epa-hook.el:
20370 * epa-file.el:
20371 * epa.el:
20372 * epg.el: Use lexical binding.
20373
20374 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20375
20376 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20377
20378 * textmodes/flyspell.el (flyspell-word): Recognize default
20379 dictionary case for flyspell-mark-duplications-exceptions.
20380 Use regexp matching for languages.
20381 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20382 default dictionary (Bug#7926).
20383
20384 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20385
20386 * emacs-lisp/package.el (package--with-work-buffer):
20387 Recognize https URLs.
20388
20389 * net/network-stream.el: Move from gnus/proto-stream.el.
20390 Change prefix to network-stream throughout.
20391 (open-protocol-stream): Merge into open-network-stream, leaving
20392 open-protocol-stream as an alias. Handle nil BUFFER args.
20393
20394 * subr.el (open-network-stream): Move to net/network-stream.el.
20395
20396 2011-04-02 Glenn Morris <rgm@gnu.org>
20397
20398 * find-dired.el (find-exec-terminator): New option.
20399 (find-ls-option): Test for -ls support.
20400 (find-ls-subdir-switches): Test for -b in find-ls-option.
20401 (find-dired, find-grep-dired): Doc fixes.
20402 (find-dired): Use find-exec-terminator.
20403
20404 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20405 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20406 (find-name-arg): Remove purecopy.
20407
20408 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20409 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20410 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20411 accordingly. Don't add the null-device if not needed.
20412
20413 * files.el (save-some-buffers): Doc fix.
20414
20415 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20416
20417 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20418
20419 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20420
20421 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20422 Use `dolist' rather than `mapcar'.
20423
20424 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20425
20426 Add lexical binding.
20427
20428 * subr.el (apply-partially): Use new closures rather than CL.
20429 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20430 (dolist, dotimes): Use slightly different expansion for lexical code.
20431 (functionp): Move to C.
20432 (letrec): New macro.
20433 (with-wrapper-hook): Use it and apply-partially instead of CL.
20434 (eval-after-load): Preserve lexical-binding.
20435 (save-window-excursion, with-output-to-temp-buffer): Turn them
20436 into macros.
20437
20438 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20439
20440 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20441 than the arglist.
20442 (help-add-fundoc-usage): Don't add `Not documented'.
20443 (help-function-arglist): Handle closures, subroutines, and new
20444 byte-code-functions.
20445 (help-make-usage): Remove leading underscores.
20446 (describe-function-1): Handle closures.
20447 (describe-variable): Use special-variable-p for completion.
20448
20449 * files.el (lexical-binding): Declare safe.
20450
20451 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20452 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20453 (pcase): Add `let' pattern.
20454 Change memoization so it actually works.
20455 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20456 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20457 <let>: New case.
20458
20459 * emacs-lisp/macroexp.el: Use lexical binding.
20460 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20461 Don't convert ' to #' without checking that it's indeed quoting
20462 a lambda.
20463
20464 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20465 Use eval-sexp-add-defvars.
20466 (eval-sexp-add-defvars): New fun.
20467
20468 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20469
20470 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20471 Don't autoload.
20472 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20473 than the internal `byte-compile-lambda'.
20474 (defmethod): Don't hide code under quotes.
20475 (eieio-defmethod): New `code' argument.
20476
20477 * emacs-lisp/eieio-comp.el: Remove.
20478
20479 * emacs-lisp/edebug.el (edebug-eval-defun)
20480 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20481 (edebug-toggle): Avoid `eval'.
20482
20483 * emacs-lisp/disass.el (disassemble-internal): Handle new
20484 `closure' objects.
20485 (disassemble-1): Handle new byte codes.
20486
20487 * emacs-lisp/cl.el (pushnew): Silence warning.
20488
20489 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20490 (cl-byte-compile-throw): Remove.
20491 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20492
20493 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20494 closures.
20495
20496 * emacs-lisp/cconv.el: New file.
20497
20498 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20499 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20500 (byte-compile-initial-macro-environment):
20501 Handle declare-function here.
20502 (byte-compile--lexical-environment): New var.
20503 (byte-stack-ref, byte-stack-set, byte-discardN)
20504 (byte-discardN-preserve-tos): New lap codes.
20505 (byte-interactive-p): Don't use any more.
20506 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20507 New macros.
20508 (byte-compile-lapcode): Use them and handle new lap codes.
20509 (byte-compile-obsolete): Remove.
20510 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20511 (byte-compile-arglist-warn): Check late def of inlinable funs.
20512 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20513 since they should have been expanded by now.
20514 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20515 (byte-compile-from-buffer): Remove unused second arg.
20516 (byte-compile-preprocess): New function.
20517 (byte-compile-toplevel-file-form): New function to distinguish
20518 file-form calls from outside from file-form calls from hunk-handlers.
20519 (byte-compile-file-form): Simplify.
20520 (byte-compile-file-form-defsubst): Remove.
20521 (byte-compile-file-form-defmumble): Simplify now that
20522 byte-compile-lambda always returns a byte-code-function.
20523 (byte-compile): Preprocess.
20524 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20525 Remove, not used any more.
20526 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20527 (byte-compile-make-args-desc): New funs.
20528 (byte-compile-lambda): Handle lexical functions. Always return
20529 a byte-code-function.
20530 (byte-compile-reserved-constants): New var, to make up room for
20531 closed-over variables.
20532 (byte-compile-constants-vector): Obey it.
20533 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20534 (byte-compile-macroexpand-declare-function): New function.
20535 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20536 byte-code-functions.
20537 (byte-compile-form): Check obsolescence here.
20538 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20539 (byte-compile-variable-ref): Remove.
20540 (byte-compile-dynamic-variable-op): New fun.
20541 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20542 (byte-compile-variable-set): New funs.
20543 (byte-compile-discard): Add 2 args.
20544 (byte-compile-stack-ref, byte-compile-stack-set)
20545 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20546 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20547 macroexpand-all instead.
20548 (byte-compile-quote-form): Remove.
20549 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20550 (byte-compile-bind, byte-compile-unbind): New funs.
20551 (byte-compile-let): Handle let* and lexical binding.
20552 (byte-compile-let*): Remove.
20553 (byte-compile-catch, byte-compile-unwind-protect)
20554 (byte-compile-track-mouse, byte-compile-condition-case):
20555 Handle a new :fun-body form, used for lexical scoping.
20556 (byte-compile-save-window-excursion)
20557 (byte-compile-with-output-to-temp-buffer): Remove.
20558 (byte-compile-defun): Simplify.
20559 (byte-compile-stack-adjustment): New fun.
20560 (byte-compile-out): Use it.
20561 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20562
20563 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20564 handler any more.
20565
20566 * emacs-lisp/byte-opt.el: Use lexical binding.
20567 (byte-inline-lapcode): Remove (to bytecomp).
20568 (byte-compile-inline-expand): Pay attention to inlining to/from
20569 lexically bound code.
20570 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20571 any more.
20572 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20573 any more and don't call compiler-macros.
20574 (byte-compile-splice-in-already-compiled-code): Remove.
20575 (byte-code): Don't inline any more.
20576 (disassemble-offset): Receive `bytes' as argument rather than via
20577 dynamic scoping.
20578 (byte-compile-tag-number): Declare before first use.
20579 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20580 `return' even if make-spliceable.
20581 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20582 obsolete interactive-p.
20583 (byte-optimize-lapcode): Optimize new lap-codes.
20584 Don't trip up on new form of `byte-constant' lap code.
20585
20586 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20587
20588 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20589
20590 * custom.el (custom-initialize-default, custom-declare-variable):
20591 Use `defvar'.
20592
20593 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20594 New variables.
20595 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20596 (COMPILE_FIRST): Add macroexp and cconv.
20597 * makefile.w32-in: Mirror changes in Makefile.in.
20598
20599 * vc/cvs-status.el:
20600 * vc/diff-mode.el:
20601 * vc/log-edit.el:
20602 * vc/log-view.el:
20603 * vc/smerge-mode.el:
20604 * textmodes/bibtex-style.el:
20605 * textmodes/css-mode.el:
20606 * startup.el:
20607 * uniquify.el:
20608 * minibuffer.el:
20609 * newcomment.el:
20610 * reveal.el:
20611 * server.el:
20612 * mpc.el:
20613 * emacs-lisp/smie.el:
20614 * doc-view.el:
20615 * dired.el:
20616 * abbrev.el: Use lexical binding.
20617
20618 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20619
20620 * info.el (info-display-manual): New function.
20621
20622 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20623
20624 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20625
20626 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20627
20628 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20629 an entry for that server in rcirc-authinfo. (Bug#8385)
20630
20631 2011-03-31 Glenn Morris <rgm@gnu.org>
20632
20633 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20634
20635 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20636
20637 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20638
20639 * progmodes/python.el (python-default-interpreter)
20640 (python-python-command-args, python-jython-command-args)
20641 (python-which-shell, python-which-args, python-which-bufname)
20642 (python-file-queue, python-comint-output-filter-function)
20643 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20644 variables and functions.
20645
20646 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20647
20648 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20649 (completion-in-region-mode): New minor mode.
20650 (completion-in-region): Use it.
20651 (completion-in-region--data, completion-in-region-mode-map): New vars.
20652 (completion-in-region--postch): New function.
20653 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20654 New vars.
20655 (completion--capf-wrapper): New function.
20656 (completion-at-point): Use it to track well-behavedness of
20657 hook functions.
20658 (completion-help-at-point): New command.
20659
20660 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20661
20662 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20663 syntax class to search for whitespace on a single line
20664 (Message-ID: <4D938140.4030905@redhat.com>).
20665
20666 2011-03-30 Leo Liu <sdl.web@gmail.com>
20667
20668 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20669 New commands.
20670 (edit-abbrevs-map): Bind them here.
20671 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20672
20673 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20674
20675 * allout.el (allout-hide-by-annotation, allout-flag-region):
20676 Reduce possibility of overlay leakage by making them volatile.
20677
20678 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20679 hash is not shared between buffers. Mode initialization is
20680 responsible for giving it a useful starting value.
20681 (allout-item-span): Reduce possibility of overlay leakage by
20682 making them volatile.
20683 (allout-widgets-count-buttons-in-region): Add diagnostic function
20684 for tracking down button overlay leaks.
20685
20686 2011-03-29 Leo Liu <sdl.web@gmail.com>
20687
20688 * ido.el (ido-read-internal): Use the default history var
20689 minibuffer-history if no HISTORY is specified.
20690
20691 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20692
20693 * net/imap.el (imap-shell-open, imap-process-connection-type):
20694 Use imap-process-connection-type for 'shell' streams as well as
20695 Kerberos, SSL, other subprocesses.
20696
20697 2011-03-28 Leo Liu <sdl.web@gmail.com>
20698
20699 * abbrev.el (abbrev-table-empty-p): New function.
20700 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20701 nonempty ones. (Bug#5937)
20702
20703 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20704
20705 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20706
20707 2011-03-27 Leo Liu <sdl.web@gmail.com>
20708
20709 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20710 for foreground and background colors.
20711 (ansi-color-make-color-map): Adapt.
20712
20713 2011-03-25 Leo Liu <sdl.web@gmail.com>
20714
20715 * midnight.el (midnight-time-float): Remove. Note it calculates
20716 the microsecond component incorrectly and seconds-to-time does the
20717 same job.
20718 Remove redundant (require 'timer).
20719
20720 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20721 (ido-completions): Remove unused arguments. (Bug#8329)
20722
20723 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20724
20725 * minibuffer.el (completion--flush-all-sorted-completions):
20726 Remove itself from hook.
20727 (completion-at-point): Let the functions perform the completion
20728 immediately and return nil or t.
20729 * comint.el (comint-dynamic-complete-functions): Now identical to
20730 completion-at-point-functions.
20731 (comint-dynamic-list-input-ring): Remove unused var `index'.
20732 (comint--match-partial-filename, comint--unquote&expand-filename):
20733 New funs, split from comint-match-partial-filename.
20734 (comint-dynamic-complete): Use completion-at-point.
20735 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20736
20737 2011-03-24 Drew Adams <drew.adams@oracle.com>
20738
20739 * thingatpt.el: Support `defun'.
20740
20741 2011-03-23 Leo Liu <sdl.web@gmail.com>
20742
20743 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20744
20745 * help-mode.el (help-mode-finish): Tweak regexp.
20746
20747 2011-03-23 Glenn Morris <rgm@gnu.org>
20748
20749 * eshell/esh-opt.el (eshell-eval-using-options):
20750 Do not bind unused local variable `eshell-option-stub'.
20751
20752 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20753
20754 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20755
20756 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20757 keymap variable in `with-no-warnings' to avoid a warning when the
20758 keymap has been already `defconst'ed.
20759
20760 2011-03-22 Leo Liu <sdl.web@gmail.com>
20761
20762 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20763 encode all chars in abbrevs; otherwise use emacs-mule or
20764 utf-8-emacs. (Bug#8308)
20765
20766 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20767
20768 * simple.el (backward-delete-char-untabify):
20769 Avoid warning about using `delete-backward-char'.
20770
20771 * image.el (image-type-file-name-regexps): Make it variable.
20772 `imagemagick-register-types' modifies it, and the user may want
20773 to add new extensions for known image types.
20774 (imagemagick-register-types): Throw error if not using ImageMagick.
20775
20776 2011-03-22 Leo Liu <sdl.web@gmail.com>
20777
20778 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20779 located before rcirc-prompt-end-marker.
20780 (rcirc-complete): Error if point is not after rcirc prompt.
20781 Handle the case when table is nil.
20782 (rcirc-user-authenticated): Define to fix compiler warning.
20783
20784 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20785
20786 * custom.el (custom--inhibit-theme-enable): Make it affect only
20787 custom-theme-set-variables and custom-theme-set-faces.
20788 (provide-theme): Ignore custom--inhibit-theme-enable.
20789 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20790 (custom-enabling-themes): Delete variable.
20791 (enable-theme): Accept only loaded themes as arguments.
20792 Ignore the special custom-enabled-themes variable.
20793 (custom-enabled-themes): Forbid themes from setting this.
20794 Eliminate use of custom-enabling-themes.
20795 (custom-push-theme): Quote "changed" custom var entry.
20796
20797 2011-03-21 Leo Liu <sdl.web@gmail.com>
20798
20799 * ido.el (ido-read-internal): Add ido-selected to history instead
20800 of user input.
20801
20802 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20803
20804 * subr.el (deferred-action-list, deferred-action-function):
20805 Mark obsolete.
20806
20807 2011-03-21 Leo Liu <sdl.web@gmail.com>
20808
20809 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20810 change on 2011-02-13 (bug#8309).
20811
20812 * minibuffer.el (read-file-name-function): Change default value.
20813 (read-file-name--defaults): Rename from read-file-name-defaults.
20814 (read-file-name-default): Rename from read-file-name.
20815 (read-file-name): Call read-file-name-function.
20816
20817 2011-03-21 Glenn Morris <rgm@gnu.org>
20818
20819 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20820 Doc fixes.
20821
20822 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20823
20824 * cus-theme.el: Add missing provide statement.
20825 (customize-create-theme): Extract theme value correctly.
20826 (custom-theme-visit-theme): Autoload.
20827 (customize-create-theme): Prompt before inserting default faces.
20828
20829 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20830
20831 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20832 units and musical notes.
20833
20834 2011-03-20 Leo Liu <sdl.web@gmail.com>
20835
20836 * ido.el (ido-read-internal): Use completing-read-default.
20837 (ido-completing-read): Fix compatibility with completing-read.
20838
20839 2011-03-20 Christian Ohler <ohler@gnu.org>
20840
20841 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20842 (ert-delete-all-tests): Use `called-interactively-p' rather than
20843 `interactive-p'.
20844 (ert--make-xrefs-region): Respect END.
20845
20846 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20847
20848 * dired-aux.el (dired-create-directory): Signal an error if the
20849 directory already exists (Bug#8246).
20850
20851 * facemenu.el (list-colors-display): Call list-faces-display
20852 inside with-help-window.
20853 (list-colors-print): Use display property to align the final
20854 column, instead of checking window-width.
20855
20856 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20857
20858 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20859 windows-nt systems.
20860 (emerge-protect-metachars): Quote correctly for ms-dos and
20861 windows-nt systems.
20862
20863 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20864
20865 * info.el (info-initialize): Replace all uses of `:' with
20866 path-separator for compatibility with non-Unix systems.
20867 Cache quoting of path-separator. (Bug#8258)
20868
20869 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20870
20871 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20872 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20873 (mouse-avoidance-mode): Fix typos in docstrings.
20874
20875 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20876
20877 * startup.el (package-subdirectory-regexp): Move from package.el.
20878 Omit \\` and \\', and let callers add them.
20879
20880 * emacs-lisp/package.el (package-strip-version)
20881 (package-load-all-descriptors): Add \\` and \\' to
20882 package-subdirectory-regexp before using it.
20883 (package-untar-buffer): New arg DIR; ensure that file untars only
20884 into this expected directory. Remove superfluous delete-region.
20885 (package-unpack): Caller changed.
20886 (package-tar-file-info): Use package-subdirectory-regexp.
20887
20888 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20889
20890 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20891 diff-mode-shared-map (bug#8284).
20892 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20893
20894 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20895
20896 * calendar/time-date.el (format-seconds): Use assoc instead of
20897 assoc-string, since assoc-string doesn't exist in XEmacs.
20898
20899 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20900
20901 * custom.el (custom-known-themes): Reflow docstring.
20902 (custom-theme-load-path): Fix typo in docstring.
20903 (load-theme): Fix typo in error message.
20904 (custom-available-themes, custom-variable-theme-value):
20905 Use `let', not `let*'.
20906
20907 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20908
20909 * calc/README: Mention inclusion of musical notes.
20910
20911 * calc/calc-units.el (calc-lu-quant): Rename from
20912 `calc-logunits-quantity'.
20913 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20914 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20915 (calc-db): Rename from `calc-dblevel'.
20916 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20917 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20918 (calc-np): Rename from `calc-nplevel'.
20919 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20920 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20921 (calc-lu-plus): Rename from `calc-logunits-add'.
20922 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20923 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20924 (calc-lu-minus): Rename from `calc-logunits-sub'.
20925 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20926 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20927 (calc-lu-times): Rename from `calc-logunits-mul'.
20928 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20929 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20930 (calc-lu-divide): Rename from `calc-logunits-div'.
20931 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20932 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20933
20934 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20935 functions being autoloaded.
20936
20937 * calc/calc.el (calc-lu-power-reference): Rename from
20938 `calc-logunits-power-reference'.
20939 (calc-lu-field-reference): Rename from
20940 `calc-logunits-field-reference'.
20941
20942 * calc/calc-help.el (calc-l-prefix-help):
20943 Mention musical note functions.
20944
20945 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20946
20947 * minibuffer.el (completion-all-sorted-completions):
20948 Use :completion-cycle-penalty text property if present.
20949
20950 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20951
20952 * allout.el (allout-yank-processing): Adjust for new rebulleting
20953 regime so bullet being yanked is used without prompting the user
20954 for a choice.
20955
20956 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20957
20958 * startup.el (command-line): Warn the user that _emacs is deprecated.
20959
20960 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20961
20962 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20963 (delphi-verbose, delphi-comment-face, delphi-string-face)
20964 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20965 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20966 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20967 (delphi-new-comment-line, delphi-font-lock-defaults)
20968 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20969 Fix typos in docstrings.
20970
20971 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20972
20973 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20974 Invert the roles of character and string values for INSTEAD, so a
20975 string is used for the more common case of a defaulting prompt.
20976
20977 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20978
20979 * progmodes/ruby-mode.el (ruby-backward-sexp):
20980 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20981 * play/gamegrid.el (gamegrid-make-face):
20982 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20983 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20984 * notifications.el (notifications-notify):
20985 * net/xesam.el (xesam-search-engines):
20986 * net/quickurl.el (quickurl-list-insert):
20987 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20988
20989 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20990
20991 * startup.el (command-line): Update package subdirectory regexp.
20992
20993 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20994
20995 * allout.el (allout-abbreviate-flattened-numbering)
20996 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20997
20998 * subr.el (read-char-choice): Only show the cursor after the prompt,
20999 not after the answer.
21000
21001 2011-03-15 Kevin Ryde <user42@zip.com.au>
21002
21003 * help-fns.el (variable-at-point): Skip leading quotes, if any
21004 (bug#8253).
21005
21006 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21007
21008 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21009 warning message.
21010
21011 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21012
21013 * shell.el (shell): When called interactively, offer to change the
21014 shell file name on remote hosts.
21015
21016 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21017
21018 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21019 integration for LDAP parameters. The host, base, user or binddn,
21020 and secret tokens can be specified in a netrc file, for instance.
21021 This is optional because an `auth-source' parameter must be
21022 specified in the search attributes.
21023
21024 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21025
21026 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21027
21028 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21029
21030 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21031 into declaration. Remove redundant and harmful binding.
21032
21033 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21034
21035 * files.el (file-ownership-preserved-p): Pass `integer' as an
21036 explicit 2nd argument to `file-attributes'. If the file's owner
21037 is the Administrators group on Windows, and the current user is
21038 Administrator, consider that a match.
21039
21040 * server.el (server-ensure-safe-dir): Consider server directory
21041 safe on MS-Windows if its owner is the Administrators group while
21042 the current Emacs user is Administrator. Use `=' to compare
21043 numerical UIDs, since they could be integers or floats.
21044
21045 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21046
21047 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21048
21049 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21050
21051 Sync with Tramp 2.2.1.
21052
21053 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21054
21055 * net/trampver.el: Update release number.
21056
21057 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21058
21059 * progmodes/compile.el (compilation--previous-directory): Fix up
21060 various nil/dead-marker mismatches (bug#8014).
21061 (compilation-directory-properties, compilation-error-properties):
21062 Don't call it at a position past the one we're about to change.
21063
21064 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21065 Disable obsolescence warnings in the file that declares it.
21066
21067 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21068
21069 * allout-widgets.el (allout-widgets-tally):
21070 Initialize allout-widgets-tally as a hash table rather than nil to
21071 prevent mode-line redisplay warnings. Also, clarify the module
21072 description and fix a comment typo.
21073
21074 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21075
21076 * help-fns.el (describe-variable): Don't complete keywords.
21077 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21078
21079 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * emacs-lisp/package.el (package-version-join): Impose a standard
21082 string representation for pre/alpha/beta version lists.
21083 (package-unpack-single): Standardize the directory name by passing
21084 it through package-version-join.
21085 (package-strip-rcs-id): Accept any version string that does not
21086 signal an error in version-to-list.
21087
21088 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21089
21090 * simple.el (delete-trailing-whitespace): Return nil for the
21091 benefit of `write-file-functions'.
21092
21093 2011-03-10 Glenn Morris <rgm@gnu.org>
21094
21095 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21096
21097 * vc/vc-git.el (vc-git-program): New option.
21098 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21099 (vc-git--call): Use it.
21100
21101 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21102
21103 * cus-edit.el (Custom-newline): If no button at point, look
21104 for a subgroup button at start-of-line. (Bug#2298)
21105
21106 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21107
21108 2011-03-10 Julien Danjou <julien@danjou.info>
21109
21110 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21111 `cursor-type' is nil.
21112
21113 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21114
21115 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21116
21117 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21118
21119 * allout.el: Change so yank of distinctive-bullet items
21120 preserves the existing header prefix, rebulleting it if necessary,
21121 rather than replacing it. This is necessary for proper operation
21122 of cooperative addons like allout-widgets.
21123 (allout-make-topic-prefix, allout-rebullet-heading):
21124 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21125 value as alternate bullet to be used, instead of prompting the user
21126 for a bullet character.
21127
21128 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21129
21130 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21131 Do not use `tramp-file-name-port', because this returns also
21132 `tramp-default-port'.
21133
21134 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21135
21136 * net/rcirc.el (rcirc-handler-001): Remove useless
21137 with-rcirc-process-buffer.
21138 (rcirc-check-auth-status): Swap arguments to string-match.
21139
21140 2011-03-09 Glenn Morris <rgm@gnu.org>
21141
21142 * shell.el (shell-mode):
21143 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21144
21145 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21146 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21147
21148 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21149
21150 * emacs-lisp/package.el (package-refresh-contents)
21151 (package-menu-execute): Use condition-case-no-debug.
21152
21153 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21154
21155 * simple.el (shell-command-to-string): Use `process-file'.
21156
21157 * emacs-lisp/package.el (package-tar-file-info): Handle also
21158 remote files.
21159
21160 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21161 Use `equal' for upload base check.
21162
21163 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21164
21165 * textmodes/texinfo.el (texinfo-environments):
21166 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21167
21168 2011-03-08 Glenn Morris <rgm@gnu.org>
21169
21170 * cus-start.el (cursor-in-non-selected-windows):
21171 Fix :set quoting oddness. (Bug#8192)
21172
21173 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21174 in some setf expressions. (Bug#2159)
21175
21176 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21177
21178 * custom.el (custom-available-themes): Return themes in
21179 alphabetical order.
21180
21181 See ChangeLog.15 for earlier changes.
21182
21183 ;; Local Variables:
21184 ;; coding: utf-8
21185 ;; End:
21186
21187 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21188
21189 This file is part of GNU Emacs.
21190
21191 GNU Emacs is free software: you can redistribute it and/or modify
21192 it under the terms of the GNU General Public License as published by
21193 the Free Software Foundation, either version 3 of the License, or
21194 (at your option) any later version.
21195
21196 GNU Emacs is distributed in the hope that it will be useful,
21197 but WITHOUT ANY WARRANTY; without even the implied warranty of
21198 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21199 GNU General Public License for more details.
21200
21201 You should have received a copy of the GNU General Public License
21202 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.