]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/emacs-lisp/advice.el: Layer on top of nadvice.el.
[gnu-emacs] / lisp / ChangeLog
1 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4 Remove out of date self-require hack.
5 (ad-do-advised-functions): Use simple `dolist'.
6 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7 (ad-advice-definition): Redefine as functions.
8 (ad-advice-classes): Move before first use.
9 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
10 (ad-make-mapped-call, ad-make-advised-docstring, ad-make-plain-docstring)
11 (ad--defalias-fset): Remove functions.
12 (ad-make-advicefunname, ad-clear-advicefunname-definition): New functions.
13 (ad-get-orig-definition): Rewrite.
14 (ad-make-advised-definition-docstring): Change base docstring.
15 (ad-real-orig-definition): Rewrite.
16 (ad-map-arglists): Change name of called function.
17 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
18 (ad-make-advised-definition): Simplify.
19 (ad-assemble-advised-definition): Tweak for new calling context.
20 (ad-activate-advised-definition): Setup ad-Advice-* instead of ad-Orig-*.
21 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
22 function and call ad-activate if needed.
23 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
24 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
25 (ad-compile-function): Compile ad-Advice-*.
26 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
27 (ad-start-advice, ad-stop-advice): Remove.
28
29 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
30
31 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
32 period before class method names, not after. Remove handling of
33 one impossible case. Add comments.
34
35 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * emacs-lisp/advice.el: Remove support for freezing.
38 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
39 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
40 Remove support for `freeze'.
41
42 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
43 override the default.
44 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
45 cl--dotimes/dolist.
46 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
47 `cl' is loaded.
48
49 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
50 from add-advice.
51 (advice--strip-macro): New function.
52 (advice--defalias-fset): Use them to handle macros.
53 (advice-add): Use them.
54 (advice-member-p): Correctly handle macros.
55
56 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
57
58 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
59 Never font-lock the beginning of singleton class as heredoc.
60
61 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
64
65 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
66
67 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
68 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
69 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
70
71 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
72
73 Fix end-of-defun misbehavior.
74 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
75 python-beginning-of-defun-function. Handle nested defuns
76 correctly.
77 (python-nav-end-of-defun): Rename from
78 python-end-of-defun-function. Ensure forward movement.
79 (python-info-current-defun): Reimplement to work as intended
80 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
81 parent defuns as soon as possible.
82
83 2012-11-13 Glenn Morris <rgm@gnu.org>
84
85 * progmodes/flymake.el (flymake-error-bitmap)
86 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
87 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
88
89 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
90
91 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
92 backward, always stop at indentation. Reverts the change from
93 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
94
95 2012-11-13 Glenn Morris <rgm@gnu.org>
96
97 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
98 Add ibuffer-filter-by-derived-mode.
99
100 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
101 the same name shadowing each other.
102
103 * window.el (with-temp-buffer-window): Doc tweak.
104
105 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
106
107 * help.el (temp-buffer-max-height):
108 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
109 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
110
111 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * emacs-lisp/nadvice.el: New package.
114 * subr.el (special-form-p): New function.
115 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
116 (elp-all-instrumented-list): Remove var.
117 (elp-not-profilable): Remove elp-wrapper.
118 (elp-profilable-p): Use autoloadp and special-form-p.
119 (elp--advice-name): New const.
120 (elp-instrument-function): Use advice-add.
121 (elp--instrumented-p): New predicate.
122 (elp-restore-function): Use advice-remove.
123 (elp-restore-all, elp-reset-all): Use mapatoms.
124 (elp-set-master): Use elp--instrumented-p.
125 (elp--make-wrapper): Rename from elp-wrapper, return a function
126 suitable for advice-add. Use cl-inf.
127 (elp-results): Use mapatoms+elp--instrumented-p.
128 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
129 (debug-function-list): Remove var.
130 (debug): Rename arg, and then let-bind it explicitly inside.
131 (debugger-setup-buffer): Rename arg.
132 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
133 (debugger-frame-number): Adjust to new debug-on-entry setup.
134 (debug--implement-debug-on-entry): Rename from
135 implement-debug-on-entry, add argument.
136 (debugger-special-form-p): Remove, use special-form-p instead.
137 (debug-on-entry): Use advice-add.
138 (debug--function-list): New function.
139 (cancel-debug-on-entry): Use it, along with advice-remove.
140 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
141 (debugger-list-functions): Use debug--function-list instead of
142 debug-function-list.
143 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
144 (ad-special-form-p): Remove, use special-form-p instead.
145 (ad-set-advice-info): Use add-function and remove-function.
146 (ad--defalias-fset): Adjust accordingly.
147
148 2012-11-10 Glenn Morris <rgm@gnu.org>
149
150 * mail/emacsbug.el (report-emacs-bug-tracker-url)
151 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
152 (report-emacs-bug-create-existing-bugs-buffer)
153 (report-emacs-bug-parse-query-results)
154 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
155
156 * term.el (term-default-fg-color, term-default-bg-color):
157 Make obsolete, rather than just saying "deprecated" in the doc.
158
159 * term.el (term): Rename from `term-face'.
160 (term-current-face, ansi-term-color-vector)
161 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
162 Update all users.
163
164 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
165
166 * server.el (server-create-window-system-frame): Handle Nextstep
167 specially (Bug#12780).
168
169 2012-11-10 Glenn Morris <rgm@gnu.org>
170
171 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
172 Unautoload, and make obsolete. (Bug#7449)
173
174 2012-11-10 Chong Yidong <cyd@gnu.org>
175
176 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
177 rename from diff-remove-trailing-whitespace (Bug#12831).
178
179 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
182 miscompilation of trace.el.
183
184 2012-11-10 Glenn Morris <rgm@gnu.org>
185
186 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
187
188 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
191 (bug#12812).
192
193 2012-11-10 Chong Yidong <cyd@gnu.org>
194
195 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
196 a defcustom with an appropriate :set function.
197 (minibuffer-default--in-prompt-regexps): New function.
198
199 2012-11-10 Glenn Morris <rgm@gnu.org>
200
201 * emacs-lisp/cl.el (define-setf-expander, defsetf)
202 (define-modify-macro): Doc fixes.
203
204 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
205 (gv-define-simple-setter): Update doc of `fix-return'.
206
207 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
210 twice when `fix-return' is set (bug#12813).
211
212 * emacs-lisp/cl.el (defsetf): Pass the third arg to
213 gv-define-simple-setter (bug#12812).
214
215 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
216 (bug#12756).
217
218 2012-11-10 Glenn Morris <rgm@gnu.org>
219
220 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
221
222 * emacs-lisp/cl-extra.el (cl-prettyexpand):
223 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
224 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
225 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
226
227 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
228
229 2012-11-10 Leo Liu <sdl.web@gmail.com>
230
231 * ido.el (ido-set-matches-1): Improve flex matching performance by
232 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
233
234 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
237 (ad--defalias-fset): New function.
238 (ad-safe-fset): Remove.
239 (ad-make-freeze-definition): Use cl-letf*.
240
241 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * subr.el (dolist): Don't bind VAR in RESULT.
244
245 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
246 (fset, documentation): Don't save real def since we don't advise.
247 (ad-do-advised-functions): Remove problematic `result-form'.
248 (ad-safe-fset): `ad-real-fset' => `fset'.
249 (ad-read-advised-function): Don't assume that ad-do-advised-functions
250 uses CL's dolist internally.
251 (ad-arglist): Remove unused arg `name'.
252 (ad-docstring, ad-make-advised-docstring):
253 `ad-real-documentation' => `documentation'.
254 (warning-suppress-types): Declare.
255 (ad-set-arguments): Simple CSE.
256 (ad-recover-normality): Sanity check.
257
258 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
259 (funcall '(lambda ..) ..) into ((lambda ..) ..).
260
261 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
262
263 * ses.el: symbol to coordinate mapping is made by symbol property
264 `ses-cell'. This means that the same mapping is done for all SES
265 sheets. That is good enough for cells with standard A1 names, but
266 not for named cell. So a hash map is added for the latter.
267 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
268 (ses-sym-rowcol): Use hashmap for named cell.
269 (ses-is-cell-sym-p): New defun.
270 (ses-decode-cell-symbol): New defun.
271 (ses-create-cell-variable): Add cell to hashmap when name is not
272 A1-like.
273 (ses-rename-cell): Check that cell new name is not already in
274 spreadsheet with the use of ses-is-cell-sym-p
275 (ses-rename-cell): Use hash map for named cells, but accept also
276 renaming back to A1-like.
277
278 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * emacs-lisp/advice.el: Use new dynamic docstrings.
281 (ad-make-advised-definition-docstring, ad-advised-definition-p):
282 Use dynamic-docstring-function instead of ad-advice-info.
283 (ad--make-advised-docstring): New function extracted from
284 ad-make-advised-docstring.
285 (ad-make-advised-docstring): Use it.
286 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
287 from sql-help.
288 (sql-help): Use it with dynamic-docstring-function.
289
290 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
291
292 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * files.el (hack-one-local-variable--obsolete): New function.
295 (hack-one-local-variable): Use it for obsolete settings.
296
297 * subr.el (locate-user-emacs-file): If both old and new name exist, use
298 the new name.
299
300 * progmodes/js.el (js--filling-paragraph): New var.
301 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
302 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
303 less sneaky.
304
305 2012-11-08 Julien Danjou <julien@danjou.info>
306
307 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
308 `auto-mode-alist' (Bug#12835).
309
310 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
313 (perl--prettify-symbols-alist): New const.
314 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
315 New functions.
316 (perl-font-lock-keywords-2): Use them.
317 (perl-electric-noindent-p): New function.
318 (perl-mode): Use it to set up electric-indent-mode.
319 (perl-electric-terminator, perl-indent-command): Mark obsolete.
320 (perl-mode-map): Remove bindings for them.
321 (perl-imenu-generic-expression, perl-outline-level):
322 Match functions&packages in column>0.
323
324 * env.el (env--substitute-vars-regexp): New const.
325 (substitute-env-vars): Use it. Add `only-defined' arg.
326 * net/tramp.el (tramp-replace-environment-variables): Use it.
327
328 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
329 Byte-compile *before* eval in eval-and-compile.
330 (byte-compile-log-warning): Remove redundant inhibit-read-only.
331 (byte-compile-file-form-autoload): Don't hide actual definition.
332 (byte-compile-maybe-guarded): Accept `functionp' as well.
333
334 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
335
336 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
337
338 * notifications.el (notifications-get-server-information-method):
339 New defconst.
340 (notifications-get-capabilities): Fix docstring.
341 (notifications-get-server-information): New defun.
342
343 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
344
345 * textmodes/ispell.el (ispell-region): Standard re-indent for better
346 readability.
347
348 * textmodes/ispell.el: Experimental support for support debugging.
349 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
350 buffer for ispell.
351 (ispell-print-if-debug): New function to print stuff to
352 `ispell-debug-buffer' if debugging is enabled.
353 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
354 show some debugging info.
355 (ispell-buffer-with-debug): New function that creates a debugging
356 buffer and calls `ispell-buffer' with debugging enabled.
357
358 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
359 comment in autoconf mode. (Bug#12768)
360
361 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
362
363 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
364 frame-first-window, frame-root-window, frame-selected-window,
365 minibuffer-selected-window, minibuffer-window,
366 window-absolute-pixel-edges, window-at, window-body-height,
367 window-body-width, window-display-table, window-combination-limit,
368 window-frame, window-fringes, window-inside-absolute-pixel-edges,
369 window-inside-edges, window-inside-pixel-edges, window-left-child,
370 window-left-column, window-margins, window-next-buffers,
371 window-next-sibling, window-new-normal, window-new-total,
372 window-normal-size, window-parameter, window-parameters, window-parent,
373 window-pixel-edges, window-point, window-prev-buffers,
374 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
375 window-start, window-text-height, window-top-child, window-top-line,
376 window-total-height, window-total-width and window-use-time to the list
377 of functions without side-effects.
378 (toplevel): Add window-valid-p to the list of error-free functions
379 without side-effects.
380
381 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
382
383 * textmodes/ispell.el (ispell-program-name):
384 Update spellchecker parameters when customized.
385
386 2012-11-04 Glenn Morris <rgm@gnu.org>
387
388 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
389
390 2012-11-04 Chong Yidong <cyd@gnu.org>
391
392 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
393 same-window-* variables.
394
395 2012-11-04 Juri Linkov <juri@jurta.org>
396
397 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
398 (isearch-describe-key, isearch-describe-mode): Use a display
399 action instead of binding same-window-* variables (Bug#10040).
400
401 2012-11-03 Glenn Morris <rgm@gnu.org>
402
403 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
404 Rename handler properties back from cl-- to cl-. (Bug#12788)
405
406 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
407
408 2012-11-03 Eli Zaretskii <eliz@gnu.org>
409
410 * term/pc-win.el: Don't load term/internal from here.
411
412 * loadup.el: Load term/internal from here.
413
414 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
415
416 * progmodes/python.el (inferior-python-mode): Fix hang in
417 jit-lock (Bug#12645).
418
419 2012-11-03 Martin Rudalics <rudalics@gmx.at>
420
421 * window.el (switch-to-visible-buffer)
422 (switch-to-buffer-preserve-window-point): Fix doc-strings.
423
424 2012-11-03 Glenn Morris <rgm@gnu.org>
425
426 * emacs-lisp/cl-lib.el (cl--random-time):
427 Rename from cl-random-time. (Bug#12773)
428 (cl--gensym-counter, cl--random-state): Update callers.
429 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
430
431 2012-11-03 Chong Yidong <cyd@gnu.org>
432
433 * cus-start.el: Make cursor-type customizable (Bug#11633).
434
435 2012-11-02 Glenn Morris <rgm@gnu.org>
436
437 * filecache.el: No need to load find-lisp when compiling.
438 (find-lisp-find-files): Autoload it.
439 (file-cache-add-directory-recursively): Don't require find-lisp.
440
441 * image.el (image-type-from-file-name): Trivial simplification.
442
443 * emacs-lisp/bytecomp.el (byte-compile-eval):
444 Decouple "noruntime" and "cl-functions" warnings.
445
446 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
447
448 * play/gomoku.el (gomoku-display-statistics): Update mode line
449 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
450
451 2012-10-31 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (quit-restore-window): If the window has been
454 created on an existing frame and ended up as the sole window on
455 that frame, do not delete it (Bug#12764).
456
457 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * progmodes/sh-script.el (sh--inside-noncommand-expression):
460 Rename from sh--inside-arithmetic-expression, handle more cases
461 (bug#11263).
462
463 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
464 (sh-font-lock-open-heredoc): Use it (bug#12770).
465
466 2012-10-30 Glenn Morris <rgm@gnu.org>
467
468 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
469
470 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
471
472 2012-10-29 Chong Yidong <cyd@gnu.org>
473
474 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
475 function key is stored in a keyboard macro (Bug#4894).
476
477 * thingatpt.el (number-at-point): Apply a thing-at-point property.
478
479 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
482 header comments".
483 (diff-unified->context, diff-context->unified)
484 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
485
486 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
487
488 * files.el (find-alternate-file): Only ask one question (bug#12487).
489
490 2012-10-29 Chong Yidong <cyd@gnu.org>
491
492 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
493 Suggested by Dan Nicolaescu (Bug#6326).
494
495 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
496
497 * startup.el (fancy-about-screen): Don't message (Bug#12680).
498
499 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
500
501 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
502
503 * face-remap.el (face-remap-add-relative): Handle the case where a
504 face-remapping-alist entry is a cons cell (Bug#12762).
505
506 2012-10-29 Kevin Ryde <user42@zip.com.au>
507
508 * woman.el (woman-parse-numeric-value): Handle picas correctly
509 (Bug#12639).
510
511 2012-10-29 Glenn Morris <rgm@gnu.org>
512
513 * emacs-lisp/cl.el (defsetf): Doc fix.
514
515 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
518 syntax to the matching opener, if any (bug#12547).
519 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
520 matching open as a "case-(".
521 (sh-smie-rc-grammar): Add a corresponding rule for it.
522
523 2012-10-28 Daniel Hackney <dan@haxney.org>
524
525 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
526 "PKGNAME-autoloads.el" in case we created it.
527
528 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
531 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
532 (completion--twq-all): Disable too-strict assertions.
533
534 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
535
536 2012-10-27 Eli Zaretskii <eliz@gnu.org>
537
538 * profiler.el (profiler-report-make-entry-part): Fix help-echo
539 text to match the real keybindings.
540
541 2012-10-27 Juri Linkov <juri@jurta.org>
542
543 * wdired.el (wdired-keep-marker-rename): New defcustom.
544 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
545 (Bug#11795)
546
547 * dired.el (dired-keep-marker-rename): Add reference to
548 `wdired-keep-marker-rename' in the docstring.
549 Add default character value ?R to display initially in
550 Customization UI instead of ?@.
551
552 2012-10-27 Martin Rudalics <rudalics@gmx.at>
553
554 * window.el (display-buffer): In doc-string describe
555 window-height and window-width alist entries.
556
557 * time.el (display-time-world): Restore fit-window-to-buffer
558 behavior.
559
560 2012-10-27 Chong Yidong <cyd@gnu.org>
561
562 * subr.el (insert-buffer-substring-as-yank): Doc fix.
563
564 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
565
566 * minibuffer.el (completion-category-overrides): New completion
567 category `bookmark' (bug#11131).
568
569 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/advice.el (ad-assemble-advised-definition):
572 Silence bogus compiler warnings for ad-do-it.
573
574 * bookmark.el (bookmark-completing-read): Set the completion category
575 to `bookmark' (bug#11131).
576
577 2012-10-26 Bastien <bzg@altern.org>
578 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * face-remap.el: Use lexical-binding.
581 (text-scale-adjust): Improve docstring. Use itself for the temporary
582 overlay-map bindings, so as to repeat the "Use..." message each time.
583
584 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/macroexp.el (macroexp--expand-all):
587 Obey byte-compile-warning-enabled-p (bug#12486).
588
589 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
590 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
591
592 2012-10-26 Martin Rudalics <rudalics@gmx.at>
593
594 * mouse.el (mouse-drag-line): Move last form into preceding when
595 clause (Bug#12731).
596
597 * help.el (resize-temp-buffer-window): Fix doc-string.
598
599 2012-10-25 David Engster <deng@randomsample.de>
600
601 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
602 Remove. This feature is already integrated in imenu.
603
604 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
605 always loaded. Require `speedbar' unconditionally.
606
607 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
610
611 * minibuffer.el (minibuffer-force-complete): Fix thinko.
612
613 * net/ldap.el (ldap-search-internal): The official ldif format starts
614 with a "version: 1" header (bug#12724).
615
616 * emacs-lisp/package.el (package-installed-p): Warn if not ready
617 (bug#12721).
618
619 2012-10-25 Glenn Morris <rgm@gnu.org>
620
621 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
622
623 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * minibuffer.el (minibuffer-force-complete): Use one more marker
626 for the temporary-overlay-map command (bug#12619).
627
628 2012-10-24 Chong Yidong <cyd@gnu.org>
629
630 * time.el (display-time-world-mode): Derive from special-mode.
631 (display-time-world): Use display-buffer (Bug#12708).
632 (display-time-world-mode-map): Variable deleted.
633 (display-time-world-display): Wrap the final delete-char inside
634 inhibit-read-only.
635
636 2012-10-24 Chong Yidong <cyd@gnu.org>
637
638 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
639 Doc fix.
640
641 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
642
643 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * minibuffer.el (completion--all-sorted-completions-location): New var.
646 (completion--cache-all-sorted-completions)
647 (completion--flush-all-sorted-completions): Use it.
648 (completion-in-region, completion-in-region--postch)
649 (completion-at-point, completion-help-at-point): Use markers in
650 completion-in-region--data (bug#12619).
651
652 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * progmodes/compile.el (compilation-start): Try to handle common
655 quoting of `cd' argument (bug#12640).
656
657 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
658 (bug#12671).
659
660 2012-10-23 Glenn Morris <rgm@gnu.org>
661
662 * progmodes/gud.el (gud-menu-map):
663 Check gdb-active-process is bound. (Bug#12358)
664
665 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * repeat.el (repeat): Set real-this-command (bug#12232).
668
669 * htmlfontify.el (hfy-post-html-hook):
670 * filesets.el (filesets-cache-fill-content-hook):
671 * arc-mode.el (archive-extract-hook):
672 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
673 * net/rcirc.el (rcirc-sentinel-functions)
674 (rcirc-receive-message-functions, rcirc-activity-functions)
675 (rcirc-print-functions):
676 * net/dbus.el (dbus-event-error-functions):
677 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
678 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
679 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
680 * term/sun.el (sun-raw-prefix-hooks):
681 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
682
683 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
686 Set `tramp-chunksize' to 1. This improves the performance.
687 (tramp-smb-wait-for-output): Add timeout to
688 `tramp-accept-process-output' calls.
689
690 2012-10-23 Chong Yidong <cyd@gnu.org>
691
692 * faces.el (font-list-limit): Define as an obsolete variable.
693
694 * startup.el (command-line):
695 * cus-start.el: Don't refer to font-list-limit.
696
697 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
698
699 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * subr.el (internal-temp-output-buffer-show): Rename from
702 temp-output-buffer-show, since previously compiled files expect this name.
703
704 2012-10-23 Glenn Morris <rgm@gnu.org>
705
706 * image.el (image-type-from-file-name): If multiple types match,
707 return the first one that is supported. (Bug#9045)
708
709 2012-10-22 Glenn Morris <rgm@gnu.org>
710
711 * image.el (imagemagick-enabled-types): Doc fix.
712
713 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
714
715 * progmodes/which-func.el (which-func-current): The hash-table may have
716 an explicit nil (bug#12338).
717
718 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * electric.el (electric-pair-delete-selection-self-insert-function):
721 Rename to electric-pair-will-use-region, return a boolean.
722 (electric-pair-mode): Adjust accordingly. Don't require delsel.
723
724 * delsel.el (delete-selection-helper): Use a function instead of a hook.
725 (delete-selection-pre-hook): Use use-region-p.
726 (delete-selection-self-insert-function): Remove.
727 (self-insert-command): Obey self-insert-uses-region-functions.
728 (self-insert-iso): Revert to previous setting, since we don't actually
729 know what that command does.
730 (delete-selection-self-insert-hooks): Remove.
731
732 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
733
734 * delsel.el (delete-selection-helper): New function, extracted from
735 delete-selection-pre-hook.
736 (delete-selection-pre-hook): Use it.
737 (delete-selection-self-insert-function): New function.
738 (delete-selection-self-insert-hooks): New hook.
739 (self-insert-command, self-insert-iso): Use it.
740 * electric.el (electric-pair-syntax): New function, extracted from
741 electric-pair-post-self-insert-function.
742 (electric-pair-post-self-insert-function): Use it.
743 (electric-pair-delete-selection-self-insert-function): New function.
744 (electric-pair-mode): Require delsel and setup
745 delete-selection-self-insert-hooks (bug#11520).
746
747 2012-10-20 Chong Yidong <cyd@gnu.org>
748
749 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
750 no changes to show (Bug#12586).
751
752 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
753 list explicitly (Bug#12571).
754
755 2012-10-20 Arne Jørgensen <arne@arnested.dk>
756
757 * progmodes/flymake.el (flymake-create-temp-inplace):
758 Use file-truename.
759
760 2012-10-20 Eli Zaretskii <eliz@gnu.org>
761
762 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
763
764 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
765
766 * calc/calc-units.el (math-extract-units): Properly extract powers
767 of units.
768
769 2012-10-20 Daniel Colascione <dancol@dancol.org>
770
771 * frame.el (make-frame): Set x-display-name as we used to in order
772 to unbreak creating an X11 frame from an Emacs daemon started
773 without a display.
774
775 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * minibuffer.el (minibuffer-force-complete): Make the next completion use
778 the same completion-field (bug#12221).
779
780 2012-10-19 Martin Rudalics <rudalics@gmx.at>
781
782 * emacs-lisp/debug.el (debug): Record height of debugger window
783 also when debugger will be back (Bug#8789).
784
785 2012-10-18 Chong Yidong <cyd@gnu.org>
786
787 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
788 Convert to defcustom.
789 (gdb-get-source-file): Don't bind pop-up-windows.
790
791 * progmodes/gud.el (gud-display-line): Don't specially re-use
792 other frames for the gdb-mi case (Bug#12648).
793
794 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * emacs-lisp/advice.el: Clean up commentary a bit.
797 (ad-do-advised-functions, ad-with-originals): Use `declare'.
798 (byte-code-function-p): Never redefine.
799
800 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
801
802 2012-10-18 Glenn Morris <rgm@gnu.org>
803
804 * dired.el (dired-sort-toggle): Some ls implementations only allow
805 a single option string. (Bug#12666)
806
807 * minibuffer.el (completion-cycle-threshold): Doc fix.
808
809 2012-10-17 Kenichi Handa <handa@gnu.org>
810
811 * international/mule.el (set-keyboard-coding-system):
812 Recover input meta mode when the new coding system doesn not use 8-bit.
813 Supply TERMINAL arg to set-input-meta-mode.
814
815 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
816
817 * wdired.el (wdired-old-marks): New variable.
818 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
819 (wdired-do-renames): Move point with renamed file and don't lose
820 mark status (Bug#11795).
821
822 2012-10-16 Juri Linkov <juri@jurta.org>
823
824 * replace.el (query-replace-help): Mention multi-buffer replacement
825 keys in the Help message. (Bug#12655)
826
827 2012-10-15 Chong Yidong <cyd@gnu.org>
828
829 * emacs-lisp/byte-run.el (defsubst): Doc fix.
830
831 2012-10-14 Eli Zaretskii <eliz@gnu.org>
832
833 * window.el (display-buffer): Doc fix.
834
835 * progmodes/compile.el (compilation-error-regexp-alist-alist):
836 Adjust the msft regexp to the output of Studio 2010, and move msft
837 before edg-1. See the discussion on emacs-devel,
838 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
839 for the details.
840
841 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
844 (oset): Move uses of object-class-fast macro after its definition.
845
846 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
847
848 2012-10-13 Chong Yidong <cyd@gnu.org>
849
850 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
851 enabled, re-enable it (Bug#11963).
852
853 2012-10-13 Martin Rudalics <rudalics@gmx.at>
854
855 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
856 non-nil, restore window configuration (Bug#12623).
857
858 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * help-fns.el (describe-variable, describe-function-1):
861 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
862
863 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
864
865 2012-10-12 Glenn Morris <rgm@gnu.org>
866
867 * mail/rmailsum.el (rmail-header-summary):
868 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
869
870 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
871
872 * progmodes/python.el (python-mode-map):
873 Replace subtitute-key-definition with proper command remapping.
874 (python-nav--up-list): Fix behavior for blocks on the same level.
875
876 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
879
880 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
881 changes to the format of load-history.
882
883 * international/mule-cmds.el (read-char-by-name): Move let-binding of
884 completion-ignore-case in case that var is buffer-local (bug#12615).
885
886 2012-10-11 Kenichi Handa <handa@gnu.org>
887
888 * international/eucjp-ms.el: Re-generated.
889
890 2012-10-10 Kenichi Handa <handa@gnu.org>
891
892 * select.el (xselect--encode-string): If a coding is specified for
893 selection, and that is compatible with COMPOUND_TEXT, use it.
894
895 2012-10-10 Martin Rudalics <rudalics@gmx.at>
896
897 * window.el (switch-to-buffer-preserve-window-point): New option.
898 (switch-to-buffer):
899 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
900
901 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
904 Don't document nil as a useful value (bug#12583).
905
906 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp.el (tramp-debug-message):
909 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
910 (with-tramp-progress-reporter): Rename from
911 `tramp-with-progress-reporter'.
912 (with-tramp-file-property, with-tramp-connection-property):
913 Move from tramp-cache.el, rename from `with-file-property' and
914 `with-connection-property', respectively.
915
916 * net/tramp-cache.el: Remove `with-file-property' and
917 `with-connection-property'.
918
919 * net/tramp.el:
920 * net/tramp-gvfs.el:
921 * net/tramp-sh.el:
922 * net/tramp-smb.el: Adapt callees.
923
924 * net/trampver.el: Update release number.
925
926 2012-10-09 Glenn Morris <rgm@gnu.org>
927
928 * w32-fns.el (set-message-beep):
929 * term/w32-win.el (set-message-beep): Update declarations.
930
931 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
934 (mode-line-widen, mode-line-input-method-map)
935 (mode-line-coding-system-map, mode-line-remote)
936 (mode-line-unbury-buffer, mode-line-bury-buffer)
937 (mode-line-next-buffer, mode-line-previous-buffer):
938 Replace save-selected-window+select-window => with-selected-window.
939
940 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
941 * progmodes/cc-vars.el (bq-process): Remove, unused.
942
943 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
944
945 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
946
947 Implemented `backward-up-list'-like navigation.
948 * progmodes/python.el (python-nav-up-list)
949 (python-nav-backward-up-list): New functions.
950 (python-mode-map): Define substitute key for backward-up-list to
951 python-nav-backward-up-list.
952
953 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
954
955 * progmodes/python.el (python-fill-paragraph): Rename from
956 python-fill-paragraph-function. Fixed fill-paragraph for
957 decorators (Bug#12605).
958
959 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
960
961 * progmodes/python.el (python-shell-output-filter): Handle extra
962 carriage return in OSX (Bug#12409).
963
964 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
965
966 Fix shell handling of unbalanced quotes and parens in output.
967 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
968 (python-syntax-propertize-function): Use it.
969 (python-shell-output-syntax-table): New var.
970 (inferior-python-mode): Prevent unbalanced parens/quotes from
971 previous output mess with current input context.
972
973 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
974
975 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
976 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
977
978 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
979
980 * ffap.el (ffap-replace-file-component): Support Tramp file name
981 syntax, not only ange-ftp's one.
982
983 2012-10-08 Glenn Morris <rgm@gnu.org>
984
985 * cus-start.el (message-log-max): Set :version.
986
987 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
988
989 2012-10-08 Martin Rudalics <rudalics@gmx.at>
990
991 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
992 the minibuffer window (Bug#10851).
993
994 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
995
996 Enhancements on forward-sexp movement.
997 * progmodes/python.el (python-nav-beginning-of-statement)
998 (python-nav-end-of-statement): Return point-marker.
999 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1000 (python-info-current-symbol)
1001 (python-info-statement-starts-block-p): Rename from
1002 python-info-beginning-of-block-p.
1003 (python-info-statement-ends-block-p): Rename from
1004 python-info-end-of-block-p.
1005 (python-info-beginning-of-statement-p)
1006 (python-info-end-of-statement-p)
1007 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1008 New functions.
1009
1010 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1013 frame-selected-windows.
1014
1015 2012-10-08 Daniel Colascione <dancol@dancol.org>
1016
1017 * battery.el (battery-status-function): Check for
1018 w32-battery-status itself, not system-time windows-nt.
1019
1020 * frame.el: Require cl-lib.
1021 (display-format-alist): New variable mapping frame types to
1022 functions that initialize them.
1023 (window-system-for-display): New function: interprets
1024 display-format-alist.
1025 (make-frame-on-display): Remove existing display-selection logic
1026 and just forward to make-frame, which will now DTRT.
1027 (make-frame): Restructure to use window-system-for-display to
1028 figure out how to create a frame on a given display.
1029 (display-mouse-p): Look for frame-type w32, not a particular
1030 system-type.
1031
1032 * loadup.el: Load w32 lisp code when we have the w32 feature.
1033
1034 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1035 system-type windows-nt.
1036
1037 * server.el (server-create-window-system-frame): Look for window
1038 type.
1039 (server-proces-filter): Only force a window system when windows-nt
1040 _and_ w32. Explain why.
1041
1042 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1043 of window systems we configure for the mode.
1044
1045 * startup.el (command-line): Mark window system is initialized
1046 after we've done it.
1047
1048 * common-win.el (x-select-text): Look for w32, not windows-nt.
1049
1050 * ns-win.el: Require cl-lib. Add ourselves to
1051 display-format-alist.
1052 (ns-initialize-window-system): Assert we're not initialized twice.
1053
1054 * w32-win.el: Enable lexical binding; require cl-lib; add
1055 ourselves to display-format-alist.
1056 (w32-handle-dropped-file): Convert incoming dropped files from
1057 Windows paths to Cygwin ones before passing them on to the rest of
1058 Emacs.
1059 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1060 (w32-initialize-window-system): Assert we're not initialized twice.
1061
1062 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1063 (x-initialize-window-system): Assert we're not initialized twice.
1064
1065 * w32-common-fns.el: New File.
1066 (w32-version, w32-using-nt, w32-get-clipboard-data)
1067 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1068 (w32-charset-info-alist, x-last-selected, text)
1069 (x-get-selection-value, x-selection-value): Move here.
1070
1071 * w32-fns.el: Require w32-common-fns.
1072 (w32-version, w32-using-nt, w32-get-clipboard-data)
1073 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1074 (w32-charset-info-alist, x-last-selected, text)
1075 (x-get-selection-value, x-selection-value): Move to
1076 w32-common-fns.
1077
1078 * w32-vars.el:
1079 (w32-allow-system-shell, w32-system-shells): Define only in
1080 non-cygwin case.
1081
1082 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1085 (read-passwd): Remove a few more potential sources of leaks.
1086
1087 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1088
1089 * progmodes/python.el (inferior-python-mode)
1090 (python-shell-make-comint): Fix initialization of local
1091 variables copied from parent buffer.
1092
1093 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1094
1095 * term/ns-win.el (ns-read-file-name): Update declaration to match
1096 nsfns.m.
1097 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1098 it is set when font is acted upon.
1099
1100 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1101
1102 Enhancements to indentation.
1103 * progmodes/python.el (python-indent-context): Give priority to
1104 inside-string context. Make comments indentation markers.
1105 (python-indent-region): Do not mess with strings, unless it's the
1106 enclosing set of quotes.
1107
1108 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * window.el (internal--before-save-selected-window)
1111 (internal--after-save-selected-window): New functions extracted from
1112 save-selected-window. Make sure we return the `alist' we construct.
1113 (save-selected-window): Use them.
1114
1115 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1116 Use with-selected-window.
1117
1118 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1119 forms that define macros (bug#12593).
1120
1121 2012-10-07 Kenichi Handa <handa@gnu.org>
1122
1123 * international/mule-conf.el (compound-text-with-extensions):
1124 Add :mime-charset property as x-ctext.
1125
1126 2012-10-07 Stefan Merten <smerten@oekonux.de>
1127
1128 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1129 (rst-indent-literal-normal, rst-indent-literal-minimized)
1130 (rst-indent-comment): Correct :version tag.
1131 (rst-official-cvs-rev): Correct version string.
1132
1133 2012-10-07 Glenn Morris <rgm@gnu.org>
1134
1135 * mail/rmailmm.el (rmail-mime-process-multipart):
1136 Do not confuse a multipart message with an epilogue
1137 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1138
1139 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1140
1141 Fix shell output retrieval and comint-prompt-regexp init.
1142 * progmodes/python.el (inferior-python-mode):
1143 (python-shell-make-comint): Fix initialization of
1144 comint-prompt-regexp from copied file local variables.
1145 (python-shell-fetched-lines): Remove var.
1146 (python-shell-output-filter-in-progress): Rename from
1147 python-shell-fetch-lines-in-progress.
1148 (python-shell-output-filter-buffer): Rename from
1149 python-shell-fetch-lines-string.
1150 (python-shell-fetch-lines-filter): Delete function.
1151 (python-shell-output-filter): New function.
1152 (python-shell-send-string-no-output): Use them.
1153
1154 2012-10-07 Glenn Morris <rgm@gnu.org>
1155
1156 * hi-lock.el (hi-lock-process-phrase):
1157 Try to make it less fragile. (Bug#7161)
1158
1159 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1160
1161 2012-10-06 Glenn Morris <rgm@gnu.org>
1162
1163 * ehelp.el (electric-help-mode): Use help-mode rather than
1164 non-existent mode `help'.
1165 (electric-help-map): Use button-buffer-map. (Bug#10917)
1166
1167 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1168 (reftex-create-bibtex-footer): Fix custom types.
1169
1170 * progmodes/sh-script.el (sh-indent-after-continuation):
1171 Add explicit :group.
1172
1173 * textmodes/rst.el (rst-preferred-decorations)
1174 (rst-shift-basic-offset): Clarify obsolescence versions.
1175
1176 * profiler.el (profiler): Add missing group :version tag.
1177 * avoid.el (mouse-avoidance-banish-position):
1178 * proced.el (proced-renice-command):
1179 * calc/calc.el (calc-ensure-consistent-units):
1180 * calendar/icalendar.el (icalendar-import-format-uid):
1181 * net/tramp.el (tramp-save-ad-hoc-proxies):
1182 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1183 * progmodes/flymake.el (flymake-error-bitmap)
1184 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1185 * progmodes/sh-script.el (sh-indent-after-continuation):
1186 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1187 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1188 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1189 (vhdl-array-index-record-field-in-sensitivity-list)
1190 (vhdl-indent-comment-like-next-code-line):
1191 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1192 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1193 (reftex-cite-key-separator, reftex-create-bibtex-header)
1194 (reftex-create-bibtex-footer):
1195 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1196 (rst-indent-literal-normal, rst-indent-literal-minimized)
1197 (rst-indent-comment): Add missing custom :version tags.
1198
1199 * calendar/timeclock.el (timeclock-modeline-display):
1200 Add missing obsolete alias for renamed user option.
1201
1202 * strokes.el (strokes-modeline-string):
1203 * emulation/crisp.el (crisp-mode-modeline-string):
1204 * eshell/esh-mode.el (eshell-status-in-modeline):
1205 Aliases to defcustoms must come before the defcustom.
1206
1207 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1208 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1209 (cal-tex-cursor-week-monday): Doc fixes.
1210 (cal-tex-cursor-week2-summary): Doc fix.
1211 Rename from cal-tex-cursor-week-at-a-glance.
1212
1213 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1214 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1215
1216 * calendar/calendar.el (calendar-mode-map):
1217 Add cal-tex-cursor-week2-summary.
1218
1219 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1222
1223 * subr.el (read-passwd-map): New var.
1224 (read-passwd): Use `read-string' again.
1225 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1226
1227 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1228
1229 * register.el (append-to-register, prepend-to-register):
1230 Deactivate mark, as does `copy-to-register' (bug#12389).
1231
1232 2012-10-06 Chong Yidong <cyd@gnu.org>
1233
1234 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1235
1236 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1237
1238 * international/characters.el: Fix simple mistake ((car chars) ->
1239 elt), delete duplicated code.
1240
1241 2012-10-06 Glenn Morris <rgm@gnu.org>
1242
1243 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1244
1245 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1246
1247 * color.el (color-hsl-to-rgb): Fix incorrect results for
1248 small and large hue values. (Bug#12559)
1249
1250 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1251
1252 Enhancements to docstring formatting when filling paragraphs.
1253 * progmodes/python.el (python-fill-docstring-style): Rename from
1254 python-fill-string-style. Added new style.
1255 (python-fill-string): Use new style. Better checks for
1256 docstrings.
1257
1258 2012-10-05 Glenn Morris <rgm@gnu.org>
1259
1260 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1261
1262 * color.el (color-name-to-rgb, color-rgb-to-hex)
1263 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1264 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1265 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1266 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1267
1268 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1269
1270 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1271
1272 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1273 to get the correct size across symlinks.
1274
1275 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1276
1277 2012-10-04 Juri Linkov <juri@jurta.org>
1278
1279 * replace.el (query-replace-interactive): Declare obsolete.
1280 (query-replace-read-from): Add the last incremental search string
1281 to the list of default values accessible via M-n.
1282 (map-query-replace-regexp): Use `read-regexp'.
1283 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1284 (map-query-replace-regexp, replace-string, replace-regexp):
1285 Fix docstrings to replace mentions of `query-replace-interactive'
1286 with alternatives. (Bug#12526)
1287
1288 2012-10-04 Juri Linkov <juri@jurta.org>
1289
1290 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1291 (dired-pop-to-buffer): Declare obsolete.
1292 (dired-mark-pop-up): Doc fix.
1293
1294 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1295
1296 Allow user to set docstring style for fill-paragraph.
1297 * progmodes/python.el
1298 (python-fill-comment-function, python-fill-string-function)
1299 (python-fill-decorator-function, python-fill-paren-function):
1300 Remove :safe for defcustoms.
1301 (python-fill-string-style): New defcustom
1302 (python-fill-paragraph-function): Enhance context detection.
1303 (python-fill-string): Honor python-fill-string-style settings.
1304
1305 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1306
1307 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1308 after setting its buffer (Bug#10805).
1309
1310 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1311
1312 Fix cornercase for string syntax.
1313 * progmodes/python.el (python-syntax-propertize-function):
1314 Simplify and enhance the regexp for unescaped quotes. Now it also
1315 matches quotes in weird situations like the single quote in
1316 "something\"'".
1317 (python-syntax-stringify): Simplify num-quotes detecting code.
1318
1319 2012-10-03 Glenn Morris <rgm@gnu.org>
1320
1321 * help-macro.el (three-step-help):
1322 Revert 2012-09-29 change. (Bug#12567)
1323
1324 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1325
1326 * menu-bar.el (kill-this-buffer): Don't do anything when
1327 `menu-frame' is not alive or visible (Bug#8184).
1328
1329 * emacs-lisp/debug.el (debug): When quitting the debugger window
1330 restore current buffer (Bug#12502).
1331
1332 2012-10-02 Chong Yidong <cyd@gnu.org>
1333
1334 * progmodes/hideif.el (hif-lookup, hif-defined):
1335 Handle semantic-c-takeover-hideif.
1336
1337 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1338
1339 Change sampling interval units from ms to ns.
1340 * profiler.el (profiler-sampling-interval): Change units
1341 from ms to ns, multiplying the default by 1000000 so that
1342 it remains 1 ms.
1343 (profiler-report-cpu-line-format): Give enough room for
1344 the maximum counters on 64-bit hosts.
1345 (profiler-report-render-calltree-1): Call them "CPU samples",
1346 not "Time (ms)", since they are not milliseconds now (and
1347 never really were).
1348
1349 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1350
1351 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1352 Fix querying BBDB for entries without a last name (Bug#11580).
1353
1354 2012-10-02 Chong Yidong <cyd@gnu.org>
1355
1356 * emacs-lisp/eieio.el: Restore Version header.
1357
1358 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * vc/diff-mode.el (diff--auto-refine-data): New var.
1361 (diff-hunk): Use it to delay refinement.
1362 (diff-mode): Remove overlays when we turn off font-lock.
1363
1364 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1365 (table-initialize-table-fixed-width-mode)
1366 (table-set-table-fixed-width-mode): Remove functions.
1367 (table-command-list): Move initialization into declaration.
1368 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1369 (table-with-cache-buffer): Use `declare'.
1370 (table-span-cell): Simplify via CSE.
1371 (table-fixed-width-mode): Use define-minor-mode.
1372 (table-call-interactively, table-funcall, table-apply): Remove.
1373 (table-function): New function, to replace them.
1374
1375 * bookmark.el (bookmark-search-pattern): Remove var.
1376 (bookmark-read-search-input): Remove function.
1377 (bookmark-bmenu-search): Reimplement using a minibuffer.
1378
1379 * faces.el (modeline): Remove obsolete face name.
1380
1381 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1382 and give a non-nil default value.
1383 (add-change-log-entry): Simplify accordingly.
1384
1385 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1386
1387 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1388 (vc-git-log-edit-toggle-amend): New function.
1389 (vc-git-log-edit-toggle-signoff): New function.
1390 (vc-git-log-edit-mode): New major mode.
1391 (vc-git-log-edit-mode-map): Keymap for it.
1392 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1393
1394 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1395 header names.
1396 (log-edit-toggle-header): New function.
1397 (log-edit-extract-headers): Accept function values in HEADERS alist.
1398
1399 2012-10-01 David Engster <deng@randomsample.de>
1400
1401 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1402 from symbol property and change message to be more consistent with
1403 Emacs proper.
1404 (eieio-describe-generic): Add filename for each implementation.
1405 Fix indices for generic and normal methods.
1406 (eieio-method-def, eieio-class-def): New buttons.
1407 (eieio-help-find-method-definition)
1408 (eieio-help-find-class-definition): New functions.
1409 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1410 class, constructor and method definitions.
1411
1412 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1413 information in symbol property.
1414 (scoped-class): Remove.
1415 (eieio-slot-name-index, call-next-method): Check if it is bound.
1416
1417 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1418
1419 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1420 (eieio-custom-mode): New major mode.
1421 (eieio-customize-object): Use it.
1422
1423 2012-10-01 Eric Ludlam <zappo@gnu.org>
1424
1425 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1426 specifying the expected class, and whether subclassing is allowed.
1427 (eieio-persistent-convert-list-to-object):
1428 (eieio-persistent-validate/fix-slot-value)
1429 (eieio-persistent-slot-type-is-class-p): New functions.
1430 (eieio-named::slot-missing): Doc fix.
1431
1432 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1433 Stop using unused publd variable.
1434
1435 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1436 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1437 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1438 (eieio-speedbar-handle-click): Do not specify a class for the
1439 method. Fixes method invocation order problems with EDE.
1440
1441 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1444 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1445
1446 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1447
1448 * bookmark.el (bookmark-version-control): Give tags in the
1449 :type choices (Bug#12309), and improve doc string.
1450 (bookmark-write-file): Bind `print-circle' to `t' to allow
1451 circular custom bookmark types. (Bug#12503)
1452
1453 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1454
1455 Revert the FOLLOW-SYMLINKS change for file-attributes.
1456 * files.el (remote-file-name-inhibit-cache, after-find-file):
1457 * time.el (display-time-file-nonempty-p): Undo last change.
1458
1459 * profiler.el (profiler-sampling-interval): Change default back to 1.
1460 See Stefan Monnier in
1461 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1462
1463 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1464
1465 Shell output catching a la gud-gdb.
1466 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1467 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1468 New Vars.
1469 (python-shell-fetch-lines-filter): New function.
1470 (python-shell-send-string-no-output): Use them.
1471
1472 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1473
1474 * profiler.el (profiler-sampling-interval): Rename from
1475 profiler-sample-interval.
1476 (profiler-sampling-interval): Default to 10.
1477 (profiler-find-profile): New command (was profiler-find-log).
1478 (profiler-find-profile-other-window): New command.
1479 (profiler-find-profile-other-frame): New command.
1480 (profiler-profile): Introduce API-level data structure.
1481
1482 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1483
1484 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1485 * files.el (remote-file-name-inhibit-cache):
1486 * time.el (display-time-file-nonempty-p): Use it.
1487 * files.el (after-find-file): Don't chase links before calling
1488 file-exists-p, as file-exists-p already does the right thing.
1489
1490 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1491
1492 Merge from standalone RefTeX repository.
1493
1494 The following ChangeLog entries are shortened versions of the
1495 original ones with file paths adapted. A not so strongly edited
1496 version of the original ChangeLog can be found in the commit log.
1497
1498 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1499 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1500 Correctly handle new value type returned by `reftex-citation'.
1501
1502 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1503 that entries with whitespace at various places are found.
1504 Doc fix. Include entries that are cross-referenced from cited entries.
1505 Include @String definitions in the resulting bib file. Add header
1506 and footer defined in `reftex-create-bibtex-header' and
1507 `reftex-create-bibtex-footer'.
1508 (reftex-do-citation): Make it possible again to insert
1509 non-existent entries. Save match data when asking for optional
1510 arguments. Return all keys, not just the first one.
1511 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1512 all citations in the same line.
1513 (reftex-parse-bibtex-entry): Accept additional optional argument
1514 `raw' and keep quotes or braces if it is non-nil. Match fields
1515 containing hyphens besides word constituents.
1516 (reftex-get-string-refs): New function.
1517 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1518 and ask if it should be reread in case it did.
1519 (reftex-pop-to-bibtex-entry)
1520 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1521 entries with spaces or tabs in front of arguments.
1522 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1523 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1524 Match entries containing numbers and symbol constituents.
1525 (reftex-do-citation, reftex-figure-out-cite-format):
1526 Use `reftex-cite-key-separator'.
1527
1528 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1529 (reftex-mouse-view-crossref): Explain why point is set.
1530
1531 * textmodes/reftex-global.el: Whitespace changes.
1532
1533 * textmodes/reftex-index.el: Move provide statement to end of
1534 file.
1535 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1536 (reftex-index-visit-phrases-buffer): Set marker when visiting
1537 buffer. This allows for returning from the phrases file to the
1538 file one was just editing instead of the file where the last
1539 phrases was added from.
1540 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1541 punctuation syntax as it usually is not used as string quote in
1542 TeX-related modes and may occur unmatched. The change also
1543 prevents fontification of quoted content.
1544 (reftex-index-phrases-mode): Use it.
1545
1546 * textmodes/reftex-parse.el (reftex-parse-from-file):
1547 Move backward one char if a `\' was matched after a section macro.
1548 (reftex-parse-from-file): Use beginning of match instead of end as
1549 bound.
1550
1551 * textmodes/reftex-ref.el: Adapt creation of
1552 `reftex-<package>-<macro>' functions to new structure of
1553 `reftex-ref-style-alist'.
1554 (reftex-reference): Use `reftex-ref-style-list' function.
1555 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1556 reference macro if `reftex-ref-macro-prompt' is non-nil.
1557 (reftex-reference): Pass refstyle to `reftex-format-special'.
1558 Determine reference macro by looking at
1559 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1560 Use only one special format function.
1561 (reftex-varioref-vref, reftex-fancyref-fref)
1562 (reftex-fancyref-Fref): Remove definitions. The functions are now
1563 generated from `reftex-ref-style-alist'.
1564 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1565 Remove.
1566 (reftex-format-special): New function.
1567
1568 * textmodes/reftex-sel.el
1569 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1570 of `reftex-ref-style-alist'. Remove code for testing macro type.
1571 (reftex-select-toggle-varioref)
1572 (reftex-select-toggle-fancyref): Remove.
1573 (reftex-select-cycle-ref-style-internal)
1574 (reftex-select-cycle-ref-style-forward)
1575 (reftex-select-cycle-ref-style-backward): New functions.
1576 (reftex-select-label-map): Use `v' and `V' for general cycling
1577 through reference styles. Add `p' for switching between number
1578 and page reference types.
1579
1580 * textmodes/reftex-toc.el (reftex-re-enlarge):
1581 Call `enlarge-window' only if there is something to do because in Emacs
1582 the horizontal version throws an error even if the parameter is 0.
1583
1584 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1585 (reftex-plug-into-AUCTeX): Doc fix.
1586 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1587 string. Adapt to new name.
1588 (reftex-ref-style-alist): Change structure so that it is not
1589 possible to use multiple different package names within a style.
1590 Remove the symbols for symbols for macro type distinction.
1591 Add characters for macro selection.
1592 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1593 (reftex-create-bibtex-footer): New variables.
1594 (reftex-format-ref-function): Mention third argument of special
1595 format function.
1596 (reftex-ref-style-alist, reftex-ref-style-default-list):
1597 New variables.
1598 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1599 to new implementation. Mark as obsolete. Add compatibility code
1600 for honoring the variable values in case they are set.
1601 (reftex-cite-format-builtin, reftex-bibliography-commands):
1602 Add support for ConTeXt.
1603 (reftex-format-ref-function, reftex-format-cite-function):
1604 Fix custom type.
1605 (reftex-cite-key-separator): New variable.
1606
1607 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1608 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1609 `reftex-syntax-table' because parens have to retain their paren
1610 syntax in order for parsing of BibTeX entries like @book(...) to
1611 work.
1612 (reftex-in-comment): Do not error out if `comment-start-skip' is
1613 not set. Deal correctly with escaped comment characters.
1614 (reftex-tie-multifile-symbols): Add doc string.
1615 Initialize `reftex-ref-style-list'.
1616 (reftex-untie-multifile-symbols): Add doc string.
1617 (reftex-add-index-macros): Doc fix.
1618 (reftex-ref-style-activate, reftex-ref-style-toggle)
1619 (reftex-ref-style-list): New functions.
1620 (reftex-mode-menu): Use them. Adapt to new structure of
1621 `reftex-ref-style-alist'.
1622 (reftex-select-with-char): Kill the RefTeX Select buffer when
1623 done.
1624 (reftex-remove-if): New function.
1625 (reftex-erase-all-selection-and-index-buffers)
1626 (reftex-mode-menu): Reference styles are now computed from
1627 `reftex-ref-style-alist'. Fix typo.
1628 (reftex-report-bug): New function.
1629 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1630 algorithms with O(n log n). Introduce optional argument SORT (not
1631 yet used).
1632
1633 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1634
1635 Enhancements for triple-quote string syntax.
1636 * progmodes/python.el (python-syntax-propertize-function):
1637 Match both quote cases in one regexp.
1638 (python-syntax-stringify): Handle matches properly.
1639
1640 2012-09-30 Juri Linkov <juri@jurta.org>
1641
1642 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1643 to nil around the call to `insert' to prevent
1644 directory time modification by lock_file. (Bug#2295)
1645 * tar-mode.el (tar-summarize-buffer): Idem.
1646
1647 2012-09-30 Juri Linkov <juri@jurta.org>
1648
1649 * facemenu.el (list-colors-sort): Add option "Luminance".
1650 (list-colors-sort-key): Implement it.
1651
1652 * vc/diff-mode.el (diff-refine-removed):
1653 * vc/ediff-init.el (ediff-fine-diff-A):
1654 * vc/smerge-mode.el (smerge-refined-removed):
1655 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1656
1657 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1658
1659 * term/ns-win.el (x-file-dialog): New function.
1660
1661 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1662
1663 * ido.el (ido-max-directory-size): Default to nil; the current
1664 default is small for POSIX systems, and impractical on Windows 7
1665 now that lstat returns directory sizes for NTFS.
1666
1667 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1668
1669 In buffer display functions handle window-height/window-width
1670 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1671 * window.el (window--display-buffer): New argument ALIST.
1672 Obey window-height and window-width alist entries.
1673 (window--try-to-split-window): New argument ALIST.
1674 Bind window-combination-limit to t when the window's size shall be
1675 changed and window-combination-limit equals `window-size'.
1676 (display-buffer-in-atom-window)
1677 (display-buffer-in-major-side-window)
1678 (display-buffer-in-side-window, display-buffer-same-window)
1679 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1680 (display-buffer-pop-up-window, display-buffer-below-selected)
1681 (display-buffer-at-bottom, display-buffer-in-previous-window)
1682 (display-buffer-use-some-window): Adjust all callers of
1683 window--display-buffer and window--try-to-split-window.
1684 (fit-frame-to-buffer): New option.
1685 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1686 is non-nil.
1687 (display-buffer-in-major-side-window): Evaluate window-height /
1688 window-width alist entries.
1689
1690 * help.el (temp-buffer-resize-frames)
1691 (temp-buffer-resize-regexps): Remove options.
1692 (temp-buffer-resize-mode): Adjust doc-string.
1693 (resize-temp-buffer-window): Don't consult
1694 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1695 temp-buffer-resize-frames.
1696
1697 * dired.el (dired-mark-pop-up):
1698 Call display-buffer-below-selected with a fit-window-to-buffer alist
1699 entry.
1700
1701 2012-09-30 Chong Yidong <cyd@gnu.org>
1702
1703 * server.el (server-host): Document the security implications.
1704 (server-auth-key): Doc fix.
1705
1706 * startup.el (initial-buffer-choice): Doc fix.
1707
1708 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1709
1710 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1711 restriction change.
1712
1713 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1714
1715 * help-fns.el (help-fns--obsolete): Fix last change.
1716
1717 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1720 (minor-mode-map-alist): Remove redundant code.
1721
1722 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1723 visited in a buffer.
1724 (cvs-insert-visited-file): New function.
1725 (find-file-hook): Use it.
1726
1727 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1728
1729 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1730 chose face.
1731 (log-edit-empty-buffer-p): Don't require a space after a header.
1732
1733 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1734
1735 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1736
1737 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1738 a proper minor-mode.
1739
1740 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1741
1742 2012-09-29 Glenn Morris <rgm@gnu.org>
1743
1744 * winner.el (winner-mode): Remove variable (let define-minor-mode
1745 handle it).
1746 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1747 Doc fixes.
1748 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1749 (winner-mode): Use define-minor-mode.
1750
1751 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1752 the full definition in loaddefs, rather than duplicating it.
1753
1754 * help-macro.el (three-step-help): No need to autoload defcustom.
1755
1756 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1757 (inferior-lisp-program, inferior-lisp-load-command)
1758 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1759 No need to autoload defcustoms.
1760
1761 * hippie-exp.el (hippie-expand-try-functions-list)
1762 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1763 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1764 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1765 (hippie-expand-only-buffers): No need to autoload defcustoms.
1766 * progmodes/vhdl-mode.el (vhdl-line-expand):
1767 Explicitly load hippie-exp, so it does not get autoloaded
1768 while hippie-expand-try-functions-list is let-bound.
1769
1770 2012-09-28 Glenn Morris <rgm@gnu.org>
1771
1772 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1773
1774 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1775 Only "cl.el" counts as cl these days.
1776
1777 2012-09-28 Juri Linkov <juri@jurta.org>
1778
1779 Display archive errors in the echo area instead of inserting
1780 to the file buffer.
1781
1782 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1783 to STDERR-TEST that can be a regexp matching a successful output.
1784 Create a temporary file and redirect stderr to it. Search for
1785 STDERR-TEST in the stderr output and display it in the echo area
1786 if no match is found.
1787 (archive-extract-by-file): New function like
1788 `archive-extract-by-stdout' but extracting archives to files
1789 and looking for successful matches in stdout. Function body is
1790 mostly copied from `archive-rar-extract'.
1791 (archive-rar-extract): Use `archive-extract-by-file'.
1792 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1793
1794 2012-09-28 Leo Liu <sdl.web@gmail.com>
1795
1796 * pcomplete.el (pcomplete-show-completions):
1797 Use minibuffer-message to make pcomplete usable in minibuffer.
1798
1799 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1800
1801 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * type-break.el: Use lexical-binding.
1804 (type-break-mode): Use define-minor-mode.
1805
1806 * emacs-lisp/pcase.el (pcase--mark-used): New.
1807 (pcase--u1): Use it (bug#12512).
1808
1809 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1810 in load-history with the right file name.
1811
1812 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1813
1814 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1815 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1816 (doc-view-get-bounding-box): Make bounding box slicing work for
1817 ODF and DVI documents.
1818
1819 2012-09-28 Glenn Morris <rgm@gnu.org>
1820
1821 * type-break.el (type-break-mode, type-break-interval)
1822 (type-break-good-rest-interval, type-break-keystroke-threshold):
1823 No need to autoload.
1824 (type-break-good-rest-interval, type-break-keystroke-threshold):
1825 Add :set-after.
1826
1827 2012-09-28 Chong Yidong <cyd@gnu.org>
1828
1829 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1830 Add :version tag.
1831
1832 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1835
1836 2012-09-27 Glenn Morris <rgm@gnu.org>
1837
1838 * faces.el (x-display-name): Declare (for without-x builds).
1839
1840 * linum.el (linum-format): Don't autoload it. Improve :type.
1841
1842 * progmodes/tcl.el: Don't require outline when compiling.
1843 (outline-regexp, outline-level): Declare.
1844 * textmodes/sgml-mode.el: Don't require outline when compiling.
1845 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1846
1847 * term.el (term-ansi-reset):
1848 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1849
1850 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1851 files for RCS and SCCS. (Bug#9781)
1852
1853 2012-09-27 Chong Yidong <cyd@gnu.org>
1854
1855 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1856 change; value should be t.
1857
1858 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * image-mode.el: Use lexical-binding.
1861 (image-mode-winprops): Use t to stand for the window of
1862 a buffer that's not displayed.
1863 * doc-view.el (doc-view-new-window-function): Handle the new
1864 t in winprops.
1865 (doc-view-enlarge): Make it a real nop if the size is not changed.
1866 (doc-view-display): Handle the case where the buffer is not (yet?)
1867 displayed in any window.
1868 (doc-view-saved-settings): New var.
1869 (doc-view-mode): Use it.
1870 (doc-view-fallback-mode): Set it.
1871
1872 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1873 Set lexical-binding.
1874 (minibuffer-eldef-shorten-default): New var.
1875 (minibuffer-default-in-prompt-regexps): Use it for new default.
1876 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1877
1878 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * international/uni-bidi.el:
1881 * international/uni-category.el:
1882 * international/uni-name.el:
1883 * international/uni-numeric.el: Regenerate.
1884
1885 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1886 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * profiler.el: New file.
1889
1890 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1893 (testcover-reinstrument): Simplify with CSE.
1894
1895 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1896
1897 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1898
1899 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1900
1901 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1902 (verilog-auto-input, verilog-auto-insert-lisp)
1903 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1904 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1905 (verilog-auto-unused, verilog-auto-wire)
1906 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1907 newline. Reported by Andrew Jones.
1908 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1909 Reported by Brad Dobbie.
1910 (verilog-batch-delete-trailing-whitespace):
1911 Create verilog-batch-delete-trailing-whitespace.
1912 Reported by Brad Dobbie.
1913 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1914 parameters from another module. Reported by Dan Katz.
1915 (verilog-auto, verilog-auto-assign-modport)
1916 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1917 AUTOINOUTMODPORT for UVM interface module shell generation.
1918 Reported by Brad Dobbie.
1919 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1920 standard behavior.
1921 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1922 Reported by Matt Martin.
1923
1924 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1925
1926 * window.el (window--resize-child-windows): When resizing child
1927 windows proportionally, process them in reverse order to
1928 preserve the "when splitting a window the new one gets the odd
1929 line" behavior.
1930 (window--resize-root-window-vertically): When resizing the
1931 minibuffer window try to affect only windows at the bottom of the
1932 frame. (Bug#12419)
1933
1934 2012-09-25 Chong Yidong <cyd@gnu.org>
1935
1936 * subr.el (declare): Doc fix.
1937
1938 * help-fns.el (help-fns--obsolete): Handle macros properly.
1939
1940 2012-09-25 Chong Yidong <cyd@gnu.org>
1941
1942 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1943 this function obsolete.
1944
1945 * calendar/cal-x.el (calendar-two-frame-setup)
1946 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1947 * calendar/calendar.el (american-calendar, european-calendar)
1948 (calendar-for-loop):
1949 * comint.el (comint-dynamic-simple-complete)
1950 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1951 * desktop.el (desktop-load-default):
1952 * dired-x.el (dired-omit-here-always)
1953 (dired-hack-local-variables, dired-default-directory):
1954 * emacs-lisp/derived.el (derived-mode-class):
1955 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1956 * emacs-lock.el (toggle-emacs-lock):
1957 * epa.el (epa-display-verify-result):
1958 * epg.el (epg-sign-keys, epg-start-sign-keys)
1959 (epg-passphrase-callback-function):
1960 * eshell/esh-util.el (eshell-for):
1961 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1962 (eshell-add-to-window-buffer-names):
1963 * files.el (locate-file-completion):
1964 * imenu.el (imenu-example--create-c-index)
1965 (imenu-example--create-lisp-index)
1966 (imenu-example--lisp-extract-index-name)
1967 (imenu-example--name-and-position):
1968 * international/mule-cmds.el (princ-list):
1969 * international/mule-diag.el (decode-codepage-char):
1970 * international/mule-util.el (detect-coding-with-priority):
1971 * iswitchb.el (iswitchb-read-buffer):
1972 * mail/mailalias.el (mail-complete):
1973 * mail/sendmail.el (mail-sent-via):
1974 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1975 (mouse-major-mode-menu):
1976 * password-cache.el (password-read-and-add):
1977 * pcomplete.el (pcomplete-parse-comint-arguments):
1978 * progmodes/sh-script.el (sh-maybe-here-document):
1979 * replace.el (query-replace-regexp-eval):
1980 * savehist.el (savehist-load):
1981 * simple.el (choose-completion-delete-max-match):
1982 * term.el (term-dynamic-simple-complete):
1983 * vc/ediff-init.el (ediff-check-version):
1984 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1985 * vc/vc.el (vc-diff-switches-list):
1986 * view.el (view-return-to-alist-update): Likewise.
1987
1988 * subr.el (eval-next-after-load, makehash, insert-string)
1989 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1990 mark obsolete.
1991 (mode-line-inverse-video): Variable deleted.
1992
1993 * international/mule-util.el (string-to-sequence): Remove.
1994
1995 * calendar/calendar.el (calendar-version):
1996 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1997 (icalendar-convert-diary-to-ical):
1998 * cus-edit.el (custom-mode):
1999 * ansi-color.el (ansi-color-unfontify-region):
2000 * international/latin1-disp.el (latin1-char-displayable-p):
2001 * progmodes/cwarn.el (turn-on-cwarn-mode):
2002 * progmodes/which-func.el (which-func-update-1):
2003 Use define-obsolete-function-alias.
2004
2005 * net/newst-backend.el (newsticker-cache-filename):
2006 * net/newst-treeview.el (newsticker-groups-filename):
2007 Fix incorrect obsolescence declaration.
2008
2009 * allout.el (allout-passphrase-hint-string): Likewise.
2010 (allout-init): Use a declare form to mark obsolete.
2011
2012 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2013 this applies to functions.
2014
2015 * iswitchb.el (iswitchb-read-buffer): Move code of
2016 iswitchb-define-mode-map here, and delete that obsolete function.
2017
2018 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2019 font-lock-reference-face.
2020
2021 2012-09-25 Glenn Morris <rgm@gnu.org>
2022
2023 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2024 Doc fixes.
2025
2026 * eshell/em-term.el (eshell-term-name):
2027 Default to term-term-name. (Bug#12485)
2028
2029 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2030
2031 * progmodes/python.el (python-shell-send-buffer): Better handling
2032 of "if __name__ == '__main__':" conditionals when sending the buffer.
2033
2034 2012-09-24 Glenn Morris <rgm@gnu.org>
2035
2036 * eshell/esh-cmd.el (eshell-find-alias-function):
2037 Tighten up file-name regexp. (Bug#12499)
2038
2039 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2040
2041 Enhancements for triple-quote string syntax.
2042 * progmodes/python.el (python-quote-syntax): Remove.
2043 (python-syntax-propertize-function): New value.
2044 (python-syntax-count-quotes, python-syntax-stringify):
2045 New functions.
2046
2047 2012-09-24 Chong Yidong <cyd@gnu.org>
2048
2049 * mail/supercite.el (sc-version): Remove obsolete function.
2050 (sc-describe): Don't mark as obsolete, since it is bound.
2051 (sc-submit-bug-report): Remove.
2052
2053 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2054 (cvs-commit-buffer-require-final-newline): Remove.
2055 (log-edit-require-final-newline)
2056 (log-edit-changelog-full-paragraphs): Default to t.
2057
2058 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2059 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2060 * vc/vc.el (vc-checkout-carefully): Likewise.
2061
2062 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2063 (emerge-version): Remove.
2064
2065 * progmodes/compile.el (compile-internal): Remove.
2066 (compilation-parse-errors-function): Fix typo.
2067
2068 * international/mule.el (set-char-table-default): Remove.
2069 (set-coding-priority, make-coding-system, generic-char-p)
2070 (charset-list, charset-bytes, charset-id): Use declare to mark
2071 functions as obsolete.
2072
2073 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2074 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2075 * vc/vc-hooks.el (vc-default-registered): Don't use
2076 vc-master-templates.
2077
2078 * font-lock.el (font-lock-reference-face):
2079 Use define-obsolete-variable-alias.
2080
2081 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2082 * calendar/calendar.el (calendar-font-lock-keywords):
2083 * calendar/diary-lib.el (diary-font-lock-keywords)
2084 (diary-fancy-font-lock-keywords):
2085 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2086 * textmodes/reftex-index.el (reftex-insert-index):
2087 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2088 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2089 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2090 * progmodes/prolog.el (prolog-font-lock-keywords):
2091 * progmodes/idlwave.el (idlwave-idl-keywords):
2092 * progmodes/ada-mode.el (ada-font-lock-keywords):
2093 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2094
2095 2012-09-24 Glenn Morris <rgm@gnu.org>
2096
2097 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2098
2099 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2100
2101 * progmodes/python.el (python-indent-line): More consistent cursor
2102 movement behavior.
2103
2104 2012-09-23 Stefan Merten <smerten@oekonux.de>
2105
2106 * textmodes/rst.el: Fix compiler warning.
2107
2108 2012-09-23 Roland Winkler <winkler@gnu.org>
2109
2110 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2111 Transcribe also LaTeX hyphenation.
2112 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2113 bibtex-reformat-previous-options.
2114
2115 2012-09-23 Roland Winkler <winkler@gnu.org>
2116
2117 * proced.el (proced-renice-command): New variable.
2118 (proced-marked-processes): New function.
2119 (proced-with-processes-buffer): New macro.
2120 (proced-send-signal): Use them.
2121 (proced-renice): New command bound to r.
2122
2123 2012-09-23 Roland Winkler <winkler@gnu.org>
2124
2125 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2126 ibuffer-saved-filter-groups has one element, shortcut the call of
2127 completing-read. (Bug#12331)
2128
2129 2012-09-23 Chong Yidong <cyd@gnu.org>
2130
2131 * bindings.el (mode-line-toggle-read-only):
2132 * bs.el (bs-toggle-readonly):
2133 * buff-menu.el (Buffer-menu-toggle-read-only):
2134 * dired.el (dired-toggle-read-only):
2135 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2136
2137 2012-09-23 Chong Yidong <cyd@gnu.org>
2138
2139 * image.el (image-type-available-p): Adapt to init-image-library
2140 argument changes.
2141
2142 2012-09-22 Juri Linkov <juri@jurta.org>
2143
2144 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2145 `dired-toggle-read-only'. (Bug#12462)
2146
2147 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2148
2149 * subr.el (temp-output-buffer-show): New function.
2150 (with-output-to-temp-buffer): Call temp-output-buffer-show
2151 instead of internal-temp-output-buffer-show.
2152
2153 2012-09-22 Chong Yidong <cyd@gnu.org>
2154
2155 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2156 (Bug#12462).
2157
2158 * repeat.el (repeat): Doc fix (Bug#12348).
2159
2160 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2161 (Bug#10909).
2162
2163 * simple.el (shell-command-on-region): Doc fix.
2164 (read-only-mode): Doc fix.
2165
2166 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2167
2168 * emacs-lisp/timer.el (run-with-idle-timer)
2169 (timer-activate-when-idle): Warn against reinvoking an idle timer
2170 from within its own timer action. (Bug#12447)
2171
2172 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2173
2174 * cus-start.el (window-combination-limit): Add new optional
2175 values.
2176 * window.el (temp-buffer-window-show)
2177 (window--try-to-split-window): Handle new values of
2178 window-combination-limit (Bug#1806).
2179 (split-window): Test window-combination-limit for t instead of
2180 non-nil.
2181 (display-buffer-at-bottom): New buffer display action function.
2182 * help.el (temp-buffer-resize-regexps): New option.
2183 (temp-buffer-resize-mode): Rewrite doc-string.
2184 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2185 Don't resize reused window. Suggested by Glenn Morris.
2186
2187 2012-09-22 Stefan Merten <smerten@oekonux.de>
2188
2189 * textmodes/rst.el: Revamp section title faces.
2190 (rst-official-version)
2191 (rst-package-emacs-version-alist): Sync with official version
2192 V1.4.0.
2193 (rst-faces-defaults, rst-set-level-default)
2194 (rst-level-face-max, rst-level-face-base-color)
2195 (rst-level-face-base-light, rst-level-face-format-light)
2196 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2197 (rst-adornment-faces-alist): Match new setup.
2198 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2199 (rst-level-5, rst-level-6): New faces.
2200
2201 2012-09-22 Chong Yidong <cyd@gnu.org>
2202
2203 * simple.el (undo): Handle indirect buffers (Bug#8207).
2204
2205 2012-09-21 Leo Liu <sdl.web@gmail.com>
2206
2207 IDO: Disable match re-ordering for buffer switching.
2208 * ido.el (ido-buffer-disable-smart-matches): New variable.
2209 (ido-set-matches-1): Use it. (Bug#2042)
2210
2211 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2212
2213 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2214 Fix 2011-05-17 change. (Bug#12418)
2215
2216 2012-09-21 Leo Liu <sdl.web@gmail.com>
2217
2218 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2219
2220 2012-09-21 Glenn Morris <rgm@gnu.org>
2221
2222 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2223 Be more robust about locating simple.el.
2224
2225 2012-09-21 Glenn Morris <rgm@gnu.org>
2226
2227 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2228
2229 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2230
2231 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2232
2233 2012-09-20 Juri Linkov <juri@jurta.org>
2234
2235 * replace.el (query-replace-read-from): Use `read-regexp' instead
2236 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2237 (occur-read-primary-args): Use `read-regexp' instead of
2238 `read-string'.
2239 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2240 `read-from-minibuffer'.
2241 * isearch.el (isearch-occur): Use `read-regexp' instead of
2242 `read-string'.
2243 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2244 `read-from-minibuffer'.
2245 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2246 of `read-string'. (Bug#7567)
2247
2248 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2249 and allow accepting a list of strings prepended to a list of
2250 standard default values. Doc fix. (Bug#12321)
2251
2252 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2253
2254 * replace.el (read-regexp): Don't add ": " when PROMPT already
2255 ends with a colon and space. (Bug#12321)
2256
2257 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2258
2259 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2260 error.
2261
2262 2012-09-20 Stefan Merten <smerten@oekonux.de>
2263
2264 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2265 Fixes feature request bug#11711.
2266 (rst-mode): Create `imenu-create-index-function'.
2267 (rst-get-stripped-line): Delete after refactoring.
2268 (rst-section-tree, rst-section-tree-rec)
2269 (rst-section-tree-point): Refactor and document properly.
2270 (rst-imenu-find-adornments-for-position)
2271 (rst-imenu-convert-cell, rst-imenu-create-index):
2272 New function.
2273
2274 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2277 (macroexp--expand-all): Use it.
2278 (macroexp--funcall-and-return): Remove by folding it into its sole
2279 caller (macroexp--warn-and-return).
2280 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2281 Use macroexp--obsolete-warning.
2282
2283 * calc/calc.el: Fix last change by removing the whole chunk, since it
2284 was only needed back when Calc was not bundled.
2285
2286 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2287
2288 * emacs-lisp/debug.el (debug): Restore assignment to
2289 debugger-old-buffer removed on 2012-09-08.
2290
2291 2012-09-20 Juri Linkov <juri@jurta.org>
2292
2293 * dired-aux.el (dired-diff): Remove (require 'diff) since
2294 `diff-latest-backup-file' is now autoloaded.
2295
2296 2012-09-20 Chong Yidong <cyd@gnu.org>
2297
2298 * vc/diff.el (diff-latest-backup-file): Autoload.
2299
2300 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * calc/calc.el: Remove redundant autoload shape check.
2303 (sel-mode): Don't defvar.
2304 (calc-get-stack-element): Add `sel-mode' arg instead.
2305 (calc-top, calc-top-list): Pass it this additional argument.
2306 * calc/calc-store.el (calc-store-map):
2307 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2308 (calc-map-equation, calc-outer-product, calc-inner-product):
2309 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2310
2311 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2312
2313 2012-09-19 Juri Linkov <juri@jurta.org>
2314
2315 * dired-aux.el (dired-diff): Add (require 'diff) because
2316 `diff-latest-backup-file' is not autoloaded.
2317 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2318 of `dired-get-filename' to t to not report error when there is
2319 no default file on the current line.
2320
2321 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2324 macroexp--eval-if-compile.
2325 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2326 (macroexp--expand-all): Use them (bug#12371).
2327
2328 * doc-view.el (doc-view-guess-paper-size)
2329 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2330
2331 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2332
2333 New feature: set optimal slice from BoundingBox information.
2334 * doc-view.el (doc-view-mode-map): Add keybinding.
2335 (doc-view-menu): Add menu entry.
2336 (doc-view-set-slice): Adapt docstring.
2337 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2338 (doc-view-scale-bounding-box)
2339 (doc-view-set-slice-from-bounding-box): New functions.
2340 (doc-view-paper-sizes): New defvar.
2341
2342 2012-09-19 Glenn Morris <rgm@gnu.org>
2343
2344 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2345 (byte-compile-log-warning): Autoload. (Bug#12371)
2346
2347 * calendar/calendar.el (calendar-american-month-header)
2348 (calendar-european-month-header, calendar-iso-month-header)
2349 (calendar-month-header): New options.
2350 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2351 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2352
2353 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2354
2355 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2356
2357 2012-09-18 Juri Linkov <juri@jurta.org>
2358
2359 * dired-aux.el (dired-diff): Restore original functionality of
2360 getting the default value, but keep new feature of using the
2361 latest existing backup file (`diff-latest-backup-file').
2362
2363 2012-09-18 Juri Linkov <juri@jurta.org>
2364
2365 * dired.el (dired-mark): If the region is active in Transient Mark
2366 mode, mark all files in the active region. Doc fix.
2367 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2368 Doc fix. (Bug#10624)
2369
2370 2012-09-18 Juri Linkov <juri@jurta.org>
2371
2372 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2373 attributes for M-n are pulled from the file at point.
2374 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2375 Suggested by Drew Adams. (Bug#10624)
2376
2377 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2380 whitespace after "end".
2381 (ruby-do-end-to-brace): Collapse block to one line if it fits
2382 within fill-column.
2383
2384 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2385
2386 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2387 value.
2388 (debug): Don't remove debugger window when debugger is expected
2389 to be back.
2390
2391 2012-09-18 Chong Yidong <cyd@gnu.org>
2392
2393 * custom.el (defface): Doc fix.
2394
2395 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2396
2397 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2398
2399 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2400 to initialize query-on-exit; then test that instead (bug#12288).
2401
2402 2012-09-17 Stefan Merten <smerten@oekonux.de>
2403
2404 * textmodes/rst.el: Add support for `testcover'.
2405 (rst-defcustom-testcover, rst-testcover-add-compose)
2406 (rst-testcover-add-1value): New functions.
2407 (rst-portable-mark-active-p): Replace by `use-region-p'.
2408 (rst-update-section, rst-classify-adornment)
2409 (rst-find-title-line): Mark `1value' forms.
2410 (rst-classify-adornment): Remove superfluous form.
2411 (rst-update-section, rst-get-adornments-around)
2412 (rst-adornment-complete-p, rst-get-next-adornment)
2413 (rst-adjust, rst-promote-region)
2414 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2415 (rst-find-pfx-in-region, rst-section-tree-rec)
2416 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2417 (rst-toc-node, rst-toc, rst-forward-section)
2418 (rst-iterate-leftmost-paragraphs)
2419 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2420 (rst-bullet-list-region)
2421 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2422 (rst-compile-find-conf, rst-compile)
2423 (rst-repeat-last-character): Fix style.
2424
2425 2012-09-17 Chong Yidong <cyd@gnu.org>
2426
2427 * comint.el (comint--complete-file-name-data): Don't add a space
2428 if the status is `sole'; that adds a gratuitous space in the
2429 completion-cycling case (Bug#12092).
2430
2431 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2432
2433 2012-09-17 Richard Stallman <rms@gnu.org>
2434
2435 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2436 only in the mime-shown mode, not in raw mode.
2437 (rmail-mime): Toggle off mime by displaying the message without
2438 mime processing. (Bug#12305)
2439
2440 * mail/rmail.el (rmail-retry-failure):
2441 Turn off mime processing first. (Bug#12037)
2442
2443 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2444
2445 2012-09-17 Chong Yidong <cyd@gnu.org>
2446
2447 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2448 (shell-dynamic-complete-functions): Convert to defcustom.
2449 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2450
2451 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2452 * comint.el (comint-prompt-read-only):
2453 * custom.el (defcustom):
2454 * hi-lock.el (hi-lock-mode):
2455 * ibuffer.el (ibuffer-formats):
2456 * ielm.el (ielm-prompt-read-only):
2457 * novice.el (disable-command):
2458 * saveplace.el (toggle-save-place):
2459 * speedbar.el (speedbar-supported-extension-expressions):
2460 * startup.el (auto-save-list-file-prefix, init-file-user)
2461 (after-init-hook, inhibit-startup-echo-area-message):
2462 * strokes.el (strokes-help):
2463 * time-stamp.el (time-stamp):
2464 * calendar/calendar.el (calendar, diary-file):
2465 * calendar/diary-lib.el (diary-mail-entries, diary)
2466 (diary-list-entries-hook):
2467 * calendar/holidays.el (holidays, calendar-holidays):
2468 * calendar/lunar.el (lunar-phases):
2469 * calendar/solar.el (sunrise-sunset):
2470 * emulation/edt.el (edt-load-keys):
2471 * emulation/viper.el (viper-mode):
2472 * eshell/em-alias.el (eshell-command-aliases-list):
2473 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2474 * international/ogonek.el (ogonek-information):
2475 * net/tramp-cmds.el (tramp-bug):
2476 * net/quickurl.el (quickurl-reread-hook-postfix):
2477 * play/decipher.el (decipher-font-lock-keywords):
2478 * progmodes/cc-styles.el (c-set-style):
2479 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2480 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2481 * progmodes/octave-mod.el (octave-mode):
2482 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2483 * progmodes/verilog-mode.el (verilog-read-defines):
2484 * textmodes/two-column.el (2C-mode): Likewise.
2485
2486 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2487
2488 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2489 that holds many addresses.
2490
2491 2012-09-16 Chong Yidong <cyd@gnu.org>
2492
2493 * align.el (align-areas): Call the indication function with
2494 positions instead of markers for arguments (Bug#12343).
2495
2496 * files.el (parse-colon-path): Use split-string (Bug#12351).
2497
2498 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2499 (display-buffer-function): Mark as obsolete.
2500
2501 * progmodes/compile.el (compilation-parse-errors): Accept list
2502 values similar to font-lock-keywords (Bug#12136).
2503 Suggested by Oleksandr Manzyuk.
2504 (compilation-error-regexp-alist): Doc fix.
2505
2506 2012-09-15 Glenn Morris <rgm@gnu.org>
2507
2508 * version.el (emacs-bzr-version-bzr): New function.
2509 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2510
2511 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2512 checkouts, check the parent dirstate matches the branch.
2513 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2514 empty string.
2515
2516 * version.el (emacs-bzr-version): Doc fix.
2517 (emacs-bzr-version-dirstate): New function.
2518 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2519 is local try and check that it matches the branch. If not, just
2520 use dirstate information. (Bug#12441)
2521
2522 2012-09-14 Juri Linkov <juri@jurta.org>
2523
2524 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2525 (Bug#12399)
2526
2527 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2530
2531 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2532 Remove obsolete byte-compiler hack that tried to silence some warnings.
2533 (edebug-submit-bug-report): Remove.
2534 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2535 Remove aliases, use the un-prefixed name instead.
2536 (edebug-pop-to-buffer): Consider other frames.
2537 (edebug-original-read):: Make it more obvious that it's always defined.
2538 (edebug--make-form-data-entry, edebug--form-data-name)
2539 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2540 single-dashed name, and implement with cl-defstruct.
2541 (edebug-set-form-data-entry): Use the standard accessors.
2542 (edebug-make-top-form-data-entry): Use push.
2543 (edebug-no-match): Drop useless `funcall'.
2544 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2545 to functions.
2546 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2547 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2548 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2549 (easy-menu-define, with-custom-print): Remove redundant specs.
2550 (edebug-outside-overriding-local-map)
2551 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2552 (edebug--display): Bind unread-command-events directly to nil rather
2553 than binding it to unread-command-events and later setting it to nil.
2554 (edebug--display): Kill edebug-eval-buffer here...
2555 (edebug--recursive-edit): ...rather than here.
2556 Bind standard-output and standard-input.
2557 (edebug-eval): Check cl-macroexpand-all is fboundp.
2558 (edebug-temp-display-freq-count): Fix last change.
2559
2560 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2561 * subr.el (noreturn, 1value): Add `debug' spec.
2562 * emacs-lisp/advice.el: Require cl-lib.
2563 (ad-copy-tree): Remove, use copy-tree instead.
2564 (ad-dolist): Remove use dolist or cl-dolist instead.
2565 (ad-do-return): Remove, use cl-return instead.
2566 (defadvice): Add `debug' spec.
2567
2568 2012-09-13 Juri Linkov <juri@jurta.org>
2569
2570 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2571 (Bug#12399)
2572
2573 2012-09-13 Glenn Morris <rgm@gnu.org>
2574
2575 * calc/calc.el (math-compose-expr):
2576 * calc/calc-ext.el (math-compose-expr):
2577 * progmodes/cc-defs.el (cl-macroexpand-all):
2578 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2579 (cl-macroexpand-all): Update declarations.
2580
2581 * vc/vc.el: No need to require ediff.
2582 (ediff-load-version-control): Declare.
2583 (ediff-vc-internal): Fix declaration.
2584 (vc-version-ediff): Require ediff.
2585
2586 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2587
2588 Use a more backwards-compatible timer format (Bug#12430).
2589 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2590 being right after USECS, as that better supports old code that
2591 inadvisedly looked directly at the timer vector.
2592
2593 2012-09-13 Kenichi Handa <handa@gnu.org>
2594
2595 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2596 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2597 `coding-priority' property of these language environment.
2598
2599 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2600
2601 Fix glitches caused by addition of psec to timers (Bug#12430).
2602 * image.el (image-animate-timer):
2603 * time.el (display-time-world-timer):
2604 Use timer--function and timer--args rather than raw access to
2605 timer vector.
2606
2607 2012-09-13 Glenn Morris <rgm@gnu.org>
2608
2609 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2610 If not compiling a file, try using load-file-name.
2611
2612 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2615 Fix last change.
2616 (edebug-update-eval-list): Use `push'.
2617
2618 * emacs-lisp/edebug.el: Use lexical-binding.
2619 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2620 Mark unused args with underscore.
2621 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2622 (edebug-form-data): Use defvar-local.
2623 (edebug-make-before-and-after-form, edebug-make-after-form):
2624 Use backquote.
2625 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2626 Not dynamically scoped any more.
2627 (edebug--enter-trace): Add arguments `function' and `args'.
2628 Rename from edebug-enter-trace.
2629 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2630 (edebug--update-coverage): Add `after-index' and `value' args.
2631 Rename from edebug-update-coverage.
2632 (edebug-slow-after): Call it accordingly.
2633 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2634 edebug-recursive-edit.
2635 (edebug--display): Call it accordingly. Add args `value',
2636 `offset-index', and `arg-mode'. Rename from edebug-display.
2637 (edebug-debugger, edebug): Call it accordingly.
2638 (edebug-eval-display-list): Use dolist.
2639
2640 2012-09-12 Juri Linkov <juri@jurta.org>
2641
2642 * info.el (Info-search): Don't check for isearch-mode and
2643 isearch-regexp before let-binding search-spaces-regexp to
2644 Info-search-whitespace-regexp.
2645 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2646 search-whitespace-regexp if isearch-lax-whitespace or
2647 isearch-regexp-lax-whitespace is non-nil.
2648 (Info-mode): Don't set local variable search-whitespace-regexp.
2649 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2650
2651 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2654 (debugger-env-macro): Remove support for unread-command-char.
2655
2656 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2657 the temporary map re-appearing on emulation-mode-map-alists.
2658
2659 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2660 since 22.1.
2661
2662 * ehelp.el (with-electric-help): Accept functions in
2663 electric-help-form-to-execute.
2664 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2665 And replace unread-command-char -> unread-command-events.
2666
2667 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2668
2669 Sync with Tramp 2.2.6.
2670
2671 * net/tramp.el (tramp-accept-process-output): Don't use
2672 JUST-THIS-ONE in the XEmacs case.
2673
2674 * net/trampver.el: Update release number.
2675
2676 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2677
2678 * emacs-lisp/debug.el (debugger-previous-window-height):
2679 New variable.
2680 (debug): When debugger-jumping-flag is non-nil try to restore
2681 height of debugger window. (Bug#8789)
2682
2683 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2686 overriding-local-map and pre/post-command-hook here.
2687 (edebug-recursive-edit): Do it here instead (bug#12345).
2688 (edebug-outside-unread-command-char): Remove all uses of
2689 unread-command-char.
2690
2691 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2692 inhibit-debugger is bound instead.
2693
2694 2012-09-11 Bastien Guerry <bzg@gnu.org>
2695
2696 * subr.el (set-temporary-overlay-map): Add a docstring.
2697 (Bug#12346)
2698
2699 2012-09-11 Bastien Guerry <bzg@gnu.org>
2700
2701 * minibuffer.el (completion-table-subvert): Fix docstring.
2702 (Bug#12347)
2703
2704 2012-09-11 Bastien Guerry <bzg@gnu.org>
2705
2706 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2707
2708 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2709
2710 * progmodes/sql.el: Version 3.1
2711 (sql-db2-escape-newlines): New variable.
2712 (sql-escape-newlines-filter): Use it.
2713
2714 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2715
2716 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2717
2718 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2719
2720 * vc/diff-mode.el (diff-mode-menu):
2721 Bind diff-remove-trailing-whitespace.
2722
2723 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2726 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2727 (emacs-lisp-byte-code-mode): New functions.
2728 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2729 (eval-defun-2): Remove bogus interactive spec.
2730 (lisp-indent-line): Remove redundant whole-exp code, now done in
2731 indent-according-to-mode.
2732 (save-match-data): Remove redundant indent data.
2733
2734 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2735 Use `declare'.
2736
2737 2012-09-09 Juri Linkov <juri@jurta.org>
2738
2739 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2740 (replace-lax-whitespace, query-replace-regexp)
2741 (query-replace-regexp-eval, replace-regexp): Doc fix.
2742 (perform-replace, replace-highlight): Let-bind
2743 isearch-lax-whitespace to replace-lax-whitespace and
2744 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2745
2746 * isearch.el (isearch-query-replace): Let-bind
2747 replace-lax-whitespace to isearch-lax-whitespace and
2748 replace-regexp-lax-whitespace to
2749 isearch-regexp-lax-whitespace. (Bug#10885)
2750
2751 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2754
2755 2012-09-09 Alan Mackenzie <acm@muc.de>
2756
2757 * progmodes/cc-engine.el (c-state-cache-init):
2758 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2759 (c-record-parse-state-state):
2760 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2761
2762 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2763
2764 * register.el (register-separator): Rename from
2765 separator-register. All uses changed. Doc fix.
2766 (register): Fix version.
2767
2768 2012-09-09 Chong Yidong <cyd@gnu.org>
2769
2770 * replace.el (query-replace-map): Bind four new symbols for
2771 requesting window scrolling.
2772
2773 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2774 query-replace-map (Bug#8948).
2775
2776 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2777
2778 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2779 since they are now in query-replace-map.
2780
2781 * window.el (scroll-other-window-down): Make the arg optional.
2782
2783 2012-09-09 Chong Yidong <cyd@gnu.org>
2784
2785 * files.el (hack-local-variables-confirm): Use quit-window to kill
2786 the *Local Variables* buffer.
2787
2788 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2789
2790 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2791 not just expect to be at its beginning. Adjust callees.
2792 Succeed when do-end block has no space before the pipe character.
2793 (ruby-brace-to-do-end): When the original block is one-liner,
2794 convert to multiline. Reindent the result.
2795
2796 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2797
2798 * register.el (register): New group.
2799 (separator-register): New user option.
2800 (increment-register): Route it to `append-to-register', if
2801 register contains text. Implication is that `C-x r +' can now be
2802 used for appending to a text register (bug#12217).
2803 (append-to-register, prepend-to-register): Add separator based on
2804 `separator-register'.
2805
2806 2012-09-08 Alan Mackenzie <acm@muc.de>
2807
2808 AWK Mode: make auto-newline work when there's "==" in the pattern.
2809 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2810 correctly.
2811 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2812 Test more rigorously for "=" token.
2813
2814 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2815
2816 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2817 Only fail when reached LIMIT.
2818
2819 2012-09-08 Chong Yidong <cyd@gnu.org>
2820
2821 * dired.el (dired-mode-map): Don't bind M-=.
2822
2823 * dired-aux.el (dired-diff): Use backup file as default.
2824
2825 2012-09-08 Drew Adams <drew.adams@oracle.com>
2826
2827 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2828
2829 2012-09-08 Chong Yidong <cyd@gnu.org>
2830
2831 * subr.el (syntax-after, syntax-class): Doc fix.
2832
2833 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2834
2835 * window.el (display-buffer-in-previous-window): New buffer
2836 display action function.
2837
2838 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2839 (debugger-previous-window): New variable.
2840 (debug): Rewrite using display-buffer-in-previous-window,
2841 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2842
2843 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2846
2847 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2848
2849 * progmodes/python.el (python-shell-send-string):
2850 When default-directory is remote, create temp file on remote
2851 filesystem.
2852 (python-shell-send-file): When file is remote, pass local view of
2853 file paths to remote Python interpreter. (Bug#12340)
2854
2855 2012-09-07 Chong Yidong <cyd@gnu.org>
2856
2857 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2858
2859 * files.el (after-find-file): Don't fail on a read-only buffer if
2860 require-final-newline is `visit' or `visit-save' (Bug#11156).
2861
2862 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2863
2864 * userlock.el (ask-user-about-supersession-threat):
2865 Use read-char-choice (Bug#12093).
2866
2867 2012-09-07 Chong Yidong <cyd@gnu.org>
2868
2869 * subr.el (buffer-narrowed-p): New function.
2870
2871 * ses.el (ses-widen):
2872 * simple.el (count-words--buffer-message):
2873 * net/browse-url.el (browse-url-of-buffer): Use it.
2874
2875 * simple.el (count-words-region): Don't signal an error if there
2876 is a non-nil prefix arg and the mark is not set.
2877
2878 * help.el (describe-key-briefly): Allow the message to be seen
2879 when invoked from the minibuffer (Bug#7014).
2880
2881 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2882
2883 * progmodes/ruby-mode.el (ruby-end-of-defun)
2884 (ruby-beginning-of-defun): Simplify, allow indentation before
2885 block beginning and end keywords.
2886 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2887 (ruby-end-of-defun): Expect that the point is at the beginning of
2888 the defun.
2889
2890 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2893 (bug#12367).
2894 (cl--make-usage-args): Strip _ from argument names.
2895
2896 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2897
2898 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2899 obsolete alias speedbar-key-map.
2900 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2901 (vhdl-index-menu-init): Don't use obsolete variable
2902 font-lock-maximum-size.
2903
2904 2012-09-06 Chong Yidong <cyd@gnu.org>
2905
2906 * frame.el (window-system-version): Mark as obsolete.
2907
2908 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2909 of obsolete variable speedbar-key-map.
2910
2911 2012-09-06 Juri Linkov <juri@jurta.org>
2912
2913 * replace.el (replace-lax-whitespace): New defcustom.
2914 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2915 (replace-string, replace-regexp): Mention it in docstrings.
2916 (perform-replace, replace-highlight): Let-bind
2917 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2918 to the values of replace-lax-whitespace and regexp-flag.
2919 Don't let-bind search-whitespace-regexp. (Bug#10885)
2920
2921 * isearch.el (isearch-query-replace): Let-bind
2922 replace-lax-whitespace instead of let-binding
2923 replace-search-function and replace-re-search-function.
2924 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2925 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2926 (isearch-toggle-symbol): Set isearch-regexp to nil
2927 in isearch-word mode (like in isearch-toggle-word).
2928
2929 2012-09-06 Juri Linkov <juri@jurta.org>
2930
2931 * replace.el (replace-search-function)
2932 (replace-re-search-function): Set default values to nil.
2933 (perform-replace): Let-bind isearch-related variables based on
2934 replace-related values, call `isearch-search-fun' and let-bind
2935 the result to `search-function'. Remove code that sets
2936 `search-function' and `search-string' separately for
2937 `delimited-flag'.
2938 (replace-highlight): Add new argument `delimited-flag' and
2939 rename other arguments to the names used in `perform-replace'.
2940 Let-bind `isearch-word' to the argument `delimited-flag'.
2941 (Bug#10885, bug#10887)
2942
2943 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2946 ruby-beginning-of-indent, simplify, allow all keywords to have
2947 indentation before them.
2948 (ruby-beginning-of-indent): Adjust for above. Search until the
2949 found point is not inside a string or comment.
2950 (ruby-font-lock-keywords): Allow symbols to start with "@"
2951 character, give them higher priority than variables.
2952 (ruby-syntax-propertize-function)
2953 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2954 matchers. Expression expansions are not comments when inside a
2955 string, and there comment syntax status is irrelevant.
2956 (ruby-match-expression-expansion): New function. Check that
2957 expression expansion is inside a string, and it's not escaped.
2958 (ruby-font-lock-keywords): Use it.
2959
2960 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2961
2962 * help.el (temp-buffer-max-height): New default value.
2963 (temp-buffer-resize-frames): New option.
2964 (resize-temp-buffer-window): Optionally resize frame.
2965
2966 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2967 (fit-frame-to-buffer): New function.
2968
2969 2012-09-05 Glenn Morris <rgm@gnu.org>
2970
2971 * emulation/cua-rect.el (cua--init-rectangles):
2972 * textmodes/picture.el (picture-mode-map):
2973 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2974 like forward-char and backward-char. (Bug#12317)
2975
2976 2012-09-05 Leo Liu <sdl.web@gmail.com>
2977
2978 * progmodes/flymake.el (flymake-warning-re): New variable.
2979 (flymake-parse-line): Use it.
2980
2981 2012-09-05 Glenn Morris <rgm@gnu.org>
2982
2983 * calendar/holidays.el (holiday-christian-holidays):
2984 Rename an entry. (Bug#12289)
2985
2986 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2989 (bug#12222).
2990
2991 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * loadup.el: Load macroexp. Remove hack.
2994 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2995 (macroexp--expand-all): Use it to get better warnings.
2996 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2997 (internal-macroexpand-for-load): New functions.
2998 (macroexp--pending-eager-loads): New var.
2999 (emacs-startup-hook): New hack to replace one in loadup.el.
3000 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3001 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3002 (cl-psetf): Simplify.
3003 (cl-defstruct): Add indent rule.
3004
3005 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3006
3007 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3008 over `user-mail-address' for the SMTP MAIL FROM envelope.
3009 (smtpmail-via-smtp): Ditto.
3010
3011 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3012
3013 * progmodes/ruby-mode.el: Clean up keybindings.
3014 (ruby-mode-map): Don't bind ruby-electric-brace,
3015 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3016 backward-kill-word, reindent-then-newline-and-indent.
3017 (ruby-mark-defun): Remove.
3018 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3019 (ruby-mode): Set local beginning-of-defun-function and
3020 end-of-defun-function values.
3021
3022 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3023
3024 * window.el (temp-buffer-window-setup-hook)
3025 (temp-buffer-window-show-hook): New hooks.
3026 (temp-buffer-window-setup, temp-buffer-window-show)
3027 (with-temp-buffer-window): New functions.
3028 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3029 (special-display-popup-frame): Make sure the window used shows BUFFER.
3030
3031 * help.el (temp-buffer-resize-mode): Fix doc-string.
3032 (resize-temp-buffer-window): New optional argument WINDOW.
3033
3034 * files.el (recover-file, save-buffers-kill-emacs):
3035 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3036
3037 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3038
3039 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3040 remote definition of `default-directory', ensure we can connect.
3041
3042 2012-09-02 Juri Linkov <juri@jurta.org>
3043
3044 Toggle whitespace matching mode with M-s SPC.
3045 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3046
3047 * isearch.el (search-whitespace-regexp): Doc fix.
3048 Remove cons cell customization.
3049 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3050 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3051 New variables.
3052 (isearch-forward, isearch-forward-regexp): Doc fix.
3053 (isearch-toggle-lax-whitespace): New command.
3054 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3055 (re-search-forward-lax-whitespace)
3056 (re-search-backward-lax-whitespace): New functions.
3057 (isearch-whitespace-regexp): Remove function.
3058 (isearch-query-replace): Let-bind replace-search-function and
3059 replace-re-search-function.
3060 (isearch-occur): Let-bind search-spaces-regexp according to the
3061 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3062 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3063 condition for C-q SPC.
3064 (isearch-search-fun-default): Use new functions mentioned above.
3065 (isearch-search-forward, isearch-search-backward): Remove functions.
3066 (isearch-search): Don't let-bind search-spaces-regexp.
3067 (isearch-lazy-highlight-space-regexp): Remove variable.
3068 (isearch-lazy-highlight-lax-whitespace)
3069 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3070 (isearch-lazy-highlight-new-loop): Use them.
3071 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3072
3073 2012-09-02 Chong Yidong <cyd@gnu.org>
3074
3075 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3076
3077 2012-09-02 Glenn Morris <rgm@gnu.org>
3078
3079 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3080
3081 2012-09-01 Glenn Morris <rgm@gnu.org>
3082
3083 * term.el: Tidy up menu definitions.
3084 (term-mode-map): Use easymenu for In/Out, Complete menus.
3085 (term-pager-break-map): Initialize in the defvar.
3086 (term-terminal-menu, term-signals-menu): Define with easymenu.
3087 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3088 (term-pager-menu): New, extracted from term-process-pager.
3089 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3090 (term-update-mode-line): Propertize line/char and page items.
3091 (term-process-pager): Move keymap initialization elsewhere.
3092
3093 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3094
3095 * window.el (switch-to-prev-buffer): Handle additional values of
3096 BURY-OR-KILL argument. Don't switch in minibuffer window.
3097 (switch-to-next-buffer): Don't switch in minibuffer window.
3098 (quit-restore-window): New function based on quit-window.
3099 Handle additional values of former KILL argument.
3100 (quit-window): Call quit-restore-window with appropriate
3101 interpretation of KILL argument.
3102 (display-buffer-below-selected): New buffer display action
3103 function.
3104
3105 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * minibuffer.el (completion-at-point-functions): Complete docstring
3108 (bug#12254).
3109
3110 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3111
3112 Better seed support for (random).
3113 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3114 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3115 * play/mpuz.el, play/tetris.el, play/zone.el:
3116 * calc/calc-comb.el (math-init-random-base):
3117 * play/blackbox.el (bb-init-board):
3118 * play/life.el (life):
3119 * server.el (server-use-tcp):
3120 * type-break.el (type-break):
3121 Remove unnecessary call to (random t).
3122 * net/sasl.el (sasl-unique-id-function):
3123 Change (random t) to (random), now that the latter is more random.
3124 * play/life.el (life-initialized): Remove no-longer-needed var.
3125
3126 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3127
3128 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3129 Consider frame's buffer predicate when choosing the buffer.
3130 (Bug#12081)
3131
3132 2012-08-30 Richard Stallman <rms@gnu.org>
3133
3134 * simple.el (special-mode-map): Delete binding for `z'.
3135
3136 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3137
3138 * progmodes/compile.el (compilation-always-kill): Doc fix.
3139
3140 2012-08-30 Chong Yidong <cyd@gnu.org>
3141
3142 * window.el (display-buffer-reuse-frames): Make the obsolescence
3143 message more informative.
3144
3145 2012-08-30 Glenn Morris <rgm@gnu.org>
3146
3147 * paren.el (show-paren-delay):
3148 Add a :set function. Doc fix. (Bug#12297)
3149
3150 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3151
3152 * progmodes/compile.el (compilation-always-kill): New var.
3153 (compilation-start): Use it.
3154
3155 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3158 * files.el (read-only-mode): Move to simple.el.
3159
3160 * files.el (read-only-mode): New minor mode.
3161 (toggle-read-only): Use it and mark obsolete.
3162 (find-file--read-only):
3163 * vc/vc.el (vc-next-action, vc-checkout):
3164 * vc/vc-cvs.el (vc-cvs-checkout):
3165 * obsolete/vc-mcvs.el (vc-mcvs-update):
3166 * ffap.el (ffap--toggle-read-only): Update callers.
3167
3168 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * eshell/esh-ext.el (eshell-external-command): Do not examine
3171 remote shell scripts.
3172 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3173
3174 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3175 "/usr/local/sbin".
3176
3177 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3180
3181 2012-08-28 Leo Liu <sdl.web@gmail.com>
3182
3183 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3184 completion-at-point. (Bug#12220)
3185
3186 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3187
3188 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3189
3190 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3193 be buffer-local; add delete-trailing-whitespace (bug#12259).
3194
3195 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3196
3197 * progmodes/hideif.el (hif-compress-define-list):
3198 Fix typo. (Bug#11951)
3199
3200 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3201
3202 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3203 buffer local setting.
3204
3205 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3206 rcirc-encode-coding-system.
3207
3208 2012-08-28 Leo Liu <sdl.web@gmail.com>
3209
3210 * net/rcirc.el (rcirc-split-message): New function.
3211 (rcirc-send-message): Use it. (Bug#12051)
3212
3213 2012-08-28 Juri Linkov <juri@jurta.org>
3214
3215 * info.el (Info-fontify-node): Hide empty lines at the end of
3216 the node. (Bug#12272)
3217
3218 2012-08-27 Drew Adams <drew.adams@oracle.com>
3219
3220 * dired.el (dired-pop-to-buffer): Make window start at beginning
3221 of buffer (Bug#12281).
3222
3223 2012-08-26 Chong Yidong <cyd@gnu.org>
3224
3225 * window.el (special-display-regexps, special-display-frame-alist)
3226 (special-display-buffer-names, special-display-function)
3227 (display-buffer-reuse-frames): Mark as obsolete.
3228
3229 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3230
3231 * help.el (help-print-return-message): Don't treat
3232 display-buffer-reuse-frames specially.
3233
3234 2012-08-26 Chong Yidong <cyd@gnu.org>
3235
3236 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3237 New variable, replacing gdb-frame-parameters.
3238 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3239 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3240 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3241 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3242 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3243 the functions directly with gdb-display-buffer-other-frame-action.
3244 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3245 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3246 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3247 (gdb-display-registers-buffer): Define directly.
3248 (def-gdb-display-buffer): Macro deleted.
3249 (gdb-display-buffer): Remove second and third args, callers don't
3250 use them. Defer to the default display-buffer behavior, apart
3251 from making windows dedicated.
3252 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3253
3254 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3255
3256 * window.el (display-buffer-pop-up-frame): Handle a
3257 pop-up-frame-parameters alist entry.
3258 (display-buffer): Document it.
3259
3260 2012-08-26 Chong Yidong <cyd@gnu.org>
3261
3262 * isearch.el (search-whitespace-regexp): Make string and nil
3263 values apply to both ordinary and regexp search. Allow a cons
3264 cell value to distinguish between the two.
3265 (isearch-whitespace-regexp, isearch-search-forward)
3266 (isearch-search-backward): New functions.
3267 (isearch-occur, isearch-search-fun-default, isearch-search)
3268 (isearch-lazy-highlight-new-loop): Use them.
3269 (isearch-forward, isearch-forward-regexp): Doc fix.
3270
3271 2012-08-26 Chong Yidong <cyd@gnu.org>
3272
3273 * faces.el (help-argument-name): Always inherit from italic
3274 (Bug#12213).
3275
3276 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3277
3278 * window.el (window--even-window-heights): Even heights when
3279 WINDOW and the selected window form a vertical combination.
3280 (display-buffer-use-some-window): Provide that window used gets
3281 sized back by quit-window. (Bug#11880) and (Bug#12091)
3282
3283 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3284
3285 Fix file time stamp problem with bzr and CVS (Bug#12001).
3286 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3287 in the file's time stamp, since the version control system loses
3288 that information.
3289
3290 2012-08-22 Juri Linkov <juri@jurta.org>
3291
3292 * info.el (Info-fontify-node): Hide the suffix of the
3293 Info file name in the header line. (Bug#12187)
3294
3295 2012-08-22 Glenn Morris <rgm@gnu.org>
3296
3297 * calendar/cal-tex.el (cal-tex-weekly-common):
3298 Restore leading blank page.
3299
3300 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3301
3302 * misc.el (forward-to-word, backward-to-word): Activate or extend
3303 the region under `shift-select-mode'. (Bug#12231)
3304
3305 2012-08-22 Bastien Guerry <bzg@gnu.org>
3306
3307 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3308 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3309 gives details on why the space is never needed.
3310
3311 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3312
3313 * window.el (walk-window-tree, window-with-parameter):
3314 New optional argument MINIBUF to control whether these functions
3315 should run on the minibuffer window.
3316 (window-at-side-list): Don't operate on minibuffer window.
3317 (window-in-direction): Simplify and rewrite doc-string.
3318 (window--size-ignore): Rename to window--size-ignore-p.
3319 Update callers.
3320 (display-buffer-in-atom-window, window--major-non-side-window)
3321 (window--major-side-window, display-buffer-in-major-side-window)
3322 (delete-side-window, display-buffer-in-side-window):
3323 New functions.
3324 (window--side-check, window-deletable-p, delete-window)
3325 (delete-other-windows, split-window): Handle side windows and
3326 atomic windows appropriately.
3327 (window--display-buffer): Call display-buffer-record-window also
3328 when the window buffer did not change.
3329
3330 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3331
3332 * help-fns.el (help-fns--key-bindings):
3333 Abbreviate non-symbol remap targets. (Bug#12174)
3334
3335 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3336
3337 * dired.el (dired-mark-remembered): Don't clobber point.
3338 (Bug#11795)
3339
3340 2012-08-22 Glenn Morris <rgm@gnu.org>
3341
3342 * progmodes/bug-reference.el (bug-reference): New custom group.
3343 (bug-reference-bug-regexp): Make it a defcustom.
3344
3345 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3346
3347 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3348 (js-paren-indent-offset, js-square-indent-offset)
3349 (js-curly-indent-offset): Add :safe (Bug#12257).
3350
3351 2012-08-22 Edward O'Connor <hober0@gmail.com>
3352
3353 * json.el (json-key-format): Add error properties.
3354 (json-encode-key): New function.
3355 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3356 Use json-encode-key.
3357
3358 2012-08-22 Glenn Morris <rgm@gnu.org>
3359
3360 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3361 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3362 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3363 Update for above change.
3364
3365 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3366
3367 * cus-face.el (custom-face-attributes): Fix customize type for the
3368 :underline attribute. (Bug#11805)
3369
3370 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3371
3372 * window.el (window-point-1, set-window-point-1): Remove.
3373 (window-in-direction, record-window-buffer)
3374 (set-window-buffer-start-and-point, split-window-below)
3375 (window--state-get-1, display-buffer-record-window):
3376 Replace calls to window-point-1 and set-window-point-1 by calls to
3377 window-point and set-window-point respectively.
3378
3379 2012-08-21 Glenn Morris <rgm@gnu.org>
3380
3381 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3382 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3383 Use it.
3384
3385 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3386 (cal-tex-shortday): New function.
3387 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3388 (cal-tex-cursor-filofax-daily): Use the above.
3389
3390 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3391 New functions.
3392 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3393 (cal-tex-cursor-filofax-week): Use them.
3394
3395 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3396 New constants.
3397 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3398 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3399
3400 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3401 (cal-tex-end-document): Don't rely on buffer name.
3402
3403 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3404 Use cal-tex-vspace.
3405 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3406 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3407 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3408 Use cal-tex-arg.
3409
3410 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3411 (cal-tex-cursor-week, cal-tex-cursor-week2)
3412 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3413 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3414 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3415 (cal-tex-insert-preamble, cal-tex-b-document)
3416 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3417 Improve cal-tex-cmd usage.
3418
3419 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3420 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3421 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3422 (cal-tex-weekly-paper): New function.
3423 (cal-tex-cursor-week, cal-tex-cursor-week2)
3424 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3425 (cal-tex-cursor-day): Use it.
3426
3427 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3428 (cal-tex-cursor-filofax-week): Remove leading blank page.
3429
3430 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3431 Add autoload cookie. For now at least, don't use color, since
3432 no other cal-tex function does.
3433
3434 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3435 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3436 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3437
3438 2012-08-21 Juri Linkov <juri@jurta.org>
3439
3440 * info.el (Info-file-attributes): New variable.
3441 (info-insert-file-contents): Add file attributes to
3442 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3443 `Info-toc-nodes' when previous modtime of the Info file is less
3444 than new modtime.
3445 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3446 of info.el. (Bug#12230)
3447
3448 2012-08-20 Glenn Morris <rgm@gnu.org>
3449
3450 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3451 * calendar/holidays.el (calendar-holiday-list):
3452 Report errors with display-warning rather than beep'n'sleep.
3453
3454 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3455
3456 * net/tramp.el (tramp-accept-process-output): Accept only output
3457 from PROC. Otherwise, process filters and sentinels might be
3458 confused. (Bug#12145)
3459
3460 2012-08-20 Chong Yidong <cyd@gnu.org>
3461
3462 * descr-text.el (describe-text-properties-1): Use overlays-in to
3463 report on empty overlays (Bug#3322).
3464
3465 2012-08-20 Glenn Morris <rgm@gnu.org>
3466
3467 * mail/rmailout.el (rmail-output-read-file-name):
3468 Trap and report errors in rmail-output-file-alist elements.
3469
3470 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3471 since most non-font-lock faces are not also variables).
3472
3473 2012-08-20 Edward Reingold <reingold@iit.edu>
3474
3475 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3476 New function. (Bug12160)
3477
3478 2012-08-19 Glenn Morris <rgm@gnu.org>
3479
3480 * mail/rmailout.el (rmail-output-read-file-name):
3481 Fix previous change (when the alist is nil or does not match).
3482
3483 2012-08-19 Chong Yidong <cyd@gnu.org>
3484
3485 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3486 (Bug#12228).
3487
3488 2012-08-18 Chong Yidong <cyd@gnu.org>
3489
3490 * simple.el (yank-handled-properties): New defcustom.
3491 (yank-excluded-properties): Add font-lock-face and category.
3492 (yank): Doc fix.
3493
3494 * subr.el (remove-yank-excluded-properties):
3495 Obey yank-handled-properties. The special handling of font-lock-face
3496 and category is now done this way, instead of being hard-coded.
3497 (insert-for-yank-1): Remove font-lock-face handling.
3498 (yank-handle-font-lock-face-property)
3499 (yank-handle-category-property): New function.
3500
3501 2012-08-17 Glenn Morris <rgm@gnu.org>
3502
3503 * mail/rmailout.el (rmail-output-read-file-name):
3504 Check rmail-output-file-alist against the full message body
3505 in the correct rmail buffer. (Bug#12214)
3506
3507 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3510 Eliminate superfluous prompt. (Bug#12203)
3511
3512 2012-08-17 Chong Yidong <cyd@gnu.org>
3513
3514 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3515 font spec, set the font directly (Bug#3228).
3516
3517 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3518
3519 * window.el (delete-window): Fix last fix.
3520
3521 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (window-valid-p): Move to window.c.
3524 (window-child, window-child-count, window-last-child)
3525 (window-normalize-window, window-combined-p)
3526 (window-combinations, window-atom-root, window-min-size)
3527 (window-sizable, window-sizable-p, window-size-fixed-p)
3528 (window-min-delta, window-max-delta, window--resizable)
3529 (window--resizable-p, window-resizable, window-total-size)
3530 (window-full-height-p, window-full-width-p, window-body-size)
3531 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3532 (minimize-window, window-deletable-p, delete-window)
3533 (delete-other-windows, set-window-buffer-start-and-point)
3534 (next-buffer, previous-buffer, split-window, balance-windows-2)
3535 (set-window-text-height, window-buffer-height)
3536 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3537 (truncated-partial-width-window-p): Minor code adjustments.
3538 In doc-strings state whether the argument window has to denote a
3539 live, valid or any window.
3540
3541 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3542
3543 * progmodes/subword.el (subword-forward-function)
3544 (subword-backward-function, subword-forward-regexp)
3545 (subword-backward-regexp): New variables.
3546 (subword-forward, subword-forward-internal, subword-backward-internal):
3547 Use new variables, eg so that different "word" definitions
3548 can be easily used. (Bug#11411)
3549
3550 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3553 for composite selectors.
3554 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3555 operation just because we can't find a previous revision.
3556
3557 2012-08-15 Chong Yidong <cyd@gnu.org>
3558
3559 * frame.el (set-frame-font): Accept font objects.
3560
3561 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3564
3565 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3566
3567 * man.el (Man-overstrike-face, Man-underline-face)
3568 (Man-reverse-face): Remove variables.
3569 (Man-overstrike, Man-underline, Man-reverse): New faces.
3570 (Man-fontify-manpage): Use them instead of the variables.
3571 (Man-cleanup-manpage): Comment change.
3572 (Man-ansi-color-map): New variable.
3573 (Man-fontify-manpage): Use it.
3574 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3575
3576 Implement ANSI SGR parameters 22-27 (bug#12146).
3577 * ansi-color.el (ansi-colors): Doc fix.
3578 (ansi-color-context, ansi-color-context-region): Doc fix.
3579 (ansi-color--find-face): New function.
3580 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3581 Rename the local variable `face' to `codes' since it is now a list of
3582 ansi codes. Doc fix.
3583 (ansi-color-get-face): Remove.
3584 (ansi-color-parse-sequence): New function, derived from
3585 ansi-color-get-face.
3586 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3587 codes 22-27.
3588
3589 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * subr.el (read-passwd): Allow use from a minibuffer.
3592
3593 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3594
3595 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3596 inside comments and strings as identifiers.
3597
3598 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3599 expression to evaluate. This allows to evaluate expressions with
3600 embedded whitespace.
3601 (gud-tooltip-tips): Add a blank before the newline in the
3602 message-box text, for the benefit of message-box emulation on
3603 MS-Windows.
3604
3605 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3606 messages from GDB, pop them up in a tooltip to give feedback to
3607 user.
3608 (gdb-tooltip-print-1): Quote the expression to evaluate.
3609 This allows to evaluate expressions with embedded whitespace.
3610 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3611 if the TTY name is nil or empty (which happens when communicating
3612 with the inferior via pipes, e.g. on MS-Windows).
3613 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3614 don't send that to the GUD buffer.
3615
3616 2012-08-14 Glenn Morris <rgm@gnu.org>
3617
3618 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3619 Optimize away setq-default with no args, as for setq. (Bug#12195)
3620
3621 2012-08-14 Chong Yidong <cyd@gnu.org>
3622
3623 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3624
3625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3626 (Bug#12085).
3627
3628 2012-08-14 Glenn Morris <rgm@gnu.org>
3629
3630 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3631
3632 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3635 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3636 Use cached shell name.
3637
3638 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3639
3640 * progmodes/python.el (python-shell-send-string):
3641 (python-shell-send-setup-code): Do not use `format' with `message'.
3642
3643 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3644
3645 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3646 (ruby-percent-literal-beg-re): New constant.
3647 (ruby-syntax-general-delimiters-goto-beg): Rename to
3648 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3649 (ruby-syntax-propertize-general-delimiters): Rename to
3650 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3651 popular term. Adjust comments everywhere.
3652 (ruby-syntax-propertize-percent-literal): Only propertize when not
3653 inside a simple string or comment. When the literal is unclosed,
3654 leave the text after it unpropertized.
3655 (ruby-syntax-methods-before-regexp): New constant.
3656 (ruby-syntax-propertize-function): Use it to recognize regexps.
3657 Don't look at the text after regexp, just use the whitelist.
3658
3659 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3660
3661 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3662 non-nil always load the compiled file if it exists. (Bug#12197)
3663
3664 2012-08-14 Chong Yidong <cyd@gnu.org>
3665
3666 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3667 (hi-lock-set-pattern): When deciding whether to use font lock or
3668 overlays, look at font-lock-mode instead of font-lock-fontified
3669 (Bug#12168).
3670 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3671 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3672
3673 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3674
3675 * subr.el (internal--after-with-selected-window): Fix typo
3676 (Bug#12193).
3677
3678 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3679
3680 Use `completion-table-dynamic' for completion functions.
3681 * progmodes/python.el
3682 (python-shell-completion--do-completion-at-point)
3683 (python-shell-completion--get-completions):
3684 Remove functions.
3685 (python-shell-completion-complete-at-point): New function.
3686 (python-completion-complete-at-point): Use it.
3687
3688 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3689
3690 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3691 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3692
3693 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * subr.el (function-get): Refine `autoload' arg so it can also
3696 autoload functions for gv.el (bug#12191).
3697 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3698 autoloads macros.
3699
3700 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3701 Prefer pcase-let over destructuring-bind.
3702 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3703 Also, remove whitespace as we go, rather than after accumulating the
3704 various places.
3705
3706 * subr.el (internal--before-with-selected-window)
3707 (internal--after-with-selected-window): Fix typo seleted->selected.
3708 (with-selected-window): Adjust callers.
3709 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3710
3711 2012-08-13 Bastien Guerry <bzg@gnu.org>
3712
3713 * window.el (special-display-popup-frame): Minor docstring
3714 enhancement. (Bug#12172)
3715
3716 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3717
3718 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3719 type 1-6.
3720 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3721 extended headers.
3722
3723 * files.el (hack-local-variables-filter): Remove useless eval.
3724
3725 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3726
3727 * subr.el (with-selected-window): Fix last change.
3728
3729 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * subr.el (internal--before-with-seleted-window)
3732 (internal--after-with-seleted-window): New functions.
3733 (with-selected-window): Use them, to replace dependency on
3734 tty-top-frame.
3735
3736 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3737
3738 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3739 binding for `newline'.
3740 (ruby-move-to-block): When moving backward, stop at block opening,
3741 not indentation.
3742 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3743 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3744 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3745 `ruby-toggle-block'.
3746
3747 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * ibuffer.el (ibuffer-do-toggle-read-only):
3750 * dired.el (dired-toggle-read-only):
3751 * buff-menu.el (Buffer-menu-toggle-read-only):
3752 * bindings.el (mode-line-toggle-read-only):
3753 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3754
3755 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3756
3757 * descr-text.el (describe-char): Put the overlays over the
3758 "displayed as" character.
3759
3760 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3761
3762 * calc/calc-units.el (math-default-units-table): Give an
3763 initial value.
3764 (math-put-default-units): Add options to put composite units and
3765 unit systems in the default units table.
3766 (calc-convert-units): Send composite units to
3767 `math-put-default-units' when appropriate.
3768
3769 2012-08-11 Glenn Morris <rgm@gnu.org>
3770
3771 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3772
3773 * tutorial.el (help-with-tutorial):
3774 * emacs-lisp/copyright.el (copyright-update-directory):
3775 * emacs-lisp/autoload.el (autoload-find-generated-file)
3776 (autoload-find-file): Disable local eval: (for insurance).
3777
3778 * files.el (hack-local-variables-filter): If an eval: form is not
3779 known to be safe, and enable-local-variables is :safe, then ignore
3780 the form totally, as is done for non-eval forms. (Bug#12155)
3781 This is CVE-2012-3479.
3782
3783 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3786 (rx-form): Simplify.
3787
3788 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3789
3790 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3791 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3792 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3793 (ruby-syntax-propertize-function): Adjust for changes in
3794 `ruby-syntax-propertize-heredoc'.
3795
3796 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3797
3798 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3799 binding (use `M-;' instead).
3800 (ruby-singleton-class-p): New function.
3801 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3802
3803 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3806
3807 2012-08-10 Chong Yidong <cyd@gnu.org>
3808
3809 * progmodes/python.el (python-shell-get-process-name): Don't mess
3810 with same-window-buffer-names.
3811
3812 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3813 (eshell-remove-from-window-buffer-names): Make obsolete.
3814 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3815 (eshell): Just use pop-to-buffer-same-window instead.
3816
3817 2012-08-10 Chong Yidong <cyd@gnu.org>
3818
3819 * bindings.el: Bind M-= back to count-words-region.
3820
3821 * simple.el (count-words-region): Accept a prefix arg for acting
3822 on the entire buffer.
3823 (count-words--buffer-message): New helper function.
3824
3825 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3828 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3829 (event-start, event-end): Use posn-at-point to return a more
3830 informative posn.
3831 (posnp): New function.
3832 * mouse.el (popup-menu-normalize-position): Use it.
3833
3834 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3835
3836 * mouse.el (popup-menu-normalize-position): New function.
3837 (popup-menu): Use `popup-menu-normalize-position' to normalize
3838 the form for POSITION argument.
3839
3840 * term/x-win.el (x-menu-bar-open):
3841 Use the value returend from (posn-at-point) as position
3842 passed to `popup-menu'.
3843
3844 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3845
3846 * calc/calccomp.el (math-compose-expr): Add extra argument
3847 indicating that parentheses should be put around products in
3848 denominators. Give multiplication precedence over division during
3849 composition.
3850
3851 2012-08-09 Chong Yidong <cyd@gnu.org>
3852
3853 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3854 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3855 (Man-untabify-command, manual-program): Convert to defcustom
3856 (Bug#10429).
3857
3858 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3859
3860 * descr-text.el (describe-char): Don't insert extra newlines
3861 (Bug#10127).
3862
3863 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3864 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3865
3866 * align.el (align-region): Delete temporary markers (Bug#10047).
3867 Plus some code cleanups.
3868
3869 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3870
3871 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3872 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3873 (python-shell-internal-last-output): Use make-local-variable
3874 instead of make-variable-buffer-local.
3875
3876 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3877
3878 * progmodes/python.el: Enhancements to forward-sexp.
3879 (python-nav-forward-sexp): Rename from
3880 python-nav-forward-sexp-function.
3881 (python-nav--forward-sexp, python-nav--backward-sexp):
3882 New functions.
3883
3884 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3885
3886 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3887 modes and simplification modes.
3888
3889 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * delsel.el (delete-selection-pre-hook): Don't propagate the
3892 file-supersession signals (bug#12161).
3893
3894 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3897 (cl-map-extents): Add compatibility aliases (bug#12135).
3898
3899 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3902 tests by `ignore-error'.
3903 (tramp-find-shell): Open also a new shell, when cache is already
3904 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3905
3906 2012-08-08 Juri Linkov <juri@jurta.org>
3907
3908 * bookmark.el: Add `defaults' property to the bookmark record.
3909 (bookmark-current-buffer): Doc fix.
3910 (bookmark-make-record): Add `defaults' property with default values
3911 to the bookmark record.
3912 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3913 with `bookmark-insert-current-bookmark'.
3914 (bookmark-set): Get `defaults' property from the bookmark record
3915 and use it in `read-from-minibuffer'.
3916 (bookmark-insert-current-bookmark): Remove function.
3917
3918 * info.el (Info-bookmark-make-record): Add `defaults' property
3919 with values of canonical Info node name, the current Info file
3920 name and the current Info node name. (Bug#12107)
3921
3922 2012-08-08 Juri Linkov <juri@jurta.org>
3923
3924 * files.el (basic-save-buffer): Use `buffer-name' as the default
3925 of `read-file-name' when buffer is not visiting a file (bug#12128).
3926
3927 2012-08-08 Juri Linkov <juri@jurta.org>
3928
3929 * info.el (Info-isearch-search): Doc fix.
3930 (Info-search): Change search-failed message from "initial node" to
3931 "end of node" (bug#12078).
3932 (Info-isearch-search): Change `isearch-string-state' to
3933 `isearch--state-string'.
3934
3935 2012-08-08 Glenn Morris <rgm@gnu.org>
3936
3937 * language/persian.el: Remove file.
3938 * language/misc-lang.el: Move unique part of persian.el here.
3939 * loadup.el: Remove language/persian.
3940
3941 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3942
3943 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3944
3945 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3946
3947 * progmodes/python.el Fixed defsubst warning.
3948 (python-syntax-context) Rename from python-info-ppss-context.
3949 (python-syntax-context-type): Rename from
3950 python-info-ppss-context-type.
3951 (python-syntax-comment-or-string-p): Rename from
3952 python-info-ppss-comment-or-string-p.
3953
3954 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3955
3956 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3957
3958 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3959
3960 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3961 a defcustom that is quoted with backquote.
3962
3963 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3964 Fix handling of interactive spec when the body uses return.
3965 (math-do-arg-check, math-define-function-body): Use backquote forms.
3966 * calc/calc-ext.el (math-defcache): Likewise.
3967 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3968 * allout.el (allout-new-exposure): Likewise.
3969 * calc/calcalg2.el (math-tracing-integral): Likewise.
3970 * info.el (Info-last-menu-item): Likewise.
3971 * emulation/vip.el (vip-loop): Likewise.
3972 * textmodes/artist.el (artist-funcall): Likewise.
3973 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3974 Construct menu-item directly.
3975
3976 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3977 Don't declare.
3978
3979 2012-08-07 Chong Yidong <cyd@gnu.org>
3980
3981 * simple.el (deactivate-mark): Preserve text properties when
3982 saving the primary selection (Bug#8384).
3983
3984 2012-08-07 Kevin Ryde <user42@zip.com.au>
3985
3986 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3987 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3988 and continue processing (Bug#12110).
3989
3990 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3993 syntax-propertize-function (bug#10095).
3994
3995 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3996
3997 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3998 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3999 describe-function-1.
4000 (describe-function-1): Use them. Move compiler macro after sig.
4001 (help-fns--compiler-macro): Use function-get. Assume we're already in
4002 standard-output. Adjust layout to new call order.
4003
4004 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4005 re-binding a symbol that has a symbol-macro (bug#12119).
4006
4007 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4008
4009 * language/persian.el: New file. (Bug#11812)
4010 * loadup.el: Add language/persian.el.
4011
4012 2012-08-06 Chong Yidong <cyd@gnu.org>
4013
4014 * window.el (window--maybe-raise-frame): New function.
4015 (window--display-buffer): Split off from here.
4016 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4017 (display-buffer-pop-up-window, display-buffer-use-some-window):
4018 Obey an inhibit-switch-frame action alist entry.
4019 (display-buffer): Update doc.
4020
4021 * replace.el (occur-after-change-function): Avoid losing focus by
4022 using the inhibit-switch-frame display parameter (Bug#12139).
4023
4024 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4025
4026 Make internal shell process buffer names start with space.
4027 * progmodes/python.el (python-shell-make-comint): Add optional
4028 argument INTERNAL.
4029 (run-python-internal): Use it.
4030 (python-shell-internal-get-or-create-process): Check for new
4031 internal buffer names.
4032
4033 2012-08-06 Glenn Morris <rgm@gnu.org>
4034
4035 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4036 Do less getting and setting of environment variables.
4037
4038 2012-08-05 Chong Yidong <cyd@gnu.org>
4039
4040 * proced.el (proced): Add substitution string to docstring to
4041 trigger autoloading of the proced library on C-h f (Bug#1768).
4042
4043 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4044 Don't show defvars which have no second argument (Bug#8638).
4045
4046 * imenu.el (imenu-generic-expression): Move documentation here
4047 from imenu--generic-function.
4048 (imenu--generic-function): Refer to imenu-generic-expression.
4049
4050 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4051
4052 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4053 indentation declaration.
4054 (viper-loop): Add indentation declaration (Bug#7025).
4055
4056 2012-08-05 Chong Yidong <cyd@gnu.org>
4057
4058 * help-fns.el (describe-variable): Add hyperlink for
4059 directory-local variables files. Improve buffer-local and
4060 permanent-local reporting; suggested by MON KEY (Bug#6644).
4061
4062 * help-mode.el (help-dir-local-var-def): New button type.
4063
4064 * files.el (kill-buffer-hook): Provide a defvar.
4065
4066 2012-08-05 Glenn Morris <rgm@gnu.org>
4067
4068 * eshell/esh-ext.el (eshell/addpath):
4069 Also update eshell-path-env. (Bug#12013)
4070
4071 2012-08-05 Chong Yidong <cyd@gnu.org>
4072
4073 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4074
4075 * fringe.el (fringe-styles): Add docstring.
4076 (fringe--check-mode): New function.
4077 (set-fringe-mode, set-fringe-style): Use it.
4078 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4079
4080 * files.el (set-auto-mode): Fix invalid setq call.
4081
4082 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * isearch.el: Misc simplification; use defstruct.
4085 (isearch-mode-map): Dense maps now work like sparse ones.
4086 (isearch--state): New defstruct.
4087 (isearch-string-state, isearch-message-state, isearch-point-state)
4088 (isearch-success-state, isearch-forward-state)
4089 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4090 (isearch-wrapped-state, isearch-barrier-state)
4091 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4092 replaced by defstruct's accessors.
4093 (isearch--set-state): Rename from isearch-top-state and change
4094 calling convention.
4095 (isearch-push-state): Use new isearch--get-state.
4096 (isearch-toggle-word): Disable regexp when enabling word.
4097 (isearch-message-prefix): Remove unused arg _c-q-hack.
4098 (isearch-message-suffix): Remove unused arg _ellipsis.
4099
4100 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4101
4102 * simple.el (list-processes--refresh): For a server use :host or
4103 :local as the address.
4104 (list-processes): Doc fix.
4105
4106 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4107
4108 * lisp/mpc.el: Support password in host argument.
4109 (mpc--proc-connect): Parse and use new password element.
4110 Set mpc-proc variable instead of returning process.
4111 (mpc-proc): Adjust accordingly.
4112
4113 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4114
4115 * whitespace.el (whitespace-display-mappings): Use Unicode
4116 codepoints, instead of emacs-mule codepoints. See
4117 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4118 for the details.
4119
4120 * files.el (file-truename): Don't skip symlink-chasing part on
4121 windows-nt. Incorporate the resolution of 8+3 short aliases on
4122 Windows into the loop that recursively chases symlinks.
4123 Compare directory and its parent case-insensitively on MS-Windows and
4124 MS-DOS.
4125
4126 2012-08-03 Chong Yidong <cyd@gnu.org>
4127
4128 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4129
4130 * sort.el (sort-regexp-fields): Doc fix.
4131
4132 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4133
4134 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4135 labels regex position point at the expected place.
4136
4137 2012-08-03 MON KEY <monkey@sandpframing.com>
4138
4139 * net/imap.el (imap-interactive-login, imap-authenticate)
4140 (imap-mailbox-lsub, imap-mailbox-list)
4141 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4142 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4143 (imap-parse-response): Doc fix.
4144
4145 2012-08-03 João Távora <joaotavora@gmail.com>
4146
4147 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4148 if sexp scanning does not move point (Bug#5734).
4149
4150 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4151
4152 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4153 Add listings, minted, and ctable packages.
4154 (reftex-label-alist-builtin): Move listings, minted, and ctable
4155 entries before LaTeX.
4156 (reftex-label-alist): Docfix.
4157
4158 2012-08-02 Bastien Guerry <bzg@gnu.org>
4159
4160 * replace.el (occur): Fix docstring (bug#12122).
4161
4162 2012-08-02 Glenn Morris <rgm@gnu.org>
4163
4164 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4165
4166 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4167
4168 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4169 * international/mule-cmds.el: Create
4170 inactivate-current-input-method-function as an obsolete alias for
4171 deactivate-current-input-method-function. See Katsumi Yamaoka in
4172 <http://bugs.gnu.org/10150#46>.
4173
4174 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4175
4176 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4177 of nested `if's.
4178
4179 2012-08-01 Glenn Morris <rgm@gnu.org>
4180
4181 * progmodes/autoconf.el (autoconf-definition-regexp):
4182 Add AH_TEMPLATE, adjust submatch numbering.
4183 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4184 (autoconf-current-defun-function): Update for above change.
4185 (autoconf-current-defun-function): First skip to end of current word.
4186
4187 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4188
4189 * calendar/cal-html.el (cal-html-insert-agenda-days):
4190 Fix typo. (Bug#12018)
4191
4192 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4193
4194 Shell processes: enhancements to startup and CEDET compatibility.
4195 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4196 (python-shell-make-comint): accept-process-output at startup.
4197 (run-python-internal): Set inferior-python-mode-hook to nil.
4198 (python-shell-internal-get-or-create-process): call sit-for.
4199 (python-preoutput-result): Add obsolete alias.
4200 (python-shell-internal-send-string): Use it.
4201 (python-shell-send-setup-code): Remove call to
4202 accept-process-output.
4203
4204 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4207 (Bug#12108)
4208
4209 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4210
4211 * calc-mode.el (calc-basic-simplification-mode): Rename from
4212 `calc-limited-simplification-mode'.
4213 (calc-alg-simplification-mode): New function.
4214 (calc-set-simplify-mode): Adjust message.
4215
4216 * calc.el (calc-set-mode-line): Adjust mode line display for
4217 basic simplification mode.
4218
4219 * calc-help.el (calc-m-prefix-help): Update help message.
4220
4221 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4222 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4223
4224 2012-07-31 Bastien Guerry <bzg@gnu.org>
4225
4226 * man.el (man): Fix comment. (bug#12101)
4227
4228 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4229
4230 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4231 Don't return a non-nil value when no suitable buffer was found.
4232
4233 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4234
4235 * progmodes/python.el (run-python-internal): Disable font lock for
4236 internal shells.
4237
4238 2012-07-30 Stefan Merten <smerten@oekonux.de>
4239
4240 * textmodes/rst.el: Silence `checkdoc-ispell'.
4241 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4242 (rst-official-version, rst-official-cvs-rev)
4243 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4244 (rst-mode-map): New key binding.
4245
4246 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4247
4248 Update .PHONY listings in makefiles.
4249 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4250 autoloads, update-subdirs, updates, bzr-update, update-authors,
4251 compile-onefile, compile-calc, backup-compiled-files,
4252 compile-after-backup, compile-one-process, mh-autoloads,
4253 bootstrap-clean, distclean, maintainer-clean.
4254
4255 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4256
4257 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4258 (calc-set-mode-line): Don't display "AlgSimp ".
4259
4260 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4261 (calc-lim-simplify-mode): New function.
4262 (calc-set-simplify-mode): Default to 'alg.
4263 (calc-default-simplify-mode): Make algebraic simplifications
4264 the default.
4265
4266 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4267 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4268
4269 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4270 indicate new simplification modes.
4271
4272 * calc/README: Mention new default simplification mode.
4273
4274 * calc/calc.el (math-normalize-error): New variable.
4275 (math-normalize): Set `math-normalize-error' to t
4276 when there's an error.
4277
4278 * calc/calc-alg.el (math-simplify): Don't simplify when
4279 `math-normalize' returns an error.
4280
4281 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4282
4283 * international/mule-cmds.el (set-locale-environment): Revert last
4284 change, since display-graphic-p returns nil when this function is
4285 called during startup. Instead...
4286
4287 * term/w32console.el (terminal-init-w32console): ...setup the
4288 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4289
4290 2012-07-29 Juri Linkov <juri@jurta.org>
4291
4292 * simple.el (goto-line): Don't display default line number in the
4293 prompt because it should be displayed by `read-number' (bug#9952).
4294 Add the current line number to the defaults of `goto-line' to
4295 allow its easier modification by users with `M-n' (bug#9201).
4296
4297 * subr.el (read-number): Support multiple default values like in
4298 other minibuffer reading functions. Replace `read' with
4299 `string-to-number' for consistency with `number-to-string'.
4300
4301 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4302
4303 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4304 * emulation/viper-init.el (viper-deactivate-input-method-action):
4305 Rename from viper-inactivate-input-method-action.
4306 (viper-deactivate-input-method):
4307 Rename from viper-inactivate-input-method.
4308 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4309 * international/mule-cmds.el (deactivate-input-method):
4310 Rename from inactivate-input-method.
4311 Also run input-method-deactivate-hook.
4312 (deactivate-current-input-method-function):
4313 Rename from inactivate-current-input-method-function.
4314 (input-method-deactivate-hook): New hook.
4315 (input-method-inactivate-hook): Mark obsolete.
4316 (inactivate-input-method): Mark obsolete.
4317
4318 * international/quail.el (quail-activate):
4319 Also run quail-deactivate-hook.
4320 (quail-deactivate): Rename from quail-inactivate.
4321 * international/robin.el (robin-activate):
4322 Also run robin-deactivate-hook.
4323 (robin-deactivate): Rename from robin-inactivate.
4324
4325 2012-07-29 Chong Yidong <cyd@gnu.org>
4326
4327 * simple.el (indicate-copied-region): New function.
4328 (kill-ring-save): Split off from here.
4329
4330 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4331 (kill-rectangle): Set deactivate-mark to t on read-only error.
4332
4333 * register.el (copy-to-register, copy-rectangle-to-register):
4334 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4335 (append-to-register, prepend-to-register): Call indicate-copied-region.
4336
4337 2012-07-29 Juri Linkov <juri@jurta.org>
4338
4339 * simple.el (async-shell-command-buffer): New defcustom.
4340 (shell-command): Use it. (Bug#4719)
4341
4342 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4343
4344 * international/mule-cmds.el (set-locale-environment): In a
4345 console session on MS-Windows, set up keyboard and terminal
4346 encoding from the OEM codepage, not the ANSI codepage.
4347 (Bug#12055)
4348
4349 2012-07-28 Chong Yidong <cyd@gnu.org>
4350
4351 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4352 gdb-get-location.
4353
4354 2012-07-28 Leo Liu <sdl.web@gmail.com>
4355
4356 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4357 the alist (bug#12029).
4358
4359 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4360
4361 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4362 (compile-always, compile-first)
4363 ($(lisp)/calendar/cal-loaddefs.el)
4364 ($(lisp)/calendar/diary-loaddefs.el)
4365 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4366 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4367 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4368 instead of on update-subdirs.
4369 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4370
4371 2012-07-28 Chong Yidong <cyd@gnu.org>
4372
4373 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4374 directory if vc-deduce-backend returns nil (Bug#7350).
4375
4376 * simple.el (delete-trailing-lines): New option.
4377 (delete-trailing-whitespace): Obey it (Bug#11879).
4378
4379 2012-07-28 David Engster <deng@randomsample.de>
4380
4381 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4382 Explanation of new 'symbol-qnames feature in doc-strings.
4383 (xml-maybe-do-ns): Return expanded names as plain symbols if
4384 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4385 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4386
4387 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4388
4389 Consistent completion in inferior python with emacs -nw.
4390 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4391 binding in inferior-python-mode-map with "\t".
4392 (python-shell-completion-complete-at-point)
4393 (python-completion-complete-at-point): Remove interactive spec.
4394
4395 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4396
4397 * calc/calccomp.el (math-compose-expr): Undo previous change.
4398
4399 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4400
4401 * progmodes/python.el (python-mode-map): Add keybinding for
4402 run-python.
4403 (python-shell-make-comint): Fix pop-to-buffer call.
4404 (run-python): Autoload. New arg SHOW.
4405 (python-shell-get-or-create-process): Do not pop python process
4406 buffer.
4407
4408 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4409
4410 * notifications.el (notifications-on-action-signal)
4411 (notifications-on-closed-signal): Use also the bus address for the map.
4412 (notifications-notify, notifications-close-notification)
4413 (notifications-get-capabilities): Add optional argument BUS.
4414
4415 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4416
4417 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4418 Add support for the lstlisting and minted environments, and for the
4419 ctable macro.
4420 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4421 labels written in keyvals syntax.
4422
4423 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4424
4425 * calc/calccomp.el (math-compose-expr): Use parentheses when
4426 there is a product in the denominator of a fraction.
4427
4428 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4429
4430 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4431 ($(lisp)/calendar/diary-loaddefs.el)
4432 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4433 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4434 Fixes failures in parallel bootstrap because subdirs.el is being
4435 rewritten while the autoload files are built at the same time,
4436 which needs to load subdirs.el.
4437
4438 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4439
4440 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4441 (mouse-drag-line): Don't exit tracking when a switch-frame or
4442 switch-window event occurs (Bug#12006).
4443
4444 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * mouse.el (popup-menu): Fix last change.
4447
4448 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 Autoload from Lisp with more care. Follow aliases when looking for
4451 function properties.
4452 * subr.el (autoloadp): New function.
4453 (symbol-file): Use it.
4454 (function-get): New function.
4455 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4456 autoload-do-load.
4457 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4458 (lisp-indent-function):
4459 * emacs-lisp/gv.el (gv-get):
4460 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4461 * emacs-lisp/byte-opt.el (byte-optimize-form):
4462 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4463 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4464 Use function-get.
4465 * emacs-lisp/cl.el: Don't propagate function properties any more.
4466
4467 * speedbar.el (speedbar-add-localized-speedbar-support):
4468 * emacs-lisp/disass.el (disassemble-internal):
4469 * desktop.el (desktop-load-file):
4470 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4471 (describe-function-1):
4472 * emacs-lisp/find-func.el (find-function-noselect):
4473 * emacs-lisp/elp.el (elp-instrument-function):
4474 * emacs-lisp/advice.el (ad-has-proper-definition):
4475 * apropos.el (apropos-safe-documentation, apropos-macrop):
4476 * emacs-lisp/debug.el (debug-on-entry):
4477 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4478 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4479 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4480
4481 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4482
4483 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4484 function, not an obsolete variable (Bug#12046).
4485
4486 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4487
4488 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4489
4490 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4491
4492 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4493 window only if it is still live (Bug#12034).
4494
4495 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4496
4497 * subr.el (redirect-frame-focus): Add advertised calling
4498 convention (Bug#12030).
4499
4500 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4501
4502 Prefer typical American spelling for "acknowledgment".
4503 * vc/add-log.el (change-log-acknowledgment): Rename from
4504 change-log-acknowledgement, with an alias for the old name.
4505
4506 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4507
4508 * calc-alg.el (math-simplify-divide): Don't cross multiply
4509 in an equation when the lhs is a variable.
4510
4511 2012-07-24 Julien Danjou <julien@danjou.info>
4512
4513 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4514 Remove, unused.
4515
4516 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4517
4518 * startup.el (command-line): Don't display an empty user name in
4519 the error message about non-existent home directory, when
4520 init-file-user was set to an empty string. See
4521 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4522 for the details and context.
4523
4524 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4525
4526 * ses.el (ses-cell-formula-aset): New macro.
4527 (ses-cell-references-aset): New macro.
4528 (ses-cell-p): New function.
4529 (ses-rename-cell): Do no longer rely on complex operations like
4530 ses-cell-set-formula or ses-set-cell to change the cell and handle
4531 the undo at the same time, but rather use lower level new macros
4532 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4533 the undo directly. Refresh the mode line.
4534
4535 2012-07-21 Leo Liu <sdl.web@gmail.com>
4536
4537 * progmodes/cc-cmds.el (c-defun-name):
4538 Use match-string-no-properties instead for consistency.
4539
4540 2012-07-20 Leo Liu <sdl.web@gmail.com>
4541
4542 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4543 (Bug#7879)
4544
4545 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4546
4547 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4550 * progmodes/bug-reference.el, misearch.el: Provide themselves
4551 (bug#11915).
4552
4553 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4554 of narrowed buffer (bug#11966).
4555
4556 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4557
4558 * ses.el (ses-rename-cell): Set new name also in reference list of
4559 cells of which the renamed cell depends.
4560
4561 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4562
4563 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4564 to check whether menu-bar is shown or not. If not shown,
4565 show the menu-bar as a popup menu instead of using tmm.
4566 * mouse.el (popup-menu): Accept `point' as `position' argument.
4567
4568 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4569
4570 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4571 up inside string symbol literal (bug#11923).
4572
4573 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4574
4575 * startup.el (fancy-startup-text): Read the whole tutorial, not
4576 just its first 256 bytes. Prevents gibberish in display of the
4577 tutorial title.
4578
4579 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4580
4581 Drop idle buffer compaction due to an absence of the
4582 proved efficiency.
4583 * compact.el: Remove.
4584
4585 2012-07-19 Sam Steingold <sds@gnu.org>
4586
4587 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4588 vc-bzr-pull & vc-bzr-merge-branch.
4589 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4590 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4591 for consistency with compilation-error-regexp-alist.
4592 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4593 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4594 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4595 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4596
4597 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * emacs-lisp/chart.el: Use lexical-binding.
4600 (chart-emacs-storage): Don't hardcode the list of entries.
4601
4602 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4603
4604 Next round of tweaks caused by Fgarbage_collect changes.
4605 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4606
4607 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4608
4609 Compact buffers when idle.
4610 * compact.el: New file.
4611
4612 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * subr.el (eventp): Presume that if it looks vaguely like an event,
4615 it's an event (bug#10190).
4616
4617 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4618
4619 Enhancements to ppss related code (thanks Stefan).
4620 * progmodes/python.el (python-indent-context)
4621 (python-indent-calculate-indentation, python-indent-dedent-line)
4622 (python-indent-electric-colon, python-nav-forward-block)
4623 (python-mode-abbrev-table)
4624 (python-info-assignment-continuation-line-p): Simplify checks
4625 for ppss context.
4626 (python-info-continuation-line-p): Cleanup.
4627 (python-info-ppss-context): Do not catch 'quote.
4628 (python-info-ppss-context-type)
4629 (python-info-ppss-comment-or-string-p): Simplify.
4630
4631 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4632
4633 * progmodes/python.el: Enhancements to eldoc support.
4634 (python-info-current-symbol): New function.
4635 (python-eldoc-at-point): Use python-info-current-symbol.
4636 (python-info-current-defun): Fix cornercase on first defun scan.
4637 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4638 and signal error when no inferior python process is available.
4639
4640 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4641
4642 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4643 assume it's always t.
4644 (vc-git-registered): Remove caching, the function is only called
4645 once.
4646 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4647
4648 2012-07-18 Chong Yidong <cyd@gnu.org>
4649
4650 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4651
4652 * simple.el (count-words): Report on narrowing (Bug#9959).
4653
4654 * bindings.el: Bind M-= to count-words.
4655
4656 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4657
4658 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4659
4660 * progmodes/sh-script.el (sh-imenu-generic-expression):
4661 Capture a function with `function' keyword and without parentheses
4662 like "function FOO" (bug#11856).
4663
4664 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4665
4666 * window.el (split-window-sensibly): Make WINDOW argument
4667 optional.
4668
4669 2012-07-18 Chong Yidong <cyd@gnu.org>
4670
4671 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4672
4673 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4674 and make C-x 8 RET exit isearch (Bug#11439).
4675
4676 * international/iso-transl.el: Move isearch-mode-map key
4677 definitions to isearch.el.
4678
4679 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4682 (eieio-defclass): Use gv-define-setter when possible.
4683
4684 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4685
4686 Reflect recent changes in Fgarbage_collect.
4687 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4688 reflect new format of data returned by Fgarbage_collect.
4689
4690 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4691
4692 New utility functions + python-info-ppss-context fix (Bug#11910).
4693 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4694 (python-info-ppss-comment-or-string-p): New functions.
4695 (python-info-ppss-context): Small fix for string check.
4696
4697 2012-07-17 Juri Linkov <juri@jurta.org>
4698
4699 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4700 (dired-do-async-shell-command): Don't add `*' at the end of the
4701 command (Bug#11815).
4702 (dired-do-shell-command): Doc fix.
4703 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4704 Join the individual commands using either "&" or ";" as the
4705 separator depending on the values of these trailing characters.
4706 At the end re-add the trailing "&". (Bug#10598)
4707
4708 * simple.el (async-shell-command): Sync the interactive spec with
4709 `shell-command'. Doc fix.
4710 (shell-command): Doc fix.
4711
4712 2012-07-17 Juri Linkov <juri@jurta.org>
4713
4714 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4715
4716 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4717
4718 Final renames and doc fixes for movement commands (bug#11899).
4719 * progmodes/python.el (python-nav-beginning-of-statement):
4720 Rename from python-nav-statement-start.
4721 (python-nav-end-of-statement): Rename from
4722 python-nav-statement-end.
4723 (python-nav-beginning-of-block): Rename from
4724 python-nav-block-start.
4725 (python-nav-end-of-block): Rename from python-nav-block-end.
4726
4727 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4728
4729 * progmodes/python.el (python-shell-send-string-no-output):
4730 Allow accept-process-output to quit, keeping shell process ready for
4731 future interactions (Bug#11868).
4732
4733 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4736
4737 * emacs-lisp/elint.el (elint-find-args-in-code):
4738 Use help-function-arglist, so as to handle lexical byte-code.
4739
4740 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4741 change (bug#11826).
4742
4743 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4746 Avoid spuriously marking the buffer as modified because of c-is-sws.
4747
4748 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4749 as not-a-comment (bug#11946).
4750
4751 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4752 for uninterned vars.
4753
4754 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4755 Use read-event since we don't really want to read chars but bytes.
4756
4757 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4758 $$..$$ but also $..$ using regexps (bug#11953).
4759 Use tex-verbatim for \url and \path.
4760 (tex-font-lock-keywords): Define as defconst like the others.
4761 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4762
4763 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4764
4765 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4766 alias for insert-char.
4767
4768 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4769
4770 * progmodes/python.el: Simplified imenu implementation.
4771 (python-nav-jump-to-defun): Remove command.
4772 (python-mode-map): Use `imenu' instead.
4773 (python-nav-list-defun-positions-cache)
4774 (python-imenu-include-defun-type, python-imenu-make-tree)
4775 (python-imenu-subtree-root-label, python-imenu-index-alist):
4776 Remove vars.
4777 (python-nav-list-defun-positions, python-nav-read-defun)
4778 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4779 (python-imenu-make-tree, python-imenu-create-index):
4780 Remove functions.
4781 (python-mode): Update to interact with imenu by setting
4782 `imenu-extract-index-name-function' only.
4783
4784 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4785
4786 * progmodes/python.el: Enhancements to navigation commands.
4787 (python-nav-backward-sentence)
4788 (python-nav-forward-sentence): Remove.
4789 (python-nav-backward-statement, python-nav-forward-statement)
4790 (python-nav-statement-start, python-nav-statement-end)
4791 (python-nav-backward-block, python-nav-forward-block)
4792 (python-nav-block-start, python-nav-block-end)
4793 (python-nav-forward-sexp-function)
4794 (python-info-current-line-comment-p)
4795 (python-info-current-line-empty-p): New functions.
4796 (python-indent-context): Use `python-nav-statement-start'.
4797
4798 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4799
4800 * eshell/em-ls.el (eshell/ls): Use `apply'.
4801
4802 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4803 multi-hops, instead of Tramp internals.
4804
4805 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4806
4807 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4808 when F1 and F2 are located on different hosts.
4809
4810 2012-07-14 Chong Yidong <cyd@gnu.org>
4811
4812 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4813 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4814 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4815 (xterm-mouse--read-event-sequence-1000)
4816 (xterm-mouse--read-event-sequence-1006): New functions. For old
4817 mouse protocol, handle M-mouse-X events correctly.
4818 (xterm-mouse-event): New arg specifying mouse protocol.
4819 (turn-on-xterm-mouse-tracking-on-terminal)
4820 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4821 sequence to toggle extended coordinates on newer XTerms.
4822 This appears to be harmless on terminals which do not support this.
4823
4824 2012-07-14 Leo Liu <sdl.web@gmail.com>
4825
4826 Add fringe bitmap indicators for flymake. (Bug#11253)
4827 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4828 (flymake-make-overlay): New arg BITMAP.
4829 (flymake-error-bitmap, flymake-warning-bitmap)
4830 (flymake-fringe-indicator-position): New user variables.
4831
4832 * fringe.el: New bitmap exclamation-mark.
4833
4834 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4835
4836 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4837 also (Bug#7879).
4838
4839 2012-07-14 Chong Yidong <cyd@gnu.org>
4840
4841 * electric.el (electric-pair-post-self-insert-function): Fix pair
4842 insertion in empty-region case (Bug#11520).
4843
4844 2012-07-14 Chong Yidong <cyd@gnu.org>
4845
4846 * bindings.el: Consolidate ctl-x-r-map bindings.
4847 Bind copy-rectangle-as-kill to C-x r w.
4848
4849 * rect.el, register.el: Move bindings to bindings.el.
4850
4851 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4852
4853 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4854
4855 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4856
4857 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4858
4859 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * bindings.el (top): Use `mapc' instead of `mapcar'.
4862
4863 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4864
4865 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4866
4867 * progmodes/sql.el (sql-comint): Suppress the check for program on
4868 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4869 (Bug#11908)
4870
4871 2012-07-13 Chong Yidong <cyd@gnu.org>
4872
4873 * bindings.el: Assign a non-nil permanent-local property to
4874 per-buffer variables which lack a default value (Bug#11930).
4875
4876 * help-fns.el (describe-variable): In the "automatically becomes
4877 local" notice, take note of permanent-local variables.
4878
4879 2012-07-13 Chong Yidong <cyd@gnu.org>
4880
4881 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4882 to allow printing the message when called from Lisp.
4883
4884 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4885 Remove toggle-read-only.
4886
4887 * bs.el (bs-toggle-readonly):
4888 * buff-menu.el (Buffer-menu-toggle-read-only):
4889 Remove with-no-warnings around toggle-read-only.
4890
4891 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4892 Remove with-no-warnings around toggle-read-only.
4893 (ffap-read-only, ffap-read-only-other-window)
4894 (ffap-read-only-other-frame): Callers changed.
4895
4896 * help-mode.el: Don't require view package.
4897 (help-mode-finish): Set buffer-read-only instead of calling
4898 toggle-read-only.
4899
4900 * bindings.el (mode-line-toggle-read-only):
4901 * dired.el (dired-toggle-read-only):
4902 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4903 with non-nil second arg.
4904
4905 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4906 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4907 directly.
4908
4909 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4910
4911 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4912 not incf.
4913
4914 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 More CL cleanups and reduction of use of cl.el.
4917 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4918 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4919 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4920 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4921 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4922 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4923 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4924 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4925 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4926 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4927 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4928 * eshell/em-cmpl.el, eshell/em-banner.el:
4929 * calendar/parse-time.el: Use cl-lib.
4930 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4931 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4932 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4933 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4934 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4935 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4936 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4937 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4938 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4939 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4940 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4941 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4942 `lambda' rather than with `quote'.
4943 (eshell-do-opt): Adjust accordingly.
4944 (eshell-process-option): Simplify.
4945 * eshell/esh-var.el:
4946 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4947 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4948 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4949 to `pcase--dontcare'.
4950 * emacs-lisp/cl.el (labels): Mark obsolete.
4951 (cl--letf, letf): Move to cl-lib.
4952 (cl--letf*, letf*): Remove.
4953 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4954 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4955 (cl-progv): Rewrite.
4956 (cl--letf, cl-letf): Move from cl.el.
4957 (cl-letf*): New macro.
4958 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4959
4960 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4963
4964 2012-07-11 Chong Yidong <cyd@gnu.org>
4965
4966 * vc/log-edit.el (log-edit-vc-backend): New variable.
4967 (log-edit): Doc fix.
4968
4969 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4970 argument of log-edit to set up all local variables.
4971 (vc-start-logentry): New optional arg specifying VC backend.
4972
4973 * vc/vc.el (vc-checkin): Use it.
4974 (vc-deduce-fileset): Handle Log Edit buffers.
4975 (vc-diff): Make first argument optional too.
4976
4977 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4978
4979 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4980
4981 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4982 command, just in case. The function is not needed anymore.
4983 (eshell-external-command): Do not call `eshell-remote-command'.
4984
4985 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 Reduce use of (require 'cl).
4988 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4989 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4990 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4991 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4992 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4993 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4994 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4995 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4996 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4997 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4998 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4999 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5000 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5001 (byte-compile-unfold-bcf, byte-compile-check-variable):
5002 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5003 (byte-compile-nilconstp):
5004 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5005 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5006
5007 * emacs-lisp/gv.el (cond): Make it a valid place.
5008 (if): Simplify slightly.
5009
5010 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5011 (pcase--self-quoting-p): New function.
5012 (pcase--u1): Use it.
5013
5014 2012-07-10 Glenn Morris <rgm@gnu.org>
5015
5016 * emacs-lisp/authors.el (authors-fixed-entries):
5017 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5018
5019 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5020
5021 Rename configure.in to configure.ac (Bug#11603).
5022 * emacs-lisp/authors.el (authors-canonical-file-name):
5023 * progmodes/autoconf.el (autoconf-mode):
5024 Prefer configure.ac to configure.in.
5025
5026 2012-07-08 Chong Yidong <cyd@gnu.org>
5027
5028 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5029 Implement the mouse-1-click-follows-link handling properly.
5030
5031 * info.el (Info-link-keymap): Use follow-link mechanism for
5032 header-line links (Bug#374).
5033
5034 * simple.el (deactivate-mark): Do not set the primary selection
5035 if another program has acquired it (Bug#11772).
5036
5037 2012-07-07 Kevin Ryde <user42@zip.com.au>
5038
5039 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5040 (woman-decode-region): Replace escaped-escapes without destroying
5041 bold or underline (Bug#11552).
5042 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5043
5044 2012-07-07 Chong Yidong <cyd@gnu.org>
5045
5046 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5047 (interprogram-cut-function, interprogram-paste-function):
5048 Mention that we typically mean the clipboard.
5049
5050 2012-07-06 Glenn Morris <rgm@gnu.org>
5051
5052 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5053
5054 * files.el (toggle-read-only): Restrict message to interactive use.
5055
5056 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5057
5058 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5059
5060 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5061
5062 2012-07-06 Glenn Morris <rgm@gnu.org>
5063
5064 * Makefile.in (compile-one-process): Rename from "recompile".
5065
5066 * Makefile.in (bzr-update): "compile" is the same as "recompile
5067 autoloads", but parallelizable, so use that instead.
5068
5069 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5070
5071 * window.el (quit-window): Always restore window height when
5072 it's saved in quit-restore parameter (Bug#11810).
5073
5074 2012-07-06 Glenn Morris <rgm@gnu.org>
5075
5076 * simple.el (kill-whole-line): Doc tweak.
5077
5078 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5079
5080 * files.el (file-relative-name): Compare file names
5081 case-insensitively if on MS-Windows or MS-DOS, or if
5082 read-file-name-completion-ignore-case is non-nil. Don't use
5083 case-fold-search for this purpose. (Bug#11827)
5084
5085 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5086
5087 * calendar/cal-dst.el (calendar-current-time-zone):
5088 Return calendar-current-time-zone-cache if non-nil.
5089
5090 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5091 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5092
5093 * calendar/cal-dst.el (calendar-current-time-zone):
5094 Return calendar-current-time-zone-cache if non-nil.
5095
5096 2012-07-06 Glenn Morris <rgm@gnu.org>
5097
5098 * Makefile.in (cvs-update): Remove old alias.
5099
5100 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5101
5102 Sync with Tramp 2.2.6-pre.
5103
5104 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5105 compatible declaration.
5106
5107 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5108 Protect `list-load-path-shadows' call.
5109
5110 * net/tramp-compat.el (top): Require packages, which aren't
5111 autoloaded anymore for XEmacs. Protect call of
5112 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5113 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5114 it hurts at least for SXEmacs.
5115 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5116 standard-value for `temporary-file-directory'.
5117
5118 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5119 Redirect stderr to /dev/null.
5120 (tramp-sh-handle-write-region): uid and gid can be floats.
5121 Reported by Russell Sim <russell.sim@gmail.com>.
5122 (tramp-sh-handle-vc-registered): Hide errors.
5123 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5124 and `start-file-process'.
5125 (tramp-maybe-open-connection): Check also whether `non-essential'
5126 is bound.
5127
5128 2012-07-04 Chong Yidong <cyd@gnu.org>
5129
5130 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5131 (xml-parse-tag): Likewise, and avoid changing entity tables.
5132 (xml-syntax-table): Define from scratch, making sure not to give
5133 x2000 and other Unicode spaces whitespace syntax, since those are
5134 not spaces in XML.
5135 (xml-parse-fragment): Delete unused function.
5136 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5137 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5138 (xml-entity-ref, xml-pe-reference-re)
5139 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5140 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5141 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5142 (xml-entity-value-re): Use syntax references in regexps where
5143 possible; no need to define inside a let-binding.
5144 (xml-parse-dtd): Use xml-pe-reference-re.
5145 (xml-entity-or-char-ref-re): New defconst.
5146 (xml-parse-string, xml-substitute-special): Use it.
5147
5148 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5151 (find-file--read-only): New function.
5152 (find-file-read-only, find-file-read-only-other-window)
5153 (find-file-read-only-other-frame): Use it.
5154 (insert-file-contents-literally): Don't `fset'.
5155 (get-free-disk-space): Use locate-dominating-file.
5156
5157 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5158 function is already compiled.
5159
5160 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5161
5162 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5163
5164 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5165 files on the same host.
5166
5167 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5168
5169 * help-fns.el (describe-function-1): Only call
5170 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5171
5172 2012-07-03 Chong Yidong <cyd@gnu.org>
5173
5174 * xml.el: Protect parser against XML bombs.
5175 (xml-entity-expansion-limit): New variable.
5176 (xml-parse-string, xml-substitute-special): Use it.
5177 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5178
5179 2012-07-03 Glenn Morris <rgm@gnu.org>
5180
5181 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5182 Allow linking to specific messages in debbugs reports (eg 123#5).
5183
5184 2012-07-02 Chong Yidong <cyd@gnu.org>
5185
5186 * xml.el: Fix entity and character reference expansion, allowing
5187 them to expand into markup as per XML spec.
5188 (xml-default-ns): New variable.
5189 (xml-entity-alist): Use XML spec definitions for lt and amp.
5190 (xml-parse-region): Make first two arguments optional.
5191 Discard text properties.
5192 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5193 All callers changed.
5194 (xml-parse-tag): Call xml-parse-tag-1. For backward
5195 compatibility, this function should not modify buffer contents.
5196 (xml-parse-tag-1): Fix opening-tag regexp.
5197 (xml-parse-string): Rewrite, handling entity and character
5198 references properly.
5199 (xml--entity-replacement-text): Signal an error if a parameter
5200 entity is undefined.
5201
5202 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * comint.el (comint-output-filter): Filter out repeated prompts.
5205
5206 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5207 and file-name-absolute-p.
5208 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5209 internal calls.
5210
5211 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5212
5213 Spelling fixes.
5214 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5215 Rename from byte-compile--refiy-function. All uses changed.
5216
5217 2012-07-01 Chong Yidong <cyd@gnu.org>
5218
5219 * xml.el (xml--parse-buffer): New function. Move most of
5220 xml-parse-region here.
5221 (xml-parse-region): Copy region into a temporary buffer, since
5222 parameter entity substitution requires changing buffer contents.
5223 Use xml--parse-buffer.
5224 (xml-parse-file): Use xml--parse-buffer.
5225 (xml-parse-dtd): Make parameter entity substitution work right.
5226 Use proper regexps for ELEMENT declarations (Bug#7172).
5227
5228 2012-06-30 Glenn Morris <rgm@gnu.org>
5229
5230 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5231
5232 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5233 Remove outdated and unnecessary dbus declarations.
5234
5235 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5236
5237 * emacs-lisp/timer.el (timer-until): Subtract results of
5238 float-time, instead of taking float-time of the result of
5239 time-subtract, since float-time signals an error for negative time
5240 arguments.
5241
5242 2012-06-30 Chong Yidong <cyd@gnu.org>
5243
5244 * xml.el (xml-*-re): Convert defvars into defconsts, and
5245 eval-and-compile them so eval-and-compile works on derivatives.
5246 (xml--entity-replacement-text): Use eval-and-comple.
5247
5248 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5249
5250 * vc/vc-git.el (vc-git-registered): Use cache property
5251 `git-registered'.
5252 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5253 `vc-git-working-revision' in order to benefit from the cache.
5254 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5255
5256 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5257
5258 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5259 removed (likely outside Emacs). (Bug#11757)
5260
5261 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * emacs-lisp/cl-lib.el: Require macroexp.
5264
5265 2012-06-30 Chong Yidong <cyd@gnu.org>
5266
5267 * xml.el: Implement XML parameter entities.
5268 (xml-parameter-entity-alist): New variable.
5269 (xml-parse-region, xml-parse-fragment): Preserve previous values
5270 of xml-entity-alist and xml-parameter-entity-alist, so that
5271 repeated calls on different documents do not change them.
5272 (xml-parse-tag): Fix doctype regexp.
5273 (xml--entity-replacement-text): New function.
5274 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5275 properly requires url retrieval which is unimplemented.
5276 (xml-escape-string): Doc fix.
5277
5278 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5281
5282 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5283
5284 * fringe.el (fringe-mode): Doc fix.
5285
5286 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5287
5288 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5289 is non-nil.
5290 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5291 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5292
5293 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5294
5295 * calendar/cal-dst.el (calendar-current-time-zone):
5296 Return calendar-current-time-zone-cache if non-nil.
5297
5298 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5299
5300 * progmodes/which-func.el (which-func-format):
5301 Add mouse-face. (Bug#11698)
5302
5303 2012-06-29 Leo Liu <sdl.web@gmail.com>
5304
5305 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5306
5307 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * minibuffer.el (minibuffer-confirm-exit-commands):
5310 Add completion-at-point (bug#11725).
5311
5312 2012-06-29 Glenn Morris <rgm@gnu.org>
5313
5314 * progmodes/f90.el (f90-font-lock-keywords-2):
5315 Add some preprocessor elements. (Bug#10499)
5316
5317 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5320 Use syntax-propertize (bug#11739).
5321
5322 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5323
5324 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5325
5326 2012-06-28 Julien Danjou <julien@danjou.info>
5327
5328 * term.el (term-handle-colors-array): Use a set of new faces to
5329 color the terminal. Also uses :inverse-video property.
5330 (term-default-fg-color): Set to nil by default, deprecate in favor
5331 of `term-face'.
5332 (term-default-bg-color): Set to nil by default, deprecate in favor
5333 of `term-face'.
5334 (term-current-face): Use `term-face' by default.
5335 (term-bold-attribute): Variable deleted.
5336
5337 2012-06-28 Glenn Morris <rgm@gnu.org>
5338
5339 * simple.el (completion-list-mode-finish):
5340 Don't use toggle-read-only. (Since completion-list-mode has
5341 a special mode-class, it wasn't doing anything extra anyway.)
5342
5343 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 Make inlining of other-mode interpreted functions work (bug#11799).
5346 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5347 (byte-compile): Use it to fix compilation of lexical-binding closures.
5348 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5349 function, if needed.
5350
5351 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * help-mode.el (help-make-xrefs): Don't just withstand
5354 cyclic-variable-indirection but any error in documentation-property.
5355
5356 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5357 memory use.
5358 * bindings.el (bindings--define-key): New function.
5359 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5360 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5361 * bindings.el: Use it to purecopy define-key bindings.
5362
5363 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5364
5365 * emacs-lisp/cl.el (flet): Mark obsolete.
5366 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5367 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5368 * progmodes/js.el (js-c-fill-paragraph):
5369 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5370 (ebrowse-switch-member-buffer-to-derived-class):
5371 * play/5x5.el (5x5-solver): Use cl-flet.
5372
5373 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5374 (cl--symbol-function): New macro.
5375 (cl--letf, cl--letf*): Use it.
5376
5377 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5378 Strip "toggle-" if any.
5379
5380 2012-06-27 Glenn Morris <rgm@gnu.org>
5381
5382 * info.el (Info-default-directory-list): Move here from paths.el.
5383 * paths.el: Remove file, which is now empty.
5384 * loadup.el: No longer load "paths".
5385
5386 * custom.el (custom-initialize-delay): Doc fix.
5387
5388 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5389 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5390 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5391 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5392 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5393 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5394 * eshell/eshell.el (eshell-defgroup): Remove alias.
5395
5396 2012-06-27 Chong Yidong <cyd@gnu.org>
5397
5398 * help.el (help-enable-auto-load): New variable.
5399
5400 * help-fns.el (help-fns--autoloaded-p): New function.
5401 (describe-function-1): Refer to a function as "autoloaded" if it
5402 was autoloaded at any time in the past. Perform autoloading if
5403 help-enable-auto-load is non-nil.
5404
5405 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5406
5407 * makefile.w32-in (compile, compile-always): Depend on
5408 update-subdirs, not on subdirs.el. Otherwise, several different
5409 sub-targets of 'bootstrap' running in parallel could
5410 simultaneously write to subdirs.el, producing a garbled file.
5411
5412 2012-06-26 Sam Steingold <sds@gnu.org>
5413
5414 * files.el (file-name-base): New convenience function.
5415 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5416 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5417 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5418 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5419 * textmodes/ispell.el, textmodes/reftex-ref.el:
5420 * textmodes/tex-mode.el: Use it.
5421 Did not touch cedet and org because they are maintained elsewhere.
5422
5423 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5424
5425 * calendar/calendar.el (calendar-exit): Don't try to delete or
5426 iconify last frame. See:
5427 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5428
5429 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5430
5431 * server.el (server-process-filter): Remember dir in the
5432 process's `server-client-directory' properties.
5433
5434 2012-06-24 Chong Yidong <cyd@gnu.org>
5435
5436 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5437 non-tag text.
5438
5439 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5440
5441 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5442
5443 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * help-fns.el (describe-variable): Don't croak when doc is not found.
5446 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5447 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5448 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5449 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5450 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5451 ((lambda ..) ..).
5452 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5453
5454 2012-06-23 Chong Yidong <cyd@gnu.org>
5455
5456 * info.el (Info-mouse-follow-link): Accept symbol values of
5457 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5458 (Info-fontify-node): Use Info-link-keymap for all navigation
5459 buttons, with link-args property to perform the desired action.
5460 (Info-link-keymap): Doc fix.
5461 (Info-next-link-keymap, Info-prev-link-keymap)
5462 (Info-up-link-keymap): Delete now-unused keymaps.
5463
5464 2012-06-23 Chong Yidong <cyd@gnu.org>
5465
5466 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5467
5468 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5469 system abbrevs.
5470
5471 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5472
5473 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5476 (bug#11719).
5477
5478 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5479 the requote function doesn't work properly (bug#11714).
5480
5481 2012-06-23 Glenn Morris <rgm@gnu.org>
5482
5483 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5484
5485 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 Further GV/CL cleanups.
5488 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5489 gv-expander.
5490 (gv--defun-declaration): New function.
5491 (defun-declarations-alist): Use it.
5492 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5493 (gv-place): Autoload.
5494 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5495 original definition of dotimes and dolist.
5496 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5497 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5498 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5499 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5500 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5501 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5502 to the function's definition.
5503 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5504 * window.el:
5505 * files.el:
5506 * faces.el:
5507 * env.el: Don't use CL.
5508
5509 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5510
5511 Support higher-resolution time stamps (Bug#9000).
5512
5513 * calendar/time-date.el (with-decoded-time-value): New arg
5514 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5515 (encode-time-value): New optional arg PICO. New type 3.
5516 (time-to-seconds) [!float-time]: Support the new picoseconds
5517 component if it's used.
5518 (seconds-to-time, time-subtract, time-add):
5519 Support ps-resolution time stamps as well.
5520
5521 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5522 (timerp): Timer vectors now have length 9, not 8.
5523 (timer--time): Support new-style (4-part) time stamps.
5524 (timer-next-integral-multiple-of-time): Time stamps now have
5525 picosecond resolution, so take a bit more care about rounding.
5526 (timer-relative-time, timer-inc-time): New optional arg psecs.
5527 (timer-set-time-with-usecs): Set psecs to 0.
5528 (timer--activate): Check psecs component, too.
5529
5530 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5531
5532 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5535 Move the non-essential binding to the post/pre-command-hook where it is
5536 more obviously correct.
5537
5538 * subr.el (read-passwd): Don't use a history at all.
5539 * savehist.el (savehist-save): Remove password saved accidentally
5540 because of the above bug.
5541
5542 2012-06-22 Bastien Guerry <bzg@gnu.org>
5543
5544 * files.el (toggle-read-only): Display a message telling whether
5545 the buffer is read-only or not (bug#11726).
5546
5547 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * emacs-lisp/gv.el: New file.
5550 * subr.el (push, pop): Extend to generalized variables.
5551 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5552 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5553 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5554 gv-define-simple-setter, and gv-define-expander.
5555 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5556 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5557 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5558 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5559 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5560 gv-letplace.
5561 (cl-defstruct): Don't define setf-method any more.
5562 * emacs-lisp/cl.el (flet): Don't autoload.
5563 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5564 (define-setf-expander, defsetf, define-modify-macro)
5565 (cl-struct-setf-expander): Move from cl-lib.el.
5566 * emacs-lisp/syntax.el:
5567 * emacs-lisp/ewoc.el:
5568 * emacs-lisp/smie.el:
5569 * emacs-lisp/cconv.el:
5570 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5571 (timer--time): Use gv-define-simple-setter.
5572 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5573 to avoid coding-system problems in subr.el. Adjust all users.
5574 (macroexp--maxsize, macroexp-small-p): New functions.
5575 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5576 * scroll-bar.el (scroll-bar-mode):
5577 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5578 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5579 * winner.el (winner-configuration, winner-make-point-alist)
5580 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5581 * files.el (locate-file-completion-table): Avoid list*.
5582
5583 2012-06-22 Chong Yidong <cyd@gnu.org>
5584
5585 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5586 (dired-create-files): Doc fix (Bug#11329).
5587 (dired-do-copy): Doc fix (Bug#11334).
5588 (dired-mark-read-string): Doc fix (Bug#11553).
5589
5590 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5591 Doc fix (Bug#11326).
5592 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5593 (dired-dwim-target): Doc fix.
5594
5595 * wdired.el (wdired-mode): Doc fix.
5596
5597 2012-06-22 Glenn Morris <rgm@gnu.org>
5598
5599 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5600 (pcmpl-rpm-cache-stamp-file): New constant.
5601 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5602 (pcmpl-rpm-packages): Optionally cache list of packages.
5603
5604 * pcmpl-rpm.el (pcmpl-rpm): New group.
5605 (pcmpl-rpm-query-options): New option.
5606 (pcmpl-rpm-packages): No need to inline it.
5607 Use pcmpl-rpm-query-options.
5608
5609 * calendar/calendar.el (calendar-in-read-only-buffer):
5610 Avoid some needless mode changes.
5611
5612 2012-06-21 Chong Yidong <cyd@gnu.org>
5613
5614 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5615 (desktop-path): Remove . from the default value (Bug#10977).
5616 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5617
5618 2012-06-20 Chong Yidong <cyd@gnu.org>
5619
5620 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5621
5622 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5623
5624 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5625 (bug#11201).
5626
5627 2012-06-20 Chong Yidong <cyd@gnu.org>
5628
5629 * term.el (term-window-width): Handle the case of a missing right
5630 fringe (Bug#8837).
5631 (term-check-size): Use window-text-height (Bug#5445).
5632 (term-mode): Use define-derived-mode. Minor cleanups.
5633 Set font-lock-defaults (Bug#7692).
5634 (term-move-columns, term-insert-char, term-emulate-terminal)
5635 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5636
5637 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5638
5639 * net/ange-ftp.el (ange-ftp-get-passwd):
5640 Bind `enable-recursive-minibuffers'.
5641 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5642
5643 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5644
5645 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5646
5647 2012-06-19 Glenn Morris <rgm@gnu.org>
5648
5649 * progmodes/python.el (python-mode): Derive from prog-mode.
5650
5651 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5652
5653 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5654 (edt-user-menu-bar-update-buffers): New functions.
5655 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5656
5657 2012-06-19 Chong Yidong <cyd@gnu.org>
5658
5659 * subr.el (with-selected-window): Preserve the selected window's
5660 terminal's top-frame (Bug#4702).
5661
5662 * window.el (save-selected-window): Likewise.
5663
5664 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * progmodes/python.el (python-rx-constituents): Move backquote.
5667 (python-skeleton-define, python-define-auxiliary-skeleton):
5668 Use `declare'.
5669
5670 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * minibuffer.el (read-file-name-default): Revert the patch from
5673 2012-06-17.
5674
5675 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5678 (pcase--u1, pcase--q1): Don't use apply-partially.
5679
5680 2012-06-18 Glenn Morris <rgm@gnu.org>
5681
5682 * progmodes/python.el (python-proc, python-buffer)
5683 (python-send-receive, python-send-string): Fix obsolete versions.
5684
5685 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5686
5687 * window.el (special-display-p): Completely remove stringp
5688 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5689
5690 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5691
5692 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5693
5694 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5695
5696 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5697 * net/tramp-sh.el (tramp-maybe-open-connection):
5698 Throw if `non-essential' is non-nil.
5699
5700 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5701
5702 * window.el (special-display-p): Signal an error if BUFFER-NAME
5703 is not a string (Bug#11713).
5704
5705 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5706
5707 * progmodes/python.el (python-info-beginning-of-backslash):
5708 Rename from python-info-beginning-of-backlash, as a spelling fix.
5709
5710 2012-06-17 Chong Yidong <cyd@gnu.org>
5711
5712 * term.el (term-emulate-terminal): If term-check-size is called,
5713 move point to the process mark without resetting point (Bug#4635).
5714
5715 2012-06-17 Glenn Morris <rgm@gnu.org>
5716
5717 * international/mule-cmds.el (mule-menu-keymap)
5718 (set-language-environment, set-locale-environment): Doc tweaks.
5719
5720 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5721
5722 * cus-face.el (custom-face-attributes): Add wave-style underline
5723 attribute.
5724 * faces.el (set-face-attribute): Update docstring to describe
5725 wave-style underline attribute.
5726
5727 2012-06-16 Chong Yidong <cyd@gnu.org>
5728
5729 * term/xterm.el (terminal-init-xterm): Discard input before
5730 querying background mode (Bug#10959).
5731
5732 2012-06-16 Stefan Merten <smerten@oekonux.de>
5733
5734 * textmodes/rst.el: Added and corrected some comments.
5735 (rst-re-alist-def): Improve symbol syntax.
5736 (rst-mode-syntax-table): Correct syntax entries.
5737 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5738 (rst-official-version, rst-official-cvs-rev): Update version
5739 information.
5740
5741 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5744 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5745
5746 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5747
5748 * progmodes/python.el: New python.el merge.
5749 (python-guess-indent): Obsolete var.
5750 (python-indent-guess-indent-offset): New defcustom.
5751 (python-indent): Obsolete var.
5752 (python-indent-offset): New defcustom.
5753 (python-python-command, python-jython-command): Delete var.
5754 (python-shell-interpreter): New defcustom.
5755 (python-pdbtrack-do-tracking-p): Delete var.
5756 (python-pdbtrack-activate): New defcustom.
5757 (python-use-skeletons): Obsolete var.
5758 (python-skeleton-autoinsert): New defcustom.
5759 (inferior-python-filter-regexp, python-continuation-offset)
5760 (python-honour-comment-indentation, python-indent-string-contents)
5761 (python-jython-packages, python-mode-hook)
5762 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5763 (python-shell-prompt-alist)
5764 (python-source-modes): Delete defcustoms.
5765 (python-check-buffer-name, python-eldoc-setup-code)
5766 (python-eldoc-string-code, python-ffap-setup-code)
5767 (python-ffap-string-code, python-fill-comment-function)
5768 (python-fill-decorator-function, python-fill-paren-function)
5769 (python-fill-string-function, python-imenu-include-defun-type)
5770 (python-imenu-make-tree, python-imenu-subtree-root-label)
5771 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5772 (python-shell-compilation-regexp-alist)
5773 (python-shell-completion-module-string-code)
5774 (python-shell-completion-pdb-string-code)
5775 (python-shell-completion-setup-code)
5776 (python-shell-completion-string-code)
5777 (python-shell-enable-font-lock, python-shell-exec-path)
5778 (python-shell-extra-pythonpaths)
5779 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5780 (python-shell-process-environment)
5781 (python-shell-prompt-block-regexp)
5782 (python-shell-prompt-output-regexp)
5783 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5784 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5785 (python-shell-virtualenv-path): New defcustoms.
5786 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5787 (inferior-python-mode-syntax-table, python--prompt-regexp)
5788 (python-buffer, python-command python-python-command)
5789 (python-default-template, python-imports, python-indent-index)
5790 (python-indent-list, python-indent-list-length)
5791 (python-mode-running, python-pdbtrack-is-tracking-p)
5792 (python-preoutput-continuation, python-preoutput-leftover)
5793 (python-preoutput-result, python-preoutput-skip-next-prompt)
5794 (python-prev-dir/file, python-recursing)
5795 (python-saved-check-command, python-version-checked)
5796 (python-which-func-length-limit)
5797 (view-return-to-alist): Delete vars.
5798 (python-check-custom-command, python-dotty-syntax-table)
5799 (python-imenu-index-alist, python-indent-current-level)
5800 (python-indent-dedenters, python-indent-levels)
5801 (python-nav-beginning-of-defun-regexp)
5802 (python-nav-list-defun-positions-cache)
5803 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5804 (python-shell-internal-buffer)
5805 (python-skeleton-available): New vars.
5806 (def-python-skeleton): Delete macro.
5807 (python-skeleton-define): New macro.
5808 (python-define-auxiliary-skeleton, python-rx): New macros.
5809 (python-insert-class): Delete command.
5810 (python-skeleton-class): New command.
5811 (python-insert-def): Delete command.
5812 (python-skeleton-def): New command.
5813 (python-insert-for): Delete command.
5814 (python-skeleton-for): New command.
5815 (python-insert-if): Delete command.
5816 (python-skeleton-if): New command.
5817 (python-insert-try/except, python-insert-try/finally): Delete commands.
5818 (python-skeleton-try): New command.
5819 (python-insert-while): Delete command.
5820 (python-skeleton-while): New command.
5821 (python-backspace): Delete command.
5822 (python-indent-dedent-line-backspace): New command.
5823 (python-electric-colon): Delete command.
5824 (python-indent-electric-colon): New command.
5825 (python-guess-indent): Delete command.
5826 (python-indent-guess-indent-offset): New command.
5827 (python-shift-left): Delete command.
5828 (python-indent-shift-left): New command.
5829 (python-shift-right): Delete command.
5830 (python-indent-shift-right): New command.
5831 (python-find-function): Delete command.
5832 (python-nav-jump-to-defun): New command.
5833 (python-next-statement): Delete command.
5834 (python-nav-forward-sentence): New command.
5835 (python-previous-statement): Delete command.
5836 (python-nav-backward-sentence): New command.
5837 (python-fill-paragraph): Delete command.
5838 (python-fill-paragraph-function): New command.
5839 (python-send-buffer): Delete command.
5840 (python-shell-send-buffer): New command.
5841 (python-send-defun): Delete command.
5842 (python-shell-send-defun): New command.
5843 (python-send-region, python-send-region-and-go): Delete commands.
5844 (python-shell-send-region)
5845 (python-shell-switch-to-shell): New commands.
5846 (python-send-string): Delete command.
5847 (python-shell-send-string): New command.
5848 (python-switch-to-python): Delete command.
5849 (python-shell-switch-to-shell): New command.
5850 (python-describe-symbol): Delete command.
5851 (python-eldoc-at-point): New command.
5852 (python--set-prompt-regexp, python-args-to-list)
5853 (python-after-info-look, python-check-version)
5854 (python-check-comint-prompt, python-find-imports)
5855 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5856 (python-unload-function, python-expand-template)
5857 (python-maybe-jython, python-preoutput-filter)
5858 (python-pdbtrack-get-source-buffer)
5859 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5860 (python-pdbtrack-toggle-stack-tracking)
5861 (python-pdbtrack-track-stack-file, python-initial-text)
5862 (python-first-word, python-comment-line-p, python-send-command)
5863 (python-setup-brm, python-sentinel, python-set-proc)
5864 (python-skip-out, python-input-filter, python-outdent-p)
5865 (python-outline-level, python-backslash-continuation-line-p)
5866 (python-end-of-block, python-end-of-statement, python-mark-block)
5867 (python-beginning-of-block, python-beginning-of-statement)
5868 (python-blank-line-p, python-beginning-of-string)
5869 (python-open-block-statement-p): Delete functions.
5870 (python-indent-line, python-indent-line-1): Delete functions.
5871 (python-indent-line): New function.
5872 (python-indentation-levels): Delete function.
5873 (python-indent-calculate-levels): New function.
5874 (python-proc): Delete function.
5875 (python-shell-get-process): New function.
5876 (python-send-receive): Delete function.
5877 (python-shell-send-string-no-output): New function.
5878 (python-module-path): Delete function.
5879 (python-ffap-module-path): New function.
5880 (python-completion-at-point)
5881 (python-symbol-completions): Delete functions.
5882 (python-completion-complete-at-point): New function.
5883 (python-load-file): Delete function.
5884 (python-shell-send-file): New function.
5885 (python-calculate-indentation): Delete function.
5886 (python-indent-calculate-indentation): New function.
5887 (python-skip-comments/blanks): Delete function.
5888 (python-util-forward-comment): New function.
5889 (python-continuation-line-p): Delete function.
5890 (python-info-continuation-line-p): New function.
5891 (python-which-func, python-current-defun): Delete function.
5892 (python-info-current-defun): New function.
5893 (python-beginning-of-defun): Delete function.
5894 (python-nav-beginning-of-defun): New function.
5895 (python-close-block-statement-p)
5896 (python-block-end-p): Delete function.
5897 (python-info-closing-block): New function.
5898 (python-comint-output-filter-function)
5899 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5900 (python-fill-comment, python-fill-decorator, python-fill-paren)
5901 (python-fill-string, python-imenu-make-element-tree)
5902 (python-imenu-make-tree, python-imenu-tree-assoc)
5903 (python-indent-context, python-indent-dedent-line)
5904 (python-indent-line-function)
5905 (python-indent-post-self-insert-function)
5906 (python-indent-toggle-levels)
5907 (python-info-assignment-continuation-line-p)
5908 (python-info-beginning-of-backlash)
5909 (python-info-block-continuation-line-p)
5910 (python-info-closing-block-message)
5911 (python-info-line-ends-backslash-p)
5912 (python-info-looking-at-beginning-of-defun)
5913 (python-info-ppss-context, python-info-ppss-context-type)
5914 (python-nav-list-defun-positions, python-nav-read-defun)
5915 (python-nav-sentence-end, python-nav-sentence-start)
5916 (python-pdbtrack-comint-output-filter-function)
5917 (python-pdbtrack-set-tracked-buffer)
5918 (python-shell-calculate-exec-path)
5919 (python-shell-calculate-process-environment)
5920 (python-shell-completion--do-completion-at-point)
5921 (python-shell-completion--get-completions)
5922 (python-shell-completion-complete-at-point)
5923 (python-shell-completion-complete-or-indent)
5924 (python-shell-get-or-create-process)
5925 (python-shell-get-process-name)
5926 (python-shell-internal-get-or-create-process)
5927 (python-shell-internal-get-process-name)
5928 (python-shell-internal-send-string, python-shell-make-comint)
5929 (python-shell-parse-command, python-shell-send-setup-code)
5930 (python-skeleton-add-menu-items)
5931 (python-util-clone-local-variables, python-util-position)
5932 (run-python-internal, python-indentation-levels)
5933 (python-nav-beginning-of-defun)
5934 (python-completion-complete-at-point): New functions.
5935 (run-python): Change arguments. New API requirements.
5936
5937 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5940 (bug#11649).
5941
5942 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5943 (macroexp--expand-all): Use it.
5944
5945 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5946 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5947 Use `cl-function' instead.
5948
5949 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5952 Suggested by Stefan Monnier while discussing bug#11657.
5953
5954 2012-06-14 Sam Steingold <sds@gnu.org>
5955
5956 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5957
5958 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5959
5960 * play/doctor.el (doctor-doc): Remove parameter and use
5961 doctor-sent instead of sent.
5962 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5963
5964 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * files.el: Require cl-lib.
5967 (file-name-non-special): Replace case -> cl-case.
5968
5969 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5970
5971 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5972 mapping from #' to function*.
5973
5974 2012-06-13 Chong Yidong <cyd@gnu.org>
5975
5976 * mouse.el (mouse-drag-track): Do not set the mark if the user
5977 releases the mouse without selecting anything (Bug#11588).
5978
5979 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5982 as well (bug#11646).
5983
5984 * loadup.el: Count byte-code functions as well.
5985
5986 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5987 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5988
5989 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5990 (bug#11649). Add cl-defun and cl-defmacro.
5991
5992 2012-06-13 Drew Adams <drew.adams@oracle.com>
5993
5994 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5995 Fix last change.
5996
5997 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5998
5999 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6000 Otherwise, it blocks in batch mode.
6001
6002 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6003
6004 * help-mode.el (bookmark-make-record-default): Declare.
6005
6006 2012-06-13 Chong Yidong <cyd@gnu.org>
6007
6008 * emacs-lisp/package.el (list-packages): Compute a list of
6009 packages that are newly-available since the last list-packages
6010 invocation.
6011 (package-menu--new-package-list): New var.
6012 (package-menu--generate, package-menu--print-info)
6013 (package-menu--status-predicate, package-menu-mark-install):
6014 Handle new status label "new".
6015
6016 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6019 conversion to backquotes.
6020
6021 2012-06-12 Chong Yidong <cyd@gnu.org>
6022
6023 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6024 Rename from gud-inhibit-global-bindings.
6025
6026 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6027
6028 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6029 hook from nxml-glyph-set-hook.
6030
6031 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6032 declaration.
6033
6034 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6035
6036 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6037 Convert to defcustom.
6038
6039 2012-06-12 Drew Adams <drew.adams@oracle.com>
6040
6041 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6042 New functions.
6043 (help-mode): Use them.
6044
6045 2012-06-11 Glenn Morris <rgm@gnu.org>
6046
6047 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6048 Use preprocessor face for directives.
6049 (fortran-directive-re): Doc fix.
6050
6051 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6054 conversion to backquotes (bug#11652).
6055
6056 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6057 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6058 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6059 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6060 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6061 (cl-ninth, cl-tenth): Mark them as inlinable.
6062 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6063 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6064 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6065 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6066 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6067 (cl-list*, cl-adjoin): Don't put an autoload manually.
6068 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6069 (cl--compiler-macro-list*): Add autoload cookie.
6070 (cl--compiler-macro-cXXr): New function.
6071
6072 * help-fns.el (help-fns--compiler-macro): New function extracted from
6073 describe-function-1; follow aliases and use `compiler-macro' property.
6074 (describe-function-1): Use it.
6075
6076 2012-06-11 Chong Yidong <cyd@gnu.org>
6077
6078 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6079 is uninstalled, if imagemagick is installed.
6080
6081 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * emacs-lisp/cl-lib.el: Use lexical-binding.
6084 (cl-map-extents, cl-maclisp-member): Remove.
6085 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6086 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6087 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6088 * emacs-lisp/cl-extra.el: Use lexical-binding.
6089 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6090 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6091 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6092 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6093 * emacs-lisp/cl-seq.el: Use lexical-binding.
6094 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6095 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6096 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6097 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6098 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6099 CL's internals.
6100
6101 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6102
6103 Sync with Tramp 2.2.6-pre.
6104
6105 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6106 `print-length' and `print-level' to nil, in order to avoid
6107 truncation. Reported by Christopher Schmidt
6108 <christopher@ristopher.com>.
6109
6110 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6111
6112 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6113 New defmacro.
6114 (tramp-compat-copy-directory): Add optional argument
6115 COPY-CONTENTS. It is not handled yet.
6116
6117 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6118 (tramp-ftp-file-name-p): Simplify.
6119
6120 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6121 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6122 connection vector.
6123
6124 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6125 (tramp-methods): Do not use `tramp-password-end-of-line'.
6126 (tramp-completion-function-alist-putty): Handle UNIX case.
6127 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6128 (tramp-do-file-attributes-with-stat)
6129 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6130 gid as real numbers. They could run out of integer range on cygwin.
6131 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6132 (tramp-sh-handle-expand-file-name): Handle hops.
6133 (tramp-open-connection-setup-interactive-shell):
6134 Use `tramp-cleanup'. Move check for busyboxes ...
6135 (tramp-find-shell): ... here. Simplify implementation.
6136 Set "remote-shell" property also for alternative shells.
6137 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6138 If failing, a regular file would be written otherwise.
6139 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6140 (tramp-find-inline-encoding): Cache the coding commands in the
6141 process cache. Apply test command on the remote side, if defined.
6142 (tramp-find-inline-compress): Cache the compress commands in the
6143 process cache.
6144 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6145 when requested. Handle hops.
6146 (tramp-current-connection): New defvar.
6147 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6148 Throw `suppress', if there was a failed connection shortly before.
6149 Handle user interrupt. (Bug#10187)
6150 (tramp-get-inline-compress, tramp-get-inline-coding):
6151 Read connection properties from the process cache.
6152
6153 * net/tramp-smb.el (tramp-smb-server-version)
6154 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6155 New defconsts.
6156 (tramp-smb-prompt): Extend for powershell prompt.
6157 (tramp-smb-file-name-handler-alist): Add handlers for
6158 `process-file', `shell-command' and `start-file-process'.
6159 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6160 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6161 (tramp-smb-file-name-p): Simplify.
6162 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6163 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6164 (tramp-smb-shell-quote-argument): New defuns.
6165 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6166 Implement using "tar". By this, time-stamps are preserved.
6167 (tramp-smb-handle-copy-file): Handle also the case of directories.
6168 (tramp-smb-do-file-attributes-with-stat)
6169 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6170 Use `tramp-get-connection-buffer').
6171 (tramp-smb-handle-rename-file): Use "rename", when source and
6172 target are on the same share.
6173 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6174 Use `tramp-smb-server-version'.
6175 (tramp-smb-wait-for-output): Remove prompt.
6176
6177 * net/tramp.el (top): Require 'cl.
6178 (tramp-methods, tramp-rsh-end-of-line):
6179 Remove `tramp-password-end-of-line' from docstring.
6180 (tramp-save-ad-hoc-proxies): New defcustom.
6181 (tramp-completion-function-alist): Adapt docstring.
6182 (tramp-default-password-end-of-line): Remove defcustom.
6183 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6184 (tramp-user-regexp, tramp-file-name-regexp-unified)
6185 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6186 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6187 (tramp-remote-file-name-spec-regexp): New defconst.
6188 (tramp-file-name-structure): Extend structure for hops.
6189 (tramp-get-method-parameter): Move up.
6190 (tramp-file-name-p, tramp-dissect-file-name)
6191 (with-parsed-tramp-file-name): Handle hops.
6192 (tramp-file-name-hop): New defun.
6193 (tramp-make-tramp-file-name): New optional arg HOP.
6194 (tramp-message-show-progress-reporter-message): New defvar.
6195 (tramp-with-progress-reporter): Use it. We cannot use
6196 `tramp-message-show-message' here, because this suppresses also
6197 error buffers.
6198 (tramp-error-with-buffer): Suppress buffer view, if
6199 `tramp-message-show-message' is nil.
6200 Use `tramp-get-connection-buffer'.
6201 (tramp-cleanup): New defun.
6202 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6203 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6204 an error unchanged.
6205 (tramp-completion-handle-file-name-all-completions): Handle hops.
6206 Fix an error when called from ido.
6207 (tramp-completion-dissect-file-name): Use better local variable
6208 name. Add hop to the vector.
6209 (tramp-handle-insert-file-contents): Use progress-reporter for the
6210 whole scenario.
6211 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6212 to `t'.
6213 (tramp-check-for-regexp): Simplify search.
6214 (tramp-enter-password): Remove it. Move implementation ...
6215 (tramp-action-password): ... here.
6216 (tramp-mode-string-to-int, tramp-local-host-p)
6217 (tramp-make-tramp-temp-file, tramp-read-passwd)
6218 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6219 Set tramp-autoload cookie.
6220
6221 * net/trampver.el: Update release number.
6222
6223 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6224 Michael Albinus <michael.albinus@gmx.de>
6225
6226 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6227 (tramp-parse-group, tramp-parse-file)
6228 (tramp-parse-shostkeys-sknownhosts): New defuns.
6229 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6230 (tramp-parse-shosts-group, tramp-parse-sconfig)
6231 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6232 (tramp-parse-sknownhosts, tramp-parse-hosts)
6233 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6234 Use them.
6235 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6236 (tramp-parse-putty-group): Don't narrow.
6237 (tramp-parse-putty): Make a loop.
6238 (tramp-file-name-handler): Catch the `suppress' signal.
6239
6240 2012-06-11 Chong Yidong <cyd@gnu.org>
6241
6242 * image.el (imagemagick-register-types): Put the ImageMagick entry
6243 at the end of image-type-file-name-regexps.
6244
6245 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6246
6247 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6248 (pcase, pcase-let*, pcase-dolist): Use them.
6249
6250 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * emacs-lisp/pcase.el (pcase--let*): New function.
6253 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6254 (pcase--expand): Use macroexp-let².
6255
6256 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6259 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6260 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6261 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6262 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6263 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6264
6265 2012-06-10 Glenn Morris <rgm@gnu.org>
6266
6267 * mail/rmail.el (rmail-yank-current-message): Leave point at
6268 correct position. (Bug#11660)
6269
6270 2012-06-10 Chong Yidong <cyd@gnu.org>
6271
6272 * allout-widgets.el: Fix code header.
6273
6274 2012-06-10 Chong Yidong <cyd@gnu.org>
6275
6276 * cus-edit.el (customize-changed-options-previous-release):
6277 Bump to 24.1.
6278
6279 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6280
6281 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6282
6283 2012-06-09 Chong Yidong <cyd@gnu.org>
6284
6285 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6286
6287 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6288
6289 * window.el (special-display-popup-frame): Don't use
6290 window--display-buffer (Bug#11651).
6291
6292 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6293
6294 Fix parallel builds: make sure loaddefs.el is not being written
6295 while Lisp files are compiled.
6296 (compile): Don't depend on 'mh-autoloads'.
6297 (compile-CMD, compile-SH): Depend on 'autoloads'.
6298 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6299
6300 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6301
6302 2012-06-09 Chong Yidong <cyd@gnu.org>
6303
6304 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6305 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6306 Doc fixes (Bug#11225).
6307
6308 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6311 a function if there's a clear indication that it has a compiler-macro.
6312 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6313 (macro-declarations-alist): Add arglist to declaration functions.
6314 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6315 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6316 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6317 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6318 Also add autoload to find the compiler macro.
6319 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6320 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6321 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6322 (cl--compiler-macro-get): New functions, replacing calls to
6323 cl-define-compiler-macro.
6324 (cl-typep) [compiler-macro]: Use macroexp-let².
6325
6326 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6327
6328 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6329 string properly, fixes Bug#11473.
6330
6331 2012-06-08 Chong Yidong <cyd@gnu.org>
6332
6333 * faces.el (set-face-attribute): Doc fix.
6334 (modify-face): Don't use :bold and :italic.
6335 (error, warning, success): Tweak definitions.
6336
6337 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6338 (custom-modified, custom-set, custom-changed, custom-themed)
6339 (custom-saved, custom-button, custom-button-mouse)
6340 (custom-button-pressed, custom-state, custom-comment-tag)
6341 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6342 (custom-group-subtitle): Use new-style face specs.
6343 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6344 (custom-set-face, custom-changed-face, custom-saved-face)
6345 (custom-button-face, custom-button-pressed-face)
6346 (custom-documentation-face, custom-state-face)
6347 (custom-comment-face, custom-comment-tag-face)
6348 (custom-variable-tag-face, custom-variable-button-face)
6349 (custom-face-tag-face, custom-group-tag-face-1)
6350 (custom-group-tag-face): Remove obsolete face alias.
6351
6352 * epa.el (epa-validity-high, epa-validity-medium)
6353 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6354 (epa-field-name, epa-field-body):
6355 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6356 (font-lock-keyword-face, font-lock-builtin-face)
6357 (font-lock-function-name-face, font-lock-variable-name-face)
6358 (font-lock-type-face, font-lock-constant-face):
6359 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6360 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6361 * speedbar.el (speedbar-button-face, speedbar-file-face)
6362 (speedbar-directory-face, speedbar-tag-face)
6363 (speedbar-selected-face, speedbar-highlight-face)
6364 (speedbar-separator-face):
6365 * whitespace.el (whitespace-newline, whitespace-space)
6366 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6367 (whitespace-line, whitespace-space-before-tab)
6368 (whitespace-space-after-tab, whitespace-indentation)
6369 (whitespace-empty):
6370 * emulation/cua-base.el (cua-global-mark):
6371 * eshell/em-prompt.el (eshell-prompt):
6372 * net/newst-plainview.el (newsticker-new-item-face)
6373 (newsticker-old-item-face, newsticker-immortal-item-face)
6374 (newsticker-obsolete-item-face, newsticker-date-face)
6375 (newsticker-statistics-face, newsticker-default-face):
6376 * net/newst-reader.el (newsticker-feed-face)
6377 (newsticker-extra-face, newsticker-enclosure-face):
6378 * net/newst-treeview.el (newsticker-treeview-face)
6379 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6380 (newsticker-treeview-immortal-face)
6381 (newsticker-treeview-obsolete-face)
6382 (newsticker-treeview-selection-face):
6383 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6384 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6385 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6386 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6387 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6388 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6389 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6390 (mpuz-text):
6391 * progmodes/vera-mode.el (vera-font-lock-number)
6392 (vera-font-lock-function, vera-font-lock-interface):
6393 * textmodes/table.el (table-cell): Use new-style face specs, and
6394 don't use the old :bold and :italic attributes.
6395
6396 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6397 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6398 (ebrowse-member-class, ebrowse-progress): Likewise.
6399 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6400 (ebrowse-file-name-face, ebrowse-default-face)
6401 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6402 (ebrowse-progress-face): Remove obsolete faces.
6403
6404 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6405 Inherit from error and warning faces respectively.
6406
6407 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6408 Likewise.
6409 (flyspell-incorrect-face, flyspell-duplicate-face):
6410 Remove obsolete aliases.
6411
6412 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6413
6414 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6415 Avoid infloop.
6416
6417 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * startup.el (argv, argi): Make lexically scoped.
6420 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6421 * emacs-lisp/cl-macs.el: Use lexical-binding.
6422 Rename cl-bind-* to cl--bind-*.
6423 * files.el: Don't require `cl' since it doesn't use it.
6424 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6425
6426 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6427
6428 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6429 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6430 instead of calling external sort utility.
6431 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6432
6433 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6434
6435 * descr-text.el (describe-char): Mention how to insert the
6436 character, if the current input method doesn't support it.
6437 See the discussion in this thread for the details:
6438 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6439
6440 2012-06-08 Sam Steingold <sds@gnu.org>
6441
6442 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6443 XF86Back to previous-buffer.
6444 (minibuffer-local-map): Bind them to next-history-element and
6445 previous-history-element respectively.
6446 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6447 help-go-back respectively.
6448 * info.el (Info-mode-map): Bind them to Info-history-forward and
6449 Info-history-back respectively.
6450 These are the keys next to Up on the ThinkPad keyboard.
6451
6452 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6455 * emacs-lisp/cl-macs.el: Provide itself.
6456 (cl--labels-convert-cache): New var.
6457 (cl--labels-convert): New function.
6458 (cl-flet, cl-labels): New implementation with new semantics, relying on
6459 lexical-binding.
6460 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6461 (cl-closure-vars, cl--function-convert-cache)
6462 (cl--function-convert): Move from cl-macs.el.
6463 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6464 rename by removing the "cl-" prefix.
6465 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6466
6467 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6468
6469 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6470 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6471 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6472 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6473 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6474 (cl-hash-table-count): Add old compatibility aliases.
6475
6476 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6477 Use macroexpand-all-environment instead.
6478 (cl--old-macroexpand): New var.
6479 (cl--sm-macroexpand): New function.
6480 (cl-symbol-macrolet): Use it during macro expansion.
6481 (cl--function-convert-cache): New var.
6482 (cl--function-convert): New function, extracted from
6483 cl-macroexpand-all.
6484 (cl-lexical-let): Use it.
6485
6486 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6487 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6488 (cl-member): Remove old alias.
6489
6490 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6491 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6492 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6493 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6494 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6495 (cl-macroexpand-cmacs): Remove var.
6496 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6497 Use macroexpand-all instead.
6498
6499 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6502 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6503 (macroexp-copyable-p): New functions and macros.
6504 * emacs-lisp/edebug.el (edebug-unwrap):
6505 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6506 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6507 (pcase--let*): Remove.
6508 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6509 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6510 macroexp-const-p instead.
6511 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6512
6513 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6514 instead of "cl-" for internal definitions. Use macroexp-const-p.
6515 (cl-old-bc-file-form): Remove var.
6516 (cl-const-exprs-p): Remove fun.
6517 (cl-labels, cl-macrolet): Use backquote.
6518 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6519 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6520 (cl-define-setf-expander): Rename from cl-define-setf-method.
6521 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6522
6523 * international/mule-cmds.el: Don't require CL.
6524 (view-hello-file): Don't use `letf'.
6525
6526 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * tmm.el (tmm-prompt): Use string-prefix-p.
6529 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6530 (tmm-add-prompt): Use minibuffer-completion-help.
6531 (tmm-delete-map): Remove.
6532
6533 * subr.el (kbd): Make it its own function.
6534
6535 2012-06-07 Stefan Merten <smerten@oekonux.de>
6536
6537 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6538 Silence compiler warnings. Fix versions.
6539 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6540 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6541 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6542 (rst-package-emacs-version-alist): Correct Emacs version to
6543 represent major merge with upstream.
6544 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6545
6546 2012-06-06 Glenn Morris <rgm@gnu.org>
6547
6548 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6549 Only print environment variables if set.
6550
6551 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6554 (macroexp--cons): Rename from maybe-cons.
6555 (macroexp--accumulate): Rename from macroexp-accumulate.
6556 (macroexp--all-forms): Rename from macroexpand-all-forms.
6557 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6558 (macroexp--expand-all): Rename from macroexpand-all-1.
6559
6560 2012-06-06 Sam Steingold <sds@gnu.org>
6561
6562 * calendar/calendar.el (calendar-in-read-only-buffer):
6563 Call `special-mode' to enable the standard read-only keybindings.
6564
6565 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6568 with "loading" messages (bug#11635).
6569
6570 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * files.el (enable-remote-dir-locals): New option.
6573 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6574
6575 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6576 Ensure, that the temp directory is local.
6577
6578 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6579 `temporary-file-directory'.
6580
6581 * progmodes/python.el (python-send-region): Ensure, that the
6582 temporary file is created also in the remote case.
6583
6584 2012-06-06 Glenn Morris <rgm@gnu.org>
6585
6586 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6587 (vc-rcs-update-changelog): Use it.
6588
6589 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6590
6591 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6592 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6593 (vc-sccs-diff): Replace use of the external vcdiff script.
6594
6595 2012-06-05 Glenn Morris <rgm@gnu.org>
6596
6597 * ledit.el: Move to obsolete/.
6598
6599 2012-06-05 Sam Steingold <sds@gnu.org>
6600
6601 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6602 patch (Bug#11140).
6603
6604 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * emacs-lisp/cust-print.el: Move to obsolete.
6607
6608 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6609 compiler-macro expansion.
6610
6611 Add native compiler-macro support.
6612 * emacs-lisp/macroexp.el (macroexpand-all-1):
6613 Support compiler-macros directly. Properly follow aliases and apply
6614 the compiler macros more thoroughly.
6615 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6616 macroexpand now properly follows aliases.
6617 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6618 (cl-compiler-macroexpand): Use new prop.
6619 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6620
6621 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6622
6623 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6624
6625 * window.el (get-lru-window, get-mru-window, get-largest-window):
6626 New argument NOT-SELECTED to avoid picking the selected window.
6627 (window--display-buffer-1, window--display-buffer-2): Replace by
6628 new function window--display-buffer
6629 (display-buffer-same-window, display-buffer-reuse-window)
6630 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6631 Use window--display-buffer.
6632 (display-buffer-use-some-window): Remove temporary dedication
6633 hack by calling get-lru-window and get-largest-window with
6634 NOT-SELECTED argument non-nil. Call window--display-buffer.
6635
6636 2012-06-05 Glenn Morris <rgm@gnu.org>
6637
6638 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6639 Replace external vcdiff script.
6640
6641 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6644
6645 2012-06-04 Chong Yidong <cyd@gnu.org>
6646
6647 * image.el (imagemagick-types-inhibit): Revert last change.
6648 Add INFO and M.
6649 (imagemagick-enabled-types): Remove CIN and EPS*.
6650
6651 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * emacs-lisp/cl-lib.el: Rename from cl.el.
6654 * emacs-lisp/cl.el: New compatibility file.
6655 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6656 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6657 to obey the "cl-" prefix.
6658 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6659
6660 2012-06-03 Glenn Morris <rgm@gnu.org>
6661
6662 * emacs-lisp/authors.el (authors-aliases): Addition.
6663
6664 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6665 Fix :version.
6666
6667 2012-06-03 Stefan Merten <smerten@oekonux.de>
6668
6669 * textmodes/rst.el: Add comments.
6670 (rst-transition, rst-adornment): New faces.
6671 (rst-adornment-faces-alist): Make default safe to reevaluate.
6672 Fixes
6673 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6674 Improve customization tags.
6675 (rst-define-level-faces): Clarify meaning.
6676
6677 2012-06-03 Chong Yidong <cyd@gnu.org>
6678
6679 * progmodes/compile.el (compilation-mode-line-fail)
6680 (compilation-mode-line-run, compilation-mode-line-exit):
6681 New faces.
6682 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6683
6684 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6685
6686 * progmodes/which-func.el (which-func-update-ediff-windows):
6687 New function. Use it in ediff-select-hook (Bug#11478).
6688
6689 2012-06-03 Chong Yidong <cyd@gnu.org>
6690
6691 * bindings.el: Remove explicit help text from format-mode-line.
6692 It is now supplied by mode-line-default-help-echo.
6693 (mode-line-front-space, mode-line-end-spaces)
6694 (mode-line-misc-info): New variables.
6695 (mode-line-modes, mode-line-position): Move the default value to
6696 the variable definition.
6697 (mode-line-default-help-echo): New defcustom.
6698 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6699 (mode-line-modified-help-echo): New functions.
6700 (mode-line-mule-info, mode-line-modified): Use them.
6701 (mode-line-eol-desc, propertized-buffer-identification):
6702 Consistency fixes for help text.
6703 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6704 set-buffer-file-coding-system (Bug#289).
6705 (mode-line-mule-info-help-echo): Update help text.
6706
6707 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * simple.el (execute-extended-command): Set real-this-command
6710 (bug#11506).
6711
6712 2012-06-02 Chong Yidong <cyd@gnu.org>
6713
6714 Remove incorrect uses of "modeline" in comments, docstrings, and
6715 function/variable names (Bug#10329).
6716
6717 * cus-edit.el (mode-line):
6718 * dframe.el (dframe-mouse-hscroll):
6719 * emacs-lisp/re-builder.el:
6720 * emacs-lisp/easy-mmode.el (define-minor-mode):
6721 * frame.el (set-frame-name):
6722 * help.el (lookup-minor-mode-from-indicator):
6723 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6724 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6725 (c-toggle-hungry-state):
6726 * progmodes/antlr-mode.el (antlr-language-alist):
6727 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6728 * progmodes/vhdl-mode.el (vhdl-mode):
6729 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6730 * term/ns-win.el (ns-face-at-pos):
6731 * term/sup-mouse.el (sup-mouse-report):
6732 * textmodes/flyspell.el (flyspell-mode-line-string):
6733 * textmodes/ispell.el (ispell-highlight-face):
6734 * textmodes/reftex-global.el:
6735 * vc/vc-arch.el (vc-arch-mode-line-string):
6736 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6737 * vc/vc-git.el (vc-git-mode-line-string):
6738 * vc/vc-hooks.el (vc-display-status)
6739 (vc-default-mode-line-string):
6740 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6741
6742 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6743
6744 * dired.el (dired-sort-set-mode-line): Rename from
6745 dired-sort-set-modeline. All callers changed.
6746
6747 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6748 eshell-status-in-modeline.
6749
6750 * foldout.el (foldout-mode-line-string): Rename from
6751 foldout-modeline-string. All callers changed.
6752 (foldout-update-mode-line): Rename from foldout-update-modeline.
6753
6754 * subr.el (redraw-modeline): Make into obsolete alias.
6755
6756 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6757 timeclock-modeline-display. Make old name an alias.
6758 (timeclock-update-mode-line): Likewise. All callers changed.
6759 (timeclock-mode-line-display): No need to check before using
6760 add-hook.
6761 (timeclock-relative, timeclock-day-over-hook)
6762 (timeclock-use-elapsed, timeclock-mode-string)
6763 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6764
6765 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6766 crisp-mode-modeline-string.
6767
6768 * play/solitaire.el (solitaire-build-mode-line): Rename from
6769 solitaire-build-modeline. All callers changed.
6770
6771 * play/zone.el (zone-hiding-mode-line): Rename from
6772 zone-hiding-modeline. All callers changed.
6773 (zone): Remove unusued `modeline-hidden-level' property.
6774
6775 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6776 xscheme-modeline-initialize. All callers changed.
6777
6778 * strokes.el (strokes-lighter): Rename from
6779 strokes-modeline-string.
6780
6781 * textmodes/sgml-mode.el (html-face-tag-alist)
6782 (html-tag-face-alist): Use mode-line face instead of obsolete
6783 alias modeline.
6784
6785 2012-06-02 Stefan Merten <smerten@oekonux.de>
6786
6787 * textmodes/rst.el: Always require `cl'.
6788 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6789
6790 2012-06-02 Chong Yidong <cyd@gnu.org>
6791
6792 * image.el (imagemagick-enabled-types): Rename from
6793 imagemagick-types-enable. Add many more types.
6794 (imagemagick-types-inhibit): Change default to nil.
6795 (imagemagick-filter-types): Caller changed.
6796
6797 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * emacs-lisp/cl-macs.el: Use backquotes.
6800 (cl-transform-function-property): Use eval-and-compile rather than
6801 abusing `require'.
6802 (defstruct): Use declare-function instead of with-no-warnings.
6803
6804 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6805 (byte-compile-output-docform): Re-add the print-circle bindings.
6806 (byte-compile-fix-header): Use #$ just because it's shorter.
6807 (byte-compile-output-file-form): Remove defun/defmacro.
6808
6809 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6810
6811 * simple.el (choose-completion): Remove now obsolete binding for
6812 owindow.
6813
6814 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6817 in order to avoid "Stack overflow in regexp matcher".
6818
6819 2012-05-31 Glenn Morris <rgm@gnu.org>
6820
6821 * image.el: For clarity, call imagemagick-register-types at
6822 top-level, rather than relying on a custom :initialize.
6823 (imagemagick-types-enable): New option. (Bug#11557)
6824 (imagemagick-filter-types): New function. (Bug#7406)
6825 (imagemagick-register-types): Use imagemagick-filter-types.
6826 If disabling support, remove elements altogether rather
6827 than using an impossible regexp.
6828 (imagemagick-types-inhibit): Give it the default init function.
6829
6830 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6833 Handle arbitrary file name lengths (Bug#11585).
6834
6835 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6836
6837 * desktop.el (desktop-read): Clear previous and next buffers for
6838 all windows and bury *Messages* buffer (bug#11556).
6839
6840 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 Add `declare' for `defun'. Align `defmacro's with it.
6843 * emacs-lisp/easy-mmode.el (define-minor-mode)
6844 (define-globalized-minor-mode): Don't autoload the var definitions.
6845 * emacs-lisp/byte-run.el: Use lexical-binding.
6846 (defun-declarations-alist, macro-declarations-alist): New vars.
6847 (defmacro, defun): Use them.
6848 (make-obsolete, define-obsolete-function-alias)
6849 (make-obsolete-variable, define-obsolete-variable-alias):
6850 Use `declare'.
6851 (macro-declaration-function): Mark obsolete.
6852 * emacs-lisp/autoload.el: Use lexical-binding.
6853 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6854
6855 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6856
6857 * textmodes/ispell.el (ispell-with-no-warnings):
6858 Define as a macro.
6859 (ispell-kill-ispell, ispell-change-dictionary):
6860 Use `called-interactively-p' for Emacs instead of obsolete
6861 `interactive-p'.
6862
6863 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6866 (macro-declaration-function): Move var from C code.
6867 (macro-declaration-function): Define function with defalias.
6868 * emacs-lisp/macroexp.el (macroexpand-all-1):
6869 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6870 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6871 defun/defmacro any more.
6872 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6873 Provide fallback for unknown arglist.
6874 (byte-compile-arglist-warn): Change calling convention.
6875 (byte-compile-output-file-form): Move print-vars binding.
6876 (byte-compile-output-docform): Simplify accordingly.
6877 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6878 (byte-compile-defmacro-declaration): Remove.
6879 (byte-compile-file-form-defmumble): Generalize to defalias.
6880 (byte-compile-output-as-comment): Return byte-positions.
6881 Simplify callers accordingly.
6882 (byte-compile-lambda): Use `assert'.
6883 (byte-compile-defun, byte-compile-defmacro): Remove.
6884 (byte-compile-file-form-defalias):
6885 Use byte-compile-file-form-defmumble.
6886 (byte-compile-defalias-warn): Remove.
6887
6888 2012-05-29 Stefan Merten <smerten@oekonux.de>
6889
6890 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6891 possible. Fix authors. Improve comments. Improve loading of `cl'.
6892
6893 (rst-mode-abbrev-table): Merge definition.
6894 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6895 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6896
6897 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6898
6899 * calendar/icalendar.el
6900 (icalendar-export-region): Export UID properly.
6901
6902 2012-05-29 Leo Liu <sdl.web@gmail.com>
6903 * calendar/icalendar.el (icalendar-import-format):
6904 Add `icalendar-import-format-uid' (Bug#11525).
6905 (icalendar-import-format-uid): New.
6906 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6907 Export UID.
6908
6909 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6912 different alternative patterns.
6913 (pcase-codegen): Be more careful to preserve identity.
6914 (pcase--u1): Don't forget to mark vars as used.
6915
6916 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6917 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6918 (byte-compile-from-buffer): ...rather than here.
6919
6920 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6921 functions from byte-compile-function-environment.
6922
6923 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6924
6925 * window.el (window-deletable-p): Avoid deleting the root window
6926 of a frame with an active minibuffer.
6927
6928 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6929
6930 * simple.el (choose-completion): Use quit-window (Bug#11567).
6931
6932 2012-05-29 Chong Yidong <cyd@gnu.org>
6933
6934 * whitespace.el (whitespace-cleanup): Fix usage of
6935 whitespace-empty-at-bob-regexp (Bug#11492).
6936
6937 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6938
6939 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6940 revert (Bug#11488).
6941
6942 2012-05-29 Juri Linkov <juri@jurta.org>
6943
6944 * isearch.el (isearch-mode-map): Bind `M-s _' to
6945 `isearch-toggle-symbol'. Bind `M-s c' to
6946 `isearch-toggle-case-fold'.
6947 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6948 (isearch-forward): Add `M-s _' to the docstring.
6949 (isearch-forward-symbol, isearch-toggle-case-fold)
6950 (isearch-symbol-regexp): New functions. (Bug#11381)
6951
6952 2012-05-29 Juri Linkov <juri@jurta.org>
6953
6954 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6955 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6956 a function, call it to get the regexp.
6957 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6958 property `isearch-message-prefix' instead of the string "word ".
6959 (isearch-search-fun-default): For the case of `isearch-word',
6960 return a lambda that calls re-search-forward/re-search-backward
6961 with a regexp returned by `word-search-regexp' or by the function
6962 in `isearch-word'.
6963
6964 2012-05-29 Juri Linkov <juri@jurta.org>
6965
6966 * isearch.el (isearch-search-fun-default): New function.
6967 (isearch-search-fun): Move default part to the new function
6968 `isearch-search-fun-default'.
6969 (isearch-search-fun-function): Set the default value to
6970 `isearch-search-fun-default'. (Bug#11381)
6971
6972 * comint.el (comint-history-isearch-end):
6973 Use `isearch-search-fun-default'.
6974 (comint-history-isearch-search): Use `isearch-search-fun-default'
6975 and remove spacial case for `isearch-word'.
6976 (comint-history-isearch-wrap): Remove spacial case for
6977 `isearch-word'.
6978
6979 * hexl.el (hexl-isearch-search-function):
6980 Use `isearch-search-fun-default'.
6981
6982 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6983 Use `word-search-regexp' for `isearch-word'.
6984
6985 * misearch.el (multi-isearch-search-fun):
6986 Use `isearch-search-fun-default'.
6987
6988 * simple.el (minibuffer-history-isearch-search):
6989 Use `isearch-search-fun-default' and remove spacial case for
6990 `isearch-word'.
6991 (minibuffer-history-isearch-wrap): Remove spacial case for
6992 `isearch-word'.
6993
6994 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6995 Remove spacial case for `isearch-word'.
6996 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6997
6998 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6999
7000 Decrease XEmacs incompatibilities.
7001 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7002 Use `string-match'.
7003 (flyspell-delete-region-overlays): Use alternative definition for
7004 XEmacs.
7005 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7006 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7007 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7008 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7009 `define-obsolete-face-alias' under XEmacs, but old method.
7010
7011 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7012 `with-no-warnings' definition or Emacs alias.
7013 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7014 (ispell-word): Do not use `region-p' if XEmacs.
7015
7016 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7017
7018 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7019 Check for `ispell-dictionary-base-alist' instead of full
7020 `ispell-dictionary-alist'.
7021 (ispell-init-process): Show spellchecker when starting new Ispell
7022 process.
7023
7024 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7027 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7028
7029 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * version.el (motif-version-string, gtk-version-string)
7032 (ns-version-string): Declare.
7033
7034 2012-05-27 Juri Linkov <juri@jurta.org>
7035
7036 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7037 after the `eval-defun-1' specialcaseing
7038 like in `edebug-eval-defun' (bug#10181).
7039
7040 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7041 like in `eval-defun-1'.
7042
7043 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7044
7045 * mail/sendmail.el (mail-yank-region):
7046 Recognize rmail-yank-current-message in addition to insert-buffer.
7047 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7048 a *mail* buffer created through rmail-start-mail with sendmail as
7049 mail-user-agent.
7050
7051 2012-05-27 Chong Yidong <cyd@gnu.org>
7052
7053 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7054 Default to 256 (Bug#11267).
7055
7056 * help.el (describe-mode): Doc fix.
7057
7058 2012-05-26 Glenn Morris <rgm@gnu.org>
7059
7060 * w32-fns.el (w32-init-info): Remove.
7061 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7062
7063 * info.el (info-initialize): For self-contained NS builds, put the
7064 included info/ directory at the front. (Bug#2791)
7065
7066 * paths.el (Info-default-directory-list): Make it a defcustom,
7067 mainly so that we can use custom-initialize-delay.
7068
7069 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * subr.el (buffer-has-markers-at): Mark obsolete.
7072
7073 * subr.el (lambda): Use declare.
7074
7075 * emacs-lisp/lisp-mode.el (lambda):
7076 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7077
7078 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7079
7080 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7081
7082 2012-05-26 Glenn Morris <rgm@gnu.org>
7083
7084 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7085
7086 2012-05-25 Glenn Morris <rgm@gnu.org>
7087
7088 * paths.el: Remove no-byte-compile.
7089 * loadup.el: No need to load paths.el uncompiled.
7090
7091 * image.el (imagemagick-types-inhibit): Doc fix.
7092
7093 * version.el: Remove no-byte-compile and associated formatting.
7094 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7095 is ancient code from when there was an "inc-vers.el".
7096
7097 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * progmodes/gdb-mi.el: Minor style changes.
7100 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7101 Turn into minor modes.
7102 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7103 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7104 (gdb-shell): Remove unneeded let-binding.
7105 (gdb-get-many-fields): Eliminate O(n²) behavior.
7106
7107 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7108
7109 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7110 platforms that don't link in fontset.c.
7111
7112 2012-05-25 Juri Linkov <juri@jurta.org>
7113
7114 Use the same diff color scheme as in modern VCSes (bug#10181).
7115
7116 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7117 to avoid confusion with `diff-added' that now uses green colors.
7118 (diff-removed): Use shades of red.
7119 (diff-added): Use shades of green.
7120 (diff-changed): Leave just the yellow color.
7121 (diff-use-changed-face): New variable.
7122 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7123 how to highlight context diff changes.
7124 (diff-refine-change): Use shades of yellow.
7125 (diff-refine-removed): New face that uses shades of red.
7126 (diff-refine-added): New face that uses shades of green.
7127 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7128 `diff-refine-removed' in the call to `smerge-refine-subst'
7129 depending on the value of `diff-use-changed-face'.
7130
7131 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7132 (smerge-other): Use shades of green.
7133 (smerge-base): Use shades of yellow.
7134 (smerge-refined-change): Empty face.
7135 (smerge-refined-removed): New face that uses shades of red.
7136 (smerge-refined-added): New face that uses shades of green.
7137 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7138 args `props-r' and `props-a', and use them. Doc fix.
7139 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7140 on its value use different faces `smerge-refined-change',
7141 `smerge-refined-removed', `smerge-refined-added' in the call to
7142 `smerge-refine-subst'.
7143
7144 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7145 Add face condition `min-colors 88' with shades of red.
7146 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7147 `min-colors 88' with shades of green.
7148 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7149 `min-colors 88' with shades of yellow.
7150
7151 2012-05-24 Glenn Morris <rgm@gnu.org>
7152
7153 * paths.el (prune-directory-list, remote-shell-program): Move to...
7154 * files.el (prune-directory-list, remote-shell-program): ...here.
7155 For the latter, delay initialization, prefer ssh, just search PATH.
7156
7157 * paths.el (term-file-prefix): Move to faces.el (the only user).
7158 * faces.el (term-file-prefix): Move here, make it a defcustom.
7159
7160 * paths.el (news-directory, news-path, news-inews-program):
7161 Move to gnus/nnspool.el.
7162
7163 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7164
7165 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7166 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7167 Make the latter a defcustom, with a delayed initialization.
7168
7169 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7170 These were deleted from Gnus itself late 2010.
7171
7172 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7173
7174 * progmodes/which-func.el (which-func-ff-hook):
7175 Check against user-error, not error.
7176
7177 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7178 cl-specs.el, which no longer exists.
7179
7180 2012-05-22 Glenn Morris <rgm@gnu.org>
7181
7182 * info.el (info-emacs-bug): New command.
7183 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7184 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7185
7186 2012-05-21 Glenn Morris <rgm@gnu.org>
7187
7188 * makefile.w32-in (update-subdirs-SH):
7189 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7190
7191 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7194
7195 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7196 Simplify Maven regexp, and make sure the file can't start with a space
7197 (bug#11517).
7198
7199 2012-05-21 Glenn Morris <rgm@gnu.org>
7200
7201 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7202 Scrap superfluous subshells.
7203
7204 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7207 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7208
7209 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7210
7211 * calc/calc.el (calc-ensure-consistent-units): New variable.
7212
7213 * calc/calc-units.el (math-consistent-units-p)
7214 (math-check-unit-consistency): New functions.
7215 (calc-quick-units, calc-convert-units):
7216 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7217 is non-nil.
7218 (calc-extract-units): Fix typo.
7219
7220 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7223
7224 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7225 (flyspell-default-deplacement-commands): Don't spell check after
7226 repeated window/frame switches (e.g. triggered by mouse-movement).
7227 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7228 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7229 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7230 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7231 Remove unused vars.
7232 (flyspell-get-casechars, flyspell-get-not-casechars):
7233 Simplify; Don't bother removing a ] just to add it back.
7234 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7235
7236 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7237
7238 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7239 New functions.
7240 (math-function-table): Add support for more C functions.
7241
7242 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7243
7244 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7245 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7246 Protect delay handling for otherchars against empty otherchars.
7247
7248 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7251 their respective macro declarations.
7252 * skeleton.el (define-skeleton):
7253 * progmodes/compile.el (define-compilation-mode):
7254 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7255 (define-ibuffer-filter):
7256 * emacs-lisp/generic.el (define-generic-mode):
7257 * emacs-lisp/easy-mmode.el (define-minor-mode)
7258 (define-globalized-minor-mode):
7259 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7260 * emacs-lisp/byte-run.el (defsubst):
7261 * custom.el (deftheme): Add doc-string metadata.
7262
7263 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7266
7267 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7270
7271 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7272 * emacs-lisp/cl-macs.el: Idem.
7273 * emacs-lisp/cl-specs.el: Remove.
7274
7275 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 Minor renaming of internal CL functions and variables.
7278 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7279 (cl--position): Rename from cl-position.
7280 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7281 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7282 (cl--random-state): Rename from *random-state*.
7283
7284 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7287 parens around the arg list (bug#11499).
7288
7289 2012-05-17 Juri Linkov <juri@jurta.org>
7290
7291 * isearch.el (word-search-regexp, word-search-backward)
7292 (word-search-forward, word-search-backward-lax)
7293 (word-search-forward-lax): Move functions from search.c
7294 (bug#10145, bug#11381).
7295
7296 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7297
7298 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7299 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7300 Delay for otherchars as for normal word components.
7301
7302 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * minibuffer.el (completion--sifn-requote): Fix last change.
7305 (minibuffer-local-must-match-filename-map):
7306 Move define-obsolete-variable-alias before its var.
7307
7308 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7311
7312 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7313 behavior.
7314 (completion--string-equal-p): New function.
7315 (completion--twq-all): Use it to get better assertion failure data.
7316
7317 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7318 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7319 (shell--requote-argument): New functions.
7320 (shell-completion-vars): Use them.
7321 (shell--parse-pcomplete-arguments): Rename from
7322 shell-parse-pcomplete-arguments.
7323 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7324 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7325 Obey comint-file-name-quote-list.
7326
7327 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7328 (smie-indent-keyword): Use it.
7329
7330 2012-05-14 Stefan Merten <smerten@oekonux.de>
7331
7332 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7333
7334 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * net/rlogin.el (rlogin-mode-map): Fix last change.
7337
7338 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7339
7340 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7341 the following \r\n using a single `process-send-string', since the
7342 Lotus SMTP server refuses to accept any commands if they are sent
7343 with two `process-send-string's (Bug#11444).
7344
7345 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * shell.el (shell-parse-pcomplete-arguments):
7348 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7349
7350 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7351
7352 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7353 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7354 (image-transform-width, image-transform-fit-width): New functions.
7355 (image-transform-properties): Use them.
7356 (image-transform-check-size): New function.
7357 (image-toggle-display-image): Use it (for testing).
7358 (image-transform-set-rotation): Reduce angle mod 360.
7359 Delete obsolete comment.
7360
7361 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7362
7363 * image-mode.el: Fix scaling (bug#11399).
7364 (image-transform-resize): Doc fix.
7365 (image-transform-properties): Default scale is 1 and height should
7366 be an integer.
7367
7368 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7369
7370 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7371 than hard-coding `car', to fix misbehavior when moving forward.
7372
7373 2012-05-13 Chong Yidong <cyd@gnu.org>
7374
7375 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7376 (tabulated-list-entries, tabulated-list-padding)
7377 (tabulated-list-sort-key): Make permanent-local.
7378
7379 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7380 (electric-buffer-list): Put electric buffer menu
7381 command descriptions in this docstring, instead of the docstring
7382 of electric-buffer-menu-mode. Code cleanups.
7383 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7384 Electric-buffer-menu-mode.
7385 (electric-buffer-update-highlight): Minor code cleanup.
7386
7387 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7388
7389 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7390 (Bug#11447)
7391
7392 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 Move define-obsolete-variable-alias before the var's definition.
7395 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7396 * tooltip.el (tooltip-hook):
7397 * textmodes/reftex-toc.el (reftex-toc-map):
7398 * textmodes/reftex-sel.el (reftex-select-label-map)
7399 (reftex-select-bib-map):
7400 * textmodes/reftex-index.el (reftex-index-map)
7401 (reftex-index-phrases-map):
7402 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7403 * progmodes/meta-mode.el (meta-mode-map):
7404 * novice.el (disabled-command-hook):
7405 * loadhist.el (unload-hook-features-list):
7406 * frame.el (blink-cursor):
7407 * files.el (find-file-not-found-hooks, write-file-hooks)
7408 (write-contents-hooks):
7409 * emulation/tpu-edt.el (GOLD-map):
7410 * emacs-lock.el (emacs-lock-from-exiting):
7411 * emacs-lisp/generic.el (generic-font-lock-defaults):
7412 * emacs-lisp/chart.el (chart-map):
7413 * dos-fns.el (register-name-alist):
7414 * dired-x.el (dired-omit-files-p):
7415 * desktop.el (desktop-enable):
7416 * cus-edit.el (custom-mode-hook):
7417 * buff-menu.el (buffer-menu-mode-hook):
7418 * bookmark.el (bookmark-read-annotation-text-func)
7419 (bookmark-exit-hooks):
7420 * allout.el (allout-mode-deactivate-hook)
7421 (allout-exposure-change-hook, allout-structure-added-hook)
7422 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7423 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7424 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7425 comes before the corresponding variable's definition.
7426
7427 2012-05-12 Chong Yidong <cyd@gnu.org>
7428
7429 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7430 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7431 (Buffer-menu-mode-map): Bind it.
7432 (Buffer-menu--pretty-name): Add a mouse-face property.
7433
7434 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7437 (prolog-upper-case-string, prolog-lower-case-string)
7438 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7439 (prolog-use-smie, prolog-smie-grammar): New vars.
7440 (prolog-smie-forward-token, prolog-smie-backward-token)
7441 (prolog-smie-rules): New funs.
7442 (prolog-comment-indent): Remove.
7443 (prolog-mode-variables): Use default comment indentation instead.
7444 Setup SMIE.
7445 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7446 (prolog-mode): Don't call them any more.
7447 (prolog-electric-colon, prolog-electric-dash)
7448 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7449
7450 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7451
7452 * minibuffer.el (completion--twq-all): Again, allow case differences.
7453
7454 * term.el: Move keymap initialization code to be more idiomatic.
7455 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7456 (term-terminal-menu): Move initialization into declaration.
7457 (term-escape-char): Let the user set it in her .emacs.
7458
7459 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7460 Provide SMIE-based indentation (not enabled by default yet).
7461 (sh-mode-map): Don't bind electric keys.
7462 Use electric-pair-mode instead of skeleton-pair.
7463 (sh-assignment-regexp): Fit within 80 columns.
7464 (sh-indent-supported): Specify actual shell name instead of boolean.
7465 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7466 (sh-maybe-here-document): Use it. Make obsolete.
7467 (sh-electric-here-document-mode) New minor mode.
7468 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7469 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7470 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7471 (sh-smie-rc-grammar, sh-use-smie): New vars.
7472 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7473 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7474 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7475 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7476 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7477 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7478 (sh-set-shell): Use smie-setup if requested.
7479
7480 * term.el (term-set-escape-char): Properly set term-escape-char.
7481 See http://stackoverflow.com/questions/10524656.
7482
7483 2012-05-10 Chong Yidong <cyd@gnu.org>
7484
7485 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7486 Use url-generic-parse-url, and handle host names and Windows
7487 filenames properly.
7488 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7489 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7490 URL schemes to work on.
7491 (ffap--toggle-read-only): New function.
7492 (ffap-read-only, ffap-read-only-other-window)
7493 (ffap-read-only-other-frame): Use it.
7494 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7495 necessary for ffap-url-unwrap-remote.
7496
7497 2012-05-10 Dave Abrahams <dave@boostpro.com>
7498
7499 * cus-start.el (create-lockfiles): Add it.
7500
7501 2012-05-09 Chong Yidong <cyd@gnu.org>
7502
7503 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7504 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7505
7506 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7509
7510 2012-05-09 Chong Yidong <cyd@gnu.org>
7511
7512 * ansi-color.el (ansi-color-process-output): Check for validity of
7513 comint-last-output-start before using it. This avoids a bad
7514 interaction with gdb-mi's input/output buffer.
7515
7516 2012-05-09 Glenn Morris <rgm@gnu.org>
7517
7518 * files.el (dir-locals-read-from-file):
7519 Mention dir-locals in any error message.
7520
7521 2012-05-09 Chong Yidong <cyd@gnu.org>
7522
7523 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7524 package (Bug#11410).
7525
7526 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7527 variables into description.
7528
7529 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7532 shell-delimiter-argument-list (bug#11348).
7533 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7534
7535 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7536
7537 * textmodes/rst.el: Silence byte-compiler warnings.
7538 (rst-re-alist, rst-reset-section-caches): Move around.
7539 (rst-re): Use `characterp', not `char-valid-p'.
7540 (font-lock-beg, font-lock-end): Declare.
7541
7542 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7543 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7544
7545 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7546
7547 2012-05-08 Glenn Morris <rgm@gnu.org>
7548
7549 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7550
7551 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * vc/log-edit.el: Add GNU coding standards highlighting.
7554 (log-edit-font-lock-gnu-style)
7555 (log-edit-font-lock-gnu-keywords): New vars.
7556 (log-edit-font-lock-keywords): New fun.
7557 (log-edit-mode): Don't fold case in font-lock.
7558 (log-edit-font-lock-keywords): Do not assume case-folding.
7559
7560 * imenu.el: Misc cleanup. Make docstrings out of comments.
7561 Use lexical-binding.
7562 (imenu--index-alist, imenu--last-menubar-index-alist)
7563 (imenu-menubar-modified-tick): Use defvar-local.
7564 (imenu--split-menu): Remove unused var.
7565 (imenu--cleanup-seen): Declare as global.
7566 (imenu--cleanup): Use dolist.
7567
7568 * subr.el (defvar-local): Add debug spec and doc-string position.
7569
7570 2012-05-08 Glenn Morris <rgm@gnu.org>
7571
7572 * language/burmese.el, language/cham.el, language/czech.el:
7573 * language/english.el, language/georgian.el, language/greek.el:
7574 * language/japanese.el, language/khmer.el, language/korean.el:
7575 * language/lao.el, language/misc-lang.el, language/romanian.el:
7576 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7577 * language/thai.el, language/utf-8-lang.el:
7578 Remove no-byte-compile setting.
7579
7580 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7581
7582 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7583
7584 * progmodes/make-mode.el (makefile-browse):
7585 Remove unnecessary interactive. (Bug#11324)
7586
7587 2012-05-07 Glenn Morris <rgm@gnu.org>
7588
7589 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7590
7591 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7592
7593 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * loadup.el: Preload newcomment.el.
7596 * newcomment.el: Move autoload-only code to toplevel.
7597
7598 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7599 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7600 Handle new :right-align column property.
7601 (tabulated-list-print-col): Idem, plus use `display' text-property to
7602 try and preserve alignment for variable pitch fonts.
7603
7604 2012-05-07 Chong Yidong <cyd@gnu.org>
7605
7606 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7607 (tabulated-list-use-header-line): New var.
7608 (tabulated-list-init-header): Use it.
7609 (tabulated-list-print-fake-header): New function.
7610 (tabulated-list-print): Use it.
7611 (tabulated-list-sort-button-map): Add non-header-line commands.
7612 (tabulated-list-init-header): Add column name property to basic
7613 labels as well.
7614 (tabulated-list-col-sort): Handle non-header-line button case.
7615 (tabulated-list--sort-by-column-name): Fix a corner case.
7616
7617 * buff-menu.el (list-buffers--refresh):
7618 Handle Buffer-menu-use-header-line.
7619
7620 2012-05-06 Chong Yidong <cyd@gnu.org>
7621
7622 * buff-menu.el: Convert to Tabulated List mode.
7623 (Buffer-menu-buffer+size-width): Make obsolete.
7624 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7625 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7626 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7627 documentation into docstring of buffer-menu.
7628 (Buffer-menu-toggle-files-only): Add an informative message.
7629 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7630 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7631 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7632 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7633 (Buffer-menu-execute, Buffer-menu-select)
7634 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7635 (Buffer-menu-bury): Use Tabulated List machinery.
7636 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7637 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7638 Delete.
7639 (list-buffers--refresh): New function.
7640 (list-buffers-noselect): Use it.
7641 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7642 (Buffer-menu--pretty-file-name): New helper functions.
7643
7644 * loadup.el: Preload tabulated-list.
7645
7646 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7647 tabulated-list-sort-column.
7648 (tabulated-list-init-header): Add the initial aligning space even
7649 if tabulated-list-padding is zero.
7650
7651 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7652
7653 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7654 whose cdr is not a cons cell correctly (bug#11038).
7655
7656 2012-05-06 Chong Yidong <cyd@gnu.org>
7657
7658 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7659 Accept additional plist in column descriptors.
7660 (tabulated-list-init-header): Obey it.
7661 (tabulated-list-get-entry): New function.
7662 (tabulated-list-put-tag): Use it. Use string-width instead of
7663 length.
7664 (tabulated-list--column-number): New function.
7665 (tabulated-list-print): Use it.
7666 (tabulated-list-print-col): New function.
7667 Set `tabulated-list-column-name' property on each column's text.
7668 (tabulated-list-print-entry): Use it.
7669 (tabulated-list-delete-entry, tabulated-list-set-col):
7670 New functions.
7671 (tabulated-list-sort-column): New command (Bug#11337).
7672
7673 * buff-menu.el (list-buffers): Move C-x C-b binding from
7674 buff-menu.el to bindings.el.
7675
7676 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7677 :advertised-binding feature.
7678
7679 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7680
7681 * progmodes/compile.el (compilation-internal-error-properties):
7682 Calculate start position correctly when end-col is set but
7683 end-line is not (Bug#11382).
7684
7685 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7686
7687 * man.el (Man-unindent): Use text-property-default-nonsticky to
7688 prevent untabify from inheriting face properties (Bug#11408).
7689
7690 2012-05-05 Stefan Merten <smerten@oekonux.de>
7691
7692 * textmodes/rst.el: Major merge with upstream development up to
7693 Docutils SVN r7399 / rst.el V1.2.1.
7694
7695 Clarify maintainership and authors.
7696
7697 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7698 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7699 (rst-official-version, rst-official-cvs-rev, rst-version)
7700 (rst-package-emacs-version-alist): New functions and variables
7701 for version information.
7702
7703 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7704 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7705 (rst-mode-syntax-table, rst-mode): New and corrected functions
7706 and variables representing reStructuredText features.
7707
7708 (rst-re): New function for reStructuredText regexes. Use in
7709 many places.
7710
7711 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7712 (rst-mode-map): Rebind keys.
7713
7714 (rst-mode-lazy, rst-font-lock-keywords)
7715 (rst-font-lock-extend-region)
7716 (rst-font-lock-extend-region-internal)
7717 (rst-font-lock-extend-region-extend)
7718 (rst-font-lock-find-unindented-line-limit)
7719 (rst-font-lock-find-unindented-line-match)
7720 (rst-adornment-level, rst-font-lock-adornment-level)
7721 (rst-font-lock-adornment-match)
7722 (rst-font-lock-handle-adornment-pre-match-form)
7723 (rst-font-lock-handle-adornment-matcher): Major revision of
7724 font-locking. Integrate with other code. Use `jit-lock-mode'.
7725
7726 (rst-preferred-adornments, rst-adjust-hook)
7727 (rst-new-adornment-down, rst-preferred-bullets)
7728 (rst-preferred-bullets, rst-indent, rst-indent-width)
7729 (rst-indent-field, rst-indent-literal-normal)
7730 (rst-indent-literal-minimized, rst-indent-comment): Change,
7731 extend and improve customization.
7732
7733 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7734 (rst-normalize-cursor-position, rst-get-decoration)
7735 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7736 (rst-rstrip, rst-toc-insert-find-delete-contents)
7737 (rst-shift-fill-region, rst-compute-bullet-tabs)
7738 (rst-debug-print-tabs, rst-debug-mark-found)
7739 (rst-shift-region-guts, rst-shift-region-right)
7740 (rst-shift-region-left, rst-use-char-classes)
7741 (rst-font-lock-keywords-function)
7742 (rst-font-lock-indentation-point)
7743 (rst-font-lock-find-unindented-line-begin)
7744 (rst-font-lock-find-unindented-line-end)
7745 (rst-font-lock-find-unindented-line)
7746 (rst-font-lock-adornment-point, rst-font-lock-level)
7747 (rst-adornment-level-alist): Remove functions and variables.
7748
7749 (rst-compare-adornments, rst-get-adornment-match)
7750 (rst-suggest-new-adornment, rst-get-adornments-around)
7751 (rst-adornment-complete-p, rst-get-next-adornment)
7752 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7753 (rst-straighten-adornments): Standardize function names to
7754 use "adornment" instead of "decoration". Correct callers.
7755 Similar standardizing in many places.
7756
7757 (rst-update-section, rst-adjust, rst-promote-region)
7758 (rst-enumerate-region, rst-bullet-list-region)
7759 (rst-repeat-last-character): Correct use of `interactive'.
7760
7761 (rst-classify-adornment, rst-find-all-adornments)
7762 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7763 (rst-find-leftmost-column, rst-repeat-last-character):
7764 Refactor functions.
7765
7766 (rst-find-title-line, rst-reset-section-caches)
7767 (rst-get-adornments-around, rst-adjust-adornment-work)
7768 (rst-arabic-to-roman, rst-roman-to-arabic)
7769 (rst-insert-list-pos, rst-insert-list-new-item)
7770 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7771 New functions.
7772
7773 (rst-all-sections, rst-section-hierarchy)
7774 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7775 New variables.
7776
7777 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7778 configuration instead of only buffer. Change where necessary.
7779
7780 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7781 (rst-shift-region, rst-adaptive-fill): New functions for
7782 indentation and filling.
7783
7784 (rst-comment-line-break, rst-comment-indent)
7785 (rst-comment-insert-comment, rst-comment-region)
7786 (rst-uncomment-region): New functions for handling comments.
7787
7788 (rst-compile): Quote shell arguments.
7789
7790 (rst-compile-pdf-preview, rst-compile-slides-preview):
7791 Delete temporary files after use.
7792
7793 2012-05-05 Glenn Morris <rgm@gnu.org>
7794
7795 * calendar/cal-html.el: Optionally include holidays in the output.
7796 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7797 (cal-html-holidays): New option.
7798 (cal-html-css-default): Add holiday entry.
7799 (holiday-in-range): Autoload it.
7800 (cal-html-htmlify-entry): Add optional class argument.
7801 (cal-html-htmlify-list): Add optional holidays argument.
7802 (cal-html-insert-agenda-days): Include holidays in the output.
7803 (cal-html-one-month): Maybe include holidays.
7804
7805 * calendar/holidays.el (holiday-in-range):
7806 Move here from cal-tex-list-holidays.
7807 * calendar/cal-tex.el (cal-tex-list-holidays):
7808 Make it an obsolete alias for holiday-in-range. Update all callers.
7809
7810 2012-05-05 Chong Yidong <cyd@gnu.org>
7811
7812 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7813 Nextstep.
7814
7815 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7816
7817 * files.el (file-auto-mode-skip): New var.
7818 (set-auto-mode-1): Use it.
7819
7820 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * repeat.el: Use lexical-binding.
7823 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7824 (repeat-undo-count): Remove.
7825 (repeat):
7826 * progmodes/octave-mod.el (octave-abbrev-start):
7827 * progmodes/f90.el (f90-abbrev-start):
7828 * face-remap.el (text-scale-adjust):
7829 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7830
7831 * emacs-lisp/pcase.el (pcase--let*): New function.
7832 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7833 a bit more.
7834 (pcase--split-pred): Be more clever about ruling out overlap between
7835 a predicate and some constant pattern.
7836 (pcase--q1): Use `null' instead of (eq foo nil).
7837
7838 * subr.el (setq-local, defvar-local): New macros.
7839 (kbd): Redefine as an alias.
7840 (with-selected-window): Leave unrelated frames alone.
7841 (set-temporary-overlay-map): New function.
7842
7843 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * subr.el (user-error): New function.
7846 * window.el (switch-to-buffer):
7847 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7848 (smerge-match-conflict):
7849 * simple.el (previous-matching-history-element)
7850 (next-matching-history-element, goto-history-element, undo-more)
7851 (undo-start):
7852 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7853 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7854 (next-file, tags-loop-scan, list-tags, complete-tag):
7855 * progmodes/compile.el (compilation-loop):
7856 * mouse.el (mouse-minibuffer-check):
7857 * man.el (Man-bgproc-sentinel, Man-goto-page):
7858 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7859 (Info-history-forward, Info-follow-reference, Info-menu)
7860 (Info-extract-menu-item, Info-extract-menu-counting)
7861 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7862 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7863 (Info-next-reference, Info-prev-reference, Info-index)
7864 (Info-index-next, Info-follow-nearest-node)
7865 (Info-copy-current-node-name):
7866 * imenu.el (imenu--make-index-alist)
7867 (imenu-default-create-index-function, imenu-add-to-menubar):
7868 * files.el (basic-save-buffer, recover-file):
7869 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7870 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7871 (checkdoc-message-text, checkdoc-defun):
7872 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7873 * cus-edit.el (customize-changed-options, customize-rogue)
7874 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7875 (custom-variable-mark-to-reset-standard)
7876 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7877 (custom-file):
7878 * completion.el (check-completion-length):
7879 * comint.el (comint-search-arg)
7880 (comint-previous-matching-input-string-position)
7881 (comint-previous-matching-input)
7882 (comint-replace-by-expanded-history-before-point, comint-send-input)
7883 (comint-copy-old-input, comint-backward-matching-input)
7884 (comint-goto-process-mark, comint-set-process-mark):
7885 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7886 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7887
7888 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * dabbrev.el (dabbrev--ignore-case-p): New function.
7891 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7892 Use it.
7893
7894 * files.el (automount-dir-prefix): Mark as obsolete.
7895
7896 2012-05-04 Glenn Morris <rgm@gnu.org>
7897
7898 * patcomp.el, play/bruce.el: Move to obsolete/.
7899
7900 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7901
7902 Fix minor Y10k bugs.
7903 * arc-mode.el (archive-unixdate):
7904 * autoinsert.el (auto-insert-alist):
7905 * calc/calc-forms.el (math-this-year):
7906 * emacs-lisp/copyright.el (copyright-current-year)
7907 (copyright-update-year, copyright):
7908 * tar-mode.el (tar-clip-time-string):
7909 * time.el (display-time-update):
7910 Don't assume years have 4 digits.
7911
7912 2012-05-04 Chong Yidong <cyd@gnu.org>
7913
7914 * dos-w32.el (file-name-buffer-file-type-alist)
7915 (direct-print-region-use-command-dot-com):
7916 * ffap.el (ffap-menu-regexp):
7917 * find-file.el (ff-special-constructs):
7918 * follow.el (follow-debug):
7919 * forms.el (forms--debug):
7920 * iswitchb.el (iswitchb-all-frames):
7921 * ido.el (ido-all-frames):
7922 * emacs-lisp/timer.el (timer-max-repeats):
7923 * mail/feedmail.el (feedmail-mail-send-hook)
7924 (feedmail-mail-send-hook-queued):
7925 * mail/footnote.el (footnote-signature-separator):
7926 * mail/mailabbrev.el (mail-alias-separator-string)
7927 (mail-abbrev-mode-regexp):
7928 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7929 * progmodes/idlwave.el (idlwave-libinfo-file)
7930 (idlwave-default-completion-case-is-down)
7931 (idlwave-library-routines): Convert defvars to defcustoms.
7932
7933 * mail/rmail.el (rmail-decode-mime-charset):
7934 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7935 (idlwave-shell-fix-inserted-breaks)
7936 (idlwave-shell-activate-alt-keybindings)
7937 (idlwave-shell-use-breakpoint-glyph):
7938 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7939
7940 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7943
7944 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7945
7946 * progmodes/verilog-mode.el (font-lock-keywords):
7947 Fix mis-highligting auto. Reported by Craig Barner.
7948 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7949 defines from global name space. Reported by Dan Dever.
7950 (verilog-auto-reset, verilog-auto-reset-widths)
7951 (verilog-auto-tieoff): Support using unbased numbers for
7952 AUTORESET and AUTOTIEOFF.
7953 (verilog-submit-bug-report): Update variable list.
7954 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7955 parenthesis from not matching. Reported by Michael Rytting.
7956 (verilog-auto-template-lint): Fix hash error when linting modules
7957 with no used templates.
7958 (verilog-warn, verilog-warn-error)
7959 (verilog-warn-fatal): When non-interactive report multiple
7960 warnings before exiting. Suggested by Brad Dobbie.
7961 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7962 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7963 to report unused template errors. Reported by Brad Dobbie.
7964 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7965 nets, bug438. Reported by Vns Blore.
7966 (verilog-auto-inout-module, verilog-auto-reg)
7967 (verilog-read-decls, verilog-read-sub-decls-sig)
7968 (verilog-signals-edit-wire-reg, verilog-signals-with):
7969 Fix passing of Verilog data types in ANSI input/output ports
7970 such as "output logic" into the AUTOs. Special case "wire" and
7971 "reg" for backwards compatibility presuming Verilog 2001.
7972 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7973 (verilog-preprocess): Fix replication of preprocess output.
7974 Reported by Brad Dobbie.
7975 (verilog-auto-inst-interfaced-ports):
7976 Create verilog-auto-inst-interfaced-ports, bug429.
7977 Reported by Julian Gorfajn.
7978 (verilog-after-save-font-hook)
7979 (verilog-before-save-font-hook): New variable.
7980 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7981 (verilog-save-font-mods): Wrap disabling fontification, reported
7982 by David Rogoff.
7983 (verilog-do-indent, verilog-pretty-declarations-auto)
7984 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7985 Reported by Pierre-David Pfister.
7986 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7987 of class declarations, bug292. Reported by Kevin Heilman.
7988 (verilog-read-decls): Fix 'parameter type' not appearing in
7989 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7990 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7991 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7992 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7993 Reported by David Kravitz.
7994
7995 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7996
7997 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7998 assignment with tests in ifs and for loops.
7999 (verilog-extended-complete-re, verilog-complete-reg): Change so
8000 that DPI inport functions don't look like fuction declarations.
8001 (verilog-pretty-expr): Don't line up assignment
8002 operations to the test and increment in if and for loops
8003 (verilog-extended-complete-re, verilog-complete-reg): Change so
8004 that DPI inport functions don't look like fuction declarations.
8005
8006 2012-05-03 Kenichi Handa <handa@m17n.org>
8007
8008 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8009 decoding, and show a warning message without signaling an error
8010 (Bug#11282).
8011
8012 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * emacs-lisp/bytecomp.el
8015 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8016 since cconv.el might have introduced :fun-body, internal-make-closure,
8017 and friends for bytecomp to handle (bug#11391).
8018 * custom.el (defcustom): Avoid ((λ ..) ..).
8019
8020 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8023
8024 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * notifications.el (dbus-debug):
8027 * term/linux.el (gpm-mouse-enable):
8028 * term/screen.el (xterm-register-default-colors): Declare.
8029
8030 2012-05-02 Chong Yidong <cyd@gnu.org>
8031
8032 * cus-start.el (gc-cons-percentage, exec-suffixes)
8033 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8034 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8035 (make-cursor-line-fully-visible, void-text-area-pointer)
8036 (font-list-limit): Add customization data.
8037
8038 * allout.el (allout-exposure-change-functions)
8039 (allout-structure-added-functions)
8040 (allout-structure-deleted-functions)
8041 (allout-structure-shifted-functions): Rename abnormal hooks from
8042 *-hook, and convert to defcustoms.
8043 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8044 Convert to defcustoms.
8045 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8046
8047 * allout-widgets.el: Hook callers changed.
8048
8049 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8050
8051 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8052 the yanked message in preference to the default value of
8053 buffer-file-coding-system.
8054
8055 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8056
8057 * window.el (display-buffer--action-function-custom-type):
8058 Fix entry.
8059
8060 2012-05-02 Alan Mackenzie <acm@muc.de>
8061
8062 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8063
8064 2012-05-01 Glenn Morris <rgm@gnu.org>
8065
8066 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8067
8068 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8069
8070 * cus-edit.el (custom-variable-documentation): Simplify with format.
8071
8072 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8073 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * simple.el (suggest-key-bindings, execute-extended-command):
8076 Move from keyboard.c.
8077
8078 2012-05-01 Chong Yidong <cyd@gnu.org>
8079
8080 * follow.el: Eliminate advice.
8081 (set-process-filter, process-filter, sit-for): Advice deleted.
8082 (follow-mode-off-hook): Obsolete hook removed.
8083 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8084 Vars deleted.
8085 (follow-auto): Use a :set function.
8086 (follow-mode): Rewritten. Don't advise process filters.
8087 (follow-switch-to-current-buffer-all, follow-scroll-up)
8088 (follow-scroll-down): Assume follow-mode is bound.
8089 (follow-comint-scroll-to-bottom)
8090 (follow-align-compilation-windows): New functions.
8091 (follow--window-sorter): New function.
8092 (follow-all-followers): Use it to explicitly sort windows by their
8093 positions; don't make assumptions about next-window order.
8094 (follow-windows-start-end, follow-delete-other-windows-and-split)
8095 (follow-calc-win-start): Doc fix.
8096 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8097 vertical-motion unnecessarily.
8098 (follow-adjust-window): New function.
8099 (follow-post-command-hook): Use it.
8100 (follow-call-set-process-filter, follow-call-process-filter)
8101 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8102 (follow-stop-intercept-process-output, follow-generic-filter):
8103 Functions deleted.
8104 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8105 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8106 New functions, replacing advice on scroll-bar-* commands.
8107 (follow-mwheel-scroll): New function (Bug#4112).
8108
8109 * comint.el (comint-adjust-point): New function.
8110 (comint-postoutput-scroll-to-bottom): Use it.
8111 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8112
8113 2012-05-01 Glenn Morris <rgm@gnu.org>
8114
8115 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8116 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8117 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8118 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8119 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8120 Remove no-byte-compile setting.
8121
8122 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8125 all-completions code to not return a number in the last cdr.
8126
8127 2012-04-30 Leo Liu <sdl.web@gmail.com>
8128
8129 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8130 read-only error.
8131
8132 2012-04-29 Chong Yidong <cyd@gnu.org>
8133
8134 * follow.el (follow-calc-win-end): Rewrite to handle partial
8135 screen lines correctly (Bug#8390).
8136 (follow-avoid-tail-recenter): Minor cleanup.
8137
8138 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 Avoid the obsolete `assoc' package.
8141 * speedbar.el (speedbar-refresh): Avoid adelete.
8142 (speedbar-file-lists): Simplify and avoid aput.
8143 * man.el (Man--sections, Man--refpages): New vars, replacing
8144 Man-sections-alist and Man-refpages-alist.
8145 (Man-build-section-alist, Man-build-references-alist):
8146 Use them; avoid aput.
8147 (Man--last-section, Man--last-refpage): New vars.
8148 (Man-follow-manual-reference): Use them.
8149 Use the `default' arg of completing-read.
8150 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8151
8152 2012-04-27 Chong Yidong <cyd@gnu.org>
8153
8154 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8155
8156 * startup.el (x-apply-session-resources): New function.
8157
8158 * term/ns-win.el (ns-initialize-window-system):
8159 * term/w32-win.el (w32-initialize-window-system):
8160 * term/x-win.el (x-initialize-window-system): Use it to properly
8161 set menu-bar-mode and other vars from X resources, even if the
8162 initial frame is not a window-system frame (Bug#2299).
8163
8164 * subr.el (read-key): Avoid running filter function when setting
8165 up temporary tool bar entries (Bug#9922).
8166
8167 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8170 (Bug#11344)
8171
8172 2012-04-27 Chong Yidong <cyd@gnu.org>
8173
8174 * select.el (xselect--encode-string): New function, split from
8175 xselect-convert-to-string.
8176 (xselect-convert-to-string): Use it.
8177 (xselect-convert-to-filename, xselect-convert-to-os)
8178 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8179 returned strings are properly encoded (Bug#11315).
8180
8181 2012-04-27 Chong Yidong <cyd@gnu.org>
8182
8183 * simple.el (delete-active-region): Move to killing custom group.
8184
8185 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8186
8187 * progmodes/which-func.el (which-func-current): Quote %
8188 characters for mode-line processing.
8189
8190 2012-04-27 Chong Yidong <cyd@gnu.org>
8191
8192 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8193 reaching eob (Bug#11286).
8194
8195 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8196
8197 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8198 (gdb): Make it buffer-local and init to zero.
8199 (gdb-control-commands-regexp): New variable.
8200 (gdb-send): Don't wrap in "-interpreter-exec console" if
8201 gdb-control-level is positive. Increment gdb-control-level
8202 whenever the command matches gdb-control-commands-regexp, and
8203 decrement it each time the command is "end". (Bug#11279)
8204
8205 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8206
8207 * window.el (adjust-window-trailing-edge, enlarge-window)
8208 (shrink-window, window-resize):
8209 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8210 windows (Bug#11276).
8211
8212 2012-04-27 Chong Yidong <cyd@gnu.org>
8213
8214 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8215 fix "missing prefix" warning. All callers changed.
8216
8217 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * emacs-lisp/assoc.el: Move to obsolete/.
8220
8221 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8224
8225 * term/ns-win.el (ns-define-service):
8226 * progmodes/pascal.el (pascal-goto-defun):
8227 * progmodes/js.el (js--read-tab):
8228 * progmodes/etags.el (tags-lazy-completion-table):
8229 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8230 * emacs-lisp/ewoc.el (ewoc--wrap):
8231 * emacs-lisp/assoc.el (aput, adelete, amake):
8232 * doc-view.el (doc-view-convert-current-doc):
8233 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8234
8235 2012-04-26 Chong Yidong <cyd@gnu.org>
8236
8237 * image.el (image-type-from-buffer): Only return supported image
8238 type (Bug#9045).
8239
8240 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8241 value, for symmetry with diff-end-of-hunk.
8242 (diff-split-hunk, diff-find-source-location)
8243 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8244 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8245 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8246 compute the relevant hunk or file properly (Bug#6005).
8247 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8248
8249 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * vc/vc-mtn.el:
8252 * vc/vc-hg.el:
8253 * vc/vc-git.el:
8254 * vc/vc-dir.el:
8255 * vc/vc-cvs.el:
8256 * vc/vc-bzr.el:
8257 * vc/vc-arch.el:
8258 * vc/vc.el: Replace lexical-let by lexical-binding.
8259 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8260 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8261 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8262
8263 2012-04-26 Chong Yidong <cyd@gnu.org>
8264
8265 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8266 (diff-mode-shared-map): Bind it to / and [remap undo].
8267
8268 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8269 (ediff-window-setup-function): Use it as the default, to set up
8270 windows based on whether the current frame is graphical (Bug#2138).
8271 (ediff-choose-window-setup-function-automatically): Make obsolete.
8272
8273 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8274
8275 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * ffap.el: Remove old code for obsolete package.
8278 (ffap-complete-as-file-p): Remove.
8279
8280 Use completion-table-with-quoting for comint and pcomplete.
8281 * comint.el (comint--unquote&requote-argument)
8282 (comint--unquote-argument, comint--requote-argument): New functions.
8283 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8284 (comint-quote-filename): Use regexp-opt-charset.
8285 (comint--common-suffix, comint--common-quoted-suffix)
8286 (comint--table-subvert): Remove.
8287 (comint-unquote-function, comint-requote-function): New vars.
8288 (comint--complete-file-name-data): Use them with
8289 completion-table-with-quoting.
8290 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8291 * pcomplete.el (pcomplete-arg-quote-list)
8292 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8293 (pcomplete-unquote-argument-function): Default to non-nil.
8294 (pcomplete-unquote-argument): Simplify.
8295 (pcomplete--common-quoted-suffix): Remove.
8296 (pcomplete-requote-argument-function): New var.
8297 (pcomplete--common-suffix): New function.
8298 (pcomplete-completions-at-point): Use completion-table-with-quoting
8299 and completion-table-subvert.
8300
8301 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8302 (minibuffer--double-dollars): Preserve properties.
8303 (completion--sifn-requote): New function.
8304 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8305
8306 * minibuffer.el: Add support for completion of quoted/escaped data.
8307 (completion-table-with-quoting, completion-table-subvert): New funs.
8308 (completion--twq-try, completion--twq-all): New functions.
8309 (completion--nth-completion): New function.
8310 (completion-try-completion, completion-all-completions): Use it.
8311
8312 2012-04-25 Leo Liu <sdl.web@gmail.com>
8313
8314 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8315 Use compilation-message if available to find real filename.
8316
8317 2012-04-25 Chong Yidong <cyd@gnu.org>
8318
8319 * vc/diff-mode.el (diff-setup-whitespace): New function.
8320 (diff-mode): Use it.
8321
8322 * vc/diff.el (diff-sentinel):
8323 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8324 Whitespace mode variables based on diff style (Bug#8612).
8325
8326 2012-04-25 Leo Liu <sdl.web@gmail.com>
8327
8328 * progmodes/python.el (python-send-region): Add suffix .py to the
8329 temp file.
8330
8331 * files.el (auto-mode-alist): Use javascript-mode instead.
8332
8333 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8334
8335 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8336
8337 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8338 (soap-resolve-references-for-array-type): Hack to prevent self
8339 references, see Bug#9.
8340 (soap-parse-envelope): Report the contents of the 'detail' node
8341 when receiving a fault reply.
8342 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8343
8344 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8345 (soap-inspect-simple-type): New function.
8346
8347 * net/soap-client.el (soap-simple-type): New struct.
8348 (soap-default-xsd-types, soap-default-soapenc-types)
8349 (soap-decode-basic-type, soap-encode-basic-type):
8350 support unsignedInt and double basic types.
8351 (soap-resolve-references-for-simple-type)
8352 (soap-parse-simple-type, soap-encode-simple-type): New function.
8353 (soap-parse-schema): Parse xsd:simpleType declarations.
8354
8355 * net/soap-client.el (soap-default-xsd-types)
8356 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8357 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8358 the local name of "soapenc:Array".
8359 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8360 decoding integer, byte and anyURI xsd types.
8361
8362 2012-04-25 Chong Yidong <cyd@gnu.org>
8363
8364 * cus-edit.el (custom-buffer-create-internal): Update header text.
8365
8366 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8367
8368 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8369 settings on 'system-type', not on 'window-system'. On MS-Windows,
8370 set interactive-mode on in GDB.
8371
8372 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8375 (ruby-syntax-propertize-regexp): Remove.
8376 (ruby-syntax-propertize-function): Split regexp into chunks.
8377 Match following code directly.
8378
8379 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8380
8381 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8382 (ruby-syntax-propertize-regexp): New function.
8383 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8384 by a special keyword.
8385
8386 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8387 (ruby-syntax-general-delimiters-goto-beg)
8388 (ruby-syntax-propertize-general-delimiters): New functions.
8389 (ruby-syntax-propertize-function): Use them to handle GDL.
8390 (ruby-font-lock-keywords): Move old handling of GDL...
8391 (ruby-font-lock-syntactic-keywords): .. to here.
8392 (ruby-calculate-indent): Adjust indentation for GDL.
8393
8394 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8395
8396 * notifications.el (top): Remove unneeded declarations.
8397 (notifications-specification-version): Change to "1.2".
8398 (notifications-interface, notifications-notify-method)
8399 (notifications-close-notification-method): Fix docstring.
8400 (notifications-get-capabilities-method): New defconst.
8401 (notifications-notify): Add :action-items, :resident and
8402 :transient hints. Change "image_data" to "image-data" and
8403 "image_path" to "image-path".
8404 (notifications-get-capabilities): New defun.
8405
8406 2012-04-24 Leo Liu <sdl.web@gmail.com>
8407
8408 * progmodes/python.el: Move hideshow setup to the end.
8409
8410 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8411
8412 * window.el (handle-select-window): Clear echo area since this is
8413 no more done by read_char (Bug#11304).
8414
8415 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8418 and `/ M' to filter-derived-mode.
8419 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8420 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8421 (ibuffer-mark-by-mode): Use default rather than initial-input.
8422 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8423
8424 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8425
8426 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8427 (ibuffer-filter-by-derived-mode): New filter.
8428 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8429
8430 2012-04-23 Andreas Politz <politza@fh-trier.de>
8431
8432 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8433
8434 2012-04-23 Chong Yidong <cyd@gnu.org>
8435
8436 * cus-edit.el (customize-apropos, customize-apropos-options):
8437 Disable matching of non-option variables (Bug#11176).
8438 (customize-option, customize-option-other-window)
8439 (customize-changed-options): Doc fix.
8440 (customize-apropos-options, customize-apropos-faces)
8441 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8442
8443 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8444 Fix word list splitting (Bug#11132).
8445 (apropos-symbol, apropos-keybinding, apropos-label)
8446 (apropos-property, apropos-function-button)
8447 (apropos-variable-button, apropos-misc-button): New faces.
8448 (apropos-symbol-face, apropos-keybinding-face)
8449 (apropos-label-face, apropos-property-face, apropos-match-face):
8450 Variables removed (Bug#8396).
8451 (apropos-library-button, apropos-format-plist, apropos-print)
8452 (apropos-print-doc, apropos-describe-plist): Callers changed.
8453
8454 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/xesam.el (xesam-mode-map): Use let-bound map in
8457 initialization. (Bug#11292)
8458
8459 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8460
8461 Preserve ispell session localwords when switching back to
8462 original buffer.
8463
8464 * textmodes/ispell.el (ispell-buffer-session-localwords):
8465 New buffer-local variable to hold buffer session localwords.
8466 (ispell-kill-ispell): Add option 'clear to delete session
8467 localwords.
8468 (ispell-command-loop, ispell-change-dictionary)
8469 (ispell-buffer-local-words): Preserve session localwords when
8470 needed.
8471
8472 * textmodes/flyspell.el (flyspell-process-localwords)
8473 (flyspell-do-correct): Preserve session localwords when needed.
8474
8475 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8476
8477 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8478 using obsolete `translation-table-for-input'.
8479 (ispell-word, ispell-process-line, ispell-complete-word):
8480 Use plain `insert' instead of removed `ispell-insert-word'.
8481
8482 2012-04-22 Chong Yidong <cyd@gnu.org>
8483
8484 * cus-edit.el (custom-variable-menu)
8485 (custom-variable-reset-saved, custom-face-menu)
8486 (custom-face-reset-saved): If there is no saved value, make the
8487 "reset-saved" operation bring back the default (Bug#9509).
8488 (custom-face-state): Properly detect themed faces.
8489
8490 * faces.el (face-spec-set): Stop supporting deprecated form of
8491 third arg.
8492
8493 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8494
8495 Move functions from C to Lisp. Make non-blocking method calls
8496 the default. Implement further D-Bus standard interfaces.
8497
8498 * net/dbus.el (dbus-message-internal): Declare function.
8499 Remove unneeded function declarations.
8500 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8501 (dbus-message-type-method-return, dbus-message-type-error)
8502 (dbus-message-type-signal): Declare variables. Remove local
8503 definitions.
8504 (dbus-interface-dbus, dbus-interface-peer)
8505 (dbus-interface-introspectable, dbus-interface-properties)
8506 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8507 Adapt docstring.
8508 (dbus-interface-objectmanager): New defconst.
8509 (dbus-call-method, dbus-call-method-asynchronously)
8510 (dbus-send-signal, dbus-method-return-internal)
8511 (dbus-method-error-internal, dbus-register-service)
8512 (dbus-register-signal, dbus-register-method): New defuns, moved
8513 from dbusbind.c
8514 (dbus-call-method-handler, dbus-setenv)
8515 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8516 New defuns.
8517 (dbus-call-method-non-blocking): Make it an obsolete function.
8518 (dbus-unregister-object, dbus-unregister-service)
8519 (dbus-handle-event, dbus-register-property)
8520 (dbus-property-handler): Obey the new structure of
8521 `bus-registered-objects'.
8522 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8523 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8524 Use `dbus-call-method'.
8525
8526 2012-04-22 Chong Yidong <cyd@gnu.org>
8527
8528 * cus-edit.el (custom-commands, custom-reset-menu)
8529 (Custom-reset-standard): Tweak labels.
8530 (custom-reset-button-menu): Change default to t.
8531 (custom-buffer-create-internal): For the custom-reset-button-menu
8532 case, put the revert button first.
8533 (custom-group-subtitle): New face.
8534 (custom-group-value-create): Align docstring to a specific column.
8535
8536 * wid-edit.el (widget-documentation-link-add): Don't handle
8537 indentation in this function.
8538 (widget-documentation-string-indent-to): New function.
8539 (widget-documentation-string-value-create): Use it.
8540
8541 * autorevert.el (auto-revert):
8542 * epg-config.el (epg):
8543 * ibuffer.el (ibuffer):
8544 * mpc.el (mpc):
8545 * ses.el (ses):
8546 * eshell/eshell.el (eshell):
8547 * net/ange-ftp.el (ange-ftp):
8548 * progmodes/ebnf2ps.el (postscript):
8549 * progmodes/flymake.el (flymake):
8550 * progmodes/prolog.el (prolog):
8551 * progmodes/verilog-mode.el (verilog-mode):
8552 * progmodes/which-func.el (which-func):
8553 * term/xterm.el (xterm):
8554 * textmodes/picture.el (picture):
8555 * textmodes/tildify.el (tildify):
8556 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8557 customization buffers.
8558
8559 2012-04-22 Alan Mackenzie <acm@muc.de>
8560
8561 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8562 Adding a ) can hide the resulting (..) from searches. Fix it.
8563 Bound the backward search to the position of the existing (.
8564
8565 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8566
8567 * progmodes/verilog-mode.el (verilog-mode): Check whether
8568 which-func-modes is t before adding verilog-mode.
8569 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8570
8571 2012-04-21 Leo Liu <sdl.web@gmail.com>
8572
8573 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8574
8575 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8576
8577 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8578 filling of the last column of a table (Bug#5635).
8579 (woman-find-next-control-line): New arg, specifying an additional
8580 regexp component for the control line.
8581 (woman2-roff-buffer): Use it.
8582 (woman-break-table): New function.
8583 (woman2-TS): Use it.
8584
8585 2012-04-21 Chong Yidong <cyd@gnu.org>
8586
8587 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8588 (woman-horizontal-escapes, woman-negative-vertical-space)
8589 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8590 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8591
8592 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * minibuffer.el (completion-file-name-table): Complete user names.
8595
8596 2012-04-20 Leo Liu <sdl.web@gmail.com>
8597
8598 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8599 and pcase-let*.
8600
8601 2012-04-20 Chong Yidong <cyd@gnu.org>
8602
8603 * server.el (server-execute): Respect initial-buffer-choice if it
8604 is a string and there are no files to open (Bug#2825).
8605 (server-create-window-system-frame, server-create-tty-frame):
8606 Don't switch buffers here.
8607 (server-process-filter): Only try to open a window system frame if
8608 compiled with graphical support (Bug#8314).
8609
8610 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8611
8612 * battery.el (battery-echo-area-format): Display remaining time
8613 for sysfs backend too (Bug#11269).
8614 (battery-linux-sysfs): Fix conditional for the charge.
8615
8616 2012-04-20 Chong Yidong <cyd@gnu.org>
8617
8618 * progmodes/gdb-mi.el (gdb): Revert previous change.
8619 (gdb-inferior-io--init-proc): New function.
8620 (gdb-init-1): Use it.
8621 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8622 responsible for allocating a new pty and hooking it to gdb when
8623 the old pty gets an EIO due to process exit.
8624 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8625 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8626 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8627
8628 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8629
8630 * window.el (window-min-size, window-sizable, window-min-delta)
8631 (window-max-delta, window--resizable, window-resizable)
8632 (window-total-size, window-full-height-p, window-full-width-p)
8633 (window-in-direction, window--resize-mini-window, window-resize)
8634 (window--resize-child-windows-normal)
8635 (window--resize-child-windows, window--resize-siblings)
8636 (window--resize-this-window, adjust-window-trailing-edge)
8637 (enlarge-window, shrink-window): Doc fixes.
8638
8639 2012-04-20 Chong Yidong <cyd@gnu.org>
8640
8641 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8642 New function to call delete-process on the gdb-inferior buffer's pty.
8643 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8644 pty process (Bug#11273).
8645 (gdb-update): New arg to suppress talking to the gdb process.
8646 (gdb-done-or-error): Use it.
8647 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8648 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8649 sentinel not being called.
8650
8651 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8652
8653 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8654
8655 2012-04-20 Glenn Morris <rgm@gnu.org>
8656
8657 * net/network-stream.el (open-network-stream): Doc fix.
8658
8659 2012-04-20 Chong Yidong <cyd@gnu.org>
8660
8661 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8662
8663 2012-04-20 Alan Mackenzie <acm@muc.de>
8664
8665 Ensure searching for keywords is case sensitive.
8666
8667 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8668 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8669 (c-defun-name, c-mark-function, c-cpp-define-name)
8670 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8671 (c-context-line-break): Bind case-fold-search to nil.
8672
8673 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8674 Bind case-fold-search to nil.
8675
8676 2012-04-20 Chong Yidong <cyd@gnu.org>
8677
8678 * mail/sendmail.el (mail-bury): Call return action with the right
8679 Rmail buffer (Bug#11242).
8680
8681 * server.el (server-process-filter): Handle corner case where both
8682 tty and nowait options are present (Bug#11102).
8683
8684 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8685
8686 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8687 (top level): Put into the executable the ident-style '$Id:' tag on
8688 windows-nt as well.
8689
8690 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * electric.el (electric-indent-post-self-insert-function): Check that
8693 electric-indent-mode is enabled in current buffer.
8694
8695 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8696
8697 * imenu.el (imenu-progress-message): Restore; it is "used" in
8698 erc/erc-imenu.el and net/snmp-mode.el.
8699
8700 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8703 (mouse-avoidance-nudge-mouse): Remove unused binding.
8704
8705 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8706
8707 * descr-text.el (describe-char):
8708 * progmodes/python.el (python-describe-symbol):
8709 Don't call `toggle-read-only', set `buffer-read-only'.
8710
8711 * imenu.el (imenu-default-goto-function): Mark unused args.
8712 (imenu-progress-message): Remove obsolete macro; all callers changed.
8713
8714 * subr.el (keymap-canonicalize): Remove unused binding.
8715 (read-passwd): Mark unused arg.
8716
8717 * tutorial.el (tutorial--display-changes): Remove unused binding.
8718 (tutorial--save-tutorial-to): Remove unused variable.
8719
8720 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8721 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8722 (package-generate-autoloads, package-menu--generate)
8723 (package-menu--find-upgrades): Remove unused bindings.
8724
8725 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8726 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8727 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8728 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8729 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8730 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8731 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8732 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8733 (cua-delete-char-rectangle): Mark unused args.
8734 (cua-align-rectangle): Remove unused binding.
8735
8736 * mail/rmail.el (compilation--message->loc)
8737 (epa--find-coding-system-for-mime-charset): Declare.
8738
8739 * net/dbus.el (dbus-register-service): Declare.
8740 (dbus-name-owner-changed-handler): Remove unused binding.
8741
8742 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8743 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8744 (nxml-scan-backward-within): Mark unused arg.
8745 (nxml-dynamic-markup-word): Remove unused binding.
8746
8747 * mouse.el (mouse-menu-major-mode-map):
8748 * emacs-lisp/authors.el (authors-scan-change-log)
8749 (authors-add-to-author-list):
8750 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8751 * emacs-lisp/smie.el (smie-auto-fill):
8752 * mail/sendmail.el (mail-bury):
8753 * mail/unrmail.el (unrmail):
8754 * net/tls.el (open-tls-stream):
8755 * textmodes/picture.el (picture-mouse-set-point):
8756 Remove unused bindings.
8757
8758 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8759
8760 * net/tramp.el (tramp-action-password): Let-bind
8761 `enable-recursive-minibuffers' to t.
8762
8763 2012-04-18 Sam Steingold <sds@gnu.org>
8764
8765 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8766 instead of 'string to accommodate values like [f11].
8767 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8768 * progmodes/gdb-mi.el: Likewise.
8769
8770 2012-04-18 Leo Liu <sdl.web@gmail.com>
8771
8772 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8773 current buffer.
8774 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8775 LOCAL is nil.
8776
8777 2012-04-18 Chong Yidong <cyd@gnu.org>
8778
8779 * simple.el (line-move): Use forward-line if in batch mode
8780 (Bug#11053).
8781
8782 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8783
8784 * files.el (after-find-file): Do not try to add a final newline if
8785 the buffer is read-only (Bug#11156).
8786
8787 2012-04-17 Richard Stallman <rms@gnu.org>
8788
8789 * mail/rmail.el (rmail-start-mail):
8790 Pass (rmail-mail-return...) for the return-action.
8791 Pass (rmail-yank-current-message...) for the yank-action.
8792 (rmail-yank-current-message): New function.
8793 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8794 (rmail-reply): Likewise.
8795 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8796
8797 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8798 buffer, not the last. Reject temp buffers. Use the rmail-mode
8799 buffer, not newbuf.
8800
8801 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8802
8803 * server.el (server-ensure-safe-dir): Simplify.
8804
8805 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * emacs-lisp/smie.el: Provide smarter auto-filling.
8808 (smie-auto-fill): New function.
8809 (smie-setup): Use it.
8810
8811 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8812
8813 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8814
8815 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8816 (comment-indent): Use it.
8817
8818 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8819
8820 * ses.el: The overall change is to add cell renaming, that is
8821 setting fancy names for cell symbols other than name matching
8822 "\\`[A-Z]+[0-9]+\\'" regexp .
8823 (ses-localvars): Add ses--renamed-cell-symb-list.
8824 (ses-create-cell-variable): New defun.
8825 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8826 (ses-relocate-formula): Relocate formulas only for cells the
8827 symbols of which are not renamed, i.e. symbols whose names do not
8828 match regexp "\\`[A-Z]+[0-9]+\\'".
8829 (ses-relocate-all): Relocate values only for cells the symbols of
8830 which are not renamed.
8831 (ses-load): Create cells variables as the (ses-cell ...) are read,
8832 in order to check row col consistency with cell symbol name only
8833 for cells that are not renamed.
8834 (ses-replace-name-in-formula): New defun.
8835 (ses-rename-cell): New defun.
8836
8837 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8838
8839 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8840 New option (bug#11118).
8841 (perl-calculate-indent): Respect it.
8842
8843 2012-04-17 Glenn Morris <rgm@gnu.org>
8844
8845 * dired-aux.el (dired-mark-read-string): Doc fix.
8846
8847 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8848
8849 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8850 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8851
8852 2012-04-17 Glenn Morris <rgm@gnu.org>
8853
8854 * mouse.el (mouse-drag-track):
8855 * speedbar.el (speedbar-frame-mode):
8856 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8857
8858 2012-04-16 Leo Liu <sdl.web@gmail.com>
8859
8860 * progmodes/python.el: Trivial cleanup.
8861
8862 2012-04-16 Glenn Morris <rgm@gnu.org>
8863
8864 * vc/vc.el (vc-string-prefix-p):
8865 * vc/pcvs-util.el (cvs-string-prefix-p):
8866 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8867 * mpc.el (mpc-string-prefix-p):
8868 Make all of these into obsolete aliases for string-prefix-p.
8869 Update callers.
8870 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8871
8872 * textmodes/two-column.el: Move custom options to the start.
8873 (frame-width): Remove compat definition.
8874 (2C-associate-buffer, 2C-dissociate):
8875 Use with-current-buffer rather than save-excursion.
8876 (2C-dissociate): Force a mode-line update.
8877 (2C-autoscroll): Use ignore-errors.
8878
8879 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8880 Autoload trivia.
8881
8882 * emacs-lisp/cl-extra.el (*random-state*):
8883 Remove unnecessary declaration.
8884
8885 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8886
8887 * play/cookie1.el (cookie-snarf):
8888 Give an explicit error if input file cannot be read.
8889
8890 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8891
8892 * progmodes/perl-mode.el (c-macro-expand):
8893 Remove unnecessary autoload (it is in loaddefs.el).
8894
8895 * textmodes/picture.el (picture-desired-column)
8896 (picture-update-desired-column): Convert comments to doc-strings.
8897 (picture-substitute): Remove function.
8898 (picture-mode-map): Initialize in the defvar.
8899
8900 * woman.el: Remove eval-after-load for tar-mode.
8901 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8902 (woman-tar-extract-file): Autoload it.
8903
8904 * frame.el (automatic-hscrolling): Make this alias obsolete.
8905
8906 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8907
8908 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8909 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8910 (ispell-dictionary-base-alist): Revert to original XEmacs
8911 friendly version for default. [:alpha:] will be added in
8912 `ispell-set-spellchecker-params' if needed.
8913
8914 2012-04-16 Chong Yidong <cyd@gnu.org>
8915
8916 * image.el (imagemagick--file-regexp): New variable.
8917 (imagemagick-register-types): Use it.
8918 (imagemagick-types-inhibit): Add :set function. Allow new value
8919 of t to inhibit all types.
8920
8921 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8922 so we can preload it.
8923
8924 * loadup.el (fboundp): Preload regexp-opt, needed by
8925 imagemagick-register-types.
8926
8927 2012-04-15 Chong Yidong <cyd@gnu.org>
8928
8929 * frame.el (scrolling): Remove nearly unused customization group.
8930
8931 * scroll-all.el (scroll-all-mode): Move to windows group.
8932
8933 2012-04-15 Chong Yidong <cyd@gnu.org>
8934
8935 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8936
8937 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8940 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8941
8942 2012-04-15 Glenn Morris <rgm@gnu.org>
8943
8944 * simple.el (process-file-side-effects): Doc fix.
8945
8946 2012-04-15 Glenn Morris <rgm@gnu.org>
8947
8948 * international/mule-cmds.el (set-language-environment): Doc fix.
8949
8950 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8951
8952 * server.el (server-auth-key, server-generate-key): Doc fixes.
8953 (server-get-auth-key): Doc fix. Use `string-match-p'.
8954 (server-start): Reflow docstring.
8955
8956 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8957
8958 * server.el (server-generate-key): `called-interactively-p'
8959 requires a parameter.
8960
8961 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8962
8963 * server.el (server-auth-key): New variable.
8964 (server-generate-key, server-get-auth-key): New function.
8965 (server-start): Use the new variable and functions to allow
8966 setting a permanent server key (bug#9423).
8967
8968 2012-04-14 Leo Liu <sdl.web@gmail.com>
8969
8970 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8971
8972 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8973
8974 Spelling fixes.
8975 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8976 Emacs uses American spelling.
8977
8978 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8981 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8982 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8983 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8984
8985 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * progmodes/which-func.el (which-func-modes): Change default.
8988
8989 2012-04-14 Kim F. Storm <storm@cua.dk>
8990
8991 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8992 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8993
8994 2012-04-14 Chong Yidong <cyd@gnu.org>
8995
8996 * custom.el (custom-theme-set-variables): Doc fix.
8997
8998 2012-04-14 Glenn Morris <rgm@gnu.org>
8999
9000 * international/mule.el (set-auto-coding-for-load): Doc fix.
9001
9002 2012-04-14 Alan Mackenzie <acm@muc.de>
9003
9004 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9005 imenu work again for Objective C Mode. Correct the *-index values,
9006 these having been disturbed by a previous change in 2011-08.
9007
9008 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9009 Correct two search limits.
9010
9011 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9014
9015 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9016
9017 * international/characters.el: Fix sorting.
9018
9019 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9020
9021 * international/characters.el: Add more missing Latin case pairs.
9022
9023 2012-04-14 Glenn Morris <rgm@gnu.org>
9024
9025 * files.el (dir-locals-set-class-variables): Doc fix.
9026
9027 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9028
9029 * international/characters.el: Add set-case-syntax-pair call for
9030 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9031 counterpart. (Bug#11209)
9032
9033 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9034
9035 2012-04-14 Glenn Morris <rgm@gnu.org>
9036
9037 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9038
9039 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9040
9041 * textmodes/ispell.el (ispell-dictionary-base-alist):
9042 Add data for Hebrew.
9043
9044 2012-04-14 Chong Yidong <cyd@gnu.org>
9045
9046 * net/rcirc.el (rcirc-cmd-quit):
9047 Revert 2012-03-18 change (Bug#11192).
9048
9049 2012-04-14 Glenn Morris <rgm@gnu.org>
9050
9051 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9052
9053 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9054
9055 * minibuffer.el (completion-in-region-mode-map):
9056 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9057
9058 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9059
9060 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9061
9062 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9063
9064 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9065 to allow `C-M-f' and `C-M-b' to move to the nearest path
9066 separator (bug#9511).
9067
9068 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9069
9070 * avoid.el: Require cl when compiling. And also move the
9071 `provide' to the end.
9072
9073 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9074
9075 * avoid.el (mouse-avoidance-banish-position): New variable.
9076 (mouse-avoidance-banish-destination): Use it (bug#10165).
9077
9078 2012-04-13 Leo Liu <sdl.web@gmail.com>
9079
9080 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9081
9082 2012-04-13 Ken Brown <kbrown@cornell.edu>
9083
9084 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9085 this is no longer needed now that cygstart understands file:// URLs.
9086 (browse-url-filename-alist): For the same reason, don't modify
9087 file:// URLs on Cygwin.
9088
9089 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9092 the region on shift if the binding is already shifted (bug#11221).
9093
9094 2012-04-12 Glenn Morris <rgm@gnu.org>
9095
9096 * mail/mailpost.el: Move to obsolete/.
9097
9098 2012-04-12 Drew Adams <drew.adams@oracle.com>
9099
9100 * imenu.el (imenu--generic-function): Ignore invisible definitions
9101 (bug#10123).
9102
9103 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9104
9105 * hexl.el (hexl-bits): New variable.
9106 (hexl-options): Mention the variable in the doc string.
9107 (hexl-rulerise, hexl-line-displen): New functions.
9108 (hexl-mode): Mention the new variable.
9109 (hexl-mode, hexl-current-address, hexl-current-address):
9110 Use the displen.
9111 (hexl-ascii-start-column): New function.
9112 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9113 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9114
9115 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9116
9117 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9118 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9119 the encoding, as expected by hunspell.
9120
9121 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * battery.el (battery--linux-sysfs-regexp): New const.
9124 (battery-status-function): Use it. Remove yeeloong special case.
9125 (battery-yeeloong-sysfs): Remove.
9126 (battery-echo-area-format): Remove yeeloong special case.
9127
9128 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9131 Reported by Noah Friedman.
9132
9133 * subr.el (read-passwd): Use read-string.
9134
9135 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9136
9137 * vcursor.el (vcursor-move): Increase the priority of the overlay
9138 (bug#9663).
9139
9140 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9141
9142 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9143 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9144
9145 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9146
9147 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9148 define-minor-mode (bug#10760).
9149
9150 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9151
9152 * progmodes/grep.el (rgrep): Tweak the find command line so
9153 that directories matching `grep-find-ignored-files' won't be
9154 pruned (bug#10351).
9155
9156 2012-04-11 Chong Yidong <cyd@gnu.org>
9157
9158 * startup.el (command-line): Remove support for long-obsolete
9159 variable font-lock-face-attributes.
9160
9161 2012-04-11 Glenn Morris <rgm@gnu.org>
9162
9163 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9164
9165 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * window.el (window--state-get-1): Obey window-point-insertion-type.
9168
9169 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9170
9171 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9172 to previous function when point is on the first character of a
9173 function. Take care of that in `narrow-to-defun' (bug#6157).
9174
9175 2012-04-11 Glenn Morris <rgm@gnu.org>
9176
9177 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9178 not just file-errors.
9179
9180 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9181 (vc-bzr-sha1): Use internal sha1.
9182
9183 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9186
9187 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9188
9189 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9190 that start in the middle of the line (bug#10496).
9191
9192 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9193
9194 * battery.el (battery-linux-proc-acpi): Only one battery is
9195 discharged at a time, but that seems to confuse battery.el when
9196 computing `rate-type' for the battery not being discharged
9197 (bug#10332).
9198
9199 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9202
9203 * international/quail.el: Use dolist and simplify.
9204 (quail-define-package, quail-update-keyboard-layout)
9205 (quail-define-rules): Use dolist.
9206 (quail-insert-kbd-layout, quail-get-translation): CSE.
9207
9208 * tmm.el: Use dolist, remove left over hook.
9209 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9210 Use dolist.
9211 (calendar-load-hook): Don't mess with it.
9212
9213 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9214 Use derived-mode-p. Run the diff asynchronously.
9215
9216 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9217
9218 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9219
9220 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9223 (list-dynamic-libraries--loaded): New function.
9224 (list-dynamic-libraries--refresh): Use it.
9225
9226 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9227
9228 * progmodes/python.el (python-fill-paragraph):
9229 Make python-fill-region in a multiline string work when font-lock is
9230 disabled (bug#7018).
9231
9232 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9233
9234 * language/european.el (cp775): Add oem/legacy (en)coding on
9235 DOS/MS Windows for the Baltic languages. There are still plenty
9236 of texts written in this encoding/codepage (bug#6519).
9237
9238 2012-04-10 Glenn Morris <rgm@gnu.org>
9239
9240 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9241 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9242
9243 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9244
9245 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9246 next-line "n" and previous-line "p" in order to make recentf more
9247 consistent with ibuffer, dired or org-mode (bug#9387).
9248
9249 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9250
9251 * image.el (put-image): Return the overlay created instead of the
9252 optional input string (bug#7834). Note that this may break code
9253 that is (for some reason or other) depending on `put-image'
9254 returning the string.
9255
9256 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9257
9258 * simple.el (zap-to-char): Allow zapping using input methods
9259 (bug#1580).
9260
9261 * textmodes/fill.el (fill-region): Leave point and mark where they
9262 were before filling (bug#5399).
9263
9264 2012-04-09 Glenn Morris <rgm@gnu.org>
9265
9266 * version.el (emacs-bzr-get-version):
9267 Handle lightweight checkouts of local branches.
9268
9269 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9270
9271 * international/characters.el: Recover lost case pairs. (Bug#11209)
9272
9273 2012-04-09 Chong Yidong <cyd@gnu.org>
9274
9275 * custom.el (custom-variable-p): Return nil for non-symbol
9276 arguments instead of signaling an error.
9277 (user-variable-p): Obsolete alias for custom-variable-p.
9278
9279 * apropos.el (apropos-variable):
9280 * files-x.el (read-file-local-variable):
9281 * simple.el (set-variable):
9282 * woman.el (woman-mini-help):
9283 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9284
9285 2012-04-09 Glenn Morris <rgm@gnu.org>
9286
9287 * startup.el (normal-top-level): Don't look for leim-list.el
9288 in places where it will not be found. (Bug#910)
9289
9290 * international/mule-cmds.el (set-default-coding-systems):
9291 * files.el (normal-mode):
9292 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9293 This function was removed with ucs-tables.el in 2008.
9294
9295 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9296
9297 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9298 ispell-encoding8-command to "-i", without a trailing space.
9299 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9300 separate command-line arguments, to specify the encoding, since
9301 that's how hunspell expects it.
9302
9303 2012-04-08 Glenn Morris <rgm@gnu.org>
9304
9305 * loadup.el: Load bindings before cus-start.
9306 This reduces somewhat the number of "rogue" settings in emacs -Q.
9307
9308 2012-04-07 Glenn Morris <rgm@gnu.org>
9309
9310 * version.el (emacs-bzr-get-version): New function.
9311 (emacs-bzr-version): New variable.
9312 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9313 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9314
9315 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9316
9317 * international/uni-bidi.el, international/uni-category.el:
9318 * international/uni-combining.el, international/uni-decimal.el:
9319 * international/uni-decomposition.el, international/uni-digit.el:
9320 * international/uni-lowercase.el, international/uni-mirrored.el:
9321 * international/uni-name.el, international/uni-numeric.el:
9322 * international/uni-titlecase.el, international/uni-uppercase.el:
9323 Update for Unicode 6.1.
9324
9325 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9326
9327 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9328
9329 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9330
9331 * window.el (shrink-window): Mention the `window-min-height'
9332 variable in the doc string.
9333
9334 2012-04-05 Bastien Guerry <bzg@altern.org>
9335
9336 * color.el (color-lighten-name): Fix typo.
9337
9338 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * server.el (server--on-display-p): New function.
9341 (server--on-display-p): Use it.
9342
9343 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9344
9345 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9346 (bug#11145).
9347
9348 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * comint.el (comint--common-quoted-suffix): Check string boundary
9351 before comparing (bug#11158).
9352 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9353
9354 2012-04-04 Chong Yidong <cyd@gnu.org>
9355
9356 * minibuffer.el (completion-extra-properties): Doc fix.
9357
9358 * subr.el (delayed-warnings-hook): Doc fix.
9359
9360 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9361
9362 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9363 selection (Bug#11159).
9364 (epa-insert-keys): Inform that the default public key will be
9365 exported if no key is selected.
9366
9367 2012-04-04 Richard Stallman <rms@gnu.org>
9368
9369 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9370
9371 2012-04-03 Chong Yidong <cyd@gnu.org>
9372
9373 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9374 mail-insert-file, not its obsolete alias mail-attach-file.
9375
9376 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9377
9378 * notifications.el (notifications-notify): Fix docstring.
9379
9380 2012-04-02 Glenn Morris <rgm@gnu.org>
9381
9382 * emacs-lisp/authors.el (authors-aliases): Another addition.
9383
9384 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9385
9386 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9387 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9388 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9389
9390 2012-04-01 Chong Yidong <cyd@gnu.org>
9391
9392 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9393 Handle root directory properly.
9394 (copy-directory): Caller changed.
9395
9396 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9397 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9398
9399 2012-03-31 Glenn Morris <rgm@gnu.org>
9400
9401 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9402
9403 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9404
9405 * calendar/calendar.el (calendar-window-list)
9406 (calendar-hide-window): Restore. (Bug#11140)
9407 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9408
9409 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9410
9411 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9412
9413 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9414 Check if file is a symlink (Bug#10489).
9415
9416 * files.el (copy-directory): Likewise.
9417
9418 2012-03-30 Chong Yidong <cyd@gnu.org>
9419
9420 * image.el (imagemagick-types-inhibit)
9421 (imagemagick-register-types): Doc fix.
9422
9423 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9424
9425 * textmodes/ispell.el (ispell-get-extended-character-mode):
9426 Disable extended-char-mode for hunspell. hunspell does not support it
9427 and treats ~word as ordinary words in pipe mode.
9428
9429 2012-03-30 Glenn Morris <rgm@gnu.org>
9430
9431 * tutorial.el (help-with-tutorial): Ensure local variables don't
9432 happen to make the buffer read-only. (Bug#11127)
9433
9434 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9437 (perl-calculate-indent): Return `noindent' in strings.
9438
9439 2012-03-28 Sam Steingold <sds@gnu.org>
9440
9441 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9442 instead of the broken adhockery which does not prevent calendar
9443 buffers from being displayed at random after exit.
9444 (calendar-window-list, calendar-hide-window): Remove the broken
9445 adhockery.
9446
9447 2012-03-28 Glenn Morris <rgm@gnu.org>
9448
9449 * replace.el (query-replace-map): Doc fix.
9450
9451 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9452
9453 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9454 contents. (Bug#11109)
9455
9456 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9459 (bug#11077).
9460 (avl-tree--check, avl-tree--check-node): New funs.
9461
9462 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (switch-to-visible-buffer): New option.
9465 (switch-to-prev-buffer, switch-to-next-buffer):
9466 Observe switch-to-visible-buffer. Make sure that checking for a window
9467 showing a buffer already is done on the same frame.
9468
9469 2012-03-27 Glenn Morris <rgm@gnu.org>
9470
9471 * startup.el (mail-host-address): Doc fix.
9472
9473 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9476 than 197 variables.
9477
9478 2012-03-26 Ami Fischman <ami@fischman.org>
9479
9480 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9481
9482 2012-03-26 Glenn Morris <rgm@gnu.org>
9483
9484 * files.el (save-buffers-kill-emacs): Doc fix.
9485
9486 * startup.el (normal-top-level, command-line, command-line-1):
9487 Give them doc strings.
9488
9489 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9490
9491 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9492 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9493
9494 2012-03-25 Chong Yidong <cyd@gnu.org>
9495
9496 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9497 theme if it was previously enabled before (Bug#11031).
9498
9499 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9500 spec with custom-face-get-current-spec if its :shown-value is not
9501 determined yet (Bug#9337).
9502 (customize-create-theme, custom-theme-revert): Doc fixes.
9503
9504 * button.el (button-at): Minor addition to docstring.
9505
9506 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9507
9508 * vc/vc.el (vc-merge): Fix a prompt.
9509
9510 2012-03-24 Chong Yidong <cyd@gnu.org>
9511
9512 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9513 point (Bug#9623).
9514
9515 * button.el (button-at): Minor addition to docstring.
9516
9517 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * newcomment.el (comment-choose-indent): No space after BOL.
9520
9521 2012-03-22 Sam Steingold <sds@gnu.org>
9522
9523 * window.el (switch-to-prev-buffer): Revert last patch because the
9524 bug turned out to be an advertised feature (Elisp manual 28.14).
9525
9526 2012-03-22 Glenn Morris <rgm@gnu.org>
9527
9528 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9529 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9530
9531 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
9533 * net/network-stream.el (network-stream-open-starttls): Make error
9534 message under Windows be less misleading.
9535
9536 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9537
9538 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9539 understands (bug#9942).
9540
9541 2012-03-22 Chong Yidong <cyd@gnu.org>
9542
9543 * simple.el (end-of-visible-line): Handle return value of
9544 next-single-property-change properly (Bug#9371).
9545
9546 2012-03-22 Kenichi Handa <handa@m17n.org>
9547
9548 * international/quail.el (quail-insert-kbd-layout): Fix previous
9549 change. To avoid unwanted bidi reordering, use
9550 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9551
9552 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9553
9554 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9555 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9556 (ruby-beginning-of-indent): Be more careful with the difference
9557 between word-boundary and symbol boundary.
9558 (ruby-mode-syntax-table): Make : a symbol constituent.
9559
9560 2012-03-21 Andreas Politz <politza@fh-trier.de>
9561
9562 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9563
9564 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * progmodes/etags.el (tags-completion-at-point-function):
9567 Improve last fix.
9568
9569 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9570
9571 2012-03-21 Sam Steingold <sds@gnu.org>
9572
9573 * progmodes/etags.el (tags-completion-at-point-function):
9574 Avoid the error when point is inside the pattern.
9575
9576 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9577
9578 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9579 line (Bug#10855).
9580
9581 2012-03-21 Drew Adams <drew.adams@oracle.com>
9582
9583 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9584
9585 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9586
9587 * ido.el (ido-set-current-directory, ido-read-internal)
9588 (ido-choose-completion-string, ido-completion-help): Handle nil
9589 value of ido-completion-buffer (Bug#11008).
9590
9591 2012-03-21 Sam Steingold <sds@gnu.org>
9592
9593 * window.el (switch-to-prev-buffer): Do not switch to a visible
9594 window previous buffer, just like with the frame previous buffers.
9595
9596 2012-03-21 Chong Yidong <cyd@gnu.org>
9597
9598 * faces.el (make-face, make-empty-face, copy-face):
9599 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9600 Doc fixes.
9601
9602 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9605 (widget-complete): Remove broken use of it.
9606
9607 2012-03-20 Chong Yidong <cyd@gnu.org>
9608
9609 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9610 Use string-width and truncate-string-width to handle arbitrary
9611 characters.
9612
9613 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9614
9615 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9616 to draw rectangles, not squares. (Regression introduced by revno
9617 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9618
9619 2012-03-18 Chong Yidong <cyd@gnu.org>
9620
9621 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9622 it is not yet defined (for temacs).
9623
9624 2012-03-18 Leo Liu <sdl.web@gmail.com>
9625
9626 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9627 prefix.
9628
9629 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9630
9631 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9632 (ispell-choices-win-default-height, ispell-silently-savep)
9633 (ispell-dictionary-alist, ispell-encoding8-command)
9634 (ispell-check-version, ispell-aspell-find-dictionary)
9635 (ispell-valid-dictionary-list, ispell-words-keyword)
9636 (ispell-get-word, ispell-internal-change-dictionary)
9637 (ispell-region, ispell-skip-region-list)
9638 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9639 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9640 (ispell-message-text-end, ispell-message)
9641 (ispell-buffer-local-parsing): Doc fix.
9642
9643 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9644
9645 * htmlfontify.el: Add support for code block fontification for ODT
9646 export (Bug #9914).
9647 (hfy-optimisations): Define new option
9648 `body-text-only'
9649 (hfy-fontify-buffer): Honor above setting.
9650 (hfy-begin-span, hfy-end-span): New routines factored out form
9651 `hfy-fontify-buffer'.
9652 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9653 that permit insertion of custom tags.
9654 (hfy-fontify-buffer): Use above handlers.
9655 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9656 (hfy-face-to-css): Re-defined to be a variable.
9657 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9658 over multiple runs. This is made possible by having the caller let
9659 bind a special variable `hfy-user-sheet-assoc'.
9660 (htmlfontify-string): New defun.
9661 (hfy-compile-face-map): Make sure that the last char in the
9662 buffer is correctly fontified.
9663 (hfy-face-resolve-face): Whitespace only change.
9664
9665 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9666
9667 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9668 message more clear.
9669
9670 2012-03-16 Leo Liu <sdl.web@gmail.com>
9671
9672 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9673
9674 2012-03-16 Alan Mackenzie <acm@muc.de>
9675
9676 Further optimise the handling of large macros.
9677
9678 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9679 limit to a call of `c-literal-limits'.
9680 (c-determine-+ve-limit): New function.
9681 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9682 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9683 In CASE 5B, restrict a search limit to 500.
9684 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9685
9686 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9687 Restrict macro bounds to +-500 from after-change's BEG END.
9688
9689 2012-03-16 Leo Liu <sdl.web@gmail.com>
9690
9691 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9692
9693 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9694
9695 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9696 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9697
9698 2012-03-16 Glenn Morris <rgm@gnu.org>
9699
9700 * view.el (view-buffer, view-buffer-other-window)
9701 (view-buffer-other-frame): Doc fixes re special mode-class.
9702
9703 * subr.el (eval-after-load): If named feature is provided not from
9704 a file, run after-load forms. (Bug#10946)
9705
9706 * calendar/calendar.el (calendar-insert-at-column):
9707 Handle non-unit-width characters a bit better. (Bug#10978)
9708
9709 2012-03-15 Chong Yidong <cyd@gnu.org>
9710
9711 * emacs-lisp/ring.el (ring-extend): New function.
9712 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9713
9714 * comint.el (comint-read-input-ring)
9715 (comint-add-to-input-history): Grow comint-input-ring lazily.
9716
9717 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9720 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9721
9722 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9723 (imenu-add-to-menubar): Don't add a redundant index.
9724 (imenu-update-menubar): Handle a dynamically composed keymap.
9725
9726 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9727
9728 * mail/sendmail.el (mail-encode-header):
9729 Bind rfc2047-encode-encoded-words to nil.
9730
9731 2012-03-13 Glenn Morris <rgm@gnu.org>
9732
9733 * calendar/calendar.el (calendar-string-spread):
9734 Handle non-unit-width characters a bit better. (Bug#10978)
9735
9736 2012-03-13 Leo Liu <sdl.web@gmail.com>
9737
9738 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9739 directory and file as argument (Bug#10822).
9740
9741 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9742
9743 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9744 For dynamically generated code, follow $PC.
9745 (gdb-disassembly-handler-custom): Handle no function name case.
9746
9747 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9748
9749 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9750 * emulation/ws-mode.el (ws-query-replace):
9751 * sort.el (sort-regexp-fields):
9752 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9753
9754 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * dabbrev.el: Fix cycle completion order (bug#10963).
9757 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9758 (dabbrev-completion): Don't use an obarray; provide
9759 a cycle-sort-function.
9760
9761 2012-03-12 Leo Liu <sdl.web@gmail.com>
9762
9763 * simple.el (kill-new): Use equal-including-properties for comparison.
9764 (kill-do-not-save-duplicates): Doc fix.
9765
9766 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * dabbrev.el: Fix cycle completion (bug#10963).
9769 Use lexical binding and wrap to 80 columns.
9770 (dabbrev-completion): Delay computing the list of completions.
9771
9772 2012-03-12 Kenichi Handa <handa@m17n.org>
9773
9774 * international/quail.el (quail-insert-kbd-layout): Surround each
9775 row by LRO and PDF instead of inserting many LRMs. Pad the left
9776 and right of each non-spacing marks. Insert invisible space
9777 between lower and upper characters to prevent composition.
9778
9779 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * minibuffer.el (minibuffer-complete): Don't get confused when the
9782 function is run twice via different commands (bug#10958).
9783 (complete-with-action): Fix docstring.
9784
9785 2012-03-12 Chong Yidong <cyd@gnu.org>
9786
9787 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9788 (nxml-completion-at-point-function): New function.
9789 (nxml-mode): Use it.
9790 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9791
9792 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9793 Load generated autoloads file before byte compiling (Bug#10970).
9794 (package--make-autoloads-and-compile): New helper fun.
9795
9796 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9797
9798 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9799
9800 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9801
9802 * autorevert.el (auto-revert-handler): Ensure, that
9803 file-readable-p is applied only for local files or in
9804 auto-revert-tail-mode.
9805
9806 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9807
9808 * server.el (server-eval-at): Handle non-tcp connections.
9809 Decode result string.
9810
9811 * server.el (server-msg-size): New constant.
9812 (server-reply-print): New function.
9813 (server-eval-and-print): Use it.
9814 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9815 Handle -print-nonl.
9816
9817 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9818
9819 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9820 (Bug#10987).
9821
9822 2012-03-11 Chong Yidong <cyd@gnu.org>
9823
9824 * simple.el (goto-line): Doc fix (Bug#9938).
9825
9826 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9827
9828 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9829 when finished (Bug#10963).
9830
9831 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9832
9833 * window.el (split-window-below): Fix bug in case where
9834 split-window-keep-point is nil (Bug#10971).
9835
9836 2012-03-11 Juri Linkov <juri@jurta.org>
9837
9838 * replace.el (replace-highlight): Set isearch-word to nil
9839 unconditionally. (Bug#10887)
9840
9841 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9842
9843 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9844 mairix-replace-illegal-chars; all callers changed. Don't remove
9845 ^, ~, and = characters: they are meaningful in mairix search specs.
9846 (mairix-widget-create-query): Add usage information about mairix
9847 search forms: negating words, searching for substrings, etc.
9848
9849 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9850
9851 * international/fontset.el (font-encoding-alist): Add an entry for
9852 ksx1001 (Bug#5667).
9853
9854 2012-03-10 Richard Stallman <rms@gnu.org>
9855
9856 * mail/sendmail.el (mail-encode-header):
9857 Set rfc2047-encode-encoded-words.
9858
9859 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9860
9861 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9862 view buffer means not swapped.
9863 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9864 (rmail-write-region-annotate): Error if real text has disappeared.
9865
9866 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9867
9868 2012-03-10 Chong Yidong <cyd@gnu.org>
9869
9870 * emulation/cua-rect.el (cua--init-rectangles):
9871 * emulation/cua-base.el (cua--init-keymaps):
9872 Add delete-forward-char to remappings (Bug#9666).
9873
9874 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9875
9876 * speedbar.el (speedbar-unhighlight-one-tag-line):
9877 Avoid unhighlighting due to frame switching (Bug#10275).
9878
9879 2012-03-10 Chong Yidong <cyd@gnu.org>
9880
9881 * minibuffer.el (completion-in-region, completion-help-at-point):
9882 Give the completion field overlay a high priority (Bug#6830).
9883
9884 * dired.el (dired-goto-file): Recognize absolute file name
9885 listings (Bug#7126).
9886 (dired-goto-file-1): New helper function.
9887 (dired-toggle-read-only): Inhibit warnings.
9888
9889 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9890
9891 * net/dbus.el (dbus-property-handler): Return empty array if
9892 there are no properties.
9893
9894 2012-03-09 Leo Liu <sdl.web@gmail.com>
9895
9896 * savehist.el (savehist-printable): Stricter check for string
9897 value (Bug#10937).
9898
9899 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9900
9901 * mail/smtpmail.el (smtpmail-send-it):
9902 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9903 valid mbox format.
9904
9905 2012-03-09 Glenn Morris <rgm@gnu.org>
9906
9907 * files.el (dir-locals-find-file):
9908 Don't check result is regular, readable.
9909 (dir-locals-read-from-file): Demote errors.
9910
9911 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9912
9913 * international/quail.el (quail-insert-kbd-layout):
9914 Insert invisible LRM characters before each character in a keyboard
9915 layout cell, to prevent their reordering by bidi display engine.
9916 For details, see the discussion in
9917 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9918
9919 2012-03-08 Alan Mackenzie <acm@muc.de>
9920
9921 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9922 the starting position; make it extend the marked region when
9923 invoked repeatedly - all under appropriate circumstances.
9924 Fixes bugs #5525, #10906.
9925
9926 2012-03-08 Glenn Morris <rgm@gnu.org>
9927
9928 * files.el (locate-dominating-file, dir-locals-find-file):
9929 Undo 2012-03-06 change.
9930
9931 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9932
9933 * international/quail.el (quail-help):
9934 Force bidi-paragraph-direction be left-to-right. See discussion in
9935 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9936 for the reason.
9937
9938 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9939
9940 Avoid superfluous registering of signals. (Bug#10807)
9941
9942 * notifications.el (notifications-on-action-object)
9943 (notifications-on-close-object): New defvars.
9944 (notifications-on-action-signal, notifications-on-closed-signal):
9945 Unregister the signal if not needed any longer.
9946 (notifications-notify): Register `notifications-action-signal' or
9947 `notifications-closed-signal', if :on-action or :on-close has been
9948 passed as argument.
9949
9950 2012-03-07 Chong Yidong <cyd@gnu.org>
9951
9952 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9953 non-X platforms.
9954
9955 2012-03-06 Glenn Morris <rgm@gnu.org>
9956
9957 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9958 (x-disown-selection-internal, x-get-selection-internal):
9959 Doc fix (add arglist signatures). (Bug#10783)
9960
9961 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9962
9963 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9964 Handle breakpoints with no "type".
9965
9966 2012-03-06 Glenn Morris <rgm@gnu.org>
9967
9968 * files.el (locate-dominating-file): Add optional predicate argument.
9969 (dir-locals-find-file): Make use of above change.
9970
9971 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9972
9973 * info.el (Info-insert-dir): Also try "dir.gz".
9974
9975 2012-03-06 Glenn Morris <rgm@gnu.org>
9976
9977 * files.el (dir-locals-find-file):
9978 Ignore non-readable or non-regular files. (Bug#10928)
9979
9980 * files.el (locate-dominating-file): Doc fix.
9981
9982 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9983
9984 * calendar/calendar.el (calendar-set-mode-line):
9985 `getenv' returns a string. (Bug#10951)
9986
9987 2012-03-05 Leo Liu <sdl.web@gmail.com>
9988
9989 * simple.el (backward-delete-char-untabify): Constrain point to
9990 field (Bug#10939).
9991
9992 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9993
9994 2012-03-05 Chong Yidong <cyd@gnu.org>
9995
9996 * simple.el (count-words): If called from Lisp, return the word
9997 count, for symmetry with `count-lines'. Arglist changed.
9998 (count-words--message): Args changed. Consolidate counting code
9999 from count-words and count-words-region.
10000 (count-words-region): Caller changed.
10001 (count-lines-region): Make it an obsolete alias.
10002
10003 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10004
10005 * saveplace.el (save-place-to-alist)
10006 (save-place-ignore-files-regexp): Allow value nil to disable this
10007 feature.
10008
10009 2012-03-04 Chong Yidong <cyd@gnu.org>
10010
10011 * faces.el (face-spec-reset-face): For the default face, reset the
10012 attributes to default values (Bug#10748).
10013
10014 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10015
10016 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10017 previous patch: Check `message-send-mail-function', and not the
10018 default function (bug#10897).
10019
10020 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10021
10022 * notifications.el (notifications-on-action-signal)
10023 (notifications-on-closed-signal): Check for unique service name of
10024 incoming event. Fix error in removing entry.
10025 (top): Register for signals with wildcard service name.
10026 (notifications-notify): Use daemon unique service name for map entries.
10027
10028 2012-03-04 Chong Yidong <cyd@gnu.org>
10029
10030 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10031
10032 2012-03-04 Glenn Morris <rgm@gnu.org>
10033
10034 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10035 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10036 (expand-abbrev, define-abbrev-table): Doc fixes.
10037
10038 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10039
10040 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10041 `message-default-send-mail-function' and not `send-mail-function'
10042 when doing the prompting for `sendmail-query-once' before sending
10043 in Message buffers (bug#10897).
10044
10045 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10046 This is inconsistent with all the other stream functions, which leave
10047 the setting up to the higher levels (if so wanted) (bug#10931).
10048
10049 2012-03-02 Alan Mackenzie <acm@muc.de>
10050
10051 Depessimize the handling of very large macros.
10052
10053 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10054 (c-macro-cache-syntactic): New variables to implement a one
10055 element macro cache.
10056 (c-invalidate-macro-cache): New function.
10057 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10058 Adapt to use the new cache.
10059 (c-state-safe-place): Use better the cache of safe positions.
10060 (c-state-semi-nonlit-pos-cache)
10061 (c-state-semi-nonlit-pos-cache-limit):
10062 New variables for...
10063 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10064 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10065 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10066 Use c-state-semi-safe-place.
10067
10068 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10069 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10070
10071 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10072
10073 * jka-compr.el (jka-compr-call-process):
10074 Apply `file-accessible-directory-p' only when the default directory is
10075 not remote.
10076
10077 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10080 access of FILE2, if FILE1 does not exist.
10081
10082 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10083 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10084
10085 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10086 Add "PAGER=" to `process-environment'.
10087
10088 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10089
10090 * progmodes/sql.el: Bug fix
10091 (sql-get-login-ext): Save login values in globals.
10092 (sql-get-login): Use new version of `sql-get-login-ext'.
10093 (sql-interactive-mode): Set global `sql-connection' to nil.
10094 (sql-connect): Set global values for connection.
10095 (sql-product-interactive): Save global values as buffer local.
10096
10097 2012-02-29 Leo Liu <sdl.web@gmail.com>
10098
10099 * abbrev.el (define-abbrevs): Reset sys to nil.
10100
10101 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10102
10103 * files.el (file-equal-p): Rename from `files-equal-p'.
10104 Return nil when one or both files don't exist.
10105 (file-subdir-of-p): Now only top directory must exists,
10106 return nil if it doesn't.
10107 (copy-directory): No need to test with `file-subdir-of-p' after
10108 creating dir.
10109 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10110 to `file-equal-p'.
10111
10112 2012-02-28 Glenn Morris <rgm@gnu.org>
10113
10114 * shell.el (shell-mode):
10115 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10116 * play/landmark.el (landmark-font-lock-face-O):
10117 * play/handwrite.el (handwrite):
10118 * play/gomoku.el (gomoku-O):
10119 * net/browse-url.el (browse-url-browser-display):
10120 * international/mule.el (define-charset):
10121 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10122 * filesets.el (filesets-find-file-delay):
10123 * eshell/em-xtra.el (eshell-xtra):
10124 * eshell/em-unix.el (eshell-grep):
10125 * emulation/viper.el (viper-mode):
10126 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10127 * emacs-lisp/easymenu.el (easy-menu-define):
10128 * calendar/timeclock.el (timeclock-use-display-time):
10129 * bs.el (bs-mode):
10130 * bookmark.el (bookmark-save-flag):
10131 Doc fix (standardize possessive apostrophe usage).
10132
10133 2012-02-27 Chong Yidong <cyd@gnu.org>
10134
10135 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10136 Fix key-binding lookup for ESC key (Bug#9146).
10137
10138 * font-lock.el (font-lock-specified-p): Rename from
10139 font-lock-spec-present. Callers changed.
10140
10141 2012-02-27 Daniel Hackney <dan@haxney.org>
10142
10143 * emacs-lisp/package.el (package-compute-transaction):
10144 Handle holding a package version to t in package-load-list.
10145
10146 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10149 (tramp-get-inode, tramp-get-device): Use cached values.
10150
10151 2012-02-26 Alan Mackenzie <acm@muc.de>
10152
10153 Check there is a font-lock specification before doing initial
10154 fontification.
10155
10156 * font-core.el (font-lock-mode): Move the conditional from
10157 :after-hook to font-lock-initial-fontify.
10158 (font-lock-default-function): Move the check for a specification
10159 to font-lock-spec-present.
10160
10161 * font-lock.el (font-lock-initial-fontify): Call ...
10162 (font-lock-spec-present): New function.
10163
10164 2012-02-26 Jim Blandy <jimb@red-bean.com>
10165
10166 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10167 (gdb-send): Apply it to the operand of the '-interpreter-exec
10168 console' command, so that we can pass arguments with (say) quotes
10169 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10170
10171 2012-02-26 Chong Yidong <cyd@gnu.org>
10172
10173 * help-fns.el (describe-function-1): Clarify description of
10174 remapping (Bug#10844).
10175
10176 * files.el (files-equal-p): Doc fix.
10177 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10178 and quit the loop once a mismatch is found.
10179
10180 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * bs.el (bs--show-with-configuration): Don't throw an error
10183 if the window cannot be split; otherwise, subsequent calls to
10184 bs-show fail, restoring a stale window config. (Bug#10882)
10185
10186 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10187
10188 * term/ns-win.el (global-map): Bind ns-drag-file to
10189 ns-find-file (Bug#5855, Bug#10050).
10190
10191 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10192
10193 * calendar/parse-time.el (parse-time-string): Allow extractor to
10194 return nil.
10195
10196 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp.el (tramp-file-name-for-operation):
10199 Add `files-equal-p' and `file-subdir-of-p'.
10200
10201 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10202 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10203 Add COPY-CONTENTS argument.
10204
10205 2012-02-25 Chong Yidong <cyd@gnu.org>
10206
10207 Add custom groups for VC backends, for consistency with vc-bzr.
10208
10209 * vc/vc-arch.el (vc-arch):
10210 * vc/vc-cvs.el (vc-cvs):
10211 * vc/vc-git.el (vc-git):
10212 * vc/vc-hg.el (vc-hg):
10213 * vc/vc-mtn.el (vc-mtn):
10214 * vc/vc-rcs.el (vc-rcs):
10215 * vc/vc-sccs.el (vc-sccs):
10216 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10217 All relevant defcustoms reassigned.
10218
10219 2012-02-25 Chong Yidong <cyd@gnu.org>
10220
10221 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10222
10223 * term/x-win.el (x-initialize-window-system): Reduce default for
10224 x-selection-timeout to 5 seconds (Bug#8869).
10225
10226 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10227
10228 * files.el (files-equal-p, file-subdir-of-p): New functions.
10229 (copy-directory): Error when trying to copy a directory on itself.
10230 Add missing copy-contents arg to tramp handler.
10231 * dired-aux.el (dired-copy-file-recursive): Same.
10232 (dired-create-files): Modify destination when source is equal to
10233 dest when copying files.
10234 Return also when dest is a subdir of source. (Bug#10489)
10235
10236 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10237
10238 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10239 (Bug#10874)
10240
10241 2012-02-23 Alan Mackenzie <acm@muc.de>
10242
10243 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10244 parameter "after-hook:" to allow the expansion to run code after
10245 the execution of the mode hooks.
10246
10247 * font-lock.el (font-lock-initial-fontify): New function extracted
10248 from font-lock-mode-internal.
10249
10250 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10251 :after-hook.
10252
10253 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10256 (completion--cache-all-sorted-completions): New function.
10257 (completion-all-sorted-completions): Use it.
10258 (completion--do-completion, minibuffer-force-complete):
10259 Use it to re-instate the flush hook.
10260
10261 * icomplete.el (icomplete-completions): Replace last fix with a better
10262 one (bug#10850).
10263
10264 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10265
10266 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10267 when it might call us back infinitely (bug#10797).
10268
10269 2012-02-23 Glenn Morris <rgm@gnu.org>
10270
10271 * minibuffer.el (completion-category-overrides): Doc fix.
10272
10273 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10276 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10277
10278 2012-02-23 Glenn Morris <rgm@gnu.org>
10279
10280 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10281 (authors-obsolete-files-regexps, authors-ignored-files)
10282 (authors-ambiguous-files, authors-renamed-files-alist):
10283 Add more entries.
10284
10285 2012-02-23 Juri Linkov <juri@jurta.org>
10286
10287 * isearch.el (isearch-occur): Sync interactive spec with occur's
10288 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10289
10290 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10291
10292 2012-02-22 Juri Linkov <juri@jurta.org>
10293
10294 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10295 (ucs-insert): Doc fix. Check for hex digits in the string.
10296 Don't display `nil' in the error message. (Bug#10857)
10297
10298 2012-02-22 Alan Mackenzie <acm@muc.de>
10299
10300 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10301
10302 2012-02-22 Glenn Morris <rgm@gnu.org>
10303
10304 * ffap.el (ffap-c-path):
10305 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10306
10307 2012-02-22 Chong Yidong <cyd@gnu.org>
10308
10309 * custom.el (load-theme): Doc fix.
10310
10311 2012-02-22 Glenn Morris <rgm@gnu.org>
10312
10313 * dired-x.el (dired-guess-shell-alist-default):
10314 Remove escape sequences from nroff output. (Bug#172)
10315
10316 2012-02-21 Glenn Morris <rgm@gnu.org>
10317
10318 * vc/emerge.el (emerge-defvar-local):
10319 Set `permanent-local' property rather than unused `preserved'.
10320
10321 * textmodes/picture.el (picture-delete-char): New alias.
10322 (picture-mode-map): Use it. (Bug#10860)
10323 (picture-mode): Doc fix.
10324
10325 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * newcomment.el (uncomment-region-default): Remove unused binding.
10328
10329 2012-02-21 Glenn Morris <rgm@gnu.org>
10330
10331 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10332 (picture-self-insert, picture-tab-chars): Doc fix.
10333 (picture-mode-map): Fix C-a, C-e.
10334
10335 2012-02-20 Glenn Morris <rgm@gnu.org>
10336
10337 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10338
10339 2012-02-20 Leo Liu <sdl.web@gmail.com>
10340
10341 * icomplete.el (icomplete-completions): Check FROM arg before
10342 passing to substring (Bug#10850).
10343
10344 2012-02-19 Chong Yidong <cyd@gnu.org>
10345
10346 * comint.el: Require ansi-color.
10347 (comint-output-filter-functions): Add ansi-color-process-output.
10348
10349 * ansi-color.el: Don't set comint-output-filter-functions; it is
10350 now in the initial value defined in comint.el.
10351 (ansi-color-apply-face-function): New variable.
10352 (ansi-color-apply-on-region): Use it.
10353 (ansi-color-apply-overlay-face): New function.
10354
10355 * shell.el (shell): No need to require ansi-color.
10356 (shell-mode): Use ansi-color-apply-face-function to highlight
10357 color escapes using font-lock-face property (Bug#10835).
10358
10359 2012-02-19 Chong Yidong <cyd@gnu.org>
10360
10361 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10362 mode-line formats (Bug#10839).
10363
10364 2012-02-18 Glenn Morris <rgm@gnu.org>
10365
10366 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10367
10368 * mail/undigest.el (unforward-rmail-message): Doc fix.
10369
10370 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10371
10372 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10373
10374 * international/characters.el (script-list): Sync with the latest
10375 Unicode Character Database.
10376
10377 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10378
10379 * international/titdic-cnv.el: Remove duplicate coding tag.
10380 * language/cham.el: Likewise.
10381 * language/tai-viet.el: Likewise.
10382
10383 2012-02-18 Glenn Morris <rgm@gnu.org>
10384
10385 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10386 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10387 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10388 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10389 * calendar/holidays.el (holiday-bahai-holidays)
10390 (calendar-holidays, list-holidays):
10391 Use utf-8 Bahá'í in doc-strings, menus, etc.
10392
10393 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10394
10395 * saveplace.el (save-place-ignore-files-regexp): New variable
10396 allowing for excluding files from saving their location of point.
10397 The default value matches the temporary commit message editing
10398 files from Git, SVN, Bazaar, and Mercurial.
10399 (save-place-to-alist): Use it.
10400
10401 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10402 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * newcomment.el (uncomment-region-default): Don't leave extra space
10405 when an arg is provided (bug#8150).
10406
10407 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10408
10409 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10410
10411 2012-02-17 Glenn Morris <rgm@gnu.org>
10412
10413 * net/socks.el: Require network-stream. (Bug#10599)
10414
10415 2012-02-17 Kenichi Handa <handa@m17n.org>
10416
10417 * international/charprop.el:
10418 * international/uni-name.el:
10419 * international/uni-old-name.el:
10420 * international/uni-comment.el: Regenerate.
10421
10422 2012-02-16 Glenn Morris <rgm@gnu.org>
10423
10424 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10425 Interactively in calendar buffer, give an error if not on a date.
10426
10427 2012-02-15 Glenn Morris <rgm@gnu.org>
10428
10429 * shell.el (shell-delimiter-argument-list):
10430 Revert 2011-02-17 change. (Bug#8027)
10431
10432 2012-02-15 Chong Yidong <cyd@gnu.org>
10433
10434 * minibuffer.el (completion-at-point-functions): Doc fix.
10435
10436 * custom.el (defcustom): Doc fix; note use of defvar.
10437
10438 2012-02-15 Glenn Morris <rgm@gnu.org>
10439
10440 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10441 Doc fixes.
10442
10443 2012-02-14 Glenn Morris <rgm@gnu.org>
10444
10445 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10446
10447 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10448
10449 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10450 way the ports list is computed.
10451 (smtpmail-query-smtp-server): Prompt the user for a port number if
10452 we can't connect to any of the standard ports (bug#10810).
10453
10454 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10455
10456 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10457
10458 2012-02-13 Glenn Morris <rgm@gnu.org>
10459
10460 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10461
10462 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10463
10464 * net/gnutls.el (gnutls-trustfiles): New variable.
10465 (gnutls-negotiate): Use it.
10466
10467 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10468
10469 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10470 does its stuff if Gnus is running.
10471
10472 2012-02-13 Alan Mackenzie <acm@muc.de>
10473
10474 Fix a loop in c-set-fl-decl-start.
10475
10476 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10477 c-backward-syntactic-ws actually moves backwards.
10478
10479 2012-02-13 Leo Liu <sdl.web@gmail.com>
10480
10481 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10482 beginning so that all \C-o chars are removed.
10483
10484 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10485
10486 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10487
10488 2012-02-12 Alan Mackenzie <acm@muc.de>
10489
10490 Fix infinite loop with long macros.
10491 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10492
10493 2012-02-12 Chong Yidong <cyd@gnu.org>
10494
10495 * window.el (display-buffer): Doc fix (Bug#10785).
10496
10497 2012-02-12 Glenn Morris <rgm@gnu.org>
10498
10499 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10500 (x-disown-selection-internal, x-get-selection-internal):
10501 Sync docs with the xselect.c versions.
10502
10503 * allout-widgets.el: Add missing license notice.
10504
10505 2012-02-11 Glenn Morris <rgm@gnu.org>
10506
10507 * select.el (x-get-selection-internal, x-own-selection-internal)
10508 (x-disown-selection-internal):
10509 * x-dnd.el (x-get-selection-internal): Update declarations.
10510
10511 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10512
10513 * window.el (window-sides-slots):
10514 * tool-bar.el (tool-bar-position):
10515 * term/xterm.el (xterm-extra-capabilities):
10516 * ses.el (ses-self-reference-early-detection):
10517 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10518 (verilog-auto-wire-type)
10519 (verilog-auto-delete-trailing-whitespace)
10520 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10521 (verilog-auto-tieoff-declaration):
10522 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10523 (sql-oracle-statement-starters, sql-oracle-scan-on):
10524 * progmodes/prolog.el (prolog-align-comments-flag)
10525 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10526 (prolog-left-indent-regexp, prolog-paren-indent-p)
10527 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10528 (prolog-types, prolog-mode-specificators)
10529 (prolog-determinism-specificators, prolog-directives)
10530 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10531 (prolog-electric-dot-flag)
10532 (prolog-electric-dot-full-predicate-template)
10533 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10534 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10535 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10536 (prolog-program-switches, prolog-prompt-regexp)
10537 (prolog-debug-on-string, prolog-debug-off-string)
10538 (prolog-trace-on-string, prolog-trace-off-string)
10539 (prolog-zip-on-string, prolog-zip-off-string)
10540 (prolog-use-standard-consult-compile-method-flag)
10541 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10542 (prolog-imenu-max-lines, prolog-info-predicate-index)
10543 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10544 (prolog-char-quote-workaround):
10545 * progmodes/cc-vars.el (c-defun-tactic):
10546 * net/tramp.el (tramp-encoding-command-interactive)
10547 (tramp-local-end-of-line):
10548 * net/soap-client.el (soap-client):
10549 * net/netrc.el (netrc-file):
10550 * net/gnutls.el (gnutls):
10551 * minibuffer.el (completion-category-overrides)
10552 (completion-cycle-threshold)
10553 (completion-pcm-complete-word-inserts-delimiters):
10554 * man.el (Man-name-local-regexp):
10555 * mail/feedmail.el (feedmail-display-full-frame):
10556 * international/characters.el (glyphless-char-display-control):
10557 * eshell/em-ls.el (eshell-ls-date-format):
10558 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10559 (lisp-lambda-list-keyword-parameter-indentation)
10560 (lisp-lambda-list-keyword-parameter-alignment):
10561 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10562 * dired-x.el (dired-omit-verbose):
10563 * cus-theme.el (custom-theme-allow-multiple-selections):
10564 * calc/calc.el (calc-highlight-selections-with-faces)
10565 (calc-lu-field-reference, calc-lu-power-reference)
10566 (calc-note-threshold):
10567 * battery.el (battery-mode-line-limit):
10568 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10569 (archive-7z-update):
10570 * allout.el (allout-prefixed-keybindings)
10571 (allout-unprefixed-keybindings)
10572 (allout-inhibit-auto-fill-on-headline)
10573 (allout-flattened-numbering-abbreviation):
10574 * allout-widgets.el (allout-widgets-auto-activation)
10575 (allout-widgets-icons-dark-subdir)
10576 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10577 (allout-widgets-theme-dark-background)
10578 (allout-widgets-theme-light-background)
10579 (allout-widgets-item-image-properties-emacs)
10580 (allout-widgets-item-image-properties-xemacs)
10581 (allout-widgets-run-unit-tests-on-load)
10582 (allout-widgets-time-decoration-activity)
10583 (allout-widgets-hook-error-post-time)
10584 (allout-widgets-track-decoration):
10585 Add missing :version tags to new defcustoms and defgroups.
10586
10587 * progmodes/sql.el (sql-ansi-statement-starters)
10588 (sql-oracle-statement-starters): Add custom type.
10589
10590 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10591 (prolog-system-version): Give it a type.
10592
10593 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10594
10595 * term/pc-win.el (x-select-text, x-selection-owner-p)
10596 (x-own-selection-internal, x-disown-selection-internal)
10597 (x-get-selection-internal): Sync doc strings and argument lists
10598 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10599
10600 2012-02-11 Leo Liu <sdl.web@gmail.com>
10601
10602 * progmodes/python.el (python-end-of-statement): Fix infinite
10603 loop. (Bug#10788)
10604
10605 2012-02-10 Glenn Morris <rgm@gnu.org>
10606
10607 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10608 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10609
10610 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10611
10612 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10613 about SMTP before checking the From header.
10614
10615 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10616 into own function for reuse by emacsbug.el.
10617
10618 2012-02-10 Leo Liu <sdl.web@gmail.com>
10619
10620 * subr.el (condition-case-unless-debug): Rename from
10621 condition-case-no-debug. All callers changed.
10622 (with-demoted-errors): Fix caller.
10623
10624 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10625 * nxml/rng-valid.el (rng-do-some-validation):
10626 * emacs-lisp/package.el (package-refresh-contents)
10627 (package-menu-execute):
10628 * desktop.el (desktop-create-buffer):
10629 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10630
10631 2012-02-10 Glenn Morris <rgm@gnu.org>
10632
10633 * textmodes/bibtex.el:
10634 Add missing :version tags for new/changed defcustoms.
10635
10636 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10637
10638 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10639
10640 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10641 (smtpmail-via-smtp): Use it, or fall back on the From address.
10642 (smtpmail-send-it): Ditto.
10643
10644 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10647 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10648 (byte-compile-tmp-var): New const.
10649 (byte-compile-defvar): Use it to minimize .elc size.
10650 Just use `defvar' rather than simulate it (bug#10761).
10651
10652 2012-02-09 Glenn Morris <rgm@gnu.org>
10653
10654 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10655
10656 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10657 Add :version tags.
10658
10659 * progmodes/compile.el (compilation-error-screen-columns)
10660 (compilation-first-column, compilation-filter-start): Doc fixes.
10661
10662 * vc/log-view.el (log-view-toggle-entry-display):
10663 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10664
10665 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10666 (report-emacs-bug-can-use-xdg-email):
10667 (report-emacs-bug-insert-to-mailer): Doc fixes.
10668 (report-emacs-bug): Message fix.
10669
10670 * net/browse-url.el (browse-url-can-use-xdg-open)
10671 (browse-url-xdg-open): Doc fixes.
10672
10673 * electric.el (electric-indent-mode, electric-pair-mode)
10674 (electric-layout-rules, electric-layout-mode): Doc fixes.
10675 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10676
10677 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10678
10679 * server.el (server-unselect-display): Don't inadvertently kill
10680 the current buffer. (Bug#10729)
10681
10682 2012-02-08 Glenn Morris <rgm@gnu.org>
10683
10684 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10685 (sql-list-table): Doc fixes.
10686
10687 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10688 Comment out (does nothing).
10689
10690 * completion.el (dynamic-completion-mode):
10691 * dirtrack.el (dirtrack-debug-mode):
10692 * electric.el (electric-layout-mode):
10693 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10694 * face-remap.el (text-scale-mode, buffer-face-mode):
10695 * iimage.el (iimage-mode):
10696 * image-mode.el (image-transform-mode):
10697 * minibuffer.el (completion-in-region-mode):
10698 * scroll-lock.el (scroll-lock-mode):
10699 * simple.el (next-error-follow-minor-mode):
10700 * tar-mode.el (tar-subfile-mode):
10701 * tooltip.el (tooltip-mode):
10702 * vcursor.el (vcursor-use-vcursor-map):
10703 * wid-browse.el (widget-minor-mode):
10704 * emulation/tpu-edt.el (tpu-edt-mode):
10705 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10706 * international/iso-ascii.el (iso-ascii-mode):
10707 * language/thai-util.el (thai-word-mode):
10708 * mail/supercite.el (sc-minor-mode):
10709 * net/goto-addr.el (goto-address-mode):
10710 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10711 * progmodes/cwarn.el (cwarn-mode):
10712 * progmodes/flymake.el (flymake-mode):
10713 * progmodes/glasses.el (glasses-mode):
10714 * progmodes/hideshow.el (hs-minor-mode):
10715 * progmodes/pascal.el (pascal-outline-mode):
10716 * textmodes/enriched.el (enriched-mode):
10717 * vc/smerge-mode.el (smerge-mode):
10718 Doc fixes (minor mode argument).
10719
10720 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10721
10722 * ls-lisp.el (ls-lisp-sanitize): New function.
10723 (ls-lisp-insert-directory): Use it to fix or remove any elements
10724 in file-alist with missing attributes. (Bug#4673)
10725
10726 2012-02-07 Alan Mackenzie <acm@muc.de>
10727
10728 Fix spurious recognition of c-in-knr-argdecl.
10729
10730 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10731 putative K&R region.
10732
10733 2012-02-07 Alan Mackenzie <acm@muc.de>
10734
10735 * progmodes/cc-engine.el (c-forward-objc-directive):
10736 Prevent looping in "#pragma mark @implementation".
10737
10738 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10739
10740 * notifications.el (notifications-on-closed-signal): Make `reason'
10741 optional. (Bug#10744)
10742
10743 2012-02-07 Glenn Morris <rgm@gnu.org>
10744
10745 * emacs-lisp/easy-mmode.el (define-minor-mode):
10746 Doc fixes for the macro and the mode it defines.
10747
10748 * image.el (imagemagick-types-inhibit): Doc fix.
10749
10750 * cus-start.el (imagemagick-render-type): Add it.
10751
10752 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10753
10754 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10755 Set the default at load time, too, so that `font-lock-fontify-buffer'
10756 can be called without setting up the entire mode first. This fixes
10757 a bug in `mm-inline-text' with C MIME parts.
10758
10759 2012-02-06 Chong Yidong <cyd@gnu.org>
10760
10761 * simple.el (list-processes--refresh): Delete exited processes
10762 (Bug#8094).
10763
10764 * comint.el (comint-next-prompt): next-single-char-property-change
10765 and prev-single-char-property-change never return nil (Bug#8657).
10766
10767 * custom.el (defcustom): Doc fix (Bug#9711).
10768
10769 2012-02-05 Chong Yidong <cyd@gnu.org>
10770
10771 * cus-edit.el (custom-variable-reset-backup): Quote the value
10772 before storing it in the customized-value property (Bug#6712).
10773 (custom-display): Add a customization type tag.
10774 (custom-buffer-create-internal): Improve tooltip message.
10775
10776 * wid-edit.el (widget-field-value-get): New optional arg to
10777 suppress trailing whitespace truncation.
10778 (character): Use it (Bug#2689).
10779
10780 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10781
10782 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10783 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10784
10785 2012-02-05 Chong Yidong <cyd@gnu.org>
10786
10787 * cus-edit.el (custom-variable-value-create): For mismatched
10788 types, show the current value (Bug#7600).
10789
10790 * custom.el (defcustom): Doc fix.
10791
10792 2012-02-05 Glenn Morris <rgm@gnu.org>
10793
10794 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10795
10796 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10797
10798 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10799 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10800 (pp-last-sexp): Use `looking-at-p'.
10801
10802 2012-02-04 Glenn Morris <rgm@gnu.org>
10803
10804 * files.el (revert-buffer):
10805 Doc fix (mention revert-buffer-in-progress-p).
10806
10807 * emacs-lisp/ert-x.el (ert-simulate-command):
10808 Check deferred-action-list (which is obsolete) is bound.
10809
10810 * subr.el (with-wrapper-hook): Doc fixes.
10811
10812 * simple.el (filter-buffer-substring-functions)
10813 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10814
10815 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10816
10817 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10818 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10819
10820 2012-02-04 Leo Liu <sdl.web@gmail.com>
10821
10822 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10823
10824 2012-02-04 Glenn Morris <rgm@gnu.org>
10825
10826 * image.el (image-extension-data): Add obsolete alias.
10827
10828 * isearch.el (isearch-update): Doc fix.
10829
10830 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10831
10832 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10833
10834 2012-02-03 Glenn Morris <rgm@gnu.org>
10835
10836 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10837 (image-animate-timeout): Doc fix.
10838
10839 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10840
10841 2012-02-02 Glenn Morris <rgm@gnu.org>
10842
10843 * server.el (server-auth-dir): Doc fix.
10844 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10845
10846 * subr.el (run-mode-hooks): Doc fix.
10847
10848 2012-02-02 Juri Linkov <juri@jurta.org>
10849
10850 * image-mode.el (image-toggle-display-image): Remove tautological
10851 `major-mode' from the `derived-mode-p' test.
10852
10853 2012-02-02 Kenichi Handa <handa@m17n.org>
10854
10855 * composite.el (compose-region): Cancel previous change.
10856
10857 2012-02-02 Kenichi Handa <handa@m17n.org>
10858
10859 * composite.el (compose-region, compose-string): Signal error for
10860 a null string component (Bug#6988).
10861
10862 2012-02-01 Chong Yidong <cyd@gnu.org>
10863
10864 * view.el (view-buffer-other-window, view-buffer-other-frame):
10865 Handle special modes like view-buffer (Bug#10650).
10866 (view-buffer): Simplify.
10867
10868 * frame.el (set-frame-font): Tweak meaning of third argument.
10869
10870 * dynamic-setting.el (font-setting-change-default-font):
10871 Use set-frame-font (Bug#9982).
10872
10873 2012-02-01 Glenn Morris <rgm@gnu.org>
10874
10875 * progmodes/compile.el (compilation-internal-error-properties):
10876 Respect compilation-first-column in the "*compilation*" buffer.
10877
10878 * emacs-lisp/easy-mmode.el (define-minor-mode):
10879 Relax :variable's test for a named function.
10880
10881 2012-01-31 Alan Mackenzie <acm@muc.de>
10882
10883 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10884 off by one error.
10885
10886 2012-01-31 Chong Yidong <cyd@gnu.org>
10887
10888 * frame.el (set-frame-font): New arg ALL-FRAMES.
10889
10890 * menu-bar.el (menu-set-font): Use set-frame-font.
10891
10892 * faces.el (face-spec-reset-face): Don't apply unspecified
10893 attribute values to the default face.
10894
10895 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10896
10897 * progmodes/cwarn.el (cwarn): Remove dead link.
10898 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10899 Remove * from defcustom docstrings.
10900 (turn-on-cwarn-mode): Make obsolete.
10901 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10902 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10903
10904 2012-01-31 Glenn Morris <rgm@gnu.org>
10905
10906 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10907 Fix :variable handling of mode a symbol not equal to modefun.
10908 Allow named functions to be used as the cdr of :variable.
10909
10910 2012-01-30 Glenn Morris <rgm@gnu.org>
10911
10912 * emacs-lisp/authors.el (authors-fixed-entries):
10913 Remove reference to deleted file rnewspost.el.
10914
10915 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10916
10917 * window.el (window-with-parameter): Remove unused variable `windows'.
10918 (window--side-check): Remove unused variable `code'.
10919 (window--resize-siblings): Remove unused variable `first'.
10920 (adjust-window-trailing-edge): Remove unused variable `failed'.
10921 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10922 Use `let', not `let*'.
10923 (balance-windows-2): Remove unused variable `found'.
10924 (window--state-put-2): Remove unused variable `splits'.
10925 (window-state-put): Remove unused variable `selected'.
10926 (same-window-p): Use `string-match-p'.
10927 (display-buffer-assq-regexp): Remove unused variable `value'.
10928 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10929 Mark argument ALIST as ignored.
10930 (pop-to-buffer): Remove unused variable `old-window'.
10931
10932 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10933
10934 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10935 and .lzma compressed files.
10936
10937 2012-01-29 Chong Yidong <cyd@gnu.org>
10938
10939 * frame.el (window-system-default-frame-alist): Doc fix.
10940
10941 * dynamic-setting.el (font-setting-change-default-font): Don't
10942 change the default face if SET-FONT argument is non-nil (Bug#9982).
10943
10944 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10945
10946 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10947
10948 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10949
10950 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10951 breakpoints in files outside current directory (Bug#6098).
10952
10953 2012-01-29 Chong Yidong <cyd@gnu.org>
10954
10955 * progmodes/python.el: Require ansi-color at top-level.
10956
10957 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10958 Define and use in Emacs Lisp mode (Bug#9360).
10959 (lisp-mode-abbrev-table): Add doc.
10960 (lisp-mode-variables): Don't set local-abbrev-table.
10961 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10962
10963 2012-01-28 Roland Winkler <winkler@gnu.org>
10964
10965 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10966
10967 2012-01-28 Roland Winkler <winkler@gnu.org>
10968
10969 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10970 (bibtex-set-dialect): Use it. Either set global values of
10971 dialect-dependent variables or bind these variables buffer-locally
10972 (Bug#10254).
10973 (bibtex-mode): Call bibtex-set-dialect via
10974 hack-local-variables-hook.
10975 (bibtex-dialect): Update docstring.
10976 Add safe-local-variable predicate.
10977 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10978 bibtex-set-dialect.
10979 (bibtex-mode-map): Define menu for each dialect.
10980 (bibtex-entry): Fix docstring.
10981
10982 2012-01-28 Chong Yidong <cyd@gnu.org>
10983
10984 * eshell/esh-arg.el (eshell-quote-argument): New function.
10985
10986 * eshell/esh-ext.el (eshell-invoke-batch-file):
10987 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10988 first arg to eshell-parse-command (Bug#10523).
10989
10990 2012-01-28 Drew Adams <drew.adams@oracle.com>
10991
10992 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10993 `default-directory' is non-nil.
10994
10995 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10996
10997 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10998 line that displays system-configuration-options. (Bug#9924)
10999
11000 2012-01-28 Drew Adams <drew.adams@oracle.com>
11001
11002 * descr-text.el (describe-char): Show information about POS, in
11003 addition to information about the character at POS. Improve and
11004 update the doc string. Change "code point" to "code point in
11005 charset", to avoid confusion with the character's Unicode code
11006 point shown above that. (Bug#10129)
11007
11008 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11009
11010 * descr-text.el (describe-char): Show the raw character, not only
11011 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11012 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11013 for the reasons.
11014
11015 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11016
11017 * emacs-lisp/package.el (package-install):
11018 Run package-refresh-contents if there is no archive yet (Bug#9798).
11019
11020 2012-01-28 Chong Yidong <cyd@gnu.org>
11021
11022 * emacs-lisp/package.el (package-maybe-load-descriptor):
11023 New function, split from package-maybe-load-descriptor.
11024 (package-maybe-load-descriptor): Use it.
11025 (package-download-transaction): Fully load required packages
11026 inside the loop, so that `require' calls work (Bug#10593).
11027 (package-install): No need to call package-initialize now.
11028
11029 2012-01-28 Chong Yidong <cyd@gnu.org>
11030
11031 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11032
11033 * tooltip.el (tooltip-mode): Doc fix.
11034 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11035
11036 * frame.el (set-cursor-color): Doc fix (Bug#352).
11037
11038 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11039 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11040
11041 * cus-edit.el (custom-buffer-create-internal): Fix search button
11042 action (Bug#10542).
11043 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11044
11045 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11046
11047 * dired.el (dired-mark-files-regexp):
11048 Include any subdirectory components. (Bug#10445)
11049
11050 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11051
11052 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11053 Handle [host]:port syntax. (Bug#10533)
11054
11055 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11056
11057 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11058
11059 2012-01-26 Glenn Morris <rgm@gnu.org>
11060
11061 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11062 * term.el (term-raw-escape-map): Use Control-X-prefix.
11063 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11064
11065 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11066
11067 * window.el (window-state-get, window--state-get-1): Don't deal
11068 with fixed-sizeness of windows. Simplify code.
11069
11070 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11071
11072 * window.el (window--state-get-1, window--state-put-2):
11073 Don't save and restore the mark.
11074
11075 2012-01-25 Chong Yidong <cyd@gnu.org>
11076
11077 * custom.el (custom-variable-p): Doc fix.
11078
11079 2012-01-25 Glenn Morris <rgm@gnu.org>
11080
11081 * dired.el (dired-goto-file): Handle some of the more common
11082 characters that `ls -b' escapes. (Bug#10596)
11083
11084 * progmodes/compile.el (compilation-next-error-function):
11085 Respect compilation-first-column in the "*compilation*" buffer.
11086 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11087
11088 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11089
11090 2012-01-24 Glenn Morris <rgm@gnu.org>
11091
11092 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11093
11094 2012-01-24 Julien Danjou <julien@danjou.info>
11095
11096 * color.el (color-rgb-to-hsl): Fix value computing.
11097 (color-hue-to-rgb): New function.
11098 (color-hsl-to-rgb): New function.
11099 (color-clamp, color-saturate-hsl, color-saturate-name)
11100 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11101 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11102
11103 2012-01-24 Glenn Morris <rgm@gnu.org>
11104
11105 * vc/vc-rcs.el (vc-rcs-create-tag):
11106 * vc/vc-sccs.el (vc-sccs-create-tag):
11107 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11108
11109 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11110
11111 * eshell/esh-util.el (eshell-read-hosts-file):
11112 Skip comment lines. (Bug#10549)
11113
11114 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11115
11116 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11117
11118 * subr.el (display-delayed-warnings): Doc fix.
11119 (collapse-delayed-warnings): New function to collapse identical
11120 adjacent warnings.
11121 (delayed-warnings-hook): Add it.
11122
11123 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11124
11125 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11126
11127 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11128 (tramp-default-user-alist): Don't add "pscp".
11129 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11130 property "login-as", if set. (Bug#10530)
11131
11132 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11133
11134 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11135 "plink1" and "psftp". (Bug#10530)
11136
11137 2012-01-21 Kenichi Handa <handa@m17n.org>
11138
11139 * international/mule-cmds.el (prefer-coding-system): Show a
11140 warning message if the default value of file-name-coding-system
11141 was not changed.
11142
11143 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11144
11145 * windmove.el (windmove-reference-loc):
11146 Fix windmove-reference-loc miscalculation.
11147
11148 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11149
11150 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11151 default unit.
11152
11153 2012-01-21 Glenn Morris <rgm@gnu.org>
11154
11155 * international/mule.el (auto-coding-alist): Add .tbz.
11156
11157 * files.el (local-enable-local-variables): Doc fix.
11158 (inhibit-local-variables-regexps): Rename from
11159 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11160 Doc fix. Add some extensions from auto-coding-alist.
11161 (inhibit-local-variables-suffixes):
11162 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11163 (inhibit-local-variables-p):
11164 New function, extracted from set-auto-mode-1.
11165 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11166 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11167 (hack-local-variables): Doc fix. Make the mode-only case
11168 respect enable-local-variables and friends.
11169 Respect inhibit-local-variables-regexps for file-locals, but
11170 not for directory-locals.
11171 (set-visited-file-name):
11172 Take account of inhibit-local-variables-regexps.
11173 Whether it applies may change as the file name is changed.
11174 * jka-cmpr-hook.el (jka-compr-install):
11175 * jka-compr.el (jka-compr-uninstall):
11176 Update for inhibit-first-line-modes-suffixes name change.
11177
11178 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11179
11180 * help-macro.el (make-help-screen): Temporarily restore original
11181 binding for minor-mode-map-alist (Bug#10454).
11182
11183 2012-01-19 Julien Danjou <julien@danjou.info>
11184
11185 * color.el (color-name-to-rgb): Use the white color to find the max
11186 color component value and return correctly computed values.
11187 (color-name-to-rgb): Add missing float conversion for max value.
11188
11189 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11190
11191 * window.el (window--state-get-1, window-state-get): Do not use
11192 special state value for window-persistent-parameters.
11193 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11194 (window--state-put-2): Reset all window parameters to nil before
11195 assigning values of persistent parameters.
11196
11197 2012-01-18 Alan Mackenzie <acm@muc.de>
11198
11199 Eliminate sluggishness and hangs in fontification of "semicolon
11200 deserts".
11201
11202 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11203 Change value 10000 -> 3000.
11204 (c-state-safe-place): Reformulate so it doesn't stack up an
11205 infinite number of wrong entries in c-state-nonlit-pos-cache.
11206 (c-determine-limit-get-base, c-determine-limit): New functions to
11207 determine backward search limits disregarding literals.
11208 (c-find-decl-spots): Amend commenting.
11209 (c-cheap-inside-bracelist-p): New function which detects "={".
11210
11211 * progmodes/cc-fonts.el
11212 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11213 backward search.
11214 (c-font-lock-declarations): Fix an occurrence of point being
11215 undefined. Check additionally for point being in a bracelist or
11216 near a macro invocation without a semicolon so as to avoid a
11217 fruitless time consuming search for a declarator. Give a more
11218 precise search limit for declarators using the new
11219 c-determine-limit.
11220
11221 2012-01-18 Glenn Morris <rgm@gnu.org>
11222
11223 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11224 (set-auto-mode): Doc fixes.
11225
11226 2012-01-17 Glenn Morris <rgm@gnu.org>
11227
11228 * isearch.el (search-nonincremental-instead): Fix doc typo.
11229
11230 * dired.el (dired-insert-directory): Handle newlines in directory name.
11231 (dired-build-subdir-alist): Unescape newlines in directory name.
11232
11233 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11234
11235 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11236 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11237 (tramp-action-terminal): Use it. (Bug#10530)
11238
11239 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11242
11243 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11244
11245 * window.el (window-state-ignored-parameters): Remove variable.
11246 (window--state-get-1): Rename argument MARKERS to IGNORE.
11247 Handle persistent window parameters. Make copy of clone-of
11248 parameter only if requested. (Bug#10348)
11249 (window--state-put-2): Install a window parameter only if it has
11250 a non-nil value or an existing parameter shall be overwritten.
11251
11252 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11253
11254 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11255
11256 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11257
11258 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11259 don't pass the (nil) value of `upnode' to string-match.
11260
11261 2012-01-14 Chong Yidong <cyd@gnu.org>
11262
11263 * startup.el (command-line): Fix X resource class for cursorColor.
11264 Fix values recognized by the cursorBlink resource.
11265
11266 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11267
11268 * epg.el (epg--make-temp-file): Avoid permission race condition
11269 when running on old Emacs versions (bug#10403).
11270
11271 2012-01-14 Glenn Morris <rgm@gnu.org>
11272
11273 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11274
11275 2012-01-13 Alan Mackenzie <acm@muc.de>
11276
11277 Fix filling for when filladapt mode is enabled.
11278
11279 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11280 c-mask-paragraph, pass in `fill-paragraph' rather than
11281 `fill-region-as-paragraph'. (This is a reversion of a previous
11282 change.)
11283 * progmodes/cc-mode.el (c-basic-common-init):
11284 Make fill-paragraph-handle-comment buffer local and set it to nil.
11285
11286 2012-01-13 Glenn Morris <rgm@gnu.org>
11287
11288 * dired.el (dired-switches-escape-p): New function.
11289 (dired-insert-directory): Use dired-switches-escape-p.
11290 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11291
11292 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11293
11294 2012-01-12 Glenn Morris <rgm@gnu.org>
11295
11296 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11297 changes in adaptive-fill-regexp. (Bug#10276)
11298
11299 2012-01-11 Alan Mackenzie <acm@muc.de>
11300
11301 Fix Emacs bug #10463 - put `widen's around the critical spots.
11302
11303 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11304 widen around each invocation of c-state-pp-to-literal. Remove an
11305 unused let variable.
11306
11307 2012-01-11 Glenn Morris <rgm@gnu.org>
11308
11309 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11310 Doc fix.
11311
11312 2012-01-10 Chong Yidong <cyd@gnu.org>
11313
11314 * net/network-stream.el (network-stream-open-starttls):
11315 Avoid emitting a confusing error message when the server gives a bad
11316 response to the capability command.
11317
11318 2012-01-10 Glenn Morris <rgm@gnu.org>
11319
11320 * mail/unrmail.el (unrmail): Tweak previous change.
11321
11322 2012-01-09 Chong Yidong <cyd@gnu.org>
11323
11324 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11325
11326 2012-01-08 Alan Mackenzie <acm@muc.de>
11327
11328 Optimise font locking in long enum definitions.
11329
11330 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11331 arm to a cond form to handle enums.
11332 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11333 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11334
11335 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11336
11337 * files.el (move-file-to-trash): Preserve default file modes on error.
11338 (Bug#10401)
11339
11340 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11341
11342 * faces.el (set-face-attribute): Clarify the meaning of the nil
11343 frame (bug#10294).
11344
11345 * subr.el (with-selected-frame): Mention that the selected frame
11346 is restored (bug#9980).
11347
11348 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11349 (bug#9759).
11350
11351 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11352 (password-read): Don't autoload unused function.
11353
11354 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * progmodes/which-func.el (which-func-mode): Turn into a
11357 non-interactive function and mark as obsolete (bug#10428).
11358
11359 2012-01-06 Chong Yidong <cyd@gnu.org>
11360
11361 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11362 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11363 functions, along with 1 and -1.
11364
11365 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11366
11367 * time.el (display-time-load-average)
11368 (display-time-default-load-average): Doc fixes. See the thread
11369 starting at
11370 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11371 for the details.
11372
11373 2012-01-06 Glenn Morris <rgm@gnu.org>
11374
11375 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11376 has no messages. (Bug#10377)
11377
11378 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11379 than Info-edit. (Bug#10385)
11380
11381 * time.el (display-time-load-average, display-time-next-load-average):
11382 Doc fixes.
11383
11384 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11385 local setting of buffer-read-only to the input buffer. (Bug#10419)
11386
11387 * calendar/calendar.el (calendar-mode):
11388 Locally set scroll-margin to 0. (Bug#10379)
11389
11390 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11391
11392 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11393
11394 2012-01-05 Glenn Morris <rgm@gnu.org>
11395
11396 * eshell/em-unix.el (diff-no-select): Autoload it.
11397 (eshell/diff): Use diff-no-select. (Bug#10420)
11398
11399 2012-01-05 Chong Yidong <cyd@gnu.org>
11400
11401 * shell.el (shell-dynamic-complete-functions): Revert last change.
11402 (shell-command-completion-function): New function.
11403 (shell-completion-vars): Use it to implement
11404 shell-completion-execonly (Bug#10417).
11405
11406 * custom.el (enable-theme): Don't set custom-safe-themes.
11407
11408 * cus-theme.el (custom-theme-merge-theme):
11409 Ignore custom-enabled-themes and custom-safe-themes.
11410
11411 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11412
11413 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11414 first prompt in `sql-interacive-mode'.
11415 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11416 keywords.
11417 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11418 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11419 context of original buffer. Invoke `sql-login-hook'.
11420
11421 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11422
11423 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11424 letters in cite-prefix.
11425
11426 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11427
11428 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11429
11430 2012-01-03 Chong Yidong <cyd@gnu.org>
11431
11432 * shell.el (shell-dynamic-complete-functions):
11433 Put pcomplete-completions-at-point, so as to try
11434 comint-filename-completion first (Bug#10417).
11435
11436 2012-01-02 Richard Stallman <rms@gnu.org>
11437
11438 * battery.el (battery-status-function):
11439 Detect when to use battery-yeeloong-sysfs.
11440 (battery-echo-area-format): Add string for Yeeloong.
11441 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11442 (battery-yeeloong-sysfs): New function.
11443
11444 2012-01-02 Chong Yidong <cyd@gnu.org>
11445
11446 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11447 (dirtrack): Merge code for handling relative filenames in prompt
11448 from shell-dir-cookie-watcher.
11449 (dirtrack-debug-message): New arg to avoid excess format calls.
11450
11451 * shell.el (shell-dir-cookie-re): Variable deleted.
11452 (shell-dir-cookie-watcher): Function deleted.
11453 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11454 with dirtrack-mode.
11455
11456 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11457
11458 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11459 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11460 libgnutls-26.dll.
11461
11462 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11463
11464 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11465
11466 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11467
11468 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11469 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11470
11471 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11472
11473 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11474 also for alternative shells.
11475 (tramp-open-connection-setup-interactive-shell): Check, whether
11476 the shell is a busybox.
11477 (tramp-send-command): Don't suppress multiple prompts for
11478 busyboxes, it hurts.
11479
11480 2011-12-28 Chong Yidong <cyd@gnu.org>
11481
11482 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11483 (gdb-get-source-file): Move mode line update to
11484 gdb-get-source-file (Bug#10087).
11485
11486 2011-12-25 Chong Yidong <cyd@gnu.org>
11487
11488 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11489 gud-gdb-marker-filter without taking it as an argument.
11490 (gud-gdb-run-command-fetch-lines): Caller changed.
11491 (gud-gdb-completion-function): New variable.
11492 (gud-gdb-completion-at-point): Use it.
11493 (gud-gdb-completions-1): Split from gud-gdb-completions.
11494
11495 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11496 function as separate arguments.
11497 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11498 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11499 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11500 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11501 (gdb-stopped, def-gdb-auto-update-trigger)
11502 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11503 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11504 Callers changed.
11505 (gud-gdbmi-completions): New function.
11506 (gdb): Use it for generating the completion table.
11507
11508 2011-12-24 Alan Mackenzie <acm@muc.de>
11509
11510 Introduce a mechanism to widen the region used in context font
11511 locking. Use this to protect declarations from losing their contexts.
11512
11513 * progmodes/cc-langs.el (c-before-font-lock-functions):
11514 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11515 (c-before-context-fontification-functions): New defvar, a list of
11516 functions to be run just before context (etc.) font locking.
11517
11518 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11519 New, functionality extracted from
11520 c-neutralize-syntax-in-and-mark-CPP.
11521 (c-in-after-change-fontification): New variable.
11522 (c-after-change): Set c-in-after-change-fontification.
11523 (c-set-fl-decl-start): Rejig its interface, so it can be called
11524 from both after-change and context fontifying.
11525 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11526 New functions.
11527 (c-standard-font-lock-fontify-region-function): New variable.
11528 (c-font-lock-fontify-region): New function.
11529
11530 2011-12-24 Juri Linkov <juri@jurta.org>
11531
11532 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11533 (Bug#10348)
11534
11535 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11538 existence of source file. (Bug#10325)
11539
11540 2011-12-23 Alan Mackenzie <acm@muc.de>
11541
11542 Fix unstable fontification inside templates.
11543
11544 * progmodes/cc-langs.el (c-before-font-lock-functions):
11545 Newly created from the singular version. The (c c++ objc) entry now
11546 additionally has c-set-fl-decl-start. The other languages (apart
11547 from AWK) have that as a single entry.
11548
11549 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11550 The functionality for "local" declarations has been extracted to
11551 c-set-fl-decl-start.
11552
11553 * progmodes/cc-mode.el (c-common-init, c-after-change):
11554 Changes due to pluralisation of c-before-font-lock-functions.
11555 (c-set-fl-decl-start): New function, extracted from
11556 c-font-lock-enclosing-decls and enhanced.
11557
11558 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11559
11560 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11561
11562 2011-12-22 Juri Linkov <juri@jurta.org>
11563
11564 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11565
11566 2011-12-22 Chong Yidong <cyd@gnu.org>
11567
11568 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11569
11570 2011-12-21 Drew Adams <drew.adams@oracle.com>
11571
11572 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11573
11574 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11575
11576 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11577
11578 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11579
11580 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11581 highlighting and support. Fix up comments for capitalization.
11582 (cfengine-mode-debug): New var.
11583 (cfengine3-mode): Change the modeline indicator to "CFE3".
11584 (cfengine3-font-lock-keywords): Improve defun highlighting.
11585 (cfengine2-actions): Rename from `cfengine-actions'.
11586 (cfengine2-font-lock-keywords): Rename from
11587 `cfengine-font-lock-keywords'.
11588 (cfengine2-imenu-expression): Rename from
11589 `cfengine-imenu-expression'.
11590 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11591 (cfengine2-beginning-of-defun): Rename from
11592 `cfengine-beginning-of-defun'.
11593 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11594 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11595 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11596 modeline indicator to "CFE2".
11597 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11598 (cfengine-mode-abbrevs): Mark obsolete.
11599
11600 2011-12-21 Chong Yidong <cyd@gnu.org>
11601
11602 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11603 filename argument.
11604
11605 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11606
11607 * window.el (window-normalize-buffer-to-display): Remove.
11608 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11609
11610 2011-12-19 Chong Yidong <cyd@gnu.org>
11611
11612 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11613 Don't signal an error in a predicate function; return non-nil.
11614 (vc-dir-mark-file): Move the error here.
11615 (vc-dir-mark-unmark): If acting on the region, keep going if one
11616 of the entries cannot be marked/unmarked.
11617 (vc-dir-mark-all-files): If current entry is a directory, mark
11618 only child files, as documented.
11619
11620 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11621
11622 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11623 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11624 addition.
11625
11626 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11627
11628 * term/ns-win.el (ns-get-selection-internal)
11629 (ns-store-selection-internal): Declare.
11630 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11631 Declare as obsolete.
11632 (ns-get-pasteboard, ns-paste-secondary):
11633 Use ns-get-selection-internal.
11634 (ns-set-pasteboard, ns-copy-including-secondary):
11635 Use ns-store-selection-internal.
11636
11637 2011-12-17 Chong Yidong <cyd@gnu.org>
11638
11639 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11640 (vc-deduce-fileset): Doc fix.
11641
11642 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11643
11644 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11645
11646 2011-12-13 Sam Steingold <sds@gnu.org>
11647
11648 * man.el (Man-getpage-in-background): When running under a
11649 window-system, ignore $MANWIDTH and $COLUMNS.
11650
11651 2011-12-15 Kenichi Handa <handa@m17n.org>
11652
11653 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11654 (setup-ethiopic-environment-internal): Comment out key-binding for
11655 ethio-toggle-punctuation.
11656
11657 2011-12-13 Alan Mackenzie <acm@muc.de>
11658
11659 Add the switch statement to AWK Mode.
11660
11661 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11662 "default" to the keywords regexp.
11663
11664 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11665 expression as the rest.
11666 (c-nonlabel-token-key): Allow string literals for AWK.
11667 Refactor for the other modes.
11668
11669 Large brace-block initialisation makes CC Mode slow: Fix.
11670 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11671 routines. Limit backward searching in c-font-lock-enclosing.decl.
11672
11673 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11674 pp-state and literal type in addition to the limits.
11675 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11676 (c-state-literal-at): Use the above new defun.
11677 (c-slow-in-literal, c-fast-in-literal): Remove.
11678 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11679
11680 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11681 being in a literal. Add a limit for backward searching.
11682
11683 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11684 c-slow-in-literal.
11685
11686 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11689
11690 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11691
11692 * window.el (delete-other-windows): Use correct frame in call to
11693 window-with-parameter.
11694
11695 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11696
11697 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11698 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11699 (makefile-gmake-statements, makefile-makepp-statements):
11700 Use it and add new makepp keywords.
11701 (makefile-makepp-font-lock-keywords): Add new patterns.
11702 (makefile-match-function-end): Match new [...] and [[...]].
11703
11704 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11705
11706 * ses.el (ses-call-printer-return, ses-cell-property-get)
11707 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11708 (ses-create-cell-variable, ses-reset-header-string)
11709 (ses-cell-set-formula, ses-repair-cell-reference-all)
11710 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11711 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11712 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11713 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11714 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11715 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11716 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11717 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11718 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11719 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11720 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11721 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11722
11723 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11724
11725 * ses.el: The overall change is to add cell renaming, that is
11726 setting fancy names for cell symbols other than name matching
11727 "\\`[A-Z]+[0-9]+\\'" regexp .
11728 (ses-create-cell-variable): New defun.
11729 (ses-relocate-formula): Relocate formulas only for cells the
11730 symbols of which are not renamed, i.e. symbols whose names do not
11731 match regexp "\\`[A-Z]+[0-9]+\\'".
11732 (ses-relocate-all): Relocate values only for cells the symbols of
11733 which are not renamed.
11734 (ses-load): Create cells variables as the (ses-cell ...) are read,
11735 in order to check row col consistency with cell symbol name only
11736 for cells that are not renamed.
11737 (ses-replace-name-in-formula): New defun.
11738 (ses-rename-cell): New defun.
11739
11740 2011-12-11 Chong Yidong <cyd@gnu.org>
11741
11742 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11743 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11744
11745 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11746
11747 * window.el (other-window): Fix docstring.
11748
11749 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11750
11751 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11752 `from' or `to' address before taking its substring.
11753 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11754 encoded name is chopped in the middle of the encoded string, and
11755 thus displayed encoded.
11756
11757 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11758
11759 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11760
11761 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11762
11763 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11764 to use texinfo-update-node and commands that call it if the
11765 Texinfo file uses @node lines without next/prev/up pointers.
11766 Correct outdated description about texinfo-master-menu.
11767 (texinfo-all-menus-update, texinfo-master-menu)
11768 (texinfo-update-node, texinfo-every-node-update)
11769 (texinfo-multiple-files-update): Doc fix. Warn against updating
11770 all the @node lines.
11771 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11772 argument is numeric. Explain better in the doc string what the
11773 function really does.
11774 (texinfo-insert-master-menu-list): Improve the error message
11775 displayed if there's no menu in the Top node.
11776 (Bug#2975) See also this thread:
11777 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11778
11779 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11780
11781 * speedbar.el (speedbar-supported-extension-expressions):
11782 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11783
11784 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * printing.el (pr-mode-alist):
11787 * simple.el (filter-buffer-substring-functions)
11788 (completion-list-insert-choice-function):
11789 * window.el (window-with-parameter, window-atom-root)
11790 (window-sides-slots, window-size-fixed, window-min-delta)
11791 (window-max-delta, window--resize-mini-window)
11792 (window--resize-child-windows-normal, window-tree)
11793 (delete-other-windows, quit-window, split-window)
11794 (display-buffer-record-window, special-display-buffer-names)
11795 (special-display-regexps, special-display-popup-frame)
11796 (same-window-p, split-window-sensibly)
11797 (display-buffer-overriding-action, display-buffer-alist)
11798 (display-buffer-base-action, display-buffer, switch-to-buffer)
11799 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11800 (fit-window-to-buffer, recenter-positions)
11801 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11802 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11803 and remove unneeded backslashes in docstrings.
11804
11805 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11808
11809 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11810 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11811 end in ".mk".
11812 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11813 when reading the makefile (bug#10116).
11814
11815 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11818 (bug#10116).
11819
11820 2011-12-06 Glenn Morris <rgm@gnu.org>
11821
11822 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11823
11824 2011-12-06 Chong Yidong <cyd@gnu.org>
11825
11826 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11827
11828 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11829
11830 * textmodes/table.el (table-shorten-cell): Fix typo.
11831
11832 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11833
11834 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11835
11836 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11837
11838 * descr-text.el (describe-char): Fix display of strong
11839 right-to-left characters and directional embeddings and overrides.
11840
11841 * simple.el (what-cursor-position): Fix display of codepoints of
11842 strong right-to-left characters.
11843
11844 2011-12-05 Chong Yidong <cyd@gnu.org>
11845
11846 * faces.el (read-color): Doc fix.
11847
11848 2011-12-05 Glenn Morris <rgm@gnu.org>
11849
11850 * align.el (align--set-marker): Add doc-string.
11851 Don't try to move something that is not a marker. (Bug#10216)
11852
11853 2011-12-04 Glenn Morris <rgm@gnu.org>
11854
11855 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11856 overly zealous deletion of trailing whitespace.
11857
11858 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11859
11860 * server.el (server-delete-client): On Windows, do not try to delete
11861 the only terminal.
11862 (server-process-filter): On Windows, treat requests for a tty frame as
11863 if they were for a GUI frame if the running server is in GUI mode.
11864
11865 2011-12-03 Glenn Morris <rgm@gnu.org>
11866
11867 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11868
11869 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * electric.el: Streamline electric-indent's hook.
11872 (electric-indent-chars): Revert to simple list.
11873 (electric-indent-functions): New var.
11874 (electric-indent-post-self-insert-function): Use it.
11875
11876 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11877 there's no inferior buffer (bug#10196).
11878 (prolog-consult-compile): Don't use toggle-read-only.
11879
11880 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11881
11882 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11883 interrupt. (Bug#10187)
11884
11885 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11888 (bug#9160).
11889
11890 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11891 (bug#10191).
11892
11893 2011-12-02 Juri Linkov <juri@jurta.org>
11894
11895 * info.el (Info-search): Display "end of manual" when Isearch
11896 reaches the end of single-file Info manual. (Bug#9918)
11897
11898 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11899
11900 * isearch.el (isearch-message-prefix): Run the input method part
11901 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11902
11903 2011-12-02 Juri Linkov <juri@jurta.org>
11904
11905 * isearch.el (isearch-occur): Use `word-search-regexp' for
11906 `isearch-word'.
11907 (isearch-search-and-update): Add condition for `isearch-word' and
11908 call `word-search-regexp'. (Bug#10145)
11909
11910 2011-12-01 Glenn Morris <rgm@gnu.org>
11911
11912 * eshell/em-hist.el (eshell-hist-initialize):
11913 Handle eshell-history-size nil and HISTSIZE set or unset.
11914 (eshell-history-file-name, eshell-history-size): Fix custom type.
11915
11916 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11919
11920 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11921
11922 * progmodes/verilog-mode.el (verilog-pretty-expr):
11923 Rework verilog-pretty-expr to handle new assignment operators in system
11924 verilog, such as += *= and the like.
11925 (verilog-assignment-operator-re): Regular expression to find the
11926 assigment operator in a verilog assignment.
11927 (verilog-assignment-operation-re): Regular expression to find an
11928 assignment statement for pretty-expr.
11929 (verilog-in-attribute-p): Query returns true if point is in an
11930 attribute context; used to skip these for expression line up from
11931 pretty-expr.
11932 (verilog-in-parameter-p): Query returns true if point is in an
11933 parameter definition context; used to skip these for expression
11934 line up from pretty-expr.
11935 (verilog-in-parenthesis-p): Query returns true if point is in a
11936 parenthetical expression, specifically ( ) but not [ ] or { };
11937 used by pretty-expr.
11938 (verilog-just-one-space): If there is no space, don't add one.
11939 (verilog-get-lineup-indent-2): Specifically skip just attribute
11940 contexts for expression lineup, rather than skipping all
11941 parenthetical expressions.
11942 (verilog-calculate-indent): Fix comment, and fix indent.
11943 (verilog-do-indent): Indent declarations in lists (suggested by
11944 Joachim Lechner).
11945 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11946 skeleton items.
11947 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11948 by Alain Mellan).
11949
11950 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11951
11952 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11953 parameters with embedded comments. Reported by Ray Stevens.
11954 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11955 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11956 Reported by Tim Holt.
11957 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11958 instantiated by upper module causing wrong expansion until AUTOed a
11959 second time. Reported by K C Buckenmaier.
11960 (verilog-diff-auto): Fix showing .* as a difference when
11961 `verilog-auto-star-save' off. Reported by Dan Dever.
11962 (verilog-auto-reset, verilog-read-always-signals)
11963 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11964 temporary signals in reset list if
11965 verilog-auto-reset-blocking-in-non is nil, and match assignment
11966 style to each signal's assignment type, bug381.
11967 Reported by Thomas Esposito.
11968 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11969 (verilog-uvm-statement-re): Support UVM indentation and
11970 highlighting, with old OVM keywords only.
11971 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11972 Support AUTOTIEOFF creating non-wire data types.
11973 Suggested by Jonathan Greenlaw.
11974 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11975 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11976 (verilog-inject-sense, verilog-read-inst-pins)
11977 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11978 Fix mismatching parenthesis inside commented out code when deleting
11979 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11980 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11981 non-numeric vector width. Reported by Alex Reed.
11982 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11983 detecting signals with parameter widths. Reported by Alex Reed.
11984 (verilog-auto-delete-trailing-whitespace):
11985 With `verilog-auto-delete-trailing-whitespace' remove trailing
11986 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11987 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11988 Fix verilog-scan-cache corruption when running user AUTO expansion
11989 hooks that call indentation routines.
11990 (verilog-simplify-range-expression): Fix typo ignoring lower case
11991 identifiers.
11992 (verilog-delete-auto): Fix delete-autos to also remove user created
11993 automatics, as long as they start with AUTO.
11994 (verilog-batch-diff-auto, verilog-diff-auto)
11995 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11996 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11997 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11998 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11999 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12000 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12001 is disabled and its cache will get corrupt, causing AUTOS not to
12002 expand. Instead use only -quick functions.
12003 (verilog-scan-region): Fix scanning over escaped quotes.
12004 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12005 (verilog-re-search-backward-quick)
12006 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12007 related functions now ignore strings, to fix misparsing of strings
12008 with magic comments embedded in them.
12009 (verilog-read-auto-template):
12010 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12011 Reported by Brad Dobbie.
12012 (verilog-read-auto-template):
12013 Fix 'verilog-auto-inst-template-numbers' with comments.
12014 Reported by Brad Dobbie.
12015 (verilog-auto-inst, verilog-auto-inst-param)
12016 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12017 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12018 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12019 debugging templates without merge conflicts, bug357.
12020 Reported by Brad Dobbie.
12021 (verilog-read-auto-template):
12022 Fix verilog-auto-inst-template-numbers with multiple templates.
12023 Reported by Brad Dobbie.
12024 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12025 abbrevs so user won't be asked to save.
12026 (verilog-read-auto-lisp-present): Fix to start at beginning of
12027 buffer in case called outside of verilog-auto.
12028 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12029 to "X-2". Reported by Matthew Myers.
12030 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12031 all inputs from module templates. Reported by Leith Johnson.
12032 (verilog-module-inside-filename-p): Fix locating programs as with
12033 modules.
12034 (verilog-auto-inst-port): Fix vl-width expressions when using
12035 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12036 (verilog-decls-get-regs, verilog-decls-get-signals,
12037 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12038 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12039 verilog-read-decls): Combine reg and wire structures into one var
12040 structure to represent SystemVerilog concepts.
12041 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12042 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12043 (verilog-auto-wire-type, verilog-insert-definition):
12044 Add verilog-auto-wire-type and AUTOLOGIC to support using
12045 SystemVerilog "logic" keyword instead of "wire"/"reg".
12046 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12047 to declares outputs that also have assignments (presumably in an
12048 ifdef or generate if so there's not a driver conflict).
12049 Reported by Matthew Myers.
12050 (verilog-auto-declare-nettype, verilog-insert-definition):
12051 Add verilog-auto-declare-nettype to fix declarations using
12052 `default_nettype none. Reported by Julian Gorfajn.
12053 (verilog-read-always-signals-recurse, verilog-read-decls)
12054 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12055 malformed end statement, bug325. Reported by Joshua Wise and
12056 Andrew Drake.
12057 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12058 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12059 when expanding .* in interfaces, bug320.
12060 Reported by Pierre-David Pfister.
12061 (verilog-read-module-name): Fix import statements between module
12062 name and open parenthesis, bug317.
12063 Reported by Pierre-David Pfister.
12064 (verilog-simplify-range-expression): Fix simplification of
12065 multiplications inside AUTOWIRE connections, bug303.
12066 (verilog-auto-inst-port): Support parameter expansion in
12067 multidimensional arrays.
12068 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12069 after "assert property". Reported by Julian Gorfajn.
12070 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12071 with multiplication, bug303.
12072 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12073 Reported by Jan Frode Lonnum.
12074
12075 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12076
12077 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12078 (hfy-shell-file-name, hfy-shell):
12079 * international/fontset.el (x-decompose-font-name): Fix typos.
12080
12081 2011-11-29 Ken Brown <kbrown@cornell.edu>
12082
12083 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12084 (gdb-version): Remove defvar.
12085 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12086 (gdb-gud-context-command, gdb-non-stop-handler)
12087 (gdb-current-context-command, gdb-stopped): Use it.
12088 (gdb-init-1): Enable pretty printing here.
12089 (gdb-non-stop-handler): Don't enable pretty-printing here.
12090 Check to see if the target supports non-stop mode; if not, turn off
12091 non-stop mode. Use the following.
12092 (gdb-check-target-async): New defun.
12093 (gud-watch, gdb-stopped): Fix whitespace.
12094 (gdb-get-source-file): Don't try to display the source file if
12095 `gdb-main-file' is nil.
12096
12097 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * align.el: Try to generate fewer markers (bug#10047).
12100 (align--set-marker): New macro.
12101 (align-region): Use it.
12102
12103 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12106
12107 2011-11-29 Chong Yidong <cyd@gnu.org>
12108
12109 * indent.el (indent-for-tab-command, indent-according-to-mode):
12110 Doc fix.
12111 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12112
12113 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12116 aware of remote file names. (Bug#10124)
12117
12118 2011-11-29 Chong Yidong <cyd@gnu.org>
12119
12120 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12121
12122 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * files.el (find-file): Don't use force-same-window (bug#10144).
12125 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12126 use pop-to-buffer if the selected window can't be used.
12127 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12128
12129 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12130
12131 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12132 special-mode-map.
12133
12134 2011-11-28 Chong Yidong <cyd@gnu.org>
12135
12136 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12137
12138 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12139
12140 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12141 gdb-get-source-file-list on gdb-create-source-file-list.
12142
12143 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12144
12145 * whitespace.el (whitespace-newline): Use a different foreground
12146 color for 16-color light-background displays.
12147
12148 2011-11-24 Chong Yidong <cyd@gnu.org>
12149
12150 * window.el (display-buffer--special-action): Doc fix.
12151
12152 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12153
12154 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12155 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12156 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12157 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12158 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12159 (avl-tree-stack-first):
12160 * emacs-lisp/cconv.el (cconv--analyse-use):
12161 * net/gnutls.el (gnutls-negotiate): Fix typos.
12162
12163 2011-11-24 Glenn Morris <rgm@gnu.org>
12164
12165 * lpr.el (lpr-windows-system, lpr-lp-system):
12166 * mail/binhex.el (binhex-begin-line):
12167 * progmodes/grep.el (grep-history, grep-find-history):
12168 * textmodes/flyspell.el:
12169 * vc/pcvs-defs.el (cvs-global-menu):
12170 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12171 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12172 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12173
12174 * net/tls.el: Fix case of "GnuTLS".
12175
12176 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12177
12178 * version.el (emacs-build-system): Give it a doc-string.
12179
12180 2011-11-24 Juri Linkov <juri@jurta.org>
12181
12182 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12183
12184 2011-11-24 Glenn Morris <rgm@gnu.org>
12185
12186 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12187 if called on a non-mime message just toggle the headers. (Bug#8006)
12188
12189 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12192 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12193 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12194 (allout-rebullet-heading, allout-open-sibtopic)
12195 (allout-toggle-current-subtree-encryption)
12196 (allout-toggle-subtree-encryption, allout-encrypt-string)
12197 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12198 (allout-distinctive-bullets-string, allout-auto-activation):
12199 * window.el (window-normalize-buffer-to-display):
12200 * progmodes/verilog-mode.el (verilog-batch-indent):
12201 * textmodes/bibtex.el (bibtex-field-braces-opt)
12202 (bibtex-field-strings-opt):
12203 * vc/cvs-status.el (cvs-tree-merge):
12204 Fix typos.
12205
12206 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12207
12208 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12209 `non-essential' to t, in order to avoid remote connections.
12210
12211 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12212
12213 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12214 On MS-DOS and MS-Windows, compare with loaddefs.el
12215 case-insensitively.
12216
12217 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12218
12219 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12220
12221 2011-11-23 Glenn Morris <rgm@gnu.org>
12222
12223 * paths.el (rmail-file-name): Reformat the doc-string so that it
12224 is picked up.
12225
12226 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12227 (rmail-auto-file): Ignore case in the "special" field names,
12228 as mail-fetch-field does for all others.
12229
12230 * mail/rmail.el (rmail-forward):
12231 * mail/rmailkwd.el (rmail-set-label):
12232 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12233 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12234
12235 * mail/rmail.el (rmail-current-message): Doc fix.
12236
12237 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12238
12239 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12240
12241 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12242
12243 2011-11-22 Glenn Morris <rgm@gnu.org>
12244
12245 * mail/rmailmm.el (test-rmail-mime-handler)
12246 (test-rmail-mime-bulk-handler)
12247 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12248
12249 2011-11-21 Juri Linkov <juri@jurta.org>
12250
12251 * calc/calc.el (calc-read-key-sequence):
12252 Let-bind `input-method-function' to nil. (Bug#10018)
12253
12254 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12255
12256 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12257 Tell the caller that the next line needs recomputation, even
12258 though it doesn't start a sexp (bug#10094).
12259
12260 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12263
12264 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12267 Use force-same-window.
12268
12269 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12270
12271 * descr-text.el (describe-char-unicode-data):
12272 * json.el (json-string-escape):
12273 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12274 (Footnote-unicode, Footnote-style-p):
12275 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12276
12277 2011-11-20 Chong Yidong <cyd@gnu.org>
12278
12279 * window.el (replace-buffer-in-windows): Restore interactive spec.
12280
12281 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12284
12285 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12286 (byte-compile-global-not-obsolete-vars): New var.
12287 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12288 Use it.
12289 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12290
12291 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12292
12293 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12294 * progmodes/pascal.el (electric-pascal-equal):
12295 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12296 * xml.el (xml-substitute-special): Fix typos.
12297
12298 2011-11-20 Glenn Morris <rgm@gnu.org>
12299
12300 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12301 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12302 Doc fixes.
12303 (rmail-decode-mime-charset): Mark as obsolete.
12304
12305 * mail/rmailsum.el (rmail-message-regexp-p-1):
12306 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12307 Before using mime functions, check they are set. (Bug#10077)
12308
12309 2011-11-19 Juri Linkov <juri@jurta.org>
12310
12311 * info.el (Info-finder-find-node): Use `package--builtins' instead
12312 of `package-alist'. Use node names formed by the pattern "Keyword "
12313 and the keyword name.
12314
12315 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12316
12317 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12318
12319 2011-11-19 Juri Linkov <juri@jurta.org>
12320
12321 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12322 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12323 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12324 `old-history', `old-history-forward'. Add let-binding
12325 `window-selected'. Remove calls to `kill-buffer',
12326 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12327 before calling `Info-find-node', so `Info-find-node-2' will reread
12328 the Info file. Restore window positions only when `window-selected'
12329 is non-nil.
12330
12331 2011-11-19 Juri Linkov <juri@jurta.org>
12332
12333 * isearch.el (isearch-lazy-highlight-new-loop):
12334 Remove condition `(not isearch-error)'. (Bug#9918)
12335
12336 * misearch.el (multi-isearch-search-fun): Add condition
12337 `(not bound)' to ignore lazy-highlighting search.
12338 Add the search-failed message "end of multi" when the end of
12339 multi-sequence is reached. Uncapitalize the search-failed
12340 message "Repeat for next buffer".
12341
12342 * info.el (Info-search): Add the search-failed message
12343 "end of the manual" when the end of the manual is reached
12344 in Isearch mode.
12345
12346 2011-11-19 Juri Linkov <juri@jurta.org>
12347
12348 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12349 Use non-destructive `remove' instead of `delete' because
12350 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12351 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12352
12353 2011-11-19 Juri Linkov <juri@jurta.org>
12354
12355 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12356 to nil instead of binding `search-ring' and `regexp-search-ring'.
12357 (Bug#9185)
12358
12359 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12360
12361 * simple.el (line-move): Force movement by logical lines for any
12362 hscrolled window, not only when auto-hscroll-mode is on.
12363 (line-move-visual): Update doc string to that effect. (Bug#10076)
12364
12365 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12366
12367 * language/european.el (macintosh): Define as alias for mac-roman.
12368
12369 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12370
12371 * mail/rmailmm.el (rmail-mime-display-header)
12372 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12373 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12374 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12375 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12376 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12377 of a raw aref.
12378 (rmail-mime-entity-segment): To get past the tagline, move forward
12379 2 more lines, to account for the 2 empty lines that precede and
12380 follow the line with the buttons.
12381 (rmail-mime-update-tagline): Move one more line, to get past the
12382 empty line that follows the buttons in the tagline. (Bug#9520)
12383
12384 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12385
12386 * window.el (window-max-delta-1, window-min-delta-1)
12387 (window-min-size-1, window-state-get-1, window-state-put-1)
12388 (window-state-put-2): Use "window--" prefix.
12389
12390 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12393 (smie-warning-count): New var.
12394 (smie-set-prec2tab): Use it.
12395 (smie-bnf->prec2): Improve warnings. Add docstring.
12396 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12397 (smie-bnf--set-class): New function.
12398 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12399 corner case.
12400
12401 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12402 (compilation-error-properties, compilation-move-to-column):
12403 Handle compilation-first-column while in the target buffer.
12404
12405 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12406 Don't hardcode point-min==1.
12407
12408 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12409 (eshell-rewrite-for-command): Remove workaround.
12410 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12411 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12412 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12413
12414 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12415
12416 2011-11-17 Glenn Morris <rgm@gnu.org>
12417
12418 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12419 Ignore buffer-local generated-autoload-file if it is the same
12420 as the global value. (Bug#10049)
12421
12422 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12423
12424 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12425 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12426 (reftex-toc-previous-heading, reftex-toc-max-level)
12427 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12428 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12429 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12430 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12431 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12432 (reftex-toc-rename-label, reftex-toc-visit-location)
12433 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12434 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12435 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12436 leaving "*toc*" only for references to the buffer.
12437
12438 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12439
12440 * window.el (window-resize, delete-window, split-window):
12441 Replace window-splits by window-combination-resize.
12442 * cus-start.el (window-splits): Replace by window-combination-resize.
12443
12444 2011-11-17 Glenn Morris <rgm@gnu.org>
12445
12446 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12447 Make bash entry derive from sh entry, not shell entry.
12448
12449 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12450
12451 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12452 local file name.
12453
12454 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12455
12456 * menu-bar.el (menu-bar-file-menu):
12457 * printing.el (pr-ps-utility):
12458 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12459 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12460 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12461 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12462 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12463 (icalendar--convert-cyclic-to-ical)
12464 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12465 (icalendar--convert-ical-to-diary)
12466 (icalendar--convert-recurring-to-diary)
12467 (icalendar--convert-non-recurring-all-day-to-diary)
12468 (icalendar-import-format-sample):
12469 * progmodes/idlw-shell.el (idlwave-shell-mode):
12470 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12471 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12472 (vhdl-ps-print-init): Fix typos.
12473
12474 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12475
12476 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12477 FSF and collapse date sequence, obscure author/maintainer email address
12478 better, remove extra version line, track relocation of author's webpage.
12479
12480 * progmodes/python.el (python-pdbtrack-input-prompt)
12481 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12482 regular python pdb prompts. Adjustments shamelessly taken exactly as
12483 suggested in EmacsWiki page (tiny change):
12484 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12485
12486 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12487
12488 * expand.el (expand-pos, expand-index, expand-point):
12489 Remove redundant info from docstring.
12490 (expand-add-abbrevs): Doc fix.
12491 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12492 (expand-sample-perl-mode-expand-list): Fix typos.
12493
12494 * net/dbus.el (dbus-event-member-name):
12495 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12496 * term/pc-win.el (msdos-create-frame-with-faces):
12497 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12498
12499 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12500
12501 * window.el (split-window, window-state-get-1)
12502 (window-state-put-1, window-state-put-2): Rename occurrences of
12503 window-nest to window-combination-limit.
12504 * cus-start.el (window-nest): Rename to window-combination-limit.
12505
12506 2011-11-16 Chong Yidong <cyd@gnu.org>
12507
12508 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12509 regexp (Bug#10033).
12510
12511 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12514 `completing-read' will remove *Completions* and will preserve
12515 current-buffer for us.
12516 (tmm-add-prompt): Users of *Completions* will always (re)set its
12517 major mode.
12518 (tmm-old-comp-map): Remove.
12519
12520 2011-11-16 Glenn Morris <rgm@gnu.org>
12521
12522 * mail/rmailedit.el: Require rmailmm when compiling.
12523 (rmail-old-mime-state): New declaration.
12524 (rmail-edit-current-message): If editing a mime message,
12525 edit the "raw" message from the mbox buffer.
12526 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12527
12528 2011-11-15 Glenn Morris <rgm@gnu.org>
12529
12530 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12531 which wasn't being used. Add optional arg to force given state.
12532 (rmail-mime): Add optional arg to force given state.
12533
12534 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12535
12536 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12537 * frame.el (display-mm-dimensions-alist):
12538 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12539 (outline-move-subtree-down):
12540 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12541 (newsticker--treeview-do-get-node):
12542 * net/quickurl.el (quickurl-list-buffer-name):
12543 * progmodes/dcl-mode.el (dcl-mode):
12544 * progmodes/gdb-mi.el (gdb-mapcar*):
12545 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12546
12547 2011-11-15 Glenn Morris <rgm@gnu.org>
12548
12549 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12550 in a boolean sense, so just make it a boolean, and fix the doc.
12551 (rmail-show-mime-function, rmail-mime-feature)
12552 (rmail-require-mime-maybe): Doc fixes.
12553 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12554
12555 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12556
12557 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12558
12559 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12560 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12561 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12562 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12563
12564 2011-11-15 Glenn Morris <rgm@gnu.org>
12565
12566 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12567 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12568 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12569 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12570 (rmail-mime, rmail-show-mime): Doc fixes.
12571
12572 * term/ns-win.el (mode-line-frame-identification):
12573 Leave it alone. (Bug#10051)
12574
12575 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12576
12577 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12578 Handle empty buffers. (Bug#9978)
12579
12580 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12581
12582 * international/mule.el (define-charset):
12583 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12584 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12585 * progmodes/verilog-mode.el (verilog-backward-token):
12586 * textmodes/ispell.el (lookup-words):
12587 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12588
12589 2011-11-14 Glenn Morris <rgm@gnu.org>
12590
12591 * progmodes/executable.el
12592 (executable-make-buffer-file-executable-if-script-p):
12593 Handle file-modes returning nil.
12594
12595 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12596 message - not necessary, and causes problems. (Bug#9831)
12597
12598 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12599
12600 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12601
12602 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12603 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12604 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12605
12606 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12607
12608 * window.el (window-resize, delete-window): Use window-splits
12609 variable instead of function.
12610 (window-state-get-1, window-state-put-2, window-state-put):
12611 Don't deal with windows' splits status.
12612
12613 2011-11-12 Glenn Morris <rgm@gnu.org>
12614
12615 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12616 (apropos-documentation): Doc fixes.
12617
12618 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12619
12620 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12621 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12622
12623 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * electric.el (electric-indent-post-self-insert-function): Make it
12626 possible for a char to only indent in some circumstances.
12627 (electric-indent-mode): Simplify.
12628
12629 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12630
12631 * window.el (windows-with-parameter): Remove unused function.
12632 (windows-at-side): Rename to window-at-side-list.
12633 (window-check, window-atom-check, window-atom-check-1)
12634 (window-side-check, window-size-ignore, window-size-fixed-1)
12635 (window-in-direction-2): Prefix with "window--".
12636 (window-tree-1): Rename to window--subtree, fix doc-string.
12637
12638 2011-11-11 Glenn Morris <rgm@gnu.org>
12639
12640 * subr.el (eval-after-load): If FILE is already loaded,
12641 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12642
12643 2011-11-10 Glenn Morris <rgm@gnu.org>
12644
12645 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12646 Call svn via vc-svn-command rather than vc-do-command.
12647 (vc-svn-command): Add --non-interactive. (Bug#9993)
12648 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12649
12650 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12651 Add toggle-read-only. (Bug#7292)
12652 * files.el (toggle-read-only): Mention that it should only
12653 be used interactively. (Bug#10006)
12654
12655 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12658 Adjust regexp for OCaml warnings.
12659
12660 * electric.el (electric-pair-post-self-insert-function): Let user
12661 turn it off buffer-locally (bug#9932).
12662
12663 * progmodes/python.el (python-beginning-of-statement):
12664 Rewrite (bug#2703).
12665
12666 * progmodes/compile.el: Better handle TABs (bug#9749).
12667 (compilation-internal-error-properties)
12668 (compilation-next-error-function): Obey the target buffer's
12669 compilation-error-screen-columns.
12670
12671 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12672
12673 * progmodes/meta-mode.el: Remove obsolete comments.
12674 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12675 Fix typos in docstrings.
12676
12677 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12678
12679 * window.el (window-size-fixed-p): Rewrite doc-string.
12680 (window-resizable-p): Rename to window--resizable-p. Update callers.
12681 (window--resizable): New function. Make all callers of
12682 window-resizable call window--resizable instead.
12683 (window-resizable): Rewrite in terms of window--resizable.
12684
12685 2011-11-08 Glenn Morris <rgm@gnu.org>
12686
12687 * progmodes/delphi.el (delphi-mode-syntax-table):
12688 Let define-derived-mode define a proper syntax table. (Bug#9994)
12689
12690 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * window.el: Stay away from defsubst.
12693 (window-list-no-nils): Remove.
12694 (window-state-get-1, window-state-get): Use backquote instead.
12695
12696 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12697
12698 * emacs-lisp/find-func.el (find-function-read):
12699 Fix incorrect use of default argument in `completing-read'.
12700
12701 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12702
12703 * window.el (display-buffer-function, special-display-function):
12704 Mention display-buffer-record-window but do not mention
12705 help-setup parameter in doc-strings.
12706 (window-min-delta): Fix doc-string typo.
12707
12708 2011-11-08 Chong Yidong <cyd@gnu.org>
12709
12710 * window.el (window-total-height, window-total-width): Doc fix.
12711 (window-body-size): Move from C.
12712 (window-body-height, window-body-width): Move to C.
12713
12714 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * window.el: Make special-display like display-buffer-alist (bug#9532).
12717 (display-buffer--special-action): New function, morphed
12718 from display-buffer--special.
12719 (display-buffer): Use it to handle special-display-buffers at higher
12720 priority (just after display-buffer-alist).
12721 (display-buffer-fallback-action, display-buffer--other-frame-action)
12722 (pop-to-buffer-same-window): Remove display-buffer--special.
12723
12724 2011-11-07 Glenn Morris <rgm@gnu.org>
12725
12726 * calendar/cal-menu.el (cal-menu-set-date-title):
12727 Do nothing if not in a calendar. (Bug#9976)
12728
12729 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * files.el (find-file): Always use selected-window.
12732
12733 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12734
12735 * window.el (window-combinations): Make WINDOW argument
12736 mandatory. Rewrite doc-string.
12737 (walk-window-subtree, window-atom-check, window-min-delta)
12738 (window-max-delta, window--resize-this-window)
12739 (window--resize-root-window-vertically, window-tree)
12740 (balance-windows, window-state-put): Rewrite doc-strings as to
12741 not mention the term "subwindow".
12742 (window--resize-subwindows-skip-p): Rename to
12743 window--resize-child-windows-skip-p.
12744 (window--resize-subwindows-normal): Rename to
12745 window--resize-child-windows-normal.
12746 (window--resize-subwindows): Rename to
12747 window--resize-child-windows.
12748 (window-or-subwindow-p): Rename to window--in-subtree-p.
12749
12750 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12751
12752 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12753 Ensure that mbox format messages end in two newlines (Bug#9974).
12754
12755 2011-11-06 Chong Yidong <cyd@gnu.org>
12756
12757 * window.el (window-combination-p): Function deleted; its
12758 side-effect is not used in any existing code.
12759 (window-combinations, window-combined-p): Call window-*-child
12760 directly.
12761
12762 2011-11-05 Chong Yidong <cyd@gnu.org>
12763
12764 * window.el (window-valid-p): Rename from window-any-p.
12765 (window-size-ignore, window-state-get): Callers changed.
12766 (window-normalize-window): Rename from window-normalize-any-window.
12767 New arg LIVE-ONLY, replacing window-normalize-live-window.
12768 (window-normalize-live-window): Delete.
12769 (window-combination-p, window-combined-p, window-combinations)
12770 (walk-window-subtree, window-atom-root, window-min-size)
12771 (window-sizable, window-sizable-p, window-size-fixed-p)
12772 (window-min-delta, window-max-delta, window-resizable)
12773 (window-resizable-p, window-full-height-p, window-full-width-p)
12774 (window-current-scroll-bars, window-point-1, set-window-point-1)
12775 (window-at-side-p, window-in-direction, window-resize)
12776 (adjust-window-trailing-edge, maximize-window, minimize-window)
12777 (window-deletable-p, delete-window, delete-other-windows)
12778 (record-window-buffer, unrecord-window-buffer)
12779 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12780 (quit-window, split-window, window-state-put)
12781 (set-window-text-height, fit-window-to-buffer)
12782 (shrink-window-if-larger-than-buffer): Callers changed.
12783
12784 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12785
12786 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12787 rfc2047-decode-string.
12788 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12789 warnings.
12790
12791 * window.el (window-body-height, window-body-width): Mention in
12792 the doc string that the return values are in frame's canonical
12793 units. (Bug#9949)
12794
12795 2011-11-03 Alan Mackenzie <acm@muc.de>
12796
12797 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12798 change in cc-engine.el.
12799
12800 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12803
12804 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12805
12806 * window.el (quit-window): Call unrecord-window-buffer after
12807 showing another buffer in the window. (Bug#9937)
12808 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12809
12810 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12813 Accept status with more than 9 shelves. (Bug#9935)
12814 Reported by Colin D Bennett <colin@gibibit.com>.
12815
12816 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12817
12818 * help.el (with-help-window): Don't reference
12819 temp-buffer-show-specifiers in doc-string.
12820
12821 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12822
12823 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12824 menu-item.
12825
12826 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12827
12828 * whitespace.el: New version 13.2.2.
12829 (whitespace-newline-mode): Disable properly. Reported by Sarah
12830 <EmacsWiki>.
12831
12832 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12833
12834 * net/newst-treeview.el: Remove "Time-stamp".
12835 (newsticker--group-manage-orphan-feeds): Do not call
12836 newsticker--treeview-tree-update.
12837 (newsticker-treeview-update, newsticker-treeview):
12838 Call newsticker--treeview-tree-update if necessary.
12839
12840 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12841
12842 * window.el (window-iso-combination-p, window-iso-combined-p)
12843 (window-iso-combinations): Remove "iso-" infix.
12844 Suggested by Chong Yidong.
12845 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12846 (window-max-delta-1, window-resize, window--resize-siblings)
12847 (window--resize-this-window, adjust-window-trailing-edge)
12848 (split-window, balance-windows-1)
12849 (shrink-window-if-larger-than-buffer):
12850 * calendar/calendar.el (calendar-generate-window):
12851 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12852
12853 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12854
12855 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12856 in place (bug#9907).
12857 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12858 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12859 (eshell-structure-basic-command, eshell-rewrite-while-command)
12860 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12861 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12862 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12863 (eshell-do-pipelines-synchronously, eshell-eval-command):
12864 Use backquotes and prefer setq to set.
12865 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12866 (eshell-macrop): Use functionp.
12867 (eshell-do-eval): Handle multiple expressions in `while' body.
12868
12869 2011-10-30 Chong Yidong <cyd@gnu.org>
12870
12871 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12872 instead of set-mark (Bug#9810).
12873
12874 2011-10-30 Chong Yidong <cyd@gnu.org>
12875
12876 * window.el (split-window-below, split-window-right): Rename from
12877 split-window-above-each-other and split-window-side-by-side
12878 respectively. All callers changed.
12879 (split-window-sensibly, split-window-sensibly): Use them.
12880 (split-window-keep-point): Doc fix.
12881
12882 * isearch.el: Add isearch-scroll property to split-window-below
12883 and split-window-right.
12884
12885 * follow.el (follow-mode):
12886 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12887 * progmodes/ada-xref.el (ada-gdb-application):
12888 * emulation/vip.el (vip-buffer-in-two-windows):
12889 * image-dired.el (image-dired-dired-with-window-configuration):
12890 * dired-x.el (dired-do-find-marked-files):
12891 * dired.el (dired-pop-to-buffer):
12892 * bs.el (bs--show-with-configuration):
12893 * vc/emerge.el (emerge-setup-windows):
12894 * textmodes/two-column.el (2C-two-columns):
12895 * textmodes/reftex-toc.el (reftex-toc):
12896 * progmodes/gdb-mi.el (gdb-setup-windows):
12897 * progmodes/fortran.el (fortran-window-create):
12898 * net/newst-treeview.el (newsticker--treeview-window-init):
12899 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12900 * emulation/tpu-edt.el (tpu-gold-map):
12901 * emulation/crisp.el (crisp-mode-map):
12902 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12903
12904 2011-10-29 Chong Yidong <cyd@gnu.org>
12905
12906 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12907
12908 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12909
12910 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12911 forged Ispell output (Bug#7904).
12912
12913 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12914
12915 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * doc-view.el: Avoid ugly errors about not finding nil.
12918 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12919 (doc-view-dvipdf-program, doc-view-unoconv-program)
12920 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12921 Avoid nil or absolute file name as default value.
12922 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12923
12924 2011-10-28 Alan Mackenzie <acm@muc.de>
12925
12926 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12927
12928 2011-10-28 Alan Mackenzie <acm@muc.de>
12929
12930 Amend the handling of c-beginning/end-of-defun in nested declaration
12931 scopes.
12932
12933 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12934 cc-langs.el. Change it to a defcustom.
12935
12936 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12937 cc-vars.el.
12938
12939 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12940 Prevent "class foo : bar" being spuriously recognized as a label.
12941
12942 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12943 Add parameter `inclusive' (to include enclosing braces in the region).
12944 (c-widen-to-enclosing-decl-scope): New function.
12945 (c-while-widening-to-decl-block): New macro.
12946 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12947 outward for defun boundaries, and correspondingly change symbol
12948 `respect-enclosure' to `go-outward'.
12949 (c-declaration-limits): Change algorithm to report only the "innermost"
12950 defun's boundaries.
12951
12952 2011-10-28 Deniz Dogan <deniz@dogan.se>
12953
12954 * net/rcirc.el (rcirc-mode): Use hard newlines.
12955
12956 2011-10-28 Alan Mackenzie <acm@muc.de>
12957
12958 Amend to indent and fontify macros "which include their own semicolon"
12959 correctly, using the "virtual semicolon" mechanism.
12960
12961 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12962
12963 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12964 Recode to scan one line at a time rather than having \n and \r
12965 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12966 (c-forward-label): Amend for virtual semicolons.
12967 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12968
12969 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12970 of the new C macros.
12971
12972 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12973 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12974 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12975 (c-opt-cpp-macro-define): Make into a full language variable.
12976 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12977 AWK Mode (including \n, \r) removed, no longer needed.
12978
12979 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12980 Invoke c-make-macro-with-semi-re.
12981
12982 * progmodes/cc-vars.el (c-macro-with-semi-re):
12983 (c-macro-names-with-semicolon): New variables.
12984 (c-make-macro-with-semi-re): New function.
12985
12986 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * vc/log-edit.el: Fill empty field rather than adding new one.
12989 (log-edit-add-field): New function.
12990 (log-edit-insert-changelog): Use it.
12991
12992 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12993
12994 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12995
12996 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12997
12998 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12999 (gdb--check-interpreter): New function.
13000 (gdb): Use it.
13001
13002 2011-10-27 Glenn Morris <rgm@gnu.org>
13003
13004 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13005 (least-positive-float, least-negative-float)
13006 (least-positive-normalized-float, least-negative-normalized-float)
13007 (float-epsilon, float-negative-epsilon):
13008 Remove unnecessary declarations.
13009
13010 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13011 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13012 (least-positive-float, least-negative-float)
13013 (least-positive-normalized-float, least-negative-normalized-float)
13014 (float-epsilon, float-negative-epsilon): Add doc-strings,
13015 based on those in cl.texi.
13016
13017 * files.el (set-visited-file-name): If the major-mode changed,
13018 reload the local variables. (Bug#9796)
13019
13020 2011-10-27 Chong Yidong <cyd@gnu.org>
13021
13022 * subr.el (change-major-mode-after-body-hook): New hook.
13023 (run-mode-hooks): Run it.
13024
13025 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13026 Use change-major-mode-before-body-hook.
13027
13028 * simple.el (fundamental-mode):
13029 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13030 change introducing fundamental-mode-hook.
13031
13032 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13033
13034 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13035
13036 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13037
13038 * ido.el (ido-file-name-all-completions-1): Do not require
13039 tramp.el explicitly. (Bug#7583)
13040
13041 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * progmodes/octave-mod.el:
13044 * progmodes/octave-inf.el: Update maintainer.
13045
13046 2011-10-26 Chong Yidong <cyd@gnu.org>
13047
13048 * subr.el (with-wrapper-hook): Rewrite doc.
13049
13050 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13051
13052 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13053 filenames "/method:foo:". (Bug#9793)
13054
13055 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13058 (bug#9865).
13059
13060 2011-10-24 Glenn Morris <rgm@gnu.org>
13061
13062 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13063
13064 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13065
13066 * notifications.el: Add the requirement of a running D-Bus session
13067 bus to the Commentary.
13068
13069 2011-10-24 Juri Linkov <juri@jurta.org>
13070
13071 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13072 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13073 (Bug#9364)
13074
13075 2011-10-24 Juri Linkov <juri@jurta.org>
13076
13077 * info.el (Info-following-node-name-re): Add newline to the list
13078 of allowed characters for leading space. (Bug#9824)
13079
13080 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * progmodes/octave-inf.el (inferior-octave-mode-map):
13083 Fix C-c C-h binding.
13084 * progmodes/octave-mod.el (octave-help): Remove.
13085
13086 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13087
13088 Sync with Tramp 2.2.3.
13089
13090 * net/tramp-cache.el (top): Pacify byte-compiler using
13091 `init-file-user' and `site-run-file'.
13092
13093 * net/trampver.el: Update release number.
13094
13095 2011-10-23 Chong Yidong <cyd@gnu.org>
13096
13097 * files.el (toggle-read-only): Remove obsolete comment about
13098 version control.
13099
13100 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13101 for toggle-read-only. Note that this hasn't called vc-next-action
13102 since 2008-05-02, though it wasn't documented at the time.
13103
13104 * vc/ediff-init.el (ediff-toggle-read-only-function):
13105 Use toggle-read-only.
13106
13107 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13108
13109 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13110 of c-parse-state.
13111
13112 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13113 correct faulty logical expression.
13114 (c-parse-state-state, c-record-parse-state-state):
13115 (c-replay-parse-state-state): New defvar/defuns.
13116 (c-debug-parse-state): Use new functions.
13117
13118 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13119
13120 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13121 last fix. Use window-in-direction correctly.
13122
13123 2011-10-21 Chong Yidong <cyd@gnu.org>
13124
13125 * progmodes/idlwave.el (idlwave-mode):
13126 * progmodes/vera-mode.el (vera-mode): No need to set
13127 require-final-newline; that's done in prog-mode.
13128 Suggested by Stefan Monnier.
13129
13130 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13131
13132 * mouse.el (mouse-drag-window-above)
13133 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13134 (mouse-drag-mode-line-1, mouse-drag-header-line)
13135 (mouse-drag-vertical-line-rightward-window): Remove.
13136 (mouse-drag-line): New function.
13137 (mouse-drag-mode-line, mouse-drag-header-line)
13138 (mouse-drag-vertical-line): Call mouse-drag-line.
13139 * window.el (window-at-side-p, windows-at-side): New functions.
13140
13141 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13142
13143 * tar-mode.el (tar-grind-file-mode):
13144 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13145
13146 2011-10-21 Chong Yidong <cyd@gnu.org>
13147
13148 * progmodes/idlwave.el (idlwave-mode):
13149 * progmodes/vera-mode.el (vera-mode):
13150 Use mode-require-final-newline.
13151
13152 2011-10-20 Glenn Morris <rgm@gnu.org>
13153
13154 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13155
13156 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13157
13158 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13159
13160 2011-10-20 Chong Yidong <cyd@gnu.org>
13161
13162 * emulation/cua-base.el (cua-mode):
13163 * mail/footnote.el (footnote-mode):
13164 * mail/mailabbrev.el (mail-abbrevs-mode):
13165 * net/xesam.el (xesam-minor-mode):
13166 * progmodes/bug-reference.el (bug-reference-mode):
13167 * progmodes/cap-words.el (capitalized-words-mode):
13168 * progmodes/compile.el (compilation-minor-mode)
13169 (compilation-shell-minor-mode):
13170 * progmodes/gud.el (gud-tooltip-mode):
13171 * progmodes/hideif.el (hide-ifdef-mode):
13172 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13173 * progmodes/subword.el (subword-mode):
13174 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13175 * progmodes/which-func.el (which-function-mode):
13176 * term/tvi970.el (tvi970-set-keypad-mode):
13177 * term/vt100.el (vt100-wide-mode):
13178 * textmodes/flyspell.el (flyspell-mode):
13179 * textmodes/ispell.el (ispell-minor-mode):
13180 * textmodes/nroff-mode.el (nroff-electric-mode):
13181 * textmodes/paragraphs.el (use-hard-newlines):
13182 * textmodes/refill.el (refill-mode):
13183 * textmodes/reftex.el (reftex-mode):
13184 * textmodes/rst.el (rst-minor-mode):
13185 * textmodes/sgml-mode.el (html-autoview-mode)
13186 (sgml-electric-tag-pair-mode):
13187 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13188 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13189 * emulation/crisp.el (crisp-mode):
13190 * emacs-lisp/eldoc.el (eldoc-mode):
13191 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13192 minor mode behavior.
13193
13194 2011-10-19 Juri Linkov <juri@jurta.org>
13195
13196 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13197 the list of hard-coded chars with escape-glyph face.
13198
13199 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13202
13203 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13204
13205 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13206 running process.
13207
13208 2011-10-19 Glenn Morris <rgm@gnu.org>
13209
13210 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13211 Ignore ignored files. (Bug#9726)
13212
13213 2011-10-19 Chong Yidong <cyd@gnu.org>
13214
13215 Doc fix for minor modes, stating that an omitted argument enables
13216 the mode unconditionally when called from Lisp.
13217
13218 * abbrev.el (abbrev-mode):
13219 * allout.el (allout-mode):
13220 * autoinsert.el (auto-insert-mode):
13221 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13222 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13223 (global-auto-revert-mode):
13224 * battery.el (display-battery-mode):
13225 * composite.el (global-auto-composition-mode)
13226 (auto-composition-mode):
13227 * delsel.el (delete-selection-mode):
13228 * desktop.el (desktop-save-mode):
13229 * dired-x.el (dired-omit-mode):
13230 * dirtrack.el (dirtrack-mode):
13231 * doc-view.el (doc-view-minor-mode):
13232 * double.el (double-mode):
13233 * electric.el (electric-indent-mode, electric-pair-mode):
13234 * emacs-lock.el (emacs-lock-mode):
13235 * epa-hook.el (auto-encryption-mode):
13236 * follow.el (follow-mode):
13237 * font-core.el (font-lock-mode):
13238 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13239 * help.el (temp-buffer-resize-mode):
13240 * hilit-chg.el (highlight-changes-mode)
13241 (highlight-changes-visible-mode):
13242 * hi-lock.el (hi-lock-mode):
13243 * hl-line.el (hl-line-mode, global-hl-line-mode):
13244 * icomplete.el (icomplete-mode):
13245 * ido.el (ido-everywhere):
13246 * image-file.el (auto-image-file-mode):
13247 * image-mode.el (image-minor-mode):
13248 * iswitchb.el (iswitchb-mode):
13249 * jka-cmpr-hook.el (auto-compression-mode):
13250 * linum.el (linum-mode):
13251 * longlines.el (longlines-mode):
13252 * master.el (master-mode):
13253 * mb-depth.el (minibuffer-depth-indicate-mode):
13254 * menu-bar.el (menu-bar-mode):
13255 * minibuf-eldef.el (minibuffer-electric-default-mode):
13256 * mouse-sel.el (mouse-sel-mode):
13257 * msb.el (msb-mode):
13258 * mwheel.el (mouse-wheel-mode):
13259 * outline.el (outline-minor-mode):
13260 * paren.el (show-paren-mode):
13261 * recentf.el (recentf-mode):
13262 * reveal.el (reveal-mode, global-reveal-mode):
13263 * rfn-eshadow.el (file-name-shadow-mode):
13264 * ruler-mode.el (ruler-mode):
13265 * savehist.el (savehist-mode):
13266 * scroll-all.el (scroll-all-mode):
13267 * scroll-bar.el (scroll-bar-mode):
13268 * server.el (server-mode):
13269 * shell.el (shell-dirtrack-mode):
13270 * simple.el (auto-fill-mode, transient-mark-mode)
13271 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13272 (line-number-mode, column-number-mode, size-indication-mode)
13273 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13274 * strokes.el (strokes-mode):
13275 * time.el (display-time-mode):
13276 * t-mouse.el (gpm-mouse-mode):
13277 * tool-bar.el (tool-bar-mode):
13278 * tooltip.el (tooltip-mode):
13279 * type-break.el (type-break-mode-line-message-mode)
13280 (type-break-query-mode):
13281 * view.el (view-mode):
13282 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13283 (global-whitespace-mode, global-whitespace-newline-mode):
13284 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13285
13286 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13287 Fix autogenerated docstring.
13288
13289 2011-10-19 Juri Linkov <juri@jurta.org>
13290
13291 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13292 by checking environment variables "DESKTOP_SESSION" and
13293 "XDG_CURRENT_DESKTOP". (Bug#9779)
13294
13295 2011-10-19 Juri Linkov <juri@jurta.org>
13296
13297 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13298 (browse-url-chromium-program, browse-url-chromium-arguments):
13299 New defcustoms.
13300 (browse-url-default-browser): Check for `browse-url-chromium' and
13301 call `browse-url-chromium-program'.
13302 (browse-url-chromium): New command. (Bug#9779)
13303
13304 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13305
13306 * facemenu.el (list-colors-duplicates): On Windows, detect more
13307 duplicates by assuming that only colors matching "^System" are
13308 special "system colors". (Bug#9722)
13309
13310 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13313 to distinguish the author from the committer.
13314
13315 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13316
13317 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13318
13319 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13320
13321 * international/mule.el (sgml-html-meta-auto-coding-function):
13322 Add support for detecting encoding in HTML5 specified only as
13323 <meta charset="UTF-8">. Implementation just makes http-equiv and
13324 content-type parts from HTML4 encoding string optional. (Bug#9716)
13325
13326 2011-10-18 Glenn Morris <rgm@gnu.org>
13327
13328 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13329
13330 2011-10-18 Chong Yidong <cyd@gnu.org>
13331
13332 * faces.el (cursor): Doc fix.
13333
13334 2011-10-17 Chong Yidong <cyd@gnu.org>
13335
13336 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13337
13338 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13339
13340 * dirtrack.el (dirtrack): Support shell buffers with path
13341 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13342
13343 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13344
13345 * json.el: Bump version to 1.3 and note change in History.
13346 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13347
13348 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * comint.el (comint-insert-input, comint-send-input)
13351 (comint-get-old-input-default, comint-backward-matching-input)
13352 (comint-next-prompt): Use nil instead of `input' for field property of
13353 past user input (bug#114).
13354
13355 * minibuffer.el (completion--replace): Inherit surrounding properties
13356 (bug#114).
13357 (minibuffer-complete-and-exit): Use it.
13358
13359 * comint.el (comint--table-subvert): Quote the all-completions output
13360 (bug#9160).
13361
13362 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13363
13364 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13365
13366 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13367 window on right of selected. (Bug#9350) Reword other window
13368 entries and separate them from frame entries.
13369
13370 2011-10-15 Glenn Morris <rgm@gnu.org>
13371
13372 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13373 Doc fixes.
13374
13375 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13376
13377 * net/network-stream.el (network-stream-open-starttls):
13378 Improve detection of failure due to lack of TLS support.
13379
13380 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13381 putting the input text in front and in bold.
13382
13383 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13386
13387 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13388 empty buffer.
13389
13390 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13391 unread-command-events rather than pushing yet-another event.
13392
13393 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13394
13395 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13396 the explanation of the possible choices. Make the options passed
13397 to completing-read shorter.
13398
13399 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13400
13401 * textmodes/flyspell.el (flyspell-large-region): Make sure
13402 extended character mode is used if defined (Bug#1339).
13403
13404 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13405
13406 * simple.el (what-cursor-position): Fix the display of the
13407 character info for LRE, LRO, RLE, and RLO characters by appending
13408 an invisible PDF.
13409
13410 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13413 even in case of error; add debug spec; simplify data flow.
13414 (with-timeout-handler): Remove.
13415
13416 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13417
13418 Fix Bug#6019, Bug#9315.
13419
13420 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13421 complete `buffer-file-name', the local file name part could look
13422 remotely (for example on VMS).
13423
13424 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13425 `tramp-run-real-handler'.
13426 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13427 already quoted by '"'.
13428
13429 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13430 Let `file-name-handler-alist' be nil, the local file name part
13431 could look remotely (for example on VMS).
13432
13433 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13434
13435 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13436 from here...
13437 (flyspell-post-command-hook): ...to here.
13438
13439 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13442 if not needed.
13443 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13444 using completion. Protect against "slow" callers.
13445 Remove the "message hack".
13446
13447 2011-10-11 Juri Linkov <juri@jurta.org>
13448
13449 * isearch.el (isearch-lazy-highlight-word): New variable.
13450 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13451 Use it. (Bug#9727)
13452
13453 2011-10-11 Glenn Morris <rgm@gnu.org>
13454
13455 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13456 like f90-previous-statement does.
13457
13458 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13459
13460 * eshell/eshell.el (eshell-command): History should be saved
13461 only in interactive use, to avoid error.
13462
13463 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * minibuffer.el (completion-file-name-table): Fix last change,
13466 i.e. ignore normal errors but not the other ones.
13467
13468 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13469
13470 * window.el (special-display-buffer-names)
13471 (special-display-regexps): Remove some remnants of earlier
13472 changes from doc-strings.
13473 (quit-windows-on): New function.
13474
13475 * vc/vc.el (vc-revert, vc-rollback):
13476 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13477 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13478 (Bug#6183) (Bug#7074) (Bug#7447)
13479
13480 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13481
13482 * window.el (frame-auto-hide-function): Add version tag.
13483 (Bug#9699)
13484
13485 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13486
13487 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13488 condition.
13489
13490 2011-10-09 Leo Liu <sdl.web@gmail.com>
13491
13492 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13493 (Bug#9701)
13494
13495 2011-10-08 Glenn Morris <rgm@gnu.org>
13496
13497 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13498 before the first code statement zero indent. (Bug#9690)
13499
13500 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * simple.el (count-words-region): Always count in the region.
13503 Report the number of lines and characters too.
13504 (count-words): New command, which counts in the buffer if the
13505 region is inactive, as count-words-region used to.
13506 (count-words--message): New function. Handle plurals.
13507 (count-lines-region): Make it an alias for count-words-region.
13508
13509 * bindings.el (esc-map): Replace count-lines-region with
13510 count-words-region.
13511
13512 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13513
13514 * window.el (window--delete): Delete dedicated frame
13515 unconditionally when argument KILL is non-nil. (Bug#9699)
13516 (switch-to-buffer): Fix doc-string typo.
13517
13518 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13519
13520 * eshell/eshell.el (eshell-command): Avoid using hooks.
13521
13522 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13523
13524 * bindings.el ([M-left],[M-right]): Bind to left-word and
13525 right-word respectively.
13526
13527 2011-10-07 Glenn Morris <rgm@gnu.org>
13528
13529 * cus-start.el (debug-on-quit): Fix custom type.
13530
13531 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13532
13533 * subr.el (define-key-after): Clarify that the function is not
13534 useful for non-menu keymaps.
13535
13536 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13537
13538 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13539
13540 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13541 in current minibuffer (Fix bug with recursive minibuffers).
13542
13543 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13544
13545 * progmodes/gdb-mi.el (gdb): Doc fix.
13546
13547 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13548
13549 * window.el (frame-auto-hide-function): New option replacing
13550 frame-auto-delete. Suggested by Stefan Monnier.
13551 (window--delete): Call frame-auto-hide-function instead of
13552 investigating frame-auto-delete.
13553 (window-point-1, set-window-point-1): New functions.
13554 (window-in-direction, record-window-buffer, window-state-get-1)
13555 (display-buffer-record-window): Use window-point-1 instead of
13556 window-point.
13557 (set-window-buffer-start-and-point): Use set-window-point-1.
13558
13559 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13562
13563 2011-10-05 Glenn Morris <rgm@gnu.org>
13564
13565 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13566 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13567
13568 2011-10-05 Leo Liu <sdl.web@gmail.com>
13569
13570 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13571 works with buffer object.
13572
13573 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * mpc.el (mpc-tool-bar-map): Add labels.
13576
13577 2011-10-04 Glenn Morris <rgm@gnu.org>
13578
13579 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13580
13581 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13582
13583 * window.el (window--delete): New function.
13584 (frame-auto-delete): Resuscitate option.
13585 (bury-buffer, replace-buffer-in-windows)
13586 (quit-window): Rewrite using window--delete.
13587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13588 Pass display-buffer-mark-dedicated to window--display-buffer-2
13589 (Bug#9639).
13590
13591 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13594 returns a list (bug#9554). Add remote file name completion.
13595 * comint.el (comint--table-subvert): Curry and get quote&unquote
13596 functions as arguments.
13597 (comint--complete-file-name-data): Adjust call accordingly.
13598 * pcomplete.el (pcomplete--table-subvert): Remove.
13599 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13600
13601 * minibuffer.el (completion-table-case-fold): Use currying.
13602 (completion--styles-type, completion--cycling-threshold-type):
13603 New constants.
13604 (completion-styles, completion-category-overrides)
13605 (completion-cycle-threshold): Use them.
13606 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13607 completion-table-case-fold.
13608
13609 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13610
13611 * minibuffer.el (completion-category-overrides): Fix type of styles
13612 and add more user friendly tags (bug#9660).
13613
13614 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13617 (mule-input-method-string): New widget.
13618 (default-input-method, language-info-custom-alist): Use it.
13619
13620 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13621
13622 * pcomplete.el: Require comint.
13623 (pcomplete--common-suffix): Remove.
13624 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13625 (pcomplete--table-subvert): Sync with comint--table-subvert.
13626 (pcomplete--entries): Use comint-completion-file-name-table.
13627 * comint.el (comint-unquote-filename): Simplify.
13628 (comint-completion-file-name-table): New function (bug#9616).
13629 (comint--complete-file-name-data): Use it.
13630
13631 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13632 (pcmpl-gnu-tar-buffer): Remove.
13633 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13634 around. Make sure pcomplete-suffix-list is only changed temporarily.
13635 Don't look inside the tar's file if it's too large.
13636
13637 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13638
13639 * cus-edit.el (custom-mode-map):
13640 * epa.el (epa-key-list-mode-map):
13641 * man.el (Man-mode-map):
13642 * startup.el (splash-screen-keymap):
13643 * simple.el (special-mode-map): Use scroll-up-command and
13644 scroll-down-command.
13645
13646 * progmodes/idlw-help.el (idlwave-help-mode-map):
13647 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13648 * net/newst-plainview.el (newsticker-mode-map):
13649 * emulation/ws-mode.el (wordstar-mode-map):
13650 * emulation/vi.el (vi-com-map):
13651 * calc/calc-graph.el (calc-graph-show-dumb):
13652 * term/sun.el (terminal-init-sun):
13653 * term/ns-win.el (global-map):
13654 * progmodes/grep.el (grep-mode-map):
13655 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13656 * mail/rmail.el (rmail-mode-map):
13657 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13658
13659 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13660 custom-safe-themes as special.
13661
13662 2011-10-01 Julien Danjou <julien@danjou.info>
13663
13664 * notifications.el (notifications-notify): Fix docstring.
13665
13666 2011-10-01 Per Starbäck <per@starback.se>
13667
13668 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13669
13670 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13671
13672 * startup.el (command-line-1): Fix last fix by inserting
13673 initial-scratch-message into *scratch* before displaying it.
13674 (Bug#9605) and (Bug#9636)
13675
13676 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13677
13678 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13679 window is hscrolled, move by logical lines. (Bug#9607)
13680 (line-move-visual): Update the doc string to the above effect.
13681
13682 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13683
13684 * window.el (display-buffer-record-window): When WINDOW is the
13685 selected window use `point' instead of `window-point'. (Bug#9626)
13686
13687 * startup.el (command-line-1): Use insert-before-markers when
13688 inserting initial-scratch-message. (Bug#9605)
13689
13690 * help.el (help-window): Remove variable.
13691
13692 2011-09-29 Glenn Morris <rgm@gnu.org>
13693
13694 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13695
13696 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13697
13698 * descr-text.el (describe-char-categories): Accept category
13699 descriptions more than one line long.
13700
13701 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13702
13703 * simple.el (delete-trailing-whitespace): Fix last change.
13704
13705 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13706 Don't confuse "y => 3" as the beginning of a `y' operation.
13707
13708 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13709 object has more than 4 slots (bug#9613).
13710
13711 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13712
13713 * subr.el (with-output-to-temp-buffer):
13714 * net/quickurl.el (quickurl, quickurl-browse-url):
13715 Fix typos in docstrings.
13716
13717 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13718
13719 * minibuffer.el (completion-styles)
13720 (completion-category-overrides): Cross reference each other in doc
13721 strings.
13722
13723 2011-09-27 Glenn Morris <rgm@gnu.org>
13724
13725 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13726 to split-string. (Bug#9606)
13727
13728 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13729
13730 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13731 (bug#9615).
13732
13733 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13734
13735 * emacs-lisp/package.el (list-packages): Fix echo area message.
13736
13737 2011-09-27 Leo Liu <sdl.web@gmail.com>
13738
13739 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13740
13741 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13742
13743 * net/dbus.el (dbus-unregister-object): Don't release services for
13744 registered signals. (Bug#9581)
13745
13746 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13747
13748 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13749 function that picks between cfengine 2 and 3 support
13750 automatically. Update docs accordingly.
13751
13752 2011-09-22 Kenichi Handa <handa@m17n.org>
13753
13754 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13755 ZERO.
13756 (indian-itrans-v5-table-for-tamil): New variable.
13757 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13758
13759 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13760
13761 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13762 that's true if the current command involved collapsing of text.
13763 It's reset to false at the beginning of the next command.
13764 (allout-post-command-business): Move the cursor to the beginning
13765 of entry if the cursor is hidden and collapsing activity just
13766 happened.
13767
13768 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13769
13770 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13771 tracking (Bug#9541).
13772
13773 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13774
13775 * net/newst-reader.el (newsticker-html-renderer)
13776 (newsticker-show-news): Automatically load html rendering package
13777 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13778 because w3m-fill-column is let-bound" and the error "Symbol's value
13779 as variable is void: w3m-fill-column".
13780
13781 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13782
13783 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13784 Release services only if they are defined. (Bug#9581)
13785
13786 2011-09-23 Richard Stallman <rms@gnu.org>
13787
13788 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13789 distinguish start of paragraph from start of its text.
13790
13791 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13792
13793 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13794 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13795 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13796
13797 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13798
13799 * international/mule-diag.el (mule-diag): Insert a newline after
13800 each fontset description.
13801
13802 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * simple.el (delete-trailing-whitespace):
13805 Document last change; simplify.
13806
13807 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13808
13809 * simple.el (delete-trailing-whitespace): Also delete
13810 extra newlines at the end of the buffer.
13811
13812 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13813 (picture-newline): Use forward-line so as to ignore fields.
13814
13815 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * subr.el (with-wrapper-hook): Fix edebug spec.
13818
13819 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13820
13821 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13822 (bug#4538).
13823
13824 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13825
13826 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13827 Fix nasty bug using wrong cached values.
13828
13829 2011-09-23 Alan Mackenzie <acm@muc.de>
13830
13831 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13832
13833 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13834
13835 * window.el (pop-to-buffer): Ensure right window is selected if we
13836 chose another frame.
13837
13838 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13839
13840 * simple.el (what-cursor-position): Use get-char-property-change
13841 and next-single-char-property-change, to be able to show display
13842 properties that come from overlays as well as text properties.
13843
13844 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13845
13846 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13847
13848 * cmuscheme.el (run-scheme, switch-to-scheme):
13849 * cus-edit.el (customize-group, custom-buffer-create)
13850 (customize-browse):
13851 * info.el (info):
13852 * shell.el (shell):
13853 * mail/sendmail.el (mail):
13854 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13855
13856 2011-09-22 Richard Stallman <rms@gnu.org>
13857
13858 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13859 move back only to line beg, don't move back over blank lines.
13860
13861 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13862
13863 * files.el (copy-directory): Set directory attributes only in case
13864 they could be retrieved from the source directory. (Bug#9565)
13865
13866 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13867
13868 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13869 (hs-find-block-beginning, hs-hide-level-recursive):
13870 Ignore strings as well as comments. (Bug#9502)
13871
13872 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13873
13874 * progmodes/sql.el (sql-comint-postgres):
13875 Convert port number to a string. (Bug#9566)
13876
13877 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (quit-window): Undedicate window when switching to
13880 previous buffer. Reported by Thierry Volpiatto
13881 <thierry.volpiatto@gmail.com>.
13882 (special-display-popup-frame): When popping up a new frame reset
13883 its previous buffers to nil. Simplify code.
13884
13885 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13886
13887 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13888 and process filter, as done also in `shell-command'.
13889
13890 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13891
13892 * window.el (set-window-buffer-start-and-point):
13893 Call set-window-start with NOFORCE argument t.
13894 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13895 (quit-window): Reword doc-string. Handle new format of
13896 quit-restore parameter. Don't delete window if it has a
13897 previous buffer we can show instead of the present one.
13898 (display-buffer-record-window): Rewrite using a new format for
13899 the quit-restore window parameter
13900 (special-display-popup-frame, display-buffer-same-window)
13901 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13902 (display-buffer-pop-up-window, display-buffer-use-some-window):
13903 Adapt symbol passed to display-buffer-record-window.
13904 * help.el (help-window-setup): Handle new format of quit-restore
13905 parameter.
13906
13907 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * faces.el (face-list): Fix docstring (bug#9564).
13910
13911 * window.el (display-buffer--action-function-custom-type):
13912 Don't include internal functions in the Custom interface.
13913
13914 2011-09-20 Juri Linkov <juri@jurta.org>
13915
13916 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13917 (Info-forward-node, Info-backward-node, Info-next-preorder)
13918 (Info-last-preorder): Use it. (Bug#9528)
13919
13920 2011-09-20 Juri Linkov <juri@jurta.org>
13921
13922 * info.el (Info-last-preorder): Visit last menu item only when
13923 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13924
13925 2011-09-20 Julien Danjou <julien@danjou.info>
13926
13927 * password-cache.el (password-cache-remove): Remove entries even if the
13928 value is nil, so that password with a nil value (negative caching) is
13929 possible to invalidate.
13930
13931 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13932
13933 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13934 all whitespace around breakpoint. (Bug#9553)
13935 (f90-find-breakpoint): Only break at whitespace inside a comment.
13936
13937 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13938
13939 * minibuffer.el (completion-file-name-table): Keep track of errors.
13940 (completion-table-with-predicate): Handle the case where pred1 is nil.
13941 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13942
13943 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13946 (debugger-return-value): Signal an error if the debugging context does
13947 not await any return value.
13948
13949 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13950 * image-mode.el (image-toggle-display-text)
13951 (image-toggle-display-image): Stay away from evil `intangible'.
13952
13953 2011-09-19 Leo Liu <sdl.web@gmail.com>
13954
13955 * replace.el (occur-revert-arguments): Make it permanent-local.
13956 (occur-mode): Don't call font-lock-defontify.
13957
13958 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13959
13960 * net/ldap.el (ldap-search-internal): Don't push empty search
13961 result (Bug#9508).
13962
13963 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13966
13967 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13968
13969 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13970 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13971
13972 2011-09-18 Juri Linkov <juri@jurta.org>
13973
13974 * buff-menu.el (Buffer-menu-mode-map):
13975 * dired.el (dired-mode-map):
13976 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13977 (lisp-interaction-mode-map):
13978 * emacs-lisp/package.el (package-menu-mode-map):
13979 * epa.el (epa-key-list-mode-map):
13980 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13981 (menu-bar-options-menu):
13982 * outline.el (outline-mode-menu-bar-map):
13983 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13984 * vc/vc-dir.el (vc-dir-menu-map):
13985 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13986 Capitalize non-function content words in menu item strings.
13987
13988 * dired.el (dired-mode-map): Add menu item for
13989 `image-dired-dired-toggle-marked-thumbs'.
13990
13991 2011-09-18 Juri Linkov <juri@jurta.org>
13992
13993 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13994 to `isearch-case-fold-search' and restore its original value
13995 after the `isearch-mode' call.
13996
13997 2011-09-18 Juri Linkov <juri@jurta.org>
13998
13999 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14000 because `zgrep' returns 1 for successful matches (bug#9226).
14001
14002 2011-09-18 Juri Linkov <juri@jurta.org>
14003
14004 * info.el (Info-extract-menu-node-name): Check the second match
14005 for empty string (second test-case of bug#9528).
14006 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14007 intermediate nodes to the history (first test-case of bug#9528).
14008
14009 2011-09-18 Juri Linkov <juri@jurta.org>
14010
14011 * info.el (Info-mode-syntax-table): New variable.
14012 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14013
14014 2011-09-18 Juri Linkov <juri@jurta.org>
14015
14016 * info.el (Info-file-supports-index-cookies):
14017 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14018 outputs one more line for long file names (bug#4142).
14019
14020 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14021
14022 * newcomment.el (comment-normalize-vars): If prompting for
14023 comment-start, set comment-start-skip too (Bug#8424).
14024
14025 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14026
14027 * icomplete.el: Fix previous fix of Bug#5849.
14028 (icomplete-mode): Don't set completion-show-inline-help.
14029 (icomplete-minibuffer-setup): Set completion-show-inline-help
14030 locally during icompletion.
14031
14032 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14033
14034 * woman.el (woman2-process-escapes): Don't delete unrecognized
14035 escapes (Bug#7843).
14036
14037 * files.el (inhibit-first-line-modes-regexps): Add image files.
14038 (hack-local-variables-prop-line): Return nil for malformed
14039 prop-lines (Bug#9044).
14040
14041 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14042
14043 * net/tramp.el (top): Don't require 'shell.
14044 (tramp-methods): Fix docstring.
14045 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14046 Return complete remote file name. Handle "smb" case.
14047 Use `tramp-tmpdir', if defined for the respective method.
14048 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14049
14050 * net/tramp-compat.el (top): Require 'shell.
14051
14052 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14053 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14054 `tramp-current-host'.
14055 (tramp-get-remote-tmpdir): Remove.
14056
14057 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14058 `tramp-tmpdir' entries.
14059 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14060 (tramp-smb-handle-file-attributes): Ignore errors.
14061 (tramp-smb-wait-for-output): Check also for process end.
14062
14063 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14064
14065 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14066 when sending QUIT (bug#9312).
14067
14068 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14069
14070 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14071 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14072 occur-mode-display-occurrence.
14073 (occur-edit-mode): Add usage message.
14074 (occur-cease-edit): New command.
14075 (occur-after-change-function): Use text properties to find the
14076 position of the prefix text.
14077 (occur-engine): Set stickiness of prefix text properties.
14078
14079 2011-09-17 Glenn Morris <rgm@gnu.org>
14080
14081 * progmodes/etags.el (complete-tag):
14082 Fix call to completion-in-region. (Bug#9526)
14083
14084 2011-09-17 Juri Linkov <juri@jurta.org>
14085
14086 * textmodes/ispell.el (ispell-word): Add to the error message
14087 the word, ispell program name and current dictionary (bug#9121).
14088 (ispell-tex-arg-end): Capitalize "error" in the error message.
14089
14090 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14091
14092 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14093 check. (Bug#4251)
14094
14095 2011-09-17 Juri Linkov <juri@jurta.org>
14096
14097 * window.el (window-safe-min-height, window-safe-min-width):
14098 Fix typos (followup to bug#9522).
14099
14100 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14101
14102 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14103
14104 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14105
14106 * simple.el (line-move): If goal-column is set, move by logical
14107 lines, not by display lines. (Bug#971)
14108 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14109 to reflect the above change.
14110
14111 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * image.el (imagemagick-register-types): Use regexp-opt.
14114
14115 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14116
14117 * window.el (display-buffer-base-action): Rename from
14118 display-buffer-default-action. Make default value empty.
14119 (display-buffer-overriding-action): Convert to defvar.
14120 (display-buffer-fallback-action): New var.
14121
14122 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14123
14124 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14125 declaration.
14126 (package--add-to-archive-contents): If there is a duplicate entry
14127 with an older version, remove it.
14128 (package-menu-mark-delete, package-menu-mark-install)
14129 (package-menu-mark-unmark): Make unused args optional.
14130 (package-menu-mark-obsolete-for-deletion):
14131 Use package-menu-get-status instead of a regexp search.
14132 (package-menu-get-status): Use tabulated-list-entry.
14133 (package-menu-mark-upgrades): New command.
14134 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14135 (package-menu-execute): Do installation before deletion.
14136 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14137 instead of checking major-mode.
14138 (package-menu--find-upgrades): New function.
14139
14140 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14141
14142 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14143 passwords in the log buffer.
14144 (smtpmail-process-filter): Update the process marker so that the
14145 "broken by peer" status message is inserted in the right place.
14146
14147 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14150 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14151 bibtex-completion-at-point-function.
14152 (bibtex-completion-at-point-function): Use them.
14153
14154 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14155
14156 * mpc.el (mpc-constraints-tag-lookup): New function.
14157 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14158 also to browser "album|playlist".
14159
14160 2011-09-14 Juri Linkov <juri@jurta.org>
14161
14162 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14163 (isearch-edit-string): Use length of `isearch-string' when
14164 `isearch-fail-pos' returns nil.
14165 (isearch-message): Remove duplicate code and call
14166 `isearch-fail-pos' with arg `t'.
14167
14168 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14169
14170 * replace.el (occur-mode-goto-occurrence): Don't force using other
14171 window (Bug#9499).
14172
14173 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14174
14175 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14176
14177 * window.el (display-buffer-window): Remove.
14178 (display-buffer-record-window): Use help-setup window parameter
14179 instead of variable display-buffer-window.
14180 (display-buffer-function, special-display-buffer-names)
14181 (special-display-function): Mention help-setup parameter instead
14182 of display-buffer-window in doc-string.
14183 * help.el (help-window-setup): New argument help-window.
14184 Use help-window-setup parameter instead of display-buffer-window.
14185 Reword some messages.
14186 (with-help-window): Pass window used for displaying the buffer
14187 to help-window-setup. Don't set display-buffer-window.
14188
14189 2011-09-13 Glenn Morris <rgm@gnu.org>
14190
14191 * emacs-lisp/debug.el (debugger-make-xrefs):
14192 Preserve point. (Bug#9462)
14193
14194 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * window.el (window-deletable-p): Use next-frame.
14197
14198 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14199
14200 * window.el (window-auto-delete): Remove.
14201 (window-deletable-p): Remove argument FORCE. Don't deal with
14202 dedication and previous buffers.
14203 (switch-to-prev-buffer): Don't delete window.
14204 (delete-windows-on): Delete a window's frame if and only if the
14205 window is dedicated.
14206 (replace-buffer-in-windows): Delete buffer's window or frame if
14207 and only if window is dedicated.
14208 (quit-window): Handle quit-restore as before last change.
14209 (bury-buffer): Delete window only if window-deletable-p returns t.
14210
14211 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14212
14213 * window.el (window-deletable-p): Never delete the last frame on a
14214 given terminal.
14215
14216 2011-09-13 Glenn Morris <rgm@gnu.org>
14217
14218 * help.el (describe-key-briefly): Copy previous standard-output change.
14219
14220 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14221
14222 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14223
14224 2011-09-13 Glenn Morris <rgm@gnu.org>
14225
14226 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14227 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14228
14229 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14230
14231 * dired-aux.el (dired-mark-read-string): Don't return default
14232 value on empty input (Bug#9361).
14233 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14234 Omit initial minibuffer contents.
14235 (dired-do-chmod): Signal an error on empty input.
14236 (dired-mark-read-string): Don't return default on empty input.
14237
14238 * files.el (file-modes-symbolic-to-number): Doc fix.
14239
14240 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * international/mule-cmds.el (ucs-completions): Remove.
14243 (read-char-by-name): Use complete-with-action instead; add metadata.
14244
14245 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14246
14247 * window.el (display-buffer--action-function-custom-type)
14248 (display-buffer--action-custom-type): New vars.
14249 (display-buffer-alist, display-buffer-default-action)
14250 (display-buffer-overriding-action): Add defcustom types.
14251
14252 * frame.el (delete-other-frames): Doc fix (Bug#276).
14253
14254 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14255
14256 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14257
14258 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14259
14260 Change modes that used same-window-* vars to use switch-to-buffer.
14261
14262 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14263 Use switch-to-buffer.
14264
14265 * cus-edit.el (customize-group, custom-buffer-create)
14266 (customize-browse, custom-buffer-create-other-window):
14267 Use switch-to-buffer or switch-to-buffer-other-window.
14268
14269 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14270 (Info-prev, Info-up, Info-speedbar-goto-node)
14271 (info-display-manual): Use switch-to-buffer.
14272 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14273
14274 * mail/sendmail.el (mail): Use switch-to-buffer.
14275 (mail-recover): Use switch-to-buffer-other-window.
14276
14277 * cmuscheme.el (run-scheme, switch-to-scheme):
14278 * ielm.el (ielm):
14279 * shell.el (shell):
14280 * net/rlogin.el (rlogin):
14281 * net/telnet.el (telnet, rsh):
14282 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14283
14284 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14285
14286 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14287
14288 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14289
14290 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14291 so don't mention it (bug#9301).
14292 (dired-sort-toggle-or-edit): Clarify string further.
14293
14294 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14295 match `x', `w32' and `ns', like the manual says (bug#9029).
14296
14297 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14298 (process-kill-buffer-query-function): Mention the buffer name in
14299 the query.
14300
14301 * image-mode.el (image-next-line): The line parameter is mandatory
14302 (bug#9258).
14303
14304 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14305 which can be useful (bug#9301).
14306
14307 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14308
14309 * subr.el (match-string): Mention that the current buffer should
14310 be the same as the search was done in (bug#9282).
14311
14312 * facemenu.el: Disable the remove-* commands if the mark isn't
14313 active (bug#9162).
14314
14315 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14316
14317 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14318 of display-buffer.
14319 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14320
14321 * replace.el (occur-mode-goto-occurrence)
14322 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14323 and display-buffer.
14324
14325 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14326 display-buffer.
14327
14328 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14329 special-display and same-window variables.
14330 (mail-other-window): Use switch-to-buffer-other-window.
14331 (mail-other-frame): USe switch-to-buffer-other-frame.
14332
14333 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14334 Use display-buffer-other-frame.
14335 (gdb-display-gdb-buffer): Use pop-to-buffer.
14336
14337 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14338
14339 * progmodes/python.el: Don't set same-window-buffer-names.
14340
14341 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14342
14343 * window.el (display-buffer-alist): Add *Python*.
14344
14345 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14346
14347 * window.el (display-buffer-alist): Add entry for buffers
14348 previously handled same-window-*.
14349 (display-buffer-alist, display-buffer-default-action)
14350 (display-buffer-overriding-action): Mark as risky.
14351 (display-buffer-alist): Document action function changes.
14352 (display-buffer--same-window-action)
14353 (display-buffer--other-frame-action): New variables.
14354 (switch-to-buffer, display-buffer-other-frame): Use them.
14355 (display-buffer): Rename reuse-frame entry to reusable-frames.
14356 (display-buffer-reuse-selected-window): Function deleted.
14357 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14358 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14359 (display-buffer-special): New function.
14360 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14361 display-buffer-reuse-or-pop-window. Split off special-display
14362 part into display-buffer-special.
14363 (display-buffer-use-some-window): Don't perform any special
14364 pop-up-frames handling.
14365 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14366 (display-buffer--maybe-same-window): Rename from
14367 display-buffer-maybe-same-window.
14368
14369 * info.el: Don't set same-window-regexps.
14370 (info-setup): New function.
14371 (info-other-window, info): Call it.
14372
14373 * cus-edit.el: Don't set same-window-regexps.
14374 (customize-group): New argument.
14375 (customize-group-other-window): Use it.
14376 (customize-face, customize-face-other-window): Likewise.
14377 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14378
14379 * net/rlogin.el:
14380 * net/telnet.el:
14381 * progmodes/gud.el: Don't set same-window-regexps.
14382
14383 * cmuscheme.el:
14384 * ielm.el:
14385 * shell.el:
14386 * mail/sendmail.el:
14387 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14388
14389 2011-09-10 Juri Linkov <juri@jurta.org>
14390
14391 * isearch.el (isearch-edit-string): Remove obsolete mention of
14392 `C-w' (`isearch-yank-word-or-char') from docstring.
14393 (isearch-query-replace): Fix typo in docstring (bug#9466).
14394
14395 2011-09-10 Juri Linkov <juri@jurta.org>
14396
14397 * paren.el (show-paren-function): Don't show escaped parens.
14398 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14399
14400 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14401
14402 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14403 (mm-default-file-encoding): Remove autoload forms, they are
14404 replaced with autoload cookies in mml.el and mm-encode.el.
14405 (mail-add-attachment): New command.
14406 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14407 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14408 the doc string.
14409 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14410
14411 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14412
14413 * simple.el (count-words-region): Use buffer if there's no region
14414 (bug#9429).
14415
14416 2011-09-09 Juri Linkov <juri@jurta.org>
14417
14418 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14419 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14420 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14421
14422 2011-09-09 Alan Mackenzie <acm@muc.de>
14423
14424 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14425 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14426
14427 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14428
14429 Fix for Savannah bug#9392.
14430 * simple.el (mail-encode-mml): New defvar.
14431
14432 * mail/rmail.el (mail-encode-mml): Add a defvar.
14433 (rmail-enable-mime-composing): Default to t.
14434 (rmail-forward): Use MIME method of forwarding only if both
14435 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14436 Set mail-encode-mml non-nil if the MIME method was used.
14437
14438 * mail/sendmail.el (mml-to-mime): Add autoload form.
14439 (mail-encode-mml): Add a defvar.
14440 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14441 to nil.
14442 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14443 message through mml-to-mime, and reset mail-encode-mml to nil.
14444
14445 2011-09-09 Glenn Morris <rgm@gnu.org>
14446
14447 * woman.el (woman-if-body): When processing an .el block,
14448 do not delete the next .el block as well. (Bug#9447)
14449 (woman-special-characters): Add oq, cq, and hy characters.
14450
14451 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14452
14453 * window.el (window-deletable-p): Make sure window is live before
14454 invoking window-prev-buffers.
14455
14456 2011-09-08 Leo Liu <sdl.web@gmail.com>
14457
14458 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14459
14460 2011-09-08 Juri Linkov <juri@jurta.org>
14461
14462 * progmodes/compile.el (compilation-environment): Make it
14463 a defcustom (bug#8340).
14464
14465 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14466
14467 * window.el (frame-auto-delete): Rename to window-auto-delete.
14468 Make it control auto-deletion of windows and/or frames.
14469 (window-deletable-p): New argument FORCE. Rewrite conditions
14470 for deleting window/frame. (Bug#9419)
14471 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14472 Rewrite handling of case when window/frame can be deleted.
14473 (delete-windows-on): Call window-deletable-p with new FORCE
14474 argument t. (Bug#9456)
14475
14476 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14477
14478 * help-mode.el (help-mode): Restore autoload.
14479
14480 2011-09-07 Juri Linkov <juri@jurta.org>
14481
14482 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14483 `compilation-environment'. Set buffer-local
14484 `compilation-environment' to `thisenv' later after (funcall mode).
14485 (Bug#8340)
14486
14487 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14488 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14489 instead of replacing its value. (Bug#8340)
14490
14491 2011-09-07 Juri Linkov <juri@jurta.org>
14492
14493 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14494 based on text properties put by `grep-filter' instead of matching
14495 escape sequences.
14496 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14497 to the value of `grep-error-screen-columns' (bug#9438).
14498
14499 2011-09-07 Juri Linkov <juri@jurta.org>
14500
14501 * simple.el (next-error-highlight, next-error-highlight-no-select):
14502 Doc fix (bug#9432).
14503
14504 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14505
14506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14507 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14508
14509 2011-09-07 Leo Liu <sdl.web@gmail.com>
14510
14511 * net/rcirc.el (rcirc-mode): Conditionally initialize
14512 rcirc-input-ring.
14513
14514 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 * emacs-lisp/find-func.el (find-function-C-source): Only set
14517 find-function-C-source-directory after checking that we found a source
14518 file there (bug#9440).
14519
14520 2011-09-06 Alan Mackenzie <acm@muc.de>
14521
14522 * isearch.el (isearch-other-meta-char): Wherever a key list is
14523 unread, "unread" the prefix arg, too. This fixes bug #8901.
14524
14525 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14526
14527 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14528
14529 2011-09-05 Juri Linkov <juri@jurta.org>
14530
14531 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14532
14533 2011-09-05 Juri Linkov <juri@jurta.org>
14534
14535 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14536 keeping point where processing of grep matches begins, and
14537 continue to delete remaining escape sequences from the same point.
14538 (grep-filter): Make leading zero optional in "0?1;31m" because
14539 git-grep emits "\033[1;31m" escape sequences unlike expected
14540 "\033[01;31m" as GNU Grep does (bug#9408).
14541 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14542
14543 2011-09-05 Juri Linkov <juri@jurta.org>
14544
14545 * subr.el (y-or-n-p): Capitalize "yes".
14546
14547 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14550 `tramp-cache-unload-hook' where appropriate.
14551 (tramp-methods): Rename `tramp-remote-sh' to
14552 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14553 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14554
14555 * net/tramp-sh.el (top): Don't require 'shell.
14556 (tramp-methods): Add `tramp-remote-shell' and
14557 `tramp-remote-shell-args' entries.
14558 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14559 (tramp-sh-handle-shell-command): Remove.
14560 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14561 Use `tramp-remote-shell'.
14562
14563 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14564
14565 * mail/sendmail.el (sendmail-query-once-function): Delete.
14566 (sendmail-query-once): Save directly to send-mail-function.
14567 Update message-send-mail-function too.
14568
14569 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14570
14571 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14572
14573 * progmodes/python.el (python-mode-map): Use correct function to
14574 start python interpreter from menu-bar (as reported by Geert
14575 Kloosterman).
14576 (inferior-python-mode-map): Fix typo.
14577 (python-shell-map): Remove.
14578
14579 2011-09-03 Deniz Dogan <deniz@dogan.se>
14580
14581 * net/rcirc.el (rcirc-print): Simplify code for
14582 rcirc-scroll-show-maximum-output. There is no need to walk
14583 through all windows to find the right one.
14584
14585 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14586
14587 * help.el (help-return-method): Doc fix.
14588
14589 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (window-deletable-p): Don't return a non-nil value
14592 when there's a buffer that was shown in the window before.
14593 (Bug#9419)
14594 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14595 Set window's previous buffers to nil.
14596
14597 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14598
14599 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14600 newline before and after the tag line, so it doesn't interfere
14601 with determining the paragraph direction of bidirectional text.
14602
14603 2011-09-03 Leo Liu <sdl.web@gmail.com>
14604
14605 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14606
14607 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14608
14609 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14610 (pop-to-buffer): Change interactive spec. Pass second argument
14611 directly to display-buffer.
14612 (display-buffer): Fix interactive spec. Use functionp to
14613 distinguish between a function and a list of functions.
14614
14615 * abbrev.el (edit-abbrevs):
14616 * arc-mode.el (archive-extract):
14617 * autoinsert.el (auto-insert):
14618 * bookmark.el (bookmark-bmenu-list):
14619 * files.el (find-file):
14620 * view.el (view-buffer):
14621 * progmodes/compile.el (compilation-goto-locus):
14622 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14623
14624 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14625
14626 * window.el (display-buffer-alist): Doc fix.
14627 (display-buffer): Add docstring. Don't treat
14628 display-buffer-default specially.
14629 (display-buffer-reuse-selected-window)
14630 (display-buffer-same-window, display-buffer-maybe-same-window)
14631 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14632 (display-buffer-pop-up-window)
14633 (display-buffer-reuse-or-pop-window)
14634 (display-buffer-use-some-window): New functions.
14635 (display-buffer-default-action): Use them.
14636 (display-buffer-default): Delete.
14637 (pop-to-buffer-1): Fix choice of actions.
14638
14639 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14640
14641 * minibuffer.el (completion--insert-strings): Don't get confused by
14642 completion entries that end with an LF char.
14643
14644 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14645
14646 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14647
14648 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * window.el (display-buffer): Restore interactive spec.
14651 (display-buffer-same-window, display-buffer-other-window):
14652 New functions.
14653 (pop-to-buffer-1): New function. Use the above.
14654 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14655 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14656
14657 * view.el (view-buffer-other-window, view-buffer-other-frame):
14658 Just use pop-to-buffer.
14659
14660 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14661
14662 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14663
14664 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14665
14666 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14667
14668 2011-08-31 Richard Stallman <rms@gnu.org>
14669
14670 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14671 of the separation of rmail-view-buffer from rmail-buffer.
14672 If you say no to "replace original", the decrypt is in the
14673 view buffer. If you say yes, the decrypt goes into the
14674 rmail buffer also.
14675
14676 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14677
14678 * window.el (display-buffer-window): Rewrite doc-string.
14679 (display-buffer-record-window): New function.
14680 (display-buffer-macro-specifiers)
14681 (display-buffer-even-window-sizes, display-buffer-set-height)
14682 (display-buffer-set-width, display-buffer-in-window)
14683 (display-buffer-reuse-window, display-buffer-split-specifiers)
14684 (display-buffer-side-specifiers, display-buffer-split-window-1)
14685 (display-buffer-split-window, display-buffer-split-atom-window)
14686 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14687 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14688 (display-buffer-other-window-means-other-frame)
14689 (display-buffer-normalize-special)
14690 (display-buffer-normalize-default)
14691 (display-buffer-normalize-argument)
14692 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14693 (display-buffer-normalize-specifiers, display-buffer-frame)
14694 (display-buffer-same-window, display-buffer-same-frame)
14695 (display-buffer-other-window)
14696 (display-buffer-same-frame-other-window)
14697 (display-buffer-other-frame, pop-to-buffer-same-window)
14698 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14699 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14700 (switch-to-buffer-same-frame)
14701 (switch-to-buffer-other-window-same-frame)
14702 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14703 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14704 (display-buffer-alist-set): Remove.
14705 (display-buffer-function, special-display-buffer-names)
14706 (special-display-regexps, special-display-function):
14707 In doc-string refer to display-buffer-window and quit-restore
14708 parameter.
14709 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14710 (special-display-frame-alist, special-display-popup-frame)
14711 (same-window-buffer-names, same-window-regexps, same-window-p)
14712 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14713 (split-window-preferred-function, split-height-threshold)
14714 (split-width-threshold, window-splittable-p)
14715 (split-window-sensibly, window--try-to-split-window)
14716 (window--frame-usable-p, even-window-heights)
14717 (window--even-window-heights, window--display-buffer-1)
14718 (window--display-buffer-2, display-buffer-other-frame):
14719 Restore old Emacs 23 code, order and doc-strings where applicable.
14720 (display-buffer-default, display-buffer-assq-regexp): New functions.
14721 (display-buffer-alist): Rewrite doc-string.
14722 (display-buffer-default-action)
14723 (display-buffer-overriding-action): New variables.
14724 (display-buffer, switch-to-buffer): Rewrite.
14725 (pop-to-buffer): Restore Emacs 23 behavior but use
14726 window-normalize-buffer-to-display.
14727 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14728 Restore Emacs 23 behavior but use
14729 window-normalize-buffer-to-switch-to.
14730 (pop-to-buffer-same-window): Rewrite.
14731 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14732 Rewrite using Emacs 23 options.
14733
14734 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14735
14736 * net/tramp.el (tramp-root-regexp): Remove.
14737 (tramp-completion-file-name-regexp-unified)
14738 (tramp-completion-file-name-regexp-separate)
14739 (tramp-completion-file-name-regexp-url): Don't use leading volume
14740 letter on w32 systems. (Bug#5303, Bug#9311)
14741 (tramp-drop-volume-letter): Simplify definition.
14742 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14743
14744 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14745
14746 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14747 (bug#9356).
14748
14749 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14750
14751 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14752
14753 2011-08-29 Juri Linkov <juri@jurta.org>
14754
14755 * isearch.el (isearch-done): Don't display message "Mark saved"
14756 when arg `edit' is non-nil to prevent its flicker in the echo area.
14757
14758 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14761 obsolete packages for deletion.
14762
14763 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14764
14765 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14766 (help-mode): Derive help-mode from special-mode. Don't invoke
14767 view-mode from help-mode.
14768 (help-xref-override-view-map): Remove.
14769 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14770 view-mode is not used anymore.
14771
14772 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * server.el (server-port): Doc fix.
14775
14776 * cus-theme.el (custom-theme-choose-mode): Inherit from
14777 special-mode (Bug#9124).
14778 (custom-theme-choose-mode-map): Add special-mode to parent.
14779
14780 2011-08-28 Alan Mackenzie <acm@muc.de>
14781
14782 * progmodes/cc-fonts.el
14783 (c-make-font-lock-BO-decl-search-function): New function.
14784 (c-basic-matchers-after - "Fontify the clauses after various
14785 keywords"): Extract the three keyword lists for the 3 erroneous
14786 constructs from the list of four, and use the new function above
14787 in place of an old one.
14788
14789 2011-08-28 Deniz Dogan <deniz@dogan.se>
14790
14791 * net/rcirc.el (rcirc-insert-prev-input)
14792 (rcirc-insert-next-input): Remove unused argument.
14793
14794 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14797
14798 2011-08-27 Alan Mackenzie <acm@muc.de>
14799
14800 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14801 handle function pointer parameters properly.
14802
14803 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14804
14805 * window.el (display-buffer-reuse-window): Fix case where
14806 selected window was reused with non-nil OTHER-WINDOW argument.
14807 (Bug#9381)
14808
14809 2011-08-27 Deniz Dogan <deniz@dogan.se>
14810
14811 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14812 oftc's NickServ messages.
14813
14814 2011-08-27 Glenn Morris <rgm@gnu.org>
14815
14816 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14817
14818 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14819
14820 * emacs-lisp/package.el (package-install): Call package-initialize
14821 if called interactively.
14822
14823 2011-08-26 Leo Liu <sdl.web@gmail.com>
14824
14825 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14826
14827 2011-08-25 Juri Linkov <juri@jurta.org>
14828
14829 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14830 `search-whitespace-regexp' (bug#9364).
14831
14832 2011-08-25 Juri Linkov <juri@jurta.org>
14833
14834 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14835 `regexp-search-ring' to their global values to protect from
14836 updating by `read-from-minibuffer' (bug#9185).
14837
14838 2011-08-25 Juri Linkov <juri@jurta.org>
14839
14840 * textmodes/ispell.el (ispell-command-loop): Add newline
14841 at the end of the "Use option `i'..." line.
14842
14843 2011-08-25 Juri Linkov <juri@jurta.org>
14844
14845 * battery.el (display-battery-mode): If `battery-status-function'
14846 or `battery-mode-line-format' is nil, display the message and set
14847 `display-battery-mode' to nil (bug#9363).
14848
14849 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14850
14851 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14852 bidi-string-mark-left-to-right; they are unnecessary now.
14853
14854 2011-08-25 Deniz Dogan <deniz@dogan.se>
14855
14856 * net/quickurl.el: Documentation typo fixes.
14857
14858 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14859
14860 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14861
14862 2011-08-25 Glenn Morris <rgm@gnu.org>
14863
14864 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14865
14866 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14867 (smtpmail-via-smtp): Handle nil response from smtp.
14868
14869 2011-08-24 Juri Linkov <juri@jurta.org>
14870
14871 * proced.el (proced-marked): Inherit from `error' instead of
14872 `font-lock-warning-face'.
14873
14874 * ibuffer.el (ibuffer-marked-face): Change default face from
14875 `font-lock-warning-face' to `warning'.
14876 (ibuffer-deletion-face): Change default face from
14877 `font-lock-type-face' to `error'.
14878
14879 * battery.el (battery-update): Use the face `error' instead of
14880 `font-lock-warning-face' (bug#6117).
14881
14882 2011-08-24 Juri Linkov <juri@jurta.org>
14883
14884 * faces.el (success): Change face color from "Green3" to
14885 "ForestGreen" on light background (bug#9353).
14886
14887 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14888
14889 * window.el (quit-window): Rename from quit-restore-window.
14890 Use same arglist as old quit-window.
14891 (frame-auto-delete): Doc fix.
14892
14893 * view.el (view-mode-exit): Use quit-window.
14894
14895 2011-08-24 Juri Linkov <juri@jurta.org>
14896
14897 * isearch.el (isearch-ring-adjust1): Start visiting previous
14898 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14899 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14900 for empty search string (when the last search string is reused
14901 automatically) to adjust the isearch ring to the last element and
14902 prepare the correct index for further M-p commands (bug#9185).
14903
14904 2011-08-24 Kenichi Handa <handa@m17n.org>
14905
14906 * international/ucs-normalize.el: If decomposition property of
14907 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14908 nil.
14909 (nfd, nfkd): Likewise.
14910
14911 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14914 from process filters aren't reliably transmitted to the surrounding
14915 accept-process-output.
14916 (mpc-proc-check): New function.
14917 (mpc-proc-sync): Use it (bug#8293)
14918
14919 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14922 Add compatibility functions (bug#9313).
14923
14924 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14925
14926 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14927
14928 * international/uni-bidi.el: Regenerate.
14929
14930 2011-08-23 Kenichi Handa <handa@m17n.org>
14931
14932 * international/charprop.el:
14933 * international/uni-bidi.el:
14934 * international/uni-category.el:
14935 * international/uni-combining.el:
14936 * international/uni-comment.el:
14937 * international/uni-decimal.el:
14938 * international/uni-decomposition.el:
14939 * international/uni-digit.el:
14940 * international/uni-lowercase.el:
14941 * international/uni-mirrored.el:
14942 * international/uni-name.el:
14943 * international/uni-numeric.el:
14944 * international/uni-old-name.el:
14945 * international/uni-titlecase.el:
14946 * international/uni-uppercase.el: Regenerate.
14947
14948 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14949
14950 * help.el (help-window-setup): Fix message displayed when other
14951 window is reused. (Bug#9341)
14952
14953 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14956 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14957
14958 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14959 Mark obsolete.
14960 * shell.el (shell-parse-pcomplete-arguments): New function.
14961 (shell-completion-vars): Use it instead (bug#9160).
14962
14963 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14964
14965 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14966 strings and comments (bug#9333).
14967
14968 * emacs-lisp/debug.el (debug-arglist): New function.
14969 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14970 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14971
14972 2011-08-22 Juri Linkov <juri@jurta.org>
14973
14974 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14975 Revert regexp that highlights output switches to its old
14976 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14977
14978 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14979 to check for empty output (bug#9226).
14980
14981 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14982
14983 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14984 symbol-constituent as the default, as that stops font-lock from
14985 working properly (Bug#8843).
14986
14987 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14988
14989 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14990 `coding-system-for-*' around the process open call to avoid
14991 auth-source side effects.
14992 (smtpmail-try-auth-methods): Expand the secret password.
14993 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14994 probe hangs.
14995
14996 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14997
14998 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14999
15000 * emacs-lisp/find-func.el (find-function-noselect): New arg
15001 lisp-only.
15002
15003 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15004 signal an error for built-in functions (Bug#6664).
15005
15006 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15007
15008 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15009 (smtpmail-try-auth-methods): Use it.
15010
15011 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15012
15013 * font-lock.el (font-lock-fontify-region)
15014 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15015 (font-lock-default-unfontify-buffer)
15016 (font-lock-default-fontify-region)
15017 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15018
15019 * progmodes/compile.el (compilation-error-properties):
15020 Fix confusion between file struct and message struct (Bug#9319).
15021 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15022 `ant' regexp.
15023
15024 * net/browse-url.el (browse-url-firefox): Don't call
15025 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15026
15027 2011-08-20 Glenn Morris <rgm@gnu.org>
15028
15029 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15030
15031 * tutorial.el (tutorial--default-keys): Update some default bindings.
15032
15033 * files.el (hack-local-variables): Fully ignore case for "mode:".
15034
15035 2011-08-20 Alan Mackenzie <acm@muc.de>
15036
15037 Resolve invalid use of a regexp in regexp-opt.
15038
15039 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15040 detection for a java annotation.
15041
15042 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15043 detection for a java annotation.
15044
15045 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15046 handling for java.
15047 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15048
15049 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15050
15051 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15052 (Bug#9274).
15053
15054 2011-08-20 Alan Mackenzie <acm@muc.de>
15055
15056 Fontify CPP expressions correctly when starting in the middle of
15057 such a construct. Mainly for when jit-lock etc. starts a chunk
15058 here.
15059
15060 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15061 variable.
15062 (c-make-font-lock-search-form): New function, extracted from
15063 c-make-font-lock-search-function.
15064 (c-make-font-lock-search-function): Use the above function.
15065 (c-make-font-lock-context-search-function): New function.
15066 (c-cpp-matchers): Enhance the preprocessor expression case with
15067 the above function
15068 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15069 which takes an expression.
15070
15071 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15072
15073 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15074
15075 * window.el (display-buffer-reuse-window)
15076 (display-buffer-pop-up-window): Don't reuse or split a side
15077 window.
15078
15079 2011-08-19 Glenn Morris <rgm@gnu.org>
15080
15081 * files.el (hack-local-variables-prop-line, hack-local-variables):
15082 Downcase "Mode:". (Bug#9331)
15083
15084 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15085
15086 * international/characters.el: Add L and R categories.
15087
15088 * subr.el (bidi-string-mark-left-to-right): Rename from
15089 string-mark-left-to-right. Use category search.
15090
15091 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15092
15093 2011-08-18 Juri Linkov <juri@jurta.org>
15094
15095 * faces.el (error, warning, success): New faces with definitions
15096 copied from old default values of `font-lock-warning-face',
15097 `compilation-warning', `compilation-info' (bug#6117).
15098
15099 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15100
15101 * progmodes/compile.el (compilation-error): Inherit from `error'.
15102 (compilation-warning): Inherit from `warning'.
15103 (compilation-info): Inherit from `success'.
15104
15105 * dired.el (dired-marked): Inherit from `warning'.
15106 (dired-flagged): Inherit from `error'.
15107
15108 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15109
15110 * mail/smtpmail.el (auth-source): Require to avoid problems with
15111 binding variables (bug#9298). Also clean up some unused
15112 autoloads.
15113
15114 * net/network-stream.el (network-stream-open-starttls):
15115 Support using starttls.el without using gnutls-cli.
15116
15117 2011-08-17 Juri Linkov <juri@jurta.org>
15118
15119 * progmodes/grep.el (rgrep): Handle the case when
15120 `grep-find-command' is a cons cell (bug#9278).
15121
15122 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15123
15124 * window.el (display-buffer-pop-up-frame): Run frame creation
15125 function with BUFFER current (as special-display-popup-frame
15126 does). Reported by Drew Adams.
15127
15128 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15129
15130 * epa-mail.el: Simplify GnuPG group expansion using
15131 epg-expand-group.
15132 (epa-mail-group-alist, epa-mail-group-modtime)
15133 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15134 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15135 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15136 Remove.
15137
15138 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15139
15140 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15141
15142 2011-08-16 Alan Mackenzie <acm@muc.de>
15143
15144 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15145 Correct, to avoid the inside of macros.
15146
15147 2011-08-16 Richard Stallman <rms@gnu.org>
15148
15149 * epa-mail.el: Handle GnuPG group definitions.
15150 (epa-mail-group-alist, epa-mail-group-modtime)
15151 (epa-mail-gnupg-conf-file): New variables.
15152 (epa-mail-parse-groups, epa-mail-sync-groups)
15153 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15154 (epa-mail-expand-recipients): New functions.
15155 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15156
15157 * mail/rmail.el (rmail-epa-decrypt): New command.
15158
15159 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15160 Don't bind buffer-read-only, just inhibit-read-only.
15161 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15162 (epa-decrypt-armor-in-region): Make error message clearer.
15163
15164 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15165
15166 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15167 and "a2b" to "ab" for `prefix'.
15168
15169 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15170
15171 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15172 filter groups.
15173 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15174 Fourquet (Bug#8804).
15175
15176 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15177
15178 * startup.el (argi): Declare as global variable (bug#9275).
15179
15180 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15181
15182 * subr.el (string-mark-left-to-right): Search the entire string
15183 for RTL script, not just the terminating character. Doc fix.
15184
15185 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15188 New function.
15189 (js--regexp-literal, js-syntax-propertize-function): Remove.
15190 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15191 (js-mode-map): Don't rebind electric keys.
15192 (js-insert-and-indent): Remove.
15193 (js-mode): Setup electric-layout and electric-indent instead.
15194
15195 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15196
15197 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15198
15199 * epa.el (epa-progress-callback-function): Fix the logic of
15200 displaying progress.
15201 * epa-file.el (epa-file-insert-file-contents): Make progress
15202 display more user-friendly.
15203 (epa-file-write-region): Ditto.
15204
15205 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15206
15207 * subr.el (string-mark-left-to-right): New function.
15208
15209 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15210 Use string-mark-left-to-right.
15211 (list-buffers-noselect): Caller changed.
15212
15213 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15214 Use string-mark-left-to-right.
15215 (tabulated-list-print): Recenter after moving point.
15216
15217 2011-08-10 Juri Linkov <juri@jurta.org>
15218
15219 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15220 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15221 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15222
15223 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15224
15225 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15226 (Bug#7554).
15227
15228 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15229
15230 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15231 character. (Bug#6594)
15232
15233 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15236 (image-dired--with-db-file): New macro.
15237 (image-dired-write-tags, image-dired-remove-tag)
15238 (image-dired-create-gallery-lists, image-dired-write-comments)
15239 (image-dired-get-comment, image-dired-mark-tagged-files)
15240 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15241 (image-dired-gallery-generate): Use insert-file-contents.
15242
15243 * time.el (display-time-world-list, display-time-world-display):
15244 * time-stamp.el (time-stamp-string):
15245 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15246 set-time-zone-rule (Bug#7337).
15247
15248 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15249
15250 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15251 (epg-error-to-string, epg-errors-to-string): New function.
15252 (epg-wait-for-completion): Reverse errors list.
15253 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15254 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15255 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15256 (epg-sign-keys, epg-generate-key-from-file)
15257 (epg-generate-key-from-string): Format errors by using
15258 epg-errors-to-string (bug#9255).
15259 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15260
15261 2011-08-07 Juri Linkov <juri@jurta.org>
15262
15263 * faces.el (list-faces-display): Remove extra angle bracket
15264 from `help-mode-map'.
15265
15266 * info.el (Info-history-toc-nodes): Doc fix.
15267
15268 * longlines.el (longlines-mode): Doc fix.
15269
15270 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15271
15272 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15273 of statements and in a few more cases (bug#9183).
15274
15275 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15276 New functions.
15277 (cl-transform-lambda): Use them (bug#9239).
15278
15279 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15280
15281 * window.el (display-buffer-same-window)
15282 (display-buffer-same-frame, display-buffer-other-window)
15283 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15284 (pop-to-buffer-other-window)
15285 (pop-to-buffer-same-frame-other-window)
15286 (pop-to-buffer-other-frame): Make them defuns.
15287 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15288
15289 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * subr.el (make-composed-keymap): Move from C. Change calling
15292 convention, and improve docstring to bring attention to a subtle point.
15293 * minibuffer.el (completing-read-default): Adjust accordingly.
15294
15295 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15296
15297 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15298 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15299
15300 * net/trampver.el: Update release number.
15301
15302 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15305 "in" (bug#9190).
15306
15307 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15308
15309 * mail/sendmail.el (sendmail-query-once): Restore the current
15310 buffer after querying (bug#9074).
15311
15312 * dired.el (dired-flagged): Use different faces for marked and
15313 flagged files (bug#6117).
15314
15315 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15316 (bug#4433).
15317
15318 * ido.el (ido-mode): Switch off the message if called
15319 non-interactively.
15320
15321 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15322 before 587, since it appears that that's more likely to work for
15323 more people.
15324
15325 * cus-edit.el (custom-file): When running under emacs -q, always
15326 refuse to save the customizations, even if the .emacs file doesn't
15327 exist.
15328
15329 * info.el: Remove the `Info-beginning-of-buffer' function
15330 (bug#8325).
15331
15332 * net/network-stream.el (network-stream-open-starttls):
15333 Use `starttls-available-p' to see whether starttls.el can be used.
15334
15335 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15336
15337 * window.el (display-buffer-in-window): Don't set dedicated status
15338 of window here (Bug#9215).
15339 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15340 (display-buffer-pop-up-side-window)
15341 (display-buffer-in-side-window): Set dedicated status of window here.
15342
15343 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15344
15345 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15346 before binding generated-autoload-file.
15347
15348 2011-08-01 Deniz Dogan <deniz@dogan.se>
15349
15350 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15351
15352 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15353
15354 Sync with Tramp 2.2.2.
15355
15356 * net/trampver.el: Update release number.
15357
15358 2011-07-30 Juri Linkov <juri@jurta.org>
15359
15360 * dired-aux.el (dired-touch-initial): Remove function.
15361 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15362 current time, and `default' to the last modification time of the
15363 current marked file (bug#6887).
15364
15365 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15366
15367 * simple.el (goto-line): Use string-to-number to provide a
15368 numeric argument to read-number (bug#9163).
15369
15370 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15371
15372 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15373 connection process, it could be nil.
15374
15375 2011-07-27 Leo Liu <sdl.web@gmail.com>
15376
15377 Simplify url handling in rcirc-mode.
15378
15379 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15380 (rcirc-browse-url-at-mouse): Remove.
15381 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15382
15383 2011-07-26 Alan Mackenzie <acm@muc.de>
15384
15385 Fontify bitfield declarations properly.
15386
15387 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15388 (c-symbol-chars): Now exported as a lang variable.
15389 (c-not-primitive-type-keywords): New lang variable.
15390
15391 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15392 QT keyword "more" to prevent "more slots: ...." being spuriously
15393 parsed as a bitfield declaration.
15394
15395 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15396 Refactor and enhance to handle bitfield declarations.
15397 (c-punctuation-in): New function.
15398 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15399 declarations properly.
15400
15401 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15402
15403 * calendar/icalendar.el (icalendar--all-events): Take care of
15404 multiple vcalendars in a single file.
15405 (icalendar--convert-float-to-ical): Checkdoc fixes.
15406
15407 2011-07-25 Deniz Dogan <deniz@dogan.se>
15408
15409 * image.el (insert-image): Clarifying docstring.
15410
15411 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15412
15413 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15414 `tramp-send-command-and-check' if there is no error.
15415 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15416
15417 2011-07-22 Alan Mackenzie <acm@muc.de>
15418
15419 Prevent cc-langs.elc being loaded at run time.
15420
15421 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15422 cc-langs.
15423
15424 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15425 "(require 'cc-langs)". Quote a form so it will evaluate at
15426 (cc-mode's) compilation time.
15427
15428 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15429
15430 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15431 loading. (Bug#9114)
15432
15433 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15434
15435 * window.el (display-buffer-pop-up-window)
15436 (display-buffer-pop-up-side-window)
15437 (display-buffer-in-side-window): Call display-buffer-set-height
15438 and display-buffer-set-width after setting the new window's
15439 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15440
15441 2011-07-20 Sam Steingold <sds@gnu.org>
15442
15443 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15444 (etags-tags-included-tables): Call `convert-standard-filename' on
15445 the file names contained in TAGS so that windows Emacs can handle
15446 TAGS files created by cygwin ctags.
15447
15448 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449
15450 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15451 which apparently didn't work.
15452
15453 2011-07-19 Roland Winkler <winkler@gnu.org>
15454
15455 * proced.el (proced-send-signal): For *Marked Processes* buffer
15456 put point at beginning of buffer.
15457
15458 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15459
15460 * proced.el (proced-format): Make header lines align with the text
15461 (bug#1779).
15462
15463 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15464
15465 * view.el (view-buffer): Allow running in `special' modes if we're
15466 visiting a file (bug#8615).
15467
15468 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15469
15470 * window.el (display-buffer-alist-of-strings-p)
15471 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15472 New functions.
15473 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15474 more accurately.
15475
15476 2011-07-18 Alan Mackenzie <acm@muc.de>
15477
15478 Fontify declarators properly when, e.g., a jit-lock chunk begins
15479 inside a declaration.
15480
15481 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15482
15483 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15484 New function.
15485 (c-complex-decl-matchers): Insert reference to
15486 c-font-lock-enclosing-decls.
15487
15488 * progmodes/cc-engine.el (c-backward-single-comment):
15489 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15490 to nil around calls to (forward-comment -1).
15491
15492 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
15494 * image.el (put-image): Doc typo fix.
15495
15496 * progmodes/etags.el (tags-search): Doc typo fix.
15497
15498 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15499 password if we get errors 550 to 554.
15500
15501 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15502
15503 * net/gnutls.el (gnutls-log-level): Remove.
15504
15505 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15506 indentation character (bug#6380).
15507
15508 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15509
15510 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15511 to clarify what the problem is (bug#4291).
15512
15513 * simple.el (current-kill): Clarify what
15514 `interprogram-paste-function' does (bug#7500).
15515 (auto-fill-mode): Document `auto-fill-function' in relation to
15516 `auto-fill-mode' (bug#2470).
15517
15518 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15519
15520 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15521 method if slot is read-only (bug#9035).
15522
15523 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15524
15525 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15526 * window.el (pop-to-buffer): Select window used even if it was
15527 selected before, see discussion of (Bug#8615), (Bug#6954).
15528 Pass argument NORECORD on to select-frame-set-input-focus.
15529
15530 2011-07-15 Glenn Morris <rgm@gnu.org>
15531
15532 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15533 Respect help-form.
15534
15535 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15536
15537 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15538 (gnutls-negotiate): Use it.
15539
15540 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15541
15542 * net/gnutls.el (gnutls-negotiate):
15543 Upcase `gnutls-algorithm-priority'.
15544
15545 2011-07-15 Glenn Morris <rgm@gnu.org>
15546
15547 * jka-compr.el (jka-compr-verbose): Move from here...
15548 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15549 Add missing :version tag.
15550 * info.el: No need to require jka-compr when compiling.
15551
15552 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15553
15554 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15555 (gnutls-negotiate): Use it.
15556
15557 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15558
15559 * info.el (Info-beginning-of-buffer): New command.
15560 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15561 announcing `b' as the key (bug#8325).
15562 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15563
15564 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15565
15566 * international/mule-cmds.el
15567 (describe-specified-language-support): Make the error message
15568 clearer (bug#8905).
15569
15570 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15571
15572 * isearch.el (isearch-barrier): Add a doc string, since it's
15573 mentioned in a function doc string (bug#8678).
15574
15575 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15576
15577 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15578 buffer argument (Bug#9083) and self-identifying label argument.
15579
15580 2011-07-15 Glenn Morris <rgm@gnu.org>
15581
15582 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15583
15584 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15585
15586 * man.el (Man-fontify-manpage): Fix message when formatting the
15587 man page (bug#7929).
15588
15589 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15590
15591 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15592 argument LRM; if non-nil, append an invisible LRM character to the
15593 buffer name.
15594 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15595 last argument non-nil, when formatting buffer names.
15596 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15597 paragraph direction.
15598
15599 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15600
15601 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15602 the man page name (bug#7929).
15603
15604 * image.el (put-image): Mention the `put-image' overlay property
15605 (bug#7834).
15606
15607 * scroll-bar.el (set-scroll-bar-mode): Mention that
15608 `scroll-bar-mode' lists the values (bug#7772).
15609
15610 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15611 command (bug#7729).
15612
15613 * rect.el (apply-on-rectangle): Return the point after the last
15614 operation.
15615 (string-rectangle): Go to the point after the last operation
15616 (bug#7522).
15617
15618 * printing.el (pr-toggle-region): Clarify the documentation
15619 slightly (bug#7493).
15620
15621 * time.el (display-time-update):
15622 Allow `display-time-mail-function' to return nil (bug#7158).
15623 Fix suggested by Detlev Zundel.
15624
15625 * vc/diff.el (diff): Clarify the order the file names are read
15626 (bug#7111).
15627
15628 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15629 the doc string (bug#7015).
15630
15631 * font-lock.el (font-lock-maximum-decoration): Mention what
15632 numeric levels mean (bug#6935).
15633
15634 * startup.el (initial-buffer-choice): Don't mention the `none'
15635 selection, which is against policy.
15636
15637 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15638
15639 * window.el (display-buffer-normalize-special):
15640 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15641
15642 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15643
15644 * subr.el (version<, version<=, version=): Mention "-CVS" and
15645 "-12345" alpha version numbers.
15646
15647 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15648
15649 * bindings.el: Add advertised binding for set-mark-command
15650 (Bug#5772).
15651
15652 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15653
15654 * bindings.el (mode-line-other-buffer):
15655 * bookmark.el (bookmark-bmenu-2-window):
15656 * bs.el (bs-cycle-next, bs-cycle-previous):
15657 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15658 switch-to-buffer.
15659
15660 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15661 Delete.
15662
15663 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15664
15665 * follow.el (follow-debug-message, follow-redisplay):
15666 * jka-cmpr-hook.el (with-auto-compression-mode):
15667 Fix typos in docstrings.
15668
15669 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15670
15671 * subr.el (with-silent-modifications): Clarify somewhat what the
15672 macro inhibits (bug#6525).
15673
15674 * simple.el (eval-expression): Note what it does if called
15675 interactively (bug#6495).
15676
15677 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15678
15679 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15680 Use pop-to-buffer buffer-or-name if it is nil.
15681
15682 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15683 Remove switch-to-buffer.
15684
15685 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * files.el (make-directory): Clarify that an error will be raised
15688 if there's an error (bug#6397).
15689
15690 * startup.el (initial-buffer-choice): Add `none' as a choice
15691 (bug#6234).
15692
15693 * subr.el (add-hook): Clarify section about buffer-local hooks
15694 (bug#6218).
15695
15696 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15697
15698 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15699
15700 * tabify.el (untabify): Preserve the current column so that point
15701 doesn't move (bug#6032).
15702
15703 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15704
15705 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15706 Rewrite to avoid awkward possessive "s" (bug#5986).
15707
15708 2011-07-13 Glenn Morris <rgm@gnu.org>
15709
15710 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15711 (dired-insert-directory): Give a message the first time
15712 if ls is found not to support --dired.
15713
15714 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15715
15716 * simple.el (toggle-truncate-lines): Clarify what is toggled
15717 (bug#5580). Text by Drew Adams.
15718
15719 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15720
15721 * simple.el (blink-matching-open): Make the error message from the
15722 last change less verbose.
15723
15724 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15725
15726 * font-lock.el (font-lock-comment-face): Use the high contrast
15727 "yellow" color for font-lock-comment-face on low color terminals
15728 using a dark background color (bug#4221).
15729
15730 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15731
15732 * dired.el (dired-insert-set-properties): Make the doc string
15733 reflect what it does now (bug#5325).
15734
15735 * simple.el (blink-matching-open): Say that we were unable to find
15736 the match within the limit, if we're limited (bug#5122).
15737
15738 * international/mule-cmds.el (prefer-coding-system): Add an
15739 example (bug#4869).
15740
15741 * progmodes/etags.el (tags-search): Document `file-list-form'
15742 (bug#4731).
15743
15744 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15745
15746 * net/browse-url.el (browse-url-default-browser)
15747 (browse-url-browser-function): Make the default browser choice a
15748 bit more logical (bug#4300). Also clean up the doc string.
15749
15750 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15751
15752 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15753 binary endings (bug#4440).
15754
15755 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15756
15757 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15758 which can be pretty annoying (bug#8971).
15759
15760 * jka-compr.el (jka-compr-verbose): New variable, and use
15761 throughout (bug#8971).
15762
15763 * info.el (Info-find-file): Fall back on the installation
15764 directory if we can't find the info node anywhere else.
15765
15766 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15767
15768 * vc/vc.el (vc-revert-file):
15769 Don't set file time-stamp in the past. (Bug#5181)
15770
15771 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772
15773 * files.el (after-find-file): Give a better error message when
15774 trying to find a symlink that points to a file that doesn't exist
15775 (bug#4398).
15776
15777 * progmodes/cc-vars.el: Remove (probably) misleading comment
15778 (bug#4396).
15779
15780 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15781
15782 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15783
15784 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15785
15786 * mouse-sel.el: Hack restoring functionality, while keeping
15787 compatibility with 2010-07-03 changes to mouse selection.
15788 (mouse-sel-primary-overlay): New var.
15789 (mouse-sel-selection-alist): Use it.
15790 (mouse-sel-mode): Doc fix; remove points that are default features
15791 of mouse.el.
15792
15793 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15794
15795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15796 Fix previous fix (bug#2490).
15797
15798 2011-07-12 Roland Winkler <winkler@gnu.org>
15799
15800 * textmodes/bibtex.el (bibtex-initialize):
15801 Use pop-to-buffer-same-window.
15802 (bibtex-search-entries): Fix interactive call.
15803
15804 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15805
15806 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15807 Fontise bytecomp Error lines more correctly (bug#2490).
15808 Fix suggested by Johan Bockgård.
15809
15810 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15811
15812 * dired-x.el (dired-guess-default): Use `delete-dups'.
15813
15814 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15815
15816 * dired.el (dired-mark-prompt):
15817 * dired-aux.el (dired-read-shell-command): Doc fix.
15818
15819 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15820
15821 * mail/sendmail.el (sendmail-query-once):
15822 Use `customize-save-variable' unconditionally, now that it works under
15823 emacs -Q.
15824
15825 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15826
15827 * cus-edit.el (custom-file): Take an optional no-error variable.
15828 (customize-save-variable): Set the variable, and give a warning if
15829 running under "emacs -q".
15830
15831 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15832
15833 * loadhist.el (unload-feature-special-hooks):
15834 Add `auto-coding-functions', `fill-nobreak-predicate' and
15835 `find-directory-functions' (bug#5327).
15836
15837 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15838
15839 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15840
15841 * cus-edit.el (custom-guess-name-alist): -alist variables should
15842 use the `alist' type (bug#3120). Suggested by Drew Adams.
15843
15844 * printing.el: Add documentation to all the `pr-toggle-' commands.
15845
15846 2011-07-11 Leo Liu <sdl.web@gmail.com>
15847
15848 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15849 backends where it makes sense (bug#2623).
15850
15851 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15852
15853 * dired-x.el (dired-guess-default): Remove duplicate shell command
15854 entries (bug#2028).
15855 (dired-guess-default): Fix grammar in doc string (bug#2028).
15856 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15857
15858 * subr.el (remove-duplicates): New conveniency function.
15859
15860 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15861
15862 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15863 (bug#1526).
15864
15865 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15866
15867 * window.el (display-buffer-normalize-default): Don't invert
15868 meaning of even-window-heights. Reported by Eli Zaretskii
15869 <eliz@gnu.org>.
15870
15871 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15872
15873 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15874
15875 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15876
15877 * window.el (display-buffer): Fix arguments to
15878 display-buffer-reuse-window in last change.
15879
15880 * faces.el (link): Use a less saturated blue on light backgrounds.
15881
15882 * startup.el (fancy-startup-text, fancy-about-text)
15883 (fancy-startup-tail): Use font-lock faces, for background safety.
15884
15885 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15886
15887 * emulation/viper-cmd.el (viper-change-state-to-vi):
15888 Limit triggering of abbrev expansion (Bug#9038).
15889
15890 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15891
15892 * window.el (display-buffer-default-specifiers): Remove.
15893 (display-buffer-macro-specifiers): Remove default specifiers.
15894 (display-buffer-alist): Default to nil.
15895 (display-buffer-reuse-window): New optional argument other-window.
15896 (display-buffer-pop-up-window): Allow splitting internal
15897 windows. Check whether a live window was created.
15898 (display-buffer-other-window-means-other-frame)
15899 (display-buffer-normalize-arguments): Rename to
15900 display-buffer-normalize-argument and rewrite. Set the
15901 other-window specifier.
15902 (display-buffer-normalize-special): New function.
15903 (display-buffer-normalize-options): Rename to
15904 display-buffer-normalize-default and rewrite.
15905 (display-buffer-normalize-options-inhibit): Remove.
15906 (display-buffer-normalize-specifiers): Rewrite.
15907 (display-buffer): Process other-window specifier and call
15908 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15909 more faithfully.
15910 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15911 (display-buffer-alist-set): Don't handle 'unset default values.
15912 (display-buffer-in-window, display-buffer-alist-set):
15913 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15914 <tassilo@member.fsf.org>.
15915
15916 2011-07-09 Leo Liu <sdl.web@gmail.com>
15917
15918 * register.el (insert-register): Restore accidental change on
15919 2011-06-26. (Bug#9028)
15920
15921 2011-07-09 Glenn Morris <rgm@gnu.org>
15922
15923 * subr.el (remq): Handle the empty list. (Bug#9024)
15924
15925 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15926
15927 * mail/sendmail.el (send-mail-function): No longer delay custom
15928 initialization.
15929 * custom.el (custom-initialize-delay): Doc fix.
15930
15931 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15932
15933 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15934
15935 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15936
15937 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15938 human-friendly prompt.
15939
15940 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15941
15942 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15943 provided by a particular plugin.
15944
15945 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15946
15947 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15948 save customizations (with "emacs -Q"), just set the variable
15949 instead of erroring out.
15950
15951 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15952
15953 2011-07-08 Juri Linkov <juri@jurta.org>
15954
15955 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15956 (archive-zip-update-case): Use 7z if found by `executable-find'.
15957 The order of searching the available programs is the same as in
15958 `archive-zip-extract' (bug#8968).
15959
15960 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15961
15962 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15963 (menu-bar-options-menu): Tweak descriptions.
15964
15965 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15966
15967 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15968 menu items into verb phrases (bug#1421). Also refill to fit under
15969 80 columns.
15970
15971 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15972
15973 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15974 (Info-read-node-name): Doc fix (Bug#1084).
15975
15976 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15977 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15978 (end-of-sexp, beginning-of-sexp)
15979 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15980 (forward-symbol, forward-same-syntax, word-at-point)
15981 (sentence-at-point): Doc fix (Bug#1144).
15982
15983 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15984
15985 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15986 should cover it (bug#1281).
15987
15988 * cus-edit.el (custom-show): Mark as obsolete.
15989
15990 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15991 negotiation fails, then possibly try again with a non-encrypted
15992 connection (bug#9017).
15993
15994 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15995 be used.
15996
15997 2011-07-07 Richard Stallman <rms@gnu.org>
15998
15999 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16000 property, and handle its changed format.
16001 Look for the correct line number.
16002 Use file's line contents (but not past first =) to find
16003 correct line in message.
16004
16005 2011-07-07 Kenichi Handa <handa@m17n.org>
16006
16007 * international/characters.el (build-unicode-category-table):
16008 Delete it.
16009 (unicode-category-table): Set it by unicode-property-table-internal.
16010
16011 * international/mule-cmds.el (char-code-property-alist): Move to
16012 to src/chartab.c.
16013 (get-char-code-property): Call unicode-property-table-internal to
16014 load a file. Call get-unicode-property-internal where necessary.
16015 (put-char-code-property): Call unicode-property-table-internal to
16016 load a file. Call put-unicode-property-internal where necessary.
16017 put-unicode-property-internal where necessary.
16018 (char-code-property-description):
16019 Call unicode-property-table-internal to load a file.
16020
16021 * international/charprop.el:
16022 * international/uni-bidi.el:
16023 * international/uni-category.el:
16024 * international/uni-combining.el:
16025 * international/uni-comment.el:
16026 * international/uni-decimal.el:
16027 * international/uni-decomposition.el:
16028 * international/uni-digit.el:
16029 * international/uni-lowercase.el:
16030 * international/uni-mirrored.el:
16031 * international/uni-name.el:
16032 * international/uni-numeric.el:
16033 * international/uni-old-name.el:
16034 * international/uni-titlecase.el:
16035 * international/uni-uppercase.el: Regenerate.
16036
16037 * loadup.el: Load international/charprop.el before
16038 international/characters.
16039
16040 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16041
16042 * window.el (next-buffer, previous-buffer): Signal an error if
16043 called from a minibuffer window.
16044
16045 * bindings.el: Revert 2011-07-04 change.
16046
16047 2011-07-06 Richard Stallman <rms@gnu.org>
16048
16049 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16050 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16051 Treat markers like ints.
16052 (rmail-mime-entity): Doc fix.
16053
16054 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
16056 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16057 defcustom again for backwards compatibility.
16058
16059 * simple.el (shell-command-on-region): Fill.
16060
16061 * dired-aux.el (dired-kill-line): Add a doc string.
16062
16063 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16064 to "\\sw\\|\\s_" (bug#358).
16065
16066 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16067 (dired-unmark-backward): Ditto.
16068 (dired-flag-backup-files): Ditto.
16069
16070 * dired-x.el (dired-mark-sexp): Ditto.
16071
16072 2011-07-06 Richard Stallman <rms@gnu.org>
16073
16074 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16075 (rmail-mime-entity): New arg TRUNCATED.
16076 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16077 New functions.
16078 (rmail-mime-save): Warn if entity is truncated.
16079 (rmail-mime-toggle-hidden): Likewise, for showing.
16080 (rmail-mime-process-multipart): Record when an entity is truncated.
16081
16082 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16083 if ENTITY is a string.
16084
16085 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16086
16087 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16088 of faces when `M-C-x'-ing their definitions (bug#8378).
16089 Also clean up the code slightly.
16090
16091 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16092 because that makes the colors go away.
16093
16094 * mail/sendmail.el (send-mail-function): Change the default to
16095 `sendmail-query-once'.
16096 (sendmail-query-once): Add an autoload cookie.
16097
16098 * net/network-stream.el (network-stream-open-starttls): Try using
16099 a plain connection even if the server offered STARTTLS, and we
16100 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16101 capability. This should make smtpmail.el work in slightly more
16102 configurations.
16103
16104 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16105
16106 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16107 New defun.
16108 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16109
16110 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16111
16112 * progmodes/sql.el: Version 3.0
16113 (sql-product-alist): Add product :completion-object,
16114 :completion-column, and :statement attributes.
16115 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16116 (sql-mode-syntax-table): Mark all punctuation.
16117 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16118 ansi keywords.
16119 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16120 (sql-mode-oracle-font-lock-keywords): Improve.
16121 (sql-oracle-show-reserved-words): New function for development.
16122 (sql-product-font-lock): Simplify for source code buffers.
16123 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16124 New functions.
16125 (sql-highlight-product): Set product specific syntax table.
16126 (sql-mode-map): Add statement movement functions.
16127 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16128 New variable.
16129 (sql-statement-regexp, sql-beginning-of-statement)
16130 (sql-end-of-statement, sql-signum): New functions.
16131 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16132 (sql-show-sqli-buffer): Bug fix.
16133 (sql-interactive-mode): Store connection data as buffer local.
16134 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16135 with sql-interactive-mode.
16136 (sql-save-connection): Save buffer local settings.
16137 (sql-connection-menu-filter): Change menu entry name.
16138 (sql-product-interactive): Bug fix.
16139 (sql-preoutput-hold): New variable.
16140 (sql-interactive-remove-continuation-prompt): Bug fixes.
16141 (sql-debug-redirect): New variable.
16142 (sql-str-literal): New function.
16143 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16144 Redesign.
16145 (sql-oracle-save-settings, sql-oracle-restore-settings)
16146 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16147 (sql-completion-object, sql-completion-column)
16148 (sql-completion-sqlbuf): New variables.
16149 (sql-build-completions-1, sql-build-completions)
16150 (sql-try-completion): New functions.
16151 (sql-read-table-name): Use them.
16152 (sql-contains-names): New buffer local variable.
16153 (sql-list-all, sql-list-table): Use it.
16154 (sql-oracle-completion-types): New variable.
16155 (sql-oracle-completion-object, sql-sqlite-completion-object)
16156 (sql-postgres-completion-object): New functions.
16157
16158 2011-07-06 Glenn Morris <rgm@gnu.org>
16159
16160 * window.el (pop-to-buffer): Doc fix.
16161
16162 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16163
16164 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16165
16166 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16167
16168 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16169
16170 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16171
16172 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16173
16174 * button.el (button): Inherit from link face. Suggested by Dan
16175 Nicolaescu.
16176
16177 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * progmodes/gdb-mi.el: Fit in 80 columns.
16180 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16181 switch-to-buffer.
16182
16183 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16184 if imenu is simply not configured (bug#8941).
16185
16186 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16187
16188 * allout.el (allout-post-undo-hook): New allout outline-change
16189 event hook to signal undo activity.
16190 (allout-post-command-business): Run allout-post-undo-hook if an
16191 undo just occurred.
16192 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16193 * allout-widgets.el (allout-widgets-after-undo-function):
16194 Ensure the integrity of the current item's decoration after it has been
16195 in the vicinity of an undo.
16196 (allout-widgets-mode): Include allout-widgets-after-undo-function
16197 on the new allout-post-undo-hook.
16198
16199 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16200
16201 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16202 Let define-derived-mode define it.
16203 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16204 cycles of abbrev-table inheritance (bug#8998).
16205
16206 2011-07-05 Roland Winkler <winkler@gnu.org>
16207
16208 * textmodes/bibtex.el: Add support for biblatex.
16209 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16210 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16211 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16212 (bibtex-entry-alist, bibtex-field-alist): New variables.
16213 (bibtex-entry-field-alist): Obsolete alias for
16214 bibtex-BibTeX-entry-alist.
16215 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16216 (bibtex-set-dialect): New command.
16217 (bibtex-entry-type, bibtex-entry-head)
16218 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16219 Bind via bibtex-set-dialect.
16220 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16221 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16222 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16223 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16224 Define via bibtex-set-dialect.
16225 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16226 Obey bibtex-no-opt-remove-re.
16227 (bibtex-vec-push, bibtex-vec-incr): New functions.
16228 (bibtex-format-entry, bibtex-field-list)
16229 (bibtex-print-help-message, bibtex-validate)
16230 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16231
16232 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * progmodes/compile.el (compilation-goto-locus):
16235 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16236 * bs.el (bs-cycle-next, bs-cycle-previous):
16237 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16238 * bindings.el (mode-line-other-buffer):
16239 * autoinsert.el (auto-insert):
16240 * arc-mode.el (archive-extract):
16241 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16242
16243 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16244
16245 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16246 Fix check of `emacs-lock-unlockable-modes'.
16247 Coerce true values of `emacs-lock--try-unlocking' to t.
16248
16249 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16250
16251 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16252 * emacs-lock.el: New file.
16253
16254 2011-07-05 Julien Danjou <julien@danjou.info>
16255
16256 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16257 than `boundp' to check if face is set.
16258
16259 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16260
16261 * register.el (registerv-make):
16262 * window.el (window-min-height): Fix typos in docstrings.
16263
16264 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16265
16266 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16267 Update doc string.
16268
16269 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16270
16271 * server.el (server-execute): Catch quit and call
16272 `server-return-error' to pass the error back to emacsclient and
16273 close the connection (bug#8942).
16274
16275 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16276
16277 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16278 insecure exception for current topic. Also note that auto-saves
16279 are handled differently.
16280
16281 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16282 State variables for tracking auto-save inhibition situation.
16283
16284 (allout-write-contents-hook-handler): Rename from
16285 'allout-write-file-hook-handler', and describe how it depends on
16286 write-contents-functions sensitivity to non-nil value to prevent
16287 file write.
16288
16289 (allout-auto-save-hook-handler): Remove. auto-save does not check
16290 this in individual buffers, only in the starting buffer, so this
16291 is not the right way for us to inhibit auto-save in a buffer
16292 according to its condition.
16293
16294 (allout-mode): Use new allout-write-contents-hook-handler, and
16295 only with write-contents-functions. Remove auto-save provisions -
16296 they're implemented elsewhere.
16297
16298 (allout-before-change-handler): If undo is in progress, note that
16299 for attention of allout-post-command-business.
16300
16301 (allout-post-command-business): If the command we're following was
16302 an undo, check for change in the status of encrypted items and
16303 adjust auto-save inhibitions accordingly.
16304
16305 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16306 according to whether there are or aren't any plain-text topics
16307 pending encryption.
16308
16309 (allout-inhibit-auto-save-info-for-decryption):
16310 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16311 if there are plain-text topics pending encryption.
16312
16313 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16314 buffer-saved-size and some allout state to not inhibit auto-saves
16315 if there are no longer any plain-text topics pending encryption.
16316
16317 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16318 No longer provide for exemption of the current topic.
16319
16320 2011-07-04 Juri Linkov <juri@jurta.org>
16321
16322 Add 7z operations to delete and save changed members (bug#8968).
16323 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16324 New defcustoms.
16325 (archive-7z-write-file-member): New function.
16326 (archive-7z-summarize): Fix the number of dashes in the
16327 listing output.
16328
16329 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16332 (bug#8958).
16333
16334 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16335
16336 * bindings.el: Ignore next-buffer and previous-buffer in
16337 minibuffer-local-map.
16338
16339 * font-lock.el (font-lock-builtin-face): Change light background
16340 color to dark slate blue (Bug#6693).
16341
16342 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16343
16344 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16345
16346 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16347
16348 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16349 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16350 Add switch-to-buffer.
16351
16352 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16353
16354 * isearch.el (isearch-search-fun-function): Clarify further the
16355 meaning of the function returned.
16356
16357 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16358
16359 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16360
16361 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16362 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16363 Use it.
16364 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16365 `tramp-default-remote-path' does not exist.
16366 (tramp-send-command-and-read): New optional argument NOERROR.
16367 (tramp-open-connection-setup-interactive-shell)
16368 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16369 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16370 (tramp-process-sentinel): Flush also process' connection property.
16371 (tramp-sh-handle-start-file-process): Do not set process
16372 sentinel. It is done now ...
16373 (tramp-maybe-open-connection): ... here. (Bug#8929)
16374
16375 2011-07-04 MON KEY <monkey@sandpframing.com>
16376
16377 * play/animate.el (animate-string): Doc fixes and allow changing
16378 the buffer name (bug#5417).
16379
16380 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
16382 * play/animate.el (animation-buffer-name): Rename from *animate*.
16383
16384 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16385
16386 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16387 This is simpler and helps future-proof the code.
16388 (timer-until): Use time-subtract and float-time.
16389 (timer--time-less-p): Use time-less-p.
16390
16391 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16392
16393 * type-break.el (timep): Use the value of `float-time' to avoid a
16394 byte-compiler warning.
16395
16396 * server.el (server-eval-and-print): Return any result, even nil.
16397
16398 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16399
16400 * type-break.el: Accept time formats that the builtins accept.
16401 (timep, type-break-time-difference): Accept any format that
16402 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16403 This is simpler and helps future-proof the code.
16404 (type-break-time-difference): Round rather than ignoring
16405 subseconds components.
16406
16407 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16408
16409 * info.el (Info-apropos-matches): Make non-interactive, since it
16410 doesn't seem to do anything useful as a command (bug#8829).
16411
16412 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16413
16414 * frame.el (frame-background-mode, frame-set-background-mode):
16415 Move from faces.el.
16416 (frame-default-terminal-background): New function.
16417
16418 * custom.el (custom-push-theme): Don't record faces in `changed'
16419 theme; this doesn't work correctly for per-frame face settings.
16420 (disable-theme): Use face-set-after-frame-default to reset faces.
16421 (custom--frame-color-default): New function.
16422
16423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16424
16425 * dired.el (dired-flagging-regexp): Remove unused variable
16426 (bug#8769).
16427
16428 2011-03-29 Kevin Ryde <user42@zip.com.au>
16429
16430 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16431 `perl-Test2' extend to match possible "fail #N" rep count
16432 (bug#8377).
16433
16434 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16435
16436 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16437 `smtpmail-via-smtp' now returns the error instead of nil.
16438
16439 * isearch.el (isearch-search-fun-function): Clarify the doc string
16440 (bug#8101).
16441
16442 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16443
16444 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16445 unnecessary spaces (bug#8987).
16446
16447 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16448
16449 * net/network-stream.el (open-network-stream): Use the
16450 :end-of-capability command thoughout.
16451
16452 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16453
16454 * net/network-stream.el (open-network-stream): Add the
16455 :end-of-capability command parameter, used by pop3.el.
16456
16457 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16458
16459 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16460
16461 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16462 for list)" (bug#6475).
16463
16464 * files.el (file-expand-wildcards): Ignore non-readable
16465 sub-directories while trying to find matches instead of signaling
16466 an error (bug#6297).
16467
16468 * man.el (Man-reference-regexp): Allow matching possible
16469 word-wrapped references (bug#6289).
16470
16471 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16472 for consistency with the other vc buffers (bug#6197).
16473 (vc-checkin): Ditto.
16474
16475 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16476
16477 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16478
16479 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16480
16481 * custom.el (defcustom): Clarify that :set is only used in the
16482 Customize user interface (bug#6089).
16483
16484 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16485 associated with a file, refuse to run instead of erroring out
16486 (bug#6084).
16487
16488 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16489 the doc string, since it appears that using `fill-column' always
16490 controls the width (bug#7845).
16491
16492 * simple.el (shell-command-on-region): Say where the error output
16493 went if `shell-command-default-error-buffer' is set (bug#6857).
16494
16495 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16496
16497 * allout.el (allout-yank-processing): Adjust cursor position for
16498 backwards-deleted space.
16499
16500 (allout-rebullet-heading): Register changes with
16501 allout-exposure-changed-hook, so the modified topic is properly
16502 decorated.
16503
16504 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16505
16506 * minibuffer.el (completion-in-region): Document PREDICATE
16507 (bug#7136).
16508
16509 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16510 of keyword/argument pairs (bug#6904).
16511
16512 * replace.el (multi-occur):
16513 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16514
16515 2011-07-02 Drew Adams <drew.adams@oracle.com>
16516
16517 * dired.el (dired-mark-if): Make the message about whether it's
16518 marking or unmarking clearer (bug#8523).
16519
16520 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16521
16522 * disp-table.el (display-table-print-array): New function.
16523 (describe-display-table): Use it to print the vectors more pretty
16524 (Bug#8859).
16525
16526 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16527
16528 * window.el (window-state-get-1): Don't assign clone numbers.
16529 Add clone-of item to list of window parameters.
16530 (window-state-put-2): Don't process clone numbers.
16531 (display-buffer-alist): Fix doc-string.
16532
16533 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16534
16535 * subr.el (remq): Don't allocate if it's not needed.
16536 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16537 (keymap--merge-bindings): New functions.
16538 (keymap-canonicalize): Use them to refine the canonicalization.
16539 * minibuffer.el (minibuffer-local-completion-map)
16540 (minibuffer-local-must-match-map): Move initialization from C.
16541 (minibuffer-local-filename-completion-map): Move initialization from C;
16542 don't inherit from anything here.
16543 (minibuffer-local-filename-must-match-map): Make obsolete.
16544 (completing-read-default): Use make-composed-keymap to combine
16545 minibuffer-local-filename-completion-map with either
16546 minibuffer-local-must-match-map or
16547 minibuffer-local-filename-completion-map.
16548
16549 2011-07-01 Glenn Morris <rgm@gnu.org>
16550
16551 * type-break.el (type-break-time-sum): Use dolist.
16552
16553 * textmodes/flyspell.el (flyspell-word-search-backward):
16554 Replace CL function.
16555
16556 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * mouse.el (mouse--strip-first-event): New function.
16559 (function-key-map): Use it to map fringe clicks to normal clicks
16560 by default.
16561
16562 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16563 (vc-bzr-revision-completion-table): Add support for annotate and date.
16564
16565 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16566 inherit from parent.
16567
16568 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16569
16570 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16571 (dired-show-file-type): Doc fixup (bug#8818).
16572
16573 * dired.el (dired-mode): Fix up the doc string as suggested by
16574 Drew Adams (bug#8817).
16575
16576 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16577 cookie, since the manual says that it should be possible to add
16578 this function to `find-file-hook' (bug#8709).
16579
16580 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16581
16582 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16583 here. Noted Ted Zlatanov as the maintainer.
16584 (cfengine-common-settings, cfengine-common-syntax): New functions
16585 to set up common things between `cfengine-mode' and
16586 `cfengine3-mode'.
16587 (cfengine3-mode): New mode.
16588 (cfengine3-defuns cfengine3-defuns-regex
16589 (cfengine3-class-selector-regex cfengine3-category-regex)
16590 (cfengine3-vartypes cfengine3-font-lock-keywords)
16591 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16592 (cfengine3-indent-line): Add from cfengine3.el.
16593
16594 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16595
16596 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16597
16598 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16599
16600 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16601
16602 * window.el (same-window-buffer-names, same-window-regexps)
16603 (same-window-p, special-display-frame-alist)
16604 (special-display-popup-frame, special-display-function)
16605 (special-display-buffer-names, special-display-regexps)
16606 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16607 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16608 (split-window-preferred-function, split-height-threshold)
16609 (split-width-threshold, even-window-heights)
16610 (display-buffer-mark-dedicated, window-splittable-p)
16611 (split-window-sensibly, window-safely-shrinkable-p):
16612 Un-obsolete.
16613 (display-buffer): Don't spread args with function specifier
16614 because special-display-popup-frame won't like it.
16615
16616 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16617
16618 Time-stamp simplifications and fixes.
16619 These improve accuracy slightly, and future-proof the code
16620 against some potential changes to current-time format.
16621
16622 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16623 by using time-since and float-time.
16624
16625 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16626 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16627 + NNN microseconds".
16628
16629 * type-break.el (type-break-time-sum): Rewrite using time-add.
16630
16631 * play/hanoi.el (hanoi-current-time-float): Remove.
16632 All uses replaced by float-time.
16633
16634 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16635 This yields a more-accurate answer.
16636 (rng-time-to-float): Remove; no longer needed.
16637
16638 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16639
16640 * calendar/timeclock.el (timeclock-seconds-to-time):
16641 Defalias to seconds-to-time, since they're the same thing.
16642
16643 * emacs-lisp/elp.el (elp-elapsed-time):
16644 * emacs-lisp/benchmark.el (benchmark-elapse):
16645 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16646
16647 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16648
16649 * window.el (bury-buffer): Don't iconify the only frame.
16650 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16651 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16652
16653 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16654
16655 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16656 Add mouse-yank-primary.
16657
16658 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16659
16660 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16661
16662 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16663
16664 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16665 (find-library-name): Use it to find relative load names when provided
16666 absolute file name (bug#8803).
16667
16668 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16669
16670 * textmodes/flyspell.el (flyspell-word): Consider words that
16671 differ only in case as potential doublons (bug#5687).
16672
16673 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16674 Remove two rather uninteresting debugging-like messages to make
16675 debbugs.el more silent.
16676
16677 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16678 a password-like phrase.
16679
16680 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16681
16682 * progmodes/cc-guess.el: New file.
16683
16684 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16685
16686 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16687 derived from `c-basic-common-init'.
16688
16689 * progmodes/cc-mode.el (top-level): Require cc-guess.
16690 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16691
16692 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16693
16694 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16695
16696 2011-06-30 Alan Mackenzie <acm@muc.de>
16697
16698 * progmodes/cc-engine.el (c-guess-continued-construct):
16699 Correct the handling of template-args-cont, particularly for when font
16700 lock is disabled. Name this case as "CASE G".
16701
16702 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16703
16704 * allout.el (allout-yank-processing): Fix injection of extra space
16705 between bullet and non-whitespace character in first topic when
16706 pasting, ensuring that the actual spacing in the pasted topic
16707 following the bullet char is preserved. This extra space was
16708 causing pasted encrypted topics to get a decrypted status even
16709 when the content was actually still encrypted. Now the decryption
16710 status from before the paste is preserved.
16711
16712 (allout-flag-region): Set all allout overlays so they evaporate
16713 when reduced to zero length (evanescent), to prevent overlay
16714 leakage.
16715
16716 2011-06-30 Glenn Morris <rgm@gnu.org>
16717
16718 * w32-fns.el (w32-charset-info-alist): Declare.
16719
16720 * find-dired.el (find-grep-options): Simplify.
16721
16722 * term/ns-win.el (ns-set-resource): Declare.
16723
16724 * ses.el (row, col): Declare dynamic variables honestly.
16725
16726 * textmodes/reftex-parse.el (index-tags): Declare.
16727
16728 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16729
16730 * cus-edit.el (customize-push-and-save): New function.
16731
16732 * files.el (hack-local-variables-confirm): Use it.
16733
16734 * custom.el (load-theme): New arg NO-CONFIRM.
16735 Use customize-push-and-save (Bug#8720).
16736 (custom-enabled-themes): Doc fix.
16737
16738 * cus-theme.el (customize-create-theme)
16739 (custom-theme-merge-theme): Callers to load-theme changed.
16740
16741 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16742
16743 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16744 short URLs have at least one dot in them (bug #7614).
16745
16746 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16747 nil, because using a pty is apparently too slow (bug #895).
16748
16749 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16750
16751 * mail/sendmail.el (sendmail-query-once): New function.
16752 (sendmail-query-once-function): New variable.
16753
16754 2011-06-29 Glenn Morris <rgm@gnu.org>
16755
16756 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16757
16758 * ses.el (top-level): Require cl when compiling.
16759 (ses-set-localvars): Fix error statement.
16760 Call it at compile time to silence a storm of warnings.
16761
16762 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16763
16764 * window.el (normalize-live-buffer): Rename to
16765 window-normalize-buffer.
16766 (normalize-live-frame): Rename to window-normalize-frame.
16767 (normalize-any-window): Rename to window-normalize-any-window.
16768 (normalize-live-window): Rename to window-normalize-live-window.
16769 (make-window-atom): Rename to window-make-atom.
16770 (window-resize-reset): Rename to window--resize-reset.
16771 (window-resize-reset-1): Rename to window--resize-reset-1.
16772 (resize-mini-window): Rename to window--resize-mini-window.
16773 (resize-subwindows-skip-p): Rename to
16774 window--resize-subwindows-skip-p.
16775 (resize-subwindows-normal): Rename to
16776 window--resize-subwindows-normal.
16777 (resize-subwindows): Rename to window--resize-subwindows.
16778 (resize-other-windows): Rename to window--resize-siblings.
16779 (resize-this-window): Rename to window--resize-this-window.
16780 (resize-root-window): Rename to window--resize-root-window.
16781 (resize-root-window-vertically): Rename to
16782 window--resize-root-window-vertically.
16783 (normalize-buffer-to-display): Rename to
16784 window-normalize-buffer-to-display.
16785 (normalize-buffer-to-switch-to): Rename to
16786 window-normalize-buffer-to-switch-to.
16787 Correspondingly update all callers of the functions listed
16788 above.
16789 (display-buffer-alist, display-buffer-normalize-arguments)
16790 (display-buffer-normalize-options, display-buffer)
16791 (display-buffer-alist-set): Use "function" instead of
16792 "fun-with-args".
16793
16794 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16795
16796 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16797 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16798 debbugs.gnu.org. Mention acknowledgment email.
16799
16800 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16801
16802 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16803 buffer multibyteness, since it shouldn't matter.
16804
16805 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16806
16807 * window.el (display-buffer-in-side-window): Handle dedicated
16808 windows as in display-buffer-reuse-window.
16809 (display-buffer-normalize-alist): Use value of override
16810 specifier.
16811 (display-buffer-normalize-specifiers): Use value of
16812 other-window-means-other-frame specifier.
16813 (display-buffer-alist): Rewrite some texts in widgets.
16814 (display-buffer): Spread arguments when calling function
16815 specified by fun-with-args.
16816
16817 2011-06-28 Deniz Dogan <deniz@dogan.se>
16818
16819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16820 Unnest `let'.
16821
16822 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16823 selectors (Bug#5732).
16824 (css-proprietary-nmstart-re): Use `regexp-opt'.
16825
16826 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16827
16828 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16829 (eshell-ls-date-format): New defcustom.
16830 (eshell-ls-file): Use it.
16831
16832 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16835
16836 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16837
16838 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16839 (ange-ftp-make-tmp-name): New arg.
16840 (ange-ftp-file-local-copy): Use it.
16841
16842 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16843
16844 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16845 no-conversion (Bug#8870).
16846
16847 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16848
16849 * window.el (window-right, window-left, window-child)
16850 (window-child-count, window-last-child)
16851 (window-iso-combination-p, walk-window-tree-1)
16852 (window-atom-check-1, window-tree-1, delete-window)
16853 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16854 new naming conventions - window-vchild, window-hchild,
16855 window-next and window-prev are now called window-top-child,
16856 window-left-child, window-next-sibling and window-prev-sibling
16857 respectively.
16858 (resize-window-reset): Rename to window-resize-reset.
16859 (resize-window-reset-1): Rename to window-resize-reset-1.
16860 (resize-window): Rename to window-resize.
16861 (window-min-height, window-min-width)
16862 (resize-mini-window, resize-this-window, resize-root-window)
16863 (resize-root-window-vertically, adjust-window-trailing-edge)
16864 (enlarge-window, shrink-window, maximize-window)
16865 (minimize-window, delete-window, quit-restore-window)
16866 (split-window, balance-windows, balance-windows-area-adjust)
16867 (balance-windows-area, window-state-put-2)
16868 (display-buffer-even-window-sizes, display-buffer-set-height)
16869 (display-buffer-set-width, set-window-text-height)
16870 (fit-window-to-buffer): Rename all "resize-window" prefixed
16871 calls to use the "window-resize" prefix convention.
16872 (display-buffer-alist): Fix symbol for label specifier.
16873 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16874 corresponding specifier.
16875 Reported by Juanma Barranquero <lekktu@gmail.com>.
16876
16877 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16878
16879 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16880 convention.
16881 (ses-call-printer): Does not pass an empty string to formatter when the
16882 cell is empty to keep from barking printer Calc math-format-value.
16883
16884 2011-06-27 Richard Stallman <rms@gnu.org>
16885
16886 * battery.el (battery-mode-line-limit): New variable.
16887 (battery-update): Handle it.
16888
16889 * mail/rmailmm.el (rmail-mime-process-multipart):
16890 Handle truncated messages.
16891
16892 2011-06-27 Glenn Morris <rgm@gnu.org>
16893
16894 * progmodes/flymake.el (flymake-err-line-patterns):
16895 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16896
16897 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16898
16899 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16900 (ses--clean-!, ses--clean-_): New functions.
16901 (ses-range): Add configurability of readout order, and conversion
16902 to Calc vector.
16903
16904 * ses.el (ses-repair-cell-reference-all): New function.
16905 (ses-cell-symbol): Set macro as safe, so that it can be used in
16906 formulas.
16907
16908 * ses.el: Update cycle detection algorithm.
16909 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16910 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16911 (ses-set-localvars): New function.
16912 (ses-make-cell): Add property-list as a cell element.
16913 (ses-cell-property-get-fun, ses-cell-property-get)
16914 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16915 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16916 New functions.
16917 (ses-cell-property-set, ses-cell-property-pop)
16918 (ses-cell-property-get-handle): New macro.
16919 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16920 New aliases, used for code readability.
16921 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16922 cycle detection.
16923 (ses-self-reference-early-detection): New defcustom.
16924 (ses-formula-references): Robustify against self-referring cells.
16925 (ses-mode): Use ses-set-localvars.
16926 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16927 before lauching the update processing.
16928 (ses-initialize-Dijkstra-attempt): New function.
16929 (ses-recalculate-cell): Update for cycle detection based on
16930 Dijkstra algorithm.
16931
16932 * ses.el: Fix commenting and indenting convention.
16933
16934 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16935
16936 * bs.el (bs-cycle-next): Complete last change.
16937
16938 2011-06-27 Drew Adams <drew.adams@oracle.com>
16939
16940 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16941
16942 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16943
16944 * net/network-stream.el (network-stream-open-starttls):
16945 Don't re-get capabilities unless we've reestablished connection.
16946 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16947
16948 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16949 to binary to possibly avoid line encoding issues on Windows (among
16950 other things).
16951
16952 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16953
16954 * net/network-stream.el (open-network-stream): Return an :error
16955 saying what the problem was, if possible.
16956
16957 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16958 server.
16959
16960 * net/network-stream.el (network-stream-open-starttls): If we
16961 wanted to use STARTTLS, and the server offered it, but we weren't
16962 able to because we had no STARTTLS support, then close the connection.
16963 (open-network-stream): Return an :error element, if present.
16964
16965 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16966
16967 * hl-line.el (hl-line-sticky-flag): Doc fix.
16968 (global-hl-line-sticky-flag): New option (Bug#8323).
16969 (global-hl-line-highlight): Obey it.
16970
16971 * vc/vc.el (vc-revert-show-diff): Default to t.
16972
16973 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16974
16975 * allout-widgets.el (allout-widgets-post-command-business):
16976 Stop decorating intermediate isearch matches. They're not being
16977 undecorated when an isearch is continued past, and isearch
16978 automatically collapses them. This leads to "widget leaks", where
16979 decorated items accumulate in collapsed areas. Lines with lots of
16980 hidden widgets can slow down cursor travel, substantially.
16981 Too much complicated machinery would be needed to ensure undecoration,
16982 so we're doing without this nicety.
16983
16984 (allout-widgets-tally-string): Don't try to do a hash-table-count
16985 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16986 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16987 *Messages* when allout-widgets-maintain-tally is t.
16988
16989 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16990
16991 * window.el (display-buffer-normalize-argument): Rename to
16992 display-buffer-normalize-arguments. Handle special meaning of
16993 LABEL argument. Respect special-display-function when popping up
16994 a new frame. Fix code searching for a window showing the buffer
16995 on another frame.
16996 (display-buffer-normalize-specifiers):
16997 Call display-buffer-normalize-arguments.
16998 (display-buffer-in-window): Don't undedicate the window if its
16999 buffer remains the same.
17000 Reported by Drew Adams <drew.adams@oracle.com>.
17001 (display-buffer-alist): Add choice for same-window macro
17002 specfier.
17003 (display-buffer): Mention special meaning of LABEL argument in
17004 doc-string. Fix quoting. Don't pop up a new frame even as
17005 fallback.
17006
17007 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17008
17009 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17010 avoid deleting the current window in some cases (bug#8911).
17011
17012 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17013
17014 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17015 (Bug#8934)
17016
17017 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17018
17019 * net/network-stream.el (network-stream-open-starttls):
17020 Use built-in TLS support if `gnutls-available-p' is true.
17021 (network-stream-open-tls): Ditto.
17022
17023 2011-06-26 Leo Liu <sdl.web@gmail.com>
17024
17025 * register.el (registerv): New struct.
17026 (registerv-make): New function.
17027 (jump-to-register, describe-register-1, insert-register):
17028 Support the jump-func, print-func and insert-func slot of a registerv
17029 struct. (Bug#8415)
17030
17031 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17032
17033 * vc/vc.el (vc-revert-show-diff): New defcustom.
17034 (vc-diff-internal): New arg specifying diff buffer.
17035 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17036 reuse an existing *vc-diff* buffer (Bug#8927).
17037
17038 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17039
17040 2011-06-26 Glenn Morris <rgm@gnu.org>
17041
17042 * progmodes/f90.el (f90-critical-indent): New option.
17043 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17044 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17045 (f90-mode): Doc fix.
17046 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17047 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17048 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17049 (f90-match-end): Handle block, critical.
17050
17051 2011-06-25 Glenn Morris <rgm@gnu.org>
17052
17053 * calendar/diary-lib.el (diary-included-files): Doc fix.
17054 (diary-include-files): New function, extracted from
17055 diary-include-other-diary-files and diary-mark-included-diary-files.
17056 (diary-include-other-diary-files, diary-mark-included-diary-files):
17057 Just call diary-include-files.
17058 (diary-mark-entries): Reset diary-included-files on first call.
17059
17060 * calendar/diary-lib.el (diary-mark-entries)
17061 (diary-mark-included-diary-files):
17062 Visit included diary-files in temp buffers.
17063
17064 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17065 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17066 (f90-start-block-re, f90-imenu-generic-expression)
17067 (f90-looking-at-program-block-start, f90-no-block-limit):
17068 Add support for submodules.
17069
17070 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17071 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17072
17073 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17074
17075 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17076 buffer-file-type before setting its value, to avoid disastrous
17077 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17078
17079 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17080
17081 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17082
17083 * ses.el (ses-unload-function):
17084 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17085
17086 * proced.el (proced-unload-function):
17087 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17088
17089 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17090
17091 * server.el (server-create-window-system-frame): Add parameters arg.
17092 (server-process-filter): Doc fix. Handle frame-parameters.
17093
17094 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17095
17096 Fix bug#8730, bug#8781.
17097
17098 * loadhist.el (unload--set-major-mode): New function.
17099 (unload-feature): Use it.
17100
17101 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17102 (python-unload-function): New function.
17103
17104 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17105
17106 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17107
17108 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17109
17110 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17111 the candidates list.
17112
17113 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17114
17115 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17116
17117 2011-06-23 Richard Stallman <rms@gnu.org>
17118
17119 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17120 (rmail-variables): Set next-error-move-function.
17121 (rmail-what-message): Take argument POS.
17122 (rmail-next-error-move): New function.
17123
17124 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17125
17126 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17127 messages for adjacent non-terminals.
17128
17129 2011-06-23 Richard Stallman <rms@gnu.org>
17130
17131 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17132 (rmail-show-message-1): Preserve buffer modified flag.
17133 (rmail-start-mail): Don't specify use of rmail-mail-return;
17134 that's done by mail-bury now.
17135 (rmail-mail-return): Handle arg NEWBUF.
17136
17137 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17138
17139 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17140 SIZE is a number.
17141
17142 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17143
17144 * window.el (get-lru-window, get-mru-window)
17145 (get-largest-window): Never return a minibuffer window.
17146 (display-buffer-pop-up-window): Fix a bug that could lead to
17147 reusing the minibuffer window.
17148 (display-buffer): Pass original specifier argument to
17149 display-buffer-function instead of the normalized one.
17150 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17151
17152 2011-06-22 Leo Liu <sdl.web@gmail.com>
17153
17154 * minibuffer.el (completing-read-function)
17155 (completing-read-default): Move from minibuf.c.
17156
17157 2011-06-22 Richard Stallman <rms@gnu.org>
17158
17159 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17160 to Rmail even if not started by a special Rmail command.
17161
17162 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17163 Copy the buffer currently showing just one message.
17164
17165 2011-06-22 Roland Winkler <winkler@gnu.org>
17166
17167 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17168 (bibtex-clean-entry): First delete the old key so that a
17169 customized algorithm for generating the new key does not get
17170 confused by the old key.
17171 (bibtex-url): Obey regexp of first step.
17172 (bibtex-search-entries): Do not use add-to-list with local
17173 list-var.
17174
17175 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17176
17177 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17178 stored a user name, then query for the password first, instead of
17179 waiting for SMTP to give an error message and the trying again.
17180
17181 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17182
17183 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17184 BUFFER in call-process.
17185
17186 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17187
17188 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17189 QUIT twice.
17190 (smtpmail-try-auth-methods): Require user name and password from
17191 auth-source.
17192
17193 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17194
17195 * window.el (display-buffer-default-specifiers)
17196 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17197 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17198 (split-window): Normalize SIDE argument (Bug#8916).
17199
17200 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17201 (special-display-frame-alist, special-display-popup-frame):
17202 Remove duplicate declarations. These are now in window.el.
17203
17204 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17205
17206 * mail/smtpmail.el (smtpmail-via-smtp):
17207 Set :use-starttls-if-possible so that we always use STARTTLS if the
17208 server supports it. SMTP servers that support STARTTLS commonly
17209 require it.
17210
17211 * net/network-stream.el (network-stream-open-starttls): Support
17212 upgrading to STARTTLS always, even if we don't have built-in support.
17213 (open-network-stream): Add the :always-query-capabilities keyword.
17214
17215 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17216 upgrades with `open-network-stream', and rely solely on
17217 auth-source for all credentials. Big changes throughout the file,
17218 but in particular:
17219 (smtpmail-auth-credentials): Remove.
17220 (smtpmail-starttls-credentials): Remove.
17221 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17222 MAIL FROM, too.
17223
17224 * net/network-stream.el (network-stream-open-starttls):
17225 Provide support for client certificates both for external and built-in
17226 STARTTLS.
17227 (auth-source): Require.
17228 (open-network-stream): Document the :client-certificate keyword.
17229 (network-stream-certificate): Change cert-cert to cert and
17230 cert-key to key.
17231
17232 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17233
17234 * net/tramp-cache.el (top): Don't load the persistency file when
17235 "emacs -Q" has been called.
17236
17237 2011-06-21 Tim Harper <timcharper@gmail.com>
17238
17239 * term/ns-win.el (ns-initialize-window-system):
17240 Set application-specific `ApplePressAndHoldEnabled' system
17241 resource to NO as it is not yet supported by the NS port.
17242
17243 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17244
17245 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17246 (list-dynamic-libraries): ...not here.
17247
17248 2011-06-21 Leo Liu <sdl.web@gmail.com>
17249
17250 * subr.el (sha1): Implement sha1 using secure-hash.
17251
17252 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17253
17254 * window.el (display-buffer-alist): In default value do not
17255 enforce searching a window on any but the selected frame.
17256 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17257 (display-buffer-select-window): Remove function.
17258 (display-buffer-in-window): When a window on another frame gets
17259 reused, do not select it any more but just raise its frame if
17260 necessary (Bug#8851) and (Bug#8856).
17261 (display-buffer-normalize-options): Handle pop-up-frames related
17262 options more faithfully.
17263 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17264 window if it is on another frame.
17265 (display-buffer-alist, display-buffer-default-specifiers):
17266 Don't make new frame unsplittable by default.
17267 (display-buffer-normalize-argument): Fix doc-string typo and use
17268 'same-frame-other-window instead of 'other-window when associating
17269 with display-buffer-macro-specifiers.
17270
17271 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17272
17273 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17274 New functions.
17275 (5x5-mode-map, 5x5-mode-menu): Bind them.
17276 (5x5-draw-grid): Tweak the solver's rendering.
17277
17278 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17279
17280 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17281 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17282
17283 2011-06-21 Drew Adams <drew.adams@oracle.com>
17284
17285 * menu-bar.el: Use function variable instead of switch-to-buffer.
17286 (menu-bar-select-buffer-function): New variable.
17287 (menu-bar-update-buffers): Use it (bug#8876).
17288
17289 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17290
17291 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17292 variable's status.
17293
17294 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17295
17296 * x-dnd.el (x-dnd-version-from-flags)
17297 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17298 and long as number (Bug#8899).
17299 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17300
17301 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17302
17303 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17304 (completion-try-completion, completion-all-completions): Compute the
17305 metadata argument if it's missing; make it optional (bug#8795).
17306
17307 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17308 (widget-complete): Use new :completion-function property.
17309 (widget-completions-at-point): New function.
17310 (default): Use :completion-function instead of :complete.
17311 (widget-default-completions): Rename from widget-default-complete;
17312 Rewrite.
17313 (widget-string-complete, widget-file-complete, widget-color-complete):
17314 Remove functions.
17315 (file, symbol, function, variable, coding-system, color):
17316 * international/mule-cmds.el (default-input-method, charset)
17317 (language-info-custom-alist):
17318 * cus-edit.el (face): Use new property :completions.
17319
17320 * progmodes/pascal.el (pascal-completions-at-point): New function.
17321 (pascal-mode): Use it.
17322 (pascal-mode-map): Use completion-at-point.
17323 (pascal-toggle-completions): Make obsolete.
17324 (pascal-complete-word, pascal-show-completions):
17325 * progmodes/octave-mod.el (octave-complete-symbol):
17326 Redefine as obsolete alias.
17327 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17328 Signal absence of completion info for old Octave,
17329 (inferior-octave-complete): Redefine as obsolete alias.
17330 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17331 (meta-completions-at-point): Rename from meta-complete-symbol and
17332 adapt it for use on completion-at-point-functions.
17333 (meta-common-mode): Use it.
17334 (meta-looking-at-backward, meta-match-buffer): Remove.
17335 (meta-complete-symbol): Redefine as obsolete alias.
17336 (meta-common-mode-map): Use completion-at-point.
17337 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17338 (makefile-mode-map): Use completion-at-point.
17339 (makefile-completions-at-point): Rename from makefile-complete and
17340 adapt it for use on completion-at-point-functions.
17341 (makefile-mode): Use it.
17342 (makefile-complete): Redefine as obsolete alias.
17343
17344 2011-06-20 Deniz Dogan <deniz@dogan.se>
17345
17346 * net/rcirc.el: Delete trailing whitespaces once and for all.
17347
17348 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17349
17350 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17351
17352 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17353
17354 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17355
17356 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17357
17358 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17359
17360 * window.el (display-buffer-other-window-means-other-frame):
17361 Call display-buffer-normalize-alist.
17362 (display-buffer-normalize-specifiers-1): Rename to
17363 display-buffer-normalize-argument. New argument other-frame.
17364 Rewrite.
17365 (display-buffer-normalize-specifiers-2): Rename to
17366 display-buffer-normalize-options.
17367 (display-buffer-normalize-alist-1): New function.
17368 (display-buffer-normalize-specifiers-3): Rename to
17369 display-buffer-normalize-alist.
17370 Call display-buffer-normalize-alist-1.
17371 (display-buffer-normalize-options-inhibit): New variable.
17372 (display-buffer-normalize-specifiers): Rewrite calling
17373 display-buffer-normalize-alist,
17374 display-buffer-normalize-argument, and
17375 display-buffer-normalize-options. Don't call the latter if
17376 display-buffer-normalize-options-inhibit is non-nil.
17377 (frame-auto-delete): New option.
17378 (window-deletable-p): Use frame-auto-delete.
17379 (window-list-no-nils, window-state-ignored-parameters)
17380 (window-state-get-1, window-state-get, window-state-put-list)
17381 (window-state-put-1, window-state-put-2, window-state-put):
17382 New functions.
17383 (display-buffer-normalize-options): Move special-display-p group
17384 after pop-up-frame group (Bug#8851) and (Bug#8856).
17385
17386 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17387
17388 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17389 groups (Bug#8776).
17390 (rx-submatch-n): New function.
17391 (rx): Document it.
17392
17393 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17394 (Bug#8768).
17395
17396 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17397
17398 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17399
17400 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17401 anytime existing face settings are present (Bug#8889).
17402
17403 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17404 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17405 Remove unused argument.
17406
17407 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17408
17409 * window.el (display-buffer-default-specifiers):
17410 Remove pop-up-frame. Add pop-up-window-min-height,
17411 pop-up-window-min-width, and another reuse-window specifier
17412 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17413 (display-buffer-normalize-specifiers-2):
17414 Handle split-height-threshold and split-width-threshold also when
17415 pop-up-windows is unset. Add a reuse-window specifier for the
17416 case popping up a new window fails.
17417 (special-display-popup-frame): Remove double quoting.
17418 (display-buffer-normalize-specifiers-1): Fix thinko.
17419
17420 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17421
17422 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17423 according to comint-completion-addsuffix.
17424
17425 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17426 (pcomplete-suffix-list): Mark as obsolete.
17427 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17428 pcomplete-seen in the closure.
17429 (pcomplete-comint-setup): Setup completion-at-point as well.
17430 (pcomplete--entries): New function.
17431 (pcomplete--env-regexp): New var.
17432 (pcomplete-entries): Rewrite to work with partial-completion and
17433 without relying on pcomplete-suffix-list.
17434 (pcomplete-pare-list): Remove, unused.
17435
17436 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17437
17438 * window.el (display-buffer-alist): Set pop-up-window-min-height
17439 and pop-up-window-min-width in default value. Reported by
17440 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17441 other-window-means-other-frame.
17442 (display-buffer-macro-specifiers): Comment out entry for
17443 other-window specifier.
17444 (display-buffer-other-window-means-other-frame): New function.
17445 (display-buffer-normalize-specifiers-1): New arguments
17446 buffer-name and label. Treat other-window case specially.
17447 (display-buffer-normalize-specifiers-2): Treat other-window case
17448 specially.
17449 (display-buffer-normalize-specifiers-3): New function.
17450 (display-buffer-normalize-specifiers):
17451 Call display-buffer-normalize-specifiers-3.
17452
17453 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17454
17455 * window.el (same-window-p): Fix two typos introduced when
17456 adding with-no-warnings.
17457 (display-buffer-normalize-specifiers-1): Don't check
17458 pop-up-frames for 'unset initialization.
17459 (display-buffer-normalize-specifiers-2): Major rewrite using
17460 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17461 (pop-up-frames, display-buffer-reuse-frames)
17462 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17463 Suggested by David Engster <deng@randomsample.de>.
17464 (even-window-heights): Initialize to 'unset.
17465 (display-buffer-alist-set): Handle new 'unset initializations.
17466 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17467 other window case.
17468
17469 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (display-buffer-normalize-specifiers-1):
17472 Respect current value of pop-up-frames for most reasonable values of
17473 second argument of display-buffer (Bug#8865).
17474 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17475 (switch-to-buffer-other-window-same-frame)
17476 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17477 Adams (Bug#8875).
17478 (display-buffer): Don't check noninteractive when calling
17479 display-buffer-pop-up-frame.
17480 (display-buffer-pop-up-frame): Never pop up a frame in
17481 noninteractive mode (Bug#8857).
17482 (enlarge-window, shrink-window): Don't report an error when the
17483 window can't be resized as requested (Bug#8862).
17484
17485 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17486
17487 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17488
17489 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17490
17491 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17492
17493 2011-06-15 Alan Mackenzie <acm@muc.de>
17494
17495 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17496 for declarators, disable knr checking to speed up for normal files.
17497 2: Refactor, replacing a sequence of nested if forms by a cond form.
17498
17499 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17500
17501 * net/network-stream.el (open-network-stream): Add the keyword
17502 :always-query-capabilities for the case where you want to force a
17503 `plain' network connection, but the protocol still requires the
17504 capabilitiy command (i.e., SMTP and EHLO).
17505
17506 * subr.el (process-live-p): Rename from `process-alive-p' for
17507 consistency with other `-live-p' functions.
17508
17509 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17510
17511 * window.el (same-window-buffer-names, same-window-regexps)
17512 (special-display-frame-alist, special-display-popup-frame)
17513 (special-display-function, special-display-buffer-names)
17514 (special-display-regexps, pop-up-frame-alist)
17515 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17516 (pop-up-windows, split-window-preferred-function)
17517 (split-height-threshold, split-width-threshold, even-window-heights)
17518 (display-buffer-mark-dedicated): Don't encourage the use of
17519 display-buffer-alist from Elisp code.
17520
17521 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17522
17523 * progmodes/python.el (python-mode): Derive from prog-mode.
17524 * progmodes/ps-mode.el (ps-mode):
17525 * progmodes/mixal-mode.el (mixal-mode):
17526 * progmodes/cfengine.el (cfengine-mode):
17527 * progmodes/ld-script.el (ld-script-mode): Likewise.
17528
17529 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17530
17531 * window.el (display-buffer-alist): Trim default value to avoid
17532 popping up a new frame (Bug#8857) or reusing an arbitrary window
17533 on another frame.
17534 (display-buffer): Do not fall back on popping up a new frame in
17535 batch mode (Bug#8857).
17536
17537 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17538
17539 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17540 (custom-theme-summary): New function.
17541 (customize-themes): Use it.
17542
17543 2011-06-13 Glenn Morris <rgm@gnu.org>
17544
17545 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17546
17547 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17548
17549 * help.el (help-window): Remove variable.
17550 (help-window-point-marker, temp-buffer-max-height)
17551 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17552 (help-print-return-message): Don't set help-window.
17553 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17554 (help-window-setup-finish): Remove.
17555 (help-window-display-message, help-window-setup)
17556 (with-help-window): Major rewrite based on new
17557 display-buffer-window variable.
17558
17559 * help-mode.el (help-mode-finish): Remove help-window related
17560 code.
17561
17562 * view.el (view-exits-all-viewing-windows): Remove reference to
17563 view-return-to-alist in doc-string.
17564 (view-return-to-alist): Make obsolete.
17565 (view-buffer): Call pop-to-buffer-same-window and remove
17566 undo-window code.
17567 (view-buffer-other-window): Call pop-to-buffer-other-window and
17568 simplify code. Ignore second argument.
17569 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17570 simplify code. Ignore second argument.
17571 (view-return-to-alist-update): Make obsolete.
17572 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17573 Rewrite using quit-restore window parameters.
17574 (view-mode-exit): Rename second argument to EXIT-ONLY.
17575 Rewrite using quit-restore-window.
17576 (View-exit, View-exit-and-edit, View-leave, View-quit)
17577 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17578 appropriate arguments.
17579 (view-end-message): Use quit-restore window parameter.
17580
17581 * window.el (display-buffer-function): Rewrite doc-string.
17582 (display-buffer-window, display-buffer-alist): New variables.
17583 (display-buffer-split-specifiers)
17584 (display-buffer-side-specifiers)
17585 (display-buffer-macro-specifiers): New constants.
17586 (display-buffer-even-window-sizes, display-buffer-set-height)
17587 (display-buffer-set-width, display-buffer-select-window)
17588 (display-buffer-in-window, display-buffer-reuse-window)
17589 (display-buffer-split-window-1, display-buffer-split-window)
17590 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17591 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17592 (display-buffer-in-side-window, normalize-buffer-to-display)
17593 (display-buffer-normalize-specifiers-1)
17594 (display-buffer-normalize-specifiers-2)
17595 (display-buffer-normalize-specifiers, display-buffer-frame):
17596 New functions.
17597 (display-buffer): Major rewrite.
17598 (display-buffer-other-window, display-buffer-other-frame)
17599 (pop-to-buffer, switch-to-buffer-other-window)
17600 (switch-to-buffer-other-frame): Rewrite.
17601 (display-buffer-same-window, display-buffer-same-frame)
17602 (display-buffer-same-frame-other-window)
17603 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17604 (pop-to-buffer-other-window)
17605 (pop-to-buffer-same-frame-other-window)
17606 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17607 (switch-to-buffer-other-window-same-frame): New functions.
17608 (same-window-p, special-display-p): Rewrite disabling warnings.
17609 Make obsolete.
17610 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17611 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17612 Make obsolete
17613 (same-window-buffer-names, same-window-regexps)
17614 (special-display-frame-alist, special-display-popup-frame)
17615 (special-display-function, special-display-buffer-names)
17616 (special-display-regexps, pop-up-frame-alist)
17617 (pop-up-frame-function, split-window-preferred-function)
17618 (split-height-threshold, split-width-threshold)
17619 (even-window-heights): Make obsolete.
17620
17621 2011-06-12 Glenn Morris <rgm@gnu.org>
17622
17623 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17624 Misc simplifications.
17625
17626 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17627
17628 * window.el (window-safely-shrinkable-p): Restore function which
17629 was inadvertently removed in change from 2011-06-11. Declare as
17630 obsolete.
17631
17632 * calendar/calendar.el (calendar-generate-window):
17633 Use window-iso-combined-p instead of combination of one-window-p and
17634 window-safely-shrinkable-p.
17635
17636 2011-06-12 Glenn Morris <rgm@gnu.org>
17637
17638 * progmodes/fortran.el (fortran-mode-syntax-table):
17639 * progmodes/f90.el (f90-mode-syntax-table):
17640 Set % to punctuation. (Bug#8820)
17641 (f90-find-tag-default): Remove, no longer needed.
17642
17643 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17644
17645 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17646
17647 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17648
17649 * image.el (image-animated-p): Return animation delay in seconds.
17650 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17651 (image-animate-timeout): Remove DELAY argument. Don't assume
17652 every subimage has the same delay; get it from image-animated-p.
17653 (image-animate): Caller changed.
17654
17655 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17656
17657 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17658 to ignored backtrace functions.
17659
17660 2011-06-11 Glenn Morris <rgm@gnu.org>
17661
17662 * calendar/appt.el (appt-disp-window-function): Doc fix.
17663 (appt-check): Handle overlapping appointments. (Bug#8337)
17664
17665 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17666
17667 * window.el (window-tree-1, window-tree): New functions, moving
17668 the latter to window.el.
17669 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17670 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17671 (bw-refresh-edges): Remove.
17672 (balance-windows-1, balance-windows-2): New functions.
17673 (balance-windows): Rewrite in terms of window tree functions,
17674 balance-windows-1 and balance-windows-2.
17675 (bw-adjust-window): Remove.
17676 (balance-windows-area-adjust): New function with functionality of
17677 bw-adjust-window but using resize-window.
17678 (set-window-text-height): Rewrite doc-string.
17679 Use normalize-live-window and resize-window.
17680 (enlarge-window-horizontally, shrink-window-horizontally):
17681 Rename argument to DELTA.
17682 (window-buffer-height): New function.
17683 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17684 Rewrite using new window resize routines.
17685 (kill-buffer-and-window, mouse-autoselect-window-select):
17686 Use ignore-errors instead of condition-case.
17687 (quit-window): Call delete-frame instead of delete-windows-on
17688 for the only buffer on frame.
17689
17690 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17691
17692 * loadup.el (top-level): Load window before files for the sake
17693 of replace-buffer-in-windows.
17694
17695 * files.el (read-buffer-to-switch)
17696 (switch-to-buffer-other-window)
17697 (switch-to-buffer-other-frame, display-buffer-other-frame):
17698 Move to window.el.
17699
17700 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17701 (previous-buffer): Move to window.el.
17702
17703 * bindings.el (unbury-buffer): Move to window.el.
17704
17705 * window.el (delete-other-windows-vertically): Move after
17706 definition of delete-other-windows.
17707 (other-window, delete-windows-on, replace-buffer-in-windows):
17708 Move here from window.c.
17709 (record-window-buffer, unrecord-window-buffer)
17710 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17711 (switch-to-next-buffer): New functions.
17712 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17713 from simple.el. Call switch-to-next-buffer.
17714 (previous-buffer): Move here from simple.el.
17715 Call switch-to-prev-buffer.
17716 (bury-buffer): Move here from buffer.c. Switch to previous
17717 buffer when window cannot be deleted.
17718 (unbury-buffer): Move here from bindings.el.
17719 (ctl-x-map): Move binding for other-window from window.c to
17720 here.
17721 (read-buffer-to-switch, switch-to-buffer-other-window)
17722 (switch-to-buffer-other-frame): Move here from files.el.
17723 (normalize-buffer-to-switch-to): New functions.
17724 (switch-to-buffer): Move here from buffer.c.
17725 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17726
17727 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17728
17729 * window.el (window-min-height, window-min-width): Move here
17730 from window.c. Add defcustoms and rewrite doc-strings.
17731 (resize-mini-window, resize-window): New functions.
17732 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17733 Move here from window.c.
17734 (maximize-window, minimize-window): New functions.
17735 (delete-window, delete-other-windows, split-window): Move here
17736 from window.c.
17737 (window-split-min-size): New function.
17738 (split-window-keep-point): Mention split-window-above-each-other
17739 instead of split-window-vertically.
17740 (split-window-above-each-other, split-window-vertically):
17741 Rename split-window-vertically to split-window-above-each-other
17742 and provide defalias for old definition.
17743 (split-window-side-by-side, split-window-horizontally):
17744 Rename split-window-horizontally to split-window-side-by-side
17745 and provide defalias for the old definition.
17746 (ctl-x-map): Move bindings for delete-window,
17747 delete-other-windows and enlarge-window here from window.c.
17748 Replace bindings for split-window-vertically and
17749 split-window-horizontally by bindings for
17750 split-window-above-each-other and split-window-side-by-side.
17751
17752 * cus-start.el (all): Remove entries for window-min-height and
17753 window-min-width. Add entries for window-splits and
17754 window-nest.
17755
17756 2011-06-09 Glenn Morris <rgm@gnu.org>
17757
17758 * calendar/appt.el (appt-mode-line): New function.
17759 (appt-check, appt-disp-window): Use it.
17760
17761 * files.el (hack-one-local-variable-eval-safep):
17762 Allow minor-modes with explicit +/-1 arguments.
17763
17764 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17765
17766 * term/xterm.el (xterm): Add defgroup.
17767 (xterm-extra-capabilities): Add defcustom to supply known xterm
17768 capabilities, skip querying them, or query them (default).
17769 (terminal-init-xterm): Use it.
17770 (terminal-init-xterm-modify-other-keys): New function to set up
17771 modifyOtherKeys support to simplify `terminal-init-xterm'.
17772
17773 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17774
17775 * window.el (resize-window-reset, resize-window-reset-1)
17776 (resize-subwindows-skip-p, resize-subwindows-normal)
17777 (resize-subwindows, resize-other-windows, resize-this-window)
17778 (resize-root-window, resize-root-window-vertically)
17779 (window-deletable-p, window-or-subwindow-p)
17780 (frame-root-window-p): New functions.
17781
17782 2011-06-09 Glenn Morris <rgm@gnu.org>
17783
17784 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17785 (ange-ftp-get-files): Use it.
17786
17787 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17788
17789 * mail/sendmail.el (mail-recover-1, mail-recover):
17790 * files.el (recover-file, recover-session):
17791 Handle dired-listing-switches not being just a single short option.
17792
17793 2011-06-09 Glenn Morris <rgm@gnu.org>
17794
17795 * calendar/appt.el (appt-display-message, appt-disp-window):
17796 Handle lists of appointments.
17797
17798 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17799
17800 * window.el (one-window-p): Move down in code.
17801 Rewrite doc-string.
17802 (window-current-scroll-bars): Rewrite doc-string.
17803 Normalize live window argument.
17804 (walk-windows, get-window-with-predicate, count-windows):
17805 Rewrite doc-string. Use window-list-1.
17806 (window-in-direction-2, window-in-direction, get-mru-window):
17807 New functions.
17808
17809 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17810
17811 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17812 Doc fix (Bug#8713).
17813
17814 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17815
17816 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17817
17818 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17819
17820 * loadhist.el (unload-feature-special-hooks):
17821 Add `comint-output-filter-functions'.
17822
17823 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17824
17825 * calendar/appt.el (appt-check): Move some initializations into the let.
17826
17827 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17828
17829 * window.el (window-height): Defalias to window-total-height.
17830 (window-width): Defalias to window-body-width.
17831
17832 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17833
17834 * image-mode.el (image-toggle-animation): New command.
17835 (image-mode-map): Bind it to RET.
17836 (image-mode): Update message.
17837 (image-toggle-display-image): Avoid a spurious cache flush.
17838 (image-transform-rotation): Doc fix.
17839 (image-transform-properties): Return quickly in the normal case.
17840 (image-animate-loop): Rename from image-animate-max-time.
17841
17842 * image.el (image-animate-max-time): Move to image-mode.el.
17843 (create-animated-image): Remove unnecessary function.
17844 (image-animate): Rename from image-animate-start. New arg.
17845 (image-animate-stop): Remove; just use image-animate-timer.
17846 (image-animate-timer): Use car-safe.
17847 (image-animate-timeout): Rename argument.
17848
17849 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17850
17851 * window.el (get-lru-window, get-largest-window): Move here from
17852 window.c. Rename first argument to ALL-FRAMES.
17853 Rephrase doc-strings.
17854 (get-buffer-window-list): Rewrite using window-list-1.
17855 Rephrase doc-string.
17856 (window-safe-min-height, window-safe-min-width): New constants.
17857 (window-size-ignore, window-min-size, window-min-size-1)
17858 (window-sizable, window-sizable-p, window-size-fixed-1)
17859 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17860 (window-max-delta-1, window-max-delta, window-resizable)
17861 (window-resizable-p, window-total-height, window-total-width)
17862 (window-body-width): New functions.
17863 (window-full-height-p, window-full-width-p): Rewrite using
17864 window-total-size.
17865 (window-body-height): Rewrite using window-body-size.
17866
17867 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17868
17869 * window.el (window-right, window-left, window-child)
17870 (window-child-count, window-last-child, window-any-p)
17871 (normalize-live-buffer, normalize-live-frame)
17872 (normalize-any-window, normalize-live-window)
17873 (window-iso-combination-p, window-iso-combined-p)
17874 (window-iso-combinations)
17875 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17876 (windows-with-parameter, window-with-parameter)
17877 (window-atom-root, make-window-atom, window-atom-check-1)
17878 (window-atom-check, window-side-check, window-check):
17879 New functions.
17880 (ignore-window-parameters, window-sides, window-sides-vertical)
17881 (window-sides-slots): New variables.
17882 (window-size-fixed): Move down in code. Minor doc-string fix.
17883
17884 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17885
17886 * comint.el (comint-dynamic-complete-as-filename)
17887 (comint-dynamic-complete-filename): Correctly call
17888 completion-in-region.
17889
17890 2011-06-05 Deniz Dogan <deniz@dogan.se>
17891
17892 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17893 in last change.
17894
17895 2011-06-05 Deniz Dogan <deniz@dogan.se>
17896
17897 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17898 (rcirc): Use it to prompt for encryption.
17899
17900 2011-06-05 Roland Winkler <winkler@gnu.org>
17901
17902 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17903 (bibtex-search-entries): New command bound to C-c C-a.
17904 (bibtex-display-entries): New function.
17905
17906 2011-06-05 Roland Winkler <winkler@gnu.org>
17907
17908 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17909 (bibtex-insert-kill): After yanking insert newline if necessary.
17910 (bibtex-initialize): Call bibtex-string-files-init only once.
17911 (bibtex-mode): Do not call easy-menu-add.
17912 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17913 (bibtex-yank): Set arg properly if nil.
17914
17915 2011-06-05 Roland Winkler <winkler@gnu.org>
17916
17917 * textmodes/bibtex.el (bibtex-search-entry-globally):
17918 New variable.
17919 (bibtex-search-entry): Use it.
17920
17921 2011-06-05 Roland Winkler <winkler@gnu.org>
17922
17923 * textmodes/bibtex.el (bibtex-entry-format): New option
17924 sort-fields.
17925 (bibtex-format-entry, bibtex-reformat): Honor this option.
17926 (bibtex-parse-entry): Return fields in proper order.
17927
17928 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17929
17930 * doc-view.el (doc-view-remove-if): Move computation of result out
17931 of `dolist' to silence misleading lexical-binding warning.
17932
17933 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17934
17935 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17936 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17937
17938 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17939
17940 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17941 "SunOS 5.10".
17942
17943 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17944
17945 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17946 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17947 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17948 (tramp-parse-putty):
17949 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17950 (tramp-completion-function-alist-ssh)
17951 (tramp-completion-function-alist-telnet)
17952 (tramp-completion-function-alist-su)
17953 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17954 cookie.
17955
17956 * net/tramp-ftp.el:
17957 * net/tramp-sh.el:
17958 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17959 load "tramp.el" `tramp-set-completion-function'.
17960
17961 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17962
17963 * shell.el: Require and use pcomplete.
17964 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17965 (shell-completion-vars): Set pcomplete-default-completion-function.
17966
17967 2011-06-04 Deniz Dogan <deniz@dogan.se>
17968
17969 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17970 `memq' (Bug#8799).
17971
17972 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17975
17976 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17977
17978 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17979 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17980 * vc/log-view.el (log-view-beginning-of-defun):
17981 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17982 (smerge-refine-forward, smerge-refine-chopup-region):
17983 Silence warning for unused `dotimes' counter variables.
17984
17985 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17986
17987 * net/tramp.el (tramp-with-progress-reporter): Rename from
17988 with-progress-reporter. Use `declare'.
17989 * net/tramp-smb.el:
17990 * net/tramp-sh.el:
17991 * net/tramp-gvfs.el: Update all uses.
17992
17993 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17994
17995 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17996 buffer isn't killed before making it current.
17997
17998 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17999
18000 Silence various byte-compiler warnings.
18001 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18002 `access-type' and new obsolescence format.
18003 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18004 new format.
18005 (byte-compile-check-variable): New `access-type' argument.
18006 Only warn if the access-type is obsolete.
18007 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18008 (byte-compile-variable-set): Adjust callers.
18009 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18010 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18011 setting it as obsolete.
18012 * simple.el (minibuffer-completing-symbol):
18013 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18014 access as obsolete.
18015 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18016 obsolete yet.
18017 * international/quail.el (quail-mouse-choose-completion): Remove unused
18018 code referring to obsolete var.
18019 (quail-choose-completion-string): Remove.
18020 * server.el (server-clients-with, server-kill-buffer-query-function)
18021 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18022 * proced.el (proced-send-signal):
18023 * emacs-lisp/lisp.el (lisp-complete-symbol):
18024 Replace completion-annotate-function with completion-extra-properties.
18025
18026 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18027
18028 * simple.el (goto-line): Use read-number.
18029 (overriding-map-is-bound): Remove.
18030 (saved-overriding-map): Change default.
18031 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18032 Take the map as argument.
18033 (universal-argument, negative-argument, digit-argument): Use it.
18034 (restore-overriding-map): Adjust.
18035 (do-auto-fill): Use fill-forward-paragraph.
18036 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18037
18038 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18039 (minibuffer-inactive-mode): New major mode.
18040 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18041 the *Messages* buffer" hack.
18042 (mouse-popup-menubar): Don't burp if the event is a normal key.
18043
18044 Miscellaneous tweaks.
18045 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18046 lexical scoping as in subr.el's dolist and dotimes.
18047 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18048 Silence compiler warning.
18049 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18050 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18051 * international/ccl.el (ccl-compile): Trivial simplification.
18052 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18053 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18054 `printflag' argument.
18055 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18056 Purecopy the whole obsolescence data.
18057
18058 2011-06-01 Leo Liu <sdl.web@gmail.com>
18059
18060 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18061 improve doc-string as suggested by Marco Pessotto
18062 <melmothx@gmail.com>.
18063 (rcirc-print): Fix last change.
18064
18065 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * minibuffer.el (complete-with-action): Return nil for the metadata and
18068 boundaries of non-functional tables.
18069 (completion-table-dynamic): Return nil for the metadata.
18070 (completion-table-with-terminator): Add default case, using
18071 complete-with-action.
18072 (completion--metadata): New function.
18073 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18074 to try and avoid pathological performance problems.
18075 (completion--embedded-envvar-table): Return `category' metadata.
18076
18077 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18078
18079 * subr.el (process-alive-p): New tiny convenience function.
18080
18081 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18082
18083 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18084 content but also its previous major mode.
18085
18086 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18087
18088 * emacs-lisp/debug.el (debug): Restore the previous content of the
18089 *Backtrace* buffer when we exit with C-M-c.
18090
18091 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18092
18093 * minibuffer.el: Add metadata method to completion tables.
18094 (completion-category-overrides): New defcustom.
18095 (completion-metadata, completion--field-metadata)
18096 (completion-metadata-get, completion--styles)
18097 (completion--cycle-threshold): New functions.
18098 (completion-try-completion, completion-all-completions):
18099 Add `metadata' argument to choose completion-styles.
18100 (completion--do-completion): Use metadata to choose cycling.
18101 (completion-all-sorted-completions): Use metadata for sorting.
18102 Remove :completion-cycle-penalty which is not needed any more.
18103 (completion--try-word-completion): Add `metadata' argument.
18104 (minibuffer-completion-help): Check metadata for annotation function
18105 and sorting.
18106 (completion-file-name-table): Return `category' metadata.
18107 (minibuffer-completing-file-name): Make obsolete.
18108 * simple.el (minibuffer-completing-symbol): Make obsolete.
18109 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18110 completion-try-completion.
18111
18112 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18113
18114 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18115
18116 2011-05-30 Leo Liu <sdl.web@gmail.com>
18117
18118 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18119 (rcirc-print): Decode all incoming messages (bug#8744).
18120 (rcirc-decode-coding-system): Allow value nil for automatic coding
18121 system detection.
18122
18123 2011-06-01 Glenn Morris <rgm@gnu.org>
18124
18125 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18126
18127 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18128
18129 * image.el (image-animate-max-time): Allow nil and t values.
18130 Default to nil.
18131 (create-animated-image): Doc fix.
18132 (image-animate-start): Remove second arg; just use
18133 image-animate-max-time.
18134 (image-animate-timeout): Doc fix. Args changed.
18135
18136 * image-mode.el (image-toggle-display-image): Ensure that the
18137 image spec passed to the animate timer is the same object as in
18138 the buffer's display property (Bug#6981).
18139 (image-transform-properties): Doc fix.
18140
18141 * image.el (image-animate-max-time): Default to nil.
18142
18143 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18144
18145 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18146 entire buffer list (Bug#8184).
18147
18148 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18149
18150 * image.el (imagemagick-types-inhibit)
18151 (imagemagick-register-types): Doc fix.
18152
18153 2011-05-29 Deniz Dogan <deniz@dogan.se>
18154
18155 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18156 default.
18157
18158 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18159
18160 * select.el: Don't perform clipboard-manager saving in hooks;
18161 leave the hooks empty.
18162
18163 2011-05-28 Leo Liu <sdl.web@gmail.com>
18164
18165 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18166 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18167 (occur-edit-mode): New major mode (Bug#8463).
18168 (occur-after-change-function): New function.
18169 (occur-engine): Give Occur tags a read-only property.
18170
18171 2011-05-28 Kevin Ryde <user42@zip.com.au>
18172
18173 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18174
18175 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18176
18177 * bindings.el (help-echo): Make the initial non-indicator dash
18178 empty on graphical terminals (Bug#7295).
18179
18180 * files.el (auto-mode-alist): Move config rule after the
18181 in-stripping one (Bug#8547).
18182
18183 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18184
18185 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18186 setting (Bug#8740).
18187
18188 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18189
18190 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18191 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18192 (Bug#8539).
18193
18194 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18195
18196 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18197
18198 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18199
18200 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18201 (hs-hide-block-at-point, hs-find-block-beginning)
18202 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18203 (Bug#8279).
18204
18205 2011-05-28 Glenn Morris <rgm@gnu.org>
18206
18207 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18208
18209 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18210
18211 * help-fns.el (describe-function-1): If the function is a derived
18212 major mode, print the parent mode.
18213
18214 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18215 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18216
18217 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * minibuffer.el (completion--capf-wrapper): Check applicability before
18220 returning non-nil for non-exclusive completion data.
18221 * progmodes/etags.el (tags-completion-at-point-function):
18222 * info-look.el (info-lookup-completions-at-point): Mark as
18223 non-exclusive.
18224 (info-complete): Adjust accordingly.
18225
18226 * info-look.el: Convert to lexical-binding and completion-at-point.
18227 (info-lookup-completions-at-point): New function.
18228 (info-complete): Use it and completion-in-region.
18229
18230 2011-05-28 Drew Adams <drew.adams@oracle.com>
18231
18232 * isearch.el: Let M-e start with point at the first mismatched char.
18233 (isearch-fail-pos): New function.
18234 (isearch-edit-string): Use it.
18235
18236 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18237
18238 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18239
18240 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18241
18242 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18243 traversal functions for avl-trees.
18244 (avl-tree--stack): New struct.
18245 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18246 (avl-tree-enter): Add optional `updatefun' arg.
18247 (avl-tree--do-enter): Add optional `updatefun' arg.
18248 Change return value.
18249 (avl-tree-delete): Add optional `test' and `nilflag' args.
18250 (avl-tree--do-delete): Add `test' and `nilflag' args.
18251 Change return value.
18252 (avl-tree-member): Add optional `nilflag'
18253 (avl-tree-member-p): New function.
18254 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18255 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18256 (avl-tree-stack-empty-p): New functions.
18257
18258 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18259 avl-tree--del-balance1 and make it work both ways.
18260 (avl-tree--del-balance2): Remove.
18261 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18262 make it work both ways.
18263 (avl-tree--enter-balance2): Remove.
18264 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18265 New macros.
18266 (avl-tree--mapc, avl-tree-map): Add direction argument.
18267
18268 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18269
18270 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18271
18272 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18273
18274 * select.el: Support clipboard managers with built-in function
18275 x-clipboard-manager-save, via delete-frame-functions and
18276 kill-emacs-hook.
18277 (xselect-convert-to-targets): Add MULTIPLE target to list.
18278 (xselect-convert-to-save-targets): New function.
18279
18280 2011-05-27 Kenichi Handa <handa@m17n.org>
18281
18282 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18283 let-binding rfc2047-encode-encoded-words to nil.
18284
18285 2011-05-27 Glenn Morris <rgm@gnu.org>
18286
18287 * mail/emacsbug.el: Don't require url-util.
18288
18289 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18290
18291 * files.el (set-auto-mode):
18292 Also respect mode: entries at the end of the file. (Bug#8586)
18293
18294 2011-05-26 Glenn Morris <rgm@gnu.org>
18295
18296 * files.el (hack-local-variables-prop-line, hack-local-variables):
18297 Downcase mode names, as seems to be traditional.
18298 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18299
18300 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18301 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18302
18303 2011-05-25 Julien Danjou <julien@danjou.info>
18304
18305 * textmodes/rst.el (rst-define-level-faces): Do not define face
18306 symbol if it is already defined.
18307
18308 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18309
18310 * play/5x5.el (5x5-new-game, 5x5-randomize):
18311 Reset 5x5-solver-output to nil when a new grid is cast.
18312 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18313 these debugging traces, as defmacro breaks the compiled code.
18314
18315 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18316
18317 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18318
18319 2011-05-24 Leo Liu <sdl.web@gmail.com>
18320
18321 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18322 (vc-bzr-sha1): Adapt.
18323
18324 * sha1.el: Remove. Function `sha1' is now builtin.
18325
18326 * bindings.el: Provide sha1 feature.
18327
18328 2011-05-24 Kenichi Handa <handa@m17n.org>
18329
18330 * mail/sendmail.el: Require `rfc2047'.
18331 (mail-insert-from-field): Do not perform RFC2047 encoding.
18332 (mail-encode-header): New function.
18333 (sendmail-send-it): Set buffer-file-coding-system of the work
18334 buffer to the return value of select-message-coding-system.
18335 Call mail-encode-header.
18336
18337 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18338
18339 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18340
18341 * mail/supercite.el (sc-default-cite-frame):
18342 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18343
18344 2011-05-24 Glenn Morris <rgm@gnu.org>
18345
18346 * progmodes/python.el (brm-menu): Declare.
18347
18348 * emulation/viper.el (viper-set-hooks): Declare.
18349
18350 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18351 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18352 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18353 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18354 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18355 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18356
18357 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18358
18359 Add an :exit-function for completion-at-point.
18360
18361 * minibuffer.el (completion--done): New fun.
18362 (completion--do-completion): Use it. New arg `expect-exact'.
18363 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18364 since completion--do-completion does it for us now.
18365 (minibuffer-force-complete): Use completion--done and
18366 completion--replace. Handle sole-completion case with more care.
18367 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18368 (completion-extra-properties): New var.
18369 (completion-annotate-function): Make obsolete.
18370 (minibuffer-completion-help): Adjust accordingly.
18371 Use completion-list-insert-choice-function.
18372 (completion-at-point, completion-help-at-point):
18373 Bind completion-extra-properties.
18374 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18375 * simple.el (completion-list-insert-choice-function): New var.
18376 (completion-setup-function): Preserve it.
18377 (choose-completion): Pay attention to it, shuffle the code a bit.
18378 (choose-completion-string): New arg `insert-function'.
18379
18380 * textmodes/bibtex.el: Convert to lexical binding.
18381 (bibtex-mode-map): Use completion-at-point.
18382 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18383 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18384 (bibtex-complete): Define as obsolete alias.
18385 (bibtex-complete-internal): Remove.
18386 (bibtex-format-entry): Remove unused sub-group in regexp.
18387 * shell.el (shell--command-completion-data)
18388 (shell-environment-variable-completion):
18389 * pcomplete.el (pcomplete-completions-at-point):
18390 * comint.el (comint--complete-file-name-data): Use :exit-function
18391 instead of completion-table-with-terminator so it also works for
18392 choose-completion.
18393
18394 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18395
18396 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18397
18398 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18399 (bug#8710).
18400
18401 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18402
18403 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18404
18405 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18406 customization variable and implement: If non-nil, auto-fill will
18407 be inhibited while on topic's header line.
18408
18409 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18410
18411 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18412 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18413 always have a solution in grid size = 5 cases.
18414 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18415 (5x5-solver-output, 5x5-log-buffer): New vars.
18416 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18417 Make these variables buffer local to achieve 5x5 multi-session-ness.
18418 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18419 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18420 (5x5-solve-suggest): New funs.
18421 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18422 randomize a grid so that we ensure that there is always a solution.
18423 (5x5-make-random-grid): Allow other movement than flipping.
18424
18425 2011-05-23 Kevin Ryde <user42@zip.com.au>
18426
18427 * emacs-lisp/advice.el (ad-read-advised-function):
18428 Use `function-called-at-point' as the default, if it has
18429 advice and passes PREDICATE.
18430
18431 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18432
18433 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18434 byte-compile-lambda if it's actually a lambda.
18435
18436 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18437 Fix function quoting. Use backquote better.
18438
18439 2011-05-22 Yuanle Song <sylecn@gmail.com>
18440
18441 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18442 matching (Bug#8516).
18443
18444 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18445
18446 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18447 different face (Bug#8178).
18448
18449 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18450
18451 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18452 defface (Bug#8144).
18453
18454 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18455
18456 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18457 funcall as well (bug#8712). Warn when performing those conversions.
18458 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18459
18460 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18461
18462 2011-05-22 Glenn Morris <rgm@gnu.org>
18463
18464 * files.el (hack-local-variables-prop-line): Small simplifications.
18465 (hack-local-variables, hack-local-variables-prop-line):
18466 If MODE-ONLY, return the mode, rather than just `t'.
18467
18468 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18469
18470 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18471
18472 2011-05-21 Glenn Morris <rgm@gnu.org>
18473
18474 * files.el (hack-local-variables-prop-line, hack-local-variables):
18475 If only interested in the mode, don't bother doing the other stuff.
18476
18477 * image-mode.el (image-after-revert-hook):
18478 Redraw all frames on which the image is visible. (Bug#8567)
18479
18480 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18481
18482 * wid-edit.el (widget-checklist-match-inline):
18483 Fix 2011-04-19 change. (Bug#8649)
18484
18485 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18486
18487 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18488 Also allow singlespace after single-letter capitals followed by a dot.
18489
18490 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18491 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18492
18493 2011-05-20 Nix <nix@esperi.org.uk>
18494
18495 * files.el (basic-save-buffer-2):
18496 Fix handling of break-hardlink-on-save with non-existent files.
18497
18498 2011-05-19 Deniz Dogan <deniz@dogan.se>
18499
18500 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18501 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18502
18503 2011-05-19 Glenn Morris <rgm@gnu.org>
18504
18505 * progmodes/f90.el (f90-type-def-re):
18506 Handle "type, bind(c)". (Bug#8691)
18507
18508 * emacs-lisp/autoload.el (batch-update-autoloads):
18509 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18510
18511 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18512
18513 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18514 property for the correct connection in case of multihops.
18515
18516 2011-05-18 Glenn Morris <rgm@gnu.org>
18517
18518 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18519 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18520
18521 Rationalize calendar handling of day and month abbrev-arrays.
18522 * calendar/calendar.el (calendar-customized-p): New function.
18523 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18524 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18525 Add :set function.
18526 (calendar-abbrev-length, calendar-day-abbrev-array)
18527 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18528 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18529 Elements may no longer be nil.
18530 (calendar-day-name, calendar-month-name):
18531 Update for changed nature of abbrev arrays.
18532 * calendar/diary-lib.el (diary-name-pattern):
18533 Update for changed nature of abbrev arrays.
18534 (diary-mark-entries-1): Update calendar-make-alist calls.
18535 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18536 * calendar/cal-html.el (cal-html-day-abbrev-array):
18537 Simply inherit from calendar-day-abbrev-array.
18538
18539 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18540
18541 * progmodes/grep.el (grep-mode): Disable default
18542 compilation-directory-matcher setting (bug#8684).
18543
18544 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18545
18546 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18547 instead of "head" and "tail". There were problems with SunOS 5.9,
18548 and it performs better.
18549
18550 2011-05-17 Glenn Morris <rgm@gnu.org>
18551
18552 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18553
18554 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18555 Replace obsolete function.
18556
18557 * shell.el (pcomplete-parse-arguments-function): Declare.
18558
18559 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18560 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18561 (appt-check): Doc fixes.
18562 (appt-disp-window-function, appt-delete-window-function):
18563 Remove needless special case in custom :type.
18564 (appt-display-count): Default to 0, not nil.
18565 (appt-check): Reset appt-display-count to 0, not nil.
18566
18567 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18568
18569 * progmodes/python.el (python-font-lock-keywords):
18570 Add the Python 3.X keyword "nonlocal" (bug#8639).
18571
18572 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18573
18574 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18575
18576 2011-05-16 Kevin Ryde <user42@zip.com.au>
18577
18578 * info-look.el (makefile-automake-mode): New setups, looking in
18579 automake manual, then makefile-mode.
18580 (makefile-mode): Remove automake manual, have it just in
18581 makefile-automake-mode since there's various things different or
18582 not relevant to plain make.
18583 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18584 believe a hypothetical automake-mode would go to makefile-mode,
18585 not the other way around.
18586
18587 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18590 hunk-end tags (Bug#8672).
18591
18592 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18593 vc-annotate-show-diff-revision-at-line (Bug#8671).
18594
18595 2011-05-14 Glenn Morris <rgm@gnu.org>
18596
18597 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18598 in the middle of an existing one with multiple authors. (Bug#8645)
18599 (change-log-font-lock-keywords): Also handle multiple author lines
18600 with leading tabs. (Bug#8644)
18601
18602 * calendar/appt.el (appt-check): Rename some local variables.
18603 Some simplification/reordering.
18604
18605 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18606 (feedmail-sendmail-f-doesnt-sell-me-out)
18607 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18608 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18609 (feedmail-queue-runner-message-sender): Set :version.
18610 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18611 (bbdb-dwim-net-address, vm-mail): Declare.
18612 (feedmail-binmail-gnulinuxish-template):
18613 Rename from feedmail-binmail-linuxish-template.
18614 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18615 Use insert-buffer-substring.
18616
18617 2011-05-14 Bill Carpenter <bill@carpenter.org>
18618
18619 * mail/feedmail.el (feedmail-patch-level): Increase.
18620 (feedmail-debug): New custom group.
18621 (feedmail-confirm-outgoing-timeout)
18622 (feedmail-sendmail-f-doesnt-sell-me-out)
18623 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18624 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18625 (feedmail-sender-line, feedmail-from-line)
18626 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18627 (feedmail-spray-this-address)
18628 (feedmail-spray-address-fiddle-plex-list)
18629 (feedmail-queue-use-send-time-for-date)
18630 (feedmail-queue-use-send-time-for-message-id)
18631 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18632 (feedmail-buffer-eating-function):
18633 Doc fixes.
18634 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18635 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18636 (feedmail-message-action-scroll-down): New functions.
18637 (feedmail-queue-directory, feedmail-queue-draft-directory):
18638 Use expand-file-name.
18639 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18640 Remove C-v help entry.
18641 (feedmail-queue-buffer-file-name): New variable.
18642 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18643 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18644 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18645 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18646 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18647 (feedmail-message-action-toggle-spray)
18648 (feedmail-run-the-queue-no-prompts)
18649 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18650 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18651 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18652 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18653 (feedmail-envelope-deducer, feedmail-fiddle-from)
18654 (feedmail-fiddle-sender, feedmail-default-date-generator)
18655 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18656 (feedmail-fiddle-spray-address)
18657 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18658 (feedmail-fiddle-list-of-fiddle-plexes)
18659 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18660 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18661 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18662 Change default. Doc fix.
18663 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18664 (feedmail-binmail-linuxish-template): New constant.
18665 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18666 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18667 (feedmail-send-it): Add debug call.
18668 Use feedmail-queue-buffer-file-name, and
18669 feedmail-send-it-immediately-wrapper.
18670 (feedmail-message-action-send): Add debug call.
18671 Use feedmail-send-it-immediately-wrapper.
18672 (feedmail-queue-express-to-queue): Add debug call.
18673 Run feedmail-queue-express-hook.
18674 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18675 (feedmail-message-action-help-blat):
18676 Rename from feedmail-queue-send-edit-prompt-help-first.
18677 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18678 Check line-endings. Handle errors better.
18679 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18680 Doc fix. Add debug call.
18681 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18682 Use feedmail-queue-send-edit-prompt-inner.
18683 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18684 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18685 from feedmail-queue-send-edit-prompt.
18686 (feedmail-queue-send-edit-prompt-help)
18687 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18688 (feedmail-tidy-up-slug): Add debug call.
18689 Respect feedmail-queue-slug-suspect-regexp.
18690 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18691 (feedmail-dump-message-to-queue): Add debug call.
18692 Expand queue-directory.
18693 (feedmail-dump-message-to-queue): Change message slightly.
18694 Use feedmail-say-chatter.
18695 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18696 (feedmail-send-it-immediately-wrapper): New function.
18697 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18698 Insert empty string rather than newline. Handle full-frame case.
18699 Use catch/throw. Use feedmail-say-chatter.
18700 (feedmail-fiddle-from): Try mail-host-address.
18701 (feedmail-default-message-id-generator): Doc fix.
18702 Bind system-time-locale. Handle missing end.
18703 (feedmail-fiddle-x-mailer): Add debug call.
18704 Handle feedmail-x-mailer-line being nil.
18705 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18706 Add debug call. Use buffer-substring-no-properties.
18707 (feedmail-say-debug, feedmail-say-chatter): New functions.
18708 (feedmail-find-eoh): Give an explicit error.
18709
18710 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18711
18712 * net/newst-treeview.el (newsticker-treeview-face): Change default
18713 family from helvetica to sans.
18714 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18715 etc/images/newsticker.
18716
18717 * net/newst-reader.el (newsticker-feed-face): Change default
18718 family from helvetica to sans.
18719
18720 * net/newst-plainview.el (newsticker-new-item-face)
18721 (newsticker-old-item-face, newsticker-immortal-item-face)
18722 (newsticker-obsolete-item-face, newsticker-date-face)
18723 (newsticker-statistics-face): Change default family from
18724 helvetica to sans.
18725 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18726 etc/images/newsticker.
18727
18728 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18729 (newsticker--process-auto-mark-filter-match): Tell user about
18730 auto-marking.
18731
18732 2011-05-13 Didier Verna <didier@xemacs.org>
18733
18734 Common Lisp indentation improvements on defmethod and lambda-lists.
18735 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18736 TODO entries.
18737 (lisp-lambda-list-keyword-parameter-indentation)
18738 (lisp-lambda-list-keyword-parameter-alignment)
18739 (lisp-lambda-list-keyword-alignment): New customizable user options.
18740 (lisp-indent-defun-method): Improve docstring.
18741 (extended-loop-p): Fix comment.
18742 (lisp-indent-lambda-list-keywords-regexp): New variable.
18743 (lisp-indent-lambda-list): New function.
18744 (lisp-indent-259): Use it.
18745 (lisp-indent-defmethod): Support for more than one
18746 method qualifier and properly indent methods lambda-lists.
18747 (defgeneric): Provide a missing common-lisp-indent-function property.
18748
18749 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18752 bounds for the empty string (bug#8667).
18753
18754 2011-05-13 Glenn Morris <rgm@gnu.org>
18755
18756 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18757
18758 * mail/sendmail.el (sendmail-program): Try executable-find first.
18759 (sendmail-send-it): `sendmail-program' cannot be unbound.
18760
18761 * calendar/appt.el (appt-make-list): Simplify.
18762 (appt-time-msg-list): Doc fix.
18763 (appt-check): Change mode-line message at the time of the appointment.
18764
18765 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18766
18767 * progmodes/ld-script.el (ld-script-keywords)
18768 (ld-script-builtins): Update keywords list.
18769
18770 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18771
18772 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18773
18774 * shell.el (shell-completion-vars): New function.
18775 (shell-mode):
18776 * simple.el (read-shell-command): Use it.
18777 (blink-matching-open): No need for " [...]" in minibuffer-message.
18778
18779 2011-05-12 Glenn Morris <rgm@gnu.org>
18780
18781 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18782 (appt-check): Simplify.
18783
18784 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18785
18786 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18787 literal "/dev/null".
18788
18789 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18790
18791 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18792 Fix typo.
18793
18794 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18795
18796 * progmodes/which-func.el (which-function):
18797 Use add-log-current-defun instead of add-log-current-defun-function,
18798 which might not be defined (Bug#8260).
18799
18800 2011-05-12 Glenn Morris <rgm@gnu.org>
18801
18802 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18803 Let byte-compile-initial-macro-environment always take precedence.
18804
18805 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18806
18807 * net/rcirc.el: Add support for SSL/TLS connections.
18808 (rcirc-server-alist): New field `encryption'.
18809 (rcirc): Check `encryption' settings.
18810 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18811 Merge make-local-variable into `set'.
18812 (rcirc--connection-open-p): New function.
18813 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18814 the process is not a network process (e.g. running gnutls-cli).
18815 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18816 Make rcirc-(en|de)code-coding-system local here.
18817 (rcirc-mode): Merge make-local-variable into `set'.
18818 (rcirc-parent-buffer): Make permanent buffer-local.
18819 (rcirc-multiline-minor-mode): Don't do it here.
18820 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18821 there's no server buffer.
18822
18823 2011-05-11 Glenn Morris <rgm@gnu.org>
18824
18825 * newcomment.el (comment-kill): Prefix "unused" local.
18826
18827 * term/w32console.el (get-screen-color): Declare.
18828
18829 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18830 Handle symbol elements of byte-compile-initial-macro-environment.
18831
18832 2011-05-10 Leo Liu <sdl.web@gmail.com>
18833
18834 * bookmark.el (bookmark-bmenu-mode-map):
18835 Bind bookmark-bmenu-search to `/'.
18836
18837 * mail/footnote.el: Convert to utf-8 encoding.
18838 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18839 (Footnote-unicode): New function.
18840 (footnote-style-alist): Add unicode style to the list.
18841 (footnote-style): Doc fix.
18842
18843 2011-05-10 Jim Meyering <meyering@redhat.com>
18844
18845 Fix doubled-word typos.
18846 * international/quail.el (quail-insert-kbd-layout): and and -> and
18847 * kermit.el: and and -> and
18848 * net/ldap.el (ldap-search-internal): to to -> to
18849 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18850 * progmodes/js.el (js-mode): and and -> and
18851 * textmodes/artist.el (artist-move-to-xy): at at -> at
18852 (artist-draw-region-trim-line-endings): if if -> if
18853 And Safetyc -> Safety.
18854 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18855
18856 2011-05-10 Glenn Morris <rgm@gnu.org>
18857 Stefan Monnier <monnier@iro.umontreal.ca>
18858
18859 * files.el (hack-one-local-variable-eval-safep):
18860 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18861
18862 2011-05-10 Glenn Morris <rgm@gnu.org>
18863
18864 * calendar/diary-lib.el (diary-list-entries-hook)
18865 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18866 (diary-nongregorian-marking-hook, diary-list-entries)
18867 (diary-include-other-diary-files, diary-mark-entries)
18868 (diary-mark-included-diary-files): Doc fixes.
18869
18870 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18871
18872 * misc.el: Require tabulated-list.el during compilation.
18873
18874 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18875
18876 * progmodes/compile.el (compilation-start):
18877 Run compilation-filter-hook for the async case too.
18878 (compilation-filter-hook): Doc fix.
18879
18880 2011-05-09 Deniz Dogan <deniz@dogan.se>
18881
18882 * wdired.el: Remove outdated installation comment. Fix usage
18883 comment.
18884
18885 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18886
18887 * misc.el: Implement new command `list-dynamic-libraries'.
18888 (list-dynamic-libraries--loaded-only-p): New variable.
18889 (list-dynamic-libraries--refresh): New function.
18890 (list-dynamic-libraries): New command.
18891
18892 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18893
18894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18895 Fix the ant regexp to handle end-line and end-column info from jikes.
18896 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18897 higher priority to avoid clobbering by gnu.
18898
18899 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18900
18901 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18902 if the face has existing theme settings (Bug#8454).
18903
18904 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18905
18906 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18907 Only match variables declared via `my' or `our' (Bug#8261).
18908
18909 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18910 special file names `.' and `..' (Bug#8259).
18911
18912 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18913
18914 * progmodes/grep.el (grep-mode-font-lock-keywords):
18915 Remove buffer-changing entries.
18916 (grep-filter): New function.
18917 (grep-mode): Add it to compilation-filter-hook.
18918
18919 * progmodes/compile.el (compilation-filter-hook)
18920 (compilation-filter-start): New defvars.
18921 (compilation-filter): Call compilation-filter-hook prior to
18922 updating the process mark.
18923
18924 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18925
18926 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18927
18928 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18929
18930 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18931 mailclient-send-it even if window-system is nil. (Bug#8595)
18932
18933 * term/w32console.el (terminal-init-w32console):
18934 Call get-screen-color and use its output to set the frame
18935 background-mode. (Bug#8597)
18936
18937 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18938
18939 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18940 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18941 New functions.
18942 (defgeneric, eieio--defmethod): Use them.
18943 (eieio-defgeneric): Remove.
18944 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18945
18946 2011-05-07 Glenn Morris <rgm@gnu.org>
18947
18948 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18949 Use let rather than let*.
18950 (timeclock-find-discrep): Remove unused local.
18951
18952 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18953
18954 * calendar/appt.el (appt-time-msg-list): Doc fix.
18955
18956 2011-05-06 Noah Friedman <friedman@splode.com>
18957
18958 * apropos.el (apropos-print-doc): Only use
18959 emacs-lisp-docstring-fill-column when it is bound to an integer,
18960 per that variable's documentation.
18961
18962 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18965 and warnings are not silently discarded (e.g. use -d instead of -P).
18966
18967 2011-05-06 Glenn Morris <rgm@gnu.org>
18968
18969 * calendar/appt.el (appt-message-warning-time): Doc fix.
18970 (appt-warning-time-regexp): New option.
18971 (appt-make-list): Respect appt-message-warning-time.
18972
18973 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18974 New options.
18975 (diary-add-to-list): Strip comments from the displayed string.
18976 (diary-mode): Set comment-start and comment-end.
18977
18978 * vc/diff-mode.el (smerge-refine-subst): Declare.
18979 (diff-refine-hunk): Don't require smerge-mode when compiling.
18980
18981 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18982
18983 * simple.el (list-processes): Return nil as the docstring says.
18984
18985 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18986
18987 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18988 to "".
18989 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18990 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18991 determining of binary transfer. (Bug#7383)
18992
18993 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18994
18995 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18996 Fix port computation bug. (Bug#8618)
18997
18998 2011-05-05 Glenn Morris <rgm@gnu.org>
18999
19000 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19001
19002 * simple.el (shell-dynamic-complete-functions)
19003 (comint-dynamic-complete-functions): Declare.
19004
19005 * net/network-stream.el (gnutls-negotiate):
19006 * simple.el (tabulated-list-print): Fix declarations.
19007
19008 * progmodes/gud.el (syntax-symbol, syntax-point):
19009 Remove unnecessary and incorrect declarations.
19010
19011 * emacs-lisp/check-declare.el (check-declare-scan):
19012 Handle byte-compile-initial-macro-environment in bytecomp.el.
19013
19014 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19015
19016 Fix earlier half-done eieio-defmethod change (bug#8338).
19017 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19018 Streamline and change calling convention.
19019 (defmethod): Adjust accordingly and simplify.
19020 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19021 new eieio--defmethod.
19022 (slot-boundp): Minor CSE simplification.
19023
19024 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19025
19026 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19027 (glasses-make-readable): Use glasses-separate-capital-groups.
19028
19029 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19032 (warning-series): Doc fix.
19033 (display-warning): Don't try to create the buffer if we just found it.
19034
19035 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19036
19037 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19038 (autoload-find-generated-file): New function.
19039 (generate-file-autoloads): Bind generated-autoload-file to
19040 buffer-file-name.
19041 (update-file-autoloads, update-directory-autoloads):
19042 Use autoload-find-generated-file. If called interactively, prompt for
19043 output file (Bug#7989).
19044 (batch-update-autoloads): Doc fix.
19045
19046 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19047
19048 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19049
19050 2011-05-04 Glenn Morris <rgm@gnu.org>
19051
19052 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19053 function, so it follows changes in calendar-date-style.
19054 (diary-fancy-date-matcher): New function.
19055 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19056 (diary-fancy-font-lock-fontify-region-function):
19057 Use diary-fancy-date-pattern as a function.
19058
19059 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19060 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19061
19062 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19063
19064 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19065 instead of positional arguments. Allow :keylist and :crlfiles
19066 arguments.
19067 (open-gnutls-stream): Call it.
19068
19069 * net/network-stream.el (network-stream-open-starttls): Adjust to
19070 call `gnutls-negotiate' with :process and :hostname arguments.
19071
19072 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19073
19074 * minibuffer.el (completion--message): New function.
19075 (completion--do-completion, minibuffer-complete)
19076 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19077 (completion--do-completion): Don't ignore completion-auto-help when in
19078 icomplete-mode.
19079
19080 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19081 internal encoding (e.g. tibetan zero is not whitespace).
19082 (global-whitespace-mode): Prefer save-current-buffer.
19083 (whitespace-trailing-regexp): Remove useless save-match-data.
19084 (whitespace-empty-at-bob-regexp): Minor simplification.
19085
19086 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19087
19088 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19089
19090 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19091
19092 * textmodes/ispell.el (ispell-add-per-file-word-list):
19093 Use `concat' to create string for insertion.
19094
19095 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19096
19097 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19098 Avoid open-line which runs post-self-insert-hook.
19099 (bibtex-fill-entry): Remove unused `end' var.
19100
19101 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19102
19103 * textmodes/ispell.el (ispell-add-per-file-word-list):
19104 Protect against `nil' value of `comment-start' (Bug#8579).
19105
19106 2011-05-03 Leo Liu <sdl.web@gmail.com>
19107
19108 * isearch.el (isearch-yank-pop): New command.
19109 (isearch-mode-map): Bind it to `M-y'.
19110 (isearch-forward): Mention it.
19111
19112 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * simple.el (minibuffer-complete-shell-command): Remove.
19115 (minibuffer-local-shell-command-map): Use completion-at-point.
19116 (read-shell-command): Setup completion vars here instead.
19117 (read-expression-map): Bind TAB to symbol completion.
19118
19119 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19120 error directly rather via storing it into `results'.
19121
19122 2011-05-02 Leo Liu <sdl.web@gmail.com>
19123
19124 * vc/diff.el: Fix description.
19125
19126 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19127
19128 * server.el (server-eval-at): New function.
19129
19130 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19131
19132 * net/network-stream.el (open-network-stream): Take a :nowait
19133 parameter and pass it on to `make-network-process'.
19134 (network-stream-open-plain): Ditto.
19135
19136 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19137
19138 * faces.el (face-spec-set-match-display): Don't match toolkit
19139 options on terminal frames.
19140
19141 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19142
19143 * progmodes/pascal.el: Use lexical binding.
19144 (pascal-mode-map): Remove author preferences.
19145
19146 * pcomplete.el (pcomplete-std-complete): Don't abuse
19147 completion-at-point.
19148
19149 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19150
19151 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19152 removing code that has been dead since 1991 or so.
19153
19154 * startup.el (command-line): When warning about "_emacs", use a
19155 delayed warning to allow the user to filter it out.
19156
19157 2011-04-28 Deniz Dogan <deniz@dogan.se>
19158
19159 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19160 user has not joined.
19161
19162 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19163
19164 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19165 aren't any completions at point.
19166
19167 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19168
19169 * subr.el (display-delayed-warnings): New function.
19170 (delayed-warnings-hook): New variable.
19171
19172 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19173
19174 * minibuffer.el (completion-at-point, completion-help-at-point):
19175 Don't presume that a given completion-at-point-function will always
19176 use the same calling convention.
19177
19178 * pcomplete.el (pcomplete-completions-at-point):
19179 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19180 pcomplete-seen is non-nil.
19181 (pcomplete-comint-setup): Also recognize the new comint/shell
19182 completion functions.
19183 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19184 pcomplete-seen is non-nil.
19185
19186 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19187
19188 * calendar/icalendar.el (diary-lib): Add require statement.
19189 (icalendar--create-uid): Read out a uid from a text-property on
19190 the first character in the entry. This allows for code to add its
19191 own uid to the entry.
19192 (icalendar--convert-float-to-ical): Add export of
19193 `diary-float'-entries save for those with the optional DAY
19194 argument.
19195
19196 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19197
19198 * subr.el (shell-quote-argument): Use alternate escaping strategy
19199 when we spot a variable reference in a string.
19200
19201 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19202
19203 * cus-start.el (all): Define customization for debug-on-event.
19204
19205 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19206
19207 * subr.el (shell-quote-argument): Escape correctly under Windows.
19208
19209 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19212
19213 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19214
19215 * net/tramp.el (tramp-process-actions): Add POS argument.
19216 Delete region between POS and (pos).
19217
19218 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19219 Use `nil' position in `tramp-process-actions' call.
19220 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19221
19222 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19223 position in `tramp-process-actions' call.
19224
19225 * net/trampver.el: Update release number.
19226
19227 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19228
19229 * custom.el (defcustom): Obey lexical-binding.
19230
19231 Fix octave-inf completion problems reported by Alexander Klimov.
19232 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19233 Inherit from octave-mode-syntax-table.
19234 (inferior-octave-mode): Set info-lookup-mode.
19235 (inferior-octave-completion-at-point): New function.
19236 (inferior-octave-complete): Use it and completion-in-region.
19237 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19238 comint-filename-completion.
19239 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19240 symbol elements which shouldn't be word elements.
19241 (octave-font-lock-keywords, octave-beginning-of-defun)
19242 (octave-function-header-regexp): Adjust regexps accordingly.
19243 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19244
19245 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19246
19247 * net/gnutls.el (gnutls-errorp): Declare before first use.
19248
19249 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19250
19251 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19252 verify-error, and verify-hostname-error parameters. Check whether
19253 default trustfile exists before going to use it. Add missing
19254 argument to gnutls-message-maybe call. Return value.
19255 Reported by Claudio Bley <claudio.bley@gmail.com>.
19256 (open-gnutls-stream): Add usage example.
19257
19258 * net/network-stream.el (network-stream-open-starttls): Give host
19259 parameter to `gnutls-negotiate'.
19260 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19261 * subr.el (shell-quote-argument): Escape correctly under Windows.
19262
19263 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19264
19265 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19266 Use correct match group (bug#8438).
19267
19268 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19269
19270 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19271 (package-menu--generate): New arg specifying packages to show.
19272 (package-menu-refresh, package-menu-execute, list-packages):
19273 Callers changed.
19274 (package-show-package-list): New function, replacing deleted
19275 package--list-packages (renamed because it is non-internal).
19276
19277 * finder.el (finder-list-matches): Use package-show-package-list
19278 instead of deleted package--list-packages.
19279
19280 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19281 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19282 (vc-annotate-mode-map): Bind it to RET.
19283
19284 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19285
19286 * progmodes/etags.el (next-file): Don't use set-buffer to change
19287 buffers (Bug#8478).
19288
19289 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19290
19291 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19292
19293 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19294 (apropos-accumulator): Doc fix.
19295 (apropos-function, apropos-macro, apropos-command)
19296 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19297 (apropos-plist): Add face property.
19298 (apropos-symbols-internal): Fix indentation.
19299 (apropos-print): Simplify help, and recognize apropos-multi-type.
19300 (apropos-print-doc): Use button-type-get to extract the button's
19301 face property. Fill docstring (Bug#8352).
19302
19303 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19304
19305 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19306
19307 * play/mpuz.el (mpuz-silent): Doc fix.
19308 (mpuz-mode-map): Use mapc.
19309 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19310 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19311 Fix typos in docstrings.
19312
19313 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19314 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19315
19316 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19317
19318 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * minibuffer.el (completion--do-completion): Avoid the "Next char
19321 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19322
19323 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19324 mouse-2 into unread-command-events, it is interpreted correctly.
19325
19326 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19327 (image-toggle-display): Doc fix.
19328
19329 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19330
19331 * textmodes/page.el (what-page): Use line-number-at-pos to
19332 calculate line number (Bug#6825).
19333
19334 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19335
19336 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19337 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19338 Pass argument NO-DEFAULT to `find-tag-interactive'.
19339
19340 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19341
19342 Lexical-binding cleanup.
19343
19344 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19345 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19346 * progmodes/ada-prj.el (ada-prj-initialize-values)
19347 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19348 (ada-prj-show-value):
19349 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19350 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19351 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19352 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19353 * progmodes/bug-reference.el (bug-reference-push-button):
19354 * progmodes/fortran.el (fortran-line-length):
19355 * progmodes/glasses.el (glasses-change):
19356 * progmodes/octave-mod.el (octave-fill-paragraph):
19357 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19358 (python-pdbtrack-grub-for-buffer, python-sentinel):
19359 * progmodes/sql.el (sql-save-connection):
19360 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19361 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19362 Mark unused parameters.
19363
19364 * progmodes/compile.el (compilation--flush-directory-cache)
19365 (compilation--flush-parse, compile-internal): Mark unused parameters.
19366 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19367 (compilation-next-error-function): Remove unused variable `timestamp'.
19368
19369 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19370 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19371
19372 * progmodes/dcl-mode.el (dcl-end-of-command):
19373 Remove unused variable `start'.
19374 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19375 (dcl-option-value-basic, dcl-option-value-offset)
19376 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19377 Mark unused parameters.
19378 (dcl-save-local-variable): Remove unused variable `val'.
19379 (mode): Declare.
19380
19381 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19382 Mark unused parameters.
19383 (delphi-ignore-changes): Move before first use.
19384 (delphi-charset-token-at): Remove unused variable `start'.
19385 (delphi-else-start): Remove unused variable `if-count'.
19386 (delphi-comment-block-start, delphi-comment-block-end):
19387 Remove unused variable `kind'.
19388 (delphi-indent-line): Remove unused variable `new-point'.
19389
19390 * progmodes/ebrowse.el (ebrowse-files-list)
19391 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19392 Mark unused parameters. Don't quote `lambda'.
19393 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19394 Don't quote `lambda'.
19395 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19396 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19397 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19398 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19399 Use `ignore-errors'.
19400 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19401 (ebrowse-view/find-file-and-search-pattern)
19402 (ebrowse-view/find-member-declaration/definition):
19403 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19404 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19405 Rename parameter PREFIX-ARG to PREFIX.
19406 (ebrowse-tags-read-name): Remove unused variables `start' and
19407 `member-info'.
19408 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19409 to `tags-file'.
19410
19411 * progmodes/etags.el (local-find-tag-hook): Declare.
19412 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19413 Mark unused parameters.
19414
19415 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19416 (executable-interpret): Mark unused parameter.
19417
19418 * progmodes/flymake.el (flymake-process-sentinel)
19419 (flymake-after-change-function)
19420 (flymake-create-temp-with-folder-structure)
19421 (flymake-get-include-dirs-dot): Mark unused parameters.
19422 (flymake-safe-delete-directory): Remove unused variable `err'.
19423
19424 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19425 (speedbar-timer-fn, speedbar-line-text)
19426 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19427 (speedbar-center-buffer-smartly): Declare functions.
19428 (gdb-find-watch-expression): Remove unused variable `array'.
19429 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19430 (gdb-starting): Mark unused parameters.
19431 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19432 (gdb-table-string): Remove unused variable `res'.
19433 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19434 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19435 (gdb-display-buffer): Remove unused variable `cur-size'.
19436
19437 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19438 allow lexical-binding compilation.
19439 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19440 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19441 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19442 Mark unused parameters.
19443 (gud-gdb-marker-filter): Remove unused variable `match'.
19444 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19445 lambda expressions and funcall them, instead of using `fset'.
19446
19447 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19448 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19449
19450 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19451 variable `header-beg'; use `let'.
19452
19453 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19454 `restart', `last-sexp' and `at-do'.
19455
19456 * progmodes/js.el (js--debug): Mark unused parameter.
19457 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19458 (js--splice-into-items): Remove unused variable `item'.
19459 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19460
19461 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19462 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19463 (makefile-complete): Remove unused variable `try'.
19464 (makefile-fill-paragraph, makefile-match-function-end):
19465 Mark unused parameters.
19466
19467 * progmodes/octave-inf.el (inferior-octave-complete):
19468 Remove unused variable `proc'.
19469 (inferior-octave-output-digest): Mark unused parameter.
19470
19471 * progmodes/perl-mode.el (perl-calculate-indent):
19472 Remove unused variable `err'.
19473
19474 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19475 (prolog-indent-line): Mark unused parameters.
19476 (prolog-indent-line): Remove unused variable `beg'.
19477
19478 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19479 (reporter-dont-compact-list): Declare.
19480
19481 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19482 Remove unused variable `char'.
19483 (sh-debug): Mark unused parameter.
19484 (sh-get-indent-info): Remove unused variable `start'.
19485 (sh-calculate-indent): Remove unused variable `var'.
19486
19487 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19488 (simula-electric-keyword): Remove unused variable `null'.
19489 (simula-search-backward, simula-search-forward): Remove unused
19490 variables `begin' and `end'.
19491
19492 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19493 Remove unused variable `pos'.
19494 (vera-electric-tab, vera-comment-uncomment-region):
19495 Mark unused parameters.
19496 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19497
19498 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19499
19500 * emacs-lisp/package.el (package--builtins, package-alist)
19501 (package-load-descriptor, package-built-in-p, package-activate)
19502 (define-package, package-installed-p)
19503 (package-compute-transaction, package-buffer-info)
19504 (package--push): Doc fix. Distinguish more clearly between
19505 version strings and version lists.
19506
19507 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19508
19509 Lexical-binding cleanup.
19510
19511 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19512 (5x5-make-mutate-best):
19513 * play/fortune.el (fortune-in-buffer):
19514 * play/gomoku.el (gomoku-init-display):
19515 * play/solitaire.el (solitaire, solitaire-do-check):
19516 * play/tetris.el (tetris-default-update-speed-function):
19517 Mark unused parameters.
19518
19519 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19520 (bubbles--shift): Remove unused variable `char-org'.
19521 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19522 (bubbles--show-images): Remove unused variable `char'.
19523
19524 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19525 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19526 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19527 (decipher-analyze-buffer): Use ?\s.
19528 (decipher-make-checkpoint): Remove unused variable `mapping'.
19529
19530 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19531
19532 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19533 Remove unused variable `result'; use `let'.
19534
19535 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19536 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19537 (gametree-children-shown-p, gametree-compute-reduced-score):
19538 Use `ignore-errors'.
19539
19540 * play/handwrite.el (ps-lpr-switches): Declare.
19541 (handwrite): Remove unused variables `pmin' and `lastp'.
19542
19543 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19544
19545 * play/landmark.el (landmark-init-display)
19546 (landmark-update-naught-weights): Mark unused parameters.
19547 (landmark-y): Remove unused variable `noise'. Simplify.
19548 (landmark-human-plays): Remove unused variable `score'.
19549
19550 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19551 (mpuz-try-proposal): Remove unused variable `game'.
19552
19553 * play/zone.el (life-patterns): Declare.
19554
19555 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * vc/vc.el (ediff-vc-internal): Declare function.
19558
19559 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19560
19561 * shell.el: Use lexical-binding and std completion UI.
19562 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19563 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19564 comint-preoutput-filter-functions rather than on
19565 comint-output-filter-functions.
19566 (shell-command-completion, shell--command-completion-data)
19567 (shell-filename-completion, shell-environment-variable-completion)
19568 (shell-c-a-p-replace-by-expanded-directory): New functions.
19569 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19570 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19571 (shell-dynamic-complete-environment-variable): Use them.
19572 (shell-dynamic-complete-as-environment-variable)
19573 (shell-dynamic-complete-as-command): Remove.
19574 (shell-match-partial-variable): Match past point.
19575 * comint.el: Clean up use of completion-at-point-functions.
19576 (comint-completion-at-point): New function.
19577 (comint-mode): Use it completion-at-point-functions.
19578 (comint-dynamic-complete): Make it obsolete.
19579 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19580 (comint-c-a-p-replace-by-expanded-history): New function.
19581 (comint-dynamic-complete-functions)
19582 (comint-replace-by-expanded-history): Use it.
19583 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19584 termination strings. Try harder to avoid second try-completion.
19585 (completion-in-region-mode-map): Disable bindings that don't work yet.
19586
19587 * comint.el: Use lexical-binding. Require CL.
19588 (comint-dynamic-complete-functions): Use comint-filename-completion.
19589 (comint-completion-addsuffix): Tweak custom type.
19590 (comint-filename-completion, comint--common-suffix)
19591 (comint--common-quoted-suffix, comint--table-subvert)
19592 (comint--complete-file-name-data): New functions.
19593 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19594 (comint-dynamic-list-filename-completions): Use them.
19595 (comint-dynamic-simple-complete): Make obsolete.
19596
19597 * minibuffer.el (completion-in-region-mode):
19598 Keep completion-in-region-mode--predicate global.
19599 (completion-in-region--postch):
19600 Assume completion-in-region-mode--predicate is not null.
19601
19602 * progmodes/flymake.el (flymake-start-syntax-check-process):
19603 Obey `dir'. Simplify.
19604
19605 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19606 we're in VC after all.
19607
19608 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19609
19610 * vc/vc.el (vc-diff-build-argument-list-internal)
19611 (vc-version-ediff, vc-ediff): New commands.
19612 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19613
19614 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19615
19616 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19617 add sanity check.
19618
19619 * obsolete/erc-hecomplete.el: Make obsolete.
19620 * obsolete/: Standardize obsolescence info in the header.
19621
19622 2011-04-20 Glenn Morris <rgm@gnu.org>
19623
19624 * calendar/solar.el (solar-horizontal-coordinates):
19625 Use the longitude argument rather than `calendar-longitude'.
19626 (solar-date-next-longitude): Remove unused locals.
19627
19628 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19629
19630 * whitespace.el: New version 13.2.1.
19631
19632 2011-04-20 felix <EmacsWiki> (tiny change)
19633
19634 * whitespace.el (global-whitespace-mode): Keep highlight when
19635 switching between major modes on a file.
19636
19637 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19638
19639 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19640 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19641 multi-line comments as well.
19642
19643 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19644
19645 Lexical-binding cleanup.
19646
19647 * arc-mode.el (archive-mode-revert):
19648 * cmuscheme.el (scheme-interactively-start-process):
19649 * custom.el (custom-initialize-delay):
19650 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19651 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19652 * emacs-lock.el (emacs-lock-clear-sentinel):
19653 * ezimage.el (defezimage):
19654 * follow.el (follow-avoid-tail-recenter):
19655 * fringe.el (set-fringe-mode-1):
19656 * generic-x.el (bat-generic-mode-compile):
19657 * help-mode.el (help-info-variable, help-do-xref)
19658 (help-mode-revert-buffer):
19659 * help.el (view-emacs-todo):
19660 * iswitchb.el (iswitchb-completion-help):
19661 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19662 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19663 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19664 * locate.el (locate-update):
19665 * longlines.el (longlines-encode-region)
19666 (longlines-after-change-function):
19667 * outline.el (outline-isearch-open-invisible):
19668 * ps-def.el (declare-function, charset-dimension, char-width)
19669 (encode-char):
19670 * ps-mule.el (ps-mule-plot-string):
19671 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19672 (recentf-edit-list-select, recentf-edit-list-validate)
19673 (recentf-open-files-action):
19674 * rect.el (delete-whitespace-rectangle-line)
19675 (rectangle-number-line-callback):
19676 * register.el (window-configuration-to-register)
19677 (frame-configuration-to-register):
19678 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19679 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19680 (xselect-convert-to-targets, xselect-convert-to-delete)
19681 (xselect-convert-to-filename, xselect-convert-to-charpos)
19682 (xselect-convert-to-lineno, xselect-convert-to-colno)
19683 (xselect-convert-to-os, xselect-convert-to-host)
19684 (xselect-convert-to-user, xselect-convert-to-class)
19685 (xselect-convert-to-name, xselect-convert-to-integer)
19686 (xselect-convert-to-atom, xselect-convert-to-identity):
19687 * subr.el (declare, ignore, process-kill-without-query)
19688 (text-clone-maintain):
19689 * terminal.el (te-get-char, te-tic-sentinel):
19690 * tool-bar.el (tool-bar-make-keymap):
19691 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19692 * type-break.el (type-break-mode, type-break-noninteractive-query):
19693 * view.el (View-back-to-mark):
19694 * wid-browse.el (widget-browse-action, widget-browse-widget)
19695 (widget-browse-widgets, widget-browse-sexp):
19696 * widget.el (define-widget-keywords):
19697 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19698 Mark unused parameters.
19699
19700 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19701 (align-areas): Remove unused variable `look'.
19702 (align-region): Remove unused variables `real-end' and `pos-list'.
19703
19704 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19705
19706 * bindings.el (mode-line-modified, mode-line-remote):
19707 Mark unused parameters.
19708 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19709
19710 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19711 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19712
19713 * comint.el (comint-history-isearch-pop-state)
19714 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19715 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19716 (comint-substitute-in-file-name): Doc fix.
19717
19718 * completion.el (cmpl-statistics-block): Mark unused parameter.
19719 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19720 (save-completions-to-file, load-completions-from-file):
19721 Remove unused local variable `e'.
19722
19723 * composite.el (compose-chars): Remove unused variable `len'.
19724 (lgstring-insert-glyph): Remove unused variable `g'.
19725 (compose-glyph-string): Remove unused variables `ascent',
19726 `descent', `lbearing' and `rbearing'.
19727 (compose-glyph-string-relative): Remove unused variables
19728 `lbearing', `rbearing' and `wadjust'.
19729 (compose-gstring-for-graphic): Remove unused variables `header',
19730 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19731 (compose-gstring-for-terminal): Remove unused variables `header'
19732 and `nchars'. Use `let', not `let*'.
19733
19734 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19735 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19736 (Custom-buffer-done, custom-buffer-create-internal)
19737 (custom-browse-visibility-action, custom-browse-group-tag-action)
19738 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19739 (widget-magic-mouse-down-action, custom-toggle-parent)
19740 (custom-add-parent-links, custom-toggle-hide-variable)
19741 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19742 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19743 (custom-face-menu-create, custom-variable-menu-create, get)
19744 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19745 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19746 (customize-apropos): Remove unused variable `tests'.
19747 (custom-group-value-create): Remove unused variable `hidden-p'.
19748 (sort-fold-case): Declare.
19749
19750 * cus-theme.el (custom-reset-standard-faces-list)
19751 (custom-reset-standard-variables-list): Declare.
19752 (customize-create-theme, custom-theme-revert, custom-theme-write)
19753 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19754 Mark unused parameters.
19755
19756 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19757
19758 * delim-col.el (delimit-columns-max): Move defvar before first use.
19759
19760 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19761 (describe-char): Don't quote `lambda'. Mark unused parameter.
19762
19763 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19764 (auto-insert): Declare.
19765 (desktop-restore-file-buffer): Rename desktop-* parameters;
19766 mark unused ones.
19767 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19768 (desktop-buffer): Rename desktop-* parameters.
19769
19770 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19771 (dframe-reposition-frame-xemacs, dframe-help-echo)
19772 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19773 Mark unused parameters.
19774
19775 * dired-aux.el (backup-extract-version-start, overwrite-query)
19776 (overwrite-backup-query, rename-regexp-query)
19777 (rename-non-directory-query): Declare.
19778 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19779 (dired-add-entry): Remove unused variable `orig-file-name'.
19780 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19781 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19782 `dired-copy-preserve-time' directly.
19783 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19784 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19785
19786 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19787 (dired-virtual-revert, dired-make-relative-symlink):
19788 Mark unused parameters.
19789 (manual-program): Declare.
19790 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19791 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19792 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19793
19794 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19795
19796 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19797
19798 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19799 Declare.
19800
19801 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19802
19803 * electric.el (Electric-command-loop): Rename parameter
19804 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19805
19806 * expand.el (expand-in-literal): Remove unused variable `here'.
19807
19808 * facemenu.el (facemenu-add-new-color):
19809 Remove unused variable `docstring'.
19810
19811 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19812 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19813 (face-attr-construct): Mark unused parameter. Doc fix.
19814 (read-color): Remove unused variable `hex-string'.
19815
19816 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19817 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19818 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19819 (display-buffer-other-frame): Remove unused variable `old-window'.
19820 (kill-buffer-hook): Declare.
19821 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19822 Mark unused parameters.
19823 (after-find-file): Pass 1 to `auto-save-mode', not t.
19824
19825 * files-x.el (auto-insert): Declare.
19826 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19827
19828 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19829 variable `buf'. Mark unused parameter.
19830 (find-lisp-insert-directory): Mark unused parameter.
19831
19832 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19833 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19834 (format-common-tail): Remove, unused.
19835 (format-deannotate-region): Remove unused variable `loc'.
19836 (format-annotate-region): Remove unused variable `p'.
19837 (format-annotate-single-property-change): Remove unused variables
19838 `default' and `tail'.
19839
19840 * forms.el (read-file-filter): Declare.
19841 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19842
19843 * frame.el (frame-creation-function-alist): Mark unused parameter.
19844 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19845
19846 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19847 Remove unused parameters.
19848 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19849 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19850
19851 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19852 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19853 (hfy-prepare-tag-map): Mark unused parameters.
19854 (htmlfontify-buffer): Use `called-interactively-p'.
19855
19856 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19857 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19858 (ibuffer-do-occur): Mark unused parameters.
19859 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19860 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19861
19862 * ibuffer.el: Don't quote `lambda'.
19863 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19864 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19865 Mark unused parameters.
19866
19867 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19868 (ido-completing-read): Mark unused parameters.
19869 (ido-copy-current-word): Mark unused parameters;
19870 remove unused variable `name'.
19871 (ido-sort-merged-list): Remove unused parameter `dirs'.
19872
19873 * ielm.el (ielm-input-sender): Mark unused parameter.
19874 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19875 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19876 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19877 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19878 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19879
19880 * image-dired.el (image-dired-display-thumbs): Remove unused
19881 variables `curr-file' and `count'.
19882 (image-dired-remove-tag): Remove unused variable `start'.
19883 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19884 variable `curr-file'
19885 (image-dired-rotate-original): Remove unused variable `temp-file'.
19886 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19887 Remove unused variable `file'.
19888 (image-dired-gallery-generate): Remove unused variable `curr'.
19889 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19890
19891 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19892
19893 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19894
19895 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19896
19897 * isearch.el (minibuffer-history-symbol): Declare.
19898 (isearch-edit-string): Remove unused variable `err'.
19899 (isearch-message-prefix, isearch-message-suffix):
19900 Mark unused parameters.
19901
19902 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19903
19904 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19905
19906 * makesum.el (double-column): Remove unused variable `cnt'.
19907
19908 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19909 (ido-ignore-item-temp-list): Declare.
19910
19911 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19912 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19913 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19914 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19915 `mouse-col-delta'.
19916
19917 * mouse-sel.el (mouse-extend-internal):
19918 Remove unused variable `orig-window-frame'.
19919
19920 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19921 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19922 Move declarations before first use.
19923 (pcomplete-opt): Mark unused parameters; doc fix.
19924
19925 * proced.el (proced-revert): Mark unused parameter.
19926 (proced-send-signal): Remove unused variable `err'.
19927
19928 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19929 Rename parameter PREFIX-ARG to ARG.
19930 (ps-basic-plot-string, ps-basic-plot-whitespace):
19931 Mark unused parameters.
19932
19933 * replace.el (replace-count): Define.
19934 (occur-revert-function): Mark unused parameters.
19935 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19936 (isearch-case-fold-search, isearch-string): Declare.
19937 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19938 bind `case-fold-search'. Remove unused variables `beg' and `end',
19939 and simplify.
19940 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19941 COUNT and bind `replace-count'.
19942 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19943 to COUNT.
19944
19945 * savehist.el (print-readably, print-string-length): Declare.
19946
19947 * shadowfile.el (shadow-expand-cluster-in-file-name):
19948 Remove unused variable `cluster'.
19949 (shadow-copy-file): Remove unused variable `i'.
19950 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19951 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19952 (shadow-define-literal-group, shadow-define-regexp-group)
19953 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19954
19955 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19956 (shell): Use `called-interactively-p'.
19957 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19958
19959 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19960 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19961 (delete-backward-char): Remove unused variable `ocol'.
19962 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19963 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19964 (event-apply-hyper-modifier, event-apply-shift-modifier)
19965 (event-apply-control-modifier, event-apply-meta-modifier):
19966 Mark unused parameters.
19967 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19968 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19969
19970 * speedbar.el (speedbar-ignored-directory-expressions)
19971 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19972 (speedbar-find-file, speedbar-dir-follow)
19973 (speedbar-directory-buttons-follow, speedbar-tag-find)
19974 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19975 (speedbar-buffers-line-directory, speedbar-buffer-click):
19976 Mark unused parameters.
19977 (speedbar-tag-file): Remove unused variable `mode'.
19978 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19979
19980 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19981
19982 * talk.el (talk): Remove unused variable `display'.
19983
19984 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19985 (tar-write-region-annotate): Mark unused parameter.
19986
19987 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19988 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19989 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19990 warning by another.
19991
19992 * time-stamp.el (time-stamp-string-preprocess):
19993 Remove unused variable `require-padding'.
19994
19995 * tree-widget.el (widget-glyph-enable): Declare.
19996 (tree-widget-action): Mark unused parameter.
19997
19998 * w32-fns.el (x-get-selection): Mark unused parameter.
19999 (autoload-make-program, generated-autoload-file): Declare.
20000
20001 * wdired.el (wdired-revert): Mark unused parameters.
20002 (wdired-xcase-word): Remove unused variable `err'.
20003
20004 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20005 (whitespace-help-scroll): Remove unused variable `data-help'.
20006
20007 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20008 (widget-image-insert, widget-after-change, default)
20009 (widget-default-format-handler, widget-default-notify)
20010 (widget-default-prompt-value, widget-info-link-action)
20011 (widget-url-link-action, widget-function-link-action)
20012 (widget-variable-link-action, widget-file-link-action)
20013 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20014 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20015 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20016 (widget-insert-button-action, widget-delete-button-action, visibility)
20017 (widget-documentation-link-action, widget-documentation-string-action)
20018 (widget-const-prompt-value, widget-regexp-match, symbol)
20019 (widget-coding-system-prompt-value)
20020 (widget-key-sequence-value-to-external, sexp)
20021 (widget-sexp-value-to-internal, character, vector, cons)
20022 (widget-choice-prompt-value, widget-boolean-prompt-value)
20023 (widget-color--choose-action): Mark unused parameters.
20024 (widget-item-match-inline, widget-choice-match-inline)
20025 (widget-checklist-match, widget-checklist-match-inline)
20026 (widget-group-match): Rename parameter VALUES to VALS.
20027 (widget-field-value-set): Remove unused variable `size'.
20028 (widget-color-action): Remove unused variables `value' and `start'.
20029
20030 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20031 variable `dir'. Doc fix.
20032 (windmove-find-other-window): Don't pass it.
20033
20034 * window.el (count-windows): Mark unused parameter.
20035 (bw-adjust-window): Remove unused variable `err'.
20036
20037 * woman.el (woman-file-name): Remove unused variable `default'.
20038 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20039 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20040 (global-font-lock-mode): Declare.
20041 (woman-decode-region): Mark unused parameter.
20042 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20043
20044 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20045 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20046 (x-dnd-handle-moz-url): Remove unused variable `title'.
20047 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20048
20049 * xml.el (xml-parse-tag, xml-parse-attlist):
20050 Remove unused variable `pos'.
20051
20052 2011-04-19 Glenn Morris <rgm@gnu.org>
20053
20054 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20055 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20056 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20057 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20058 * calendar/cal-html.el (cal-html-insert-minical):
20059 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20060 (calendar-mark-date-pattern):
20061 Prefix "unused" locals.
20062
20063 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20064 optional argument `style'.
20065
20066 * calendar/appt.el (appt-make-list):
20067 * calendar/cal-china.el (calendar-chinese-date-string):
20068 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20069 (diary-hebrew-yahrzeit):
20070 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20071 * calendar/calendar.el (calendar-generate-window):
20072 * calendar/time-date.el (time-to-days):
20073 Remove unused local variables.
20074
20075 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20076
20077 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20078 glyphless-char-display table.
20079 (tabulated-list-glyphless-char-display): New var.
20080
20081 2011-04-18 Sam Steingold <sds@gnu.org>
20082
20083 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20084 to acknowledgments.
20085
20086 2011-04-17 Glenn Morris <rgm@gnu.org>
20087
20088 * calendar/diary-lib.el (diary-sexp-entry):
20089 * calendar/holidays.el (holiday-sexp):
20090 Set debug-on-error rather than the removed stack-trace-on-error.
20091
20092 2011-04-16 Glenn Morris <rgm@gnu.org>
20093
20094 * progmodes/f90.el: Use lexical-binding.
20095 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20096
20097 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20100 (mail-mode): Setup mailalias completion here instead.
20101 * mail/mailalias.el: Use lexical-binding.
20102 (pattern, mailalias-done): Declare dynamic.
20103 (mail-completion-at-point-function): New function, from mail-complete.
20104 (mail-complete): Use it.
20105 (mail-completion-expand): New function.
20106 (mail-get-names): Use it.
20107 (mail-directory, mail-directory-process, mail-directory-stream):
20108 Don't use `pattern' for lexically bound arg.
20109
20110 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20111
20112 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20113 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20114 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20115
20116 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20117 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20118 (byte-interactive-p): Define them again, for use when inlining
20119 old code.
20120
20121 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20122
20123 * loadup.el: Use `string-to-number', not `string-to-int'.
20124
20125 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20126
20127 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20128 gud-gdb-complete-command.
20129 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20130 (gud-gdb-completion-at-point): New function.
20131 (gud-gdb-completions): Remove.
20132
20133 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20134
20135 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20136 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20137 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20138 whether `executable-find' is bound.
20139
20140 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20141
20142 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20143
20144 * minibuffer.el (completion-in-region-mode-predicate)
20145 (completion-in-region-mode--predicate): New vars.
20146 (completion-in-region, completion-in-region--postch)
20147 (completion-in-region-mode): Use them.
20148 (completion--capf-wrapper): Also return the hook function.
20149 (completion-at-point, completion-help-at-point):
20150 Adjust and provide a predicate.
20151
20152 Preserve arg names for advice of subr and lexical functions (bug#8457).
20153 * help-fns.el (help-function-arglist): Consolidate the subr and
20154 new-byte-code cases. Add argument `preserve-names' to extract names
20155 from the docstring when needed.
20156 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20157 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20158 (ad-arglist): Use help-function-arglist's new arg.
20159 (ad-definition-type): Use cond.
20160
20161 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20162
20163 * autorevert.el (auto-revert-handler):
20164 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20165 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20166 Don't quote lambda.
20167
20168 * image-mode.el (image-transform-set-scale):
20169 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20170
20171 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20172
20173 * net/network-stream.el (network-stream-open-starttls): Only do
20174 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20175 Upgrades via gnutls-cli are too slow to be done opportunistically.
20176
20177 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20178
20179 * dframe.el (dframe-current-frame): Remove spurious quote.
20180
20181 2011-04-12 Glenn Morris <rgm@gnu.org>
20182
20183 * calendar/cal-tex.el (cal-tex-end-document):
20184 Try to automatically use latin1 input if needed.
20185
20186 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20187 Don't try to cons a mark onto an empty element.
20188
20189 2011-04-11 Leo Liu <sdl.web@gmail.com>
20190
20191 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20192 buffers.
20193 (ido-kill-buffer-at-head): Support killing virtual buffers.
20194
20195 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20196
20197 * minibuffer.el (completion-show-inline-help): New var.
20198 (completion--do-completion, minibuffer-complete)
20199 (minibuffer-force-complete, minibuffer-complete-word):
20200 Inhibit minibuffer messages if completion-show-inline-help is nil.
20201
20202 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20203 to avoid interference from inline help (Bug#5849).
20204
20205 2011-04-10 Leo Liu <sdl.web@gmail.com>
20206
20207 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20208 Fix typo.
20209
20210 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20211
20212 * image-mode.el (image-toggle-display-image): Signal an error if
20213 not in Image mode.
20214 (image-transform-mode, image-transform-resize)
20215 (image-transform-set-rotation): Doc fix.
20216 (image-transform-set-resize): Delete.
20217 (image-transform-set-scale, image-transform-fit-to-height)
20218 (image-transform-fit-to-width): Handle image-toggle-display-image
20219 and image-transform-resize directly.
20220
20221 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20222
20223 * doc-view.el (doc-view-fit-width-to-window)
20224 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20225 New functions for fitting the shown image to the Emacs window size.
20226 (doc-view-mode-map): Add bindings for the new functions.
20227
20228 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20229
20230 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20231 Fix typo in docstring.
20232
20233 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20234
20235 * files.el (file-size-human-readable): Produce one digit after
20236 decimal, like "ls -lh" does.
20237
20238 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20239 the file size representation.
20240
20241 * simple.el (list-processes): If async subprocesses are not
20242 available, error out with a clear error message.
20243
20244 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20245
20246 * help.el (help-form-show): New function, to be called from C.
20247 Put help-form output in a buffer named differently than *Help*.
20248
20249 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20250
20251 * files.el (file-size-human-readable): New function.
20252
20253 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20254 computing the representation inline. Don't require `cl'.
20255
20256 2011-04-08 Glenn Morris <rgm@gnu.org>
20257
20258 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20259
20260 * net/browse-url.el (browse-url-firefox):
20261 Test system-type, not system-configuration.
20262
20263 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20264 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20265 Use log-edit-empty-buffer-p. (Bug#7598)
20266
20267 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20268 (rlogin-mode-map): Initialize in the defvar.
20269 (rlogin): Use ignore-errors.
20270
20271 * replace.el (occur-mode-map): Some fixes for menu items.
20272
20273 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20274
20275 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20276
20277 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20278
20279 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20280 issuing unused warnings.
20281
20282 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20283 macro directly.
20284
20285 * simple.el: Lisp reimplement of list-processes. Based on an
20286 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20287 (process-menu-mode): New major mode.
20288 (list-processes--refresh, list-processes):
20289 (process-menu-visit-buffer): New functions.
20290
20291 * files.el (save-buffers-kill-emacs): Don't assume any return
20292 value of list-processes, which is undocumented anyway.
20293
20294 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20295
20296 * emacs-lisp/tabulated-list.el: New file.
20297
20298 * emacs-lisp/package.el: Use Tabulated List mode.
20299 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20300 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20301 table format using Tabulated List mode variables.
20302 (package--push): New macro, replacing package-list-maybe-add.
20303 (package-menu--generate): Use package--push. Renamed from
20304 package--generate-package-list.
20305 (package-menu-refresh, list-packages): Use it.
20306 (package-menu--print-info): Rename from package-print-package.
20307 Return insertion data instead of inserting it directly.
20308 (package-menu-describe-package, package-menu-execute):
20309 Use tabulated-list-get-id.
20310 (package-menu-mark-delete, package-menu-mark-install)
20311 (package-menu-mark-unmark, package-menu-backup-unmark)
20312 (package-menu-mark-obsolete-for-deletion):
20313 Use tabulated-list-put-tag.
20314 (package--list-packages, package-menu-revert)
20315 (package-menu-get-package, package-menu-get-version)
20316 (package-menu-sort-by-column): Functions deleted.
20317 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20318 (package-menu--status-predicate, package-menu--version-predicate)
20319 (package-menu--name-predicate)
20320 (package-menu--description-predicate): Handle arguments in the
20321 Tabulated List format.
20322 (package-list-packages-no-fetch): Call list-packages.
20323
20324 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20325
20326 * files.el (after-find-file-from-revert-buffer): Remove variable.
20327 (after-find-file): Don't bind it.
20328 (revert-buffer-in-progress-p): New variable.
20329 (revert-buffer): Bind it.
20330 Pass nil for `after-find-file-from-revert-buffer'.
20331
20332 * saveplace.el (save-place-find-file-hook): Use new variable
20333 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20334
20335 2011-04-06 Glenn Morris <rgm@gnu.org>
20336
20337 * Makefile.in (AUTOGEN_VCS): New variable.
20338 (autoloads): Use $AUTOGEN_VCS.
20339
20340 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20341 * calendar/calendar.el (calendar-mode-map):
20342 Check for toolkit scroll bars. (Bug#8305)
20343
20344 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20345
20346 * minibuffer.el (completion-in-region--postch)
20347 (completion-in-region-mode): Remove unnecessary messages.
20348
20349 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20350
20351 * font-lock.el (font-lock-refresh-defaults):
20352 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20353 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20354
20355 * info.el (Info-directory-list, Info-read-node-name-2)
20356 (Info-split-parameter-string): Doc fixes.
20357 (Info-virtual-nodes): Reflow docstring.
20358 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20359 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20360 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20361 Fix typos in docstrings.
20362 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20363 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20364 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20365 (Info-restore-desktop-buffer): Mark unused parameters.
20366 (Info-directory-find-file, Info-directory-find-node)
20367 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20368 (Info-virtual-index-find-node, Info-apropos-find-file)
20369 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20370 Mark unused parameters; fix typos in docstrings.
20371 (Info-virtual-index): Remove unused local variable `nodename'.
20372
20373 2011-04-05 Deniz Dogan <deniz@dogan.se>
20374
20375 * net/rcirc.el: Update my e-mail address.
20376 (rcirc-mode-map): Remove M-o binding.
20377
20378 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20379
20380 * startup.el (command-line): Save the cursor's theme-face
20381 directly, instead of using face-override-spec.
20382
20383 * custom.el (load-theme): Minor optimization in assigning faces.
20384
20385 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20386
20387 * help-fns.el (describe-variable): Complete all variables having
20388 documentation, including keywords.
20389 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20390
20391 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20392
20393 Convert to lexical-binding.
20394
20395 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20396 (bs--get-marked-string, bs--get-modified-string)
20397 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20398 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20399 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20400
20401 * ehelp.el (electric-help-execute-extended)
20402 (electric-help-ctrl-x-prefix):
20403 * hexl.el (hexl-revert-buffer-function):
20404 * linum.el (linum-after-change, linum-after-scroll):
20405 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20406
20407 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20408
20409 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20410
20411 * epa-dired.el:
20412 * epa-mail.el:
20413 * epa-hook.el:
20414 * epa-file.el:
20415 * epa.el:
20416 * epg.el: Use lexical binding.
20417
20418 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20419
20420 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20421
20422 * textmodes/flyspell.el (flyspell-word): Recognize default
20423 dictionary case for flyspell-mark-duplications-exceptions.
20424 Use regexp matching for languages.
20425 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20426 default dictionary (Bug#7926).
20427
20428 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20429
20430 * emacs-lisp/package.el (package--with-work-buffer):
20431 Recognize https URLs.
20432
20433 * net/network-stream.el: Move from gnus/proto-stream.el.
20434 Change prefix to network-stream throughout.
20435 (open-protocol-stream): Merge into open-network-stream, leaving
20436 open-protocol-stream as an alias. Handle nil BUFFER args.
20437
20438 * subr.el (open-network-stream): Move to net/network-stream.el.
20439
20440 2011-04-02 Glenn Morris <rgm@gnu.org>
20441
20442 * find-dired.el (find-exec-terminator): New option.
20443 (find-ls-option): Test for -ls support.
20444 (find-ls-subdir-switches): Test for -b in find-ls-option.
20445 (find-dired, find-grep-dired): Doc fixes.
20446 (find-dired): Use find-exec-terminator.
20447
20448 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20449 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20450 (find-name-arg): Remove purecopy.
20451
20452 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20453 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20454 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20455 accordingly. Don't add the null-device if not needed.
20456
20457 * files.el (save-some-buffers): Doc fix.
20458
20459 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20460
20461 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20462
20463 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20464
20465 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20466 Use `dolist' rather than `mapcar'.
20467
20468 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20469
20470 Add lexical binding.
20471
20472 * subr.el (apply-partially): Use new closures rather than CL.
20473 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20474 (dolist, dotimes): Use slightly different expansion for lexical code.
20475 (functionp): Move to C.
20476 (letrec): New macro.
20477 (with-wrapper-hook): Use it and apply-partially instead of CL.
20478 (eval-after-load): Preserve lexical-binding.
20479 (save-window-excursion, with-output-to-temp-buffer): Turn them
20480 into macros.
20481
20482 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20483
20484 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20485 than the arglist.
20486 (help-add-fundoc-usage): Don't add `Not documented'.
20487 (help-function-arglist): Handle closures, subroutines, and new
20488 byte-code-functions.
20489 (help-make-usage): Remove leading underscores.
20490 (describe-function-1): Handle closures.
20491 (describe-variable): Use special-variable-p for completion.
20492
20493 * files.el (lexical-binding): Declare safe.
20494
20495 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20496 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20497 (pcase): Add `let' pattern.
20498 Change memoization so it actually works.
20499 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20500 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20501 <let>: New case.
20502
20503 * emacs-lisp/macroexp.el: Use lexical binding.
20504 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20505 Don't convert ' to #' without checking that it's indeed quoting
20506 a lambda.
20507
20508 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20509 Use eval-sexp-add-defvars.
20510 (eval-sexp-add-defvars): New fun.
20511
20512 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20513
20514 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20515 Don't autoload.
20516 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20517 than the internal `byte-compile-lambda'.
20518 (defmethod): Don't hide code under quotes.
20519 (eieio-defmethod): New `code' argument.
20520
20521 * emacs-lisp/eieio-comp.el: Remove.
20522
20523 * emacs-lisp/edebug.el (edebug-eval-defun)
20524 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20525 (edebug-toggle): Avoid `eval'.
20526
20527 * emacs-lisp/disass.el (disassemble-internal): Handle new
20528 `closure' objects.
20529 (disassemble-1): Handle new byte codes.
20530
20531 * emacs-lisp/cl.el (pushnew): Silence warning.
20532
20533 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20534 (cl-byte-compile-throw): Remove.
20535 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20536
20537 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20538 closures.
20539
20540 * emacs-lisp/cconv.el: New file.
20541
20542 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20543 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20544 (byte-compile-initial-macro-environment):
20545 Handle declare-function here.
20546 (byte-compile--lexical-environment): New var.
20547 (byte-stack-ref, byte-stack-set, byte-discardN)
20548 (byte-discardN-preserve-tos): New lap codes.
20549 (byte-interactive-p): Don't use any more.
20550 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20551 New macros.
20552 (byte-compile-lapcode): Use them and handle new lap codes.
20553 (byte-compile-obsolete): Remove.
20554 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20555 (byte-compile-arglist-warn): Check late def of inlinable funs.
20556 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20557 since they should have been expanded by now.
20558 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20559 (byte-compile-from-buffer): Remove unused second arg.
20560 (byte-compile-preprocess): New function.
20561 (byte-compile-toplevel-file-form): New function to distinguish
20562 file-form calls from outside from file-form calls from hunk-handlers.
20563 (byte-compile-file-form): Simplify.
20564 (byte-compile-file-form-defsubst): Remove.
20565 (byte-compile-file-form-defmumble): Simplify now that
20566 byte-compile-lambda always returns a byte-code-function.
20567 (byte-compile): Preprocess.
20568 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20569 Remove, not used any more.
20570 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20571 (byte-compile-make-args-desc): New funs.
20572 (byte-compile-lambda): Handle lexical functions. Always return
20573 a byte-code-function.
20574 (byte-compile-reserved-constants): New var, to make up room for
20575 closed-over variables.
20576 (byte-compile-constants-vector): Obey it.
20577 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20578 (byte-compile-macroexpand-declare-function): New function.
20579 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20580 byte-code-functions.
20581 (byte-compile-form): Check obsolescence here.
20582 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20583 (byte-compile-variable-ref): Remove.
20584 (byte-compile-dynamic-variable-op): New fun.
20585 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20586 (byte-compile-variable-set): New funs.
20587 (byte-compile-discard): Add 2 args.
20588 (byte-compile-stack-ref, byte-compile-stack-set)
20589 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20590 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20591 macroexpand-all instead.
20592 (byte-compile-quote-form): Remove.
20593 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20594 (byte-compile-bind, byte-compile-unbind): New funs.
20595 (byte-compile-let): Handle let* and lexical binding.
20596 (byte-compile-let*): Remove.
20597 (byte-compile-catch, byte-compile-unwind-protect)
20598 (byte-compile-track-mouse, byte-compile-condition-case):
20599 Handle a new :fun-body form, used for lexical scoping.
20600 (byte-compile-save-window-excursion)
20601 (byte-compile-with-output-to-temp-buffer): Remove.
20602 (byte-compile-defun): Simplify.
20603 (byte-compile-stack-adjustment): New fun.
20604 (byte-compile-out): Use it.
20605 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20606
20607 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20608 handler any more.
20609
20610 * emacs-lisp/byte-opt.el: Use lexical binding.
20611 (byte-inline-lapcode): Remove (to bytecomp).
20612 (byte-compile-inline-expand): Pay attention to inlining to/from
20613 lexically bound code.
20614 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20615 any more.
20616 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20617 any more and don't call compiler-macros.
20618 (byte-compile-splice-in-already-compiled-code): Remove.
20619 (byte-code): Don't inline any more.
20620 (disassemble-offset): Receive `bytes' as argument rather than via
20621 dynamic scoping.
20622 (byte-compile-tag-number): Declare before first use.
20623 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20624 `return' even if make-spliceable.
20625 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20626 obsolete interactive-p.
20627 (byte-optimize-lapcode): Optimize new lap-codes.
20628 Don't trip up on new form of `byte-constant' lap code.
20629
20630 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20631
20632 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20633
20634 * custom.el (custom-initialize-default, custom-declare-variable):
20635 Use `defvar'.
20636
20637 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20638 New variables.
20639 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20640 (COMPILE_FIRST): Add macroexp and cconv.
20641 * makefile.w32-in: Mirror changes in Makefile.in.
20642
20643 * vc/cvs-status.el:
20644 * vc/diff-mode.el:
20645 * vc/log-edit.el:
20646 * vc/log-view.el:
20647 * vc/smerge-mode.el:
20648 * textmodes/bibtex-style.el:
20649 * textmodes/css-mode.el:
20650 * startup.el:
20651 * uniquify.el:
20652 * minibuffer.el:
20653 * newcomment.el:
20654 * reveal.el:
20655 * server.el:
20656 * mpc.el:
20657 * emacs-lisp/smie.el:
20658 * doc-view.el:
20659 * dired.el:
20660 * abbrev.el: Use lexical binding.
20661
20662 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20663
20664 * info.el (info-display-manual): New function.
20665
20666 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20667
20668 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20669
20670 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20671
20672 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20673 an entry for that server in rcirc-authinfo. (Bug#8385)
20674
20675 2011-03-31 Glenn Morris <rgm@gnu.org>
20676
20677 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20678
20679 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20680
20681 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20682
20683 * progmodes/python.el (python-default-interpreter)
20684 (python-python-command-args, python-jython-command-args)
20685 (python-which-shell, python-which-args, python-which-bufname)
20686 (python-file-queue, python-comint-output-filter-function)
20687 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20688 variables and functions.
20689
20690 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20693 (completion-in-region-mode): New minor mode.
20694 (completion-in-region): Use it.
20695 (completion-in-region--data, completion-in-region-mode-map): New vars.
20696 (completion-in-region--postch): New function.
20697 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20698 New vars.
20699 (completion--capf-wrapper): New function.
20700 (completion-at-point): Use it to track well-behavedness of
20701 hook functions.
20702 (completion-help-at-point): New command.
20703
20704 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20705
20706 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20707 syntax class to search for whitespace on a single line
20708 (Message-ID: <4D938140.4030905@redhat.com>).
20709
20710 2011-03-30 Leo Liu <sdl.web@gmail.com>
20711
20712 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20713 New commands.
20714 (edit-abbrevs-map): Bind them here.
20715 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20716
20717 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20718
20719 * allout.el (allout-hide-by-annotation, allout-flag-region):
20720 Reduce possibility of overlay leakage by making them volatile.
20721
20722 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20723 hash is not shared between buffers. Mode initialization is
20724 responsible for giving it a useful starting value.
20725 (allout-item-span): Reduce possibility of overlay leakage by
20726 making them volatile.
20727 (allout-widgets-count-buttons-in-region): Add diagnostic function
20728 for tracking down button overlay leaks.
20729
20730 2011-03-29 Leo Liu <sdl.web@gmail.com>
20731
20732 * ido.el (ido-read-internal): Use the default history var
20733 minibuffer-history if no HISTORY is specified.
20734
20735 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20736
20737 * net/imap.el (imap-shell-open, imap-process-connection-type):
20738 Use imap-process-connection-type for 'shell' streams as well as
20739 Kerberos, SSL, other subprocesses.
20740
20741 2011-03-28 Leo Liu <sdl.web@gmail.com>
20742
20743 * abbrev.el (abbrev-table-empty-p): New function.
20744 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20745 nonempty ones. (Bug#5937)
20746
20747 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20748
20749 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20750
20751 2011-03-27 Leo Liu <sdl.web@gmail.com>
20752
20753 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20754 for foreground and background colors.
20755 (ansi-color-make-color-map): Adapt.
20756
20757 2011-03-25 Leo Liu <sdl.web@gmail.com>
20758
20759 * midnight.el (midnight-time-float): Remove. Note it calculates
20760 the microsecond component incorrectly and seconds-to-time does the
20761 same job.
20762 Remove redundant (require 'timer).
20763
20764 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20765 (ido-completions): Remove unused arguments. (Bug#8329)
20766
20767 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20768
20769 * minibuffer.el (completion--flush-all-sorted-completions):
20770 Remove itself from hook.
20771 (completion-at-point): Let the functions perform the completion
20772 immediately and return nil or t.
20773 * comint.el (comint-dynamic-complete-functions): Now identical to
20774 completion-at-point-functions.
20775 (comint-dynamic-list-input-ring): Remove unused var `index'.
20776 (comint--match-partial-filename, comint--unquote&expand-filename):
20777 New funs, split from comint-match-partial-filename.
20778 (comint-dynamic-complete): Use completion-at-point.
20779 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20780
20781 2011-03-24 Drew Adams <drew.adams@oracle.com>
20782
20783 * thingatpt.el: Support `defun'.
20784
20785 2011-03-23 Leo Liu <sdl.web@gmail.com>
20786
20787 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20788
20789 * help-mode.el (help-mode-finish): Tweak regexp.
20790
20791 2011-03-23 Glenn Morris <rgm@gnu.org>
20792
20793 * eshell/esh-opt.el (eshell-eval-using-options):
20794 Do not bind unused local variable `eshell-option-stub'.
20795
20796 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20797
20798 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20799
20800 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20801 keymap variable in `with-no-warnings' to avoid a warning when the
20802 keymap has been already `defconst'ed.
20803
20804 2011-03-22 Leo Liu <sdl.web@gmail.com>
20805
20806 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20807 encode all chars in abbrevs; otherwise use emacs-mule or
20808 utf-8-emacs. (Bug#8308)
20809
20810 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20811
20812 * simple.el (backward-delete-char-untabify):
20813 Avoid warning about using `delete-backward-char'.
20814
20815 * image.el (image-type-file-name-regexps): Make it variable.
20816 `imagemagick-register-types' modifies it, and the user may want
20817 to add new extensions for known image types.
20818 (imagemagick-register-types): Throw error if not using ImageMagick.
20819
20820 2011-03-22 Leo Liu <sdl.web@gmail.com>
20821
20822 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20823 located before rcirc-prompt-end-marker.
20824 (rcirc-complete): Error if point is not after rcirc prompt.
20825 Handle the case when table is nil.
20826 (rcirc-user-authenticated): Define to fix compiler warning.
20827
20828 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20829
20830 * custom.el (custom--inhibit-theme-enable): Make it affect only
20831 custom-theme-set-variables and custom-theme-set-faces.
20832 (provide-theme): Ignore custom--inhibit-theme-enable.
20833 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20834 (custom-enabling-themes): Delete variable.
20835 (enable-theme): Accept only loaded themes as arguments.
20836 Ignore the special custom-enabled-themes variable.
20837 (custom-enabled-themes): Forbid themes from setting this.
20838 Eliminate use of custom-enabling-themes.
20839 (custom-push-theme): Quote "changed" custom var entry.
20840
20841 2011-03-21 Leo Liu <sdl.web@gmail.com>
20842
20843 * ido.el (ido-read-internal): Add ido-selected to history instead
20844 of user input.
20845
20846 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20847
20848 * subr.el (deferred-action-list, deferred-action-function):
20849 Mark obsolete.
20850
20851 2011-03-21 Leo Liu <sdl.web@gmail.com>
20852
20853 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20854 change on 2011-02-13 (bug#8309).
20855
20856 * minibuffer.el (read-file-name-function): Change default value.
20857 (read-file-name--defaults): Rename from read-file-name-defaults.
20858 (read-file-name-default): Rename from read-file-name.
20859 (read-file-name): Call read-file-name-function.
20860
20861 2011-03-21 Glenn Morris <rgm@gnu.org>
20862
20863 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20864 Doc fixes.
20865
20866 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20867
20868 * cus-theme.el: Add missing provide statement.
20869 (customize-create-theme): Extract theme value correctly.
20870 (custom-theme-visit-theme): Autoload.
20871 (customize-create-theme): Prompt before inserting default faces.
20872
20873 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20874
20875 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20876 units and musical notes.
20877
20878 2011-03-20 Leo Liu <sdl.web@gmail.com>
20879
20880 * ido.el (ido-read-internal): Use completing-read-default.
20881 (ido-completing-read): Fix compatibility with completing-read.
20882
20883 2011-03-20 Christian Ohler <ohler@gnu.org>
20884
20885 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20886 (ert-delete-all-tests): Use `called-interactively-p' rather than
20887 `interactive-p'.
20888 (ert--make-xrefs-region): Respect END.
20889
20890 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20891
20892 * dired-aux.el (dired-create-directory): Signal an error if the
20893 directory already exists (Bug#8246).
20894
20895 * facemenu.el (list-colors-display): Call list-faces-display
20896 inside with-help-window.
20897 (list-colors-print): Use display property to align the final
20898 column, instead of checking window-width.
20899
20900 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20901
20902 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20903 windows-nt systems.
20904 (emerge-protect-metachars): Quote correctly for ms-dos and
20905 windows-nt systems.
20906
20907 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20908
20909 * info.el (info-initialize): Replace all uses of `:' with
20910 path-separator for compatibility with non-Unix systems.
20911 Cache quoting of path-separator. (Bug#8258)
20912
20913 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20914
20915 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20916 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20917 (mouse-avoidance-mode): Fix typos in docstrings.
20918
20919 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20920
20921 * startup.el (package-subdirectory-regexp): Move from package.el.
20922 Omit \\` and \\', and let callers add them.
20923
20924 * emacs-lisp/package.el (package-strip-version)
20925 (package-load-all-descriptors): Add \\` and \\' to
20926 package-subdirectory-regexp before using it.
20927 (package-untar-buffer): New arg DIR; ensure that file untars only
20928 into this expected directory. Remove superfluous delete-region.
20929 (package-unpack): Caller changed.
20930 (package-tar-file-info): Use package-subdirectory-regexp.
20931
20932 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20933
20934 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20935 diff-mode-shared-map (bug#8284).
20936 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20937
20938 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20939
20940 * calendar/time-date.el (format-seconds): Use assoc instead of
20941 assoc-string, since assoc-string doesn't exist in XEmacs.
20942
20943 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20944
20945 * custom.el (custom-known-themes): Reflow docstring.
20946 (custom-theme-load-path): Fix typo in docstring.
20947 (load-theme): Fix typo in error message.
20948 (custom-available-themes, custom-variable-theme-value):
20949 Use `let', not `let*'.
20950
20951 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20952
20953 * calc/README: Mention inclusion of musical notes.
20954
20955 * calc/calc-units.el (calc-lu-quant): Rename from
20956 `calc-logunits-quantity'.
20957 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20958 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20959 (calc-db): Rename from `calc-dblevel'.
20960 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20961 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20962 (calc-np): Rename from `calc-nplevel'.
20963 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20964 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20965 (calc-lu-plus): Rename from `calc-logunits-add'.
20966 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20967 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20968 (calc-lu-minus): Rename from `calc-logunits-sub'.
20969 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20970 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20971 (calc-lu-times): Rename from `calc-logunits-mul'.
20972 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20973 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20974 (calc-lu-divide): Rename from `calc-logunits-div'.
20975 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20976 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20977
20978 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20979 functions being autoloaded.
20980
20981 * calc/calc.el (calc-lu-power-reference): Rename from
20982 `calc-logunits-power-reference'.
20983 (calc-lu-field-reference): Rename from
20984 `calc-logunits-field-reference'.
20985
20986 * calc/calc-help.el (calc-l-prefix-help):
20987 Mention musical note functions.
20988
20989 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20990
20991 * minibuffer.el (completion-all-sorted-completions):
20992 Use :completion-cycle-penalty text property if present.
20993
20994 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20995
20996 * allout.el (allout-yank-processing): Adjust for new rebulleting
20997 regime so bullet being yanked is used without prompting the user
20998 for a choice.
20999
21000 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21001
21002 * startup.el (command-line): Warn the user that _emacs is deprecated.
21003
21004 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21005
21006 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21007 (delphi-verbose, delphi-comment-face, delphi-string-face)
21008 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21009 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21010 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21011 (delphi-new-comment-line, delphi-font-lock-defaults)
21012 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21013 Fix typos in docstrings.
21014
21015 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21016
21017 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21018 Invert the roles of character and string values for INSTEAD, so a
21019 string is used for the more common case of a defaulting prompt.
21020
21021 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21022
21023 * progmodes/ruby-mode.el (ruby-backward-sexp):
21024 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21025 * play/gamegrid.el (gamegrid-make-face):
21026 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21027 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21028 * notifications.el (notifications-notify):
21029 * net/xesam.el (xesam-search-engines):
21030 * net/quickurl.el (quickurl-list-insert):
21031 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21032
21033 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21034
21035 * startup.el (command-line): Update package subdirectory regexp.
21036
21037 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21038
21039 * allout.el (allout-abbreviate-flattened-numbering)
21040 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21041
21042 * subr.el (read-char-choice): Only show the cursor after the prompt,
21043 not after the answer.
21044
21045 2011-03-15 Kevin Ryde <user42@zip.com.au>
21046
21047 * help-fns.el (variable-at-point): Skip leading quotes, if any
21048 (bug#8253).
21049
21050 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21053 warning message.
21054
21055 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21056
21057 * shell.el (shell): When called interactively, offer to change the
21058 shell file name on remote hosts.
21059
21060 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21061
21062 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21063 integration for LDAP parameters. The host, base, user or binddn,
21064 and secret tokens can be specified in a netrc file, for instance.
21065 This is optional because an `auth-source' parameter must be
21066 specified in the search attributes.
21067
21068 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21069
21070 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21071
21072 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21073
21074 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21075 into declaration. Remove redundant and harmful binding.
21076
21077 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21078
21079 * files.el (file-ownership-preserved-p): Pass `integer' as an
21080 explicit 2nd argument to `file-attributes'. If the file's owner
21081 is the Administrators group on Windows, and the current user is
21082 Administrator, consider that a match.
21083
21084 * server.el (server-ensure-safe-dir): Consider server directory
21085 safe on MS-Windows if its owner is the Administrators group while
21086 the current Emacs user is Administrator. Use `=' to compare
21087 numerical UIDs, since they could be integers or floats.
21088
21089 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21090
21091 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21092
21093 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21094
21095 Sync with Tramp 2.2.1.
21096
21097 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21098
21099 * net/trampver.el: Update release number.
21100
21101 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21102
21103 * progmodes/compile.el (compilation--previous-directory): Fix up
21104 various nil/dead-marker mismatches (bug#8014).
21105 (compilation-directory-properties, compilation-error-properties):
21106 Don't call it at a position past the one we're about to change.
21107
21108 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21109 Disable obsolescence warnings in the file that declares it.
21110
21111 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21112
21113 * allout-widgets.el (allout-widgets-tally):
21114 Initialize allout-widgets-tally as a hash table rather than nil to
21115 prevent mode-line redisplay warnings. Also, clarify the module
21116 description and fix a comment typo.
21117
21118 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21119
21120 * help-fns.el (describe-variable): Don't complete keywords.
21121 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21122
21123 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21124
21125 * emacs-lisp/package.el (package-version-join): Impose a standard
21126 string representation for pre/alpha/beta version lists.
21127 (package-unpack-single): Standardize the directory name by passing
21128 it through package-version-join.
21129 (package-strip-rcs-id): Accept any version string that does not
21130 signal an error in version-to-list.
21131
21132 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21133
21134 * simple.el (delete-trailing-whitespace): Return nil for the
21135 benefit of `write-file-functions'.
21136
21137 2011-03-10 Glenn Morris <rgm@gnu.org>
21138
21139 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21140
21141 * vc/vc-git.el (vc-git-program): New option.
21142 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21143 (vc-git--call): Use it.
21144
21145 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21146
21147 * cus-edit.el (Custom-newline): If no button at point, look
21148 for a subgroup button at start-of-line. (Bug#2298)
21149
21150 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21151
21152 2011-03-10 Julien Danjou <julien@danjou.info>
21153
21154 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21155 `cursor-type' is nil.
21156
21157 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21158
21159 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21160
21161 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21162
21163 * allout.el: Change so yank of distinctive-bullet items
21164 preserves the existing header prefix, rebulleting it if necessary,
21165 rather than replacing it. This is necessary for proper operation
21166 of cooperative addons like allout-widgets.
21167 (allout-make-topic-prefix, allout-rebullet-heading):
21168 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21169 value as alternate bullet to be used, instead of prompting the user
21170 for a bullet character.
21171
21172 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21173
21174 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21175 Do not use `tramp-file-name-port', because this returns also
21176 `tramp-default-port'.
21177
21178 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21179
21180 * net/rcirc.el (rcirc-handler-001): Remove useless
21181 with-rcirc-process-buffer.
21182 (rcirc-check-auth-status): Swap arguments to string-match.
21183
21184 2011-03-09 Glenn Morris <rgm@gnu.org>
21185
21186 * shell.el (shell-mode):
21187 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21188
21189 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21190 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21191
21192 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21193
21194 * emacs-lisp/package.el (package-refresh-contents)
21195 (package-menu-execute): Use condition-case-no-debug.
21196
21197 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21198
21199 * simple.el (shell-command-to-string): Use `process-file'.
21200
21201 * emacs-lisp/package.el (package-tar-file-info): Handle also
21202 remote files.
21203
21204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21205 Use `equal' for upload base check.
21206
21207 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21208
21209 * textmodes/texinfo.el (texinfo-environments):
21210 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21211
21212 2011-03-08 Glenn Morris <rgm@gnu.org>
21213
21214 * cus-start.el (cursor-in-non-selected-windows):
21215 Fix :set quoting oddness. (Bug#8192)
21216
21217 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21218 in some setf expressions. (Bug#2159)
21219
21220 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21221
21222 * custom.el (custom-available-themes): Return themes in
21223 alphabetical order.
21224
21225 See ChangeLog.15 for earlier changes.
21226
21227 ;; Local Variables:
21228 ;; coding: utf-8
21229 ;; End:
21230
21231 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21232
21233 This file is part of GNU Emacs.
21234
21235 GNU Emacs is free software: you can redistribute it and/or modify
21236 it under the terms of the GNU General Public License as published by
21237 the Free Software Foundation, either version 3 of the License, or
21238 (at your option) any later version.
21239
21240 GNU Emacs is distributed in the hope that it will be useful,
21241 but WITHOUT ANY WARRANTY; without even the implied warranty of
21242 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21243 GNU General Public License for more details.
21244
21245 You should have received a copy of the GNU General Public License
21246 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.