]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/hi-lock.el: Rework the default face and the serialize regexp code.
[gnu-emacs] / lisp / ChangeLog
1 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * hi-lock.el: Rework the default face and the serialize regexp code.
4 (hi-lock--auto-select-face-defaults): Remove.
5 (hi-lock-string-serialize-serial): Remove.
6 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
7 make weak.
8 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
9 equal string.
10 (hi-lock-set-pattern): Adjust accordingly.
11 (hi-lock--regexps-at-point): Simplify accordingly.
12 (hi-lock--auto-select-face-defaults): Remove.
13 (hi-lock--last-face): New var to replace it.
14 (hi-lock-read-face-name): Rewrite (bug#11095).
15 (hi-lock-unface-buffer): Arrange for the face to be the next default.
16
17 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
18
19 * net/tramp.el (tramp-replace-environment-variables):
20 Hide compiler warning.
21 (tramp-file-name-for-operation): Remove `executable-find',
22 `start-process', `call-process' and `call-process-region'.
23
24 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
25
26 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
27 compatibility.
28
29 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
30
31 2012-12-06 Chong Yidong <cyd@gnu.org>
32
33 * ffap.el (ffap-replace-file-component): Fix typo.
34
35 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
38 fix open-paren-like token test (bug#12785).
39
40 2012-12-06 Glenn Morris <rgm@gnu.org>
41
42 * mail/rmailsum.el (rmail-new-summary): Tweak for
43 rmail-maybe-display-summary changing buffer. (Bug#13066)
44
45 2012-12-06 Juri Linkov <juri@jurta.org>
46
47 * info.el (Info-fontify-node): Don't hide the last newline.
48 (Bug#12272)
49
50 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
51
52 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
53 so as to enable message-read-from-minibuffer to expand mail aliases.
54
55 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
58 the `intangible' property.
59 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
60
61 2012-12-05 Deniz Dogan <deniz@dogan.se>
62
63 * net/rcirc.el (rcirc-urls): Update documentation.
64 (rcirc-condition-filter): New function.
65 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
66 and exclude consecutive duplicate URLs (Bug#6082).
67
68 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
71 Check return code of copy command.
72
73 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
74 Use group `tramp'. Add version.
75
76 2012-12-05 Chong Yidong <cyd@gnu.org>
77
78 * ffap.el (ffap-url-regexp): Don't require matching at front of
79 string (Bug#4952).
80 (ffap-url-p): If only a substring matches, return that.
81 (ffap-url-at-point): Use the return value of ffap-url-p.
82 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
83 (find-file-at-point, dired-at-point, dired-at-point-prompter)
84 (ffap-guess-file-name-at-point): Likewise.
85 (ffap-replace-file-component): Fix typo.
86
87 * info.el (info-display-manual): Add existing Info buffers, whose
88 files may not be in Info-directory-list, to the completion.
89 (info--manual-names): New helper function.
90
91 2012-12-05 Glenn Morris <rgm@gnu.org>
92
93 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
94 New functions, for detecting and resolving conflicts. (Bug#10709)
95
96 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
97
98 * hi-lock.el (hi-lock-auto-select-face): New user variable.
99 (hi-lock-auto-select-face-defaults): New buffer local variable.
100 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
101 (hi-lock-unface-buffer): Prompt user with useful defaults.
102 With prefix arg, unhighlight all hi-lock patterns in buffer.
103
104 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
107
108 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
109
110 * Makefile.in (TRAMP_SRC):
111 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
112
113 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
114
115 * net/tramp-adb.el: New package.
116
117 2012-12-04 Chong Yidong <cyd@gnu.org>
118
119 * terminal.el: Move to obsolete/.
120
121 * longlines.el: Move to obsolete/.
122
123 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
124 Remove code referring to longlines mode.
125
126 2012-12-03 Juri Linkov <juri@jurta.org>
127
128 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
129
130 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
131
132 * textmodes/ispell.el (ispell-init-process)
133 (ispell-start-process, ispell-internal-change-dictionary):
134 Make sure personal dictionary name is expanded after initial
135 `default-directory' value. Use expanded strings for
136 keep/restart checks and for value (Bug#13019).
137
138 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
139
140 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
141
142 2012-12-03 Leo Liu <sdl.web@gmail.com>
143
144 * files.el (dir-locals-read-from-file): Check file non-empty
145 before reading. (Bug#13038)
146
147 2012-12-03 Glenn Morris <rgm@gnu.org>
148
149 * jka-cmpr-hook.el (jka-compr-get-compression-info):
150 Remove any version extension before checking filename. (Bug#13006)
151 (jka-compr-compression-info-list): Belated :version bump.
152
153 2012-12-03 Chong Yidong <cyd@gnu.org>
154
155 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
156
157 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
158 (buffer-menu): Doc fix (Bug#12294).
159
160 2012-12-03 Roland Winkler <winkler@gnu.org>
161
162 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
163 of diary-show-all-entries in the diary buffer (Bug#12994).
164
165 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
166
167 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
168 "<STDIN>". This is binary safe.
169
170 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
171
172 * calc/calc-forms.el (math-absolute-from-iso-dt)
173 (math-date-to-iso-dt, math-parse-iso-date-validate)
174 (math-iso-dt-to-date): New functions.
175 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
176 (math-fd-isoweekday): New variables.
177 (calc-date-notation, math-parse-standard-date, math-format-date)
178 (math-format-date-part): Add support for more formatting codes.
179
180 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
181
182 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
183 current buffer's file name when called interactively (Bug#12488).
184
185 2012-12-02 Juri Linkov <juri@jurta.org>
186
187 * info.el (info-display-manual): Don't clobber an existing Info
188 buffer (Bug#10770). Add completion (Bug#10771).
189
190 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
191
192 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
193 before using it for comparison (Bug#5297).
194
195 2012-12-01 Jari Aalto <jari.aalto@cante.net>
196
197 * textmodes/css-mode.el (css-current-defun-name): New function.
198 (css-mode): Use it.
199
200 * textmodes/sgml-mode.el (html-current-defun-name): New function.
201 (html-mode): Use it.
202
203 2012-12-01 Chong Yidong <cyd@gnu.org>
204
205 Modularize add-log-current-defun (Bug#2224).
206 Suggested by Jari Aalto.
207
208 * vc/add-log.el (add-log-current-defun-function): Doc fix.
209 (add-log-current-defun): Move mode-specific code to other files.
210 (add-log-lisp-like-modes, add-log-c-like-modes)
211 (add-log-tex-like-modes): Variables deleted.
212
213 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
214 (lisp-mode-variables): Use it.
215
216 * progmodes/cc-mode.el (c-common-init):
217 * progmodes/cperl-mode.el (cperl-mode): Set a value for
218 add-log-current-defun-function.
219
220 * progmodes/m4-mode.el (m4-current-defun-name): New function.
221 (m4-mode): Use it.
222
223 * progmodes/perl-mode.el (perl-current-defun-name): New.
224 (perl-mode): Use it.
225
226 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
227 Use lisp-current-defun-name.
228
229 * textmodes/tex-mode.el (tex-current-defun-name): New.
230 (tex-common-initialization): Use it.
231
232 * textmodes/texinfo.el (texinfo-current-defun-name): New.
233 (texinfo-mode): Use it.
234
235 2012-12-01 Chong Yidong <cyd@gnu.org>
236
237 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
238 * progmodes/autoconf.el (autoconf-mode):
239 * progmodes/js.el (js-mode):
240 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
241 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
242 * progmodes/perl-mode.el (perl-mode):
243 * progmodes/sh-script.el (sh-mode, sh-set-shell):
244 * textmodes/css-mode.el (css-mode):
245 * textmodes/sgml-mode.el (html-mode, sgml-mode)
246 (sgml-tags-invisible, sgml-guess-indent):
247 * textmodes/tex-mode.el (tex-common-initialization)
248 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
249 (doctex-mode, plain-tex-mode, latex-mode):
250 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
251
252 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
253
254 * vc/vc-hg.el (vc-hg-next-revision):
255 Ensure use of default "tip" output format. (Bug#6968)
256
257 2012-12-01 Kim F. Storm <storm@cua.dk>
258
259 * startup.el (fancy-startup-tail): Add a clickable link
260 (Bug#2176).
261
262 2012-12-01 Chong Yidong <cyd@gnu.org>
263
264 * startup.el (fancy-startup-tail): Improve the message about
265 auto-save files (Bug#2176).
266
267 * files.el (recover-session): Improve the descriptive message, and
268 use substitute-command-keys.
269
270 2012-12-01 Glenn Morris <rgm@gnu.org>
271
272 * ido.el (ido-file-internal):
273 Handle other-window, other-frame for dired. (Bug#13036)
274
275 2012-11-30 Glenn Morris <rgm@gnu.org>
276
277 * icomplete.el (icomplete-separator): Fix :version.
278
279 2012-11-30 Chong Yidong <cyd@gnu.org>
280
281 * shell.el (shell): For C-u M-x shell, use an inactive shell
282 buffer as the default (Bug#1975).
283 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
284 (shell-mode): Use them to reapply ansi colorization if Shell mode
285 is re-enabled.
286
287 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
288
289 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
290
291 2012-11-30 Samuel Bronson <naesten@gmail.com>
292
293 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
294 flag to xargs, for compatibility with BSD xargs (Bug#11703).
295
296 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
297
298 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
299 by move-to-column (Bug#3234).
300
301 2012-11-30 Chong Yidong <cyd@gnu.org>
302
303 * longlines.el (longlines-wrap-line, longlines-encode-region):
304 Preserve text properties (Bug#1425).
305
306 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
307
308 * vc/vc.el (vc-register): Allow registering a file which is
309 already registered with a different backend (Bug#10589).
310
311 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
312 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * icomplete.el: Change separator; add ido-style commands.
315 (icomplete-show-key-bindings): Remove custom var.
316 (icomplete-get-keys): Remove function.
317 (icomplete-forward-completions, icomplete-backward-completions):
318 New commands.
319 (icomplete-minibuffer-map): New var.
320 (icomplete-minibuffer-setup): Use it.
321 (icomplete-exhibit): Don't delay if the list of completions is known.
322 (icomplete-separator): New custom.
323 (icomplete-completions): Use it.
324 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
325 (minibuffer-force-complete-and-exit): New command.
326 (minibuffer--complete-and-exit): New function extracted from
327 minibuffer-complete-and-exit.
328 (minibuffer-complete-and-exit): Use it.
329
330 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
331 error message when the file doesn't exist (bug#12974).
332
333 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
334
335 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
336
337 2012-11-29 Glenn Morris <rgm@gnu.org>
338
339 * files.el (hack-dir-local-variables): Warn if try to set
340 coding via dir-locals, since it doesn't work. (Bug#7169)
341
342 Add desktop support for restoring vc-dir buffers. (Bug#10606)
343 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
344 Set buffer-local value of desktop-save-buffer.
345 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
346 New functions.
347 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
348 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
349
350 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
351 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
352 Doc fix.
353 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
354 Doc fixes.
355
356 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
357
358 * calc/calc-forms.el (calc-date-notation): Fix regexp
359 used to find time codes. Fix symbol for seconds.
360
361 2012-11-27 Glenn Morris <rgm@gnu.org>
362
363 * emacs-lisp/derived.el (derived-mode-make-docstring):
364 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
365
366 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * textmodes/table.el (table-insert): Don't use `symbol-name' on
369 lexically scoped variables (bug#13005).
370
371 2012-11-27 Glenn Morris <rgm@gnu.org>
372
373 * vc/vc-hooks.el (vc-mistrust-permissions):
374 Default to t, to avoid data-loss. (Bug#11490)
375
376 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
377
378 * progmodes/python.el (python-indent-guess-indent-offset):
379 If indentation is guessed make python-indent-offset buffer-local.
380
381 Fix Imenu regression.
382 * progmodes/python.el (python-nav-beginning-of-defun):
383 Fix forward movement when statement(s) separates point from defun.
384 (python-imenu-prev-index-position): New function.
385
386 2012-11-27 Eli Zaretskii <eliz@gnu.org>
387
388 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
389
390 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
391 Don't set buffer-file-type. Return nil. (Bug#12989)
392
393 2012-11-27 Glenn Morris <rgm@gnu.org>
394
395 * hippie-exp.el (hippie-expand-try-functions-list):
396 Re-autoload it. (Bug#12982)
397
398 2012-11-27 Eli Zaretskii <eliz@gnu.org>
399
400 * descr-text.el (describe-char-padded-string):
401 Call internal-char-font only on GUI frames. (Bug#11964)
402
403 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
404
405 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
406 and obsoletion message.
407
408 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
411 the constructs to keep outside of the `cl-block' (bug#12977).
412
413 2012-11-27 Chong Yidong <cyd@gnu.org>
414
415 * mouse.el (mouse-drag-line): Even if the line is not draggable,
416 keep reading until we get the up-event anyway, in order to process
417 the up-event for mouse-1-click-follows-link (Bug#12971).
418
419 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
422 base function is not yet defined (bug#12965).
423 (ad-activate-advised-definition): Use ad-compile-function.
424 (ad-activate): Use cond.
425
426 2012-11-25 Leo Liu <sdl.web@gmail.com>
427
428 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
429 (Bug#12979)
430
431 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
432
433 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
434 reftex-section-info-function in order to be compatible with
435 Texinfo integration.
436
437 * textmodes/reftex.el (reftex-section-pre-regexp)
438 (reftex-section-post-regexp, reftex-section-info-function):
439 New variable.
440 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
441 reftex-section-post-regexp, and reftex-section-info-function in order
442 to be compatible with Texinfo integration.
443
444 * textmodes/reftex-toc.el (reftex-toc-promote-action):
445 use reftex-section-pre-regexp variable in order to be compatible with
446 Texinfo integration.
447
448 2012-11-25 Chong Yidong <cyd@gnu.org>
449
450 * faces.el: Make face-spec-set more analogous to setq.
451 (face-spec-set): Change the third arg to specify whether this
452 function is being called via defface, customize, or a third party.
453 Set the appropriate symbol properties. Clear the override spec if
454 setting via Custom. Initialize face if necessary. (Bug#4988)
455 (face-spec-recalc): Allow theme faces to completely replace the
456 defface spec, in the same way as custom faces (Bug#8454).
457
458 * cus-face.el (custom-declare-face): Move face initialization to
459 face-spec-set.
460 (custom-theme-set-faces): Don't initialize the face name here, as
461 that is now done in face-spec-set.
462
463 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
464 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
465 Simplify by using the new arg to face-spec-set.
466
467 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
468 reset face-override-spec too, and use custom-declare-face.
469
470 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
471
472 * term/ns-win.el (ns-initialize-window-system): Move creation of
473 fontsets here (Bug#11964).
474
475 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
476
477 * ses.el (ses-rename-cell): Correct bug on mode-line update after
478 cell renaming.
479
480 2012-11-24 Chong Yidong <cyd@gnu.org>
481
482 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
483 obsolete.
484
485 * custom.el (custom-theme-set-variables): Use a topological sort
486 for ordering by custom dependencies (Bug#12952).
487 (custom--sort-vars, custom--sort-vars-1): New functions.
488
489 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
492 lexical-binding (bug#12938).
493
494 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
495
496 * image-mode.el (image-transform-check-size): Use assertions only
497 for images of type imagemagick.
498
499 Otherwise no error, image-transform-fit-to-{width,height} is
500 silently ignored, as before. Doc fix.
501
502 2012-11-24 Chong Yidong <cyd@gnu.org>
503
504 * faces.el (color-defined-p): Doc fix (Bug#12853).
505
506 2012-11-24 Juri Linkov <juri@jurta.org>
507
508 * dired.el (dired-mark): Add optional arg `interactive'.
509 Check for `use-region-p' if `interactive' is non-nil.
510 (dired-unmark, dired-flag-file-deletion): Add optional arg
511 `interactive'. Call `dired-mark' with the arg `interactive'.
512 (Bug#10624)
513
514 * wdired.el: Revert 2012-10-17 change partly and replace it with
515 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
516 (wdired-finish-edit): Add marks for new file names to
517 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
518 after `revert-buffer'.
519 (wdired-do-renames): Remove calls to `dired-remove-file',
520 `dired-add-file', `dired-add-entry'. (Bug#11795)
521
522 2012-11-24 Alan Mackenzie <acm@muc.de>
523
524 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
525
526 Fix bugs in the state cache. Enhance a debugging mechanism.
527 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
528 "brace at column zero" strategy for C++.
529 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
530 (c-parse-state-point): New variable.
531 (c-record-parse-state-state): Record old parse state with
532 `copy-tree'. Record previous value of point.
533 (c-debug-parse-state-double-cons): New debugging function.
534 (c-debug-parse-state): Call the above new function.
535 (c-toggle-parse-state-debug): Output a confirmatory message.
536
537 * progmodes/cc-mode.el (c-before-change, c-after-change):
538 Call c-invalidate-state-cache from `c-before-change' instead of
539 `c-after-change'.
540
541 2012-11-23 Chong Yidong <cyd@gnu.org>
542
543 * find-cmd.el (find-constituents): Add executable, ipath,
544 readable, samefile, writable, daystart, regextype (Bug#12856).
545
546 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
549
550 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
551
552 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
553 definition. This fixes a bootstrap failure.
554 (calc-gregorian-switch): In menu, put dates before regions.
555 This is easier to follow, lines up better in the menu, and lets us
556 coalesce regions that switch at the same time. Give country
557 names, not "Vatican", as that's better for non-expert users.
558 Use names that are stable between the date of switch and now, e.g.,
559 Bohemia and Moravia (which existed then and now) and not
560 Czechoslovakia (which didn't exist then and doesn't exist now).
561 What is now the U.S. mostly did not switch at the same time as
562 Britain, so omit the U.S. Correct spelling of "Britain".
563 Catholic Switzerland was too much of a mess, so omit it.
564
565 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
566
567 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
568 after the variable is changed.
569
570 2012-11-21 Daniel Colascione <dancol@dancol.org>
571
572 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
573 in SQL declarations for font-lock.
574 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
575
576 2012-11-21 Glenn Morris <rgm@gnu.org>
577
578 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
579 (face-italic-p): Add optional argument "inherit".
580
581 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
582 Remove -p suffix from names, for consistency with other set-face-*.
583 (set-face-inverse-video): Fix interactive spec.
584 * play/gamegrid.el (gamegrid-make-mono-tty-face):
585 * textmodes/table.el (table--update-cell-face):
586 Use set-face-inverse-video rather than now obsolete alias.
587
588 2012-11-21 Eli Zaretskii <eliz@gnu.org>
589
590 * simple.el (line-move): Don't call line-move-partial if
591 scroll-conservatively is in effect. (Bug#12927)
592
593 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
596 Fallback on completion-at-point rather than
597 pcomplete-expand-and-complete, and only if pcomplete actually failed.
598 (eshell-cmpl-initialize): Setup completion-at-point.
599
600 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
601
602 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
603
604 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
605
606 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
607 are remote, check out-of-band property for both.
608
609 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * window.el (switch-to-buffer): Re-add the warning that was lost in the
612 code rewrite.
613
614 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
615
616 More minor time fixes.
617 * calendar/time-date.el: Commentary fix.
618 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
619 too much other code depends on (0 0) time stamps.
620 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
621 Add a couple of FIXME comments.
622
623 Minor cleanup for times as lists of four integers.
624 * files.el (dir-locals-directory-cache):
625 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
626 Doc fixes.
627 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
628 * ps-bdf.el (bdf-file-newer-than-time):
629 Process four-integers time stamps, not two. Doc fixes.
630
631 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * uniquify.el (uniquify-managed): Use defvar-local.
634 (rename-buffer, create-file-buffer): Advise with advice-add.
635 (uniquify-unload-function): Unadvise accordingly.
636
637 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
638 (trace-buffer): Don't purecopy.
639 (trace-entry-message, trace-exit-message): Add `context' arg.
640 (trace--timer): New var.
641 (trace-make-advice): Adjust for use in nadvice.
642 Add `context' argument. Delay `display-buffer' via a timer.
643 (trace-function-internal): Use advice-add.
644 (trace--read-args): New function.
645 (trace-function-foreground, trace-function-background): Use it.
646 (trace-function): Rename to trace-function-foreground and redefine as
647 an alias to that new name.
648 (untrace-function, untrace-all): Adjust to the use of nadvice.
649
650 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
651
652 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
653
654 * subr.el (called-interactively-p-functions): New var.
655 (internal--called-interactively-p--get-frame): New macro.
656 (called-interactively-p, interactive-p): Rewrite in Lisp.
657 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
658 (called-interactively-p-functions): Use it.
659 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
660 (called-interactively-p-functions): Use it.
661 * allout.el (allout-called-interactively-p): Don't assume
662 called-interactively-p is a subr.
663
664 2012-11-20 Glenn Morris <rgm@gnu.org>
665
666 * profiler.el (profiler-report-mode-map): Add a menu.
667 No need to bind `q' because we derive from special-mode.
668 (profiler-report-find-entry): Handle calls from the menu-bar.
669
670 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/byte-run.el (defun-declarations-alist):
673 Allow a compiler-macro to be a lambda expression.
674
675 * progmodes/python.el: Use cl-lib. Move var declarations outside of
676 eval-when-compile.
677 (python-syntax-context): Add compiler-macro.
678 (python-font-lock-keywords): Simplify with De Morgan.
679
680 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
681
682 * files.el (load-file): Require match in minibuffer selection, as was
683 the case in Emacs-20 before we changed the spec to allow .elc files
684 (bug#12935).
685
686 * json.el: Don't require cl since we don't use it.
687 * color.el: Don't require cl.
688 (color-complement): `caddr' -> `nth 2'.
689
690 * calendar/time-date.el (time-to-seconds): De-obsolete.
691
692 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
693
694 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
695 year numbers.
696 (math-date-to-julian-dt): Adjust the initial approximation for the
697 year to deal with the new definition of the DATE.
698
699 2012-11-19 Daniel Colascione <dancol@dancol.org>
700
701 * term/w32-win.el (cygwin-convert-path-from-windows):
702 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
703
704 2012-11-18 Chong Yidong <cyd@gnu.org>
705
706 * filecache.el (file-cache--read-list): New function.
707 (file-cache-add-directory-list, file-cache-add-file-list)
708 (file-cache-delete-file-list, file-cache-delete-directory-list):
709 Use it to read a list of files or directories (Bug#12846).
710 (file-cache-add-file, file-cache-add-directory)
711 (file-cache-delete-file-list, file-cache-delete-file-regexp)
712 (file-cache-delete-directory): Print an message.
713
714 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
715
716 * calc/calc-forms.el (math-date-to-dt): Use integer date when
717 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
718
719 2012-11-18 Glenn Morris <rgm@gnu.org>
720
721 * image.el (insert-image, insert-sliced-image): Doc fix.
722
723 2012-11-18 Chong Yidong <cyd@gnu.org>
724
725 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
726 (Bug#12810).
727
728 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
729
730 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
731 response when the target file is in a subdirectory (Bug#12757).
732
733 2012-11-18 Chong Yidong <cyd@gnu.org>
734
735 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
736
737 2012-11-18 Glenn Morris <rgm@gnu.org>
738
739 * emacs-lisp/cl-lib.el (face-underline-p):
740 Use set-face-underline rather than the alias set-face-underline-p.
741
742 * window.el (with-temp-buffer-window): Doc fix.
743 * subr.el (with-output-to-temp-buffer):
744 Add doc xref to with-temp-buffer-window.
745
746 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
747
748 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
749 * calc/calc.el (math-format-date-cache): Declare.
750
751 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
752
753 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
754 It also uses January 1, 1 AD as its day number 1.
755 * calc/calc-forms.el (math-julian-date-beginning)
756 (math-julian-date-beginning-int): Implement this.
757
758 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
759
760 * descr-text.el (quail-find-key):
761 * dired.el (desktop-file-name):
762 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
763 * generic-x.el (comint-mode, comint-exec):
764 * image-dired.el (widget-forward):
765 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
766 (speedbar-change-expand-button-char)
767 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
768 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
769 * printing.el (easy-menu-add-item, easy-menu-remove-item)
770 (widget-field-action, widget-value-set):
771 * speedbar.el (imenu--make-index-alist):
772 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
773 (ring-length, ring-insert):
774 * vcursor.el (compare-windows-skip-whitespace):
775 * woman.el (dired-get-filename):
776 Declare functions.
777
778 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
779
780 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
781
782 * calc/calc.el (calc-gregorian-switch): New variable.
783
784 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
785 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
786 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
787 (math-leap-year-p): Add option to distinguish between Julian
788 and Gregorian calendars.
789 (math-day-number): Use `math-day-in-year' to do the computations.
790 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
791 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
792 to do the computations.
793 (math-date-to-dt): Use `math-date-to-julian-dt' and
794 `math-date-to-gregorian-dt' to do the computations.
795 (calcFunc-weekday, math-format-date-part): Use the new version of
796 the DATE to determine the weekday.
797 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
798 when necessary.
799
800 2012-11-17 Eli Zaretskii <eliz@gnu.org>
801
802 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
803 Cygwin; otherwise use 'file:'. (Bug#12914)
804 (cygwin-convert-path-from-windows): Declare, to avoid
805 byte-compiler warnings.
806
807 2012-11-17 Andreas Politz <politza@fh-trier.de>
808
809 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
810 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
811 prefix and negative numeric prefix args (Bug#12795).
812
813 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
814
815 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
816 Don't signal an error with a score that is too low to add to the
817 list of top scores. (Bug#12779)
818
819 2012-11-17 Chong Yidong <cyd@gnu.org>
820
821 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
822
823 * filecache.el (file-cache-add-file): Handle relative file name in
824 the argument (Bug#12694).
825
826 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
827
828 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
829
830 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
833
834 * emacs-lisp/cl-lib.el: Set more meaningful version number.
835
836 2012-11-16 Martin Rudalics <rudalics@gmx.at>
837
838 * window.el (enlarge-window, shrink-window): Don't mention return
839 value in doc-string (Bug#12896).
840 (window--display-buffer): Don't resize frames - it won't work
841 with all window managers and defeat pop-up-frame-alist.
842 (display-buffer-alist): In doc-string explain that CONDITION can
843 be a function and which arguments are passed to it (Bug#12854).
844 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
845 expressions (Bug#12854).
846 (display-buffer): Pass ACTION argument to
847 display-buffer-assq-regexp.
848
849 2012-11-16 Glenn Morris <rgm@gnu.org>
850
851 * window.el (fit-frame-to-buffer-bottom-margin)
852 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
853
854 * faces.el (face-underline-p): Use face-attribute-specified-or.
855
856 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
857
858 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
859
860 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
863
864 2012-11-16 Glenn Morris <rgm@gnu.org>
865
866 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
867 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
868
869 * faces.el (face-underline-p): Doc fix. Handle :underline being
870 things other than `t' (a string, a list).
871 (face-inverse-video-p): Doc fix.
872 (set-face-underline): Rename it back from set-face-underline-p.
873 Doc fix. Allow interactive input of values other than t.
874 (read-face-attribute): Apply formatting to :underline,
875 since like :box and :stipple it can take list values.
876
877 * term.el (ansi-term): Don't let C-x escape-char binding
878 clobber the more standard C-c binding. (Bug#12842)
879
880 * subr.el (set-temporary-overlay-map): Doc fix.
881
882 2012-11-16 Martin Rudalics <rudalics@gmx.at>
883
884 * window.el (record-window-buffer)
885 (display-buffer-record-window): When copying the markers to
886 window-point preserve window-point-insertion-type. (Bug#12588)
887
888 2012-11-16 Glenn Morris <rgm@gnu.org>
889
890 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
891 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
892 Use new names for hooks rather than obsolete aliases.
893
894 2012-11-15 Daniel Colascione <dancol@dancol.org>
895
896 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
897 prefix instead of "file:" so that when FILE-NAME begins with "//",
898 as it does when the target file is on a network share, url-handler
899 isn't confused.
900
901 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
904 a preactivated advice from an old advice.el; they're not compatible!
905
906 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
907
908 * emacs-lisp/nadvice.el (advice--make-interactive-form):
909 Fix string-spec case.
910
911 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
912
913 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
916 (advice--buffer-local-function-sample): New var.
917 (advice--set-buffer-local, advice--buffer-local): New functions.
918 (add-function, remove-function): Use them.
919
920 2012-11-15 Drew Adams <drew.adams@oracle.com>
921
922 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
923
924 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
927 potential binding of print-gensym to t, and prettify (back)quotes in
928 case they appear in args's default values (bug#12884).
929
930 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
933 (advice-eval-interactive-spec): New function.
934 (advice--make-interactive-form): Support around advice (bug#12844).
935
936 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
937
938 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
939 more strict. Add docstring.
940 (ruby-expression-expansion-re): Extract from
941 `ruby-match-expression-expansion'.
942 (ruby-syntax-propertize-function): After everything else, search
943 for expansions in string literals, mark their insides as
944 whitespace syntax and save match data for font-lock.
945 (ruby-font-lock-keywords): Use the 2nd group from expression
946 expansion matches.
947 (ruby-match-expression-expansion): Use the match data saved to the
948 text property in ruby-syntax-propertize-function.
949
950 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
953 (bug#12879).
954
955 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
958 start/end keyword a bit harder. Works with different values of N.
959 Add more comments.
960 (ruby-end-of-block): Update accordingly.
961
962 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * woman.el (woman-file-name): Don't mess with unread-command-events
965 (bug#12861).
966
967 * emacs-lisp/advice.el: Layer on top of nadvice.el.
968 Remove out of date self-require hack.
969 (ad-do-advised-functions): Use simple `dolist'.
970 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
971 (ad-advice-definition): Redefine as functions.
972 (ad-advice-classes): Move before first use.
973 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
974 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
975 (ad--defalias-fset): Remove functions.
976 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
977 (ad-get-orig-definition): Rewrite.
978 (ad-make-advised-definition-docstring): Change base docstring.
979 (ad-real-orig-definition): Rewrite.
980 (ad-map-arglists): Change name of called function.
981 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
982 (ad-make-advised-definition): Simplify.
983 (ad-assemble-advised-definition): Tweak for new calling context.
984 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
985 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
986 function and call ad-activate if needed.
987 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
988 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
989 (ad-compile-function): Compile ad-Advice-*.
990 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
991 (ad-start-advice, ad-stop-advice): Remove.
992
993 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
994
995 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
996 period before class method names, not after. Remove handling of
997 one impossible case. Add comments.
998
999 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * emacs-lisp/advice.el: Remove support for freezing.
1002 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1003 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1004 Remove support for `freeze'.
1005
1006 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1007 override the default.
1008 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1009 cl--dotimes/dolist.
1010 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1011 `cl' is loaded.
1012
1013 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1014 from add-advice.
1015 (advice--strip-macro): New function.
1016 (advice--defalias-fset): Use them to handle macros.
1017 (advice-add): Use them.
1018 (advice-member-p): Correctly handle macros.
1019
1020 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1021
1022 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1023 Never font-lock the beginning of singleton class as heredoc.
1024
1025 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1028
1029 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1030
1031 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1032 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1033 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1034
1035 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1036
1037 Fix end-of-defun misbehavior.
1038 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1039 python-beginning-of-defun-function. Handle nested defuns
1040 correctly.
1041 (python-nav-end-of-defun): Rename from
1042 python-end-of-defun-function. Ensure forward movement.
1043 (python-info-current-defun): Reimplement to work as intended
1044 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1045 parent defuns as soon as possible.
1046
1047 2012-11-13 Glenn Morris <rgm@gnu.org>
1048
1049 * progmodes/flymake.el (flymake-error-bitmap)
1050 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1051 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1052
1053 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1054
1055 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1056 backward, always stop at indentation. Reverts the change from
1057 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1058
1059 2012-11-13 Glenn Morris <rgm@gnu.org>
1060
1061 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1062 Add ibuffer-filter-by-derived-mode.
1063
1064 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1065 the same name shadowing each other.
1066
1067 * window.el (with-temp-buffer-window): Doc tweak.
1068
1069 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1070
1071 * help.el (temp-buffer-max-height):
1072 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1073 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1074
1075 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * emacs-lisp/nadvice.el: New package.
1078 * subr.el (special-form-p): New function.
1079 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1080 (elp-all-instrumented-list): Remove var.
1081 (elp-not-profilable): Remove elp-wrapper.
1082 (elp-profilable-p): Use autoloadp and special-form-p.
1083 (elp--advice-name): New const.
1084 (elp-instrument-function): Use advice-add.
1085 (elp--instrumented-p): New predicate.
1086 (elp-restore-function): Use advice-remove.
1087 (elp-restore-all, elp-reset-all): Use mapatoms.
1088 (elp-set-master): Use elp--instrumented-p.
1089 (elp--make-wrapper): Rename from elp-wrapper, return a function
1090 suitable for advice-add. Use cl-inf.
1091 (elp-results): Use mapatoms+elp--instrumented-p.
1092 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1093 (debug-function-list): Remove var.
1094 (debug): Rename arg, and then let-bind it explicitly inside.
1095 (debugger-setup-buffer): Rename arg.
1096 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1097 (debugger-frame-number): Adjust to new debug-on-entry setup.
1098 (debug--implement-debug-on-entry): Rename from
1099 implement-debug-on-entry, add argument.
1100 (debugger-special-form-p): Remove, use special-form-p instead.
1101 (debug-on-entry): Use advice-add.
1102 (debug--function-list): New function.
1103 (cancel-debug-on-entry): Use it, along with advice-remove.
1104 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1105 (debugger-list-functions): Use debug--function-list instead of
1106 debug-function-list.
1107 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1108 (ad-special-form-p): Remove, use special-form-p instead.
1109 (ad-set-advice-info): Use add-function and remove-function.
1110 (ad--defalias-fset): Adjust accordingly.
1111
1112 2012-11-10 Glenn Morris <rgm@gnu.org>
1113
1114 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1115 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1116 (report-emacs-bug-create-existing-bugs-buffer)
1117 (report-emacs-bug-parse-query-results)
1118 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1119
1120 * term.el (term-default-fg-color, term-default-bg-color):
1121 Make obsolete, rather than just saying "deprecated" in the doc.
1122
1123 * term.el (term): Rename from `term-face'.
1124 (term-current-face, ansi-term-color-vector)
1125 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1126 Update all users.
1127
1128 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1129
1130 * server.el (server-create-window-system-frame): Handle Nextstep
1131 specially (Bug#12780).
1132
1133 2012-11-10 Glenn Morris <rgm@gnu.org>
1134
1135 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1136 Unautoload, and make obsolete. (Bug#7449)
1137
1138 2012-11-10 Chong Yidong <cyd@gnu.org>
1139
1140 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1141 rename from diff-remove-trailing-whitespace (Bug#12831).
1142
1143 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1146 miscompilation of trace.el.
1147
1148 2012-11-10 Glenn Morris <rgm@gnu.org>
1149
1150 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1151
1152 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1155 (bug#12812).
1156
1157 2012-11-10 Chong Yidong <cyd@gnu.org>
1158
1159 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1160 a defcustom with an appropriate :set function.
1161 (minibuffer-default--in-prompt-regexps): New function.
1162
1163 2012-11-10 Glenn Morris <rgm@gnu.org>
1164
1165 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1166 (define-modify-macro): Doc fixes.
1167
1168 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1169 (gv-define-simple-setter): Update doc of `fix-return'.
1170
1171 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1174 twice when `fix-return' is set (bug#12813).
1175
1176 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1177 gv-define-simple-setter (bug#12812).
1178
1179 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1180 (bug#12756).
1181
1182 2012-11-10 Glenn Morris <rgm@gnu.org>
1183
1184 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1185
1186 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1187 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1188 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1189 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1190
1191 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1192
1193 2012-11-10 Leo Liu <sdl.web@gmail.com>
1194
1195 * ido.el (ido-set-matches-1): Improve flex matching performance by
1196 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1197
1198 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1201 (ad--defalias-fset): New function.
1202 (ad-safe-fset): Remove.
1203 (ad-make-freeze-definition): Use cl-letf*.
1204
1205 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * subr.el (dolist): Don't bind VAR in RESULT.
1208
1209 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1210 (fset, documentation): Don't save real def since we don't advise.
1211 (ad-do-advised-functions): Remove problematic `result-form'.
1212 (ad-safe-fset): `ad-real-fset' => `fset'.
1213 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1214 uses CL's dolist internally.
1215 (ad-arglist): Remove unused arg `name'.
1216 (ad-docstring, ad-make-advised-docstring):
1217 `ad-real-documentation' => `documentation'.
1218 (warning-suppress-types): Declare.
1219 (ad-set-arguments): Simple CSE.
1220 (ad-recover-normality): Sanity check.
1221
1222 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1223 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1224
1225 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1226
1227 * ses.el: symbol to coordinate mapping is made by symbol property
1228 `ses-cell'. This means that the same mapping is done for all SES
1229 sheets. That is good enough for cells with standard A1 names, but
1230 not for named cell. So a hash map is added for the latter.
1231 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1232 (ses-sym-rowcol): Use hashmap for named cell.
1233 (ses-is-cell-sym-p): New defun.
1234 (ses-decode-cell-symbol): New defun.
1235 (ses-create-cell-variable): Add cell to hashmap when name is not
1236 A1-like.
1237 (ses-rename-cell): Check that cell new name is not already in
1238 spreadsheet with the use of ses-is-cell-sym-p
1239 (ses-rename-cell): Use hash map for named cells, but accept also
1240 renaming back to A1-like.
1241
1242 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * emacs-lisp/advice.el: Use new dynamic docstrings.
1245 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1246 Use dynamic-docstring-function instead of ad-advice-info.
1247 (ad--make-advised-docstring): New function extracted from
1248 ad-make-advised-docstring.
1249 (ad-make-advised-docstring): Use it.
1250 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1251 from sql-help.
1252 (sql-help): Use it with dynamic-docstring-function.
1253
1254 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1255
1256 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * files.el (hack-one-local-variable--obsolete): New function.
1259 (hack-one-local-variable): Use it for obsolete settings.
1260
1261 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1262 the new name.
1263
1264 * progmodes/js.el (js--filling-paragraph): New var.
1265 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1266 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1267 less sneaky.
1268
1269 2012-11-08 Julien Danjou <julien@danjou.info>
1270
1271 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1272 `auto-mode-alist' (Bug#12835).
1273
1274 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1277 (perl--prettify-symbols-alist): New const.
1278 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1279 New functions.
1280 (perl-font-lock-keywords-2): Use them.
1281 (perl-electric-noindent-p): New function.
1282 (perl-mode): Use it to set up electric-indent-mode.
1283 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1284 (perl-mode-map): Remove bindings for them.
1285 (perl-imenu-generic-expression, perl-outline-level):
1286 Match functions&packages in column>0.
1287
1288 * env.el (env--substitute-vars-regexp): New const.
1289 (substitute-env-vars): Use it. Add `only-defined' arg.
1290 * net/tramp.el (tramp-replace-environment-variables): Use it.
1291
1292 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1293 Byte-compile *before* eval in eval-and-compile.
1294 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1295 (byte-compile-file-form-autoload): Don't hide actual definition.
1296 (byte-compile-maybe-guarded): Accept `functionp' as well.
1297
1298 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1299
1300 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1301
1302 * notifications.el (notifications-get-server-information-method):
1303 New defconst.
1304 (notifications-get-capabilities): Fix docstring.
1305 (notifications-get-server-information): New defun.
1306
1307 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1308
1309 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1310 readability.
1311
1312 * textmodes/ispell.el: Experimental support for support debugging.
1313 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1314 buffer for ispell.
1315 (ispell-print-if-debug): New function to print stuff to
1316 `ispell-debug-buffer' if debugging is enabled.
1317 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1318 show some debugging info.
1319 (ispell-buffer-with-debug): New function that creates a debugging
1320 buffer and calls `ispell-buffer' with debugging enabled.
1321
1322 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1323 comment in autoconf mode. (Bug#12768)
1324
1325 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1326
1327 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1328 frame-first-window, frame-root-window, frame-selected-window,
1329 minibuffer-selected-window, minibuffer-window,
1330 window-absolute-pixel-edges, window-at, window-body-height,
1331 window-body-width, window-display-table, window-combination-limit,
1332 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1333 window-inside-edges, window-inside-pixel-edges, window-left-child,
1334 window-left-column, window-margins, window-next-buffers,
1335 window-next-sibling, window-new-normal, window-new-total,
1336 window-normal-size, window-parameter, window-parameters, window-parent,
1337 window-pixel-edges, window-point, window-prev-buffers,
1338 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1339 window-start, window-text-height, window-top-child, window-top-line,
1340 window-total-height, window-total-width and window-use-time to the list
1341 of functions without side-effects.
1342 (toplevel): Add window-valid-p to the list of error-free functions
1343 without side-effects.
1344
1345 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1346
1347 * textmodes/ispell.el (ispell-program-name):
1348 Update spellchecker parameters when customized.
1349
1350 2012-11-04 Glenn Morris <rgm@gnu.org>
1351
1352 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1353
1354 2012-11-04 Chong Yidong <cyd@gnu.org>
1355
1356 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1357 same-window-* variables.
1358
1359 2012-11-04 Juri Linkov <juri@jurta.org>
1360
1361 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1362 (isearch-describe-key, isearch-describe-mode): Use a display
1363 action instead of binding same-window-* variables (Bug#10040).
1364
1365 2012-11-03 Glenn Morris <rgm@gnu.org>
1366
1367 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1368 Rename handler properties back from cl-- to cl-. (Bug#12788)
1369
1370 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1371
1372 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1373
1374 * term/pc-win.el: Don't load term/internal from here.
1375
1376 * loadup.el: Load term/internal from here.
1377
1378 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1379
1380 * progmodes/python.el (inferior-python-mode): Fix hang in
1381 jit-lock (Bug#12645).
1382
1383 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (switch-to-visible-buffer)
1386 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1387
1388 2012-11-03 Glenn Morris <rgm@gnu.org>
1389
1390 * emacs-lisp/cl-lib.el (cl--random-time):
1391 Rename from cl-random-time. (Bug#12773)
1392 (cl--gensym-counter, cl--random-state): Update callers.
1393 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1394
1395 2012-11-03 Chong Yidong <cyd@gnu.org>
1396
1397 * cus-start.el: Make cursor-type customizable (Bug#11633).
1398
1399 2012-11-02 Glenn Morris <rgm@gnu.org>
1400
1401 * filecache.el: No need to load find-lisp when compiling.
1402 (find-lisp-find-files): Autoload it.
1403 (file-cache-add-directory-recursively): Don't require find-lisp.
1404
1405 * image.el (image-type-from-file-name): Trivial simplification.
1406
1407 * emacs-lisp/bytecomp.el (byte-compile-eval):
1408 Decouple "noruntime" and "cl-functions" warnings.
1409
1410 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1411
1412 * play/gomoku.el (gomoku-display-statistics): Update mode line
1413 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1414
1415 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1416
1417 * window.el (quit-restore-window): If the window has been
1418 created on an existing frame and ended up as the sole window on
1419 that frame, do not delete it (Bug#12764).
1420
1421 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1424 Rename from sh--inside-arithmetic-expression, handle more cases
1425 (bug#11263).
1426
1427 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1428 (sh-font-lock-open-heredoc): Use it (bug#12770).
1429
1430 2012-10-30 Glenn Morris <rgm@gnu.org>
1431
1432 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1433
1434 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1435
1436 2012-10-29 Chong Yidong <cyd@gnu.org>
1437
1438 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1439 function key is stored in a keyboard macro (Bug#4894).
1440
1441 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1442
1443 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1446 header comments".
1447 (diff-unified->context, diff-context->unified)
1448 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1449
1450 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1451
1452 * files.el (find-alternate-file): Only ask one question (bug#12487).
1453
1454 2012-10-29 Chong Yidong <cyd@gnu.org>
1455
1456 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1457 Suggested by Dan Nicolaescu (Bug#6326).
1458
1459 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1460
1461 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1462
1463 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1464
1465 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1466
1467 * face-remap.el (face-remap-add-relative): Handle the case where a
1468 face-remapping-alist entry is a cons cell (Bug#12762).
1469
1470 2012-10-29 Kevin Ryde <user42@zip.com.au>
1471
1472 * woman.el (woman-parse-numeric-value): Handle picas correctly
1473 (Bug#12639).
1474
1475 2012-10-29 Glenn Morris <rgm@gnu.org>
1476
1477 * emacs-lisp/cl.el (defsetf): Doc fix.
1478
1479 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1482 syntax to the matching opener, if any (bug#12547).
1483 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1484 matching open as a "case-(".
1485 (sh-smie-rc-grammar): Add a corresponding rule for it.
1486
1487 2012-10-28 Daniel Hackney <dan@haxney.org>
1488
1489 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1490 "PKGNAME-autoloads.el" in case we created it.
1491
1492 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1495 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1496 (completion--twq-all): Disable too-strict assertions.
1497
1498 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1499
1500 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1501
1502 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1503 text to match the real keybindings.
1504
1505 2012-10-27 Juri Linkov <juri@jurta.org>
1506
1507 * wdired.el (wdired-keep-marker-rename): New defcustom.
1508 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1509 (Bug#11795)
1510
1511 * dired.el (dired-keep-marker-rename): Add reference to
1512 `wdired-keep-marker-rename' in the docstring.
1513 Add default character value ?R to display initially in
1514 Customization UI instead of ?@.
1515
1516 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1517
1518 * window.el (display-buffer): In doc-string describe
1519 window-height and window-width alist entries.
1520
1521 * time.el (display-time-world): Restore fit-window-to-buffer
1522 behavior.
1523
1524 2012-10-27 Chong Yidong <cyd@gnu.org>
1525
1526 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1527
1528 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1529
1530 * minibuffer.el (completion-category-overrides): New completion
1531 category `bookmark' (bug#11131).
1532
1533 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1536 Silence bogus compiler warnings for ad-do-it.
1537
1538 * bookmark.el (bookmark-completing-read): Set the completion category
1539 to `bookmark' (bug#11131).
1540
1541 2012-10-26 Bastien <bzg@altern.org>
1542 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * face-remap.el: Use lexical-binding.
1545 (text-scale-adjust): Improve docstring. Use itself for the temporary
1546 overlay-map bindings, so as to repeat the "Use..." message each time.
1547
1548 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * emacs-lisp/macroexp.el (macroexp--expand-all):
1551 Obey byte-compile-warning-enabled-p (bug#12486).
1552
1553 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1554 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1555
1556 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1557
1558 * mouse.el (mouse-drag-line): Move last form into preceding when
1559 clause (Bug#12731).
1560
1561 * help.el (resize-temp-buffer-window): Fix doc-string.
1562
1563 2012-10-25 David Engster <deng@randomsample.de>
1564
1565 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1566 Remove. This feature is already integrated in imenu.
1567
1568 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1569 always loaded. Require `speedbar' unconditionally.
1570
1571 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1574
1575 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1576
1577 * net/ldap.el (ldap-search-internal): The official ldif format starts
1578 with a "version: 1" header (bug#12724).
1579
1580 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1581 (bug#12721).
1582
1583 2012-10-25 Glenn Morris <rgm@gnu.org>
1584
1585 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1586
1587 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * minibuffer.el (minibuffer-force-complete): Use one more marker
1590 for the temporary-overlay-map command (bug#12619).
1591
1592 2012-10-24 Chong Yidong <cyd@gnu.org>
1593
1594 * time.el (display-time-world-mode): Derive from special-mode.
1595 (display-time-world): Use display-buffer (Bug#12708).
1596 (display-time-world-mode-map): Variable deleted.
1597 (display-time-world-display): Wrap the final delete-char inside
1598 inhibit-read-only.
1599
1600 2012-10-24 Chong Yidong <cyd@gnu.org>
1601
1602 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1603 Doc fix.
1604
1605 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1606
1607 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * minibuffer.el (completion--all-sorted-completions-location): New var.
1610 (completion--cache-all-sorted-completions)
1611 (completion--flush-all-sorted-completions): Use it.
1612 (completion-in-region, completion-in-region--postch)
1613 (completion-at-point, completion-help-at-point): Use markers in
1614 completion-in-region--data (bug#12619).
1615
1616 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * progmodes/compile.el (compilation-start): Try to handle common
1619 quoting of `cd' argument (bug#12640).
1620
1621 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1622 (bug#12671).
1623
1624 2012-10-23 Glenn Morris <rgm@gnu.org>
1625
1626 * progmodes/gud.el (gud-menu-map):
1627 Check gdb-active-process is bound. (Bug#12358)
1628
1629 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * repeat.el (repeat): Set real-this-command (bug#12232).
1632
1633 * htmlfontify.el (hfy-post-html-hook):
1634 * filesets.el (filesets-cache-fill-content-hook):
1635 * arc-mode.el (archive-extract-hook):
1636 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1637 * net/rcirc.el (rcirc-sentinel-functions)
1638 (rcirc-receive-message-functions, rcirc-activity-functions)
1639 (rcirc-print-functions):
1640 * net/dbus.el (dbus-event-error-functions):
1641 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1642 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1643 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1644 * term/sun.el (sun-raw-prefix-hooks):
1645 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1646
1647 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1650 Set `tramp-chunksize' to 1. This improves the performance.
1651 (tramp-smb-wait-for-output): Add timeout to
1652 `tramp-accept-process-output' calls.
1653
1654 2012-10-23 Chong Yidong <cyd@gnu.org>
1655
1656 * faces.el (font-list-limit): Define as an obsolete variable.
1657
1658 * startup.el (command-line):
1659 * cus-start.el: Don't refer to font-list-limit.
1660
1661 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1662
1663 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * subr.el (internal-temp-output-buffer-show): Rename from
1666 temp-output-buffer-show, since previously compiled files expect this name.
1667
1668 2012-10-23 Glenn Morris <rgm@gnu.org>
1669
1670 * image.el (image-type-from-file-name): If multiple types match,
1671 return the first one that is supported. (Bug#9045)
1672
1673 2012-10-22 Glenn Morris <rgm@gnu.org>
1674
1675 * image.el (imagemagick-enabled-types): Doc fix.
1676
1677 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1678
1679 * progmodes/which-func.el (which-func-current): The hash-table may have
1680 an explicit nil (bug#12338).
1681
1682 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * electric.el (electric-pair-delete-selection-self-insert-function):
1685 Rename to electric-pair-will-use-region, return a boolean.
1686 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1687
1688 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1689 (delete-selection-pre-hook): Use use-region-p.
1690 (delete-selection-self-insert-function): Remove.
1691 (self-insert-command): Obey self-insert-uses-region-functions.
1692 (self-insert-iso): Revert to previous setting, since we don't actually
1693 know what that command does.
1694 (delete-selection-self-insert-hooks): Remove.
1695
1696 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1697
1698 * delsel.el (delete-selection-helper): New function, extracted from
1699 delete-selection-pre-hook.
1700 (delete-selection-pre-hook): Use it.
1701 (delete-selection-self-insert-function): New function.
1702 (delete-selection-self-insert-hooks): New hook.
1703 (self-insert-command, self-insert-iso): Use it.
1704 * electric.el (electric-pair-syntax): New function, extracted from
1705 electric-pair-post-self-insert-function.
1706 (electric-pair-post-self-insert-function): Use it.
1707 (electric-pair-delete-selection-self-insert-function): New function.
1708 (electric-pair-mode): Require delsel and setup
1709 delete-selection-self-insert-hooks (bug#11520).
1710
1711 2012-10-20 Chong Yidong <cyd@gnu.org>
1712
1713 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1714 no changes to show (Bug#12586).
1715
1716 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1717 list explicitly (Bug#12571).
1718
1719 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1720
1721 * progmodes/flymake.el (flymake-create-temp-inplace):
1722 Use file-truename.
1723
1724 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1725
1726 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1727
1728 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1729
1730 * calc/calc-units.el (math-extract-units): Properly extract powers
1731 of units.
1732
1733 2012-10-20 Daniel Colascione <dancol@dancol.org>
1734
1735 * frame.el (make-frame): Set x-display-name as we used to in order
1736 to unbreak creating an X11 frame from an Emacs daemon started
1737 without a display.
1738
1739 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1742 the same completion-field (bug#12221).
1743
1744 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1745
1746 * emacs-lisp/debug.el (debug): Record height of debugger window
1747 also when debugger will be back (Bug#8789).
1748
1749 2012-10-18 Chong Yidong <cyd@gnu.org>
1750
1751 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1752 Convert to defcustom.
1753 (gdb-get-source-file): Don't bind pop-up-windows.
1754
1755 * progmodes/gud.el (gud-display-line): Don't specially re-use
1756 other frames for the gdb-mi case (Bug#12648).
1757
1758 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1759
1760 * emacs-lisp/advice.el: Clean up commentary a bit.
1761 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1762 (byte-code-function-p): Never redefine.
1763
1764 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1765
1766 2012-10-18 Glenn Morris <rgm@gnu.org>
1767
1768 * dired.el (dired-sort-toggle): Some ls implementations only allow
1769 a single option string. (Bug#12666)
1770
1771 * minibuffer.el (completion-cycle-threshold): Doc fix.
1772
1773 2012-10-17 Kenichi Handa <handa@gnu.org>
1774
1775 * international/mule.el (set-keyboard-coding-system):
1776 Recover input meta mode when the new coding system doesn not use 8-bit.
1777 Supply TERMINAL arg to set-input-meta-mode.
1778
1779 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1780
1781 * wdired.el (wdired-old-marks): New variable.
1782 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1783 (wdired-do-renames): Move point with renamed file and don't lose
1784 mark status (Bug#11795).
1785
1786 2012-10-16 Juri Linkov <juri@jurta.org>
1787
1788 * replace.el (query-replace-help): Mention multi-buffer replacement
1789 keys in the Help message. (Bug#12655)
1790
1791 2012-10-15 Chong Yidong <cyd@gnu.org>
1792
1793 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1794
1795 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1796
1797 * window.el (display-buffer): Doc fix.
1798
1799 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1800 Adjust the msft regexp to the output of Studio 2010, and move msft
1801 before edg-1. See the discussion on emacs-devel,
1802 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1803 for the details.
1804
1805 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1808 (oset): Move uses of object-class-fast macro after its definition.
1809
1810 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1811
1812 2012-10-13 Chong Yidong <cyd@gnu.org>
1813
1814 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1815 enabled, re-enable it (Bug#11963).
1816
1817 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1818
1819 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1820 non-nil, restore window configuration (Bug#12623).
1821
1822 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * help-fns.el (describe-variable, describe-function-1):
1825 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1826
1827 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1828
1829 2012-10-12 Glenn Morris <rgm@gnu.org>
1830
1831 * mail/rmailsum.el (rmail-header-summary):
1832 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1833
1834 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1835
1836 * progmodes/python.el (python-mode-map):
1837 Replace subtitute-key-definition with proper command remapping.
1838 (python-nav--up-list): Fix behavior for blocks on the same level.
1839
1840 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1843
1844 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1845 changes to the format of load-history.
1846
1847 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1848 completion-ignore-case in case that var is buffer-local (bug#12615).
1849
1850 2012-10-11 Kenichi Handa <handa@gnu.org>
1851
1852 * international/eucjp-ms.el: Re-generated.
1853
1854 2012-10-10 Kenichi Handa <handa@gnu.org>
1855
1856 * select.el (xselect--encode-string): If a coding is specified for
1857 selection, and that is compatible with COMPOUND_TEXT, use it.
1858
1859 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1860
1861 * window.el (switch-to-buffer-preserve-window-point): New option.
1862 (switch-to-buffer):
1863 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1864
1865 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1868 Don't document nil as a useful value (bug#12583).
1869
1870 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1871
1872 * net/tramp.el (tramp-debug-message):
1873 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1874 (with-tramp-progress-reporter): Rename from
1875 `tramp-with-progress-reporter'.
1876 (with-tramp-file-property, with-tramp-connection-property):
1877 Move from tramp-cache.el, rename from `with-file-property' and
1878 `with-connection-property', respectively.
1879
1880 * net/tramp-cache.el: Remove `with-file-property' and
1881 `with-connection-property'.
1882
1883 * net/tramp.el:
1884 * net/tramp-gvfs.el:
1885 * net/tramp-sh.el:
1886 * net/tramp-smb.el: Adapt callees.
1887
1888 * net/trampver.el: Update release number.
1889
1890 2012-10-09 Glenn Morris <rgm@gnu.org>
1891
1892 * w32-fns.el (set-message-beep):
1893 * term/w32-win.el (set-message-beep): Update declarations.
1894
1895 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1898 (mode-line-widen, mode-line-input-method-map)
1899 (mode-line-coding-system-map, mode-line-remote)
1900 (mode-line-unbury-buffer, mode-line-bury-buffer)
1901 (mode-line-next-buffer, mode-line-previous-buffer):
1902 Replace save-selected-window+select-window => with-selected-window.
1903
1904 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1905 * progmodes/cc-vars.el (bq-process): Remove, unused.
1906
1907 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1908
1909 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1910
1911 Implemented `backward-up-list'-like navigation.
1912 * progmodes/python.el (python-nav-up-list)
1913 (python-nav-backward-up-list): New functions.
1914 (python-mode-map): Define substitute key for backward-up-list to
1915 python-nav-backward-up-list.
1916
1917 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1918
1919 * progmodes/python.el (python-fill-paragraph): Rename from
1920 python-fill-paragraph-function. Fixed fill-paragraph for
1921 decorators (Bug#12605).
1922
1923 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1924
1925 * progmodes/python.el (python-shell-output-filter): Handle extra
1926 carriage return in OSX (Bug#12409).
1927
1928 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1929
1930 Fix shell handling of unbalanced quotes and parens in output.
1931 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1932 (python-syntax-propertize-function): Use it.
1933 (python-shell-output-syntax-table): New var.
1934 (inferior-python-mode): Prevent unbalanced parens/quotes from
1935 previous output mess with current input context.
1936
1937 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1938
1939 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1940 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1941
1942 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * ffap.el (ffap-replace-file-component): Support Tramp file name
1945 syntax, not only ange-ftp's one.
1946
1947 2012-10-08 Glenn Morris <rgm@gnu.org>
1948
1949 * cus-start.el (message-log-max): Set :version.
1950
1951 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1952
1953 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1954
1955 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1956 the minibuffer window (Bug#10851).
1957
1958 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1959
1960 Enhancements on forward-sexp movement.
1961 * progmodes/python.el (python-nav-beginning-of-statement)
1962 (python-nav-end-of-statement): Return point-marker.
1963 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1964 (python-info-current-symbol)
1965 (python-info-statement-starts-block-p): Rename from
1966 python-info-beginning-of-block-p.
1967 (python-info-statement-ends-block-p): Rename from
1968 python-info-end-of-block-p.
1969 (python-info-beginning-of-statement-p)
1970 (python-info-end-of-statement-p)
1971 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1972 New functions.
1973
1974 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1977 frame-selected-windows.
1978
1979 2012-10-08 Daniel Colascione <dancol@dancol.org>
1980
1981 * battery.el (battery-status-function): Check for
1982 w32-battery-status itself, not system-time windows-nt.
1983
1984 * frame.el: Require cl-lib.
1985 (display-format-alist): New variable mapping frame types to
1986 functions that initialize them.
1987 (window-system-for-display): New function: interprets
1988 display-format-alist.
1989 (make-frame-on-display): Remove existing display-selection logic
1990 and just forward to make-frame, which will now DTRT.
1991 (make-frame): Restructure to use window-system-for-display to
1992 figure out how to create a frame on a given display.
1993 (display-mouse-p): Look for frame-type w32, not a particular
1994 system-type.
1995
1996 * loadup.el: Load w32 lisp code when we have the w32 feature.
1997
1998 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1999 system-type windows-nt.
2000
2001 * server.el (server-create-window-system-frame): Look for window
2002 type.
2003 (server-proces-filter): Only force a window system when windows-nt
2004 _and_ w32. Explain why.
2005
2006 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2007 of window systems we configure for the mode.
2008
2009 * startup.el (command-line): Mark window system is initialized
2010 after we've done it.
2011
2012 * common-win.el (x-select-text): Look for w32, not windows-nt.
2013
2014 * ns-win.el: Require cl-lib. Add ourselves to
2015 display-format-alist.
2016 (ns-initialize-window-system): Assert we're not initialized twice.
2017
2018 * w32-win.el: Enable lexical binding; require cl-lib; add
2019 ourselves to display-format-alist.
2020 (w32-handle-dropped-file): Convert incoming dropped files from
2021 Windows paths to Cygwin ones before passing them on to the rest of
2022 Emacs.
2023 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2024 (w32-initialize-window-system): Assert we're not initialized twice.
2025
2026 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2027 (x-initialize-window-system): Assert we're not initialized twice.
2028
2029 * w32-common-fns.el: New File.
2030 (w32-version, w32-using-nt, w32-get-clipboard-data)
2031 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2032 (w32-charset-info-alist, x-last-selected, text)
2033 (x-get-selection-value, x-selection-value): Move here.
2034
2035 * w32-fns.el: Require w32-common-fns.
2036 (w32-version, w32-using-nt, w32-get-clipboard-data)
2037 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2038 (w32-charset-info-alist, x-last-selected, text)
2039 (x-get-selection-value, x-selection-value): Move to
2040 w32-common-fns.
2041
2042 * w32-vars.el:
2043 (w32-allow-system-shell, w32-system-shells): Define only in
2044 non-cygwin case.
2045
2046 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2049 (read-passwd): Remove a few more potential sources of leaks.
2050
2051 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2052
2053 * progmodes/python.el (inferior-python-mode)
2054 (python-shell-make-comint): Fix initialization of local
2055 variables copied from parent buffer.
2056
2057 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2058
2059 * term/ns-win.el (ns-read-file-name): Update declaration to match
2060 nsfns.m.
2061 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2062 it is set when font is acted upon.
2063
2064 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2065
2066 Enhancements to indentation.
2067 * progmodes/python.el (python-indent-context): Give priority to
2068 inside-string context. Make comments indentation markers.
2069 (python-indent-region): Do not mess with strings, unless it's the
2070 enclosing set of quotes.
2071
2072 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * window.el (internal--before-save-selected-window)
2075 (internal--after-save-selected-window): New functions extracted from
2076 save-selected-window. Make sure we return the `alist' we construct.
2077 (save-selected-window): Use them.
2078
2079 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2080 Use with-selected-window.
2081
2082 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2083 forms that define macros (bug#12593).
2084
2085 2012-10-07 Kenichi Handa <handa@gnu.org>
2086
2087 * international/mule-conf.el (compound-text-with-extensions):
2088 Add :mime-charset property as x-ctext.
2089
2090 2012-10-07 Stefan Merten <smerten@oekonux.de>
2091
2092 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2093 (rst-indent-literal-normal, rst-indent-literal-minimized)
2094 (rst-indent-comment): Correct :version tag.
2095 (rst-official-cvs-rev): Correct version string.
2096
2097 2012-10-07 Glenn Morris <rgm@gnu.org>
2098
2099 * mail/rmailmm.el (rmail-mime-process-multipart):
2100 Do not confuse a multipart message with an epilogue
2101 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2102
2103 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2104
2105 Fix shell output retrieval and comint-prompt-regexp init.
2106 * progmodes/python.el (inferior-python-mode):
2107 (python-shell-make-comint): Fix initialization of
2108 comint-prompt-regexp from copied file local variables.
2109 (python-shell-fetched-lines): Remove var.
2110 (python-shell-output-filter-in-progress): Rename from
2111 python-shell-fetch-lines-in-progress.
2112 (python-shell-output-filter-buffer): Rename from
2113 python-shell-fetch-lines-string.
2114 (python-shell-fetch-lines-filter): Delete function.
2115 (python-shell-output-filter): New function.
2116 (python-shell-send-string-no-output): Use them.
2117
2118 2012-10-07 Glenn Morris <rgm@gnu.org>
2119
2120 * hi-lock.el (hi-lock-process-phrase):
2121 Try to make it less fragile. (Bug#7161)
2122
2123 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2124
2125 2012-10-06 Glenn Morris <rgm@gnu.org>
2126
2127 * ehelp.el (electric-help-mode): Use help-mode rather than
2128 non-existent mode `help'.
2129 (electric-help-map): Use button-buffer-map. (Bug#10917)
2130
2131 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2132 (reftex-create-bibtex-footer): Fix custom types.
2133
2134 * progmodes/sh-script.el (sh-indent-after-continuation):
2135 Add explicit :group.
2136
2137 * textmodes/rst.el (rst-preferred-decorations)
2138 (rst-shift-basic-offset): Clarify obsolescence versions.
2139
2140 * profiler.el (profiler): Add missing group :version tag.
2141 * avoid.el (mouse-avoidance-banish-position):
2142 * proced.el (proced-renice-command):
2143 * calc/calc.el (calc-ensure-consistent-units):
2144 * calendar/icalendar.el (icalendar-import-format-uid):
2145 * net/tramp.el (tramp-save-ad-hoc-proxies):
2146 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2147 * progmodes/flymake.el (flymake-error-bitmap)
2148 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2149 * progmodes/sh-script.el (sh-indent-after-continuation):
2150 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2151 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2152 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2153 (vhdl-array-index-record-field-in-sensitivity-list)
2154 (vhdl-indent-comment-like-next-code-line):
2155 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2156 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2157 (reftex-cite-key-separator, reftex-create-bibtex-header)
2158 (reftex-create-bibtex-footer):
2159 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2160 (rst-indent-literal-normal, rst-indent-literal-minimized)
2161 (rst-indent-comment): Add missing custom :version tags.
2162
2163 * calendar/timeclock.el (timeclock-modeline-display):
2164 Add missing obsolete alias for renamed user option.
2165
2166 * strokes.el (strokes-modeline-string):
2167 * emulation/crisp.el (crisp-mode-modeline-string):
2168 * eshell/esh-mode.el (eshell-status-in-modeline):
2169 Aliases to defcustoms must come before the defcustom.
2170
2171 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2172 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2173 (cal-tex-cursor-week-monday): Doc fixes.
2174 (cal-tex-cursor-week2-summary): Doc fix.
2175 Rename from cal-tex-cursor-week-at-a-glance.
2176
2177 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2178 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2179
2180 * calendar/calendar.el (calendar-mode-map):
2181 Add cal-tex-cursor-week2-summary.
2182
2183 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2186
2187 * subr.el (read-passwd-map): New var.
2188 (read-passwd): Use `read-string' again.
2189 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2190
2191 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2192
2193 * register.el (append-to-register, prepend-to-register):
2194 Deactivate mark, as does `copy-to-register' (bug#12389).
2195
2196 2012-10-06 Chong Yidong <cyd@gnu.org>
2197
2198 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2199
2200 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2201
2202 * international/characters.el: Fix simple mistake ((car chars) ->
2203 elt), delete duplicated code.
2204
2205 2012-10-06 Glenn Morris <rgm@gnu.org>
2206
2207 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2208
2209 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2210
2211 * color.el (color-hsl-to-rgb): Fix incorrect results for
2212 small and large hue values. (Bug#12559)
2213
2214 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2215
2216 Enhancements to docstring formatting when filling paragraphs.
2217 * progmodes/python.el (python-fill-docstring-style): Rename from
2218 python-fill-string-style. Added new style.
2219 (python-fill-string): Use new style. Better checks for
2220 docstrings.
2221
2222 2012-10-05 Glenn Morris <rgm@gnu.org>
2223
2224 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2225
2226 * color.el (color-name-to-rgb, color-rgb-to-hex)
2227 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2228 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2229 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2230 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2231
2232 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2233
2234 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2235
2236 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2237 to get the correct size across symlinks.
2238
2239 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2240
2241 2012-10-04 Juri Linkov <juri@jurta.org>
2242
2243 * replace.el (query-replace-interactive): Declare obsolete.
2244 (query-replace-read-from): Add the last incremental search string
2245 to the list of default values accessible via M-n.
2246 (map-query-replace-regexp): Use `read-regexp'.
2247 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2248 (map-query-replace-regexp, replace-string, replace-regexp):
2249 Fix docstrings to replace mentions of `query-replace-interactive'
2250 with alternatives. (Bug#12526)
2251
2252 2012-10-04 Juri Linkov <juri@jurta.org>
2253
2254 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2255 (dired-pop-to-buffer): Declare obsolete.
2256 (dired-mark-pop-up): Doc fix.
2257
2258 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2259
2260 Allow user to set docstring style for fill-paragraph.
2261 * progmodes/python.el
2262 (python-fill-comment-function, python-fill-string-function)
2263 (python-fill-decorator-function, python-fill-paren-function):
2264 Remove :safe for defcustoms.
2265 (python-fill-string-style): New defcustom
2266 (python-fill-paragraph-function): Enhance context detection.
2267 (python-fill-string): Honor python-fill-string-style settings.
2268
2269 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2270
2271 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2272 after setting its buffer (Bug#10805).
2273
2274 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2275
2276 Fix cornercase for string syntax.
2277 * progmodes/python.el (python-syntax-propertize-function):
2278 Simplify and enhance the regexp for unescaped quotes. Now it also
2279 matches quotes in weird situations like the single quote in
2280 "something\"'".
2281 (python-syntax-stringify): Simplify num-quotes detecting code.
2282
2283 2012-10-03 Glenn Morris <rgm@gnu.org>
2284
2285 * help-macro.el (three-step-help):
2286 Revert 2012-09-29 change. (Bug#12567)
2287
2288 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2289
2290 * menu-bar.el (kill-this-buffer): Don't do anything when
2291 `menu-frame' is not alive or visible (Bug#8184).
2292
2293 * emacs-lisp/debug.el (debug): When quitting the debugger window
2294 restore current buffer (Bug#12502).
2295
2296 2012-10-02 Chong Yidong <cyd@gnu.org>
2297
2298 * progmodes/hideif.el (hif-lookup, hif-defined):
2299 Handle semantic-c-takeover-hideif.
2300
2301 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2302
2303 Change sampling interval units from ms to ns.
2304 * profiler.el (profiler-sampling-interval): Change units
2305 from ms to ns, multiplying the default by 1000000 so that
2306 it remains 1 ms.
2307 (profiler-report-cpu-line-format): Give enough room for
2308 the maximum counters on 64-bit hosts.
2309 (profiler-report-render-calltree-1): Call them "CPU samples",
2310 not "Time (ms)", since they are not milliseconds now (and
2311 never really were).
2312
2313 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2314
2315 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2316 Fix querying BBDB for entries without a last name (Bug#11580).
2317
2318 2012-10-02 Chong Yidong <cyd@gnu.org>
2319
2320 * emacs-lisp/eieio.el: Restore Version header.
2321
2322 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * vc/diff-mode.el (diff--auto-refine-data): New var.
2325 (diff-hunk): Use it to delay refinement.
2326 (diff-mode): Remove overlays when we turn off font-lock.
2327
2328 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2329 (table-initialize-table-fixed-width-mode)
2330 (table-set-table-fixed-width-mode): Remove functions.
2331 (table-command-list): Move initialization into declaration.
2332 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2333 (table-with-cache-buffer): Use `declare'.
2334 (table-span-cell): Simplify via CSE.
2335 (table-fixed-width-mode): Use define-minor-mode.
2336 (table-call-interactively, table-funcall, table-apply): Remove.
2337 (table-function): New function, to replace them.
2338
2339 * bookmark.el (bookmark-search-pattern): Remove var.
2340 (bookmark-read-search-input): Remove function.
2341 (bookmark-bmenu-search): Reimplement using a minibuffer.
2342
2343 * faces.el (modeline): Remove obsolete face name.
2344
2345 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2346 and give a non-nil default value.
2347 (add-change-log-entry): Simplify accordingly.
2348
2349 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2352 (vc-git-log-edit-toggle-amend): New function.
2353 (vc-git-log-edit-toggle-signoff): New function.
2354 (vc-git-log-edit-mode): New major mode.
2355 (vc-git-log-edit-mode-map): Keymap for it.
2356 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2357
2358 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2359 header names.
2360 (log-edit-toggle-header): New function.
2361 (log-edit-extract-headers): Accept function values in HEADERS alist.
2362
2363 2012-10-01 David Engster <deng@randomsample.de>
2364
2365 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2366 from symbol property and change message to be more consistent with
2367 Emacs proper.
2368 (eieio-describe-generic): Add filename for each implementation.
2369 Fix indices for generic and normal methods.
2370 (eieio-method-def, eieio-class-def): New buttons.
2371 (eieio-help-find-method-definition)
2372 (eieio-help-find-class-definition): New functions.
2373 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2374 class, constructor and method definitions.
2375
2376 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2377 information in symbol property.
2378 (scoped-class): Remove.
2379 (eieio-slot-name-index, call-next-method): Check if it is bound.
2380
2381 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2382
2383 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2384 (eieio-custom-mode): New major mode.
2385 (eieio-customize-object): Use it.
2386
2387 2012-10-01 Eric Ludlam <zappo@gnu.org>
2388
2389 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2390 specifying the expected class, and whether subclassing is allowed.
2391 (eieio-persistent-convert-list-to-object):
2392 (eieio-persistent-validate/fix-slot-value)
2393 (eieio-persistent-slot-type-is-class-p): New functions.
2394 (eieio-named::slot-missing): Doc fix.
2395
2396 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2397 Stop using unused publd variable.
2398
2399 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2400 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2401 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2402 (eieio-speedbar-handle-click): Do not specify a class for the
2403 method. Fixes method invocation order problems with EDE.
2404
2405 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2408 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2409
2410 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2411
2412 * bookmark.el (bookmark-version-control): Give tags in the
2413 :type choices (Bug#12309), and improve doc string.
2414 (bookmark-write-file): Bind `print-circle' to `t' to allow
2415 circular custom bookmark types. (Bug#12503)
2416
2417 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2418
2419 Revert the FOLLOW-SYMLINKS change for file-attributes.
2420 * files.el (remote-file-name-inhibit-cache, after-find-file):
2421 * time.el (display-time-file-nonempty-p): Undo last change.
2422
2423 * profiler.el (profiler-sampling-interval): Change default back to 1.
2424 See Stefan Monnier in
2425 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2426
2427 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2428
2429 Shell output catching a la gud-gdb.
2430 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2431 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2432 New Vars.
2433 (python-shell-fetch-lines-filter): New function.
2434 (python-shell-send-string-no-output): Use them.
2435
2436 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2437
2438 * profiler.el (profiler-sampling-interval): Rename from
2439 profiler-sample-interval.
2440 (profiler-sampling-interval): Default to 10.
2441 (profiler-find-profile): New command (was profiler-find-log).
2442 (profiler-find-profile-other-window): New command.
2443 (profiler-find-profile-other-frame): New command.
2444 (profiler-profile): Introduce API-level data structure.
2445
2446 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2447
2448 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2449 * files.el (remote-file-name-inhibit-cache):
2450 * time.el (display-time-file-nonempty-p): Use it.
2451 * files.el (after-find-file): Don't chase links before calling
2452 file-exists-p, as file-exists-p already does the right thing.
2453
2454 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2455
2456 Merge from standalone RefTeX repository.
2457
2458 The following ChangeLog entries are shortened versions of the
2459 original ones with file paths adapted. A not so strongly edited
2460 version of the original ChangeLog can be found in the commit log.
2461
2462 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2463 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2464 Correctly handle new value type returned by `reftex-citation'.
2465
2466 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2467 that entries with whitespace at various places are found.
2468 Doc fix. Include entries that are cross-referenced from cited entries.
2469 Include @String definitions in the resulting bib file. Add header
2470 and footer defined in `reftex-create-bibtex-header' and
2471 `reftex-create-bibtex-footer'.
2472 (reftex-do-citation): Make it possible again to insert
2473 non-existent entries. Save match data when asking for optional
2474 arguments. Return all keys, not just the first one.
2475 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2476 all citations in the same line.
2477 (reftex-parse-bibtex-entry): Accept additional optional argument
2478 `raw' and keep quotes or braces if it is non-nil. Match fields
2479 containing hyphens besides word constituents.
2480 (reftex-get-string-refs): New function.
2481 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2482 and ask if it should be reread in case it did.
2483 (reftex-pop-to-bibtex-entry)
2484 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2485 entries with spaces or tabs in front of arguments.
2486 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2487 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2488 Match entries containing numbers and symbol constituents.
2489 (reftex-do-citation, reftex-figure-out-cite-format):
2490 Use `reftex-cite-key-separator'.
2491
2492 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2493 (reftex-mouse-view-crossref): Explain why point is set.
2494
2495 * textmodes/reftex-global.el: Whitespace changes.
2496
2497 * textmodes/reftex-index.el: Move provide statement to end of
2498 file.
2499 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2500 (reftex-index-visit-phrases-buffer): Set marker when visiting
2501 buffer. This allows for returning from the phrases file to the
2502 file one was just editing instead of the file where the last
2503 phrases was added from.
2504 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2505 punctuation syntax as it usually is not used as string quote in
2506 TeX-related modes and may occur unmatched. The change also
2507 prevents fontification of quoted content.
2508 (reftex-index-phrases-mode): Use it.
2509
2510 * textmodes/reftex-parse.el (reftex-parse-from-file):
2511 Move backward one char if a `\' was matched after a section macro.
2512 (reftex-parse-from-file): Use beginning of match instead of end as
2513 bound.
2514
2515 * textmodes/reftex-ref.el: Adapt creation of
2516 `reftex-<package>-<macro>' functions to new structure of
2517 `reftex-ref-style-alist'.
2518 (reftex-reference): Use `reftex-ref-style-list' function.
2519 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2520 reference macro if `reftex-ref-macro-prompt' is non-nil.
2521 (reftex-reference): Pass refstyle to `reftex-format-special'.
2522 Determine reference macro by looking at
2523 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2524 Use only one special format function.
2525 (reftex-varioref-vref, reftex-fancyref-fref)
2526 (reftex-fancyref-Fref): Remove definitions. The functions are now
2527 generated from `reftex-ref-style-alist'.
2528 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2529 Remove.
2530 (reftex-format-special): New function.
2531
2532 * textmodes/reftex-sel.el
2533 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2534 of `reftex-ref-style-alist'. Remove code for testing macro type.
2535 (reftex-select-toggle-varioref)
2536 (reftex-select-toggle-fancyref): Remove.
2537 (reftex-select-cycle-ref-style-internal)
2538 (reftex-select-cycle-ref-style-forward)
2539 (reftex-select-cycle-ref-style-backward): New functions.
2540 (reftex-select-label-map): Use `v' and `V' for general cycling
2541 through reference styles. Add `p' for switching between number
2542 and page reference types.
2543
2544 * textmodes/reftex-toc.el (reftex-re-enlarge):
2545 Call `enlarge-window' only if there is something to do because in Emacs
2546 the horizontal version throws an error even if the parameter is 0.
2547
2548 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2549 (reftex-plug-into-AUCTeX): Doc fix.
2550 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2551 string. Adapt to new name.
2552 (reftex-ref-style-alist): Change structure so that it is not
2553 possible to use multiple different package names within a style.
2554 Remove the symbols for symbols for macro type distinction.
2555 Add characters for macro selection.
2556 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2557 (reftex-create-bibtex-footer): New variables.
2558 (reftex-format-ref-function): Mention third argument of special
2559 format function.
2560 (reftex-ref-style-alist, reftex-ref-style-default-list):
2561 New variables.
2562 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2563 to new implementation. Mark as obsolete. Add compatibility code
2564 for honoring the variable values in case they are set.
2565 (reftex-cite-format-builtin, reftex-bibliography-commands):
2566 Add support for ConTeXt.
2567 (reftex-format-ref-function, reftex-format-cite-function):
2568 Fix custom type.
2569 (reftex-cite-key-separator): New variable.
2570
2571 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2572 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2573 `reftex-syntax-table' because parens have to retain their paren
2574 syntax in order for parsing of BibTeX entries like @book(...) to
2575 work.
2576 (reftex-in-comment): Do not error out if `comment-start-skip' is
2577 not set. Deal correctly with escaped comment characters.
2578 (reftex-tie-multifile-symbols): Add doc string.
2579 Initialize `reftex-ref-style-list'.
2580 (reftex-untie-multifile-symbols): Add doc string.
2581 (reftex-add-index-macros): Doc fix.
2582 (reftex-ref-style-activate, reftex-ref-style-toggle)
2583 (reftex-ref-style-list): New functions.
2584 (reftex-mode-menu): Use them. Adapt to new structure of
2585 `reftex-ref-style-alist'.
2586 (reftex-select-with-char): Kill the RefTeX Select buffer when
2587 done.
2588 (reftex-remove-if): New function.
2589 (reftex-erase-all-selection-and-index-buffers)
2590 (reftex-mode-menu): Reference styles are now computed from
2591 `reftex-ref-style-alist'. Fix typo.
2592 (reftex-report-bug): New function.
2593 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2594 algorithms with O(n log n). Introduce optional argument SORT (not
2595 yet used).
2596
2597 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2598
2599 Enhancements for triple-quote string syntax.
2600 * progmodes/python.el (python-syntax-propertize-function):
2601 Match both quote cases in one regexp.
2602 (python-syntax-stringify): Handle matches properly.
2603
2604 2012-09-30 Juri Linkov <juri@jurta.org>
2605
2606 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2607 to nil around the call to `insert' to prevent
2608 directory time modification by lock_file. (Bug#2295)
2609 * tar-mode.el (tar-summarize-buffer): Idem.
2610
2611 2012-09-30 Juri Linkov <juri@jurta.org>
2612
2613 * facemenu.el (list-colors-sort): Add option "Luminance".
2614 (list-colors-sort-key): Implement it.
2615
2616 * vc/diff-mode.el (diff-refine-removed):
2617 * vc/ediff-init.el (ediff-fine-diff-A):
2618 * vc/smerge-mode.el (smerge-refined-removed):
2619 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2620
2621 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2622
2623 * term/ns-win.el (x-file-dialog): New function.
2624
2625 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2626
2627 * ido.el (ido-max-directory-size): Default to nil; the current
2628 default is small for POSIX systems, and impractical on Windows 7
2629 now that lstat returns directory sizes for NTFS.
2630
2631 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2632
2633 In buffer display functions handle window-height/window-width
2634 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2635 * window.el (window--display-buffer): New argument ALIST.
2636 Obey window-height and window-width alist entries.
2637 (window--try-to-split-window): New argument ALIST.
2638 Bind window-combination-limit to t when the window's size shall be
2639 changed and window-combination-limit equals `window-size'.
2640 (display-buffer-in-atom-window)
2641 (display-buffer-in-major-side-window)
2642 (display-buffer-in-side-window, display-buffer-same-window)
2643 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2644 (display-buffer-pop-up-window, display-buffer-below-selected)
2645 (display-buffer-at-bottom, display-buffer-in-previous-window)
2646 (display-buffer-use-some-window): Adjust all callers of
2647 window--display-buffer and window--try-to-split-window.
2648 (fit-frame-to-buffer): New option.
2649 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2650 is non-nil.
2651 (display-buffer-in-major-side-window): Evaluate window-height /
2652 window-width alist entries.
2653
2654 * help.el (temp-buffer-resize-frames)
2655 (temp-buffer-resize-regexps): Remove options.
2656 (temp-buffer-resize-mode): Adjust doc-string.
2657 (resize-temp-buffer-window): Don't consult
2658 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2659 temp-buffer-resize-frames.
2660
2661 * dired.el (dired-mark-pop-up):
2662 Call display-buffer-below-selected with a fit-window-to-buffer alist
2663 entry.
2664
2665 2012-09-30 Chong Yidong <cyd@gnu.org>
2666
2667 * server.el (server-host): Document the security implications.
2668 (server-auth-key): Doc fix.
2669
2670 * startup.el (initial-buffer-choice): Doc fix.
2671
2672 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2673
2674 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2675 restriction change.
2676
2677 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2678
2679 * help-fns.el (help-fns--obsolete): Fix last change.
2680
2681 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2684 (minor-mode-map-alist): Remove redundant code.
2685
2686 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2687 visited in a buffer.
2688 (cvs-insert-visited-file): New function.
2689 (find-file-hook): Use it.
2690
2691 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2692
2693 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2694 chose face.
2695 (log-edit-empty-buffer-p): Don't require a space after a header.
2696
2697 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2698
2699 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2700
2701 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2702 a proper minor-mode.
2703
2704 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2705
2706 2012-09-29 Glenn Morris <rgm@gnu.org>
2707
2708 * winner.el (winner-mode): Remove variable (let define-minor-mode
2709 handle it).
2710 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2711 Doc fixes.
2712 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2713 (winner-mode): Use define-minor-mode.
2714
2715 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2716 the full definition in loaddefs, rather than duplicating it.
2717
2718 * help-macro.el (three-step-help): No need to autoload defcustom.
2719
2720 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2721 (inferior-lisp-program, inferior-lisp-load-command)
2722 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2723 No need to autoload defcustoms.
2724
2725 * hippie-exp.el (hippie-expand-try-functions-list)
2726 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2727 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2728 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2729 (hippie-expand-only-buffers): No need to autoload defcustoms.
2730 * progmodes/vhdl-mode.el (vhdl-line-expand):
2731 Explicitly load hippie-exp, so it does not get autoloaded
2732 while hippie-expand-try-functions-list is let-bound.
2733
2734 2012-09-28 Glenn Morris <rgm@gnu.org>
2735
2736 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2737
2738 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2739 Only "cl.el" counts as cl these days.
2740
2741 2012-09-28 Juri Linkov <juri@jurta.org>
2742
2743 Display archive errors in the echo area instead of inserting
2744 to the file buffer.
2745
2746 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2747 to STDERR-TEST that can be a regexp matching a successful output.
2748 Create a temporary file and redirect stderr to it. Search for
2749 STDERR-TEST in the stderr output and display it in the echo area
2750 if no match is found.
2751 (archive-extract-by-file): New function like
2752 `archive-extract-by-stdout' but extracting archives to files
2753 and looking for successful matches in stdout. Function body is
2754 mostly copied from `archive-rar-extract'.
2755 (archive-rar-extract): Use `archive-extract-by-file'.
2756 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2757
2758 2012-09-28 Leo Liu <sdl.web@gmail.com>
2759
2760 * pcomplete.el (pcomplete-show-completions):
2761 Use minibuffer-message to make pcomplete usable in minibuffer.
2762
2763 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2764
2765 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * type-break.el: Use lexical-binding.
2768 (type-break-mode): Use define-minor-mode.
2769
2770 * emacs-lisp/pcase.el (pcase--mark-used): New.
2771 (pcase--u1): Use it (bug#12512).
2772
2773 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2774 in load-history with the right file name.
2775
2776 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2777
2778 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2779 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2780 (doc-view-get-bounding-box): Make bounding box slicing work for
2781 ODF and DVI documents.
2782
2783 2012-09-28 Glenn Morris <rgm@gnu.org>
2784
2785 * type-break.el (type-break-mode, type-break-interval)
2786 (type-break-good-rest-interval, type-break-keystroke-threshold):
2787 No need to autoload.
2788 (type-break-good-rest-interval, type-break-keystroke-threshold):
2789 Add :set-after.
2790
2791 2012-09-28 Chong Yidong <cyd@gnu.org>
2792
2793 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2794 Add :version tag.
2795
2796 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2799
2800 2012-09-27 Glenn Morris <rgm@gnu.org>
2801
2802 * faces.el (x-display-name): Declare (for without-x builds).
2803
2804 * linum.el (linum-format): Don't autoload it. Improve :type.
2805
2806 * progmodes/tcl.el: Don't require outline when compiling.
2807 (outline-regexp, outline-level): Declare.
2808 * textmodes/sgml-mode.el: Don't require outline when compiling.
2809 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2810
2811 * term.el (term-ansi-reset):
2812 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2813
2814 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2815 files for RCS and SCCS. (Bug#9781)
2816
2817 2012-09-27 Chong Yidong <cyd@gnu.org>
2818
2819 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2820 change; value should be t.
2821
2822 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * image-mode.el: Use lexical-binding.
2825 (image-mode-winprops): Use t to stand for the window of
2826 a buffer that's not displayed.
2827 * doc-view.el (doc-view-new-window-function): Handle the new
2828 t in winprops.
2829 (doc-view-enlarge): Make it a real nop if the size is not changed.
2830 (doc-view-display): Handle the case where the buffer is not (yet?)
2831 displayed in any window.
2832 (doc-view-saved-settings): New var.
2833 (doc-view-mode): Use it.
2834 (doc-view-fallback-mode): Set it.
2835
2836 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2837 Set lexical-binding.
2838 (minibuffer-eldef-shorten-default): New var.
2839 (minibuffer-default-in-prompt-regexps): Use it for new default.
2840 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2841
2842 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2843
2844 * international/uni-bidi.el:
2845 * international/uni-category.el:
2846 * international/uni-name.el:
2847 * international/uni-numeric.el: Regenerate.
2848
2849 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2850 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * profiler.el: New file.
2853
2854 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2857 (testcover-reinstrument): Simplify with CSE.
2858
2859 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2860
2861 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2862
2863 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2864
2865 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2866 (verilog-auto-input, verilog-auto-insert-lisp)
2867 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2868 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2869 (verilog-auto-unused, verilog-auto-wire)
2870 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2871 newline. Reported by Andrew Jones.
2872 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2873 Reported by Brad Dobbie.
2874 (verilog-batch-delete-trailing-whitespace):
2875 Create verilog-batch-delete-trailing-whitespace.
2876 Reported by Brad Dobbie.
2877 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2878 parameters from another module. Reported by Dan Katz.
2879 (verilog-auto, verilog-auto-assign-modport)
2880 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2881 AUTOINOUTMODPORT for UVM interface module shell generation.
2882 Reported by Brad Dobbie.
2883 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2884 standard behavior.
2885 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2886 Reported by Matt Martin.
2887
2888 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2889
2890 * window.el (window--resize-child-windows): When resizing child
2891 windows proportionally, process them in reverse order to
2892 preserve the "when splitting a window the new one gets the odd
2893 line" behavior.
2894 (window--resize-root-window-vertically): When resizing the
2895 minibuffer window try to affect only windows at the bottom of the
2896 frame. (Bug#12419)
2897
2898 2012-09-25 Chong Yidong <cyd@gnu.org>
2899
2900 * subr.el (declare): Doc fix.
2901
2902 * help-fns.el (help-fns--obsolete): Handle macros properly.
2903
2904 2012-09-25 Chong Yidong <cyd@gnu.org>
2905
2906 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2907 this function obsolete.
2908
2909 * calendar/cal-x.el (calendar-two-frame-setup)
2910 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2911 * calendar/calendar.el (american-calendar, european-calendar)
2912 (calendar-for-loop):
2913 * comint.el (comint-dynamic-simple-complete)
2914 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2915 * desktop.el (desktop-load-default):
2916 * dired-x.el (dired-omit-here-always)
2917 (dired-hack-local-variables, dired-default-directory):
2918 * emacs-lisp/derived.el (derived-mode-class):
2919 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2920 * emacs-lock.el (toggle-emacs-lock):
2921 * epa.el (epa-display-verify-result):
2922 * epg.el (epg-sign-keys, epg-start-sign-keys)
2923 (epg-passphrase-callback-function):
2924 * eshell/esh-util.el (eshell-for):
2925 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2926 (eshell-add-to-window-buffer-names):
2927 * files.el (locate-file-completion):
2928 * imenu.el (imenu-example--create-c-index)
2929 (imenu-example--create-lisp-index)
2930 (imenu-example--lisp-extract-index-name)
2931 (imenu-example--name-and-position):
2932 * international/mule-cmds.el (princ-list):
2933 * international/mule-diag.el (decode-codepage-char):
2934 * international/mule-util.el (detect-coding-with-priority):
2935 * iswitchb.el (iswitchb-read-buffer):
2936 * mail/mailalias.el (mail-complete):
2937 * mail/sendmail.el (mail-sent-via):
2938 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2939 (mouse-major-mode-menu):
2940 * password-cache.el (password-read-and-add):
2941 * pcomplete.el (pcomplete-parse-comint-arguments):
2942 * progmodes/sh-script.el (sh-maybe-here-document):
2943 * replace.el (query-replace-regexp-eval):
2944 * savehist.el (savehist-load):
2945 * simple.el (choose-completion-delete-max-match):
2946 * term.el (term-dynamic-simple-complete):
2947 * vc/ediff-init.el (ediff-check-version):
2948 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2949 * vc/vc.el (vc-diff-switches-list):
2950 * view.el (view-return-to-alist-update): Likewise.
2951
2952 * subr.el (eval-next-after-load, makehash, insert-string)
2953 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2954 mark obsolete.
2955 (mode-line-inverse-video): Variable deleted.
2956
2957 * international/mule-util.el (string-to-sequence): Remove.
2958
2959 * calendar/calendar.el (calendar-version):
2960 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2961 (icalendar-convert-diary-to-ical):
2962 * cus-edit.el (custom-mode):
2963 * ansi-color.el (ansi-color-unfontify-region):
2964 * international/latin1-disp.el (latin1-char-displayable-p):
2965 * progmodes/cwarn.el (turn-on-cwarn-mode):
2966 * progmodes/which-func.el (which-func-update-1):
2967 Use define-obsolete-function-alias.
2968
2969 * net/newst-backend.el (newsticker-cache-filename):
2970 * net/newst-treeview.el (newsticker-groups-filename):
2971 Fix incorrect obsolescence declaration.
2972
2973 * allout.el (allout-passphrase-hint-string): Likewise.
2974 (allout-init): Use a declare form to mark obsolete.
2975
2976 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2977 this applies to functions.
2978
2979 * iswitchb.el (iswitchb-read-buffer): Move code of
2980 iswitchb-define-mode-map here, and delete that obsolete function.
2981
2982 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2983 font-lock-reference-face.
2984
2985 2012-09-25 Glenn Morris <rgm@gnu.org>
2986
2987 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2988 Doc fixes.
2989
2990 * eshell/em-term.el (eshell-term-name):
2991 Default to term-term-name. (Bug#12485)
2992
2993 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2994
2995 * progmodes/python.el (python-shell-send-buffer): Better handling
2996 of "if __name__ == '__main__':" conditionals when sending the buffer.
2997
2998 2012-09-24 Glenn Morris <rgm@gnu.org>
2999
3000 * eshell/esh-cmd.el (eshell-find-alias-function):
3001 Tighten up file-name regexp. (Bug#12499)
3002
3003 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3004
3005 Enhancements for triple-quote string syntax.
3006 * progmodes/python.el (python-quote-syntax): Remove.
3007 (python-syntax-propertize-function): New value.
3008 (python-syntax-count-quotes, python-syntax-stringify):
3009 New functions.
3010
3011 2012-09-24 Chong Yidong <cyd@gnu.org>
3012
3013 * mail/supercite.el (sc-version): Remove obsolete function.
3014 (sc-describe): Don't mark as obsolete, since it is bound.
3015 (sc-submit-bug-report): Remove.
3016
3017 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3018 (cvs-commit-buffer-require-final-newline): Remove.
3019 (log-edit-require-final-newline)
3020 (log-edit-changelog-full-paragraphs): Default to t.
3021
3022 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3023 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3024 * vc/vc.el (vc-checkout-carefully): Likewise.
3025
3026 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3027 (emerge-version): Remove.
3028
3029 * progmodes/compile.el (compile-internal): Remove.
3030 (compilation-parse-errors-function): Fix typo.
3031
3032 * international/mule.el (set-char-table-default): Remove.
3033 (set-coding-priority, make-coding-system, generic-char-p)
3034 (charset-list, charset-bytes, charset-id): Use declare to mark
3035 functions as obsolete.
3036
3037 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3038 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3039 * vc/vc-hooks.el (vc-default-registered): Don't use
3040 vc-master-templates.
3041
3042 * font-lock.el (font-lock-reference-face):
3043 Use define-obsolete-variable-alias.
3044
3045 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3046 * calendar/calendar.el (calendar-font-lock-keywords):
3047 * calendar/diary-lib.el (diary-font-lock-keywords)
3048 (diary-fancy-font-lock-keywords):
3049 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3050 * textmodes/reftex-index.el (reftex-insert-index):
3051 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3052 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3053 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3054 * progmodes/prolog.el (prolog-font-lock-keywords):
3055 * progmodes/idlwave.el (idlwave-idl-keywords):
3056 * progmodes/ada-mode.el (ada-font-lock-keywords):
3057 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3058
3059 2012-09-24 Glenn Morris <rgm@gnu.org>
3060
3061 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3062
3063 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3064
3065 * progmodes/python.el (python-indent-line): More consistent cursor
3066 movement behavior.
3067
3068 2012-09-23 Stefan Merten <smerten@oekonux.de>
3069
3070 * textmodes/rst.el: Fix compiler warning.
3071
3072 2012-09-23 Roland Winkler <winkler@gnu.org>
3073
3074 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3075 Transcribe also LaTeX hyphenation.
3076 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3077 bibtex-reformat-previous-options.
3078
3079 2012-09-23 Roland Winkler <winkler@gnu.org>
3080
3081 * proced.el (proced-renice-command): New variable.
3082 (proced-marked-processes): New function.
3083 (proced-with-processes-buffer): New macro.
3084 (proced-send-signal): Use them.
3085 (proced-renice): New command bound to r.
3086
3087 2012-09-23 Roland Winkler <winkler@gnu.org>
3088
3089 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3090 ibuffer-saved-filter-groups has one element, shortcut the call of
3091 completing-read. (Bug#12331)
3092
3093 2012-09-23 Chong Yidong <cyd@gnu.org>
3094
3095 * bindings.el (mode-line-toggle-read-only):
3096 * bs.el (bs-toggle-readonly):
3097 * buff-menu.el (Buffer-menu-toggle-read-only):
3098 * dired.el (dired-toggle-read-only):
3099 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3100
3101 2012-09-23 Chong Yidong <cyd@gnu.org>
3102
3103 * image.el (image-type-available-p): Adapt to init-image-library
3104 argument changes.
3105
3106 2012-09-22 Juri Linkov <juri@jurta.org>
3107
3108 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3109 `dired-toggle-read-only'. (Bug#12462)
3110
3111 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3112
3113 * subr.el (temp-output-buffer-show): New function.
3114 (with-output-to-temp-buffer): Call temp-output-buffer-show
3115 instead of internal-temp-output-buffer-show.
3116
3117 2012-09-22 Chong Yidong <cyd@gnu.org>
3118
3119 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3120 (Bug#12462).
3121
3122 * repeat.el (repeat): Doc fix (Bug#12348).
3123
3124 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3125 (Bug#10909).
3126
3127 * simple.el (shell-command-on-region): Doc fix.
3128 (read-only-mode): Doc fix.
3129
3130 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3131
3132 * emacs-lisp/timer.el (run-with-idle-timer)
3133 (timer-activate-when-idle): Warn against reinvoking an idle timer
3134 from within its own timer action. (Bug#12447)
3135
3136 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3137
3138 * cus-start.el (window-combination-limit): Add new optional
3139 values.
3140 * window.el (temp-buffer-window-show)
3141 (window--try-to-split-window): Handle new values of
3142 window-combination-limit (Bug#1806).
3143 (split-window): Test window-combination-limit for t instead of
3144 non-nil.
3145 (display-buffer-at-bottom): New buffer display action function.
3146 * help.el (temp-buffer-resize-regexps): New option.
3147 (temp-buffer-resize-mode): Rewrite doc-string.
3148 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3149 Don't resize reused window. Suggested by Glenn Morris.
3150
3151 2012-09-22 Stefan Merten <smerten@oekonux.de>
3152
3153 * textmodes/rst.el: Revamp section title faces.
3154 (rst-official-version)
3155 (rst-package-emacs-version-alist): Sync with official version
3156 V1.4.0.
3157 (rst-faces-defaults, rst-set-level-default)
3158 (rst-level-face-max, rst-level-face-base-color)
3159 (rst-level-face-base-light, rst-level-face-format-light)
3160 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3161 (rst-adornment-faces-alist): Match new setup.
3162 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3163 (rst-level-5, rst-level-6): New faces.
3164
3165 2012-09-22 Chong Yidong <cyd@gnu.org>
3166
3167 * simple.el (undo): Handle indirect buffers (Bug#8207).
3168
3169 2012-09-21 Leo Liu <sdl.web@gmail.com>
3170
3171 IDO: Disable match re-ordering for buffer switching.
3172 * ido.el (ido-buffer-disable-smart-matches): New variable.
3173 (ido-set-matches-1): Use it. (Bug#2042)
3174
3175 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3176
3177 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3178 Fix 2011-05-17 change. (Bug#12418)
3179
3180 2012-09-21 Leo Liu <sdl.web@gmail.com>
3181
3182 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3183
3184 2012-09-21 Glenn Morris <rgm@gnu.org>
3185
3186 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3187 Be more robust about locating simple.el.
3188
3189 2012-09-21 Glenn Morris <rgm@gnu.org>
3190
3191 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3192
3193 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3194
3195 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3196
3197 2012-09-20 Juri Linkov <juri@jurta.org>
3198
3199 * replace.el (query-replace-read-from): Use `read-regexp' instead
3200 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3201 (occur-read-primary-args): Use `read-regexp' instead of
3202 `read-string'.
3203 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3204 `read-from-minibuffer'.
3205 * isearch.el (isearch-occur): Use `read-regexp' instead of
3206 `read-string'.
3207 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3208 `read-from-minibuffer'.
3209 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3210 of `read-string'. (Bug#7567)
3211
3212 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3213 and allow accepting a list of strings prepended to a list of
3214 standard default values. Doc fix. (Bug#12321)
3215
3216 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3217
3218 * replace.el (read-regexp): Don't add ": " when PROMPT already
3219 ends with a colon and space. (Bug#12321)
3220
3221 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3222
3223 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3224 error.
3225
3226 2012-09-20 Stefan Merten <smerten@oekonux.de>
3227
3228 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3229 Fixes feature request bug#11711.
3230 (rst-mode): Create `imenu-create-index-function'.
3231 (rst-get-stripped-line): Delete after refactoring.
3232 (rst-section-tree, rst-section-tree-rec)
3233 (rst-section-tree-point): Refactor and document properly.
3234 (rst-imenu-find-adornments-for-position)
3235 (rst-imenu-convert-cell, rst-imenu-create-index):
3236 New function.
3237
3238 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3241 (macroexp--expand-all): Use it.
3242 (macroexp--funcall-and-return): Remove by folding it into its sole
3243 caller (macroexp--warn-and-return).
3244 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3245 Use macroexp--obsolete-warning.
3246
3247 * calc/calc.el: Fix last change by removing the whole chunk, since it
3248 was only needed back when Calc was not bundled.
3249
3250 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3251
3252 * emacs-lisp/debug.el (debug): Restore assignment to
3253 debugger-old-buffer removed on 2012-09-08.
3254
3255 2012-09-20 Juri Linkov <juri@jurta.org>
3256
3257 * dired-aux.el (dired-diff): Remove (require 'diff) since
3258 `diff-latest-backup-file' is now autoloaded.
3259
3260 2012-09-20 Chong Yidong <cyd@gnu.org>
3261
3262 * vc/diff.el (diff-latest-backup-file): Autoload.
3263
3264 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * calc/calc.el: Remove redundant autoload shape check.
3267 (sel-mode): Don't defvar.
3268 (calc-get-stack-element): Add `sel-mode' arg instead.
3269 (calc-top, calc-top-list): Pass it this additional argument.
3270 * calc/calc-store.el (calc-store-map):
3271 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3272 (calc-map-equation, calc-outer-product, calc-inner-product):
3273 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3274
3275 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3276
3277 2012-09-19 Juri Linkov <juri@jurta.org>
3278
3279 * dired-aux.el (dired-diff): Add (require 'diff) because
3280 `diff-latest-backup-file' is not autoloaded.
3281 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3282 of `dired-get-filename' to t to not report error when there is
3283 no default file on the current line.
3284
3285 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3288 macroexp--eval-if-compile.
3289 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3290 (macroexp--expand-all): Use them (bug#12371).
3291
3292 * doc-view.el (doc-view-guess-paper-size)
3293 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3294
3295 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3296
3297 New feature: set optimal slice from BoundingBox information.
3298 * doc-view.el (doc-view-mode-map): Add keybinding.
3299 (doc-view-menu): Add menu entry.
3300 (doc-view-set-slice): Adapt docstring.
3301 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3302 (doc-view-scale-bounding-box)
3303 (doc-view-set-slice-from-bounding-box): New functions.
3304 (doc-view-paper-sizes): New defvar.
3305
3306 2012-09-19 Glenn Morris <rgm@gnu.org>
3307
3308 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3309 (byte-compile-log-warning): Autoload. (Bug#12371)
3310
3311 * calendar/calendar.el (calendar-american-month-header)
3312 (calendar-european-month-header, calendar-iso-month-header)
3313 (calendar-month-header): New options.
3314 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3315 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3316
3317 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3318
3319 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3320
3321 2012-09-18 Juri Linkov <juri@jurta.org>
3322
3323 * dired-aux.el (dired-diff): Restore original functionality of
3324 getting the default value, but keep new feature of using the
3325 latest existing backup file (`diff-latest-backup-file').
3326
3327 2012-09-18 Juri Linkov <juri@jurta.org>
3328
3329 * dired.el (dired-mark): If the region is active in Transient Mark
3330 mode, mark all files in the active region. Doc fix.
3331 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3332 Doc fix. (Bug#10624)
3333
3334 2012-09-18 Juri Linkov <juri@jurta.org>
3335
3336 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3337 attributes for M-n are pulled from the file at point.
3338 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3339 Suggested by Drew Adams. (Bug#10624)
3340
3341 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3344 whitespace after "end".
3345 (ruby-do-end-to-brace): Collapse block to one line if it fits
3346 within fill-column.
3347
3348 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3349
3350 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3351 value.
3352 (debug): Don't remove debugger window when debugger is expected
3353 to be back.
3354
3355 2012-09-18 Chong Yidong <cyd@gnu.org>
3356
3357 * custom.el (defface): Doc fix.
3358
3359 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3360
3361 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3362
3363 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3364 to initialize query-on-exit; then test that instead (bug#12288).
3365
3366 2012-09-17 Stefan Merten <smerten@oekonux.de>
3367
3368 * textmodes/rst.el: Add support for `testcover'.
3369 (rst-defcustom-testcover, rst-testcover-add-compose)
3370 (rst-testcover-add-1value): New functions.
3371 (rst-portable-mark-active-p): Replace by `use-region-p'.
3372 (rst-update-section, rst-classify-adornment)
3373 (rst-find-title-line): Mark `1value' forms.
3374 (rst-classify-adornment): Remove superfluous form.
3375 (rst-update-section, rst-get-adornments-around)
3376 (rst-adornment-complete-p, rst-get-next-adornment)
3377 (rst-adjust, rst-promote-region)
3378 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3379 (rst-find-pfx-in-region, rst-section-tree-rec)
3380 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3381 (rst-toc-node, rst-toc, rst-forward-section)
3382 (rst-iterate-leftmost-paragraphs)
3383 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3384 (rst-bullet-list-region)
3385 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3386 (rst-compile-find-conf, rst-compile)
3387 (rst-repeat-last-character): Fix style.
3388
3389 2012-09-17 Chong Yidong <cyd@gnu.org>
3390
3391 * comint.el (comint--complete-file-name-data): Don't add a space
3392 if the status is `sole'; that adds a gratuitous space in the
3393 completion-cycling case (Bug#12092).
3394
3395 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3396
3397 2012-09-17 Richard Stallman <rms@gnu.org>
3398
3399 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3400 only in the mime-shown mode, not in raw mode.
3401 (rmail-mime): Toggle off mime by displaying the message without
3402 mime processing. (Bug#12305)
3403
3404 * mail/rmail.el (rmail-retry-failure):
3405 Turn off mime processing first. (Bug#12037)
3406
3407 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3408
3409 2012-09-17 Chong Yidong <cyd@gnu.org>
3410
3411 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3412 (shell-dynamic-complete-functions): Convert to defcustom.
3413 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3414
3415 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3416 * comint.el (comint-prompt-read-only):
3417 * custom.el (defcustom):
3418 * hi-lock.el (hi-lock-mode):
3419 * ibuffer.el (ibuffer-formats):
3420 * ielm.el (ielm-prompt-read-only):
3421 * novice.el (disable-command):
3422 * saveplace.el (toggle-save-place):
3423 * speedbar.el (speedbar-supported-extension-expressions):
3424 * startup.el (auto-save-list-file-prefix, init-file-user)
3425 (after-init-hook, inhibit-startup-echo-area-message):
3426 * strokes.el (strokes-help):
3427 * time-stamp.el (time-stamp):
3428 * calendar/calendar.el (calendar, diary-file):
3429 * calendar/diary-lib.el (diary-mail-entries, diary)
3430 (diary-list-entries-hook):
3431 * calendar/holidays.el (holidays, calendar-holidays):
3432 * calendar/lunar.el (lunar-phases):
3433 * calendar/solar.el (sunrise-sunset):
3434 * emulation/edt.el (edt-load-keys):
3435 * emulation/viper.el (viper-mode):
3436 * eshell/em-alias.el (eshell-command-aliases-list):
3437 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3438 * international/ogonek.el (ogonek-information):
3439 * net/tramp-cmds.el (tramp-bug):
3440 * net/quickurl.el (quickurl-reread-hook-postfix):
3441 * play/decipher.el (decipher-font-lock-keywords):
3442 * progmodes/cc-styles.el (c-set-style):
3443 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3444 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3445 * progmodes/octave-mod.el (octave-mode):
3446 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3447 * progmodes/verilog-mode.el (verilog-read-defines):
3448 * textmodes/two-column.el (2C-mode): Likewise.
3449
3450 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3451
3452 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3453 that holds many addresses.
3454
3455 2012-09-16 Chong Yidong <cyd@gnu.org>
3456
3457 * align.el (align-areas): Call the indication function with
3458 positions instead of markers for arguments (Bug#12343).
3459
3460 * files.el (parse-colon-path): Use split-string (Bug#12351).
3461
3462 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3463 (display-buffer-function): Mark as obsolete.
3464
3465 * progmodes/compile.el (compilation-parse-errors): Accept list
3466 values similar to font-lock-keywords (Bug#12136).
3467 Suggested by Oleksandr Manzyuk.
3468 (compilation-error-regexp-alist): Doc fix.
3469
3470 2012-09-15 Glenn Morris <rgm@gnu.org>
3471
3472 * version.el (emacs-bzr-version-bzr): New function.
3473 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3474
3475 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3476 checkouts, check the parent dirstate matches the branch.
3477 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3478 empty string.
3479
3480 * version.el (emacs-bzr-version): Doc fix.
3481 (emacs-bzr-version-dirstate): New function.
3482 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3483 is local try and check that it matches the branch. If not, just
3484 use dirstate information. (Bug#12441)
3485
3486 2012-09-14 Juri Linkov <juri@jurta.org>
3487
3488 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3489 (Bug#12399)
3490
3491 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3494
3495 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3496 Remove obsolete byte-compiler hack that tried to silence some warnings.
3497 (edebug-submit-bug-report): Remove.
3498 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3499 Remove aliases, use the un-prefixed name instead.
3500 (edebug-pop-to-buffer): Consider other frames.
3501 (edebug-original-read):: Make it more obvious that it's always defined.
3502 (edebug--make-form-data-entry, edebug--form-data-name)
3503 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3504 single-dashed name, and implement with cl-defstruct.
3505 (edebug-set-form-data-entry): Use the standard accessors.
3506 (edebug-make-top-form-data-entry): Use push.
3507 (edebug-no-match): Drop useless `funcall'.
3508 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3509 to functions.
3510 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3511 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3512 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3513 (easy-menu-define, with-custom-print): Remove redundant specs.
3514 (edebug-outside-overriding-local-map)
3515 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3516 (edebug--display): Bind unread-command-events directly to nil rather
3517 than binding it to unread-command-events and later setting it to nil.
3518 (edebug--display): Kill edebug-eval-buffer here...
3519 (edebug--recursive-edit): ...rather than here.
3520 Bind standard-output and standard-input.
3521 (edebug-eval): Check cl-macroexpand-all is fboundp.
3522 (edebug-temp-display-freq-count): Fix last change.
3523
3524 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3525 * subr.el (noreturn, 1value): Add `debug' spec.
3526 * emacs-lisp/advice.el: Require cl-lib.
3527 (ad-copy-tree): Remove, use copy-tree instead.
3528 (ad-dolist): Remove use dolist or cl-dolist instead.
3529 (ad-do-return): Remove, use cl-return instead.
3530 (defadvice): Add `debug' spec.
3531
3532 2012-09-13 Juri Linkov <juri@jurta.org>
3533
3534 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3535 (Bug#12399)
3536
3537 2012-09-13 Glenn Morris <rgm@gnu.org>
3538
3539 * calc/calc.el (math-compose-expr):
3540 * calc/calc-ext.el (math-compose-expr):
3541 * progmodes/cc-defs.el (cl-macroexpand-all):
3542 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3543 (cl-macroexpand-all): Update declarations.
3544
3545 * vc/vc.el: No need to require ediff.
3546 (ediff-load-version-control): Declare.
3547 (ediff-vc-internal): Fix declaration.
3548 (vc-version-ediff): Require ediff.
3549
3550 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3551
3552 Use a more backwards-compatible timer format (Bug#12430).
3553 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3554 being right after USECS, as that better supports old code that
3555 inadvisedly looked directly at the timer vector.
3556
3557 2012-09-13 Kenichi Handa <handa@gnu.org>
3558
3559 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3560 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3561 `coding-priority' property of these language environment.
3562
3563 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3564
3565 Fix glitches caused by addition of psec to timers (Bug#12430).
3566 * image.el (image-animate-timer):
3567 * time.el (display-time-world-timer):
3568 Use timer--function and timer--args rather than raw access to
3569 timer vector.
3570
3571 2012-09-13 Glenn Morris <rgm@gnu.org>
3572
3573 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3574 If not compiling a file, try using load-file-name.
3575
3576 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3579 Fix last change.
3580 (edebug-update-eval-list): Use `push'.
3581
3582 * emacs-lisp/edebug.el: Use lexical-binding.
3583 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3584 Mark unused args with underscore.
3585 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3586 (edebug-form-data): Use defvar-local.
3587 (edebug-make-before-and-after-form, edebug-make-after-form):
3588 Use backquote.
3589 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3590 Not dynamically scoped any more.
3591 (edebug--enter-trace): Add arguments `function' and `args'.
3592 Rename from edebug-enter-trace.
3593 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3594 (edebug--update-coverage): Add `after-index' and `value' args.
3595 Rename from edebug-update-coverage.
3596 (edebug-slow-after): Call it accordingly.
3597 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3598 edebug-recursive-edit.
3599 (edebug--display): Call it accordingly. Add args `value',
3600 `offset-index', and `arg-mode'. Rename from edebug-display.
3601 (edebug-debugger, edebug): Call it accordingly.
3602 (edebug-eval-display-list): Use dolist.
3603
3604 2012-09-12 Juri Linkov <juri@jurta.org>
3605
3606 * info.el (Info-search): Don't check for isearch-mode and
3607 isearch-regexp before let-binding search-spaces-regexp to
3608 Info-search-whitespace-regexp.
3609 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3610 search-whitespace-regexp if isearch-lax-whitespace or
3611 isearch-regexp-lax-whitespace is non-nil.
3612 (Info-mode): Don't set local variable search-whitespace-regexp.
3613 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3614
3615 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3618 (debugger-env-macro): Remove support for unread-command-char.
3619
3620 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3621 the temporary map re-appearing on emulation-mode-map-alists.
3622
3623 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3624 since 22.1.
3625
3626 * ehelp.el (with-electric-help): Accept functions in
3627 electric-help-form-to-execute.
3628 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3629 And replace unread-command-char -> unread-command-events.
3630
3631 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3632
3633 Sync with Tramp 2.2.6.
3634
3635 * net/tramp.el (tramp-accept-process-output): Don't use
3636 JUST-THIS-ONE in the XEmacs case.
3637
3638 * net/trampver.el: Update release number.
3639
3640 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3641
3642 * emacs-lisp/debug.el (debugger-previous-window-height):
3643 New variable.
3644 (debug): When debugger-jumping-flag is non-nil try to restore
3645 height of debugger window. (Bug#8789)
3646
3647 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3650 overriding-local-map and pre/post-command-hook here.
3651 (edebug-recursive-edit): Do it here instead (bug#12345).
3652 (edebug-outside-unread-command-char): Remove all uses of
3653 unread-command-char.
3654
3655 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3656 inhibit-debugger is bound instead.
3657
3658 2012-09-11 Bastien Guerry <bzg@gnu.org>
3659
3660 * subr.el (set-temporary-overlay-map): Add a docstring.
3661 (Bug#12346)
3662
3663 2012-09-11 Bastien Guerry <bzg@gnu.org>
3664
3665 * minibuffer.el (completion-table-subvert): Fix docstring.
3666 (Bug#12347)
3667
3668 2012-09-11 Bastien Guerry <bzg@gnu.org>
3669
3670 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3671
3672 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3673
3674 * progmodes/sql.el: Version 3.1
3675 (sql-db2-escape-newlines): New variable.
3676 (sql-escape-newlines-filter): Use it.
3677
3678 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3681
3682 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3683
3684 * vc/diff-mode.el (diff-mode-menu):
3685 Bind diff-remove-trailing-whitespace.
3686
3687 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3690 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3691 (emacs-lisp-byte-code-mode): New functions.
3692 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3693 (eval-defun-2): Remove bogus interactive spec.
3694 (lisp-indent-line): Remove redundant whole-exp code, now done in
3695 indent-according-to-mode.
3696 (save-match-data): Remove redundant indent data.
3697
3698 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3699 Use `declare'.
3700
3701 2012-09-09 Juri Linkov <juri@jurta.org>
3702
3703 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3704 (replace-lax-whitespace, query-replace-regexp)
3705 (query-replace-regexp-eval, replace-regexp): Doc fix.
3706 (perform-replace, replace-highlight): Let-bind
3707 isearch-lax-whitespace to replace-lax-whitespace and
3708 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3709
3710 * isearch.el (isearch-query-replace): Let-bind
3711 replace-lax-whitespace to isearch-lax-whitespace and
3712 replace-regexp-lax-whitespace to
3713 isearch-regexp-lax-whitespace. (Bug#10885)
3714
3715 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3718
3719 2012-09-09 Alan Mackenzie <acm@muc.de>
3720
3721 * progmodes/cc-engine.el (c-state-cache-init):
3722 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3723 (c-record-parse-state-state):
3724 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3725
3726 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3727
3728 * register.el (register-separator): Rename from
3729 separator-register. All uses changed. Doc fix.
3730 (register): Fix version.
3731
3732 2012-09-09 Chong Yidong <cyd@gnu.org>
3733
3734 * replace.el (query-replace-map): Bind four new symbols for
3735 requesting window scrolling.
3736
3737 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3738 query-replace-map (Bug#8948).
3739
3740 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3741
3742 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3743 since they are now in query-replace-map.
3744
3745 * window.el (scroll-other-window-down): Make the arg optional.
3746
3747 2012-09-09 Chong Yidong <cyd@gnu.org>
3748
3749 * files.el (hack-local-variables-confirm): Use quit-window to kill
3750 the *Local Variables* buffer.
3751
3752 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3755 not just expect to be at its beginning. Adjust callees.
3756 Succeed when do-end block has no space before the pipe character.
3757 (ruby-brace-to-do-end): When the original block is one-liner,
3758 convert to multiline. Reindent the result.
3759
3760 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3761
3762 * register.el (register): New group.
3763 (separator-register): New user option.
3764 (increment-register): Route it to `append-to-register', if
3765 register contains text. Implication is that `C-x r +' can now be
3766 used for appending to a text register (bug#12217).
3767 (append-to-register, prepend-to-register): Add separator based on
3768 `separator-register'.
3769
3770 2012-09-08 Alan Mackenzie <acm@muc.de>
3771
3772 AWK Mode: make auto-newline work when there's "==" in the pattern.
3773 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3774 correctly.
3775 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3776 Test more rigorously for "=" token.
3777
3778 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3781 Only fail when reached LIMIT.
3782
3783 2012-09-08 Chong Yidong <cyd@gnu.org>
3784
3785 * dired.el (dired-mode-map): Don't bind M-=.
3786
3787 * dired-aux.el (dired-diff): Use backup file as default.
3788
3789 2012-09-08 Drew Adams <drew.adams@oracle.com>
3790
3791 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3792
3793 2012-09-08 Chong Yidong <cyd@gnu.org>
3794
3795 * subr.el (syntax-after, syntax-class): Doc fix.
3796
3797 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3798
3799 * window.el (display-buffer-in-previous-window): New buffer
3800 display action function.
3801
3802 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3803 (debugger-previous-window): New variable.
3804 (debug): Rewrite using display-buffer-in-previous-window,
3805 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3806
3807 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3810
3811 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3812
3813 * progmodes/python.el (python-shell-send-string):
3814 When default-directory is remote, create temp file on remote
3815 filesystem.
3816 (python-shell-send-file): When file is remote, pass local view of
3817 file paths to remote Python interpreter. (Bug#12340)
3818
3819 2012-09-07 Chong Yidong <cyd@gnu.org>
3820
3821 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3822
3823 * files.el (after-find-file): Don't fail on a read-only buffer if
3824 require-final-newline is `visit' or `visit-save' (Bug#11156).
3825
3826 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3827
3828 * userlock.el (ask-user-about-supersession-threat):
3829 Use read-char-choice (Bug#12093).
3830
3831 2012-09-07 Chong Yidong <cyd@gnu.org>
3832
3833 * subr.el (buffer-narrowed-p): New function.
3834
3835 * ses.el (ses-widen):
3836 * simple.el (count-words--buffer-message):
3837 * net/browse-url.el (browse-url-of-buffer): Use it.
3838
3839 * simple.el (count-words-region): Don't signal an error if there
3840 is a non-nil prefix arg and the mark is not set.
3841
3842 * help.el (describe-key-briefly): Allow the message to be seen
3843 when invoked from the minibuffer (Bug#7014).
3844
3845 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3846
3847 * progmodes/ruby-mode.el (ruby-end-of-defun)
3848 (ruby-beginning-of-defun): Simplify, allow indentation before
3849 block beginning and end keywords.
3850 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3851 (ruby-end-of-defun): Expect that the point is at the beginning of
3852 the defun.
3853
3854 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3857 (bug#12367).
3858 (cl--make-usage-args): Strip _ from argument names.
3859
3860 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3861
3862 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3863 obsolete alias speedbar-key-map.
3864 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3865 (vhdl-index-menu-init): Don't use obsolete variable
3866 font-lock-maximum-size.
3867
3868 2012-09-06 Chong Yidong <cyd@gnu.org>
3869
3870 * frame.el (window-system-version): Mark as obsolete.
3871
3872 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3873 of obsolete variable speedbar-key-map.
3874
3875 2012-09-06 Juri Linkov <juri@jurta.org>
3876
3877 * replace.el (replace-lax-whitespace): New defcustom.
3878 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3879 (replace-string, replace-regexp): Mention it in docstrings.
3880 (perform-replace, replace-highlight): Let-bind
3881 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3882 to the values of replace-lax-whitespace and regexp-flag.
3883 Don't let-bind search-whitespace-regexp. (Bug#10885)
3884
3885 * isearch.el (isearch-query-replace): Let-bind
3886 replace-lax-whitespace instead of let-binding
3887 replace-search-function and replace-re-search-function.
3888 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3889 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3890 (isearch-toggle-symbol): Set isearch-regexp to nil
3891 in isearch-word mode (like in isearch-toggle-word).
3892
3893 2012-09-06 Juri Linkov <juri@jurta.org>
3894
3895 * replace.el (replace-search-function)
3896 (replace-re-search-function): Set default values to nil.
3897 (perform-replace): Let-bind isearch-related variables based on
3898 replace-related values, call `isearch-search-fun' and let-bind
3899 the result to `search-function'. Remove code that sets
3900 `search-function' and `search-string' separately for
3901 `delimited-flag'.
3902 (replace-highlight): Add new argument `delimited-flag' and
3903 rename other arguments to the names used in `perform-replace'.
3904 Let-bind `isearch-word' to the argument `delimited-flag'.
3905 (Bug#10885, bug#10887)
3906
3907 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3908
3909 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3910 ruby-beginning-of-indent, simplify, allow all keywords to have
3911 indentation before them.
3912 (ruby-beginning-of-indent): Adjust for above. Search until the
3913 found point is not inside a string or comment.
3914 (ruby-font-lock-keywords): Allow symbols to start with "@"
3915 character, give them higher priority than variables.
3916 (ruby-syntax-propertize-function)
3917 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3918 matchers. Expression expansions are not comments when inside a
3919 string, and there comment syntax status is irrelevant.
3920 (ruby-match-expression-expansion): New function. Check that
3921 expression expansion is inside a string, and it's not escaped.
3922 (ruby-font-lock-keywords): Use it.
3923
3924 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3925
3926 * help.el (temp-buffer-max-height): New default value.
3927 (temp-buffer-resize-frames): New option.
3928 (resize-temp-buffer-window): Optionally resize frame.
3929
3930 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3931 (fit-frame-to-buffer): New function.
3932
3933 2012-09-05 Glenn Morris <rgm@gnu.org>
3934
3935 * emulation/cua-rect.el (cua--init-rectangles):
3936 * textmodes/picture.el (picture-mode-map):
3937 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3938 like forward-char and backward-char. (Bug#12317)
3939
3940 2012-09-05 Leo Liu <sdl.web@gmail.com>
3941
3942 * progmodes/flymake.el (flymake-warning-re): New variable.
3943 (flymake-parse-line): Use it.
3944
3945 2012-09-05 Glenn Morris <rgm@gnu.org>
3946
3947 * calendar/holidays.el (holiday-christian-holidays):
3948 Rename an entry. (Bug#12289)
3949
3950 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3953 (bug#12222).
3954
3955 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * loadup.el: Load macroexp. Remove hack.
3958 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3959 (macroexp--expand-all): Use it to get better warnings.
3960 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3961 (internal-macroexpand-for-load): New functions.
3962 (macroexp--pending-eager-loads): New var.
3963 (emacs-startup-hook): New hack to replace one in loadup.el.
3964 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3965 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3966 (cl-psetf): Simplify.
3967 (cl-defstruct): Add indent rule.
3968
3969 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3970
3971 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3972 over `user-mail-address' for the SMTP MAIL FROM envelope.
3973 (smtpmail-via-smtp): Ditto.
3974
3975 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3976
3977 * progmodes/ruby-mode.el: Clean up keybindings.
3978 (ruby-mode-map): Don't bind ruby-electric-brace,
3979 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3980 backward-kill-word, reindent-then-newline-and-indent.
3981 (ruby-mark-defun): Remove.
3982 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3983 (ruby-mode): Set local beginning-of-defun-function and
3984 end-of-defun-function values.
3985
3986 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3987
3988 * window.el (temp-buffer-window-setup-hook)
3989 (temp-buffer-window-show-hook): New hooks.
3990 (temp-buffer-window-setup, temp-buffer-window-show)
3991 (with-temp-buffer-window): New functions.
3992 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3993 (special-display-popup-frame): Make sure the window used shows BUFFER.
3994
3995 * help.el (temp-buffer-resize-mode): Fix doc-string.
3996 (resize-temp-buffer-window): New optional argument WINDOW.
3997
3998 * files.el (recover-file, save-buffers-kill-emacs):
3999 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4000
4001 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4004 remote definition of `default-directory', ensure we can connect.
4005
4006 2012-09-02 Juri Linkov <juri@jurta.org>
4007
4008 Toggle whitespace matching mode with M-s SPC.
4009 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4010
4011 * isearch.el (search-whitespace-regexp): Doc fix.
4012 Remove cons cell customization.
4013 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4014 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4015 New variables.
4016 (isearch-forward, isearch-forward-regexp): Doc fix.
4017 (isearch-toggle-lax-whitespace): New command.
4018 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4019 (re-search-forward-lax-whitespace)
4020 (re-search-backward-lax-whitespace): New functions.
4021 (isearch-whitespace-regexp): Remove function.
4022 (isearch-query-replace): Let-bind replace-search-function and
4023 replace-re-search-function.
4024 (isearch-occur): Let-bind search-spaces-regexp according to the
4025 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4026 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4027 condition for C-q SPC.
4028 (isearch-search-fun-default): Use new functions mentioned above.
4029 (isearch-search-forward, isearch-search-backward): Remove functions.
4030 (isearch-search): Don't let-bind search-spaces-regexp.
4031 (isearch-lazy-highlight-space-regexp): Remove variable.
4032 (isearch-lazy-highlight-lax-whitespace)
4033 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4034 (isearch-lazy-highlight-new-loop): Use them.
4035 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4036
4037 2012-09-02 Chong Yidong <cyd@gnu.org>
4038
4039 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4040
4041 2012-09-02 Glenn Morris <rgm@gnu.org>
4042
4043 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4044
4045 2012-09-01 Glenn Morris <rgm@gnu.org>
4046
4047 * term.el: Tidy up menu definitions.
4048 (term-mode-map): Use easymenu for In/Out, Complete menus.
4049 (term-pager-break-map): Initialize in the defvar.
4050 (term-terminal-menu, term-signals-menu): Define with easymenu.
4051 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4052 (term-pager-menu): New, extracted from term-process-pager.
4053 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4054 (term-update-mode-line): Propertize line/char and page items.
4055 (term-process-pager): Move keymap initialization elsewhere.
4056
4057 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4058
4059 * window.el (switch-to-prev-buffer): Handle additional values of
4060 BURY-OR-KILL argument. Don't switch in minibuffer window.
4061 (switch-to-next-buffer): Don't switch in minibuffer window.
4062 (quit-restore-window): New function based on quit-window.
4063 Handle additional values of former KILL argument.
4064 (quit-window): Call quit-restore-window with appropriate
4065 interpretation of KILL argument.
4066 (display-buffer-below-selected): New buffer display action
4067 function.
4068
4069 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * minibuffer.el (completion-at-point-functions): Complete docstring
4072 (bug#12254).
4073
4074 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4075
4076 Better seed support for (random).
4077 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4078 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4079 * play/mpuz.el, play/tetris.el, play/zone.el:
4080 * calc/calc-comb.el (math-init-random-base):
4081 * play/blackbox.el (bb-init-board):
4082 * play/life.el (life):
4083 * server.el (server-use-tcp):
4084 * type-break.el (type-break):
4085 Remove unnecessary call to (random t).
4086 * net/sasl.el (sasl-unique-id-function):
4087 Change (random t) to (random), now that the latter is more random.
4088 * play/life.el (life-initialized): Remove no-longer-needed var.
4089
4090 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4091
4092 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4093 Consider frame's buffer predicate when choosing the buffer.
4094 (Bug#12081)
4095
4096 2012-08-30 Richard Stallman <rms@gnu.org>
4097
4098 * simple.el (special-mode-map): Delete binding for `z'.
4099
4100 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4101
4102 * progmodes/compile.el (compilation-always-kill): Doc fix.
4103
4104 2012-08-30 Chong Yidong <cyd@gnu.org>
4105
4106 * window.el (display-buffer-reuse-frames): Make the obsolescence
4107 message more informative.
4108
4109 2012-08-30 Glenn Morris <rgm@gnu.org>
4110
4111 * paren.el (show-paren-delay):
4112 Add a :set function. Doc fix. (Bug#12297)
4113
4114 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4115
4116 * progmodes/compile.el (compilation-always-kill): New var.
4117 (compilation-start): Use it.
4118
4119 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4122 * files.el (read-only-mode): Move to simple.el.
4123
4124 * files.el (read-only-mode): New minor mode.
4125 (toggle-read-only): Use it and mark obsolete.
4126 (find-file--read-only):
4127 * vc/vc.el (vc-next-action, vc-checkout):
4128 * vc/vc-cvs.el (vc-cvs-checkout):
4129 * obsolete/vc-mcvs.el (vc-mcvs-update):
4130 * ffap.el (ffap--toggle-read-only): Update callers.
4131
4132 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4133
4134 * eshell/esh-ext.el (eshell-external-command): Do not examine
4135 remote shell scripts.
4136 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4137
4138 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4139 "/usr/local/sbin".
4140
4141 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4144
4145 2012-08-28 Leo Liu <sdl.web@gmail.com>
4146
4147 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4148 completion-at-point. (Bug#12220)
4149
4150 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4151
4152 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4153
4154 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4157 be buffer-local; add delete-trailing-whitespace (bug#12259).
4158
4159 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4160
4161 * progmodes/hideif.el (hif-compress-define-list):
4162 Fix typo. (Bug#11951)
4163
4164 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4165
4166 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4167 buffer local setting.
4168
4169 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4170 rcirc-encode-coding-system.
4171
4172 2012-08-28 Leo Liu <sdl.web@gmail.com>
4173
4174 * net/rcirc.el (rcirc-split-message): New function.
4175 (rcirc-send-message): Use it. (Bug#12051)
4176
4177 2012-08-28 Juri Linkov <juri@jurta.org>
4178
4179 * info.el (Info-fontify-node): Hide empty lines at the end of
4180 the node. (Bug#12272)
4181
4182 2012-08-27 Drew Adams <drew.adams@oracle.com>
4183
4184 * dired.el (dired-pop-to-buffer): Make window start at beginning
4185 of buffer (Bug#12281).
4186
4187 2012-08-26 Chong Yidong <cyd@gnu.org>
4188
4189 * window.el (special-display-regexps, special-display-frame-alist)
4190 (special-display-buffer-names, special-display-function)
4191 (display-buffer-reuse-frames): Mark as obsolete.
4192
4193 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4194
4195 * help.el (help-print-return-message): Don't treat
4196 display-buffer-reuse-frames specially.
4197
4198 2012-08-26 Chong Yidong <cyd@gnu.org>
4199
4200 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4201 New variable, replacing gdb-frame-parameters.
4202 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4203 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4204 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4205 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4206 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4207 the functions directly with gdb-display-buffer-other-frame-action.
4208 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4209 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4210 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4211 (gdb-display-registers-buffer): Define directly.
4212 (def-gdb-display-buffer): Macro deleted.
4213 (gdb-display-buffer): Remove second and third args, callers don't
4214 use them. Defer to the default display-buffer behavior, apart
4215 from making windows dedicated.
4216 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4217
4218 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4219
4220 * window.el (display-buffer-pop-up-frame): Handle a
4221 pop-up-frame-parameters alist entry.
4222 (display-buffer): Document it.
4223
4224 2012-08-26 Chong Yidong <cyd@gnu.org>
4225
4226 * isearch.el (search-whitespace-regexp): Make string and nil
4227 values apply to both ordinary and regexp search. Allow a cons
4228 cell value to distinguish between the two.
4229 (isearch-whitespace-regexp, isearch-search-forward)
4230 (isearch-search-backward): New functions.
4231 (isearch-occur, isearch-search-fun-default, isearch-search)
4232 (isearch-lazy-highlight-new-loop): Use them.
4233 (isearch-forward, isearch-forward-regexp): Doc fix.
4234
4235 2012-08-26 Chong Yidong <cyd@gnu.org>
4236
4237 * faces.el (help-argument-name): Always inherit from italic
4238 (Bug#12213).
4239
4240 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4241
4242 * window.el (window--even-window-heights): Even heights when
4243 WINDOW and the selected window form a vertical combination.
4244 (display-buffer-use-some-window): Provide that window used gets
4245 sized back by quit-window. (Bug#11880) and (Bug#12091)
4246
4247 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4248
4249 Fix file time stamp problem with bzr and CVS (Bug#12001).
4250 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4251 in the file's time stamp, since the version control system loses
4252 that information.
4253
4254 2012-08-22 Juri Linkov <juri@jurta.org>
4255
4256 * info.el (Info-fontify-node): Hide the suffix of the
4257 Info file name in the header line. (Bug#12187)
4258
4259 2012-08-22 Glenn Morris <rgm@gnu.org>
4260
4261 * calendar/cal-tex.el (cal-tex-weekly-common):
4262 Restore leading blank page.
4263
4264 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4265
4266 * misc.el (forward-to-word, backward-to-word): Activate or extend
4267 the region under `shift-select-mode'. (Bug#12231)
4268
4269 2012-08-22 Bastien Guerry <bzg@gnu.org>
4270
4271 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4272 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4273 gives details on why the space is never needed.
4274
4275 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4276
4277 * window.el (walk-window-tree, window-with-parameter):
4278 New optional argument MINIBUF to control whether these functions
4279 should run on the minibuffer window.
4280 (window-at-side-list): Don't operate on minibuffer window.
4281 (window-in-direction): Simplify and rewrite doc-string.
4282 (window--size-ignore): Rename to window--size-ignore-p.
4283 Update callers.
4284 (display-buffer-in-atom-window, window--major-non-side-window)
4285 (window--major-side-window, display-buffer-in-major-side-window)
4286 (delete-side-window, display-buffer-in-side-window):
4287 New functions.
4288 (window--side-check, window-deletable-p, delete-window)
4289 (delete-other-windows, split-window): Handle side windows and
4290 atomic windows appropriately.
4291 (window--display-buffer): Call display-buffer-record-window also
4292 when the window buffer did not change.
4293
4294 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4295
4296 * help-fns.el (help-fns--key-bindings):
4297 Abbreviate non-symbol remap targets. (Bug#12174)
4298
4299 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4300
4301 * dired.el (dired-mark-remembered): Don't clobber point.
4302 (Bug#11795)
4303
4304 2012-08-22 Glenn Morris <rgm@gnu.org>
4305
4306 * progmodes/bug-reference.el (bug-reference): New custom group.
4307 (bug-reference-bug-regexp): Make it a defcustom.
4308
4309 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4310
4311 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4312 (js-paren-indent-offset, js-square-indent-offset)
4313 (js-curly-indent-offset): Add :safe (Bug#12257).
4314
4315 2012-08-22 Edward O'Connor <hober0@gmail.com>
4316
4317 * json.el (json-key-format): Add error properties.
4318 (json-encode-key): New function.
4319 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4320 Use json-encode-key.
4321
4322 2012-08-22 Glenn Morris <rgm@gnu.org>
4323
4324 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4325 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4326 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4327 Update for above change.
4328
4329 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4330
4331 * cus-face.el (custom-face-attributes): Fix customize type for the
4332 :underline attribute. (Bug#11805)
4333
4334 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4335
4336 * window.el (window-point-1, set-window-point-1): Remove.
4337 (window-in-direction, record-window-buffer)
4338 (set-window-buffer-start-and-point, split-window-below)
4339 (window--state-get-1, display-buffer-record-window):
4340 Replace calls to window-point-1 and set-window-point-1 by calls to
4341 window-point and set-window-point respectively.
4342
4343 2012-08-21 Glenn Morris <rgm@gnu.org>
4344
4345 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4346 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4347 Use it.
4348
4349 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4350 (cal-tex-shortday): New function.
4351 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4352 (cal-tex-cursor-filofax-daily): Use the above.
4353
4354 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4355 New functions.
4356 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4357 (cal-tex-cursor-filofax-week): Use them.
4358
4359 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4360 New constants.
4361 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4362 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4363
4364 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4365 (cal-tex-end-document): Don't rely on buffer name.
4366
4367 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4368 Use cal-tex-vspace.
4369 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4370 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4371 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4372 Use cal-tex-arg.
4373
4374 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4375 (cal-tex-cursor-week, cal-tex-cursor-week2)
4376 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4377 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4378 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4379 (cal-tex-insert-preamble, cal-tex-b-document)
4380 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4381 Improve cal-tex-cmd usage.
4382
4383 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4384 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4385 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4386 (cal-tex-weekly-paper): New function.
4387 (cal-tex-cursor-week, cal-tex-cursor-week2)
4388 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4389 (cal-tex-cursor-day): Use it.
4390
4391 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4392 (cal-tex-cursor-filofax-week): Remove leading blank page.
4393
4394 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4395 Add autoload cookie. For now at least, don't use color, since
4396 no other cal-tex function does.
4397
4398 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4399 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4400 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4401
4402 2012-08-21 Juri Linkov <juri@jurta.org>
4403
4404 * info.el (Info-file-attributes): New variable.
4405 (info-insert-file-contents): Add file attributes to
4406 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4407 `Info-toc-nodes' when previous modtime of the Info file is less
4408 than new modtime.
4409 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4410 of info.el. (Bug#12230)
4411
4412 2012-08-20 Glenn Morris <rgm@gnu.org>
4413
4414 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4415 * calendar/holidays.el (calendar-holiday-list):
4416 Report errors with display-warning rather than beep'n'sleep.
4417
4418 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4419
4420 * net/tramp.el (tramp-accept-process-output): Accept only output
4421 from PROC. Otherwise, process filters and sentinels might be
4422 confused. (Bug#12145)
4423
4424 2012-08-20 Chong Yidong <cyd@gnu.org>
4425
4426 * descr-text.el (describe-text-properties-1): Use overlays-in to
4427 report on empty overlays (Bug#3322).
4428
4429 2012-08-20 Glenn Morris <rgm@gnu.org>
4430
4431 * mail/rmailout.el (rmail-output-read-file-name):
4432 Trap and report errors in rmail-output-file-alist elements.
4433
4434 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4435 since most non-font-lock faces are not also variables).
4436
4437 2012-08-20 Edward Reingold <reingold@iit.edu>
4438
4439 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4440 New function. (Bug12160)
4441
4442 2012-08-19 Glenn Morris <rgm@gnu.org>
4443
4444 * mail/rmailout.el (rmail-output-read-file-name):
4445 Fix previous change (when the alist is nil or does not match).
4446
4447 2012-08-19 Chong Yidong <cyd@gnu.org>
4448
4449 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4450 (Bug#12228).
4451
4452 2012-08-18 Chong Yidong <cyd@gnu.org>
4453
4454 * simple.el (yank-handled-properties): New defcustom.
4455 (yank-excluded-properties): Add font-lock-face and category.
4456 (yank): Doc fix.
4457
4458 * subr.el (remove-yank-excluded-properties):
4459 Obey yank-handled-properties. The special handling of font-lock-face
4460 and category is now done this way, instead of being hard-coded.
4461 (insert-for-yank-1): Remove font-lock-face handling.
4462 (yank-handle-font-lock-face-property)
4463 (yank-handle-category-property): New function.
4464
4465 2012-08-17 Glenn Morris <rgm@gnu.org>
4466
4467 * mail/rmailout.el (rmail-output-read-file-name):
4468 Check rmail-output-file-alist against the full message body
4469 in the correct rmail buffer. (Bug#12214)
4470
4471 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4474 Eliminate superfluous prompt. (Bug#12203)
4475
4476 2012-08-17 Chong Yidong <cyd@gnu.org>
4477
4478 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4479 font spec, set the font directly (Bug#3228).
4480
4481 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4482
4483 * window.el (delete-window): Fix last fix.
4484
4485 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4486
4487 * window.el (window-valid-p): Move to window.c.
4488 (window-child, window-child-count, window-last-child)
4489 (window-normalize-window, window-combined-p)
4490 (window-combinations, window-atom-root, window-min-size)
4491 (window-sizable, window-sizable-p, window-size-fixed-p)
4492 (window-min-delta, window-max-delta, window--resizable)
4493 (window--resizable-p, window-resizable, window-total-size)
4494 (window-full-height-p, window-full-width-p, window-body-size)
4495 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4496 (minimize-window, window-deletable-p, delete-window)
4497 (delete-other-windows, set-window-buffer-start-and-point)
4498 (next-buffer, previous-buffer, split-window, balance-windows-2)
4499 (set-window-text-height, window-buffer-height)
4500 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4501 (truncated-partial-width-window-p): Minor code adjustments.
4502 In doc-strings state whether the argument window has to denote a
4503 live, valid or any window.
4504
4505 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4506
4507 * progmodes/subword.el (subword-forward-function)
4508 (subword-backward-function, subword-forward-regexp)
4509 (subword-backward-regexp): New variables.
4510 (subword-forward, subword-forward-internal, subword-backward-internal):
4511 Use new variables, eg so that different "word" definitions
4512 can be easily used. (Bug#11411)
4513
4514 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4517 for composite selectors.
4518 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4519 operation just because we can't find a previous revision.
4520
4521 2012-08-15 Chong Yidong <cyd@gnu.org>
4522
4523 * frame.el (set-frame-font): Accept font objects.
4524
4525 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4528
4529 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4530
4531 * man.el (Man-overstrike-face, Man-underline-face)
4532 (Man-reverse-face): Remove variables.
4533 (Man-overstrike, Man-underline, Man-reverse): New faces.
4534 (Man-fontify-manpage): Use them instead of the variables.
4535 (Man-cleanup-manpage): Comment change.
4536 (Man-ansi-color-map): New variable.
4537 (Man-fontify-manpage): Use it.
4538 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4539
4540 Implement ANSI SGR parameters 22-27 (bug#12146).
4541 * ansi-color.el (ansi-colors): Doc fix.
4542 (ansi-color-context, ansi-color-context-region): Doc fix.
4543 (ansi-color--find-face): New function.
4544 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4545 Rename the local variable `face' to `codes' since it is now a list of
4546 ansi codes. Doc fix.
4547 (ansi-color-get-face): Remove.
4548 (ansi-color-parse-sequence): New function, derived from
4549 ansi-color-get-face.
4550 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4551 codes 22-27.
4552
4553 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * subr.el (read-passwd): Allow use from a minibuffer.
4556
4557 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4558
4559 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4560 inside comments and strings as identifiers.
4561
4562 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4563 expression to evaluate. This allows to evaluate expressions with
4564 embedded whitespace.
4565 (gud-tooltip-tips): Add a blank before the newline in the
4566 message-box text, for the benefit of message-box emulation on
4567 MS-Windows.
4568
4569 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4570 messages from GDB, pop them up in a tooltip to give feedback to
4571 user.
4572 (gdb-tooltip-print-1): Quote the expression to evaluate.
4573 This allows to evaluate expressions with embedded whitespace.
4574 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4575 if the TTY name is nil or empty (which happens when communicating
4576 with the inferior via pipes, e.g. on MS-Windows).
4577 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4578 don't send that to the GUD buffer.
4579
4580 2012-08-14 Glenn Morris <rgm@gnu.org>
4581
4582 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4583 Optimize away setq-default with no args, as for setq. (Bug#12195)
4584
4585 2012-08-14 Chong Yidong <cyd@gnu.org>
4586
4587 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4588
4589 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4590 (Bug#12085).
4591
4592 2012-08-14 Glenn Morris <rgm@gnu.org>
4593
4594 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4595
4596 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4599 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4600 Use cached shell name.
4601
4602 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4603
4604 * progmodes/python.el (python-shell-send-string):
4605 (python-shell-send-setup-code): Do not use `format' with `message'.
4606
4607 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4608
4609 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4610 (ruby-percent-literal-beg-re): New constant.
4611 (ruby-syntax-general-delimiters-goto-beg): Rename to
4612 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4613 (ruby-syntax-propertize-general-delimiters): Rename to
4614 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4615 popular term. Adjust comments everywhere.
4616 (ruby-syntax-propertize-percent-literal): Only propertize when not
4617 inside a simple string or comment. When the literal is unclosed,
4618 leave the text after it unpropertized.
4619 (ruby-syntax-methods-before-regexp): New constant.
4620 (ruby-syntax-propertize-function): Use it to recognize regexps.
4621 Don't look at the text after regexp, just use the whitelist.
4622
4623 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4624
4625 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4626 non-nil always load the compiled file if it exists. (Bug#12197)
4627
4628 2012-08-14 Chong Yidong <cyd@gnu.org>
4629
4630 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4631 (hi-lock-set-pattern): When deciding whether to use font lock or
4632 overlays, look at font-lock-mode instead of font-lock-fontified
4633 (Bug#12168).
4634 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4635 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4636
4637 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4638
4639 * subr.el (internal--after-with-selected-window): Fix typo
4640 (Bug#12193).
4641
4642 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4643
4644 Use `completion-table-dynamic' for completion functions.
4645 * progmodes/python.el
4646 (python-shell-completion--do-completion-at-point)
4647 (python-shell-completion--get-completions):
4648 Remove functions.
4649 (python-shell-completion-complete-at-point): New function.
4650 (python-completion-complete-at-point): Use it.
4651
4652 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4653
4654 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4655 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4656
4657 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * subr.el (function-get): Refine `autoload' arg so it can also
4660 autoload functions for gv.el (bug#12191).
4661 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4662 autoloads macros.
4663
4664 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4665 Prefer pcase-let over destructuring-bind.
4666 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4667 Also, remove whitespace as we go, rather than after accumulating the
4668 various places.
4669
4670 * subr.el (internal--before-with-selected-window)
4671 (internal--after-with-selected-window): Fix typo seleted->selected.
4672 (with-selected-window): Adjust callers.
4673 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4674
4675 2012-08-13 Bastien Guerry <bzg@gnu.org>
4676
4677 * window.el (special-display-popup-frame): Minor docstring
4678 enhancement. (Bug#12172)
4679
4680 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4681
4682 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4683 type 1-6.
4684 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4685 extended headers.
4686
4687 * files.el (hack-local-variables-filter): Remove useless eval.
4688
4689 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4690
4691 * subr.el (with-selected-window): Fix last change.
4692
4693 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * subr.el (internal--before-with-seleted-window)
4696 (internal--after-with-seleted-window): New functions.
4697 (with-selected-window): Use them, to replace dependency on
4698 tty-top-frame.
4699
4700 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4701
4702 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4703 binding for `newline'.
4704 (ruby-move-to-block): When moving backward, stop at block opening,
4705 not indentation.
4706 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4707 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4708 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4709 `ruby-toggle-block'.
4710
4711 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * ibuffer.el (ibuffer-do-toggle-read-only):
4714 * dired.el (dired-toggle-read-only):
4715 * buff-menu.el (Buffer-menu-toggle-read-only):
4716 * bindings.el (mode-line-toggle-read-only):
4717 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4718
4719 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4720
4721 * descr-text.el (describe-char): Put the overlays over the
4722 "displayed as" character.
4723
4724 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4725
4726 * calc/calc-units.el (math-default-units-table): Give an
4727 initial value.
4728 (math-put-default-units): Add options to put composite units and
4729 unit systems in the default units table.
4730 (calc-convert-units): Send composite units to
4731 `math-put-default-units' when appropriate.
4732
4733 2012-08-11 Glenn Morris <rgm@gnu.org>
4734
4735 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4736
4737 * tutorial.el (help-with-tutorial):
4738 * emacs-lisp/copyright.el (copyright-update-directory):
4739 * emacs-lisp/autoload.el (autoload-find-generated-file)
4740 (autoload-find-file): Disable local eval: (for insurance).
4741
4742 * files.el (hack-local-variables-filter): If an eval: form is not
4743 known to be safe, and enable-local-variables is :safe, then ignore
4744 the form totally, as is done for non-eval forms. (Bug#12155)
4745 This is CVE-2012-3479.
4746
4747 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4750 (rx-form): Simplify.
4751
4752 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4753
4754 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4755 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4756 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4757 (ruby-syntax-propertize-function): Adjust for changes in
4758 `ruby-syntax-propertize-heredoc'.
4759
4760 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4761
4762 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4763 binding (use `M-;' instead).
4764 (ruby-singleton-class-p): New function.
4765 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4766
4767 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4770
4771 2012-08-10 Chong Yidong <cyd@gnu.org>
4772
4773 * progmodes/python.el (python-shell-get-process-name): Don't mess
4774 with same-window-buffer-names.
4775
4776 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4777 (eshell-remove-from-window-buffer-names): Make obsolete.
4778 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4779 (eshell): Just use pop-to-buffer-same-window instead.
4780
4781 2012-08-10 Chong Yidong <cyd@gnu.org>
4782
4783 * bindings.el: Bind M-= back to count-words-region.
4784
4785 * simple.el (count-words-region): Accept a prefix arg for acting
4786 on the entire buffer.
4787 (count-words--buffer-message): New helper function.
4788
4789 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4792 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4793 (event-start, event-end): Use posn-at-point to return a more
4794 informative posn.
4795 (posnp): New function.
4796 * mouse.el (popup-menu-normalize-position): Use it.
4797
4798 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4799
4800 * mouse.el (popup-menu-normalize-position): New function.
4801 (popup-menu): Use `popup-menu-normalize-position' to normalize
4802 the form for POSITION argument.
4803
4804 * term/x-win.el (x-menu-bar-open):
4805 Use the value returend from (posn-at-point) as position
4806 passed to `popup-menu'.
4807
4808 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4809
4810 * calc/calccomp.el (math-compose-expr): Add extra argument
4811 indicating that parentheses should be put around products in
4812 denominators. Give multiplication precedence over division during
4813 composition.
4814
4815 2012-08-09 Chong Yidong <cyd@gnu.org>
4816
4817 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4818 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4819 (Man-untabify-command, manual-program): Convert to defcustom
4820 (Bug#10429).
4821
4822 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4823
4824 * descr-text.el (describe-char): Don't insert extra newlines
4825 (Bug#10127).
4826
4827 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4828 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4829
4830 * align.el (align-region): Delete temporary markers (Bug#10047).
4831 Plus some code cleanups.
4832
4833 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4834
4835 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4836 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4837 (python-shell-internal-last-output): Use make-local-variable
4838 instead of make-variable-buffer-local.
4839
4840 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4841
4842 * progmodes/python.el: Enhancements to forward-sexp.
4843 (python-nav-forward-sexp): Rename from
4844 python-nav-forward-sexp-function.
4845 (python-nav--forward-sexp, python-nav--backward-sexp):
4846 New functions.
4847
4848 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4849
4850 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4851 modes and simplification modes.
4852
4853 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * delsel.el (delete-selection-pre-hook): Don't propagate the
4856 file-supersession signals (bug#12161).
4857
4858 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4861 (cl-map-extents): Add compatibility aliases (bug#12135).
4862
4863 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4864
4865 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4866 tests by `ignore-error'.
4867 (tramp-find-shell): Open also a new shell, when cache is already
4868 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4869
4870 2012-08-08 Juri Linkov <juri@jurta.org>
4871
4872 * bookmark.el: Add `defaults' property to the bookmark record.
4873 (bookmark-current-buffer): Doc fix.
4874 (bookmark-make-record): Add `defaults' property with default values
4875 to the bookmark record.
4876 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4877 with `bookmark-insert-current-bookmark'.
4878 (bookmark-set): Get `defaults' property from the bookmark record
4879 and use it in `read-from-minibuffer'.
4880 (bookmark-insert-current-bookmark): Remove function.
4881
4882 * info.el (Info-bookmark-make-record): Add `defaults' property
4883 with values of canonical Info node name, the current Info file
4884 name and the current Info node name. (Bug#12107)
4885
4886 2012-08-08 Juri Linkov <juri@jurta.org>
4887
4888 * files.el (basic-save-buffer): Use `buffer-name' as the default
4889 of `read-file-name' when buffer is not visiting a file (bug#12128).
4890
4891 2012-08-08 Juri Linkov <juri@jurta.org>
4892
4893 * info.el (Info-isearch-search): Doc fix.
4894 (Info-search): Change search-failed message from "initial node" to
4895 "end of node" (bug#12078).
4896 (Info-isearch-search): Change `isearch-string-state' to
4897 `isearch--state-string'.
4898
4899 2012-08-08 Glenn Morris <rgm@gnu.org>
4900
4901 * language/persian.el: Remove file.
4902 * language/misc-lang.el: Move unique part of persian.el here.
4903 * loadup.el: Remove language/persian.
4904
4905 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4906
4907 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4908
4909 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4910
4911 * progmodes/python.el Fixed defsubst warning.
4912 (python-syntax-context) Rename from python-info-ppss-context.
4913 (python-syntax-context-type): Rename from
4914 python-info-ppss-context-type.
4915 (python-syntax-comment-or-string-p): Rename from
4916 python-info-ppss-comment-or-string-p.
4917
4918 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4919
4920 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4921
4922 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4923
4924 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4925 a defcustom that is quoted with backquote.
4926
4927 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4928 Fix handling of interactive spec when the body uses return.
4929 (math-do-arg-check, math-define-function-body): Use backquote forms.
4930 * calc/calc-ext.el (math-defcache): Likewise.
4931 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4932 * allout.el (allout-new-exposure): Likewise.
4933 * calc/calcalg2.el (math-tracing-integral): Likewise.
4934 * info.el (Info-last-menu-item): Likewise.
4935 * emulation/vip.el (vip-loop): Likewise.
4936 * textmodes/artist.el (artist-funcall): Likewise.
4937 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4938 Construct menu-item directly.
4939
4940 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4941 Don't declare.
4942
4943 2012-08-07 Chong Yidong <cyd@gnu.org>
4944
4945 * simple.el (deactivate-mark): Preserve text properties when
4946 saving the primary selection (Bug#8384).
4947
4948 2012-08-07 Kevin Ryde <user42@zip.com.au>
4949
4950 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4951 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4952 and continue processing (Bug#12110).
4953
4954 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4957 syntax-propertize-function (bug#10095).
4958
4959 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4962 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4963 describe-function-1.
4964 (describe-function-1): Use them. Move compiler macro after sig.
4965 (help-fns--compiler-macro): Use function-get. Assume we're already in
4966 standard-output. Adjust layout to new call order.
4967
4968 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4969 re-binding a symbol that has a symbol-macro (bug#12119).
4970
4971 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4972
4973 * language/persian.el: New file. (Bug#11812)
4974 * loadup.el: Add language/persian.el.
4975
4976 2012-08-06 Chong Yidong <cyd@gnu.org>
4977
4978 * window.el (window--maybe-raise-frame): New function.
4979 (window--display-buffer): Split off from here.
4980 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4981 (display-buffer-pop-up-window, display-buffer-use-some-window):
4982 Obey an inhibit-switch-frame action alist entry.
4983 (display-buffer): Update doc.
4984
4985 * replace.el (occur-after-change-function): Avoid losing focus by
4986 using the inhibit-switch-frame display parameter (Bug#12139).
4987
4988 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4989
4990 Make internal shell process buffer names start with space.
4991 * progmodes/python.el (python-shell-make-comint): Add optional
4992 argument INTERNAL.
4993 (run-python-internal): Use it.
4994 (python-shell-internal-get-or-create-process): Check for new
4995 internal buffer names.
4996
4997 2012-08-06 Glenn Morris <rgm@gnu.org>
4998
4999 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5000 Do less getting and setting of environment variables.
5001
5002 2012-08-05 Chong Yidong <cyd@gnu.org>
5003
5004 * proced.el (proced): Add substitution string to docstring to
5005 trigger autoloading of the proced library on C-h f (Bug#1768).
5006
5007 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5008 Don't show defvars which have no second argument (Bug#8638).
5009
5010 * imenu.el (imenu-generic-expression): Move documentation here
5011 from imenu--generic-function.
5012 (imenu--generic-function): Refer to imenu-generic-expression.
5013
5014 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5015
5016 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5017 indentation declaration.
5018 (viper-loop): Add indentation declaration (Bug#7025).
5019
5020 2012-08-05 Chong Yidong <cyd@gnu.org>
5021
5022 * help-fns.el (describe-variable): Add hyperlink for
5023 directory-local variables files. Improve buffer-local and
5024 permanent-local reporting; suggested by MON KEY (Bug#6644).
5025
5026 * help-mode.el (help-dir-local-var-def): New button type.
5027
5028 * files.el (kill-buffer-hook): Provide a defvar.
5029
5030 2012-08-05 Glenn Morris <rgm@gnu.org>
5031
5032 * eshell/esh-ext.el (eshell/addpath):
5033 Also update eshell-path-env. (Bug#12013)
5034
5035 2012-08-05 Chong Yidong <cyd@gnu.org>
5036
5037 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5038
5039 * fringe.el (fringe-styles): Add docstring.
5040 (fringe--check-mode): New function.
5041 (set-fringe-mode, set-fringe-style): Use it.
5042 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5043
5044 * files.el (set-auto-mode): Fix invalid setq call.
5045
5046 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * isearch.el: Misc simplification; use defstruct.
5049 (isearch-mode-map): Dense maps now work like sparse ones.
5050 (isearch--state): New defstruct.
5051 (isearch-string-state, isearch-message-state, isearch-point-state)
5052 (isearch-success-state, isearch-forward-state)
5053 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5054 (isearch-wrapped-state, isearch-barrier-state)
5055 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5056 replaced by defstruct's accessors.
5057 (isearch--set-state): Rename from isearch-top-state and change
5058 calling convention.
5059 (isearch-push-state): Use new isearch--get-state.
5060 (isearch-toggle-word): Disable regexp when enabling word.
5061 (isearch-message-prefix): Remove unused arg _c-q-hack.
5062 (isearch-message-suffix): Remove unused arg _ellipsis.
5063
5064 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5065
5066 * simple.el (list-processes--refresh): For a server use :host or
5067 :local as the address.
5068 (list-processes): Doc fix.
5069
5070 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5071
5072 * lisp/mpc.el: Support password in host argument.
5073 (mpc--proc-connect): Parse and use new password element.
5074 Set mpc-proc variable instead of returning process.
5075 (mpc-proc): Adjust accordingly.
5076
5077 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5078
5079 * whitespace.el (whitespace-display-mappings): Use Unicode
5080 codepoints, instead of emacs-mule codepoints. See
5081 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5082 for the details.
5083
5084 * files.el (file-truename): Don't skip symlink-chasing part on
5085 windows-nt. Incorporate the resolution of 8+3 short aliases on
5086 Windows into the loop that recursively chases symlinks.
5087 Compare directory and its parent case-insensitively on MS-Windows and
5088 MS-DOS.
5089
5090 2012-08-03 Chong Yidong <cyd@gnu.org>
5091
5092 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5093
5094 * sort.el (sort-regexp-fields): Doc fix.
5095
5096 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5097
5098 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5099 labels regex position point at the expected place.
5100
5101 2012-08-03 MON KEY <monkey@sandpframing.com>
5102
5103 * net/imap.el (imap-interactive-login, imap-authenticate)
5104 (imap-mailbox-lsub, imap-mailbox-list)
5105 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5106 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5107 (imap-parse-response): Doc fix.
5108
5109 2012-08-03 João Távora <joaotavora@gmail.com>
5110
5111 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5112 if sexp scanning does not move point (Bug#5734).
5113
5114 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5115
5116 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5117 Add listings, minted, and ctable packages.
5118 (reftex-label-alist-builtin): Move listings, minted, and ctable
5119 entries before LaTeX.
5120 (reftex-label-alist): Docfix.
5121
5122 2012-08-02 Bastien Guerry <bzg@gnu.org>
5123
5124 * replace.el (occur): Fix docstring (bug#12122).
5125
5126 2012-08-02 Glenn Morris <rgm@gnu.org>
5127
5128 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5129
5130 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5131
5132 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5133 * international/mule-cmds.el: Create
5134 inactivate-current-input-method-function as an obsolete alias for
5135 deactivate-current-input-method-function. See Katsumi Yamaoka in
5136 <http://bugs.gnu.org/10150#46>.
5137
5138 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5139
5140 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5141 of nested `if's.
5142
5143 2012-08-01 Glenn Morris <rgm@gnu.org>
5144
5145 * progmodes/autoconf.el (autoconf-definition-regexp):
5146 Add AH_TEMPLATE, adjust submatch numbering.
5147 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5148 (autoconf-current-defun-function): Update for above change.
5149 (autoconf-current-defun-function): First skip to end of current word.
5150
5151 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5152
5153 * calendar/cal-html.el (cal-html-insert-agenda-days):
5154 Fix typo. (Bug#12018)
5155
5156 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5157
5158 Shell processes: enhancements to startup and CEDET compatibility.
5159 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5160 (python-shell-make-comint): accept-process-output at startup.
5161 (run-python-internal): Set inferior-python-mode-hook to nil.
5162 (python-shell-internal-get-or-create-process): call sit-for.
5163 (python-preoutput-result): Add obsolete alias.
5164 (python-shell-internal-send-string): Use it.
5165 (python-shell-send-setup-code): Remove call to
5166 accept-process-output.
5167
5168 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5171 (Bug#12108)
5172
5173 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5174
5175 * calc-mode.el (calc-basic-simplification-mode): Rename from
5176 `calc-limited-simplification-mode'.
5177 (calc-alg-simplification-mode): New function.
5178 (calc-set-simplify-mode): Adjust message.
5179
5180 * calc.el (calc-set-mode-line): Adjust mode line display for
5181 basic simplification mode.
5182
5183 * calc-help.el (calc-m-prefix-help): Update help message.
5184
5185 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5186 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5187
5188 2012-07-31 Bastien Guerry <bzg@gnu.org>
5189
5190 * man.el (man): Fix comment. (bug#12101)
5191
5192 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5193
5194 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5195 Don't return a non-nil value when no suitable buffer was found.
5196
5197 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5198
5199 * progmodes/python.el (run-python-internal): Disable font lock for
5200 internal shells.
5201
5202 2012-07-30 Stefan Merten <smerten@oekonux.de>
5203
5204 * textmodes/rst.el: Silence `checkdoc-ispell'.
5205 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5206 (rst-official-version, rst-official-cvs-rev)
5207 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5208 (rst-mode-map): New key binding.
5209
5210 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5211
5212 Update .PHONY listings in makefiles.
5213 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5214 autoloads, update-subdirs, updates, bzr-update, update-authors,
5215 compile-onefile, compile-calc, backup-compiled-files,
5216 compile-after-backup, compile-one-process, mh-autoloads,
5217 bootstrap-clean, distclean, maintainer-clean.
5218
5219 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5220
5221 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5222 (calc-set-mode-line): Don't display "AlgSimp ".
5223
5224 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5225 (calc-lim-simplify-mode): New function.
5226 (calc-set-simplify-mode): Default to 'alg.
5227 (calc-default-simplify-mode): Make algebraic simplifications
5228 the default.
5229
5230 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5231 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5232
5233 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5234 indicate new simplification modes.
5235
5236 * calc/README: Mention new default simplification mode.
5237
5238 * calc/calc.el (math-normalize-error): New variable.
5239 (math-normalize): Set `math-normalize-error' to t
5240 when there's an error.
5241
5242 * calc/calc-alg.el (math-simplify): Don't simplify when
5243 `math-normalize' returns an error.
5244
5245 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5246
5247 * international/mule-cmds.el (set-locale-environment): Revert last
5248 change, since display-graphic-p returns nil when this function is
5249 called during startup. Instead...
5250
5251 * term/w32console.el (terminal-init-w32console): ...setup the
5252 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5253
5254 2012-07-29 Juri Linkov <juri@jurta.org>
5255
5256 * simple.el (goto-line): Don't display default line number in the
5257 prompt because it should be displayed by `read-number' (bug#9952).
5258 Add the current line number to the defaults of `goto-line' to
5259 allow its easier modification by users with `M-n' (bug#9201).
5260
5261 * subr.el (read-number): Support multiple default values like in
5262 other minibuffer reading functions. Replace `read' with
5263 `string-to-number' for consistency with `number-to-string'.
5264
5265 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5266
5267 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5268 * emulation/viper-init.el (viper-deactivate-input-method-action):
5269 Rename from viper-inactivate-input-method-action.
5270 (viper-deactivate-input-method):
5271 Rename from viper-inactivate-input-method.
5272 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5273 * international/mule-cmds.el (deactivate-input-method):
5274 Rename from inactivate-input-method.
5275 Also run input-method-deactivate-hook.
5276 (deactivate-current-input-method-function):
5277 Rename from inactivate-current-input-method-function.
5278 (input-method-deactivate-hook): New hook.
5279 (input-method-inactivate-hook): Mark obsolete.
5280 (inactivate-input-method): Mark obsolete.
5281
5282 * international/quail.el (quail-activate):
5283 Also run quail-deactivate-hook.
5284 (quail-deactivate): Rename from quail-inactivate.
5285 * international/robin.el (robin-activate):
5286 Also run robin-deactivate-hook.
5287 (robin-deactivate): Rename from robin-inactivate.
5288
5289 2012-07-29 Chong Yidong <cyd@gnu.org>
5290
5291 * simple.el (indicate-copied-region): New function.
5292 (kill-ring-save): Split off from here.
5293
5294 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5295 (kill-rectangle): Set deactivate-mark to t on read-only error.
5296
5297 * register.el (copy-to-register, copy-rectangle-to-register):
5298 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5299 (append-to-register, prepend-to-register): Call indicate-copied-region.
5300
5301 2012-07-29 Juri Linkov <juri@jurta.org>
5302
5303 * simple.el (async-shell-command-buffer): New defcustom.
5304 (shell-command): Use it. (Bug#4719)
5305
5306 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5307
5308 * international/mule-cmds.el (set-locale-environment): In a
5309 console session on MS-Windows, set up keyboard and terminal
5310 encoding from the OEM codepage, not the ANSI codepage.
5311 (Bug#12055)
5312
5313 2012-07-28 Chong Yidong <cyd@gnu.org>
5314
5315 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5316 gdb-get-location.
5317
5318 2012-07-28 Leo Liu <sdl.web@gmail.com>
5319
5320 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5321 the alist (bug#12029).
5322
5323 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5324
5325 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5326 (compile-always, compile-first)
5327 ($(lisp)/calendar/cal-loaddefs.el)
5328 ($(lisp)/calendar/diary-loaddefs.el)
5329 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5330 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5331 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5332 instead of on update-subdirs.
5333 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5334
5335 2012-07-28 Chong Yidong <cyd@gnu.org>
5336
5337 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5338 directory if vc-deduce-backend returns nil (Bug#7350).
5339
5340 * simple.el (delete-trailing-lines): New option.
5341 (delete-trailing-whitespace): Obey it (Bug#11879).
5342
5343 2012-07-28 David Engster <deng@randomsample.de>
5344
5345 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5346 Explanation of new 'symbol-qnames feature in doc-strings.
5347 (xml-maybe-do-ns): Return expanded names as plain symbols if
5348 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5349 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5350
5351 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5352
5353 Consistent completion in inferior python with emacs -nw.
5354 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5355 binding in inferior-python-mode-map with "\t".
5356 (python-shell-completion-complete-at-point)
5357 (python-completion-complete-at-point): Remove interactive spec.
5358
5359 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5360
5361 * calc/calccomp.el (math-compose-expr): Undo previous change.
5362
5363 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5364
5365 * progmodes/python.el (python-mode-map): Add keybinding for
5366 run-python.
5367 (python-shell-make-comint): Fix pop-to-buffer call.
5368 (run-python): Autoload. New arg SHOW.
5369 (python-shell-get-or-create-process): Do not pop python process
5370 buffer.
5371
5372 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5373
5374 * notifications.el (notifications-on-action-signal)
5375 (notifications-on-closed-signal): Use also the bus address for the map.
5376 (notifications-notify, notifications-close-notification)
5377 (notifications-get-capabilities): Add optional argument BUS.
5378
5379 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5380
5381 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5382 Add support for the lstlisting and minted environments, and for the
5383 ctable macro.
5384 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5385 labels written in keyvals syntax.
5386
5387 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5388
5389 * calc/calccomp.el (math-compose-expr): Use parentheses when
5390 there is a product in the denominator of a fraction.
5391
5392 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5393
5394 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5395 ($(lisp)/calendar/diary-loaddefs.el)
5396 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5397 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5398 Fixes failures in parallel bootstrap because subdirs.el is being
5399 rewritten while the autoload files are built at the same time,
5400 which needs to load subdirs.el.
5401
5402 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5403
5404 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5405 (mouse-drag-line): Don't exit tracking when a switch-frame or
5406 switch-window event occurs (Bug#12006).
5407
5408 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * mouse.el (popup-menu): Fix last change.
5411
5412 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 Autoload from Lisp with more care. Follow aliases when looking for
5415 function properties.
5416 * subr.el (autoloadp): New function.
5417 (symbol-file): Use it.
5418 (function-get): New function.
5419 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5420 autoload-do-load.
5421 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5422 (lisp-indent-function):
5423 * emacs-lisp/gv.el (gv-get):
5424 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5425 * emacs-lisp/byte-opt.el (byte-optimize-form):
5426 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5427 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5428 Use function-get.
5429 * emacs-lisp/cl.el: Don't propagate function properties any more.
5430
5431 * speedbar.el (speedbar-add-localized-speedbar-support):
5432 * emacs-lisp/disass.el (disassemble-internal):
5433 * desktop.el (desktop-load-file):
5434 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5435 (describe-function-1):
5436 * emacs-lisp/find-func.el (find-function-noselect):
5437 * emacs-lisp/elp.el (elp-instrument-function):
5438 * emacs-lisp/advice.el (ad-has-proper-definition):
5439 * apropos.el (apropos-safe-documentation, apropos-macrop):
5440 * emacs-lisp/debug.el (debug-on-entry):
5441 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5442 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5443 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5444
5445 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5446
5447 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5448 function, not an obsolete variable (Bug#12046).
5449
5450 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5451
5452 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5453
5454 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5455
5456 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5457 window only if it is still live (Bug#12034).
5458
5459 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5460
5461 * subr.el (redirect-frame-focus): Add advertised calling
5462 convention (Bug#12030).
5463
5464 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5465
5466 Prefer typical American spelling for "acknowledgment".
5467 * vc/add-log.el (change-log-acknowledgment): Rename from
5468 change-log-acknowledgement, with an alias for the old name.
5469
5470 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5471
5472 * calc-alg.el (math-simplify-divide): Don't cross multiply
5473 in an equation when the lhs is a variable.
5474
5475 2012-07-24 Julien Danjou <julien@danjou.info>
5476
5477 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5478 Remove, unused.
5479
5480 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5481
5482 * startup.el (command-line): Don't display an empty user name in
5483 the error message about non-existent home directory, when
5484 init-file-user was set to an empty string. See
5485 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5486 for the details and context.
5487
5488 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5489
5490 * ses.el (ses-cell-formula-aset): New macro.
5491 (ses-cell-references-aset): New macro.
5492 (ses-cell-p): New function.
5493 (ses-rename-cell): Do no longer rely on complex operations like
5494 ses-cell-set-formula or ses-set-cell to change the cell and handle
5495 the undo at the same time, but rather use lower level new macros
5496 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5497 the undo directly. Refresh the mode line.
5498
5499 2012-07-21 Leo Liu <sdl.web@gmail.com>
5500
5501 * progmodes/cc-cmds.el (c-defun-name):
5502 Use match-string-no-properties instead for consistency.
5503
5504 2012-07-20 Leo Liu <sdl.web@gmail.com>
5505
5506 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5507 (Bug#7879)
5508
5509 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5510
5511 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5514 * progmodes/bug-reference.el, misearch.el: Provide themselves
5515 (bug#11915).
5516
5517 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5518 of narrowed buffer (bug#11966).
5519
5520 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5521
5522 * ses.el (ses-rename-cell): Set new name also in reference list of
5523 cells of which the renamed cell depends.
5524
5525 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5526
5527 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5528 to check whether menu-bar is shown or not. If not shown,
5529 show the menu-bar as a popup menu instead of using tmm.
5530 * mouse.el (popup-menu): Accept `point' as `position' argument.
5531
5532 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5533
5534 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5535 up inside string symbol literal (bug#11923).
5536
5537 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5538
5539 * startup.el (fancy-startup-text): Read the whole tutorial, not
5540 just its first 256 bytes. Prevents gibberish in display of the
5541 tutorial title.
5542
5543 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5544
5545 Drop idle buffer compaction due to an absence of the
5546 proved efficiency.
5547 * compact.el: Remove.
5548
5549 2012-07-19 Sam Steingold <sds@gnu.org>
5550
5551 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5552 vc-bzr-pull & vc-bzr-merge-branch.
5553 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5554 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5555 for consistency with compilation-error-regexp-alist.
5556 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5557 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5558 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5559 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5560
5561 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * emacs-lisp/chart.el: Use lexical-binding.
5564 (chart-emacs-storage): Don't hardcode the list of entries.
5565
5566 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5567
5568 Next round of tweaks caused by Fgarbage_collect changes.
5569 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5570
5571 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5572
5573 Compact buffers when idle.
5574 * compact.el: New file.
5575
5576 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * subr.el (eventp): Presume that if it looks vaguely like an event,
5579 it's an event (bug#10190).
5580
5581 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5582
5583 Enhancements to ppss related code (thanks Stefan).
5584 * progmodes/python.el (python-indent-context)
5585 (python-indent-calculate-indentation, python-indent-dedent-line)
5586 (python-indent-electric-colon, python-nav-forward-block)
5587 (python-mode-abbrev-table)
5588 (python-info-assignment-continuation-line-p): Simplify checks
5589 for ppss context.
5590 (python-info-continuation-line-p): Cleanup.
5591 (python-info-ppss-context): Do not catch 'quote.
5592 (python-info-ppss-context-type)
5593 (python-info-ppss-comment-or-string-p): Simplify.
5594
5595 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5596
5597 * progmodes/python.el: Enhancements to eldoc support.
5598 (python-info-current-symbol): New function.
5599 (python-eldoc-at-point): Use python-info-current-symbol.
5600 (python-info-current-defun): Fix cornercase on first defun scan.
5601 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5602 and signal error when no inferior python process is available.
5603
5604 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5605
5606 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5607 assume it's always t.
5608 (vc-git-registered): Remove caching, the function is only called
5609 once.
5610 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5611
5612 2012-07-18 Chong Yidong <cyd@gnu.org>
5613
5614 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5615
5616 * simple.el (count-words): Report on narrowing (Bug#9959).
5617
5618 * bindings.el: Bind M-= to count-words.
5619
5620 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5621
5622 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5623
5624 * progmodes/sh-script.el (sh-imenu-generic-expression):
5625 Capture a function with `function' keyword and without parentheses
5626 like "function FOO" (bug#11856).
5627
5628 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5629
5630 * window.el (split-window-sensibly): Make WINDOW argument
5631 optional.
5632
5633 2012-07-18 Chong Yidong <cyd@gnu.org>
5634
5635 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5636
5637 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5638 and make C-x 8 RET exit isearch (Bug#11439).
5639
5640 * international/iso-transl.el: Move isearch-mode-map key
5641 definitions to isearch.el.
5642
5643 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5646 (eieio-defclass): Use gv-define-setter when possible.
5647
5648 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5649
5650 Reflect recent changes in Fgarbage_collect.
5651 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5652 reflect new format of data returned by Fgarbage_collect.
5653
5654 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5655
5656 New utility functions + python-info-ppss-context fix (Bug#11910).
5657 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5658 (python-info-ppss-comment-or-string-p): New functions.
5659 (python-info-ppss-context): Small fix for string check.
5660
5661 2012-07-17 Juri Linkov <juri@jurta.org>
5662
5663 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5664 (dired-do-async-shell-command): Don't add `*' at the end of the
5665 command (Bug#11815).
5666 (dired-do-shell-command): Doc fix.
5667 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5668 Join the individual commands using either "&" or ";" as the
5669 separator depending on the values of these trailing characters.
5670 At the end re-add the trailing "&". (Bug#10598)
5671
5672 * simple.el (async-shell-command): Sync the interactive spec with
5673 `shell-command'. Doc fix.
5674 (shell-command): Doc fix.
5675
5676 2012-07-17 Juri Linkov <juri@jurta.org>
5677
5678 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5679
5680 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5681
5682 Final renames and doc fixes for movement commands (bug#11899).
5683 * progmodes/python.el (python-nav-beginning-of-statement):
5684 Rename from python-nav-statement-start.
5685 (python-nav-end-of-statement): Rename from
5686 python-nav-statement-end.
5687 (python-nav-beginning-of-block): Rename from
5688 python-nav-block-start.
5689 (python-nav-end-of-block): Rename from python-nav-block-end.
5690
5691 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5692
5693 * progmodes/python.el (python-shell-send-string-no-output):
5694 Allow accept-process-output to quit, keeping shell process ready for
5695 future interactions (Bug#11868).
5696
5697 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5700
5701 * emacs-lisp/elint.el (elint-find-args-in-code):
5702 Use help-function-arglist, so as to handle lexical byte-code.
5703
5704 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5705 change (bug#11826).
5706
5707 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5710 Avoid spuriously marking the buffer as modified because of c-is-sws.
5711
5712 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5713 as not-a-comment (bug#11946).
5714
5715 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5716 for uninterned vars.
5717
5718 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5719 Use read-event since we don't really want to read chars but bytes.
5720
5721 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5722 $$..$$ but also $..$ using regexps (bug#11953).
5723 Use tex-verbatim for \url and \path.
5724 (tex-font-lock-keywords): Define as defconst like the others.
5725 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5726
5727 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5728
5729 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5730 alias for insert-char.
5731
5732 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5733
5734 * progmodes/python.el: Simplified imenu implementation.
5735 (python-nav-jump-to-defun): Remove command.
5736 (python-mode-map): Use `imenu' instead.
5737 (python-nav-list-defun-positions-cache)
5738 (python-imenu-include-defun-type, python-imenu-make-tree)
5739 (python-imenu-subtree-root-label, python-imenu-index-alist):
5740 Remove vars.
5741 (python-nav-list-defun-positions, python-nav-read-defun)
5742 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5743 (python-imenu-make-tree, python-imenu-create-index):
5744 Remove functions.
5745 (python-mode): Update to interact with imenu by setting
5746 `imenu-extract-index-name-function' only.
5747
5748 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5749
5750 * progmodes/python.el: Enhancements to navigation commands.
5751 (python-nav-backward-sentence)
5752 (python-nav-forward-sentence): Remove.
5753 (python-nav-backward-statement, python-nav-forward-statement)
5754 (python-nav-statement-start, python-nav-statement-end)
5755 (python-nav-backward-block, python-nav-forward-block)
5756 (python-nav-block-start, python-nav-block-end)
5757 (python-nav-forward-sexp-function)
5758 (python-info-current-line-comment-p)
5759 (python-info-current-line-empty-p): New functions.
5760 (python-indent-context): Use `python-nav-statement-start'.
5761
5762 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * eshell/em-ls.el (eshell/ls): Use `apply'.
5765
5766 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5767 multi-hops, instead of Tramp internals.
5768
5769 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5770
5771 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5772 when F1 and F2 are located on different hosts.
5773
5774 2012-07-14 Chong Yidong <cyd@gnu.org>
5775
5776 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5777 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5778 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5779 (xterm-mouse--read-event-sequence-1000)
5780 (xterm-mouse--read-event-sequence-1006): New functions. For old
5781 mouse protocol, handle M-mouse-X events correctly.
5782 (xterm-mouse-event): New arg specifying mouse protocol.
5783 (turn-on-xterm-mouse-tracking-on-terminal)
5784 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5785 sequence to toggle extended coordinates on newer XTerms.
5786 This appears to be harmless on terminals which do not support this.
5787
5788 2012-07-14 Leo Liu <sdl.web@gmail.com>
5789
5790 Add fringe bitmap indicators for flymake. (Bug#11253)
5791 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5792 (flymake-make-overlay): New arg BITMAP.
5793 (flymake-error-bitmap, flymake-warning-bitmap)
5794 (flymake-fringe-indicator-position): New user variables.
5795
5796 * fringe.el: New bitmap exclamation-mark.
5797
5798 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5799
5800 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5801 also (Bug#7879).
5802
5803 2012-07-14 Chong Yidong <cyd@gnu.org>
5804
5805 * electric.el (electric-pair-post-self-insert-function): Fix pair
5806 insertion in empty-region case (Bug#11520).
5807
5808 2012-07-14 Chong Yidong <cyd@gnu.org>
5809
5810 * bindings.el: Consolidate ctl-x-r-map bindings.
5811 Bind copy-rectangle-as-kill to C-x r w.
5812
5813 * rect.el, register.el: Move bindings to bindings.el.
5814
5815 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5816
5817 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5818
5819 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5820
5821 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5822
5823 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5824
5825 * bindings.el (top): Use `mapc' instead of `mapcar'.
5826
5827 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5828
5829 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5830
5831 * progmodes/sql.el (sql-comint): Suppress the check for program on
5832 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5833 (Bug#11908)
5834
5835 2012-07-13 Chong Yidong <cyd@gnu.org>
5836
5837 * bindings.el: Assign a non-nil permanent-local property to
5838 per-buffer variables which lack a default value (Bug#11930).
5839
5840 * help-fns.el (describe-variable): In the "automatically becomes
5841 local" notice, take note of permanent-local variables.
5842
5843 2012-07-13 Chong Yidong <cyd@gnu.org>
5844
5845 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5846 to allow printing the message when called from Lisp.
5847
5848 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5849 Remove toggle-read-only.
5850
5851 * bs.el (bs-toggle-readonly):
5852 * buff-menu.el (Buffer-menu-toggle-read-only):
5853 Remove with-no-warnings around toggle-read-only.
5854
5855 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5856 Remove with-no-warnings around toggle-read-only.
5857 (ffap-read-only, ffap-read-only-other-window)
5858 (ffap-read-only-other-frame): Callers changed.
5859
5860 * help-mode.el: Don't require view package.
5861 (help-mode-finish): Set buffer-read-only instead of calling
5862 toggle-read-only.
5863
5864 * bindings.el (mode-line-toggle-read-only):
5865 * dired.el (dired-toggle-read-only):
5866 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5867 with non-nil second arg.
5868
5869 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5870 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5871 directly.
5872
5873 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5874
5875 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5876 not incf.
5877
5878 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 More CL cleanups and reduction of use of cl.el.
5881 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5882 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5883 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5884 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5885 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5886 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5887 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5888 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5889 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5890 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5891 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5892 * eshell/em-cmpl.el, eshell/em-banner.el:
5893 * calendar/parse-time.el: Use cl-lib.
5894 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5895 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5896 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5897 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5898 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5899 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5900 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5901 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5902 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5903 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5904 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5905 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5906 `lambda' rather than with `quote'.
5907 (eshell-do-opt): Adjust accordingly.
5908 (eshell-process-option): Simplify.
5909 * eshell/esh-var.el:
5910 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5911 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5912 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5913 to `pcase--dontcare'.
5914 * emacs-lisp/cl.el (labels): Mark obsolete.
5915 (cl--letf, letf): Move to cl-lib.
5916 (cl--letf*, letf*): Remove.
5917 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5918 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5919 (cl-progv): Rewrite.
5920 (cl--letf, cl-letf): Move from cl.el.
5921 (cl-letf*): New macro.
5922 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5923
5924 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5925
5926 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5927
5928 2012-07-11 Chong Yidong <cyd@gnu.org>
5929
5930 * vc/log-edit.el (log-edit-vc-backend): New variable.
5931 (log-edit): Doc fix.
5932
5933 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5934 argument of log-edit to set up all local variables.
5935 (vc-start-logentry): New optional arg specifying VC backend.
5936
5937 * vc/vc.el (vc-checkin): Use it.
5938 (vc-deduce-fileset): Handle Log Edit buffers.
5939 (vc-diff): Make first argument optional too.
5940
5941 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5942
5943 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5946 command, just in case. The function is not needed anymore.
5947 (eshell-external-command): Do not call `eshell-remote-command'.
5948
5949 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 Reduce use of (require 'cl).
5952 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5953 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5954 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5955 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5956 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5957 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5958 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5959 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5960 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5961 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5962 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5963 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5964 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5965 (byte-compile-unfold-bcf, byte-compile-check-variable):
5966 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5967 (byte-compile-nilconstp):
5968 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5969 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5970
5971 * emacs-lisp/gv.el (cond): Make it a valid place.
5972 (if): Simplify slightly.
5973
5974 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5975 (pcase--self-quoting-p): New function.
5976 (pcase--u1): Use it.
5977
5978 2012-07-10 Glenn Morris <rgm@gnu.org>
5979
5980 * emacs-lisp/authors.el (authors-fixed-entries):
5981 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5982
5983 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5984
5985 Rename configure.in to configure.ac (Bug#11603).
5986 * emacs-lisp/authors.el (authors-canonical-file-name):
5987 * progmodes/autoconf.el (autoconf-mode):
5988 Prefer configure.ac to configure.in.
5989
5990 2012-07-08 Chong Yidong <cyd@gnu.org>
5991
5992 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5993 Implement the mouse-1-click-follows-link handling properly.
5994
5995 * info.el (Info-link-keymap): Use follow-link mechanism for
5996 header-line links (Bug#374).
5997
5998 * simple.el (deactivate-mark): Do not set the primary selection
5999 if another program has acquired it (Bug#11772).
6000
6001 2012-07-07 Kevin Ryde <user42@zip.com.au>
6002
6003 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6004 (woman-decode-region): Replace escaped-escapes without destroying
6005 bold or underline (Bug#11552).
6006 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6007
6008 2012-07-07 Chong Yidong <cyd@gnu.org>
6009
6010 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6011 (interprogram-cut-function, interprogram-paste-function):
6012 Mention that we typically mean the clipboard.
6013
6014 2012-07-06 Glenn Morris <rgm@gnu.org>
6015
6016 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6017
6018 * files.el (toggle-read-only): Restrict message to interactive use.
6019
6020 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6021
6022 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6023
6024 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6025
6026 2012-07-06 Glenn Morris <rgm@gnu.org>
6027
6028 * Makefile.in (compile-one-process): Rename from "recompile".
6029
6030 * Makefile.in (bzr-update): "compile" is the same as "recompile
6031 autoloads", but parallelizable, so use that instead.
6032
6033 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6034
6035 * window.el (quit-window): Always restore window height when
6036 it's saved in quit-restore parameter (Bug#11810).
6037
6038 2012-07-06 Glenn Morris <rgm@gnu.org>
6039
6040 * simple.el (kill-whole-line): Doc tweak.
6041
6042 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6043
6044 * files.el (file-relative-name): Compare file names
6045 case-insensitively if on MS-Windows or MS-DOS, or if
6046 read-file-name-completion-ignore-case is non-nil. Don't use
6047 case-fold-search for this purpose. (Bug#11827)
6048
6049 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6050
6051 * calendar/cal-dst.el (calendar-current-time-zone):
6052 Return calendar-current-time-zone-cache if non-nil.
6053
6054 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6055 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6056
6057 * calendar/cal-dst.el (calendar-current-time-zone):
6058 Return calendar-current-time-zone-cache if non-nil.
6059
6060 2012-07-06 Glenn Morris <rgm@gnu.org>
6061
6062 * Makefile.in (cvs-update): Remove old alias.
6063
6064 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6065
6066 Sync with Tramp 2.2.6-pre.
6067
6068 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6069 compatible declaration.
6070
6071 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6072 Protect `list-load-path-shadows' call.
6073
6074 * net/tramp-compat.el (top): Require packages, which aren't
6075 autoloaded anymore for XEmacs. Protect call of
6076 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6077 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6078 it hurts at least for SXEmacs.
6079 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6080 standard-value for `temporary-file-directory'.
6081
6082 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6083 Redirect stderr to /dev/null.
6084 (tramp-sh-handle-write-region): uid and gid can be floats.
6085 Reported by Russell Sim <russell.sim@gmail.com>.
6086 (tramp-sh-handle-vc-registered): Hide errors.
6087 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6088 and `start-file-process'.
6089 (tramp-maybe-open-connection): Check also whether `non-essential'
6090 is bound.
6091
6092 2012-07-04 Chong Yidong <cyd@gnu.org>
6093
6094 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6095 (xml-parse-tag): Likewise, and avoid changing entity tables.
6096 (xml-syntax-table): Define from scratch, making sure not to give
6097 x2000 and other Unicode spaces whitespace syntax, since those are
6098 not spaces in XML.
6099 (xml-parse-fragment): Delete unused function.
6100 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6101 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6102 (xml-entity-ref, xml-pe-reference-re)
6103 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6104 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6105 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6106 (xml-entity-value-re): Use syntax references in regexps where
6107 possible; no need to define inside a let-binding.
6108 (xml-parse-dtd): Use xml-pe-reference-re.
6109 (xml-entity-or-char-ref-re): New defconst.
6110 (xml-parse-string, xml-substitute-special): Use it.
6111
6112 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6115 (find-file--read-only): New function.
6116 (find-file-read-only, find-file-read-only-other-window)
6117 (find-file-read-only-other-frame): Use it.
6118 (insert-file-contents-literally): Don't `fset'.
6119 (get-free-disk-space): Use locate-dominating-file.
6120
6121 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6122 function is already compiled.
6123
6124 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6125
6126 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6127
6128 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6129 files on the same host.
6130
6131 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6132
6133 * help-fns.el (describe-function-1): Only call
6134 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6135
6136 2012-07-03 Chong Yidong <cyd@gnu.org>
6137
6138 * xml.el: Protect parser against XML bombs.
6139 (xml-entity-expansion-limit): New variable.
6140 (xml-parse-string, xml-substitute-special): Use it.
6141 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6142
6143 2012-07-03 Glenn Morris <rgm@gnu.org>
6144
6145 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6146 Allow linking to specific messages in debbugs reports (eg 123#5).
6147
6148 2012-07-02 Chong Yidong <cyd@gnu.org>
6149
6150 * xml.el: Fix entity and character reference expansion, allowing
6151 them to expand into markup as per XML spec.
6152 (xml-default-ns): New variable.
6153 (xml-entity-alist): Use XML spec definitions for lt and amp.
6154 (xml-parse-region): Make first two arguments optional.
6155 Discard text properties.
6156 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6157 All callers changed.
6158 (xml-parse-tag): Call xml-parse-tag-1. For backward
6159 compatibility, this function should not modify buffer contents.
6160 (xml-parse-tag-1): Fix opening-tag regexp.
6161 (xml-parse-string): Rewrite, handling entity and character
6162 references properly.
6163 (xml--entity-replacement-text): Signal an error if a parameter
6164 entity is undefined.
6165
6166 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * comint.el (comint-output-filter): Filter out repeated prompts.
6169
6170 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6171 and file-name-absolute-p.
6172 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6173 internal calls.
6174
6175 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6176
6177 Spelling fixes.
6178 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6179 Rename from byte-compile--refiy-function. All uses changed.
6180
6181 2012-07-01 Chong Yidong <cyd@gnu.org>
6182
6183 * xml.el (xml--parse-buffer): New function. Move most of
6184 xml-parse-region here.
6185 (xml-parse-region): Copy region into a temporary buffer, since
6186 parameter entity substitution requires changing buffer contents.
6187 Use xml--parse-buffer.
6188 (xml-parse-file): Use xml--parse-buffer.
6189 (xml-parse-dtd): Make parameter entity substitution work right.
6190 Use proper regexps for ELEMENT declarations (Bug#7172).
6191
6192 2012-06-30 Glenn Morris <rgm@gnu.org>
6193
6194 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6195
6196 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6197 Remove outdated and unnecessary dbus declarations.
6198
6199 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6200
6201 * emacs-lisp/timer.el (timer-until): Subtract results of
6202 float-time, instead of taking float-time of the result of
6203 time-subtract, since float-time signals an error for negative time
6204 arguments.
6205
6206 2012-06-30 Chong Yidong <cyd@gnu.org>
6207
6208 * xml.el (xml-*-re): Convert defvars into defconsts, and
6209 eval-and-compile them so eval-and-compile works on derivatives.
6210 (xml--entity-replacement-text): Use eval-and-comple.
6211
6212 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6213
6214 * vc/vc-git.el (vc-git-registered): Use cache property
6215 `git-registered'.
6216 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6217 `vc-git-working-revision' in order to benefit from the cache.
6218 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6219
6220 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6221
6222 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6223 removed (likely outside Emacs). (Bug#11757)
6224
6225 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/cl-lib.el: Require macroexp.
6228
6229 2012-06-30 Chong Yidong <cyd@gnu.org>
6230
6231 * xml.el: Implement XML parameter entities.
6232 (xml-parameter-entity-alist): New variable.
6233 (xml-parse-region, xml-parse-fragment): Preserve previous values
6234 of xml-entity-alist and xml-parameter-entity-alist, so that
6235 repeated calls on different documents do not change them.
6236 (xml-parse-tag): Fix doctype regexp.
6237 (xml--entity-replacement-text): New function.
6238 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6239 properly requires url retrieval which is unimplemented.
6240 (xml-escape-string): Doc fix.
6241
6242 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6245
6246 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6247
6248 * fringe.el (fringe-mode): Doc fix.
6249
6250 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6253 is non-nil.
6254 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6255 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6256
6257 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6258
6259 * calendar/cal-dst.el (calendar-current-time-zone):
6260 Return calendar-current-time-zone-cache if non-nil.
6261
6262 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6263
6264 * progmodes/which-func.el (which-func-format):
6265 Add mouse-face. (Bug#11698)
6266
6267 2012-06-29 Leo Liu <sdl.web@gmail.com>
6268
6269 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6270
6271 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * minibuffer.el (minibuffer-confirm-exit-commands):
6274 Add completion-at-point (bug#11725).
6275
6276 2012-06-29 Glenn Morris <rgm@gnu.org>
6277
6278 * progmodes/f90.el (f90-font-lock-keywords-2):
6279 Add some preprocessor elements. (Bug#10499)
6280
6281 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6284 Use syntax-propertize (bug#11739).
6285
6286 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6289
6290 2012-06-28 Julien Danjou <julien@danjou.info>
6291
6292 * term.el (term-handle-colors-array): Use a set of new faces to
6293 color the terminal. Also uses :inverse-video property.
6294 (term-default-fg-color): Set to nil by default, deprecate in favor
6295 of `term-face'.
6296 (term-default-bg-color): Set to nil by default, deprecate in favor
6297 of `term-face'.
6298 (term-current-face): Use `term-face' by default.
6299 (term-bold-attribute): Variable deleted.
6300
6301 2012-06-28 Glenn Morris <rgm@gnu.org>
6302
6303 * simple.el (completion-list-mode-finish):
6304 Don't use toggle-read-only. (Since completion-list-mode has
6305 a special mode-class, it wasn't doing anything extra anyway.)
6306
6307 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 Make inlining of other-mode interpreted functions work (bug#11799).
6310 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6311 (byte-compile): Use it to fix compilation of lexical-binding closures.
6312 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6313 function, if needed.
6314
6315 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * help-mode.el (help-make-xrefs): Don't just withstand
6318 cyclic-variable-indirection but any error in documentation-property.
6319
6320 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6321 memory use.
6322 * bindings.el (bindings--define-key): New function.
6323 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6324 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6325 * bindings.el: Use it to purecopy define-key bindings.
6326
6327 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6328
6329 * emacs-lisp/cl.el (flet): Mark obsolete.
6330 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6331 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6332 * progmodes/js.el (js-c-fill-paragraph):
6333 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6334 (ebrowse-switch-member-buffer-to-derived-class):
6335 * play/5x5.el (5x5-solver): Use cl-flet.
6336
6337 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6338 (cl--symbol-function): New macro.
6339 (cl--letf, cl--letf*): Use it.
6340
6341 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6342 Strip "toggle-" if any.
6343
6344 2012-06-27 Glenn Morris <rgm@gnu.org>
6345
6346 * info.el (Info-default-directory-list): Move here from paths.el.
6347 * paths.el: Remove file, which is now empty.
6348 * loadup.el: No longer load "paths".
6349
6350 * custom.el (custom-initialize-delay): Doc fix.
6351
6352 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6353 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6354 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6355 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6356 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6357 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6358 * eshell/eshell.el (eshell-defgroup): Remove alias.
6359
6360 2012-06-27 Chong Yidong <cyd@gnu.org>
6361
6362 * help.el (help-enable-auto-load): New variable.
6363
6364 * help-fns.el (help-fns--autoloaded-p): New function.
6365 (describe-function-1): Refer to a function as "autoloaded" if it
6366 was autoloaded at any time in the past. Perform autoloading if
6367 help-enable-auto-load is non-nil.
6368
6369 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6370
6371 * makefile.w32-in (compile, compile-always): Depend on
6372 update-subdirs, not on subdirs.el. Otherwise, several different
6373 sub-targets of 'bootstrap' running in parallel could
6374 simultaneously write to subdirs.el, producing a garbled file.
6375
6376 2012-06-26 Sam Steingold <sds@gnu.org>
6377
6378 * files.el (file-name-base): New convenience function.
6379 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6380 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6381 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6382 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6383 * textmodes/ispell.el, textmodes/reftex-ref.el:
6384 * textmodes/tex-mode.el: Use it.
6385 Did not touch cedet and org because they are maintained elsewhere.
6386
6387 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6388
6389 * calendar/calendar.el (calendar-exit): Don't try to delete or
6390 iconify last frame. See:
6391 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6392
6393 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6394
6395 * server.el (server-process-filter): Remember dir in the
6396 process's `server-client-directory' properties.
6397
6398 2012-06-24 Chong Yidong <cyd@gnu.org>
6399
6400 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6401 non-tag text.
6402
6403 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6406
6407 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * help-fns.el (describe-variable): Don't croak when doc is not found.
6410 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6411 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6412 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6413 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6414 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6415 ((lambda ..) ..).
6416 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6417
6418 2012-06-23 Chong Yidong <cyd@gnu.org>
6419
6420 * info.el (Info-mouse-follow-link): Accept symbol values of
6421 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6422 (Info-fontify-node): Use Info-link-keymap for all navigation
6423 buttons, with link-args property to perform the desired action.
6424 (Info-link-keymap): Doc fix.
6425 (Info-next-link-keymap, Info-prev-link-keymap)
6426 (Info-up-link-keymap): Delete now-unused keymaps.
6427
6428 2012-06-23 Chong Yidong <cyd@gnu.org>
6429
6430 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6431
6432 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6433 system abbrevs.
6434
6435 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6436
6437 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6440 (bug#11719).
6441
6442 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6443 the requote function doesn't work properly (bug#11714).
6444
6445 2012-06-23 Glenn Morris <rgm@gnu.org>
6446
6447 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6448
6449 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 Further GV/CL cleanups.
6452 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6453 gv-expander.
6454 (gv--defun-declaration): New function.
6455 (defun-declarations-alist): Use it.
6456 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6457 (gv-place): Autoload.
6458 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6459 original definition of dotimes and dolist.
6460 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6461 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6462 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6463 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6464 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6465 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6466 to the function's definition.
6467 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6468 * window.el:
6469 * files.el:
6470 * faces.el:
6471 * env.el: Don't use CL.
6472
6473 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6474
6475 Support higher-resolution time stamps (Bug#9000).
6476
6477 * calendar/time-date.el (with-decoded-time-value): New arg
6478 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6479 (encode-time-value): New optional arg PICO. New type 3.
6480 (time-to-seconds) [!float-time]: Support the new picoseconds
6481 component if it's used.
6482 (seconds-to-time, time-subtract, time-add):
6483 Support ps-resolution time stamps as well.
6484
6485 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6486 (timerp): Timer vectors now have length 9, not 8.
6487 (timer--time): Support new-style (4-part) time stamps.
6488 (timer-next-integral-multiple-of-time): Time stamps now have
6489 picosecond resolution, so take a bit more care about rounding.
6490 (timer-relative-time, timer-inc-time): New optional arg psecs.
6491 (timer-set-time-with-usecs): Set psecs to 0.
6492 (timer--activate): Check psecs component, too.
6493
6494 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6495
6496 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6499 Move the non-essential binding to the post/pre-command-hook where it is
6500 more obviously correct.
6501
6502 * subr.el (read-passwd): Don't use a history at all.
6503 * savehist.el (savehist-save): Remove password saved accidentally
6504 because of the above bug.
6505
6506 2012-06-22 Bastien Guerry <bzg@gnu.org>
6507
6508 * files.el (toggle-read-only): Display a message telling whether
6509 the buffer is read-only or not (bug#11726).
6510
6511 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/gv.el: New file.
6514 * subr.el (push, pop): Extend to generalized variables.
6515 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6516 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6517 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6518 gv-define-simple-setter, and gv-define-expander.
6519 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6520 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6521 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6522 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6523 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6524 gv-letplace.
6525 (cl-defstruct): Don't define setf-method any more.
6526 * emacs-lisp/cl.el (flet): Don't autoload.
6527 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6528 (define-setf-expander, defsetf, define-modify-macro)
6529 (cl-struct-setf-expander): Move from cl-lib.el.
6530 * emacs-lisp/syntax.el:
6531 * emacs-lisp/ewoc.el:
6532 * emacs-lisp/smie.el:
6533 * emacs-lisp/cconv.el:
6534 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6535 (timer--time): Use gv-define-simple-setter.
6536 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6537 to avoid coding-system problems in subr.el. Adjust all users.
6538 (macroexp--maxsize, macroexp-small-p): New functions.
6539 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6540 * scroll-bar.el (scroll-bar-mode):
6541 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6542 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6543 * winner.el (winner-configuration, winner-make-point-alist)
6544 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6545 * files.el (locate-file-completion-table): Avoid list*.
6546
6547 2012-06-22 Chong Yidong <cyd@gnu.org>
6548
6549 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6550 (dired-create-files): Doc fix (Bug#11329).
6551 (dired-do-copy): Doc fix (Bug#11334).
6552 (dired-mark-read-string): Doc fix (Bug#11553).
6553
6554 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6555 Doc fix (Bug#11326).
6556 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6557 (dired-dwim-target): Doc fix.
6558
6559 * wdired.el (wdired-mode): Doc fix.
6560
6561 2012-06-22 Glenn Morris <rgm@gnu.org>
6562
6563 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6564 (pcmpl-rpm-cache-stamp-file): New constant.
6565 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6566 (pcmpl-rpm-packages): Optionally cache list of packages.
6567
6568 * pcmpl-rpm.el (pcmpl-rpm): New group.
6569 (pcmpl-rpm-query-options): New option.
6570 (pcmpl-rpm-packages): No need to inline it.
6571 Use pcmpl-rpm-query-options.
6572
6573 * calendar/calendar.el (calendar-in-read-only-buffer):
6574 Avoid some needless mode changes.
6575
6576 2012-06-21 Chong Yidong <cyd@gnu.org>
6577
6578 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6579 (desktop-path): Remove . from the default value (Bug#10977).
6580 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6581
6582 2012-06-20 Chong Yidong <cyd@gnu.org>
6583
6584 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6585
6586 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6587
6588 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6589 (bug#11201).
6590
6591 2012-06-20 Chong Yidong <cyd@gnu.org>
6592
6593 * term.el (term-window-width): Handle the case of a missing right
6594 fringe (Bug#8837).
6595 (term-check-size): Use window-text-height (Bug#5445).
6596 (term-mode): Use define-derived-mode. Minor cleanups.
6597 Set font-lock-defaults (Bug#7692).
6598 (term-move-columns, term-insert-char, term-emulate-terminal)
6599 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6600
6601 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/ange-ftp.el (ange-ftp-get-passwd):
6604 Bind `enable-recursive-minibuffers'.
6605 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6606
6607 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6608
6609 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6610
6611 2012-06-19 Glenn Morris <rgm@gnu.org>
6612
6613 * progmodes/python.el (python-mode): Derive from prog-mode.
6614
6615 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6616
6617 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6618 (edt-user-menu-bar-update-buffers): New functions.
6619 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6620
6621 2012-06-19 Chong Yidong <cyd@gnu.org>
6622
6623 * subr.el (with-selected-window): Preserve the selected window's
6624 terminal's top-frame (Bug#4702).
6625
6626 * window.el (save-selected-window): Likewise.
6627
6628 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * progmodes/python.el (python-rx-constituents): Move backquote.
6631 (python-skeleton-define, python-define-auxiliary-skeleton):
6632 Use `declare'.
6633
6634 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * minibuffer.el (read-file-name-default): Revert the patch from
6637 2012-06-17.
6638
6639 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6642 (pcase--u1, pcase--q1): Don't use apply-partially.
6643
6644 2012-06-18 Glenn Morris <rgm@gnu.org>
6645
6646 * progmodes/python.el (python-proc, python-buffer)
6647 (python-send-receive, python-send-string): Fix obsolete versions.
6648
6649 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6650
6651 * window.el (special-display-p): Completely remove stringp
6652 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6653
6654 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6655
6656 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6657
6658 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6659
6660 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6661 * net/tramp-sh.el (tramp-maybe-open-connection):
6662 Throw if `non-essential' is non-nil.
6663
6664 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6665
6666 * window.el (special-display-p): Signal an error if BUFFER-NAME
6667 is not a string (Bug#11713).
6668
6669 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6670
6671 * progmodes/python.el (python-info-beginning-of-backslash):
6672 Rename from python-info-beginning-of-backlash, as a spelling fix.
6673
6674 2012-06-17 Chong Yidong <cyd@gnu.org>
6675
6676 * term.el (term-emulate-terminal): If term-check-size is called,
6677 move point to the process mark without resetting point (Bug#4635).
6678
6679 2012-06-17 Glenn Morris <rgm@gnu.org>
6680
6681 * international/mule-cmds.el (mule-menu-keymap)
6682 (set-language-environment, set-locale-environment): Doc tweaks.
6683
6684 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6685
6686 * cus-face.el (custom-face-attributes): Add wave-style underline
6687 attribute.
6688 * faces.el (set-face-attribute): Update docstring to describe
6689 wave-style underline attribute.
6690
6691 2012-06-16 Chong Yidong <cyd@gnu.org>
6692
6693 * term/xterm.el (terminal-init-xterm): Discard input before
6694 querying background mode (Bug#10959).
6695
6696 2012-06-16 Stefan Merten <smerten@oekonux.de>
6697
6698 * textmodes/rst.el: Added and corrected some comments.
6699 (rst-re-alist-def): Improve symbol syntax.
6700 (rst-mode-syntax-table): Correct syntax entries.
6701 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6702 (rst-official-version, rst-official-cvs-rev): Update version
6703 information.
6704
6705 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6706
6707 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6708 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6709
6710 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6711
6712 * progmodes/python.el: New python.el merge.
6713 (python-guess-indent): Obsolete var.
6714 (python-indent-guess-indent-offset): New defcustom.
6715 (python-indent): Obsolete var.
6716 (python-indent-offset): New defcustom.
6717 (python-python-command, python-jython-command): Delete var.
6718 (python-shell-interpreter): New defcustom.
6719 (python-pdbtrack-do-tracking-p): Delete var.
6720 (python-pdbtrack-activate): New defcustom.
6721 (python-use-skeletons): Obsolete var.
6722 (python-skeleton-autoinsert): New defcustom.
6723 (inferior-python-filter-regexp, python-continuation-offset)
6724 (python-honour-comment-indentation, python-indent-string-contents)
6725 (python-jython-packages, python-mode-hook)
6726 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6727 (python-shell-prompt-alist)
6728 (python-source-modes): Delete defcustoms.
6729 (python-check-buffer-name, python-eldoc-setup-code)
6730 (python-eldoc-string-code, python-ffap-setup-code)
6731 (python-ffap-string-code, python-fill-comment-function)
6732 (python-fill-decorator-function, python-fill-paren-function)
6733 (python-fill-string-function, python-imenu-include-defun-type)
6734 (python-imenu-make-tree, python-imenu-subtree-root-label)
6735 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6736 (python-shell-compilation-regexp-alist)
6737 (python-shell-completion-module-string-code)
6738 (python-shell-completion-pdb-string-code)
6739 (python-shell-completion-setup-code)
6740 (python-shell-completion-string-code)
6741 (python-shell-enable-font-lock, python-shell-exec-path)
6742 (python-shell-extra-pythonpaths)
6743 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6744 (python-shell-process-environment)
6745 (python-shell-prompt-block-regexp)
6746 (python-shell-prompt-output-regexp)
6747 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6748 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6749 (python-shell-virtualenv-path): New defcustoms.
6750 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6751 (inferior-python-mode-syntax-table, python--prompt-regexp)
6752 (python-buffer, python-command python-python-command)
6753 (python-default-template, python-imports, python-indent-index)
6754 (python-indent-list, python-indent-list-length)
6755 (python-mode-running, python-pdbtrack-is-tracking-p)
6756 (python-preoutput-continuation, python-preoutput-leftover)
6757 (python-preoutput-result, python-preoutput-skip-next-prompt)
6758 (python-prev-dir/file, python-recursing)
6759 (python-saved-check-command, python-version-checked)
6760 (python-which-func-length-limit)
6761 (view-return-to-alist): Delete vars.
6762 (python-check-custom-command, python-dotty-syntax-table)
6763 (python-imenu-index-alist, python-indent-current-level)
6764 (python-indent-dedenters, python-indent-levels)
6765 (python-nav-beginning-of-defun-regexp)
6766 (python-nav-list-defun-positions-cache)
6767 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6768 (python-shell-internal-buffer)
6769 (python-skeleton-available): New vars.
6770 (def-python-skeleton): Delete macro.
6771 (python-skeleton-define): New macro.
6772 (python-define-auxiliary-skeleton, python-rx): New macros.
6773 (python-insert-class): Delete command.
6774 (python-skeleton-class): New command.
6775 (python-insert-def): Delete command.
6776 (python-skeleton-def): New command.
6777 (python-insert-for): Delete command.
6778 (python-skeleton-for): New command.
6779 (python-insert-if): Delete command.
6780 (python-skeleton-if): New command.
6781 (python-insert-try/except, python-insert-try/finally): Delete commands.
6782 (python-skeleton-try): New command.
6783 (python-insert-while): Delete command.
6784 (python-skeleton-while): New command.
6785 (python-backspace): Delete command.
6786 (python-indent-dedent-line-backspace): New command.
6787 (python-electric-colon): Delete command.
6788 (python-indent-electric-colon): New command.
6789 (python-guess-indent): Delete command.
6790 (python-indent-guess-indent-offset): New command.
6791 (python-shift-left): Delete command.
6792 (python-indent-shift-left): New command.
6793 (python-shift-right): Delete command.
6794 (python-indent-shift-right): New command.
6795 (python-find-function): Delete command.
6796 (python-nav-jump-to-defun): New command.
6797 (python-next-statement): Delete command.
6798 (python-nav-forward-sentence): New command.
6799 (python-previous-statement): Delete command.
6800 (python-nav-backward-sentence): New command.
6801 (python-fill-paragraph): Delete command.
6802 (python-fill-paragraph-function): New command.
6803 (python-send-buffer): Delete command.
6804 (python-shell-send-buffer): New command.
6805 (python-send-defun): Delete command.
6806 (python-shell-send-defun): New command.
6807 (python-send-region, python-send-region-and-go): Delete commands.
6808 (python-shell-send-region)
6809 (python-shell-switch-to-shell): New commands.
6810 (python-send-string): Delete command.
6811 (python-shell-send-string): New command.
6812 (python-switch-to-python): Delete command.
6813 (python-shell-switch-to-shell): New command.
6814 (python-describe-symbol): Delete command.
6815 (python-eldoc-at-point): New command.
6816 (python--set-prompt-regexp, python-args-to-list)
6817 (python-after-info-look, python-check-version)
6818 (python-check-comint-prompt, python-find-imports)
6819 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6820 (python-unload-function, python-expand-template)
6821 (python-maybe-jython, python-preoutput-filter)
6822 (python-pdbtrack-get-source-buffer)
6823 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6824 (python-pdbtrack-toggle-stack-tracking)
6825 (python-pdbtrack-track-stack-file, python-initial-text)
6826 (python-first-word, python-comment-line-p, python-send-command)
6827 (python-setup-brm, python-sentinel, python-set-proc)
6828 (python-skip-out, python-input-filter, python-outdent-p)
6829 (python-outline-level, python-backslash-continuation-line-p)
6830 (python-end-of-block, python-end-of-statement, python-mark-block)
6831 (python-beginning-of-block, python-beginning-of-statement)
6832 (python-blank-line-p, python-beginning-of-string)
6833 (python-open-block-statement-p): Delete functions.
6834 (python-indent-line, python-indent-line-1): Delete functions.
6835 (python-indent-line): New function.
6836 (python-indentation-levels): Delete function.
6837 (python-indent-calculate-levels): New function.
6838 (python-proc): Delete function.
6839 (python-shell-get-process): New function.
6840 (python-send-receive): Delete function.
6841 (python-shell-send-string-no-output): New function.
6842 (python-module-path): Delete function.
6843 (python-ffap-module-path): New function.
6844 (python-completion-at-point)
6845 (python-symbol-completions): Delete functions.
6846 (python-completion-complete-at-point): New function.
6847 (python-load-file): Delete function.
6848 (python-shell-send-file): New function.
6849 (python-calculate-indentation): Delete function.
6850 (python-indent-calculate-indentation): New function.
6851 (python-skip-comments/blanks): Delete function.
6852 (python-util-forward-comment): New function.
6853 (python-continuation-line-p): Delete function.
6854 (python-info-continuation-line-p): New function.
6855 (python-which-func, python-current-defun): Delete function.
6856 (python-info-current-defun): New function.
6857 (python-beginning-of-defun): Delete function.
6858 (python-nav-beginning-of-defun): New function.
6859 (python-close-block-statement-p)
6860 (python-block-end-p): Delete function.
6861 (python-info-closing-block): New function.
6862 (python-comint-output-filter-function)
6863 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6864 (python-fill-comment, python-fill-decorator, python-fill-paren)
6865 (python-fill-string, python-imenu-make-element-tree)
6866 (python-imenu-make-tree, python-imenu-tree-assoc)
6867 (python-indent-context, python-indent-dedent-line)
6868 (python-indent-line-function)
6869 (python-indent-post-self-insert-function)
6870 (python-indent-toggle-levels)
6871 (python-info-assignment-continuation-line-p)
6872 (python-info-beginning-of-backlash)
6873 (python-info-block-continuation-line-p)
6874 (python-info-closing-block-message)
6875 (python-info-line-ends-backslash-p)
6876 (python-info-looking-at-beginning-of-defun)
6877 (python-info-ppss-context, python-info-ppss-context-type)
6878 (python-nav-list-defun-positions, python-nav-read-defun)
6879 (python-nav-sentence-end, python-nav-sentence-start)
6880 (python-pdbtrack-comint-output-filter-function)
6881 (python-pdbtrack-set-tracked-buffer)
6882 (python-shell-calculate-exec-path)
6883 (python-shell-calculate-process-environment)
6884 (python-shell-completion--do-completion-at-point)
6885 (python-shell-completion--get-completions)
6886 (python-shell-completion-complete-at-point)
6887 (python-shell-completion-complete-or-indent)
6888 (python-shell-get-or-create-process)
6889 (python-shell-get-process-name)
6890 (python-shell-internal-get-or-create-process)
6891 (python-shell-internal-get-process-name)
6892 (python-shell-internal-send-string, python-shell-make-comint)
6893 (python-shell-parse-command, python-shell-send-setup-code)
6894 (python-skeleton-add-menu-items)
6895 (python-util-clone-local-variables, python-util-position)
6896 (run-python-internal, python-indentation-levels)
6897 (python-nav-beginning-of-defun)
6898 (python-completion-complete-at-point): New functions.
6899 (run-python): Change arguments. New API requirements.
6900
6901 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6902
6903 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6904 (bug#11649).
6905
6906 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6907 (macroexp--expand-all): Use it.
6908
6909 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6910 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6911 Use `cl-function' instead.
6912
6913 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6914
6915 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6916 Suggested by Stefan Monnier while discussing bug#11657.
6917
6918 2012-06-14 Sam Steingold <sds@gnu.org>
6919
6920 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6921
6922 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6923
6924 * play/doctor.el (doctor-doc): Remove parameter and use
6925 doctor-sent instead of sent.
6926 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6927
6928 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * files.el: Require cl-lib.
6931 (file-name-non-special): Replace case -> cl-case.
6932
6933 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6934
6935 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6936 mapping from #' to function*.
6937
6938 2012-06-13 Chong Yidong <cyd@gnu.org>
6939
6940 * mouse.el (mouse-drag-track): Do not set the mark if the user
6941 releases the mouse without selecting anything (Bug#11588).
6942
6943 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6946 as well (bug#11646).
6947
6948 * loadup.el: Count byte-code functions as well.
6949
6950 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6951 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6952
6953 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6954 (bug#11649). Add cl-defun and cl-defmacro.
6955
6956 2012-06-13 Drew Adams <drew.adams@oracle.com>
6957
6958 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6959 Fix last change.
6960
6961 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6962
6963 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6964 Otherwise, it blocks in batch mode.
6965
6966 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * help-mode.el (bookmark-make-record-default): Declare.
6969
6970 2012-06-13 Chong Yidong <cyd@gnu.org>
6971
6972 * emacs-lisp/package.el (list-packages): Compute a list of
6973 packages that are newly-available since the last list-packages
6974 invocation.
6975 (package-menu--new-package-list): New var.
6976 (package-menu--generate, package-menu--print-info)
6977 (package-menu--status-predicate, package-menu-mark-install):
6978 Handle new status label "new".
6979
6980 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6983 conversion to backquotes.
6984
6985 2012-06-12 Chong Yidong <cyd@gnu.org>
6986
6987 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6988 Rename from gud-inhibit-global-bindings.
6989
6990 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6991
6992 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6993 hook from nxml-glyph-set-hook.
6994
6995 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6996 declaration.
6997
6998 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6999
7000 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7001 Convert to defcustom.
7002
7003 2012-06-12 Drew Adams <drew.adams@oracle.com>
7004
7005 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7006 New functions.
7007 (help-mode): Use them.
7008
7009 2012-06-11 Glenn Morris <rgm@gnu.org>
7010
7011 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7012 Use preprocessor face for directives.
7013 (fortran-directive-re): Doc fix.
7014
7015 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7018 conversion to backquotes (bug#11652).
7019
7020 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7021 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7022 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7023 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7024 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7025 (cl-ninth, cl-tenth): Mark them as inlinable.
7026 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7027 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7028 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7029 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7030 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7031 (cl-list*, cl-adjoin): Don't put an autoload manually.
7032 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7033 (cl--compiler-macro-list*): Add autoload cookie.
7034 (cl--compiler-macro-cXXr): New function.
7035
7036 * help-fns.el (help-fns--compiler-macro): New function extracted from
7037 describe-function-1; follow aliases and use `compiler-macro' property.
7038 (describe-function-1): Use it.
7039
7040 2012-06-11 Chong Yidong <cyd@gnu.org>
7041
7042 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7043 is uninstalled, if imagemagick is installed.
7044
7045 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * emacs-lisp/cl-lib.el: Use lexical-binding.
7048 (cl-map-extents, cl-maclisp-member): Remove.
7049 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7050 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7051 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7052 * emacs-lisp/cl-extra.el: Use lexical-binding.
7053 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7054 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7055 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7056 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7057 * emacs-lisp/cl-seq.el: Use lexical-binding.
7058 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7059 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7060 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7061 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7062 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7063 CL's internals.
7064
7065 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7066
7067 Sync with Tramp 2.2.6-pre.
7068
7069 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7070 `print-length' and `print-level' to nil, in order to avoid
7071 truncation. Reported by Christopher Schmidt
7072 <christopher@ristopher.com>.
7073
7074 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7075
7076 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7077 New defmacro.
7078 (tramp-compat-copy-directory): Add optional argument
7079 COPY-CONTENTS. It is not handled yet.
7080
7081 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7082 (tramp-ftp-file-name-p): Simplify.
7083
7084 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7085 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7086 connection vector.
7087
7088 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7089 (tramp-methods): Do not use `tramp-password-end-of-line'.
7090 (tramp-completion-function-alist-putty): Handle UNIX case.
7091 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7092 (tramp-do-file-attributes-with-stat)
7093 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7094 gid as real numbers. They could run out of integer range on cygwin.
7095 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7096 (tramp-sh-handle-expand-file-name): Handle hops.
7097 (tramp-open-connection-setup-interactive-shell):
7098 Use `tramp-cleanup'. Move check for busyboxes ...
7099 (tramp-find-shell): ... here. Simplify implementation.
7100 Set "remote-shell" property also for alternative shells.
7101 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7102 If failing, a regular file would be written otherwise.
7103 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7104 (tramp-find-inline-encoding): Cache the coding commands in the
7105 process cache. Apply test command on the remote side, if defined.
7106 (tramp-find-inline-compress): Cache the compress commands in the
7107 process cache.
7108 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7109 when requested. Handle hops.
7110 (tramp-current-connection): New defvar.
7111 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7112 Throw `suppress', if there was a failed connection shortly before.
7113 Handle user interrupt. (Bug#10187)
7114 (tramp-get-inline-compress, tramp-get-inline-coding):
7115 Read connection properties from the process cache.
7116
7117 * net/tramp-smb.el (tramp-smb-server-version)
7118 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7119 New defconsts.
7120 (tramp-smb-prompt): Extend for powershell prompt.
7121 (tramp-smb-file-name-handler-alist): Add handlers for
7122 `process-file', `shell-command' and `start-file-process'.
7123 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7124 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7125 (tramp-smb-file-name-p): Simplify.
7126 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7127 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7128 (tramp-smb-shell-quote-argument): New defuns.
7129 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7130 Implement using "tar". By this, time-stamps are preserved.
7131 (tramp-smb-handle-copy-file): Handle also the case of directories.
7132 (tramp-smb-do-file-attributes-with-stat)
7133 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7134 Use `tramp-get-connection-buffer').
7135 (tramp-smb-handle-rename-file): Use "rename", when source and
7136 target are on the same share.
7137 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7138 Use `tramp-smb-server-version'.
7139 (tramp-smb-wait-for-output): Remove prompt.
7140
7141 * net/tramp.el (top): Require 'cl.
7142 (tramp-methods, tramp-rsh-end-of-line):
7143 Remove `tramp-password-end-of-line' from docstring.
7144 (tramp-save-ad-hoc-proxies): New defcustom.
7145 (tramp-completion-function-alist): Adapt docstring.
7146 (tramp-default-password-end-of-line): Remove defcustom.
7147 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7148 (tramp-user-regexp, tramp-file-name-regexp-unified)
7149 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7150 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7151 (tramp-remote-file-name-spec-regexp): New defconst.
7152 (tramp-file-name-structure): Extend structure for hops.
7153 (tramp-get-method-parameter): Move up.
7154 (tramp-file-name-p, tramp-dissect-file-name)
7155 (with-parsed-tramp-file-name): Handle hops.
7156 (tramp-file-name-hop): New defun.
7157 (tramp-make-tramp-file-name): New optional arg HOP.
7158 (tramp-message-show-progress-reporter-message): New defvar.
7159 (tramp-with-progress-reporter): Use it. We cannot use
7160 `tramp-message-show-message' here, because this suppresses also
7161 error buffers.
7162 (tramp-error-with-buffer): Suppress buffer view, if
7163 `tramp-message-show-message' is nil.
7164 Use `tramp-get-connection-buffer'.
7165 (tramp-cleanup): New defun.
7166 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7167 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7168 an error unchanged.
7169 (tramp-completion-handle-file-name-all-completions): Handle hops.
7170 Fix an error when called from ido.
7171 (tramp-completion-dissect-file-name): Use better local variable
7172 name. Add hop to the vector.
7173 (tramp-handle-insert-file-contents): Use progress-reporter for the
7174 whole scenario.
7175 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7176 to `t'.
7177 (tramp-check-for-regexp): Simplify search.
7178 (tramp-enter-password): Remove it. Move implementation ...
7179 (tramp-action-password): ... here.
7180 (tramp-mode-string-to-int, tramp-local-host-p)
7181 (tramp-make-tramp-temp-file, tramp-read-passwd)
7182 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7183 Set tramp-autoload cookie.
7184
7185 * net/trampver.el: Update release number.
7186
7187 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7188 Michael Albinus <michael.albinus@gmx.de>
7189
7190 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7191 (tramp-parse-group, tramp-parse-file)
7192 (tramp-parse-shostkeys-sknownhosts): New defuns.
7193 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7194 (tramp-parse-shosts-group, tramp-parse-sconfig)
7195 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7196 (tramp-parse-sknownhosts, tramp-parse-hosts)
7197 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7198 Use them.
7199 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7200 (tramp-parse-putty-group): Don't narrow.
7201 (tramp-parse-putty): Make a loop.
7202 (tramp-file-name-handler): Catch the `suppress' signal.
7203
7204 2012-06-11 Chong Yidong <cyd@gnu.org>
7205
7206 * image.el (imagemagick-register-types): Put the ImageMagick entry
7207 at the end of image-type-file-name-regexps.
7208
7209 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7210
7211 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7212 (pcase, pcase-let*, pcase-dolist): Use them.
7213
7214 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * emacs-lisp/pcase.el (pcase--let*): New function.
7217 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7218 (pcase--expand): Use macroexp-let².
7219
7220 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7223 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7224 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7225 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7226 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7227 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7228
7229 2012-06-10 Glenn Morris <rgm@gnu.org>
7230
7231 * mail/rmail.el (rmail-yank-current-message): Leave point at
7232 correct position. (Bug#11660)
7233
7234 2012-06-10 Chong Yidong <cyd@gnu.org>
7235
7236 * allout-widgets.el: Fix code header.
7237
7238 2012-06-10 Chong Yidong <cyd@gnu.org>
7239
7240 * cus-edit.el (customize-changed-options-previous-release):
7241 Bump to 24.1.
7242
7243 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7244
7245 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7246
7247 2012-06-09 Chong Yidong <cyd@gnu.org>
7248
7249 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7250
7251 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7252
7253 * window.el (special-display-popup-frame): Don't use
7254 window--display-buffer (Bug#11651).
7255
7256 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7257
7258 Fix parallel builds: make sure loaddefs.el is not being written
7259 while Lisp files are compiled.
7260 (compile): Don't depend on 'mh-autoloads'.
7261 (compile-CMD, compile-SH): Depend on 'autoloads'.
7262 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7263
7264 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7265
7266 2012-06-09 Chong Yidong <cyd@gnu.org>
7267
7268 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7269 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7270 Doc fixes (Bug#11225).
7271
7272 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7275 a function if there's a clear indication that it has a compiler-macro.
7276 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7277 (macro-declarations-alist): Add arglist to declaration functions.
7278 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7279 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7280 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7281 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7282 Also add autoload to find the compiler macro.
7283 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7284 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7285 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7286 (cl--compiler-macro-get): New functions, replacing calls to
7287 cl-define-compiler-macro.
7288 (cl-typep) [compiler-macro]: Use macroexp-let².
7289
7290 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7291
7292 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7293 string properly, fixes Bug#11473.
7294
7295 2012-06-08 Chong Yidong <cyd@gnu.org>
7296
7297 * faces.el (set-face-attribute): Doc fix.
7298 (modify-face): Don't use :bold and :italic.
7299 (error, warning, success): Tweak definitions.
7300
7301 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7302 (custom-modified, custom-set, custom-changed, custom-themed)
7303 (custom-saved, custom-button, custom-button-mouse)
7304 (custom-button-pressed, custom-state, custom-comment-tag)
7305 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7306 (custom-group-subtitle): Use new-style face specs.
7307 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7308 (custom-set-face, custom-changed-face, custom-saved-face)
7309 (custom-button-face, custom-button-pressed-face)
7310 (custom-documentation-face, custom-state-face)
7311 (custom-comment-face, custom-comment-tag-face)
7312 (custom-variable-tag-face, custom-variable-button-face)
7313 (custom-face-tag-face, custom-group-tag-face-1)
7314 (custom-group-tag-face): Remove obsolete face alias.
7315
7316 * epa.el (epa-validity-high, epa-validity-medium)
7317 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7318 (epa-field-name, epa-field-body):
7319 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7320 (font-lock-keyword-face, font-lock-builtin-face)
7321 (font-lock-function-name-face, font-lock-variable-name-face)
7322 (font-lock-type-face, font-lock-constant-face):
7323 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7324 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7325 * speedbar.el (speedbar-button-face, speedbar-file-face)
7326 (speedbar-directory-face, speedbar-tag-face)
7327 (speedbar-selected-face, speedbar-highlight-face)
7328 (speedbar-separator-face):
7329 * whitespace.el (whitespace-newline, whitespace-space)
7330 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7331 (whitespace-line, whitespace-space-before-tab)
7332 (whitespace-space-after-tab, whitespace-indentation)
7333 (whitespace-empty):
7334 * emulation/cua-base.el (cua-global-mark):
7335 * eshell/em-prompt.el (eshell-prompt):
7336 * net/newst-plainview.el (newsticker-new-item-face)
7337 (newsticker-old-item-face, newsticker-immortal-item-face)
7338 (newsticker-obsolete-item-face, newsticker-date-face)
7339 (newsticker-statistics-face, newsticker-default-face):
7340 * net/newst-reader.el (newsticker-feed-face)
7341 (newsticker-extra-face, newsticker-enclosure-face):
7342 * net/newst-treeview.el (newsticker-treeview-face)
7343 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7344 (newsticker-treeview-immortal-face)
7345 (newsticker-treeview-obsolete-face)
7346 (newsticker-treeview-selection-face):
7347 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7348 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7349 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7350 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7351 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7352 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7353 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7354 (mpuz-text):
7355 * progmodes/vera-mode.el (vera-font-lock-number)
7356 (vera-font-lock-function, vera-font-lock-interface):
7357 * textmodes/table.el (table-cell): Use new-style face specs, and
7358 don't use the old :bold and :italic attributes.
7359
7360 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7361 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7362 (ebrowse-member-class, ebrowse-progress): Likewise.
7363 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7364 (ebrowse-file-name-face, ebrowse-default-face)
7365 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7366 (ebrowse-progress-face): Remove obsolete faces.
7367
7368 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7369 Inherit from error and warning faces respectively.
7370
7371 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7372 Likewise.
7373 (flyspell-incorrect-face, flyspell-duplicate-face):
7374 Remove obsolete aliases.
7375
7376 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7377
7378 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7379 Avoid infloop.
7380
7381 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * startup.el (argv, argi): Make lexically scoped.
7384 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7385 * emacs-lisp/cl-macs.el: Use lexical-binding.
7386 Rename cl-bind-* to cl--bind-*.
7387 * files.el: Don't require `cl' since it doesn't use it.
7388 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7389
7390 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7391
7392 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7393 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7394 instead of calling external sort utility.
7395 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7396
7397 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7398
7399 * descr-text.el (describe-char): Mention how to insert the
7400 character, if the current input method doesn't support it.
7401 See the discussion in this thread for the details:
7402 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7403
7404 2012-06-08 Sam Steingold <sds@gnu.org>
7405
7406 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7407 XF86Back to previous-buffer.
7408 (minibuffer-local-map): Bind them to next-history-element and
7409 previous-history-element respectively.
7410 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7411 help-go-back respectively.
7412 * info.el (Info-mode-map): Bind them to Info-history-forward and
7413 Info-history-back respectively.
7414 These are the keys next to Up on the ThinkPad keyboard.
7415
7416 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7419 * emacs-lisp/cl-macs.el: Provide itself.
7420 (cl--labels-convert-cache): New var.
7421 (cl--labels-convert): New function.
7422 (cl-flet, cl-labels): New implementation with new semantics, relying on
7423 lexical-binding.
7424 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7425 (cl-closure-vars, cl--function-convert-cache)
7426 (cl--function-convert): Move from cl-macs.el.
7427 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7428 rename by removing the "cl-" prefix.
7429 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7430
7431 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7434 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7435 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7436 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7437 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7438 (cl-hash-table-count): Add old compatibility aliases.
7439
7440 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7441 Use macroexpand-all-environment instead.
7442 (cl--old-macroexpand): New var.
7443 (cl--sm-macroexpand): New function.
7444 (cl-symbol-macrolet): Use it during macro expansion.
7445 (cl--function-convert-cache): New var.
7446 (cl--function-convert): New function, extracted from
7447 cl-macroexpand-all.
7448 (cl-lexical-let): Use it.
7449
7450 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7451 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7452 (cl-member): Remove old alias.
7453
7454 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7455 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7456 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7457 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7458 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7459 (cl-macroexpand-cmacs): Remove var.
7460 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7461 Use macroexpand-all instead.
7462
7463 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7466 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7467 (macroexp-copyable-p): New functions and macros.
7468 * emacs-lisp/edebug.el (edebug-unwrap):
7469 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7470 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7471 (pcase--let*): Remove.
7472 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7473 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7474 macroexp-const-p instead.
7475 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7476
7477 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7478 instead of "cl-" for internal definitions. Use macroexp-const-p.
7479 (cl-old-bc-file-form): Remove var.
7480 (cl-const-exprs-p): Remove fun.
7481 (cl-labels, cl-macrolet): Use backquote.
7482 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7483 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7484 (cl-define-setf-expander): Rename from cl-define-setf-method.
7485 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7486
7487 * international/mule-cmds.el: Don't require CL.
7488 (view-hello-file): Don't use `letf'.
7489
7490 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * tmm.el (tmm-prompt): Use string-prefix-p.
7493 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7494 (tmm-add-prompt): Use minibuffer-completion-help.
7495 (tmm-delete-map): Remove.
7496
7497 * subr.el (kbd): Make it its own function.
7498
7499 2012-06-07 Stefan Merten <smerten@oekonux.de>
7500
7501 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7502 Silence compiler warnings. Fix versions.
7503 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7504 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7505 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7506 (rst-package-emacs-version-alist): Correct Emacs version to
7507 represent major merge with upstream.
7508 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7509
7510 2012-06-06 Glenn Morris <rgm@gnu.org>
7511
7512 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7513 Only print environment variables if set.
7514
7515 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7518 (macroexp--cons): Rename from maybe-cons.
7519 (macroexp--accumulate): Rename from macroexp-accumulate.
7520 (macroexp--all-forms): Rename from macroexpand-all-forms.
7521 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7522 (macroexp--expand-all): Rename from macroexpand-all-1.
7523
7524 2012-06-06 Sam Steingold <sds@gnu.org>
7525
7526 * calendar/calendar.el (calendar-in-read-only-buffer):
7527 Call `special-mode' to enable the standard read-only keybindings.
7528
7529 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7532 with "loading" messages (bug#11635).
7533
7534 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7535
7536 * files.el (enable-remote-dir-locals): New option.
7537 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7538
7539 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7540 Ensure, that the temp directory is local.
7541
7542 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7543 `temporary-file-directory'.
7544
7545 * progmodes/python.el (python-send-region): Ensure, that the
7546 temporary file is created also in the remote case.
7547
7548 2012-06-06 Glenn Morris <rgm@gnu.org>
7549
7550 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7551 (vc-rcs-update-changelog): Use it.
7552
7553 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7554
7555 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7556 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7557 (vc-sccs-diff): Replace use of the external vcdiff script.
7558
7559 2012-06-05 Glenn Morris <rgm@gnu.org>
7560
7561 * ledit.el: Move to obsolete/.
7562
7563 2012-06-05 Sam Steingold <sds@gnu.org>
7564
7565 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7566 patch (Bug#11140).
7567
7568 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * emacs-lisp/cust-print.el: Move to obsolete.
7571
7572 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7573 compiler-macro expansion.
7574
7575 Add native compiler-macro support.
7576 * emacs-lisp/macroexp.el (macroexpand-all-1):
7577 Support compiler-macros directly. Properly follow aliases and apply
7578 the compiler macros more thoroughly.
7579 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7580 macroexpand now properly follows aliases.
7581 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7582 (cl-compiler-macroexpand): Use new prop.
7583 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7584
7585 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7586
7587 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7588
7589 * window.el (get-lru-window, get-mru-window, get-largest-window):
7590 New argument NOT-SELECTED to avoid picking the selected window.
7591 (window--display-buffer-1, window--display-buffer-2): Replace by
7592 new function window--display-buffer
7593 (display-buffer-same-window, display-buffer-reuse-window)
7594 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7595 Use window--display-buffer.
7596 (display-buffer-use-some-window): Remove temporary dedication
7597 hack by calling get-lru-window and get-largest-window with
7598 NOT-SELECTED argument non-nil. Call window--display-buffer.
7599
7600 2012-06-05 Glenn Morris <rgm@gnu.org>
7601
7602 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7603 Replace external vcdiff script.
7604
7605 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7608
7609 2012-06-04 Chong Yidong <cyd@gnu.org>
7610
7611 * image.el (imagemagick-types-inhibit): Revert last change.
7612 Add INFO and M.
7613 (imagemagick-enabled-types): Remove CIN and EPS*.
7614
7615 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * emacs-lisp/cl-lib.el: Rename from cl.el.
7618 * emacs-lisp/cl.el: New compatibility file.
7619 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7620 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7621 to obey the "cl-" prefix.
7622 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7623
7624 2012-06-03 Glenn Morris <rgm@gnu.org>
7625
7626 * emacs-lisp/authors.el (authors-aliases): Addition.
7627
7628 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7629 Fix :version.
7630
7631 2012-06-03 Stefan Merten <smerten@oekonux.de>
7632
7633 * textmodes/rst.el: Add comments.
7634 (rst-transition, rst-adornment): New faces.
7635 (rst-adornment-faces-alist): Make default safe to reevaluate.
7636 Fixes
7637 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7638 Improve customization tags.
7639 (rst-define-level-faces): Clarify meaning.
7640
7641 2012-06-03 Chong Yidong <cyd@gnu.org>
7642
7643 * progmodes/compile.el (compilation-mode-line-fail)
7644 (compilation-mode-line-run, compilation-mode-line-exit):
7645 New faces.
7646 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7647
7648 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7649
7650 * progmodes/which-func.el (which-func-update-ediff-windows):
7651 New function. Use it in ediff-select-hook (Bug#11478).
7652
7653 2012-06-03 Chong Yidong <cyd@gnu.org>
7654
7655 * bindings.el: Remove explicit help text from format-mode-line.
7656 It is now supplied by mode-line-default-help-echo.
7657 (mode-line-front-space, mode-line-end-spaces)
7658 (mode-line-misc-info): New variables.
7659 (mode-line-modes, mode-line-position): Move the default value to
7660 the variable definition.
7661 (mode-line-default-help-echo): New defcustom.
7662 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7663 (mode-line-modified-help-echo): New functions.
7664 (mode-line-mule-info, mode-line-modified): Use them.
7665 (mode-line-eol-desc, propertized-buffer-identification):
7666 Consistency fixes for help text.
7667 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7668 set-buffer-file-coding-system (Bug#289).
7669 (mode-line-mule-info-help-echo): Update help text.
7670
7671 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * simple.el (execute-extended-command): Set real-this-command
7674 (bug#11506).
7675
7676 2012-06-02 Chong Yidong <cyd@gnu.org>
7677
7678 Remove incorrect uses of "modeline" in comments, docstrings, and
7679 function/variable names (Bug#10329).
7680
7681 * cus-edit.el (mode-line):
7682 * dframe.el (dframe-mouse-hscroll):
7683 * emacs-lisp/re-builder.el:
7684 * emacs-lisp/easy-mmode.el (define-minor-mode):
7685 * frame.el (set-frame-name):
7686 * help.el (lookup-minor-mode-from-indicator):
7687 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7688 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7689 (c-toggle-hungry-state):
7690 * progmodes/antlr-mode.el (antlr-language-alist):
7691 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7692 * progmodes/vhdl-mode.el (vhdl-mode):
7693 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7694 * term/ns-win.el (ns-face-at-pos):
7695 * term/sup-mouse.el (sup-mouse-report):
7696 * textmodes/flyspell.el (flyspell-mode-line-string):
7697 * textmodes/ispell.el (ispell-highlight-face):
7698 * textmodes/reftex-global.el:
7699 * vc/vc-arch.el (vc-arch-mode-line-string):
7700 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7701 * vc/vc-git.el (vc-git-mode-line-string):
7702 * vc/vc-hooks.el (vc-display-status)
7703 (vc-default-mode-line-string):
7704 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7705
7706 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7707
7708 * dired.el (dired-sort-set-mode-line): Rename from
7709 dired-sort-set-modeline. All callers changed.
7710
7711 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7712 eshell-status-in-modeline.
7713
7714 * foldout.el (foldout-mode-line-string): Rename from
7715 foldout-modeline-string. All callers changed.
7716 (foldout-update-mode-line): Rename from foldout-update-modeline.
7717
7718 * subr.el (redraw-modeline): Make into obsolete alias.
7719
7720 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7721 timeclock-modeline-display. Make old name an alias.
7722 (timeclock-update-mode-line): Likewise. All callers changed.
7723 (timeclock-mode-line-display): No need to check before using
7724 add-hook.
7725 (timeclock-relative, timeclock-day-over-hook)
7726 (timeclock-use-elapsed, timeclock-mode-string)
7727 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7728
7729 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7730 crisp-mode-modeline-string.
7731
7732 * play/solitaire.el (solitaire-build-mode-line): Rename from
7733 solitaire-build-modeline. All callers changed.
7734
7735 * play/zone.el (zone-hiding-mode-line): Rename from
7736 zone-hiding-modeline. All callers changed.
7737 (zone): Remove unusued `modeline-hidden-level' property.
7738
7739 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7740 xscheme-modeline-initialize. All callers changed.
7741
7742 * strokes.el (strokes-lighter): Rename from
7743 strokes-modeline-string.
7744
7745 * textmodes/sgml-mode.el (html-face-tag-alist)
7746 (html-tag-face-alist): Use mode-line face instead of obsolete
7747 alias modeline.
7748
7749 2012-06-02 Stefan Merten <smerten@oekonux.de>
7750
7751 * textmodes/rst.el: Always require `cl'.
7752 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7753
7754 2012-06-02 Chong Yidong <cyd@gnu.org>
7755
7756 * image.el (imagemagick-enabled-types): Rename from
7757 imagemagick-types-enable. Add many more types.
7758 (imagemagick-types-inhibit): Change default to nil.
7759 (imagemagick-filter-types): Caller changed.
7760
7761 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7762
7763 * emacs-lisp/cl-macs.el: Use backquotes.
7764 (cl-transform-function-property): Use eval-and-compile rather than
7765 abusing `require'.
7766 (defstruct): Use declare-function instead of with-no-warnings.
7767
7768 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7769 (byte-compile-output-docform): Re-add the print-circle bindings.
7770 (byte-compile-fix-header): Use #$ just because it's shorter.
7771 (byte-compile-output-file-form): Remove defun/defmacro.
7772
7773 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7774
7775 * simple.el (choose-completion): Remove now obsolete binding for
7776 owindow.
7777
7778 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7779
7780 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7781 in order to avoid "Stack overflow in regexp matcher".
7782
7783 2012-05-31 Glenn Morris <rgm@gnu.org>
7784
7785 * image.el: For clarity, call imagemagick-register-types at
7786 top-level, rather than relying on a custom :initialize.
7787 (imagemagick-types-enable): New option. (Bug#11557)
7788 (imagemagick-filter-types): New function. (Bug#7406)
7789 (imagemagick-register-types): Use imagemagick-filter-types.
7790 If disabling support, remove elements altogether rather
7791 than using an impossible regexp.
7792 (imagemagick-types-inhibit): Give it the default init function.
7793
7794 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7797 Handle arbitrary file name lengths (Bug#11585).
7798
7799 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7800
7801 * desktop.el (desktop-read): Clear previous and next buffers for
7802 all windows and bury *Messages* buffer (bug#11556).
7803
7804 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 Add `declare' for `defun'. Align `defmacro's with it.
7807 * emacs-lisp/easy-mmode.el (define-minor-mode)
7808 (define-globalized-minor-mode): Don't autoload the var definitions.
7809 * emacs-lisp/byte-run.el: Use lexical-binding.
7810 (defun-declarations-alist, macro-declarations-alist): New vars.
7811 (defmacro, defun): Use them.
7812 (make-obsolete, define-obsolete-function-alias)
7813 (make-obsolete-variable, define-obsolete-variable-alias):
7814 Use `declare'.
7815 (macro-declaration-function): Mark obsolete.
7816 * emacs-lisp/autoload.el: Use lexical-binding.
7817 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7818
7819 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7820
7821 * textmodes/ispell.el (ispell-with-no-warnings):
7822 Define as a macro.
7823 (ispell-kill-ispell, ispell-change-dictionary):
7824 Use `called-interactively-p' for Emacs instead of obsolete
7825 `interactive-p'.
7826
7827 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7830 (macro-declaration-function): Move var from C code.
7831 (macro-declaration-function): Define function with defalias.
7832 * emacs-lisp/macroexp.el (macroexpand-all-1):
7833 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7834 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7835 defun/defmacro any more.
7836 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7837 Provide fallback for unknown arglist.
7838 (byte-compile-arglist-warn): Change calling convention.
7839 (byte-compile-output-file-form): Move print-vars binding.
7840 (byte-compile-output-docform): Simplify accordingly.
7841 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7842 (byte-compile-defmacro-declaration): Remove.
7843 (byte-compile-file-form-defmumble): Generalize to defalias.
7844 (byte-compile-output-as-comment): Return byte-positions.
7845 Simplify callers accordingly.
7846 (byte-compile-lambda): Use `assert'.
7847 (byte-compile-defun, byte-compile-defmacro): Remove.
7848 (byte-compile-file-form-defalias):
7849 Use byte-compile-file-form-defmumble.
7850 (byte-compile-defalias-warn): Remove.
7851
7852 2012-05-29 Stefan Merten <smerten@oekonux.de>
7853
7854 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7855 possible. Fix authors. Improve comments. Improve loading of `cl'.
7856
7857 (rst-mode-abbrev-table): Merge definition.
7858 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7859 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7860
7861 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7862
7863 * calendar/icalendar.el
7864 (icalendar-export-region): Export UID properly.
7865
7866 2012-05-29 Leo Liu <sdl.web@gmail.com>
7867 * calendar/icalendar.el (icalendar-import-format):
7868 Add `icalendar-import-format-uid' (Bug#11525).
7869 (icalendar-import-format-uid): New.
7870 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7871 Export UID.
7872
7873 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7876 different alternative patterns.
7877 (pcase-codegen): Be more careful to preserve identity.
7878 (pcase--u1): Don't forget to mark vars as used.
7879
7880 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7881 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7882 (byte-compile-from-buffer): ...rather than here.
7883
7884 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7885 functions from byte-compile-function-environment.
7886
7887 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7888
7889 * window.el (window-deletable-p): Avoid deleting the root window
7890 of a frame with an active minibuffer.
7891
7892 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7893
7894 * simple.el (choose-completion): Use quit-window (Bug#11567).
7895
7896 2012-05-29 Chong Yidong <cyd@gnu.org>
7897
7898 * whitespace.el (whitespace-cleanup): Fix usage of
7899 whitespace-empty-at-bob-regexp (Bug#11492).
7900
7901 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7902
7903 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7904 revert (Bug#11488).
7905
7906 2012-05-29 Juri Linkov <juri@jurta.org>
7907
7908 * isearch.el (isearch-mode-map): Bind `M-s _' to
7909 `isearch-toggle-symbol'. Bind `M-s c' to
7910 `isearch-toggle-case-fold'.
7911 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7912 (isearch-forward): Add `M-s _' to the docstring.
7913 (isearch-forward-symbol, isearch-toggle-case-fold)
7914 (isearch-symbol-regexp): New functions. (Bug#11381)
7915
7916 2012-05-29 Juri Linkov <juri@jurta.org>
7917
7918 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7919 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7920 a function, call it to get the regexp.
7921 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7922 property `isearch-message-prefix' instead of the string "word ".
7923 (isearch-search-fun-default): For the case of `isearch-word',
7924 return a lambda that calls re-search-forward/re-search-backward
7925 with a regexp returned by `word-search-regexp' or by the function
7926 in `isearch-word'.
7927
7928 2012-05-29 Juri Linkov <juri@jurta.org>
7929
7930 * isearch.el (isearch-search-fun-default): New function.
7931 (isearch-search-fun): Move default part to the new function
7932 `isearch-search-fun-default'.
7933 (isearch-search-fun-function): Set the default value to
7934 `isearch-search-fun-default'. (Bug#11381)
7935
7936 * comint.el (comint-history-isearch-end):
7937 Use `isearch-search-fun-default'.
7938 (comint-history-isearch-search): Use `isearch-search-fun-default'
7939 and remove spacial case for `isearch-word'.
7940 (comint-history-isearch-wrap): Remove spacial case for
7941 `isearch-word'.
7942
7943 * hexl.el (hexl-isearch-search-function):
7944 Use `isearch-search-fun-default'.
7945
7946 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7947 Use `word-search-regexp' for `isearch-word'.
7948
7949 * misearch.el (multi-isearch-search-fun):
7950 Use `isearch-search-fun-default'.
7951
7952 * simple.el (minibuffer-history-isearch-search):
7953 Use `isearch-search-fun-default' and remove spacial case for
7954 `isearch-word'.
7955 (minibuffer-history-isearch-wrap): Remove spacial case for
7956 `isearch-word'.
7957
7958 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7959 Remove spacial case for `isearch-word'.
7960 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7961
7962 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7963
7964 Decrease XEmacs incompatibilities.
7965 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7966 Use `string-match'.
7967 (flyspell-delete-region-overlays): Use alternative definition for
7968 XEmacs.
7969 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7970 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7971 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7972 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7973 `define-obsolete-face-alias' under XEmacs, but old method.
7974
7975 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7976 `with-no-warnings' definition or Emacs alias.
7977 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7978 (ispell-word): Do not use `region-p' if XEmacs.
7979
7980 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7981
7982 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7983 Check for `ispell-dictionary-base-alist' instead of full
7984 `ispell-dictionary-alist'.
7985 (ispell-init-process): Show spellchecker when starting new Ispell
7986 process.
7987
7988 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7991 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7992
7993 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * version.el (motif-version-string, gtk-version-string)
7996 (ns-version-string): Declare.
7997
7998 2012-05-27 Juri Linkov <juri@jurta.org>
7999
8000 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8001 after the `eval-defun-1' specialcaseing
8002 like in `edebug-eval-defun' (bug#10181).
8003
8004 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8005 like in `eval-defun-1'.
8006
8007 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8008
8009 * mail/sendmail.el (mail-yank-region):
8010 Recognize rmail-yank-current-message in addition to insert-buffer.
8011 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8012 a *mail* buffer created through rmail-start-mail with sendmail as
8013 mail-user-agent.
8014
8015 2012-05-27 Chong Yidong <cyd@gnu.org>
8016
8017 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8018 Default to 256 (Bug#11267).
8019
8020 * help.el (describe-mode): Doc fix.
8021
8022 2012-05-26 Glenn Morris <rgm@gnu.org>
8023
8024 * w32-fns.el (w32-init-info): Remove.
8025 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8026
8027 * info.el (info-initialize): For self-contained NS builds, put the
8028 included info/ directory at the front. (Bug#2791)
8029
8030 * paths.el (Info-default-directory-list): Make it a defcustom,
8031 mainly so that we can use custom-initialize-delay.
8032
8033 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * subr.el (buffer-has-markers-at): Mark obsolete.
8036
8037 * subr.el (lambda): Use declare.
8038
8039 * emacs-lisp/lisp-mode.el (lambda):
8040 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8041
8042 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8043
8044 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8045
8046 2012-05-26 Glenn Morris <rgm@gnu.org>
8047
8048 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8049
8050 2012-05-25 Glenn Morris <rgm@gnu.org>
8051
8052 * paths.el: Remove no-byte-compile.
8053 * loadup.el: No need to load paths.el uncompiled.
8054
8055 * image.el (imagemagick-types-inhibit): Doc fix.
8056
8057 * version.el: Remove no-byte-compile and associated formatting.
8058 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8059 is ancient code from when there was an "inc-vers.el".
8060
8061 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * progmodes/gdb-mi.el: Minor style changes.
8064 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8065 Turn into minor modes.
8066 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8067 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8068 (gdb-shell): Remove unneeded let-binding.
8069 (gdb-get-many-fields): Eliminate O(n²) behavior.
8070
8071 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8072
8073 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8074 platforms that don't link in fontset.c.
8075
8076 2012-05-25 Juri Linkov <juri@jurta.org>
8077
8078 Use the same diff color scheme as in modern VCSes (bug#10181).
8079
8080 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8081 to avoid confusion with `diff-added' that now uses green colors.
8082 (diff-removed): Use shades of red.
8083 (diff-added): Use shades of green.
8084 (diff-changed): Leave just the yellow color.
8085 (diff-use-changed-face): New variable.
8086 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8087 how to highlight context diff changes.
8088 (diff-refine-change): Use shades of yellow.
8089 (diff-refine-removed): New face that uses shades of red.
8090 (diff-refine-added): New face that uses shades of green.
8091 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8092 `diff-refine-removed' in the call to `smerge-refine-subst'
8093 depending on the value of `diff-use-changed-face'.
8094
8095 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8096 (smerge-other): Use shades of green.
8097 (smerge-base): Use shades of yellow.
8098 (smerge-refined-change): Empty face.
8099 (smerge-refined-removed): New face that uses shades of red.
8100 (smerge-refined-added): New face that uses shades of green.
8101 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8102 args `props-r' and `props-a', and use them. Doc fix.
8103 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8104 on its value use different faces `smerge-refined-change',
8105 `smerge-refined-removed', `smerge-refined-added' in the call to
8106 `smerge-refine-subst'.
8107
8108 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8109 Add face condition `min-colors 88' with shades of red.
8110 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8111 `min-colors 88' with shades of green.
8112 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8113 `min-colors 88' with shades of yellow.
8114
8115 2012-05-24 Glenn Morris <rgm@gnu.org>
8116
8117 * paths.el (prune-directory-list, remote-shell-program): Move to...
8118 * files.el (prune-directory-list, remote-shell-program): ...here.
8119 For the latter, delay initialization, prefer ssh, just search PATH.
8120
8121 * paths.el (term-file-prefix): Move to faces.el (the only user).
8122 * faces.el (term-file-prefix): Move here, make it a defcustom.
8123
8124 * paths.el (news-directory, news-path, news-inews-program):
8125 Move to gnus/nnspool.el.
8126
8127 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8128
8129 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8130 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8131 Make the latter a defcustom, with a delayed initialization.
8132
8133 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8134 These were deleted from Gnus itself late 2010.
8135
8136 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * progmodes/which-func.el (which-func-ff-hook):
8139 Check against user-error, not error.
8140
8141 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8142 cl-specs.el, which no longer exists.
8143
8144 2012-05-22 Glenn Morris <rgm@gnu.org>
8145
8146 * info.el (info-emacs-bug): New command.
8147 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8148 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8149
8150 2012-05-21 Glenn Morris <rgm@gnu.org>
8151
8152 * makefile.w32-in (update-subdirs-SH):
8153 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8154
8155 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8158
8159 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8160 Simplify Maven regexp, and make sure the file can't start with a space
8161 (bug#11517).
8162
8163 2012-05-21 Glenn Morris <rgm@gnu.org>
8164
8165 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8166 Scrap superfluous subshells.
8167
8168 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8171 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8172
8173 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8174
8175 * calc/calc.el (calc-ensure-consistent-units): New variable.
8176
8177 * calc/calc-units.el (math-consistent-units-p)
8178 (math-check-unit-consistency): New functions.
8179 (calc-quick-units, calc-convert-units):
8180 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8181 is non-nil.
8182 (calc-extract-units): Fix typo.
8183
8184 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8187
8188 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8189 (flyspell-default-deplacement-commands): Don't spell check after
8190 repeated window/frame switches (e.g. triggered by mouse-movement).
8191 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8192 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8193 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8194 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8195 Remove unused vars.
8196 (flyspell-get-casechars, flyspell-get-not-casechars):
8197 Simplify; Don't bother removing a ] just to add it back.
8198 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8199
8200 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8201
8202 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8203 New functions.
8204 (math-function-table): Add support for more C functions.
8205
8206 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8207
8208 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8209 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8210 Protect delay handling for otherchars against empty otherchars.
8211
8212 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8215 their respective macro declarations.
8216 * skeleton.el (define-skeleton):
8217 * progmodes/compile.el (define-compilation-mode):
8218 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8219 (define-ibuffer-filter):
8220 * emacs-lisp/generic.el (define-generic-mode):
8221 * emacs-lisp/easy-mmode.el (define-minor-mode)
8222 (define-globalized-minor-mode):
8223 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8224 * emacs-lisp/byte-run.el (defsubst):
8225 * custom.el (deftheme): Add doc-string metadata.
8226
8227 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8230
8231 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8234
8235 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8236 * emacs-lisp/cl-macs.el: Idem.
8237 * emacs-lisp/cl-specs.el: Remove.
8238
8239 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 Minor renaming of internal CL functions and variables.
8242 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8243 (cl--position): Rename from cl-position.
8244 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8245 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8246 (cl--random-state): Rename from *random-state*.
8247
8248 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8251 parens around the arg list (bug#11499).
8252
8253 2012-05-17 Juri Linkov <juri@jurta.org>
8254
8255 * isearch.el (word-search-regexp, word-search-backward)
8256 (word-search-forward, word-search-backward-lax)
8257 (word-search-forward-lax): Move functions from search.c
8258 (bug#10145, bug#11381).
8259
8260 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8261
8262 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8263 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8264 Delay for otherchars as for normal word components.
8265
8266 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * minibuffer.el (completion--sifn-requote): Fix last change.
8269 (minibuffer-local-must-match-filename-map):
8270 Move define-obsolete-variable-alias before its var.
8271
8272 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8275
8276 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8277 behavior.
8278 (completion--string-equal-p): New function.
8279 (completion--twq-all): Use it to get better assertion failure data.
8280
8281 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8282 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8283 (shell--requote-argument): New functions.
8284 (shell-completion-vars): Use them.
8285 (shell--parse-pcomplete-arguments): Rename from
8286 shell-parse-pcomplete-arguments.
8287 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8288 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8289 Obey comint-file-name-quote-list.
8290
8291 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8292 (smie-indent-keyword): Use it.
8293
8294 2012-05-14 Stefan Merten <smerten@oekonux.de>
8295
8296 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8297
8298 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * net/rlogin.el (rlogin-mode-map): Fix last change.
8301
8302 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8303
8304 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8305 the following \r\n using a single `process-send-string', since the
8306 Lotus SMTP server refuses to accept any commands if they are sent
8307 with two `process-send-string's (Bug#11444).
8308
8309 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * shell.el (shell-parse-pcomplete-arguments):
8312 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8313
8314 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8315
8316 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8317 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8318 (image-transform-width, image-transform-fit-width): New functions.
8319 (image-transform-properties): Use them.
8320 (image-transform-check-size): New function.
8321 (image-toggle-display-image): Use it (for testing).
8322 (image-transform-set-rotation): Reduce angle mod 360.
8323 Delete obsolete comment.
8324
8325 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8326
8327 * image-mode.el: Fix scaling (bug#11399).
8328 (image-transform-resize): Doc fix.
8329 (image-transform-properties): Default scale is 1 and height should
8330 be an integer.
8331
8332 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8333
8334 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8335 than hard-coding `car', to fix misbehavior when moving forward.
8336
8337 2012-05-13 Chong Yidong <cyd@gnu.org>
8338
8339 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8340 (tabulated-list-entries, tabulated-list-padding)
8341 (tabulated-list-sort-key): Make permanent-local.
8342
8343 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8344 (electric-buffer-list): Put electric buffer menu
8345 command descriptions in this docstring, instead of the docstring
8346 of electric-buffer-menu-mode. Code cleanups.
8347 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8348 Electric-buffer-menu-mode.
8349 (electric-buffer-update-highlight): Minor code cleanup.
8350
8351 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8354 (Bug#11447)
8355
8356 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 Move define-obsolete-variable-alias before the var's definition.
8359 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8360 * tooltip.el (tooltip-hook):
8361 * textmodes/reftex-toc.el (reftex-toc-map):
8362 * textmodes/reftex-sel.el (reftex-select-label-map)
8363 (reftex-select-bib-map):
8364 * textmodes/reftex-index.el (reftex-index-map)
8365 (reftex-index-phrases-map):
8366 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8367 * progmodes/meta-mode.el (meta-mode-map):
8368 * novice.el (disabled-command-hook):
8369 * loadhist.el (unload-hook-features-list):
8370 * frame.el (blink-cursor):
8371 * files.el (find-file-not-found-hooks, write-file-hooks)
8372 (write-contents-hooks):
8373 * emulation/tpu-edt.el (GOLD-map):
8374 * emacs-lock.el (emacs-lock-from-exiting):
8375 * emacs-lisp/generic.el (generic-font-lock-defaults):
8376 * emacs-lisp/chart.el (chart-map):
8377 * dos-fns.el (register-name-alist):
8378 * dired-x.el (dired-omit-files-p):
8379 * desktop.el (desktop-enable):
8380 * cus-edit.el (custom-mode-hook):
8381 * buff-menu.el (buffer-menu-mode-hook):
8382 * bookmark.el (bookmark-read-annotation-text-func)
8383 (bookmark-exit-hooks):
8384 * allout.el (allout-mode-deactivate-hook)
8385 (allout-exposure-change-hook, allout-structure-added-hook)
8386 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8387 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8388 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8389 comes before the corresponding variable's definition.
8390
8391 2012-05-12 Chong Yidong <cyd@gnu.org>
8392
8393 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8394 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8395 (Buffer-menu-mode-map): Bind it.
8396 (Buffer-menu--pretty-name): Add a mouse-face property.
8397
8398 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8401 (prolog-upper-case-string, prolog-lower-case-string)
8402 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8403 (prolog-use-smie, prolog-smie-grammar): New vars.
8404 (prolog-smie-forward-token, prolog-smie-backward-token)
8405 (prolog-smie-rules): New funs.
8406 (prolog-comment-indent): Remove.
8407 (prolog-mode-variables): Use default comment indentation instead.
8408 Setup SMIE.
8409 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8410 (prolog-mode): Don't call them any more.
8411 (prolog-electric-colon, prolog-electric-dash)
8412 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8413
8414 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8415
8416 * minibuffer.el (completion--twq-all): Again, allow case differences.
8417
8418 * term.el: Move keymap initialization code to be more idiomatic.
8419 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8420 (term-terminal-menu): Move initialization into declaration.
8421 (term-escape-char): Let the user set it in her .emacs.
8422
8423 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8424 Provide SMIE-based indentation (not enabled by default yet).
8425 (sh-mode-map): Don't bind electric keys.
8426 Use electric-pair-mode instead of skeleton-pair.
8427 (sh-assignment-regexp): Fit within 80 columns.
8428 (sh-indent-supported): Specify actual shell name instead of boolean.
8429 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8430 (sh-maybe-here-document): Use it. Make obsolete.
8431 (sh-electric-here-document-mode) New minor mode.
8432 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8433 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8434 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8435 (sh-smie-rc-grammar, sh-use-smie): New vars.
8436 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8437 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8438 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8439 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8440 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8441 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8442 (sh-set-shell): Use smie-setup if requested.
8443
8444 * term.el (term-set-escape-char): Properly set term-escape-char.
8445 See http://stackoverflow.com/questions/10524656.
8446
8447 2012-05-10 Chong Yidong <cyd@gnu.org>
8448
8449 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8450 Use url-generic-parse-url, and handle host names and Windows
8451 filenames properly.
8452 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8453 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8454 URL schemes to work on.
8455 (ffap--toggle-read-only): New function.
8456 (ffap-read-only, ffap-read-only-other-window)
8457 (ffap-read-only-other-frame): Use it.
8458 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8459 necessary for ffap-url-unwrap-remote.
8460
8461 2012-05-10 Dave Abrahams <dave@boostpro.com>
8462
8463 * cus-start.el (create-lockfiles): Add it.
8464
8465 2012-05-09 Chong Yidong <cyd@gnu.org>
8466
8467 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8468 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8469
8470 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8473
8474 2012-05-09 Chong Yidong <cyd@gnu.org>
8475
8476 * ansi-color.el (ansi-color-process-output): Check for validity of
8477 comint-last-output-start before using it. This avoids a bad
8478 interaction with gdb-mi's input/output buffer.
8479
8480 2012-05-09 Glenn Morris <rgm@gnu.org>
8481
8482 * files.el (dir-locals-read-from-file):
8483 Mention dir-locals in any error message.
8484
8485 2012-05-09 Chong Yidong <cyd@gnu.org>
8486
8487 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8488 package (Bug#11410).
8489
8490 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8491 variables into description.
8492
8493 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8496 shell-delimiter-argument-list (bug#11348).
8497 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8498
8499 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * textmodes/rst.el: Silence byte-compiler warnings.
8502 (rst-re-alist, rst-reset-section-caches): Move around.
8503 (rst-re): Use `characterp', not `char-valid-p'.
8504 (font-lock-beg, font-lock-end): Declare.
8505
8506 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8507 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8508
8509 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8510
8511 2012-05-08 Glenn Morris <rgm@gnu.org>
8512
8513 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8514
8515 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * vc/log-edit.el: Add GNU coding standards highlighting.
8518 (log-edit-font-lock-gnu-style)
8519 (log-edit-font-lock-gnu-keywords): New vars.
8520 (log-edit-font-lock-keywords): New fun.
8521 (log-edit-mode): Don't fold case in font-lock.
8522 (log-edit-font-lock-keywords): Do not assume case-folding.
8523
8524 * imenu.el: Misc cleanup. Make docstrings out of comments.
8525 Use lexical-binding.
8526 (imenu--index-alist, imenu--last-menubar-index-alist)
8527 (imenu-menubar-modified-tick): Use defvar-local.
8528 (imenu--split-menu): Remove unused var.
8529 (imenu--cleanup-seen): Declare as global.
8530 (imenu--cleanup): Use dolist.
8531
8532 * subr.el (defvar-local): Add debug spec and doc-string position.
8533
8534 2012-05-08 Glenn Morris <rgm@gnu.org>
8535
8536 * language/burmese.el, language/cham.el, language/czech.el:
8537 * language/english.el, language/georgian.el, language/greek.el:
8538 * language/japanese.el, language/khmer.el, language/korean.el:
8539 * language/lao.el, language/misc-lang.el, language/romanian.el:
8540 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8541 * language/thai.el, language/utf-8-lang.el:
8542 Remove no-byte-compile setting.
8543
8544 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8545
8546 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8547
8548 * progmodes/make-mode.el (makefile-browse):
8549 Remove unnecessary interactive. (Bug#11324)
8550
8551 2012-05-07 Glenn Morris <rgm@gnu.org>
8552
8553 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8554
8555 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8556
8557 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * loadup.el: Preload newcomment.el.
8560 * newcomment.el: Move autoload-only code to toplevel.
8561
8562 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8563 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8564 Handle new :right-align column property.
8565 (tabulated-list-print-col): Idem, plus use `display' text-property to
8566 try and preserve alignment for variable pitch fonts.
8567
8568 2012-05-07 Chong Yidong <cyd@gnu.org>
8569
8570 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8571 (tabulated-list-use-header-line): New var.
8572 (tabulated-list-init-header): Use it.
8573 (tabulated-list-print-fake-header): New function.
8574 (tabulated-list-print): Use it.
8575 (tabulated-list-sort-button-map): Add non-header-line commands.
8576 (tabulated-list-init-header): Add column name property to basic
8577 labels as well.
8578 (tabulated-list-col-sort): Handle non-header-line button case.
8579 (tabulated-list--sort-by-column-name): Fix a corner case.
8580
8581 * buff-menu.el (list-buffers--refresh):
8582 Handle Buffer-menu-use-header-line.
8583
8584 2012-05-06 Chong Yidong <cyd@gnu.org>
8585
8586 * buff-menu.el: Convert to Tabulated List mode.
8587 (Buffer-menu-buffer+size-width): Make obsolete.
8588 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8589 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8590 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8591 documentation into docstring of buffer-menu.
8592 (Buffer-menu-toggle-files-only): Add an informative message.
8593 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8594 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8595 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8596 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8597 (Buffer-menu-execute, Buffer-menu-select)
8598 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8599 (Buffer-menu-bury): Use Tabulated List machinery.
8600 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8601 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8602 Delete.
8603 (list-buffers--refresh): New function.
8604 (list-buffers-noselect): Use it.
8605 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8606 (Buffer-menu--pretty-file-name): New helper functions.
8607
8608 * loadup.el: Preload tabulated-list.
8609
8610 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8611 tabulated-list-sort-column.
8612 (tabulated-list-init-header): Add the initial aligning space even
8613 if tabulated-list-padding is zero.
8614
8615 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8616
8617 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8618 whose cdr is not a cons cell correctly (bug#11038).
8619
8620 2012-05-06 Chong Yidong <cyd@gnu.org>
8621
8622 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8623 Accept additional plist in column descriptors.
8624 (tabulated-list-init-header): Obey it.
8625 (tabulated-list-get-entry): New function.
8626 (tabulated-list-put-tag): Use it. Use string-width instead of
8627 length.
8628 (tabulated-list--column-number): New function.
8629 (tabulated-list-print): Use it.
8630 (tabulated-list-print-col): New function.
8631 Set `tabulated-list-column-name' property on each column's text.
8632 (tabulated-list-print-entry): Use it.
8633 (tabulated-list-delete-entry, tabulated-list-set-col):
8634 New functions.
8635 (tabulated-list-sort-column): New command (Bug#11337).
8636
8637 * buff-menu.el (list-buffers): Move C-x C-b binding from
8638 buff-menu.el to bindings.el.
8639
8640 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8641 :advertised-binding feature.
8642
8643 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8644
8645 * progmodes/compile.el (compilation-internal-error-properties):
8646 Calculate start position correctly when end-col is set but
8647 end-line is not (Bug#11382).
8648
8649 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8650
8651 * man.el (Man-unindent): Use text-property-default-nonsticky to
8652 prevent untabify from inheriting face properties (Bug#11408).
8653
8654 2012-05-05 Stefan Merten <smerten@oekonux.de>
8655
8656 * textmodes/rst.el: Major merge with upstream development up to
8657 Docutils SVN r7399 / rst.el V1.2.1.
8658
8659 Clarify maintainership and authors.
8660
8661 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8662 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8663 (rst-official-version, rst-official-cvs-rev, rst-version)
8664 (rst-package-emacs-version-alist): New functions and variables
8665 for version information.
8666
8667 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8668 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8669 (rst-mode-syntax-table, rst-mode): New and corrected functions
8670 and variables representing reStructuredText features.
8671
8672 (rst-re): New function for reStructuredText regexes. Use in
8673 many places.
8674
8675 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8676 (rst-mode-map): Rebind keys.
8677
8678 (rst-mode-lazy, rst-font-lock-keywords)
8679 (rst-font-lock-extend-region)
8680 (rst-font-lock-extend-region-internal)
8681 (rst-font-lock-extend-region-extend)
8682 (rst-font-lock-find-unindented-line-limit)
8683 (rst-font-lock-find-unindented-line-match)
8684 (rst-adornment-level, rst-font-lock-adornment-level)
8685 (rst-font-lock-adornment-match)
8686 (rst-font-lock-handle-adornment-pre-match-form)
8687 (rst-font-lock-handle-adornment-matcher): Major revision of
8688 font-locking. Integrate with other code. Use `jit-lock-mode'.
8689
8690 (rst-preferred-adornments, rst-adjust-hook)
8691 (rst-new-adornment-down, rst-preferred-bullets)
8692 (rst-preferred-bullets, rst-indent, rst-indent-width)
8693 (rst-indent-field, rst-indent-literal-normal)
8694 (rst-indent-literal-minimized, rst-indent-comment): Change,
8695 extend and improve customization.
8696
8697 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8698 (rst-normalize-cursor-position, rst-get-decoration)
8699 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8700 (rst-rstrip, rst-toc-insert-find-delete-contents)
8701 (rst-shift-fill-region, rst-compute-bullet-tabs)
8702 (rst-debug-print-tabs, rst-debug-mark-found)
8703 (rst-shift-region-guts, rst-shift-region-right)
8704 (rst-shift-region-left, rst-use-char-classes)
8705 (rst-font-lock-keywords-function)
8706 (rst-font-lock-indentation-point)
8707 (rst-font-lock-find-unindented-line-begin)
8708 (rst-font-lock-find-unindented-line-end)
8709 (rst-font-lock-find-unindented-line)
8710 (rst-font-lock-adornment-point, rst-font-lock-level)
8711 (rst-adornment-level-alist): Remove functions and variables.
8712
8713 (rst-compare-adornments, rst-get-adornment-match)
8714 (rst-suggest-new-adornment, rst-get-adornments-around)
8715 (rst-adornment-complete-p, rst-get-next-adornment)
8716 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8717 (rst-straighten-adornments): Standardize function names to
8718 use "adornment" instead of "decoration". Correct callers.
8719 Similar standardizing in many places.
8720
8721 (rst-update-section, rst-adjust, rst-promote-region)
8722 (rst-enumerate-region, rst-bullet-list-region)
8723 (rst-repeat-last-character): Correct use of `interactive'.
8724
8725 (rst-classify-adornment, rst-find-all-adornments)
8726 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8727 (rst-find-leftmost-column, rst-repeat-last-character):
8728 Refactor functions.
8729
8730 (rst-find-title-line, rst-reset-section-caches)
8731 (rst-get-adornments-around, rst-adjust-adornment-work)
8732 (rst-arabic-to-roman, rst-roman-to-arabic)
8733 (rst-insert-list-pos, rst-insert-list-new-item)
8734 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8735 New functions.
8736
8737 (rst-all-sections, rst-section-hierarchy)
8738 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8739 New variables.
8740
8741 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8742 configuration instead of only buffer. Change where necessary.
8743
8744 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8745 (rst-shift-region, rst-adaptive-fill): New functions for
8746 indentation and filling.
8747
8748 (rst-comment-line-break, rst-comment-indent)
8749 (rst-comment-insert-comment, rst-comment-region)
8750 (rst-uncomment-region): New functions for handling comments.
8751
8752 (rst-compile): Quote shell arguments.
8753
8754 (rst-compile-pdf-preview, rst-compile-slides-preview):
8755 Delete temporary files after use.
8756
8757 2012-05-05 Glenn Morris <rgm@gnu.org>
8758
8759 * calendar/cal-html.el: Optionally include holidays in the output.
8760 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8761 (cal-html-holidays): New option.
8762 (cal-html-css-default): Add holiday entry.
8763 (holiday-in-range): Autoload it.
8764 (cal-html-htmlify-entry): Add optional class argument.
8765 (cal-html-htmlify-list): Add optional holidays argument.
8766 (cal-html-insert-agenda-days): Include holidays in the output.
8767 (cal-html-one-month): Maybe include holidays.
8768
8769 * calendar/holidays.el (holiday-in-range):
8770 Move here from cal-tex-list-holidays.
8771 * calendar/cal-tex.el (cal-tex-list-holidays):
8772 Make it an obsolete alias for holiday-in-range. Update all callers.
8773
8774 2012-05-05 Chong Yidong <cyd@gnu.org>
8775
8776 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8777 Nextstep.
8778
8779 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8780
8781 * files.el (file-auto-mode-skip): New var.
8782 (set-auto-mode-1): Use it.
8783
8784 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * repeat.el: Use lexical-binding.
8787 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8788 (repeat-undo-count): Remove.
8789 (repeat):
8790 * progmodes/octave-mod.el (octave-abbrev-start):
8791 * progmodes/f90.el (f90-abbrev-start):
8792 * face-remap.el (text-scale-adjust):
8793 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8794
8795 * emacs-lisp/pcase.el (pcase--let*): New function.
8796 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8797 a bit more.
8798 (pcase--split-pred): Be more clever about ruling out overlap between
8799 a predicate and some constant pattern.
8800 (pcase--q1): Use `null' instead of (eq foo nil).
8801
8802 * subr.el (setq-local, defvar-local): New macros.
8803 (kbd): Redefine as an alias.
8804 (with-selected-window): Leave unrelated frames alone.
8805 (set-temporary-overlay-map): New function.
8806
8807 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * subr.el (user-error): New function.
8810 * window.el (switch-to-buffer):
8811 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8812 (smerge-match-conflict):
8813 * simple.el (previous-matching-history-element)
8814 (next-matching-history-element, goto-history-element, undo-more)
8815 (undo-start):
8816 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8817 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8818 (next-file, tags-loop-scan, list-tags, complete-tag):
8819 * progmodes/compile.el (compilation-loop):
8820 * mouse.el (mouse-minibuffer-check):
8821 * man.el (Man-bgproc-sentinel, Man-goto-page):
8822 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8823 (Info-history-forward, Info-follow-reference, Info-menu)
8824 (Info-extract-menu-item, Info-extract-menu-counting)
8825 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8826 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8827 (Info-next-reference, Info-prev-reference, Info-index)
8828 (Info-index-next, Info-follow-nearest-node)
8829 (Info-copy-current-node-name):
8830 * imenu.el (imenu--make-index-alist)
8831 (imenu-default-create-index-function, imenu-add-to-menubar):
8832 * files.el (basic-save-buffer, recover-file):
8833 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8834 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8835 (checkdoc-message-text, checkdoc-defun):
8836 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8837 * cus-edit.el (customize-changed-options, customize-rogue)
8838 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8839 (custom-variable-mark-to-reset-standard)
8840 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8841 (custom-file):
8842 * completion.el (check-completion-length):
8843 * comint.el (comint-search-arg)
8844 (comint-previous-matching-input-string-position)
8845 (comint-previous-matching-input)
8846 (comint-replace-by-expanded-history-before-point, comint-send-input)
8847 (comint-copy-old-input, comint-backward-matching-input)
8848 (comint-goto-process-mark, comint-set-process-mark):
8849 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8850 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8851
8852 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * dabbrev.el (dabbrev--ignore-case-p): New function.
8855 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8856 Use it.
8857
8858 * files.el (automount-dir-prefix): Mark as obsolete.
8859
8860 2012-05-04 Glenn Morris <rgm@gnu.org>
8861
8862 * patcomp.el, play/bruce.el: Move to obsolete/.
8863
8864 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8865
8866 Fix minor Y10k bugs.
8867 * arc-mode.el (archive-unixdate):
8868 * autoinsert.el (auto-insert-alist):
8869 * calc/calc-forms.el (math-this-year):
8870 * emacs-lisp/copyright.el (copyright-current-year)
8871 (copyright-update-year, copyright):
8872 * tar-mode.el (tar-clip-time-string):
8873 * time.el (display-time-update):
8874 Don't assume years have 4 digits.
8875
8876 2012-05-04 Chong Yidong <cyd@gnu.org>
8877
8878 * dos-w32.el (file-name-buffer-file-type-alist)
8879 (direct-print-region-use-command-dot-com):
8880 * ffap.el (ffap-menu-regexp):
8881 * find-file.el (ff-special-constructs):
8882 * follow.el (follow-debug):
8883 * forms.el (forms--debug):
8884 * iswitchb.el (iswitchb-all-frames):
8885 * ido.el (ido-all-frames):
8886 * emacs-lisp/timer.el (timer-max-repeats):
8887 * mail/feedmail.el (feedmail-mail-send-hook)
8888 (feedmail-mail-send-hook-queued):
8889 * mail/footnote.el (footnote-signature-separator):
8890 * mail/mailabbrev.el (mail-alias-separator-string)
8891 (mail-abbrev-mode-regexp):
8892 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8893 * progmodes/idlwave.el (idlwave-libinfo-file)
8894 (idlwave-default-completion-case-is-down)
8895 (idlwave-library-routines): Convert defvars to defcustoms.
8896
8897 * mail/rmail.el (rmail-decode-mime-charset):
8898 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8899 (idlwave-shell-fix-inserted-breaks)
8900 (idlwave-shell-activate-alt-keybindings)
8901 (idlwave-shell-use-breakpoint-glyph):
8902 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8903
8904 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8907
8908 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8909
8910 * progmodes/verilog-mode.el (font-lock-keywords):
8911 Fix mis-highligting auto. Reported by Craig Barner.
8912 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8913 defines from global name space. Reported by Dan Dever.
8914 (verilog-auto-reset, verilog-auto-reset-widths)
8915 (verilog-auto-tieoff): Support using unbased numbers for
8916 AUTORESET and AUTOTIEOFF.
8917 (verilog-submit-bug-report): Update variable list.
8918 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8919 parenthesis from not matching. Reported by Michael Rytting.
8920 (verilog-auto-template-lint): Fix hash error when linting modules
8921 with no used templates.
8922 (verilog-warn, verilog-warn-error)
8923 (verilog-warn-fatal): When non-interactive report multiple
8924 warnings before exiting. Suggested by Brad Dobbie.
8925 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8926 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8927 to report unused template errors. Reported by Brad Dobbie.
8928 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8929 nets, bug438. Reported by Vns Blore.
8930 (verilog-auto-inout-module, verilog-auto-reg)
8931 (verilog-read-decls, verilog-read-sub-decls-sig)
8932 (verilog-signals-edit-wire-reg, verilog-signals-with):
8933 Fix passing of Verilog data types in ANSI input/output ports
8934 such as "output logic" into the AUTOs. Special case "wire" and
8935 "reg" for backwards compatibility presuming Verilog 2001.
8936 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8937 (verilog-preprocess): Fix replication of preprocess output.
8938 Reported by Brad Dobbie.
8939 (verilog-auto-inst-interfaced-ports):
8940 Create verilog-auto-inst-interfaced-ports, bug429.
8941 Reported by Julian Gorfajn.
8942 (verilog-after-save-font-hook)
8943 (verilog-before-save-font-hook): New variable.
8944 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8945 (verilog-save-font-mods): Wrap disabling fontification, reported
8946 by David Rogoff.
8947 (verilog-do-indent, verilog-pretty-declarations-auto)
8948 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8949 Reported by Pierre-David Pfister.
8950 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8951 of class declarations, bug292. Reported by Kevin Heilman.
8952 (verilog-read-decls): Fix 'parameter type' not appearing in
8953 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8954 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8955 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8956 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8957 Reported by David Kravitz.
8958
8959 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8960
8961 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8962 assignment with tests in ifs and for loops.
8963 (verilog-extended-complete-re, verilog-complete-reg): Change so
8964 that DPI inport functions don't look like fuction declarations.
8965 (verilog-pretty-expr): Don't line up assignment
8966 operations to the test and increment in if and for loops
8967 (verilog-extended-complete-re, verilog-complete-reg): Change so
8968 that DPI inport functions don't look like fuction declarations.
8969
8970 2012-05-03 Kenichi Handa <handa@m17n.org>
8971
8972 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8973 decoding, and show a warning message without signaling an error
8974 (Bug#11282).
8975
8976 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 * emacs-lisp/bytecomp.el
8979 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8980 since cconv.el might have introduced :fun-body, internal-make-closure,
8981 and friends for bytecomp to handle (bug#11391).
8982 * custom.el (defcustom): Avoid ((λ ..) ..).
8983
8984 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8987
8988 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8989
8990 * notifications.el (dbus-debug):
8991 * term/linux.el (gpm-mouse-enable):
8992 * term/screen.el (xterm-register-default-colors): Declare.
8993
8994 2012-05-02 Chong Yidong <cyd@gnu.org>
8995
8996 * cus-start.el (gc-cons-percentage, exec-suffixes)
8997 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8998 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8999 (make-cursor-line-fully-visible, void-text-area-pointer)
9000 (font-list-limit): Add customization data.
9001
9002 * allout.el (allout-exposure-change-functions)
9003 (allout-structure-added-functions)
9004 (allout-structure-deleted-functions)
9005 (allout-structure-shifted-functions): Rename abnormal hooks from
9006 *-hook, and convert to defcustoms.
9007 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9008 Convert to defcustoms.
9009 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9010
9011 * allout-widgets.el: Hook callers changed.
9012
9013 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9014
9015 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9016 the yanked message in preference to the default value of
9017 buffer-file-coding-system.
9018
9019 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9020
9021 * window.el (display-buffer--action-function-custom-type):
9022 Fix entry.
9023
9024 2012-05-02 Alan Mackenzie <acm@muc.de>
9025
9026 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9027
9028 2012-05-01 Glenn Morris <rgm@gnu.org>
9029
9030 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9031
9032 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9033
9034 * cus-edit.el (custom-variable-documentation): Simplify with format.
9035
9036 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9037 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * simple.el (suggest-key-bindings, execute-extended-command):
9040 Move from keyboard.c.
9041
9042 2012-05-01 Chong Yidong <cyd@gnu.org>
9043
9044 * follow.el: Eliminate advice.
9045 (set-process-filter, process-filter, sit-for): Advice deleted.
9046 (follow-mode-off-hook): Obsolete hook removed.
9047 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9048 Vars deleted.
9049 (follow-auto): Use a :set function.
9050 (follow-mode): Rewritten. Don't advise process filters.
9051 (follow-switch-to-current-buffer-all, follow-scroll-up)
9052 (follow-scroll-down): Assume follow-mode is bound.
9053 (follow-comint-scroll-to-bottom)
9054 (follow-align-compilation-windows): New functions.
9055 (follow--window-sorter): New function.
9056 (follow-all-followers): Use it to explicitly sort windows by their
9057 positions; don't make assumptions about next-window order.
9058 (follow-windows-start-end, follow-delete-other-windows-and-split)
9059 (follow-calc-win-start): Doc fix.
9060 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9061 vertical-motion unnecessarily.
9062 (follow-adjust-window): New function.
9063 (follow-post-command-hook): Use it.
9064 (follow-call-set-process-filter, follow-call-process-filter)
9065 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9066 (follow-stop-intercept-process-output, follow-generic-filter):
9067 Functions deleted.
9068 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9069 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9070 New functions, replacing advice on scroll-bar-* commands.
9071 (follow-mwheel-scroll): New function (Bug#4112).
9072
9073 * comint.el (comint-adjust-point): New function.
9074 (comint-postoutput-scroll-to-bottom): Use it.
9075 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9076
9077 2012-05-01 Glenn Morris <rgm@gnu.org>
9078
9079 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9080 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9081 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9082 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9083 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9084 Remove no-byte-compile setting.
9085
9086 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9089 all-completions code to not return a number in the last cdr.
9090
9091 2012-04-30 Leo Liu <sdl.web@gmail.com>
9092
9093 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9094 read-only error.
9095
9096 2012-04-29 Chong Yidong <cyd@gnu.org>
9097
9098 * follow.el (follow-calc-win-end): Rewrite to handle partial
9099 screen lines correctly (Bug#8390).
9100 (follow-avoid-tail-recenter): Minor cleanup.
9101
9102 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 Avoid the obsolete `assoc' package.
9105 * speedbar.el (speedbar-refresh): Avoid adelete.
9106 (speedbar-file-lists): Simplify and avoid aput.
9107 * man.el (Man--sections, Man--refpages): New vars, replacing
9108 Man-sections-alist and Man-refpages-alist.
9109 (Man-build-section-alist, Man-build-references-alist):
9110 Use them; avoid aput.
9111 (Man--last-section, Man--last-refpage): New vars.
9112 (Man-follow-manual-reference): Use them.
9113 Use the `default' arg of completing-read.
9114 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9115
9116 2012-04-27 Chong Yidong <cyd@gnu.org>
9117
9118 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9119
9120 * startup.el (x-apply-session-resources): New function.
9121
9122 * term/ns-win.el (ns-initialize-window-system):
9123 * term/w32-win.el (w32-initialize-window-system):
9124 * term/x-win.el (x-initialize-window-system): Use it to properly
9125 set menu-bar-mode and other vars from X resources, even if the
9126 initial frame is not a window-system frame (Bug#2299).
9127
9128 * subr.el (read-key): Avoid running filter function when setting
9129 up temporary tool bar entries (Bug#9922).
9130
9131 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9132
9133 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9134 (Bug#11344)
9135
9136 2012-04-27 Chong Yidong <cyd@gnu.org>
9137
9138 * select.el (xselect--encode-string): New function, split from
9139 xselect-convert-to-string.
9140 (xselect-convert-to-string): Use it.
9141 (xselect-convert-to-filename, xselect-convert-to-os)
9142 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9143 returned strings are properly encoded (Bug#11315).
9144
9145 2012-04-27 Chong Yidong <cyd@gnu.org>
9146
9147 * simple.el (delete-active-region): Move to killing custom group.
9148
9149 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9150
9151 * progmodes/which-func.el (which-func-current): Quote %
9152 characters for mode-line processing.
9153
9154 2012-04-27 Chong Yidong <cyd@gnu.org>
9155
9156 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9157 reaching eob (Bug#11286).
9158
9159 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9160
9161 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9162 (gdb): Make it buffer-local and init to zero.
9163 (gdb-control-commands-regexp): New variable.
9164 (gdb-send): Don't wrap in "-interpreter-exec console" if
9165 gdb-control-level is positive. Increment gdb-control-level
9166 whenever the command matches gdb-control-commands-regexp, and
9167 decrement it each time the command is "end". (Bug#11279)
9168
9169 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (adjust-window-trailing-edge, enlarge-window)
9172 (shrink-window, window-resize):
9173 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9174 windows (Bug#11276).
9175
9176 2012-04-27 Chong Yidong <cyd@gnu.org>
9177
9178 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9179 fix "missing prefix" warning. All callers changed.
9180
9181 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9182
9183 * emacs-lisp/assoc.el: Move to obsolete/.
9184
9185 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9188
9189 * term/ns-win.el (ns-define-service):
9190 * progmodes/pascal.el (pascal-goto-defun):
9191 * progmodes/js.el (js--read-tab):
9192 * progmodes/etags.el (tags-lazy-completion-table):
9193 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9194 * emacs-lisp/ewoc.el (ewoc--wrap):
9195 * emacs-lisp/assoc.el (aput, adelete, amake):
9196 * doc-view.el (doc-view-convert-current-doc):
9197 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9198
9199 2012-04-26 Chong Yidong <cyd@gnu.org>
9200
9201 * image.el (image-type-from-buffer): Only return supported image
9202 type (Bug#9045).
9203
9204 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9205 value, for symmetry with diff-end-of-hunk.
9206 (diff-split-hunk, diff-find-source-location)
9207 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9208 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9209 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9210 compute the relevant hunk or file properly (Bug#6005).
9211 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9212
9213 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * vc/vc-mtn.el:
9216 * vc/vc-hg.el:
9217 * vc/vc-git.el:
9218 * vc/vc-dir.el:
9219 * vc/vc-cvs.el:
9220 * vc/vc-bzr.el:
9221 * vc/vc-arch.el:
9222 * vc/vc.el: Replace lexical-let by lexical-binding.
9223 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9224 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9225 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9226
9227 2012-04-26 Chong Yidong <cyd@gnu.org>
9228
9229 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9230 (diff-mode-shared-map): Bind it to / and [remap undo].
9231
9232 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9233 (ediff-window-setup-function): Use it as the default, to set up
9234 windows based on whether the current frame is graphical (Bug#2138).
9235 (ediff-choose-window-setup-function-automatically): Make obsolete.
9236
9237 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9238
9239 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * ffap.el: Remove old code for obsolete package.
9242 (ffap-complete-as-file-p): Remove.
9243
9244 Use completion-table-with-quoting for comint and pcomplete.
9245 * comint.el (comint--unquote&requote-argument)
9246 (comint--unquote-argument, comint--requote-argument): New functions.
9247 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9248 (comint-quote-filename): Use regexp-opt-charset.
9249 (comint--common-suffix, comint--common-quoted-suffix)
9250 (comint--table-subvert): Remove.
9251 (comint-unquote-function, comint-requote-function): New vars.
9252 (comint--complete-file-name-data): Use them with
9253 completion-table-with-quoting.
9254 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9255 * pcomplete.el (pcomplete-arg-quote-list)
9256 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9257 (pcomplete-unquote-argument-function): Default to non-nil.
9258 (pcomplete-unquote-argument): Simplify.
9259 (pcomplete--common-quoted-suffix): Remove.
9260 (pcomplete-requote-argument-function): New var.
9261 (pcomplete--common-suffix): New function.
9262 (pcomplete-completions-at-point): Use completion-table-with-quoting
9263 and completion-table-subvert.
9264
9265 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9266 (minibuffer--double-dollars): Preserve properties.
9267 (completion--sifn-requote): New function.
9268 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9269
9270 * minibuffer.el: Add support for completion of quoted/escaped data.
9271 (completion-table-with-quoting, completion-table-subvert): New funs.
9272 (completion--twq-try, completion--twq-all): New functions.
9273 (completion--nth-completion): New function.
9274 (completion-try-completion, completion-all-completions): Use it.
9275
9276 2012-04-25 Leo Liu <sdl.web@gmail.com>
9277
9278 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9279 Use compilation-message if available to find real filename.
9280
9281 2012-04-25 Chong Yidong <cyd@gnu.org>
9282
9283 * vc/diff-mode.el (diff-setup-whitespace): New function.
9284 (diff-mode): Use it.
9285
9286 * vc/diff.el (diff-sentinel):
9287 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9288 Whitespace mode variables based on diff style (Bug#8612).
9289
9290 2012-04-25 Leo Liu <sdl.web@gmail.com>
9291
9292 * progmodes/python.el (python-send-region): Add suffix .py to the
9293 temp file.
9294
9295 * files.el (auto-mode-alist): Use javascript-mode instead.
9296
9297 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9298
9299 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9300
9301 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9302 (soap-resolve-references-for-array-type): Hack to prevent self
9303 references, see Bug#9.
9304 (soap-parse-envelope): Report the contents of the 'detail' node
9305 when receiving a fault reply.
9306 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9307
9308 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9309 (soap-inspect-simple-type): New function.
9310
9311 * net/soap-client.el (soap-simple-type): New struct.
9312 (soap-default-xsd-types, soap-default-soapenc-types)
9313 (soap-decode-basic-type, soap-encode-basic-type):
9314 support unsignedInt and double basic types.
9315 (soap-resolve-references-for-simple-type)
9316 (soap-parse-simple-type, soap-encode-simple-type): New function.
9317 (soap-parse-schema): Parse xsd:simpleType declarations.
9318
9319 * net/soap-client.el (soap-default-xsd-types)
9320 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9321 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9322 the local name of "soapenc:Array".
9323 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9324 decoding integer, byte and anyURI xsd types.
9325
9326 2012-04-25 Chong Yidong <cyd@gnu.org>
9327
9328 * cus-edit.el (custom-buffer-create-internal): Update header text.
9329
9330 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9331
9332 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9333 settings on 'system-type', not on 'window-system'. On MS-Windows,
9334 set interactive-mode on in GDB.
9335
9336 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9339 (ruby-syntax-propertize-regexp): Remove.
9340 (ruby-syntax-propertize-function): Split regexp into chunks.
9341 Match following code directly.
9342
9343 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9344
9345 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9346 (ruby-syntax-propertize-regexp): New function.
9347 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9348 by a special keyword.
9349
9350 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9351 (ruby-syntax-general-delimiters-goto-beg)
9352 (ruby-syntax-propertize-general-delimiters): New functions.
9353 (ruby-syntax-propertize-function): Use them to handle GDL.
9354 (ruby-font-lock-keywords): Move old handling of GDL...
9355 (ruby-font-lock-syntactic-keywords): .. to here.
9356 (ruby-calculate-indent): Adjust indentation for GDL.
9357
9358 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9359
9360 * notifications.el (top): Remove unneeded declarations.
9361 (notifications-specification-version): Change to "1.2".
9362 (notifications-interface, notifications-notify-method)
9363 (notifications-close-notification-method): Fix docstring.
9364 (notifications-get-capabilities-method): New defconst.
9365 (notifications-notify): Add :action-items, :resident and
9366 :transient hints. Change "image_data" to "image-data" and
9367 "image_path" to "image-path".
9368 (notifications-get-capabilities): New defun.
9369
9370 2012-04-24 Leo Liu <sdl.web@gmail.com>
9371
9372 * progmodes/python.el: Move hideshow setup to the end.
9373
9374 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9375
9376 * window.el (handle-select-window): Clear echo area since this is
9377 no more done by read_char (Bug#11304).
9378
9379 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9382 and `/ M' to filter-derived-mode.
9383 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9384 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9385 (ibuffer-mark-by-mode): Use default rather than initial-input.
9386 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9387
9388 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9389
9390 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9391 (ibuffer-filter-by-derived-mode): New filter.
9392 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9393
9394 2012-04-23 Andreas Politz <politza@fh-trier.de>
9395
9396 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9397
9398 2012-04-23 Chong Yidong <cyd@gnu.org>
9399
9400 * cus-edit.el (customize-apropos, customize-apropos-options):
9401 Disable matching of non-option variables (Bug#11176).
9402 (customize-option, customize-option-other-window)
9403 (customize-changed-options): Doc fix.
9404 (customize-apropos-options, customize-apropos-faces)
9405 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9406
9407 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9408 Fix word list splitting (Bug#11132).
9409 (apropos-symbol, apropos-keybinding, apropos-label)
9410 (apropos-property, apropos-function-button)
9411 (apropos-variable-button, apropos-misc-button): New faces.
9412 (apropos-symbol-face, apropos-keybinding-face)
9413 (apropos-label-face, apropos-property-face, apropos-match-face):
9414 Variables removed (Bug#8396).
9415 (apropos-library-button, apropos-format-plist, apropos-print)
9416 (apropos-print-doc, apropos-describe-plist): Callers changed.
9417
9418 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9419
9420 * net/xesam.el (xesam-mode-map): Use let-bound map in
9421 initialization. (Bug#11292)
9422
9423 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9424
9425 Preserve ispell session localwords when switching back to
9426 original buffer.
9427
9428 * textmodes/ispell.el (ispell-buffer-session-localwords):
9429 New buffer-local variable to hold buffer session localwords.
9430 (ispell-kill-ispell): Add option 'clear to delete session
9431 localwords.
9432 (ispell-command-loop, ispell-change-dictionary)
9433 (ispell-buffer-local-words): Preserve session localwords when
9434 needed.
9435
9436 * textmodes/flyspell.el (flyspell-process-localwords)
9437 (flyspell-do-correct): Preserve session localwords when needed.
9438
9439 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9440
9441 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9442 using obsolete `translation-table-for-input'.
9443 (ispell-word, ispell-process-line, ispell-complete-word):
9444 Use plain `insert' instead of removed `ispell-insert-word'.
9445
9446 2012-04-22 Chong Yidong <cyd@gnu.org>
9447
9448 * cus-edit.el (custom-variable-menu)
9449 (custom-variable-reset-saved, custom-face-menu)
9450 (custom-face-reset-saved): If there is no saved value, make the
9451 "reset-saved" operation bring back the default (Bug#9509).
9452 (custom-face-state): Properly detect themed faces.
9453
9454 * faces.el (face-spec-set): Stop supporting deprecated form of
9455 third arg.
9456
9457 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9458
9459 Move functions from C to Lisp. Make non-blocking method calls
9460 the default. Implement further D-Bus standard interfaces.
9461
9462 * net/dbus.el (dbus-message-internal): Declare function.
9463 Remove unneeded function declarations.
9464 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9465 (dbus-message-type-method-return, dbus-message-type-error)
9466 (dbus-message-type-signal): Declare variables. Remove local
9467 definitions.
9468 (dbus-interface-dbus, dbus-interface-peer)
9469 (dbus-interface-introspectable, dbus-interface-properties)
9470 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9471 Adapt docstring.
9472 (dbus-interface-objectmanager): New defconst.
9473 (dbus-call-method, dbus-call-method-asynchronously)
9474 (dbus-send-signal, dbus-method-return-internal)
9475 (dbus-method-error-internal, dbus-register-service)
9476 (dbus-register-signal, dbus-register-method): New defuns, moved
9477 from dbusbind.c
9478 (dbus-call-method-handler, dbus-setenv)
9479 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9480 New defuns.
9481 (dbus-call-method-non-blocking): Make it an obsolete function.
9482 (dbus-unregister-object, dbus-unregister-service)
9483 (dbus-handle-event, dbus-register-property)
9484 (dbus-property-handler): Obey the new structure of
9485 `bus-registered-objects'.
9486 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9487 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9488 Use `dbus-call-method'.
9489
9490 2012-04-22 Chong Yidong <cyd@gnu.org>
9491
9492 * cus-edit.el (custom-commands, custom-reset-menu)
9493 (Custom-reset-standard): Tweak labels.
9494 (custom-reset-button-menu): Change default to t.
9495 (custom-buffer-create-internal): For the custom-reset-button-menu
9496 case, put the revert button first.
9497 (custom-group-subtitle): New face.
9498 (custom-group-value-create): Align docstring to a specific column.
9499
9500 * wid-edit.el (widget-documentation-link-add): Don't handle
9501 indentation in this function.
9502 (widget-documentation-string-indent-to): New function.
9503 (widget-documentation-string-value-create): Use it.
9504
9505 * autorevert.el (auto-revert):
9506 * epg-config.el (epg):
9507 * ibuffer.el (ibuffer):
9508 * mpc.el (mpc):
9509 * ses.el (ses):
9510 * eshell/eshell.el (eshell):
9511 * net/ange-ftp.el (ange-ftp):
9512 * progmodes/ebnf2ps.el (postscript):
9513 * progmodes/flymake.el (flymake):
9514 * progmodes/prolog.el (prolog):
9515 * progmodes/verilog-mode.el (verilog-mode):
9516 * progmodes/which-func.el (which-func):
9517 * term/xterm.el (xterm):
9518 * textmodes/picture.el (picture):
9519 * textmodes/tildify.el (tildify):
9520 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9521 customization buffers.
9522
9523 2012-04-22 Alan Mackenzie <acm@muc.de>
9524
9525 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9526 Adding a ) can hide the resulting (..) from searches. Fix it.
9527 Bound the backward search to the position of the existing (.
9528
9529 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9530
9531 * progmodes/verilog-mode.el (verilog-mode): Check whether
9532 which-func-modes is t before adding verilog-mode.
9533 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9534
9535 2012-04-21 Leo Liu <sdl.web@gmail.com>
9536
9537 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9538
9539 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9540
9541 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9542 filling of the last column of a table (Bug#5635).
9543 (woman-find-next-control-line): New arg, specifying an additional
9544 regexp component for the control line.
9545 (woman2-roff-buffer): Use it.
9546 (woman-break-table): New function.
9547 (woman2-TS): Use it.
9548
9549 2012-04-21 Chong Yidong <cyd@gnu.org>
9550
9551 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9552 (woman-horizontal-escapes, woman-negative-vertical-space)
9553 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9554 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9555
9556 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * minibuffer.el (completion-file-name-table): Complete user names.
9559
9560 2012-04-20 Leo Liu <sdl.web@gmail.com>
9561
9562 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9563 and pcase-let*.
9564
9565 2012-04-20 Chong Yidong <cyd@gnu.org>
9566
9567 * server.el (server-execute): Respect initial-buffer-choice if it
9568 is a string and there are no files to open (Bug#2825).
9569 (server-create-window-system-frame, server-create-tty-frame):
9570 Don't switch buffers here.
9571 (server-process-filter): Only try to open a window system frame if
9572 compiled with graphical support (Bug#8314).
9573
9574 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9575
9576 * battery.el (battery-echo-area-format): Display remaining time
9577 for sysfs backend too (Bug#11269).
9578 (battery-linux-sysfs): Fix conditional for the charge.
9579
9580 2012-04-20 Chong Yidong <cyd@gnu.org>
9581
9582 * progmodes/gdb-mi.el (gdb): Revert previous change.
9583 (gdb-inferior-io--init-proc): New function.
9584 (gdb-init-1): Use it.
9585 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9586 responsible for allocating a new pty and hooking it to gdb when
9587 the old pty gets an EIO due to process exit.
9588 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9589 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9590 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9591
9592 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9593
9594 * window.el (window-min-size, window-sizable, window-min-delta)
9595 (window-max-delta, window--resizable, window-resizable)
9596 (window-total-size, window-full-height-p, window-full-width-p)
9597 (window-in-direction, window--resize-mini-window, window-resize)
9598 (window--resize-child-windows-normal)
9599 (window--resize-child-windows, window--resize-siblings)
9600 (window--resize-this-window, adjust-window-trailing-edge)
9601 (enlarge-window, shrink-window): Doc fixes.
9602
9603 2012-04-20 Chong Yidong <cyd@gnu.org>
9604
9605 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9606 New function to call delete-process on the gdb-inferior buffer's pty.
9607 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9608 pty process (Bug#11273).
9609 (gdb-update): New arg to suppress talking to the gdb process.
9610 (gdb-done-or-error): Use it.
9611 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9612 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9613 sentinel not being called.
9614
9615 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9616
9617 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9618
9619 2012-04-20 Glenn Morris <rgm@gnu.org>
9620
9621 * net/network-stream.el (open-network-stream): Doc fix.
9622
9623 2012-04-20 Chong Yidong <cyd@gnu.org>
9624
9625 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9626
9627 2012-04-20 Alan Mackenzie <acm@muc.de>
9628
9629 Ensure searching for keywords is case sensitive.
9630
9631 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9632 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9633 (c-defun-name, c-mark-function, c-cpp-define-name)
9634 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9635 (c-context-line-break): Bind case-fold-search to nil.
9636
9637 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9638 Bind case-fold-search to nil.
9639
9640 2012-04-20 Chong Yidong <cyd@gnu.org>
9641
9642 * mail/sendmail.el (mail-bury): Call return action with the right
9643 Rmail buffer (Bug#11242).
9644
9645 * server.el (server-process-filter): Handle corner case where both
9646 tty and nowait options are present (Bug#11102).
9647
9648 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9649
9650 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9651 (top level): Put into the executable the ident-style '$Id:' tag on
9652 windows-nt as well.
9653
9654 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * electric.el (electric-indent-post-self-insert-function): Check that
9657 electric-indent-mode is enabled in current buffer.
9658
9659 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * imenu.el (imenu-progress-message): Restore; it is "used" in
9662 erc/erc-imenu.el and net/snmp-mode.el.
9663
9664 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9665
9666 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9667 (mouse-avoidance-nudge-mouse): Remove unused binding.
9668
9669 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9670
9671 * descr-text.el (describe-char):
9672 * progmodes/python.el (python-describe-symbol):
9673 Don't call `toggle-read-only', set `buffer-read-only'.
9674
9675 * imenu.el (imenu-default-goto-function): Mark unused args.
9676 (imenu-progress-message): Remove obsolete macro; all callers changed.
9677
9678 * subr.el (keymap-canonicalize): Remove unused binding.
9679 (read-passwd): Mark unused arg.
9680
9681 * tutorial.el (tutorial--display-changes): Remove unused binding.
9682 (tutorial--save-tutorial-to): Remove unused variable.
9683
9684 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9685 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9686 (package-generate-autoloads, package-menu--generate)
9687 (package-menu--find-upgrades): Remove unused bindings.
9688
9689 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9690 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9691 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9692 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9693 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9694 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9695 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9696 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9697 (cua-delete-char-rectangle): Mark unused args.
9698 (cua-align-rectangle): Remove unused binding.
9699
9700 * mail/rmail.el (compilation--message->loc)
9701 (epa--find-coding-system-for-mime-charset): Declare.
9702
9703 * net/dbus.el (dbus-register-service): Declare.
9704 (dbus-name-owner-changed-handler): Remove unused binding.
9705
9706 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9707 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9708 (nxml-scan-backward-within): Mark unused arg.
9709 (nxml-dynamic-markup-word): Remove unused binding.
9710
9711 * mouse.el (mouse-menu-major-mode-map):
9712 * emacs-lisp/authors.el (authors-scan-change-log)
9713 (authors-add-to-author-list):
9714 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9715 * emacs-lisp/smie.el (smie-auto-fill):
9716 * mail/sendmail.el (mail-bury):
9717 * mail/unrmail.el (unrmail):
9718 * net/tls.el (open-tls-stream):
9719 * textmodes/picture.el (picture-mouse-set-point):
9720 Remove unused bindings.
9721
9722 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9723
9724 * net/tramp.el (tramp-action-password): Let-bind
9725 `enable-recursive-minibuffers' to t.
9726
9727 2012-04-18 Sam Steingold <sds@gnu.org>
9728
9729 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9730 instead of 'string to accommodate values like [f11].
9731 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9732 * progmodes/gdb-mi.el: Likewise.
9733
9734 2012-04-18 Leo Liu <sdl.web@gmail.com>
9735
9736 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9737 current buffer.
9738 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9739 LOCAL is nil.
9740
9741 2012-04-18 Chong Yidong <cyd@gnu.org>
9742
9743 * simple.el (line-move): Use forward-line if in batch mode
9744 (Bug#11053).
9745
9746 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9747
9748 * files.el (after-find-file): Do not try to add a final newline if
9749 the buffer is read-only (Bug#11156).
9750
9751 2012-04-17 Richard Stallman <rms@gnu.org>
9752
9753 * mail/rmail.el (rmail-start-mail):
9754 Pass (rmail-mail-return...) for the return-action.
9755 Pass (rmail-yank-current-message...) for the yank-action.
9756 (rmail-yank-current-message): New function.
9757 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9758 (rmail-reply): Likewise.
9759 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9760
9761 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9762 buffer, not the last. Reject temp buffers. Use the rmail-mode
9763 buffer, not newbuf.
9764
9765 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9766
9767 * server.el (server-ensure-safe-dir): Simplify.
9768
9769 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * emacs-lisp/smie.el: Provide smarter auto-filling.
9772 (smie-auto-fill): New function.
9773 (smie-setup): Use it.
9774
9775 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9776
9777 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9778
9779 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9780 (comment-indent): Use it.
9781
9782 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9783
9784 * ses.el: The overall change is to add cell renaming, that is
9785 setting fancy names for cell symbols other than name matching
9786 "\\`[A-Z]+[0-9]+\\'" regexp .
9787 (ses-localvars): Add ses--renamed-cell-symb-list.
9788 (ses-create-cell-variable): New defun.
9789 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9790 (ses-relocate-formula): Relocate formulas only for cells the
9791 symbols of which are not renamed, i.e. symbols whose names do not
9792 match regexp "\\`[A-Z]+[0-9]+\\'".
9793 (ses-relocate-all): Relocate values only for cells the symbols of
9794 which are not renamed.
9795 (ses-load): Create cells variables as the (ses-cell ...) are read,
9796 in order to check row col consistency with cell symbol name only
9797 for cells that are not renamed.
9798 (ses-replace-name-in-formula): New defun.
9799 (ses-rename-cell): New defun.
9800
9801 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9802
9803 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9804 New option (bug#11118).
9805 (perl-calculate-indent): Respect it.
9806
9807 2012-04-17 Glenn Morris <rgm@gnu.org>
9808
9809 * dired-aux.el (dired-mark-read-string): Doc fix.
9810
9811 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9812
9813 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9814 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9815
9816 2012-04-17 Glenn Morris <rgm@gnu.org>
9817
9818 * mouse.el (mouse-drag-track):
9819 * speedbar.el (speedbar-frame-mode):
9820 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9821
9822 2012-04-16 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/python.el: Trivial cleanup.
9825
9826 2012-04-16 Glenn Morris <rgm@gnu.org>
9827
9828 * vc/vc.el (vc-string-prefix-p):
9829 * vc/pcvs-util.el (cvs-string-prefix-p):
9830 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9831 * mpc.el (mpc-string-prefix-p):
9832 Make all of these into obsolete aliases for string-prefix-p.
9833 Update callers.
9834 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9835
9836 * textmodes/two-column.el: Move custom options to the start.
9837 (frame-width): Remove compat definition.
9838 (2C-associate-buffer, 2C-dissociate):
9839 Use with-current-buffer rather than save-excursion.
9840 (2C-dissociate): Force a mode-line update.
9841 (2C-autoscroll): Use ignore-errors.
9842
9843 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9844 Autoload trivia.
9845
9846 * emacs-lisp/cl-extra.el (*random-state*):
9847 Remove unnecessary declaration.
9848
9849 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9850
9851 * play/cookie1.el (cookie-snarf):
9852 Give an explicit error if input file cannot be read.
9853
9854 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9855
9856 * progmodes/perl-mode.el (c-macro-expand):
9857 Remove unnecessary autoload (it is in loaddefs.el).
9858
9859 * textmodes/picture.el (picture-desired-column)
9860 (picture-update-desired-column): Convert comments to doc-strings.
9861 (picture-substitute): Remove function.
9862 (picture-mode-map): Initialize in the defvar.
9863
9864 * woman.el: Remove eval-after-load for tar-mode.
9865 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9866 (woman-tar-extract-file): Autoload it.
9867
9868 * frame.el (automatic-hscrolling): Make this alias obsolete.
9869
9870 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9871
9872 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9873 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9874 (ispell-dictionary-base-alist): Revert to original XEmacs
9875 friendly version for default. [:alpha:] will be added in
9876 `ispell-set-spellchecker-params' if needed.
9877
9878 2012-04-16 Chong Yidong <cyd@gnu.org>
9879
9880 * image.el (imagemagick--file-regexp): New variable.
9881 (imagemagick-register-types): Use it.
9882 (imagemagick-types-inhibit): Add :set function. Allow new value
9883 of t to inhibit all types.
9884
9885 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9886 so we can preload it.
9887
9888 * loadup.el (fboundp): Preload regexp-opt, needed by
9889 imagemagick-register-types.
9890
9891 2012-04-15 Chong Yidong <cyd@gnu.org>
9892
9893 * frame.el (scrolling): Remove nearly unused customization group.
9894
9895 * scroll-all.el (scroll-all-mode): Move to windows group.
9896
9897 2012-04-15 Chong Yidong <cyd@gnu.org>
9898
9899 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9900
9901 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9904 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9905
9906 2012-04-15 Glenn Morris <rgm@gnu.org>
9907
9908 * simple.el (process-file-side-effects): Doc fix.
9909
9910 2012-04-15 Glenn Morris <rgm@gnu.org>
9911
9912 * international/mule-cmds.el (set-language-environment): Doc fix.
9913
9914 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9915
9916 * server.el (server-auth-key, server-generate-key): Doc fixes.
9917 (server-get-auth-key): Doc fix. Use `string-match-p'.
9918 (server-start): Reflow docstring.
9919
9920 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9921
9922 * server.el (server-generate-key): `called-interactively-p'
9923 requires a parameter.
9924
9925 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9926
9927 * server.el (server-auth-key): New variable.
9928 (server-generate-key, server-get-auth-key): New function.
9929 (server-start): Use the new variable and functions to allow
9930 setting a permanent server key (bug#9423).
9931
9932 2012-04-14 Leo Liu <sdl.web@gmail.com>
9933
9934 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9935
9936 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9937
9938 Spelling fixes.
9939 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9940 Emacs uses American spelling.
9941
9942 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9943
9944 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9945 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9946 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9947 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9948
9949 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * progmodes/which-func.el (which-func-modes): Change default.
9952
9953 2012-04-14 Kim F. Storm <storm@cua.dk>
9954
9955 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9956 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9957
9958 2012-04-14 Chong Yidong <cyd@gnu.org>
9959
9960 * custom.el (custom-theme-set-variables): Doc fix.
9961
9962 2012-04-14 Glenn Morris <rgm@gnu.org>
9963
9964 * international/mule.el (set-auto-coding-for-load): Doc fix.
9965
9966 2012-04-14 Alan Mackenzie <acm@muc.de>
9967
9968 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9969 imenu work again for Objective C Mode. Correct the *-index values,
9970 these having been disturbed by a previous change in 2011-08.
9971
9972 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9973 Correct two search limits.
9974
9975 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9978
9979 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9980
9981 * international/characters.el: Fix sorting.
9982
9983 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9984
9985 * international/characters.el: Add more missing Latin case pairs.
9986
9987 2012-04-14 Glenn Morris <rgm@gnu.org>
9988
9989 * files.el (dir-locals-set-class-variables): Doc fix.
9990
9991 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9992
9993 * international/characters.el: Add set-case-syntax-pair call for
9994 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9995 counterpart. (Bug#11209)
9996
9997 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9998
9999 2012-04-14 Glenn Morris <rgm@gnu.org>
10000
10001 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10002
10003 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10004
10005 * textmodes/ispell.el (ispell-dictionary-base-alist):
10006 Add data for Hebrew.
10007
10008 2012-04-14 Chong Yidong <cyd@gnu.org>
10009
10010 * net/rcirc.el (rcirc-cmd-quit):
10011 Revert 2012-03-18 change (Bug#11192).
10012
10013 2012-04-14 Glenn Morris <rgm@gnu.org>
10014
10015 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10016
10017 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10018
10019 * minibuffer.el (completion-in-region-mode-map):
10020 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10021
10022 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10023
10024 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10025
10026 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10027
10028 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10029 to allow `C-M-f' and `C-M-b' to move to the nearest path
10030 separator (bug#9511).
10031
10032 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10033
10034 * avoid.el: Require cl when compiling. And also move the
10035 `provide' to the end.
10036
10037 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10038
10039 * avoid.el (mouse-avoidance-banish-position): New variable.
10040 (mouse-avoidance-banish-destination): Use it (bug#10165).
10041
10042 2012-04-13 Leo Liu <sdl.web@gmail.com>
10043
10044 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10045
10046 2012-04-13 Ken Brown <kbrown@cornell.edu>
10047
10048 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10049 this is no longer needed now that cygstart understands file:// URLs.
10050 (browse-url-filename-alist): For the same reason, don't modify
10051 file:// URLs on Cygwin.
10052
10053 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10056 the region on shift if the binding is already shifted (bug#11221).
10057
10058 2012-04-12 Glenn Morris <rgm@gnu.org>
10059
10060 * mail/mailpost.el: Move to obsolete/.
10061
10062 2012-04-12 Drew Adams <drew.adams@oracle.com>
10063
10064 * imenu.el (imenu--generic-function): Ignore invisible definitions
10065 (bug#10123).
10066
10067 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10068
10069 * hexl.el (hexl-bits): New variable.
10070 (hexl-options): Mention the variable in the doc string.
10071 (hexl-rulerise, hexl-line-displen): New functions.
10072 (hexl-mode): Mention the new variable.
10073 (hexl-mode, hexl-current-address, hexl-current-address):
10074 Use the displen.
10075 (hexl-ascii-start-column): New function.
10076 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10077 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10078
10079 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10080
10081 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10082 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10083 the encoding, as expected by hunspell.
10084
10085 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * battery.el (battery--linux-sysfs-regexp): New const.
10088 (battery-status-function): Use it. Remove yeeloong special case.
10089 (battery-yeeloong-sysfs): Remove.
10090 (battery-echo-area-format): Remove yeeloong special case.
10091
10092 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10095 Reported by Noah Friedman.
10096
10097 * subr.el (read-passwd): Use read-string.
10098
10099 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10100
10101 * vcursor.el (vcursor-move): Increase the priority of the overlay
10102 (bug#9663).
10103
10104 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10105
10106 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10107 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10108
10109 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10110
10111 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10112 define-minor-mode (bug#10760).
10113
10114 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10115
10116 * progmodes/grep.el (rgrep): Tweak the find command line so
10117 that directories matching `grep-find-ignored-files' won't be
10118 pruned (bug#10351).
10119
10120 2012-04-11 Chong Yidong <cyd@gnu.org>
10121
10122 * startup.el (command-line): Remove support for long-obsolete
10123 variable font-lock-face-attributes.
10124
10125 2012-04-11 Glenn Morris <rgm@gnu.org>
10126
10127 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10128
10129 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 * window.el (window--state-get-1): Obey window-point-insertion-type.
10132
10133 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10134
10135 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10136 to previous function when point is on the first character of a
10137 function. Take care of that in `narrow-to-defun' (bug#6157).
10138
10139 2012-04-11 Glenn Morris <rgm@gnu.org>
10140
10141 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10142 not just file-errors.
10143
10144 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10145 (vc-bzr-sha1): Use internal sha1.
10146
10147 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10150
10151 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10152
10153 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10154 that start in the middle of the line (bug#10496).
10155
10156 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10157
10158 * battery.el (battery-linux-proc-acpi): Only one battery is
10159 discharged at a time, but that seems to confuse battery.el when
10160 computing `rate-type' for the battery not being discharged
10161 (bug#10332).
10162
10163 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10166
10167 * international/quail.el: Use dolist and simplify.
10168 (quail-define-package, quail-update-keyboard-layout)
10169 (quail-define-rules): Use dolist.
10170 (quail-insert-kbd-layout, quail-get-translation): CSE.
10171
10172 * tmm.el: Use dolist, remove left over hook.
10173 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10174 Use dolist.
10175 (calendar-load-hook): Don't mess with it.
10176
10177 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10178 Use derived-mode-p. Run the diff asynchronously.
10179
10180 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10181
10182 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10183
10184 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10185
10186 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10187 (list-dynamic-libraries--loaded): New function.
10188 (list-dynamic-libraries--refresh): Use it.
10189
10190 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10191
10192 * progmodes/python.el (python-fill-paragraph):
10193 Make python-fill-region in a multiline string work when font-lock is
10194 disabled (bug#7018).
10195
10196 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10197
10198 * language/european.el (cp775): Add oem/legacy (en)coding on
10199 DOS/MS Windows for the Baltic languages. There are still plenty
10200 of texts written in this encoding/codepage (bug#6519).
10201
10202 2012-04-10 Glenn Morris <rgm@gnu.org>
10203
10204 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10205 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10206
10207 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10208
10209 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10210 next-line "n" and previous-line "p" in order to make recentf more
10211 consistent with ibuffer, dired or org-mode (bug#9387).
10212
10213 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214
10215 * image.el (put-image): Return the overlay created instead of the
10216 optional input string (bug#7834). Note that this may break code
10217 that is (for some reason or other) depending on `put-image'
10218 returning the string.
10219
10220 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10221
10222 * simple.el (zap-to-char): Allow zapping using input methods
10223 (bug#1580).
10224
10225 * textmodes/fill.el (fill-region): Leave point and mark where they
10226 were before filling (bug#5399).
10227
10228 2012-04-09 Glenn Morris <rgm@gnu.org>
10229
10230 * version.el (emacs-bzr-get-version):
10231 Handle lightweight checkouts of local branches.
10232
10233 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10234
10235 * international/characters.el: Recover lost case pairs. (Bug#11209)
10236
10237 2012-04-09 Chong Yidong <cyd@gnu.org>
10238
10239 * custom.el (custom-variable-p): Return nil for non-symbol
10240 arguments instead of signaling an error.
10241 (user-variable-p): Obsolete alias for custom-variable-p.
10242
10243 * apropos.el (apropos-variable):
10244 * files-x.el (read-file-local-variable):
10245 * simple.el (set-variable):
10246 * woman.el (woman-mini-help):
10247 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10248
10249 2012-04-09 Glenn Morris <rgm@gnu.org>
10250
10251 * startup.el (normal-top-level): Don't look for leim-list.el
10252 in places where it will not be found. (Bug#910)
10253
10254 * international/mule-cmds.el (set-default-coding-systems):
10255 * files.el (normal-mode):
10256 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10257 This function was removed with ucs-tables.el in 2008.
10258
10259 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10260
10261 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10262 ispell-encoding8-command to "-i", without a trailing space.
10263 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10264 separate command-line arguments, to specify the encoding, since
10265 that's how hunspell expects it.
10266
10267 2012-04-08 Glenn Morris <rgm@gnu.org>
10268
10269 * loadup.el: Load bindings before cus-start.
10270 This reduces somewhat the number of "rogue" settings in emacs -Q.
10271
10272 2012-04-07 Glenn Morris <rgm@gnu.org>
10273
10274 * version.el (emacs-bzr-get-version): New function.
10275 (emacs-bzr-version): New variable.
10276 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10277 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10278
10279 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10280
10281 * international/uni-bidi.el, international/uni-category.el:
10282 * international/uni-combining.el, international/uni-decimal.el:
10283 * international/uni-decomposition.el, international/uni-digit.el:
10284 * international/uni-lowercase.el, international/uni-mirrored.el:
10285 * international/uni-name.el, international/uni-numeric.el:
10286 * international/uni-titlecase.el, international/uni-uppercase.el:
10287 Update for Unicode 6.1.
10288
10289 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10290
10291 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10292
10293 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10294
10295 * window.el (shrink-window): Mention the `window-min-height'
10296 variable in the doc string.
10297
10298 2012-04-05 Bastien Guerry <bzg@altern.org>
10299
10300 * color.el (color-lighten-name): Fix typo.
10301
10302 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * server.el (server--on-display-p): New function.
10305 (server--on-display-p): Use it.
10306
10307 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10308
10309 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10310 (bug#11145).
10311
10312 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * comint.el (comint--common-quoted-suffix): Check string boundary
10315 before comparing (bug#11158).
10316 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10317
10318 2012-04-04 Chong Yidong <cyd@gnu.org>
10319
10320 * minibuffer.el (completion-extra-properties): Doc fix.
10321
10322 * subr.el (delayed-warnings-hook): Doc fix.
10323
10324 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10325
10326 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10327 selection (Bug#11159).
10328 (epa-insert-keys): Inform that the default public key will be
10329 exported if no key is selected.
10330
10331 2012-04-04 Richard Stallman <rms@gnu.org>
10332
10333 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10334
10335 2012-04-03 Chong Yidong <cyd@gnu.org>
10336
10337 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10338 mail-insert-file, not its obsolete alias mail-attach-file.
10339
10340 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10341
10342 * notifications.el (notifications-notify): Fix docstring.
10343
10344 2012-04-02 Glenn Morris <rgm@gnu.org>
10345
10346 * emacs-lisp/authors.el (authors-aliases): Another addition.
10347
10348 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10349
10350 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10351 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10352 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10353
10354 2012-04-01 Chong Yidong <cyd@gnu.org>
10355
10356 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10357 Handle root directory properly.
10358 (copy-directory): Caller changed.
10359
10360 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10361 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10362
10363 2012-03-31 Glenn Morris <rgm@gnu.org>
10364
10365 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10366
10367 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10368
10369 * calendar/calendar.el (calendar-window-list)
10370 (calendar-hide-window): Restore. (Bug#11140)
10371 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10372
10373 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10374
10375 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10376
10377 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10378 Check if file is a symlink (Bug#10489).
10379
10380 * files.el (copy-directory): Likewise.
10381
10382 2012-03-30 Chong Yidong <cyd@gnu.org>
10383
10384 * image.el (imagemagick-types-inhibit)
10385 (imagemagick-register-types): Doc fix.
10386
10387 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10388
10389 * textmodes/ispell.el (ispell-get-extended-character-mode):
10390 Disable extended-char-mode for hunspell. hunspell does not support it
10391 and treats ~word as ordinary words in pipe mode.
10392
10393 2012-03-30 Glenn Morris <rgm@gnu.org>
10394
10395 * tutorial.el (help-with-tutorial): Ensure local variables don't
10396 happen to make the buffer read-only. (Bug#11127)
10397
10398 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10401 (perl-calculate-indent): Return `noindent' in strings.
10402
10403 2012-03-28 Sam Steingold <sds@gnu.org>
10404
10405 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10406 instead of the broken adhockery which does not prevent calendar
10407 buffers from being displayed at random after exit.
10408 (calendar-window-list, calendar-hide-window): Remove the broken
10409 adhockery.
10410
10411 2012-03-28 Glenn Morris <rgm@gnu.org>
10412
10413 * replace.el (query-replace-map): Doc fix.
10414
10415 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10416
10417 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10418 contents. (Bug#11109)
10419
10420 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10423 (bug#11077).
10424 (avl-tree--check, avl-tree--check-node): New funs.
10425
10426 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10427
10428 * window.el (switch-to-visible-buffer): New option.
10429 (switch-to-prev-buffer, switch-to-next-buffer):
10430 Observe switch-to-visible-buffer. Make sure that checking for a window
10431 showing a buffer already is done on the same frame.
10432
10433 2012-03-27 Glenn Morris <rgm@gnu.org>
10434
10435 * startup.el (mail-host-address): Doc fix.
10436
10437 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10440 than 197 variables.
10441
10442 2012-03-26 Ami Fischman <ami@fischman.org>
10443
10444 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10445
10446 2012-03-26 Glenn Morris <rgm@gnu.org>
10447
10448 * files.el (save-buffers-kill-emacs): Doc fix.
10449
10450 * startup.el (normal-top-level, command-line, command-line-1):
10451 Give them doc strings.
10452
10453 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10454
10455 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10456 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10457
10458 2012-03-25 Chong Yidong <cyd@gnu.org>
10459
10460 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10461 theme if it was previously enabled before (Bug#11031).
10462
10463 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10464 spec with custom-face-get-current-spec if its :shown-value is not
10465 determined yet (Bug#9337).
10466 (customize-create-theme, custom-theme-revert): Doc fixes.
10467
10468 * button.el (button-at): Minor addition to docstring.
10469
10470 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10471
10472 * vc/vc.el (vc-merge): Fix a prompt.
10473
10474 2012-03-24 Chong Yidong <cyd@gnu.org>
10475
10476 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10477 point (Bug#9623).
10478
10479 * button.el (button-at): Minor addition to docstring.
10480
10481 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * newcomment.el (comment-choose-indent): No space after BOL.
10484
10485 2012-03-22 Sam Steingold <sds@gnu.org>
10486
10487 * window.el (switch-to-prev-buffer): Revert last patch because the
10488 bug turned out to be an advertised feature (Elisp manual 28.14).
10489
10490 2012-03-22 Glenn Morris <rgm@gnu.org>
10491
10492 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10493 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10494
10495 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10496
10497 * net/network-stream.el (network-stream-open-starttls): Make error
10498 message under Windows be less misleading.
10499
10500 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10501
10502 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10503 understands (bug#9942).
10504
10505 2012-03-22 Chong Yidong <cyd@gnu.org>
10506
10507 * simple.el (end-of-visible-line): Handle return value of
10508 next-single-property-change properly (Bug#9371).
10509
10510 2012-03-22 Kenichi Handa <handa@m17n.org>
10511
10512 * international/quail.el (quail-insert-kbd-layout): Fix previous
10513 change. To avoid unwanted bidi reordering, use
10514 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10515
10516 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10517
10518 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10519 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10520 (ruby-beginning-of-indent): Be more careful with the difference
10521 between word-boundary and symbol boundary.
10522 (ruby-mode-syntax-table): Make : a symbol constituent.
10523
10524 2012-03-21 Andreas Politz <politza@fh-trier.de>
10525
10526 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10527
10528 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * progmodes/etags.el (tags-completion-at-point-function):
10531 Improve last fix.
10532
10533 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10534
10535 2012-03-21 Sam Steingold <sds@gnu.org>
10536
10537 * progmodes/etags.el (tags-completion-at-point-function):
10538 Avoid the error when point is inside the pattern.
10539
10540 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10541
10542 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10543 line (Bug#10855).
10544
10545 2012-03-21 Drew Adams <drew.adams@oracle.com>
10546
10547 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10548
10549 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10550
10551 * ido.el (ido-set-current-directory, ido-read-internal)
10552 (ido-choose-completion-string, ido-completion-help): Handle nil
10553 value of ido-completion-buffer (Bug#11008).
10554
10555 2012-03-21 Sam Steingold <sds@gnu.org>
10556
10557 * window.el (switch-to-prev-buffer): Do not switch to a visible
10558 window previous buffer, just like with the frame previous buffers.
10559
10560 2012-03-21 Chong Yidong <cyd@gnu.org>
10561
10562 * faces.el (make-face, make-empty-face, copy-face):
10563 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10564 Doc fixes.
10565
10566 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10569 (widget-complete): Remove broken use of it.
10570
10571 2012-03-20 Chong Yidong <cyd@gnu.org>
10572
10573 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10574 Use string-width and truncate-string-width to handle arbitrary
10575 characters.
10576
10577 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10578
10579 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10580 to draw rectangles, not squares. (Regression introduced by revno
10581 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10582
10583 2012-03-18 Chong Yidong <cyd@gnu.org>
10584
10585 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10586 it is not yet defined (for temacs).
10587
10588 2012-03-18 Leo Liu <sdl.web@gmail.com>
10589
10590 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10591 prefix.
10592
10593 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10594
10595 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10596 (ispell-choices-win-default-height, ispell-silently-savep)
10597 (ispell-dictionary-alist, ispell-encoding8-command)
10598 (ispell-check-version, ispell-aspell-find-dictionary)
10599 (ispell-valid-dictionary-list, ispell-words-keyword)
10600 (ispell-get-word, ispell-internal-change-dictionary)
10601 (ispell-region, ispell-skip-region-list)
10602 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10603 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10604 (ispell-message-text-end, ispell-message)
10605 (ispell-buffer-local-parsing): Doc fix.
10606
10607 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10608
10609 * htmlfontify.el: Add support for code block fontification for ODT
10610 export (Bug #9914).
10611 (hfy-optimisations): Define new option
10612 `body-text-only'
10613 (hfy-fontify-buffer): Honor above setting.
10614 (hfy-begin-span, hfy-end-span): New routines factored out form
10615 `hfy-fontify-buffer'.
10616 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10617 that permit insertion of custom tags.
10618 (hfy-fontify-buffer): Use above handlers.
10619 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10620 (hfy-face-to-css): Re-defined to be a variable.
10621 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10622 over multiple runs. This is made possible by having the caller let
10623 bind a special variable `hfy-user-sheet-assoc'.
10624 (htmlfontify-string): New defun.
10625 (hfy-compile-face-map): Make sure that the last char in the
10626 buffer is correctly fontified.
10627 (hfy-face-resolve-face): Whitespace only change.
10628
10629 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10630
10631 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10632 message more clear.
10633
10634 2012-03-16 Leo Liu <sdl.web@gmail.com>
10635
10636 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10637
10638 2012-03-16 Alan Mackenzie <acm@muc.de>
10639
10640 Further optimise the handling of large macros.
10641
10642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10643 limit to a call of `c-literal-limits'.
10644 (c-determine-+ve-limit): New function.
10645 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10646 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10647 In CASE 5B, restrict a search limit to 500.
10648 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10649
10650 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10651 Restrict macro bounds to +-500 from after-change's BEG END.
10652
10653 2012-03-16 Leo Liu <sdl.web@gmail.com>
10654
10655 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10656
10657 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10658
10659 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10660 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10661
10662 2012-03-16 Glenn Morris <rgm@gnu.org>
10663
10664 * view.el (view-buffer, view-buffer-other-window)
10665 (view-buffer-other-frame): Doc fixes re special mode-class.
10666
10667 * subr.el (eval-after-load): If named feature is provided not from
10668 a file, run after-load forms. (Bug#10946)
10669
10670 * calendar/calendar.el (calendar-insert-at-column):
10671 Handle non-unit-width characters a bit better. (Bug#10978)
10672
10673 2012-03-15 Chong Yidong <cyd@gnu.org>
10674
10675 * emacs-lisp/ring.el (ring-extend): New function.
10676 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10677
10678 * comint.el (comint-read-input-ring)
10679 (comint-add-to-input-history): Grow comint-input-ring lazily.
10680
10681 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10684 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10685
10686 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10687 (imenu-add-to-menubar): Don't add a redundant index.
10688 (imenu-update-menubar): Handle a dynamically composed keymap.
10689
10690 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10691
10692 * mail/sendmail.el (mail-encode-header):
10693 Bind rfc2047-encode-encoded-words to nil.
10694
10695 2012-03-13 Glenn Morris <rgm@gnu.org>
10696
10697 * calendar/calendar.el (calendar-string-spread):
10698 Handle non-unit-width characters a bit better. (Bug#10978)
10699
10700 2012-03-13 Leo Liu <sdl.web@gmail.com>
10701
10702 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10703 directory and file as argument (Bug#10822).
10704
10705 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10706
10707 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10708 For dynamically generated code, follow $PC.
10709 (gdb-disassembly-handler-custom): Handle no function name case.
10710
10711 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10712
10713 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10714 * emulation/ws-mode.el (ws-query-replace):
10715 * sort.el (sort-regexp-fields):
10716 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10717
10718 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * dabbrev.el: Fix cycle completion order (bug#10963).
10721 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10722 (dabbrev-completion): Don't use an obarray; provide
10723 a cycle-sort-function.
10724
10725 2012-03-12 Leo Liu <sdl.web@gmail.com>
10726
10727 * simple.el (kill-new): Use equal-including-properties for comparison.
10728 (kill-do-not-save-duplicates): Doc fix.
10729
10730 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * dabbrev.el: Fix cycle completion (bug#10963).
10733 Use lexical binding and wrap to 80 columns.
10734 (dabbrev-completion): Delay computing the list of completions.
10735
10736 2012-03-12 Kenichi Handa <handa@m17n.org>
10737
10738 * international/quail.el (quail-insert-kbd-layout): Surround each
10739 row by LRO and PDF instead of inserting many LRMs. Pad the left
10740 and right of each non-spacing marks. Insert invisible space
10741 between lower and upper characters to prevent composition.
10742
10743 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * minibuffer.el (minibuffer-complete): Don't get confused when the
10746 function is run twice via different commands (bug#10958).
10747 (complete-with-action): Fix docstring.
10748
10749 2012-03-12 Chong Yidong <cyd@gnu.org>
10750
10751 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10752 (nxml-completion-at-point-function): New function.
10753 (nxml-mode): Use it.
10754 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10755
10756 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10757 Load generated autoloads file before byte compiling (Bug#10970).
10758 (package--make-autoloads-and-compile): New helper fun.
10759
10760 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10761
10762 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10763
10764 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10765
10766 * autorevert.el (auto-revert-handler): Ensure, that
10767 file-readable-p is applied only for local files or in
10768 auto-revert-tail-mode.
10769
10770 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10771
10772 * server.el (server-eval-at): Handle non-tcp connections.
10773 Decode result string.
10774
10775 * server.el (server-msg-size): New constant.
10776 (server-reply-print): New function.
10777 (server-eval-and-print): Use it.
10778 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10779 Handle -print-nonl.
10780
10781 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10782
10783 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10784 (Bug#10987).
10785
10786 2012-03-11 Chong Yidong <cyd@gnu.org>
10787
10788 * simple.el (goto-line): Doc fix (Bug#9938).
10789
10790 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10791
10792 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10793 when finished (Bug#10963).
10794
10795 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10796
10797 * window.el (split-window-below): Fix bug in case where
10798 split-window-keep-point is nil (Bug#10971).
10799
10800 2012-03-11 Juri Linkov <juri@jurta.org>
10801
10802 * replace.el (replace-highlight): Set isearch-word to nil
10803 unconditionally. (Bug#10887)
10804
10805 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10806
10807 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10808 mairix-replace-illegal-chars; all callers changed. Don't remove
10809 ^, ~, and = characters: they are meaningful in mairix search specs.
10810 (mairix-widget-create-query): Add usage information about mairix
10811 search forms: negating words, searching for substrings, etc.
10812
10813 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10814
10815 * international/fontset.el (font-encoding-alist): Add an entry for
10816 ksx1001 (Bug#5667).
10817
10818 2012-03-10 Richard Stallman <rms@gnu.org>
10819
10820 * mail/sendmail.el (mail-encode-header):
10821 Set rfc2047-encode-encoded-words.
10822
10823 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10824
10825 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10826 view buffer means not swapped.
10827 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10828 (rmail-write-region-annotate): Error if real text has disappeared.
10829
10830 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10831
10832 2012-03-10 Chong Yidong <cyd@gnu.org>
10833
10834 * emulation/cua-rect.el (cua--init-rectangles):
10835 * emulation/cua-base.el (cua--init-keymaps):
10836 Add delete-forward-char to remappings (Bug#9666).
10837
10838 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10839
10840 * speedbar.el (speedbar-unhighlight-one-tag-line):
10841 Avoid unhighlighting due to frame switching (Bug#10275).
10842
10843 2012-03-10 Chong Yidong <cyd@gnu.org>
10844
10845 * minibuffer.el (completion-in-region, completion-help-at-point):
10846 Give the completion field overlay a high priority (Bug#6830).
10847
10848 * dired.el (dired-goto-file): Recognize absolute file name
10849 listings (Bug#7126).
10850 (dired-goto-file-1): New helper function.
10851 (dired-toggle-read-only): Inhibit warnings.
10852
10853 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10854
10855 * net/dbus.el (dbus-property-handler): Return empty array if
10856 there are no properties.
10857
10858 2012-03-09 Leo Liu <sdl.web@gmail.com>
10859
10860 * savehist.el (savehist-printable): Stricter check for string
10861 value (Bug#10937).
10862
10863 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10864
10865 * mail/smtpmail.el (smtpmail-send-it):
10866 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10867 valid mbox format.
10868
10869 2012-03-09 Glenn Morris <rgm@gnu.org>
10870
10871 * files.el (dir-locals-find-file):
10872 Don't check result is regular, readable.
10873 (dir-locals-read-from-file): Demote errors.
10874
10875 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10876
10877 * international/quail.el (quail-insert-kbd-layout):
10878 Insert invisible LRM characters before each character in a keyboard
10879 layout cell, to prevent their reordering by bidi display engine.
10880 For details, see the discussion in
10881 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10882
10883 2012-03-08 Alan Mackenzie <acm@muc.de>
10884
10885 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10886 the starting position; make it extend the marked region when
10887 invoked repeatedly - all under appropriate circumstances.
10888 Fixes bugs #5525, #10906.
10889
10890 2012-03-08 Glenn Morris <rgm@gnu.org>
10891
10892 * files.el (locate-dominating-file, dir-locals-find-file):
10893 Undo 2012-03-06 change.
10894
10895 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10896
10897 * international/quail.el (quail-help):
10898 Force bidi-paragraph-direction be left-to-right. See discussion in
10899 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10900 for the reason.
10901
10902 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10903
10904 Avoid superfluous registering of signals. (Bug#10807)
10905
10906 * notifications.el (notifications-on-action-object)
10907 (notifications-on-close-object): New defvars.
10908 (notifications-on-action-signal, notifications-on-closed-signal):
10909 Unregister the signal if not needed any longer.
10910 (notifications-notify): Register `notifications-action-signal' or
10911 `notifications-closed-signal', if :on-action or :on-close has been
10912 passed as argument.
10913
10914 2012-03-07 Chong Yidong <cyd@gnu.org>
10915
10916 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10917 non-X platforms.
10918
10919 2012-03-06 Glenn Morris <rgm@gnu.org>
10920
10921 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10922 (x-disown-selection-internal, x-get-selection-internal):
10923 Doc fix (add arglist signatures). (Bug#10783)
10924
10925 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10926
10927 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10928 Handle breakpoints with no "type".
10929
10930 2012-03-06 Glenn Morris <rgm@gnu.org>
10931
10932 * files.el (locate-dominating-file): Add optional predicate argument.
10933 (dir-locals-find-file): Make use of above change.
10934
10935 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10936
10937 * info.el (Info-insert-dir): Also try "dir.gz".
10938
10939 2012-03-06 Glenn Morris <rgm@gnu.org>
10940
10941 * files.el (dir-locals-find-file):
10942 Ignore non-readable or non-regular files. (Bug#10928)
10943
10944 * files.el (locate-dominating-file): Doc fix.
10945
10946 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10947
10948 * calendar/calendar.el (calendar-set-mode-line):
10949 `getenv' returns a string. (Bug#10951)
10950
10951 2012-03-05 Leo Liu <sdl.web@gmail.com>
10952
10953 * simple.el (backward-delete-char-untabify): Constrain point to
10954 field (Bug#10939).
10955
10956 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10957
10958 2012-03-05 Chong Yidong <cyd@gnu.org>
10959
10960 * simple.el (count-words): If called from Lisp, return the word
10961 count, for symmetry with `count-lines'. Arglist changed.
10962 (count-words--message): Args changed. Consolidate counting code
10963 from count-words and count-words-region.
10964 (count-words-region): Caller changed.
10965 (count-lines-region): Make it an obsolete alias.
10966
10967 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10968
10969 * saveplace.el (save-place-to-alist)
10970 (save-place-ignore-files-regexp): Allow value nil to disable this
10971 feature.
10972
10973 2012-03-04 Chong Yidong <cyd@gnu.org>
10974
10975 * faces.el (face-spec-reset-face): For the default face, reset the
10976 attributes to default values (Bug#10748).
10977
10978 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10979
10980 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10981 previous patch: Check `message-send-mail-function', and not the
10982 default function (bug#10897).
10983
10984 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10985
10986 * notifications.el (notifications-on-action-signal)
10987 (notifications-on-closed-signal): Check for unique service name of
10988 incoming event. Fix error in removing entry.
10989 (top): Register for signals with wildcard service name.
10990 (notifications-notify): Use daemon unique service name for map entries.
10991
10992 2012-03-04 Chong Yidong <cyd@gnu.org>
10993
10994 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10995
10996 2012-03-04 Glenn Morris <rgm@gnu.org>
10997
10998 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10999 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11000 (expand-abbrev, define-abbrev-table): Doc fixes.
11001
11002 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11003
11004 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11005 `message-default-send-mail-function' and not `send-mail-function'
11006 when doing the prompting for `sendmail-query-once' before sending
11007 in Message buffers (bug#10897).
11008
11009 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11010 This is inconsistent with all the other stream functions, which leave
11011 the setting up to the higher levels (if so wanted) (bug#10931).
11012
11013 2012-03-02 Alan Mackenzie <acm@muc.de>
11014
11015 Depessimize the handling of very large macros.
11016
11017 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11018 (c-macro-cache-syntactic): New variables to implement a one
11019 element macro cache.
11020 (c-invalidate-macro-cache): New function.
11021 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11022 Adapt to use the new cache.
11023 (c-state-safe-place): Use better the cache of safe positions.
11024 (c-state-semi-nonlit-pos-cache)
11025 (c-state-semi-nonlit-pos-cache-limit):
11026 New variables for...
11027 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11028 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11029 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11030 Use c-state-semi-safe-place.
11031
11032 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11033 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11034
11035 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11036
11037 * jka-compr.el (jka-compr-call-process):
11038 Apply `file-accessible-directory-p' only when the default directory is
11039 not remote.
11040
11041 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11044 access of FILE2, if FILE1 does not exist.
11045
11046 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11047 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11048
11049 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11050 Add "PAGER=" to `process-environment'.
11051
11052 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11053
11054 * progmodes/sql.el: Bug fix
11055 (sql-get-login-ext): Save login values in globals.
11056 (sql-get-login): Use new version of `sql-get-login-ext'.
11057 (sql-interactive-mode): Set global `sql-connection' to nil.
11058 (sql-connect): Set global values for connection.
11059 (sql-product-interactive): Save global values as buffer local.
11060
11061 2012-02-29 Leo Liu <sdl.web@gmail.com>
11062
11063 * abbrev.el (define-abbrevs): Reset sys to nil.
11064
11065 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11066
11067 * files.el (file-equal-p): Rename from `files-equal-p'.
11068 Return nil when one or both files don't exist.
11069 (file-subdir-of-p): Now only top directory must exists,
11070 return nil if it doesn't.
11071 (copy-directory): No need to test with `file-subdir-of-p' after
11072 creating dir.
11073 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11074 to `file-equal-p'.
11075
11076 2012-02-28 Glenn Morris <rgm@gnu.org>
11077
11078 * shell.el (shell-mode):
11079 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11080 * play/landmark.el (landmark-font-lock-face-O):
11081 * play/handwrite.el (handwrite):
11082 * play/gomoku.el (gomoku-O):
11083 * net/browse-url.el (browse-url-browser-display):
11084 * international/mule.el (define-charset):
11085 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11086 * filesets.el (filesets-find-file-delay):
11087 * eshell/em-xtra.el (eshell-xtra):
11088 * eshell/em-unix.el (eshell-grep):
11089 * emulation/viper.el (viper-mode):
11090 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11091 * emacs-lisp/easymenu.el (easy-menu-define):
11092 * calendar/timeclock.el (timeclock-use-display-time):
11093 * bs.el (bs-mode):
11094 * bookmark.el (bookmark-save-flag):
11095 Doc fix (standardize possessive apostrophe usage).
11096
11097 2012-02-27 Chong Yidong <cyd@gnu.org>
11098
11099 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11100 Fix key-binding lookup for ESC key (Bug#9146).
11101
11102 * font-lock.el (font-lock-specified-p): Rename from
11103 font-lock-spec-present. Callers changed.
11104
11105 2012-02-27 Daniel Hackney <dan@haxney.org>
11106
11107 * emacs-lisp/package.el (package-compute-transaction):
11108 Handle holding a package version to t in package-load-list.
11109
11110 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11111
11112 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11113 (tramp-get-inode, tramp-get-device): Use cached values.
11114
11115 2012-02-26 Alan Mackenzie <acm@muc.de>
11116
11117 Check there is a font-lock specification before doing initial
11118 fontification.
11119
11120 * font-core.el (font-lock-mode): Move the conditional from
11121 :after-hook to font-lock-initial-fontify.
11122 (font-lock-default-function): Move the check for a specification
11123 to font-lock-spec-present.
11124
11125 * font-lock.el (font-lock-initial-fontify): Call ...
11126 (font-lock-spec-present): New function.
11127
11128 2012-02-26 Jim Blandy <jimb@red-bean.com>
11129
11130 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11131 (gdb-send): Apply it to the operand of the '-interpreter-exec
11132 console' command, so that we can pass arguments with (say) quotes
11133 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11134
11135 2012-02-26 Chong Yidong <cyd@gnu.org>
11136
11137 * help-fns.el (describe-function-1): Clarify description of
11138 remapping (Bug#10844).
11139
11140 * files.el (files-equal-p): Doc fix.
11141 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11142 and quit the loop once a mismatch is found.
11143
11144 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11145
11146 * bs.el (bs--show-with-configuration): Don't throw an error
11147 if the window cannot be split; otherwise, subsequent calls to
11148 bs-show fail, restoring a stale window config. (Bug#10882)
11149
11150 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11151
11152 * term/ns-win.el (global-map): Bind ns-drag-file to
11153 ns-find-file (Bug#5855, Bug#10050).
11154
11155 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * calendar/parse-time.el (parse-time-string): Allow extractor to
11158 return nil.
11159
11160 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11161
11162 * net/tramp.el (tramp-file-name-for-operation):
11163 Add `files-equal-p' and `file-subdir-of-p'.
11164
11165 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11166 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11167 Add COPY-CONTENTS argument.
11168
11169 2012-02-25 Chong Yidong <cyd@gnu.org>
11170
11171 Add custom groups for VC backends, for consistency with vc-bzr.
11172
11173 * vc/vc-arch.el (vc-arch):
11174 * vc/vc-cvs.el (vc-cvs):
11175 * vc/vc-git.el (vc-git):
11176 * vc/vc-hg.el (vc-hg):
11177 * vc/vc-mtn.el (vc-mtn):
11178 * vc/vc-rcs.el (vc-rcs):
11179 * vc/vc-sccs.el (vc-sccs):
11180 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11181 All relevant defcustoms reassigned.
11182
11183 2012-02-25 Chong Yidong <cyd@gnu.org>
11184
11185 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11186
11187 * term/x-win.el (x-initialize-window-system): Reduce default for
11188 x-selection-timeout to 5 seconds (Bug#8869).
11189
11190 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11191
11192 * files.el (files-equal-p, file-subdir-of-p): New functions.
11193 (copy-directory): Error when trying to copy a directory on itself.
11194 Add missing copy-contents arg to tramp handler.
11195 * dired-aux.el (dired-copy-file-recursive): Same.
11196 (dired-create-files): Modify destination when source is equal to
11197 dest when copying files.
11198 Return also when dest is a subdir of source. (Bug#10489)
11199
11200 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11201
11202 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11203 (Bug#10874)
11204
11205 2012-02-23 Alan Mackenzie <acm@muc.de>
11206
11207 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11208 parameter "after-hook:" to allow the expansion to run code after
11209 the execution of the mode hooks.
11210
11211 * font-lock.el (font-lock-initial-fontify): New function extracted
11212 from font-lock-mode-internal.
11213
11214 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11215 :after-hook.
11216
11217 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11220 (completion--cache-all-sorted-completions): New function.
11221 (completion-all-sorted-completions): Use it.
11222 (completion--do-completion, minibuffer-force-complete):
11223 Use it to re-instate the flush hook.
11224
11225 * icomplete.el (icomplete-completions): Replace last fix with a better
11226 one (bug#10850).
11227
11228 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11229
11230 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11231 when it might call us back infinitely (bug#10797).
11232
11233 2012-02-23 Glenn Morris <rgm@gnu.org>
11234
11235 * minibuffer.el (completion-category-overrides): Doc fix.
11236
11237 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11240 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11241
11242 2012-02-23 Glenn Morris <rgm@gnu.org>
11243
11244 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11245 (authors-obsolete-files-regexps, authors-ignored-files)
11246 (authors-ambiguous-files, authors-renamed-files-alist):
11247 Add more entries.
11248
11249 2012-02-23 Juri Linkov <juri@jurta.org>
11250
11251 * isearch.el (isearch-occur): Sync interactive spec with occur's
11252 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11253
11254 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11255
11256 2012-02-22 Juri Linkov <juri@jurta.org>
11257
11258 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11259 (ucs-insert): Doc fix. Check for hex digits in the string.
11260 Don't display `nil' in the error message. (Bug#10857)
11261
11262 2012-02-22 Alan Mackenzie <acm@muc.de>
11263
11264 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11265
11266 2012-02-22 Glenn Morris <rgm@gnu.org>
11267
11268 * ffap.el (ffap-c-path):
11269 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11270
11271 2012-02-22 Chong Yidong <cyd@gnu.org>
11272
11273 * custom.el (load-theme): Doc fix.
11274
11275 2012-02-22 Glenn Morris <rgm@gnu.org>
11276
11277 * dired-x.el (dired-guess-shell-alist-default):
11278 Remove escape sequences from nroff output. (Bug#172)
11279
11280 2012-02-21 Glenn Morris <rgm@gnu.org>
11281
11282 * vc/emerge.el (emerge-defvar-local):
11283 Set `permanent-local' property rather than unused `preserved'.
11284
11285 * textmodes/picture.el (picture-delete-char): New alias.
11286 (picture-mode-map): Use it. (Bug#10860)
11287 (picture-mode): Doc fix.
11288
11289 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11290
11291 * newcomment.el (uncomment-region-default): Remove unused binding.
11292
11293 2012-02-21 Glenn Morris <rgm@gnu.org>
11294
11295 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11296 (picture-self-insert, picture-tab-chars): Doc fix.
11297 (picture-mode-map): Fix C-a, C-e.
11298
11299 2012-02-20 Glenn Morris <rgm@gnu.org>
11300
11301 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11302
11303 2012-02-20 Leo Liu <sdl.web@gmail.com>
11304
11305 * icomplete.el (icomplete-completions): Check FROM arg before
11306 passing to substring (Bug#10850).
11307
11308 2012-02-19 Chong Yidong <cyd@gnu.org>
11309
11310 * comint.el: Require ansi-color.
11311 (comint-output-filter-functions): Add ansi-color-process-output.
11312
11313 * ansi-color.el: Don't set comint-output-filter-functions; it is
11314 now in the initial value defined in comint.el.
11315 (ansi-color-apply-face-function): New variable.
11316 (ansi-color-apply-on-region): Use it.
11317 (ansi-color-apply-overlay-face): New function.
11318
11319 * shell.el (shell): No need to require ansi-color.
11320 (shell-mode): Use ansi-color-apply-face-function to highlight
11321 color escapes using font-lock-face property (Bug#10835).
11322
11323 2012-02-19 Chong Yidong <cyd@gnu.org>
11324
11325 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11326 mode-line formats (Bug#10839).
11327
11328 2012-02-18 Glenn Morris <rgm@gnu.org>
11329
11330 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11331
11332 * mail/undigest.el (unforward-rmail-message): Doc fix.
11333
11334 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11335
11336 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11337
11338 * international/characters.el (script-list): Sync with the latest
11339 Unicode Character Database.
11340
11341 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11342
11343 * international/titdic-cnv.el: Remove duplicate coding tag.
11344 * language/cham.el: Likewise.
11345 * language/tai-viet.el: Likewise.
11346
11347 2012-02-18 Glenn Morris <rgm@gnu.org>
11348
11349 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11350 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11351 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11352 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11353 * calendar/holidays.el (holiday-bahai-holidays)
11354 (calendar-holidays, list-holidays):
11355 Use utf-8 Bahá'í in doc-strings, menus, etc.
11356
11357 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11358
11359 * saveplace.el (save-place-ignore-files-regexp): New variable
11360 allowing for excluding files from saving their location of point.
11361 The default value matches the temporary commit message editing
11362 files from Git, SVN, Bazaar, and Mercurial.
11363 (save-place-to-alist): Use it.
11364
11365 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11366 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * newcomment.el (uncomment-region-default): Don't leave extra space
11369 when an arg is provided (bug#8150).
11370
11371 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11372
11373 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11374
11375 2012-02-17 Glenn Morris <rgm@gnu.org>
11376
11377 * net/socks.el: Require network-stream. (Bug#10599)
11378
11379 2012-02-17 Kenichi Handa <handa@m17n.org>
11380
11381 * international/charprop.el:
11382 * international/uni-name.el:
11383 * international/uni-old-name.el:
11384 * international/uni-comment.el: Regenerate.
11385
11386 2012-02-16 Glenn Morris <rgm@gnu.org>
11387
11388 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11389 Interactively in calendar buffer, give an error if not on a date.
11390
11391 2012-02-15 Glenn Morris <rgm@gnu.org>
11392
11393 * shell.el (shell-delimiter-argument-list):
11394 Revert 2011-02-17 change. (Bug#8027)
11395
11396 2012-02-15 Chong Yidong <cyd@gnu.org>
11397
11398 * minibuffer.el (completion-at-point-functions): Doc fix.
11399
11400 * custom.el (defcustom): Doc fix; note use of defvar.
11401
11402 2012-02-15 Glenn Morris <rgm@gnu.org>
11403
11404 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11405 Doc fixes.
11406
11407 2012-02-14 Glenn Morris <rgm@gnu.org>
11408
11409 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11410
11411 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11412
11413 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11414 way the ports list is computed.
11415 (smtpmail-query-smtp-server): Prompt the user for a port number if
11416 we can't connect to any of the standard ports (bug#10810).
11417
11418 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11419
11420 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11421
11422 2012-02-13 Glenn Morris <rgm@gnu.org>
11423
11424 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11425
11426 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11427
11428 * net/gnutls.el (gnutls-trustfiles): New variable.
11429 (gnutls-negotiate): Use it.
11430
11431 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11432
11433 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11434 does its stuff if Gnus is running.
11435
11436 2012-02-13 Alan Mackenzie <acm@muc.de>
11437
11438 Fix a loop in c-set-fl-decl-start.
11439
11440 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11441 c-backward-syntactic-ws actually moves backwards.
11442
11443 2012-02-13 Leo Liu <sdl.web@gmail.com>
11444
11445 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11446 beginning so that all \C-o chars are removed.
11447
11448 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11449
11450 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11451
11452 2012-02-12 Alan Mackenzie <acm@muc.de>
11453
11454 Fix infinite loop with long macros.
11455 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11456
11457 2012-02-12 Chong Yidong <cyd@gnu.org>
11458
11459 * window.el (display-buffer): Doc fix (Bug#10785).
11460
11461 2012-02-12 Glenn Morris <rgm@gnu.org>
11462
11463 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11464 (x-disown-selection-internal, x-get-selection-internal):
11465 Sync docs with the xselect.c versions.
11466
11467 * allout-widgets.el: Add missing license notice.
11468
11469 2012-02-11 Glenn Morris <rgm@gnu.org>
11470
11471 * select.el (x-get-selection-internal, x-own-selection-internal)
11472 (x-disown-selection-internal):
11473 * x-dnd.el (x-get-selection-internal): Update declarations.
11474
11475 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11476
11477 * window.el (window-sides-slots):
11478 * tool-bar.el (tool-bar-position):
11479 * term/xterm.el (xterm-extra-capabilities):
11480 * ses.el (ses-self-reference-early-detection):
11481 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11482 (verilog-auto-wire-type)
11483 (verilog-auto-delete-trailing-whitespace)
11484 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11485 (verilog-auto-tieoff-declaration):
11486 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11487 (sql-oracle-statement-starters, sql-oracle-scan-on):
11488 * progmodes/prolog.el (prolog-align-comments-flag)
11489 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11490 (prolog-left-indent-regexp, prolog-paren-indent-p)
11491 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11492 (prolog-types, prolog-mode-specificators)
11493 (prolog-determinism-specificators, prolog-directives)
11494 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11495 (prolog-electric-dot-flag)
11496 (prolog-electric-dot-full-predicate-template)
11497 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11498 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11499 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11500 (prolog-program-switches, prolog-prompt-regexp)
11501 (prolog-debug-on-string, prolog-debug-off-string)
11502 (prolog-trace-on-string, prolog-trace-off-string)
11503 (prolog-zip-on-string, prolog-zip-off-string)
11504 (prolog-use-standard-consult-compile-method-flag)
11505 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11506 (prolog-imenu-max-lines, prolog-info-predicate-index)
11507 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11508 (prolog-char-quote-workaround):
11509 * progmodes/cc-vars.el (c-defun-tactic):
11510 * net/tramp.el (tramp-encoding-command-interactive)
11511 (tramp-local-end-of-line):
11512 * net/soap-client.el (soap-client):
11513 * net/netrc.el (netrc-file):
11514 * net/gnutls.el (gnutls):
11515 * minibuffer.el (completion-category-overrides)
11516 (completion-cycle-threshold)
11517 (completion-pcm-complete-word-inserts-delimiters):
11518 * man.el (Man-name-local-regexp):
11519 * mail/feedmail.el (feedmail-display-full-frame):
11520 * international/characters.el (glyphless-char-display-control):
11521 * eshell/em-ls.el (eshell-ls-date-format):
11522 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11523 (lisp-lambda-list-keyword-parameter-indentation)
11524 (lisp-lambda-list-keyword-parameter-alignment):
11525 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11526 * dired-x.el (dired-omit-verbose):
11527 * cus-theme.el (custom-theme-allow-multiple-selections):
11528 * calc/calc.el (calc-highlight-selections-with-faces)
11529 (calc-lu-field-reference, calc-lu-power-reference)
11530 (calc-note-threshold):
11531 * battery.el (battery-mode-line-limit):
11532 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11533 (archive-7z-update):
11534 * allout.el (allout-prefixed-keybindings)
11535 (allout-unprefixed-keybindings)
11536 (allout-inhibit-auto-fill-on-headline)
11537 (allout-flattened-numbering-abbreviation):
11538 * allout-widgets.el (allout-widgets-auto-activation)
11539 (allout-widgets-icons-dark-subdir)
11540 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11541 (allout-widgets-theme-dark-background)
11542 (allout-widgets-theme-light-background)
11543 (allout-widgets-item-image-properties-emacs)
11544 (allout-widgets-item-image-properties-xemacs)
11545 (allout-widgets-run-unit-tests-on-load)
11546 (allout-widgets-time-decoration-activity)
11547 (allout-widgets-hook-error-post-time)
11548 (allout-widgets-track-decoration):
11549 Add missing :version tags to new defcustoms and defgroups.
11550
11551 * progmodes/sql.el (sql-ansi-statement-starters)
11552 (sql-oracle-statement-starters): Add custom type.
11553
11554 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11555 (prolog-system-version): Give it a type.
11556
11557 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11558
11559 * term/pc-win.el (x-select-text, x-selection-owner-p)
11560 (x-own-selection-internal, x-disown-selection-internal)
11561 (x-get-selection-internal): Sync doc strings and argument lists
11562 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11563
11564 2012-02-11 Leo Liu <sdl.web@gmail.com>
11565
11566 * progmodes/python.el (python-end-of-statement): Fix infinite
11567 loop. (Bug#10788)
11568
11569 2012-02-10 Glenn Morris <rgm@gnu.org>
11570
11571 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11572 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11573
11574 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11575
11576 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11577 about SMTP before checking the From header.
11578
11579 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11580 into own function for reuse by emacsbug.el.
11581
11582 2012-02-10 Leo Liu <sdl.web@gmail.com>
11583
11584 * subr.el (condition-case-unless-debug): Rename from
11585 condition-case-no-debug. All callers changed.
11586 (with-demoted-errors): Fix caller.
11587
11588 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11589 * nxml/rng-valid.el (rng-do-some-validation):
11590 * emacs-lisp/package.el (package-refresh-contents)
11591 (package-menu-execute):
11592 * desktop.el (desktop-create-buffer):
11593 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11594
11595 2012-02-10 Glenn Morris <rgm@gnu.org>
11596
11597 * textmodes/bibtex.el:
11598 Add missing :version tags for new/changed defcustoms.
11599
11600 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11601
11602 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11603
11604 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11605 (smtpmail-via-smtp): Use it, or fall back on the From address.
11606 (smtpmail-send-it): Ditto.
11607
11608 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11611 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11612 (byte-compile-tmp-var): New const.
11613 (byte-compile-defvar): Use it to minimize .elc size.
11614 Just use `defvar' rather than simulate it (bug#10761).
11615
11616 2012-02-09 Glenn Morris <rgm@gnu.org>
11617
11618 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11619
11620 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11621 Add :version tags.
11622
11623 * progmodes/compile.el (compilation-error-screen-columns)
11624 (compilation-first-column, compilation-filter-start): Doc fixes.
11625
11626 * vc/log-view.el (log-view-toggle-entry-display):
11627 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11628
11629 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11630 (report-emacs-bug-can-use-xdg-email):
11631 (report-emacs-bug-insert-to-mailer): Doc fixes.
11632 (report-emacs-bug): Message fix.
11633
11634 * net/browse-url.el (browse-url-can-use-xdg-open)
11635 (browse-url-xdg-open): Doc fixes.
11636
11637 * electric.el (electric-indent-mode, electric-pair-mode)
11638 (electric-layout-rules, electric-layout-mode): Doc fixes.
11639 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11640
11641 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11642
11643 * server.el (server-unselect-display): Don't inadvertently kill
11644 the current buffer. (Bug#10729)
11645
11646 2012-02-08 Glenn Morris <rgm@gnu.org>
11647
11648 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11649 (sql-list-table): Doc fixes.
11650
11651 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11652 Comment out (does nothing).
11653
11654 * completion.el (dynamic-completion-mode):
11655 * dirtrack.el (dirtrack-debug-mode):
11656 * electric.el (electric-layout-mode):
11657 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11658 * face-remap.el (text-scale-mode, buffer-face-mode):
11659 * iimage.el (iimage-mode):
11660 * image-mode.el (image-transform-mode):
11661 * minibuffer.el (completion-in-region-mode):
11662 * scroll-lock.el (scroll-lock-mode):
11663 * simple.el (next-error-follow-minor-mode):
11664 * tar-mode.el (tar-subfile-mode):
11665 * tooltip.el (tooltip-mode):
11666 * vcursor.el (vcursor-use-vcursor-map):
11667 * wid-browse.el (widget-minor-mode):
11668 * emulation/tpu-edt.el (tpu-edt-mode):
11669 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11670 * international/iso-ascii.el (iso-ascii-mode):
11671 * language/thai-util.el (thai-word-mode):
11672 * mail/supercite.el (sc-minor-mode):
11673 * net/goto-addr.el (goto-address-mode):
11674 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11675 * progmodes/cwarn.el (cwarn-mode):
11676 * progmodes/flymake.el (flymake-mode):
11677 * progmodes/glasses.el (glasses-mode):
11678 * progmodes/hideshow.el (hs-minor-mode):
11679 * progmodes/pascal.el (pascal-outline-mode):
11680 * textmodes/enriched.el (enriched-mode):
11681 * vc/smerge-mode.el (smerge-mode):
11682 Doc fixes (minor mode argument).
11683
11684 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11685
11686 * ls-lisp.el (ls-lisp-sanitize): New function.
11687 (ls-lisp-insert-directory): Use it to fix or remove any elements
11688 in file-alist with missing attributes. (Bug#4673)
11689
11690 2012-02-07 Alan Mackenzie <acm@muc.de>
11691
11692 Fix spurious recognition of c-in-knr-argdecl.
11693
11694 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11695 putative K&R region.
11696
11697 2012-02-07 Alan Mackenzie <acm@muc.de>
11698
11699 * progmodes/cc-engine.el (c-forward-objc-directive):
11700 Prevent looping in "#pragma mark @implementation".
11701
11702 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11703
11704 * notifications.el (notifications-on-closed-signal): Make `reason'
11705 optional. (Bug#10744)
11706
11707 2012-02-07 Glenn Morris <rgm@gnu.org>
11708
11709 * emacs-lisp/easy-mmode.el (define-minor-mode):
11710 Doc fixes for the macro and the mode it defines.
11711
11712 * image.el (imagemagick-types-inhibit): Doc fix.
11713
11714 * cus-start.el (imagemagick-render-type): Add it.
11715
11716 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11717
11718 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11719 Set the default at load time, too, so that `font-lock-fontify-buffer'
11720 can be called without setting up the entire mode first. This fixes
11721 a bug in `mm-inline-text' with C MIME parts.
11722
11723 2012-02-06 Chong Yidong <cyd@gnu.org>
11724
11725 * simple.el (list-processes--refresh): Delete exited processes
11726 (Bug#8094).
11727
11728 * comint.el (comint-next-prompt): next-single-char-property-change
11729 and prev-single-char-property-change never return nil (Bug#8657).
11730
11731 * custom.el (defcustom): Doc fix (Bug#9711).
11732
11733 2012-02-05 Chong Yidong <cyd@gnu.org>
11734
11735 * cus-edit.el (custom-variable-reset-backup): Quote the value
11736 before storing it in the customized-value property (Bug#6712).
11737 (custom-display): Add a customization type tag.
11738 (custom-buffer-create-internal): Improve tooltip message.
11739
11740 * wid-edit.el (widget-field-value-get): New optional arg to
11741 suppress trailing whitespace truncation.
11742 (character): Use it (Bug#2689).
11743
11744 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11745
11746 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11747 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11748
11749 2012-02-05 Chong Yidong <cyd@gnu.org>
11750
11751 * cus-edit.el (custom-variable-value-create): For mismatched
11752 types, show the current value (Bug#7600).
11753
11754 * custom.el (defcustom): Doc fix.
11755
11756 2012-02-05 Glenn Morris <rgm@gnu.org>
11757
11758 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11759
11760 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11761
11762 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11763 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11764 (pp-last-sexp): Use `looking-at-p'.
11765
11766 2012-02-04 Glenn Morris <rgm@gnu.org>
11767
11768 * files.el (revert-buffer):
11769 Doc fix (mention revert-buffer-in-progress-p).
11770
11771 * emacs-lisp/ert-x.el (ert-simulate-command):
11772 Check deferred-action-list (which is obsolete) is bound.
11773
11774 * subr.el (with-wrapper-hook): Doc fixes.
11775
11776 * simple.el (filter-buffer-substring-functions)
11777 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11778
11779 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11780
11781 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11782 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11783
11784 2012-02-04 Leo Liu <sdl.web@gmail.com>
11785
11786 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11787
11788 2012-02-04 Glenn Morris <rgm@gnu.org>
11789
11790 * image.el (image-extension-data): Add obsolete alias.
11791
11792 * isearch.el (isearch-update): Doc fix.
11793
11794 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11795
11796 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11797
11798 2012-02-03 Glenn Morris <rgm@gnu.org>
11799
11800 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11801 (image-animate-timeout): Doc fix.
11802
11803 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11804
11805 2012-02-02 Glenn Morris <rgm@gnu.org>
11806
11807 * server.el (server-auth-dir): Doc fix.
11808 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11809
11810 * subr.el (run-mode-hooks): Doc fix.
11811
11812 2012-02-02 Juri Linkov <juri@jurta.org>
11813
11814 * image-mode.el (image-toggle-display-image): Remove tautological
11815 `major-mode' from the `derived-mode-p' test.
11816
11817 2012-02-02 Kenichi Handa <handa@m17n.org>
11818
11819 * composite.el (compose-region): Cancel previous change.
11820
11821 2012-02-02 Kenichi Handa <handa@m17n.org>
11822
11823 * composite.el (compose-region, compose-string): Signal error for
11824 a null string component (Bug#6988).
11825
11826 2012-02-01 Chong Yidong <cyd@gnu.org>
11827
11828 * view.el (view-buffer-other-window, view-buffer-other-frame):
11829 Handle special modes like view-buffer (Bug#10650).
11830 (view-buffer): Simplify.
11831
11832 * frame.el (set-frame-font): Tweak meaning of third argument.
11833
11834 * dynamic-setting.el (font-setting-change-default-font):
11835 Use set-frame-font (Bug#9982).
11836
11837 2012-02-01 Glenn Morris <rgm@gnu.org>
11838
11839 * progmodes/compile.el (compilation-internal-error-properties):
11840 Respect compilation-first-column in the "*compilation*" buffer.
11841
11842 * emacs-lisp/easy-mmode.el (define-minor-mode):
11843 Relax :variable's test for a named function.
11844
11845 2012-01-31 Alan Mackenzie <acm@muc.de>
11846
11847 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11848 off by one error.
11849
11850 2012-01-31 Chong Yidong <cyd@gnu.org>
11851
11852 * frame.el (set-frame-font): New arg ALL-FRAMES.
11853
11854 * menu-bar.el (menu-set-font): Use set-frame-font.
11855
11856 * faces.el (face-spec-reset-face): Don't apply unspecified
11857 attribute values to the default face.
11858
11859 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * progmodes/cwarn.el (cwarn): Remove dead link.
11862 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11863 Remove * from defcustom docstrings.
11864 (turn-on-cwarn-mode): Make obsolete.
11865 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11866 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11867
11868 2012-01-31 Glenn Morris <rgm@gnu.org>
11869
11870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11871 Fix :variable handling of mode a symbol not equal to modefun.
11872 Allow named functions to be used as the cdr of :variable.
11873
11874 2012-01-30 Glenn Morris <rgm@gnu.org>
11875
11876 * emacs-lisp/authors.el (authors-fixed-entries):
11877 Remove reference to deleted file rnewspost.el.
11878
11879 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11880
11881 * window.el (window-with-parameter): Remove unused variable `windows'.
11882 (window--side-check): Remove unused variable `code'.
11883 (window--resize-siblings): Remove unused variable `first'.
11884 (adjust-window-trailing-edge): Remove unused variable `failed'.
11885 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11886 Use `let', not `let*'.
11887 (balance-windows-2): Remove unused variable `found'.
11888 (window--state-put-2): Remove unused variable `splits'.
11889 (window-state-put): Remove unused variable `selected'.
11890 (same-window-p): Use `string-match-p'.
11891 (display-buffer-assq-regexp): Remove unused variable `value'.
11892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11893 Mark argument ALIST as ignored.
11894 (pop-to-buffer): Remove unused variable `old-window'.
11895
11896 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11897
11898 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11899 and .lzma compressed files.
11900
11901 2012-01-29 Chong Yidong <cyd@gnu.org>
11902
11903 * frame.el (window-system-default-frame-alist): Doc fix.
11904
11905 * dynamic-setting.el (font-setting-change-default-font): Don't
11906 change the default face if SET-FONT argument is non-nil (Bug#9982).
11907
11908 2012-01-29 Samuel Bronson <naesten@gmail.com>
11909
11910 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11911
11912 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11913
11914 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11915 breakpoints in files outside current directory (Bug#6098).
11916
11917 2012-01-29 Chong Yidong <cyd@gnu.org>
11918
11919 * progmodes/python.el: Require ansi-color at top-level.
11920
11921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11922 Define and use in Emacs Lisp mode (Bug#9360).
11923 (lisp-mode-abbrev-table): Add doc.
11924 (lisp-mode-variables): Don't set local-abbrev-table.
11925 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11926
11927 2012-01-28 Roland Winkler <winkler@gnu.org>
11928
11929 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11930
11931 2012-01-28 Roland Winkler <winkler@gnu.org>
11932
11933 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11934 (bibtex-set-dialect): Use it. Either set global values of
11935 dialect-dependent variables or bind these variables buffer-locally
11936 (Bug#10254).
11937 (bibtex-mode): Call bibtex-set-dialect via
11938 hack-local-variables-hook.
11939 (bibtex-dialect): Update docstring.
11940 Add safe-local-variable predicate.
11941 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11942 bibtex-set-dialect.
11943 (bibtex-mode-map): Define menu for each dialect.
11944 (bibtex-entry): Fix docstring.
11945
11946 2012-01-28 Chong Yidong <cyd@gnu.org>
11947
11948 * eshell/esh-arg.el (eshell-quote-argument): New function.
11949
11950 * eshell/esh-ext.el (eshell-invoke-batch-file):
11951 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11952 first arg to eshell-parse-command (Bug#10523).
11953
11954 2012-01-28 Drew Adams <drew.adams@oracle.com>
11955
11956 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11957 `default-directory' is non-nil.
11958
11959 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11960
11961 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11962 line that displays system-configuration-options. (Bug#9924)
11963
11964 2012-01-28 Drew Adams <drew.adams@oracle.com>
11965
11966 * descr-text.el (describe-char): Show information about POS, in
11967 addition to information about the character at POS. Improve and
11968 update the doc string. Change "code point" to "code point in
11969 charset", to avoid confusion with the character's Unicode code
11970 point shown above that. (Bug#10129)
11971
11972 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11973
11974 * descr-text.el (describe-char): Show the raw character, not only
11975 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11976 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11977 for the reasons.
11978
11979 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11980
11981 * emacs-lisp/package.el (package-install):
11982 Run package-refresh-contents if there is no archive yet (Bug#9798).
11983
11984 2012-01-28 Chong Yidong <cyd@gnu.org>
11985
11986 * emacs-lisp/package.el (package-maybe-load-descriptor):
11987 New function, split from package-maybe-load-descriptor.
11988 (package-maybe-load-descriptor): Use it.
11989 (package-download-transaction): Fully load required packages
11990 inside the loop, so that `require' calls work (Bug#10593).
11991 (package-install): No need to call package-initialize now.
11992
11993 2012-01-28 Chong Yidong <cyd@gnu.org>
11994
11995 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11996
11997 * tooltip.el (tooltip-mode): Doc fix.
11998 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11999
12000 * frame.el (set-cursor-color): Doc fix (Bug#352).
12001
12002 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12003 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12004
12005 * cus-edit.el (custom-buffer-create-internal): Fix search button
12006 action (Bug#10542).
12007 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12008
12009 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12010
12011 * dired.el (dired-mark-files-regexp):
12012 Include any subdirectory components. (Bug#10445)
12013
12014 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12015
12016 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12017 Handle [host]:port syntax. (Bug#10533)
12018
12019 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12020
12021 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12022
12023 2012-01-26 Glenn Morris <rgm@gnu.org>
12024
12025 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12026 * term.el (term-raw-escape-map): Use Control-X-prefix.
12027 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12028
12029 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12030
12031 * window.el (window-state-get, window--state-get-1): Don't deal
12032 with fixed-sizeness of windows. Simplify code.
12033
12034 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12035
12036 * window.el (window--state-get-1, window--state-put-2):
12037 Don't save and restore the mark.
12038
12039 2012-01-25 Chong Yidong <cyd@gnu.org>
12040
12041 * custom.el (custom-variable-p): Doc fix.
12042
12043 2012-01-25 Glenn Morris <rgm@gnu.org>
12044
12045 * dired.el (dired-goto-file): Handle some of the more common
12046 characters that `ls -b' escapes. (Bug#10596)
12047
12048 * progmodes/compile.el (compilation-next-error-function):
12049 Respect compilation-first-column in the "*compilation*" buffer.
12050 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12051
12052 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12053
12054 2012-01-24 Glenn Morris <rgm@gnu.org>
12055
12056 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12057
12058 2012-01-24 Julien Danjou <julien@danjou.info>
12059
12060 * color.el (color-rgb-to-hsl): Fix value computing.
12061 (color-hue-to-rgb): New function.
12062 (color-hsl-to-rgb): New function.
12063 (color-clamp, color-saturate-hsl, color-saturate-name)
12064 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12065 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12066
12067 2012-01-24 Glenn Morris <rgm@gnu.org>
12068
12069 * vc/vc-rcs.el (vc-rcs-create-tag):
12070 * vc/vc-sccs.el (vc-sccs-create-tag):
12071 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12072
12073 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12074
12075 * eshell/esh-util.el (eshell-read-hosts-file):
12076 Skip comment lines. (Bug#10549)
12077
12078 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12079
12080 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12081
12082 * subr.el (display-delayed-warnings): Doc fix.
12083 (collapse-delayed-warnings): New function to collapse identical
12084 adjacent warnings.
12085 (delayed-warnings-hook): Add it.
12086
12087 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12088
12089 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12090
12091 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12092 (tramp-default-user-alist): Don't add "pscp".
12093 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12094 property "login-as", if set. (Bug#10530)
12095
12096 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12099 "plink1" and "psftp". (Bug#10530)
12100
12101 2012-01-21 Kenichi Handa <handa@m17n.org>
12102
12103 * international/mule-cmds.el (prefer-coding-system): Show a
12104 warning message if the default value of file-name-coding-system
12105 was not changed.
12106
12107 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12108
12109 * windmove.el (windmove-reference-loc):
12110 Fix windmove-reference-loc miscalculation.
12111
12112 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12113
12114 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12115 default unit.
12116
12117 2012-01-21 Glenn Morris <rgm@gnu.org>
12118
12119 * international/mule.el (auto-coding-alist): Add .tbz.
12120
12121 * files.el (local-enable-local-variables): Doc fix.
12122 (inhibit-local-variables-regexps): Rename from
12123 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12124 Doc fix. Add some extensions from auto-coding-alist.
12125 (inhibit-local-variables-suffixes):
12126 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12127 (inhibit-local-variables-p):
12128 New function, extracted from set-auto-mode-1.
12129 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12130 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12131 (hack-local-variables): Doc fix. Make the mode-only case
12132 respect enable-local-variables and friends.
12133 Respect inhibit-local-variables-regexps for file-locals, but
12134 not for directory-locals.
12135 (set-visited-file-name):
12136 Take account of inhibit-local-variables-regexps.
12137 Whether it applies may change as the file name is changed.
12138 * jka-cmpr-hook.el (jka-compr-install):
12139 * jka-compr.el (jka-compr-uninstall):
12140 Update for inhibit-first-line-modes-suffixes name change.
12141
12142 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12143
12144 * help-macro.el (make-help-screen): Temporarily restore original
12145 binding for minor-mode-map-alist (Bug#10454).
12146
12147 2012-01-19 Julien Danjou <julien@danjou.info>
12148
12149 * color.el (color-name-to-rgb): Use the white color to find the max
12150 color component value and return correctly computed values.
12151 (color-name-to-rgb): Add missing float conversion for max value.
12152
12153 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (window--state-get-1, window-state-get): Do not use
12156 special state value for window-persistent-parameters.
12157 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12158 (window--state-put-2): Reset all window parameters to nil before
12159 assigning values of persistent parameters.
12160
12161 2012-01-18 Alan Mackenzie <acm@muc.de>
12162
12163 Eliminate sluggishness and hangs in fontification of "semicolon
12164 deserts".
12165
12166 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12167 Change value 10000 -> 3000.
12168 (c-state-safe-place): Reformulate so it doesn't stack up an
12169 infinite number of wrong entries in c-state-nonlit-pos-cache.
12170 (c-determine-limit-get-base, c-determine-limit): New functions to
12171 determine backward search limits disregarding literals.
12172 (c-find-decl-spots): Amend commenting.
12173 (c-cheap-inside-bracelist-p): New function which detects "={".
12174
12175 * progmodes/cc-fonts.el
12176 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12177 backward search.
12178 (c-font-lock-declarations): Fix an occurrence of point being
12179 undefined. Check additionally for point being in a bracelist or
12180 near a macro invocation without a semicolon so as to avoid a
12181 fruitless time consuming search for a declarator. Give a more
12182 precise search limit for declarators using the new
12183 c-determine-limit.
12184
12185 2012-01-18 Glenn Morris <rgm@gnu.org>
12186
12187 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12188 (set-auto-mode): Doc fixes.
12189
12190 2012-01-17 Glenn Morris <rgm@gnu.org>
12191
12192 * isearch.el (search-nonincremental-instead): Fix doc typo.
12193
12194 * dired.el (dired-insert-directory): Handle newlines in directory name.
12195 (dired-build-subdir-alist): Unescape newlines in directory name.
12196
12197 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12198
12199 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12200 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12201 (tramp-action-terminal): Use it. (Bug#10530)
12202
12203 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12206
12207 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12208
12209 * window.el (window-state-ignored-parameters): Remove variable.
12210 (window--state-get-1): Rename argument MARKERS to IGNORE.
12211 Handle persistent window parameters. Make copy of clone-of
12212 parameter only if requested. (Bug#10348)
12213 (window--state-put-2): Install a window parameter only if it has
12214 a non-nil value or an existing parameter shall be overwritten.
12215
12216 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12217
12218 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12219
12220 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12221
12222 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12223 don't pass the (nil) value of `upnode' to string-match.
12224
12225 2012-01-14 Chong Yidong <cyd@gnu.org>
12226
12227 * startup.el (command-line): Fix X resource class for cursorColor.
12228 Fix values recognized by the cursorBlink resource.
12229
12230 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12231
12232 * epg.el (epg--make-temp-file): Avoid permission race condition
12233 when running on old Emacs versions (bug#10403).
12234
12235 2012-01-14 Glenn Morris <rgm@gnu.org>
12236
12237 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12238
12239 2012-01-13 Alan Mackenzie <acm@muc.de>
12240
12241 Fix filling for when filladapt mode is enabled.
12242
12243 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12244 c-mask-paragraph, pass in `fill-paragraph' rather than
12245 `fill-region-as-paragraph'. (This is a reversion of a previous
12246 change.)
12247 * progmodes/cc-mode.el (c-basic-common-init):
12248 Make fill-paragraph-handle-comment buffer local and set it to nil.
12249
12250 2012-01-13 Glenn Morris <rgm@gnu.org>
12251
12252 * dired.el (dired-switches-escape-p): New function.
12253 (dired-insert-directory): Use dired-switches-escape-p.
12254 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12255
12256 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12257
12258 2012-01-12 Glenn Morris <rgm@gnu.org>
12259
12260 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12261 changes in adaptive-fill-regexp. (Bug#10276)
12262
12263 2012-01-11 Alan Mackenzie <acm@muc.de>
12264
12265 Fix Emacs bug #10463 - put `widen's around the critical spots.
12266
12267 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12268 widen around each invocation of c-state-pp-to-literal. Remove an
12269 unused let variable.
12270
12271 2012-01-11 Glenn Morris <rgm@gnu.org>
12272
12273 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12274 Doc fix.
12275
12276 2012-01-10 Chong Yidong <cyd@gnu.org>
12277
12278 * net/network-stream.el (network-stream-open-starttls):
12279 Avoid emitting a confusing error message when the server gives a bad
12280 response to the capability command.
12281
12282 2012-01-10 Glenn Morris <rgm@gnu.org>
12283
12284 * mail/unrmail.el (unrmail): Tweak previous change.
12285
12286 2012-01-09 Chong Yidong <cyd@gnu.org>
12287
12288 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12289
12290 2012-01-08 Alan Mackenzie <acm@muc.de>
12291
12292 Optimise font locking in long enum definitions.
12293
12294 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12295 arm to a cond form to handle enums.
12296 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12297 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12298
12299 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12300
12301 * files.el (move-file-to-trash): Preserve default file modes on error.
12302 (Bug#10401)
12303
12304 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12305
12306 * faces.el (set-face-attribute): Clarify the meaning of the nil
12307 frame (bug#10294).
12308
12309 * subr.el (with-selected-frame): Mention that the selected frame
12310 is restored (bug#9980).
12311
12312 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12313 (bug#9759).
12314
12315 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12316 (password-read): Don't autoload unused function.
12317
12318 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * progmodes/which-func.el (which-func-mode): Turn into a
12321 non-interactive function and mark as obsolete (bug#10428).
12322
12323 2012-01-06 Chong Yidong <cyd@gnu.org>
12324
12325 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12326 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12327 functions, along with 1 and -1.
12328
12329 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12330
12331 * time.el (display-time-load-average)
12332 (display-time-default-load-average): Doc fixes. See the thread
12333 starting at
12334 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12335 for the details.
12336
12337 2012-01-06 Glenn Morris <rgm@gnu.org>
12338
12339 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12340 has no messages. (Bug#10377)
12341
12342 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12343 than Info-edit. (Bug#10385)
12344
12345 * time.el (display-time-load-average, display-time-next-load-average):
12346 Doc fixes.
12347
12348 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12349 local setting of buffer-read-only to the input buffer. (Bug#10419)
12350
12351 * calendar/calendar.el (calendar-mode):
12352 Locally set scroll-margin to 0. (Bug#10379)
12353
12354 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12355
12356 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12357
12358 2012-01-05 Glenn Morris <rgm@gnu.org>
12359
12360 * eshell/em-unix.el (diff-no-select): Autoload it.
12361 (eshell/diff): Use diff-no-select. (Bug#10420)
12362
12363 2012-01-05 Chong Yidong <cyd@gnu.org>
12364
12365 * shell.el (shell-dynamic-complete-functions): Revert last change.
12366 (shell-command-completion-function): New function.
12367 (shell-completion-vars): Use it to implement
12368 shell-completion-execonly (Bug#10417).
12369
12370 * custom.el (enable-theme): Don't set custom-safe-themes.
12371
12372 * cus-theme.el (custom-theme-merge-theme):
12373 Ignore custom-enabled-themes and custom-safe-themes.
12374
12375 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12376
12377 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12378 first prompt in `sql-interacive-mode'.
12379 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12380 keywords.
12381 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12382 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12383 context of original buffer. Invoke `sql-login-hook'.
12384
12385 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12386
12387 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12388 letters in cite-prefix.
12389
12390 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12391
12392 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12393
12394 2012-01-03 Chong Yidong <cyd@gnu.org>
12395
12396 * shell.el (shell-dynamic-complete-functions):
12397 Put pcomplete-completions-at-point, so as to try
12398 comint-filename-completion first (Bug#10417).
12399
12400 2012-01-02 Richard Stallman <rms@gnu.org>
12401
12402 * battery.el (battery-status-function):
12403 Detect when to use battery-yeeloong-sysfs.
12404 (battery-echo-area-format): Add string for Yeeloong.
12405 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12406 (battery-yeeloong-sysfs): New function.
12407
12408 2012-01-02 Chong Yidong <cyd@gnu.org>
12409
12410 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12411 (dirtrack): Merge code for handling relative filenames in prompt
12412 from shell-dir-cookie-watcher.
12413 (dirtrack-debug-message): New arg to avoid excess format calls.
12414
12415 * shell.el (shell-dir-cookie-re): Variable deleted.
12416 (shell-dir-cookie-watcher): Function deleted.
12417 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12418 with dirtrack-mode.
12419
12420 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12421
12422 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12423 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12424 libgnutls-26.dll.
12425
12426 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12427
12428 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12429
12430 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12431
12432 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12433 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12434
12435 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12436
12437 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12438 also for alternative shells.
12439 (tramp-open-connection-setup-interactive-shell): Check, whether
12440 the shell is a busybox.
12441 (tramp-send-command): Don't suppress multiple prompts for
12442 busyboxes, it hurts.
12443
12444 2011-12-28 Chong Yidong <cyd@gnu.org>
12445
12446 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12447 (gdb-get-source-file): Move mode line update to
12448 gdb-get-source-file (Bug#10087).
12449
12450 2011-12-25 Chong Yidong <cyd@gnu.org>
12451
12452 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12453 gud-gdb-marker-filter without taking it as an argument.
12454 (gud-gdb-run-command-fetch-lines): Caller changed.
12455 (gud-gdb-completion-function): New variable.
12456 (gud-gdb-completion-at-point): Use it.
12457 (gud-gdb-completions-1): Split from gud-gdb-completions.
12458
12459 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12460 function as separate arguments.
12461 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12462 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12463 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12464 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12465 (gdb-stopped, def-gdb-auto-update-trigger)
12466 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12467 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12468 Callers changed.
12469 (gud-gdbmi-completions): New function.
12470 (gdb): Use it for generating the completion table.
12471
12472 2011-12-24 Alan Mackenzie <acm@muc.de>
12473
12474 Introduce a mechanism to widen the region used in context font
12475 locking. Use this to protect declarations from losing their contexts.
12476
12477 * progmodes/cc-langs.el (c-before-font-lock-functions):
12478 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12479 (c-before-context-fontification-functions): New defvar, a list of
12480 functions to be run just before context (etc.) font locking.
12481
12482 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12483 New, functionality extracted from
12484 c-neutralize-syntax-in-and-mark-CPP.
12485 (c-in-after-change-fontification): New variable.
12486 (c-after-change): Set c-in-after-change-fontification.
12487 (c-set-fl-decl-start): Rejig its interface, so it can be called
12488 from both after-change and context fontifying.
12489 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12490 New functions.
12491 (c-standard-font-lock-fontify-region-function): New variable.
12492 (c-font-lock-fontify-region): New function.
12493
12494 2011-12-24 Juri Linkov <juri@jurta.org>
12495
12496 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12497 (Bug#10348)
12498
12499 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12500
12501 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12502 existence of source file. (Bug#10325)
12503
12504 2011-12-23 Alan Mackenzie <acm@muc.de>
12505
12506 Fix unstable fontification inside templates.
12507
12508 * progmodes/cc-langs.el (c-before-font-lock-functions):
12509 Newly created from the singular version. The (c c++ objc) entry now
12510 additionally has c-set-fl-decl-start. The other languages (apart
12511 from AWK) have that as a single entry.
12512
12513 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12514 The functionality for "local" declarations has been extracted to
12515 c-set-fl-decl-start.
12516
12517 * progmodes/cc-mode.el (c-common-init, c-after-change):
12518 Changes due to pluralisation of c-before-font-lock-functions.
12519 (c-set-fl-decl-start): New function, extracted from
12520 c-font-lock-enclosing-decls and enhanced.
12521
12522 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12523
12524 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12525
12526 2011-12-22 Juri Linkov <juri@jurta.org>
12527
12528 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12529
12530 2011-12-22 Chong Yidong <cyd@gnu.org>
12531
12532 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12533
12534 2011-12-21 Drew Adams <drew.adams@oracle.com>
12535
12536 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12537
12538 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12539
12540 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12541
12542 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12543
12544 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12545 highlighting and support. Fix up comments for capitalization.
12546 (cfengine-mode-debug): New var.
12547 (cfengine3-mode): Change the modeline indicator to "CFE3".
12548 (cfengine3-font-lock-keywords): Improve defun highlighting.
12549 (cfengine2-actions): Rename from `cfengine-actions'.
12550 (cfengine2-font-lock-keywords): Rename from
12551 `cfengine-font-lock-keywords'.
12552 (cfengine2-imenu-expression): Rename from
12553 `cfengine-imenu-expression'.
12554 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12555 (cfengine2-beginning-of-defun): Rename from
12556 `cfengine-beginning-of-defun'.
12557 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12558 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12559 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12560 modeline indicator to "CFE2".
12561 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12562 (cfengine-mode-abbrevs): Mark obsolete.
12563
12564 2011-12-21 Chong Yidong <cyd@gnu.org>
12565
12566 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12567 filename argument.
12568
12569 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12570
12571 * window.el (window-normalize-buffer-to-display): Remove.
12572 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12573
12574 2011-12-19 Chong Yidong <cyd@gnu.org>
12575
12576 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12577 Don't signal an error in a predicate function; return non-nil.
12578 (vc-dir-mark-file): Move the error here.
12579 (vc-dir-mark-unmark): If acting on the region, keep going if one
12580 of the entries cannot be marked/unmarked.
12581 (vc-dir-mark-all-files): If current entry is a directory, mark
12582 only child files, as documented.
12583
12584 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12585
12586 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12587 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12588 addition.
12589
12590 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12591
12592 * term/ns-win.el (ns-get-selection-internal)
12593 (ns-store-selection-internal): Declare.
12594 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12595 Declare as obsolete.
12596 (ns-get-pasteboard, ns-paste-secondary):
12597 Use ns-get-selection-internal.
12598 (ns-set-pasteboard, ns-copy-including-secondary):
12599 Use ns-store-selection-internal.
12600
12601 2011-12-17 Chong Yidong <cyd@gnu.org>
12602
12603 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12604 (vc-deduce-fileset): Doc fix.
12605
12606 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12607
12608 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12609
12610 2011-12-13 Sam Steingold <sds@gnu.org>
12611
12612 * man.el (Man-getpage-in-background): When running under a
12613 window-system, ignore $MANWIDTH and $COLUMNS.
12614
12615 2011-12-15 Kenichi Handa <handa@m17n.org>
12616
12617 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12618 (setup-ethiopic-environment-internal): Comment out key-binding for
12619 ethio-toggle-punctuation.
12620
12621 2011-12-13 Alan Mackenzie <acm@muc.de>
12622
12623 Add the switch statement to AWK Mode.
12624
12625 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12626 "default" to the keywords regexp.
12627
12628 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12629 expression as the rest.
12630 (c-nonlabel-token-key): Allow string literals for AWK.
12631 Refactor for the other modes.
12632
12633 Large brace-block initialisation makes CC Mode slow: Fix.
12634 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12635 routines. Limit backward searching in c-font-lock-enclosing.decl.
12636
12637 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12638 pp-state and literal type in addition to the limits.
12639 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12640 (c-state-literal-at): Use the above new defun.
12641 (c-slow-in-literal, c-fast-in-literal): Remove.
12642 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12643
12644 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12645 being in a literal. Add a limit for backward searching.
12646
12647 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12648 c-slow-in-literal.
12649
12650 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12653
12654 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12655
12656 * window.el (delete-other-windows): Use correct frame in call to
12657 window-with-parameter.
12658
12659 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12660
12661 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12662 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12663 (makefile-gmake-statements, makefile-makepp-statements):
12664 Use it and add new makepp keywords.
12665 (makefile-makepp-font-lock-keywords): Add new patterns.
12666 (makefile-match-function-end): Match new [...] and [[...]].
12667
12668 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12669
12670 * ses.el (ses-call-printer-return, ses-cell-property-get)
12671 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12672 (ses-create-cell-variable, ses-reset-header-string)
12673 (ses-cell-set-formula, ses-repair-cell-reference-all)
12674 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12675 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12676 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12677 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12678 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12679 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12680 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12681 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12682 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12683 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12684 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12685 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12686
12687 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12688
12689 * ses.el: The overall change is to add cell renaming, that is
12690 setting fancy names for cell symbols other than name matching
12691 "\\`[A-Z]+[0-9]+\\'" regexp .
12692 (ses-create-cell-variable): New defun.
12693 (ses-relocate-formula): Relocate formulas only for cells the
12694 symbols of which are not renamed, i.e. symbols whose names do not
12695 match regexp "\\`[A-Z]+[0-9]+\\'".
12696 (ses-relocate-all): Relocate values only for cells the symbols of
12697 which are not renamed.
12698 (ses-load): Create cells variables as the (ses-cell ...) are read,
12699 in order to check row col consistency with cell symbol name only
12700 for cells that are not renamed.
12701 (ses-replace-name-in-formula): New defun.
12702 (ses-rename-cell): New defun.
12703
12704 2011-12-11 Chong Yidong <cyd@gnu.org>
12705
12706 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12707 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12708
12709 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12710
12711 * window.el (other-window): Fix docstring.
12712
12713 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12714
12715 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12716 `from' or `to' address before taking its substring.
12717 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12718 encoded name is chopped in the middle of the encoded string, and
12719 thus displayed encoded.
12720
12721 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12722
12723 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12724
12725 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12726
12727 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12728 to use texinfo-update-node and commands that call it if the
12729 Texinfo file uses @node lines without next/prev/up pointers.
12730 Correct outdated description about texinfo-master-menu.
12731 (texinfo-all-menus-update, texinfo-master-menu)
12732 (texinfo-update-node, texinfo-every-node-update)
12733 (texinfo-multiple-files-update): Doc fix. Warn against updating
12734 all the @node lines.
12735 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12736 argument is numeric. Explain better in the doc string what the
12737 function really does.
12738 (texinfo-insert-master-menu-list): Improve the error message
12739 displayed if there's no menu in the Top node.
12740 (Bug#2975) See also this thread:
12741 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12742
12743 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12744
12745 * speedbar.el (speedbar-supported-extension-expressions):
12746 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12747
12748 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12749
12750 * printing.el (pr-mode-alist):
12751 * simple.el (filter-buffer-substring-functions)
12752 (completion-list-insert-choice-function):
12753 * window.el (window-with-parameter, window-atom-root)
12754 (window-sides-slots, window-size-fixed, window-min-delta)
12755 (window-max-delta, window--resize-mini-window)
12756 (window--resize-child-windows-normal, window-tree)
12757 (delete-other-windows, quit-window, split-window)
12758 (display-buffer-record-window, special-display-buffer-names)
12759 (special-display-regexps, special-display-popup-frame)
12760 (same-window-p, split-window-sensibly)
12761 (display-buffer-overriding-action, display-buffer-alist)
12762 (display-buffer-base-action, display-buffer, switch-to-buffer)
12763 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12764 (fit-window-to-buffer, recenter-positions)
12765 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12766 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12767 and remove unneeded backslashes in docstrings.
12768
12769 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12772
12773 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12774 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12775 end in ".mk".
12776 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12777 when reading the makefile (bug#10116).
12778
12779 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12780
12781 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12782 (bug#10116).
12783
12784 2011-12-06 Glenn Morris <rgm@gnu.org>
12785
12786 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12787
12788 2011-12-06 Chong Yidong <cyd@gnu.org>
12789
12790 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12791
12792 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12793
12794 * textmodes/table.el (table-shorten-cell): Fix typo.
12795
12796 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12797
12798 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12799
12800 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12801
12802 * descr-text.el (describe-char): Fix display of strong
12803 right-to-left characters and directional embeddings and overrides.
12804
12805 * simple.el (what-cursor-position): Fix display of codepoints of
12806 strong right-to-left characters.
12807
12808 2011-12-05 Chong Yidong <cyd@gnu.org>
12809
12810 * faces.el (read-color): Doc fix.
12811
12812 2011-12-05 Glenn Morris <rgm@gnu.org>
12813
12814 * align.el (align--set-marker): Add doc-string.
12815 Don't try to move something that is not a marker. (Bug#10216)
12816
12817 2011-12-04 Glenn Morris <rgm@gnu.org>
12818
12819 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12820 overly zealous deletion of trailing whitespace.
12821
12822 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * server.el (server-delete-client): On Windows, do not try to delete
12825 the only terminal.
12826 (server-process-filter): On Windows, treat requests for a tty frame as
12827 if they were for a GUI frame if the running server is in GUI mode.
12828
12829 2011-12-03 Glenn Morris <rgm@gnu.org>
12830
12831 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12832
12833 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12834
12835 * electric.el: Streamline electric-indent's hook.
12836 (electric-indent-chars): Revert to simple list.
12837 (electric-indent-functions): New var.
12838 (electric-indent-post-self-insert-function): Use it.
12839
12840 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12841 there's no inferior buffer (bug#10196).
12842 (prolog-consult-compile): Don't use toggle-read-only.
12843
12844 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12845
12846 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12847 interrupt. (Bug#10187)
12848
12849 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12852 (bug#9160).
12853
12854 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12855 (bug#10191).
12856
12857 2011-12-02 Juri Linkov <juri@jurta.org>
12858
12859 * info.el (Info-search): Display "end of manual" when Isearch
12860 reaches the end of single-file Info manual. (Bug#9918)
12861
12862 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12863
12864 * isearch.el (isearch-message-prefix): Run the input method part
12865 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12866
12867 2011-12-02 Juri Linkov <juri@jurta.org>
12868
12869 * isearch.el (isearch-occur): Use `word-search-regexp' for
12870 `isearch-word'.
12871 (isearch-search-and-update): Add condition for `isearch-word' and
12872 call `word-search-regexp'. (Bug#10145)
12873
12874 2011-12-01 Glenn Morris <rgm@gnu.org>
12875
12876 * eshell/em-hist.el (eshell-hist-initialize):
12877 Handle eshell-history-size nil and HISTSIZE set or unset.
12878 (eshell-history-file-name, eshell-history-size): Fix custom type.
12879
12880 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12883
12884 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12885
12886 * progmodes/verilog-mode.el (verilog-pretty-expr):
12887 Rework verilog-pretty-expr to handle new assignment operators in system
12888 verilog, such as += *= and the like.
12889 (verilog-assignment-operator-re): Regular expression to find the
12890 assigment operator in a verilog assignment.
12891 (verilog-assignment-operation-re): Regular expression to find an
12892 assignment statement for pretty-expr.
12893 (verilog-in-attribute-p): Query returns true if point is in an
12894 attribute context; used to skip these for expression line up from
12895 pretty-expr.
12896 (verilog-in-parameter-p): Query returns true if point is in an
12897 parameter definition context; used to skip these for expression
12898 line up from pretty-expr.
12899 (verilog-in-parenthesis-p): Query returns true if point is in a
12900 parenthetical expression, specifically ( ) but not [ ] or { };
12901 used by pretty-expr.
12902 (verilog-just-one-space): If there is no space, don't add one.
12903 (verilog-get-lineup-indent-2): Specifically skip just attribute
12904 contexts for expression lineup, rather than skipping all
12905 parenthetical expressions.
12906 (verilog-calculate-indent): Fix comment, and fix indent.
12907 (verilog-do-indent): Indent declarations in lists (suggested by
12908 Joachim Lechner).
12909 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12910 skeleton items.
12911 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12912 by Alain Mellan).
12913
12914 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12915
12916 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12917 parameters with embedded comments. Reported by Ray Stevens.
12918 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12919 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12920 Reported by Tim Holt.
12921 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12922 instantiated by upper module causing wrong expansion until AUTOed a
12923 second time. Reported by K C Buckenmaier.
12924 (verilog-diff-auto): Fix showing .* as a difference when
12925 `verilog-auto-star-save' off. Reported by Dan Dever.
12926 (verilog-auto-reset, verilog-read-always-signals)
12927 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12928 temporary signals in reset list if
12929 verilog-auto-reset-blocking-in-non is nil, and match assignment
12930 style to each signal's assignment type, bug381.
12931 Reported by Thomas Esposito.
12932 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12933 (verilog-uvm-statement-re): Support UVM indentation and
12934 highlighting, with old OVM keywords only.
12935 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12936 Support AUTOTIEOFF creating non-wire data types.
12937 Suggested by Jonathan Greenlaw.
12938 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12939 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12940 (verilog-inject-sense, verilog-read-inst-pins)
12941 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12942 Fix mismatching parenthesis inside commented out code when deleting
12943 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12944 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12945 non-numeric vector width. Reported by Alex Reed.
12946 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12947 detecting signals with parameter widths. Reported by Alex Reed.
12948 (verilog-auto-delete-trailing-whitespace):
12949 With `verilog-auto-delete-trailing-whitespace' remove trailing
12950 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12951 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12952 Fix verilog-scan-cache corruption when running user AUTO expansion
12953 hooks that call indentation routines.
12954 (verilog-simplify-range-expression): Fix typo ignoring lower case
12955 identifiers.
12956 (verilog-delete-auto): Fix delete-autos to also remove user created
12957 automatics, as long as they start with AUTO.
12958 (verilog-batch-diff-auto, verilog-diff-auto)
12959 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12960 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12961 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12962 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12963 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12964 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12965 is disabled and its cache will get corrupt, causing AUTOS not to
12966 expand. Instead use only -quick functions.
12967 (verilog-scan-region): Fix scanning over escaped quotes.
12968 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12969 (verilog-re-search-backward-quick)
12970 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12971 related functions now ignore strings, to fix misparsing of strings
12972 with magic comments embedded in them.
12973 (verilog-read-auto-template):
12974 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12975 Reported by Brad Dobbie.
12976 (verilog-read-auto-template):
12977 Fix 'verilog-auto-inst-template-numbers' with comments.
12978 Reported by Brad Dobbie.
12979 (verilog-auto-inst, verilog-auto-inst-param)
12980 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12981 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12982 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12983 debugging templates without merge conflicts, bug357.
12984 Reported by Brad Dobbie.
12985 (verilog-read-auto-template):
12986 Fix verilog-auto-inst-template-numbers with multiple templates.
12987 Reported by Brad Dobbie.
12988 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12989 abbrevs so user won't be asked to save.
12990 (verilog-read-auto-lisp-present): Fix to start at beginning of
12991 buffer in case called outside of verilog-auto.
12992 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12993 to "X-2". Reported by Matthew Myers.
12994 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12995 all inputs from module templates. Reported by Leith Johnson.
12996 (verilog-module-inside-filename-p): Fix locating programs as with
12997 modules.
12998 (verilog-auto-inst-port): Fix vl-width expressions when using
12999 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13000 (verilog-decls-get-regs, verilog-decls-get-signals,
13001 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13002 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13003 verilog-read-decls): Combine reg and wire structures into one var
13004 structure to represent SystemVerilog concepts.
13005 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13006 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13007 (verilog-auto-wire-type, verilog-insert-definition):
13008 Add verilog-auto-wire-type and AUTOLOGIC to support using
13009 SystemVerilog "logic" keyword instead of "wire"/"reg".
13010 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13011 to declares outputs that also have assignments (presumably in an
13012 ifdef or generate if so there's not a driver conflict).
13013 Reported by Matthew Myers.
13014 (verilog-auto-declare-nettype, verilog-insert-definition):
13015 Add verilog-auto-declare-nettype to fix declarations using
13016 `default_nettype none. Reported by Julian Gorfajn.
13017 (verilog-read-always-signals-recurse, verilog-read-decls)
13018 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13019 malformed end statement, bug325. Reported by Joshua Wise and
13020 Andrew Drake.
13021 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13022 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13023 when expanding .* in interfaces, bug320.
13024 Reported by Pierre-David Pfister.
13025 (verilog-read-module-name): Fix import statements between module
13026 name and open parenthesis, bug317.
13027 Reported by Pierre-David Pfister.
13028 (verilog-simplify-range-expression): Fix simplification of
13029 multiplications inside AUTOWIRE connections, bug303.
13030 (verilog-auto-inst-port): Support parameter expansion in
13031 multidimensional arrays.
13032 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13033 after "assert property". Reported by Julian Gorfajn.
13034 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13035 with multiplication, bug303.
13036 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13037 Reported by Jan Frode Lonnum.
13038
13039 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13040
13041 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13042 (hfy-shell-file-name, hfy-shell):
13043 * international/fontset.el (x-decompose-font-name): Fix typos.
13044
13045 2011-11-29 Ken Brown <kbrown@cornell.edu>
13046
13047 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13048 (gdb-version): Remove defvar.
13049 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13050 (gdb-gud-context-command, gdb-non-stop-handler)
13051 (gdb-current-context-command, gdb-stopped): Use it.
13052 (gdb-init-1): Enable pretty printing here.
13053 (gdb-non-stop-handler): Don't enable pretty-printing here.
13054 Check to see if the target supports non-stop mode; if not, turn off
13055 non-stop mode. Use the following.
13056 (gdb-check-target-async): New defun.
13057 (gud-watch, gdb-stopped): Fix whitespace.
13058 (gdb-get-source-file): Don't try to display the source file if
13059 `gdb-main-file' is nil.
13060
13061 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * align.el: Try to generate fewer markers (bug#10047).
13064 (align--set-marker): New macro.
13065 (align-region): Use it.
13066
13067 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13068
13069 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13070
13071 2011-11-29 Chong Yidong <cyd@gnu.org>
13072
13073 * indent.el (indent-for-tab-command, indent-according-to-mode):
13074 Doc fix.
13075 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13076
13077 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13078
13079 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13080 aware of remote file names. (Bug#10124)
13081
13082 2011-11-29 Chong Yidong <cyd@gnu.org>
13083
13084 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13085
13086 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * files.el (find-file): Don't use force-same-window (bug#10144).
13089 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13090 use pop-to-buffer if the selected window can't be used.
13091 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13092
13093 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13094
13095 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13096 special-mode-map.
13097
13098 2011-11-28 Chong Yidong <cyd@gnu.org>
13099
13100 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13101
13102 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13103
13104 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13105 gdb-get-source-file-list on gdb-create-source-file-list.
13106
13107 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13108
13109 * whitespace.el (whitespace-newline): Use a different foreground
13110 color for 16-color light-background displays.
13111
13112 2011-11-24 Chong Yidong <cyd@gnu.org>
13113
13114 * window.el (display-buffer--special-action): Doc fix.
13115
13116 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13117
13118 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13119 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13120 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13121 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13122 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13123 (avl-tree-stack-first):
13124 * emacs-lisp/cconv.el (cconv--analyse-use):
13125 * net/gnutls.el (gnutls-negotiate): Fix typos.
13126
13127 2011-11-24 Glenn Morris <rgm@gnu.org>
13128
13129 * lpr.el (lpr-windows-system, lpr-lp-system):
13130 * mail/binhex.el (binhex-begin-line):
13131 * progmodes/grep.el (grep-history, grep-find-history):
13132 * textmodes/flyspell.el:
13133 * vc/pcvs-defs.el (cvs-global-menu):
13134 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13135 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13136 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13137
13138 * net/tls.el: Fix case of "GnuTLS".
13139
13140 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13141
13142 * version.el (emacs-build-system): Give it a doc-string.
13143
13144 2011-11-24 Juri Linkov <juri@jurta.org>
13145
13146 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13147
13148 2011-11-24 Glenn Morris <rgm@gnu.org>
13149
13150 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13151 if called on a non-mime message just toggle the headers. (Bug#8006)
13152
13153 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13154
13155 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13156 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13157 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13158 (allout-rebullet-heading, allout-open-sibtopic)
13159 (allout-toggle-current-subtree-encryption)
13160 (allout-toggle-subtree-encryption, allout-encrypt-string)
13161 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13162 (allout-distinctive-bullets-string, allout-auto-activation):
13163 * window.el (window-normalize-buffer-to-display):
13164 * progmodes/verilog-mode.el (verilog-batch-indent):
13165 * textmodes/bibtex.el (bibtex-field-braces-opt)
13166 (bibtex-field-strings-opt):
13167 * vc/cvs-status.el (cvs-tree-merge):
13168 Fix typos.
13169
13170 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13171
13172 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13173 `non-essential' to t, in order to avoid remote connections.
13174
13175 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13176
13177 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13178 On MS-DOS and MS-Windows, compare with loaddefs.el
13179 case-insensitively.
13180
13181 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13182
13183 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13184
13185 2011-11-23 Glenn Morris <rgm@gnu.org>
13186
13187 * paths.el (rmail-file-name): Reformat the doc-string so that it
13188 is picked up.
13189
13190 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13191 (rmail-auto-file): Ignore case in the "special" field names,
13192 as mail-fetch-field does for all others.
13193
13194 * mail/rmail.el (rmail-forward):
13195 * mail/rmailkwd.el (rmail-set-label):
13196 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13197 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13198
13199 * mail/rmail.el (rmail-current-message): Doc fix.
13200
13201 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13202
13203 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13206
13207 2011-11-22 Glenn Morris <rgm@gnu.org>
13208
13209 * mail/rmailmm.el (test-rmail-mime-handler)
13210 (test-rmail-mime-bulk-handler)
13211 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13212
13213 2011-11-21 Juri Linkov <juri@jurta.org>
13214
13215 * calc/calc.el (calc-read-key-sequence):
13216 Let-bind `input-method-function' to nil. (Bug#10018)
13217
13218 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13219
13220 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13221 Tell the caller that the next line needs recomputation, even
13222 though it doesn't start a sexp (bug#10094).
13223
13224 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13227
13228 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13231 Use force-same-window.
13232
13233 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13234
13235 * descr-text.el (describe-char-unicode-data):
13236 * json.el (json-string-escape):
13237 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13238 (Footnote-unicode, Footnote-style-p):
13239 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13240
13241 2011-11-20 Chong Yidong <cyd@gnu.org>
13242
13243 * window.el (replace-buffer-in-windows): Restore interactive spec.
13244
13245 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13248
13249 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13250 (byte-compile-global-not-obsolete-vars): New var.
13251 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13252 Use it.
13253 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13254
13255 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13256
13257 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13258 * progmodes/pascal.el (electric-pascal-equal):
13259 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13260 * xml.el (xml-substitute-special): Fix typos.
13261
13262 2011-11-20 Glenn Morris <rgm@gnu.org>
13263
13264 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13265 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13266 Doc fixes.
13267 (rmail-decode-mime-charset): Mark as obsolete.
13268
13269 * mail/rmailsum.el (rmail-message-regexp-p-1):
13270 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13271 Before using mime functions, check they are set. (Bug#10077)
13272
13273 2011-11-19 Juri Linkov <juri@jurta.org>
13274
13275 * info.el (Info-finder-find-node): Use `package--builtins' instead
13276 of `package-alist'. Use node names formed by the pattern "Keyword "
13277 and the keyword name.
13278
13279 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13280
13281 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13282
13283 2011-11-19 Juri Linkov <juri@jurta.org>
13284
13285 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13286 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13287 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13288 `old-history', `old-history-forward'. Add let-binding
13289 `window-selected'. Remove calls to `kill-buffer',
13290 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13291 before calling `Info-find-node', so `Info-find-node-2' will reread
13292 the Info file. Restore window positions only when `window-selected'
13293 is non-nil.
13294
13295 2011-11-19 Juri Linkov <juri@jurta.org>
13296
13297 * isearch.el (isearch-lazy-highlight-new-loop):
13298 Remove condition `(not isearch-error)'. (Bug#9918)
13299
13300 * misearch.el (multi-isearch-search-fun): Add condition
13301 `(not bound)' to ignore lazy-highlighting search.
13302 Add the search-failed message "end of multi" when the end of
13303 multi-sequence is reached. Uncapitalize the search-failed
13304 message "Repeat for next buffer".
13305
13306 * info.el (Info-search): Add the search-failed message
13307 "end of the manual" when the end of the manual is reached
13308 in Isearch mode.
13309
13310 2011-11-19 Juri Linkov <juri@jurta.org>
13311
13312 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13313 Use non-destructive `remove' instead of `delete' because
13314 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13315 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13316
13317 2011-11-19 Juri Linkov <juri@jurta.org>
13318
13319 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13320 to nil instead of binding `search-ring' and `regexp-search-ring'.
13321 (Bug#9185)
13322
13323 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13324
13325 * simple.el (line-move): Force movement by logical lines for any
13326 hscrolled window, not only when auto-hscroll-mode is on.
13327 (line-move-visual): Update doc string to that effect. (Bug#10076)
13328
13329 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13330
13331 * language/european.el (macintosh): Define as alias for mac-roman.
13332
13333 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13334
13335 * mail/rmailmm.el (rmail-mime-display-header)
13336 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13337 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13338 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13339 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13340 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13341 of a raw aref.
13342 (rmail-mime-entity-segment): To get past the tagline, move forward
13343 2 more lines, to account for the 2 empty lines that precede and
13344 follow the line with the buttons.
13345 (rmail-mime-update-tagline): Move one more line, to get past the
13346 empty line that follows the buttons in the tagline. (Bug#9520)
13347
13348 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13349
13350 * window.el (window-max-delta-1, window-min-delta-1)
13351 (window-min-size-1, window-state-get-1, window-state-put-1)
13352 (window-state-put-2): Use "window--" prefix.
13353
13354 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13357 (smie-warning-count): New var.
13358 (smie-set-prec2tab): Use it.
13359 (smie-bnf->prec2): Improve warnings. Add docstring.
13360 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13361 (smie-bnf--set-class): New function.
13362 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13363 corner case.
13364
13365 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13366 (compilation-error-properties, compilation-move-to-column):
13367 Handle compilation-first-column while in the target buffer.
13368
13369 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13370 Don't hardcode point-min==1.
13371
13372 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13373 (eshell-rewrite-for-command): Remove workaround.
13374 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13375 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13376 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13377
13378 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13379
13380 2011-11-17 Glenn Morris <rgm@gnu.org>
13381
13382 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13383 Ignore buffer-local generated-autoload-file if it is the same
13384 as the global value. (Bug#10049)
13385
13386 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13387
13388 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13389 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13390 (reftex-toc-previous-heading, reftex-toc-max-level)
13391 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13392 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13393 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13394 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13395 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13396 (reftex-toc-rename-label, reftex-toc-visit-location)
13397 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13398 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13399 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13400 leaving "*toc*" only for references to the buffer.
13401
13402 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13403
13404 * window.el (window-resize, delete-window, split-window):
13405 Replace window-splits by window-combination-resize.
13406 * cus-start.el (window-splits): Replace by window-combination-resize.
13407
13408 2011-11-17 Glenn Morris <rgm@gnu.org>
13409
13410 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13411 Make bash entry derive from sh entry, not shell entry.
13412
13413 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13414
13415 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13416 local file name.
13417
13418 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13419
13420 * menu-bar.el (menu-bar-file-menu):
13421 * printing.el (pr-ps-utility):
13422 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13423 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13424 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13425 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13426 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13427 (icalendar--convert-cyclic-to-ical)
13428 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13429 (icalendar--convert-ical-to-diary)
13430 (icalendar--convert-recurring-to-diary)
13431 (icalendar--convert-non-recurring-all-day-to-diary)
13432 (icalendar-import-format-sample):
13433 * progmodes/idlw-shell.el (idlwave-shell-mode):
13434 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13435 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13436 (vhdl-ps-print-init): Fix typos.
13437
13438 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13439
13440 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13441 FSF and collapse date sequence, obscure author/maintainer email address
13442 better, remove extra version line, track relocation of author's webpage.
13443
13444 * progmodes/python.el (python-pdbtrack-input-prompt)
13445 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13446 regular python pdb prompts. Adjustments shamelessly taken exactly as
13447 suggested in EmacsWiki page (tiny change):
13448 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13449
13450 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13451
13452 * expand.el (expand-pos, expand-index, expand-point):
13453 Remove redundant info from docstring.
13454 (expand-add-abbrevs): Doc fix.
13455 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13456 (expand-sample-perl-mode-expand-list): Fix typos.
13457
13458 * net/dbus.el (dbus-event-member-name):
13459 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13460 * term/pc-win.el (msdos-create-frame-with-faces):
13461 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13462
13463 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13464
13465 * window.el (split-window, window-state-get-1)
13466 (window-state-put-1, window-state-put-2): Rename occurrences of
13467 window-nest to window-combination-limit.
13468 * cus-start.el (window-nest): Rename to window-combination-limit.
13469
13470 2011-11-16 Chong Yidong <cyd@gnu.org>
13471
13472 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13473 regexp (Bug#10033).
13474
13475 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13478 `completing-read' will remove *Completions* and will preserve
13479 current-buffer for us.
13480 (tmm-add-prompt): Users of *Completions* will always (re)set its
13481 major mode.
13482 (tmm-old-comp-map): Remove.
13483
13484 2011-11-16 Glenn Morris <rgm@gnu.org>
13485
13486 * mail/rmailedit.el: Require rmailmm when compiling.
13487 (rmail-old-mime-state): New declaration.
13488 (rmail-edit-current-message): If editing a mime message,
13489 edit the "raw" message from the mbox buffer.
13490 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13491
13492 2011-11-15 Glenn Morris <rgm@gnu.org>
13493
13494 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13495 which wasn't being used. Add optional arg to force given state.
13496 (rmail-mime): Add optional arg to force given state.
13497
13498 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13499
13500 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13501 * frame.el (display-mm-dimensions-alist):
13502 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13503 (outline-move-subtree-down):
13504 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13505 (newsticker--treeview-do-get-node):
13506 * net/quickurl.el (quickurl-list-buffer-name):
13507 * progmodes/dcl-mode.el (dcl-mode):
13508 * progmodes/gdb-mi.el (gdb-mapcar*):
13509 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13510
13511 2011-11-15 Glenn Morris <rgm@gnu.org>
13512
13513 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13514 in a boolean sense, so just make it a boolean, and fix the doc.
13515 (rmail-show-mime-function, rmail-mime-feature)
13516 (rmail-require-mime-maybe): Doc fixes.
13517 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13518
13519 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13520
13521 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13522
13523 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13524 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13525 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13526 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13527
13528 2011-11-15 Glenn Morris <rgm@gnu.org>
13529
13530 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13531 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13532 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13533 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13534 (rmail-mime, rmail-show-mime): Doc fixes.
13535
13536 * term/ns-win.el (mode-line-frame-identification):
13537 Leave it alone. (Bug#10051)
13538
13539 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13540
13541 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13542 Handle empty buffers. (Bug#9978)
13543
13544 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13545
13546 * international/mule.el (define-charset):
13547 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13548 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13549 * progmodes/verilog-mode.el (verilog-backward-token):
13550 * textmodes/ispell.el (lookup-words):
13551 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13552
13553 2011-11-14 Glenn Morris <rgm@gnu.org>
13554
13555 * progmodes/executable.el
13556 (executable-make-buffer-file-executable-if-script-p):
13557 Handle file-modes returning nil.
13558
13559 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13560 message - not necessary, and causes problems. (Bug#9831)
13561
13562 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13563
13564 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13565
13566 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13567 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13568 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13569
13570 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13571
13572 * window.el (window-resize, delete-window): Use window-splits
13573 variable instead of function.
13574 (window-state-get-1, window-state-put-2, window-state-put):
13575 Don't deal with windows' splits status.
13576
13577 2011-11-12 Glenn Morris <rgm@gnu.org>
13578
13579 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13580 (apropos-documentation): Doc fixes.
13581
13582 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13583
13584 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13585 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13586
13587 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * electric.el (electric-indent-post-self-insert-function): Make it
13590 possible for a char to only indent in some circumstances.
13591 (electric-indent-mode): Simplify.
13592
13593 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13594
13595 * window.el (windows-with-parameter): Remove unused function.
13596 (windows-at-side): Rename to window-at-side-list.
13597 (window-check, window-atom-check, window-atom-check-1)
13598 (window-side-check, window-size-ignore, window-size-fixed-1)
13599 (window-in-direction-2): Prefix with "window--".
13600 (window-tree-1): Rename to window--subtree, fix doc-string.
13601
13602 2011-11-11 Glenn Morris <rgm@gnu.org>
13603
13604 * subr.el (eval-after-load): If FILE is already loaded,
13605 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13606
13607 2011-11-10 Glenn Morris <rgm@gnu.org>
13608
13609 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13610 Call svn via vc-svn-command rather than vc-do-command.
13611 (vc-svn-command): Add --non-interactive. (Bug#9993)
13612 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13613
13614 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13615 Add toggle-read-only. (Bug#7292)
13616 * files.el (toggle-read-only): Mention that it should only
13617 be used interactively. (Bug#10006)
13618
13619 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13622 Adjust regexp for OCaml warnings.
13623
13624 * electric.el (electric-pair-post-self-insert-function): Let user
13625 turn it off buffer-locally (bug#9932).
13626
13627 * progmodes/python.el (python-beginning-of-statement):
13628 Rewrite (bug#2703).
13629
13630 * progmodes/compile.el: Better handle TABs (bug#9749).
13631 (compilation-internal-error-properties)
13632 (compilation-next-error-function): Obey the target buffer's
13633 compilation-error-screen-columns.
13634
13635 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13636
13637 * progmodes/meta-mode.el: Remove obsolete comments.
13638 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13639 Fix typos in docstrings.
13640
13641 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13642
13643 * window.el (window-size-fixed-p): Rewrite doc-string.
13644 (window-resizable-p): Rename to window--resizable-p. Update callers.
13645 (window--resizable): New function. Make all callers of
13646 window-resizable call window--resizable instead.
13647 (window-resizable): Rewrite in terms of window--resizable.
13648
13649 2011-11-08 Glenn Morris <rgm@gnu.org>
13650
13651 * progmodes/delphi.el (delphi-mode-syntax-table):
13652 Let define-derived-mode define a proper syntax table. (Bug#9994)
13653
13654 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * window.el: Stay away from defsubst.
13657 (window-list-no-nils): Remove.
13658 (window-state-get-1, window-state-get): Use backquote instead.
13659
13660 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13661
13662 * emacs-lisp/find-func.el (find-function-read):
13663 Fix incorrect use of default argument in `completing-read'.
13664
13665 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13666
13667 * window.el (display-buffer-function, special-display-function):
13668 Mention display-buffer-record-window but do not mention
13669 help-setup parameter in doc-strings.
13670 (window-min-delta): Fix doc-string typo.
13671
13672 2011-11-08 Chong Yidong <cyd@gnu.org>
13673
13674 * window.el (window-total-height, window-total-width): Doc fix.
13675 (window-body-size): Move from C.
13676 (window-body-height, window-body-width): Move to C.
13677
13678 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * window.el: Make special-display like display-buffer-alist (bug#9532).
13681 (display-buffer--special-action): New function, morphed
13682 from display-buffer--special.
13683 (display-buffer): Use it to handle special-display-buffers at higher
13684 priority (just after display-buffer-alist).
13685 (display-buffer-fallback-action, display-buffer--other-frame-action)
13686 (pop-to-buffer-same-window): Remove display-buffer--special.
13687
13688 2011-11-07 Glenn Morris <rgm@gnu.org>
13689
13690 * calendar/cal-menu.el (cal-menu-set-date-title):
13691 Do nothing if not in a calendar. (Bug#9976)
13692
13693 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * files.el (find-file): Always use selected-window.
13696
13697 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13698
13699 * window.el (window-combinations): Make WINDOW argument
13700 mandatory. Rewrite doc-string.
13701 (walk-window-subtree, window-atom-check, window-min-delta)
13702 (window-max-delta, window--resize-this-window)
13703 (window--resize-root-window-vertically, window-tree)
13704 (balance-windows, window-state-put): Rewrite doc-strings as to
13705 not mention the term "subwindow".
13706 (window--resize-subwindows-skip-p): Rename to
13707 window--resize-child-windows-skip-p.
13708 (window--resize-subwindows-normal): Rename to
13709 window--resize-child-windows-normal.
13710 (window--resize-subwindows): Rename to
13711 window--resize-child-windows.
13712 (window-or-subwindow-p): Rename to window--in-subtree-p.
13713
13714 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13715
13716 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13717 Ensure that mbox format messages end in two newlines (Bug#9974).
13718
13719 2011-11-06 Chong Yidong <cyd@gnu.org>
13720
13721 * window.el (window-combination-p): Function deleted; its
13722 side-effect is not used in any existing code.
13723 (window-combinations, window-combined-p): Call window-*-child
13724 directly.
13725
13726 2011-11-05 Chong Yidong <cyd@gnu.org>
13727
13728 * window.el (window-valid-p): Rename from window-any-p.
13729 (window-size-ignore, window-state-get): Callers changed.
13730 (window-normalize-window): Rename from window-normalize-any-window.
13731 New arg LIVE-ONLY, replacing window-normalize-live-window.
13732 (window-normalize-live-window): Delete.
13733 (window-combination-p, window-combined-p, window-combinations)
13734 (walk-window-subtree, window-atom-root, window-min-size)
13735 (window-sizable, window-sizable-p, window-size-fixed-p)
13736 (window-min-delta, window-max-delta, window-resizable)
13737 (window-resizable-p, window-full-height-p, window-full-width-p)
13738 (window-current-scroll-bars, window-point-1, set-window-point-1)
13739 (window-at-side-p, window-in-direction, window-resize)
13740 (adjust-window-trailing-edge, maximize-window, minimize-window)
13741 (window-deletable-p, delete-window, delete-other-windows)
13742 (record-window-buffer, unrecord-window-buffer)
13743 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13744 (quit-window, split-window, window-state-put)
13745 (set-window-text-height, fit-window-to-buffer)
13746 (shrink-window-if-larger-than-buffer): Callers changed.
13747
13748 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13749
13750 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13751 rfc2047-decode-string.
13752 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13753 warnings.
13754
13755 * window.el (window-body-height, window-body-width): Mention in
13756 the doc string that the return values are in frame's canonical
13757 units. (Bug#9949)
13758
13759 2011-11-03 Alan Mackenzie <acm@muc.de>
13760
13761 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13762 change in cc-engine.el.
13763
13764 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13767
13768 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13769
13770 * window.el (quit-window): Call unrecord-window-buffer after
13771 showing another buffer in the window. (Bug#9937)
13772 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13773
13774 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13775
13776 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13777 Accept status with more than 9 shelves. (Bug#9935)
13778 Reported by Colin D Bennett <colin@gibibit.com>.
13779
13780 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13781
13782 * help.el (with-help-window): Don't reference
13783 temp-buffer-show-specifiers in doc-string.
13784
13785 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13786
13787 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13788 menu-item.
13789
13790 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13791
13792 * whitespace.el: New version 13.2.2.
13793 (whitespace-newline-mode): Disable properly. Reported by Sarah
13794 <EmacsWiki>.
13795
13796 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13797
13798 * net/newst-treeview.el: Remove "Time-stamp".
13799 (newsticker--group-manage-orphan-feeds): Do not call
13800 newsticker--treeview-tree-update.
13801 (newsticker-treeview-update, newsticker-treeview):
13802 Call newsticker--treeview-tree-update if necessary.
13803
13804 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13805
13806 * window.el (window-iso-combination-p, window-iso-combined-p)
13807 (window-iso-combinations): Remove "iso-" infix.
13808 Suggested by Chong Yidong.
13809 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13810 (window-max-delta-1, window-resize, window--resize-siblings)
13811 (window--resize-this-window, adjust-window-trailing-edge)
13812 (split-window, balance-windows-1)
13813 (shrink-window-if-larger-than-buffer):
13814 * calendar/calendar.el (calendar-generate-window):
13815 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13816
13817 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13820 in place (bug#9907).
13821 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13822 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13823 (eshell-structure-basic-command, eshell-rewrite-while-command)
13824 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13825 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13826 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13827 (eshell-do-pipelines-synchronously, eshell-eval-command):
13828 Use backquotes and prefer setq to set.
13829 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13830 (eshell-macrop): Use functionp.
13831 (eshell-do-eval): Handle multiple expressions in `while' body.
13832
13833 2011-10-30 Chong Yidong <cyd@gnu.org>
13834
13835 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13836 instead of set-mark (Bug#9810).
13837
13838 2011-10-30 Chong Yidong <cyd@gnu.org>
13839
13840 * window.el (split-window-below, split-window-right): Rename from
13841 split-window-above-each-other and split-window-side-by-side
13842 respectively. All callers changed.
13843 (split-window-sensibly, split-window-sensibly): Use them.
13844 (split-window-keep-point): Doc fix.
13845
13846 * isearch.el: Add isearch-scroll property to split-window-below
13847 and split-window-right.
13848
13849 * follow.el (follow-mode):
13850 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13851 * progmodes/ada-xref.el (ada-gdb-application):
13852 * emulation/vip.el (vip-buffer-in-two-windows):
13853 * image-dired.el (image-dired-dired-with-window-configuration):
13854 * dired-x.el (dired-do-find-marked-files):
13855 * dired.el (dired-pop-to-buffer):
13856 * bs.el (bs--show-with-configuration):
13857 * vc/emerge.el (emerge-setup-windows):
13858 * textmodes/two-column.el (2C-two-columns):
13859 * textmodes/reftex-toc.el (reftex-toc):
13860 * progmodes/gdb-mi.el (gdb-setup-windows):
13861 * progmodes/fortran.el (fortran-window-create):
13862 * net/newst-treeview.el (newsticker--treeview-window-init):
13863 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13864 * emulation/tpu-edt.el (tpu-gold-map):
13865 * emulation/crisp.el (crisp-mode-map):
13866 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13867
13868 2011-10-29 Chong Yidong <cyd@gnu.org>
13869
13870 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13871
13872 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13873
13874 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13875 forged Ispell output (Bug#7904).
13876
13877 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13878
13879 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * doc-view.el: Avoid ugly errors about not finding nil.
13882 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13883 (doc-view-dvipdf-program, doc-view-unoconv-program)
13884 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13885 Avoid nil or absolute file name as default value.
13886 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13887
13888 2011-10-28 Alan Mackenzie <acm@muc.de>
13889
13890 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13891
13892 2011-10-28 Alan Mackenzie <acm@muc.de>
13893
13894 Amend the handling of c-beginning/end-of-defun in nested declaration
13895 scopes.
13896
13897 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13898 cc-langs.el. Change it to a defcustom.
13899
13900 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13901 cc-vars.el.
13902
13903 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13904 Prevent "class foo : bar" being spuriously recognized as a label.
13905
13906 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13907 Add parameter `inclusive' (to include enclosing braces in the region).
13908 (c-widen-to-enclosing-decl-scope): New function.
13909 (c-while-widening-to-decl-block): New macro.
13910 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13911 outward for defun boundaries, and correspondingly change symbol
13912 `respect-enclosure' to `go-outward'.
13913 (c-declaration-limits): Change algorithm to report only the "innermost"
13914 defun's boundaries.
13915
13916 2011-10-28 Deniz Dogan <deniz@dogan.se>
13917
13918 * net/rcirc.el (rcirc-mode): Use hard newlines.
13919
13920 2011-10-28 Alan Mackenzie <acm@muc.de>
13921
13922 Amend to indent and fontify macros "which include their own semicolon"
13923 correctly, using the "virtual semicolon" mechanism.
13924
13925 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13926
13927 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13928 Recode to scan one line at a time rather than having \n and \r
13929 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13930 (c-forward-label): Amend for virtual semicolons.
13931 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13932
13933 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13934 of the new C macros.
13935
13936 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13937 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13938 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13939 (c-opt-cpp-macro-define): Make into a full language variable.
13940 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13941 AWK Mode (including \n, \r) removed, no longer needed.
13942
13943 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13944 Invoke c-make-macro-with-semi-re.
13945
13946 * progmodes/cc-vars.el (c-macro-with-semi-re):
13947 (c-macro-names-with-semicolon): New variables.
13948 (c-make-macro-with-semi-re): New function.
13949
13950 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * vc/log-edit.el: Fill empty field rather than adding new one.
13953 (log-edit-add-field): New function.
13954 (log-edit-insert-changelog): Use it.
13955
13956 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13957
13958 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13959
13960 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13963 (gdb--check-interpreter): New function.
13964 (gdb): Use it.
13965
13966 2011-10-27 Glenn Morris <rgm@gnu.org>
13967
13968 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13969 (least-positive-float, least-negative-float)
13970 (least-positive-normalized-float, least-negative-normalized-float)
13971 (float-epsilon, float-negative-epsilon):
13972 Remove unnecessary declarations.
13973
13974 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13975 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13976 (least-positive-float, least-negative-float)
13977 (least-positive-normalized-float, least-negative-normalized-float)
13978 (float-epsilon, float-negative-epsilon): Add doc-strings,
13979 based on those in cl.texi.
13980
13981 * files.el (set-visited-file-name): If the major-mode changed,
13982 reload the local variables. (Bug#9796)
13983
13984 2011-10-27 Chong Yidong <cyd@gnu.org>
13985
13986 * subr.el (change-major-mode-after-body-hook): New hook.
13987 (run-mode-hooks): Run it.
13988
13989 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13990 Use change-major-mode-before-body-hook.
13991
13992 * simple.el (fundamental-mode):
13993 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13994 change introducing fundamental-mode-hook.
13995
13996 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13997
13998 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13999
14000 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14001
14002 * ido.el (ido-file-name-all-completions-1): Do not require
14003 tramp.el explicitly. (Bug#7583)
14004
14005 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14006
14007 * progmodes/octave-mod.el:
14008 * progmodes/octave-inf.el: Update maintainer.
14009
14010 2011-10-26 Chong Yidong <cyd@gnu.org>
14011
14012 * subr.el (with-wrapper-hook): Rewrite doc.
14013
14014 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14015
14016 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14017 filenames "/method:foo:". (Bug#9793)
14018
14019 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14022 (bug#9865).
14023
14024 2011-10-24 Glenn Morris <rgm@gnu.org>
14025
14026 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14027
14028 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14029
14030 * notifications.el: Add the requirement of a running D-Bus session
14031 bus to the Commentary.
14032
14033 2011-10-24 Juri Linkov <juri@jurta.org>
14034
14035 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14036 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14037 (Bug#9364)
14038
14039 2011-10-24 Juri Linkov <juri@jurta.org>
14040
14041 * info.el (Info-following-node-name-re): Add newline to the list
14042 of allowed characters for leading space. (Bug#9824)
14043
14044 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * progmodes/octave-inf.el (inferior-octave-mode-map):
14047 Fix C-c C-h binding.
14048 * progmodes/octave-mod.el (octave-help): Remove.
14049
14050 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14051
14052 Sync with Tramp 2.2.3.
14053
14054 * net/tramp-cache.el (top): Pacify byte-compiler using
14055 `init-file-user' and `site-run-file'.
14056
14057 * net/trampver.el: Update release number.
14058
14059 2011-10-23 Chong Yidong <cyd@gnu.org>
14060
14061 * files.el (toggle-read-only): Remove obsolete comment about
14062 version control.
14063
14064 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14065 for toggle-read-only. Note that this hasn't called vc-next-action
14066 since 2008-05-02, though it wasn't documented at the time.
14067
14068 * vc/ediff-init.el (ediff-toggle-read-only-function):
14069 Use toggle-read-only.
14070
14071 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14072
14073 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14074 of c-parse-state.
14075
14076 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14077 correct faulty logical expression.
14078 (c-parse-state-state, c-record-parse-state-state):
14079 (c-replay-parse-state-state): New defvar/defuns.
14080 (c-debug-parse-state): Use new functions.
14081
14082 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14083
14084 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14085 last fix. Use window-in-direction correctly.
14086
14087 2011-10-21 Chong Yidong <cyd@gnu.org>
14088
14089 * progmodes/idlwave.el (idlwave-mode):
14090 * progmodes/vera-mode.el (vera-mode): No need to set
14091 require-final-newline; that's done in prog-mode.
14092 Suggested by Stefan Monnier.
14093
14094 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14095
14096 * mouse.el (mouse-drag-window-above)
14097 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14098 (mouse-drag-mode-line-1, mouse-drag-header-line)
14099 (mouse-drag-vertical-line-rightward-window): Remove.
14100 (mouse-drag-line): New function.
14101 (mouse-drag-mode-line, mouse-drag-header-line)
14102 (mouse-drag-vertical-line): Call mouse-drag-line.
14103 * window.el (window-at-side-p, windows-at-side): New functions.
14104
14105 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14106
14107 * tar-mode.el (tar-grind-file-mode):
14108 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14109
14110 2011-10-21 Chong Yidong <cyd@gnu.org>
14111
14112 * progmodes/idlwave.el (idlwave-mode):
14113 * progmodes/vera-mode.el (vera-mode):
14114 Use mode-require-final-newline.
14115
14116 2011-10-20 Glenn Morris <rgm@gnu.org>
14117
14118 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14119
14120 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14121
14122 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14123
14124 2011-10-20 Chong Yidong <cyd@gnu.org>
14125
14126 * emulation/cua-base.el (cua-mode):
14127 * mail/footnote.el (footnote-mode):
14128 * mail/mailabbrev.el (mail-abbrevs-mode):
14129 * net/xesam.el (xesam-minor-mode):
14130 * progmodes/bug-reference.el (bug-reference-mode):
14131 * progmodes/cap-words.el (capitalized-words-mode):
14132 * progmodes/compile.el (compilation-minor-mode)
14133 (compilation-shell-minor-mode):
14134 * progmodes/gud.el (gud-tooltip-mode):
14135 * progmodes/hideif.el (hide-ifdef-mode):
14136 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14137 * progmodes/subword.el (subword-mode):
14138 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14139 * progmodes/which-func.el (which-function-mode):
14140 * term/tvi970.el (tvi970-set-keypad-mode):
14141 * term/vt100.el (vt100-wide-mode):
14142 * textmodes/flyspell.el (flyspell-mode):
14143 * textmodes/ispell.el (ispell-minor-mode):
14144 * textmodes/nroff-mode.el (nroff-electric-mode):
14145 * textmodes/paragraphs.el (use-hard-newlines):
14146 * textmodes/refill.el (refill-mode):
14147 * textmodes/reftex.el (reftex-mode):
14148 * textmodes/rst.el (rst-minor-mode):
14149 * textmodes/sgml-mode.el (html-autoview-mode)
14150 (sgml-electric-tag-pair-mode):
14151 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14152 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14153 * emulation/crisp.el (crisp-mode):
14154 * emacs-lisp/eldoc.el (eldoc-mode):
14155 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14156 minor mode behavior.
14157
14158 2011-10-19 Juri Linkov <juri@jurta.org>
14159
14160 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14161 the list of hard-coded chars with escape-glyph face.
14162
14163 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14166
14167 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14168
14169 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14170 running process.
14171
14172 2011-10-19 Glenn Morris <rgm@gnu.org>
14173
14174 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14175 Ignore ignored files. (Bug#9726)
14176
14177 2011-10-19 Chong Yidong <cyd@gnu.org>
14178
14179 Doc fix for minor modes, stating that an omitted argument enables
14180 the mode unconditionally when called from Lisp.
14181
14182 * abbrev.el (abbrev-mode):
14183 * allout.el (allout-mode):
14184 * autoinsert.el (auto-insert-mode):
14185 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14186 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14187 (global-auto-revert-mode):
14188 * battery.el (display-battery-mode):
14189 * composite.el (global-auto-composition-mode)
14190 (auto-composition-mode):
14191 * delsel.el (delete-selection-mode):
14192 * desktop.el (desktop-save-mode):
14193 * dired-x.el (dired-omit-mode):
14194 * dirtrack.el (dirtrack-mode):
14195 * doc-view.el (doc-view-minor-mode):
14196 * double.el (double-mode):
14197 * electric.el (electric-indent-mode, electric-pair-mode):
14198 * emacs-lock.el (emacs-lock-mode):
14199 * epa-hook.el (auto-encryption-mode):
14200 * follow.el (follow-mode):
14201 * font-core.el (font-lock-mode):
14202 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14203 * help.el (temp-buffer-resize-mode):
14204 * hilit-chg.el (highlight-changes-mode)
14205 (highlight-changes-visible-mode):
14206 * hi-lock.el (hi-lock-mode):
14207 * hl-line.el (hl-line-mode, global-hl-line-mode):
14208 * icomplete.el (icomplete-mode):
14209 * ido.el (ido-everywhere):
14210 * image-file.el (auto-image-file-mode):
14211 * image-mode.el (image-minor-mode):
14212 * iswitchb.el (iswitchb-mode):
14213 * jka-cmpr-hook.el (auto-compression-mode):
14214 * linum.el (linum-mode):
14215 * longlines.el (longlines-mode):
14216 * master.el (master-mode):
14217 * mb-depth.el (minibuffer-depth-indicate-mode):
14218 * menu-bar.el (menu-bar-mode):
14219 * minibuf-eldef.el (minibuffer-electric-default-mode):
14220 * mouse-sel.el (mouse-sel-mode):
14221 * msb.el (msb-mode):
14222 * mwheel.el (mouse-wheel-mode):
14223 * outline.el (outline-minor-mode):
14224 * paren.el (show-paren-mode):
14225 * recentf.el (recentf-mode):
14226 * reveal.el (reveal-mode, global-reveal-mode):
14227 * rfn-eshadow.el (file-name-shadow-mode):
14228 * ruler-mode.el (ruler-mode):
14229 * savehist.el (savehist-mode):
14230 * scroll-all.el (scroll-all-mode):
14231 * scroll-bar.el (scroll-bar-mode):
14232 * server.el (server-mode):
14233 * shell.el (shell-dirtrack-mode):
14234 * simple.el (auto-fill-mode, transient-mark-mode)
14235 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14236 (line-number-mode, column-number-mode, size-indication-mode)
14237 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14238 * strokes.el (strokes-mode):
14239 * time.el (display-time-mode):
14240 * t-mouse.el (gpm-mouse-mode):
14241 * tool-bar.el (tool-bar-mode):
14242 * tooltip.el (tooltip-mode):
14243 * type-break.el (type-break-mode-line-message-mode)
14244 (type-break-query-mode):
14245 * view.el (view-mode):
14246 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14247 (global-whitespace-mode, global-whitespace-newline-mode):
14248 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14249
14250 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14251 Fix autogenerated docstring.
14252
14253 2011-10-19 Juri Linkov <juri@jurta.org>
14254
14255 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14256 by checking environment variables "DESKTOP_SESSION" and
14257 "XDG_CURRENT_DESKTOP". (Bug#9779)
14258
14259 2011-10-19 Juri Linkov <juri@jurta.org>
14260
14261 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14262 (browse-url-chromium-program, browse-url-chromium-arguments):
14263 New defcustoms.
14264 (browse-url-default-browser): Check for `browse-url-chromium' and
14265 call `browse-url-chromium-program'.
14266 (browse-url-chromium): New command. (Bug#9779)
14267
14268 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14269
14270 * facemenu.el (list-colors-duplicates): On Windows, detect more
14271 duplicates by assuming that only colors matching "^System" are
14272 special "system colors". (Bug#9722)
14273
14274 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14275
14276 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14277 to distinguish the author from the committer.
14278
14279 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14280
14281 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14282
14283 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14284
14285 * international/mule.el (sgml-html-meta-auto-coding-function):
14286 Add support for detecting encoding in HTML5 specified only as
14287 <meta charset="UTF-8">. Implementation just makes http-equiv and
14288 content-type parts from HTML4 encoding string optional. (Bug#9716)
14289
14290 2011-10-18 Glenn Morris <rgm@gnu.org>
14291
14292 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14293
14294 2011-10-18 Chong Yidong <cyd@gnu.org>
14295
14296 * faces.el (cursor): Doc fix.
14297
14298 2011-10-17 Chong Yidong <cyd@gnu.org>
14299
14300 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14301
14302 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14303
14304 * dirtrack.el (dirtrack): Support shell buffers with path
14305 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14306
14307 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14308
14309 * json.el: Bump version to 1.3 and note change in History.
14310 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14311
14312 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14313
14314 * comint.el (comint-insert-input, comint-send-input)
14315 (comint-get-old-input-default, comint-backward-matching-input)
14316 (comint-next-prompt): Use nil instead of `input' for field property of
14317 past user input (bug#114).
14318
14319 * minibuffer.el (completion--replace): Inherit surrounding properties
14320 (bug#114).
14321 (minibuffer-complete-and-exit): Use it.
14322
14323 * comint.el (comint--table-subvert): Quote the all-completions output
14324 (bug#9160).
14325
14326 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14327
14328 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14329
14330 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14331 window on right of selected. (Bug#9350) Reword other window
14332 entries and separate them from frame entries.
14333
14334 2011-10-15 Glenn Morris <rgm@gnu.org>
14335
14336 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14337 Doc fixes.
14338
14339 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14340
14341 * net/network-stream.el (network-stream-open-starttls):
14342 Improve detection of failure due to lack of TLS support.
14343
14344 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14345 putting the input text in front and in bold.
14346
14347 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14350
14351 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14352 empty buffer.
14353
14354 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14355 unread-command-events rather than pushing yet-another event.
14356
14357 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14358
14359 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14360 the explanation of the possible choices. Make the options passed
14361 to completing-read shorter.
14362
14363 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14364
14365 * textmodes/flyspell.el (flyspell-large-region): Make sure
14366 extended character mode is used if defined (Bug#1339).
14367
14368 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14369
14370 * simple.el (what-cursor-position): Fix the display of the
14371 character info for LRE, LRO, RLE, and RLO characters by appending
14372 an invisible PDF.
14373
14374 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14375
14376 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14377 even in case of error; add debug spec; simplify data flow.
14378 (with-timeout-handler): Remove.
14379
14380 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14381
14382 Fix Bug#6019, Bug#9315.
14383
14384 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14385 complete `buffer-file-name', the local file name part could look
14386 remotely (for example on VMS).
14387
14388 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14389 `tramp-run-real-handler'.
14390 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14391 already quoted by '"'.
14392
14393 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14394 Let `file-name-handler-alist' be nil, the local file name part
14395 could look remotely (for example on VMS).
14396
14397 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14398
14399 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14400 from here...
14401 (flyspell-post-command-hook): ...to here.
14402
14403 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14406 if not needed.
14407 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14408 using completion. Protect against "slow" callers.
14409 Remove the "message hack".
14410
14411 2011-10-11 Juri Linkov <juri@jurta.org>
14412
14413 * isearch.el (isearch-lazy-highlight-word): New variable.
14414 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14415 Use it. (Bug#9727)
14416
14417 2011-10-11 Glenn Morris <rgm@gnu.org>
14418
14419 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14420 like f90-previous-statement does.
14421
14422 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14423
14424 * eshell/eshell.el (eshell-command): History should be saved
14425 only in interactive use, to avoid error.
14426
14427 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * minibuffer.el (completion-file-name-table): Fix last change,
14430 i.e. ignore normal errors but not the other ones.
14431
14432 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14433
14434 * window.el (special-display-buffer-names)
14435 (special-display-regexps): Remove some remnants of earlier
14436 changes from doc-strings.
14437 (quit-windows-on): New function.
14438
14439 * vc/vc.el (vc-revert, vc-rollback):
14440 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14441 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14442 (Bug#6183) (Bug#7074) (Bug#7447)
14443
14444 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14445
14446 * window.el (frame-auto-hide-function): Add version tag.
14447 (Bug#9699)
14448
14449 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14450
14451 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14452 condition.
14453
14454 2011-10-09 Leo Liu <sdl.web@gmail.com>
14455
14456 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14457 (Bug#9701)
14458
14459 2011-10-08 Glenn Morris <rgm@gnu.org>
14460
14461 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14462 before the first code statement zero indent. (Bug#9690)
14463
14464 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14465
14466 * simple.el (count-words-region): Always count in the region.
14467 Report the number of lines and characters too.
14468 (count-words): New command, which counts in the buffer if the
14469 region is inactive, as count-words-region used to.
14470 (count-words--message): New function. Handle plurals.
14471 (count-lines-region): Make it an alias for count-words-region.
14472
14473 * bindings.el (esc-map): Replace count-lines-region with
14474 count-words-region.
14475
14476 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14477
14478 * window.el (window--delete): Delete dedicated frame
14479 unconditionally when argument KILL is non-nil. (Bug#9699)
14480 (switch-to-buffer): Fix doc-string typo.
14481
14482 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14483
14484 * eshell/eshell.el (eshell-command): Avoid using hooks.
14485
14486 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14487
14488 * bindings.el ([M-left],[M-right]): Bind to left-word and
14489 right-word respectively.
14490
14491 2011-10-07 Glenn Morris <rgm@gnu.org>
14492
14493 * cus-start.el (debug-on-quit): Fix custom type.
14494
14495 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14496
14497 * subr.el (define-key-after): Clarify that the function is not
14498 useful for non-menu keymaps.
14499
14500 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14501
14502 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14503
14504 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14505 in current minibuffer (Fix bug with recursive minibuffers).
14506
14507 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14508
14509 * progmodes/gdb-mi.el (gdb): Doc fix.
14510
14511 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14512
14513 * window.el (frame-auto-hide-function): New option replacing
14514 frame-auto-delete. Suggested by Stefan Monnier.
14515 (window--delete): Call frame-auto-hide-function instead of
14516 investigating frame-auto-delete.
14517 (window-point-1, set-window-point-1): New functions.
14518 (window-in-direction, record-window-buffer, window-state-get-1)
14519 (display-buffer-record-window): Use window-point-1 instead of
14520 window-point.
14521 (set-window-buffer-start-and-point): Use set-window-point-1.
14522
14523 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14526
14527 2011-10-05 Glenn Morris <rgm@gnu.org>
14528
14529 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14530 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14531
14532 2011-10-05 Leo Liu <sdl.web@gmail.com>
14533
14534 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14535 works with buffer object.
14536
14537 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * mpc.el (mpc-tool-bar-map): Add labels.
14540
14541 2011-10-04 Glenn Morris <rgm@gnu.org>
14542
14543 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14544
14545 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14546
14547 * window.el (window--delete): New function.
14548 (frame-auto-delete): Resuscitate option.
14549 (bury-buffer, replace-buffer-in-windows)
14550 (quit-window): Rewrite using window--delete.
14551 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14552 Pass display-buffer-mark-dedicated to window--display-buffer-2
14553 (Bug#9639).
14554
14555 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14556
14557 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14558 returns a list (bug#9554). Add remote file name completion.
14559 * comint.el (comint--table-subvert): Curry and get quote&unquote
14560 functions as arguments.
14561 (comint--complete-file-name-data): Adjust call accordingly.
14562 * pcomplete.el (pcomplete--table-subvert): Remove.
14563 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14564
14565 * minibuffer.el (completion-table-case-fold): Use currying.
14566 (completion--styles-type, completion--cycling-threshold-type):
14567 New constants.
14568 (completion-styles, completion-category-overrides)
14569 (completion-cycle-threshold): Use them.
14570 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14571 completion-table-case-fold.
14572
14573 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14574
14575 * minibuffer.el (completion-category-overrides): Fix type of styles
14576 and add more user friendly tags (bug#9660).
14577
14578 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14579
14580 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14581 (mule-input-method-string): New widget.
14582 (default-input-method, language-info-custom-alist): Use it.
14583
14584 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * pcomplete.el: Require comint.
14587 (pcomplete--common-suffix): Remove.
14588 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14589 (pcomplete--table-subvert): Sync with comint--table-subvert.
14590 (pcomplete--entries): Use comint-completion-file-name-table.
14591 * comint.el (comint-unquote-filename): Simplify.
14592 (comint-completion-file-name-table): New function (bug#9616).
14593 (comint--complete-file-name-data): Use it.
14594
14595 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14596 (pcmpl-gnu-tar-buffer): Remove.
14597 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14598 around. Make sure pcomplete-suffix-list is only changed temporarily.
14599 Don't look inside the tar's file if it's too large.
14600
14601 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14602
14603 * cus-edit.el (custom-mode-map):
14604 * epa.el (epa-key-list-mode-map):
14605 * man.el (Man-mode-map):
14606 * startup.el (splash-screen-keymap):
14607 * simple.el (special-mode-map): Use scroll-up-command and
14608 scroll-down-command.
14609
14610 * progmodes/idlw-help.el (idlwave-help-mode-map):
14611 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14612 * net/newst-plainview.el (newsticker-mode-map):
14613 * emulation/ws-mode.el (wordstar-mode-map):
14614 * emulation/vi.el (vi-com-map):
14615 * calc/calc-graph.el (calc-graph-show-dumb):
14616 * term/sun.el (terminal-init-sun):
14617 * term/ns-win.el (global-map):
14618 * progmodes/grep.el (grep-mode-map):
14619 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14620 * mail/rmail.el (rmail-mode-map):
14621 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14622
14623 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14624 custom-safe-themes as special.
14625
14626 2011-10-01 Julien Danjou <julien@danjou.info>
14627
14628 * notifications.el (notifications-notify): Fix docstring.
14629
14630 2011-10-01 Per Starbäck <per@starback.se>
14631
14632 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14633
14634 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14635
14636 * startup.el (command-line-1): Fix last fix by inserting
14637 initial-scratch-message into *scratch* before displaying it.
14638 (Bug#9605) and (Bug#9636)
14639
14640 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14641
14642 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14643 window is hscrolled, move by logical lines. (Bug#9607)
14644 (line-move-visual): Update the doc string to the above effect.
14645
14646 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14647
14648 * window.el (display-buffer-record-window): When WINDOW is the
14649 selected window use `point' instead of `window-point'. (Bug#9626)
14650
14651 * startup.el (command-line-1): Use insert-before-markers when
14652 inserting initial-scratch-message. (Bug#9605)
14653
14654 * help.el (help-window): Remove variable.
14655
14656 2011-09-29 Glenn Morris <rgm@gnu.org>
14657
14658 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14659
14660 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14661
14662 * descr-text.el (describe-char-categories): Accept category
14663 descriptions more than one line long.
14664
14665 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * simple.el (delete-trailing-whitespace): Fix last change.
14668
14669 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14670 Don't confuse "y => 3" as the beginning of a `y' operation.
14671
14672 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14673 object has more than 4 slots (bug#9613).
14674
14675 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14676
14677 * subr.el (with-output-to-temp-buffer):
14678 * net/quickurl.el (quickurl, quickurl-browse-url):
14679 Fix typos in docstrings.
14680
14681 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14682
14683 * minibuffer.el (completion-styles)
14684 (completion-category-overrides): Cross reference each other in doc
14685 strings.
14686
14687 2011-09-27 Glenn Morris <rgm@gnu.org>
14688
14689 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14690 to split-string. (Bug#9606)
14691
14692 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14693
14694 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14695 (bug#9615).
14696
14697 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14698
14699 * emacs-lisp/package.el (list-packages): Fix echo area message.
14700
14701 2011-09-27 Leo Liu <sdl.web@gmail.com>
14702
14703 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14704
14705 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14706
14707 * net/dbus.el (dbus-unregister-object): Don't release services for
14708 registered signals. (Bug#9581)
14709
14710 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14711
14712 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14713 function that picks between cfengine 2 and 3 support
14714 automatically. Update docs accordingly.
14715
14716 2011-09-22 Kenichi Handa <handa@m17n.org>
14717
14718 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14719 ZERO.
14720 (indian-itrans-v5-table-for-tamil): New variable.
14721 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14722
14723 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14724
14725 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14726 that's true if the current command involved collapsing of text.
14727 It's reset to false at the beginning of the next command.
14728 (allout-post-command-business): Move the cursor to the beginning
14729 of entry if the cursor is hidden and collapsing activity just
14730 happened.
14731
14732 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14733
14734 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14735 tracking (Bug#9541).
14736
14737 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14738
14739 * net/newst-reader.el (newsticker-html-renderer)
14740 (newsticker-show-news): Automatically load html rendering package
14741 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14742 because w3m-fill-column is let-bound" and the error "Symbol's value
14743 as variable is void: w3m-fill-column".
14744
14745 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14746
14747 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14748 Release services only if they are defined. (Bug#9581)
14749
14750 2011-09-23 Richard Stallman <rms@gnu.org>
14751
14752 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14753 distinguish start of paragraph from start of its text.
14754
14755 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14756
14757 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14758 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14759 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14760
14761 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14762
14763 * international/mule-diag.el (mule-diag): Insert a newline after
14764 each fontset description.
14765
14766 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * simple.el (delete-trailing-whitespace):
14769 Document last change; simplify.
14770
14771 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14772
14773 * simple.el (delete-trailing-whitespace): Also delete
14774 extra newlines at the end of the buffer.
14775
14776 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14777 (picture-newline): Use forward-line so as to ignore fields.
14778
14779 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * subr.el (with-wrapper-hook): Fix edebug spec.
14782
14783 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14784
14785 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14786 (bug#4538).
14787
14788 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14789
14790 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14791 Fix nasty bug using wrong cached values.
14792
14793 2011-09-23 Alan Mackenzie <acm@muc.de>
14794
14795 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14796
14797 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14798
14799 * window.el (pop-to-buffer): Ensure right window is selected if we
14800 chose another frame.
14801
14802 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14803
14804 * simple.el (what-cursor-position): Use get-char-property-change
14805 and next-single-char-property-change, to be able to show display
14806 properties that come from overlays as well as text properties.
14807
14808 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14809
14810 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14811
14812 * cmuscheme.el (run-scheme, switch-to-scheme):
14813 * cus-edit.el (customize-group, custom-buffer-create)
14814 (customize-browse):
14815 * info.el (info):
14816 * shell.el (shell):
14817 * mail/sendmail.el (mail):
14818 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14819
14820 2011-09-22 Richard Stallman <rms@gnu.org>
14821
14822 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14823 move back only to line beg, don't move back over blank lines.
14824
14825 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14826
14827 * files.el (copy-directory): Set directory attributes only in case
14828 they could be retrieved from the source directory. (Bug#9565)
14829
14830 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14831
14832 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14833 (hs-find-block-beginning, hs-hide-level-recursive):
14834 Ignore strings as well as comments. (Bug#9502)
14835
14836 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14837
14838 * progmodes/sql.el (sql-comint-postgres):
14839 Convert port number to a string. (Bug#9566)
14840
14841 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14842
14843 * window.el (quit-window): Undedicate window when switching to
14844 previous buffer. Reported by Thierry Volpiatto
14845 <thierry.volpiatto@gmail.com>.
14846 (special-display-popup-frame): When popping up a new frame reset
14847 its previous buffers to nil. Simplify code.
14848
14849 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14850
14851 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14852 and process filter, as done also in `shell-command'.
14853
14854 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14855
14856 * window.el (set-window-buffer-start-and-point):
14857 Call set-window-start with NOFORCE argument t.
14858 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14859 (quit-window): Reword doc-string. Handle new format of
14860 quit-restore parameter. Don't delete window if it has a
14861 previous buffer we can show instead of the present one.
14862 (display-buffer-record-window): Rewrite using a new format for
14863 the quit-restore window parameter
14864 (special-display-popup-frame, display-buffer-same-window)
14865 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14866 (display-buffer-pop-up-window, display-buffer-use-some-window):
14867 Adapt symbol passed to display-buffer-record-window.
14868 * help.el (help-window-setup): Handle new format of quit-restore
14869 parameter.
14870
14871 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * faces.el (face-list): Fix docstring (bug#9564).
14874
14875 * window.el (display-buffer--action-function-custom-type):
14876 Don't include internal functions in the Custom interface.
14877
14878 2011-09-20 Juri Linkov <juri@jurta.org>
14879
14880 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14881 (Info-forward-node, Info-backward-node, Info-next-preorder)
14882 (Info-last-preorder): Use it. (Bug#9528)
14883
14884 2011-09-20 Juri Linkov <juri@jurta.org>
14885
14886 * info.el (Info-last-preorder): Visit last menu item only when
14887 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14888
14889 2011-09-20 Julien Danjou <julien@danjou.info>
14890
14891 * password-cache.el (password-cache-remove): Remove entries even if the
14892 value is nil, so that password with a nil value (negative caching) is
14893 possible to invalidate.
14894
14895 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14896
14897 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14898 all whitespace around breakpoint. (Bug#9553)
14899 (f90-find-breakpoint): Only break at whitespace inside a comment.
14900
14901 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 * minibuffer.el (completion-file-name-table): Keep track of errors.
14904 (completion-table-with-predicate): Handle the case where pred1 is nil.
14905 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14906
14907 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14910 (debugger-return-value): Signal an error if the debugging context does
14911 not await any return value.
14912
14913 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14914 * image-mode.el (image-toggle-display-text)
14915 (image-toggle-display-image): Stay away from evil `intangible'.
14916
14917 2011-09-19 Leo Liu <sdl.web@gmail.com>
14918
14919 * replace.el (occur-revert-arguments): Make it permanent-local.
14920 (occur-mode): Don't call font-lock-defontify.
14921
14922 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14923
14924 * net/ldap.el (ldap-search-internal): Don't push empty search
14925 result (Bug#9508).
14926
14927 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14928
14929 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14930
14931 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14932
14933 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14934 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14935
14936 2011-09-18 Juri Linkov <juri@jurta.org>
14937
14938 * buff-menu.el (Buffer-menu-mode-map):
14939 * dired.el (dired-mode-map):
14940 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14941 (lisp-interaction-mode-map):
14942 * emacs-lisp/package.el (package-menu-mode-map):
14943 * epa.el (epa-key-list-mode-map):
14944 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14945 (menu-bar-options-menu):
14946 * outline.el (outline-mode-menu-bar-map):
14947 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14948 * vc/vc-dir.el (vc-dir-menu-map):
14949 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14950 Capitalize non-function content words in menu item strings.
14951
14952 * dired.el (dired-mode-map): Add menu item for
14953 `image-dired-dired-toggle-marked-thumbs'.
14954
14955 2011-09-18 Juri Linkov <juri@jurta.org>
14956
14957 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14958 to `isearch-case-fold-search' and restore its original value
14959 after the `isearch-mode' call.
14960
14961 2011-09-18 Juri Linkov <juri@jurta.org>
14962
14963 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14964 because `zgrep' returns 1 for successful matches (bug#9226).
14965
14966 2011-09-18 Juri Linkov <juri@jurta.org>
14967
14968 * info.el (Info-extract-menu-node-name): Check the second match
14969 for empty string (second test-case of bug#9528).
14970 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14971 intermediate nodes to the history (first test-case of bug#9528).
14972
14973 2011-09-18 Juri Linkov <juri@jurta.org>
14974
14975 * info.el (Info-mode-syntax-table): New variable.
14976 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14977
14978 2011-09-18 Juri Linkov <juri@jurta.org>
14979
14980 * info.el (Info-file-supports-index-cookies):
14981 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14982 outputs one more line for long file names (bug#4142).
14983
14984 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14985
14986 * newcomment.el (comment-normalize-vars): If prompting for
14987 comment-start, set comment-start-skip too (Bug#8424).
14988
14989 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14990
14991 * icomplete.el: Fix previous fix of Bug#5849.
14992 (icomplete-mode): Don't set completion-show-inline-help.
14993 (icomplete-minibuffer-setup): Set completion-show-inline-help
14994 locally during icompletion.
14995
14996 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14997
14998 * woman.el (woman2-process-escapes): Don't delete unrecognized
14999 escapes (Bug#7843).
15000
15001 * files.el (inhibit-first-line-modes-regexps): Add image files.
15002 (hack-local-variables-prop-line): Return nil for malformed
15003 prop-lines (Bug#9044).
15004
15005 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15006
15007 * net/tramp.el (top): Don't require 'shell.
15008 (tramp-methods): Fix docstring.
15009 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15010 Return complete remote file name. Handle "smb" case.
15011 Use `tramp-tmpdir', if defined for the respective method.
15012 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15013
15014 * net/tramp-compat.el (top): Require 'shell.
15015
15016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15017 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15018 `tramp-current-host'.
15019 (tramp-get-remote-tmpdir): Remove.
15020
15021 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15022 `tramp-tmpdir' entries.
15023 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15024 (tramp-smb-handle-file-attributes): Ignore errors.
15025 (tramp-smb-wait-for-output): Check also for process end.
15026
15027 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15028
15029 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15030 when sending QUIT (bug#9312).
15031
15032 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15033
15034 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15035 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15036 occur-mode-display-occurrence.
15037 (occur-edit-mode): Add usage message.
15038 (occur-cease-edit): New command.
15039 (occur-after-change-function): Use text properties to find the
15040 position of the prefix text.
15041 (occur-engine): Set stickiness of prefix text properties.
15042
15043 2011-09-17 Glenn Morris <rgm@gnu.org>
15044
15045 * progmodes/etags.el (complete-tag):
15046 Fix call to completion-in-region. (Bug#9526)
15047
15048 2011-09-17 Juri Linkov <juri@jurta.org>
15049
15050 * textmodes/ispell.el (ispell-word): Add to the error message
15051 the word, ispell program name and current dictionary (bug#9121).
15052 (ispell-tex-arg-end): Capitalize "error" in the error message.
15053
15054 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15055
15056 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15057 check. (Bug#4251)
15058
15059 2011-09-17 Juri Linkov <juri@jurta.org>
15060
15061 * window.el (window-safe-min-height, window-safe-min-width):
15062 Fix typos (followup to bug#9522).
15063
15064 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15065
15066 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15067
15068 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15069
15070 * simple.el (line-move): If goal-column is set, move by logical
15071 lines, not by display lines. (Bug#971)
15072 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15073 to reflect the above change.
15074
15075 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * image.el (imagemagick-register-types): Use regexp-opt.
15078
15079 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15080
15081 * window.el (display-buffer-base-action): Rename from
15082 display-buffer-default-action. Make default value empty.
15083 (display-buffer-overriding-action): Convert to defvar.
15084 (display-buffer-fallback-action): New var.
15085
15086 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15087
15088 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15089 declaration.
15090 (package--add-to-archive-contents): If there is a duplicate entry
15091 with an older version, remove it.
15092 (package-menu-mark-delete, package-menu-mark-install)
15093 (package-menu-mark-unmark): Make unused args optional.
15094 (package-menu-mark-obsolete-for-deletion):
15095 Use package-menu-get-status instead of a regexp search.
15096 (package-menu-get-status): Use tabulated-list-entry.
15097 (package-menu-mark-upgrades): New command.
15098 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15099 (package-menu-execute): Do installation before deletion.
15100 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15101 instead of checking major-mode.
15102 (package-menu--find-upgrades): New function.
15103
15104 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
15106 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15107 passwords in the log buffer.
15108 (smtpmail-process-filter): Update the process marker so that the
15109 "broken by peer" status message is inserted in the right place.
15110
15111 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15114 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15115 bibtex-completion-at-point-function.
15116 (bibtex-completion-at-point-function): Use them.
15117
15118 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15119
15120 * mpc.el (mpc-constraints-tag-lookup): New function.
15121 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15122 also to browser "album|playlist".
15123
15124 2011-09-14 Juri Linkov <juri@jurta.org>
15125
15126 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15127 (isearch-edit-string): Use length of `isearch-string' when
15128 `isearch-fail-pos' returns nil.
15129 (isearch-message): Remove duplicate code and call
15130 `isearch-fail-pos' with arg `t'.
15131
15132 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15133
15134 * replace.el (occur-mode-goto-occurrence): Don't force using other
15135 window (Bug#9499).
15136
15137 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15138
15139 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15140
15141 * window.el (display-buffer-window): Remove.
15142 (display-buffer-record-window): Use help-setup window parameter
15143 instead of variable display-buffer-window.
15144 (display-buffer-function, special-display-buffer-names)
15145 (special-display-function): Mention help-setup parameter instead
15146 of display-buffer-window in doc-string.
15147 * help.el (help-window-setup): New argument help-window.
15148 Use help-window-setup parameter instead of display-buffer-window.
15149 Reword some messages.
15150 (with-help-window): Pass window used for displaying the buffer
15151 to help-window-setup. Don't set display-buffer-window.
15152
15153 2011-09-13 Glenn Morris <rgm@gnu.org>
15154
15155 * emacs-lisp/debug.el (debugger-make-xrefs):
15156 Preserve point. (Bug#9462)
15157
15158 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15159
15160 * window.el (window-deletable-p): Use next-frame.
15161
15162 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15163
15164 * window.el (window-auto-delete): Remove.
15165 (window-deletable-p): Remove argument FORCE. Don't deal with
15166 dedication and previous buffers.
15167 (switch-to-prev-buffer): Don't delete window.
15168 (delete-windows-on): Delete a window's frame if and only if the
15169 window is dedicated.
15170 (replace-buffer-in-windows): Delete buffer's window or frame if
15171 and only if window is dedicated.
15172 (quit-window): Handle quit-restore as before last change.
15173 (bury-buffer): Delete window only if window-deletable-p returns t.
15174
15175 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15176
15177 * window.el (window-deletable-p): Never delete the last frame on a
15178 given terminal.
15179
15180 2011-09-13 Glenn Morris <rgm@gnu.org>
15181
15182 * help.el (describe-key-briefly): Copy previous standard-output change.
15183
15184 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15185
15186 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15187
15188 2011-09-13 Glenn Morris <rgm@gnu.org>
15189
15190 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15191 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15192
15193 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15194
15195 * dired-aux.el (dired-mark-read-string): Don't return default
15196 value on empty input (Bug#9361).
15197 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15198 Omit initial minibuffer contents.
15199 (dired-do-chmod): Signal an error on empty input.
15200 (dired-mark-read-string): Don't return default on empty input.
15201
15202 * files.el (file-modes-symbolic-to-number): Doc fix.
15203
15204 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * international/mule-cmds.el (ucs-completions): Remove.
15207 (read-char-by-name): Use complete-with-action instead; add metadata.
15208
15209 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15210
15211 * window.el (display-buffer--action-function-custom-type)
15212 (display-buffer--action-custom-type): New vars.
15213 (display-buffer-alist, display-buffer-default-action)
15214 (display-buffer-overriding-action): Add defcustom types.
15215
15216 * frame.el (delete-other-frames): Doc fix (Bug#276).
15217
15218 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15219
15220 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15221
15222 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15223
15224 Change modes that used same-window-* vars to use switch-to-buffer.
15225
15226 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15227 Use switch-to-buffer.
15228
15229 * cus-edit.el (customize-group, custom-buffer-create)
15230 (customize-browse, custom-buffer-create-other-window):
15231 Use switch-to-buffer or switch-to-buffer-other-window.
15232
15233 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15234 (Info-prev, Info-up, Info-speedbar-goto-node)
15235 (info-display-manual): Use switch-to-buffer.
15236 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15237
15238 * mail/sendmail.el (mail): Use switch-to-buffer.
15239 (mail-recover): Use switch-to-buffer-other-window.
15240
15241 * cmuscheme.el (run-scheme, switch-to-scheme):
15242 * ielm.el (ielm):
15243 * shell.el (shell):
15244 * net/rlogin.el (rlogin):
15245 * net/telnet.el (telnet, rsh):
15246 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15247
15248 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15249
15250 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15251
15252 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15253
15254 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15255 so don't mention it (bug#9301).
15256 (dired-sort-toggle-or-edit): Clarify string further.
15257
15258 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15259 match `x', `w32' and `ns', like the manual says (bug#9029).
15260
15261 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15262 (process-kill-buffer-query-function): Mention the buffer name in
15263 the query.
15264
15265 * image-mode.el (image-next-line): The line parameter is mandatory
15266 (bug#9258).
15267
15268 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15269 which can be useful (bug#9301).
15270
15271 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15272
15273 * subr.el (match-string): Mention that the current buffer should
15274 be the same as the search was done in (bug#9282).
15275
15276 * facemenu.el: Disable the remove-* commands if the mark isn't
15277 active (bug#9162).
15278
15279 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15280
15281 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15282 of display-buffer.
15283 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15284
15285 * replace.el (occur-mode-goto-occurrence)
15286 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15287 and display-buffer.
15288
15289 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15290 display-buffer.
15291
15292 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15293 special-display and same-window variables.
15294 (mail-other-window): Use switch-to-buffer-other-window.
15295 (mail-other-frame): USe switch-to-buffer-other-frame.
15296
15297 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15298 Use display-buffer-other-frame.
15299 (gdb-display-gdb-buffer): Use pop-to-buffer.
15300
15301 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15302
15303 * progmodes/python.el: Don't set same-window-buffer-names.
15304
15305 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15306
15307 * window.el (display-buffer-alist): Add *Python*.
15308
15309 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15310
15311 * window.el (display-buffer-alist): Add entry for buffers
15312 previously handled same-window-*.
15313 (display-buffer-alist, display-buffer-default-action)
15314 (display-buffer-overriding-action): Mark as risky.
15315 (display-buffer-alist): Document action function changes.
15316 (display-buffer--same-window-action)
15317 (display-buffer--other-frame-action): New variables.
15318 (switch-to-buffer, display-buffer-other-frame): Use them.
15319 (display-buffer): Rename reuse-frame entry to reusable-frames.
15320 (display-buffer-reuse-selected-window): Function deleted.
15321 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15322 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15323 (display-buffer-special): New function.
15324 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15325 display-buffer-reuse-or-pop-window. Split off special-display
15326 part into display-buffer-special.
15327 (display-buffer-use-some-window): Don't perform any special
15328 pop-up-frames handling.
15329 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15330 (display-buffer--maybe-same-window): Rename from
15331 display-buffer-maybe-same-window.
15332
15333 * info.el: Don't set same-window-regexps.
15334 (info-setup): New function.
15335 (info-other-window, info): Call it.
15336
15337 * cus-edit.el: Don't set same-window-regexps.
15338 (customize-group): New argument.
15339 (customize-group-other-window): Use it.
15340 (customize-face, customize-face-other-window): Likewise.
15341 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15342
15343 * net/rlogin.el:
15344 * net/telnet.el:
15345 * progmodes/gud.el: Don't set same-window-regexps.
15346
15347 * cmuscheme.el:
15348 * ielm.el:
15349 * shell.el:
15350 * mail/sendmail.el:
15351 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15352
15353 2011-09-10 Juri Linkov <juri@jurta.org>
15354
15355 * isearch.el (isearch-edit-string): Remove obsolete mention of
15356 `C-w' (`isearch-yank-word-or-char') from docstring.
15357 (isearch-query-replace): Fix typo in docstring (bug#9466).
15358
15359 2011-09-10 Juri Linkov <juri@jurta.org>
15360
15361 * paren.el (show-paren-function): Don't show escaped parens.
15362 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15363
15364 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15365
15366 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15367 (mm-default-file-encoding): Remove autoload forms, they are
15368 replaced with autoload cookies in mml.el and mm-encode.el.
15369 (mail-add-attachment): New command.
15370 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15371 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15372 the doc string.
15373 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15374
15375 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15376
15377 * simple.el (count-words-region): Use buffer if there's no region
15378 (bug#9429).
15379
15380 2011-09-09 Juri Linkov <juri@jurta.org>
15381
15382 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15383 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15384 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15385
15386 2011-09-09 Alan Mackenzie <acm@muc.de>
15387
15388 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15389 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15390
15391 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15392
15393 Fix for Savannah bug#9392.
15394 * simple.el (mail-encode-mml): New defvar.
15395
15396 * mail/rmail.el (mail-encode-mml): Add a defvar.
15397 (rmail-enable-mime-composing): Default to t.
15398 (rmail-forward): Use MIME method of forwarding only if both
15399 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15400 Set mail-encode-mml non-nil if the MIME method was used.
15401
15402 * mail/sendmail.el (mml-to-mime): Add autoload form.
15403 (mail-encode-mml): Add a defvar.
15404 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15405 to nil.
15406 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15407 message through mml-to-mime, and reset mail-encode-mml to nil.
15408
15409 2011-09-09 Glenn Morris <rgm@gnu.org>
15410
15411 * woman.el (woman-if-body): When processing an .el block,
15412 do not delete the next .el block as well. (Bug#9447)
15413 (woman-special-characters): Add oq, cq, and hy characters.
15414
15415 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15416
15417 * window.el (window-deletable-p): Make sure window is live before
15418 invoking window-prev-buffers.
15419
15420 2011-09-08 Leo Liu <sdl.web@gmail.com>
15421
15422 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15423
15424 2011-09-08 Juri Linkov <juri@jurta.org>
15425
15426 * progmodes/compile.el (compilation-environment): Make it
15427 a defcustom (bug#8340).
15428
15429 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15430
15431 * window.el (frame-auto-delete): Rename to window-auto-delete.
15432 Make it control auto-deletion of windows and/or frames.
15433 (window-deletable-p): New argument FORCE. Rewrite conditions
15434 for deleting window/frame. (Bug#9419)
15435 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15436 Rewrite handling of case when window/frame can be deleted.
15437 (delete-windows-on): Call window-deletable-p with new FORCE
15438 argument t. (Bug#9456)
15439
15440 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * help-mode.el (help-mode): Restore autoload.
15443
15444 2011-09-07 Juri Linkov <juri@jurta.org>
15445
15446 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15447 `compilation-environment'. Set buffer-local
15448 `compilation-environment' to `thisenv' later after (funcall mode).
15449 (Bug#8340)
15450
15451 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15452 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15453 instead of replacing its value. (Bug#8340)
15454
15455 2011-09-07 Juri Linkov <juri@jurta.org>
15456
15457 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15458 based on text properties put by `grep-filter' instead of matching
15459 escape sequences.
15460 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15461 to the value of `grep-error-screen-columns' (bug#9438).
15462
15463 2011-09-07 Juri Linkov <juri@jurta.org>
15464
15465 * simple.el (next-error-highlight, next-error-highlight-no-select):
15466 Doc fix (bug#9432).
15467
15468 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15469
15470 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15471 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15472
15473 2011-09-07 Leo Liu <sdl.web@gmail.com>
15474
15475 * net/rcirc.el (rcirc-mode): Conditionally initialize
15476 rcirc-input-ring.
15477
15478 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * emacs-lisp/find-func.el (find-function-C-source): Only set
15481 find-function-C-source-directory after checking that we found a source
15482 file there (bug#9440).
15483
15484 2011-09-06 Alan Mackenzie <acm@muc.de>
15485
15486 * isearch.el (isearch-other-meta-char): Wherever a key list is
15487 unread, "unread" the prefix arg, too. This fixes bug #8901.
15488
15489 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15490
15491 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15492
15493 2011-09-05 Juri Linkov <juri@jurta.org>
15494
15495 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15496
15497 2011-09-05 Juri Linkov <juri@jurta.org>
15498
15499 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15500 keeping point where processing of grep matches begins, and
15501 continue to delete remaining escape sequences from the same point.
15502 (grep-filter): Make leading zero optional in "0?1;31m" because
15503 git-grep emits "\033[1;31m" escape sequences unlike expected
15504 "\033[01;31m" as GNU Grep does (bug#9408).
15505 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15506
15507 2011-09-05 Juri Linkov <juri@jurta.org>
15508
15509 * subr.el (y-or-n-p): Capitalize "yes".
15510
15511 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15512
15513 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15514 `tramp-cache-unload-hook' where appropriate.
15515 (tramp-methods): Rename `tramp-remote-sh' to
15516 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15517 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15518
15519 * net/tramp-sh.el (top): Don't require 'shell.
15520 (tramp-methods): Add `tramp-remote-shell' and
15521 `tramp-remote-shell-args' entries.
15522 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15523 (tramp-sh-handle-shell-command): Remove.
15524 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15525 Use `tramp-remote-shell'.
15526
15527 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15528
15529 * mail/sendmail.el (sendmail-query-once-function): Delete.
15530 (sendmail-query-once): Save directly to send-mail-function.
15531 Update message-send-mail-function too.
15532
15533 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15534
15535 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15536
15537 * progmodes/python.el (python-mode-map): Use correct function to
15538 start python interpreter from menu-bar (as reported by Geert
15539 Kloosterman).
15540 (inferior-python-mode-map): Fix typo.
15541 (python-shell-map): Remove.
15542
15543 2011-09-03 Deniz Dogan <deniz@dogan.se>
15544
15545 * net/rcirc.el (rcirc-print): Simplify code for
15546 rcirc-scroll-show-maximum-output. There is no need to walk
15547 through all windows to find the right one.
15548
15549 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15550
15551 * help.el (help-return-method): Doc fix.
15552
15553 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15554
15555 * window.el (window-deletable-p): Don't return a non-nil value
15556 when there's a buffer that was shown in the window before.
15557 (Bug#9419)
15558 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15559 Set window's previous buffers to nil.
15560
15561 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15562
15563 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15564 newline before and after the tag line, so it doesn't interfere
15565 with determining the paragraph direction of bidirectional text.
15566
15567 2011-09-03 Leo Liu <sdl.web@gmail.com>
15568
15569 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15570
15571 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15572
15573 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15574 (pop-to-buffer): Change interactive spec. Pass second argument
15575 directly to display-buffer.
15576 (display-buffer): Fix interactive spec. Use functionp to
15577 distinguish between a function and a list of functions.
15578
15579 * abbrev.el (edit-abbrevs):
15580 * arc-mode.el (archive-extract):
15581 * autoinsert.el (auto-insert):
15582 * bookmark.el (bookmark-bmenu-list):
15583 * files.el (find-file):
15584 * view.el (view-buffer):
15585 * progmodes/compile.el (compilation-goto-locus):
15586 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15587
15588 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15589
15590 * window.el (display-buffer-alist): Doc fix.
15591 (display-buffer): Add docstring. Don't treat
15592 display-buffer-default specially.
15593 (display-buffer-reuse-selected-window)
15594 (display-buffer-same-window, display-buffer-maybe-same-window)
15595 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15596 (display-buffer-pop-up-window)
15597 (display-buffer-reuse-or-pop-window)
15598 (display-buffer-use-some-window): New functions.
15599 (display-buffer-default-action): Use them.
15600 (display-buffer-default): Delete.
15601 (pop-to-buffer-1): Fix choice of actions.
15602
15603 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * minibuffer.el (completion--insert-strings): Don't get confused by
15606 completion entries that end with an LF char.
15607
15608 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15609
15610 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15611
15612 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15613
15614 * window.el (display-buffer): Restore interactive spec.
15615 (display-buffer-same-window, display-buffer-other-window):
15616 New functions.
15617 (pop-to-buffer-1): New function. Use the above.
15618 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15619 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15620
15621 * view.el (view-buffer-other-window, view-buffer-other-frame):
15622 Just use pop-to-buffer.
15623
15624 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15625
15626 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15627
15628 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15629
15630 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15631
15632 2011-08-31 Richard Stallman <rms@gnu.org>
15633
15634 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15635 of the separation of rmail-view-buffer from rmail-buffer.
15636 If you say no to "replace original", the decrypt is in the
15637 view buffer. If you say yes, the decrypt goes into the
15638 rmail buffer also.
15639
15640 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15641
15642 * window.el (display-buffer-window): Rewrite doc-string.
15643 (display-buffer-record-window): New function.
15644 (display-buffer-macro-specifiers)
15645 (display-buffer-even-window-sizes, display-buffer-set-height)
15646 (display-buffer-set-width, display-buffer-in-window)
15647 (display-buffer-reuse-window, display-buffer-split-specifiers)
15648 (display-buffer-side-specifiers, display-buffer-split-window-1)
15649 (display-buffer-split-window, display-buffer-split-atom-window)
15650 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15651 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15652 (display-buffer-other-window-means-other-frame)
15653 (display-buffer-normalize-special)
15654 (display-buffer-normalize-default)
15655 (display-buffer-normalize-argument)
15656 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15657 (display-buffer-normalize-specifiers, display-buffer-frame)
15658 (display-buffer-same-window, display-buffer-same-frame)
15659 (display-buffer-other-window)
15660 (display-buffer-same-frame-other-window)
15661 (display-buffer-other-frame, pop-to-buffer-same-window)
15662 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15663 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15664 (switch-to-buffer-same-frame)
15665 (switch-to-buffer-other-window-same-frame)
15666 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15667 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15668 (display-buffer-alist-set): Remove.
15669 (display-buffer-function, special-display-buffer-names)
15670 (special-display-regexps, special-display-function):
15671 In doc-string refer to display-buffer-window and quit-restore
15672 parameter.
15673 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15674 (special-display-frame-alist, special-display-popup-frame)
15675 (same-window-buffer-names, same-window-regexps, same-window-p)
15676 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15677 (split-window-preferred-function, split-height-threshold)
15678 (split-width-threshold, window-splittable-p)
15679 (split-window-sensibly, window--try-to-split-window)
15680 (window--frame-usable-p, even-window-heights)
15681 (window--even-window-heights, window--display-buffer-1)
15682 (window--display-buffer-2, display-buffer-other-frame):
15683 Restore old Emacs 23 code, order and doc-strings where applicable.
15684 (display-buffer-default, display-buffer-assq-regexp): New functions.
15685 (display-buffer-alist): Rewrite doc-string.
15686 (display-buffer-default-action)
15687 (display-buffer-overriding-action): New variables.
15688 (display-buffer, switch-to-buffer): Rewrite.
15689 (pop-to-buffer): Restore Emacs 23 behavior but use
15690 window-normalize-buffer-to-display.
15691 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15692 Restore Emacs 23 behavior but use
15693 window-normalize-buffer-to-switch-to.
15694 (pop-to-buffer-same-window): Rewrite.
15695 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15696 Rewrite using Emacs 23 options.
15697
15698 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15699
15700 * net/tramp.el (tramp-root-regexp): Remove.
15701 (tramp-completion-file-name-regexp-unified)
15702 (tramp-completion-file-name-regexp-separate)
15703 (tramp-completion-file-name-regexp-url): Don't use leading volume
15704 letter on w32 systems. (Bug#5303, Bug#9311)
15705 (tramp-drop-volume-letter): Simplify definition.
15706 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15707
15708 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15711 (bug#9356).
15712
15713 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15714
15715 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15716
15717 2011-08-29 Juri Linkov <juri@jurta.org>
15718
15719 * isearch.el (isearch-done): Don't display message "Mark saved"
15720 when arg `edit' is non-nil to prevent its flicker in the echo area.
15721
15722 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15723
15724 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15725 obsolete packages for deletion.
15726
15727 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15728
15729 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15730 (help-mode): Derive help-mode from special-mode. Don't invoke
15731 view-mode from help-mode.
15732 (help-xref-override-view-map): Remove.
15733 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15734 view-mode is not used anymore.
15735
15736 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15737
15738 * server.el (server-port): Doc fix.
15739
15740 * cus-theme.el (custom-theme-choose-mode): Inherit from
15741 special-mode (Bug#9124).
15742 (custom-theme-choose-mode-map): Add special-mode to parent.
15743
15744 2011-08-28 Alan Mackenzie <acm@muc.de>
15745
15746 * progmodes/cc-fonts.el
15747 (c-make-font-lock-BO-decl-search-function): New function.
15748 (c-basic-matchers-after - "Fontify the clauses after various
15749 keywords"): Extract the three keyword lists for the 3 erroneous
15750 constructs from the list of four, and use the new function above
15751 in place of an old one.
15752
15753 2011-08-28 Deniz Dogan <deniz@dogan.se>
15754
15755 * net/rcirc.el (rcirc-insert-prev-input)
15756 (rcirc-insert-next-input): Remove unused argument.
15757
15758 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15761
15762 2011-08-27 Alan Mackenzie <acm@muc.de>
15763
15764 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15765 handle function pointer parameters properly.
15766
15767 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15768
15769 * window.el (display-buffer-reuse-window): Fix case where
15770 selected window was reused with non-nil OTHER-WINDOW argument.
15771 (Bug#9381)
15772
15773 2011-08-27 Deniz Dogan <deniz@dogan.se>
15774
15775 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15776 oftc's NickServ messages.
15777
15778 2011-08-27 Glenn Morris <rgm@gnu.org>
15779
15780 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15781
15782 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15783
15784 * emacs-lisp/package.el (package-install): Call package-initialize
15785 if called interactively.
15786
15787 2011-08-26 Leo Liu <sdl.web@gmail.com>
15788
15789 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15790
15791 2011-08-25 Juri Linkov <juri@jurta.org>
15792
15793 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15794 `search-whitespace-regexp' (bug#9364).
15795
15796 2011-08-25 Juri Linkov <juri@jurta.org>
15797
15798 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15799 `regexp-search-ring' to their global values to protect from
15800 updating by `read-from-minibuffer' (bug#9185).
15801
15802 2011-08-25 Juri Linkov <juri@jurta.org>
15803
15804 * textmodes/ispell.el (ispell-command-loop): Add newline
15805 at the end of the "Use option `i'..." line.
15806
15807 2011-08-25 Juri Linkov <juri@jurta.org>
15808
15809 * battery.el (display-battery-mode): If `battery-status-function'
15810 or `battery-mode-line-format' is nil, display the message and set
15811 `display-battery-mode' to nil (bug#9363).
15812
15813 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15814
15815 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15816 bidi-string-mark-left-to-right; they are unnecessary now.
15817
15818 2011-08-25 Deniz Dogan <deniz@dogan.se>
15819
15820 * net/quickurl.el: Documentation typo fixes.
15821
15822 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15823
15824 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15825
15826 2011-08-25 Glenn Morris <rgm@gnu.org>
15827
15828 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15829
15830 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15831 (smtpmail-via-smtp): Handle nil response from smtp.
15832
15833 2011-08-24 Juri Linkov <juri@jurta.org>
15834
15835 * proced.el (proced-marked): Inherit from `error' instead of
15836 `font-lock-warning-face'.
15837
15838 * ibuffer.el (ibuffer-marked-face): Change default face from
15839 `font-lock-warning-face' to `warning'.
15840 (ibuffer-deletion-face): Change default face from
15841 `font-lock-type-face' to `error'.
15842
15843 * battery.el (battery-update): Use the face `error' instead of
15844 `font-lock-warning-face' (bug#6117).
15845
15846 2011-08-24 Juri Linkov <juri@jurta.org>
15847
15848 * faces.el (success): Change face color from "Green3" to
15849 "ForestGreen" on light background (bug#9353).
15850
15851 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * window.el (quit-window): Rename from quit-restore-window.
15854 Use same arglist as old quit-window.
15855 (frame-auto-delete): Doc fix.
15856
15857 * view.el (view-mode-exit): Use quit-window.
15858
15859 2011-08-24 Juri Linkov <juri@jurta.org>
15860
15861 * isearch.el (isearch-ring-adjust1): Start visiting previous
15862 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15863 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15864 for empty search string (when the last search string is reused
15865 automatically) to adjust the isearch ring to the last element and
15866 prepare the correct index for further M-p commands (bug#9185).
15867
15868 2011-08-24 Kenichi Handa <handa@m17n.org>
15869
15870 * international/ucs-normalize.el: If decomposition property of
15871 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15872 nil.
15873 (nfd, nfkd): Likewise.
15874
15875 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15878 from process filters aren't reliably transmitted to the surrounding
15879 accept-process-output.
15880 (mpc-proc-check): New function.
15881 (mpc-proc-sync): Use it (bug#8293)
15882
15883 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15884
15885 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15886 Add compatibility functions (bug#9313).
15887
15888 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15889
15890 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15891
15892 * international/uni-bidi.el: Regenerate.
15893
15894 2011-08-23 Kenichi Handa <handa@m17n.org>
15895
15896 * international/charprop.el:
15897 * international/uni-bidi.el:
15898 * international/uni-category.el:
15899 * international/uni-combining.el:
15900 * international/uni-comment.el:
15901 * international/uni-decimal.el:
15902 * international/uni-decomposition.el:
15903 * international/uni-digit.el:
15904 * international/uni-lowercase.el:
15905 * international/uni-mirrored.el:
15906 * international/uni-name.el:
15907 * international/uni-numeric.el:
15908 * international/uni-old-name.el:
15909 * international/uni-titlecase.el:
15910 * international/uni-uppercase.el: Regenerate.
15911
15912 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15913
15914 * help.el (help-window-setup): Fix message displayed when other
15915 window is reused. (Bug#9341)
15916
15917 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15920 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15921
15922 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15923 Mark obsolete.
15924 * shell.el (shell-parse-pcomplete-arguments): New function.
15925 (shell-completion-vars): Use it instead (bug#9160).
15926
15927 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15930 strings and comments (bug#9333).
15931
15932 * emacs-lisp/debug.el (debug-arglist): New function.
15933 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15934 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15935
15936 2011-08-22 Juri Linkov <juri@jurta.org>
15937
15938 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15939 Revert regexp that highlights output switches to its old
15940 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15941
15942 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15943 to check for empty output (bug#9226).
15944
15945 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15946
15947 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15948 symbol-constituent as the default, as that stops font-lock from
15949 working properly (Bug#8843).
15950
15951 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15952
15953 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15954 `coding-system-for-*' around the process open call to avoid
15955 auth-source side effects.
15956 (smtpmail-try-auth-methods): Expand the secret password.
15957 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15958 probe hangs.
15959
15960 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15961
15962 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15963
15964 * emacs-lisp/find-func.el (find-function-noselect): New arg
15965 lisp-only.
15966
15967 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15968 signal an error for built-in functions (Bug#6664).
15969
15970 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
15972 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15973 (smtpmail-try-auth-methods): Use it.
15974
15975 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15976
15977 * font-lock.el (font-lock-fontify-region)
15978 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15979 (font-lock-default-unfontify-buffer)
15980 (font-lock-default-fontify-region)
15981 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15982
15983 * progmodes/compile.el (compilation-error-properties):
15984 Fix confusion between file struct and message struct (Bug#9319).
15985 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15986 `ant' regexp.
15987
15988 * net/browse-url.el (browse-url-firefox): Don't call
15989 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15990
15991 2011-08-20 Glenn Morris <rgm@gnu.org>
15992
15993 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15994
15995 * tutorial.el (tutorial--default-keys): Update some default bindings.
15996
15997 * files.el (hack-local-variables): Fully ignore case for "mode:".
15998
15999 2011-08-20 Alan Mackenzie <acm@muc.de>
16000
16001 Resolve invalid use of a regexp in regexp-opt.
16002
16003 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16004 detection for a java annotation.
16005
16006 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16007 detection for a java annotation.
16008
16009 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16010 handling for java.
16011 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16012
16013 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16014
16015 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16016 (Bug#9274).
16017
16018 2011-08-20 Alan Mackenzie <acm@muc.de>
16019
16020 Fontify CPP expressions correctly when starting in the middle of
16021 such a construct. Mainly for when jit-lock etc. starts a chunk
16022 here.
16023
16024 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16025 variable.
16026 (c-make-font-lock-search-form): New function, extracted from
16027 c-make-font-lock-search-function.
16028 (c-make-font-lock-search-function): Use the above function.
16029 (c-make-font-lock-context-search-function): New function.
16030 (c-cpp-matchers): Enhance the preprocessor expression case with
16031 the above function
16032 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16033 which takes an expression.
16034
16035 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16036
16037 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16038
16039 * window.el (display-buffer-reuse-window)
16040 (display-buffer-pop-up-window): Don't reuse or split a side
16041 window.
16042
16043 2011-08-19 Glenn Morris <rgm@gnu.org>
16044
16045 * files.el (hack-local-variables-prop-line, hack-local-variables):
16046 Downcase "Mode:". (Bug#9331)
16047
16048 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * international/characters.el: Add L and R categories.
16051
16052 * subr.el (bidi-string-mark-left-to-right): Rename from
16053 string-mark-left-to-right. Use category search.
16054
16055 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16056
16057 2011-08-18 Juri Linkov <juri@jurta.org>
16058
16059 * faces.el (error, warning, success): New faces with definitions
16060 copied from old default values of `font-lock-warning-face',
16061 `compilation-warning', `compilation-info' (bug#6117).
16062
16063 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16064
16065 * progmodes/compile.el (compilation-error): Inherit from `error'.
16066 (compilation-warning): Inherit from `warning'.
16067 (compilation-info): Inherit from `success'.
16068
16069 * dired.el (dired-marked): Inherit from `warning'.
16070 (dired-flagged): Inherit from `error'.
16071
16072 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16073
16074 * mail/smtpmail.el (auth-source): Require to avoid problems with
16075 binding variables (bug#9298). Also clean up some unused
16076 autoloads.
16077
16078 * net/network-stream.el (network-stream-open-starttls):
16079 Support using starttls.el without using gnutls-cli.
16080
16081 2011-08-17 Juri Linkov <juri@jurta.org>
16082
16083 * progmodes/grep.el (rgrep): Handle the case when
16084 `grep-find-command' is a cons cell (bug#9278).
16085
16086 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16087
16088 * window.el (display-buffer-pop-up-frame): Run frame creation
16089 function with BUFFER current (as special-display-popup-frame
16090 does). Reported by Drew Adams.
16091
16092 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16093
16094 * epa-mail.el: Simplify GnuPG group expansion using
16095 epg-expand-group.
16096 (epa-mail-group-alist, epa-mail-group-modtime)
16097 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16098 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16099 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16100 Remove.
16101
16102 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16103
16104 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16105
16106 2011-08-16 Alan Mackenzie <acm@muc.de>
16107
16108 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16109 Correct, to avoid the inside of macros.
16110
16111 2011-08-16 Richard Stallman <rms@gnu.org>
16112
16113 * epa-mail.el: Handle GnuPG group definitions.
16114 (epa-mail-group-alist, epa-mail-group-modtime)
16115 (epa-mail-gnupg-conf-file): New variables.
16116 (epa-mail-parse-groups, epa-mail-sync-groups)
16117 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16118 (epa-mail-expand-recipients): New functions.
16119 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16120
16121 * mail/rmail.el (rmail-epa-decrypt): New command.
16122
16123 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16124 Don't bind buffer-read-only, just inhibit-read-only.
16125 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16126 (epa-decrypt-armor-in-region): Make error message clearer.
16127
16128 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16129
16130 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16131 and "a2b" to "ab" for `prefix'.
16132
16133 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16134
16135 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16136 filter groups.
16137 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16138 Fourquet (Bug#8804).
16139
16140 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16141
16142 * startup.el (argi): Declare as global variable (bug#9275).
16143
16144 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16145
16146 * subr.el (string-mark-left-to-right): Search the entire string
16147 for RTL script, not just the terminating character. Doc fix.
16148
16149 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16152 New function.
16153 (js--regexp-literal, js-syntax-propertize-function): Remove.
16154 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16155 (js-mode-map): Don't rebind electric keys.
16156 (js-insert-and-indent): Remove.
16157 (js-mode): Setup electric-layout and electric-indent instead.
16158
16159 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16160
16161 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16162
16163 * epa.el (epa-progress-callback-function): Fix the logic of
16164 displaying progress.
16165 * epa-file.el (epa-file-insert-file-contents): Make progress
16166 display more user-friendly.
16167 (epa-file-write-region): Ditto.
16168
16169 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16170
16171 * subr.el (string-mark-left-to-right): New function.
16172
16173 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16174 Use string-mark-left-to-right.
16175 (list-buffers-noselect): Caller changed.
16176
16177 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16178 Use string-mark-left-to-right.
16179 (tabulated-list-print): Recenter after moving point.
16180
16181 2011-08-10 Juri Linkov <juri@jurta.org>
16182
16183 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16184 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16185 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16186
16187 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16188
16189 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16190 (Bug#7554).
16191
16192 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16193
16194 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16195 character. (Bug#6594)
16196
16197 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16198
16199 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16200 (image-dired--with-db-file): New macro.
16201 (image-dired-write-tags, image-dired-remove-tag)
16202 (image-dired-create-gallery-lists, image-dired-write-comments)
16203 (image-dired-get-comment, image-dired-mark-tagged-files)
16204 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16205 (image-dired-gallery-generate): Use insert-file-contents.
16206
16207 * time.el (display-time-world-list, display-time-world-display):
16208 * time-stamp.el (time-stamp-string):
16209 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16210 set-time-zone-rule (Bug#7337).
16211
16212 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16213
16214 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16215 (epg-error-to-string, epg-errors-to-string): New function.
16216 (epg-wait-for-completion): Reverse errors list.
16217 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16218 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16219 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16220 (epg-sign-keys, epg-generate-key-from-file)
16221 (epg-generate-key-from-string): Format errors by using
16222 epg-errors-to-string (bug#9255).
16223 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16224
16225 2011-08-07 Juri Linkov <juri@jurta.org>
16226
16227 * faces.el (list-faces-display): Remove extra angle bracket
16228 from `help-mode-map'.
16229
16230 * info.el (Info-history-toc-nodes): Doc fix.
16231
16232 * longlines.el (longlines-mode): Doc fix.
16233
16234 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16237 of statements and in a few more cases (bug#9183).
16238
16239 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16240 New functions.
16241 (cl-transform-lambda): Use them (bug#9239).
16242
16243 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16244
16245 * window.el (display-buffer-same-window)
16246 (display-buffer-same-frame, display-buffer-other-window)
16247 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16248 (pop-to-buffer-other-window)
16249 (pop-to-buffer-same-frame-other-window)
16250 (pop-to-buffer-other-frame): Make them defuns.
16251 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16252
16253 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16254
16255 * subr.el (make-composed-keymap): Move from C. Change calling
16256 convention, and improve docstring to bring attention to a subtle point.
16257 * minibuffer.el (completing-read-default): Adjust accordingly.
16258
16259 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16260
16261 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16262 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16263
16264 * net/trampver.el: Update release number.
16265
16266 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16267
16268 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16269 "in" (bug#9190).
16270
16271 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
16273 * mail/sendmail.el (sendmail-query-once): Restore the current
16274 buffer after querying (bug#9074).
16275
16276 * dired.el (dired-flagged): Use different faces for marked and
16277 flagged files (bug#6117).
16278
16279 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16280 (bug#4433).
16281
16282 * ido.el (ido-mode): Switch off the message if called
16283 non-interactively.
16284
16285 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16286 before 587, since it appears that that's more likely to work for
16287 more people.
16288
16289 * cus-edit.el (custom-file): When running under emacs -q, always
16290 refuse to save the customizations, even if the .emacs file doesn't
16291 exist.
16292
16293 * info.el: Remove the `Info-beginning-of-buffer' function
16294 (bug#8325).
16295
16296 * net/network-stream.el (network-stream-open-starttls):
16297 Use `starttls-available-p' to see whether starttls.el can be used.
16298
16299 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16300
16301 * window.el (display-buffer-in-window): Don't set dedicated status
16302 of window here (Bug#9215).
16303 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16304 (display-buffer-pop-up-side-window)
16305 (display-buffer-in-side-window): Set dedicated status of window here.
16306
16307 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16308
16309 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16310 before binding generated-autoload-file.
16311
16312 2011-08-01 Deniz Dogan <deniz@dogan.se>
16313
16314 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16315
16316 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16317
16318 Sync with Tramp 2.2.2.
16319
16320 * net/trampver.el: Update release number.
16321
16322 2011-07-30 Juri Linkov <juri@jurta.org>
16323
16324 * dired-aux.el (dired-touch-initial): Remove function.
16325 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16326 current time, and `default' to the last modification time of the
16327 current marked file (bug#6887).
16328
16329 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16330
16331 * simple.el (goto-line): Use string-to-number to provide a
16332 numeric argument to read-number (bug#9163).
16333
16334 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16335
16336 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16337 connection process, it could be nil.
16338
16339 2011-07-27 Leo Liu <sdl.web@gmail.com>
16340
16341 Simplify url handling in rcirc-mode.
16342
16343 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16344 (rcirc-browse-url-at-mouse): Remove.
16345 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16346
16347 2011-07-26 Alan Mackenzie <acm@muc.de>
16348
16349 Fontify bitfield declarations properly.
16350
16351 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16352 (c-symbol-chars): Now exported as a lang variable.
16353 (c-not-primitive-type-keywords): New lang variable.
16354
16355 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16356 QT keyword "more" to prevent "more slots: ...." being spuriously
16357 parsed as a bitfield declaration.
16358
16359 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16360 Refactor and enhance to handle bitfield declarations.
16361 (c-punctuation-in): New function.
16362 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16363 declarations properly.
16364
16365 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16366
16367 * calendar/icalendar.el (icalendar--all-events): Take care of
16368 multiple vcalendars in a single file.
16369 (icalendar--convert-float-to-ical): Checkdoc fixes.
16370
16371 2011-07-25 Deniz Dogan <deniz@dogan.se>
16372
16373 * image.el (insert-image): Clarifying docstring.
16374
16375 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16376
16377 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16378 `tramp-send-command-and-check' if there is no error.
16379 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16380
16381 2011-07-22 Alan Mackenzie <acm@muc.de>
16382
16383 Prevent cc-langs.elc being loaded at run time.
16384
16385 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16386 cc-langs.
16387
16388 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16389 "(require 'cc-langs)". Quote a form so it will evaluate at
16390 (cc-mode's) compilation time.
16391
16392 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16393
16394 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16395 loading. (Bug#9114)
16396
16397 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16398
16399 * window.el (display-buffer-pop-up-window)
16400 (display-buffer-pop-up-side-window)
16401 (display-buffer-in-side-window): Call display-buffer-set-height
16402 and display-buffer-set-width after setting the new window's
16403 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16404
16405 2011-07-20 Sam Steingold <sds@gnu.org>
16406
16407 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16408 (etags-tags-included-tables): Call `convert-standard-filename' on
16409 the file names contained in TAGS so that windows Emacs can handle
16410 TAGS files created by cygwin ctags.
16411
16412 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16413
16414 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16415 which apparently didn't work.
16416
16417 2011-07-19 Roland Winkler <winkler@gnu.org>
16418
16419 * proced.el (proced-send-signal): For *Marked Processes* buffer
16420 put point at beginning of buffer.
16421
16422 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16423
16424 * proced.el (proced-format): Make header lines align with the text
16425 (bug#1779).
16426
16427 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16428
16429 * view.el (view-buffer): Allow running in `special' modes if we're
16430 visiting a file (bug#8615).
16431
16432 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16433
16434 * window.el (display-buffer-alist-of-strings-p)
16435 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16436 New functions.
16437 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16438 more accurately.
16439
16440 2011-07-18 Alan Mackenzie <acm@muc.de>
16441
16442 Fontify declarators properly when, e.g., a jit-lock chunk begins
16443 inside a declaration.
16444
16445 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16446
16447 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16448 New function.
16449 (c-complex-decl-matchers): Insert reference to
16450 c-font-lock-enclosing-decls.
16451
16452 * progmodes/cc-engine.el (c-backward-single-comment):
16453 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16454 to nil around calls to (forward-comment -1).
16455
16456 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457
16458 * image.el (put-image): Doc typo fix.
16459
16460 * progmodes/etags.el (tags-search): Doc typo fix.
16461
16462 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16463 password if we get errors 550 to 554.
16464
16465 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16466
16467 * net/gnutls.el (gnutls-log-level): Remove.
16468
16469 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16470 indentation character (bug#6380).
16471
16472 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16473
16474 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16475 to clarify what the problem is (bug#4291).
16476
16477 * simple.el (current-kill): Clarify what
16478 `interprogram-paste-function' does (bug#7500).
16479 (auto-fill-mode): Document `auto-fill-function' in relation to
16480 `auto-fill-mode' (bug#2470).
16481
16482 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16483
16484 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16485 method if slot is read-only (bug#9035).
16486
16487 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16488
16489 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16490 * window.el (pop-to-buffer): Select window used even if it was
16491 selected before, see discussion of (Bug#8615), (Bug#6954).
16492 Pass argument NORECORD on to select-frame-set-input-focus.
16493
16494 2011-07-15 Glenn Morris <rgm@gnu.org>
16495
16496 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16497 Respect help-form.
16498
16499 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16500
16501 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16502 (gnutls-negotiate): Use it.
16503
16504 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16505
16506 * net/gnutls.el (gnutls-negotiate):
16507 Upcase `gnutls-algorithm-priority'.
16508
16509 2011-07-15 Glenn Morris <rgm@gnu.org>
16510
16511 * jka-compr.el (jka-compr-verbose): Move from here...
16512 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16513 Add missing :version tag.
16514 * info.el: No need to require jka-compr when compiling.
16515
16516 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517
16518 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16519 (gnutls-negotiate): Use it.
16520
16521 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16522
16523 * info.el (Info-beginning-of-buffer): New command.
16524 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16525 announcing `b' as the key (bug#8325).
16526 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16527
16528 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16529
16530 * international/mule-cmds.el
16531 (describe-specified-language-support): Make the error message
16532 clearer (bug#8905).
16533
16534 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16535
16536 * isearch.el (isearch-barrier): Add a doc string, since it's
16537 mentioned in a function doc string (bug#8678).
16538
16539 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16540
16541 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16542 buffer argument (Bug#9083) and self-identifying label argument.
16543
16544 2011-07-15 Glenn Morris <rgm@gnu.org>
16545
16546 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16547
16548 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16549
16550 * man.el (Man-fontify-manpage): Fix message when formatting the
16551 man page (bug#7929).
16552
16553 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16554
16555 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16556 argument LRM; if non-nil, append an invisible LRM character to the
16557 buffer name.
16558 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16559 last argument non-nil, when formatting buffer names.
16560 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16561 paragraph direction.
16562
16563 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16564
16565 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16566 the man page name (bug#7929).
16567
16568 * image.el (put-image): Mention the `put-image' overlay property
16569 (bug#7834).
16570
16571 * scroll-bar.el (set-scroll-bar-mode): Mention that
16572 `scroll-bar-mode' lists the values (bug#7772).
16573
16574 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16575 command (bug#7729).
16576
16577 * rect.el (apply-on-rectangle): Return the point after the last
16578 operation.
16579 (string-rectangle): Go to the point after the last operation
16580 (bug#7522).
16581
16582 * printing.el (pr-toggle-region): Clarify the documentation
16583 slightly (bug#7493).
16584
16585 * time.el (display-time-update):
16586 Allow `display-time-mail-function' to return nil (bug#7158).
16587 Fix suggested by Detlev Zundel.
16588
16589 * vc/diff.el (diff): Clarify the order the file names are read
16590 (bug#7111).
16591
16592 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16593 the doc string (bug#7015).
16594
16595 * font-lock.el (font-lock-maximum-decoration): Mention what
16596 numeric levels mean (bug#6935).
16597
16598 * startup.el (initial-buffer-choice): Don't mention the `none'
16599 selection, which is against policy.
16600
16601 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16602
16603 * window.el (display-buffer-normalize-special):
16604 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16605
16606 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16607
16608 * subr.el (version<, version<=, version=): Mention "-CVS" and
16609 "-12345" alpha version numbers.
16610
16611 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16612
16613 * bindings.el: Add advertised binding for set-mark-command
16614 (Bug#5772).
16615
16616 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * bindings.el (mode-line-other-buffer):
16619 * bookmark.el (bookmark-bmenu-2-window):
16620 * bs.el (bs-cycle-next, bs-cycle-previous):
16621 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16622 switch-to-buffer.
16623
16624 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16625 Delete.
16626
16627 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16628
16629 * follow.el (follow-debug-message, follow-redisplay):
16630 * jka-cmpr-hook.el (with-auto-compression-mode):
16631 Fix typos in docstrings.
16632
16633 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16634
16635 * subr.el (with-silent-modifications): Clarify somewhat what the
16636 macro inhibits (bug#6525).
16637
16638 * simple.el (eval-expression): Note what it does if called
16639 interactively (bug#6495).
16640
16641 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16642
16643 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16644 Use pop-to-buffer buffer-or-name if it is nil.
16645
16646 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16647 Remove switch-to-buffer.
16648
16649 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16650
16651 * files.el (make-directory): Clarify that an error will be raised
16652 if there's an error (bug#6397).
16653
16654 * startup.el (initial-buffer-choice): Add `none' as a choice
16655 (bug#6234).
16656
16657 * subr.el (add-hook): Clarify section about buffer-local hooks
16658 (bug#6218).
16659
16660 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16661
16662 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16663
16664 * tabify.el (untabify): Preserve the current column so that point
16665 doesn't move (bug#6032).
16666
16667 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16668
16669 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16670 Rewrite to avoid awkward possessive "s" (bug#5986).
16671
16672 2011-07-13 Glenn Morris <rgm@gnu.org>
16673
16674 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16675 (dired-insert-directory): Give a message the first time
16676 if ls is found not to support --dired.
16677
16678 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16679
16680 * simple.el (toggle-truncate-lines): Clarify what is toggled
16681 (bug#5580). Text by Drew Adams.
16682
16683 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16684
16685 * simple.el (blink-matching-open): Make the error message from the
16686 last change less verbose.
16687
16688 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16689
16690 * font-lock.el (font-lock-comment-face): Use the high contrast
16691 "yellow" color for font-lock-comment-face on low color terminals
16692 using a dark background color (bug#4221).
16693
16694 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16695
16696 * dired.el (dired-insert-set-properties): Make the doc string
16697 reflect what it does now (bug#5325).
16698
16699 * simple.el (blink-matching-open): Say that we were unable to find
16700 the match within the limit, if we're limited (bug#5122).
16701
16702 * international/mule-cmds.el (prefer-coding-system): Add an
16703 example (bug#4869).
16704
16705 * progmodes/etags.el (tags-search): Document `file-list-form'
16706 (bug#4731).
16707
16708 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16709
16710 * net/browse-url.el (browse-url-default-browser)
16711 (browse-url-browser-function): Make the default browser choice a
16712 bit more logical (bug#4300). Also clean up the doc string.
16713
16714 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16715
16716 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16717 binary endings (bug#4440).
16718
16719 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720
16721 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16722 which can be pretty annoying (bug#8971).
16723
16724 * jka-compr.el (jka-compr-verbose): New variable, and use
16725 throughout (bug#8971).
16726
16727 * info.el (Info-find-file): Fall back on the installation
16728 directory if we can't find the info node anywhere else.
16729
16730 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16731
16732 * vc/vc.el (vc-revert-file):
16733 Don't set file time-stamp in the past. (Bug#5181)
16734
16735 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16736
16737 * files.el (after-find-file): Give a better error message when
16738 trying to find a symlink that points to a file that doesn't exist
16739 (bug#4398).
16740
16741 * progmodes/cc-vars.el: Remove (probably) misleading comment
16742 (bug#4396).
16743
16744 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16745
16746 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16747
16748 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16749
16750 * mouse-sel.el: Hack restoring functionality, while keeping
16751 compatibility with 2010-07-03 changes to mouse selection.
16752 (mouse-sel-primary-overlay): New var.
16753 (mouse-sel-selection-alist): Use it.
16754 (mouse-sel-mode): Doc fix; remove points that are default features
16755 of mouse.el.
16756
16757 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16758
16759 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16760 Fix previous fix (bug#2490).
16761
16762 2011-07-12 Roland Winkler <winkler@gnu.org>
16763
16764 * textmodes/bibtex.el (bibtex-initialize):
16765 Use pop-to-buffer-same-window.
16766 (bibtex-search-entries): Fix interactive call.
16767
16768 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16769
16770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16771 Fontise bytecomp Error lines more correctly (bug#2490).
16772 Fix suggested by Johan Bockgård.
16773
16774 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16775
16776 * dired-x.el (dired-guess-default): Use `delete-dups'.
16777
16778 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16779
16780 * dired.el (dired-mark-prompt):
16781 * dired-aux.el (dired-read-shell-command): Doc fix.
16782
16783 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16784
16785 * mail/sendmail.el (sendmail-query-once):
16786 Use `customize-save-variable' unconditionally, now that it works under
16787 emacs -Q.
16788
16789 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16790
16791 * cus-edit.el (custom-file): Take an optional no-error variable.
16792 (customize-save-variable): Set the variable, and give a warning if
16793 running under "emacs -q".
16794
16795 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16796
16797 * loadhist.el (unload-feature-special-hooks):
16798 Add `auto-coding-functions', `fill-nobreak-predicate' and
16799 `find-directory-functions' (bug#5327).
16800
16801 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16802
16803 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16804
16805 * cus-edit.el (custom-guess-name-alist): -alist variables should
16806 use the `alist' type (bug#3120). Suggested by Drew Adams.
16807
16808 * printing.el: Add documentation to all the `pr-toggle-' commands.
16809
16810 2011-07-11 Leo Liu <sdl.web@gmail.com>
16811
16812 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16813 backends where it makes sense (bug#2623).
16814
16815 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16816
16817 * dired-x.el (dired-guess-default): Remove duplicate shell command
16818 entries (bug#2028).
16819 (dired-guess-default): Fix grammar in doc string (bug#2028).
16820 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16821
16822 * subr.el (remove-duplicates): New conveniency function.
16823
16824 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16825
16826 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16827 (bug#1526).
16828
16829 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16830
16831 * window.el (display-buffer-normalize-default): Don't invert
16832 meaning of even-window-heights. Reported by Eli Zaretskii
16833 <eliz@gnu.org>.
16834
16835 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16836
16837 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16838
16839 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * window.el (display-buffer): Fix arguments to
16842 display-buffer-reuse-window in last change.
16843
16844 * faces.el (link): Use a less saturated blue on light backgrounds.
16845
16846 * startup.el (fancy-startup-text, fancy-about-text)
16847 (fancy-startup-tail): Use font-lock faces, for background safety.
16848
16849 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16850
16851 * emulation/viper-cmd.el (viper-change-state-to-vi):
16852 Limit triggering of abbrev expansion (Bug#9038).
16853
16854 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16855
16856 * window.el (display-buffer-default-specifiers): Remove.
16857 (display-buffer-macro-specifiers): Remove default specifiers.
16858 (display-buffer-alist): Default to nil.
16859 (display-buffer-reuse-window): New optional argument other-window.
16860 (display-buffer-pop-up-window): Allow splitting internal
16861 windows. Check whether a live window was created.
16862 (display-buffer-other-window-means-other-frame)
16863 (display-buffer-normalize-arguments): Rename to
16864 display-buffer-normalize-argument and rewrite. Set the
16865 other-window specifier.
16866 (display-buffer-normalize-special): New function.
16867 (display-buffer-normalize-options): Rename to
16868 display-buffer-normalize-default and rewrite.
16869 (display-buffer-normalize-options-inhibit): Remove.
16870 (display-buffer-normalize-specifiers): Rewrite.
16871 (display-buffer): Process other-window specifier and call
16872 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16873 more faithfully.
16874 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16875 (display-buffer-alist-set): Don't handle 'unset default values.
16876 (display-buffer-in-window, display-buffer-alist-set):
16877 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16878 <tassilo@member.fsf.org>.
16879
16880 2011-07-09 Leo Liu <sdl.web@gmail.com>
16881
16882 * register.el (insert-register): Restore accidental change on
16883 2011-06-26. (Bug#9028)
16884
16885 2011-07-09 Glenn Morris <rgm@gnu.org>
16886
16887 * subr.el (remq): Handle the empty list. (Bug#9024)
16888
16889 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 * mail/sendmail.el (send-mail-function): No longer delay custom
16892 initialization.
16893 * custom.el (custom-initialize-delay): Doc fix.
16894
16895 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16896
16897 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16898
16899 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16900
16901 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16902 human-friendly prompt.
16903
16904 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16905
16906 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16907 provided by a particular plugin.
16908
16909 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16910
16911 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16912 save customizations (with "emacs -Q"), just set the variable
16913 instead of erroring out.
16914
16915 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16916
16917 2011-07-08 Juri Linkov <juri@jurta.org>
16918
16919 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16920 (archive-zip-update-case): Use 7z if found by `executable-find'.
16921 The order of searching the available programs is the same as in
16922 `archive-zip-extract' (bug#8968).
16923
16924 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16925
16926 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16927 (menu-bar-options-menu): Tweak descriptions.
16928
16929 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16930
16931 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16932 menu items into verb phrases (bug#1421). Also refill to fit under
16933 80 columns.
16934
16935 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16936
16937 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16938 (Info-read-node-name): Doc fix (Bug#1084).
16939
16940 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16941 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16942 (end-of-sexp, beginning-of-sexp)
16943 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16944 (forward-symbol, forward-same-syntax, word-at-point)
16945 (sentence-at-point): Doc fix (Bug#1144).
16946
16947 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16948
16949 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16950 should cover it (bug#1281).
16951
16952 * cus-edit.el (custom-show): Mark as obsolete.
16953
16954 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16955 negotiation fails, then possibly try again with a non-encrypted
16956 connection (bug#9017).
16957
16958 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16959 be used.
16960
16961 2011-07-07 Richard Stallman <rms@gnu.org>
16962
16963 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16964 property, and handle its changed format.
16965 Look for the correct line number.
16966 Use file's line contents (but not past first =) to find
16967 correct line in message.
16968
16969 2011-07-07 Kenichi Handa <handa@m17n.org>
16970
16971 * international/characters.el (build-unicode-category-table):
16972 Delete it.
16973 (unicode-category-table): Set it by unicode-property-table-internal.
16974
16975 * international/mule-cmds.el (char-code-property-alist): Move to
16976 to src/chartab.c.
16977 (get-char-code-property): Call unicode-property-table-internal to
16978 load a file. Call get-unicode-property-internal where necessary.
16979 (put-char-code-property): Call unicode-property-table-internal to
16980 load a file. Call put-unicode-property-internal where necessary.
16981 put-unicode-property-internal where necessary.
16982 (char-code-property-description):
16983 Call unicode-property-table-internal to load a file.
16984
16985 * international/charprop.el:
16986 * international/uni-bidi.el:
16987 * international/uni-category.el:
16988 * international/uni-combining.el:
16989 * international/uni-comment.el:
16990 * international/uni-decimal.el:
16991 * international/uni-decomposition.el:
16992 * international/uni-digit.el:
16993 * international/uni-lowercase.el:
16994 * international/uni-mirrored.el:
16995 * international/uni-name.el:
16996 * international/uni-numeric.el:
16997 * international/uni-old-name.el:
16998 * international/uni-titlecase.el:
16999 * international/uni-uppercase.el: Regenerate.
17000
17001 * loadup.el: Load international/charprop.el before
17002 international/characters.
17003
17004 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17005
17006 * window.el (next-buffer, previous-buffer): Signal an error if
17007 called from a minibuffer window.
17008
17009 * bindings.el: Revert 2011-07-04 change.
17010
17011 2011-07-06 Richard Stallman <rms@gnu.org>
17012
17013 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17014 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17015 Treat markers like ints.
17016 (rmail-mime-entity): Doc fix.
17017
17018 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17019
17020 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17021 defcustom again for backwards compatibility.
17022
17023 * simple.el (shell-command-on-region): Fill.
17024
17025 * dired-aux.el (dired-kill-line): Add a doc string.
17026
17027 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17028 to "\\sw\\|\\s_" (bug#358).
17029
17030 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17031 (dired-unmark-backward): Ditto.
17032 (dired-flag-backup-files): Ditto.
17033
17034 * dired-x.el (dired-mark-sexp): Ditto.
17035
17036 2011-07-06 Richard Stallman <rms@gnu.org>
17037
17038 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17039 (rmail-mime-entity): New arg TRUNCATED.
17040 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17041 New functions.
17042 (rmail-mime-save): Warn if entity is truncated.
17043 (rmail-mime-toggle-hidden): Likewise, for showing.
17044 (rmail-mime-process-multipart): Record when an entity is truncated.
17045
17046 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17047 if ENTITY is a string.
17048
17049 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17050
17051 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17052 of faces when `M-C-x'-ing their definitions (bug#8378).
17053 Also clean up the code slightly.
17054
17055 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17056 because that makes the colors go away.
17057
17058 * mail/sendmail.el (send-mail-function): Change the default to
17059 `sendmail-query-once'.
17060 (sendmail-query-once): Add an autoload cookie.
17061
17062 * net/network-stream.el (network-stream-open-starttls): Try using
17063 a plain connection even if the server offered STARTTLS, and we
17064 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17065 capability. This should make smtpmail.el work in slightly more
17066 configurations.
17067
17068 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17069
17070 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17071 New defun.
17072 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17073
17074 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17075
17076 * progmodes/sql.el: Version 3.0
17077 (sql-product-alist): Add product :completion-object,
17078 :completion-column, and :statement attributes.
17079 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17080 (sql-mode-syntax-table): Mark all punctuation.
17081 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17082 ansi keywords.
17083 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17084 (sql-mode-oracle-font-lock-keywords): Improve.
17085 (sql-oracle-show-reserved-words): New function for development.
17086 (sql-product-font-lock): Simplify for source code buffers.
17087 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17088 New functions.
17089 (sql-highlight-product): Set product specific syntax table.
17090 (sql-mode-map): Add statement movement functions.
17091 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17092 New variable.
17093 (sql-statement-regexp, sql-beginning-of-statement)
17094 (sql-end-of-statement, sql-signum): New functions.
17095 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17096 (sql-show-sqli-buffer): Bug fix.
17097 (sql-interactive-mode): Store connection data as buffer local.
17098 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17099 with sql-interactive-mode.
17100 (sql-save-connection): Save buffer local settings.
17101 (sql-connection-menu-filter): Change menu entry name.
17102 (sql-product-interactive): Bug fix.
17103 (sql-preoutput-hold): New variable.
17104 (sql-interactive-remove-continuation-prompt): Bug fixes.
17105 (sql-debug-redirect): New variable.
17106 (sql-str-literal): New function.
17107 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17108 Redesign.
17109 (sql-oracle-save-settings, sql-oracle-restore-settings)
17110 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17111 (sql-completion-object, sql-completion-column)
17112 (sql-completion-sqlbuf): New variables.
17113 (sql-build-completions-1, sql-build-completions)
17114 (sql-try-completion): New functions.
17115 (sql-read-table-name): Use them.
17116 (sql-contains-names): New buffer local variable.
17117 (sql-list-all, sql-list-table): Use it.
17118 (sql-oracle-completion-types): New variable.
17119 (sql-oracle-completion-object, sql-sqlite-completion-object)
17120 (sql-postgres-completion-object): New functions.
17121
17122 2011-07-06 Glenn Morris <rgm@gnu.org>
17123
17124 * window.el (pop-to-buffer): Doc fix.
17125
17126 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17127
17128 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17129
17130 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17131
17132 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17133
17134 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17135
17136 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17137
17138 * button.el (button): Inherit from link face. Suggested by Dan
17139 Nicolaescu.
17140
17141 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * progmodes/gdb-mi.el: Fit in 80 columns.
17144 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17145 switch-to-buffer.
17146
17147 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17148 if imenu is simply not configured (bug#8941).
17149
17150 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17151
17152 * allout.el (allout-post-undo-hook): New allout outline-change
17153 event hook to signal undo activity.
17154 (allout-post-command-business): Run allout-post-undo-hook if an
17155 undo just occurred.
17156 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17157 * allout-widgets.el (allout-widgets-after-undo-function):
17158 Ensure the integrity of the current item's decoration after it has been
17159 in the vicinity of an undo.
17160 (allout-widgets-mode): Include allout-widgets-after-undo-function
17161 on the new allout-post-undo-hook.
17162
17163 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17164
17165 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17166 Let define-derived-mode define it.
17167 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17168 cycles of abbrev-table inheritance (bug#8998).
17169
17170 2011-07-05 Roland Winkler <winkler@gnu.org>
17171
17172 * textmodes/bibtex.el: Add support for biblatex.
17173 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17174 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17175 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17176 (bibtex-entry-alist, bibtex-field-alist): New variables.
17177 (bibtex-entry-field-alist): Obsolete alias for
17178 bibtex-BibTeX-entry-alist.
17179 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17180 (bibtex-set-dialect): New command.
17181 (bibtex-entry-type, bibtex-entry-head)
17182 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17183 Bind via bibtex-set-dialect.
17184 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17185 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17186 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17187 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17188 Define via bibtex-set-dialect.
17189 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17190 Obey bibtex-no-opt-remove-re.
17191 (bibtex-vec-push, bibtex-vec-incr): New functions.
17192 (bibtex-format-entry, bibtex-field-list)
17193 (bibtex-print-help-message, bibtex-validate)
17194 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17195
17196 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * progmodes/compile.el (compilation-goto-locus):
17199 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17200 * bs.el (bs-cycle-next, bs-cycle-previous):
17201 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17202 * bindings.el (mode-line-other-buffer):
17203 * autoinsert.el (auto-insert):
17204 * arc-mode.el (archive-extract):
17205 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17206
17207 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17208
17209 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17210 Fix check of `emacs-lock-unlockable-modes'.
17211 Coerce true values of `emacs-lock--try-unlocking' to t.
17212
17213 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17214
17215 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17216 * emacs-lock.el: New file.
17217
17218 2011-07-05 Julien Danjou <julien@danjou.info>
17219
17220 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17221 than `boundp' to check if face is set.
17222
17223 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17224
17225 * register.el (registerv-make):
17226 * window.el (window-min-height): Fix typos in docstrings.
17227
17228 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17229
17230 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17231 Update doc string.
17232
17233 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17234
17235 * server.el (server-execute): Catch quit and call
17236 `server-return-error' to pass the error back to emacsclient and
17237 close the connection (bug#8942).
17238
17239 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17240
17241 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17242 insecure exception for current topic. Also note that auto-saves
17243 are handled differently.
17244
17245 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17246 State variables for tracking auto-save inhibition situation.
17247
17248 (allout-write-contents-hook-handler): Rename from
17249 'allout-write-file-hook-handler', and describe how it depends on
17250 write-contents-functions sensitivity to non-nil value to prevent
17251 file write.
17252
17253 (allout-auto-save-hook-handler): Remove. auto-save does not check
17254 this in individual buffers, only in the starting buffer, so this
17255 is not the right way for us to inhibit auto-save in a buffer
17256 according to its condition.
17257
17258 (allout-mode): Use new allout-write-contents-hook-handler, and
17259 only with write-contents-functions. Remove auto-save provisions -
17260 they're implemented elsewhere.
17261
17262 (allout-before-change-handler): If undo is in progress, note that
17263 for attention of allout-post-command-business.
17264
17265 (allout-post-command-business): If the command we're following was
17266 an undo, check for change in the status of encrypted items and
17267 adjust auto-save inhibitions accordingly.
17268
17269 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17270 according to whether there are or aren't any plain-text topics
17271 pending encryption.
17272
17273 (allout-inhibit-auto-save-info-for-decryption):
17274 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17275 if there are plain-text topics pending encryption.
17276
17277 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17278 buffer-saved-size and some allout state to not inhibit auto-saves
17279 if there are no longer any plain-text topics pending encryption.
17280
17281 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17282 No longer provide for exemption of the current topic.
17283
17284 2011-07-04 Juri Linkov <juri@jurta.org>
17285
17286 Add 7z operations to delete and save changed members (bug#8968).
17287 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17288 New defcustoms.
17289 (archive-7z-write-file-member): New function.
17290 (archive-7z-summarize): Fix the number of dashes in the
17291 listing output.
17292
17293 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17294
17295 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17296 (bug#8958).
17297
17298 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17299
17300 * bindings.el: Ignore next-buffer and previous-buffer in
17301 minibuffer-local-map.
17302
17303 * font-lock.el (font-lock-builtin-face): Change light background
17304 color to dark slate blue (Bug#6693).
17305
17306 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17307
17308 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17309
17310 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17311
17312 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17313 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17314 Add switch-to-buffer.
17315
17316 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17317
17318 * isearch.el (isearch-search-fun-function): Clarify further the
17319 meaning of the function returned.
17320
17321 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17322
17323 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17324
17325 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17326 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17327 Use it.
17328 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17329 `tramp-default-remote-path' does not exist.
17330 (tramp-send-command-and-read): New optional argument NOERROR.
17331 (tramp-open-connection-setup-interactive-shell)
17332 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17333 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17334 (tramp-process-sentinel): Flush also process' connection property.
17335 (tramp-sh-handle-start-file-process): Do not set process
17336 sentinel. It is done now ...
17337 (tramp-maybe-open-connection): ... here. (Bug#8929)
17338
17339 2011-07-04 MON KEY <monkey@sandpframing.com>
17340
17341 * play/animate.el (animate-string): Doc fixes and allow changing
17342 the buffer name (bug#5417).
17343
17344 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17345
17346 * play/animate.el (animation-buffer-name): Rename from *animate*.
17347
17348 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17349
17350 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17351 This is simpler and helps future-proof the code.
17352 (timer-until): Use time-subtract and float-time.
17353 (timer--time-less-p): Use time-less-p.
17354
17355 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17356
17357 * type-break.el (timep): Use the value of `float-time' to avoid a
17358 byte-compiler warning.
17359
17360 * server.el (server-eval-and-print): Return any result, even nil.
17361
17362 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17363
17364 * type-break.el: Accept time formats that the builtins accept.
17365 (timep, type-break-time-difference): Accept any format that
17366 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17367 This is simpler and helps future-proof the code.
17368 (type-break-time-difference): Round rather than ignoring
17369 subseconds components.
17370
17371 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17372
17373 * info.el (Info-apropos-matches): Make non-interactive, since it
17374 doesn't seem to do anything useful as a command (bug#8829).
17375
17376 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17377
17378 * frame.el (frame-background-mode, frame-set-background-mode):
17379 Move from faces.el.
17380 (frame-default-terminal-background): New function.
17381
17382 * custom.el (custom-push-theme): Don't record faces in `changed'
17383 theme; this doesn't work correctly for per-frame face settings.
17384 (disable-theme): Use face-set-after-frame-default to reset faces.
17385 (custom--frame-color-default): New function.
17386
17387 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17388
17389 * dired.el (dired-flagging-regexp): Remove unused variable
17390 (bug#8769).
17391
17392 2011-03-29 Kevin Ryde <user42@zip.com.au>
17393
17394 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17395 `perl-Test2' extend to match possible "fail #N" rep count
17396 (bug#8377).
17397
17398 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17399
17400 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17401 `smtpmail-via-smtp' now returns the error instead of nil.
17402
17403 * isearch.el (isearch-search-fun-function): Clarify the doc string
17404 (bug#8101).
17405
17406 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17407
17408 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17409 unnecessary spaces (bug#8987).
17410
17411 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17412
17413 * net/network-stream.el (open-network-stream): Use the
17414 :end-of-capability command thoughout.
17415
17416 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17417
17418 * net/network-stream.el (open-network-stream): Add the
17419 :end-of-capability command parameter, used by pop3.el.
17420
17421 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17422
17423 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17424
17425 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17426 for list)" (bug#6475).
17427
17428 * files.el (file-expand-wildcards): Ignore non-readable
17429 sub-directories while trying to find matches instead of signaling
17430 an error (bug#6297).
17431
17432 * man.el (Man-reference-regexp): Allow matching possible
17433 word-wrapped references (bug#6289).
17434
17435 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17436 for consistency with the other vc buffers (bug#6197).
17437 (vc-checkin): Ditto.
17438
17439 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17440
17441 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17442
17443 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17444
17445 * custom.el (defcustom): Clarify that :set is only used in the
17446 Customize user interface (bug#6089).
17447
17448 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17449 associated with a file, refuse to run instead of erroring out
17450 (bug#6084).
17451
17452 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17453 the doc string, since it appears that using `fill-column' always
17454 controls the width (bug#7845).
17455
17456 * simple.el (shell-command-on-region): Say where the error output
17457 went if `shell-command-default-error-buffer' is set (bug#6857).
17458
17459 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17460
17461 * allout.el (allout-yank-processing): Adjust cursor position for
17462 backwards-deleted space.
17463
17464 (allout-rebullet-heading): Register changes with
17465 allout-exposure-changed-hook, so the modified topic is properly
17466 decorated.
17467
17468 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17469
17470 * minibuffer.el (completion-in-region): Document PREDICATE
17471 (bug#7136).
17472
17473 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17474 of keyword/argument pairs (bug#6904).
17475
17476 * replace.el (multi-occur):
17477 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17478
17479 2011-07-02 Drew Adams <drew.adams@oracle.com>
17480
17481 * dired.el (dired-mark-if): Make the message about whether it's
17482 marking or unmarking clearer (bug#8523).
17483
17484 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17485
17486 * disp-table.el (display-table-print-array): New function.
17487 (describe-display-table): Use it to print the vectors more pretty
17488 (Bug#8859).
17489
17490 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17491
17492 * window.el (window-state-get-1): Don't assign clone numbers.
17493 Add clone-of item to list of window parameters.
17494 (window-state-put-2): Don't process clone numbers.
17495 (display-buffer-alist): Fix doc-string.
17496
17497 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17498
17499 * subr.el (remq): Don't allocate if it's not needed.
17500 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17501 (keymap--merge-bindings): New functions.
17502 (keymap-canonicalize): Use them to refine the canonicalization.
17503 * minibuffer.el (minibuffer-local-completion-map)
17504 (minibuffer-local-must-match-map): Move initialization from C.
17505 (minibuffer-local-filename-completion-map): Move initialization from C;
17506 don't inherit from anything here.
17507 (minibuffer-local-filename-must-match-map): Make obsolete.
17508 (completing-read-default): Use make-composed-keymap to combine
17509 minibuffer-local-filename-completion-map with either
17510 minibuffer-local-must-match-map or
17511 minibuffer-local-filename-completion-map.
17512
17513 2011-07-01 Glenn Morris <rgm@gnu.org>
17514
17515 * type-break.el (type-break-time-sum): Use dolist.
17516
17517 * textmodes/flyspell.el (flyspell-word-search-backward):
17518 Replace CL function.
17519
17520 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17521
17522 * mouse.el (mouse--strip-first-event): New function.
17523 (function-key-map): Use it to map fringe clicks to normal clicks
17524 by default.
17525
17526 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17527 (vc-bzr-revision-completion-table): Add support for annotate and date.
17528
17529 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17530 inherit from parent.
17531
17532 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17533
17534 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17535 (dired-show-file-type): Doc fixup (bug#8818).
17536
17537 * dired.el (dired-mode): Fix up the doc string as suggested by
17538 Drew Adams (bug#8817).
17539
17540 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17541 cookie, since the manual says that it should be possible to add
17542 this function to `find-file-hook' (bug#8709).
17543
17544 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17545
17546 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17547 here. Noted Ted Zlatanov as the maintainer.
17548 (cfengine-common-settings, cfengine-common-syntax): New functions
17549 to set up common things between `cfengine-mode' and
17550 `cfengine3-mode'.
17551 (cfengine3-mode): New mode.
17552 (cfengine3-defuns cfengine3-defuns-regex
17553 (cfengine3-class-selector-regex cfengine3-category-regex)
17554 (cfengine3-vartypes cfengine3-font-lock-keywords)
17555 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17556 (cfengine3-indent-line): Add from cfengine3.el.
17557
17558 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17559
17560 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17561
17562 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17563
17564 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17565
17566 * window.el (same-window-buffer-names, same-window-regexps)
17567 (same-window-p, special-display-frame-alist)
17568 (special-display-popup-frame, special-display-function)
17569 (special-display-buffer-names, special-display-regexps)
17570 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17571 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17572 (split-window-preferred-function, split-height-threshold)
17573 (split-width-threshold, even-window-heights)
17574 (display-buffer-mark-dedicated, window-splittable-p)
17575 (split-window-sensibly, window-safely-shrinkable-p):
17576 Un-obsolete.
17577 (display-buffer): Don't spread args with function specifier
17578 because special-display-popup-frame won't like it.
17579
17580 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17581
17582 Time-stamp simplifications and fixes.
17583 These improve accuracy slightly, and future-proof the code
17584 against some potential changes to current-time format.
17585
17586 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17587 by using time-since and float-time.
17588
17589 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17590 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17591 + NNN microseconds".
17592
17593 * type-break.el (type-break-time-sum): Rewrite using time-add.
17594
17595 * play/hanoi.el (hanoi-current-time-float): Remove.
17596 All uses replaced by float-time.
17597
17598 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17599 This yields a more-accurate answer.
17600 (rng-time-to-float): Remove; no longer needed.
17601
17602 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17603
17604 * calendar/timeclock.el (timeclock-seconds-to-time):
17605 Defalias to seconds-to-time, since they're the same thing.
17606
17607 * emacs-lisp/elp.el (elp-elapsed-time):
17608 * emacs-lisp/benchmark.el (benchmark-elapse):
17609 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17610
17611 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17612
17613 * window.el (bury-buffer): Don't iconify the only frame.
17614 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17615 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17616
17617 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17618
17619 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17620 Add mouse-yank-primary.
17621
17622 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17623
17624 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17625
17626 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17629 (find-library-name): Use it to find relative load names when provided
17630 absolute file name (bug#8803).
17631
17632 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17633
17634 * textmodes/flyspell.el (flyspell-word): Consider words that
17635 differ only in case as potential doublons (bug#5687).
17636
17637 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17638 Remove two rather uninteresting debugging-like messages to make
17639 debbugs.el more silent.
17640
17641 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17642 a password-like phrase.
17643
17644 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17645
17646 * progmodes/cc-guess.el: New file.
17647
17648 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17649
17650 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17651 derived from `c-basic-common-init'.
17652
17653 * progmodes/cc-mode.el (top-level): Require cc-guess.
17654 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17655
17656 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17657
17658 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17659
17660 2011-06-30 Alan Mackenzie <acm@muc.de>
17661
17662 * progmodes/cc-engine.el (c-guess-continued-construct):
17663 Correct the handling of template-args-cont, particularly for when font
17664 lock is disabled. Name this case as "CASE G".
17665
17666 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17667
17668 * allout.el (allout-yank-processing): Fix injection of extra space
17669 between bullet and non-whitespace character in first topic when
17670 pasting, ensuring that the actual spacing in the pasted topic
17671 following the bullet char is preserved. This extra space was
17672 causing pasted encrypted topics to get a decrypted status even
17673 when the content was actually still encrypted. Now the decryption
17674 status from before the paste is preserved.
17675
17676 (allout-flag-region): Set all allout overlays so they evaporate
17677 when reduced to zero length (evanescent), to prevent overlay
17678 leakage.
17679
17680 2011-06-30 Glenn Morris <rgm@gnu.org>
17681
17682 * w32-fns.el (w32-charset-info-alist): Declare.
17683
17684 * find-dired.el (find-grep-options): Simplify.
17685
17686 * term/ns-win.el (ns-set-resource): Declare.
17687
17688 * ses.el (row, col): Declare dynamic variables honestly.
17689
17690 * textmodes/reftex-parse.el (index-tags): Declare.
17691
17692 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17693
17694 * cus-edit.el (customize-push-and-save): New function.
17695
17696 * files.el (hack-local-variables-confirm): Use it.
17697
17698 * custom.el (load-theme): New arg NO-CONFIRM.
17699 Use customize-push-and-save (Bug#8720).
17700 (custom-enabled-themes): Doc fix.
17701
17702 * cus-theme.el (customize-create-theme)
17703 (custom-theme-merge-theme): Callers to load-theme changed.
17704
17705 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17706
17707 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17708 short URLs have at least one dot in them (bug #7614).
17709
17710 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17711 nil, because using a pty is apparently too slow (bug #895).
17712
17713 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17714
17715 * mail/sendmail.el (sendmail-query-once): New function.
17716 (sendmail-query-once-function): New variable.
17717
17718 2011-06-29 Glenn Morris <rgm@gnu.org>
17719
17720 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17721
17722 * ses.el (top-level): Require cl when compiling.
17723 (ses-set-localvars): Fix error statement.
17724 Call it at compile time to silence a storm of warnings.
17725
17726 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17727
17728 * window.el (normalize-live-buffer): Rename to
17729 window-normalize-buffer.
17730 (normalize-live-frame): Rename to window-normalize-frame.
17731 (normalize-any-window): Rename to window-normalize-any-window.
17732 (normalize-live-window): Rename to window-normalize-live-window.
17733 (make-window-atom): Rename to window-make-atom.
17734 (window-resize-reset): Rename to window--resize-reset.
17735 (window-resize-reset-1): Rename to window--resize-reset-1.
17736 (resize-mini-window): Rename to window--resize-mini-window.
17737 (resize-subwindows-skip-p): Rename to
17738 window--resize-subwindows-skip-p.
17739 (resize-subwindows-normal): Rename to
17740 window--resize-subwindows-normal.
17741 (resize-subwindows): Rename to window--resize-subwindows.
17742 (resize-other-windows): Rename to window--resize-siblings.
17743 (resize-this-window): Rename to window--resize-this-window.
17744 (resize-root-window): Rename to window--resize-root-window.
17745 (resize-root-window-vertically): Rename to
17746 window--resize-root-window-vertically.
17747 (normalize-buffer-to-display): Rename to
17748 window-normalize-buffer-to-display.
17749 (normalize-buffer-to-switch-to): Rename to
17750 window-normalize-buffer-to-switch-to.
17751 Correspondingly update all callers of the functions listed
17752 above.
17753 (display-buffer-alist, display-buffer-normalize-arguments)
17754 (display-buffer-normalize-options, display-buffer)
17755 (display-buffer-alist-set): Use "function" instead of
17756 "fun-with-args".
17757
17758 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17759
17760 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17761 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17762 debbugs.gnu.org. Mention acknowledgment email.
17763
17764 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17765
17766 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17767 buffer multibyteness, since it shouldn't matter.
17768
17769 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17770
17771 * window.el (display-buffer-in-side-window): Handle dedicated
17772 windows as in display-buffer-reuse-window.
17773 (display-buffer-normalize-alist): Use value of override
17774 specifier.
17775 (display-buffer-normalize-specifiers): Use value of
17776 other-window-means-other-frame specifier.
17777 (display-buffer-alist): Rewrite some texts in widgets.
17778 (display-buffer): Spread arguments when calling function
17779 specified by fun-with-args.
17780
17781 2011-06-28 Deniz Dogan <deniz@dogan.se>
17782
17783 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17784 Unnest `let'.
17785
17786 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17787 selectors (Bug#5732).
17788 (css-proprietary-nmstart-re): Use `regexp-opt'.
17789
17790 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17791
17792 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17793 (eshell-ls-date-format): New defcustom.
17794 (eshell-ls-file): Use it.
17795
17796 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17797
17798 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17799
17800 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17801
17802 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17803 (ange-ftp-make-tmp-name): New arg.
17804 (ange-ftp-file-local-copy): Use it.
17805
17806 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17807
17808 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17809 no-conversion (Bug#8870).
17810
17811 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17812
17813 * window.el (window-right, window-left, window-child)
17814 (window-child-count, window-last-child)
17815 (window-iso-combination-p, walk-window-tree-1)
17816 (window-atom-check-1, window-tree-1, delete-window)
17817 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17818 new naming conventions - window-vchild, window-hchild,
17819 window-next and window-prev are now called window-top-child,
17820 window-left-child, window-next-sibling and window-prev-sibling
17821 respectively.
17822 (resize-window-reset): Rename to window-resize-reset.
17823 (resize-window-reset-1): Rename to window-resize-reset-1.
17824 (resize-window): Rename to window-resize.
17825 (window-min-height, window-min-width)
17826 (resize-mini-window, resize-this-window, resize-root-window)
17827 (resize-root-window-vertically, adjust-window-trailing-edge)
17828 (enlarge-window, shrink-window, maximize-window)
17829 (minimize-window, delete-window, quit-restore-window)
17830 (split-window, balance-windows, balance-windows-area-adjust)
17831 (balance-windows-area, window-state-put-2)
17832 (display-buffer-even-window-sizes, display-buffer-set-height)
17833 (display-buffer-set-width, set-window-text-height)
17834 (fit-window-to-buffer): Rename all "resize-window" prefixed
17835 calls to use the "window-resize" prefix convention.
17836 (display-buffer-alist): Fix symbol for label specifier.
17837 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17838 corresponding specifier.
17839 Reported by Juanma Barranquero <lekktu@gmail.com>.
17840
17841 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17842
17843 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17844 convention.
17845 (ses-call-printer): Does not pass an empty string to formatter when the
17846 cell is empty to keep from barking printer Calc math-format-value.
17847
17848 2011-06-27 Richard Stallman <rms@gnu.org>
17849
17850 * battery.el (battery-mode-line-limit): New variable.
17851 (battery-update): Handle it.
17852
17853 * mail/rmailmm.el (rmail-mime-process-multipart):
17854 Handle truncated messages.
17855
17856 2011-06-27 Glenn Morris <rgm@gnu.org>
17857
17858 * progmodes/flymake.el (flymake-err-line-patterns):
17859 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17860
17861 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17862
17863 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17864 (ses--clean-!, ses--clean-_): New functions.
17865 (ses-range): Add configurability of readout order, and conversion
17866 to Calc vector.
17867
17868 * ses.el (ses-repair-cell-reference-all): New function.
17869 (ses-cell-symbol): Set macro as safe, so that it can be used in
17870 formulas.
17871
17872 * ses.el: Update cycle detection algorithm.
17873 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17874 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17875 (ses-set-localvars): New function.
17876 (ses-make-cell): Add property-list as a cell element.
17877 (ses-cell-property-get-fun, ses-cell-property-get)
17878 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17879 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17880 New functions.
17881 (ses-cell-property-set, ses-cell-property-pop)
17882 (ses-cell-property-get-handle): New macro.
17883 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17884 New aliases, used for code readability.
17885 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17886 cycle detection.
17887 (ses-self-reference-early-detection): New defcustom.
17888 (ses-formula-references): Robustify against self-referring cells.
17889 (ses-mode): Use ses-set-localvars.
17890 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17891 before lauching the update processing.
17892 (ses-initialize-Dijkstra-attempt): New function.
17893 (ses-recalculate-cell): Update for cycle detection based on
17894 Dijkstra algorithm.
17895
17896 * ses.el: Fix commenting and indenting convention.
17897
17898 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17899
17900 * bs.el (bs-cycle-next): Complete last change.
17901
17902 2011-06-27 Drew Adams <drew.adams@oracle.com>
17903
17904 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17905
17906 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17907
17908 * net/network-stream.el (network-stream-open-starttls):
17909 Don't re-get capabilities unless we've reestablished connection.
17910 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17911
17912 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17913 to binary to possibly avoid line encoding issues on Windows (among
17914 other things).
17915
17916 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17917
17918 * net/network-stream.el (open-network-stream): Return an :error
17919 saying what the problem was, if possible.
17920
17921 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17922 server.
17923
17924 * net/network-stream.el (network-stream-open-starttls): If we
17925 wanted to use STARTTLS, and the server offered it, but we weren't
17926 able to because we had no STARTTLS support, then close the connection.
17927 (open-network-stream): Return an :error element, if present.
17928
17929 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17930
17931 * hl-line.el (hl-line-sticky-flag): Doc fix.
17932 (global-hl-line-sticky-flag): New option (Bug#8323).
17933 (global-hl-line-highlight): Obey it.
17934
17935 * vc/vc.el (vc-revert-show-diff): Default to t.
17936
17937 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17938
17939 * allout-widgets.el (allout-widgets-post-command-business):
17940 Stop decorating intermediate isearch matches. They're not being
17941 undecorated when an isearch is continued past, and isearch
17942 automatically collapses them. This leads to "widget leaks", where
17943 decorated items accumulate in collapsed areas. Lines with lots of
17944 hidden widgets can slow down cursor travel, substantially.
17945 Too much complicated machinery would be needed to ensure undecoration,
17946 so we're doing without this nicety.
17947
17948 (allout-widgets-tally-string): Don't try to do a hash-table-count
17949 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17950 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17951 *Messages* when allout-widgets-maintain-tally is t.
17952
17953 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17954
17955 * window.el (display-buffer-normalize-argument): Rename to
17956 display-buffer-normalize-arguments. Handle special meaning of
17957 LABEL argument. Respect special-display-function when popping up
17958 a new frame. Fix code searching for a window showing the buffer
17959 on another frame.
17960 (display-buffer-normalize-specifiers):
17961 Call display-buffer-normalize-arguments.
17962 (display-buffer-in-window): Don't undedicate the window if its
17963 buffer remains the same.
17964 Reported by Drew Adams <drew.adams@oracle.com>.
17965 (display-buffer-alist): Add choice for same-window macro
17966 specfier.
17967 (display-buffer): Mention special meaning of LABEL argument in
17968 doc-string. Fix quoting. Don't pop up a new frame even as
17969 fallback.
17970
17971 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17972
17973 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17974 avoid deleting the current window in some cases (bug#8911).
17975
17976 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17979 (Bug#8934)
17980
17981 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17982
17983 * net/network-stream.el (network-stream-open-starttls):
17984 Use built-in TLS support if `gnutls-available-p' is true.
17985 (network-stream-open-tls): Ditto.
17986
17987 2011-06-26 Leo Liu <sdl.web@gmail.com>
17988
17989 * register.el (registerv): New struct.
17990 (registerv-make): New function.
17991 (jump-to-register, describe-register-1, insert-register):
17992 Support the jump-func, print-func and insert-func slot of a registerv
17993 struct. (Bug#8415)
17994
17995 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17996
17997 * vc/vc.el (vc-revert-show-diff): New defcustom.
17998 (vc-diff-internal): New arg specifying diff buffer.
17999 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18000 reuse an existing *vc-diff* buffer (Bug#8927).
18001
18002 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18003
18004 2011-06-26 Glenn Morris <rgm@gnu.org>
18005
18006 * progmodes/f90.el (f90-critical-indent): New option.
18007 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18008 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18009 (f90-mode): Doc fix.
18010 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18011 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18012 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18013 (f90-match-end): Handle block, critical.
18014
18015 2011-06-25 Glenn Morris <rgm@gnu.org>
18016
18017 * calendar/diary-lib.el (diary-included-files): Doc fix.
18018 (diary-include-files): New function, extracted from
18019 diary-include-other-diary-files and diary-mark-included-diary-files.
18020 (diary-include-other-diary-files, diary-mark-included-diary-files):
18021 Just call diary-include-files.
18022 (diary-mark-entries): Reset diary-included-files on first call.
18023
18024 * calendar/diary-lib.el (diary-mark-entries)
18025 (diary-mark-included-diary-files):
18026 Visit included diary-files in temp buffers.
18027
18028 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18029 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18030 (f90-start-block-re, f90-imenu-generic-expression)
18031 (f90-looking-at-program-block-start, f90-no-block-limit):
18032 Add support for submodules.
18033
18034 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18035 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18036
18037 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18038
18039 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18040 buffer-file-type before setting its value, to avoid disastrous
18041 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18042
18043 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18044
18045 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18046
18047 * ses.el (ses-unload-function):
18048 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18049
18050 * proced.el (proced-unload-function):
18051 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18052
18053 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18054
18055 * server.el (server-create-window-system-frame): Add parameters arg.
18056 (server-process-filter): Doc fix. Handle frame-parameters.
18057
18058 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18059
18060 Fix bug#8730, bug#8781.
18061
18062 * loadhist.el (unload--set-major-mode): New function.
18063 (unload-feature): Use it.
18064
18065 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18066 (python-unload-function): New function.
18067
18068 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18069
18070 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18071
18072 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18073
18074 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18075 the candidates list.
18076
18077 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18078
18079 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18080
18081 2011-06-23 Richard Stallman <rms@gnu.org>
18082
18083 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18084 (rmail-variables): Set next-error-move-function.
18085 (rmail-what-message): Take argument POS.
18086 (rmail-next-error-move): New function.
18087
18088 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18089
18090 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18091 messages for adjacent non-terminals.
18092
18093 2011-06-23 Richard Stallman <rms@gnu.org>
18094
18095 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18096 (rmail-show-message-1): Preserve buffer modified flag.
18097 (rmail-start-mail): Don't specify use of rmail-mail-return;
18098 that's done by mail-bury now.
18099 (rmail-mail-return): Handle arg NEWBUF.
18100
18101 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18102
18103 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18104 SIZE is a number.
18105
18106 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18107
18108 * window.el (get-lru-window, get-mru-window)
18109 (get-largest-window): Never return a minibuffer window.
18110 (display-buffer-pop-up-window): Fix a bug that could lead to
18111 reusing the minibuffer window.
18112 (display-buffer): Pass original specifier argument to
18113 display-buffer-function instead of the normalized one.
18114 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18115
18116 2011-06-22 Leo Liu <sdl.web@gmail.com>
18117
18118 * minibuffer.el (completing-read-function)
18119 (completing-read-default): Move from minibuf.c.
18120
18121 2011-06-22 Richard Stallman <rms@gnu.org>
18122
18123 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18124 to Rmail even if not started by a special Rmail command.
18125
18126 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18127 Copy the buffer currently showing just one message.
18128
18129 2011-06-22 Roland Winkler <winkler@gnu.org>
18130
18131 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18132 (bibtex-clean-entry): First delete the old key so that a
18133 customized algorithm for generating the new key does not get
18134 confused by the old key.
18135 (bibtex-url): Obey regexp of first step.
18136 (bibtex-search-entries): Do not use add-to-list with local
18137 list-var.
18138
18139 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18140
18141 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18142 stored a user name, then query for the password first, instead of
18143 waiting for SMTP to give an error message and the trying again.
18144
18145 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18146
18147 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18148 BUFFER in call-process.
18149
18150 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18151
18152 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18153 QUIT twice.
18154 (smtpmail-try-auth-methods): Require user name and password from
18155 auth-source.
18156
18157 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18158
18159 * window.el (display-buffer-default-specifiers)
18160 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18161 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18162 (split-window): Normalize SIDE argument (Bug#8916).
18163
18164 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18165 (special-display-frame-alist, special-display-popup-frame):
18166 Remove duplicate declarations. These are now in window.el.
18167
18168 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18169
18170 * mail/smtpmail.el (smtpmail-via-smtp):
18171 Set :use-starttls-if-possible so that we always use STARTTLS if the
18172 server supports it. SMTP servers that support STARTTLS commonly
18173 require it.
18174
18175 * net/network-stream.el (network-stream-open-starttls): Support
18176 upgrading to STARTTLS always, even if we don't have built-in support.
18177 (open-network-stream): Add the :always-query-capabilities keyword.
18178
18179 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18180 upgrades with `open-network-stream', and rely solely on
18181 auth-source for all credentials. Big changes throughout the file,
18182 but in particular:
18183 (smtpmail-auth-credentials): Remove.
18184 (smtpmail-starttls-credentials): Remove.
18185 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18186 MAIL FROM, too.
18187
18188 * net/network-stream.el (network-stream-open-starttls):
18189 Provide support for client certificates both for external and built-in
18190 STARTTLS.
18191 (auth-source): Require.
18192 (open-network-stream): Document the :client-certificate keyword.
18193 (network-stream-certificate): Change cert-cert to cert and
18194 cert-key to key.
18195
18196 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18197
18198 * net/tramp-cache.el (top): Don't load the persistency file when
18199 "emacs -Q" has been called.
18200
18201 2011-06-21 Tim Harper <timcharper@gmail.com>
18202
18203 * term/ns-win.el (ns-initialize-window-system):
18204 Set application-specific `ApplePressAndHoldEnabled' system
18205 resource to NO as it is not yet supported by the NS port.
18206
18207 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18208
18209 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18210 (list-dynamic-libraries): ...not here.
18211
18212 2011-06-21 Leo Liu <sdl.web@gmail.com>
18213
18214 * subr.el (sha1): Implement sha1 using secure-hash.
18215
18216 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18217
18218 * window.el (display-buffer-alist): In default value do not
18219 enforce searching a window on any but the selected frame.
18220 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18221 (display-buffer-select-window): Remove function.
18222 (display-buffer-in-window): When a window on another frame gets
18223 reused, do not select it any more but just raise its frame if
18224 necessary (Bug#8851) and (Bug#8856).
18225 (display-buffer-normalize-options): Handle pop-up-frames related
18226 options more faithfully.
18227 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18228 window if it is on another frame.
18229 (display-buffer-alist, display-buffer-default-specifiers):
18230 Don't make new frame unsplittable by default.
18231 (display-buffer-normalize-argument): Fix doc-string typo and use
18232 'same-frame-other-window instead of 'other-window when associating
18233 with display-buffer-macro-specifiers.
18234
18235 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18236
18237 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18238 New functions.
18239 (5x5-mode-map, 5x5-mode-menu): Bind them.
18240 (5x5-draw-grid): Tweak the solver's rendering.
18241
18242 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18243
18244 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18245 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18246
18247 2011-06-21 Drew Adams <drew.adams@oracle.com>
18248
18249 * menu-bar.el: Use function variable instead of switch-to-buffer.
18250 (menu-bar-select-buffer-function): New variable.
18251 (menu-bar-update-buffers): Use it (bug#8876).
18252
18253 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18254
18255 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18256 variable's status.
18257
18258 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18259
18260 * x-dnd.el (x-dnd-version-from-flags)
18261 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18262 and long as number (Bug#8899).
18263 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18264
18265 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18266
18267 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18268 (completion-try-completion, completion-all-completions): Compute the
18269 metadata argument if it's missing; make it optional (bug#8795).
18270
18271 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18272 (widget-complete): Use new :completion-function property.
18273 (widget-completions-at-point): New function.
18274 (default): Use :completion-function instead of :complete.
18275 (widget-default-completions): Rename from widget-default-complete;
18276 Rewrite.
18277 (widget-string-complete, widget-file-complete, widget-color-complete):
18278 Remove functions.
18279 (file, symbol, function, variable, coding-system, color):
18280 * international/mule-cmds.el (default-input-method, charset)
18281 (language-info-custom-alist):
18282 * cus-edit.el (face): Use new property :completions.
18283
18284 * progmodes/pascal.el (pascal-completions-at-point): New function.
18285 (pascal-mode): Use it.
18286 (pascal-mode-map): Use completion-at-point.
18287 (pascal-toggle-completions): Make obsolete.
18288 (pascal-complete-word, pascal-show-completions):
18289 * progmodes/octave-mod.el (octave-complete-symbol):
18290 Redefine as obsolete alias.
18291 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18292 Signal absence of completion info for old Octave,
18293 (inferior-octave-complete): Redefine as obsolete alias.
18294 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18295 (meta-completions-at-point): Rename from meta-complete-symbol and
18296 adapt it for use on completion-at-point-functions.
18297 (meta-common-mode): Use it.
18298 (meta-looking-at-backward, meta-match-buffer): Remove.
18299 (meta-complete-symbol): Redefine as obsolete alias.
18300 (meta-common-mode-map): Use completion-at-point.
18301 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18302 (makefile-mode-map): Use completion-at-point.
18303 (makefile-completions-at-point): Rename from makefile-complete and
18304 adapt it for use on completion-at-point-functions.
18305 (makefile-mode): Use it.
18306 (makefile-complete): Redefine as obsolete alias.
18307
18308 2011-06-20 Deniz Dogan <deniz@dogan.se>
18309
18310 * net/rcirc.el: Delete trailing whitespaces once and for all.
18311
18312 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18313
18314 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18315
18316 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18317
18318 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18319
18320 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18321
18322 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18323
18324 * window.el (display-buffer-other-window-means-other-frame):
18325 Call display-buffer-normalize-alist.
18326 (display-buffer-normalize-specifiers-1): Rename to
18327 display-buffer-normalize-argument. New argument other-frame.
18328 Rewrite.
18329 (display-buffer-normalize-specifiers-2): Rename to
18330 display-buffer-normalize-options.
18331 (display-buffer-normalize-alist-1): New function.
18332 (display-buffer-normalize-specifiers-3): Rename to
18333 display-buffer-normalize-alist.
18334 Call display-buffer-normalize-alist-1.
18335 (display-buffer-normalize-options-inhibit): New variable.
18336 (display-buffer-normalize-specifiers): Rewrite calling
18337 display-buffer-normalize-alist,
18338 display-buffer-normalize-argument, and
18339 display-buffer-normalize-options. Don't call the latter if
18340 display-buffer-normalize-options-inhibit is non-nil.
18341 (frame-auto-delete): New option.
18342 (window-deletable-p): Use frame-auto-delete.
18343 (window-list-no-nils, window-state-ignored-parameters)
18344 (window-state-get-1, window-state-get, window-state-put-list)
18345 (window-state-put-1, window-state-put-2, window-state-put):
18346 New functions.
18347 (display-buffer-normalize-options): Move special-display-p group
18348 after pop-up-frame group (Bug#8851) and (Bug#8856).
18349
18350 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18351
18352 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18353 groups (Bug#8776).
18354 (rx-submatch-n): New function.
18355 (rx): Document it.
18356
18357 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18358 (Bug#8768).
18359
18360 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18361
18362 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18363
18364 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18365 anytime existing face settings are present (Bug#8889).
18366
18367 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18368 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18369 Remove unused argument.
18370
18371 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18372
18373 * window.el (display-buffer-default-specifiers):
18374 Remove pop-up-frame. Add pop-up-window-min-height,
18375 pop-up-window-min-width, and another reuse-window specifier
18376 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18377 (display-buffer-normalize-specifiers-2):
18378 Handle split-height-threshold and split-width-threshold also when
18379 pop-up-windows is unset. Add a reuse-window specifier for the
18380 case popping up a new window fails.
18381 (special-display-popup-frame): Remove double quoting.
18382 (display-buffer-normalize-specifiers-1): Fix thinko.
18383
18384 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18385
18386 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18387 according to comint-completion-addsuffix.
18388
18389 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18390 (pcomplete-suffix-list): Mark as obsolete.
18391 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18392 pcomplete-seen in the closure.
18393 (pcomplete-comint-setup): Setup completion-at-point as well.
18394 (pcomplete--entries): New function.
18395 (pcomplete--env-regexp): New var.
18396 (pcomplete-entries): Rewrite to work with partial-completion and
18397 without relying on pcomplete-suffix-list.
18398 (pcomplete-pare-list): Remove, unused.
18399
18400 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18401
18402 * window.el (display-buffer-alist): Set pop-up-window-min-height
18403 and pop-up-window-min-width in default value. Reported by
18404 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18405 other-window-means-other-frame.
18406 (display-buffer-macro-specifiers): Comment out entry for
18407 other-window specifier.
18408 (display-buffer-other-window-means-other-frame): New function.
18409 (display-buffer-normalize-specifiers-1): New arguments
18410 buffer-name and label. Treat other-window case specially.
18411 (display-buffer-normalize-specifiers-2): Treat other-window case
18412 specially.
18413 (display-buffer-normalize-specifiers-3): New function.
18414 (display-buffer-normalize-specifiers):
18415 Call display-buffer-normalize-specifiers-3.
18416
18417 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18418
18419 * window.el (same-window-p): Fix two typos introduced when
18420 adding with-no-warnings.
18421 (display-buffer-normalize-specifiers-1): Don't check
18422 pop-up-frames for 'unset initialization.
18423 (display-buffer-normalize-specifiers-2): Major rewrite using
18424 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18425 (pop-up-frames, display-buffer-reuse-frames)
18426 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18427 Suggested by David Engster <deng@randomsample.de>.
18428 (even-window-heights): Initialize to 'unset.
18429 (display-buffer-alist-set): Handle new 'unset initializations.
18430 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18431 other window case.
18432
18433 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18434
18435 * window.el (display-buffer-normalize-specifiers-1):
18436 Respect current value of pop-up-frames for most reasonable values of
18437 second argument of display-buffer (Bug#8865).
18438 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18439 (switch-to-buffer-other-window-same-frame)
18440 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18441 Adams (Bug#8875).
18442 (display-buffer): Don't check noninteractive when calling
18443 display-buffer-pop-up-frame.
18444 (display-buffer-pop-up-frame): Never pop up a frame in
18445 noninteractive mode (Bug#8857).
18446 (enlarge-window, shrink-window): Don't report an error when the
18447 window can't be resized as requested (Bug#8862).
18448
18449 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18452
18453 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18454
18455 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18456
18457 2011-06-15 Alan Mackenzie <acm@muc.de>
18458
18459 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18460 for declarators, disable knr checking to speed up for normal files.
18461 2: Refactor, replacing a sequence of nested if forms by a cond form.
18462
18463 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18464
18465 * net/network-stream.el (open-network-stream): Add the keyword
18466 :always-query-capabilities for the case where you want to force a
18467 `plain' network connection, but the protocol still requires the
18468 capabilitiy command (i.e., SMTP and EHLO).
18469
18470 * subr.el (process-live-p): Rename from `process-alive-p' for
18471 consistency with other `-live-p' functions.
18472
18473 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18474
18475 * window.el (same-window-buffer-names, same-window-regexps)
18476 (special-display-frame-alist, special-display-popup-frame)
18477 (special-display-function, special-display-buffer-names)
18478 (special-display-regexps, pop-up-frame-alist)
18479 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18480 (pop-up-windows, split-window-preferred-function)
18481 (split-height-threshold, split-width-threshold, even-window-heights)
18482 (display-buffer-mark-dedicated): Don't encourage the use of
18483 display-buffer-alist from Elisp code.
18484
18485 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18486
18487 * progmodes/python.el (python-mode): Derive from prog-mode.
18488 * progmodes/ps-mode.el (ps-mode):
18489 * progmodes/mixal-mode.el (mixal-mode):
18490 * progmodes/cfengine.el (cfengine-mode):
18491 * progmodes/ld-script.el (ld-script-mode): Likewise.
18492
18493 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18494
18495 * window.el (display-buffer-alist): Trim default value to avoid
18496 popping up a new frame (Bug#8857) or reusing an arbitrary window
18497 on another frame.
18498 (display-buffer): Do not fall back on popping up a new frame in
18499 batch mode (Bug#8857).
18500
18501 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18502
18503 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18504 (custom-theme-summary): New function.
18505 (customize-themes): Use it.
18506
18507 2011-06-13 Glenn Morris <rgm@gnu.org>
18508
18509 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18510
18511 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18512
18513 * help.el (help-window): Remove variable.
18514 (help-window-point-marker, temp-buffer-max-height)
18515 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18516 (help-print-return-message): Don't set help-window.
18517 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18518 (help-window-setup-finish): Remove.
18519 (help-window-display-message, help-window-setup)
18520 (with-help-window): Major rewrite based on new
18521 display-buffer-window variable.
18522
18523 * help-mode.el (help-mode-finish): Remove help-window related
18524 code.
18525
18526 * view.el (view-exits-all-viewing-windows): Remove reference to
18527 view-return-to-alist in doc-string.
18528 (view-return-to-alist): Make obsolete.
18529 (view-buffer): Call pop-to-buffer-same-window and remove
18530 undo-window code.
18531 (view-buffer-other-window): Call pop-to-buffer-other-window and
18532 simplify code. Ignore second argument.
18533 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18534 simplify code. Ignore second argument.
18535 (view-return-to-alist-update): Make obsolete.
18536 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18537 Rewrite using quit-restore window parameters.
18538 (view-mode-exit): Rename second argument to EXIT-ONLY.
18539 Rewrite using quit-restore-window.
18540 (View-exit, View-exit-and-edit, View-leave, View-quit)
18541 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18542 appropriate arguments.
18543 (view-end-message): Use quit-restore window parameter.
18544
18545 * window.el (display-buffer-function): Rewrite doc-string.
18546 (display-buffer-window, display-buffer-alist): New variables.
18547 (display-buffer-split-specifiers)
18548 (display-buffer-side-specifiers)
18549 (display-buffer-macro-specifiers): New constants.
18550 (display-buffer-even-window-sizes, display-buffer-set-height)
18551 (display-buffer-set-width, display-buffer-select-window)
18552 (display-buffer-in-window, display-buffer-reuse-window)
18553 (display-buffer-split-window-1, display-buffer-split-window)
18554 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18555 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18556 (display-buffer-in-side-window, normalize-buffer-to-display)
18557 (display-buffer-normalize-specifiers-1)
18558 (display-buffer-normalize-specifiers-2)
18559 (display-buffer-normalize-specifiers, display-buffer-frame):
18560 New functions.
18561 (display-buffer): Major rewrite.
18562 (display-buffer-other-window, display-buffer-other-frame)
18563 (pop-to-buffer, switch-to-buffer-other-window)
18564 (switch-to-buffer-other-frame): Rewrite.
18565 (display-buffer-same-window, display-buffer-same-frame)
18566 (display-buffer-same-frame-other-window)
18567 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18568 (pop-to-buffer-other-window)
18569 (pop-to-buffer-same-frame-other-window)
18570 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18571 (switch-to-buffer-other-window-same-frame): New functions.
18572 (same-window-p, special-display-p): Rewrite disabling warnings.
18573 Make obsolete.
18574 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18575 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18576 Make obsolete
18577 (same-window-buffer-names, same-window-regexps)
18578 (special-display-frame-alist, special-display-popup-frame)
18579 (special-display-function, special-display-buffer-names)
18580 (special-display-regexps, pop-up-frame-alist)
18581 (pop-up-frame-function, split-window-preferred-function)
18582 (split-height-threshold, split-width-threshold)
18583 (even-window-heights): Make obsolete.
18584
18585 2011-06-12 Glenn Morris <rgm@gnu.org>
18586
18587 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18588 Misc simplifications.
18589
18590 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18591
18592 * window.el (window-safely-shrinkable-p): Restore function which
18593 was inadvertently removed in change from 2011-06-11. Declare as
18594 obsolete.
18595
18596 * calendar/calendar.el (calendar-generate-window):
18597 Use window-iso-combined-p instead of combination of one-window-p and
18598 window-safely-shrinkable-p.
18599
18600 2011-06-12 Glenn Morris <rgm@gnu.org>
18601
18602 * progmodes/fortran.el (fortran-mode-syntax-table):
18603 * progmodes/f90.el (f90-mode-syntax-table):
18604 Set % to punctuation. (Bug#8820)
18605 (f90-find-tag-default): Remove, no longer needed.
18606
18607 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18608
18609 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18610
18611 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * image.el (image-animated-p): Return animation delay in seconds.
18614 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18615 (image-animate-timeout): Remove DELAY argument. Don't assume
18616 every subimage has the same delay; get it from image-animated-p.
18617 (image-animate): Caller changed.
18618
18619 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18620
18621 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18622 to ignored backtrace functions.
18623
18624 2011-06-11 Glenn Morris <rgm@gnu.org>
18625
18626 * calendar/appt.el (appt-disp-window-function): Doc fix.
18627 (appt-check): Handle overlapping appointments. (Bug#8337)
18628
18629 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18630
18631 * window.el (window-tree-1, window-tree): New functions, moving
18632 the latter to window.el.
18633 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18634 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18635 (bw-refresh-edges): Remove.
18636 (balance-windows-1, balance-windows-2): New functions.
18637 (balance-windows): Rewrite in terms of window tree functions,
18638 balance-windows-1 and balance-windows-2.
18639 (bw-adjust-window): Remove.
18640 (balance-windows-area-adjust): New function with functionality of
18641 bw-adjust-window but using resize-window.
18642 (set-window-text-height): Rewrite doc-string.
18643 Use normalize-live-window and resize-window.
18644 (enlarge-window-horizontally, shrink-window-horizontally):
18645 Rename argument to DELTA.
18646 (window-buffer-height): New function.
18647 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18648 Rewrite using new window resize routines.
18649 (kill-buffer-and-window, mouse-autoselect-window-select):
18650 Use ignore-errors instead of condition-case.
18651 (quit-window): Call delete-frame instead of delete-windows-on
18652 for the only buffer on frame.
18653
18654 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18655
18656 * loadup.el (top-level): Load window before files for the sake
18657 of replace-buffer-in-windows.
18658
18659 * files.el (read-buffer-to-switch)
18660 (switch-to-buffer-other-window)
18661 (switch-to-buffer-other-frame, display-buffer-other-frame):
18662 Move to window.el.
18663
18664 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18665 (previous-buffer): Move to window.el.
18666
18667 * bindings.el (unbury-buffer): Move to window.el.
18668
18669 * window.el (delete-other-windows-vertically): Move after
18670 definition of delete-other-windows.
18671 (other-window, delete-windows-on, replace-buffer-in-windows):
18672 Move here from window.c.
18673 (record-window-buffer, unrecord-window-buffer)
18674 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18675 (switch-to-next-buffer): New functions.
18676 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18677 from simple.el. Call switch-to-next-buffer.
18678 (previous-buffer): Move here from simple.el.
18679 Call switch-to-prev-buffer.
18680 (bury-buffer): Move here from buffer.c. Switch to previous
18681 buffer when window cannot be deleted.
18682 (unbury-buffer): Move here from bindings.el.
18683 (ctl-x-map): Move binding for other-window from window.c to
18684 here.
18685 (read-buffer-to-switch, switch-to-buffer-other-window)
18686 (switch-to-buffer-other-frame): Move here from files.el.
18687 (normalize-buffer-to-switch-to): New functions.
18688 (switch-to-buffer): Move here from buffer.c.
18689 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18690
18691 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18692
18693 * window.el (window-min-height, window-min-width): Move here
18694 from window.c. Add defcustoms and rewrite doc-strings.
18695 (resize-mini-window, resize-window): New functions.
18696 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18697 Move here from window.c.
18698 (maximize-window, minimize-window): New functions.
18699 (delete-window, delete-other-windows, split-window): Move here
18700 from window.c.
18701 (window-split-min-size): New function.
18702 (split-window-keep-point): Mention split-window-above-each-other
18703 instead of split-window-vertically.
18704 (split-window-above-each-other, split-window-vertically):
18705 Rename split-window-vertically to split-window-above-each-other
18706 and provide defalias for old definition.
18707 (split-window-side-by-side, split-window-horizontally):
18708 Rename split-window-horizontally to split-window-side-by-side
18709 and provide defalias for the old definition.
18710 (ctl-x-map): Move bindings for delete-window,
18711 delete-other-windows and enlarge-window here from window.c.
18712 Replace bindings for split-window-vertically and
18713 split-window-horizontally by bindings for
18714 split-window-above-each-other and split-window-side-by-side.
18715
18716 * cus-start.el (all): Remove entries for window-min-height and
18717 window-min-width. Add entries for window-splits and
18718 window-nest.
18719
18720 2011-06-09 Glenn Morris <rgm@gnu.org>
18721
18722 * calendar/appt.el (appt-mode-line): New function.
18723 (appt-check, appt-disp-window): Use it.
18724
18725 * files.el (hack-one-local-variable-eval-safep):
18726 Allow minor-modes with explicit +/-1 arguments.
18727
18728 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18729
18730 * term/xterm.el (xterm): Add defgroup.
18731 (xterm-extra-capabilities): Add defcustom to supply known xterm
18732 capabilities, skip querying them, or query them (default).
18733 (terminal-init-xterm): Use it.
18734 (terminal-init-xterm-modify-other-keys): New function to set up
18735 modifyOtherKeys support to simplify `terminal-init-xterm'.
18736
18737 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18738
18739 * window.el (resize-window-reset, resize-window-reset-1)
18740 (resize-subwindows-skip-p, resize-subwindows-normal)
18741 (resize-subwindows, resize-other-windows, resize-this-window)
18742 (resize-root-window, resize-root-window-vertically)
18743 (window-deletable-p, window-or-subwindow-p)
18744 (frame-root-window-p): New functions.
18745
18746 2011-06-09 Glenn Morris <rgm@gnu.org>
18747
18748 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18749 (ange-ftp-get-files): Use it.
18750
18751 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18752
18753 * mail/sendmail.el (mail-recover-1, mail-recover):
18754 * files.el (recover-file, recover-session):
18755 Handle dired-listing-switches not being just a single short option.
18756
18757 2011-06-09 Glenn Morris <rgm@gnu.org>
18758
18759 * calendar/appt.el (appt-display-message, appt-disp-window):
18760 Handle lists of appointments.
18761
18762 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18763
18764 * window.el (one-window-p): Move down in code.
18765 Rewrite doc-string.
18766 (window-current-scroll-bars): Rewrite doc-string.
18767 Normalize live window argument.
18768 (walk-windows, get-window-with-predicate, count-windows):
18769 Rewrite doc-string. Use window-list-1.
18770 (window-in-direction-2, window-in-direction, get-mru-window):
18771 New functions.
18772
18773 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18774
18775 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18776 Doc fix (Bug#8713).
18777
18778 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18779
18780 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18781
18782 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18783
18784 * loadhist.el (unload-feature-special-hooks):
18785 Add `comint-output-filter-functions'.
18786
18787 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18788
18789 * calendar/appt.el (appt-check): Move some initializations into the let.
18790
18791 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18792
18793 * window.el (window-height): Defalias to window-total-height.
18794 (window-width): Defalias to window-body-width.
18795
18796 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18797
18798 * image-mode.el (image-toggle-animation): New command.
18799 (image-mode-map): Bind it to RET.
18800 (image-mode): Update message.
18801 (image-toggle-display-image): Avoid a spurious cache flush.
18802 (image-transform-rotation): Doc fix.
18803 (image-transform-properties): Return quickly in the normal case.
18804 (image-animate-loop): Rename from image-animate-max-time.
18805
18806 * image.el (image-animate-max-time): Move to image-mode.el.
18807 (create-animated-image): Remove unnecessary function.
18808 (image-animate): Rename from image-animate-start. New arg.
18809 (image-animate-stop): Remove; just use image-animate-timer.
18810 (image-animate-timer): Use car-safe.
18811 (image-animate-timeout): Rename argument.
18812
18813 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18814
18815 * window.el (get-lru-window, get-largest-window): Move here from
18816 window.c. Rename first argument to ALL-FRAMES.
18817 Rephrase doc-strings.
18818 (get-buffer-window-list): Rewrite using window-list-1.
18819 Rephrase doc-string.
18820 (window-safe-min-height, window-safe-min-width): New constants.
18821 (window-size-ignore, window-min-size, window-min-size-1)
18822 (window-sizable, window-sizable-p, window-size-fixed-1)
18823 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18824 (window-max-delta-1, window-max-delta, window-resizable)
18825 (window-resizable-p, window-total-height, window-total-width)
18826 (window-body-width): New functions.
18827 (window-full-height-p, window-full-width-p): Rewrite using
18828 window-total-size.
18829 (window-body-height): Rewrite using window-body-size.
18830
18831 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18832
18833 * window.el (window-right, window-left, window-child)
18834 (window-child-count, window-last-child, window-any-p)
18835 (normalize-live-buffer, normalize-live-frame)
18836 (normalize-any-window, normalize-live-window)
18837 (window-iso-combination-p, window-iso-combined-p)
18838 (window-iso-combinations)
18839 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18840 (windows-with-parameter, window-with-parameter)
18841 (window-atom-root, make-window-atom, window-atom-check-1)
18842 (window-atom-check, window-side-check, window-check):
18843 New functions.
18844 (ignore-window-parameters, window-sides, window-sides-vertical)
18845 (window-sides-slots): New variables.
18846 (window-size-fixed): Move down in code. Minor doc-string fix.
18847
18848 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18849
18850 * comint.el (comint-dynamic-complete-as-filename)
18851 (comint-dynamic-complete-filename): Correctly call
18852 completion-in-region.
18853
18854 2011-06-05 Deniz Dogan <deniz@dogan.se>
18855
18856 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18857 in last change.
18858
18859 2011-06-05 Deniz Dogan <deniz@dogan.se>
18860
18861 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18862 (rcirc): Use it to prompt for encryption.
18863
18864 2011-06-05 Roland Winkler <winkler@gnu.org>
18865
18866 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18867 (bibtex-search-entries): New command bound to C-c C-a.
18868 (bibtex-display-entries): New function.
18869
18870 2011-06-05 Roland Winkler <winkler@gnu.org>
18871
18872 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18873 (bibtex-insert-kill): After yanking insert newline if necessary.
18874 (bibtex-initialize): Call bibtex-string-files-init only once.
18875 (bibtex-mode): Do not call easy-menu-add.
18876 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18877 (bibtex-yank): Set arg properly if nil.
18878
18879 2011-06-05 Roland Winkler <winkler@gnu.org>
18880
18881 * textmodes/bibtex.el (bibtex-search-entry-globally):
18882 New variable.
18883 (bibtex-search-entry): Use it.
18884
18885 2011-06-05 Roland Winkler <winkler@gnu.org>
18886
18887 * textmodes/bibtex.el (bibtex-entry-format): New option
18888 sort-fields.
18889 (bibtex-format-entry, bibtex-reformat): Honor this option.
18890 (bibtex-parse-entry): Return fields in proper order.
18891
18892 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18893
18894 * doc-view.el (doc-view-remove-if): Move computation of result out
18895 of `dolist' to silence misleading lexical-binding warning.
18896
18897 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18898
18899 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18900 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18901
18902 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18903
18904 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18905 "SunOS 5.10".
18906
18907 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18908
18909 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18910 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18911 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18912 (tramp-parse-putty):
18913 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18914 (tramp-completion-function-alist-ssh)
18915 (tramp-completion-function-alist-telnet)
18916 (tramp-completion-function-alist-su)
18917 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18918 cookie.
18919
18920 * net/tramp-ftp.el:
18921 * net/tramp-sh.el:
18922 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18923 load "tramp.el" `tramp-set-completion-function'.
18924
18925 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18926
18927 * shell.el: Require and use pcomplete.
18928 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18929 (shell-completion-vars): Set pcomplete-default-completion-function.
18930
18931 2011-06-04 Deniz Dogan <deniz@dogan.se>
18932
18933 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18934 `memq' (Bug#8799).
18935
18936 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18939
18940 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18941
18942 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18943 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18944 * vc/log-view.el (log-view-beginning-of-defun):
18945 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18946 (smerge-refine-forward, smerge-refine-chopup-region):
18947 Silence warning for unused `dotimes' counter variables.
18948
18949 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18950
18951 * net/tramp.el (tramp-with-progress-reporter): Rename from
18952 with-progress-reporter. Use `declare'.
18953 * net/tramp-smb.el:
18954 * net/tramp-sh.el:
18955 * net/tramp-gvfs.el: Update all uses.
18956
18957 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18958
18959 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18960 buffer isn't killed before making it current.
18961
18962 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 Silence various byte-compiler warnings.
18965 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18966 `access-type' and new obsolescence format.
18967 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18968 new format.
18969 (byte-compile-check-variable): New `access-type' argument.
18970 Only warn if the access-type is obsolete.
18971 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18972 (byte-compile-variable-set): Adjust callers.
18973 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18974 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18975 setting it as obsolete.
18976 * simple.el (minibuffer-completing-symbol):
18977 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18978 access as obsolete.
18979 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18980 obsolete yet.
18981 * international/quail.el (quail-mouse-choose-completion): Remove unused
18982 code referring to obsolete var.
18983 (quail-choose-completion-string): Remove.
18984 * server.el (server-clients-with, server-kill-buffer-query-function)
18985 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18986 * proced.el (proced-send-signal):
18987 * emacs-lisp/lisp.el (lisp-complete-symbol):
18988 Replace completion-annotate-function with completion-extra-properties.
18989
18990 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18991
18992 * simple.el (goto-line): Use read-number.
18993 (overriding-map-is-bound): Remove.
18994 (saved-overriding-map): Change default.
18995 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18996 Take the map as argument.
18997 (universal-argument, negative-argument, digit-argument): Use it.
18998 (restore-overriding-map): Adjust.
18999 (do-auto-fill): Use fill-forward-paragraph.
19000 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19001
19002 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19003 (minibuffer-inactive-mode): New major mode.
19004 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19005 the *Messages* buffer" hack.
19006 (mouse-popup-menubar): Don't burp if the event is a normal key.
19007
19008 Miscellaneous tweaks.
19009 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19010 lexical scoping as in subr.el's dolist and dotimes.
19011 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19012 Silence compiler warning.
19013 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19014 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19015 * international/ccl.el (ccl-compile): Trivial simplification.
19016 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19017 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19018 `printflag' argument.
19019 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19020 Purecopy the whole obsolescence data.
19021
19022 2011-06-01 Leo Liu <sdl.web@gmail.com>
19023
19024 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19025 improve doc-string as suggested by Marco Pessotto
19026 <melmothx@gmail.com>.
19027 (rcirc-print): Fix last change.
19028
19029 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * minibuffer.el (complete-with-action): Return nil for the metadata and
19032 boundaries of non-functional tables.
19033 (completion-table-dynamic): Return nil for the metadata.
19034 (completion-table-with-terminator): Add default case, using
19035 complete-with-action.
19036 (completion--metadata): New function.
19037 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19038 to try and avoid pathological performance problems.
19039 (completion--embedded-envvar-table): Return `category' metadata.
19040
19041 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19042
19043 * subr.el (process-alive-p): New tiny convenience function.
19044
19045 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19046
19047 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19048 content but also its previous major mode.
19049
19050 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19051
19052 * emacs-lisp/debug.el (debug): Restore the previous content of the
19053 *Backtrace* buffer when we exit with C-M-c.
19054
19055 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19056
19057 * minibuffer.el: Add metadata method to completion tables.
19058 (completion-category-overrides): New defcustom.
19059 (completion-metadata, completion--field-metadata)
19060 (completion-metadata-get, completion--styles)
19061 (completion--cycle-threshold): New functions.
19062 (completion-try-completion, completion-all-completions):
19063 Add `metadata' argument to choose completion-styles.
19064 (completion--do-completion): Use metadata to choose cycling.
19065 (completion-all-sorted-completions): Use metadata for sorting.
19066 Remove :completion-cycle-penalty which is not needed any more.
19067 (completion--try-word-completion): Add `metadata' argument.
19068 (minibuffer-completion-help): Check metadata for annotation function
19069 and sorting.
19070 (completion-file-name-table): Return `category' metadata.
19071 (minibuffer-completing-file-name): Make obsolete.
19072 * simple.el (minibuffer-completing-symbol): Make obsolete.
19073 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19074 completion-try-completion.
19075
19076 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19077
19078 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19079
19080 2011-05-30 Leo Liu <sdl.web@gmail.com>
19081
19082 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19083 (rcirc-print): Decode all incoming messages (bug#8744).
19084 (rcirc-decode-coding-system): Allow value nil for automatic coding
19085 system detection.
19086
19087 2011-06-01 Glenn Morris <rgm@gnu.org>
19088
19089 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19090
19091 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19092
19093 * image.el (image-animate-max-time): Allow nil and t values.
19094 Default to nil.
19095 (create-animated-image): Doc fix.
19096 (image-animate-start): Remove second arg; just use
19097 image-animate-max-time.
19098 (image-animate-timeout): Doc fix. Args changed.
19099
19100 * image-mode.el (image-toggle-display-image): Ensure that the
19101 image spec passed to the animate timer is the same object as in
19102 the buffer's display property (Bug#6981).
19103 (image-transform-properties): Doc fix.
19104
19105 * image.el (image-animate-max-time): Default to nil.
19106
19107 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19108
19109 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19110 entire buffer list (Bug#8184).
19111
19112 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19113
19114 * image.el (imagemagick-types-inhibit)
19115 (imagemagick-register-types): Doc fix.
19116
19117 2011-05-29 Deniz Dogan <deniz@dogan.se>
19118
19119 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19120 default.
19121
19122 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19123
19124 * select.el: Don't perform clipboard-manager saving in hooks;
19125 leave the hooks empty.
19126
19127 2011-05-28 Leo Liu <sdl.web@gmail.com>
19128
19129 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19130 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19131 (occur-edit-mode): New major mode (Bug#8463).
19132 (occur-after-change-function): New function.
19133 (occur-engine): Give Occur tags a read-only property.
19134
19135 2011-05-28 Kevin Ryde <user42@zip.com.au>
19136
19137 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19138
19139 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19140
19141 * bindings.el (help-echo): Make the initial non-indicator dash
19142 empty on graphical terminals (Bug#7295).
19143
19144 * files.el (auto-mode-alist): Move config rule after the
19145 in-stripping one (Bug#8547).
19146
19147 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19148
19149 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19150 setting (Bug#8740).
19151
19152 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19153
19154 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19155 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19156 (Bug#8539).
19157
19158 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19159
19160 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19161
19162 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19163
19164 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19165 (hs-hide-block-at-point, hs-find-block-beginning)
19166 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19167 (Bug#8279).
19168
19169 2011-05-28 Glenn Morris <rgm@gnu.org>
19170
19171 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19172
19173 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19174
19175 * help-fns.el (describe-function-1): If the function is a derived
19176 major mode, print the parent mode.
19177
19178 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19179 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19180
19181 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19182
19183 * minibuffer.el (completion--capf-wrapper): Check applicability before
19184 returning non-nil for non-exclusive completion data.
19185 * progmodes/etags.el (tags-completion-at-point-function):
19186 * info-look.el (info-lookup-completions-at-point): Mark as
19187 non-exclusive.
19188 (info-complete): Adjust accordingly.
19189
19190 * info-look.el: Convert to lexical-binding and completion-at-point.
19191 (info-lookup-completions-at-point): New function.
19192 (info-complete): Use it and completion-in-region.
19193
19194 2011-05-28 Drew Adams <drew.adams@oracle.com>
19195
19196 * isearch.el: Let M-e start with point at the first mismatched char.
19197 (isearch-fail-pos): New function.
19198 (isearch-edit-string): Use it.
19199
19200 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19201
19202 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19203
19204 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19205
19206 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19207 traversal functions for avl-trees.
19208 (avl-tree--stack): New struct.
19209 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19210 (avl-tree-enter): Add optional `updatefun' arg.
19211 (avl-tree--do-enter): Add optional `updatefun' arg.
19212 Change return value.
19213 (avl-tree-delete): Add optional `test' and `nilflag' args.
19214 (avl-tree--do-delete): Add `test' and `nilflag' args.
19215 Change return value.
19216 (avl-tree-member): Add optional `nilflag'
19217 (avl-tree-member-p): New function.
19218 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19219 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19220 (avl-tree-stack-empty-p): New functions.
19221
19222 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19223 avl-tree--del-balance1 and make it work both ways.
19224 (avl-tree--del-balance2): Remove.
19225 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19226 make it work both ways.
19227 (avl-tree--enter-balance2): Remove.
19228 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19229 New macros.
19230 (avl-tree--mapc, avl-tree-map): Add direction argument.
19231
19232 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19233
19234 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19235
19236 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19237
19238 * select.el: Support clipboard managers with built-in function
19239 x-clipboard-manager-save, via delete-frame-functions and
19240 kill-emacs-hook.
19241 (xselect-convert-to-targets): Add MULTIPLE target to list.
19242 (xselect-convert-to-save-targets): New function.
19243
19244 2011-05-27 Kenichi Handa <handa@m17n.org>
19245
19246 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19247 let-binding rfc2047-encode-encoded-words to nil.
19248
19249 2011-05-27 Glenn Morris <rgm@gnu.org>
19250
19251 * mail/emacsbug.el: Don't require url-util.
19252
19253 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19254
19255 * files.el (set-auto-mode):
19256 Also respect mode: entries at the end of the file. (Bug#8586)
19257
19258 2011-05-26 Glenn Morris <rgm@gnu.org>
19259
19260 * files.el (hack-local-variables-prop-line, hack-local-variables):
19261 Downcase mode names, as seems to be traditional.
19262 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19263
19264 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19265 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19266
19267 2011-05-25 Julien Danjou <julien@danjou.info>
19268
19269 * textmodes/rst.el (rst-define-level-faces): Do not define face
19270 symbol if it is already defined.
19271
19272 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19273
19274 * play/5x5.el (5x5-new-game, 5x5-randomize):
19275 Reset 5x5-solver-output to nil when a new grid is cast.
19276 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19277 these debugging traces, as defmacro breaks the compiled code.
19278
19279 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19280
19281 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19282
19283 2011-05-24 Leo Liu <sdl.web@gmail.com>
19284
19285 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19286 (vc-bzr-sha1): Adapt.
19287
19288 * sha1.el: Remove. Function `sha1' is now builtin.
19289
19290 * bindings.el: Provide sha1 feature.
19291
19292 2011-05-24 Kenichi Handa <handa@m17n.org>
19293
19294 * mail/sendmail.el: Require `rfc2047'.
19295 (mail-insert-from-field): Do not perform RFC2047 encoding.
19296 (mail-encode-header): New function.
19297 (sendmail-send-it): Set buffer-file-coding-system of the work
19298 buffer to the return value of select-message-coding-system.
19299 Call mail-encode-header.
19300
19301 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19302
19303 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19304
19305 * mail/supercite.el (sc-default-cite-frame):
19306 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19307
19308 2011-05-24 Glenn Morris <rgm@gnu.org>
19309
19310 * progmodes/python.el (brm-menu): Declare.
19311
19312 * emulation/viper.el (viper-set-hooks): Declare.
19313
19314 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19315 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19316 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19317 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19318 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19319 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19320
19321 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 Add an :exit-function for completion-at-point.
19324
19325 * minibuffer.el (completion--done): New fun.
19326 (completion--do-completion): Use it. New arg `expect-exact'.
19327 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19328 since completion--do-completion does it for us now.
19329 (minibuffer-force-complete): Use completion--done and
19330 completion--replace. Handle sole-completion case with more care.
19331 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19332 (completion-extra-properties): New var.
19333 (completion-annotate-function): Make obsolete.
19334 (minibuffer-completion-help): Adjust accordingly.
19335 Use completion-list-insert-choice-function.
19336 (completion-at-point, completion-help-at-point):
19337 Bind completion-extra-properties.
19338 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19339 * simple.el (completion-list-insert-choice-function): New var.
19340 (completion-setup-function): Preserve it.
19341 (choose-completion): Pay attention to it, shuffle the code a bit.
19342 (choose-completion-string): New arg `insert-function'.
19343
19344 * textmodes/bibtex.el: Convert to lexical binding.
19345 (bibtex-mode-map): Use completion-at-point.
19346 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19347 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19348 (bibtex-complete): Define as obsolete alias.
19349 (bibtex-complete-internal): Remove.
19350 (bibtex-format-entry): Remove unused sub-group in regexp.
19351 * shell.el (shell--command-completion-data)
19352 (shell-environment-variable-completion):
19353 * pcomplete.el (pcomplete-completions-at-point):
19354 * comint.el (comint--complete-file-name-data): Use :exit-function
19355 instead of completion-table-with-terminator so it also works for
19356 choose-completion.
19357
19358 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19359
19360 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19361
19362 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19363 (bug#8710).
19364
19365 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19366
19367 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19368
19369 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19370 customization variable and implement: If non-nil, auto-fill will
19371 be inhibited while on topic's header line.
19372
19373 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19374
19375 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19376 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19377 always have a solution in grid size = 5 cases.
19378 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19379 (5x5-solver-output, 5x5-log-buffer): New vars.
19380 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19381 Make these variables buffer local to achieve 5x5 multi-session-ness.
19382 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19383 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19384 (5x5-solve-suggest): New funs.
19385 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19386 randomize a grid so that we ensure that there is always a solution.
19387 (5x5-make-random-grid): Allow other movement than flipping.
19388
19389 2011-05-23 Kevin Ryde <user42@zip.com.au>
19390
19391 * emacs-lisp/advice.el (ad-read-advised-function):
19392 Use `function-called-at-point' as the default, if it has
19393 advice and passes PREDICATE.
19394
19395 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19398 byte-compile-lambda if it's actually a lambda.
19399
19400 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19401 Fix function quoting. Use backquote better.
19402
19403 2011-05-22 Yuanle Song <sylecn@gmail.com>
19404
19405 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19406 matching (Bug#8516).
19407
19408 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19409
19410 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19411 different face (Bug#8178).
19412
19413 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19414
19415 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19416 defface (Bug#8144).
19417
19418 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19419
19420 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19421 funcall as well (bug#8712). Warn when performing those conversions.
19422 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19423
19424 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19425
19426 2011-05-22 Glenn Morris <rgm@gnu.org>
19427
19428 * files.el (hack-local-variables-prop-line): Small simplifications.
19429 (hack-local-variables, hack-local-variables-prop-line):
19430 If MODE-ONLY, return the mode, rather than just `t'.
19431
19432 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19433
19434 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19435
19436 2011-05-21 Glenn Morris <rgm@gnu.org>
19437
19438 * files.el (hack-local-variables-prop-line, hack-local-variables):
19439 If only interested in the mode, don't bother doing the other stuff.
19440
19441 * image-mode.el (image-after-revert-hook):
19442 Redraw all frames on which the image is visible. (Bug#8567)
19443
19444 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19445
19446 * wid-edit.el (widget-checklist-match-inline):
19447 Fix 2011-04-19 change. (Bug#8649)
19448
19449 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19452 Also allow singlespace after single-letter capitals followed by a dot.
19453
19454 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19455 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19456
19457 2011-05-20 Nix <nix@esperi.org.uk>
19458
19459 * files.el (basic-save-buffer-2):
19460 Fix handling of break-hardlink-on-save with non-existent files.
19461
19462 2011-05-19 Deniz Dogan <deniz@dogan.se>
19463
19464 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19465 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19466
19467 2011-05-19 Glenn Morris <rgm@gnu.org>
19468
19469 * progmodes/f90.el (f90-type-def-re):
19470 Handle "type, bind(c)". (Bug#8691)
19471
19472 * emacs-lisp/autoload.el (batch-update-autoloads):
19473 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19474
19475 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19476
19477 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19478 property for the correct connection in case of multihops.
19479
19480 2011-05-18 Glenn Morris <rgm@gnu.org>
19481
19482 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19483 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19484
19485 Rationalize calendar handling of day and month abbrev-arrays.
19486 * calendar/calendar.el (calendar-customized-p): New function.
19487 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19488 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19489 Add :set function.
19490 (calendar-abbrev-length, calendar-day-abbrev-array)
19491 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19492 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19493 Elements may no longer be nil.
19494 (calendar-day-name, calendar-month-name):
19495 Update for changed nature of abbrev arrays.
19496 * calendar/diary-lib.el (diary-name-pattern):
19497 Update for changed nature of abbrev arrays.
19498 (diary-mark-entries-1): Update calendar-make-alist calls.
19499 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19500 * calendar/cal-html.el (cal-html-day-abbrev-array):
19501 Simply inherit from calendar-day-abbrev-array.
19502
19503 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19504
19505 * progmodes/grep.el (grep-mode): Disable default
19506 compilation-directory-matcher setting (bug#8684).
19507
19508 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19509
19510 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19511 instead of "head" and "tail". There were problems with SunOS 5.9,
19512 and it performs better.
19513
19514 2011-05-17 Glenn Morris <rgm@gnu.org>
19515
19516 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19517
19518 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19519 Replace obsolete function.
19520
19521 * shell.el (pcomplete-parse-arguments-function): Declare.
19522
19523 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19524 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19525 (appt-check): Doc fixes.
19526 (appt-disp-window-function, appt-delete-window-function):
19527 Remove needless special case in custom :type.
19528 (appt-display-count): Default to 0, not nil.
19529 (appt-check): Reset appt-display-count to 0, not nil.
19530
19531 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19532
19533 * progmodes/python.el (python-font-lock-keywords):
19534 Add the Python 3.X keyword "nonlocal" (bug#8639).
19535
19536 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19537
19538 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19539
19540 2011-05-16 Kevin Ryde <user42@zip.com.au>
19541
19542 * info-look.el (makefile-automake-mode): New setups, looking in
19543 automake manual, then makefile-mode.
19544 (makefile-mode): Remove automake manual, have it just in
19545 makefile-automake-mode since there's various things different or
19546 not relevant to plain make.
19547 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19548 believe a hypothetical automake-mode would go to makefile-mode,
19549 not the other way around.
19550
19551 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19552
19553 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19554 hunk-end tags (Bug#8672).
19555
19556 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19557 vc-annotate-show-diff-revision-at-line (Bug#8671).
19558
19559 2011-05-14 Glenn Morris <rgm@gnu.org>
19560
19561 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19562 in the middle of an existing one with multiple authors. (Bug#8645)
19563 (change-log-font-lock-keywords): Also handle multiple author lines
19564 with leading tabs. (Bug#8644)
19565
19566 * calendar/appt.el (appt-check): Rename some local variables.
19567 Some simplification/reordering.
19568
19569 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19570 (feedmail-sendmail-f-doesnt-sell-me-out)
19571 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19572 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19573 (feedmail-queue-runner-message-sender): Set :version.
19574 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19575 (bbdb-dwim-net-address, vm-mail): Declare.
19576 (feedmail-binmail-gnulinuxish-template):
19577 Rename from feedmail-binmail-linuxish-template.
19578 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19579 Use insert-buffer-substring.
19580
19581 2011-05-14 Bill Carpenter <bill@carpenter.org>
19582
19583 * mail/feedmail.el (feedmail-patch-level): Increase.
19584 (feedmail-debug): New custom group.
19585 (feedmail-confirm-outgoing-timeout)
19586 (feedmail-sendmail-f-doesnt-sell-me-out)
19587 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19588 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19589 (feedmail-sender-line, feedmail-from-line)
19590 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19591 (feedmail-spray-this-address)
19592 (feedmail-spray-address-fiddle-plex-list)
19593 (feedmail-queue-use-send-time-for-date)
19594 (feedmail-queue-use-send-time-for-message-id)
19595 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19596 (feedmail-buffer-eating-function):
19597 Doc fixes.
19598 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19599 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19600 (feedmail-message-action-scroll-down): New functions.
19601 (feedmail-queue-directory, feedmail-queue-draft-directory):
19602 Use expand-file-name.
19603 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19604 Remove C-v help entry.
19605 (feedmail-queue-buffer-file-name): New variable.
19606 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19607 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19608 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19609 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19610 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19611 (feedmail-message-action-toggle-spray)
19612 (feedmail-run-the-queue-no-prompts)
19613 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19614 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19615 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19616 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19617 (feedmail-envelope-deducer, feedmail-fiddle-from)
19618 (feedmail-fiddle-sender, feedmail-default-date-generator)
19619 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19620 (feedmail-fiddle-spray-address)
19621 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19622 (feedmail-fiddle-list-of-fiddle-plexes)
19623 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19624 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19625 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19626 Change default. Doc fix.
19627 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19628 (feedmail-binmail-linuxish-template): New constant.
19629 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19630 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19631 (feedmail-send-it): Add debug call.
19632 Use feedmail-queue-buffer-file-name, and
19633 feedmail-send-it-immediately-wrapper.
19634 (feedmail-message-action-send): Add debug call.
19635 Use feedmail-send-it-immediately-wrapper.
19636 (feedmail-queue-express-to-queue): Add debug call.
19637 Run feedmail-queue-express-hook.
19638 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19639 (feedmail-message-action-help-blat):
19640 Rename from feedmail-queue-send-edit-prompt-help-first.
19641 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19642 Check line-endings. Handle errors better.
19643 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19644 Doc fix. Add debug call.
19645 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19646 Use feedmail-queue-send-edit-prompt-inner.
19647 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19648 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19649 from feedmail-queue-send-edit-prompt.
19650 (feedmail-queue-send-edit-prompt-help)
19651 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19652 (feedmail-tidy-up-slug): Add debug call.
19653 Respect feedmail-queue-slug-suspect-regexp.
19654 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19655 (feedmail-dump-message-to-queue): Add debug call.
19656 Expand queue-directory.
19657 (feedmail-dump-message-to-queue): Change message slightly.
19658 Use feedmail-say-chatter.
19659 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19660 (feedmail-send-it-immediately-wrapper): New function.
19661 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19662 Insert empty string rather than newline. Handle full-frame case.
19663 Use catch/throw. Use feedmail-say-chatter.
19664 (feedmail-fiddle-from): Try mail-host-address.
19665 (feedmail-default-message-id-generator): Doc fix.
19666 Bind system-time-locale. Handle missing end.
19667 (feedmail-fiddle-x-mailer): Add debug call.
19668 Handle feedmail-x-mailer-line being nil.
19669 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19670 Add debug call. Use buffer-substring-no-properties.
19671 (feedmail-say-debug, feedmail-say-chatter): New functions.
19672 (feedmail-find-eoh): Give an explicit error.
19673
19674 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19675
19676 * net/newst-treeview.el (newsticker-treeview-face): Change default
19677 family from helvetica to sans.
19678 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19679 etc/images/newsticker.
19680
19681 * net/newst-reader.el (newsticker-feed-face): Change default
19682 family from helvetica to sans.
19683
19684 * net/newst-plainview.el (newsticker-new-item-face)
19685 (newsticker-old-item-face, newsticker-immortal-item-face)
19686 (newsticker-obsolete-item-face, newsticker-date-face)
19687 (newsticker-statistics-face): Change default family from
19688 helvetica to sans.
19689 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19690 etc/images/newsticker.
19691
19692 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19693 (newsticker--process-auto-mark-filter-match): Tell user about
19694 auto-marking.
19695
19696 2011-05-13 Didier Verna <didier@xemacs.org>
19697
19698 Common Lisp indentation improvements on defmethod and lambda-lists.
19699 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19700 TODO entries.
19701 (lisp-lambda-list-keyword-parameter-indentation)
19702 (lisp-lambda-list-keyword-parameter-alignment)
19703 (lisp-lambda-list-keyword-alignment): New customizable user options.
19704 (lisp-indent-defun-method): Improve docstring.
19705 (extended-loop-p): Fix comment.
19706 (lisp-indent-lambda-list-keywords-regexp): New variable.
19707 (lisp-indent-lambda-list): New function.
19708 (lisp-indent-259): Use it.
19709 (lisp-indent-defmethod): Support for more than one
19710 method qualifier and properly indent methods lambda-lists.
19711 (defgeneric): Provide a missing common-lisp-indent-function property.
19712
19713 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19714
19715 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19716 bounds for the empty string (bug#8667).
19717
19718 2011-05-13 Glenn Morris <rgm@gnu.org>
19719
19720 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19721
19722 * mail/sendmail.el (sendmail-program): Try executable-find first.
19723 (sendmail-send-it): `sendmail-program' cannot be unbound.
19724
19725 * calendar/appt.el (appt-make-list): Simplify.
19726 (appt-time-msg-list): Doc fix.
19727 (appt-check): Change mode-line message at the time of the appointment.
19728
19729 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19730
19731 * progmodes/ld-script.el (ld-script-keywords)
19732 (ld-script-builtins): Update keywords list.
19733
19734 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19735
19736 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19737
19738 * shell.el (shell-completion-vars): New function.
19739 (shell-mode):
19740 * simple.el (read-shell-command): Use it.
19741 (blink-matching-open): No need for " [...]" in minibuffer-message.
19742
19743 2011-05-12 Glenn Morris <rgm@gnu.org>
19744
19745 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19746 (appt-check): Simplify.
19747
19748 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19749
19750 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19751 literal "/dev/null".
19752
19753 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19756 Fix typo.
19757
19758 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19759
19760 * progmodes/which-func.el (which-function):
19761 Use add-log-current-defun instead of add-log-current-defun-function,
19762 which might not be defined (Bug#8260).
19763
19764 2011-05-12 Glenn Morris <rgm@gnu.org>
19765
19766 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19767 Let byte-compile-initial-macro-environment always take precedence.
19768
19769 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19770
19771 * net/rcirc.el: Add support for SSL/TLS connections.
19772 (rcirc-server-alist): New field `encryption'.
19773 (rcirc): Check `encryption' settings.
19774 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19775 Merge make-local-variable into `set'.
19776 (rcirc--connection-open-p): New function.
19777 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19778 the process is not a network process (e.g. running gnutls-cli).
19779 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19780 Make rcirc-(en|de)code-coding-system local here.
19781 (rcirc-mode): Merge make-local-variable into `set'.
19782 (rcirc-parent-buffer): Make permanent buffer-local.
19783 (rcirc-multiline-minor-mode): Don't do it here.
19784 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19785 there's no server buffer.
19786
19787 2011-05-11 Glenn Morris <rgm@gnu.org>
19788
19789 * newcomment.el (comment-kill): Prefix "unused" local.
19790
19791 * term/w32console.el (get-screen-color): Declare.
19792
19793 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19794 Handle symbol elements of byte-compile-initial-macro-environment.
19795
19796 2011-05-10 Leo Liu <sdl.web@gmail.com>
19797
19798 * bookmark.el (bookmark-bmenu-mode-map):
19799 Bind bookmark-bmenu-search to `/'.
19800
19801 * mail/footnote.el: Convert to utf-8 encoding.
19802 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19803 (Footnote-unicode): New function.
19804 (footnote-style-alist): Add unicode style to the list.
19805 (footnote-style): Doc fix.
19806
19807 2011-05-10 Jim Meyering <meyering@redhat.com>
19808
19809 Fix doubled-word typos.
19810 * international/quail.el (quail-insert-kbd-layout): and and -> and
19811 * kermit.el: and and -> and
19812 * net/ldap.el (ldap-search-internal): to to -> to
19813 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19814 * progmodes/js.el (js-mode): and and -> and
19815 * textmodes/artist.el (artist-move-to-xy): at at -> at
19816 (artist-draw-region-trim-line-endings): if if -> if
19817 And Safetyc -> Safety.
19818 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19819
19820 2011-05-10 Glenn Morris <rgm@gnu.org>
19821 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * files.el (hack-one-local-variable-eval-safep):
19824 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19825
19826 2011-05-10 Glenn Morris <rgm@gnu.org>
19827
19828 * calendar/diary-lib.el (diary-list-entries-hook)
19829 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19830 (diary-nongregorian-marking-hook, diary-list-entries)
19831 (diary-include-other-diary-files, diary-mark-entries)
19832 (diary-mark-included-diary-files): Doc fixes.
19833
19834 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19835
19836 * misc.el: Require tabulated-list.el during compilation.
19837
19838 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19839
19840 * progmodes/compile.el (compilation-start):
19841 Run compilation-filter-hook for the async case too.
19842 (compilation-filter-hook): Doc fix.
19843
19844 2011-05-09 Deniz Dogan <deniz@dogan.se>
19845
19846 * wdired.el: Remove outdated installation comment. Fix usage
19847 comment.
19848
19849 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19850
19851 * misc.el: Implement new command `list-dynamic-libraries'.
19852 (list-dynamic-libraries--loaded-only-p): New variable.
19853 (list-dynamic-libraries--refresh): New function.
19854 (list-dynamic-libraries): New command.
19855
19856 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19857
19858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19859 Fix the ant regexp to handle end-line and end-column info from jikes.
19860 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19861 higher priority to avoid clobbering by gnu.
19862
19863 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19864
19865 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19866 if the face has existing theme settings (Bug#8454).
19867
19868 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19869
19870 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19871 Only match variables declared via `my' or `our' (Bug#8261).
19872
19873 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19874 special file names `.' and `..' (Bug#8259).
19875
19876 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19877
19878 * progmodes/grep.el (grep-mode-font-lock-keywords):
19879 Remove buffer-changing entries.
19880 (grep-filter): New function.
19881 (grep-mode): Add it to compilation-filter-hook.
19882
19883 * progmodes/compile.el (compilation-filter-hook)
19884 (compilation-filter-start): New defvars.
19885 (compilation-filter): Call compilation-filter-hook prior to
19886 updating the process mark.
19887
19888 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19889
19890 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19891
19892 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19893
19894 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19895 mailclient-send-it even if window-system is nil. (Bug#8595)
19896
19897 * term/w32console.el (terminal-init-w32console):
19898 Call get-screen-color and use its output to set the frame
19899 background-mode. (Bug#8597)
19900
19901 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19902
19903 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19904 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19905 New functions.
19906 (defgeneric, eieio--defmethod): Use them.
19907 (eieio-defgeneric): Remove.
19908 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19909
19910 2011-05-07 Glenn Morris <rgm@gnu.org>
19911
19912 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19913 Use let rather than let*.
19914 (timeclock-find-discrep): Remove unused local.
19915
19916 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19917
19918 * calendar/appt.el (appt-time-msg-list): Doc fix.
19919
19920 2011-05-06 Noah Friedman <friedman@splode.com>
19921
19922 * apropos.el (apropos-print-doc): Only use
19923 emacs-lisp-docstring-fill-column when it is bound to an integer,
19924 per that variable's documentation.
19925
19926 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19927
19928 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19929 and warnings are not silently discarded (e.g. use -d instead of -P).
19930
19931 2011-05-06 Glenn Morris <rgm@gnu.org>
19932
19933 * calendar/appt.el (appt-message-warning-time): Doc fix.
19934 (appt-warning-time-regexp): New option.
19935 (appt-make-list): Respect appt-message-warning-time.
19936
19937 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19938 New options.
19939 (diary-add-to-list): Strip comments from the displayed string.
19940 (diary-mode): Set comment-start and comment-end.
19941
19942 * vc/diff-mode.el (smerge-refine-subst): Declare.
19943 (diff-refine-hunk): Don't require smerge-mode when compiling.
19944
19945 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19946
19947 * simple.el (list-processes): Return nil as the docstring says.
19948
19949 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19950
19951 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19952 to "".
19953 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19954 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19955 determining of binary transfer. (Bug#7383)
19956
19957 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19958
19959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19960 Fix port computation bug. (Bug#8618)
19961
19962 2011-05-05 Glenn Morris <rgm@gnu.org>
19963
19964 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19965
19966 * simple.el (shell-dynamic-complete-functions)
19967 (comint-dynamic-complete-functions): Declare.
19968
19969 * net/network-stream.el (gnutls-negotiate):
19970 * simple.el (tabulated-list-print): Fix declarations.
19971
19972 * progmodes/gud.el (syntax-symbol, syntax-point):
19973 Remove unnecessary and incorrect declarations.
19974
19975 * emacs-lisp/check-declare.el (check-declare-scan):
19976 Handle byte-compile-initial-macro-environment in bytecomp.el.
19977
19978 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 Fix earlier half-done eieio-defmethod change (bug#8338).
19981 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19982 Streamline and change calling convention.
19983 (defmethod): Adjust accordingly and simplify.
19984 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19985 new eieio--defmethod.
19986 (slot-boundp): Minor CSE simplification.
19987
19988 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19989
19990 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19991 (glasses-make-readable): Use glasses-separate-capital-groups.
19992
19993 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19994
19995 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19996 (warning-series): Doc fix.
19997 (display-warning): Don't try to create the buffer if we just found it.
19998
19999 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20000
20001 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20002 (autoload-find-generated-file): New function.
20003 (generate-file-autoloads): Bind generated-autoload-file to
20004 buffer-file-name.
20005 (update-file-autoloads, update-directory-autoloads):
20006 Use autoload-find-generated-file. If called interactively, prompt for
20007 output file (Bug#7989).
20008 (batch-update-autoloads): Doc fix.
20009
20010 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20011
20012 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20013
20014 2011-05-04 Glenn Morris <rgm@gnu.org>
20015
20016 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20017 function, so it follows changes in calendar-date-style.
20018 (diary-fancy-date-matcher): New function.
20019 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20020 (diary-fancy-font-lock-fontify-region-function):
20021 Use diary-fancy-date-pattern as a function.
20022
20023 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20024 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20025
20026 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20027
20028 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20029 instead of positional arguments. Allow :keylist and :crlfiles
20030 arguments.
20031 (open-gnutls-stream): Call it.
20032
20033 * net/network-stream.el (network-stream-open-starttls): Adjust to
20034 call `gnutls-negotiate' with :process and :hostname arguments.
20035
20036 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20037
20038 * minibuffer.el (completion--message): New function.
20039 (completion--do-completion, minibuffer-complete)
20040 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20041 (completion--do-completion): Don't ignore completion-auto-help when in
20042 icomplete-mode.
20043
20044 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20045 internal encoding (e.g. tibetan zero is not whitespace).
20046 (global-whitespace-mode): Prefer save-current-buffer.
20047 (whitespace-trailing-regexp): Remove useless save-match-data.
20048 (whitespace-empty-at-bob-regexp): Minor simplification.
20049
20050 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20051
20052 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20053
20054 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20055
20056 * textmodes/ispell.el (ispell-add-per-file-word-list):
20057 Use `concat' to create string for insertion.
20058
20059 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20062 Avoid open-line which runs post-self-insert-hook.
20063 (bibtex-fill-entry): Remove unused `end' var.
20064
20065 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20066
20067 * textmodes/ispell.el (ispell-add-per-file-word-list):
20068 Protect against `nil' value of `comment-start' (Bug#8579).
20069
20070 2011-05-03 Leo Liu <sdl.web@gmail.com>
20071
20072 * isearch.el (isearch-yank-pop): New command.
20073 (isearch-mode-map): Bind it to `M-y'.
20074 (isearch-forward): Mention it.
20075
20076 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20077
20078 * simple.el (minibuffer-complete-shell-command): Remove.
20079 (minibuffer-local-shell-command-map): Use completion-at-point.
20080 (read-shell-command): Setup completion vars here instead.
20081 (read-expression-map): Bind TAB to symbol completion.
20082
20083 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20084 error directly rather via storing it into `results'.
20085
20086 2011-05-02 Leo Liu <sdl.web@gmail.com>
20087
20088 * vc/diff.el: Fix description.
20089
20090 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20091
20092 * server.el (server-eval-at): New function.
20093
20094 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20095
20096 * net/network-stream.el (open-network-stream): Take a :nowait
20097 parameter and pass it on to `make-network-process'.
20098 (network-stream-open-plain): Ditto.
20099
20100 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20101
20102 * faces.el (face-spec-set-match-display): Don't match toolkit
20103 options on terminal frames.
20104
20105 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20106
20107 * progmodes/pascal.el: Use lexical binding.
20108 (pascal-mode-map): Remove author preferences.
20109
20110 * pcomplete.el (pcomplete-std-complete): Don't abuse
20111 completion-at-point.
20112
20113 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20114
20115 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20116 removing code that has been dead since 1991 or so.
20117
20118 * startup.el (command-line): When warning about "_emacs", use a
20119 delayed warning to allow the user to filter it out.
20120
20121 2011-04-28 Deniz Dogan <deniz@dogan.se>
20122
20123 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20124 user has not joined.
20125
20126 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20129 aren't any completions at point.
20130
20131 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20132
20133 * subr.el (display-delayed-warnings): New function.
20134 (delayed-warnings-hook): New variable.
20135
20136 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20137
20138 * minibuffer.el (completion-at-point, completion-help-at-point):
20139 Don't presume that a given completion-at-point-function will always
20140 use the same calling convention.
20141
20142 * pcomplete.el (pcomplete-completions-at-point):
20143 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20144 pcomplete-seen is non-nil.
20145 (pcomplete-comint-setup): Also recognize the new comint/shell
20146 completion functions.
20147 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20148 pcomplete-seen is non-nil.
20149
20150 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20151
20152 * calendar/icalendar.el (diary-lib): Add require statement.
20153 (icalendar--create-uid): Read out a uid from a text-property on
20154 the first character in the entry. This allows for code to add its
20155 own uid to the entry.
20156 (icalendar--convert-float-to-ical): Add export of
20157 `diary-float'-entries save for those with the optional DAY
20158 argument.
20159
20160 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20161
20162 * subr.el (shell-quote-argument): Use alternate escaping strategy
20163 when we spot a variable reference in a string.
20164
20165 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20166
20167 * cus-start.el (all): Define customization for debug-on-event.
20168
20169 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20170
20171 * subr.el (shell-quote-argument): Escape correctly under Windows.
20172
20173 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20174
20175 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20176
20177 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20178
20179 * net/tramp.el (tramp-process-actions): Add POS argument.
20180 Delete region between POS and (pos).
20181
20182 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20183 Use `nil' position in `tramp-process-actions' call.
20184 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20185
20186 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20187 position in `tramp-process-actions' call.
20188
20189 * net/trampver.el: Update release number.
20190
20191 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20192
20193 * custom.el (defcustom): Obey lexical-binding.
20194
20195 Fix octave-inf completion problems reported by Alexander Klimov.
20196 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20197 Inherit from octave-mode-syntax-table.
20198 (inferior-octave-mode): Set info-lookup-mode.
20199 (inferior-octave-completion-at-point): New function.
20200 (inferior-octave-complete): Use it and completion-in-region.
20201 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20202 comint-filename-completion.
20203 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20204 symbol elements which shouldn't be word elements.
20205 (octave-font-lock-keywords, octave-beginning-of-defun)
20206 (octave-function-header-regexp): Adjust regexps accordingly.
20207 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20208
20209 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20210
20211 * net/gnutls.el (gnutls-errorp): Declare before first use.
20212
20213 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20214
20215 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20216 verify-error, and verify-hostname-error parameters. Check whether
20217 default trustfile exists before going to use it. Add missing
20218 argument to gnutls-message-maybe call. Return value.
20219 Reported by Claudio Bley <claudio.bley@gmail.com>.
20220 (open-gnutls-stream): Add usage example.
20221
20222 * net/network-stream.el (network-stream-open-starttls): Give host
20223 parameter to `gnutls-negotiate'.
20224 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20225 * subr.el (shell-quote-argument): Escape correctly under Windows.
20226
20227 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20228
20229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20230 Use correct match group (bug#8438).
20231
20232 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20233
20234 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20235 (package-menu--generate): New arg specifying packages to show.
20236 (package-menu-refresh, package-menu-execute, list-packages):
20237 Callers changed.
20238 (package-show-package-list): New function, replacing deleted
20239 package--list-packages (renamed because it is non-internal).
20240
20241 * finder.el (finder-list-matches): Use package-show-package-list
20242 instead of deleted package--list-packages.
20243
20244 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20245 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20246 (vc-annotate-mode-map): Bind it to RET.
20247
20248 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20249
20250 * progmodes/etags.el (next-file): Don't use set-buffer to change
20251 buffers (Bug#8478).
20252
20253 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20254
20255 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20256
20257 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20258 (apropos-accumulator): Doc fix.
20259 (apropos-function, apropos-macro, apropos-command)
20260 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20261 (apropos-plist): Add face property.
20262 (apropos-symbols-internal): Fix indentation.
20263 (apropos-print): Simplify help, and recognize apropos-multi-type.
20264 (apropos-print-doc): Use button-type-get to extract the button's
20265 face property. Fill docstring (Bug#8352).
20266
20267 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20268
20269 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20270
20271 * play/mpuz.el (mpuz-silent): Doc fix.
20272 (mpuz-mode-map): Use mapc.
20273 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20274 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20275 Fix typos in docstrings.
20276
20277 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20278 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20279
20280 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20281
20282 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20283
20284 * minibuffer.el (completion--do-completion): Avoid the "Next char
20285 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20286
20287 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20288 mouse-2 into unread-command-events, it is interpreted correctly.
20289
20290 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20291 (image-toggle-display): Doc fix.
20292
20293 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20294
20295 * textmodes/page.el (what-page): Use line-number-at-pos to
20296 calculate line number (Bug#6825).
20297
20298 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20299
20300 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20301 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20302 Pass argument NO-DEFAULT to `find-tag-interactive'.
20303
20304 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20305
20306 Lexical-binding cleanup.
20307
20308 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20309 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20310 * progmodes/ada-prj.el (ada-prj-initialize-values)
20311 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20312 (ada-prj-show-value):
20313 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20314 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20315 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20316 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20317 * progmodes/bug-reference.el (bug-reference-push-button):
20318 * progmodes/fortran.el (fortran-line-length):
20319 * progmodes/glasses.el (glasses-change):
20320 * progmodes/octave-mod.el (octave-fill-paragraph):
20321 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20322 (python-pdbtrack-grub-for-buffer, python-sentinel):
20323 * progmodes/sql.el (sql-save-connection):
20324 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20325 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20326 Mark unused parameters.
20327
20328 * progmodes/compile.el (compilation--flush-directory-cache)
20329 (compilation--flush-parse, compile-internal): Mark unused parameters.
20330 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20331 (compilation-next-error-function): Remove unused variable `timestamp'.
20332
20333 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20334 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20335
20336 * progmodes/dcl-mode.el (dcl-end-of-command):
20337 Remove unused variable `start'.
20338 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20339 (dcl-option-value-basic, dcl-option-value-offset)
20340 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20341 Mark unused parameters.
20342 (dcl-save-local-variable): Remove unused variable `val'.
20343 (mode): Declare.
20344
20345 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20346 Mark unused parameters.
20347 (delphi-ignore-changes): Move before first use.
20348 (delphi-charset-token-at): Remove unused variable `start'.
20349 (delphi-else-start): Remove unused variable `if-count'.
20350 (delphi-comment-block-start, delphi-comment-block-end):
20351 Remove unused variable `kind'.
20352 (delphi-indent-line): Remove unused variable `new-point'.
20353
20354 * progmodes/ebrowse.el (ebrowse-files-list)
20355 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20356 Mark unused parameters. Don't quote `lambda'.
20357 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20358 Don't quote `lambda'.
20359 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20360 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20361 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20362 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20363 Use `ignore-errors'.
20364 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20365 (ebrowse-view/find-file-and-search-pattern)
20366 (ebrowse-view/find-member-declaration/definition):
20367 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20368 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20369 Rename parameter PREFIX-ARG to PREFIX.
20370 (ebrowse-tags-read-name): Remove unused variables `start' and
20371 `member-info'.
20372 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20373 to `tags-file'.
20374
20375 * progmodes/etags.el (local-find-tag-hook): Declare.
20376 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20377 Mark unused parameters.
20378
20379 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20380 (executable-interpret): Mark unused parameter.
20381
20382 * progmodes/flymake.el (flymake-process-sentinel)
20383 (flymake-after-change-function)
20384 (flymake-create-temp-with-folder-structure)
20385 (flymake-get-include-dirs-dot): Mark unused parameters.
20386 (flymake-safe-delete-directory): Remove unused variable `err'.
20387
20388 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20389 (speedbar-timer-fn, speedbar-line-text)
20390 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20391 (speedbar-center-buffer-smartly): Declare functions.
20392 (gdb-find-watch-expression): Remove unused variable `array'.
20393 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20394 (gdb-starting): Mark unused parameters.
20395 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20396 (gdb-table-string): Remove unused variable `res'.
20397 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20398 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20399 (gdb-display-buffer): Remove unused variable `cur-size'.
20400
20401 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20402 allow lexical-binding compilation.
20403 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20404 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20405 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20406 Mark unused parameters.
20407 (gud-gdb-marker-filter): Remove unused variable `match'.
20408 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20409 lambda expressions and funcall them, instead of using `fset'.
20410
20411 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20412 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20413
20414 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20415 variable `header-beg'; use `let'.
20416
20417 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20418 `restart', `last-sexp' and `at-do'.
20419
20420 * progmodes/js.el (js--debug): Mark unused parameter.
20421 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20422 (js--splice-into-items): Remove unused variable `item'.
20423 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20424
20425 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20426 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20427 (makefile-complete): Remove unused variable `try'.
20428 (makefile-fill-paragraph, makefile-match-function-end):
20429 Mark unused parameters.
20430
20431 * progmodes/octave-inf.el (inferior-octave-complete):
20432 Remove unused variable `proc'.
20433 (inferior-octave-output-digest): Mark unused parameter.
20434
20435 * progmodes/perl-mode.el (perl-calculate-indent):
20436 Remove unused variable `err'.
20437
20438 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20439 (prolog-indent-line): Mark unused parameters.
20440 (prolog-indent-line): Remove unused variable `beg'.
20441
20442 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20443 (reporter-dont-compact-list): Declare.
20444
20445 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20446 Remove unused variable `char'.
20447 (sh-debug): Mark unused parameter.
20448 (sh-get-indent-info): Remove unused variable `start'.
20449 (sh-calculate-indent): Remove unused variable `var'.
20450
20451 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20452 (simula-electric-keyword): Remove unused variable `null'.
20453 (simula-search-backward, simula-search-forward): Remove unused
20454 variables `begin' and `end'.
20455
20456 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20457 Remove unused variable `pos'.
20458 (vera-electric-tab, vera-comment-uncomment-region):
20459 Mark unused parameters.
20460 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20461
20462 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * emacs-lisp/package.el (package--builtins, package-alist)
20465 (package-load-descriptor, package-built-in-p, package-activate)
20466 (define-package, package-installed-p)
20467 (package-compute-transaction, package-buffer-info)
20468 (package--push): Doc fix. Distinguish more clearly between
20469 version strings and version lists.
20470
20471 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20472
20473 Lexical-binding cleanup.
20474
20475 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20476 (5x5-make-mutate-best):
20477 * play/fortune.el (fortune-in-buffer):
20478 * play/gomoku.el (gomoku-init-display):
20479 * play/solitaire.el (solitaire, solitaire-do-check):
20480 * play/tetris.el (tetris-default-update-speed-function):
20481 Mark unused parameters.
20482
20483 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20484 (bubbles--shift): Remove unused variable `char-org'.
20485 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20486 (bubbles--show-images): Remove unused variable `char'.
20487
20488 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20489 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20490 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20491 (decipher-analyze-buffer): Use ?\s.
20492 (decipher-make-checkpoint): Remove unused variable `mapping'.
20493
20494 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20495
20496 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20497 Remove unused variable `result'; use `let'.
20498
20499 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20500 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20501 (gametree-children-shown-p, gametree-compute-reduced-score):
20502 Use `ignore-errors'.
20503
20504 * play/handwrite.el (ps-lpr-switches): Declare.
20505 (handwrite): Remove unused variables `pmin' and `lastp'.
20506
20507 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20508
20509 * play/landmark.el (landmark-init-display)
20510 (landmark-update-naught-weights): Mark unused parameters.
20511 (landmark-y): Remove unused variable `noise'. Simplify.
20512 (landmark-human-plays): Remove unused variable `score'.
20513
20514 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20515 (mpuz-try-proposal): Remove unused variable `game'.
20516
20517 * play/zone.el (life-patterns): Declare.
20518
20519 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20520
20521 * vc/vc.el (ediff-vc-internal): Declare function.
20522
20523 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20524
20525 * shell.el: Use lexical-binding and std completion UI.
20526 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20527 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20528 comint-preoutput-filter-functions rather than on
20529 comint-output-filter-functions.
20530 (shell-command-completion, shell--command-completion-data)
20531 (shell-filename-completion, shell-environment-variable-completion)
20532 (shell-c-a-p-replace-by-expanded-directory): New functions.
20533 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20534 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20535 (shell-dynamic-complete-environment-variable): Use them.
20536 (shell-dynamic-complete-as-environment-variable)
20537 (shell-dynamic-complete-as-command): Remove.
20538 (shell-match-partial-variable): Match past point.
20539 * comint.el: Clean up use of completion-at-point-functions.
20540 (comint-completion-at-point): New function.
20541 (comint-mode): Use it completion-at-point-functions.
20542 (comint-dynamic-complete): Make it obsolete.
20543 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20544 (comint-c-a-p-replace-by-expanded-history): New function.
20545 (comint-dynamic-complete-functions)
20546 (comint-replace-by-expanded-history): Use it.
20547 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20548 termination strings. Try harder to avoid second try-completion.
20549 (completion-in-region-mode-map): Disable bindings that don't work yet.
20550
20551 * comint.el: Use lexical-binding. Require CL.
20552 (comint-dynamic-complete-functions): Use comint-filename-completion.
20553 (comint-completion-addsuffix): Tweak custom type.
20554 (comint-filename-completion, comint--common-suffix)
20555 (comint--common-quoted-suffix, comint--table-subvert)
20556 (comint--complete-file-name-data): New functions.
20557 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20558 (comint-dynamic-list-filename-completions): Use them.
20559 (comint-dynamic-simple-complete): Make obsolete.
20560
20561 * minibuffer.el (completion-in-region-mode):
20562 Keep completion-in-region-mode--predicate global.
20563 (completion-in-region--postch):
20564 Assume completion-in-region-mode--predicate is not null.
20565
20566 * progmodes/flymake.el (flymake-start-syntax-check-process):
20567 Obey `dir'. Simplify.
20568
20569 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20570 we're in VC after all.
20571
20572 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20573
20574 * vc/vc.el (vc-diff-build-argument-list-internal)
20575 (vc-version-ediff, vc-ediff): New commands.
20576 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20577
20578 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20579
20580 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20581 add sanity check.
20582
20583 * obsolete/erc-hecomplete.el: Make obsolete.
20584 * obsolete/: Standardize obsolescence info in the header.
20585
20586 2011-04-20 Glenn Morris <rgm@gnu.org>
20587
20588 * calendar/solar.el (solar-horizontal-coordinates):
20589 Use the longitude argument rather than `calendar-longitude'.
20590 (solar-date-next-longitude): Remove unused locals.
20591
20592 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20593
20594 * whitespace.el: New version 13.2.1.
20595
20596 2011-04-20 felix <EmacsWiki> (tiny change)
20597
20598 * whitespace.el (global-whitespace-mode): Keep highlight when
20599 switching between major modes on a file.
20600
20601 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20602
20603 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20604 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20605 multi-line comments as well.
20606
20607 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20608
20609 Lexical-binding cleanup.
20610
20611 * arc-mode.el (archive-mode-revert):
20612 * cmuscheme.el (scheme-interactively-start-process):
20613 * custom.el (custom-initialize-delay):
20614 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20615 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20616 * emacs-lock.el (emacs-lock-clear-sentinel):
20617 * ezimage.el (defezimage):
20618 * follow.el (follow-avoid-tail-recenter):
20619 * fringe.el (set-fringe-mode-1):
20620 * generic-x.el (bat-generic-mode-compile):
20621 * help-mode.el (help-info-variable, help-do-xref)
20622 (help-mode-revert-buffer):
20623 * help.el (view-emacs-todo):
20624 * iswitchb.el (iswitchb-completion-help):
20625 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20626 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20627 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20628 * locate.el (locate-update):
20629 * longlines.el (longlines-encode-region)
20630 (longlines-after-change-function):
20631 * outline.el (outline-isearch-open-invisible):
20632 * ps-def.el (declare-function, charset-dimension, char-width)
20633 (encode-char):
20634 * ps-mule.el (ps-mule-plot-string):
20635 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20636 (recentf-edit-list-select, recentf-edit-list-validate)
20637 (recentf-open-files-action):
20638 * rect.el (delete-whitespace-rectangle-line)
20639 (rectangle-number-line-callback):
20640 * register.el (window-configuration-to-register)
20641 (frame-configuration-to-register):
20642 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20643 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20644 (xselect-convert-to-targets, xselect-convert-to-delete)
20645 (xselect-convert-to-filename, xselect-convert-to-charpos)
20646 (xselect-convert-to-lineno, xselect-convert-to-colno)
20647 (xselect-convert-to-os, xselect-convert-to-host)
20648 (xselect-convert-to-user, xselect-convert-to-class)
20649 (xselect-convert-to-name, xselect-convert-to-integer)
20650 (xselect-convert-to-atom, xselect-convert-to-identity):
20651 * subr.el (declare, ignore, process-kill-without-query)
20652 (text-clone-maintain):
20653 * terminal.el (te-get-char, te-tic-sentinel):
20654 * tool-bar.el (tool-bar-make-keymap):
20655 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20656 * type-break.el (type-break-mode, type-break-noninteractive-query):
20657 * view.el (View-back-to-mark):
20658 * wid-browse.el (widget-browse-action, widget-browse-widget)
20659 (widget-browse-widgets, widget-browse-sexp):
20660 * widget.el (define-widget-keywords):
20661 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20662 Mark unused parameters.
20663
20664 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20665 (align-areas): Remove unused variable `look'.
20666 (align-region): Remove unused variables `real-end' and `pos-list'.
20667
20668 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20669
20670 * bindings.el (mode-line-modified, mode-line-remote):
20671 Mark unused parameters.
20672 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20673
20674 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20675 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20676
20677 * comint.el (comint-history-isearch-pop-state)
20678 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20679 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20680 (comint-substitute-in-file-name): Doc fix.
20681
20682 * completion.el (cmpl-statistics-block): Mark unused parameter.
20683 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20684 (save-completions-to-file, load-completions-from-file):
20685 Remove unused local variable `e'.
20686
20687 * composite.el (compose-chars): Remove unused variable `len'.
20688 (lgstring-insert-glyph): Remove unused variable `g'.
20689 (compose-glyph-string): Remove unused variables `ascent',
20690 `descent', `lbearing' and `rbearing'.
20691 (compose-glyph-string-relative): Remove unused variables
20692 `lbearing', `rbearing' and `wadjust'.
20693 (compose-gstring-for-graphic): Remove unused variables `header',
20694 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20695 (compose-gstring-for-terminal): Remove unused variables `header'
20696 and `nchars'. Use `let', not `let*'.
20697
20698 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20699 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20700 (Custom-buffer-done, custom-buffer-create-internal)
20701 (custom-browse-visibility-action, custom-browse-group-tag-action)
20702 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20703 (widget-magic-mouse-down-action, custom-toggle-parent)
20704 (custom-add-parent-links, custom-toggle-hide-variable)
20705 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20706 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20707 (custom-face-menu-create, custom-variable-menu-create, get)
20708 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20709 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20710 (customize-apropos): Remove unused variable `tests'.
20711 (custom-group-value-create): Remove unused variable `hidden-p'.
20712 (sort-fold-case): Declare.
20713
20714 * cus-theme.el (custom-reset-standard-faces-list)
20715 (custom-reset-standard-variables-list): Declare.
20716 (customize-create-theme, custom-theme-revert, custom-theme-write)
20717 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20718 Mark unused parameters.
20719
20720 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20721
20722 * delim-col.el (delimit-columns-max): Move defvar before first use.
20723
20724 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20725 (describe-char): Don't quote `lambda'. Mark unused parameter.
20726
20727 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20728 (auto-insert): Declare.
20729 (desktop-restore-file-buffer): Rename desktop-* parameters;
20730 mark unused ones.
20731 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20732 (desktop-buffer): Rename desktop-* parameters.
20733
20734 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20735 (dframe-reposition-frame-xemacs, dframe-help-echo)
20736 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20737 Mark unused parameters.
20738
20739 * dired-aux.el (backup-extract-version-start, overwrite-query)
20740 (overwrite-backup-query, rename-regexp-query)
20741 (rename-non-directory-query): Declare.
20742 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20743 (dired-add-entry): Remove unused variable `orig-file-name'.
20744 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20745 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20746 `dired-copy-preserve-time' directly.
20747 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20748 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20749
20750 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20751 (dired-virtual-revert, dired-make-relative-symlink):
20752 Mark unused parameters.
20753 (manual-program): Declare.
20754 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20755 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20756 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20757
20758 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20759
20760 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20761
20762 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20763 Declare.
20764
20765 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20766
20767 * electric.el (Electric-command-loop): Rename parameter
20768 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20769
20770 * expand.el (expand-in-literal): Remove unused variable `here'.
20771
20772 * facemenu.el (facemenu-add-new-color):
20773 Remove unused variable `docstring'.
20774
20775 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20776 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20777 (face-attr-construct): Mark unused parameter. Doc fix.
20778 (read-color): Remove unused variable `hex-string'.
20779
20780 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20781 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20782 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20783 (display-buffer-other-frame): Remove unused variable `old-window'.
20784 (kill-buffer-hook): Declare.
20785 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20786 Mark unused parameters.
20787 (after-find-file): Pass 1 to `auto-save-mode', not t.
20788
20789 * files-x.el (auto-insert): Declare.
20790 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20791
20792 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20793 variable `buf'. Mark unused parameter.
20794 (find-lisp-insert-directory): Mark unused parameter.
20795
20796 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20797 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20798 (format-common-tail): Remove, unused.
20799 (format-deannotate-region): Remove unused variable `loc'.
20800 (format-annotate-region): Remove unused variable `p'.
20801 (format-annotate-single-property-change): Remove unused variables
20802 `default' and `tail'.
20803
20804 * forms.el (read-file-filter): Declare.
20805 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20806
20807 * frame.el (frame-creation-function-alist): Mark unused parameter.
20808 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20809
20810 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20811 Remove unused parameters.
20812 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20813 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20814
20815 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20816 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20817 (hfy-prepare-tag-map): Mark unused parameters.
20818 (htmlfontify-buffer): Use `called-interactively-p'.
20819
20820 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20821 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20822 (ibuffer-do-occur): Mark unused parameters.
20823 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20824 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20825
20826 * ibuffer.el: Don't quote `lambda'.
20827 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20828 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20829 Mark unused parameters.
20830
20831 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20832 (ido-completing-read): Mark unused parameters.
20833 (ido-copy-current-word): Mark unused parameters;
20834 remove unused variable `name'.
20835 (ido-sort-merged-list): Remove unused parameter `dirs'.
20836
20837 * ielm.el (ielm-input-sender): Mark unused parameter.
20838 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20839 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20840 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20841 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20842 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20843
20844 * image-dired.el (image-dired-display-thumbs): Remove unused
20845 variables `curr-file' and `count'.
20846 (image-dired-remove-tag): Remove unused variable `start'.
20847 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20848 variable `curr-file'
20849 (image-dired-rotate-original): Remove unused variable `temp-file'.
20850 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20851 Remove unused variable `file'.
20852 (image-dired-gallery-generate): Remove unused variable `curr'.
20853 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20854
20855 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20856
20857 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20858
20859 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20860
20861 * isearch.el (minibuffer-history-symbol): Declare.
20862 (isearch-edit-string): Remove unused variable `err'.
20863 (isearch-message-prefix, isearch-message-suffix):
20864 Mark unused parameters.
20865
20866 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20867
20868 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20869
20870 * makesum.el (double-column): Remove unused variable `cnt'.
20871
20872 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20873 (ido-ignore-item-temp-list): Declare.
20874
20875 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20876 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20877 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20878 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20879 `mouse-col-delta'.
20880
20881 * mouse-sel.el (mouse-extend-internal):
20882 Remove unused variable `orig-window-frame'.
20883
20884 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20885 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20886 Move declarations before first use.
20887 (pcomplete-opt): Mark unused parameters; doc fix.
20888
20889 * proced.el (proced-revert): Mark unused parameter.
20890 (proced-send-signal): Remove unused variable `err'.
20891
20892 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20893 Rename parameter PREFIX-ARG to ARG.
20894 (ps-basic-plot-string, ps-basic-plot-whitespace):
20895 Mark unused parameters.
20896
20897 * replace.el (replace-count): Define.
20898 (occur-revert-function): Mark unused parameters.
20899 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20900 (isearch-case-fold-search, isearch-string): Declare.
20901 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20902 bind `case-fold-search'. Remove unused variables `beg' and `end',
20903 and simplify.
20904 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20905 COUNT and bind `replace-count'.
20906 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20907 to COUNT.
20908
20909 * savehist.el (print-readably, print-string-length): Declare.
20910
20911 * shadowfile.el (shadow-expand-cluster-in-file-name):
20912 Remove unused variable `cluster'.
20913 (shadow-copy-file): Remove unused variable `i'.
20914 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20915 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20916 (shadow-define-literal-group, shadow-define-regexp-group)
20917 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20918
20919 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20920 (shell): Use `called-interactively-p'.
20921 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20922
20923 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20924 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20925 (delete-backward-char): Remove unused variable `ocol'.
20926 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20927 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20928 (event-apply-hyper-modifier, event-apply-shift-modifier)
20929 (event-apply-control-modifier, event-apply-meta-modifier):
20930 Mark unused parameters.
20931 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20932 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20933
20934 * speedbar.el (speedbar-ignored-directory-expressions)
20935 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20936 (speedbar-find-file, speedbar-dir-follow)
20937 (speedbar-directory-buttons-follow, speedbar-tag-find)
20938 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20939 (speedbar-buffers-line-directory, speedbar-buffer-click):
20940 Mark unused parameters.
20941 (speedbar-tag-file): Remove unused variable `mode'.
20942 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20943
20944 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20945
20946 * talk.el (talk): Remove unused variable `display'.
20947
20948 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20949 (tar-write-region-annotate): Mark unused parameter.
20950
20951 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20952 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20953 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20954 warning by another.
20955
20956 * time-stamp.el (time-stamp-string-preprocess):
20957 Remove unused variable `require-padding'.
20958
20959 * tree-widget.el (widget-glyph-enable): Declare.
20960 (tree-widget-action): Mark unused parameter.
20961
20962 * w32-fns.el (x-get-selection): Mark unused parameter.
20963 (autoload-make-program, generated-autoload-file): Declare.
20964
20965 * wdired.el (wdired-revert): Mark unused parameters.
20966 (wdired-xcase-word): Remove unused variable `err'.
20967
20968 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20969 (whitespace-help-scroll): Remove unused variable `data-help'.
20970
20971 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20972 (widget-image-insert, widget-after-change, default)
20973 (widget-default-format-handler, widget-default-notify)
20974 (widget-default-prompt-value, widget-info-link-action)
20975 (widget-url-link-action, widget-function-link-action)
20976 (widget-variable-link-action, widget-file-link-action)
20977 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20978 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20979 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20980 (widget-insert-button-action, widget-delete-button-action, visibility)
20981 (widget-documentation-link-action, widget-documentation-string-action)
20982 (widget-const-prompt-value, widget-regexp-match, symbol)
20983 (widget-coding-system-prompt-value)
20984 (widget-key-sequence-value-to-external, sexp)
20985 (widget-sexp-value-to-internal, character, vector, cons)
20986 (widget-choice-prompt-value, widget-boolean-prompt-value)
20987 (widget-color--choose-action): Mark unused parameters.
20988 (widget-item-match-inline, widget-choice-match-inline)
20989 (widget-checklist-match, widget-checklist-match-inline)
20990 (widget-group-match): Rename parameter VALUES to VALS.
20991 (widget-field-value-set): Remove unused variable `size'.
20992 (widget-color-action): Remove unused variables `value' and `start'.
20993
20994 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20995 variable `dir'. Doc fix.
20996 (windmove-find-other-window): Don't pass it.
20997
20998 * window.el (count-windows): Mark unused parameter.
20999 (bw-adjust-window): Remove unused variable `err'.
21000
21001 * woman.el (woman-file-name): Remove unused variable `default'.
21002 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21003 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21004 (global-font-lock-mode): Declare.
21005 (woman-decode-region): Mark unused parameter.
21006 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21007
21008 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21009 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21010 (x-dnd-handle-moz-url): Remove unused variable `title'.
21011 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21012
21013 * xml.el (xml-parse-tag, xml-parse-attlist):
21014 Remove unused variable `pos'.
21015
21016 2011-04-19 Glenn Morris <rgm@gnu.org>
21017
21018 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21019 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21020 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21021 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21022 * calendar/cal-html.el (cal-html-insert-minical):
21023 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21024 (calendar-mark-date-pattern):
21025 Prefix "unused" locals.
21026
21027 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21028 optional argument `style'.
21029
21030 * calendar/appt.el (appt-make-list):
21031 * calendar/cal-china.el (calendar-chinese-date-string):
21032 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21033 (diary-hebrew-yahrzeit):
21034 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21035 * calendar/calendar.el (calendar-generate-window):
21036 * calendar/time-date.el (time-to-days):
21037 Remove unused local variables.
21038
21039 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21040
21041 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21042 glyphless-char-display table.
21043 (tabulated-list-glyphless-char-display): New var.
21044
21045 2011-04-18 Sam Steingold <sds@gnu.org>
21046
21047 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21048 to acknowledgments.
21049
21050 2011-04-17 Glenn Morris <rgm@gnu.org>
21051
21052 * calendar/diary-lib.el (diary-sexp-entry):
21053 * calendar/holidays.el (holiday-sexp):
21054 Set debug-on-error rather than the removed stack-trace-on-error.
21055
21056 2011-04-16 Glenn Morris <rgm@gnu.org>
21057
21058 * progmodes/f90.el: Use lexical-binding.
21059 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21060
21061 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21062
21063 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21064 (mail-mode): Setup mailalias completion here instead.
21065 * mail/mailalias.el: Use lexical-binding.
21066 (pattern, mailalias-done): Declare dynamic.
21067 (mail-completion-at-point-function): New function, from mail-complete.
21068 (mail-complete): Use it.
21069 (mail-completion-expand): New function.
21070 (mail-get-names): Use it.
21071 (mail-directory, mail-directory-process, mail-directory-stream):
21072 Don't use `pattern' for lexically bound arg.
21073
21074 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21075
21076 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21077 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21078 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21079
21080 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21081 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21082 (byte-interactive-p): Define them again, for use when inlining
21083 old code.
21084
21085 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21086
21087 * loadup.el: Use `string-to-number', not `string-to-int'.
21088
21089 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21090
21091 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21092 gud-gdb-complete-command.
21093 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21094 (gud-gdb-completion-at-point): New function.
21095 (gud-gdb-completions): Remove.
21096
21097 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21098
21099 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21100 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21101 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21102 whether `executable-find' is bound.
21103
21104 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21105
21106 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21107
21108 * minibuffer.el (completion-in-region-mode-predicate)
21109 (completion-in-region-mode--predicate): New vars.
21110 (completion-in-region, completion-in-region--postch)
21111 (completion-in-region-mode): Use them.
21112 (completion--capf-wrapper): Also return the hook function.
21113 (completion-at-point, completion-help-at-point):
21114 Adjust and provide a predicate.
21115
21116 Preserve arg names for advice of subr and lexical functions (bug#8457).
21117 * help-fns.el (help-function-arglist): Consolidate the subr and
21118 new-byte-code cases. Add argument `preserve-names' to extract names
21119 from the docstring when needed.
21120 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21121 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21122 (ad-arglist): Use help-function-arglist's new arg.
21123 (ad-definition-type): Use cond.
21124
21125 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21126
21127 * autorevert.el (auto-revert-handler):
21128 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21129 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21130 Don't quote lambda.
21131
21132 * image-mode.el (image-transform-set-scale):
21133 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21134
21135 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21136
21137 * net/network-stream.el (network-stream-open-starttls): Only do
21138 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21139 Upgrades via gnutls-cli are too slow to be done opportunistically.
21140
21141 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21142
21143 * dframe.el (dframe-current-frame): Remove spurious quote.
21144
21145 2011-04-12 Glenn Morris <rgm@gnu.org>
21146
21147 * calendar/cal-tex.el (cal-tex-end-document):
21148 Try to automatically use latin1 input if needed.
21149
21150 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21151 Don't try to cons a mark onto an empty element.
21152
21153 2011-04-11 Leo Liu <sdl.web@gmail.com>
21154
21155 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21156 buffers.
21157 (ido-kill-buffer-at-head): Support killing virtual buffers.
21158
21159 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21160
21161 * minibuffer.el (completion-show-inline-help): New var.
21162 (completion--do-completion, minibuffer-complete)
21163 (minibuffer-force-complete, minibuffer-complete-word):
21164 Inhibit minibuffer messages if completion-show-inline-help is nil.
21165
21166 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21167 to avoid interference from inline help (Bug#5849).
21168
21169 2011-04-10 Leo Liu <sdl.web@gmail.com>
21170
21171 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21172 Fix typo.
21173
21174 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21175
21176 * image-mode.el (image-toggle-display-image): Signal an error if
21177 not in Image mode.
21178 (image-transform-mode, image-transform-resize)
21179 (image-transform-set-rotation): Doc fix.
21180 (image-transform-set-resize): Delete.
21181 (image-transform-set-scale, image-transform-fit-to-height)
21182 (image-transform-fit-to-width): Handle image-toggle-display-image
21183 and image-transform-resize directly.
21184
21185 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21186
21187 * doc-view.el (doc-view-fit-width-to-window)
21188 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21189 New functions for fitting the shown image to the Emacs window size.
21190 (doc-view-mode-map): Add bindings for the new functions.
21191
21192 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21193
21194 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21195 Fix typo in docstring.
21196
21197 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21198
21199 * files.el (file-size-human-readable): Produce one digit after
21200 decimal, like "ls -lh" does.
21201
21202 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21203 the file size representation.
21204
21205 * simple.el (list-processes): If async subprocesses are not
21206 available, error out with a clear error message.
21207
21208 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21209
21210 * help.el (help-form-show): New function, to be called from C.
21211 Put help-form output in a buffer named differently than *Help*.
21212
21213 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21214
21215 * files.el (file-size-human-readable): New function.
21216
21217 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21218 computing the representation inline. Don't require `cl'.
21219
21220 2011-04-08 Glenn Morris <rgm@gnu.org>
21221
21222 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21223
21224 * net/browse-url.el (browse-url-firefox):
21225 Test system-type, not system-configuration.
21226
21227 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21228 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21229 Use log-edit-empty-buffer-p. (Bug#7598)
21230
21231 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21232 (rlogin-mode-map): Initialize in the defvar.
21233 (rlogin): Use ignore-errors.
21234
21235 * replace.el (occur-mode-map): Some fixes for menu items.
21236
21237 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21238
21239 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21240
21241 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21242
21243 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21244 issuing unused warnings.
21245
21246 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21247 macro directly.
21248
21249 * simple.el: Lisp reimplement of list-processes. Based on an
21250 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21251 (process-menu-mode): New major mode.
21252 (list-processes--refresh, list-processes):
21253 (process-menu-visit-buffer): New functions.
21254
21255 * files.el (save-buffers-kill-emacs): Don't assume any return
21256 value of list-processes, which is undocumented anyway.
21257
21258 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21259
21260 * emacs-lisp/tabulated-list.el: New file.
21261
21262 * emacs-lisp/package.el: Use Tabulated List mode.
21263 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21264 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21265 table format using Tabulated List mode variables.
21266 (package--push): New macro, replacing package-list-maybe-add.
21267 (package-menu--generate): Use package--push. Renamed from
21268 package--generate-package-list.
21269 (package-menu-refresh, list-packages): Use it.
21270 (package-menu--print-info): Rename from package-print-package.
21271 Return insertion data instead of inserting it directly.
21272 (package-menu-describe-package, package-menu-execute):
21273 Use tabulated-list-get-id.
21274 (package-menu-mark-delete, package-menu-mark-install)
21275 (package-menu-mark-unmark, package-menu-backup-unmark)
21276 (package-menu-mark-obsolete-for-deletion):
21277 Use tabulated-list-put-tag.
21278 (package--list-packages, package-menu-revert)
21279 (package-menu-get-package, package-menu-get-version)
21280 (package-menu-sort-by-column): Functions deleted.
21281 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21282 (package-menu--status-predicate, package-menu--version-predicate)
21283 (package-menu--name-predicate)
21284 (package-menu--description-predicate): Handle arguments in the
21285 Tabulated List format.
21286 (package-list-packages-no-fetch): Call list-packages.
21287
21288 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21289
21290 * files.el (after-find-file-from-revert-buffer): Remove variable.
21291 (after-find-file): Don't bind it.
21292 (revert-buffer-in-progress-p): New variable.
21293 (revert-buffer): Bind it.
21294 Pass nil for `after-find-file-from-revert-buffer'.
21295
21296 * saveplace.el (save-place-find-file-hook): Use new variable
21297 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21298
21299 2011-04-06 Glenn Morris <rgm@gnu.org>
21300
21301 * Makefile.in (AUTOGEN_VCS): New variable.
21302 (autoloads): Use $AUTOGEN_VCS.
21303
21304 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21305 * calendar/calendar.el (calendar-mode-map):
21306 Check for toolkit scroll bars. (Bug#8305)
21307
21308 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21309
21310 * minibuffer.el (completion-in-region--postch)
21311 (completion-in-region-mode): Remove unnecessary messages.
21312
21313 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21314
21315 * font-lock.el (font-lock-refresh-defaults):
21316 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21317 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21318
21319 * info.el (Info-directory-list, Info-read-node-name-2)
21320 (Info-split-parameter-string): Doc fixes.
21321 (Info-virtual-nodes): Reflow docstring.
21322 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21323 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21324 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21325 Fix typos in docstrings.
21326 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21327 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21328 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21329 (Info-restore-desktop-buffer): Mark unused parameters.
21330 (Info-directory-find-file, Info-directory-find-node)
21331 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21332 (Info-virtual-index-find-node, Info-apropos-find-file)
21333 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21334 Mark unused parameters; fix typos in docstrings.
21335 (Info-virtual-index): Remove unused local variable `nodename'.
21336
21337 2011-04-05 Deniz Dogan <deniz@dogan.se>
21338
21339 * net/rcirc.el: Update my e-mail address.
21340 (rcirc-mode-map): Remove M-o binding.
21341
21342 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21343
21344 * startup.el (command-line): Save the cursor's theme-face
21345 directly, instead of using face-override-spec.
21346
21347 * custom.el (load-theme): Minor optimization in assigning faces.
21348
21349 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21350
21351 * help-fns.el (describe-variable): Complete all variables having
21352 documentation, including keywords.
21353 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21354
21355 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21356
21357 Convert to lexical-binding.
21358
21359 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21360 (bs--get-marked-string, bs--get-modified-string)
21361 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21362 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21363 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21364
21365 * ehelp.el (electric-help-execute-extended)
21366 (electric-help-ctrl-x-prefix):
21367 * hexl.el (hexl-revert-buffer-function):
21368 * linum.el (linum-after-change, linum-after-scroll):
21369 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21370
21371 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21372
21373 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21374
21375 * epa-dired.el:
21376 * epa-mail.el:
21377 * epa-hook.el:
21378 * epa-file.el:
21379 * epa.el:
21380 * epg.el: Use lexical binding.
21381
21382 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21383
21384 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21385
21386 * textmodes/flyspell.el (flyspell-word): Recognize default
21387 dictionary case for flyspell-mark-duplications-exceptions.
21388 Use regexp matching for languages.
21389 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21390 default dictionary (Bug#7926).
21391
21392 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21393
21394 * emacs-lisp/package.el (package--with-work-buffer):
21395 Recognize https URLs.
21396
21397 * net/network-stream.el: Move from gnus/proto-stream.el.
21398 Change prefix to network-stream throughout.
21399 (open-protocol-stream): Merge into open-network-stream, leaving
21400 open-protocol-stream as an alias. Handle nil BUFFER args.
21401
21402 * subr.el (open-network-stream): Move to net/network-stream.el.
21403
21404 2011-04-02 Glenn Morris <rgm@gnu.org>
21405
21406 * find-dired.el (find-exec-terminator): New option.
21407 (find-ls-option): Test for -ls support.
21408 (find-ls-subdir-switches): Test for -b in find-ls-option.
21409 (find-dired, find-grep-dired): Doc fixes.
21410 (find-dired): Use find-exec-terminator.
21411
21412 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21413 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21414 (find-name-arg): Remove purecopy.
21415
21416 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21417 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21418 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21419 accordingly. Don't add the null-device if not needed.
21420
21421 * files.el (save-some-buffers): Doc fix.
21422
21423 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21424
21425 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21426
21427 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21428
21429 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21430 Use `dolist' rather than `mapcar'.
21431
21432 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21433
21434 Add lexical binding.
21435
21436 * subr.el (apply-partially): Use new closures rather than CL.
21437 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21438 (dolist, dotimes): Use slightly different expansion for lexical code.
21439 (functionp): Move to C.
21440 (letrec): New macro.
21441 (with-wrapper-hook): Use it and apply-partially instead of CL.
21442 (eval-after-load): Preserve lexical-binding.
21443 (save-window-excursion, with-output-to-temp-buffer): Turn them
21444 into macros.
21445
21446 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21447
21448 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21449 than the arglist.
21450 (help-add-fundoc-usage): Don't add `Not documented'.
21451 (help-function-arglist): Handle closures, subroutines, and new
21452 byte-code-functions.
21453 (help-make-usage): Remove leading underscores.
21454 (describe-function-1): Handle closures.
21455 (describe-variable): Use special-variable-p for completion.
21456
21457 * files.el (lexical-binding): Declare safe.
21458
21459 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21460 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21461 (pcase): Add `let' pattern.
21462 Change memoization so it actually works.
21463 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21464 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21465 <let>: New case.
21466
21467 * emacs-lisp/macroexp.el: Use lexical binding.
21468 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21469 Don't convert ' to #' without checking that it's indeed quoting
21470 a lambda.
21471
21472 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21473 Use eval-sexp-add-defvars.
21474 (eval-sexp-add-defvars): New fun.
21475
21476 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21477
21478 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21479 Don't autoload.
21480 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21481 than the internal `byte-compile-lambda'.
21482 (defmethod): Don't hide code under quotes.
21483 (eieio-defmethod): New `code' argument.
21484
21485 * emacs-lisp/eieio-comp.el: Remove.
21486
21487 * emacs-lisp/edebug.el (edebug-eval-defun)
21488 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21489 (edebug-toggle): Avoid `eval'.
21490
21491 * emacs-lisp/disass.el (disassemble-internal): Handle new
21492 `closure' objects.
21493 (disassemble-1): Handle new byte codes.
21494
21495 * emacs-lisp/cl.el (pushnew): Silence warning.
21496
21497 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21498 (cl-byte-compile-throw): Remove.
21499 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21500
21501 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21502 closures.
21503
21504 * emacs-lisp/cconv.el: New file.
21505
21506 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21507 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21508 (byte-compile-initial-macro-environment):
21509 Handle declare-function here.
21510 (byte-compile--lexical-environment): New var.
21511 (byte-stack-ref, byte-stack-set, byte-discardN)
21512 (byte-discardN-preserve-tos): New lap codes.
21513 (byte-interactive-p): Don't use any more.
21514 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21515 New macros.
21516 (byte-compile-lapcode): Use them and handle new lap codes.
21517 (byte-compile-obsolete): Remove.
21518 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21519 (byte-compile-arglist-warn): Check late def of inlinable funs.
21520 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21521 since they should have been expanded by now.
21522 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21523 (byte-compile-from-buffer): Remove unused second arg.
21524 (byte-compile-preprocess): New function.
21525 (byte-compile-toplevel-file-form): New function to distinguish
21526 file-form calls from outside from file-form calls from hunk-handlers.
21527 (byte-compile-file-form): Simplify.
21528 (byte-compile-file-form-defsubst): Remove.
21529 (byte-compile-file-form-defmumble): Simplify now that
21530 byte-compile-lambda always returns a byte-code-function.
21531 (byte-compile): Preprocess.
21532 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21533 Remove, not used any more.
21534 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21535 (byte-compile-make-args-desc): New funs.
21536 (byte-compile-lambda): Handle lexical functions. Always return
21537 a byte-code-function.
21538 (byte-compile-reserved-constants): New var, to make up room for
21539 closed-over variables.
21540 (byte-compile-constants-vector): Obey it.
21541 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21542 (byte-compile-macroexpand-declare-function): New function.
21543 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21544 byte-code-functions.
21545 (byte-compile-form): Check obsolescence here.
21546 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21547 (byte-compile-variable-ref): Remove.
21548 (byte-compile-dynamic-variable-op): New fun.
21549 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21550 (byte-compile-variable-set): New funs.
21551 (byte-compile-discard): Add 2 args.
21552 (byte-compile-stack-ref, byte-compile-stack-set)
21553 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21554 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21555 macroexpand-all instead.
21556 (byte-compile-quote-form): Remove.
21557 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21558 (byte-compile-bind, byte-compile-unbind): New funs.
21559 (byte-compile-let): Handle let* and lexical binding.
21560 (byte-compile-let*): Remove.
21561 (byte-compile-catch, byte-compile-unwind-protect)
21562 (byte-compile-track-mouse, byte-compile-condition-case):
21563 Handle a new :fun-body form, used for lexical scoping.
21564 (byte-compile-save-window-excursion)
21565 (byte-compile-with-output-to-temp-buffer): Remove.
21566 (byte-compile-defun): Simplify.
21567 (byte-compile-stack-adjustment): New fun.
21568 (byte-compile-out): Use it.
21569 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21570
21571 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21572 handler any more.
21573
21574 * emacs-lisp/byte-opt.el: Use lexical binding.
21575 (byte-inline-lapcode): Remove (to bytecomp).
21576 (byte-compile-inline-expand): Pay attention to inlining to/from
21577 lexically bound code.
21578 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21579 any more.
21580 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21581 any more and don't call compiler-macros.
21582 (byte-compile-splice-in-already-compiled-code): Remove.
21583 (byte-code): Don't inline any more.
21584 (disassemble-offset): Receive `bytes' as argument rather than via
21585 dynamic scoping.
21586 (byte-compile-tag-number): Declare before first use.
21587 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21588 `return' even if make-spliceable.
21589 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21590 obsolete interactive-p.
21591 (byte-optimize-lapcode): Optimize new lap-codes.
21592 Don't trip up on new form of `byte-constant' lap code.
21593
21594 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21595
21596 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21597
21598 * custom.el (custom-initialize-default, custom-declare-variable):
21599 Use `defvar'.
21600
21601 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21602 New variables.
21603 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21604 (COMPILE_FIRST): Add macroexp and cconv.
21605 * makefile.w32-in: Mirror changes in Makefile.in.
21606
21607 * vc/cvs-status.el:
21608 * vc/diff-mode.el:
21609 * vc/log-edit.el:
21610 * vc/log-view.el:
21611 * vc/smerge-mode.el:
21612 * textmodes/bibtex-style.el:
21613 * textmodes/css-mode.el:
21614 * startup.el:
21615 * uniquify.el:
21616 * minibuffer.el:
21617 * newcomment.el:
21618 * reveal.el:
21619 * server.el:
21620 * mpc.el:
21621 * emacs-lisp/smie.el:
21622 * doc-view.el:
21623 * dired.el:
21624 * abbrev.el: Use lexical binding.
21625
21626 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21627
21628 * info.el (info-display-manual): New function.
21629
21630 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21631
21632 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21633
21634 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21635
21636 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21637 an entry for that server in rcirc-authinfo. (Bug#8385)
21638
21639 2011-03-31 Glenn Morris <rgm@gnu.org>
21640
21641 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21642
21643 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21644
21645 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21646
21647 * progmodes/python.el (python-default-interpreter)
21648 (python-python-command-args, python-jython-command-args)
21649 (python-which-shell, python-which-args, python-which-bufname)
21650 (python-file-queue, python-comint-output-filter-function)
21651 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21652 variables and functions.
21653
21654 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21655
21656 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21657 (completion-in-region-mode): New minor mode.
21658 (completion-in-region): Use it.
21659 (completion-in-region--data, completion-in-region-mode-map): New vars.
21660 (completion-in-region--postch): New function.
21661 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21662 New vars.
21663 (completion--capf-wrapper): New function.
21664 (completion-at-point): Use it to track well-behavedness of
21665 hook functions.
21666 (completion-help-at-point): New command.
21667
21668 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21669
21670 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21671 syntax class to search for whitespace on a single line
21672 (Message-ID: <4D938140.4030905@redhat.com>).
21673
21674 2011-03-30 Leo Liu <sdl.web@gmail.com>
21675
21676 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21677 New commands.
21678 (edit-abbrevs-map): Bind them here.
21679 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21680
21681 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21682
21683 * allout.el (allout-hide-by-annotation, allout-flag-region):
21684 Reduce possibility of overlay leakage by making them volatile.
21685
21686 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21687 hash is not shared between buffers. Mode initialization is
21688 responsible for giving it a useful starting value.
21689 (allout-item-span): Reduce possibility of overlay leakage by
21690 making them volatile.
21691 (allout-widgets-count-buttons-in-region): Add diagnostic function
21692 for tracking down button overlay leaks.
21693
21694 2011-03-29 Leo Liu <sdl.web@gmail.com>
21695
21696 * ido.el (ido-read-internal): Use the default history var
21697 minibuffer-history if no HISTORY is specified.
21698
21699 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21700
21701 * net/imap.el (imap-shell-open, imap-process-connection-type):
21702 Use imap-process-connection-type for 'shell' streams as well as
21703 Kerberos, SSL, other subprocesses.
21704
21705 2011-03-28 Leo Liu <sdl.web@gmail.com>
21706
21707 * abbrev.el (abbrev-table-empty-p): New function.
21708 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21709 nonempty ones. (Bug#5937)
21710
21711 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21712
21713 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21714
21715 2011-03-27 Leo Liu <sdl.web@gmail.com>
21716
21717 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21718 for foreground and background colors.
21719 (ansi-color-make-color-map): Adapt.
21720
21721 2011-03-25 Leo Liu <sdl.web@gmail.com>
21722
21723 * midnight.el (midnight-time-float): Remove. Note it calculates
21724 the microsecond component incorrectly and seconds-to-time does the
21725 same job.
21726 Remove redundant (require 'timer).
21727
21728 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21729 (ido-completions): Remove unused arguments. (Bug#8329)
21730
21731 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21732
21733 * minibuffer.el (completion--flush-all-sorted-completions):
21734 Remove itself from hook.
21735 (completion-at-point): Let the functions perform the completion
21736 immediately and return nil or t.
21737 * comint.el (comint-dynamic-complete-functions): Now identical to
21738 completion-at-point-functions.
21739 (comint-dynamic-list-input-ring): Remove unused var `index'.
21740 (comint--match-partial-filename, comint--unquote&expand-filename):
21741 New funs, split from comint-match-partial-filename.
21742 (comint-dynamic-complete): Use completion-at-point.
21743 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21744
21745 2011-03-24 Drew Adams <drew.adams@oracle.com>
21746
21747 * thingatpt.el: Support `defun'.
21748
21749 2011-03-23 Leo Liu <sdl.web@gmail.com>
21750
21751 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21752
21753 * help-mode.el (help-mode-finish): Tweak regexp.
21754
21755 2011-03-23 Glenn Morris <rgm@gnu.org>
21756
21757 * eshell/esh-opt.el (eshell-eval-using-options):
21758 Do not bind unused local variable `eshell-option-stub'.
21759
21760 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21761
21762 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21763
21764 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21765 keymap variable in `with-no-warnings' to avoid a warning when the
21766 keymap has been already `defconst'ed.
21767
21768 2011-03-22 Leo Liu <sdl.web@gmail.com>
21769
21770 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21771 encode all chars in abbrevs; otherwise use emacs-mule or
21772 utf-8-emacs. (Bug#8308)
21773
21774 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21775
21776 * simple.el (backward-delete-char-untabify):
21777 Avoid warning about using `delete-backward-char'.
21778
21779 * image.el (image-type-file-name-regexps): Make it variable.
21780 `imagemagick-register-types' modifies it, and the user may want
21781 to add new extensions for known image types.
21782 (imagemagick-register-types): Throw error if not using ImageMagick.
21783
21784 2011-03-22 Leo Liu <sdl.web@gmail.com>
21785
21786 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21787 located before rcirc-prompt-end-marker.
21788 (rcirc-complete): Error if point is not after rcirc prompt.
21789 Handle the case when table is nil.
21790 (rcirc-user-authenticated): Define to fix compiler warning.
21791
21792 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21793
21794 * custom.el (custom--inhibit-theme-enable): Make it affect only
21795 custom-theme-set-variables and custom-theme-set-faces.
21796 (provide-theme): Ignore custom--inhibit-theme-enable.
21797 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21798 (custom-enabling-themes): Delete variable.
21799 (enable-theme): Accept only loaded themes as arguments.
21800 Ignore the special custom-enabled-themes variable.
21801 (custom-enabled-themes): Forbid themes from setting this.
21802 Eliminate use of custom-enabling-themes.
21803 (custom-push-theme): Quote "changed" custom var entry.
21804
21805 2011-03-21 Leo Liu <sdl.web@gmail.com>
21806
21807 * ido.el (ido-read-internal): Add ido-selected to history instead
21808 of user input.
21809
21810 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21811
21812 * subr.el (deferred-action-list, deferred-action-function):
21813 Mark obsolete.
21814
21815 2011-03-21 Leo Liu <sdl.web@gmail.com>
21816
21817 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21818 change on 2011-02-13 (bug#8309).
21819
21820 * minibuffer.el (read-file-name-function): Change default value.
21821 (read-file-name--defaults): Rename from read-file-name-defaults.
21822 (read-file-name-default): Rename from read-file-name.
21823 (read-file-name): Call read-file-name-function.
21824
21825 2011-03-21 Glenn Morris <rgm@gnu.org>
21826
21827 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21828 Doc fixes.
21829
21830 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21831
21832 * cus-theme.el: Add missing provide statement.
21833 (customize-create-theme): Extract theme value correctly.
21834 (custom-theme-visit-theme): Autoload.
21835 (customize-create-theme): Prompt before inserting default faces.
21836
21837 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21838
21839 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21840 units and musical notes.
21841
21842 2011-03-20 Leo Liu <sdl.web@gmail.com>
21843
21844 * ido.el (ido-read-internal): Use completing-read-default.
21845 (ido-completing-read): Fix compatibility with completing-read.
21846
21847 2011-03-20 Christian Ohler <ohler@gnu.org>
21848
21849 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21850 (ert-delete-all-tests): Use `called-interactively-p' rather than
21851 `interactive-p'.
21852 (ert--make-xrefs-region): Respect END.
21853
21854 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21855
21856 * dired-aux.el (dired-create-directory): Signal an error if the
21857 directory already exists (Bug#8246).
21858
21859 * facemenu.el (list-colors-display): Call list-faces-display
21860 inside with-help-window.
21861 (list-colors-print): Use display property to align the final
21862 column, instead of checking window-width.
21863
21864 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21865
21866 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21867 windows-nt systems.
21868 (emerge-protect-metachars): Quote correctly for ms-dos and
21869 windows-nt systems.
21870
21871 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21872
21873 * info.el (info-initialize): Replace all uses of `:' with
21874 path-separator for compatibility with non-Unix systems.
21875 Cache quoting of path-separator. (Bug#8258)
21876
21877 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21878
21879 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21880 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21881 (mouse-avoidance-mode): Fix typos in docstrings.
21882
21883 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21884
21885 * startup.el (package-subdirectory-regexp): Move from package.el.
21886 Omit \\` and \\', and let callers add them.
21887
21888 * emacs-lisp/package.el (package-strip-version)
21889 (package-load-all-descriptors): Add \\` and \\' to
21890 package-subdirectory-regexp before using it.
21891 (package-untar-buffer): New arg DIR; ensure that file untars only
21892 into this expected directory. Remove superfluous delete-region.
21893 (package-unpack): Caller changed.
21894 (package-tar-file-info): Use package-subdirectory-regexp.
21895
21896 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21897
21898 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21899 diff-mode-shared-map (bug#8284).
21900 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21901
21902 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21903
21904 * calendar/time-date.el (format-seconds): Use assoc instead of
21905 assoc-string, since assoc-string doesn't exist in XEmacs.
21906
21907 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21908
21909 * custom.el (custom-known-themes): Reflow docstring.
21910 (custom-theme-load-path): Fix typo in docstring.
21911 (load-theme): Fix typo in error message.
21912 (custom-available-themes, custom-variable-theme-value):
21913 Use `let', not `let*'.
21914
21915 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21916
21917 * calc/README: Mention inclusion of musical notes.
21918
21919 * calc/calc-units.el (calc-lu-quant): Rename from
21920 `calc-logunits-quantity'.
21921 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21922 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21923 (calc-db): Rename from `calc-dblevel'.
21924 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21925 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21926 (calc-np): Rename from `calc-nplevel'.
21927 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21928 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21929 (calc-lu-plus): Rename from `calc-logunits-add'.
21930 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21931 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21932 (calc-lu-minus): Rename from `calc-logunits-sub'.
21933 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21934 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21935 (calc-lu-times): Rename from `calc-logunits-mul'.
21936 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21937 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21938 (calc-lu-divide): Rename from `calc-logunits-div'.
21939 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21940 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21941
21942 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21943 functions being autoloaded.
21944
21945 * calc/calc.el (calc-lu-power-reference): Rename from
21946 `calc-logunits-power-reference'.
21947 (calc-lu-field-reference): Rename from
21948 `calc-logunits-field-reference'.
21949
21950 * calc/calc-help.el (calc-l-prefix-help):
21951 Mention musical note functions.
21952
21953 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21954
21955 * minibuffer.el (completion-all-sorted-completions):
21956 Use :completion-cycle-penalty text property if present.
21957
21958 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21959
21960 * allout.el (allout-yank-processing): Adjust for new rebulleting
21961 regime so bullet being yanked is used without prompting the user
21962 for a choice.
21963
21964 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21965
21966 * startup.el (command-line): Warn the user that _emacs is deprecated.
21967
21968 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21969
21970 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21971 (delphi-verbose, delphi-comment-face, delphi-string-face)
21972 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21973 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21974 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21975 (delphi-new-comment-line, delphi-font-lock-defaults)
21976 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21977 Fix typos in docstrings.
21978
21979 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21980
21981 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21982 Invert the roles of character and string values for INSTEAD, so a
21983 string is used for the more common case of a defaulting prompt.
21984
21985 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21986
21987 * progmodes/ruby-mode.el (ruby-backward-sexp):
21988 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21989 * play/gamegrid.el (gamegrid-make-face):
21990 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21991 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21992 * notifications.el (notifications-notify):
21993 * net/xesam.el (xesam-search-engines):
21994 * net/quickurl.el (quickurl-list-insert):
21995 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21996
21997 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21998
21999 * startup.el (command-line): Update package subdirectory regexp.
22000
22001 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22002
22003 * allout.el (allout-abbreviate-flattened-numbering)
22004 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22005
22006 * subr.el (read-char-choice): Only show the cursor after the prompt,
22007 not after the answer.
22008
22009 2011-03-15 Kevin Ryde <user42@zip.com.au>
22010
22011 * help-fns.el (variable-at-point): Skip leading quotes, if any
22012 (bug#8253).
22013
22014 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22015
22016 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22017 warning message.
22018
22019 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22020
22021 * shell.el (shell): When called interactively, offer to change the
22022 shell file name on remote hosts.
22023
22024 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22025
22026 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22027 integration for LDAP parameters. The host, base, user or binddn,
22028 and secret tokens can be specified in a netrc file, for instance.
22029 This is optional because an `auth-source' parameter must be
22030 specified in the search attributes.
22031
22032 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22033
22034 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22035
22036 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22037
22038 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22039 into declaration. Remove redundant and harmful binding.
22040
22041 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22042
22043 * files.el (file-ownership-preserved-p): Pass `integer' as an
22044 explicit 2nd argument to `file-attributes'. If the file's owner
22045 is the Administrators group on Windows, and the current user is
22046 Administrator, consider that a match.
22047
22048 * server.el (server-ensure-safe-dir): Consider server directory
22049 safe on MS-Windows if its owner is the Administrators group while
22050 the current Emacs user is Administrator. Use `=' to compare
22051 numerical UIDs, since they could be integers or floats.
22052
22053 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22054
22055 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22056
22057 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22058
22059 Sync with Tramp 2.2.1.
22060
22061 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22062
22063 * net/trampver.el: Update release number.
22064
22065 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22066
22067 * progmodes/compile.el (compilation--previous-directory): Fix up
22068 various nil/dead-marker mismatches (bug#8014).
22069 (compilation-directory-properties, compilation-error-properties):
22070 Don't call it at a position past the one we're about to change.
22071
22072 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22073 Disable obsolescence warnings in the file that declares it.
22074
22075 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22076
22077 * allout-widgets.el (allout-widgets-tally):
22078 Initialize allout-widgets-tally as a hash table rather than nil to
22079 prevent mode-line redisplay warnings. Also, clarify the module
22080 description and fix a comment typo.
22081
22082 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22083
22084 * help-fns.el (describe-variable): Don't complete keywords.
22085 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22086
22087 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22088
22089 * emacs-lisp/package.el (package-version-join): Impose a standard
22090 string representation for pre/alpha/beta version lists.
22091 (package-unpack-single): Standardize the directory name by passing
22092 it through package-version-join.
22093 (package-strip-rcs-id): Accept any version string that does not
22094 signal an error in version-to-list.
22095
22096 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22097
22098 * simple.el (delete-trailing-whitespace): Return nil for the
22099 benefit of `write-file-functions'.
22100
22101 2011-03-10 Glenn Morris <rgm@gnu.org>
22102
22103 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22104
22105 * vc/vc-git.el (vc-git-program): New option.
22106 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22107 (vc-git--call): Use it.
22108
22109 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22110
22111 * cus-edit.el (Custom-newline): If no button at point, look
22112 for a subgroup button at start-of-line. (Bug#2298)
22113
22114 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22115
22116 2011-03-10 Julien Danjou <julien@danjou.info>
22117
22118 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22119 `cursor-type' is nil.
22120
22121 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22122
22123 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22124
22125 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22126
22127 * allout.el: Change so yank of distinctive-bullet items
22128 preserves the existing header prefix, rebulleting it if necessary,
22129 rather than replacing it. This is necessary for proper operation
22130 of cooperative addons like allout-widgets.
22131 (allout-make-topic-prefix, allout-rebullet-heading):
22132 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22133 value as alternate bullet to be used, instead of prompting the user
22134 for a bullet character.
22135
22136 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22137
22138 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22139 Do not use `tramp-file-name-port', because this returns also
22140 `tramp-default-port'.
22141
22142 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22143
22144 * net/rcirc.el (rcirc-handler-001): Remove useless
22145 with-rcirc-process-buffer.
22146 (rcirc-check-auth-status): Swap arguments to string-match.
22147
22148 2011-03-09 Glenn Morris <rgm@gnu.org>
22149
22150 * shell.el (shell-mode):
22151 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22152
22153 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22154 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22155
22156 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22157
22158 * emacs-lisp/package.el (package-refresh-contents)
22159 (package-menu-execute): Use condition-case-no-debug.
22160
22161 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22162
22163 * simple.el (shell-command-to-string): Use `process-file'.
22164
22165 * emacs-lisp/package.el (package-tar-file-info): Handle also
22166 remote files.
22167
22168 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22169 Use `equal' for upload base check.
22170
22171 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22172
22173 * textmodes/texinfo.el (texinfo-environments):
22174 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22175
22176 2011-03-08 Glenn Morris <rgm@gnu.org>
22177
22178 * cus-start.el (cursor-in-non-selected-windows):
22179 Fix :set quoting oddness. (Bug#8192)
22180
22181 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22182 in some setf expressions. (Bug#2159)
22183
22184 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22185
22186 * custom.el (custom-available-themes): Return themes in
22187 alphabetical order.
22188
22189 See ChangeLog.15 for earlier changes.
22190
22191 ;; Local Variables:
22192 ;; coding: utf-8
22193 ;; End:
22194
22195 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22196
22197 This file is part of GNU Emacs.
22198
22199 GNU Emacs is free software: you can redistribute it and/or modify
22200 it under the terms of the GNU General Public License as published by
22201 the Free Software Foundation, either version 3 of the License, or
22202 (at your option) any later version.
22203
22204 GNU Emacs is distributed in the hope that it will be useful,
22205 but WITHOUT ANY WARRANTY; without even the implied warranty of
22206 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22207 GNU General Public License for more details.
22208
22209 You should have received a copy of the GNU General Public License
22210 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.