]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/button.el: Make them work in header-lines.
[gnu-emacs] / lisp / ChangeLog
1 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2
3 * button.el: Make them work in header-lines (bug#12817).
4 (button-map): Add bindings for header-line and mode-line use.
5 (button-get, button-put, button-label): `button' may now be a string.
6 (button-activate): Don't make it a defsubst.
7 (button--area-button-p, button--area-button-string): New functions.
8 (make-text-button): Fix the return value when `beg' was a string.
9 (push-button): Handle the mode-line case.
10
11 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
14 (sql-signum): Remove. Use `cl-signum' instead.
15 (sql-read-passwd): Remove; use read-passwd instread.
16 (sql-get-login-ext): Use read-string.
17 (sql-get-login): Use dolist and pcase.
18 (sql--completion-table): Rename from sql-try-completion.
19 Use complete-with-action.
20 (sql-mode): Don't change abbrev-all-caps globally.
21 (sql-connect): Don't rely on dynamic scoping for `new-name'.
22 (sql-postgres-completion-object): Initialize vars in their `let'.
23 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
24 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
25 (sql-comint-interbase): Use a single append, without setq.
26 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
27
28 * hi-lock.el: Rework the default face and the serialize regexp code.
29 (hi-lock--auto-select-face-defaults): Remove.
30 (hi-lock-string-serialize-serial): Remove.
31 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
32 make weak.
33 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
34 equal string.
35 (hi-lock-set-pattern): Adjust accordingly.
36 (hi-lock--regexps-at-point): Simplify accordingly.
37 (hi-lock--auto-select-face-defaults): Remove.
38 (hi-lock--last-face): New var to replace it.
39 (hi-lock-read-face-name): Rewrite (bug#11095).
40 (hi-lock-unface-buffer): Arrange for the face to be the next default.
41
42 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp.el (tramp-replace-environment-variables):
45 Hide compiler warning.
46 (tramp-file-name-for-operation): Remove `executable-find',
47 `start-process', `call-process' and `call-process-region'.
48
49 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
50
51 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
52 compatibility.
53
54 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
55
56 2012-12-06 Chong Yidong <cyd@gnu.org>
57
58 * ffap.el (ffap-replace-file-component): Fix typo.
59
60 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
63 fix open-paren-like token test (bug#12785).
64
65 2012-12-06 Glenn Morris <rgm@gnu.org>
66
67 * mail/rmailsum.el (rmail-new-summary): Tweak for
68 rmail-maybe-display-summary changing buffer. (Bug#13066)
69
70 2012-12-06 Juri Linkov <juri@jurta.org>
71
72 * info.el (Info-fontify-node): Don't hide the last newline.
73 (Bug#12272)
74
75 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
76
77 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
78 so as to enable message-read-from-minibuffer to expand mail aliases.
79
80 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
83 the `intangible' property.
84 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
85
86 2012-12-05 Deniz Dogan <deniz@dogan.se>
87
88 * net/rcirc.el (rcirc-urls): Update documentation.
89 (rcirc-condition-filter): New function.
90 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
91 and exclude consecutive duplicate URLs (Bug#6082).
92
93 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
96 Check return code of copy command.
97
98 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
99 Use group `tramp'. Add version.
100
101 2012-12-05 Chong Yidong <cyd@gnu.org>
102
103 * ffap.el (ffap-url-regexp): Don't require matching at front of
104 string (Bug#4952).
105 (ffap-url-p): If only a substring matches, return that.
106 (ffap-url-at-point): Use the return value of ffap-url-p.
107 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
108 (find-file-at-point, dired-at-point, dired-at-point-prompter)
109 (ffap-guess-file-name-at-point): Likewise.
110 (ffap-replace-file-component): Fix typo.
111
112 * info.el (info-display-manual): Add existing Info buffers, whose
113 files may not be in Info-directory-list, to the completion.
114 (info--manual-names): New helper function.
115
116 2012-12-05 Glenn Morris <rgm@gnu.org>
117
118 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
119 New functions, for detecting and resolving conflicts. (Bug#10709)
120
121 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
122
123 * hi-lock.el (hi-lock-auto-select-face): New user variable.
124 (hi-lock-auto-select-face-defaults): New buffer local variable.
125 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
126 (hi-lock-unface-buffer): Prompt user with useful defaults.
127 With prefix arg, unhighlight all hi-lock patterns in buffer.
128
129 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
132
133 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
134
135 * Makefile.in (TRAMP_SRC):
136 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
137
138 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
139
140 * net/tramp-adb.el: New package.
141
142 2012-12-04 Chong Yidong <cyd@gnu.org>
143
144 * terminal.el: Move to obsolete/.
145
146 * longlines.el: Move to obsolete/.
147
148 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
149 Remove code referring to longlines mode.
150
151 2012-12-03 Juri Linkov <juri@jurta.org>
152
153 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
154
155 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
156
157 * textmodes/ispell.el (ispell-init-process)
158 (ispell-start-process, ispell-internal-change-dictionary):
159 Make sure personal dictionary name is expanded after initial
160 `default-directory' value. Use expanded strings for
161 keep/restart checks and for value (Bug#13019).
162
163 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
164
165 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
166
167 2012-12-03 Leo Liu <sdl.web@gmail.com>
168
169 * files.el (dir-locals-read-from-file): Check file non-empty
170 before reading. (Bug#13038)
171
172 2012-12-03 Glenn Morris <rgm@gnu.org>
173
174 * jka-cmpr-hook.el (jka-compr-get-compression-info):
175 Remove any version extension before checking filename. (Bug#13006)
176 (jka-compr-compression-info-list): Belated :version bump.
177
178 2012-12-03 Chong Yidong <cyd@gnu.org>
179
180 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
181
182 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
183 (buffer-menu): Doc fix (Bug#12294).
184
185 2012-12-03 Roland Winkler <winkler@gnu.org>
186
187 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
188 of diary-show-all-entries in the diary buffer (Bug#12994).
189
190 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
191
192 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
193 "<STDIN>". This is binary safe.
194
195 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
196
197 * calc/calc-forms.el (math-absolute-from-iso-dt)
198 (math-date-to-iso-dt, math-parse-iso-date-validate)
199 (math-iso-dt-to-date): New functions.
200 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
201 (math-fd-isoweekday): New variables.
202 (calc-date-notation, math-parse-standard-date, math-format-date)
203 (math-format-date-part): Add support for more formatting codes.
204
205 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
206
207 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
208 current buffer's file name when called interactively (Bug#12488).
209
210 2012-12-02 Juri Linkov <juri@jurta.org>
211
212 * info.el (info-display-manual): Don't clobber an existing Info
213 buffer (Bug#10770). Add completion (Bug#10771).
214
215 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
216
217 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
218 before using it for comparison (Bug#5297).
219
220 2012-12-01 Jari Aalto <jari.aalto@cante.net>
221
222 * textmodes/css-mode.el (css-current-defun-name): New function.
223 (css-mode): Use it.
224
225 * textmodes/sgml-mode.el (html-current-defun-name): New function.
226 (html-mode): Use it.
227
228 2012-12-01 Chong Yidong <cyd@gnu.org>
229
230 Modularize add-log-current-defun (Bug#2224).
231 Suggested by Jari Aalto.
232
233 * vc/add-log.el (add-log-current-defun-function): Doc fix.
234 (add-log-current-defun): Move mode-specific code to other files.
235 (add-log-lisp-like-modes, add-log-c-like-modes)
236 (add-log-tex-like-modes): Variables deleted.
237
238 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
239 (lisp-mode-variables): Use it.
240
241 * progmodes/cc-mode.el (c-common-init):
242 * progmodes/cperl-mode.el (cperl-mode): Set a value for
243 add-log-current-defun-function.
244
245 * progmodes/m4-mode.el (m4-current-defun-name): New function.
246 (m4-mode): Use it.
247
248 * progmodes/perl-mode.el (perl-current-defun-name): New.
249 (perl-mode): Use it.
250
251 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
252 Use lisp-current-defun-name.
253
254 * textmodes/tex-mode.el (tex-current-defun-name): New.
255 (tex-common-initialization): Use it.
256
257 * textmodes/texinfo.el (texinfo-current-defun-name): New.
258 (texinfo-mode): Use it.
259
260 2012-12-01 Chong Yidong <cyd@gnu.org>
261
262 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
263 * progmodes/autoconf.el (autoconf-mode):
264 * progmodes/js.el (js-mode):
265 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
266 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
267 * progmodes/perl-mode.el (perl-mode):
268 * progmodes/sh-script.el (sh-mode, sh-set-shell):
269 * textmodes/css-mode.el (css-mode):
270 * textmodes/sgml-mode.el (html-mode, sgml-mode)
271 (sgml-tags-invisible, sgml-guess-indent):
272 * textmodes/tex-mode.el (tex-common-initialization)
273 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
274 (doctex-mode, plain-tex-mode, latex-mode):
275 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
276
277 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
278
279 * vc/vc-hg.el (vc-hg-next-revision):
280 Ensure use of default "tip" output format. (Bug#6968)
281
282 2012-12-01 Kim F. Storm <storm@cua.dk>
283
284 * startup.el (fancy-startup-tail): Add a clickable link
285 (Bug#2176).
286
287 2012-12-01 Chong Yidong <cyd@gnu.org>
288
289 * startup.el (fancy-startup-tail): Improve the message about
290 auto-save files (Bug#2176).
291
292 * files.el (recover-session): Improve the descriptive message, and
293 use substitute-command-keys.
294
295 2012-12-01 Glenn Morris <rgm@gnu.org>
296
297 * ido.el (ido-file-internal):
298 Handle other-window, other-frame for dired. (Bug#13036)
299
300 2012-11-30 Glenn Morris <rgm@gnu.org>
301
302 * icomplete.el (icomplete-separator): Fix :version.
303
304 2012-11-30 Chong Yidong <cyd@gnu.org>
305
306 * shell.el (shell): For C-u M-x shell, use an inactive shell
307 buffer as the default (Bug#1975).
308 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
309 (shell-mode): Use them to reapply ansi colorization if Shell mode
310 is re-enabled.
311
312 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
313
314 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
315
316 2012-11-30 Samuel Bronson <naesten@gmail.com>
317
318 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
319 flag to xargs, for compatibility with BSD xargs (Bug#11703).
320
321 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
322
323 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
324 by move-to-column (Bug#3234).
325
326 2012-11-30 Chong Yidong <cyd@gnu.org>
327
328 * longlines.el (longlines-wrap-line, longlines-encode-region):
329 Preserve text properties (Bug#1425).
330
331 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
332
333 * vc/vc.el (vc-register): Allow registering a file which is
334 already registered with a different backend (Bug#10589).
335
336 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
337 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * icomplete.el: Change separator; add ido-style commands.
340 (icomplete-show-key-bindings): Remove custom var.
341 (icomplete-get-keys): Remove function.
342 (icomplete-forward-completions, icomplete-backward-completions):
343 New commands.
344 (icomplete-minibuffer-map): New var.
345 (icomplete-minibuffer-setup): Use it.
346 (icomplete-exhibit): Don't delay if the list of completions is known.
347 (icomplete-separator): New custom.
348 (icomplete-completions): Use it.
349 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
350 (minibuffer-force-complete-and-exit): New command.
351 (minibuffer--complete-and-exit): New function extracted from
352 minibuffer-complete-and-exit.
353 (minibuffer-complete-and-exit): Use it.
354
355 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
356 error message when the file doesn't exist (bug#12974).
357
358 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
359
360 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
361
362 2012-11-29 Glenn Morris <rgm@gnu.org>
363
364 * files.el (hack-dir-local-variables): Warn if try to set
365 coding via dir-locals, since it doesn't work. (Bug#7169)
366
367 Add desktop support for restoring vc-dir buffers. (Bug#10606)
368 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
369 Set buffer-local value of desktop-save-buffer.
370 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
371 New functions.
372 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
373 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
374
375 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
376 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
377 Doc fix.
378 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
379 Doc fixes.
380
381 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
382
383 * calc/calc-forms.el (calc-date-notation): Fix regexp
384 used to find time codes. Fix symbol for seconds.
385
386 2012-11-27 Glenn Morris <rgm@gnu.org>
387
388 * emacs-lisp/derived.el (derived-mode-make-docstring):
389 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
390
391 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * textmodes/table.el (table-insert): Don't use `symbol-name' on
394 lexically scoped variables (bug#13005).
395
396 2012-11-27 Glenn Morris <rgm@gnu.org>
397
398 * vc/vc-hooks.el (vc-mistrust-permissions):
399 Default to t, to avoid data-loss. (Bug#11490)
400
401 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
402
403 * progmodes/python.el (python-indent-guess-indent-offset):
404 If indentation is guessed make python-indent-offset buffer-local.
405
406 Fix Imenu regression.
407 * progmodes/python.el (python-nav-beginning-of-defun):
408 Fix forward movement when statement(s) separates point from defun.
409 (python-imenu-prev-index-position): New function.
410
411 2012-11-27 Eli Zaretskii <eliz@gnu.org>
412
413 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
414
415 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
416 Don't set buffer-file-type. Return nil. (Bug#12989)
417
418 2012-11-27 Glenn Morris <rgm@gnu.org>
419
420 * hippie-exp.el (hippie-expand-try-functions-list):
421 Re-autoload it. (Bug#12982)
422
423 2012-11-27 Eli Zaretskii <eliz@gnu.org>
424
425 * descr-text.el (describe-char-padded-string):
426 Call internal-char-font only on GUI frames. (Bug#11964)
427
428 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
429
430 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
431 and obsoletion message.
432
433 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
436 the constructs to keep outside of the `cl-block' (bug#12977).
437
438 2012-11-27 Chong Yidong <cyd@gnu.org>
439
440 * mouse.el (mouse-drag-line): Even if the line is not draggable,
441 keep reading until we get the up-event anyway, in order to process
442 the up-event for mouse-1-click-follows-link (Bug#12971).
443
444 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
447 base function is not yet defined (bug#12965).
448 (ad-activate-advised-definition): Use ad-compile-function.
449 (ad-activate): Use cond.
450
451 2012-11-25 Leo Liu <sdl.web@gmail.com>
452
453 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
454 (Bug#12979)
455
456 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
457
458 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
459 reftex-section-info-function in order to be compatible with
460 Texinfo integration.
461
462 * textmodes/reftex.el (reftex-section-pre-regexp)
463 (reftex-section-post-regexp, reftex-section-info-function):
464 New variable.
465 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
466 reftex-section-post-regexp, and reftex-section-info-function in order
467 to be compatible with Texinfo integration.
468
469 * textmodes/reftex-toc.el (reftex-toc-promote-action):
470 use reftex-section-pre-regexp variable in order to be compatible with
471 Texinfo integration.
472
473 2012-11-25 Chong Yidong <cyd@gnu.org>
474
475 * faces.el: Make face-spec-set more analogous to setq.
476 (face-spec-set): Change the third arg to specify whether this
477 function is being called via defface, customize, or a third party.
478 Set the appropriate symbol properties. Clear the override spec if
479 setting via Custom. Initialize face if necessary. (Bug#4988)
480 (face-spec-recalc): Allow theme faces to completely replace the
481 defface spec, in the same way as custom faces (Bug#8454).
482
483 * cus-face.el (custom-declare-face): Move face initialization to
484 face-spec-set.
485 (custom-theme-set-faces): Don't initialize the face name here, as
486 that is now done in face-spec-set.
487
488 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
489 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
490 Simplify by using the new arg to face-spec-set.
491
492 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
493 reset face-override-spec too, and use custom-declare-face.
494
495 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
496
497 * term/ns-win.el (ns-initialize-window-system): Move creation of
498 fontsets here (Bug#11964).
499
500 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
501
502 * ses.el (ses-rename-cell): Correct bug on mode-line update after
503 cell renaming.
504
505 2012-11-24 Chong Yidong <cyd@gnu.org>
506
507 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
508 obsolete.
509
510 * custom.el (custom-theme-set-variables): Use a topological sort
511 for ordering by custom dependencies (Bug#12952).
512 (custom--sort-vars, custom--sort-vars-1): New functions.
513
514 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
517 lexical-binding (bug#12938).
518
519 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
520
521 * image-mode.el (image-transform-check-size): Use assertions only
522 for images of type imagemagick.
523
524 Otherwise no error, image-transform-fit-to-{width,height} is
525 silently ignored, as before. Doc fix.
526
527 2012-11-24 Chong Yidong <cyd@gnu.org>
528
529 * faces.el (color-defined-p): Doc fix (Bug#12853).
530
531 2012-11-24 Juri Linkov <juri@jurta.org>
532
533 * dired.el (dired-mark): Add optional arg `interactive'.
534 Check for `use-region-p' if `interactive' is non-nil.
535 (dired-unmark, dired-flag-file-deletion): Add optional arg
536 `interactive'. Call `dired-mark' with the arg `interactive'.
537 (Bug#10624)
538
539 * wdired.el: Revert 2012-10-17 change partly and replace it with
540 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
541 (wdired-finish-edit): Add marks for new file names to
542 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
543 after `revert-buffer'.
544 (wdired-do-renames): Remove calls to `dired-remove-file',
545 `dired-add-file', `dired-add-entry'. (Bug#11795)
546
547 2012-11-24 Alan Mackenzie <acm@muc.de>
548
549 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
550
551 Fix bugs in the state cache. Enhance a debugging mechanism.
552 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
553 "brace at column zero" strategy for C++.
554 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
555 (c-parse-state-point): New variable.
556 (c-record-parse-state-state): Record old parse state with
557 `copy-tree'. Record previous value of point.
558 (c-debug-parse-state-double-cons): New debugging function.
559 (c-debug-parse-state): Call the above new function.
560 (c-toggle-parse-state-debug): Output a confirmatory message.
561
562 * progmodes/cc-mode.el (c-before-change, c-after-change):
563 Call c-invalidate-state-cache from `c-before-change' instead of
564 `c-after-change'.
565
566 2012-11-23 Chong Yidong <cyd@gnu.org>
567
568 * find-cmd.el (find-constituents): Add executable, ipath,
569 readable, samefile, writable, daystart, regextype (Bug#12856).
570
571 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
574
575 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
576
577 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
578 definition. This fixes a bootstrap failure.
579 (calc-gregorian-switch): In menu, put dates before regions.
580 This is easier to follow, lines up better in the menu, and lets us
581 coalesce regions that switch at the same time. Give country
582 names, not "Vatican", as that's better for non-expert users.
583 Use names that are stable between the date of switch and now, e.g.,
584 Bohemia and Moravia (which existed then and now) and not
585 Czechoslovakia (which didn't exist then and doesn't exist now).
586 What is now the U.S. mostly did not switch at the same time as
587 Britain, so omit the U.S. Correct spelling of "Britain".
588 Catholic Switzerland was too much of a mess, so omit it.
589
590 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
591
592 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
593 after the variable is changed.
594
595 2012-11-21 Daniel Colascione <dancol@dancol.org>
596
597 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
598 in SQL declarations for font-lock.
599 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
600
601 2012-11-21 Glenn Morris <rgm@gnu.org>
602
603 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
604 (face-italic-p): Add optional argument "inherit".
605
606 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
607 Remove -p suffix from names, for consistency with other set-face-*.
608 (set-face-inverse-video): Fix interactive spec.
609 * play/gamegrid.el (gamegrid-make-mono-tty-face):
610 * textmodes/table.el (table--update-cell-face):
611 Use set-face-inverse-video rather than now obsolete alias.
612
613 2012-11-21 Eli Zaretskii <eliz@gnu.org>
614
615 * simple.el (line-move): Don't call line-move-partial if
616 scroll-conservatively is in effect. (Bug#12927)
617
618 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
621 Fallback on completion-at-point rather than
622 pcomplete-expand-and-complete, and only if pcomplete actually failed.
623 (eshell-cmpl-initialize): Setup completion-at-point.
624
625 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
626
627 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
628
629 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
630
631 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
632 are remote, check out-of-band property for both.
633
634 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * window.el (switch-to-buffer): Re-add the warning that was lost in the
637 code rewrite.
638
639 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
640
641 More minor time fixes.
642 * calendar/time-date.el: Commentary fix.
643 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
644 too much other code depends on (0 0) time stamps.
645 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
646 Add a couple of FIXME comments.
647
648 Minor cleanup for times as lists of four integers.
649 * files.el (dir-locals-directory-cache):
650 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
651 Doc fixes.
652 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
653 * ps-bdf.el (bdf-file-newer-than-time):
654 Process four-integers time stamps, not two. Doc fixes.
655
656 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * uniquify.el (uniquify-managed): Use defvar-local.
659 (rename-buffer, create-file-buffer): Advise with advice-add.
660 (uniquify-unload-function): Unadvise accordingly.
661
662 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
663 (trace-buffer): Don't purecopy.
664 (trace-entry-message, trace-exit-message): Add `context' arg.
665 (trace--timer): New var.
666 (trace-make-advice): Adjust for use in nadvice.
667 Add `context' argument. Delay `display-buffer' via a timer.
668 (trace-function-internal): Use advice-add.
669 (trace--read-args): New function.
670 (trace-function-foreground, trace-function-background): Use it.
671 (trace-function): Rename to trace-function-foreground and redefine as
672 an alias to that new name.
673 (untrace-function, untrace-all): Adjust to the use of nadvice.
674
675 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
676
677 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
678
679 * subr.el (called-interactively-p-functions): New var.
680 (internal--called-interactively-p--get-frame): New macro.
681 (called-interactively-p, interactive-p): Rewrite in Lisp.
682 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
683 (called-interactively-p-functions): Use it.
684 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
685 (called-interactively-p-functions): Use it.
686 * allout.el (allout-called-interactively-p): Don't assume
687 called-interactively-p is a subr.
688
689 2012-11-20 Glenn Morris <rgm@gnu.org>
690
691 * profiler.el (profiler-report-mode-map): Add a menu.
692 No need to bind `q' because we derive from special-mode.
693 (profiler-report-find-entry): Handle calls from the menu-bar.
694
695 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * emacs-lisp/byte-run.el (defun-declarations-alist):
698 Allow a compiler-macro to be a lambda expression.
699
700 * progmodes/python.el: Use cl-lib. Move var declarations outside of
701 eval-when-compile.
702 (python-syntax-context): Add compiler-macro.
703 (python-font-lock-keywords): Simplify with De Morgan.
704
705 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
706
707 * files.el (load-file): Require match in minibuffer selection, as was
708 the case in Emacs-20 before we changed the spec to allow .elc files
709 (bug#12935).
710
711 * json.el: Don't require cl since we don't use it.
712 * color.el: Don't require cl.
713 (color-complement): `caddr' -> `nth 2'.
714
715 * calendar/time-date.el (time-to-seconds): De-obsolete.
716
717 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
718
719 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
720 year numbers.
721 (math-date-to-julian-dt): Adjust the initial approximation for the
722 year to deal with the new definition of the DATE.
723
724 2012-11-19 Daniel Colascione <dancol@dancol.org>
725
726 * term/w32-win.el (cygwin-convert-path-from-windows):
727 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
728
729 2012-11-18 Chong Yidong <cyd@gnu.org>
730
731 * filecache.el (file-cache--read-list): New function.
732 (file-cache-add-directory-list, file-cache-add-file-list)
733 (file-cache-delete-file-list, file-cache-delete-directory-list):
734 Use it to read a list of files or directories (Bug#12846).
735 (file-cache-add-file, file-cache-add-directory)
736 (file-cache-delete-file-list, file-cache-delete-file-regexp)
737 (file-cache-delete-directory): Print an message.
738
739 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
740
741 * calc/calc-forms.el (math-date-to-dt): Use integer date when
742 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
743
744 2012-11-18 Glenn Morris <rgm@gnu.org>
745
746 * image.el (insert-image, insert-sliced-image): Doc fix.
747
748 2012-11-18 Chong Yidong <cyd@gnu.org>
749
750 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
751 (Bug#12810).
752
753 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
754
755 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
756 response when the target file is in a subdirectory (Bug#12757).
757
758 2012-11-18 Chong Yidong <cyd@gnu.org>
759
760 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
761
762 2012-11-18 Glenn Morris <rgm@gnu.org>
763
764 * emacs-lisp/cl-lib.el (face-underline-p):
765 Use set-face-underline rather than the alias set-face-underline-p.
766
767 * window.el (with-temp-buffer-window): Doc fix.
768 * subr.el (with-output-to-temp-buffer):
769 Add doc xref to with-temp-buffer-window.
770
771 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
772
773 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
774 * calc/calc.el (math-format-date-cache): Declare.
775
776 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
777
778 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
779 It also uses January 1, 1 AD as its day number 1.
780 * calc/calc-forms.el (math-julian-date-beginning)
781 (math-julian-date-beginning-int): Implement this.
782
783 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
784
785 * descr-text.el (quail-find-key):
786 * dired.el (desktop-file-name):
787 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
788 * generic-x.el (comint-mode, comint-exec):
789 * image-dired.el (widget-forward):
790 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
791 (speedbar-change-expand-button-char)
792 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
793 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
794 * printing.el (easy-menu-add-item, easy-menu-remove-item)
795 (widget-field-action, widget-value-set):
796 * speedbar.el (imenu--make-index-alist):
797 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
798 (ring-length, ring-insert):
799 * vcursor.el (compare-windows-skip-whitespace):
800 * woman.el (dired-get-filename):
801 Declare functions.
802
803 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
804
805 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
806
807 * calc/calc.el (calc-gregorian-switch): New variable.
808
809 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
810 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
811 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
812 (math-leap-year-p): Add option to distinguish between Julian
813 and Gregorian calendars.
814 (math-day-number): Use `math-day-in-year' to do the computations.
815 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
816 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
817 to do the computations.
818 (math-date-to-dt): Use `math-date-to-julian-dt' and
819 `math-date-to-gregorian-dt' to do the computations.
820 (calcFunc-weekday, math-format-date-part): Use the new version of
821 the DATE to determine the weekday.
822 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
823 when necessary.
824
825 2012-11-17 Eli Zaretskii <eliz@gnu.org>
826
827 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
828 Cygwin; otherwise use 'file:'. (Bug#12914)
829 (cygwin-convert-path-from-windows): Declare, to avoid
830 byte-compiler warnings.
831
832 2012-11-17 Andreas Politz <politza@fh-trier.de>
833
834 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
835 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
836 prefix and negative numeric prefix args (Bug#12795).
837
838 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
839
840 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
841 Don't signal an error with a score that is too low to add to the
842 list of top scores. (Bug#12779)
843
844 2012-11-17 Chong Yidong <cyd@gnu.org>
845
846 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
847
848 * filecache.el (file-cache-add-file): Handle relative file name in
849 the argument (Bug#12694).
850
851 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
852
853 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
854
855 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
858
859 * emacs-lisp/cl-lib.el: Set more meaningful version number.
860
861 2012-11-16 Martin Rudalics <rudalics@gmx.at>
862
863 * window.el (enlarge-window, shrink-window): Don't mention return
864 value in doc-string (Bug#12896).
865 (window--display-buffer): Don't resize frames - it won't work
866 with all window managers and defeat pop-up-frame-alist.
867 (display-buffer-alist): In doc-string explain that CONDITION can
868 be a function and which arguments are passed to it (Bug#12854).
869 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
870 expressions (Bug#12854).
871 (display-buffer): Pass ACTION argument to
872 display-buffer-assq-regexp.
873
874 2012-11-16 Glenn Morris <rgm@gnu.org>
875
876 * window.el (fit-frame-to-buffer-bottom-margin)
877 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
878
879 * faces.el (face-underline-p): Use face-attribute-specified-or.
880
881 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
882
883 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
884
885 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
888
889 2012-11-16 Glenn Morris <rgm@gnu.org>
890
891 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
892 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
893
894 * faces.el (face-underline-p): Doc fix. Handle :underline being
895 things other than `t' (a string, a list).
896 (face-inverse-video-p): Doc fix.
897 (set-face-underline): Rename it back from set-face-underline-p.
898 Doc fix. Allow interactive input of values other than t.
899 (read-face-attribute): Apply formatting to :underline,
900 since like :box and :stipple it can take list values.
901
902 * term.el (ansi-term): Don't let C-x escape-char binding
903 clobber the more standard C-c binding. (Bug#12842)
904
905 * subr.el (set-temporary-overlay-map): Doc fix.
906
907 2012-11-16 Martin Rudalics <rudalics@gmx.at>
908
909 * window.el (record-window-buffer)
910 (display-buffer-record-window): When copying the markers to
911 window-point preserve window-point-insertion-type. (Bug#12588)
912
913 2012-11-16 Glenn Morris <rgm@gnu.org>
914
915 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
916 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
917 Use new names for hooks rather than obsolete aliases.
918
919 2012-11-15 Daniel Colascione <dancol@dancol.org>
920
921 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
922 prefix instead of "file:" so that when FILE-NAME begins with "//",
923 as it does when the target file is on a network share, url-handler
924 isn't confused.
925
926 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
929 a preactivated advice from an old advice.el; they're not compatible!
930
931 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
932
933 * emacs-lisp/nadvice.el (advice--make-interactive-form):
934 Fix string-spec case.
935
936 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
937
938 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
941 (advice--buffer-local-function-sample): New var.
942 (advice--set-buffer-local, advice--buffer-local): New functions.
943 (add-function, remove-function): Use them.
944
945 2012-11-15 Drew Adams <drew.adams@oracle.com>
946
947 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
948
949 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
952 potential binding of print-gensym to t, and prettify (back)quotes in
953 case they appear in args's default values (bug#12884).
954
955 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
958 (advice-eval-interactive-spec): New function.
959 (advice--make-interactive-form): Support around advice (bug#12844).
960
961 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
964 more strict. Add docstring.
965 (ruby-expression-expansion-re): Extract from
966 `ruby-match-expression-expansion'.
967 (ruby-syntax-propertize-function): After everything else, search
968 for expansions in string literals, mark their insides as
969 whitespace syntax and save match data for font-lock.
970 (ruby-font-lock-keywords): Use the 2nd group from expression
971 expansion matches.
972 (ruby-match-expression-expansion): Use the match data saved to the
973 text property in ruby-syntax-propertize-function.
974
975 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
978 (bug#12879).
979
980 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
983 start/end keyword a bit harder. Works with different values of N.
984 Add more comments.
985 (ruby-end-of-block): Update accordingly.
986
987 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * woman.el (woman-file-name): Don't mess with unread-command-events
990 (bug#12861).
991
992 * emacs-lisp/advice.el: Layer on top of nadvice.el.
993 Remove out of date self-require hack.
994 (ad-do-advised-functions): Use simple `dolist'.
995 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
996 (ad-advice-definition): Redefine as functions.
997 (ad-advice-classes): Move before first use.
998 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
999 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1000 (ad--defalias-fset): Remove functions.
1001 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1002 (ad-get-orig-definition): Rewrite.
1003 (ad-make-advised-definition-docstring): Change base docstring.
1004 (ad-real-orig-definition): Rewrite.
1005 (ad-map-arglists): Change name of called function.
1006 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1007 (ad-make-advised-definition): Simplify.
1008 (ad-assemble-advised-definition): Tweak for new calling context.
1009 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1010 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1011 function and call ad-activate if needed.
1012 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1013 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1014 (ad-compile-function): Compile ad-Advice-*.
1015 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1016 (ad-start-advice, ad-stop-advice): Remove.
1017
1018 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1019
1020 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1021 period before class method names, not after. Remove handling of
1022 one impossible case. Add comments.
1023
1024 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emacs-lisp/advice.el: Remove support for freezing.
1027 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1028 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1029 Remove support for `freeze'.
1030
1031 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1032 override the default.
1033 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1034 cl--dotimes/dolist.
1035 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1036 `cl' is loaded.
1037
1038 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1039 from add-advice.
1040 (advice--strip-macro): New function.
1041 (advice--defalias-fset): Use them to handle macros.
1042 (advice-add): Use them.
1043 (advice-member-p): Correctly handle macros.
1044
1045 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1048 Never font-lock the beginning of singleton class as heredoc.
1049
1050 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1053
1054 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1055
1056 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1057 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1058 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1059
1060 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1061
1062 Fix end-of-defun misbehavior.
1063 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1064 python-beginning-of-defun-function. Handle nested defuns
1065 correctly.
1066 (python-nav-end-of-defun): Rename from
1067 python-end-of-defun-function. Ensure forward movement.
1068 (python-info-current-defun): Reimplement to work as intended
1069 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1070 parent defuns as soon as possible.
1071
1072 2012-11-13 Glenn Morris <rgm@gnu.org>
1073
1074 * progmodes/flymake.el (flymake-error-bitmap)
1075 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1076 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1077
1078 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1079
1080 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1081 backward, always stop at indentation. Reverts the change from
1082 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1083
1084 2012-11-13 Glenn Morris <rgm@gnu.org>
1085
1086 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1087 Add ibuffer-filter-by-derived-mode.
1088
1089 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1090 the same name shadowing each other.
1091
1092 * window.el (with-temp-buffer-window): Doc tweak.
1093
1094 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1095
1096 * help.el (temp-buffer-max-height):
1097 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1098 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1099
1100 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * emacs-lisp/nadvice.el: New package.
1103 * subr.el (special-form-p): New function.
1104 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1105 (elp-all-instrumented-list): Remove var.
1106 (elp-not-profilable): Remove elp-wrapper.
1107 (elp-profilable-p): Use autoloadp and special-form-p.
1108 (elp--advice-name): New const.
1109 (elp-instrument-function): Use advice-add.
1110 (elp--instrumented-p): New predicate.
1111 (elp-restore-function): Use advice-remove.
1112 (elp-restore-all, elp-reset-all): Use mapatoms.
1113 (elp-set-master): Use elp--instrumented-p.
1114 (elp--make-wrapper): Rename from elp-wrapper, return a function
1115 suitable for advice-add. Use cl-inf.
1116 (elp-results): Use mapatoms+elp--instrumented-p.
1117 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1118 (debug-function-list): Remove var.
1119 (debug): Rename arg, and then let-bind it explicitly inside.
1120 (debugger-setup-buffer): Rename arg.
1121 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1122 (debugger-frame-number): Adjust to new debug-on-entry setup.
1123 (debug--implement-debug-on-entry): Rename from
1124 implement-debug-on-entry, add argument.
1125 (debugger-special-form-p): Remove, use special-form-p instead.
1126 (debug-on-entry): Use advice-add.
1127 (debug--function-list): New function.
1128 (cancel-debug-on-entry): Use it, along with advice-remove.
1129 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1130 (debugger-list-functions): Use debug--function-list instead of
1131 debug-function-list.
1132 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1133 (ad-special-form-p): Remove, use special-form-p instead.
1134 (ad-set-advice-info): Use add-function and remove-function.
1135 (ad--defalias-fset): Adjust accordingly.
1136
1137 2012-11-10 Glenn Morris <rgm@gnu.org>
1138
1139 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1140 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1141 (report-emacs-bug-create-existing-bugs-buffer)
1142 (report-emacs-bug-parse-query-results)
1143 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1144
1145 * term.el (term-default-fg-color, term-default-bg-color):
1146 Make obsolete, rather than just saying "deprecated" in the doc.
1147
1148 * term.el (term): Rename from `term-face'.
1149 (term-current-face, ansi-term-color-vector)
1150 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1151 Update all users.
1152
1153 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1154
1155 * server.el (server-create-window-system-frame): Handle Nextstep
1156 specially (Bug#12780).
1157
1158 2012-11-10 Glenn Morris <rgm@gnu.org>
1159
1160 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1161 Unautoload, and make obsolete. (Bug#7449)
1162
1163 2012-11-10 Chong Yidong <cyd@gnu.org>
1164
1165 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1166 rename from diff-remove-trailing-whitespace (Bug#12831).
1167
1168 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1171 miscompilation of trace.el.
1172
1173 2012-11-10 Glenn Morris <rgm@gnu.org>
1174
1175 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1176
1177 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1180 (bug#12812).
1181
1182 2012-11-10 Chong Yidong <cyd@gnu.org>
1183
1184 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1185 a defcustom with an appropriate :set function.
1186 (minibuffer-default--in-prompt-regexps): New function.
1187
1188 2012-11-10 Glenn Morris <rgm@gnu.org>
1189
1190 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1191 (define-modify-macro): Doc fixes.
1192
1193 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1194 (gv-define-simple-setter): Update doc of `fix-return'.
1195
1196 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1199 twice when `fix-return' is set (bug#12813).
1200
1201 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1202 gv-define-simple-setter (bug#12812).
1203
1204 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1205 (bug#12756).
1206
1207 2012-11-10 Glenn Morris <rgm@gnu.org>
1208
1209 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1210
1211 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1212 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1213 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1214 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1215
1216 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1217
1218 2012-11-10 Leo Liu <sdl.web@gmail.com>
1219
1220 * ido.el (ido-set-matches-1): Improve flex matching performance by
1221 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1222
1223 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1226 (ad--defalias-fset): New function.
1227 (ad-safe-fset): Remove.
1228 (ad-make-freeze-definition): Use cl-letf*.
1229
1230 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * subr.el (dolist): Don't bind VAR in RESULT.
1233
1234 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1235 (fset, documentation): Don't save real def since we don't advise.
1236 (ad-do-advised-functions): Remove problematic `result-form'.
1237 (ad-safe-fset): `ad-real-fset' => `fset'.
1238 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1239 uses CL's dolist internally.
1240 (ad-arglist): Remove unused arg `name'.
1241 (ad-docstring, ad-make-advised-docstring):
1242 `ad-real-documentation' => `documentation'.
1243 (warning-suppress-types): Declare.
1244 (ad-set-arguments): Simple CSE.
1245 (ad-recover-normality): Sanity check.
1246
1247 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1248 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1249
1250 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1251
1252 * ses.el: symbol to coordinate mapping is made by symbol property
1253 `ses-cell'. This means that the same mapping is done for all SES
1254 sheets. That is good enough for cells with standard A1 names, but
1255 not for named cell. So a hash map is added for the latter.
1256 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1257 (ses-sym-rowcol): Use hashmap for named cell.
1258 (ses-is-cell-sym-p): New defun.
1259 (ses-decode-cell-symbol): New defun.
1260 (ses-create-cell-variable): Add cell to hashmap when name is not
1261 A1-like.
1262 (ses-rename-cell): Check that cell new name is not already in
1263 spreadsheet with the use of ses-is-cell-sym-p
1264 (ses-rename-cell): Use hash map for named cells, but accept also
1265 renaming back to A1-like.
1266
1267 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * emacs-lisp/advice.el: Use new dynamic docstrings.
1270 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1271 Use dynamic-docstring-function instead of ad-advice-info.
1272 (ad--make-advised-docstring): New function extracted from
1273 ad-make-advised-docstring.
1274 (ad-make-advised-docstring): Use it.
1275 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1276 from sql-help.
1277 (sql-help): Use it with dynamic-docstring-function.
1278
1279 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1280
1281 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * files.el (hack-one-local-variable--obsolete): New function.
1284 (hack-one-local-variable): Use it for obsolete settings.
1285
1286 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1287 the new name.
1288
1289 * progmodes/js.el (js--filling-paragraph): New var.
1290 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1291 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1292 less sneaky.
1293
1294 2012-11-08 Julien Danjou <julien@danjou.info>
1295
1296 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1297 `auto-mode-alist' (Bug#12835).
1298
1299 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1302 (perl--prettify-symbols-alist): New const.
1303 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1304 New functions.
1305 (perl-font-lock-keywords-2): Use them.
1306 (perl-electric-noindent-p): New function.
1307 (perl-mode): Use it to set up electric-indent-mode.
1308 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1309 (perl-mode-map): Remove bindings for them.
1310 (perl-imenu-generic-expression, perl-outline-level):
1311 Match functions&packages in column>0.
1312
1313 * env.el (env--substitute-vars-regexp): New const.
1314 (substitute-env-vars): Use it. Add `only-defined' arg.
1315 * net/tramp.el (tramp-replace-environment-variables): Use it.
1316
1317 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1318 Byte-compile *before* eval in eval-and-compile.
1319 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1320 (byte-compile-file-form-autoload): Don't hide actual definition.
1321 (byte-compile-maybe-guarded): Accept `functionp' as well.
1322
1323 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1324
1325 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * notifications.el (notifications-get-server-information-method):
1328 New defconst.
1329 (notifications-get-capabilities): Fix docstring.
1330 (notifications-get-server-information): New defun.
1331
1332 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1333
1334 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1335 readability.
1336
1337 * textmodes/ispell.el: Experimental support for support debugging.
1338 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1339 buffer for ispell.
1340 (ispell-print-if-debug): New function to print stuff to
1341 `ispell-debug-buffer' if debugging is enabled.
1342 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1343 show some debugging info.
1344 (ispell-buffer-with-debug): New function that creates a debugging
1345 buffer and calls `ispell-buffer' with debugging enabled.
1346
1347 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1348 comment in autoconf mode. (Bug#12768)
1349
1350 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1351
1352 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1353 frame-first-window, frame-root-window, frame-selected-window,
1354 minibuffer-selected-window, minibuffer-window,
1355 window-absolute-pixel-edges, window-at, window-body-height,
1356 window-body-width, window-display-table, window-combination-limit,
1357 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1358 window-inside-edges, window-inside-pixel-edges, window-left-child,
1359 window-left-column, window-margins, window-next-buffers,
1360 window-next-sibling, window-new-normal, window-new-total,
1361 window-normal-size, window-parameter, window-parameters, window-parent,
1362 window-pixel-edges, window-point, window-prev-buffers,
1363 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1364 window-start, window-text-height, window-top-child, window-top-line,
1365 window-total-height, window-total-width and window-use-time to the list
1366 of functions without side-effects.
1367 (toplevel): Add window-valid-p to the list of error-free functions
1368 without side-effects.
1369
1370 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1371
1372 * textmodes/ispell.el (ispell-program-name):
1373 Update spellchecker parameters when customized.
1374
1375 2012-11-04 Glenn Morris <rgm@gnu.org>
1376
1377 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1378
1379 2012-11-04 Chong Yidong <cyd@gnu.org>
1380
1381 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1382 same-window-* variables.
1383
1384 2012-11-04 Juri Linkov <juri@jurta.org>
1385
1386 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1387 (isearch-describe-key, isearch-describe-mode): Use a display
1388 action instead of binding same-window-* variables (Bug#10040).
1389
1390 2012-11-03 Glenn Morris <rgm@gnu.org>
1391
1392 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1393 Rename handler properties back from cl-- to cl-. (Bug#12788)
1394
1395 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1396
1397 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1398
1399 * term/pc-win.el: Don't load term/internal from here.
1400
1401 * loadup.el: Load term/internal from here.
1402
1403 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1404
1405 * progmodes/python.el (inferior-python-mode): Fix hang in
1406 jit-lock (Bug#12645).
1407
1408 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1409
1410 * window.el (switch-to-visible-buffer)
1411 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1412
1413 2012-11-03 Glenn Morris <rgm@gnu.org>
1414
1415 * emacs-lisp/cl-lib.el (cl--random-time):
1416 Rename from cl-random-time. (Bug#12773)
1417 (cl--gensym-counter, cl--random-state): Update callers.
1418 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1419
1420 2012-11-03 Chong Yidong <cyd@gnu.org>
1421
1422 * cus-start.el: Make cursor-type customizable (Bug#11633).
1423
1424 2012-11-02 Glenn Morris <rgm@gnu.org>
1425
1426 * filecache.el: No need to load find-lisp when compiling.
1427 (find-lisp-find-files): Autoload it.
1428 (file-cache-add-directory-recursively): Don't require find-lisp.
1429
1430 * image.el (image-type-from-file-name): Trivial simplification.
1431
1432 * emacs-lisp/bytecomp.el (byte-compile-eval):
1433 Decouple "noruntime" and "cl-functions" warnings.
1434
1435 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1436
1437 * play/gomoku.el (gomoku-display-statistics): Update mode line
1438 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1439
1440 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1441
1442 * window.el (quit-restore-window): If the window has been
1443 created on an existing frame and ended up as the sole window on
1444 that frame, do not delete it (Bug#12764).
1445
1446 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1449 Rename from sh--inside-arithmetic-expression, handle more cases
1450 (bug#11263).
1451
1452 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1453 (sh-font-lock-open-heredoc): Use it (bug#12770).
1454
1455 2012-10-30 Glenn Morris <rgm@gnu.org>
1456
1457 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1458
1459 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1460
1461 2012-10-29 Chong Yidong <cyd@gnu.org>
1462
1463 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1464 function key is stored in a keyboard macro (Bug#4894).
1465
1466 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1467
1468 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1471 header comments".
1472 (diff-unified->context, diff-context->unified)
1473 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1474
1475 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1476
1477 * files.el (find-alternate-file): Only ask one question (bug#12487).
1478
1479 2012-10-29 Chong Yidong <cyd@gnu.org>
1480
1481 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1482 Suggested by Dan Nicolaescu (Bug#6326).
1483
1484 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1485
1486 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1487
1488 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1489
1490 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1491
1492 * face-remap.el (face-remap-add-relative): Handle the case where a
1493 face-remapping-alist entry is a cons cell (Bug#12762).
1494
1495 2012-10-29 Kevin Ryde <user42@zip.com.au>
1496
1497 * woman.el (woman-parse-numeric-value): Handle picas correctly
1498 (Bug#12639).
1499
1500 2012-10-29 Glenn Morris <rgm@gnu.org>
1501
1502 * emacs-lisp/cl.el (defsetf): Doc fix.
1503
1504 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1507 syntax to the matching opener, if any (bug#12547).
1508 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1509 matching open as a "case-(".
1510 (sh-smie-rc-grammar): Add a corresponding rule for it.
1511
1512 2012-10-28 Daniel Hackney <dan@haxney.org>
1513
1514 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1515 "PKGNAME-autoloads.el" in case we created it.
1516
1517 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1520 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1521 (completion--twq-all): Disable too-strict assertions.
1522
1523 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1524
1525 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1526
1527 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1528 text to match the real keybindings.
1529
1530 2012-10-27 Juri Linkov <juri@jurta.org>
1531
1532 * wdired.el (wdired-keep-marker-rename): New defcustom.
1533 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1534 (Bug#11795)
1535
1536 * dired.el (dired-keep-marker-rename): Add reference to
1537 `wdired-keep-marker-rename' in the docstring.
1538 Add default character value ?R to display initially in
1539 Customization UI instead of ?@.
1540
1541 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1542
1543 * window.el (display-buffer): In doc-string describe
1544 window-height and window-width alist entries.
1545
1546 * time.el (display-time-world): Restore fit-window-to-buffer
1547 behavior.
1548
1549 2012-10-27 Chong Yidong <cyd@gnu.org>
1550
1551 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1552
1553 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1554
1555 * minibuffer.el (completion-category-overrides): New completion
1556 category `bookmark' (bug#11131).
1557
1558 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1561 Silence bogus compiler warnings for ad-do-it.
1562
1563 * bookmark.el (bookmark-completing-read): Set the completion category
1564 to `bookmark' (bug#11131).
1565
1566 2012-10-26 Bastien <bzg@altern.org>
1567 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * face-remap.el: Use lexical-binding.
1570 (text-scale-adjust): Improve docstring. Use itself for the temporary
1571 overlay-map bindings, so as to repeat the "Use..." message each time.
1572
1573 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * emacs-lisp/macroexp.el (macroexp--expand-all):
1576 Obey byte-compile-warning-enabled-p (bug#12486).
1577
1578 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1579 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1580
1581 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1582
1583 * mouse.el (mouse-drag-line): Move last form into preceding when
1584 clause (Bug#12731).
1585
1586 * help.el (resize-temp-buffer-window): Fix doc-string.
1587
1588 2012-10-25 David Engster <deng@randomsample.de>
1589
1590 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1591 Remove. This feature is already integrated in imenu.
1592
1593 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1594 always loaded. Require `speedbar' unconditionally.
1595
1596 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1599
1600 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1601
1602 * net/ldap.el (ldap-search-internal): The official ldif format starts
1603 with a "version: 1" header (bug#12724).
1604
1605 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1606 (bug#12721).
1607
1608 2012-10-25 Glenn Morris <rgm@gnu.org>
1609
1610 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1611
1612 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * minibuffer.el (minibuffer-force-complete): Use one more marker
1615 for the temporary-overlay-map command (bug#12619).
1616
1617 2012-10-24 Chong Yidong <cyd@gnu.org>
1618
1619 * time.el (display-time-world-mode): Derive from special-mode.
1620 (display-time-world): Use display-buffer (Bug#12708).
1621 (display-time-world-mode-map): Variable deleted.
1622 (display-time-world-display): Wrap the final delete-char inside
1623 inhibit-read-only.
1624
1625 2012-10-24 Chong Yidong <cyd@gnu.org>
1626
1627 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1628 Doc fix.
1629
1630 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1631
1632 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * minibuffer.el (completion--all-sorted-completions-location): New var.
1635 (completion--cache-all-sorted-completions)
1636 (completion--flush-all-sorted-completions): Use it.
1637 (completion-in-region, completion-in-region--postch)
1638 (completion-at-point, completion-help-at-point): Use markers in
1639 completion-in-region--data (bug#12619).
1640
1641 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * progmodes/compile.el (compilation-start): Try to handle common
1644 quoting of `cd' argument (bug#12640).
1645
1646 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1647 (bug#12671).
1648
1649 2012-10-23 Glenn Morris <rgm@gnu.org>
1650
1651 * progmodes/gud.el (gud-menu-map):
1652 Check gdb-active-process is bound. (Bug#12358)
1653
1654 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * repeat.el (repeat): Set real-this-command (bug#12232).
1657
1658 * htmlfontify.el (hfy-post-html-hook):
1659 * filesets.el (filesets-cache-fill-content-hook):
1660 * arc-mode.el (archive-extract-hook):
1661 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1662 * net/rcirc.el (rcirc-sentinel-functions)
1663 (rcirc-receive-message-functions, rcirc-activity-functions)
1664 (rcirc-print-functions):
1665 * net/dbus.el (dbus-event-error-functions):
1666 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1667 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1668 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1669 * term/sun.el (sun-raw-prefix-hooks):
1670 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1671
1672 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1673
1674 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1675 Set `tramp-chunksize' to 1. This improves the performance.
1676 (tramp-smb-wait-for-output): Add timeout to
1677 `tramp-accept-process-output' calls.
1678
1679 2012-10-23 Chong Yidong <cyd@gnu.org>
1680
1681 * faces.el (font-list-limit): Define as an obsolete variable.
1682
1683 * startup.el (command-line):
1684 * cus-start.el: Don't refer to font-list-limit.
1685
1686 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1687
1688 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * subr.el (internal-temp-output-buffer-show): Rename from
1691 temp-output-buffer-show, since previously compiled files expect this name.
1692
1693 2012-10-23 Glenn Morris <rgm@gnu.org>
1694
1695 * image.el (image-type-from-file-name): If multiple types match,
1696 return the first one that is supported. (Bug#9045)
1697
1698 2012-10-22 Glenn Morris <rgm@gnu.org>
1699
1700 * image.el (imagemagick-enabled-types): Doc fix.
1701
1702 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1703
1704 * progmodes/which-func.el (which-func-current): The hash-table may have
1705 an explicit nil (bug#12338).
1706
1707 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * electric.el (electric-pair-delete-selection-self-insert-function):
1710 Rename to electric-pair-will-use-region, return a boolean.
1711 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1712
1713 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1714 (delete-selection-pre-hook): Use use-region-p.
1715 (delete-selection-self-insert-function): Remove.
1716 (self-insert-command): Obey self-insert-uses-region-functions.
1717 (self-insert-iso): Revert to previous setting, since we don't actually
1718 know what that command does.
1719 (delete-selection-self-insert-hooks): Remove.
1720
1721 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1722
1723 * delsel.el (delete-selection-helper): New function, extracted from
1724 delete-selection-pre-hook.
1725 (delete-selection-pre-hook): Use it.
1726 (delete-selection-self-insert-function): New function.
1727 (delete-selection-self-insert-hooks): New hook.
1728 (self-insert-command, self-insert-iso): Use it.
1729 * electric.el (electric-pair-syntax): New function, extracted from
1730 electric-pair-post-self-insert-function.
1731 (electric-pair-post-self-insert-function): Use it.
1732 (electric-pair-delete-selection-self-insert-function): New function.
1733 (electric-pair-mode): Require delsel and setup
1734 delete-selection-self-insert-hooks (bug#11520).
1735
1736 2012-10-20 Chong Yidong <cyd@gnu.org>
1737
1738 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1739 no changes to show (Bug#12586).
1740
1741 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1742 list explicitly (Bug#12571).
1743
1744 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1745
1746 * progmodes/flymake.el (flymake-create-temp-inplace):
1747 Use file-truename.
1748
1749 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1750
1751 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1752
1753 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1754
1755 * calc/calc-units.el (math-extract-units): Properly extract powers
1756 of units.
1757
1758 2012-10-20 Daniel Colascione <dancol@dancol.org>
1759
1760 * frame.el (make-frame): Set x-display-name as we used to in order
1761 to unbreak creating an X11 frame from an Emacs daemon started
1762 without a display.
1763
1764 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1767 the same completion-field (bug#12221).
1768
1769 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1770
1771 * emacs-lisp/debug.el (debug): Record height of debugger window
1772 also when debugger will be back (Bug#8789).
1773
1774 2012-10-18 Chong Yidong <cyd@gnu.org>
1775
1776 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1777 Convert to defcustom.
1778 (gdb-get-source-file): Don't bind pop-up-windows.
1779
1780 * progmodes/gud.el (gud-display-line): Don't specially re-use
1781 other frames for the gdb-mi case (Bug#12648).
1782
1783 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * emacs-lisp/advice.el: Clean up commentary a bit.
1786 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1787 (byte-code-function-p): Never redefine.
1788
1789 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1790
1791 2012-10-18 Glenn Morris <rgm@gnu.org>
1792
1793 * dired.el (dired-sort-toggle): Some ls implementations only allow
1794 a single option string. (Bug#12666)
1795
1796 * minibuffer.el (completion-cycle-threshold): Doc fix.
1797
1798 2012-10-17 Kenichi Handa <handa@gnu.org>
1799
1800 * international/mule.el (set-keyboard-coding-system):
1801 Recover input meta mode when the new coding system doesn not use 8-bit.
1802 Supply TERMINAL arg to set-input-meta-mode.
1803
1804 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1805
1806 * wdired.el (wdired-old-marks): New variable.
1807 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1808 (wdired-do-renames): Move point with renamed file and don't lose
1809 mark status (Bug#11795).
1810
1811 2012-10-16 Juri Linkov <juri@jurta.org>
1812
1813 * replace.el (query-replace-help): Mention multi-buffer replacement
1814 keys in the Help message. (Bug#12655)
1815
1816 2012-10-15 Chong Yidong <cyd@gnu.org>
1817
1818 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1819
1820 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1821
1822 * window.el (display-buffer): Doc fix.
1823
1824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1825 Adjust the msft regexp to the output of Studio 2010, and move msft
1826 before edg-1. See the discussion on emacs-devel,
1827 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1828 for the details.
1829
1830 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1833 (oset): Move uses of object-class-fast macro after its definition.
1834
1835 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1836
1837 2012-10-13 Chong Yidong <cyd@gnu.org>
1838
1839 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1840 enabled, re-enable it (Bug#11963).
1841
1842 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1843
1844 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1845 non-nil, restore window configuration (Bug#12623).
1846
1847 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * help-fns.el (describe-variable, describe-function-1):
1850 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1851
1852 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1853
1854 2012-10-12 Glenn Morris <rgm@gnu.org>
1855
1856 * mail/rmailsum.el (rmail-header-summary):
1857 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1858
1859 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1860
1861 * progmodes/python.el (python-mode-map):
1862 Replace subtitute-key-definition with proper command remapping.
1863 (python-nav--up-list): Fix behavior for blocks on the same level.
1864
1865 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1868
1869 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1870 changes to the format of load-history.
1871
1872 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1873 completion-ignore-case in case that var is buffer-local (bug#12615).
1874
1875 2012-10-11 Kenichi Handa <handa@gnu.org>
1876
1877 * international/eucjp-ms.el: Re-generated.
1878
1879 2012-10-10 Kenichi Handa <handa@gnu.org>
1880
1881 * select.el (xselect--encode-string): If a coding is specified for
1882 selection, and that is compatible with COMPOUND_TEXT, use it.
1883
1884 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1885
1886 * window.el (switch-to-buffer-preserve-window-point): New option.
1887 (switch-to-buffer):
1888 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1889
1890 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1893 Don't document nil as a useful value (bug#12583).
1894
1895 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp.el (tramp-debug-message):
1898 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1899 (with-tramp-progress-reporter): Rename from
1900 `tramp-with-progress-reporter'.
1901 (with-tramp-file-property, with-tramp-connection-property):
1902 Move from tramp-cache.el, rename from `with-file-property' and
1903 `with-connection-property', respectively.
1904
1905 * net/tramp-cache.el: Remove `with-file-property' and
1906 `with-connection-property'.
1907
1908 * net/tramp.el:
1909 * net/tramp-gvfs.el:
1910 * net/tramp-sh.el:
1911 * net/tramp-smb.el: Adapt callees.
1912
1913 * net/trampver.el: Update release number.
1914
1915 2012-10-09 Glenn Morris <rgm@gnu.org>
1916
1917 * w32-fns.el (set-message-beep):
1918 * term/w32-win.el (set-message-beep): Update declarations.
1919
1920 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1923 (mode-line-widen, mode-line-input-method-map)
1924 (mode-line-coding-system-map, mode-line-remote)
1925 (mode-line-unbury-buffer, mode-line-bury-buffer)
1926 (mode-line-next-buffer, mode-line-previous-buffer):
1927 Replace save-selected-window+select-window => with-selected-window.
1928
1929 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1930 * progmodes/cc-vars.el (bq-process): Remove, unused.
1931
1932 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1933
1934 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1935
1936 Implemented `backward-up-list'-like navigation.
1937 * progmodes/python.el (python-nav-up-list)
1938 (python-nav-backward-up-list): New functions.
1939 (python-mode-map): Define substitute key for backward-up-list to
1940 python-nav-backward-up-list.
1941
1942 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1943
1944 * progmodes/python.el (python-fill-paragraph): Rename from
1945 python-fill-paragraph-function. Fixed fill-paragraph for
1946 decorators (Bug#12605).
1947
1948 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1949
1950 * progmodes/python.el (python-shell-output-filter): Handle extra
1951 carriage return in OSX (Bug#12409).
1952
1953 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1954
1955 Fix shell handling of unbalanced quotes and parens in output.
1956 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1957 (python-syntax-propertize-function): Use it.
1958 (python-shell-output-syntax-table): New var.
1959 (inferior-python-mode): Prevent unbalanced parens/quotes from
1960 previous output mess with current input context.
1961
1962 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1963
1964 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1965 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1966
1967 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1968
1969 * ffap.el (ffap-replace-file-component): Support Tramp file name
1970 syntax, not only ange-ftp's one.
1971
1972 2012-10-08 Glenn Morris <rgm@gnu.org>
1973
1974 * cus-start.el (message-log-max): Set :version.
1975
1976 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1977
1978 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1979
1980 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1981 the minibuffer window (Bug#10851).
1982
1983 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1984
1985 Enhancements on forward-sexp movement.
1986 * progmodes/python.el (python-nav-beginning-of-statement)
1987 (python-nav-end-of-statement): Return point-marker.
1988 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1989 (python-info-current-symbol)
1990 (python-info-statement-starts-block-p): Rename from
1991 python-info-beginning-of-block-p.
1992 (python-info-statement-ends-block-p): Rename from
1993 python-info-end-of-block-p.
1994 (python-info-beginning-of-statement-p)
1995 (python-info-end-of-statement-p)
1996 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1997 New functions.
1998
1999 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2002 frame-selected-windows.
2003
2004 2012-10-08 Daniel Colascione <dancol@dancol.org>
2005
2006 * battery.el (battery-status-function): Check for
2007 w32-battery-status itself, not system-time windows-nt.
2008
2009 * frame.el: Require cl-lib.
2010 (display-format-alist): New variable mapping frame types to
2011 functions that initialize them.
2012 (window-system-for-display): New function: interprets
2013 display-format-alist.
2014 (make-frame-on-display): Remove existing display-selection logic
2015 and just forward to make-frame, which will now DTRT.
2016 (make-frame): Restructure to use window-system-for-display to
2017 figure out how to create a frame on a given display.
2018 (display-mouse-p): Look for frame-type w32, not a particular
2019 system-type.
2020
2021 * loadup.el: Load w32 lisp code when we have the w32 feature.
2022
2023 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2024 system-type windows-nt.
2025
2026 * server.el (server-create-window-system-frame): Look for window
2027 type.
2028 (server-proces-filter): Only force a window system when windows-nt
2029 _and_ w32. Explain why.
2030
2031 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2032 of window systems we configure for the mode.
2033
2034 * startup.el (command-line): Mark window system is initialized
2035 after we've done it.
2036
2037 * common-win.el (x-select-text): Look for w32, not windows-nt.
2038
2039 * ns-win.el: Require cl-lib. Add ourselves to
2040 display-format-alist.
2041 (ns-initialize-window-system): Assert we're not initialized twice.
2042
2043 * w32-win.el: Enable lexical binding; require cl-lib; add
2044 ourselves to display-format-alist.
2045 (w32-handle-dropped-file): Convert incoming dropped files from
2046 Windows paths to Cygwin ones before passing them on to the rest of
2047 Emacs.
2048 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2049 (w32-initialize-window-system): Assert we're not initialized twice.
2050
2051 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2052 (x-initialize-window-system): Assert we're not initialized twice.
2053
2054 * w32-common-fns.el: New File.
2055 (w32-version, w32-using-nt, w32-get-clipboard-data)
2056 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2057 (w32-charset-info-alist, x-last-selected, text)
2058 (x-get-selection-value, x-selection-value): Move here.
2059
2060 * w32-fns.el: Require w32-common-fns.
2061 (w32-version, w32-using-nt, w32-get-clipboard-data)
2062 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2063 (w32-charset-info-alist, x-last-selected, text)
2064 (x-get-selection-value, x-selection-value): Move to
2065 w32-common-fns.
2066
2067 * w32-vars.el:
2068 (w32-allow-system-shell, w32-system-shells): Define only in
2069 non-cygwin case.
2070
2071 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2074 (read-passwd): Remove a few more potential sources of leaks.
2075
2076 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2077
2078 * progmodes/python.el (inferior-python-mode)
2079 (python-shell-make-comint): Fix initialization of local
2080 variables copied from parent buffer.
2081
2082 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2083
2084 * term/ns-win.el (ns-read-file-name): Update declaration to match
2085 nsfns.m.
2086 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2087 it is set when font is acted upon.
2088
2089 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2090
2091 Enhancements to indentation.
2092 * progmodes/python.el (python-indent-context): Give priority to
2093 inside-string context. Make comments indentation markers.
2094 (python-indent-region): Do not mess with strings, unless it's the
2095 enclosing set of quotes.
2096
2097 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * window.el (internal--before-save-selected-window)
2100 (internal--after-save-selected-window): New functions extracted from
2101 save-selected-window. Make sure we return the `alist' we construct.
2102 (save-selected-window): Use them.
2103
2104 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2105 Use with-selected-window.
2106
2107 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2108 forms that define macros (bug#12593).
2109
2110 2012-10-07 Kenichi Handa <handa@gnu.org>
2111
2112 * international/mule-conf.el (compound-text-with-extensions):
2113 Add :mime-charset property as x-ctext.
2114
2115 2012-10-07 Stefan Merten <smerten@oekonux.de>
2116
2117 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2118 (rst-indent-literal-normal, rst-indent-literal-minimized)
2119 (rst-indent-comment): Correct :version tag.
2120 (rst-official-cvs-rev): Correct version string.
2121
2122 2012-10-07 Glenn Morris <rgm@gnu.org>
2123
2124 * mail/rmailmm.el (rmail-mime-process-multipart):
2125 Do not confuse a multipart message with an epilogue
2126 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2127
2128 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2129
2130 Fix shell output retrieval and comint-prompt-regexp init.
2131 * progmodes/python.el (inferior-python-mode):
2132 (python-shell-make-comint): Fix initialization of
2133 comint-prompt-regexp from copied file local variables.
2134 (python-shell-fetched-lines): Remove var.
2135 (python-shell-output-filter-in-progress): Rename from
2136 python-shell-fetch-lines-in-progress.
2137 (python-shell-output-filter-buffer): Rename from
2138 python-shell-fetch-lines-string.
2139 (python-shell-fetch-lines-filter): Delete function.
2140 (python-shell-output-filter): New function.
2141 (python-shell-send-string-no-output): Use them.
2142
2143 2012-10-07 Glenn Morris <rgm@gnu.org>
2144
2145 * hi-lock.el (hi-lock-process-phrase):
2146 Try to make it less fragile. (Bug#7161)
2147
2148 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2149
2150 2012-10-06 Glenn Morris <rgm@gnu.org>
2151
2152 * ehelp.el (electric-help-mode): Use help-mode rather than
2153 non-existent mode `help'.
2154 (electric-help-map): Use button-buffer-map. (Bug#10917)
2155
2156 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2157 (reftex-create-bibtex-footer): Fix custom types.
2158
2159 * progmodes/sh-script.el (sh-indent-after-continuation):
2160 Add explicit :group.
2161
2162 * textmodes/rst.el (rst-preferred-decorations)
2163 (rst-shift-basic-offset): Clarify obsolescence versions.
2164
2165 * profiler.el (profiler): Add missing group :version tag.
2166 * avoid.el (mouse-avoidance-banish-position):
2167 * proced.el (proced-renice-command):
2168 * calc/calc.el (calc-ensure-consistent-units):
2169 * calendar/icalendar.el (icalendar-import-format-uid):
2170 * net/tramp.el (tramp-save-ad-hoc-proxies):
2171 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2172 * progmodes/flymake.el (flymake-error-bitmap)
2173 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2174 * progmodes/sh-script.el (sh-indent-after-continuation):
2175 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2176 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2177 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2178 (vhdl-array-index-record-field-in-sensitivity-list)
2179 (vhdl-indent-comment-like-next-code-line):
2180 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2181 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2182 (reftex-cite-key-separator, reftex-create-bibtex-header)
2183 (reftex-create-bibtex-footer):
2184 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2185 (rst-indent-literal-normal, rst-indent-literal-minimized)
2186 (rst-indent-comment): Add missing custom :version tags.
2187
2188 * calendar/timeclock.el (timeclock-modeline-display):
2189 Add missing obsolete alias for renamed user option.
2190
2191 * strokes.el (strokes-modeline-string):
2192 * emulation/crisp.el (crisp-mode-modeline-string):
2193 * eshell/esh-mode.el (eshell-status-in-modeline):
2194 Aliases to defcustoms must come before the defcustom.
2195
2196 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2197 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2198 (cal-tex-cursor-week-monday): Doc fixes.
2199 (cal-tex-cursor-week2-summary): Doc fix.
2200 Rename from cal-tex-cursor-week-at-a-glance.
2201
2202 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2203 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2204
2205 * calendar/calendar.el (calendar-mode-map):
2206 Add cal-tex-cursor-week2-summary.
2207
2208 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2211
2212 * subr.el (read-passwd-map): New var.
2213 (read-passwd): Use `read-string' again.
2214 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2215
2216 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2217
2218 * register.el (append-to-register, prepend-to-register):
2219 Deactivate mark, as does `copy-to-register' (bug#12389).
2220
2221 2012-10-06 Chong Yidong <cyd@gnu.org>
2222
2223 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2224
2225 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2226
2227 * international/characters.el: Fix simple mistake ((car chars) ->
2228 elt), delete duplicated code.
2229
2230 2012-10-06 Glenn Morris <rgm@gnu.org>
2231
2232 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2233
2234 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2235
2236 * color.el (color-hsl-to-rgb): Fix incorrect results for
2237 small and large hue values. (Bug#12559)
2238
2239 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2240
2241 Enhancements to docstring formatting when filling paragraphs.
2242 * progmodes/python.el (python-fill-docstring-style): Rename from
2243 python-fill-string-style. Added new style.
2244 (python-fill-string): Use new style. Better checks for
2245 docstrings.
2246
2247 2012-10-05 Glenn Morris <rgm@gnu.org>
2248
2249 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2250
2251 * color.el (color-name-to-rgb, color-rgb-to-hex)
2252 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2253 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2254 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2255 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2256
2257 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2258
2259 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2260
2261 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2262 to get the correct size across symlinks.
2263
2264 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2265
2266 2012-10-04 Juri Linkov <juri@jurta.org>
2267
2268 * replace.el (query-replace-interactive): Declare obsolete.
2269 (query-replace-read-from): Add the last incremental search string
2270 to the list of default values accessible via M-n.
2271 (map-query-replace-regexp): Use `read-regexp'.
2272 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2273 (map-query-replace-regexp, replace-string, replace-regexp):
2274 Fix docstrings to replace mentions of `query-replace-interactive'
2275 with alternatives. (Bug#12526)
2276
2277 2012-10-04 Juri Linkov <juri@jurta.org>
2278
2279 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2280 (dired-pop-to-buffer): Declare obsolete.
2281 (dired-mark-pop-up): Doc fix.
2282
2283 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2284
2285 Allow user to set docstring style for fill-paragraph.
2286 * progmodes/python.el
2287 (python-fill-comment-function, python-fill-string-function)
2288 (python-fill-decorator-function, python-fill-paren-function):
2289 Remove :safe for defcustoms.
2290 (python-fill-string-style): New defcustom
2291 (python-fill-paragraph-function): Enhance context detection.
2292 (python-fill-string): Honor python-fill-string-style settings.
2293
2294 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2295
2296 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2297 after setting its buffer (Bug#10805).
2298
2299 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2300
2301 Fix cornercase for string syntax.
2302 * progmodes/python.el (python-syntax-propertize-function):
2303 Simplify and enhance the regexp for unescaped quotes. Now it also
2304 matches quotes in weird situations like the single quote in
2305 "something\"'".
2306 (python-syntax-stringify): Simplify num-quotes detecting code.
2307
2308 2012-10-03 Glenn Morris <rgm@gnu.org>
2309
2310 * help-macro.el (three-step-help):
2311 Revert 2012-09-29 change. (Bug#12567)
2312
2313 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2314
2315 * menu-bar.el (kill-this-buffer): Don't do anything when
2316 `menu-frame' is not alive or visible (Bug#8184).
2317
2318 * emacs-lisp/debug.el (debug): When quitting the debugger window
2319 restore current buffer (Bug#12502).
2320
2321 2012-10-02 Chong Yidong <cyd@gnu.org>
2322
2323 * progmodes/hideif.el (hif-lookup, hif-defined):
2324 Handle semantic-c-takeover-hideif.
2325
2326 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2327
2328 Change sampling interval units from ms to ns.
2329 * profiler.el (profiler-sampling-interval): Change units
2330 from ms to ns, multiplying the default by 1000000 so that
2331 it remains 1 ms.
2332 (profiler-report-cpu-line-format): Give enough room for
2333 the maximum counters on 64-bit hosts.
2334 (profiler-report-render-calltree-1): Call them "CPU samples",
2335 not "Time (ms)", since they are not milliseconds now (and
2336 never really were).
2337
2338 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2339
2340 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2341 Fix querying BBDB for entries without a last name (Bug#11580).
2342
2343 2012-10-02 Chong Yidong <cyd@gnu.org>
2344
2345 * emacs-lisp/eieio.el: Restore Version header.
2346
2347 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * vc/diff-mode.el (diff--auto-refine-data): New var.
2350 (diff-hunk): Use it to delay refinement.
2351 (diff-mode): Remove overlays when we turn off font-lock.
2352
2353 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2354 (table-initialize-table-fixed-width-mode)
2355 (table-set-table-fixed-width-mode): Remove functions.
2356 (table-command-list): Move initialization into declaration.
2357 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2358 (table-with-cache-buffer): Use `declare'.
2359 (table-span-cell): Simplify via CSE.
2360 (table-fixed-width-mode): Use define-minor-mode.
2361 (table-call-interactively, table-funcall, table-apply): Remove.
2362 (table-function): New function, to replace them.
2363
2364 * bookmark.el (bookmark-search-pattern): Remove var.
2365 (bookmark-read-search-input): Remove function.
2366 (bookmark-bmenu-search): Reimplement using a minibuffer.
2367
2368 * faces.el (modeline): Remove obsolete face name.
2369
2370 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2371 and give a non-nil default value.
2372 (add-change-log-entry): Simplify accordingly.
2373
2374 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2375
2376 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2377 (vc-git-log-edit-toggle-amend): New function.
2378 (vc-git-log-edit-toggle-signoff): New function.
2379 (vc-git-log-edit-mode): New major mode.
2380 (vc-git-log-edit-mode-map): Keymap for it.
2381 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2382
2383 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2384 header names.
2385 (log-edit-toggle-header): New function.
2386 (log-edit-extract-headers): Accept function values in HEADERS alist.
2387
2388 2012-10-01 David Engster <deng@randomsample.de>
2389
2390 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2391 from symbol property and change message to be more consistent with
2392 Emacs proper.
2393 (eieio-describe-generic): Add filename for each implementation.
2394 Fix indices for generic and normal methods.
2395 (eieio-method-def, eieio-class-def): New buttons.
2396 (eieio-help-find-method-definition)
2397 (eieio-help-find-class-definition): New functions.
2398 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2399 class, constructor and method definitions.
2400
2401 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2402 information in symbol property.
2403 (scoped-class): Remove.
2404 (eieio-slot-name-index, call-next-method): Check if it is bound.
2405
2406 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2407
2408 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2409 (eieio-custom-mode): New major mode.
2410 (eieio-customize-object): Use it.
2411
2412 2012-10-01 Eric Ludlam <zappo@gnu.org>
2413
2414 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2415 specifying the expected class, and whether subclassing is allowed.
2416 (eieio-persistent-convert-list-to-object):
2417 (eieio-persistent-validate/fix-slot-value)
2418 (eieio-persistent-slot-type-is-class-p): New functions.
2419 (eieio-named::slot-missing): Doc fix.
2420
2421 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2422 Stop using unused publd variable.
2423
2424 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2425 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2426 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2427 (eieio-speedbar-handle-click): Do not specify a class for the
2428 method. Fixes method invocation order problems with EDE.
2429
2430 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2433 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2434
2435 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2436
2437 * bookmark.el (bookmark-version-control): Give tags in the
2438 :type choices (Bug#12309), and improve doc string.
2439 (bookmark-write-file): Bind `print-circle' to `t' to allow
2440 circular custom bookmark types. (Bug#12503)
2441
2442 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2443
2444 Revert the FOLLOW-SYMLINKS change for file-attributes.
2445 * files.el (remote-file-name-inhibit-cache, after-find-file):
2446 * time.el (display-time-file-nonempty-p): Undo last change.
2447
2448 * profiler.el (profiler-sampling-interval): Change default back to 1.
2449 See Stefan Monnier in
2450 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2451
2452 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2453
2454 Shell output catching a la gud-gdb.
2455 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2456 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2457 New Vars.
2458 (python-shell-fetch-lines-filter): New function.
2459 (python-shell-send-string-no-output): Use them.
2460
2461 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2462
2463 * profiler.el (profiler-sampling-interval): Rename from
2464 profiler-sample-interval.
2465 (profiler-sampling-interval): Default to 10.
2466 (profiler-find-profile): New command (was profiler-find-log).
2467 (profiler-find-profile-other-window): New command.
2468 (profiler-find-profile-other-frame): New command.
2469 (profiler-profile): Introduce API-level data structure.
2470
2471 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2472
2473 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2474 * files.el (remote-file-name-inhibit-cache):
2475 * time.el (display-time-file-nonempty-p): Use it.
2476 * files.el (after-find-file): Don't chase links before calling
2477 file-exists-p, as file-exists-p already does the right thing.
2478
2479 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2480
2481 Merge from standalone RefTeX repository.
2482
2483 The following ChangeLog entries are shortened versions of the
2484 original ones with file paths adapted. A not so strongly edited
2485 version of the original ChangeLog can be found in the commit log.
2486
2487 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2488 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2489 Correctly handle new value type returned by `reftex-citation'.
2490
2491 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2492 that entries with whitespace at various places are found.
2493 Doc fix. Include entries that are cross-referenced from cited entries.
2494 Include @String definitions in the resulting bib file. Add header
2495 and footer defined in `reftex-create-bibtex-header' and
2496 `reftex-create-bibtex-footer'.
2497 (reftex-do-citation): Make it possible again to insert
2498 non-existent entries. Save match data when asking for optional
2499 arguments. Return all keys, not just the first one.
2500 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2501 all citations in the same line.
2502 (reftex-parse-bibtex-entry): Accept additional optional argument
2503 `raw' and keep quotes or braces if it is non-nil. Match fields
2504 containing hyphens besides word constituents.
2505 (reftex-get-string-refs): New function.
2506 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2507 and ask if it should be reread in case it did.
2508 (reftex-pop-to-bibtex-entry)
2509 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2510 entries with spaces or tabs in front of arguments.
2511 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2512 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2513 Match entries containing numbers and symbol constituents.
2514 (reftex-do-citation, reftex-figure-out-cite-format):
2515 Use `reftex-cite-key-separator'.
2516
2517 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2518 (reftex-mouse-view-crossref): Explain why point is set.
2519
2520 * textmodes/reftex-global.el: Whitespace changes.
2521
2522 * textmodes/reftex-index.el: Move provide statement to end of
2523 file.
2524 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2525 (reftex-index-visit-phrases-buffer): Set marker when visiting
2526 buffer. This allows for returning from the phrases file to the
2527 file one was just editing instead of the file where the last
2528 phrases was added from.
2529 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2530 punctuation syntax as it usually is not used as string quote in
2531 TeX-related modes and may occur unmatched. The change also
2532 prevents fontification of quoted content.
2533 (reftex-index-phrases-mode): Use it.
2534
2535 * textmodes/reftex-parse.el (reftex-parse-from-file):
2536 Move backward one char if a `\' was matched after a section macro.
2537 (reftex-parse-from-file): Use beginning of match instead of end as
2538 bound.
2539
2540 * textmodes/reftex-ref.el: Adapt creation of
2541 `reftex-<package>-<macro>' functions to new structure of
2542 `reftex-ref-style-alist'.
2543 (reftex-reference): Use `reftex-ref-style-list' function.
2544 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2545 reference macro if `reftex-ref-macro-prompt' is non-nil.
2546 (reftex-reference): Pass refstyle to `reftex-format-special'.
2547 Determine reference macro by looking at
2548 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2549 Use only one special format function.
2550 (reftex-varioref-vref, reftex-fancyref-fref)
2551 (reftex-fancyref-Fref): Remove definitions. The functions are now
2552 generated from `reftex-ref-style-alist'.
2553 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2554 Remove.
2555 (reftex-format-special): New function.
2556
2557 * textmodes/reftex-sel.el
2558 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2559 of `reftex-ref-style-alist'. Remove code for testing macro type.
2560 (reftex-select-toggle-varioref)
2561 (reftex-select-toggle-fancyref): Remove.
2562 (reftex-select-cycle-ref-style-internal)
2563 (reftex-select-cycle-ref-style-forward)
2564 (reftex-select-cycle-ref-style-backward): New functions.
2565 (reftex-select-label-map): Use `v' and `V' for general cycling
2566 through reference styles. Add `p' for switching between number
2567 and page reference types.
2568
2569 * textmodes/reftex-toc.el (reftex-re-enlarge):
2570 Call `enlarge-window' only if there is something to do because in Emacs
2571 the horizontal version throws an error even if the parameter is 0.
2572
2573 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2574 (reftex-plug-into-AUCTeX): Doc fix.
2575 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2576 string. Adapt to new name.
2577 (reftex-ref-style-alist): Change structure so that it is not
2578 possible to use multiple different package names within a style.
2579 Remove the symbols for symbols for macro type distinction.
2580 Add characters for macro selection.
2581 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2582 (reftex-create-bibtex-footer): New variables.
2583 (reftex-format-ref-function): Mention third argument of special
2584 format function.
2585 (reftex-ref-style-alist, reftex-ref-style-default-list):
2586 New variables.
2587 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2588 to new implementation. Mark as obsolete. Add compatibility code
2589 for honoring the variable values in case they are set.
2590 (reftex-cite-format-builtin, reftex-bibliography-commands):
2591 Add support for ConTeXt.
2592 (reftex-format-ref-function, reftex-format-cite-function):
2593 Fix custom type.
2594 (reftex-cite-key-separator): New variable.
2595
2596 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2597 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2598 `reftex-syntax-table' because parens have to retain their paren
2599 syntax in order for parsing of BibTeX entries like @book(...) to
2600 work.
2601 (reftex-in-comment): Do not error out if `comment-start-skip' is
2602 not set. Deal correctly with escaped comment characters.
2603 (reftex-tie-multifile-symbols): Add doc string.
2604 Initialize `reftex-ref-style-list'.
2605 (reftex-untie-multifile-symbols): Add doc string.
2606 (reftex-add-index-macros): Doc fix.
2607 (reftex-ref-style-activate, reftex-ref-style-toggle)
2608 (reftex-ref-style-list): New functions.
2609 (reftex-mode-menu): Use them. Adapt to new structure of
2610 `reftex-ref-style-alist'.
2611 (reftex-select-with-char): Kill the RefTeX Select buffer when
2612 done.
2613 (reftex-remove-if): New function.
2614 (reftex-erase-all-selection-and-index-buffers)
2615 (reftex-mode-menu): Reference styles are now computed from
2616 `reftex-ref-style-alist'. Fix typo.
2617 (reftex-report-bug): New function.
2618 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2619 algorithms with O(n log n). Introduce optional argument SORT (not
2620 yet used).
2621
2622 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2623
2624 Enhancements for triple-quote string syntax.
2625 * progmodes/python.el (python-syntax-propertize-function):
2626 Match both quote cases in one regexp.
2627 (python-syntax-stringify): Handle matches properly.
2628
2629 2012-09-30 Juri Linkov <juri@jurta.org>
2630
2631 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2632 to nil around the call to `insert' to prevent
2633 directory time modification by lock_file. (Bug#2295)
2634 * tar-mode.el (tar-summarize-buffer): Idem.
2635
2636 2012-09-30 Juri Linkov <juri@jurta.org>
2637
2638 * facemenu.el (list-colors-sort): Add option "Luminance".
2639 (list-colors-sort-key): Implement it.
2640
2641 * vc/diff-mode.el (diff-refine-removed):
2642 * vc/ediff-init.el (ediff-fine-diff-A):
2643 * vc/smerge-mode.el (smerge-refined-removed):
2644 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2645
2646 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2647
2648 * term/ns-win.el (x-file-dialog): New function.
2649
2650 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * ido.el (ido-max-directory-size): Default to nil; the current
2653 default is small for POSIX systems, and impractical on Windows 7
2654 now that lstat returns directory sizes for NTFS.
2655
2656 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2657
2658 In buffer display functions handle window-height/window-width
2659 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2660 * window.el (window--display-buffer): New argument ALIST.
2661 Obey window-height and window-width alist entries.
2662 (window--try-to-split-window): New argument ALIST.
2663 Bind window-combination-limit to t when the window's size shall be
2664 changed and window-combination-limit equals `window-size'.
2665 (display-buffer-in-atom-window)
2666 (display-buffer-in-major-side-window)
2667 (display-buffer-in-side-window, display-buffer-same-window)
2668 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2669 (display-buffer-pop-up-window, display-buffer-below-selected)
2670 (display-buffer-at-bottom, display-buffer-in-previous-window)
2671 (display-buffer-use-some-window): Adjust all callers of
2672 window--display-buffer and window--try-to-split-window.
2673 (fit-frame-to-buffer): New option.
2674 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2675 is non-nil.
2676 (display-buffer-in-major-side-window): Evaluate window-height /
2677 window-width alist entries.
2678
2679 * help.el (temp-buffer-resize-frames)
2680 (temp-buffer-resize-regexps): Remove options.
2681 (temp-buffer-resize-mode): Adjust doc-string.
2682 (resize-temp-buffer-window): Don't consult
2683 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2684 temp-buffer-resize-frames.
2685
2686 * dired.el (dired-mark-pop-up):
2687 Call display-buffer-below-selected with a fit-window-to-buffer alist
2688 entry.
2689
2690 2012-09-30 Chong Yidong <cyd@gnu.org>
2691
2692 * server.el (server-host): Document the security implications.
2693 (server-auth-key): Doc fix.
2694
2695 * startup.el (initial-buffer-choice): Doc fix.
2696
2697 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2698
2699 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2700 restriction change.
2701
2702 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2703
2704 * help-fns.el (help-fns--obsolete): Fix last change.
2705
2706 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2709 (minor-mode-map-alist): Remove redundant code.
2710
2711 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2712 visited in a buffer.
2713 (cvs-insert-visited-file): New function.
2714 (find-file-hook): Use it.
2715
2716 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2717
2718 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2719 chose face.
2720 (log-edit-empty-buffer-p): Don't require a space after a header.
2721
2722 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2723
2724 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2725
2726 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2727 a proper minor-mode.
2728
2729 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2730
2731 2012-09-29 Glenn Morris <rgm@gnu.org>
2732
2733 * winner.el (winner-mode): Remove variable (let define-minor-mode
2734 handle it).
2735 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2736 Doc fixes.
2737 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2738 (winner-mode): Use define-minor-mode.
2739
2740 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2741 the full definition in loaddefs, rather than duplicating it.
2742
2743 * help-macro.el (three-step-help): No need to autoload defcustom.
2744
2745 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2746 (inferior-lisp-program, inferior-lisp-load-command)
2747 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2748 No need to autoload defcustoms.
2749
2750 * hippie-exp.el (hippie-expand-try-functions-list)
2751 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2752 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2753 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2754 (hippie-expand-only-buffers): No need to autoload defcustoms.
2755 * progmodes/vhdl-mode.el (vhdl-line-expand):
2756 Explicitly load hippie-exp, so it does not get autoloaded
2757 while hippie-expand-try-functions-list is let-bound.
2758
2759 2012-09-28 Glenn Morris <rgm@gnu.org>
2760
2761 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2762
2763 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2764 Only "cl.el" counts as cl these days.
2765
2766 2012-09-28 Juri Linkov <juri@jurta.org>
2767
2768 Display archive errors in the echo area instead of inserting
2769 to the file buffer.
2770
2771 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2772 to STDERR-TEST that can be a regexp matching a successful output.
2773 Create a temporary file and redirect stderr to it. Search for
2774 STDERR-TEST in the stderr output and display it in the echo area
2775 if no match is found.
2776 (archive-extract-by-file): New function like
2777 `archive-extract-by-stdout' but extracting archives to files
2778 and looking for successful matches in stdout. Function body is
2779 mostly copied from `archive-rar-extract'.
2780 (archive-rar-extract): Use `archive-extract-by-file'.
2781 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2782
2783 2012-09-28 Leo Liu <sdl.web@gmail.com>
2784
2785 * pcomplete.el (pcomplete-show-completions):
2786 Use minibuffer-message to make pcomplete usable in minibuffer.
2787
2788 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2789
2790 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * type-break.el: Use lexical-binding.
2793 (type-break-mode): Use define-minor-mode.
2794
2795 * emacs-lisp/pcase.el (pcase--mark-used): New.
2796 (pcase--u1): Use it (bug#12512).
2797
2798 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2799 in load-history with the right file name.
2800
2801 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2802
2803 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2804 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2805 (doc-view-get-bounding-box): Make bounding box slicing work for
2806 ODF and DVI documents.
2807
2808 2012-09-28 Glenn Morris <rgm@gnu.org>
2809
2810 * type-break.el (type-break-mode, type-break-interval)
2811 (type-break-good-rest-interval, type-break-keystroke-threshold):
2812 No need to autoload.
2813 (type-break-good-rest-interval, type-break-keystroke-threshold):
2814 Add :set-after.
2815
2816 2012-09-28 Chong Yidong <cyd@gnu.org>
2817
2818 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2819 Add :version tag.
2820
2821 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2824
2825 2012-09-27 Glenn Morris <rgm@gnu.org>
2826
2827 * faces.el (x-display-name): Declare (for without-x builds).
2828
2829 * linum.el (linum-format): Don't autoload it. Improve :type.
2830
2831 * progmodes/tcl.el: Don't require outline when compiling.
2832 (outline-regexp, outline-level): Declare.
2833 * textmodes/sgml-mode.el: Don't require outline when compiling.
2834 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2835
2836 * term.el (term-ansi-reset):
2837 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2838
2839 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2840 files for RCS and SCCS. (Bug#9781)
2841
2842 2012-09-27 Chong Yidong <cyd@gnu.org>
2843
2844 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2845 change; value should be t.
2846
2847 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * image-mode.el: Use lexical-binding.
2850 (image-mode-winprops): Use t to stand for the window of
2851 a buffer that's not displayed.
2852 * doc-view.el (doc-view-new-window-function): Handle the new
2853 t in winprops.
2854 (doc-view-enlarge): Make it a real nop if the size is not changed.
2855 (doc-view-display): Handle the case where the buffer is not (yet?)
2856 displayed in any window.
2857 (doc-view-saved-settings): New var.
2858 (doc-view-mode): Use it.
2859 (doc-view-fallback-mode): Set it.
2860
2861 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2862 Set lexical-binding.
2863 (minibuffer-eldef-shorten-default): New var.
2864 (minibuffer-default-in-prompt-regexps): Use it for new default.
2865 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2866
2867 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2868
2869 * international/uni-bidi.el:
2870 * international/uni-category.el:
2871 * international/uni-name.el:
2872 * international/uni-numeric.el: Regenerate.
2873
2874 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2875 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * profiler.el: New file.
2878
2879 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2882 (testcover-reinstrument): Simplify with CSE.
2883
2884 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2887
2888 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2889
2890 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2891 (verilog-auto-input, verilog-auto-insert-lisp)
2892 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2893 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2894 (verilog-auto-unused, verilog-auto-wire)
2895 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2896 newline. Reported by Andrew Jones.
2897 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2898 Reported by Brad Dobbie.
2899 (verilog-batch-delete-trailing-whitespace):
2900 Create verilog-batch-delete-trailing-whitespace.
2901 Reported by Brad Dobbie.
2902 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2903 parameters from another module. Reported by Dan Katz.
2904 (verilog-auto, verilog-auto-assign-modport)
2905 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2906 AUTOINOUTMODPORT for UVM interface module shell generation.
2907 Reported by Brad Dobbie.
2908 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2909 standard behavior.
2910 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2911 Reported by Matt Martin.
2912
2913 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2914
2915 * window.el (window--resize-child-windows): When resizing child
2916 windows proportionally, process them in reverse order to
2917 preserve the "when splitting a window the new one gets the odd
2918 line" behavior.
2919 (window--resize-root-window-vertically): When resizing the
2920 minibuffer window try to affect only windows at the bottom of the
2921 frame. (Bug#12419)
2922
2923 2012-09-25 Chong Yidong <cyd@gnu.org>
2924
2925 * subr.el (declare): Doc fix.
2926
2927 * help-fns.el (help-fns--obsolete): Handle macros properly.
2928
2929 2012-09-25 Chong Yidong <cyd@gnu.org>
2930
2931 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2932 this function obsolete.
2933
2934 * calendar/cal-x.el (calendar-two-frame-setup)
2935 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2936 * calendar/calendar.el (american-calendar, european-calendar)
2937 (calendar-for-loop):
2938 * comint.el (comint-dynamic-simple-complete)
2939 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2940 * desktop.el (desktop-load-default):
2941 * dired-x.el (dired-omit-here-always)
2942 (dired-hack-local-variables, dired-default-directory):
2943 * emacs-lisp/derived.el (derived-mode-class):
2944 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2945 * emacs-lock.el (toggle-emacs-lock):
2946 * epa.el (epa-display-verify-result):
2947 * epg.el (epg-sign-keys, epg-start-sign-keys)
2948 (epg-passphrase-callback-function):
2949 * eshell/esh-util.el (eshell-for):
2950 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2951 (eshell-add-to-window-buffer-names):
2952 * files.el (locate-file-completion):
2953 * imenu.el (imenu-example--create-c-index)
2954 (imenu-example--create-lisp-index)
2955 (imenu-example--lisp-extract-index-name)
2956 (imenu-example--name-and-position):
2957 * international/mule-cmds.el (princ-list):
2958 * international/mule-diag.el (decode-codepage-char):
2959 * international/mule-util.el (detect-coding-with-priority):
2960 * iswitchb.el (iswitchb-read-buffer):
2961 * mail/mailalias.el (mail-complete):
2962 * mail/sendmail.el (mail-sent-via):
2963 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2964 (mouse-major-mode-menu):
2965 * password-cache.el (password-read-and-add):
2966 * pcomplete.el (pcomplete-parse-comint-arguments):
2967 * progmodes/sh-script.el (sh-maybe-here-document):
2968 * replace.el (query-replace-regexp-eval):
2969 * savehist.el (savehist-load):
2970 * simple.el (choose-completion-delete-max-match):
2971 * term.el (term-dynamic-simple-complete):
2972 * vc/ediff-init.el (ediff-check-version):
2973 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2974 * vc/vc.el (vc-diff-switches-list):
2975 * view.el (view-return-to-alist-update): Likewise.
2976
2977 * subr.el (eval-next-after-load, makehash, insert-string)
2978 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2979 mark obsolete.
2980 (mode-line-inverse-video): Variable deleted.
2981
2982 * international/mule-util.el (string-to-sequence): Remove.
2983
2984 * calendar/calendar.el (calendar-version):
2985 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2986 (icalendar-convert-diary-to-ical):
2987 * cus-edit.el (custom-mode):
2988 * ansi-color.el (ansi-color-unfontify-region):
2989 * international/latin1-disp.el (latin1-char-displayable-p):
2990 * progmodes/cwarn.el (turn-on-cwarn-mode):
2991 * progmodes/which-func.el (which-func-update-1):
2992 Use define-obsolete-function-alias.
2993
2994 * net/newst-backend.el (newsticker-cache-filename):
2995 * net/newst-treeview.el (newsticker-groups-filename):
2996 Fix incorrect obsolescence declaration.
2997
2998 * allout.el (allout-passphrase-hint-string): Likewise.
2999 (allout-init): Use a declare form to mark obsolete.
3000
3001 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3002 this applies to functions.
3003
3004 * iswitchb.el (iswitchb-read-buffer): Move code of
3005 iswitchb-define-mode-map here, and delete that obsolete function.
3006
3007 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3008 font-lock-reference-face.
3009
3010 2012-09-25 Glenn Morris <rgm@gnu.org>
3011
3012 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3013 Doc fixes.
3014
3015 * eshell/em-term.el (eshell-term-name):
3016 Default to term-term-name. (Bug#12485)
3017
3018 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3019
3020 * progmodes/python.el (python-shell-send-buffer): Better handling
3021 of "if __name__ == '__main__':" conditionals when sending the buffer.
3022
3023 2012-09-24 Glenn Morris <rgm@gnu.org>
3024
3025 * eshell/esh-cmd.el (eshell-find-alias-function):
3026 Tighten up file-name regexp. (Bug#12499)
3027
3028 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3029
3030 Enhancements for triple-quote string syntax.
3031 * progmodes/python.el (python-quote-syntax): Remove.
3032 (python-syntax-propertize-function): New value.
3033 (python-syntax-count-quotes, python-syntax-stringify):
3034 New functions.
3035
3036 2012-09-24 Chong Yidong <cyd@gnu.org>
3037
3038 * mail/supercite.el (sc-version): Remove obsolete function.
3039 (sc-describe): Don't mark as obsolete, since it is bound.
3040 (sc-submit-bug-report): Remove.
3041
3042 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3043 (cvs-commit-buffer-require-final-newline): Remove.
3044 (log-edit-require-final-newline)
3045 (log-edit-changelog-full-paragraphs): Default to t.
3046
3047 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3048 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3049 * vc/vc.el (vc-checkout-carefully): Likewise.
3050
3051 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3052 (emerge-version): Remove.
3053
3054 * progmodes/compile.el (compile-internal): Remove.
3055 (compilation-parse-errors-function): Fix typo.
3056
3057 * international/mule.el (set-char-table-default): Remove.
3058 (set-coding-priority, make-coding-system, generic-char-p)
3059 (charset-list, charset-bytes, charset-id): Use declare to mark
3060 functions as obsolete.
3061
3062 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3063 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3064 * vc/vc-hooks.el (vc-default-registered): Don't use
3065 vc-master-templates.
3066
3067 * font-lock.el (font-lock-reference-face):
3068 Use define-obsolete-variable-alias.
3069
3070 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3071 * calendar/calendar.el (calendar-font-lock-keywords):
3072 * calendar/diary-lib.el (diary-font-lock-keywords)
3073 (diary-fancy-font-lock-keywords):
3074 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3075 * textmodes/reftex-index.el (reftex-insert-index):
3076 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3077 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3078 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3079 * progmodes/prolog.el (prolog-font-lock-keywords):
3080 * progmodes/idlwave.el (idlwave-idl-keywords):
3081 * progmodes/ada-mode.el (ada-font-lock-keywords):
3082 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3083
3084 2012-09-24 Glenn Morris <rgm@gnu.org>
3085
3086 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3087
3088 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3089
3090 * progmodes/python.el (python-indent-line): More consistent cursor
3091 movement behavior.
3092
3093 2012-09-23 Stefan Merten <smerten@oekonux.de>
3094
3095 * textmodes/rst.el: Fix compiler warning.
3096
3097 2012-09-23 Roland Winkler <winkler@gnu.org>
3098
3099 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3100 Transcribe also LaTeX hyphenation.
3101 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3102 bibtex-reformat-previous-options.
3103
3104 2012-09-23 Roland Winkler <winkler@gnu.org>
3105
3106 * proced.el (proced-renice-command): New variable.
3107 (proced-marked-processes): New function.
3108 (proced-with-processes-buffer): New macro.
3109 (proced-send-signal): Use them.
3110 (proced-renice): New command bound to r.
3111
3112 2012-09-23 Roland Winkler <winkler@gnu.org>
3113
3114 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3115 ibuffer-saved-filter-groups has one element, shortcut the call of
3116 completing-read. (Bug#12331)
3117
3118 2012-09-23 Chong Yidong <cyd@gnu.org>
3119
3120 * bindings.el (mode-line-toggle-read-only):
3121 * bs.el (bs-toggle-readonly):
3122 * buff-menu.el (Buffer-menu-toggle-read-only):
3123 * dired.el (dired-toggle-read-only):
3124 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3125
3126 2012-09-23 Chong Yidong <cyd@gnu.org>
3127
3128 * image.el (image-type-available-p): Adapt to init-image-library
3129 argument changes.
3130
3131 2012-09-22 Juri Linkov <juri@jurta.org>
3132
3133 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3134 `dired-toggle-read-only'. (Bug#12462)
3135
3136 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3137
3138 * subr.el (temp-output-buffer-show): New function.
3139 (with-output-to-temp-buffer): Call temp-output-buffer-show
3140 instead of internal-temp-output-buffer-show.
3141
3142 2012-09-22 Chong Yidong <cyd@gnu.org>
3143
3144 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3145 (Bug#12462).
3146
3147 * repeat.el (repeat): Doc fix (Bug#12348).
3148
3149 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3150 (Bug#10909).
3151
3152 * simple.el (shell-command-on-region): Doc fix.
3153 (read-only-mode): Doc fix.
3154
3155 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3156
3157 * emacs-lisp/timer.el (run-with-idle-timer)
3158 (timer-activate-when-idle): Warn against reinvoking an idle timer
3159 from within its own timer action. (Bug#12447)
3160
3161 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3162
3163 * cus-start.el (window-combination-limit): Add new optional
3164 values.
3165 * window.el (temp-buffer-window-show)
3166 (window--try-to-split-window): Handle new values of
3167 window-combination-limit (Bug#1806).
3168 (split-window): Test window-combination-limit for t instead of
3169 non-nil.
3170 (display-buffer-at-bottom): New buffer display action function.
3171 * help.el (temp-buffer-resize-regexps): New option.
3172 (temp-buffer-resize-mode): Rewrite doc-string.
3173 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3174 Don't resize reused window. Suggested by Glenn Morris.
3175
3176 2012-09-22 Stefan Merten <smerten@oekonux.de>
3177
3178 * textmodes/rst.el: Revamp section title faces.
3179 (rst-official-version)
3180 (rst-package-emacs-version-alist): Sync with official version
3181 V1.4.0.
3182 (rst-faces-defaults, rst-set-level-default)
3183 (rst-level-face-max, rst-level-face-base-color)
3184 (rst-level-face-base-light, rst-level-face-format-light)
3185 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3186 (rst-adornment-faces-alist): Match new setup.
3187 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3188 (rst-level-5, rst-level-6): New faces.
3189
3190 2012-09-22 Chong Yidong <cyd@gnu.org>
3191
3192 * simple.el (undo): Handle indirect buffers (Bug#8207).
3193
3194 2012-09-21 Leo Liu <sdl.web@gmail.com>
3195
3196 IDO: Disable match re-ordering for buffer switching.
3197 * ido.el (ido-buffer-disable-smart-matches): New variable.
3198 (ido-set-matches-1): Use it. (Bug#2042)
3199
3200 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3201
3202 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3203 Fix 2011-05-17 change. (Bug#12418)
3204
3205 2012-09-21 Leo Liu <sdl.web@gmail.com>
3206
3207 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3208
3209 2012-09-21 Glenn Morris <rgm@gnu.org>
3210
3211 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3212 Be more robust about locating simple.el.
3213
3214 2012-09-21 Glenn Morris <rgm@gnu.org>
3215
3216 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3217
3218 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3219
3220 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3221
3222 2012-09-20 Juri Linkov <juri@jurta.org>
3223
3224 * replace.el (query-replace-read-from): Use `read-regexp' instead
3225 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3226 (occur-read-primary-args): Use `read-regexp' instead of
3227 `read-string'.
3228 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3229 `read-from-minibuffer'.
3230 * isearch.el (isearch-occur): Use `read-regexp' instead of
3231 `read-string'.
3232 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3233 `read-from-minibuffer'.
3234 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3235 of `read-string'. (Bug#7567)
3236
3237 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3238 and allow accepting a list of strings prepended to a list of
3239 standard default values. Doc fix. (Bug#12321)
3240
3241 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3242
3243 * replace.el (read-regexp): Don't add ": " when PROMPT already
3244 ends with a colon and space. (Bug#12321)
3245
3246 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3247
3248 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3249 error.
3250
3251 2012-09-20 Stefan Merten <smerten@oekonux.de>
3252
3253 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3254 Fixes feature request bug#11711.
3255 (rst-mode): Create `imenu-create-index-function'.
3256 (rst-get-stripped-line): Delete after refactoring.
3257 (rst-section-tree, rst-section-tree-rec)
3258 (rst-section-tree-point): Refactor and document properly.
3259 (rst-imenu-find-adornments-for-position)
3260 (rst-imenu-convert-cell, rst-imenu-create-index):
3261 New function.
3262
3263 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3266 (macroexp--expand-all): Use it.
3267 (macroexp--funcall-and-return): Remove by folding it into its sole
3268 caller (macroexp--warn-and-return).
3269 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3270 Use macroexp--obsolete-warning.
3271
3272 * calc/calc.el: Fix last change by removing the whole chunk, since it
3273 was only needed back when Calc was not bundled.
3274
3275 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3276
3277 * emacs-lisp/debug.el (debug): Restore assignment to
3278 debugger-old-buffer removed on 2012-09-08.
3279
3280 2012-09-20 Juri Linkov <juri@jurta.org>
3281
3282 * dired-aux.el (dired-diff): Remove (require 'diff) since
3283 `diff-latest-backup-file' is now autoloaded.
3284
3285 2012-09-20 Chong Yidong <cyd@gnu.org>
3286
3287 * vc/diff.el (diff-latest-backup-file): Autoload.
3288
3289 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * calc/calc.el: Remove redundant autoload shape check.
3292 (sel-mode): Don't defvar.
3293 (calc-get-stack-element): Add `sel-mode' arg instead.
3294 (calc-top, calc-top-list): Pass it this additional argument.
3295 * calc/calc-store.el (calc-store-map):
3296 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3297 (calc-map-equation, calc-outer-product, calc-inner-product):
3298 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3299
3300 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3301
3302 2012-09-19 Juri Linkov <juri@jurta.org>
3303
3304 * dired-aux.el (dired-diff): Add (require 'diff) because
3305 `diff-latest-backup-file' is not autoloaded.
3306 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3307 of `dired-get-filename' to t to not report error when there is
3308 no default file on the current line.
3309
3310 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3313 macroexp--eval-if-compile.
3314 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3315 (macroexp--expand-all): Use them (bug#12371).
3316
3317 * doc-view.el (doc-view-guess-paper-size)
3318 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3319
3320 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3321
3322 New feature: set optimal slice from BoundingBox information.
3323 * doc-view.el (doc-view-mode-map): Add keybinding.
3324 (doc-view-menu): Add menu entry.
3325 (doc-view-set-slice): Adapt docstring.
3326 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3327 (doc-view-scale-bounding-box)
3328 (doc-view-set-slice-from-bounding-box): New functions.
3329 (doc-view-paper-sizes): New defvar.
3330
3331 2012-09-19 Glenn Morris <rgm@gnu.org>
3332
3333 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3334 (byte-compile-log-warning): Autoload. (Bug#12371)
3335
3336 * calendar/calendar.el (calendar-american-month-header)
3337 (calendar-european-month-header, calendar-iso-month-header)
3338 (calendar-month-header): New options.
3339 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3340 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3341
3342 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3343
3344 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3345
3346 2012-09-18 Juri Linkov <juri@jurta.org>
3347
3348 * dired-aux.el (dired-diff): Restore original functionality of
3349 getting the default value, but keep new feature of using the
3350 latest existing backup file (`diff-latest-backup-file').
3351
3352 2012-09-18 Juri Linkov <juri@jurta.org>
3353
3354 * dired.el (dired-mark): If the region is active in Transient Mark
3355 mode, mark all files in the active region. Doc fix.
3356 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3357 Doc fix. (Bug#10624)
3358
3359 2012-09-18 Juri Linkov <juri@jurta.org>
3360
3361 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3362 attributes for M-n are pulled from the file at point.
3363 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3364 Suggested by Drew Adams. (Bug#10624)
3365
3366 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3369 whitespace after "end".
3370 (ruby-do-end-to-brace): Collapse block to one line if it fits
3371 within fill-column.
3372
3373 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3374
3375 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3376 value.
3377 (debug): Don't remove debugger window when debugger is expected
3378 to be back.
3379
3380 2012-09-18 Chong Yidong <cyd@gnu.org>
3381
3382 * custom.el (defface): Doc fix.
3383
3384 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3385
3386 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3387
3388 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3389 to initialize query-on-exit; then test that instead (bug#12288).
3390
3391 2012-09-17 Stefan Merten <smerten@oekonux.de>
3392
3393 * textmodes/rst.el: Add support for `testcover'.
3394 (rst-defcustom-testcover, rst-testcover-add-compose)
3395 (rst-testcover-add-1value): New functions.
3396 (rst-portable-mark-active-p): Replace by `use-region-p'.
3397 (rst-update-section, rst-classify-adornment)
3398 (rst-find-title-line): Mark `1value' forms.
3399 (rst-classify-adornment): Remove superfluous form.
3400 (rst-update-section, rst-get-adornments-around)
3401 (rst-adornment-complete-p, rst-get-next-adornment)
3402 (rst-adjust, rst-promote-region)
3403 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3404 (rst-find-pfx-in-region, rst-section-tree-rec)
3405 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3406 (rst-toc-node, rst-toc, rst-forward-section)
3407 (rst-iterate-leftmost-paragraphs)
3408 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3409 (rst-bullet-list-region)
3410 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3411 (rst-compile-find-conf, rst-compile)
3412 (rst-repeat-last-character): Fix style.
3413
3414 2012-09-17 Chong Yidong <cyd@gnu.org>
3415
3416 * comint.el (comint--complete-file-name-data): Don't add a space
3417 if the status is `sole'; that adds a gratuitous space in the
3418 completion-cycling case (Bug#12092).
3419
3420 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3421
3422 2012-09-17 Richard Stallman <rms@gnu.org>
3423
3424 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3425 only in the mime-shown mode, not in raw mode.
3426 (rmail-mime): Toggle off mime by displaying the message without
3427 mime processing. (Bug#12305)
3428
3429 * mail/rmail.el (rmail-retry-failure):
3430 Turn off mime processing first. (Bug#12037)
3431
3432 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3433
3434 2012-09-17 Chong Yidong <cyd@gnu.org>
3435
3436 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3437 (shell-dynamic-complete-functions): Convert to defcustom.
3438 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3439
3440 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3441 * comint.el (comint-prompt-read-only):
3442 * custom.el (defcustom):
3443 * hi-lock.el (hi-lock-mode):
3444 * ibuffer.el (ibuffer-formats):
3445 * ielm.el (ielm-prompt-read-only):
3446 * novice.el (disable-command):
3447 * saveplace.el (toggle-save-place):
3448 * speedbar.el (speedbar-supported-extension-expressions):
3449 * startup.el (auto-save-list-file-prefix, init-file-user)
3450 (after-init-hook, inhibit-startup-echo-area-message):
3451 * strokes.el (strokes-help):
3452 * time-stamp.el (time-stamp):
3453 * calendar/calendar.el (calendar, diary-file):
3454 * calendar/diary-lib.el (diary-mail-entries, diary)
3455 (diary-list-entries-hook):
3456 * calendar/holidays.el (holidays, calendar-holidays):
3457 * calendar/lunar.el (lunar-phases):
3458 * calendar/solar.el (sunrise-sunset):
3459 * emulation/edt.el (edt-load-keys):
3460 * emulation/viper.el (viper-mode):
3461 * eshell/em-alias.el (eshell-command-aliases-list):
3462 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3463 * international/ogonek.el (ogonek-information):
3464 * net/tramp-cmds.el (tramp-bug):
3465 * net/quickurl.el (quickurl-reread-hook-postfix):
3466 * play/decipher.el (decipher-font-lock-keywords):
3467 * progmodes/cc-styles.el (c-set-style):
3468 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3469 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3470 * progmodes/octave-mod.el (octave-mode):
3471 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3472 * progmodes/verilog-mode.el (verilog-read-defines):
3473 * textmodes/two-column.el (2C-mode): Likewise.
3474
3475 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3476
3477 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3478 that holds many addresses.
3479
3480 2012-09-16 Chong Yidong <cyd@gnu.org>
3481
3482 * align.el (align-areas): Call the indication function with
3483 positions instead of markers for arguments (Bug#12343).
3484
3485 * files.el (parse-colon-path): Use split-string (Bug#12351).
3486
3487 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3488 (display-buffer-function): Mark as obsolete.
3489
3490 * progmodes/compile.el (compilation-parse-errors): Accept list
3491 values similar to font-lock-keywords (Bug#12136).
3492 Suggested by Oleksandr Manzyuk.
3493 (compilation-error-regexp-alist): Doc fix.
3494
3495 2012-09-15 Glenn Morris <rgm@gnu.org>
3496
3497 * version.el (emacs-bzr-version-bzr): New function.
3498 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3499
3500 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3501 checkouts, check the parent dirstate matches the branch.
3502 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3503 empty string.
3504
3505 * version.el (emacs-bzr-version): Doc fix.
3506 (emacs-bzr-version-dirstate): New function.
3507 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3508 is local try and check that it matches the branch. If not, just
3509 use dirstate information. (Bug#12441)
3510
3511 2012-09-14 Juri Linkov <juri@jurta.org>
3512
3513 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3514 (Bug#12399)
3515
3516 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3519
3520 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3521 Remove obsolete byte-compiler hack that tried to silence some warnings.
3522 (edebug-submit-bug-report): Remove.
3523 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3524 Remove aliases, use the un-prefixed name instead.
3525 (edebug-pop-to-buffer): Consider other frames.
3526 (edebug-original-read):: Make it more obvious that it's always defined.
3527 (edebug--make-form-data-entry, edebug--form-data-name)
3528 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3529 single-dashed name, and implement with cl-defstruct.
3530 (edebug-set-form-data-entry): Use the standard accessors.
3531 (edebug-make-top-form-data-entry): Use push.
3532 (edebug-no-match): Drop useless `funcall'.
3533 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3534 to functions.
3535 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3536 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3537 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3538 (easy-menu-define, with-custom-print): Remove redundant specs.
3539 (edebug-outside-overriding-local-map)
3540 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3541 (edebug--display): Bind unread-command-events directly to nil rather
3542 than binding it to unread-command-events and later setting it to nil.
3543 (edebug--display): Kill edebug-eval-buffer here...
3544 (edebug--recursive-edit): ...rather than here.
3545 Bind standard-output and standard-input.
3546 (edebug-eval): Check cl-macroexpand-all is fboundp.
3547 (edebug-temp-display-freq-count): Fix last change.
3548
3549 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3550 * subr.el (noreturn, 1value): Add `debug' spec.
3551 * emacs-lisp/advice.el: Require cl-lib.
3552 (ad-copy-tree): Remove, use copy-tree instead.
3553 (ad-dolist): Remove use dolist or cl-dolist instead.
3554 (ad-do-return): Remove, use cl-return instead.
3555 (defadvice): Add `debug' spec.
3556
3557 2012-09-13 Juri Linkov <juri@jurta.org>
3558
3559 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3560 (Bug#12399)
3561
3562 2012-09-13 Glenn Morris <rgm@gnu.org>
3563
3564 * calc/calc.el (math-compose-expr):
3565 * calc/calc-ext.el (math-compose-expr):
3566 * progmodes/cc-defs.el (cl-macroexpand-all):
3567 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3568 (cl-macroexpand-all): Update declarations.
3569
3570 * vc/vc.el: No need to require ediff.
3571 (ediff-load-version-control): Declare.
3572 (ediff-vc-internal): Fix declaration.
3573 (vc-version-ediff): Require ediff.
3574
3575 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3576
3577 Use a more backwards-compatible timer format (Bug#12430).
3578 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3579 being right after USECS, as that better supports old code that
3580 inadvisedly looked directly at the timer vector.
3581
3582 2012-09-13 Kenichi Handa <handa@gnu.org>
3583
3584 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3585 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3586 `coding-priority' property of these language environment.
3587
3588 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3589
3590 Fix glitches caused by addition of psec to timers (Bug#12430).
3591 * image.el (image-animate-timer):
3592 * time.el (display-time-world-timer):
3593 Use timer--function and timer--args rather than raw access to
3594 timer vector.
3595
3596 2012-09-13 Glenn Morris <rgm@gnu.org>
3597
3598 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3599 If not compiling a file, try using load-file-name.
3600
3601 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3604 Fix last change.
3605 (edebug-update-eval-list): Use `push'.
3606
3607 * emacs-lisp/edebug.el: Use lexical-binding.
3608 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3609 Mark unused args with underscore.
3610 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3611 (edebug-form-data): Use defvar-local.
3612 (edebug-make-before-and-after-form, edebug-make-after-form):
3613 Use backquote.
3614 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3615 Not dynamically scoped any more.
3616 (edebug--enter-trace): Add arguments `function' and `args'.
3617 Rename from edebug-enter-trace.
3618 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3619 (edebug--update-coverage): Add `after-index' and `value' args.
3620 Rename from edebug-update-coverage.
3621 (edebug-slow-after): Call it accordingly.
3622 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3623 edebug-recursive-edit.
3624 (edebug--display): Call it accordingly. Add args `value',
3625 `offset-index', and `arg-mode'. Rename from edebug-display.
3626 (edebug-debugger, edebug): Call it accordingly.
3627 (edebug-eval-display-list): Use dolist.
3628
3629 2012-09-12 Juri Linkov <juri@jurta.org>
3630
3631 * info.el (Info-search): Don't check for isearch-mode and
3632 isearch-regexp before let-binding search-spaces-regexp to
3633 Info-search-whitespace-regexp.
3634 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3635 search-whitespace-regexp if isearch-lax-whitespace or
3636 isearch-regexp-lax-whitespace is non-nil.
3637 (Info-mode): Don't set local variable search-whitespace-regexp.
3638 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3639
3640 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3643 (debugger-env-macro): Remove support for unread-command-char.
3644
3645 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3646 the temporary map re-appearing on emulation-mode-map-alists.
3647
3648 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3649 since 22.1.
3650
3651 * ehelp.el (with-electric-help): Accept functions in
3652 electric-help-form-to-execute.
3653 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3654 And replace unread-command-char -> unread-command-events.
3655
3656 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3657
3658 Sync with Tramp 2.2.6.
3659
3660 * net/tramp.el (tramp-accept-process-output): Don't use
3661 JUST-THIS-ONE in the XEmacs case.
3662
3663 * net/trampver.el: Update release number.
3664
3665 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3666
3667 * emacs-lisp/debug.el (debugger-previous-window-height):
3668 New variable.
3669 (debug): When debugger-jumping-flag is non-nil try to restore
3670 height of debugger window. (Bug#8789)
3671
3672 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3675 overriding-local-map and pre/post-command-hook here.
3676 (edebug-recursive-edit): Do it here instead (bug#12345).
3677 (edebug-outside-unread-command-char): Remove all uses of
3678 unread-command-char.
3679
3680 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3681 inhibit-debugger is bound instead.
3682
3683 2012-09-11 Bastien Guerry <bzg@gnu.org>
3684
3685 * subr.el (set-temporary-overlay-map): Add a docstring.
3686 (Bug#12346)
3687
3688 2012-09-11 Bastien Guerry <bzg@gnu.org>
3689
3690 * minibuffer.el (completion-table-subvert): Fix docstring.
3691 (Bug#12347)
3692
3693 2012-09-11 Bastien Guerry <bzg@gnu.org>
3694
3695 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3696
3697 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3698
3699 * progmodes/sql.el: Version 3.1
3700 (sql-db2-escape-newlines): New variable.
3701 (sql-escape-newlines-filter): Use it.
3702
3703 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3704
3705 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3706
3707 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3708
3709 * vc/diff-mode.el (diff-mode-menu):
3710 Bind diff-remove-trailing-whitespace.
3711
3712 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3715 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3716 (emacs-lisp-byte-code-mode): New functions.
3717 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3718 (eval-defun-2): Remove bogus interactive spec.
3719 (lisp-indent-line): Remove redundant whole-exp code, now done in
3720 indent-according-to-mode.
3721 (save-match-data): Remove redundant indent data.
3722
3723 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3724 Use `declare'.
3725
3726 2012-09-09 Juri Linkov <juri@jurta.org>
3727
3728 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3729 (replace-lax-whitespace, query-replace-regexp)
3730 (query-replace-regexp-eval, replace-regexp): Doc fix.
3731 (perform-replace, replace-highlight): Let-bind
3732 isearch-lax-whitespace to replace-lax-whitespace and
3733 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3734
3735 * isearch.el (isearch-query-replace): Let-bind
3736 replace-lax-whitespace to isearch-lax-whitespace and
3737 replace-regexp-lax-whitespace to
3738 isearch-regexp-lax-whitespace. (Bug#10885)
3739
3740 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3743
3744 2012-09-09 Alan Mackenzie <acm@muc.de>
3745
3746 * progmodes/cc-engine.el (c-state-cache-init):
3747 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3748 (c-record-parse-state-state):
3749 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3750
3751 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3752
3753 * register.el (register-separator): Rename from
3754 separator-register. All uses changed. Doc fix.
3755 (register): Fix version.
3756
3757 2012-09-09 Chong Yidong <cyd@gnu.org>
3758
3759 * replace.el (query-replace-map): Bind four new symbols for
3760 requesting window scrolling.
3761
3762 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3763 query-replace-map (Bug#8948).
3764
3765 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3766
3767 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3768 since they are now in query-replace-map.
3769
3770 * window.el (scroll-other-window-down): Make the arg optional.
3771
3772 2012-09-09 Chong Yidong <cyd@gnu.org>
3773
3774 * files.el (hack-local-variables-confirm): Use quit-window to kill
3775 the *Local Variables* buffer.
3776
3777 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3778
3779 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3780 not just expect to be at its beginning. Adjust callees.
3781 Succeed when do-end block has no space before the pipe character.
3782 (ruby-brace-to-do-end): When the original block is one-liner,
3783 convert to multiline. Reindent the result.
3784
3785 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3786
3787 * register.el (register): New group.
3788 (separator-register): New user option.
3789 (increment-register): Route it to `append-to-register', if
3790 register contains text. Implication is that `C-x r +' can now be
3791 used for appending to a text register (bug#12217).
3792 (append-to-register, prepend-to-register): Add separator based on
3793 `separator-register'.
3794
3795 2012-09-08 Alan Mackenzie <acm@muc.de>
3796
3797 AWK Mode: make auto-newline work when there's "==" in the pattern.
3798 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3799 correctly.
3800 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3801 Test more rigorously for "=" token.
3802
3803 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3804
3805 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3806 Only fail when reached LIMIT.
3807
3808 2012-09-08 Chong Yidong <cyd@gnu.org>
3809
3810 * dired.el (dired-mode-map): Don't bind M-=.
3811
3812 * dired-aux.el (dired-diff): Use backup file as default.
3813
3814 2012-09-08 Drew Adams <drew.adams@oracle.com>
3815
3816 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3817
3818 2012-09-08 Chong Yidong <cyd@gnu.org>
3819
3820 * subr.el (syntax-after, syntax-class): Doc fix.
3821
3822 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3823
3824 * window.el (display-buffer-in-previous-window): New buffer
3825 display action function.
3826
3827 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3828 (debugger-previous-window): New variable.
3829 (debug): Rewrite using display-buffer-in-previous-window,
3830 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3831
3832 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3835
3836 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3837
3838 * progmodes/python.el (python-shell-send-string):
3839 When default-directory is remote, create temp file on remote
3840 filesystem.
3841 (python-shell-send-file): When file is remote, pass local view of
3842 file paths to remote Python interpreter. (Bug#12340)
3843
3844 2012-09-07 Chong Yidong <cyd@gnu.org>
3845
3846 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3847
3848 * files.el (after-find-file): Don't fail on a read-only buffer if
3849 require-final-newline is `visit' or `visit-save' (Bug#11156).
3850
3851 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3852
3853 * userlock.el (ask-user-about-supersession-threat):
3854 Use read-char-choice (Bug#12093).
3855
3856 2012-09-07 Chong Yidong <cyd@gnu.org>
3857
3858 * subr.el (buffer-narrowed-p): New function.
3859
3860 * ses.el (ses-widen):
3861 * simple.el (count-words--buffer-message):
3862 * net/browse-url.el (browse-url-of-buffer): Use it.
3863
3864 * simple.el (count-words-region): Don't signal an error if there
3865 is a non-nil prefix arg and the mark is not set.
3866
3867 * help.el (describe-key-briefly): Allow the message to be seen
3868 when invoked from the minibuffer (Bug#7014).
3869
3870 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3871
3872 * progmodes/ruby-mode.el (ruby-end-of-defun)
3873 (ruby-beginning-of-defun): Simplify, allow indentation before
3874 block beginning and end keywords.
3875 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3876 (ruby-end-of-defun): Expect that the point is at the beginning of
3877 the defun.
3878
3879 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3882 (bug#12367).
3883 (cl--make-usage-args): Strip _ from argument names.
3884
3885 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3886
3887 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3888 obsolete alias speedbar-key-map.
3889 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3890 (vhdl-index-menu-init): Don't use obsolete variable
3891 font-lock-maximum-size.
3892
3893 2012-09-06 Chong Yidong <cyd@gnu.org>
3894
3895 * frame.el (window-system-version): Mark as obsolete.
3896
3897 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3898 of obsolete variable speedbar-key-map.
3899
3900 2012-09-06 Juri Linkov <juri@jurta.org>
3901
3902 * replace.el (replace-lax-whitespace): New defcustom.
3903 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3904 (replace-string, replace-regexp): Mention it in docstrings.
3905 (perform-replace, replace-highlight): Let-bind
3906 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3907 to the values of replace-lax-whitespace and regexp-flag.
3908 Don't let-bind search-whitespace-regexp. (Bug#10885)
3909
3910 * isearch.el (isearch-query-replace): Let-bind
3911 replace-lax-whitespace instead of let-binding
3912 replace-search-function and replace-re-search-function.
3913 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3914 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3915 (isearch-toggle-symbol): Set isearch-regexp to nil
3916 in isearch-word mode (like in isearch-toggle-word).
3917
3918 2012-09-06 Juri Linkov <juri@jurta.org>
3919
3920 * replace.el (replace-search-function)
3921 (replace-re-search-function): Set default values to nil.
3922 (perform-replace): Let-bind isearch-related variables based on
3923 replace-related values, call `isearch-search-fun' and let-bind
3924 the result to `search-function'. Remove code that sets
3925 `search-function' and `search-string' separately for
3926 `delimited-flag'.
3927 (replace-highlight): Add new argument `delimited-flag' and
3928 rename other arguments to the names used in `perform-replace'.
3929 Let-bind `isearch-word' to the argument `delimited-flag'.
3930 (Bug#10885, bug#10887)
3931
3932 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3933
3934 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3935 ruby-beginning-of-indent, simplify, allow all keywords to have
3936 indentation before them.
3937 (ruby-beginning-of-indent): Adjust for above. Search until the
3938 found point is not inside a string or comment.
3939 (ruby-font-lock-keywords): Allow symbols to start with "@"
3940 character, give them higher priority than variables.
3941 (ruby-syntax-propertize-function)
3942 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3943 matchers. Expression expansions are not comments when inside a
3944 string, and there comment syntax status is irrelevant.
3945 (ruby-match-expression-expansion): New function. Check that
3946 expression expansion is inside a string, and it's not escaped.
3947 (ruby-font-lock-keywords): Use it.
3948
3949 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3950
3951 * help.el (temp-buffer-max-height): New default value.
3952 (temp-buffer-resize-frames): New option.
3953 (resize-temp-buffer-window): Optionally resize frame.
3954
3955 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3956 (fit-frame-to-buffer): New function.
3957
3958 2012-09-05 Glenn Morris <rgm@gnu.org>
3959
3960 * emulation/cua-rect.el (cua--init-rectangles):
3961 * textmodes/picture.el (picture-mode-map):
3962 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3963 like forward-char and backward-char. (Bug#12317)
3964
3965 2012-09-05 Leo Liu <sdl.web@gmail.com>
3966
3967 * progmodes/flymake.el (flymake-warning-re): New variable.
3968 (flymake-parse-line): Use it.
3969
3970 2012-09-05 Glenn Morris <rgm@gnu.org>
3971
3972 * calendar/holidays.el (holiday-christian-holidays):
3973 Rename an entry. (Bug#12289)
3974
3975 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3978 (bug#12222).
3979
3980 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * loadup.el: Load macroexp. Remove hack.
3983 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3984 (macroexp--expand-all): Use it to get better warnings.
3985 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3986 (internal-macroexpand-for-load): New functions.
3987 (macroexp--pending-eager-loads): New var.
3988 (emacs-startup-hook): New hack to replace one in loadup.el.
3989 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3990 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3991 (cl-psetf): Simplify.
3992 (cl-defstruct): Add indent rule.
3993
3994 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3995
3996 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3997 over `user-mail-address' for the SMTP MAIL FROM envelope.
3998 (smtpmail-via-smtp): Ditto.
3999
4000 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4001
4002 * progmodes/ruby-mode.el: Clean up keybindings.
4003 (ruby-mode-map): Don't bind ruby-electric-brace,
4004 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4005 backward-kill-word, reindent-then-newline-and-indent.
4006 (ruby-mark-defun): Remove.
4007 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4008 (ruby-mode): Set local beginning-of-defun-function and
4009 end-of-defun-function values.
4010
4011 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4012
4013 * window.el (temp-buffer-window-setup-hook)
4014 (temp-buffer-window-show-hook): New hooks.
4015 (temp-buffer-window-setup, temp-buffer-window-show)
4016 (with-temp-buffer-window): New functions.
4017 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4018 (special-display-popup-frame): Make sure the window used shows BUFFER.
4019
4020 * help.el (temp-buffer-resize-mode): Fix doc-string.
4021 (resize-temp-buffer-window): New optional argument WINDOW.
4022
4023 * files.el (recover-file, save-buffers-kill-emacs):
4024 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4025
4026 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4027
4028 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4029 remote definition of `default-directory', ensure we can connect.
4030
4031 2012-09-02 Juri Linkov <juri@jurta.org>
4032
4033 Toggle whitespace matching mode with M-s SPC.
4034 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4035
4036 * isearch.el (search-whitespace-regexp): Doc fix.
4037 Remove cons cell customization.
4038 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4039 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4040 New variables.
4041 (isearch-forward, isearch-forward-regexp): Doc fix.
4042 (isearch-toggle-lax-whitespace): New command.
4043 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4044 (re-search-forward-lax-whitespace)
4045 (re-search-backward-lax-whitespace): New functions.
4046 (isearch-whitespace-regexp): Remove function.
4047 (isearch-query-replace): Let-bind replace-search-function and
4048 replace-re-search-function.
4049 (isearch-occur): Let-bind search-spaces-regexp according to the
4050 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4051 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4052 condition for C-q SPC.
4053 (isearch-search-fun-default): Use new functions mentioned above.
4054 (isearch-search-forward, isearch-search-backward): Remove functions.
4055 (isearch-search): Don't let-bind search-spaces-regexp.
4056 (isearch-lazy-highlight-space-regexp): Remove variable.
4057 (isearch-lazy-highlight-lax-whitespace)
4058 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4059 (isearch-lazy-highlight-new-loop): Use them.
4060 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4061
4062 2012-09-02 Chong Yidong <cyd@gnu.org>
4063
4064 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4065
4066 2012-09-02 Glenn Morris <rgm@gnu.org>
4067
4068 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4069
4070 2012-09-01 Glenn Morris <rgm@gnu.org>
4071
4072 * term.el: Tidy up menu definitions.
4073 (term-mode-map): Use easymenu for In/Out, Complete menus.
4074 (term-pager-break-map): Initialize in the defvar.
4075 (term-terminal-menu, term-signals-menu): Define with easymenu.
4076 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4077 (term-pager-menu): New, extracted from term-process-pager.
4078 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4079 (term-update-mode-line): Propertize line/char and page items.
4080 (term-process-pager): Move keymap initialization elsewhere.
4081
4082 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4083
4084 * window.el (switch-to-prev-buffer): Handle additional values of
4085 BURY-OR-KILL argument. Don't switch in minibuffer window.
4086 (switch-to-next-buffer): Don't switch in minibuffer window.
4087 (quit-restore-window): New function based on quit-window.
4088 Handle additional values of former KILL argument.
4089 (quit-window): Call quit-restore-window with appropriate
4090 interpretation of KILL argument.
4091 (display-buffer-below-selected): New buffer display action
4092 function.
4093
4094 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * minibuffer.el (completion-at-point-functions): Complete docstring
4097 (bug#12254).
4098
4099 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4100
4101 Better seed support for (random).
4102 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4103 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4104 * play/mpuz.el, play/tetris.el, play/zone.el:
4105 * calc/calc-comb.el (math-init-random-base):
4106 * play/blackbox.el (bb-init-board):
4107 * play/life.el (life):
4108 * server.el (server-use-tcp):
4109 * type-break.el (type-break):
4110 Remove unnecessary call to (random t).
4111 * net/sasl.el (sasl-unique-id-function):
4112 Change (random t) to (random), now that the latter is more random.
4113 * play/life.el (life-initialized): Remove no-longer-needed var.
4114
4115 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4116
4117 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4118 Consider frame's buffer predicate when choosing the buffer.
4119 (Bug#12081)
4120
4121 2012-08-30 Richard Stallman <rms@gnu.org>
4122
4123 * simple.el (special-mode-map): Delete binding for `z'.
4124
4125 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4126
4127 * progmodes/compile.el (compilation-always-kill): Doc fix.
4128
4129 2012-08-30 Chong Yidong <cyd@gnu.org>
4130
4131 * window.el (display-buffer-reuse-frames): Make the obsolescence
4132 message more informative.
4133
4134 2012-08-30 Glenn Morris <rgm@gnu.org>
4135
4136 * paren.el (show-paren-delay):
4137 Add a :set function. Doc fix. (Bug#12297)
4138
4139 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4140
4141 * progmodes/compile.el (compilation-always-kill): New var.
4142 (compilation-start): Use it.
4143
4144 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4147 * files.el (read-only-mode): Move to simple.el.
4148
4149 * files.el (read-only-mode): New minor mode.
4150 (toggle-read-only): Use it and mark obsolete.
4151 (find-file--read-only):
4152 * vc/vc.el (vc-next-action, vc-checkout):
4153 * vc/vc-cvs.el (vc-cvs-checkout):
4154 * obsolete/vc-mcvs.el (vc-mcvs-update):
4155 * ffap.el (ffap--toggle-read-only): Update callers.
4156
4157 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4158
4159 * eshell/esh-ext.el (eshell-external-command): Do not examine
4160 remote shell scripts.
4161 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4162
4163 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4164 "/usr/local/sbin".
4165
4166 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4169
4170 2012-08-28 Leo Liu <sdl.web@gmail.com>
4171
4172 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4173 completion-at-point. (Bug#12220)
4174
4175 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4176
4177 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4178
4179 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4182 be buffer-local; add delete-trailing-whitespace (bug#12259).
4183
4184 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4185
4186 * progmodes/hideif.el (hif-compress-define-list):
4187 Fix typo. (Bug#11951)
4188
4189 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4190
4191 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4192 buffer local setting.
4193
4194 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4195 rcirc-encode-coding-system.
4196
4197 2012-08-28 Leo Liu <sdl.web@gmail.com>
4198
4199 * net/rcirc.el (rcirc-split-message): New function.
4200 (rcirc-send-message): Use it. (Bug#12051)
4201
4202 2012-08-28 Juri Linkov <juri@jurta.org>
4203
4204 * info.el (Info-fontify-node): Hide empty lines at the end of
4205 the node. (Bug#12272)
4206
4207 2012-08-27 Drew Adams <drew.adams@oracle.com>
4208
4209 * dired.el (dired-pop-to-buffer): Make window start at beginning
4210 of buffer (Bug#12281).
4211
4212 2012-08-26 Chong Yidong <cyd@gnu.org>
4213
4214 * window.el (special-display-regexps, special-display-frame-alist)
4215 (special-display-buffer-names, special-display-function)
4216 (display-buffer-reuse-frames): Mark as obsolete.
4217
4218 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4219
4220 * help.el (help-print-return-message): Don't treat
4221 display-buffer-reuse-frames specially.
4222
4223 2012-08-26 Chong Yidong <cyd@gnu.org>
4224
4225 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4226 New variable, replacing gdb-frame-parameters.
4227 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4228 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4229 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4230 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4231 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4232 the functions directly with gdb-display-buffer-other-frame-action.
4233 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4234 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4235 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4236 (gdb-display-registers-buffer): Define directly.
4237 (def-gdb-display-buffer): Macro deleted.
4238 (gdb-display-buffer): Remove second and third args, callers don't
4239 use them. Defer to the default display-buffer behavior, apart
4240 from making windows dedicated.
4241 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4242
4243 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4244
4245 * window.el (display-buffer-pop-up-frame): Handle a
4246 pop-up-frame-parameters alist entry.
4247 (display-buffer): Document it.
4248
4249 2012-08-26 Chong Yidong <cyd@gnu.org>
4250
4251 * isearch.el (search-whitespace-regexp): Make string and nil
4252 values apply to both ordinary and regexp search. Allow a cons
4253 cell value to distinguish between the two.
4254 (isearch-whitespace-regexp, isearch-search-forward)
4255 (isearch-search-backward): New functions.
4256 (isearch-occur, isearch-search-fun-default, isearch-search)
4257 (isearch-lazy-highlight-new-loop): Use them.
4258 (isearch-forward, isearch-forward-regexp): Doc fix.
4259
4260 2012-08-26 Chong Yidong <cyd@gnu.org>
4261
4262 * faces.el (help-argument-name): Always inherit from italic
4263 (Bug#12213).
4264
4265 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4266
4267 * window.el (window--even-window-heights): Even heights when
4268 WINDOW and the selected window form a vertical combination.
4269 (display-buffer-use-some-window): Provide that window used gets
4270 sized back by quit-window. (Bug#11880) and (Bug#12091)
4271
4272 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4273
4274 Fix file time stamp problem with bzr and CVS (Bug#12001).
4275 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4276 in the file's time stamp, since the version control system loses
4277 that information.
4278
4279 2012-08-22 Juri Linkov <juri@jurta.org>
4280
4281 * info.el (Info-fontify-node): Hide the suffix of the
4282 Info file name in the header line. (Bug#12187)
4283
4284 2012-08-22 Glenn Morris <rgm@gnu.org>
4285
4286 * calendar/cal-tex.el (cal-tex-weekly-common):
4287 Restore leading blank page.
4288
4289 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4290
4291 * misc.el (forward-to-word, backward-to-word): Activate or extend
4292 the region under `shift-select-mode'. (Bug#12231)
4293
4294 2012-08-22 Bastien Guerry <bzg@gnu.org>
4295
4296 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4297 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4298 gives details on why the space is never needed.
4299
4300 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4301
4302 * window.el (walk-window-tree, window-with-parameter):
4303 New optional argument MINIBUF to control whether these functions
4304 should run on the minibuffer window.
4305 (window-at-side-list): Don't operate on minibuffer window.
4306 (window-in-direction): Simplify and rewrite doc-string.
4307 (window--size-ignore): Rename to window--size-ignore-p.
4308 Update callers.
4309 (display-buffer-in-atom-window, window--major-non-side-window)
4310 (window--major-side-window, display-buffer-in-major-side-window)
4311 (delete-side-window, display-buffer-in-side-window):
4312 New functions.
4313 (window--side-check, window-deletable-p, delete-window)
4314 (delete-other-windows, split-window): Handle side windows and
4315 atomic windows appropriately.
4316 (window--display-buffer): Call display-buffer-record-window also
4317 when the window buffer did not change.
4318
4319 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4320
4321 * help-fns.el (help-fns--key-bindings):
4322 Abbreviate non-symbol remap targets. (Bug#12174)
4323
4324 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4325
4326 * dired.el (dired-mark-remembered): Don't clobber point.
4327 (Bug#11795)
4328
4329 2012-08-22 Glenn Morris <rgm@gnu.org>
4330
4331 * progmodes/bug-reference.el (bug-reference): New custom group.
4332 (bug-reference-bug-regexp): Make it a defcustom.
4333
4334 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4335
4336 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4337 (js-paren-indent-offset, js-square-indent-offset)
4338 (js-curly-indent-offset): Add :safe (Bug#12257).
4339
4340 2012-08-22 Edward O'Connor <hober0@gmail.com>
4341
4342 * json.el (json-key-format): Add error properties.
4343 (json-encode-key): New function.
4344 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4345 Use json-encode-key.
4346
4347 2012-08-22 Glenn Morris <rgm@gnu.org>
4348
4349 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4350 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4351 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4352 Update for above change.
4353
4354 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4355
4356 * cus-face.el (custom-face-attributes): Fix customize type for the
4357 :underline attribute. (Bug#11805)
4358
4359 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4360
4361 * window.el (window-point-1, set-window-point-1): Remove.
4362 (window-in-direction, record-window-buffer)
4363 (set-window-buffer-start-and-point, split-window-below)
4364 (window--state-get-1, display-buffer-record-window):
4365 Replace calls to window-point-1 and set-window-point-1 by calls to
4366 window-point and set-window-point respectively.
4367
4368 2012-08-21 Glenn Morris <rgm@gnu.org>
4369
4370 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4371 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4372 Use it.
4373
4374 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4375 (cal-tex-shortday): New function.
4376 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4377 (cal-tex-cursor-filofax-daily): Use the above.
4378
4379 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4380 New functions.
4381 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4382 (cal-tex-cursor-filofax-week): Use them.
4383
4384 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4385 New constants.
4386 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4387 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4388
4389 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4390 (cal-tex-end-document): Don't rely on buffer name.
4391
4392 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4393 Use cal-tex-vspace.
4394 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4395 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4396 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4397 Use cal-tex-arg.
4398
4399 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4400 (cal-tex-cursor-week, cal-tex-cursor-week2)
4401 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4402 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4403 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4404 (cal-tex-insert-preamble, cal-tex-b-document)
4405 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4406 Improve cal-tex-cmd usage.
4407
4408 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4409 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4410 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4411 (cal-tex-weekly-paper): New function.
4412 (cal-tex-cursor-week, cal-tex-cursor-week2)
4413 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4414 (cal-tex-cursor-day): Use it.
4415
4416 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4417 (cal-tex-cursor-filofax-week): Remove leading blank page.
4418
4419 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4420 Add autoload cookie. For now at least, don't use color, since
4421 no other cal-tex function does.
4422
4423 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4424 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4425 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4426
4427 2012-08-21 Juri Linkov <juri@jurta.org>
4428
4429 * info.el (Info-file-attributes): New variable.
4430 (info-insert-file-contents): Add file attributes to
4431 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4432 `Info-toc-nodes' when previous modtime of the Info file is less
4433 than new modtime.
4434 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4435 of info.el. (Bug#12230)
4436
4437 2012-08-20 Glenn Morris <rgm@gnu.org>
4438
4439 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4440 * calendar/holidays.el (calendar-holiday-list):
4441 Report errors with display-warning rather than beep'n'sleep.
4442
4443 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4444
4445 * net/tramp.el (tramp-accept-process-output): Accept only output
4446 from PROC. Otherwise, process filters and sentinels might be
4447 confused. (Bug#12145)
4448
4449 2012-08-20 Chong Yidong <cyd@gnu.org>
4450
4451 * descr-text.el (describe-text-properties-1): Use overlays-in to
4452 report on empty overlays (Bug#3322).
4453
4454 2012-08-20 Glenn Morris <rgm@gnu.org>
4455
4456 * mail/rmailout.el (rmail-output-read-file-name):
4457 Trap and report errors in rmail-output-file-alist elements.
4458
4459 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4460 since most non-font-lock faces are not also variables).
4461
4462 2012-08-20 Edward Reingold <reingold@iit.edu>
4463
4464 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4465 New function. (Bug12160)
4466
4467 2012-08-19 Glenn Morris <rgm@gnu.org>
4468
4469 * mail/rmailout.el (rmail-output-read-file-name):
4470 Fix previous change (when the alist is nil or does not match).
4471
4472 2012-08-19 Chong Yidong <cyd@gnu.org>
4473
4474 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4475 (Bug#12228).
4476
4477 2012-08-18 Chong Yidong <cyd@gnu.org>
4478
4479 * simple.el (yank-handled-properties): New defcustom.
4480 (yank-excluded-properties): Add font-lock-face and category.
4481 (yank): Doc fix.
4482
4483 * subr.el (remove-yank-excluded-properties):
4484 Obey yank-handled-properties. The special handling of font-lock-face
4485 and category is now done this way, instead of being hard-coded.
4486 (insert-for-yank-1): Remove font-lock-face handling.
4487 (yank-handle-font-lock-face-property)
4488 (yank-handle-category-property): New function.
4489
4490 2012-08-17 Glenn Morris <rgm@gnu.org>
4491
4492 * mail/rmailout.el (rmail-output-read-file-name):
4493 Check rmail-output-file-alist against the full message body
4494 in the correct rmail buffer. (Bug#12214)
4495
4496 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4497
4498 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4499 Eliminate superfluous prompt. (Bug#12203)
4500
4501 2012-08-17 Chong Yidong <cyd@gnu.org>
4502
4503 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4504 font spec, set the font directly (Bug#3228).
4505
4506 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4507
4508 * window.el (delete-window): Fix last fix.
4509
4510 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4511
4512 * window.el (window-valid-p): Move to window.c.
4513 (window-child, window-child-count, window-last-child)
4514 (window-normalize-window, window-combined-p)
4515 (window-combinations, window-atom-root, window-min-size)
4516 (window-sizable, window-sizable-p, window-size-fixed-p)
4517 (window-min-delta, window-max-delta, window--resizable)
4518 (window--resizable-p, window-resizable, window-total-size)
4519 (window-full-height-p, window-full-width-p, window-body-size)
4520 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4521 (minimize-window, window-deletable-p, delete-window)
4522 (delete-other-windows, set-window-buffer-start-and-point)
4523 (next-buffer, previous-buffer, split-window, balance-windows-2)
4524 (set-window-text-height, window-buffer-height)
4525 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4526 (truncated-partial-width-window-p): Minor code adjustments.
4527 In doc-strings state whether the argument window has to denote a
4528 live, valid or any window.
4529
4530 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4531
4532 * progmodes/subword.el (subword-forward-function)
4533 (subword-backward-function, subword-forward-regexp)
4534 (subword-backward-regexp): New variables.
4535 (subword-forward, subword-forward-internal, subword-backward-internal):
4536 Use new variables, eg so that different "word" definitions
4537 can be easily used. (Bug#11411)
4538
4539 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4542 for composite selectors.
4543 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4544 operation just because we can't find a previous revision.
4545
4546 2012-08-15 Chong Yidong <cyd@gnu.org>
4547
4548 * frame.el (set-frame-font): Accept font objects.
4549
4550 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4553
4554 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4555
4556 * man.el (Man-overstrike-face, Man-underline-face)
4557 (Man-reverse-face): Remove variables.
4558 (Man-overstrike, Man-underline, Man-reverse): New faces.
4559 (Man-fontify-manpage): Use them instead of the variables.
4560 (Man-cleanup-manpage): Comment change.
4561 (Man-ansi-color-map): New variable.
4562 (Man-fontify-manpage): Use it.
4563 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4564
4565 Implement ANSI SGR parameters 22-27 (bug#12146).
4566 * ansi-color.el (ansi-colors): Doc fix.
4567 (ansi-color-context, ansi-color-context-region): Doc fix.
4568 (ansi-color--find-face): New function.
4569 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4570 Rename the local variable `face' to `codes' since it is now a list of
4571 ansi codes. Doc fix.
4572 (ansi-color-get-face): Remove.
4573 (ansi-color-parse-sequence): New function, derived from
4574 ansi-color-get-face.
4575 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4576 codes 22-27.
4577
4578 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * subr.el (read-passwd): Allow use from a minibuffer.
4581
4582 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4583
4584 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4585 inside comments and strings as identifiers.
4586
4587 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4588 expression to evaluate. This allows to evaluate expressions with
4589 embedded whitespace.
4590 (gud-tooltip-tips): Add a blank before the newline in the
4591 message-box text, for the benefit of message-box emulation on
4592 MS-Windows.
4593
4594 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4595 messages from GDB, pop them up in a tooltip to give feedback to
4596 user.
4597 (gdb-tooltip-print-1): Quote the expression to evaluate.
4598 This allows to evaluate expressions with embedded whitespace.
4599 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4600 if the TTY name is nil or empty (which happens when communicating
4601 with the inferior via pipes, e.g. on MS-Windows).
4602 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4603 don't send that to the GUD buffer.
4604
4605 2012-08-14 Glenn Morris <rgm@gnu.org>
4606
4607 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4608 Optimize away setq-default with no args, as for setq. (Bug#12195)
4609
4610 2012-08-14 Chong Yidong <cyd@gnu.org>
4611
4612 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4613
4614 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4615 (Bug#12085).
4616
4617 2012-08-14 Glenn Morris <rgm@gnu.org>
4618
4619 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4620
4621 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4622
4623 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4624 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4625 Use cached shell name.
4626
4627 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4628
4629 * progmodes/python.el (python-shell-send-string):
4630 (python-shell-send-setup-code): Do not use `format' with `message'.
4631
4632 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4633
4634 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4635 (ruby-percent-literal-beg-re): New constant.
4636 (ruby-syntax-general-delimiters-goto-beg): Rename to
4637 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4638 (ruby-syntax-propertize-general-delimiters): Rename to
4639 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4640 popular term. Adjust comments everywhere.
4641 (ruby-syntax-propertize-percent-literal): Only propertize when not
4642 inside a simple string or comment. When the literal is unclosed,
4643 leave the text after it unpropertized.
4644 (ruby-syntax-methods-before-regexp): New constant.
4645 (ruby-syntax-propertize-function): Use it to recognize regexps.
4646 Don't look at the text after regexp, just use the whitelist.
4647
4648 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4649
4650 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4651 non-nil always load the compiled file if it exists. (Bug#12197)
4652
4653 2012-08-14 Chong Yidong <cyd@gnu.org>
4654
4655 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4656 (hi-lock-set-pattern): When deciding whether to use font lock or
4657 overlays, look at font-lock-mode instead of font-lock-fontified
4658 (Bug#12168).
4659 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4660 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4661
4662 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4663
4664 * subr.el (internal--after-with-selected-window): Fix typo
4665 (Bug#12193).
4666
4667 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4668
4669 Use `completion-table-dynamic' for completion functions.
4670 * progmodes/python.el
4671 (python-shell-completion--do-completion-at-point)
4672 (python-shell-completion--get-completions):
4673 Remove functions.
4674 (python-shell-completion-complete-at-point): New function.
4675 (python-completion-complete-at-point): Use it.
4676
4677 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4678
4679 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4680 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4681
4682 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * subr.el (function-get): Refine `autoload' arg so it can also
4685 autoload functions for gv.el (bug#12191).
4686 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4687 autoloads macros.
4688
4689 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4690 Prefer pcase-let over destructuring-bind.
4691 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4692 Also, remove whitespace as we go, rather than after accumulating the
4693 various places.
4694
4695 * subr.el (internal--before-with-selected-window)
4696 (internal--after-with-selected-window): Fix typo seleted->selected.
4697 (with-selected-window): Adjust callers.
4698 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4699
4700 2012-08-13 Bastien Guerry <bzg@gnu.org>
4701
4702 * window.el (special-display-popup-frame): Minor docstring
4703 enhancement. (Bug#12172)
4704
4705 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4706
4707 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4708 type 1-6.
4709 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4710 extended headers.
4711
4712 * files.el (hack-local-variables-filter): Remove useless eval.
4713
4714 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4715
4716 * subr.el (with-selected-window): Fix last change.
4717
4718 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * subr.el (internal--before-with-seleted-window)
4721 (internal--after-with-seleted-window): New functions.
4722 (with-selected-window): Use them, to replace dependency on
4723 tty-top-frame.
4724
4725 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4726
4727 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4728 binding for `newline'.
4729 (ruby-move-to-block): When moving backward, stop at block opening,
4730 not indentation.
4731 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4732 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4733 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4734 `ruby-toggle-block'.
4735
4736 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * ibuffer.el (ibuffer-do-toggle-read-only):
4739 * dired.el (dired-toggle-read-only):
4740 * buff-menu.el (Buffer-menu-toggle-read-only):
4741 * bindings.el (mode-line-toggle-read-only):
4742 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4743
4744 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4745
4746 * descr-text.el (describe-char): Put the overlays over the
4747 "displayed as" character.
4748
4749 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4750
4751 * calc/calc-units.el (math-default-units-table): Give an
4752 initial value.
4753 (math-put-default-units): Add options to put composite units and
4754 unit systems in the default units table.
4755 (calc-convert-units): Send composite units to
4756 `math-put-default-units' when appropriate.
4757
4758 2012-08-11 Glenn Morris <rgm@gnu.org>
4759
4760 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4761
4762 * tutorial.el (help-with-tutorial):
4763 * emacs-lisp/copyright.el (copyright-update-directory):
4764 * emacs-lisp/autoload.el (autoload-find-generated-file)
4765 (autoload-find-file): Disable local eval: (for insurance).
4766
4767 * files.el (hack-local-variables-filter): If an eval: form is not
4768 known to be safe, and enable-local-variables is :safe, then ignore
4769 the form totally, as is done for non-eval forms. (Bug#12155)
4770 This is CVE-2012-3479.
4771
4772 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4775 (rx-form): Simplify.
4776
4777 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4778
4779 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4780 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4781 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4782 (ruby-syntax-propertize-function): Adjust for changes in
4783 `ruby-syntax-propertize-heredoc'.
4784
4785 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4786
4787 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4788 binding (use `M-;' instead).
4789 (ruby-singleton-class-p): New function.
4790 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4791
4792 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4795
4796 2012-08-10 Chong Yidong <cyd@gnu.org>
4797
4798 * progmodes/python.el (python-shell-get-process-name): Don't mess
4799 with same-window-buffer-names.
4800
4801 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4802 (eshell-remove-from-window-buffer-names): Make obsolete.
4803 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4804 (eshell): Just use pop-to-buffer-same-window instead.
4805
4806 2012-08-10 Chong Yidong <cyd@gnu.org>
4807
4808 * bindings.el: Bind M-= back to count-words-region.
4809
4810 * simple.el (count-words-region): Accept a prefix arg for acting
4811 on the entire buffer.
4812 (count-words--buffer-message): New helper function.
4813
4814 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4817 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4818 (event-start, event-end): Use posn-at-point to return a more
4819 informative posn.
4820 (posnp): New function.
4821 * mouse.el (popup-menu-normalize-position): Use it.
4822
4823 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4824
4825 * mouse.el (popup-menu-normalize-position): New function.
4826 (popup-menu): Use `popup-menu-normalize-position' to normalize
4827 the form for POSITION argument.
4828
4829 * term/x-win.el (x-menu-bar-open):
4830 Use the value returend from (posn-at-point) as position
4831 passed to `popup-menu'.
4832
4833 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4834
4835 * calc/calccomp.el (math-compose-expr): Add extra argument
4836 indicating that parentheses should be put around products in
4837 denominators. Give multiplication precedence over division during
4838 composition.
4839
4840 2012-08-09 Chong Yidong <cyd@gnu.org>
4841
4842 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4843 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4844 (Man-untabify-command, manual-program): Convert to defcustom
4845 (Bug#10429).
4846
4847 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4848
4849 * descr-text.el (describe-char): Don't insert extra newlines
4850 (Bug#10127).
4851
4852 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4853 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4854
4855 * align.el (align-region): Delete temporary markers (Bug#10047).
4856 Plus some code cleanups.
4857
4858 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4859
4860 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4861 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4862 (python-shell-internal-last-output): Use make-local-variable
4863 instead of make-variable-buffer-local.
4864
4865 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4866
4867 * progmodes/python.el: Enhancements to forward-sexp.
4868 (python-nav-forward-sexp): Rename from
4869 python-nav-forward-sexp-function.
4870 (python-nav--forward-sexp, python-nav--backward-sexp):
4871 New functions.
4872
4873 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4874
4875 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4876 modes and simplification modes.
4877
4878 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * delsel.el (delete-selection-pre-hook): Don't propagate the
4881 file-supersession signals (bug#12161).
4882
4883 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4886 (cl-map-extents): Add compatibility aliases (bug#12135).
4887
4888 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4891 tests by `ignore-error'.
4892 (tramp-find-shell): Open also a new shell, when cache is already
4893 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4894
4895 2012-08-08 Juri Linkov <juri@jurta.org>
4896
4897 * bookmark.el: Add `defaults' property to the bookmark record.
4898 (bookmark-current-buffer): Doc fix.
4899 (bookmark-make-record): Add `defaults' property with default values
4900 to the bookmark record.
4901 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4902 with `bookmark-insert-current-bookmark'.
4903 (bookmark-set): Get `defaults' property from the bookmark record
4904 and use it in `read-from-minibuffer'.
4905 (bookmark-insert-current-bookmark): Remove function.
4906
4907 * info.el (Info-bookmark-make-record): Add `defaults' property
4908 with values of canonical Info node name, the current Info file
4909 name and the current Info node name. (Bug#12107)
4910
4911 2012-08-08 Juri Linkov <juri@jurta.org>
4912
4913 * files.el (basic-save-buffer): Use `buffer-name' as the default
4914 of `read-file-name' when buffer is not visiting a file (bug#12128).
4915
4916 2012-08-08 Juri Linkov <juri@jurta.org>
4917
4918 * info.el (Info-isearch-search): Doc fix.
4919 (Info-search): Change search-failed message from "initial node" to
4920 "end of node" (bug#12078).
4921 (Info-isearch-search): Change `isearch-string-state' to
4922 `isearch--state-string'.
4923
4924 2012-08-08 Glenn Morris <rgm@gnu.org>
4925
4926 * language/persian.el: Remove file.
4927 * language/misc-lang.el: Move unique part of persian.el here.
4928 * loadup.el: Remove language/persian.
4929
4930 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4931
4932 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4933
4934 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4935
4936 * progmodes/python.el Fixed defsubst warning.
4937 (python-syntax-context) Rename from python-info-ppss-context.
4938 (python-syntax-context-type): Rename from
4939 python-info-ppss-context-type.
4940 (python-syntax-comment-or-string-p): Rename from
4941 python-info-ppss-comment-or-string-p.
4942
4943 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4944
4945 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4946
4947 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4948
4949 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4950 a defcustom that is quoted with backquote.
4951
4952 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4953 Fix handling of interactive spec when the body uses return.
4954 (math-do-arg-check, math-define-function-body): Use backquote forms.
4955 * calc/calc-ext.el (math-defcache): Likewise.
4956 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4957 * allout.el (allout-new-exposure): Likewise.
4958 * calc/calcalg2.el (math-tracing-integral): Likewise.
4959 * info.el (Info-last-menu-item): Likewise.
4960 * emulation/vip.el (vip-loop): Likewise.
4961 * textmodes/artist.el (artist-funcall): Likewise.
4962 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4963 Construct menu-item directly.
4964
4965 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4966 Don't declare.
4967
4968 2012-08-07 Chong Yidong <cyd@gnu.org>
4969
4970 * simple.el (deactivate-mark): Preserve text properties when
4971 saving the primary selection (Bug#8384).
4972
4973 2012-08-07 Kevin Ryde <user42@zip.com.au>
4974
4975 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4976 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4977 and continue processing (Bug#12110).
4978
4979 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4982 syntax-propertize-function (bug#10095).
4983
4984 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4987 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4988 describe-function-1.
4989 (describe-function-1): Use them. Move compiler macro after sig.
4990 (help-fns--compiler-macro): Use function-get. Assume we're already in
4991 standard-output. Adjust layout to new call order.
4992
4993 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4994 re-binding a symbol that has a symbol-macro (bug#12119).
4995
4996 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4997
4998 * language/persian.el: New file. (Bug#11812)
4999 * loadup.el: Add language/persian.el.
5000
5001 2012-08-06 Chong Yidong <cyd@gnu.org>
5002
5003 * window.el (window--maybe-raise-frame): New function.
5004 (window--display-buffer): Split off from here.
5005 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5006 (display-buffer-pop-up-window, display-buffer-use-some-window):
5007 Obey an inhibit-switch-frame action alist entry.
5008 (display-buffer): Update doc.
5009
5010 * replace.el (occur-after-change-function): Avoid losing focus by
5011 using the inhibit-switch-frame display parameter (Bug#12139).
5012
5013 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5014
5015 Make internal shell process buffer names start with space.
5016 * progmodes/python.el (python-shell-make-comint): Add optional
5017 argument INTERNAL.
5018 (run-python-internal): Use it.
5019 (python-shell-internal-get-or-create-process): Check for new
5020 internal buffer names.
5021
5022 2012-08-06 Glenn Morris <rgm@gnu.org>
5023
5024 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5025 Do less getting and setting of environment variables.
5026
5027 2012-08-05 Chong Yidong <cyd@gnu.org>
5028
5029 * proced.el (proced): Add substitution string to docstring to
5030 trigger autoloading of the proced library on C-h f (Bug#1768).
5031
5032 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5033 Don't show defvars which have no second argument (Bug#8638).
5034
5035 * imenu.el (imenu-generic-expression): Move documentation here
5036 from imenu--generic-function.
5037 (imenu--generic-function): Refer to imenu-generic-expression.
5038
5039 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5040
5041 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5042 indentation declaration.
5043 (viper-loop): Add indentation declaration (Bug#7025).
5044
5045 2012-08-05 Chong Yidong <cyd@gnu.org>
5046
5047 * help-fns.el (describe-variable): Add hyperlink for
5048 directory-local variables files. Improve buffer-local and
5049 permanent-local reporting; suggested by MON KEY (Bug#6644).
5050
5051 * help-mode.el (help-dir-local-var-def): New button type.
5052
5053 * files.el (kill-buffer-hook): Provide a defvar.
5054
5055 2012-08-05 Glenn Morris <rgm@gnu.org>
5056
5057 * eshell/esh-ext.el (eshell/addpath):
5058 Also update eshell-path-env. (Bug#12013)
5059
5060 2012-08-05 Chong Yidong <cyd@gnu.org>
5061
5062 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5063
5064 * fringe.el (fringe-styles): Add docstring.
5065 (fringe--check-mode): New function.
5066 (set-fringe-mode, set-fringe-style): Use it.
5067 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5068
5069 * files.el (set-auto-mode): Fix invalid setq call.
5070
5071 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * isearch.el: Misc simplification; use defstruct.
5074 (isearch-mode-map): Dense maps now work like sparse ones.
5075 (isearch--state): New defstruct.
5076 (isearch-string-state, isearch-message-state, isearch-point-state)
5077 (isearch-success-state, isearch-forward-state)
5078 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5079 (isearch-wrapped-state, isearch-barrier-state)
5080 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5081 replaced by defstruct's accessors.
5082 (isearch--set-state): Rename from isearch-top-state and change
5083 calling convention.
5084 (isearch-push-state): Use new isearch--get-state.
5085 (isearch-toggle-word): Disable regexp when enabling word.
5086 (isearch-message-prefix): Remove unused arg _c-q-hack.
5087 (isearch-message-suffix): Remove unused arg _ellipsis.
5088
5089 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5090
5091 * simple.el (list-processes--refresh): For a server use :host or
5092 :local as the address.
5093 (list-processes): Doc fix.
5094
5095 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5096
5097 * lisp/mpc.el: Support password in host argument.
5098 (mpc--proc-connect): Parse and use new password element.
5099 Set mpc-proc variable instead of returning process.
5100 (mpc-proc): Adjust accordingly.
5101
5102 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5103
5104 * whitespace.el (whitespace-display-mappings): Use Unicode
5105 codepoints, instead of emacs-mule codepoints. See
5106 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5107 for the details.
5108
5109 * files.el (file-truename): Don't skip symlink-chasing part on
5110 windows-nt. Incorporate the resolution of 8+3 short aliases on
5111 Windows into the loop that recursively chases symlinks.
5112 Compare directory and its parent case-insensitively on MS-Windows and
5113 MS-DOS.
5114
5115 2012-08-03 Chong Yidong <cyd@gnu.org>
5116
5117 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5118
5119 * sort.el (sort-regexp-fields): Doc fix.
5120
5121 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5122
5123 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5124 labels regex position point at the expected place.
5125
5126 2012-08-03 MON KEY <monkey@sandpframing.com>
5127
5128 * net/imap.el (imap-interactive-login, imap-authenticate)
5129 (imap-mailbox-lsub, imap-mailbox-list)
5130 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5131 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5132 (imap-parse-response): Doc fix.
5133
5134 2012-08-03 João Távora <joaotavora@gmail.com>
5135
5136 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5137 if sexp scanning does not move point (Bug#5734).
5138
5139 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5140
5141 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5142 Add listings, minted, and ctable packages.
5143 (reftex-label-alist-builtin): Move listings, minted, and ctable
5144 entries before LaTeX.
5145 (reftex-label-alist): Docfix.
5146
5147 2012-08-02 Bastien Guerry <bzg@gnu.org>
5148
5149 * replace.el (occur): Fix docstring (bug#12122).
5150
5151 2012-08-02 Glenn Morris <rgm@gnu.org>
5152
5153 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5154
5155 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5156
5157 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5158 * international/mule-cmds.el: Create
5159 inactivate-current-input-method-function as an obsolete alias for
5160 deactivate-current-input-method-function. See Katsumi Yamaoka in
5161 <http://bugs.gnu.org/10150#46>.
5162
5163 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5164
5165 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5166 of nested `if's.
5167
5168 2012-08-01 Glenn Morris <rgm@gnu.org>
5169
5170 * progmodes/autoconf.el (autoconf-definition-regexp):
5171 Add AH_TEMPLATE, adjust submatch numbering.
5172 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5173 (autoconf-current-defun-function): Update for above change.
5174 (autoconf-current-defun-function): First skip to end of current word.
5175
5176 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5177
5178 * calendar/cal-html.el (cal-html-insert-agenda-days):
5179 Fix typo. (Bug#12018)
5180
5181 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5182
5183 Shell processes: enhancements to startup and CEDET compatibility.
5184 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5185 (python-shell-make-comint): accept-process-output at startup.
5186 (run-python-internal): Set inferior-python-mode-hook to nil.
5187 (python-shell-internal-get-or-create-process): call sit-for.
5188 (python-preoutput-result): Add obsolete alias.
5189 (python-shell-internal-send-string): Use it.
5190 (python-shell-send-setup-code): Remove call to
5191 accept-process-output.
5192
5193 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5196 (Bug#12108)
5197
5198 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5199
5200 * calc-mode.el (calc-basic-simplification-mode): Rename from
5201 `calc-limited-simplification-mode'.
5202 (calc-alg-simplification-mode): New function.
5203 (calc-set-simplify-mode): Adjust message.
5204
5205 * calc.el (calc-set-mode-line): Adjust mode line display for
5206 basic simplification mode.
5207
5208 * calc-help.el (calc-m-prefix-help): Update help message.
5209
5210 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5211 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5212
5213 2012-07-31 Bastien Guerry <bzg@gnu.org>
5214
5215 * man.el (man): Fix comment. (bug#12101)
5216
5217 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5218
5219 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5220 Don't return a non-nil value when no suitable buffer was found.
5221
5222 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5223
5224 * progmodes/python.el (run-python-internal): Disable font lock for
5225 internal shells.
5226
5227 2012-07-30 Stefan Merten <smerten@oekonux.de>
5228
5229 * textmodes/rst.el: Silence `checkdoc-ispell'.
5230 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5231 (rst-official-version, rst-official-cvs-rev)
5232 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5233 (rst-mode-map): New key binding.
5234
5235 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5236
5237 Update .PHONY listings in makefiles.
5238 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5239 autoloads, update-subdirs, updates, bzr-update, update-authors,
5240 compile-onefile, compile-calc, backup-compiled-files,
5241 compile-after-backup, compile-one-process, mh-autoloads,
5242 bootstrap-clean, distclean, maintainer-clean.
5243
5244 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5245
5246 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5247 (calc-set-mode-line): Don't display "AlgSimp ".
5248
5249 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5250 (calc-lim-simplify-mode): New function.
5251 (calc-set-simplify-mode): Default to 'alg.
5252 (calc-default-simplify-mode): Make algebraic simplifications
5253 the default.
5254
5255 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5256 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5257
5258 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5259 indicate new simplification modes.
5260
5261 * calc/README: Mention new default simplification mode.
5262
5263 * calc/calc.el (math-normalize-error): New variable.
5264 (math-normalize): Set `math-normalize-error' to t
5265 when there's an error.
5266
5267 * calc/calc-alg.el (math-simplify): Don't simplify when
5268 `math-normalize' returns an error.
5269
5270 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5271
5272 * international/mule-cmds.el (set-locale-environment): Revert last
5273 change, since display-graphic-p returns nil when this function is
5274 called during startup. Instead...
5275
5276 * term/w32console.el (terminal-init-w32console): ...setup the
5277 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5278
5279 2012-07-29 Juri Linkov <juri@jurta.org>
5280
5281 * simple.el (goto-line): Don't display default line number in the
5282 prompt because it should be displayed by `read-number' (bug#9952).
5283 Add the current line number to the defaults of `goto-line' to
5284 allow its easier modification by users with `M-n' (bug#9201).
5285
5286 * subr.el (read-number): Support multiple default values like in
5287 other minibuffer reading functions. Replace `read' with
5288 `string-to-number' for consistency with `number-to-string'.
5289
5290 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5291
5292 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5293 * emulation/viper-init.el (viper-deactivate-input-method-action):
5294 Rename from viper-inactivate-input-method-action.
5295 (viper-deactivate-input-method):
5296 Rename from viper-inactivate-input-method.
5297 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5298 * international/mule-cmds.el (deactivate-input-method):
5299 Rename from inactivate-input-method.
5300 Also run input-method-deactivate-hook.
5301 (deactivate-current-input-method-function):
5302 Rename from inactivate-current-input-method-function.
5303 (input-method-deactivate-hook): New hook.
5304 (input-method-inactivate-hook): Mark obsolete.
5305 (inactivate-input-method): Mark obsolete.
5306
5307 * international/quail.el (quail-activate):
5308 Also run quail-deactivate-hook.
5309 (quail-deactivate): Rename from quail-inactivate.
5310 * international/robin.el (robin-activate):
5311 Also run robin-deactivate-hook.
5312 (robin-deactivate): Rename from robin-inactivate.
5313
5314 2012-07-29 Chong Yidong <cyd@gnu.org>
5315
5316 * simple.el (indicate-copied-region): New function.
5317 (kill-ring-save): Split off from here.
5318
5319 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5320 (kill-rectangle): Set deactivate-mark to t on read-only error.
5321
5322 * register.el (copy-to-register, copy-rectangle-to-register):
5323 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5324 (append-to-register, prepend-to-register): Call indicate-copied-region.
5325
5326 2012-07-29 Juri Linkov <juri@jurta.org>
5327
5328 * simple.el (async-shell-command-buffer): New defcustom.
5329 (shell-command): Use it. (Bug#4719)
5330
5331 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5332
5333 * international/mule-cmds.el (set-locale-environment): In a
5334 console session on MS-Windows, set up keyboard and terminal
5335 encoding from the OEM codepage, not the ANSI codepage.
5336 (Bug#12055)
5337
5338 2012-07-28 Chong Yidong <cyd@gnu.org>
5339
5340 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5341 gdb-get-location.
5342
5343 2012-07-28 Leo Liu <sdl.web@gmail.com>
5344
5345 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5346 the alist (bug#12029).
5347
5348 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5349
5350 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5351 (compile-always, compile-first)
5352 ($(lisp)/calendar/cal-loaddefs.el)
5353 ($(lisp)/calendar/diary-loaddefs.el)
5354 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5355 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5356 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5357 instead of on update-subdirs.
5358 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5359
5360 2012-07-28 Chong Yidong <cyd@gnu.org>
5361
5362 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5363 directory if vc-deduce-backend returns nil (Bug#7350).
5364
5365 * simple.el (delete-trailing-lines): New option.
5366 (delete-trailing-whitespace): Obey it (Bug#11879).
5367
5368 2012-07-28 David Engster <deng@randomsample.de>
5369
5370 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5371 Explanation of new 'symbol-qnames feature in doc-strings.
5372 (xml-maybe-do-ns): Return expanded names as plain symbols if
5373 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5374 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5375
5376 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5377
5378 Consistent completion in inferior python with emacs -nw.
5379 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5380 binding in inferior-python-mode-map with "\t".
5381 (python-shell-completion-complete-at-point)
5382 (python-completion-complete-at-point): Remove interactive spec.
5383
5384 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5385
5386 * calc/calccomp.el (math-compose-expr): Undo previous change.
5387
5388 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5389
5390 * progmodes/python.el (python-mode-map): Add keybinding for
5391 run-python.
5392 (python-shell-make-comint): Fix pop-to-buffer call.
5393 (run-python): Autoload. New arg SHOW.
5394 (python-shell-get-or-create-process): Do not pop python process
5395 buffer.
5396
5397 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * notifications.el (notifications-on-action-signal)
5400 (notifications-on-closed-signal): Use also the bus address for the map.
5401 (notifications-notify, notifications-close-notification)
5402 (notifications-get-capabilities): Add optional argument BUS.
5403
5404 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5405
5406 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5407 Add support for the lstlisting and minted environments, and for the
5408 ctable macro.
5409 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5410 labels written in keyvals syntax.
5411
5412 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5413
5414 * calc/calccomp.el (math-compose-expr): Use parentheses when
5415 there is a product in the denominator of a fraction.
5416
5417 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5418
5419 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5420 ($(lisp)/calendar/diary-loaddefs.el)
5421 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5422 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5423 Fixes failures in parallel bootstrap because subdirs.el is being
5424 rewritten while the autoload files are built at the same time,
5425 which needs to load subdirs.el.
5426
5427 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5428
5429 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5430 (mouse-drag-line): Don't exit tracking when a switch-frame or
5431 switch-window event occurs (Bug#12006).
5432
5433 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * mouse.el (popup-menu): Fix last change.
5436
5437 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 Autoload from Lisp with more care. Follow aliases when looking for
5440 function properties.
5441 * subr.el (autoloadp): New function.
5442 (symbol-file): Use it.
5443 (function-get): New function.
5444 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5445 autoload-do-load.
5446 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5447 (lisp-indent-function):
5448 * emacs-lisp/gv.el (gv-get):
5449 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5450 * emacs-lisp/byte-opt.el (byte-optimize-form):
5451 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5452 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5453 Use function-get.
5454 * emacs-lisp/cl.el: Don't propagate function properties any more.
5455
5456 * speedbar.el (speedbar-add-localized-speedbar-support):
5457 * emacs-lisp/disass.el (disassemble-internal):
5458 * desktop.el (desktop-load-file):
5459 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5460 (describe-function-1):
5461 * emacs-lisp/find-func.el (find-function-noselect):
5462 * emacs-lisp/elp.el (elp-instrument-function):
5463 * emacs-lisp/advice.el (ad-has-proper-definition):
5464 * apropos.el (apropos-safe-documentation, apropos-macrop):
5465 * emacs-lisp/debug.el (debug-on-entry):
5466 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5467 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5468 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5469
5470 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5471
5472 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5473 function, not an obsolete variable (Bug#12046).
5474
5475 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5476
5477 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5478
5479 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5480
5481 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5482 window only if it is still live (Bug#12034).
5483
5484 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5485
5486 * subr.el (redirect-frame-focus): Add advertised calling
5487 convention (Bug#12030).
5488
5489 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5490
5491 Prefer typical American spelling for "acknowledgment".
5492 * vc/add-log.el (change-log-acknowledgment): Rename from
5493 change-log-acknowledgement, with an alias for the old name.
5494
5495 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5496
5497 * calc-alg.el (math-simplify-divide): Don't cross multiply
5498 in an equation when the lhs is a variable.
5499
5500 2012-07-24 Julien Danjou <julien@danjou.info>
5501
5502 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5503 Remove, unused.
5504
5505 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5506
5507 * startup.el (command-line): Don't display an empty user name in
5508 the error message about non-existent home directory, when
5509 init-file-user was set to an empty string. See
5510 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5511 for the details and context.
5512
5513 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5514
5515 * ses.el (ses-cell-formula-aset): New macro.
5516 (ses-cell-references-aset): New macro.
5517 (ses-cell-p): New function.
5518 (ses-rename-cell): Do no longer rely on complex operations like
5519 ses-cell-set-formula or ses-set-cell to change the cell and handle
5520 the undo at the same time, but rather use lower level new macros
5521 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5522 the undo directly. Refresh the mode line.
5523
5524 2012-07-21 Leo Liu <sdl.web@gmail.com>
5525
5526 * progmodes/cc-cmds.el (c-defun-name):
5527 Use match-string-no-properties instead for consistency.
5528
5529 2012-07-20 Leo Liu <sdl.web@gmail.com>
5530
5531 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5532 (Bug#7879)
5533
5534 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5535
5536 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5539 * progmodes/bug-reference.el, misearch.el: Provide themselves
5540 (bug#11915).
5541
5542 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5543 of narrowed buffer (bug#11966).
5544
5545 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5546
5547 * ses.el (ses-rename-cell): Set new name also in reference list of
5548 cells of which the renamed cell depends.
5549
5550 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5551
5552 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5553 to check whether menu-bar is shown or not. If not shown,
5554 show the menu-bar as a popup menu instead of using tmm.
5555 * mouse.el (popup-menu): Accept `point' as `position' argument.
5556
5557 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5558
5559 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5560 up inside string symbol literal (bug#11923).
5561
5562 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5563
5564 * startup.el (fancy-startup-text): Read the whole tutorial, not
5565 just its first 256 bytes. Prevents gibberish in display of the
5566 tutorial title.
5567
5568 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5569
5570 Drop idle buffer compaction due to an absence of the
5571 proved efficiency.
5572 * compact.el: Remove.
5573
5574 2012-07-19 Sam Steingold <sds@gnu.org>
5575
5576 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5577 vc-bzr-pull & vc-bzr-merge-branch.
5578 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5579 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5580 for consistency with compilation-error-regexp-alist.
5581 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5582 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5583 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5584 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5585
5586 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * emacs-lisp/chart.el: Use lexical-binding.
5589 (chart-emacs-storage): Don't hardcode the list of entries.
5590
5591 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5592
5593 Next round of tweaks caused by Fgarbage_collect changes.
5594 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5595
5596 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5597
5598 Compact buffers when idle.
5599 * compact.el: New file.
5600
5601 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * subr.el (eventp): Presume that if it looks vaguely like an event,
5604 it's an event (bug#10190).
5605
5606 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5607
5608 Enhancements to ppss related code (thanks Stefan).
5609 * progmodes/python.el (python-indent-context)
5610 (python-indent-calculate-indentation, python-indent-dedent-line)
5611 (python-indent-electric-colon, python-nav-forward-block)
5612 (python-mode-abbrev-table)
5613 (python-info-assignment-continuation-line-p): Simplify checks
5614 for ppss context.
5615 (python-info-continuation-line-p): Cleanup.
5616 (python-info-ppss-context): Do not catch 'quote.
5617 (python-info-ppss-context-type)
5618 (python-info-ppss-comment-or-string-p): Simplify.
5619
5620 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5621
5622 * progmodes/python.el: Enhancements to eldoc support.
5623 (python-info-current-symbol): New function.
5624 (python-eldoc-at-point): Use python-info-current-symbol.
5625 (python-info-current-defun): Fix cornercase on first defun scan.
5626 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5627 and signal error when no inferior python process is available.
5628
5629 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5630
5631 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5632 assume it's always t.
5633 (vc-git-registered): Remove caching, the function is only called
5634 once.
5635 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5636
5637 2012-07-18 Chong Yidong <cyd@gnu.org>
5638
5639 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5640
5641 * simple.el (count-words): Report on narrowing (Bug#9959).
5642
5643 * bindings.el: Bind M-= to count-words.
5644
5645 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5646
5647 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5648
5649 * progmodes/sh-script.el (sh-imenu-generic-expression):
5650 Capture a function with `function' keyword and without parentheses
5651 like "function FOO" (bug#11856).
5652
5653 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5654
5655 * window.el (split-window-sensibly): Make WINDOW argument
5656 optional.
5657
5658 2012-07-18 Chong Yidong <cyd@gnu.org>
5659
5660 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5661
5662 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5663 and make C-x 8 RET exit isearch (Bug#11439).
5664
5665 * international/iso-transl.el: Move isearch-mode-map key
5666 definitions to isearch.el.
5667
5668 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5671 (eieio-defclass): Use gv-define-setter when possible.
5672
5673 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5674
5675 Reflect recent changes in Fgarbage_collect.
5676 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5677 reflect new format of data returned by Fgarbage_collect.
5678
5679 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5680
5681 New utility functions + python-info-ppss-context fix (Bug#11910).
5682 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5683 (python-info-ppss-comment-or-string-p): New functions.
5684 (python-info-ppss-context): Small fix for string check.
5685
5686 2012-07-17 Juri Linkov <juri@jurta.org>
5687
5688 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5689 (dired-do-async-shell-command): Don't add `*' at the end of the
5690 command (Bug#11815).
5691 (dired-do-shell-command): Doc fix.
5692 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5693 Join the individual commands using either "&" or ";" as the
5694 separator depending on the values of these trailing characters.
5695 At the end re-add the trailing "&". (Bug#10598)
5696
5697 * simple.el (async-shell-command): Sync the interactive spec with
5698 `shell-command'. Doc fix.
5699 (shell-command): Doc fix.
5700
5701 2012-07-17 Juri Linkov <juri@jurta.org>
5702
5703 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5704
5705 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5706
5707 Final renames and doc fixes for movement commands (bug#11899).
5708 * progmodes/python.el (python-nav-beginning-of-statement):
5709 Rename from python-nav-statement-start.
5710 (python-nav-end-of-statement): Rename from
5711 python-nav-statement-end.
5712 (python-nav-beginning-of-block): Rename from
5713 python-nav-block-start.
5714 (python-nav-end-of-block): Rename from python-nav-block-end.
5715
5716 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5717
5718 * progmodes/python.el (python-shell-send-string-no-output):
5719 Allow accept-process-output to quit, keeping shell process ready for
5720 future interactions (Bug#11868).
5721
5722 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5725
5726 * emacs-lisp/elint.el (elint-find-args-in-code):
5727 Use help-function-arglist, so as to handle lexical byte-code.
5728
5729 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5730 change (bug#11826).
5731
5732 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5735 Avoid spuriously marking the buffer as modified because of c-is-sws.
5736
5737 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5738 as not-a-comment (bug#11946).
5739
5740 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5741 for uninterned vars.
5742
5743 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5744 Use read-event since we don't really want to read chars but bytes.
5745
5746 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5747 $$..$$ but also $..$ using regexps (bug#11953).
5748 Use tex-verbatim for \url and \path.
5749 (tex-font-lock-keywords): Define as defconst like the others.
5750 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5751
5752 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5753
5754 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5755 alias for insert-char.
5756
5757 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5758
5759 * progmodes/python.el: Simplified imenu implementation.
5760 (python-nav-jump-to-defun): Remove command.
5761 (python-mode-map): Use `imenu' instead.
5762 (python-nav-list-defun-positions-cache)
5763 (python-imenu-include-defun-type, python-imenu-make-tree)
5764 (python-imenu-subtree-root-label, python-imenu-index-alist):
5765 Remove vars.
5766 (python-nav-list-defun-positions, python-nav-read-defun)
5767 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5768 (python-imenu-make-tree, python-imenu-create-index):
5769 Remove functions.
5770 (python-mode): Update to interact with imenu by setting
5771 `imenu-extract-index-name-function' only.
5772
5773 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5774
5775 * progmodes/python.el: Enhancements to navigation commands.
5776 (python-nav-backward-sentence)
5777 (python-nav-forward-sentence): Remove.
5778 (python-nav-backward-statement, python-nav-forward-statement)
5779 (python-nav-statement-start, python-nav-statement-end)
5780 (python-nav-backward-block, python-nav-forward-block)
5781 (python-nav-block-start, python-nav-block-end)
5782 (python-nav-forward-sexp-function)
5783 (python-info-current-line-comment-p)
5784 (python-info-current-line-empty-p): New functions.
5785 (python-indent-context): Use `python-nav-statement-start'.
5786
5787 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * eshell/em-ls.el (eshell/ls): Use `apply'.
5790
5791 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5792 multi-hops, instead of Tramp internals.
5793
5794 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5795
5796 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5797 when F1 and F2 are located on different hosts.
5798
5799 2012-07-14 Chong Yidong <cyd@gnu.org>
5800
5801 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5802 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5803 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5804 (xterm-mouse--read-event-sequence-1000)
5805 (xterm-mouse--read-event-sequence-1006): New functions. For old
5806 mouse protocol, handle M-mouse-X events correctly.
5807 (xterm-mouse-event): New arg specifying mouse protocol.
5808 (turn-on-xterm-mouse-tracking-on-terminal)
5809 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5810 sequence to toggle extended coordinates on newer XTerms.
5811 This appears to be harmless on terminals which do not support this.
5812
5813 2012-07-14 Leo Liu <sdl.web@gmail.com>
5814
5815 Add fringe bitmap indicators for flymake. (Bug#11253)
5816 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5817 (flymake-make-overlay): New arg BITMAP.
5818 (flymake-error-bitmap, flymake-warning-bitmap)
5819 (flymake-fringe-indicator-position): New user variables.
5820
5821 * fringe.el: New bitmap exclamation-mark.
5822
5823 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5824
5825 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5826 also (Bug#7879).
5827
5828 2012-07-14 Chong Yidong <cyd@gnu.org>
5829
5830 * electric.el (electric-pair-post-self-insert-function): Fix pair
5831 insertion in empty-region case (Bug#11520).
5832
5833 2012-07-14 Chong Yidong <cyd@gnu.org>
5834
5835 * bindings.el: Consolidate ctl-x-r-map bindings.
5836 Bind copy-rectangle-as-kill to C-x r w.
5837
5838 * rect.el, register.el: Move bindings to bindings.el.
5839
5840 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5841
5842 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5843
5844 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5845
5846 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5847
5848 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5849
5850 * bindings.el (top): Use `mapc' instead of `mapcar'.
5851
5852 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5853
5854 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5855
5856 * progmodes/sql.el (sql-comint): Suppress the check for program on
5857 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5858 (Bug#11908)
5859
5860 2012-07-13 Chong Yidong <cyd@gnu.org>
5861
5862 * bindings.el: Assign a non-nil permanent-local property to
5863 per-buffer variables which lack a default value (Bug#11930).
5864
5865 * help-fns.el (describe-variable): In the "automatically becomes
5866 local" notice, take note of permanent-local variables.
5867
5868 2012-07-13 Chong Yidong <cyd@gnu.org>
5869
5870 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5871 to allow printing the message when called from Lisp.
5872
5873 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5874 Remove toggle-read-only.
5875
5876 * bs.el (bs-toggle-readonly):
5877 * buff-menu.el (Buffer-menu-toggle-read-only):
5878 Remove with-no-warnings around toggle-read-only.
5879
5880 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5881 Remove with-no-warnings around toggle-read-only.
5882 (ffap-read-only, ffap-read-only-other-window)
5883 (ffap-read-only-other-frame): Callers changed.
5884
5885 * help-mode.el: Don't require view package.
5886 (help-mode-finish): Set buffer-read-only instead of calling
5887 toggle-read-only.
5888
5889 * bindings.el (mode-line-toggle-read-only):
5890 * dired.el (dired-toggle-read-only):
5891 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5892 with non-nil second arg.
5893
5894 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5895 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5896 directly.
5897
5898 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5899
5900 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5901 not incf.
5902
5903 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 More CL cleanups and reduction of use of cl.el.
5906 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5907 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5908 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5909 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5910 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5911 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5912 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5913 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5914 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5915 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5916 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5917 * eshell/em-cmpl.el, eshell/em-banner.el:
5918 * calendar/parse-time.el: Use cl-lib.
5919 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5920 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5921 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5922 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5923 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5924 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5925 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5926 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5927 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5928 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5929 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5930 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5931 `lambda' rather than with `quote'.
5932 (eshell-do-opt): Adjust accordingly.
5933 (eshell-process-option): Simplify.
5934 * eshell/esh-var.el:
5935 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5936 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5937 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5938 to `pcase--dontcare'.
5939 * emacs-lisp/cl.el (labels): Mark obsolete.
5940 (cl--letf, letf): Move to cl-lib.
5941 (cl--letf*, letf*): Remove.
5942 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5943 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5944 (cl-progv): Rewrite.
5945 (cl--letf, cl-letf): Move from cl.el.
5946 (cl-letf*): New macro.
5947 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5948
5949 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5950
5951 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5952
5953 2012-07-11 Chong Yidong <cyd@gnu.org>
5954
5955 * vc/log-edit.el (log-edit-vc-backend): New variable.
5956 (log-edit): Doc fix.
5957
5958 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5959 argument of log-edit to set up all local variables.
5960 (vc-start-logentry): New optional arg specifying VC backend.
5961
5962 * vc/vc.el (vc-checkin): Use it.
5963 (vc-deduce-fileset): Handle Log Edit buffers.
5964 (vc-diff): Make first argument optional too.
5965
5966 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5967
5968 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5969
5970 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5971 command, just in case. The function is not needed anymore.
5972 (eshell-external-command): Do not call `eshell-remote-command'.
5973
5974 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 Reduce use of (require 'cl).
5977 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5978 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5979 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5980 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5981 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5982 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5983 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5984 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5985 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5986 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5987 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5988 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5989 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5990 (byte-compile-unfold-bcf, byte-compile-check-variable):
5991 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5992 (byte-compile-nilconstp):
5993 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5994 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5995
5996 * emacs-lisp/gv.el (cond): Make it a valid place.
5997 (if): Simplify slightly.
5998
5999 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6000 (pcase--self-quoting-p): New function.
6001 (pcase--u1): Use it.
6002
6003 2012-07-10 Glenn Morris <rgm@gnu.org>
6004
6005 * emacs-lisp/authors.el (authors-fixed-entries):
6006 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6007
6008 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6009
6010 Rename configure.in to configure.ac (Bug#11603).
6011 * emacs-lisp/authors.el (authors-canonical-file-name):
6012 * progmodes/autoconf.el (autoconf-mode):
6013 Prefer configure.ac to configure.in.
6014
6015 2012-07-08 Chong Yidong <cyd@gnu.org>
6016
6017 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6018 Implement the mouse-1-click-follows-link handling properly.
6019
6020 * info.el (Info-link-keymap): Use follow-link mechanism for
6021 header-line links (Bug#374).
6022
6023 * simple.el (deactivate-mark): Do not set the primary selection
6024 if another program has acquired it (Bug#11772).
6025
6026 2012-07-07 Kevin Ryde <user42@zip.com.au>
6027
6028 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6029 (woman-decode-region): Replace escaped-escapes without destroying
6030 bold or underline (Bug#11552).
6031 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6032
6033 2012-07-07 Chong Yidong <cyd@gnu.org>
6034
6035 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6036 (interprogram-cut-function, interprogram-paste-function):
6037 Mention that we typically mean the clipboard.
6038
6039 2012-07-06 Glenn Morris <rgm@gnu.org>
6040
6041 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6042
6043 * files.el (toggle-read-only): Restrict message to interactive use.
6044
6045 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6048
6049 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6050
6051 2012-07-06 Glenn Morris <rgm@gnu.org>
6052
6053 * Makefile.in (compile-one-process): Rename from "recompile".
6054
6055 * Makefile.in (bzr-update): "compile" is the same as "recompile
6056 autoloads", but parallelizable, so use that instead.
6057
6058 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6059
6060 * window.el (quit-window): Always restore window height when
6061 it's saved in quit-restore parameter (Bug#11810).
6062
6063 2012-07-06 Glenn Morris <rgm@gnu.org>
6064
6065 * simple.el (kill-whole-line): Doc tweak.
6066
6067 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6068
6069 * files.el (file-relative-name): Compare file names
6070 case-insensitively if on MS-Windows or MS-DOS, or if
6071 read-file-name-completion-ignore-case is non-nil. Don't use
6072 case-fold-search for this purpose. (Bug#11827)
6073
6074 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 * calendar/cal-dst.el (calendar-current-time-zone):
6077 Return calendar-current-time-zone-cache if non-nil.
6078
6079 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6080 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6081
6082 * calendar/cal-dst.el (calendar-current-time-zone):
6083 Return calendar-current-time-zone-cache if non-nil.
6084
6085 2012-07-06 Glenn Morris <rgm@gnu.org>
6086
6087 * Makefile.in (cvs-update): Remove old alias.
6088
6089 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6090
6091 Sync with Tramp 2.2.6-pre.
6092
6093 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6094 compatible declaration.
6095
6096 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6097 Protect `list-load-path-shadows' call.
6098
6099 * net/tramp-compat.el (top): Require packages, which aren't
6100 autoloaded anymore for XEmacs. Protect call of
6101 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6102 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6103 it hurts at least for SXEmacs.
6104 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6105 standard-value for `temporary-file-directory'.
6106
6107 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6108 Redirect stderr to /dev/null.
6109 (tramp-sh-handle-write-region): uid and gid can be floats.
6110 Reported by Russell Sim <russell.sim@gmail.com>.
6111 (tramp-sh-handle-vc-registered): Hide errors.
6112 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6113 and `start-file-process'.
6114 (tramp-maybe-open-connection): Check also whether `non-essential'
6115 is bound.
6116
6117 2012-07-04 Chong Yidong <cyd@gnu.org>
6118
6119 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6120 (xml-parse-tag): Likewise, and avoid changing entity tables.
6121 (xml-syntax-table): Define from scratch, making sure not to give
6122 x2000 and other Unicode spaces whitespace syntax, since those are
6123 not spaces in XML.
6124 (xml-parse-fragment): Delete unused function.
6125 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6126 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6127 (xml-entity-ref, xml-pe-reference-re)
6128 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6129 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6130 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6131 (xml-entity-value-re): Use syntax references in regexps where
6132 possible; no need to define inside a let-binding.
6133 (xml-parse-dtd): Use xml-pe-reference-re.
6134 (xml-entity-or-char-ref-re): New defconst.
6135 (xml-parse-string, xml-substitute-special): Use it.
6136
6137 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6140 (find-file--read-only): New function.
6141 (find-file-read-only, find-file-read-only-other-window)
6142 (find-file-read-only-other-frame): Use it.
6143 (insert-file-contents-literally): Don't `fset'.
6144 (get-free-disk-space): Use locate-dominating-file.
6145
6146 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6147 function is already compiled.
6148
6149 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6150
6151 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6152
6153 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6154 files on the same host.
6155
6156 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6157
6158 * help-fns.el (describe-function-1): Only call
6159 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6160
6161 2012-07-03 Chong Yidong <cyd@gnu.org>
6162
6163 * xml.el: Protect parser against XML bombs.
6164 (xml-entity-expansion-limit): New variable.
6165 (xml-parse-string, xml-substitute-special): Use it.
6166 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6167
6168 2012-07-03 Glenn Morris <rgm@gnu.org>
6169
6170 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6171 Allow linking to specific messages in debbugs reports (eg 123#5).
6172
6173 2012-07-02 Chong Yidong <cyd@gnu.org>
6174
6175 * xml.el: Fix entity and character reference expansion, allowing
6176 them to expand into markup as per XML spec.
6177 (xml-default-ns): New variable.
6178 (xml-entity-alist): Use XML spec definitions for lt and amp.
6179 (xml-parse-region): Make first two arguments optional.
6180 Discard text properties.
6181 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6182 All callers changed.
6183 (xml-parse-tag): Call xml-parse-tag-1. For backward
6184 compatibility, this function should not modify buffer contents.
6185 (xml-parse-tag-1): Fix opening-tag regexp.
6186 (xml-parse-string): Rewrite, handling entity and character
6187 references properly.
6188 (xml--entity-replacement-text): Signal an error if a parameter
6189 entity is undefined.
6190
6191 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * comint.el (comint-output-filter): Filter out repeated prompts.
6194
6195 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6196 and file-name-absolute-p.
6197 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6198 internal calls.
6199
6200 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6201
6202 Spelling fixes.
6203 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6204 Rename from byte-compile--refiy-function. All uses changed.
6205
6206 2012-07-01 Chong Yidong <cyd@gnu.org>
6207
6208 * xml.el (xml--parse-buffer): New function. Move most of
6209 xml-parse-region here.
6210 (xml-parse-region): Copy region into a temporary buffer, since
6211 parameter entity substitution requires changing buffer contents.
6212 Use xml--parse-buffer.
6213 (xml-parse-file): Use xml--parse-buffer.
6214 (xml-parse-dtd): Make parameter entity substitution work right.
6215 Use proper regexps for ELEMENT declarations (Bug#7172).
6216
6217 2012-06-30 Glenn Morris <rgm@gnu.org>
6218
6219 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6220
6221 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6222 Remove outdated and unnecessary dbus declarations.
6223
6224 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6225
6226 * emacs-lisp/timer.el (timer-until): Subtract results of
6227 float-time, instead of taking float-time of the result of
6228 time-subtract, since float-time signals an error for negative time
6229 arguments.
6230
6231 2012-06-30 Chong Yidong <cyd@gnu.org>
6232
6233 * xml.el (xml-*-re): Convert defvars into defconsts, and
6234 eval-and-compile them so eval-and-compile works on derivatives.
6235 (xml--entity-replacement-text): Use eval-and-comple.
6236
6237 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6238
6239 * vc/vc-git.el (vc-git-registered): Use cache property
6240 `git-registered'.
6241 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6242 `vc-git-working-revision' in order to benefit from the cache.
6243 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6244
6245 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6246
6247 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6248 removed (likely outside Emacs). (Bug#11757)
6249
6250 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * emacs-lisp/cl-lib.el: Require macroexp.
6253
6254 2012-06-30 Chong Yidong <cyd@gnu.org>
6255
6256 * xml.el: Implement XML parameter entities.
6257 (xml-parameter-entity-alist): New variable.
6258 (xml-parse-region, xml-parse-fragment): Preserve previous values
6259 of xml-entity-alist and xml-parameter-entity-alist, so that
6260 repeated calls on different documents do not change them.
6261 (xml-parse-tag): Fix doctype regexp.
6262 (xml--entity-replacement-text): New function.
6263 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6264 properly requires url retrieval which is unimplemented.
6265 (xml-escape-string): Doc fix.
6266
6267 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6270
6271 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6272
6273 * fringe.el (fringe-mode): Doc fix.
6274
6275 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6276
6277 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6278 is non-nil.
6279 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6280 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6281
6282 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6283
6284 * calendar/cal-dst.el (calendar-current-time-zone):
6285 Return calendar-current-time-zone-cache if non-nil.
6286
6287 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6288
6289 * progmodes/which-func.el (which-func-format):
6290 Add mouse-face. (Bug#11698)
6291
6292 2012-06-29 Leo Liu <sdl.web@gmail.com>
6293
6294 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6295
6296 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * minibuffer.el (minibuffer-confirm-exit-commands):
6299 Add completion-at-point (bug#11725).
6300
6301 2012-06-29 Glenn Morris <rgm@gnu.org>
6302
6303 * progmodes/f90.el (f90-font-lock-keywords-2):
6304 Add some preprocessor elements. (Bug#10499)
6305
6306 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6309 Use syntax-propertize (bug#11739).
6310
6311 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6314
6315 2012-06-28 Julien Danjou <julien@danjou.info>
6316
6317 * term.el (term-handle-colors-array): Use a set of new faces to
6318 color the terminal. Also uses :inverse-video property.
6319 (term-default-fg-color): Set to nil by default, deprecate in favor
6320 of `term-face'.
6321 (term-default-bg-color): Set to nil by default, deprecate in favor
6322 of `term-face'.
6323 (term-current-face): Use `term-face' by default.
6324 (term-bold-attribute): Variable deleted.
6325
6326 2012-06-28 Glenn Morris <rgm@gnu.org>
6327
6328 * simple.el (completion-list-mode-finish):
6329 Don't use toggle-read-only. (Since completion-list-mode has
6330 a special mode-class, it wasn't doing anything extra anyway.)
6331
6332 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6333
6334 Make inlining of other-mode interpreted functions work (bug#11799).
6335 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6336 (byte-compile): Use it to fix compilation of lexical-binding closures.
6337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6338 function, if needed.
6339
6340 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * help-mode.el (help-make-xrefs): Don't just withstand
6343 cyclic-variable-indirection but any error in documentation-property.
6344
6345 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6346 memory use.
6347 * bindings.el (bindings--define-key): New function.
6348 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6349 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6350 * bindings.el: Use it to purecopy define-key bindings.
6351
6352 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6353
6354 * emacs-lisp/cl.el (flet): Mark obsolete.
6355 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6356 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6357 * progmodes/js.el (js-c-fill-paragraph):
6358 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6359 (ebrowse-switch-member-buffer-to-derived-class):
6360 * play/5x5.el (5x5-solver): Use cl-flet.
6361
6362 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6363 (cl--symbol-function): New macro.
6364 (cl--letf, cl--letf*): Use it.
6365
6366 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6367 Strip "toggle-" if any.
6368
6369 2012-06-27 Glenn Morris <rgm@gnu.org>
6370
6371 * info.el (Info-default-directory-list): Move here from paths.el.
6372 * paths.el: Remove file, which is now empty.
6373 * loadup.el: No longer load "paths".
6374
6375 * custom.el (custom-initialize-delay): Doc fix.
6376
6377 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6378 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6379 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6380 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6381 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6382 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6383 * eshell/eshell.el (eshell-defgroup): Remove alias.
6384
6385 2012-06-27 Chong Yidong <cyd@gnu.org>
6386
6387 * help.el (help-enable-auto-load): New variable.
6388
6389 * help-fns.el (help-fns--autoloaded-p): New function.
6390 (describe-function-1): Refer to a function as "autoloaded" if it
6391 was autoloaded at any time in the past. Perform autoloading if
6392 help-enable-auto-load is non-nil.
6393
6394 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6395
6396 * makefile.w32-in (compile, compile-always): Depend on
6397 update-subdirs, not on subdirs.el. Otherwise, several different
6398 sub-targets of 'bootstrap' running in parallel could
6399 simultaneously write to subdirs.el, producing a garbled file.
6400
6401 2012-06-26 Sam Steingold <sds@gnu.org>
6402
6403 * files.el (file-name-base): New convenience function.
6404 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6405 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6406 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6407 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6408 * textmodes/ispell.el, textmodes/reftex-ref.el:
6409 * textmodes/tex-mode.el: Use it.
6410 Did not touch cedet and org because they are maintained elsewhere.
6411
6412 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6413
6414 * calendar/calendar.el (calendar-exit): Don't try to delete or
6415 iconify last frame. See:
6416 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6417
6418 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6419
6420 * server.el (server-process-filter): Remember dir in the
6421 process's `server-client-directory' properties.
6422
6423 2012-06-24 Chong Yidong <cyd@gnu.org>
6424
6425 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6426 non-tag text.
6427
6428 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6431
6432 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * help-fns.el (describe-variable): Don't croak when doc is not found.
6435 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6436 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6437 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6438 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6439 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6440 ((lambda ..) ..).
6441 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6442
6443 2012-06-23 Chong Yidong <cyd@gnu.org>
6444
6445 * info.el (Info-mouse-follow-link): Accept symbol values of
6446 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6447 (Info-fontify-node): Use Info-link-keymap for all navigation
6448 buttons, with link-args property to perform the desired action.
6449 (Info-link-keymap): Doc fix.
6450 (Info-next-link-keymap, Info-prev-link-keymap)
6451 (Info-up-link-keymap): Delete now-unused keymaps.
6452
6453 2012-06-23 Chong Yidong <cyd@gnu.org>
6454
6455 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6456
6457 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6458 system abbrevs.
6459
6460 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6461
6462 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6465 (bug#11719).
6466
6467 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6468 the requote function doesn't work properly (bug#11714).
6469
6470 2012-06-23 Glenn Morris <rgm@gnu.org>
6471
6472 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6473
6474 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 Further GV/CL cleanups.
6477 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6478 gv-expander.
6479 (gv--defun-declaration): New function.
6480 (defun-declarations-alist): Use it.
6481 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6482 (gv-place): Autoload.
6483 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6484 original definition of dotimes and dolist.
6485 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6486 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6487 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6488 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6489 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6490 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6491 to the function's definition.
6492 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6493 * window.el:
6494 * files.el:
6495 * faces.el:
6496 * env.el: Don't use CL.
6497
6498 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6499
6500 Support higher-resolution time stamps (Bug#9000).
6501
6502 * calendar/time-date.el (with-decoded-time-value): New arg
6503 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6504 (encode-time-value): New optional arg PICO. New type 3.
6505 (time-to-seconds) [!float-time]: Support the new picoseconds
6506 component if it's used.
6507 (seconds-to-time, time-subtract, time-add):
6508 Support ps-resolution time stamps as well.
6509
6510 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6511 (timerp): Timer vectors now have length 9, not 8.
6512 (timer--time): Support new-style (4-part) time stamps.
6513 (timer-next-integral-multiple-of-time): Time stamps now have
6514 picosecond resolution, so take a bit more care about rounding.
6515 (timer-relative-time, timer-inc-time): New optional arg psecs.
6516 (timer-set-time-with-usecs): Set psecs to 0.
6517 (timer--activate): Check psecs component, too.
6518
6519 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6520
6521 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6524 Move the non-essential binding to the post/pre-command-hook where it is
6525 more obviously correct.
6526
6527 * subr.el (read-passwd): Don't use a history at all.
6528 * savehist.el (savehist-save): Remove password saved accidentally
6529 because of the above bug.
6530
6531 2012-06-22 Bastien Guerry <bzg@gnu.org>
6532
6533 * files.el (toggle-read-only): Display a message telling whether
6534 the buffer is read-only or not (bug#11726).
6535
6536 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * emacs-lisp/gv.el: New file.
6539 * subr.el (push, pop): Extend to generalized variables.
6540 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6541 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6542 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6543 gv-define-simple-setter, and gv-define-expander.
6544 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6545 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6546 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6547 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6548 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6549 gv-letplace.
6550 (cl-defstruct): Don't define setf-method any more.
6551 * emacs-lisp/cl.el (flet): Don't autoload.
6552 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6553 (define-setf-expander, defsetf, define-modify-macro)
6554 (cl-struct-setf-expander): Move from cl-lib.el.
6555 * emacs-lisp/syntax.el:
6556 * emacs-lisp/ewoc.el:
6557 * emacs-lisp/smie.el:
6558 * emacs-lisp/cconv.el:
6559 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6560 (timer--time): Use gv-define-simple-setter.
6561 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6562 to avoid coding-system problems in subr.el. Adjust all users.
6563 (macroexp--maxsize, macroexp-small-p): New functions.
6564 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6565 * scroll-bar.el (scroll-bar-mode):
6566 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6567 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6568 * winner.el (winner-configuration, winner-make-point-alist)
6569 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6570 * files.el (locate-file-completion-table): Avoid list*.
6571
6572 2012-06-22 Chong Yidong <cyd@gnu.org>
6573
6574 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6575 (dired-create-files): Doc fix (Bug#11329).
6576 (dired-do-copy): Doc fix (Bug#11334).
6577 (dired-mark-read-string): Doc fix (Bug#11553).
6578
6579 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6580 Doc fix (Bug#11326).
6581 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6582 (dired-dwim-target): Doc fix.
6583
6584 * wdired.el (wdired-mode): Doc fix.
6585
6586 2012-06-22 Glenn Morris <rgm@gnu.org>
6587
6588 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6589 (pcmpl-rpm-cache-stamp-file): New constant.
6590 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6591 (pcmpl-rpm-packages): Optionally cache list of packages.
6592
6593 * pcmpl-rpm.el (pcmpl-rpm): New group.
6594 (pcmpl-rpm-query-options): New option.
6595 (pcmpl-rpm-packages): No need to inline it.
6596 Use pcmpl-rpm-query-options.
6597
6598 * calendar/calendar.el (calendar-in-read-only-buffer):
6599 Avoid some needless mode changes.
6600
6601 2012-06-21 Chong Yidong <cyd@gnu.org>
6602
6603 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6604 (desktop-path): Remove . from the default value (Bug#10977).
6605 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6606
6607 2012-06-20 Chong Yidong <cyd@gnu.org>
6608
6609 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6610
6611 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6612
6613 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6614 (bug#11201).
6615
6616 2012-06-20 Chong Yidong <cyd@gnu.org>
6617
6618 * term.el (term-window-width): Handle the case of a missing right
6619 fringe (Bug#8837).
6620 (term-check-size): Use window-text-height (Bug#5445).
6621 (term-mode): Use define-derived-mode. Minor cleanups.
6622 Set font-lock-defaults (Bug#7692).
6623 (term-move-columns, term-insert-char, term-emulate-terminal)
6624 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6625
6626 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/ange-ftp.el (ange-ftp-get-passwd):
6629 Bind `enable-recursive-minibuffers'.
6630 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6631
6632 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6633
6634 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6635
6636 2012-06-19 Glenn Morris <rgm@gnu.org>
6637
6638 * progmodes/python.el (python-mode): Derive from prog-mode.
6639
6640 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6641
6642 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6643 (edt-user-menu-bar-update-buffers): New functions.
6644 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6645
6646 2012-06-19 Chong Yidong <cyd@gnu.org>
6647
6648 * subr.el (with-selected-window): Preserve the selected window's
6649 terminal's top-frame (Bug#4702).
6650
6651 * window.el (save-selected-window): Likewise.
6652
6653 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * progmodes/python.el (python-rx-constituents): Move backquote.
6656 (python-skeleton-define, python-define-auxiliary-skeleton):
6657 Use `declare'.
6658
6659 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6660
6661 * minibuffer.el (read-file-name-default): Revert the patch from
6662 2012-06-17.
6663
6664 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6667 (pcase--u1, pcase--q1): Don't use apply-partially.
6668
6669 2012-06-18 Glenn Morris <rgm@gnu.org>
6670
6671 * progmodes/python.el (python-proc, python-buffer)
6672 (python-send-receive, python-send-string): Fix obsolete versions.
6673
6674 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6675
6676 * window.el (special-display-p): Completely remove stringp
6677 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6678
6679 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6680
6681 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6682
6683 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6684
6685 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6686 * net/tramp-sh.el (tramp-maybe-open-connection):
6687 Throw if `non-essential' is non-nil.
6688
6689 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (special-display-p): Signal an error if BUFFER-NAME
6692 is not a string (Bug#11713).
6693
6694 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6695
6696 * progmodes/python.el (python-info-beginning-of-backslash):
6697 Rename from python-info-beginning-of-backlash, as a spelling fix.
6698
6699 2012-06-17 Chong Yidong <cyd@gnu.org>
6700
6701 * term.el (term-emulate-terminal): If term-check-size is called,
6702 move point to the process mark without resetting point (Bug#4635).
6703
6704 2012-06-17 Glenn Morris <rgm@gnu.org>
6705
6706 * international/mule-cmds.el (mule-menu-keymap)
6707 (set-language-environment, set-locale-environment): Doc tweaks.
6708
6709 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6710
6711 * cus-face.el (custom-face-attributes): Add wave-style underline
6712 attribute.
6713 * faces.el (set-face-attribute): Update docstring to describe
6714 wave-style underline attribute.
6715
6716 2012-06-16 Chong Yidong <cyd@gnu.org>
6717
6718 * term/xterm.el (terminal-init-xterm): Discard input before
6719 querying background mode (Bug#10959).
6720
6721 2012-06-16 Stefan Merten <smerten@oekonux.de>
6722
6723 * textmodes/rst.el: Added and corrected some comments.
6724 (rst-re-alist-def): Improve symbol syntax.
6725 (rst-mode-syntax-table): Correct syntax entries.
6726 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6727 (rst-official-version, rst-official-cvs-rev): Update version
6728 information.
6729
6730 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6731
6732 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6733 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6734
6735 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6736
6737 * progmodes/python.el: New python.el merge.
6738 (python-guess-indent): Obsolete var.
6739 (python-indent-guess-indent-offset): New defcustom.
6740 (python-indent): Obsolete var.
6741 (python-indent-offset): New defcustom.
6742 (python-python-command, python-jython-command): Delete var.
6743 (python-shell-interpreter): New defcustom.
6744 (python-pdbtrack-do-tracking-p): Delete var.
6745 (python-pdbtrack-activate): New defcustom.
6746 (python-use-skeletons): Obsolete var.
6747 (python-skeleton-autoinsert): New defcustom.
6748 (inferior-python-filter-regexp, python-continuation-offset)
6749 (python-honour-comment-indentation, python-indent-string-contents)
6750 (python-jython-packages, python-mode-hook)
6751 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6752 (python-shell-prompt-alist)
6753 (python-source-modes): Delete defcustoms.
6754 (python-check-buffer-name, python-eldoc-setup-code)
6755 (python-eldoc-string-code, python-ffap-setup-code)
6756 (python-ffap-string-code, python-fill-comment-function)
6757 (python-fill-decorator-function, python-fill-paren-function)
6758 (python-fill-string-function, python-imenu-include-defun-type)
6759 (python-imenu-make-tree, python-imenu-subtree-root-label)
6760 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6761 (python-shell-compilation-regexp-alist)
6762 (python-shell-completion-module-string-code)
6763 (python-shell-completion-pdb-string-code)
6764 (python-shell-completion-setup-code)
6765 (python-shell-completion-string-code)
6766 (python-shell-enable-font-lock, python-shell-exec-path)
6767 (python-shell-extra-pythonpaths)
6768 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6769 (python-shell-process-environment)
6770 (python-shell-prompt-block-regexp)
6771 (python-shell-prompt-output-regexp)
6772 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6773 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6774 (python-shell-virtualenv-path): New defcustoms.
6775 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6776 (inferior-python-mode-syntax-table, python--prompt-regexp)
6777 (python-buffer, python-command python-python-command)
6778 (python-default-template, python-imports, python-indent-index)
6779 (python-indent-list, python-indent-list-length)
6780 (python-mode-running, python-pdbtrack-is-tracking-p)
6781 (python-preoutput-continuation, python-preoutput-leftover)
6782 (python-preoutput-result, python-preoutput-skip-next-prompt)
6783 (python-prev-dir/file, python-recursing)
6784 (python-saved-check-command, python-version-checked)
6785 (python-which-func-length-limit)
6786 (view-return-to-alist): Delete vars.
6787 (python-check-custom-command, python-dotty-syntax-table)
6788 (python-imenu-index-alist, python-indent-current-level)
6789 (python-indent-dedenters, python-indent-levels)
6790 (python-nav-beginning-of-defun-regexp)
6791 (python-nav-list-defun-positions-cache)
6792 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6793 (python-shell-internal-buffer)
6794 (python-skeleton-available): New vars.
6795 (def-python-skeleton): Delete macro.
6796 (python-skeleton-define): New macro.
6797 (python-define-auxiliary-skeleton, python-rx): New macros.
6798 (python-insert-class): Delete command.
6799 (python-skeleton-class): New command.
6800 (python-insert-def): Delete command.
6801 (python-skeleton-def): New command.
6802 (python-insert-for): Delete command.
6803 (python-skeleton-for): New command.
6804 (python-insert-if): Delete command.
6805 (python-skeleton-if): New command.
6806 (python-insert-try/except, python-insert-try/finally): Delete commands.
6807 (python-skeleton-try): New command.
6808 (python-insert-while): Delete command.
6809 (python-skeleton-while): New command.
6810 (python-backspace): Delete command.
6811 (python-indent-dedent-line-backspace): New command.
6812 (python-electric-colon): Delete command.
6813 (python-indent-electric-colon): New command.
6814 (python-guess-indent): Delete command.
6815 (python-indent-guess-indent-offset): New command.
6816 (python-shift-left): Delete command.
6817 (python-indent-shift-left): New command.
6818 (python-shift-right): Delete command.
6819 (python-indent-shift-right): New command.
6820 (python-find-function): Delete command.
6821 (python-nav-jump-to-defun): New command.
6822 (python-next-statement): Delete command.
6823 (python-nav-forward-sentence): New command.
6824 (python-previous-statement): Delete command.
6825 (python-nav-backward-sentence): New command.
6826 (python-fill-paragraph): Delete command.
6827 (python-fill-paragraph-function): New command.
6828 (python-send-buffer): Delete command.
6829 (python-shell-send-buffer): New command.
6830 (python-send-defun): Delete command.
6831 (python-shell-send-defun): New command.
6832 (python-send-region, python-send-region-and-go): Delete commands.
6833 (python-shell-send-region)
6834 (python-shell-switch-to-shell): New commands.
6835 (python-send-string): Delete command.
6836 (python-shell-send-string): New command.
6837 (python-switch-to-python): Delete command.
6838 (python-shell-switch-to-shell): New command.
6839 (python-describe-symbol): Delete command.
6840 (python-eldoc-at-point): New command.
6841 (python--set-prompt-regexp, python-args-to-list)
6842 (python-after-info-look, python-check-version)
6843 (python-check-comint-prompt, python-find-imports)
6844 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6845 (python-unload-function, python-expand-template)
6846 (python-maybe-jython, python-preoutput-filter)
6847 (python-pdbtrack-get-source-buffer)
6848 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6849 (python-pdbtrack-toggle-stack-tracking)
6850 (python-pdbtrack-track-stack-file, python-initial-text)
6851 (python-first-word, python-comment-line-p, python-send-command)
6852 (python-setup-brm, python-sentinel, python-set-proc)
6853 (python-skip-out, python-input-filter, python-outdent-p)
6854 (python-outline-level, python-backslash-continuation-line-p)
6855 (python-end-of-block, python-end-of-statement, python-mark-block)
6856 (python-beginning-of-block, python-beginning-of-statement)
6857 (python-blank-line-p, python-beginning-of-string)
6858 (python-open-block-statement-p): Delete functions.
6859 (python-indent-line, python-indent-line-1): Delete functions.
6860 (python-indent-line): New function.
6861 (python-indentation-levels): Delete function.
6862 (python-indent-calculate-levels): New function.
6863 (python-proc): Delete function.
6864 (python-shell-get-process): New function.
6865 (python-send-receive): Delete function.
6866 (python-shell-send-string-no-output): New function.
6867 (python-module-path): Delete function.
6868 (python-ffap-module-path): New function.
6869 (python-completion-at-point)
6870 (python-symbol-completions): Delete functions.
6871 (python-completion-complete-at-point): New function.
6872 (python-load-file): Delete function.
6873 (python-shell-send-file): New function.
6874 (python-calculate-indentation): Delete function.
6875 (python-indent-calculate-indentation): New function.
6876 (python-skip-comments/blanks): Delete function.
6877 (python-util-forward-comment): New function.
6878 (python-continuation-line-p): Delete function.
6879 (python-info-continuation-line-p): New function.
6880 (python-which-func, python-current-defun): Delete function.
6881 (python-info-current-defun): New function.
6882 (python-beginning-of-defun): Delete function.
6883 (python-nav-beginning-of-defun): New function.
6884 (python-close-block-statement-p)
6885 (python-block-end-p): Delete function.
6886 (python-info-closing-block): New function.
6887 (python-comint-output-filter-function)
6888 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6889 (python-fill-comment, python-fill-decorator, python-fill-paren)
6890 (python-fill-string, python-imenu-make-element-tree)
6891 (python-imenu-make-tree, python-imenu-tree-assoc)
6892 (python-indent-context, python-indent-dedent-line)
6893 (python-indent-line-function)
6894 (python-indent-post-self-insert-function)
6895 (python-indent-toggle-levels)
6896 (python-info-assignment-continuation-line-p)
6897 (python-info-beginning-of-backlash)
6898 (python-info-block-continuation-line-p)
6899 (python-info-closing-block-message)
6900 (python-info-line-ends-backslash-p)
6901 (python-info-looking-at-beginning-of-defun)
6902 (python-info-ppss-context, python-info-ppss-context-type)
6903 (python-nav-list-defun-positions, python-nav-read-defun)
6904 (python-nav-sentence-end, python-nav-sentence-start)
6905 (python-pdbtrack-comint-output-filter-function)
6906 (python-pdbtrack-set-tracked-buffer)
6907 (python-shell-calculate-exec-path)
6908 (python-shell-calculate-process-environment)
6909 (python-shell-completion--do-completion-at-point)
6910 (python-shell-completion--get-completions)
6911 (python-shell-completion-complete-at-point)
6912 (python-shell-completion-complete-or-indent)
6913 (python-shell-get-or-create-process)
6914 (python-shell-get-process-name)
6915 (python-shell-internal-get-or-create-process)
6916 (python-shell-internal-get-process-name)
6917 (python-shell-internal-send-string, python-shell-make-comint)
6918 (python-shell-parse-command, python-shell-send-setup-code)
6919 (python-skeleton-add-menu-items)
6920 (python-util-clone-local-variables, python-util-position)
6921 (run-python-internal, python-indentation-levels)
6922 (python-nav-beginning-of-defun)
6923 (python-completion-complete-at-point): New functions.
6924 (run-python): Change arguments. New API requirements.
6925
6926 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6929 (bug#11649).
6930
6931 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6932 (macroexp--expand-all): Use it.
6933
6934 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6935 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6936 Use `cl-function' instead.
6937
6938 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6941 Suggested by Stefan Monnier while discussing bug#11657.
6942
6943 2012-06-14 Sam Steingold <sds@gnu.org>
6944
6945 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6946
6947 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6948
6949 * play/doctor.el (doctor-doc): Remove parameter and use
6950 doctor-sent instead of sent.
6951 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6952
6953 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * files.el: Require cl-lib.
6956 (file-name-non-special): Replace case -> cl-case.
6957
6958 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6959
6960 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6961 mapping from #' to function*.
6962
6963 2012-06-13 Chong Yidong <cyd@gnu.org>
6964
6965 * mouse.el (mouse-drag-track): Do not set the mark if the user
6966 releases the mouse without selecting anything (Bug#11588).
6967
6968 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6971 as well (bug#11646).
6972
6973 * loadup.el: Count byte-code functions as well.
6974
6975 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6976 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6977
6978 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6979 (bug#11649). Add cl-defun and cl-defmacro.
6980
6981 2012-06-13 Drew Adams <drew.adams@oracle.com>
6982
6983 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6984 Fix last change.
6985
6986 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6989 Otherwise, it blocks in batch mode.
6990
6991 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * help-mode.el (bookmark-make-record-default): Declare.
6994
6995 2012-06-13 Chong Yidong <cyd@gnu.org>
6996
6997 * emacs-lisp/package.el (list-packages): Compute a list of
6998 packages that are newly-available since the last list-packages
6999 invocation.
7000 (package-menu--new-package-list): New var.
7001 (package-menu--generate, package-menu--print-info)
7002 (package-menu--status-predicate, package-menu-mark-install):
7003 Handle new status label "new".
7004
7005 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7008 conversion to backquotes.
7009
7010 2012-06-12 Chong Yidong <cyd@gnu.org>
7011
7012 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7013 Rename from gud-inhibit-global-bindings.
7014
7015 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7016
7017 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7018 hook from nxml-glyph-set-hook.
7019
7020 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7021 declaration.
7022
7023 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7024
7025 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7026 Convert to defcustom.
7027
7028 2012-06-12 Drew Adams <drew.adams@oracle.com>
7029
7030 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7031 New functions.
7032 (help-mode): Use them.
7033
7034 2012-06-11 Glenn Morris <rgm@gnu.org>
7035
7036 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7037 Use preprocessor face for directives.
7038 (fortran-directive-re): Doc fix.
7039
7040 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7043 conversion to backquotes (bug#11652).
7044
7045 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7046 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7047 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7048 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7049 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7050 (cl-ninth, cl-tenth): Mark them as inlinable.
7051 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7052 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7053 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7054 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7055 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7056 (cl-list*, cl-adjoin): Don't put an autoload manually.
7057 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7058 (cl--compiler-macro-list*): Add autoload cookie.
7059 (cl--compiler-macro-cXXr): New function.
7060
7061 * help-fns.el (help-fns--compiler-macro): New function extracted from
7062 describe-function-1; follow aliases and use `compiler-macro' property.
7063 (describe-function-1): Use it.
7064
7065 2012-06-11 Chong Yidong <cyd@gnu.org>
7066
7067 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7068 is uninstalled, if imagemagick is installed.
7069
7070 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * emacs-lisp/cl-lib.el: Use lexical-binding.
7073 (cl-map-extents, cl-maclisp-member): Remove.
7074 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7075 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7076 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7077 * emacs-lisp/cl-extra.el: Use lexical-binding.
7078 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7079 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7080 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7081 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7082 * emacs-lisp/cl-seq.el: Use lexical-binding.
7083 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7084 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7085 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7086 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7087 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7088 CL's internals.
7089
7090 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7091
7092 Sync with Tramp 2.2.6-pre.
7093
7094 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7095 `print-length' and `print-level' to nil, in order to avoid
7096 truncation. Reported by Christopher Schmidt
7097 <christopher@ristopher.com>.
7098
7099 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7100
7101 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7102 New defmacro.
7103 (tramp-compat-copy-directory): Add optional argument
7104 COPY-CONTENTS. It is not handled yet.
7105
7106 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7107 (tramp-ftp-file-name-p): Simplify.
7108
7109 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7110 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7111 connection vector.
7112
7113 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7114 (tramp-methods): Do not use `tramp-password-end-of-line'.
7115 (tramp-completion-function-alist-putty): Handle UNIX case.
7116 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7117 (tramp-do-file-attributes-with-stat)
7118 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7119 gid as real numbers. They could run out of integer range on cygwin.
7120 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7121 (tramp-sh-handle-expand-file-name): Handle hops.
7122 (tramp-open-connection-setup-interactive-shell):
7123 Use `tramp-cleanup'. Move check for busyboxes ...
7124 (tramp-find-shell): ... here. Simplify implementation.
7125 Set "remote-shell" property also for alternative shells.
7126 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7127 If failing, a regular file would be written otherwise.
7128 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7129 (tramp-find-inline-encoding): Cache the coding commands in the
7130 process cache. Apply test command on the remote side, if defined.
7131 (tramp-find-inline-compress): Cache the compress commands in the
7132 process cache.
7133 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7134 when requested. Handle hops.
7135 (tramp-current-connection): New defvar.
7136 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7137 Throw `suppress', if there was a failed connection shortly before.
7138 Handle user interrupt. (Bug#10187)
7139 (tramp-get-inline-compress, tramp-get-inline-coding):
7140 Read connection properties from the process cache.
7141
7142 * net/tramp-smb.el (tramp-smb-server-version)
7143 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7144 New defconsts.
7145 (tramp-smb-prompt): Extend for powershell prompt.
7146 (tramp-smb-file-name-handler-alist): Add handlers for
7147 `process-file', `shell-command' and `start-file-process'.
7148 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7149 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7150 (tramp-smb-file-name-p): Simplify.
7151 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7152 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7153 (tramp-smb-shell-quote-argument): New defuns.
7154 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7155 Implement using "tar". By this, time-stamps are preserved.
7156 (tramp-smb-handle-copy-file): Handle also the case of directories.
7157 (tramp-smb-do-file-attributes-with-stat)
7158 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7159 Use `tramp-get-connection-buffer').
7160 (tramp-smb-handle-rename-file): Use "rename", when source and
7161 target are on the same share.
7162 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7163 Use `tramp-smb-server-version'.
7164 (tramp-smb-wait-for-output): Remove prompt.
7165
7166 * net/tramp.el (top): Require 'cl.
7167 (tramp-methods, tramp-rsh-end-of-line):
7168 Remove `tramp-password-end-of-line' from docstring.
7169 (tramp-save-ad-hoc-proxies): New defcustom.
7170 (tramp-completion-function-alist): Adapt docstring.
7171 (tramp-default-password-end-of-line): Remove defcustom.
7172 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7173 (tramp-user-regexp, tramp-file-name-regexp-unified)
7174 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7175 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7176 (tramp-remote-file-name-spec-regexp): New defconst.
7177 (tramp-file-name-structure): Extend structure for hops.
7178 (tramp-get-method-parameter): Move up.
7179 (tramp-file-name-p, tramp-dissect-file-name)
7180 (with-parsed-tramp-file-name): Handle hops.
7181 (tramp-file-name-hop): New defun.
7182 (tramp-make-tramp-file-name): New optional arg HOP.
7183 (tramp-message-show-progress-reporter-message): New defvar.
7184 (tramp-with-progress-reporter): Use it. We cannot use
7185 `tramp-message-show-message' here, because this suppresses also
7186 error buffers.
7187 (tramp-error-with-buffer): Suppress buffer view, if
7188 `tramp-message-show-message' is nil.
7189 Use `tramp-get-connection-buffer'.
7190 (tramp-cleanup): New defun.
7191 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7192 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7193 an error unchanged.
7194 (tramp-completion-handle-file-name-all-completions): Handle hops.
7195 Fix an error when called from ido.
7196 (tramp-completion-dissect-file-name): Use better local variable
7197 name. Add hop to the vector.
7198 (tramp-handle-insert-file-contents): Use progress-reporter for the
7199 whole scenario.
7200 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7201 to `t'.
7202 (tramp-check-for-regexp): Simplify search.
7203 (tramp-enter-password): Remove it. Move implementation ...
7204 (tramp-action-password): ... here.
7205 (tramp-mode-string-to-int, tramp-local-host-p)
7206 (tramp-make-tramp-temp-file, tramp-read-passwd)
7207 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7208 Set tramp-autoload cookie.
7209
7210 * net/trampver.el: Update release number.
7211
7212 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7213 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7216 (tramp-parse-group, tramp-parse-file)
7217 (tramp-parse-shostkeys-sknownhosts): New defuns.
7218 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7219 (tramp-parse-shosts-group, tramp-parse-sconfig)
7220 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7221 (tramp-parse-sknownhosts, tramp-parse-hosts)
7222 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7223 Use them.
7224 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7225 (tramp-parse-putty-group): Don't narrow.
7226 (tramp-parse-putty): Make a loop.
7227 (tramp-file-name-handler): Catch the `suppress' signal.
7228
7229 2012-06-11 Chong Yidong <cyd@gnu.org>
7230
7231 * image.el (imagemagick-register-types): Put the ImageMagick entry
7232 at the end of image-type-file-name-regexps.
7233
7234 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7235
7236 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7237 (pcase, pcase-let*, pcase-dolist): Use them.
7238
7239 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * emacs-lisp/pcase.el (pcase--let*): New function.
7242 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7243 (pcase--expand): Use macroexp-let².
7244
7245 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7248 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7249 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7250 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7251 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7252 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7253
7254 2012-06-10 Glenn Morris <rgm@gnu.org>
7255
7256 * mail/rmail.el (rmail-yank-current-message): Leave point at
7257 correct position. (Bug#11660)
7258
7259 2012-06-10 Chong Yidong <cyd@gnu.org>
7260
7261 * allout-widgets.el: Fix code header.
7262
7263 2012-06-10 Chong Yidong <cyd@gnu.org>
7264
7265 * cus-edit.el (customize-changed-options-previous-release):
7266 Bump to 24.1.
7267
7268 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7269
7270 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7271
7272 2012-06-09 Chong Yidong <cyd@gnu.org>
7273
7274 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7275
7276 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7277
7278 * window.el (special-display-popup-frame): Don't use
7279 window--display-buffer (Bug#11651).
7280
7281 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7282
7283 Fix parallel builds: make sure loaddefs.el is not being written
7284 while Lisp files are compiled.
7285 (compile): Don't depend on 'mh-autoloads'.
7286 (compile-CMD, compile-SH): Depend on 'autoloads'.
7287 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7288
7289 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7290
7291 2012-06-09 Chong Yidong <cyd@gnu.org>
7292
7293 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7294 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7295 Doc fixes (Bug#11225).
7296
7297 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7300 a function if there's a clear indication that it has a compiler-macro.
7301 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7302 (macro-declarations-alist): Add arglist to declaration functions.
7303 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7304 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7305 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7306 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7307 Also add autoload to find the compiler macro.
7308 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7309 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7310 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7311 (cl--compiler-macro-get): New functions, replacing calls to
7312 cl-define-compiler-macro.
7313 (cl-typep) [compiler-macro]: Use macroexp-let².
7314
7315 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7316
7317 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7318 string properly, fixes Bug#11473.
7319
7320 2012-06-08 Chong Yidong <cyd@gnu.org>
7321
7322 * faces.el (set-face-attribute): Doc fix.
7323 (modify-face): Don't use :bold and :italic.
7324 (error, warning, success): Tweak definitions.
7325
7326 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7327 (custom-modified, custom-set, custom-changed, custom-themed)
7328 (custom-saved, custom-button, custom-button-mouse)
7329 (custom-button-pressed, custom-state, custom-comment-tag)
7330 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7331 (custom-group-subtitle): Use new-style face specs.
7332 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7333 (custom-set-face, custom-changed-face, custom-saved-face)
7334 (custom-button-face, custom-button-pressed-face)
7335 (custom-documentation-face, custom-state-face)
7336 (custom-comment-face, custom-comment-tag-face)
7337 (custom-variable-tag-face, custom-variable-button-face)
7338 (custom-face-tag-face, custom-group-tag-face-1)
7339 (custom-group-tag-face): Remove obsolete face alias.
7340
7341 * epa.el (epa-validity-high, epa-validity-medium)
7342 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7343 (epa-field-name, epa-field-body):
7344 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7345 (font-lock-keyword-face, font-lock-builtin-face)
7346 (font-lock-function-name-face, font-lock-variable-name-face)
7347 (font-lock-type-face, font-lock-constant-face):
7348 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7349 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7350 * speedbar.el (speedbar-button-face, speedbar-file-face)
7351 (speedbar-directory-face, speedbar-tag-face)
7352 (speedbar-selected-face, speedbar-highlight-face)
7353 (speedbar-separator-face):
7354 * whitespace.el (whitespace-newline, whitespace-space)
7355 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7356 (whitespace-line, whitespace-space-before-tab)
7357 (whitespace-space-after-tab, whitespace-indentation)
7358 (whitespace-empty):
7359 * emulation/cua-base.el (cua-global-mark):
7360 * eshell/em-prompt.el (eshell-prompt):
7361 * net/newst-plainview.el (newsticker-new-item-face)
7362 (newsticker-old-item-face, newsticker-immortal-item-face)
7363 (newsticker-obsolete-item-face, newsticker-date-face)
7364 (newsticker-statistics-face, newsticker-default-face):
7365 * net/newst-reader.el (newsticker-feed-face)
7366 (newsticker-extra-face, newsticker-enclosure-face):
7367 * net/newst-treeview.el (newsticker-treeview-face)
7368 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7369 (newsticker-treeview-immortal-face)
7370 (newsticker-treeview-obsolete-face)
7371 (newsticker-treeview-selection-face):
7372 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7373 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7374 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7375 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7376 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7377 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7378 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7379 (mpuz-text):
7380 * progmodes/vera-mode.el (vera-font-lock-number)
7381 (vera-font-lock-function, vera-font-lock-interface):
7382 * textmodes/table.el (table-cell): Use new-style face specs, and
7383 don't use the old :bold and :italic attributes.
7384
7385 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7386 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7387 (ebrowse-member-class, ebrowse-progress): Likewise.
7388 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7389 (ebrowse-file-name-face, ebrowse-default-face)
7390 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7391 (ebrowse-progress-face): Remove obsolete faces.
7392
7393 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7394 Inherit from error and warning faces respectively.
7395
7396 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7397 Likewise.
7398 (flyspell-incorrect-face, flyspell-duplicate-face):
7399 Remove obsolete aliases.
7400
7401 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7404 Avoid infloop.
7405
7406 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * startup.el (argv, argi): Make lexically scoped.
7409 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7410 * emacs-lisp/cl-macs.el: Use lexical-binding.
7411 Rename cl-bind-* to cl--bind-*.
7412 * files.el: Don't require `cl' since it doesn't use it.
7413 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7414
7415 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7416
7417 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7418 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7419 instead of calling external sort utility.
7420 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7421
7422 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7423
7424 * descr-text.el (describe-char): Mention how to insert the
7425 character, if the current input method doesn't support it.
7426 See the discussion in this thread for the details:
7427 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7428
7429 2012-06-08 Sam Steingold <sds@gnu.org>
7430
7431 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7432 XF86Back to previous-buffer.
7433 (minibuffer-local-map): Bind them to next-history-element and
7434 previous-history-element respectively.
7435 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7436 help-go-back respectively.
7437 * info.el (Info-mode-map): Bind them to Info-history-forward and
7438 Info-history-back respectively.
7439 These are the keys next to Up on the ThinkPad keyboard.
7440
7441 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7444 * emacs-lisp/cl-macs.el: Provide itself.
7445 (cl--labels-convert-cache): New var.
7446 (cl--labels-convert): New function.
7447 (cl-flet, cl-labels): New implementation with new semantics, relying on
7448 lexical-binding.
7449 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7450 (cl-closure-vars, cl--function-convert-cache)
7451 (cl--function-convert): Move from cl-macs.el.
7452 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7453 rename by removing the "cl-" prefix.
7454 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7455
7456 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7459 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7460 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7461 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7462 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7463 (cl-hash-table-count): Add old compatibility aliases.
7464
7465 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7466 Use macroexpand-all-environment instead.
7467 (cl--old-macroexpand): New var.
7468 (cl--sm-macroexpand): New function.
7469 (cl-symbol-macrolet): Use it during macro expansion.
7470 (cl--function-convert-cache): New var.
7471 (cl--function-convert): New function, extracted from
7472 cl-macroexpand-all.
7473 (cl-lexical-let): Use it.
7474
7475 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7476 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7477 (cl-member): Remove old alias.
7478
7479 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7480 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7481 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7482 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7483 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7484 (cl-macroexpand-cmacs): Remove var.
7485 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7486 Use macroexpand-all instead.
7487
7488 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7491 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7492 (macroexp-copyable-p): New functions and macros.
7493 * emacs-lisp/edebug.el (edebug-unwrap):
7494 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7495 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7496 (pcase--let*): Remove.
7497 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7498 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7499 macroexp-const-p instead.
7500 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7501
7502 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7503 instead of "cl-" for internal definitions. Use macroexp-const-p.
7504 (cl-old-bc-file-form): Remove var.
7505 (cl-const-exprs-p): Remove fun.
7506 (cl-labels, cl-macrolet): Use backquote.
7507 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7508 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7509 (cl-define-setf-expander): Rename from cl-define-setf-method.
7510 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7511
7512 * international/mule-cmds.el: Don't require CL.
7513 (view-hello-file): Don't use `letf'.
7514
7515 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * tmm.el (tmm-prompt): Use string-prefix-p.
7518 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7519 (tmm-add-prompt): Use minibuffer-completion-help.
7520 (tmm-delete-map): Remove.
7521
7522 * subr.el (kbd): Make it its own function.
7523
7524 2012-06-07 Stefan Merten <smerten@oekonux.de>
7525
7526 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7527 Silence compiler warnings. Fix versions.
7528 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7529 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7530 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7531 (rst-package-emacs-version-alist): Correct Emacs version to
7532 represent major merge with upstream.
7533 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7534
7535 2012-06-06 Glenn Morris <rgm@gnu.org>
7536
7537 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7538 Only print environment variables if set.
7539
7540 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7543 (macroexp--cons): Rename from maybe-cons.
7544 (macroexp--accumulate): Rename from macroexp-accumulate.
7545 (macroexp--all-forms): Rename from macroexpand-all-forms.
7546 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7547 (macroexp--expand-all): Rename from macroexpand-all-1.
7548
7549 2012-06-06 Sam Steingold <sds@gnu.org>
7550
7551 * calendar/calendar.el (calendar-in-read-only-buffer):
7552 Call `special-mode' to enable the standard read-only keybindings.
7553
7554 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7557 with "loading" messages (bug#11635).
7558
7559 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7560
7561 * files.el (enable-remote-dir-locals): New option.
7562 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7563
7564 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7565 Ensure, that the temp directory is local.
7566
7567 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7568 `temporary-file-directory'.
7569
7570 * progmodes/python.el (python-send-region): Ensure, that the
7571 temporary file is created also in the remote case.
7572
7573 2012-06-06 Glenn Morris <rgm@gnu.org>
7574
7575 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7576 (vc-rcs-update-changelog): Use it.
7577
7578 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7579
7580 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7581 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7582 (vc-sccs-diff): Replace use of the external vcdiff script.
7583
7584 2012-06-05 Glenn Morris <rgm@gnu.org>
7585
7586 * ledit.el: Move to obsolete/.
7587
7588 2012-06-05 Sam Steingold <sds@gnu.org>
7589
7590 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7591 patch (Bug#11140).
7592
7593 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7594
7595 * emacs-lisp/cust-print.el: Move to obsolete.
7596
7597 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7598 compiler-macro expansion.
7599
7600 Add native compiler-macro support.
7601 * emacs-lisp/macroexp.el (macroexpand-all-1):
7602 Support compiler-macros directly. Properly follow aliases and apply
7603 the compiler macros more thoroughly.
7604 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7605 macroexpand now properly follows aliases.
7606 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7607 (cl-compiler-macroexpand): Use new prop.
7608 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7609
7610 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7611
7612 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7613
7614 * window.el (get-lru-window, get-mru-window, get-largest-window):
7615 New argument NOT-SELECTED to avoid picking the selected window.
7616 (window--display-buffer-1, window--display-buffer-2): Replace by
7617 new function window--display-buffer
7618 (display-buffer-same-window, display-buffer-reuse-window)
7619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7620 Use window--display-buffer.
7621 (display-buffer-use-some-window): Remove temporary dedication
7622 hack by calling get-lru-window and get-largest-window with
7623 NOT-SELECTED argument non-nil. Call window--display-buffer.
7624
7625 2012-06-05 Glenn Morris <rgm@gnu.org>
7626
7627 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7628 Replace external vcdiff script.
7629
7630 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7633
7634 2012-06-04 Chong Yidong <cyd@gnu.org>
7635
7636 * image.el (imagemagick-types-inhibit): Revert last change.
7637 Add INFO and M.
7638 (imagemagick-enabled-types): Remove CIN and EPS*.
7639
7640 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * emacs-lisp/cl-lib.el: Rename from cl.el.
7643 * emacs-lisp/cl.el: New compatibility file.
7644 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7645 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7646 to obey the "cl-" prefix.
7647 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7648
7649 2012-06-03 Glenn Morris <rgm@gnu.org>
7650
7651 * emacs-lisp/authors.el (authors-aliases): Addition.
7652
7653 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7654 Fix :version.
7655
7656 2012-06-03 Stefan Merten <smerten@oekonux.de>
7657
7658 * textmodes/rst.el: Add comments.
7659 (rst-transition, rst-adornment): New faces.
7660 (rst-adornment-faces-alist): Make default safe to reevaluate.
7661 Fixes
7662 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7663 Improve customization tags.
7664 (rst-define-level-faces): Clarify meaning.
7665
7666 2012-06-03 Chong Yidong <cyd@gnu.org>
7667
7668 * progmodes/compile.el (compilation-mode-line-fail)
7669 (compilation-mode-line-run, compilation-mode-line-exit):
7670 New faces.
7671 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7672
7673 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7674
7675 * progmodes/which-func.el (which-func-update-ediff-windows):
7676 New function. Use it in ediff-select-hook (Bug#11478).
7677
7678 2012-06-03 Chong Yidong <cyd@gnu.org>
7679
7680 * bindings.el: Remove explicit help text from format-mode-line.
7681 It is now supplied by mode-line-default-help-echo.
7682 (mode-line-front-space, mode-line-end-spaces)
7683 (mode-line-misc-info): New variables.
7684 (mode-line-modes, mode-line-position): Move the default value to
7685 the variable definition.
7686 (mode-line-default-help-echo): New defcustom.
7687 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7688 (mode-line-modified-help-echo): New functions.
7689 (mode-line-mule-info, mode-line-modified): Use them.
7690 (mode-line-eol-desc, propertized-buffer-identification):
7691 Consistency fixes for help text.
7692 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7693 set-buffer-file-coding-system (Bug#289).
7694 (mode-line-mule-info-help-echo): Update help text.
7695
7696 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * simple.el (execute-extended-command): Set real-this-command
7699 (bug#11506).
7700
7701 2012-06-02 Chong Yidong <cyd@gnu.org>
7702
7703 Remove incorrect uses of "modeline" in comments, docstrings, and
7704 function/variable names (Bug#10329).
7705
7706 * cus-edit.el (mode-line):
7707 * dframe.el (dframe-mouse-hscroll):
7708 * emacs-lisp/re-builder.el:
7709 * emacs-lisp/easy-mmode.el (define-minor-mode):
7710 * frame.el (set-frame-name):
7711 * help.el (lookup-minor-mode-from-indicator):
7712 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7713 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7714 (c-toggle-hungry-state):
7715 * progmodes/antlr-mode.el (antlr-language-alist):
7716 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7717 * progmodes/vhdl-mode.el (vhdl-mode):
7718 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7719 * term/ns-win.el (ns-face-at-pos):
7720 * term/sup-mouse.el (sup-mouse-report):
7721 * textmodes/flyspell.el (flyspell-mode-line-string):
7722 * textmodes/ispell.el (ispell-highlight-face):
7723 * textmodes/reftex-global.el:
7724 * vc/vc-arch.el (vc-arch-mode-line-string):
7725 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7726 * vc/vc-git.el (vc-git-mode-line-string):
7727 * vc/vc-hooks.el (vc-display-status)
7728 (vc-default-mode-line-string):
7729 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7730
7731 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7732
7733 * dired.el (dired-sort-set-mode-line): Rename from
7734 dired-sort-set-modeline. All callers changed.
7735
7736 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7737 eshell-status-in-modeline.
7738
7739 * foldout.el (foldout-mode-line-string): Rename from
7740 foldout-modeline-string. All callers changed.
7741 (foldout-update-mode-line): Rename from foldout-update-modeline.
7742
7743 * subr.el (redraw-modeline): Make into obsolete alias.
7744
7745 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7746 timeclock-modeline-display. Make old name an alias.
7747 (timeclock-update-mode-line): Likewise. All callers changed.
7748 (timeclock-mode-line-display): No need to check before using
7749 add-hook.
7750 (timeclock-relative, timeclock-day-over-hook)
7751 (timeclock-use-elapsed, timeclock-mode-string)
7752 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7753
7754 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7755 crisp-mode-modeline-string.
7756
7757 * play/solitaire.el (solitaire-build-mode-line): Rename from
7758 solitaire-build-modeline. All callers changed.
7759
7760 * play/zone.el (zone-hiding-mode-line): Rename from
7761 zone-hiding-modeline. All callers changed.
7762 (zone): Remove unusued `modeline-hidden-level' property.
7763
7764 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7765 xscheme-modeline-initialize. All callers changed.
7766
7767 * strokes.el (strokes-lighter): Rename from
7768 strokes-modeline-string.
7769
7770 * textmodes/sgml-mode.el (html-face-tag-alist)
7771 (html-tag-face-alist): Use mode-line face instead of obsolete
7772 alias modeline.
7773
7774 2012-06-02 Stefan Merten <smerten@oekonux.de>
7775
7776 * textmodes/rst.el: Always require `cl'.
7777 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7778
7779 2012-06-02 Chong Yidong <cyd@gnu.org>
7780
7781 * image.el (imagemagick-enabled-types): Rename from
7782 imagemagick-types-enable. Add many more types.
7783 (imagemagick-types-inhibit): Change default to nil.
7784 (imagemagick-filter-types): Caller changed.
7785
7786 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * emacs-lisp/cl-macs.el: Use backquotes.
7789 (cl-transform-function-property): Use eval-and-compile rather than
7790 abusing `require'.
7791 (defstruct): Use declare-function instead of with-no-warnings.
7792
7793 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7794 (byte-compile-output-docform): Re-add the print-circle bindings.
7795 (byte-compile-fix-header): Use #$ just because it's shorter.
7796 (byte-compile-output-file-form): Remove defun/defmacro.
7797
7798 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7799
7800 * simple.el (choose-completion): Remove now obsolete binding for
7801 owindow.
7802
7803 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7806 in order to avoid "Stack overflow in regexp matcher".
7807
7808 2012-05-31 Glenn Morris <rgm@gnu.org>
7809
7810 * image.el: For clarity, call imagemagick-register-types at
7811 top-level, rather than relying on a custom :initialize.
7812 (imagemagick-types-enable): New option. (Bug#11557)
7813 (imagemagick-filter-types): New function. (Bug#7406)
7814 (imagemagick-register-types): Use imagemagick-filter-types.
7815 If disabling support, remove elements altogether rather
7816 than using an impossible regexp.
7817 (imagemagick-types-inhibit): Give it the default init function.
7818
7819 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7822 Handle arbitrary file name lengths (Bug#11585).
7823
7824 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7825
7826 * desktop.el (desktop-read): Clear previous and next buffers for
7827 all windows and bury *Messages* buffer (bug#11556).
7828
7829 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 Add `declare' for `defun'. Align `defmacro's with it.
7832 * emacs-lisp/easy-mmode.el (define-minor-mode)
7833 (define-globalized-minor-mode): Don't autoload the var definitions.
7834 * emacs-lisp/byte-run.el: Use lexical-binding.
7835 (defun-declarations-alist, macro-declarations-alist): New vars.
7836 (defmacro, defun): Use them.
7837 (make-obsolete, define-obsolete-function-alias)
7838 (make-obsolete-variable, define-obsolete-variable-alias):
7839 Use `declare'.
7840 (macro-declaration-function): Mark obsolete.
7841 * emacs-lisp/autoload.el: Use lexical-binding.
7842 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7843
7844 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7845
7846 * textmodes/ispell.el (ispell-with-no-warnings):
7847 Define as a macro.
7848 (ispell-kill-ispell, ispell-change-dictionary):
7849 Use `called-interactively-p' for Emacs instead of obsolete
7850 `interactive-p'.
7851
7852 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7855 (macro-declaration-function): Move var from C code.
7856 (macro-declaration-function): Define function with defalias.
7857 * emacs-lisp/macroexp.el (macroexpand-all-1):
7858 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7860 defun/defmacro any more.
7861 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7862 Provide fallback for unknown arglist.
7863 (byte-compile-arglist-warn): Change calling convention.
7864 (byte-compile-output-file-form): Move print-vars binding.
7865 (byte-compile-output-docform): Simplify accordingly.
7866 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7867 (byte-compile-defmacro-declaration): Remove.
7868 (byte-compile-file-form-defmumble): Generalize to defalias.
7869 (byte-compile-output-as-comment): Return byte-positions.
7870 Simplify callers accordingly.
7871 (byte-compile-lambda): Use `assert'.
7872 (byte-compile-defun, byte-compile-defmacro): Remove.
7873 (byte-compile-file-form-defalias):
7874 Use byte-compile-file-form-defmumble.
7875 (byte-compile-defalias-warn): Remove.
7876
7877 2012-05-29 Stefan Merten <smerten@oekonux.de>
7878
7879 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7880 possible. Fix authors. Improve comments. Improve loading of `cl'.
7881
7882 (rst-mode-abbrev-table): Merge definition.
7883 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7884 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7885
7886 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7887
7888 * calendar/icalendar.el
7889 (icalendar-export-region): Export UID properly.
7890
7891 2012-05-29 Leo Liu <sdl.web@gmail.com>
7892 * calendar/icalendar.el (icalendar-import-format):
7893 Add `icalendar-import-format-uid' (Bug#11525).
7894 (icalendar-import-format-uid): New.
7895 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7896 Export UID.
7897
7898 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7901 different alternative patterns.
7902 (pcase-codegen): Be more careful to preserve identity.
7903 (pcase--u1): Don't forget to mark vars as used.
7904
7905 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7906 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7907 (byte-compile-from-buffer): ...rather than here.
7908
7909 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7910 functions from byte-compile-function-environment.
7911
7912 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7913
7914 * window.el (window-deletable-p): Avoid deleting the root window
7915 of a frame with an active minibuffer.
7916
7917 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7918
7919 * simple.el (choose-completion): Use quit-window (Bug#11567).
7920
7921 2012-05-29 Chong Yidong <cyd@gnu.org>
7922
7923 * whitespace.el (whitespace-cleanup): Fix usage of
7924 whitespace-empty-at-bob-regexp (Bug#11492).
7925
7926 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7927
7928 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7929 revert (Bug#11488).
7930
7931 2012-05-29 Juri Linkov <juri@jurta.org>
7932
7933 * isearch.el (isearch-mode-map): Bind `M-s _' to
7934 `isearch-toggle-symbol'. Bind `M-s c' to
7935 `isearch-toggle-case-fold'.
7936 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7937 (isearch-forward): Add `M-s _' to the docstring.
7938 (isearch-forward-symbol, isearch-toggle-case-fold)
7939 (isearch-symbol-regexp): New functions. (Bug#11381)
7940
7941 2012-05-29 Juri Linkov <juri@jurta.org>
7942
7943 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7944 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7945 a function, call it to get the regexp.
7946 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7947 property `isearch-message-prefix' instead of the string "word ".
7948 (isearch-search-fun-default): For the case of `isearch-word',
7949 return a lambda that calls re-search-forward/re-search-backward
7950 with a regexp returned by `word-search-regexp' or by the function
7951 in `isearch-word'.
7952
7953 2012-05-29 Juri Linkov <juri@jurta.org>
7954
7955 * isearch.el (isearch-search-fun-default): New function.
7956 (isearch-search-fun): Move default part to the new function
7957 `isearch-search-fun-default'.
7958 (isearch-search-fun-function): Set the default value to
7959 `isearch-search-fun-default'. (Bug#11381)
7960
7961 * comint.el (comint-history-isearch-end):
7962 Use `isearch-search-fun-default'.
7963 (comint-history-isearch-search): Use `isearch-search-fun-default'
7964 and remove spacial case for `isearch-word'.
7965 (comint-history-isearch-wrap): Remove spacial case for
7966 `isearch-word'.
7967
7968 * hexl.el (hexl-isearch-search-function):
7969 Use `isearch-search-fun-default'.
7970
7971 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7972 Use `word-search-regexp' for `isearch-word'.
7973
7974 * misearch.el (multi-isearch-search-fun):
7975 Use `isearch-search-fun-default'.
7976
7977 * simple.el (minibuffer-history-isearch-search):
7978 Use `isearch-search-fun-default' and remove spacial case for
7979 `isearch-word'.
7980 (minibuffer-history-isearch-wrap): Remove spacial case for
7981 `isearch-word'.
7982
7983 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7984 Remove spacial case for `isearch-word'.
7985 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7986
7987 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7988
7989 Decrease XEmacs incompatibilities.
7990 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7991 Use `string-match'.
7992 (flyspell-delete-region-overlays): Use alternative definition for
7993 XEmacs.
7994 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7995 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7996 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7997 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7998 `define-obsolete-face-alias' under XEmacs, but old method.
7999
8000 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8001 `with-no-warnings' definition or Emacs alias.
8002 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8003 (ispell-word): Do not use `region-p' if XEmacs.
8004
8005 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8006
8007 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8008 Check for `ispell-dictionary-base-alist' instead of full
8009 `ispell-dictionary-alist'.
8010 (ispell-init-process): Show spellchecker when starting new Ispell
8011 process.
8012
8013 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8016 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8017
8018 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * version.el (motif-version-string, gtk-version-string)
8021 (ns-version-string): Declare.
8022
8023 2012-05-27 Juri Linkov <juri@jurta.org>
8024
8025 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8026 after the `eval-defun-1' specialcaseing
8027 like in `edebug-eval-defun' (bug#10181).
8028
8029 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8030 like in `eval-defun-1'.
8031
8032 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8033
8034 * mail/sendmail.el (mail-yank-region):
8035 Recognize rmail-yank-current-message in addition to insert-buffer.
8036 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8037 a *mail* buffer created through rmail-start-mail with sendmail as
8038 mail-user-agent.
8039
8040 2012-05-27 Chong Yidong <cyd@gnu.org>
8041
8042 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8043 Default to 256 (Bug#11267).
8044
8045 * help.el (describe-mode): Doc fix.
8046
8047 2012-05-26 Glenn Morris <rgm@gnu.org>
8048
8049 * w32-fns.el (w32-init-info): Remove.
8050 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8051
8052 * info.el (info-initialize): For self-contained NS builds, put the
8053 included info/ directory at the front. (Bug#2791)
8054
8055 * paths.el (Info-default-directory-list): Make it a defcustom,
8056 mainly so that we can use custom-initialize-delay.
8057
8058 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * subr.el (buffer-has-markers-at): Mark obsolete.
8061
8062 * subr.el (lambda): Use declare.
8063
8064 * emacs-lisp/lisp-mode.el (lambda):
8065 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8066
8067 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8068
8069 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8070
8071 2012-05-26 Glenn Morris <rgm@gnu.org>
8072
8073 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8074
8075 2012-05-25 Glenn Morris <rgm@gnu.org>
8076
8077 * paths.el: Remove no-byte-compile.
8078 * loadup.el: No need to load paths.el uncompiled.
8079
8080 * image.el (imagemagick-types-inhibit): Doc fix.
8081
8082 * version.el: Remove no-byte-compile and associated formatting.
8083 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8084 is ancient code from when there was an "inc-vers.el".
8085
8086 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * progmodes/gdb-mi.el: Minor style changes.
8089 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8090 Turn into minor modes.
8091 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8092 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8093 (gdb-shell): Remove unneeded let-binding.
8094 (gdb-get-many-fields): Eliminate O(n²) behavior.
8095
8096 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8097
8098 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8099 platforms that don't link in fontset.c.
8100
8101 2012-05-25 Juri Linkov <juri@jurta.org>
8102
8103 Use the same diff color scheme as in modern VCSes (bug#10181).
8104
8105 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8106 to avoid confusion with `diff-added' that now uses green colors.
8107 (diff-removed): Use shades of red.
8108 (diff-added): Use shades of green.
8109 (diff-changed): Leave just the yellow color.
8110 (diff-use-changed-face): New variable.
8111 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8112 how to highlight context diff changes.
8113 (diff-refine-change): Use shades of yellow.
8114 (diff-refine-removed): New face that uses shades of red.
8115 (diff-refine-added): New face that uses shades of green.
8116 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8117 `diff-refine-removed' in the call to `smerge-refine-subst'
8118 depending on the value of `diff-use-changed-face'.
8119
8120 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8121 (smerge-other): Use shades of green.
8122 (smerge-base): Use shades of yellow.
8123 (smerge-refined-change): Empty face.
8124 (smerge-refined-removed): New face that uses shades of red.
8125 (smerge-refined-added): New face that uses shades of green.
8126 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8127 args `props-r' and `props-a', and use them. Doc fix.
8128 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8129 on its value use different faces `smerge-refined-change',
8130 `smerge-refined-removed', `smerge-refined-added' in the call to
8131 `smerge-refine-subst'.
8132
8133 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8134 Add face condition `min-colors 88' with shades of red.
8135 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8136 `min-colors 88' with shades of green.
8137 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8138 `min-colors 88' with shades of yellow.
8139
8140 2012-05-24 Glenn Morris <rgm@gnu.org>
8141
8142 * paths.el (prune-directory-list, remote-shell-program): Move to...
8143 * files.el (prune-directory-list, remote-shell-program): ...here.
8144 For the latter, delay initialization, prefer ssh, just search PATH.
8145
8146 * paths.el (term-file-prefix): Move to faces.el (the only user).
8147 * faces.el (term-file-prefix): Move here, make it a defcustom.
8148
8149 * paths.el (news-directory, news-path, news-inews-program):
8150 Move to gnus/nnspool.el.
8151
8152 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8153
8154 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8155 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8156 Make the latter a defcustom, with a delayed initialization.
8157
8158 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8159 These were deleted from Gnus itself late 2010.
8160
8161 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8162
8163 * progmodes/which-func.el (which-func-ff-hook):
8164 Check against user-error, not error.
8165
8166 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8167 cl-specs.el, which no longer exists.
8168
8169 2012-05-22 Glenn Morris <rgm@gnu.org>
8170
8171 * info.el (info-emacs-bug): New command.
8172 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8173 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8174
8175 2012-05-21 Glenn Morris <rgm@gnu.org>
8176
8177 * makefile.w32-in (update-subdirs-SH):
8178 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8179
8180 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8183
8184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8185 Simplify Maven regexp, and make sure the file can't start with a space
8186 (bug#11517).
8187
8188 2012-05-21 Glenn Morris <rgm@gnu.org>
8189
8190 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8191 Scrap superfluous subshells.
8192
8193 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8196 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8197
8198 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8199
8200 * calc/calc.el (calc-ensure-consistent-units): New variable.
8201
8202 * calc/calc-units.el (math-consistent-units-p)
8203 (math-check-unit-consistency): New functions.
8204 (calc-quick-units, calc-convert-units):
8205 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8206 is non-nil.
8207 (calc-extract-units): Fix typo.
8208
8209 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8212
8213 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8214 (flyspell-default-deplacement-commands): Don't spell check after
8215 repeated window/frame switches (e.g. triggered by mouse-movement).
8216 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8217 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8218 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8219 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8220 Remove unused vars.
8221 (flyspell-get-casechars, flyspell-get-not-casechars):
8222 Simplify; Don't bother removing a ] just to add it back.
8223 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8224
8225 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8226
8227 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8228 New functions.
8229 (math-function-table): Add support for more C functions.
8230
8231 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8232
8233 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8234 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8235 Protect delay handling for otherchars against empty otherchars.
8236
8237 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8240 their respective macro declarations.
8241 * skeleton.el (define-skeleton):
8242 * progmodes/compile.el (define-compilation-mode):
8243 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8244 (define-ibuffer-filter):
8245 * emacs-lisp/generic.el (define-generic-mode):
8246 * emacs-lisp/easy-mmode.el (define-minor-mode)
8247 (define-globalized-minor-mode):
8248 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8249 * emacs-lisp/byte-run.el (defsubst):
8250 * custom.el (deftheme): Add doc-string metadata.
8251
8252 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8255
8256 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8259
8260 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8261 * emacs-lisp/cl-macs.el: Idem.
8262 * emacs-lisp/cl-specs.el: Remove.
8263
8264 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 Minor renaming of internal CL functions and variables.
8267 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8268 (cl--position): Rename from cl-position.
8269 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8270 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8271 (cl--random-state): Rename from *random-state*.
8272
8273 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8276 parens around the arg list (bug#11499).
8277
8278 2012-05-17 Juri Linkov <juri@jurta.org>
8279
8280 * isearch.el (word-search-regexp, word-search-backward)
8281 (word-search-forward, word-search-backward-lax)
8282 (word-search-forward-lax): Move functions from search.c
8283 (bug#10145, bug#11381).
8284
8285 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8286
8287 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8288 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8289 Delay for otherchars as for normal word components.
8290
8291 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * minibuffer.el (completion--sifn-requote): Fix last change.
8294 (minibuffer-local-must-match-filename-map):
8295 Move define-obsolete-variable-alias before its var.
8296
8297 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8300
8301 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8302 behavior.
8303 (completion--string-equal-p): New function.
8304 (completion--twq-all): Use it to get better assertion failure data.
8305
8306 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8307 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8308 (shell--requote-argument): New functions.
8309 (shell-completion-vars): Use them.
8310 (shell--parse-pcomplete-arguments): Rename from
8311 shell-parse-pcomplete-arguments.
8312 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8313 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8314 Obey comint-file-name-quote-list.
8315
8316 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8317 (smie-indent-keyword): Use it.
8318
8319 2012-05-14 Stefan Merten <smerten@oekonux.de>
8320
8321 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8322
8323 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * net/rlogin.el (rlogin-mode-map): Fix last change.
8326
8327 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8328
8329 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8330 the following \r\n using a single `process-send-string', since the
8331 Lotus SMTP server refuses to accept any commands if they are sent
8332 with two `process-send-string's (Bug#11444).
8333
8334 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * shell.el (shell-parse-pcomplete-arguments):
8337 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8338
8339 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8340
8341 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8342 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8343 (image-transform-width, image-transform-fit-width): New functions.
8344 (image-transform-properties): Use them.
8345 (image-transform-check-size): New function.
8346 (image-toggle-display-image): Use it (for testing).
8347 (image-transform-set-rotation): Reduce angle mod 360.
8348 Delete obsolete comment.
8349
8350 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8351
8352 * image-mode.el: Fix scaling (bug#11399).
8353 (image-transform-resize): Doc fix.
8354 (image-transform-properties): Default scale is 1 and height should
8355 be an integer.
8356
8357 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8358
8359 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8360 than hard-coding `car', to fix misbehavior when moving forward.
8361
8362 2012-05-13 Chong Yidong <cyd@gnu.org>
8363
8364 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8365 (tabulated-list-entries, tabulated-list-padding)
8366 (tabulated-list-sort-key): Make permanent-local.
8367
8368 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8369 (electric-buffer-list): Put electric buffer menu
8370 command descriptions in this docstring, instead of the docstring
8371 of electric-buffer-menu-mode. Code cleanups.
8372 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8373 Electric-buffer-menu-mode.
8374 (electric-buffer-update-highlight): Minor code cleanup.
8375
8376 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8377
8378 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8379 (Bug#11447)
8380
8381 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 Move define-obsolete-variable-alias before the var's definition.
8384 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8385 * tooltip.el (tooltip-hook):
8386 * textmodes/reftex-toc.el (reftex-toc-map):
8387 * textmodes/reftex-sel.el (reftex-select-label-map)
8388 (reftex-select-bib-map):
8389 * textmodes/reftex-index.el (reftex-index-map)
8390 (reftex-index-phrases-map):
8391 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8392 * progmodes/meta-mode.el (meta-mode-map):
8393 * novice.el (disabled-command-hook):
8394 * loadhist.el (unload-hook-features-list):
8395 * frame.el (blink-cursor):
8396 * files.el (find-file-not-found-hooks, write-file-hooks)
8397 (write-contents-hooks):
8398 * emulation/tpu-edt.el (GOLD-map):
8399 * emacs-lock.el (emacs-lock-from-exiting):
8400 * emacs-lisp/generic.el (generic-font-lock-defaults):
8401 * emacs-lisp/chart.el (chart-map):
8402 * dos-fns.el (register-name-alist):
8403 * dired-x.el (dired-omit-files-p):
8404 * desktop.el (desktop-enable):
8405 * cus-edit.el (custom-mode-hook):
8406 * buff-menu.el (buffer-menu-mode-hook):
8407 * bookmark.el (bookmark-read-annotation-text-func)
8408 (bookmark-exit-hooks):
8409 * allout.el (allout-mode-deactivate-hook)
8410 (allout-exposure-change-hook, allout-structure-added-hook)
8411 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8412 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8413 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8414 comes before the corresponding variable's definition.
8415
8416 2012-05-12 Chong Yidong <cyd@gnu.org>
8417
8418 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8419 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8420 (Buffer-menu-mode-map): Bind it.
8421 (Buffer-menu--pretty-name): Add a mouse-face property.
8422
8423 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8426 (prolog-upper-case-string, prolog-lower-case-string)
8427 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8428 (prolog-use-smie, prolog-smie-grammar): New vars.
8429 (prolog-smie-forward-token, prolog-smie-backward-token)
8430 (prolog-smie-rules): New funs.
8431 (prolog-comment-indent): Remove.
8432 (prolog-mode-variables): Use default comment indentation instead.
8433 Setup SMIE.
8434 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8435 (prolog-mode): Don't call them any more.
8436 (prolog-electric-colon, prolog-electric-dash)
8437 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8438
8439 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8440
8441 * minibuffer.el (completion--twq-all): Again, allow case differences.
8442
8443 * term.el: Move keymap initialization code to be more idiomatic.
8444 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8445 (term-terminal-menu): Move initialization into declaration.
8446 (term-escape-char): Let the user set it in her .emacs.
8447
8448 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8449 Provide SMIE-based indentation (not enabled by default yet).
8450 (sh-mode-map): Don't bind electric keys.
8451 Use electric-pair-mode instead of skeleton-pair.
8452 (sh-assignment-regexp): Fit within 80 columns.
8453 (sh-indent-supported): Specify actual shell name instead of boolean.
8454 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8455 (sh-maybe-here-document): Use it. Make obsolete.
8456 (sh-electric-here-document-mode) New minor mode.
8457 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8458 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8459 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8460 (sh-smie-rc-grammar, sh-use-smie): New vars.
8461 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8462 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8463 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8464 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8465 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8466 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8467 (sh-set-shell): Use smie-setup if requested.
8468
8469 * term.el (term-set-escape-char): Properly set term-escape-char.
8470 See http://stackoverflow.com/questions/10524656.
8471
8472 2012-05-10 Chong Yidong <cyd@gnu.org>
8473
8474 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8475 Use url-generic-parse-url, and handle host names and Windows
8476 filenames properly.
8477 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8478 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8479 URL schemes to work on.
8480 (ffap--toggle-read-only): New function.
8481 (ffap-read-only, ffap-read-only-other-window)
8482 (ffap-read-only-other-frame): Use it.
8483 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8484 necessary for ffap-url-unwrap-remote.
8485
8486 2012-05-10 Dave Abrahams <dave@boostpro.com>
8487
8488 * cus-start.el (create-lockfiles): Add it.
8489
8490 2012-05-09 Chong Yidong <cyd@gnu.org>
8491
8492 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8493 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8494
8495 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8498
8499 2012-05-09 Chong Yidong <cyd@gnu.org>
8500
8501 * ansi-color.el (ansi-color-process-output): Check for validity of
8502 comint-last-output-start before using it. This avoids a bad
8503 interaction with gdb-mi's input/output buffer.
8504
8505 2012-05-09 Glenn Morris <rgm@gnu.org>
8506
8507 * files.el (dir-locals-read-from-file):
8508 Mention dir-locals in any error message.
8509
8510 2012-05-09 Chong Yidong <cyd@gnu.org>
8511
8512 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8513 package (Bug#11410).
8514
8515 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8516 variables into description.
8517
8518 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8521 shell-delimiter-argument-list (bug#11348).
8522 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8523
8524 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * textmodes/rst.el: Silence byte-compiler warnings.
8527 (rst-re-alist, rst-reset-section-caches): Move around.
8528 (rst-re): Use `characterp', not `char-valid-p'.
8529 (font-lock-beg, font-lock-end): Declare.
8530
8531 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8532 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8533
8534 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8535
8536 2012-05-08 Glenn Morris <rgm@gnu.org>
8537
8538 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8539
8540 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * vc/log-edit.el: Add GNU coding standards highlighting.
8543 (log-edit-font-lock-gnu-style)
8544 (log-edit-font-lock-gnu-keywords): New vars.
8545 (log-edit-font-lock-keywords): New fun.
8546 (log-edit-mode): Don't fold case in font-lock.
8547 (log-edit-font-lock-keywords): Do not assume case-folding.
8548
8549 * imenu.el: Misc cleanup. Make docstrings out of comments.
8550 Use lexical-binding.
8551 (imenu--index-alist, imenu--last-menubar-index-alist)
8552 (imenu-menubar-modified-tick): Use defvar-local.
8553 (imenu--split-menu): Remove unused var.
8554 (imenu--cleanup-seen): Declare as global.
8555 (imenu--cleanup): Use dolist.
8556
8557 * subr.el (defvar-local): Add debug spec and doc-string position.
8558
8559 2012-05-08 Glenn Morris <rgm@gnu.org>
8560
8561 * language/burmese.el, language/cham.el, language/czech.el:
8562 * language/english.el, language/georgian.el, language/greek.el:
8563 * language/japanese.el, language/khmer.el, language/korean.el:
8564 * language/lao.el, language/misc-lang.el, language/romanian.el:
8565 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8566 * language/thai.el, language/utf-8-lang.el:
8567 Remove no-byte-compile setting.
8568
8569 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8570
8571 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8572
8573 * progmodes/make-mode.el (makefile-browse):
8574 Remove unnecessary interactive. (Bug#11324)
8575
8576 2012-05-07 Glenn Morris <rgm@gnu.org>
8577
8578 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8579
8580 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8581
8582 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * loadup.el: Preload newcomment.el.
8585 * newcomment.el: Move autoload-only code to toplevel.
8586
8587 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8588 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8589 Handle new :right-align column property.
8590 (tabulated-list-print-col): Idem, plus use `display' text-property to
8591 try and preserve alignment for variable pitch fonts.
8592
8593 2012-05-07 Chong Yidong <cyd@gnu.org>
8594
8595 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8596 (tabulated-list-use-header-line): New var.
8597 (tabulated-list-init-header): Use it.
8598 (tabulated-list-print-fake-header): New function.
8599 (tabulated-list-print): Use it.
8600 (tabulated-list-sort-button-map): Add non-header-line commands.
8601 (tabulated-list-init-header): Add column name property to basic
8602 labels as well.
8603 (tabulated-list-col-sort): Handle non-header-line button case.
8604 (tabulated-list--sort-by-column-name): Fix a corner case.
8605
8606 * buff-menu.el (list-buffers--refresh):
8607 Handle Buffer-menu-use-header-line.
8608
8609 2012-05-06 Chong Yidong <cyd@gnu.org>
8610
8611 * buff-menu.el: Convert to Tabulated List mode.
8612 (Buffer-menu-buffer+size-width): Make obsolete.
8613 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8614 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8615 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8616 documentation into docstring of buffer-menu.
8617 (Buffer-menu-toggle-files-only): Add an informative message.
8618 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8619 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8620 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8621 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8622 (Buffer-menu-execute, Buffer-menu-select)
8623 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8624 (Buffer-menu-bury): Use Tabulated List machinery.
8625 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8626 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8627 Delete.
8628 (list-buffers--refresh): New function.
8629 (list-buffers-noselect): Use it.
8630 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8631 (Buffer-menu--pretty-file-name): New helper functions.
8632
8633 * loadup.el: Preload tabulated-list.
8634
8635 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8636 tabulated-list-sort-column.
8637 (tabulated-list-init-header): Add the initial aligning space even
8638 if tabulated-list-padding is zero.
8639
8640 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8641
8642 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8643 whose cdr is not a cons cell correctly (bug#11038).
8644
8645 2012-05-06 Chong Yidong <cyd@gnu.org>
8646
8647 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8648 Accept additional plist in column descriptors.
8649 (tabulated-list-init-header): Obey it.
8650 (tabulated-list-get-entry): New function.
8651 (tabulated-list-put-tag): Use it. Use string-width instead of
8652 length.
8653 (tabulated-list--column-number): New function.
8654 (tabulated-list-print): Use it.
8655 (tabulated-list-print-col): New function.
8656 Set `tabulated-list-column-name' property on each column's text.
8657 (tabulated-list-print-entry): Use it.
8658 (tabulated-list-delete-entry, tabulated-list-set-col):
8659 New functions.
8660 (tabulated-list-sort-column): New command (Bug#11337).
8661
8662 * buff-menu.el (list-buffers): Move C-x C-b binding from
8663 buff-menu.el to bindings.el.
8664
8665 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8666 :advertised-binding feature.
8667
8668 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8669
8670 * progmodes/compile.el (compilation-internal-error-properties):
8671 Calculate start position correctly when end-col is set but
8672 end-line is not (Bug#11382).
8673
8674 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8675
8676 * man.el (Man-unindent): Use text-property-default-nonsticky to
8677 prevent untabify from inheriting face properties (Bug#11408).
8678
8679 2012-05-05 Stefan Merten <smerten@oekonux.de>
8680
8681 * textmodes/rst.el: Major merge with upstream development up to
8682 Docutils SVN r7399 / rst.el V1.2.1.
8683
8684 Clarify maintainership and authors.
8685
8686 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8687 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8688 (rst-official-version, rst-official-cvs-rev, rst-version)
8689 (rst-package-emacs-version-alist): New functions and variables
8690 for version information.
8691
8692 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8693 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8694 (rst-mode-syntax-table, rst-mode): New and corrected functions
8695 and variables representing reStructuredText features.
8696
8697 (rst-re): New function for reStructuredText regexes. Use in
8698 many places.
8699
8700 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8701 (rst-mode-map): Rebind keys.
8702
8703 (rst-mode-lazy, rst-font-lock-keywords)
8704 (rst-font-lock-extend-region)
8705 (rst-font-lock-extend-region-internal)
8706 (rst-font-lock-extend-region-extend)
8707 (rst-font-lock-find-unindented-line-limit)
8708 (rst-font-lock-find-unindented-line-match)
8709 (rst-adornment-level, rst-font-lock-adornment-level)
8710 (rst-font-lock-adornment-match)
8711 (rst-font-lock-handle-adornment-pre-match-form)
8712 (rst-font-lock-handle-adornment-matcher): Major revision of
8713 font-locking. Integrate with other code. Use `jit-lock-mode'.
8714
8715 (rst-preferred-adornments, rst-adjust-hook)
8716 (rst-new-adornment-down, rst-preferred-bullets)
8717 (rst-preferred-bullets, rst-indent, rst-indent-width)
8718 (rst-indent-field, rst-indent-literal-normal)
8719 (rst-indent-literal-minimized, rst-indent-comment): Change,
8720 extend and improve customization.
8721
8722 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8723 (rst-normalize-cursor-position, rst-get-decoration)
8724 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8725 (rst-rstrip, rst-toc-insert-find-delete-contents)
8726 (rst-shift-fill-region, rst-compute-bullet-tabs)
8727 (rst-debug-print-tabs, rst-debug-mark-found)
8728 (rst-shift-region-guts, rst-shift-region-right)
8729 (rst-shift-region-left, rst-use-char-classes)
8730 (rst-font-lock-keywords-function)
8731 (rst-font-lock-indentation-point)
8732 (rst-font-lock-find-unindented-line-begin)
8733 (rst-font-lock-find-unindented-line-end)
8734 (rst-font-lock-find-unindented-line)
8735 (rst-font-lock-adornment-point, rst-font-lock-level)
8736 (rst-adornment-level-alist): Remove functions and variables.
8737
8738 (rst-compare-adornments, rst-get-adornment-match)
8739 (rst-suggest-new-adornment, rst-get-adornments-around)
8740 (rst-adornment-complete-p, rst-get-next-adornment)
8741 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8742 (rst-straighten-adornments): Standardize function names to
8743 use "adornment" instead of "decoration". Correct callers.
8744 Similar standardizing in many places.
8745
8746 (rst-update-section, rst-adjust, rst-promote-region)
8747 (rst-enumerate-region, rst-bullet-list-region)
8748 (rst-repeat-last-character): Correct use of `interactive'.
8749
8750 (rst-classify-adornment, rst-find-all-adornments)
8751 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8752 (rst-find-leftmost-column, rst-repeat-last-character):
8753 Refactor functions.
8754
8755 (rst-find-title-line, rst-reset-section-caches)
8756 (rst-get-adornments-around, rst-adjust-adornment-work)
8757 (rst-arabic-to-roman, rst-roman-to-arabic)
8758 (rst-insert-list-pos, rst-insert-list-new-item)
8759 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8760 New functions.
8761
8762 (rst-all-sections, rst-section-hierarchy)
8763 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8764 New variables.
8765
8766 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8767 configuration instead of only buffer. Change where necessary.
8768
8769 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8770 (rst-shift-region, rst-adaptive-fill): New functions for
8771 indentation and filling.
8772
8773 (rst-comment-line-break, rst-comment-indent)
8774 (rst-comment-insert-comment, rst-comment-region)
8775 (rst-uncomment-region): New functions for handling comments.
8776
8777 (rst-compile): Quote shell arguments.
8778
8779 (rst-compile-pdf-preview, rst-compile-slides-preview):
8780 Delete temporary files after use.
8781
8782 2012-05-05 Glenn Morris <rgm@gnu.org>
8783
8784 * calendar/cal-html.el: Optionally include holidays in the output.
8785 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8786 (cal-html-holidays): New option.
8787 (cal-html-css-default): Add holiday entry.
8788 (holiday-in-range): Autoload it.
8789 (cal-html-htmlify-entry): Add optional class argument.
8790 (cal-html-htmlify-list): Add optional holidays argument.
8791 (cal-html-insert-agenda-days): Include holidays in the output.
8792 (cal-html-one-month): Maybe include holidays.
8793
8794 * calendar/holidays.el (holiday-in-range):
8795 Move here from cal-tex-list-holidays.
8796 * calendar/cal-tex.el (cal-tex-list-holidays):
8797 Make it an obsolete alias for holiday-in-range. Update all callers.
8798
8799 2012-05-05 Chong Yidong <cyd@gnu.org>
8800
8801 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8802 Nextstep.
8803
8804 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8805
8806 * files.el (file-auto-mode-skip): New var.
8807 (set-auto-mode-1): Use it.
8808
8809 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * repeat.el: Use lexical-binding.
8812 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8813 (repeat-undo-count): Remove.
8814 (repeat):
8815 * progmodes/octave-mod.el (octave-abbrev-start):
8816 * progmodes/f90.el (f90-abbrev-start):
8817 * face-remap.el (text-scale-adjust):
8818 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8819
8820 * emacs-lisp/pcase.el (pcase--let*): New function.
8821 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8822 a bit more.
8823 (pcase--split-pred): Be more clever about ruling out overlap between
8824 a predicate and some constant pattern.
8825 (pcase--q1): Use `null' instead of (eq foo nil).
8826
8827 * subr.el (setq-local, defvar-local): New macros.
8828 (kbd): Redefine as an alias.
8829 (with-selected-window): Leave unrelated frames alone.
8830 (set-temporary-overlay-map): New function.
8831
8832 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * subr.el (user-error): New function.
8835 * window.el (switch-to-buffer):
8836 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8837 (smerge-match-conflict):
8838 * simple.el (previous-matching-history-element)
8839 (next-matching-history-element, goto-history-element, undo-more)
8840 (undo-start):
8841 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8842 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8843 (next-file, tags-loop-scan, list-tags, complete-tag):
8844 * progmodes/compile.el (compilation-loop):
8845 * mouse.el (mouse-minibuffer-check):
8846 * man.el (Man-bgproc-sentinel, Man-goto-page):
8847 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8848 (Info-history-forward, Info-follow-reference, Info-menu)
8849 (Info-extract-menu-item, Info-extract-menu-counting)
8850 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8851 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8852 (Info-next-reference, Info-prev-reference, Info-index)
8853 (Info-index-next, Info-follow-nearest-node)
8854 (Info-copy-current-node-name):
8855 * imenu.el (imenu--make-index-alist)
8856 (imenu-default-create-index-function, imenu-add-to-menubar):
8857 * files.el (basic-save-buffer, recover-file):
8858 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8859 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8860 (checkdoc-message-text, checkdoc-defun):
8861 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8862 * cus-edit.el (customize-changed-options, customize-rogue)
8863 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8864 (custom-variable-mark-to-reset-standard)
8865 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8866 (custom-file):
8867 * completion.el (check-completion-length):
8868 * comint.el (comint-search-arg)
8869 (comint-previous-matching-input-string-position)
8870 (comint-previous-matching-input)
8871 (comint-replace-by-expanded-history-before-point, comint-send-input)
8872 (comint-copy-old-input, comint-backward-matching-input)
8873 (comint-goto-process-mark, comint-set-process-mark):
8874 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8875 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8876
8877 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * dabbrev.el (dabbrev--ignore-case-p): New function.
8880 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8881 Use it.
8882
8883 * files.el (automount-dir-prefix): Mark as obsolete.
8884
8885 2012-05-04 Glenn Morris <rgm@gnu.org>
8886
8887 * patcomp.el, play/bruce.el: Move to obsolete/.
8888
8889 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8890
8891 Fix minor Y10k bugs.
8892 * arc-mode.el (archive-unixdate):
8893 * autoinsert.el (auto-insert-alist):
8894 * calc/calc-forms.el (math-this-year):
8895 * emacs-lisp/copyright.el (copyright-current-year)
8896 (copyright-update-year, copyright):
8897 * tar-mode.el (tar-clip-time-string):
8898 * time.el (display-time-update):
8899 Don't assume years have 4 digits.
8900
8901 2012-05-04 Chong Yidong <cyd@gnu.org>
8902
8903 * dos-w32.el (file-name-buffer-file-type-alist)
8904 (direct-print-region-use-command-dot-com):
8905 * ffap.el (ffap-menu-regexp):
8906 * find-file.el (ff-special-constructs):
8907 * follow.el (follow-debug):
8908 * forms.el (forms--debug):
8909 * iswitchb.el (iswitchb-all-frames):
8910 * ido.el (ido-all-frames):
8911 * emacs-lisp/timer.el (timer-max-repeats):
8912 * mail/feedmail.el (feedmail-mail-send-hook)
8913 (feedmail-mail-send-hook-queued):
8914 * mail/footnote.el (footnote-signature-separator):
8915 * mail/mailabbrev.el (mail-alias-separator-string)
8916 (mail-abbrev-mode-regexp):
8917 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8918 * progmodes/idlwave.el (idlwave-libinfo-file)
8919 (idlwave-default-completion-case-is-down)
8920 (idlwave-library-routines): Convert defvars to defcustoms.
8921
8922 * mail/rmail.el (rmail-decode-mime-charset):
8923 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8924 (idlwave-shell-fix-inserted-breaks)
8925 (idlwave-shell-activate-alt-keybindings)
8926 (idlwave-shell-use-breakpoint-glyph):
8927 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8928
8929 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8932
8933 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8934
8935 * progmodes/verilog-mode.el (font-lock-keywords):
8936 Fix mis-highligting auto. Reported by Craig Barner.
8937 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8938 defines from global name space. Reported by Dan Dever.
8939 (verilog-auto-reset, verilog-auto-reset-widths)
8940 (verilog-auto-tieoff): Support using unbased numbers for
8941 AUTORESET and AUTOTIEOFF.
8942 (verilog-submit-bug-report): Update variable list.
8943 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8944 parenthesis from not matching. Reported by Michael Rytting.
8945 (verilog-auto-template-lint): Fix hash error when linting modules
8946 with no used templates.
8947 (verilog-warn, verilog-warn-error)
8948 (verilog-warn-fatal): When non-interactive report multiple
8949 warnings before exiting. Suggested by Brad Dobbie.
8950 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8951 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8952 to report unused template errors. Reported by Brad Dobbie.
8953 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8954 nets, bug438. Reported by Vns Blore.
8955 (verilog-auto-inout-module, verilog-auto-reg)
8956 (verilog-read-decls, verilog-read-sub-decls-sig)
8957 (verilog-signals-edit-wire-reg, verilog-signals-with):
8958 Fix passing of Verilog data types in ANSI input/output ports
8959 such as "output logic" into the AUTOs. Special case "wire" and
8960 "reg" for backwards compatibility presuming Verilog 2001.
8961 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8962 (verilog-preprocess): Fix replication of preprocess output.
8963 Reported by Brad Dobbie.
8964 (verilog-auto-inst-interfaced-ports):
8965 Create verilog-auto-inst-interfaced-ports, bug429.
8966 Reported by Julian Gorfajn.
8967 (verilog-after-save-font-hook)
8968 (verilog-before-save-font-hook): New variable.
8969 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8970 (verilog-save-font-mods): Wrap disabling fontification, reported
8971 by David Rogoff.
8972 (verilog-do-indent, verilog-pretty-declarations-auto)
8973 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8974 Reported by Pierre-David Pfister.
8975 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8976 of class declarations, bug292. Reported by Kevin Heilman.
8977 (verilog-read-decls): Fix 'parameter type' not appearing in
8978 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8979 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8980 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8981 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8982 Reported by David Kravitz.
8983
8984 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8985
8986 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8987 assignment with tests in ifs and for loops.
8988 (verilog-extended-complete-re, verilog-complete-reg): Change so
8989 that DPI inport functions don't look like fuction declarations.
8990 (verilog-pretty-expr): Don't line up assignment
8991 operations to the test and increment in if and for loops
8992 (verilog-extended-complete-re, verilog-complete-reg): Change so
8993 that DPI inport functions don't look like fuction declarations.
8994
8995 2012-05-03 Kenichi Handa <handa@m17n.org>
8996
8997 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8998 decoding, and show a warning message without signaling an error
8999 (Bug#11282).
9000
9001 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * emacs-lisp/bytecomp.el
9004 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9005 since cconv.el might have introduced :fun-body, internal-make-closure,
9006 and friends for bytecomp to handle (bug#11391).
9007 * custom.el (defcustom): Avoid ((λ ..) ..).
9008
9009 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9012
9013 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9014
9015 * notifications.el (dbus-debug):
9016 * term/linux.el (gpm-mouse-enable):
9017 * term/screen.el (xterm-register-default-colors): Declare.
9018
9019 2012-05-02 Chong Yidong <cyd@gnu.org>
9020
9021 * cus-start.el (gc-cons-percentage, exec-suffixes)
9022 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9023 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9024 (make-cursor-line-fully-visible, void-text-area-pointer)
9025 (font-list-limit): Add customization data.
9026
9027 * allout.el (allout-exposure-change-functions)
9028 (allout-structure-added-functions)
9029 (allout-structure-deleted-functions)
9030 (allout-structure-shifted-functions): Rename abnormal hooks from
9031 *-hook, and convert to defcustoms.
9032 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9033 Convert to defcustoms.
9034 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9035
9036 * allout-widgets.el: Hook callers changed.
9037
9038 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9039
9040 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9041 the yanked message in preference to the default value of
9042 buffer-file-coding-system.
9043
9044 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9045
9046 * window.el (display-buffer--action-function-custom-type):
9047 Fix entry.
9048
9049 2012-05-02 Alan Mackenzie <acm@muc.de>
9050
9051 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9052
9053 2012-05-01 Glenn Morris <rgm@gnu.org>
9054
9055 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9056
9057 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9058
9059 * cus-edit.el (custom-variable-documentation): Simplify with format.
9060
9061 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9062 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * simple.el (suggest-key-bindings, execute-extended-command):
9065 Move from keyboard.c.
9066
9067 2012-05-01 Chong Yidong <cyd@gnu.org>
9068
9069 * follow.el: Eliminate advice.
9070 (set-process-filter, process-filter, sit-for): Advice deleted.
9071 (follow-mode-off-hook): Obsolete hook removed.
9072 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9073 Vars deleted.
9074 (follow-auto): Use a :set function.
9075 (follow-mode): Rewritten. Don't advise process filters.
9076 (follow-switch-to-current-buffer-all, follow-scroll-up)
9077 (follow-scroll-down): Assume follow-mode is bound.
9078 (follow-comint-scroll-to-bottom)
9079 (follow-align-compilation-windows): New functions.
9080 (follow--window-sorter): New function.
9081 (follow-all-followers): Use it to explicitly sort windows by their
9082 positions; don't make assumptions about next-window order.
9083 (follow-windows-start-end, follow-delete-other-windows-and-split)
9084 (follow-calc-win-start): Doc fix.
9085 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9086 vertical-motion unnecessarily.
9087 (follow-adjust-window): New function.
9088 (follow-post-command-hook): Use it.
9089 (follow-call-set-process-filter, follow-call-process-filter)
9090 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9091 (follow-stop-intercept-process-output, follow-generic-filter):
9092 Functions deleted.
9093 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9094 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9095 New functions, replacing advice on scroll-bar-* commands.
9096 (follow-mwheel-scroll): New function (Bug#4112).
9097
9098 * comint.el (comint-adjust-point): New function.
9099 (comint-postoutput-scroll-to-bottom): Use it.
9100 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9101
9102 2012-05-01 Glenn Morris <rgm@gnu.org>
9103
9104 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9105 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9106 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9107 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9108 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9109 Remove no-byte-compile setting.
9110
9111 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9114 all-completions code to not return a number in the last cdr.
9115
9116 2012-04-30 Leo Liu <sdl.web@gmail.com>
9117
9118 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9119 read-only error.
9120
9121 2012-04-29 Chong Yidong <cyd@gnu.org>
9122
9123 * follow.el (follow-calc-win-end): Rewrite to handle partial
9124 screen lines correctly (Bug#8390).
9125 (follow-avoid-tail-recenter): Minor cleanup.
9126
9127 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 Avoid the obsolete `assoc' package.
9130 * speedbar.el (speedbar-refresh): Avoid adelete.
9131 (speedbar-file-lists): Simplify and avoid aput.
9132 * man.el (Man--sections, Man--refpages): New vars, replacing
9133 Man-sections-alist and Man-refpages-alist.
9134 (Man-build-section-alist, Man-build-references-alist):
9135 Use them; avoid aput.
9136 (Man--last-section, Man--last-refpage): New vars.
9137 (Man-follow-manual-reference): Use them.
9138 Use the `default' arg of completing-read.
9139 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9140
9141 2012-04-27 Chong Yidong <cyd@gnu.org>
9142
9143 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9144
9145 * startup.el (x-apply-session-resources): New function.
9146
9147 * term/ns-win.el (ns-initialize-window-system):
9148 * term/w32-win.el (w32-initialize-window-system):
9149 * term/x-win.el (x-initialize-window-system): Use it to properly
9150 set menu-bar-mode and other vars from X resources, even if the
9151 initial frame is not a window-system frame (Bug#2299).
9152
9153 * subr.el (read-key): Avoid running filter function when setting
9154 up temporary tool bar entries (Bug#9922).
9155
9156 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9157
9158 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9159 (Bug#11344)
9160
9161 2012-04-27 Chong Yidong <cyd@gnu.org>
9162
9163 * select.el (xselect--encode-string): New function, split from
9164 xselect-convert-to-string.
9165 (xselect-convert-to-string): Use it.
9166 (xselect-convert-to-filename, xselect-convert-to-os)
9167 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9168 returned strings are properly encoded (Bug#11315).
9169
9170 2012-04-27 Chong Yidong <cyd@gnu.org>
9171
9172 * simple.el (delete-active-region): Move to killing custom group.
9173
9174 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9175
9176 * progmodes/which-func.el (which-func-current): Quote %
9177 characters for mode-line processing.
9178
9179 2012-04-27 Chong Yidong <cyd@gnu.org>
9180
9181 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9182 reaching eob (Bug#11286).
9183
9184 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9185
9186 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9187 (gdb): Make it buffer-local and init to zero.
9188 (gdb-control-commands-regexp): New variable.
9189 (gdb-send): Don't wrap in "-interpreter-exec console" if
9190 gdb-control-level is positive. Increment gdb-control-level
9191 whenever the command matches gdb-control-commands-regexp, and
9192 decrement it each time the command is "end". (Bug#11279)
9193
9194 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9195
9196 * window.el (adjust-window-trailing-edge, enlarge-window)
9197 (shrink-window, window-resize):
9198 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9199 windows (Bug#11276).
9200
9201 2012-04-27 Chong Yidong <cyd@gnu.org>
9202
9203 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9204 fix "missing prefix" warning. All callers changed.
9205
9206 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * emacs-lisp/assoc.el: Move to obsolete/.
9209
9210 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9213
9214 * term/ns-win.el (ns-define-service):
9215 * progmodes/pascal.el (pascal-goto-defun):
9216 * progmodes/js.el (js--read-tab):
9217 * progmodes/etags.el (tags-lazy-completion-table):
9218 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9219 * emacs-lisp/ewoc.el (ewoc--wrap):
9220 * emacs-lisp/assoc.el (aput, adelete, amake):
9221 * doc-view.el (doc-view-convert-current-doc):
9222 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9223
9224 2012-04-26 Chong Yidong <cyd@gnu.org>
9225
9226 * image.el (image-type-from-buffer): Only return supported image
9227 type (Bug#9045).
9228
9229 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9230 value, for symmetry with diff-end-of-hunk.
9231 (diff-split-hunk, diff-find-source-location)
9232 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9233 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9234 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9235 compute the relevant hunk or file properly (Bug#6005).
9236 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9237
9238 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * vc/vc-mtn.el:
9241 * vc/vc-hg.el:
9242 * vc/vc-git.el:
9243 * vc/vc-dir.el:
9244 * vc/vc-cvs.el:
9245 * vc/vc-bzr.el:
9246 * vc/vc-arch.el:
9247 * vc/vc.el: Replace lexical-let by lexical-binding.
9248 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9249 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9250 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9251
9252 2012-04-26 Chong Yidong <cyd@gnu.org>
9253
9254 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9255 (diff-mode-shared-map): Bind it to / and [remap undo].
9256
9257 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9258 (ediff-window-setup-function): Use it as the default, to set up
9259 windows based on whether the current frame is graphical (Bug#2138).
9260 (ediff-choose-window-setup-function-automatically): Make obsolete.
9261
9262 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9263
9264 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * ffap.el: Remove old code for obsolete package.
9267 (ffap-complete-as-file-p): Remove.
9268
9269 Use completion-table-with-quoting for comint and pcomplete.
9270 * comint.el (comint--unquote&requote-argument)
9271 (comint--unquote-argument, comint--requote-argument): New functions.
9272 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9273 (comint-quote-filename): Use regexp-opt-charset.
9274 (comint--common-suffix, comint--common-quoted-suffix)
9275 (comint--table-subvert): Remove.
9276 (comint-unquote-function, comint-requote-function): New vars.
9277 (comint--complete-file-name-data): Use them with
9278 completion-table-with-quoting.
9279 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9280 * pcomplete.el (pcomplete-arg-quote-list)
9281 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9282 (pcomplete-unquote-argument-function): Default to non-nil.
9283 (pcomplete-unquote-argument): Simplify.
9284 (pcomplete--common-quoted-suffix): Remove.
9285 (pcomplete-requote-argument-function): New var.
9286 (pcomplete--common-suffix): New function.
9287 (pcomplete-completions-at-point): Use completion-table-with-quoting
9288 and completion-table-subvert.
9289
9290 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9291 (minibuffer--double-dollars): Preserve properties.
9292 (completion--sifn-requote): New function.
9293 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9294
9295 * minibuffer.el: Add support for completion of quoted/escaped data.
9296 (completion-table-with-quoting, completion-table-subvert): New funs.
9297 (completion--twq-try, completion--twq-all): New functions.
9298 (completion--nth-completion): New function.
9299 (completion-try-completion, completion-all-completions): Use it.
9300
9301 2012-04-25 Leo Liu <sdl.web@gmail.com>
9302
9303 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9304 Use compilation-message if available to find real filename.
9305
9306 2012-04-25 Chong Yidong <cyd@gnu.org>
9307
9308 * vc/diff-mode.el (diff-setup-whitespace): New function.
9309 (diff-mode): Use it.
9310
9311 * vc/diff.el (diff-sentinel):
9312 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9313 Whitespace mode variables based on diff style (Bug#8612).
9314
9315 2012-04-25 Leo Liu <sdl.web@gmail.com>
9316
9317 * progmodes/python.el (python-send-region): Add suffix .py to the
9318 temp file.
9319
9320 * files.el (auto-mode-alist): Use javascript-mode instead.
9321
9322 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9323
9324 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9325
9326 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9327 (soap-resolve-references-for-array-type): Hack to prevent self
9328 references, see Bug#9.
9329 (soap-parse-envelope): Report the contents of the 'detail' node
9330 when receiving a fault reply.
9331 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9332
9333 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9334 (soap-inspect-simple-type): New function.
9335
9336 * net/soap-client.el (soap-simple-type): New struct.
9337 (soap-default-xsd-types, soap-default-soapenc-types)
9338 (soap-decode-basic-type, soap-encode-basic-type):
9339 support unsignedInt and double basic types.
9340 (soap-resolve-references-for-simple-type)
9341 (soap-parse-simple-type, soap-encode-simple-type): New function.
9342 (soap-parse-schema): Parse xsd:simpleType declarations.
9343
9344 * net/soap-client.el (soap-default-xsd-types)
9345 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9346 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9347 the local name of "soapenc:Array".
9348 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9349 decoding integer, byte and anyURI xsd types.
9350
9351 2012-04-25 Chong Yidong <cyd@gnu.org>
9352
9353 * cus-edit.el (custom-buffer-create-internal): Update header text.
9354
9355 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9356
9357 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9358 settings on 'system-type', not on 'window-system'. On MS-Windows,
9359 set interactive-mode on in GDB.
9360
9361 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9364 (ruby-syntax-propertize-regexp): Remove.
9365 (ruby-syntax-propertize-function): Split regexp into chunks.
9366 Match following code directly.
9367
9368 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9369
9370 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9371 (ruby-syntax-propertize-regexp): New function.
9372 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9373 by a special keyword.
9374
9375 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9376 (ruby-syntax-general-delimiters-goto-beg)
9377 (ruby-syntax-propertize-general-delimiters): New functions.
9378 (ruby-syntax-propertize-function): Use them to handle GDL.
9379 (ruby-font-lock-keywords): Move old handling of GDL...
9380 (ruby-font-lock-syntactic-keywords): .. to here.
9381 (ruby-calculate-indent): Adjust indentation for GDL.
9382
9383 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * notifications.el (top): Remove unneeded declarations.
9386 (notifications-specification-version): Change to "1.2".
9387 (notifications-interface, notifications-notify-method)
9388 (notifications-close-notification-method): Fix docstring.
9389 (notifications-get-capabilities-method): New defconst.
9390 (notifications-notify): Add :action-items, :resident and
9391 :transient hints. Change "image_data" to "image-data" and
9392 "image_path" to "image-path".
9393 (notifications-get-capabilities): New defun.
9394
9395 2012-04-24 Leo Liu <sdl.web@gmail.com>
9396
9397 * progmodes/python.el: Move hideshow setup to the end.
9398
9399 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9400
9401 * window.el (handle-select-window): Clear echo area since this is
9402 no more done by read_char (Bug#11304).
9403
9404 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9407 and `/ M' to filter-derived-mode.
9408 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9409 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9410 (ibuffer-mark-by-mode): Use default rather than initial-input.
9411 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9412
9413 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9414
9415 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9416 (ibuffer-filter-by-derived-mode): New filter.
9417 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9418
9419 2012-04-23 Andreas Politz <politza@fh-trier.de>
9420
9421 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9422
9423 2012-04-23 Chong Yidong <cyd@gnu.org>
9424
9425 * cus-edit.el (customize-apropos, customize-apropos-options):
9426 Disable matching of non-option variables (Bug#11176).
9427 (customize-option, customize-option-other-window)
9428 (customize-changed-options): Doc fix.
9429 (customize-apropos-options, customize-apropos-faces)
9430 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9431
9432 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9433 Fix word list splitting (Bug#11132).
9434 (apropos-symbol, apropos-keybinding, apropos-label)
9435 (apropos-property, apropos-function-button)
9436 (apropos-variable-button, apropos-misc-button): New faces.
9437 (apropos-symbol-face, apropos-keybinding-face)
9438 (apropos-label-face, apropos-property-face, apropos-match-face):
9439 Variables removed (Bug#8396).
9440 (apropos-library-button, apropos-format-plist, apropos-print)
9441 (apropos-print-doc, apropos-describe-plist): Callers changed.
9442
9443 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9444
9445 * net/xesam.el (xesam-mode-map): Use let-bound map in
9446 initialization. (Bug#11292)
9447
9448 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9449
9450 Preserve ispell session localwords when switching back to
9451 original buffer.
9452
9453 * textmodes/ispell.el (ispell-buffer-session-localwords):
9454 New buffer-local variable to hold buffer session localwords.
9455 (ispell-kill-ispell): Add option 'clear to delete session
9456 localwords.
9457 (ispell-command-loop, ispell-change-dictionary)
9458 (ispell-buffer-local-words): Preserve session localwords when
9459 needed.
9460
9461 * textmodes/flyspell.el (flyspell-process-localwords)
9462 (flyspell-do-correct): Preserve session localwords when needed.
9463
9464 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9465
9466 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9467 using obsolete `translation-table-for-input'.
9468 (ispell-word, ispell-process-line, ispell-complete-word):
9469 Use plain `insert' instead of removed `ispell-insert-word'.
9470
9471 2012-04-22 Chong Yidong <cyd@gnu.org>
9472
9473 * cus-edit.el (custom-variable-menu)
9474 (custom-variable-reset-saved, custom-face-menu)
9475 (custom-face-reset-saved): If there is no saved value, make the
9476 "reset-saved" operation bring back the default (Bug#9509).
9477 (custom-face-state): Properly detect themed faces.
9478
9479 * faces.el (face-spec-set): Stop supporting deprecated form of
9480 third arg.
9481
9482 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9483
9484 Move functions from C to Lisp. Make non-blocking method calls
9485 the default. Implement further D-Bus standard interfaces.
9486
9487 * net/dbus.el (dbus-message-internal): Declare function.
9488 Remove unneeded function declarations.
9489 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9490 (dbus-message-type-method-return, dbus-message-type-error)
9491 (dbus-message-type-signal): Declare variables. Remove local
9492 definitions.
9493 (dbus-interface-dbus, dbus-interface-peer)
9494 (dbus-interface-introspectable, dbus-interface-properties)
9495 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9496 Adapt docstring.
9497 (dbus-interface-objectmanager): New defconst.
9498 (dbus-call-method, dbus-call-method-asynchronously)
9499 (dbus-send-signal, dbus-method-return-internal)
9500 (dbus-method-error-internal, dbus-register-service)
9501 (dbus-register-signal, dbus-register-method): New defuns, moved
9502 from dbusbind.c
9503 (dbus-call-method-handler, dbus-setenv)
9504 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9505 New defuns.
9506 (dbus-call-method-non-blocking): Make it an obsolete function.
9507 (dbus-unregister-object, dbus-unregister-service)
9508 (dbus-handle-event, dbus-register-property)
9509 (dbus-property-handler): Obey the new structure of
9510 `bus-registered-objects'.
9511 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9512 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9513 Use `dbus-call-method'.
9514
9515 2012-04-22 Chong Yidong <cyd@gnu.org>
9516
9517 * cus-edit.el (custom-commands, custom-reset-menu)
9518 (Custom-reset-standard): Tweak labels.
9519 (custom-reset-button-menu): Change default to t.
9520 (custom-buffer-create-internal): For the custom-reset-button-menu
9521 case, put the revert button first.
9522 (custom-group-subtitle): New face.
9523 (custom-group-value-create): Align docstring to a specific column.
9524
9525 * wid-edit.el (widget-documentation-link-add): Don't handle
9526 indentation in this function.
9527 (widget-documentation-string-indent-to): New function.
9528 (widget-documentation-string-value-create): Use it.
9529
9530 * autorevert.el (auto-revert):
9531 * epg-config.el (epg):
9532 * ibuffer.el (ibuffer):
9533 * mpc.el (mpc):
9534 * ses.el (ses):
9535 * eshell/eshell.el (eshell):
9536 * net/ange-ftp.el (ange-ftp):
9537 * progmodes/ebnf2ps.el (postscript):
9538 * progmodes/flymake.el (flymake):
9539 * progmodes/prolog.el (prolog):
9540 * progmodes/verilog-mode.el (verilog-mode):
9541 * progmodes/which-func.el (which-func):
9542 * term/xterm.el (xterm):
9543 * textmodes/picture.el (picture):
9544 * textmodes/tildify.el (tildify):
9545 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9546 customization buffers.
9547
9548 2012-04-22 Alan Mackenzie <acm@muc.de>
9549
9550 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9551 Adding a ) can hide the resulting (..) from searches. Fix it.
9552 Bound the backward search to the position of the existing (.
9553
9554 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9555
9556 * progmodes/verilog-mode.el (verilog-mode): Check whether
9557 which-func-modes is t before adding verilog-mode.
9558 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9559
9560 2012-04-21 Leo Liu <sdl.web@gmail.com>
9561
9562 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9563
9564 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9565
9566 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9567 filling of the last column of a table (Bug#5635).
9568 (woman-find-next-control-line): New arg, specifying an additional
9569 regexp component for the control line.
9570 (woman2-roff-buffer): Use it.
9571 (woman-break-table): New function.
9572 (woman2-TS): Use it.
9573
9574 2012-04-21 Chong Yidong <cyd@gnu.org>
9575
9576 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9577 (woman-horizontal-escapes, woman-negative-vertical-space)
9578 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9579 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9580
9581 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * minibuffer.el (completion-file-name-table): Complete user names.
9584
9585 2012-04-20 Leo Liu <sdl.web@gmail.com>
9586
9587 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9588 and pcase-let*.
9589
9590 2012-04-20 Chong Yidong <cyd@gnu.org>
9591
9592 * server.el (server-execute): Respect initial-buffer-choice if it
9593 is a string and there are no files to open (Bug#2825).
9594 (server-create-window-system-frame, server-create-tty-frame):
9595 Don't switch buffers here.
9596 (server-process-filter): Only try to open a window system frame if
9597 compiled with graphical support (Bug#8314).
9598
9599 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9600
9601 * battery.el (battery-echo-area-format): Display remaining time
9602 for sysfs backend too (Bug#11269).
9603 (battery-linux-sysfs): Fix conditional for the charge.
9604
9605 2012-04-20 Chong Yidong <cyd@gnu.org>
9606
9607 * progmodes/gdb-mi.el (gdb): Revert previous change.
9608 (gdb-inferior-io--init-proc): New function.
9609 (gdb-init-1): Use it.
9610 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9611 responsible for allocating a new pty and hooking it to gdb when
9612 the old pty gets an EIO due to process exit.
9613 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9614 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9615 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9616
9617 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9618
9619 * window.el (window-min-size, window-sizable, window-min-delta)
9620 (window-max-delta, window--resizable, window-resizable)
9621 (window-total-size, window-full-height-p, window-full-width-p)
9622 (window-in-direction, window--resize-mini-window, window-resize)
9623 (window--resize-child-windows-normal)
9624 (window--resize-child-windows, window--resize-siblings)
9625 (window--resize-this-window, adjust-window-trailing-edge)
9626 (enlarge-window, shrink-window): Doc fixes.
9627
9628 2012-04-20 Chong Yidong <cyd@gnu.org>
9629
9630 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9631 New function to call delete-process on the gdb-inferior buffer's pty.
9632 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9633 pty process (Bug#11273).
9634 (gdb-update): New arg to suppress talking to the gdb process.
9635 (gdb-done-or-error): Use it.
9636 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9637 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9638 sentinel not being called.
9639
9640 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9641
9642 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9643
9644 2012-04-20 Glenn Morris <rgm@gnu.org>
9645
9646 * net/network-stream.el (open-network-stream): Doc fix.
9647
9648 2012-04-20 Chong Yidong <cyd@gnu.org>
9649
9650 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9651
9652 2012-04-20 Alan Mackenzie <acm@muc.de>
9653
9654 Ensure searching for keywords is case sensitive.
9655
9656 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9657 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9658 (c-defun-name, c-mark-function, c-cpp-define-name)
9659 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9660 (c-context-line-break): Bind case-fold-search to nil.
9661
9662 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9663 Bind case-fold-search to nil.
9664
9665 2012-04-20 Chong Yidong <cyd@gnu.org>
9666
9667 * mail/sendmail.el (mail-bury): Call return action with the right
9668 Rmail buffer (Bug#11242).
9669
9670 * server.el (server-process-filter): Handle corner case where both
9671 tty and nowait options are present (Bug#11102).
9672
9673 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9674
9675 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9676 (top level): Put into the executable the ident-style '$Id:' tag on
9677 windows-nt as well.
9678
9679 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * electric.el (electric-indent-post-self-insert-function): Check that
9682 electric-indent-mode is enabled in current buffer.
9683
9684 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * imenu.el (imenu-progress-message): Restore; it is "used" in
9687 erc/erc-imenu.el and net/snmp-mode.el.
9688
9689 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9690
9691 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9692 (mouse-avoidance-nudge-mouse): Remove unused binding.
9693
9694 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9695
9696 * descr-text.el (describe-char):
9697 * progmodes/python.el (python-describe-symbol):
9698 Don't call `toggle-read-only', set `buffer-read-only'.
9699
9700 * imenu.el (imenu-default-goto-function): Mark unused args.
9701 (imenu-progress-message): Remove obsolete macro; all callers changed.
9702
9703 * subr.el (keymap-canonicalize): Remove unused binding.
9704 (read-passwd): Mark unused arg.
9705
9706 * tutorial.el (tutorial--display-changes): Remove unused binding.
9707 (tutorial--save-tutorial-to): Remove unused variable.
9708
9709 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9710 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9711 (package-generate-autoloads, package-menu--generate)
9712 (package-menu--find-upgrades): Remove unused bindings.
9713
9714 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9715 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9716 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9717 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9718 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9719 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9720 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9721 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9722 (cua-delete-char-rectangle): Mark unused args.
9723 (cua-align-rectangle): Remove unused binding.
9724
9725 * mail/rmail.el (compilation--message->loc)
9726 (epa--find-coding-system-for-mime-charset): Declare.
9727
9728 * net/dbus.el (dbus-register-service): Declare.
9729 (dbus-name-owner-changed-handler): Remove unused binding.
9730
9731 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9732 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9733 (nxml-scan-backward-within): Mark unused arg.
9734 (nxml-dynamic-markup-word): Remove unused binding.
9735
9736 * mouse.el (mouse-menu-major-mode-map):
9737 * emacs-lisp/authors.el (authors-scan-change-log)
9738 (authors-add-to-author-list):
9739 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9740 * emacs-lisp/smie.el (smie-auto-fill):
9741 * mail/sendmail.el (mail-bury):
9742 * mail/unrmail.el (unrmail):
9743 * net/tls.el (open-tls-stream):
9744 * textmodes/picture.el (picture-mouse-set-point):
9745 Remove unused bindings.
9746
9747 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9748
9749 * net/tramp.el (tramp-action-password): Let-bind
9750 `enable-recursive-minibuffers' to t.
9751
9752 2012-04-18 Sam Steingold <sds@gnu.org>
9753
9754 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9755 instead of 'string to accommodate values like [f11].
9756 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9757 * progmodes/gdb-mi.el: Likewise.
9758
9759 2012-04-18 Leo Liu <sdl.web@gmail.com>
9760
9761 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9762 current buffer.
9763 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9764 LOCAL is nil.
9765
9766 2012-04-18 Chong Yidong <cyd@gnu.org>
9767
9768 * simple.el (line-move): Use forward-line if in batch mode
9769 (Bug#11053).
9770
9771 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9772
9773 * files.el (after-find-file): Do not try to add a final newline if
9774 the buffer is read-only (Bug#11156).
9775
9776 2012-04-17 Richard Stallman <rms@gnu.org>
9777
9778 * mail/rmail.el (rmail-start-mail):
9779 Pass (rmail-mail-return...) for the return-action.
9780 Pass (rmail-yank-current-message...) for the yank-action.
9781 (rmail-yank-current-message): New function.
9782 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9783 (rmail-reply): Likewise.
9784 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9785
9786 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9787 buffer, not the last. Reject temp buffers. Use the rmail-mode
9788 buffer, not newbuf.
9789
9790 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9791
9792 * server.el (server-ensure-safe-dir): Simplify.
9793
9794 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * emacs-lisp/smie.el: Provide smarter auto-filling.
9797 (smie-auto-fill): New function.
9798 (smie-setup): Use it.
9799
9800 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9801
9802 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9803
9804 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9805 (comment-indent): Use it.
9806
9807 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9808
9809 * ses.el: The overall change is to add cell renaming, that is
9810 setting fancy names for cell symbols other than name matching
9811 "\\`[A-Z]+[0-9]+\\'" regexp .
9812 (ses-localvars): Add ses--renamed-cell-symb-list.
9813 (ses-create-cell-variable): New defun.
9814 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9815 (ses-relocate-formula): Relocate formulas only for cells the
9816 symbols of which are not renamed, i.e. symbols whose names do not
9817 match regexp "\\`[A-Z]+[0-9]+\\'".
9818 (ses-relocate-all): Relocate values only for cells the symbols of
9819 which are not renamed.
9820 (ses-load): Create cells variables as the (ses-cell ...) are read,
9821 in order to check row col consistency with cell symbol name only
9822 for cells that are not renamed.
9823 (ses-replace-name-in-formula): New defun.
9824 (ses-rename-cell): New defun.
9825
9826 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9827
9828 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9829 New option (bug#11118).
9830 (perl-calculate-indent): Respect it.
9831
9832 2012-04-17 Glenn Morris <rgm@gnu.org>
9833
9834 * dired-aux.el (dired-mark-read-string): Doc fix.
9835
9836 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9837
9838 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9839 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9840
9841 2012-04-17 Glenn Morris <rgm@gnu.org>
9842
9843 * mouse.el (mouse-drag-track):
9844 * speedbar.el (speedbar-frame-mode):
9845 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9846
9847 2012-04-16 Leo Liu <sdl.web@gmail.com>
9848
9849 * progmodes/python.el: Trivial cleanup.
9850
9851 2012-04-16 Glenn Morris <rgm@gnu.org>
9852
9853 * vc/vc.el (vc-string-prefix-p):
9854 * vc/pcvs-util.el (cvs-string-prefix-p):
9855 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9856 * mpc.el (mpc-string-prefix-p):
9857 Make all of these into obsolete aliases for string-prefix-p.
9858 Update callers.
9859 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9860
9861 * textmodes/two-column.el: Move custom options to the start.
9862 (frame-width): Remove compat definition.
9863 (2C-associate-buffer, 2C-dissociate):
9864 Use with-current-buffer rather than save-excursion.
9865 (2C-dissociate): Force a mode-line update.
9866 (2C-autoscroll): Use ignore-errors.
9867
9868 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9869 Autoload trivia.
9870
9871 * emacs-lisp/cl-extra.el (*random-state*):
9872 Remove unnecessary declaration.
9873
9874 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9875
9876 * play/cookie1.el (cookie-snarf):
9877 Give an explicit error if input file cannot be read.
9878
9879 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9880
9881 * progmodes/perl-mode.el (c-macro-expand):
9882 Remove unnecessary autoload (it is in loaddefs.el).
9883
9884 * textmodes/picture.el (picture-desired-column)
9885 (picture-update-desired-column): Convert comments to doc-strings.
9886 (picture-substitute): Remove function.
9887 (picture-mode-map): Initialize in the defvar.
9888
9889 * woman.el: Remove eval-after-load for tar-mode.
9890 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9891 (woman-tar-extract-file): Autoload it.
9892
9893 * frame.el (automatic-hscrolling): Make this alias obsolete.
9894
9895 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9896
9897 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9898 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9899 (ispell-dictionary-base-alist): Revert to original XEmacs
9900 friendly version for default. [:alpha:] will be added in
9901 `ispell-set-spellchecker-params' if needed.
9902
9903 2012-04-16 Chong Yidong <cyd@gnu.org>
9904
9905 * image.el (imagemagick--file-regexp): New variable.
9906 (imagemagick-register-types): Use it.
9907 (imagemagick-types-inhibit): Add :set function. Allow new value
9908 of t to inhibit all types.
9909
9910 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9911 so we can preload it.
9912
9913 * loadup.el (fboundp): Preload regexp-opt, needed by
9914 imagemagick-register-types.
9915
9916 2012-04-15 Chong Yidong <cyd@gnu.org>
9917
9918 * frame.el (scrolling): Remove nearly unused customization group.
9919
9920 * scroll-all.el (scroll-all-mode): Move to windows group.
9921
9922 2012-04-15 Chong Yidong <cyd@gnu.org>
9923
9924 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9925
9926 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9929 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9930
9931 2012-04-15 Glenn Morris <rgm@gnu.org>
9932
9933 * simple.el (process-file-side-effects): Doc fix.
9934
9935 2012-04-15 Glenn Morris <rgm@gnu.org>
9936
9937 * international/mule-cmds.el (set-language-environment): Doc fix.
9938
9939 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9940
9941 * server.el (server-auth-key, server-generate-key): Doc fixes.
9942 (server-get-auth-key): Doc fix. Use `string-match-p'.
9943 (server-start): Reflow docstring.
9944
9945 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9946
9947 * server.el (server-generate-key): `called-interactively-p'
9948 requires a parameter.
9949
9950 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9951
9952 * server.el (server-auth-key): New variable.
9953 (server-generate-key, server-get-auth-key): New function.
9954 (server-start): Use the new variable and functions to allow
9955 setting a permanent server key (bug#9423).
9956
9957 2012-04-14 Leo Liu <sdl.web@gmail.com>
9958
9959 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9960
9961 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9962
9963 Spelling fixes.
9964 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9965 Emacs uses American spelling.
9966
9967 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9970 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9971 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9972 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9973
9974 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * progmodes/which-func.el (which-func-modes): Change default.
9977
9978 2012-04-14 Kim F. Storm <storm@cua.dk>
9979
9980 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9981 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9982
9983 2012-04-14 Chong Yidong <cyd@gnu.org>
9984
9985 * custom.el (custom-theme-set-variables): Doc fix.
9986
9987 2012-04-14 Glenn Morris <rgm@gnu.org>
9988
9989 * international/mule.el (set-auto-coding-for-load): Doc fix.
9990
9991 2012-04-14 Alan Mackenzie <acm@muc.de>
9992
9993 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9994 imenu work again for Objective C Mode. Correct the *-index values,
9995 these having been disturbed by a previous change in 2011-08.
9996
9997 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9998 Correct two search limits.
9999
10000 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10003
10004 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10005
10006 * international/characters.el: Fix sorting.
10007
10008 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10009
10010 * international/characters.el: Add more missing Latin case pairs.
10011
10012 2012-04-14 Glenn Morris <rgm@gnu.org>
10013
10014 * files.el (dir-locals-set-class-variables): Doc fix.
10015
10016 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10017
10018 * international/characters.el: Add set-case-syntax-pair call for
10019 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10020 counterpart. (Bug#11209)
10021
10022 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10023
10024 2012-04-14 Glenn Morris <rgm@gnu.org>
10025
10026 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10027
10028 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10029
10030 * textmodes/ispell.el (ispell-dictionary-base-alist):
10031 Add data for Hebrew.
10032
10033 2012-04-14 Chong Yidong <cyd@gnu.org>
10034
10035 * net/rcirc.el (rcirc-cmd-quit):
10036 Revert 2012-03-18 change (Bug#11192).
10037
10038 2012-04-14 Glenn Morris <rgm@gnu.org>
10039
10040 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10041
10042 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10043
10044 * minibuffer.el (completion-in-region-mode-map):
10045 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10046
10047 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10048
10049 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10050
10051 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10052
10053 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10054 to allow `C-M-f' and `C-M-b' to move to the nearest path
10055 separator (bug#9511).
10056
10057 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10058
10059 * avoid.el: Require cl when compiling. And also move the
10060 `provide' to the end.
10061
10062 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10063
10064 * avoid.el (mouse-avoidance-banish-position): New variable.
10065 (mouse-avoidance-banish-destination): Use it (bug#10165).
10066
10067 2012-04-13 Leo Liu <sdl.web@gmail.com>
10068
10069 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10070
10071 2012-04-13 Ken Brown <kbrown@cornell.edu>
10072
10073 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10074 this is no longer needed now that cygstart understands file:// URLs.
10075 (browse-url-filename-alist): For the same reason, don't modify
10076 file:// URLs on Cygwin.
10077
10078 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10081 the region on shift if the binding is already shifted (bug#11221).
10082
10083 2012-04-12 Glenn Morris <rgm@gnu.org>
10084
10085 * mail/mailpost.el: Move to obsolete/.
10086
10087 2012-04-12 Drew Adams <drew.adams@oracle.com>
10088
10089 * imenu.el (imenu--generic-function): Ignore invisible definitions
10090 (bug#10123).
10091
10092 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10093
10094 * hexl.el (hexl-bits): New variable.
10095 (hexl-options): Mention the variable in the doc string.
10096 (hexl-rulerise, hexl-line-displen): New functions.
10097 (hexl-mode): Mention the new variable.
10098 (hexl-mode, hexl-current-address, hexl-current-address):
10099 Use the displen.
10100 (hexl-ascii-start-column): New function.
10101 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10102 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10103
10104 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10105
10106 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10107 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10108 the encoding, as expected by hunspell.
10109
10110 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * battery.el (battery--linux-sysfs-regexp): New const.
10113 (battery-status-function): Use it. Remove yeeloong special case.
10114 (battery-yeeloong-sysfs): Remove.
10115 (battery-echo-area-format): Remove yeeloong special case.
10116
10117 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10120 Reported by Noah Friedman.
10121
10122 * subr.el (read-passwd): Use read-string.
10123
10124 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10125
10126 * vcursor.el (vcursor-move): Increase the priority of the overlay
10127 (bug#9663).
10128
10129 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10130
10131 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10132 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10133
10134 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10135
10136 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10137 define-minor-mode (bug#10760).
10138
10139 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10140
10141 * progmodes/grep.el (rgrep): Tweak the find command line so
10142 that directories matching `grep-find-ignored-files' won't be
10143 pruned (bug#10351).
10144
10145 2012-04-11 Chong Yidong <cyd@gnu.org>
10146
10147 * startup.el (command-line): Remove support for long-obsolete
10148 variable font-lock-face-attributes.
10149
10150 2012-04-11 Glenn Morris <rgm@gnu.org>
10151
10152 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10153
10154 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * window.el (window--state-get-1): Obey window-point-insertion-type.
10157
10158 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10159
10160 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10161 to previous function when point is on the first character of a
10162 function. Take care of that in `narrow-to-defun' (bug#6157).
10163
10164 2012-04-11 Glenn Morris <rgm@gnu.org>
10165
10166 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10167 not just file-errors.
10168
10169 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10170 (vc-bzr-sha1): Use internal sha1.
10171
10172 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10175
10176 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10177
10178 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10179 that start in the middle of the line (bug#10496).
10180
10181 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10182
10183 * battery.el (battery-linux-proc-acpi): Only one battery is
10184 discharged at a time, but that seems to confuse battery.el when
10185 computing `rate-type' for the battery not being discharged
10186 (bug#10332).
10187
10188 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10191
10192 * international/quail.el: Use dolist and simplify.
10193 (quail-define-package, quail-update-keyboard-layout)
10194 (quail-define-rules): Use dolist.
10195 (quail-insert-kbd-layout, quail-get-translation): CSE.
10196
10197 * tmm.el: Use dolist, remove left over hook.
10198 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10199 Use dolist.
10200 (calendar-load-hook): Don't mess with it.
10201
10202 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10203 Use derived-mode-p. Run the diff asynchronously.
10204
10205 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10206
10207 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10208
10209 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10212 (list-dynamic-libraries--loaded): New function.
10213 (list-dynamic-libraries--refresh): Use it.
10214
10215 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10216
10217 * progmodes/python.el (python-fill-paragraph):
10218 Make python-fill-region in a multiline string work when font-lock is
10219 disabled (bug#7018).
10220
10221 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10222
10223 * language/european.el (cp775): Add oem/legacy (en)coding on
10224 DOS/MS Windows for the Baltic languages. There are still plenty
10225 of texts written in this encoding/codepage (bug#6519).
10226
10227 2012-04-10 Glenn Morris <rgm@gnu.org>
10228
10229 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10230 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10231
10232 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10233
10234 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10235 next-line "n" and previous-line "p" in order to make recentf more
10236 consistent with ibuffer, dired or org-mode (bug#9387).
10237
10238 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10239
10240 * image.el (put-image): Return the overlay created instead of the
10241 optional input string (bug#7834). Note that this may break code
10242 that is (for some reason or other) depending on `put-image'
10243 returning the string.
10244
10245 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10246
10247 * simple.el (zap-to-char): Allow zapping using input methods
10248 (bug#1580).
10249
10250 * textmodes/fill.el (fill-region): Leave point and mark where they
10251 were before filling (bug#5399).
10252
10253 2012-04-09 Glenn Morris <rgm@gnu.org>
10254
10255 * version.el (emacs-bzr-get-version):
10256 Handle lightweight checkouts of local branches.
10257
10258 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10259
10260 * international/characters.el: Recover lost case pairs. (Bug#11209)
10261
10262 2012-04-09 Chong Yidong <cyd@gnu.org>
10263
10264 * custom.el (custom-variable-p): Return nil for non-symbol
10265 arguments instead of signaling an error.
10266 (user-variable-p): Obsolete alias for custom-variable-p.
10267
10268 * apropos.el (apropos-variable):
10269 * files-x.el (read-file-local-variable):
10270 * simple.el (set-variable):
10271 * woman.el (woman-mini-help):
10272 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10273
10274 2012-04-09 Glenn Morris <rgm@gnu.org>
10275
10276 * startup.el (normal-top-level): Don't look for leim-list.el
10277 in places where it will not be found. (Bug#910)
10278
10279 * international/mule-cmds.el (set-default-coding-systems):
10280 * files.el (normal-mode):
10281 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10282 This function was removed with ucs-tables.el in 2008.
10283
10284 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10285
10286 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10287 ispell-encoding8-command to "-i", without a trailing space.
10288 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10289 separate command-line arguments, to specify the encoding, since
10290 that's how hunspell expects it.
10291
10292 2012-04-08 Glenn Morris <rgm@gnu.org>
10293
10294 * loadup.el: Load bindings before cus-start.
10295 This reduces somewhat the number of "rogue" settings in emacs -Q.
10296
10297 2012-04-07 Glenn Morris <rgm@gnu.org>
10298
10299 * version.el (emacs-bzr-get-version): New function.
10300 (emacs-bzr-version): New variable.
10301 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10302 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10303
10304 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10305
10306 * international/uni-bidi.el, international/uni-category.el:
10307 * international/uni-combining.el, international/uni-decimal.el:
10308 * international/uni-decomposition.el, international/uni-digit.el:
10309 * international/uni-lowercase.el, international/uni-mirrored.el:
10310 * international/uni-name.el, international/uni-numeric.el:
10311 * international/uni-titlecase.el, international/uni-uppercase.el:
10312 Update for Unicode 6.1.
10313
10314 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10315
10316 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10317
10318 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
10320 * window.el (shrink-window): Mention the `window-min-height'
10321 variable in the doc string.
10322
10323 2012-04-05 Bastien Guerry <bzg@altern.org>
10324
10325 * color.el (color-lighten-name): Fix typo.
10326
10327 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * server.el (server--on-display-p): New function.
10330 (server--on-display-p): Use it.
10331
10332 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10333
10334 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10335 (bug#11145).
10336
10337 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * comint.el (comint--common-quoted-suffix): Check string boundary
10340 before comparing (bug#11158).
10341 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10342
10343 2012-04-04 Chong Yidong <cyd@gnu.org>
10344
10345 * minibuffer.el (completion-extra-properties): Doc fix.
10346
10347 * subr.el (delayed-warnings-hook): Doc fix.
10348
10349 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10350
10351 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10352 selection (Bug#11159).
10353 (epa-insert-keys): Inform that the default public key will be
10354 exported if no key is selected.
10355
10356 2012-04-04 Richard Stallman <rms@gnu.org>
10357
10358 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10359
10360 2012-04-03 Chong Yidong <cyd@gnu.org>
10361
10362 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10363 mail-insert-file, not its obsolete alias mail-attach-file.
10364
10365 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10366
10367 * notifications.el (notifications-notify): Fix docstring.
10368
10369 2012-04-02 Glenn Morris <rgm@gnu.org>
10370
10371 * emacs-lisp/authors.el (authors-aliases): Another addition.
10372
10373 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10374
10375 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10376 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10377 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10378
10379 2012-04-01 Chong Yidong <cyd@gnu.org>
10380
10381 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10382 Handle root directory properly.
10383 (copy-directory): Caller changed.
10384
10385 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10386 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10387
10388 2012-03-31 Glenn Morris <rgm@gnu.org>
10389
10390 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10391
10392 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10393
10394 * calendar/calendar.el (calendar-window-list)
10395 (calendar-hide-window): Restore. (Bug#11140)
10396 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10397
10398 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10399
10400 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10401
10402 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10403 Check if file is a symlink (Bug#10489).
10404
10405 * files.el (copy-directory): Likewise.
10406
10407 2012-03-30 Chong Yidong <cyd@gnu.org>
10408
10409 * image.el (imagemagick-types-inhibit)
10410 (imagemagick-register-types): Doc fix.
10411
10412 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10413
10414 * textmodes/ispell.el (ispell-get-extended-character-mode):
10415 Disable extended-char-mode for hunspell. hunspell does not support it
10416 and treats ~word as ordinary words in pipe mode.
10417
10418 2012-03-30 Glenn Morris <rgm@gnu.org>
10419
10420 * tutorial.el (help-with-tutorial): Ensure local variables don't
10421 happen to make the buffer read-only. (Bug#11127)
10422
10423 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10426 (perl-calculate-indent): Return `noindent' in strings.
10427
10428 2012-03-28 Sam Steingold <sds@gnu.org>
10429
10430 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10431 instead of the broken adhockery which does not prevent calendar
10432 buffers from being displayed at random after exit.
10433 (calendar-window-list, calendar-hide-window): Remove the broken
10434 adhockery.
10435
10436 2012-03-28 Glenn Morris <rgm@gnu.org>
10437
10438 * replace.el (query-replace-map): Doc fix.
10439
10440 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10441
10442 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10443 contents. (Bug#11109)
10444
10445 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10448 (bug#11077).
10449 (avl-tree--check, avl-tree--check-node): New funs.
10450
10451 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10452
10453 * window.el (switch-to-visible-buffer): New option.
10454 (switch-to-prev-buffer, switch-to-next-buffer):
10455 Observe switch-to-visible-buffer. Make sure that checking for a window
10456 showing a buffer already is done on the same frame.
10457
10458 2012-03-27 Glenn Morris <rgm@gnu.org>
10459
10460 * startup.el (mail-host-address): Doc fix.
10461
10462 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10465 than 197 variables.
10466
10467 2012-03-26 Ami Fischman <ami@fischman.org>
10468
10469 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10470
10471 2012-03-26 Glenn Morris <rgm@gnu.org>
10472
10473 * files.el (save-buffers-kill-emacs): Doc fix.
10474
10475 * startup.el (normal-top-level, command-line, command-line-1):
10476 Give them doc strings.
10477
10478 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10479
10480 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10481 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10482
10483 2012-03-25 Chong Yidong <cyd@gnu.org>
10484
10485 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10486 theme if it was previously enabled before (Bug#11031).
10487
10488 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10489 spec with custom-face-get-current-spec if its :shown-value is not
10490 determined yet (Bug#9337).
10491 (customize-create-theme, custom-theme-revert): Doc fixes.
10492
10493 * button.el (button-at): Minor addition to docstring.
10494
10495 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10496
10497 * vc/vc.el (vc-merge): Fix a prompt.
10498
10499 2012-03-24 Chong Yidong <cyd@gnu.org>
10500
10501 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10502 point (Bug#9623).
10503
10504 * button.el (button-at): Minor addition to docstring.
10505
10506 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * newcomment.el (comment-choose-indent): No space after BOL.
10509
10510 2012-03-22 Sam Steingold <sds@gnu.org>
10511
10512 * window.el (switch-to-prev-buffer): Revert last patch because the
10513 bug turned out to be an advertised feature (Elisp manual 28.14).
10514
10515 2012-03-22 Glenn Morris <rgm@gnu.org>
10516
10517 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10518 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10519
10520 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10521
10522 * net/network-stream.el (network-stream-open-starttls): Make error
10523 message under Windows be less misleading.
10524
10525 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10526
10527 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10528 understands (bug#9942).
10529
10530 2012-03-22 Chong Yidong <cyd@gnu.org>
10531
10532 * simple.el (end-of-visible-line): Handle return value of
10533 next-single-property-change properly (Bug#9371).
10534
10535 2012-03-22 Kenichi Handa <handa@m17n.org>
10536
10537 * international/quail.el (quail-insert-kbd-layout): Fix previous
10538 change. To avoid unwanted bidi reordering, use
10539 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10540
10541 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10542
10543 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10544 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10545 (ruby-beginning-of-indent): Be more careful with the difference
10546 between word-boundary and symbol boundary.
10547 (ruby-mode-syntax-table): Make : a symbol constituent.
10548
10549 2012-03-21 Andreas Politz <politza@fh-trier.de>
10550
10551 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10552
10553 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * progmodes/etags.el (tags-completion-at-point-function):
10556 Improve last fix.
10557
10558 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10559
10560 2012-03-21 Sam Steingold <sds@gnu.org>
10561
10562 * progmodes/etags.el (tags-completion-at-point-function):
10563 Avoid the error when point is inside the pattern.
10564
10565 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10566
10567 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10568 line (Bug#10855).
10569
10570 2012-03-21 Drew Adams <drew.adams@oracle.com>
10571
10572 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10573
10574 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10575
10576 * ido.el (ido-set-current-directory, ido-read-internal)
10577 (ido-choose-completion-string, ido-completion-help): Handle nil
10578 value of ido-completion-buffer (Bug#11008).
10579
10580 2012-03-21 Sam Steingold <sds@gnu.org>
10581
10582 * window.el (switch-to-prev-buffer): Do not switch to a visible
10583 window previous buffer, just like with the frame previous buffers.
10584
10585 2012-03-21 Chong Yidong <cyd@gnu.org>
10586
10587 * faces.el (make-face, make-empty-face, copy-face):
10588 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10589 Doc fixes.
10590
10591 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10594 (widget-complete): Remove broken use of it.
10595
10596 2012-03-20 Chong Yidong <cyd@gnu.org>
10597
10598 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10599 Use string-width and truncate-string-width to handle arbitrary
10600 characters.
10601
10602 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10603
10604 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10605 to draw rectangles, not squares. (Regression introduced by revno
10606 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10607
10608 2012-03-18 Chong Yidong <cyd@gnu.org>
10609
10610 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10611 it is not yet defined (for temacs).
10612
10613 2012-03-18 Leo Liu <sdl.web@gmail.com>
10614
10615 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10616 prefix.
10617
10618 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10619
10620 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10621 (ispell-choices-win-default-height, ispell-silently-savep)
10622 (ispell-dictionary-alist, ispell-encoding8-command)
10623 (ispell-check-version, ispell-aspell-find-dictionary)
10624 (ispell-valid-dictionary-list, ispell-words-keyword)
10625 (ispell-get-word, ispell-internal-change-dictionary)
10626 (ispell-region, ispell-skip-region-list)
10627 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10628 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10629 (ispell-message-text-end, ispell-message)
10630 (ispell-buffer-local-parsing): Doc fix.
10631
10632 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10633
10634 * htmlfontify.el: Add support for code block fontification for ODT
10635 export (Bug #9914).
10636 (hfy-optimisations): Define new option
10637 `body-text-only'
10638 (hfy-fontify-buffer): Honor above setting.
10639 (hfy-begin-span, hfy-end-span): New routines factored out form
10640 `hfy-fontify-buffer'.
10641 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10642 that permit insertion of custom tags.
10643 (hfy-fontify-buffer): Use above handlers.
10644 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10645 (hfy-face-to-css): Re-defined to be a variable.
10646 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10647 over multiple runs. This is made possible by having the caller let
10648 bind a special variable `hfy-user-sheet-assoc'.
10649 (htmlfontify-string): New defun.
10650 (hfy-compile-face-map): Make sure that the last char in the
10651 buffer is correctly fontified.
10652 (hfy-face-resolve-face): Whitespace only change.
10653
10654 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10655
10656 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10657 message more clear.
10658
10659 2012-03-16 Leo Liu <sdl.web@gmail.com>
10660
10661 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10662
10663 2012-03-16 Alan Mackenzie <acm@muc.de>
10664
10665 Further optimise the handling of large macros.
10666
10667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10668 limit to a call of `c-literal-limits'.
10669 (c-determine-+ve-limit): New function.
10670 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10671 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10672 In CASE 5B, restrict a search limit to 500.
10673 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10674
10675 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10676 Restrict macro bounds to +-500 from after-change's BEG END.
10677
10678 2012-03-16 Leo Liu <sdl.web@gmail.com>
10679
10680 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10681
10682 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10683
10684 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10685 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10686
10687 2012-03-16 Glenn Morris <rgm@gnu.org>
10688
10689 * view.el (view-buffer, view-buffer-other-window)
10690 (view-buffer-other-frame): Doc fixes re special mode-class.
10691
10692 * subr.el (eval-after-load): If named feature is provided not from
10693 a file, run after-load forms. (Bug#10946)
10694
10695 * calendar/calendar.el (calendar-insert-at-column):
10696 Handle non-unit-width characters a bit better. (Bug#10978)
10697
10698 2012-03-15 Chong Yidong <cyd@gnu.org>
10699
10700 * emacs-lisp/ring.el (ring-extend): New function.
10701 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10702
10703 * comint.el (comint-read-input-ring)
10704 (comint-add-to-input-history): Grow comint-input-ring lazily.
10705
10706 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10707
10708 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10709 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10710
10711 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10712 (imenu-add-to-menubar): Don't add a redundant index.
10713 (imenu-update-menubar): Handle a dynamically composed keymap.
10714
10715 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10716
10717 * mail/sendmail.el (mail-encode-header):
10718 Bind rfc2047-encode-encoded-words to nil.
10719
10720 2012-03-13 Glenn Morris <rgm@gnu.org>
10721
10722 * calendar/calendar.el (calendar-string-spread):
10723 Handle non-unit-width characters a bit better. (Bug#10978)
10724
10725 2012-03-13 Leo Liu <sdl.web@gmail.com>
10726
10727 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10728 directory and file as argument (Bug#10822).
10729
10730 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10731
10732 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10733 For dynamically generated code, follow $PC.
10734 (gdb-disassembly-handler-custom): Handle no function name case.
10735
10736 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10737
10738 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10739 * emulation/ws-mode.el (ws-query-replace):
10740 * sort.el (sort-regexp-fields):
10741 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10742
10743 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * dabbrev.el: Fix cycle completion order (bug#10963).
10746 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10747 (dabbrev-completion): Don't use an obarray; provide
10748 a cycle-sort-function.
10749
10750 2012-03-12 Leo Liu <sdl.web@gmail.com>
10751
10752 * simple.el (kill-new): Use equal-including-properties for comparison.
10753 (kill-do-not-save-duplicates): Doc fix.
10754
10755 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * dabbrev.el: Fix cycle completion (bug#10963).
10758 Use lexical binding and wrap to 80 columns.
10759 (dabbrev-completion): Delay computing the list of completions.
10760
10761 2012-03-12 Kenichi Handa <handa@m17n.org>
10762
10763 * international/quail.el (quail-insert-kbd-layout): Surround each
10764 row by LRO and PDF instead of inserting many LRMs. Pad the left
10765 and right of each non-spacing marks. Insert invisible space
10766 between lower and upper characters to prevent composition.
10767
10768 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * minibuffer.el (minibuffer-complete): Don't get confused when the
10771 function is run twice via different commands (bug#10958).
10772 (complete-with-action): Fix docstring.
10773
10774 2012-03-12 Chong Yidong <cyd@gnu.org>
10775
10776 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10777 (nxml-completion-at-point-function): New function.
10778 (nxml-mode): Use it.
10779 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10780
10781 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10782 Load generated autoloads file before byte compiling (Bug#10970).
10783 (package--make-autoloads-and-compile): New helper fun.
10784
10785 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10786
10787 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10788
10789 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * autorevert.el (auto-revert-handler): Ensure, that
10792 file-readable-p is applied only for local files or in
10793 auto-revert-tail-mode.
10794
10795 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10796
10797 * server.el (server-eval-at): Handle non-tcp connections.
10798 Decode result string.
10799
10800 * server.el (server-msg-size): New constant.
10801 (server-reply-print): New function.
10802 (server-eval-and-print): Use it.
10803 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10804 Handle -print-nonl.
10805
10806 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10807
10808 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10809 (Bug#10987).
10810
10811 2012-03-11 Chong Yidong <cyd@gnu.org>
10812
10813 * simple.el (goto-line): Doc fix (Bug#9938).
10814
10815 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10816
10817 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10818 when finished (Bug#10963).
10819
10820 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10821
10822 * window.el (split-window-below): Fix bug in case where
10823 split-window-keep-point is nil (Bug#10971).
10824
10825 2012-03-11 Juri Linkov <juri@jurta.org>
10826
10827 * replace.el (replace-highlight): Set isearch-word to nil
10828 unconditionally. (Bug#10887)
10829
10830 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10831
10832 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10833 mairix-replace-illegal-chars; all callers changed. Don't remove
10834 ^, ~, and = characters: they are meaningful in mairix search specs.
10835 (mairix-widget-create-query): Add usage information about mairix
10836 search forms: negating words, searching for substrings, etc.
10837
10838 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10839
10840 * international/fontset.el (font-encoding-alist): Add an entry for
10841 ksx1001 (Bug#5667).
10842
10843 2012-03-10 Richard Stallman <rms@gnu.org>
10844
10845 * mail/sendmail.el (mail-encode-header):
10846 Set rfc2047-encode-encoded-words.
10847
10848 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10849
10850 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10851 view buffer means not swapped.
10852 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10853 (rmail-write-region-annotate): Error if real text has disappeared.
10854
10855 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10856
10857 2012-03-10 Chong Yidong <cyd@gnu.org>
10858
10859 * emulation/cua-rect.el (cua--init-rectangles):
10860 * emulation/cua-base.el (cua--init-keymaps):
10861 Add delete-forward-char to remappings (Bug#9666).
10862
10863 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10864
10865 * speedbar.el (speedbar-unhighlight-one-tag-line):
10866 Avoid unhighlighting due to frame switching (Bug#10275).
10867
10868 2012-03-10 Chong Yidong <cyd@gnu.org>
10869
10870 * minibuffer.el (completion-in-region, completion-help-at-point):
10871 Give the completion field overlay a high priority (Bug#6830).
10872
10873 * dired.el (dired-goto-file): Recognize absolute file name
10874 listings (Bug#7126).
10875 (dired-goto-file-1): New helper function.
10876 (dired-toggle-read-only): Inhibit warnings.
10877
10878 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10879
10880 * net/dbus.el (dbus-property-handler): Return empty array if
10881 there are no properties.
10882
10883 2012-03-09 Leo Liu <sdl.web@gmail.com>
10884
10885 * savehist.el (savehist-printable): Stricter check for string
10886 value (Bug#10937).
10887
10888 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10889
10890 * mail/smtpmail.el (smtpmail-send-it):
10891 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10892 valid mbox format.
10893
10894 2012-03-09 Glenn Morris <rgm@gnu.org>
10895
10896 * files.el (dir-locals-find-file):
10897 Don't check result is regular, readable.
10898 (dir-locals-read-from-file): Demote errors.
10899
10900 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10901
10902 * international/quail.el (quail-insert-kbd-layout):
10903 Insert invisible LRM characters before each character in a keyboard
10904 layout cell, to prevent their reordering by bidi display engine.
10905 For details, see the discussion in
10906 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10907
10908 2012-03-08 Alan Mackenzie <acm@muc.de>
10909
10910 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10911 the starting position; make it extend the marked region when
10912 invoked repeatedly - all under appropriate circumstances.
10913 Fixes bugs #5525, #10906.
10914
10915 2012-03-08 Glenn Morris <rgm@gnu.org>
10916
10917 * files.el (locate-dominating-file, dir-locals-find-file):
10918 Undo 2012-03-06 change.
10919
10920 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10921
10922 * international/quail.el (quail-help):
10923 Force bidi-paragraph-direction be left-to-right. See discussion in
10924 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10925 for the reason.
10926
10927 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10928
10929 Avoid superfluous registering of signals. (Bug#10807)
10930
10931 * notifications.el (notifications-on-action-object)
10932 (notifications-on-close-object): New defvars.
10933 (notifications-on-action-signal, notifications-on-closed-signal):
10934 Unregister the signal if not needed any longer.
10935 (notifications-notify): Register `notifications-action-signal' or
10936 `notifications-closed-signal', if :on-action or :on-close has been
10937 passed as argument.
10938
10939 2012-03-07 Chong Yidong <cyd@gnu.org>
10940
10941 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10942 non-X platforms.
10943
10944 2012-03-06 Glenn Morris <rgm@gnu.org>
10945
10946 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10947 (x-disown-selection-internal, x-get-selection-internal):
10948 Doc fix (add arglist signatures). (Bug#10783)
10949
10950 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10951
10952 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10953 Handle breakpoints with no "type".
10954
10955 2012-03-06 Glenn Morris <rgm@gnu.org>
10956
10957 * files.el (locate-dominating-file): Add optional predicate argument.
10958 (dir-locals-find-file): Make use of above change.
10959
10960 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10961
10962 * info.el (Info-insert-dir): Also try "dir.gz".
10963
10964 2012-03-06 Glenn Morris <rgm@gnu.org>
10965
10966 * files.el (dir-locals-find-file):
10967 Ignore non-readable or non-regular files. (Bug#10928)
10968
10969 * files.el (locate-dominating-file): Doc fix.
10970
10971 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10972
10973 * calendar/calendar.el (calendar-set-mode-line):
10974 `getenv' returns a string. (Bug#10951)
10975
10976 2012-03-05 Leo Liu <sdl.web@gmail.com>
10977
10978 * simple.el (backward-delete-char-untabify): Constrain point to
10979 field (Bug#10939).
10980
10981 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10982
10983 2012-03-05 Chong Yidong <cyd@gnu.org>
10984
10985 * simple.el (count-words): If called from Lisp, return the word
10986 count, for symmetry with `count-lines'. Arglist changed.
10987 (count-words--message): Args changed. Consolidate counting code
10988 from count-words and count-words-region.
10989 (count-words-region): Caller changed.
10990 (count-lines-region): Make it an obsolete alias.
10991
10992 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10993
10994 * saveplace.el (save-place-to-alist)
10995 (save-place-ignore-files-regexp): Allow value nil to disable this
10996 feature.
10997
10998 2012-03-04 Chong Yidong <cyd@gnu.org>
10999
11000 * faces.el (face-spec-reset-face): For the default face, reset the
11001 attributes to default values (Bug#10748).
11002
11003 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11004
11005 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11006 previous patch: Check `message-send-mail-function', and not the
11007 default function (bug#10897).
11008
11009 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11010
11011 * notifications.el (notifications-on-action-signal)
11012 (notifications-on-closed-signal): Check for unique service name of
11013 incoming event. Fix error in removing entry.
11014 (top): Register for signals with wildcard service name.
11015 (notifications-notify): Use daemon unique service name for map entries.
11016
11017 2012-03-04 Chong Yidong <cyd@gnu.org>
11018
11019 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11020
11021 2012-03-04 Glenn Morris <rgm@gnu.org>
11022
11023 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11024 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11025 (expand-abbrev, define-abbrev-table): Doc fixes.
11026
11027 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11028
11029 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11030 `message-default-send-mail-function' and not `send-mail-function'
11031 when doing the prompting for `sendmail-query-once' before sending
11032 in Message buffers (bug#10897).
11033
11034 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11035 This is inconsistent with all the other stream functions, which leave
11036 the setting up to the higher levels (if so wanted) (bug#10931).
11037
11038 2012-03-02 Alan Mackenzie <acm@muc.de>
11039
11040 Depessimize the handling of very large macros.
11041
11042 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11043 (c-macro-cache-syntactic): New variables to implement a one
11044 element macro cache.
11045 (c-invalidate-macro-cache): New function.
11046 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11047 Adapt to use the new cache.
11048 (c-state-safe-place): Use better the cache of safe positions.
11049 (c-state-semi-nonlit-pos-cache)
11050 (c-state-semi-nonlit-pos-cache-limit):
11051 New variables for...
11052 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11053 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11054 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11055 Use c-state-semi-safe-place.
11056
11057 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11058 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11059
11060 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11061
11062 * jka-compr.el (jka-compr-call-process):
11063 Apply `file-accessible-directory-p' only when the default directory is
11064 not remote.
11065
11066 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11067
11068 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11069 access of FILE2, if FILE1 does not exist.
11070
11071 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11072 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11073
11074 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11075 Add "PAGER=" to `process-environment'.
11076
11077 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11078
11079 * progmodes/sql.el: Bug fix
11080 (sql-get-login-ext): Save login values in globals.
11081 (sql-get-login): Use new version of `sql-get-login-ext'.
11082 (sql-interactive-mode): Set global `sql-connection' to nil.
11083 (sql-connect): Set global values for connection.
11084 (sql-product-interactive): Save global values as buffer local.
11085
11086 2012-02-29 Leo Liu <sdl.web@gmail.com>
11087
11088 * abbrev.el (define-abbrevs): Reset sys to nil.
11089
11090 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11091
11092 * files.el (file-equal-p): Rename from `files-equal-p'.
11093 Return nil when one or both files don't exist.
11094 (file-subdir-of-p): Now only top directory must exists,
11095 return nil if it doesn't.
11096 (copy-directory): No need to test with `file-subdir-of-p' after
11097 creating dir.
11098 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11099 to `file-equal-p'.
11100
11101 2012-02-28 Glenn Morris <rgm@gnu.org>
11102
11103 * shell.el (shell-mode):
11104 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11105 * play/landmark.el (landmark-font-lock-face-O):
11106 * play/handwrite.el (handwrite):
11107 * play/gomoku.el (gomoku-O):
11108 * net/browse-url.el (browse-url-browser-display):
11109 * international/mule.el (define-charset):
11110 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11111 * filesets.el (filesets-find-file-delay):
11112 * eshell/em-xtra.el (eshell-xtra):
11113 * eshell/em-unix.el (eshell-grep):
11114 * emulation/viper.el (viper-mode):
11115 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11116 * emacs-lisp/easymenu.el (easy-menu-define):
11117 * calendar/timeclock.el (timeclock-use-display-time):
11118 * bs.el (bs-mode):
11119 * bookmark.el (bookmark-save-flag):
11120 Doc fix (standardize possessive apostrophe usage).
11121
11122 2012-02-27 Chong Yidong <cyd@gnu.org>
11123
11124 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11125 Fix key-binding lookup for ESC key (Bug#9146).
11126
11127 * font-lock.el (font-lock-specified-p): Rename from
11128 font-lock-spec-present. Callers changed.
11129
11130 2012-02-27 Daniel Hackney <dan@haxney.org>
11131
11132 * emacs-lisp/package.el (package-compute-transaction):
11133 Handle holding a package version to t in package-load-list.
11134
11135 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11136
11137 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11138 (tramp-get-inode, tramp-get-device): Use cached values.
11139
11140 2012-02-26 Alan Mackenzie <acm@muc.de>
11141
11142 Check there is a font-lock specification before doing initial
11143 fontification.
11144
11145 * font-core.el (font-lock-mode): Move the conditional from
11146 :after-hook to font-lock-initial-fontify.
11147 (font-lock-default-function): Move the check for a specification
11148 to font-lock-spec-present.
11149
11150 * font-lock.el (font-lock-initial-fontify): Call ...
11151 (font-lock-spec-present): New function.
11152
11153 2012-02-26 Jim Blandy <jimb@red-bean.com>
11154
11155 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11156 (gdb-send): Apply it to the operand of the '-interpreter-exec
11157 console' command, so that we can pass arguments with (say) quotes
11158 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11159
11160 2012-02-26 Chong Yidong <cyd@gnu.org>
11161
11162 * help-fns.el (describe-function-1): Clarify description of
11163 remapping (Bug#10844).
11164
11165 * files.el (files-equal-p): Doc fix.
11166 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11167 and quit the loop once a mismatch is found.
11168
11169 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * bs.el (bs--show-with-configuration): Don't throw an error
11172 if the window cannot be split; otherwise, subsequent calls to
11173 bs-show fail, restoring a stale window config. (Bug#10882)
11174
11175 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11176
11177 * term/ns-win.el (global-map): Bind ns-drag-file to
11178 ns-find-file (Bug#5855, Bug#10050).
11179
11180 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11181
11182 * calendar/parse-time.el (parse-time-string): Allow extractor to
11183 return nil.
11184
11185 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11186
11187 * net/tramp.el (tramp-file-name-for-operation):
11188 Add `files-equal-p' and `file-subdir-of-p'.
11189
11190 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11191 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11192 Add COPY-CONTENTS argument.
11193
11194 2012-02-25 Chong Yidong <cyd@gnu.org>
11195
11196 Add custom groups for VC backends, for consistency with vc-bzr.
11197
11198 * vc/vc-arch.el (vc-arch):
11199 * vc/vc-cvs.el (vc-cvs):
11200 * vc/vc-git.el (vc-git):
11201 * vc/vc-hg.el (vc-hg):
11202 * vc/vc-mtn.el (vc-mtn):
11203 * vc/vc-rcs.el (vc-rcs):
11204 * vc/vc-sccs.el (vc-sccs):
11205 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11206 All relevant defcustoms reassigned.
11207
11208 2012-02-25 Chong Yidong <cyd@gnu.org>
11209
11210 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11211
11212 * term/x-win.el (x-initialize-window-system): Reduce default for
11213 x-selection-timeout to 5 seconds (Bug#8869).
11214
11215 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11216
11217 * files.el (files-equal-p, file-subdir-of-p): New functions.
11218 (copy-directory): Error when trying to copy a directory on itself.
11219 Add missing copy-contents arg to tramp handler.
11220 * dired-aux.el (dired-copy-file-recursive): Same.
11221 (dired-create-files): Modify destination when source is equal to
11222 dest when copying files.
11223 Return also when dest is a subdir of source. (Bug#10489)
11224
11225 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11226
11227 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11228 (Bug#10874)
11229
11230 2012-02-23 Alan Mackenzie <acm@muc.de>
11231
11232 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11233 parameter "after-hook:" to allow the expansion to run code after
11234 the execution of the mode hooks.
11235
11236 * font-lock.el (font-lock-initial-fontify): New function extracted
11237 from font-lock-mode-internal.
11238
11239 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11240 :after-hook.
11241
11242 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11245 (completion--cache-all-sorted-completions): New function.
11246 (completion-all-sorted-completions): Use it.
11247 (completion--do-completion, minibuffer-force-complete):
11248 Use it to re-instate the flush hook.
11249
11250 * icomplete.el (icomplete-completions): Replace last fix with a better
11251 one (bug#10850).
11252
11253 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11254
11255 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11256 when it might call us back infinitely (bug#10797).
11257
11258 2012-02-23 Glenn Morris <rgm@gnu.org>
11259
11260 * minibuffer.el (completion-category-overrides): Doc fix.
11261
11262 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11265 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11266
11267 2012-02-23 Glenn Morris <rgm@gnu.org>
11268
11269 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11270 (authors-obsolete-files-regexps, authors-ignored-files)
11271 (authors-ambiguous-files, authors-renamed-files-alist):
11272 Add more entries.
11273
11274 2012-02-23 Juri Linkov <juri@jurta.org>
11275
11276 * isearch.el (isearch-occur): Sync interactive spec with occur's
11277 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11278
11279 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11280
11281 2012-02-22 Juri Linkov <juri@jurta.org>
11282
11283 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11284 (ucs-insert): Doc fix. Check for hex digits in the string.
11285 Don't display `nil' in the error message. (Bug#10857)
11286
11287 2012-02-22 Alan Mackenzie <acm@muc.de>
11288
11289 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11290
11291 2012-02-22 Glenn Morris <rgm@gnu.org>
11292
11293 * ffap.el (ffap-c-path):
11294 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11295
11296 2012-02-22 Chong Yidong <cyd@gnu.org>
11297
11298 * custom.el (load-theme): Doc fix.
11299
11300 2012-02-22 Glenn Morris <rgm@gnu.org>
11301
11302 * dired-x.el (dired-guess-shell-alist-default):
11303 Remove escape sequences from nroff output. (Bug#172)
11304
11305 2012-02-21 Glenn Morris <rgm@gnu.org>
11306
11307 * vc/emerge.el (emerge-defvar-local):
11308 Set `permanent-local' property rather than unused `preserved'.
11309
11310 * textmodes/picture.el (picture-delete-char): New alias.
11311 (picture-mode-map): Use it. (Bug#10860)
11312 (picture-mode): Doc fix.
11313
11314 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11315
11316 * newcomment.el (uncomment-region-default): Remove unused binding.
11317
11318 2012-02-21 Glenn Morris <rgm@gnu.org>
11319
11320 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11321 (picture-self-insert, picture-tab-chars): Doc fix.
11322 (picture-mode-map): Fix C-a, C-e.
11323
11324 2012-02-20 Glenn Morris <rgm@gnu.org>
11325
11326 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11327
11328 2012-02-20 Leo Liu <sdl.web@gmail.com>
11329
11330 * icomplete.el (icomplete-completions): Check FROM arg before
11331 passing to substring (Bug#10850).
11332
11333 2012-02-19 Chong Yidong <cyd@gnu.org>
11334
11335 * comint.el: Require ansi-color.
11336 (comint-output-filter-functions): Add ansi-color-process-output.
11337
11338 * ansi-color.el: Don't set comint-output-filter-functions; it is
11339 now in the initial value defined in comint.el.
11340 (ansi-color-apply-face-function): New variable.
11341 (ansi-color-apply-on-region): Use it.
11342 (ansi-color-apply-overlay-face): New function.
11343
11344 * shell.el (shell): No need to require ansi-color.
11345 (shell-mode): Use ansi-color-apply-face-function to highlight
11346 color escapes using font-lock-face property (Bug#10835).
11347
11348 2012-02-19 Chong Yidong <cyd@gnu.org>
11349
11350 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11351 mode-line formats (Bug#10839).
11352
11353 2012-02-18 Glenn Morris <rgm@gnu.org>
11354
11355 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11356
11357 * mail/undigest.el (unforward-rmail-message): Doc fix.
11358
11359 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11360
11361 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11362
11363 * international/characters.el (script-list): Sync with the latest
11364 Unicode Character Database.
11365
11366 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11367
11368 * international/titdic-cnv.el: Remove duplicate coding tag.
11369 * language/cham.el: Likewise.
11370 * language/tai-viet.el: Likewise.
11371
11372 2012-02-18 Glenn Morris <rgm@gnu.org>
11373
11374 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11375 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11376 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11377 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11378 * calendar/holidays.el (holiday-bahai-holidays)
11379 (calendar-holidays, list-holidays):
11380 Use utf-8 Bahá'í in doc-strings, menus, etc.
11381
11382 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11383
11384 * saveplace.el (save-place-ignore-files-regexp): New variable
11385 allowing for excluding files from saving their location of point.
11386 The default value matches the temporary commit message editing
11387 files from Git, SVN, Bazaar, and Mercurial.
11388 (save-place-to-alist): Use it.
11389
11390 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11391 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * newcomment.el (uncomment-region-default): Don't leave extra space
11394 when an arg is provided (bug#8150).
11395
11396 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11397
11398 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11399
11400 2012-02-17 Glenn Morris <rgm@gnu.org>
11401
11402 * net/socks.el: Require network-stream. (Bug#10599)
11403
11404 2012-02-17 Kenichi Handa <handa@m17n.org>
11405
11406 * international/charprop.el:
11407 * international/uni-name.el:
11408 * international/uni-old-name.el:
11409 * international/uni-comment.el: Regenerate.
11410
11411 2012-02-16 Glenn Morris <rgm@gnu.org>
11412
11413 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11414 Interactively in calendar buffer, give an error if not on a date.
11415
11416 2012-02-15 Glenn Morris <rgm@gnu.org>
11417
11418 * shell.el (shell-delimiter-argument-list):
11419 Revert 2011-02-17 change. (Bug#8027)
11420
11421 2012-02-15 Chong Yidong <cyd@gnu.org>
11422
11423 * minibuffer.el (completion-at-point-functions): Doc fix.
11424
11425 * custom.el (defcustom): Doc fix; note use of defvar.
11426
11427 2012-02-15 Glenn Morris <rgm@gnu.org>
11428
11429 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11430 Doc fixes.
11431
11432 2012-02-14 Glenn Morris <rgm@gnu.org>
11433
11434 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11435
11436 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11437
11438 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11439 way the ports list is computed.
11440 (smtpmail-query-smtp-server): Prompt the user for a port number if
11441 we can't connect to any of the standard ports (bug#10810).
11442
11443 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11444
11445 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11446
11447 2012-02-13 Glenn Morris <rgm@gnu.org>
11448
11449 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11450
11451 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11452
11453 * net/gnutls.el (gnutls-trustfiles): New variable.
11454 (gnutls-negotiate): Use it.
11455
11456 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11457
11458 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11459 does its stuff if Gnus is running.
11460
11461 2012-02-13 Alan Mackenzie <acm@muc.de>
11462
11463 Fix a loop in c-set-fl-decl-start.
11464
11465 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11466 c-backward-syntactic-ws actually moves backwards.
11467
11468 2012-02-13 Leo Liu <sdl.web@gmail.com>
11469
11470 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11471 beginning so that all \C-o chars are removed.
11472
11473 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11474
11475 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11476
11477 2012-02-12 Alan Mackenzie <acm@muc.de>
11478
11479 Fix infinite loop with long macros.
11480 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11481
11482 2012-02-12 Chong Yidong <cyd@gnu.org>
11483
11484 * window.el (display-buffer): Doc fix (Bug#10785).
11485
11486 2012-02-12 Glenn Morris <rgm@gnu.org>
11487
11488 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11489 (x-disown-selection-internal, x-get-selection-internal):
11490 Sync docs with the xselect.c versions.
11491
11492 * allout-widgets.el: Add missing license notice.
11493
11494 2012-02-11 Glenn Morris <rgm@gnu.org>
11495
11496 * select.el (x-get-selection-internal, x-own-selection-internal)
11497 (x-disown-selection-internal):
11498 * x-dnd.el (x-get-selection-internal): Update declarations.
11499
11500 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11501
11502 * window.el (window-sides-slots):
11503 * tool-bar.el (tool-bar-position):
11504 * term/xterm.el (xterm-extra-capabilities):
11505 * ses.el (ses-self-reference-early-detection):
11506 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11507 (verilog-auto-wire-type)
11508 (verilog-auto-delete-trailing-whitespace)
11509 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11510 (verilog-auto-tieoff-declaration):
11511 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11512 (sql-oracle-statement-starters, sql-oracle-scan-on):
11513 * progmodes/prolog.el (prolog-align-comments-flag)
11514 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11515 (prolog-left-indent-regexp, prolog-paren-indent-p)
11516 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11517 (prolog-types, prolog-mode-specificators)
11518 (prolog-determinism-specificators, prolog-directives)
11519 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11520 (prolog-electric-dot-flag)
11521 (prolog-electric-dot-full-predicate-template)
11522 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11523 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11524 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11525 (prolog-program-switches, prolog-prompt-regexp)
11526 (prolog-debug-on-string, prolog-debug-off-string)
11527 (prolog-trace-on-string, prolog-trace-off-string)
11528 (prolog-zip-on-string, prolog-zip-off-string)
11529 (prolog-use-standard-consult-compile-method-flag)
11530 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11531 (prolog-imenu-max-lines, prolog-info-predicate-index)
11532 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11533 (prolog-char-quote-workaround):
11534 * progmodes/cc-vars.el (c-defun-tactic):
11535 * net/tramp.el (tramp-encoding-command-interactive)
11536 (tramp-local-end-of-line):
11537 * net/soap-client.el (soap-client):
11538 * net/netrc.el (netrc-file):
11539 * net/gnutls.el (gnutls):
11540 * minibuffer.el (completion-category-overrides)
11541 (completion-cycle-threshold)
11542 (completion-pcm-complete-word-inserts-delimiters):
11543 * man.el (Man-name-local-regexp):
11544 * mail/feedmail.el (feedmail-display-full-frame):
11545 * international/characters.el (glyphless-char-display-control):
11546 * eshell/em-ls.el (eshell-ls-date-format):
11547 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11548 (lisp-lambda-list-keyword-parameter-indentation)
11549 (lisp-lambda-list-keyword-parameter-alignment):
11550 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11551 * dired-x.el (dired-omit-verbose):
11552 * cus-theme.el (custom-theme-allow-multiple-selections):
11553 * calc/calc.el (calc-highlight-selections-with-faces)
11554 (calc-lu-field-reference, calc-lu-power-reference)
11555 (calc-note-threshold):
11556 * battery.el (battery-mode-line-limit):
11557 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11558 (archive-7z-update):
11559 * allout.el (allout-prefixed-keybindings)
11560 (allout-unprefixed-keybindings)
11561 (allout-inhibit-auto-fill-on-headline)
11562 (allout-flattened-numbering-abbreviation):
11563 * allout-widgets.el (allout-widgets-auto-activation)
11564 (allout-widgets-icons-dark-subdir)
11565 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11566 (allout-widgets-theme-dark-background)
11567 (allout-widgets-theme-light-background)
11568 (allout-widgets-item-image-properties-emacs)
11569 (allout-widgets-item-image-properties-xemacs)
11570 (allout-widgets-run-unit-tests-on-load)
11571 (allout-widgets-time-decoration-activity)
11572 (allout-widgets-hook-error-post-time)
11573 (allout-widgets-track-decoration):
11574 Add missing :version tags to new defcustoms and defgroups.
11575
11576 * progmodes/sql.el (sql-ansi-statement-starters)
11577 (sql-oracle-statement-starters): Add custom type.
11578
11579 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11580 (prolog-system-version): Give it a type.
11581
11582 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11583
11584 * term/pc-win.el (x-select-text, x-selection-owner-p)
11585 (x-own-selection-internal, x-disown-selection-internal)
11586 (x-get-selection-internal): Sync doc strings and argument lists
11587 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11588
11589 2012-02-11 Leo Liu <sdl.web@gmail.com>
11590
11591 * progmodes/python.el (python-end-of-statement): Fix infinite
11592 loop. (Bug#10788)
11593
11594 2012-02-10 Glenn Morris <rgm@gnu.org>
11595
11596 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11597 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11598
11599 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11600
11601 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11602 about SMTP before checking the From header.
11603
11604 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11605 into own function for reuse by emacsbug.el.
11606
11607 2012-02-10 Leo Liu <sdl.web@gmail.com>
11608
11609 * subr.el (condition-case-unless-debug): Rename from
11610 condition-case-no-debug. All callers changed.
11611 (with-demoted-errors): Fix caller.
11612
11613 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11614 * nxml/rng-valid.el (rng-do-some-validation):
11615 * emacs-lisp/package.el (package-refresh-contents)
11616 (package-menu-execute):
11617 * desktop.el (desktop-create-buffer):
11618 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11619
11620 2012-02-10 Glenn Morris <rgm@gnu.org>
11621
11622 * textmodes/bibtex.el:
11623 Add missing :version tags for new/changed defcustoms.
11624
11625 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11626
11627 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11628
11629 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11630 (smtpmail-via-smtp): Use it, or fall back on the From address.
11631 (smtpmail-send-it): Ditto.
11632
11633 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11636 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11637 (byte-compile-tmp-var): New const.
11638 (byte-compile-defvar): Use it to minimize .elc size.
11639 Just use `defvar' rather than simulate it (bug#10761).
11640
11641 2012-02-09 Glenn Morris <rgm@gnu.org>
11642
11643 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11644
11645 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11646 Add :version tags.
11647
11648 * progmodes/compile.el (compilation-error-screen-columns)
11649 (compilation-first-column, compilation-filter-start): Doc fixes.
11650
11651 * vc/log-view.el (log-view-toggle-entry-display):
11652 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11653
11654 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11655 (report-emacs-bug-can-use-xdg-email):
11656 (report-emacs-bug-insert-to-mailer): Doc fixes.
11657 (report-emacs-bug): Message fix.
11658
11659 * net/browse-url.el (browse-url-can-use-xdg-open)
11660 (browse-url-xdg-open): Doc fixes.
11661
11662 * electric.el (electric-indent-mode, electric-pair-mode)
11663 (electric-layout-rules, electric-layout-mode): Doc fixes.
11664 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11665
11666 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11667
11668 * server.el (server-unselect-display): Don't inadvertently kill
11669 the current buffer. (Bug#10729)
11670
11671 2012-02-08 Glenn Morris <rgm@gnu.org>
11672
11673 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11674 (sql-list-table): Doc fixes.
11675
11676 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11677 Comment out (does nothing).
11678
11679 * completion.el (dynamic-completion-mode):
11680 * dirtrack.el (dirtrack-debug-mode):
11681 * electric.el (electric-layout-mode):
11682 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11683 * face-remap.el (text-scale-mode, buffer-face-mode):
11684 * iimage.el (iimage-mode):
11685 * image-mode.el (image-transform-mode):
11686 * minibuffer.el (completion-in-region-mode):
11687 * scroll-lock.el (scroll-lock-mode):
11688 * simple.el (next-error-follow-minor-mode):
11689 * tar-mode.el (tar-subfile-mode):
11690 * tooltip.el (tooltip-mode):
11691 * vcursor.el (vcursor-use-vcursor-map):
11692 * wid-browse.el (widget-minor-mode):
11693 * emulation/tpu-edt.el (tpu-edt-mode):
11694 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11695 * international/iso-ascii.el (iso-ascii-mode):
11696 * language/thai-util.el (thai-word-mode):
11697 * mail/supercite.el (sc-minor-mode):
11698 * net/goto-addr.el (goto-address-mode):
11699 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11700 * progmodes/cwarn.el (cwarn-mode):
11701 * progmodes/flymake.el (flymake-mode):
11702 * progmodes/glasses.el (glasses-mode):
11703 * progmodes/hideshow.el (hs-minor-mode):
11704 * progmodes/pascal.el (pascal-outline-mode):
11705 * textmodes/enriched.el (enriched-mode):
11706 * vc/smerge-mode.el (smerge-mode):
11707 Doc fixes (minor mode argument).
11708
11709 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11710
11711 * ls-lisp.el (ls-lisp-sanitize): New function.
11712 (ls-lisp-insert-directory): Use it to fix or remove any elements
11713 in file-alist with missing attributes. (Bug#4673)
11714
11715 2012-02-07 Alan Mackenzie <acm@muc.de>
11716
11717 Fix spurious recognition of c-in-knr-argdecl.
11718
11719 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11720 putative K&R region.
11721
11722 2012-02-07 Alan Mackenzie <acm@muc.de>
11723
11724 * progmodes/cc-engine.el (c-forward-objc-directive):
11725 Prevent looping in "#pragma mark @implementation".
11726
11727 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11728
11729 * notifications.el (notifications-on-closed-signal): Make `reason'
11730 optional. (Bug#10744)
11731
11732 2012-02-07 Glenn Morris <rgm@gnu.org>
11733
11734 * emacs-lisp/easy-mmode.el (define-minor-mode):
11735 Doc fixes for the macro and the mode it defines.
11736
11737 * image.el (imagemagick-types-inhibit): Doc fix.
11738
11739 * cus-start.el (imagemagick-render-type): Add it.
11740
11741 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11742
11743 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11744 Set the default at load time, too, so that `font-lock-fontify-buffer'
11745 can be called without setting up the entire mode first. This fixes
11746 a bug in `mm-inline-text' with C MIME parts.
11747
11748 2012-02-06 Chong Yidong <cyd@gnu.org>
11749
11750 * simple.el (list-processes--refresh): Delete exited processes
11751 (Bug#8094).
11752
11753 * comint.el (comint-next-prompt): next-single-char-property-change
11754 and prev-single-char-property-change never return nil (Bug#8657).
11755
11756 * custom.el (defcustom): Doc fix (Bug#9711).
11757
11758 2012-02-05 Chong Yidong <cyd@gnu.org>
11759
11760 * cus-edit.el (custom-variable-reset-backup): Quote the value
11761 before storing it in the customized-value property (Bug#6712).
11762 (custom-display): Add a customization type tag.
11763 (custom-buffer-create-internal): Improve tooltip message.
11764
11765 * wid-edit.el (widget-field-value-get): New optional arg to
11766 suppress trailing whitespace truncation.
11767 (character): Use it (Bug#2689).
11768
11769 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11770
11771 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11772 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11773
11774 2012-02-05 Chong Yidong <cyd@gnu.org>
11775
11776 * cus-edit.el (custom-variable-value-create): For mismatched
11777 types, show the current value (Bug#7600).
11778
11779 * custom.el (defcustom): Doc fix.
11780
11781 2012-02-05 Glenn Morris <rgm@gnu.org>
11782
11783 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11784
11785 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11786
11787 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11788 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11789 (pp-last-sexp): Use `looking-at-p'.
11790
11791 2012-02-04 Glenn Morris <rgm@gnu.org>
11792
11793 * files.el (revert-buffer):
11794 Doc fix (mention revert-buffer-in-progress-p).
11795
11796 * emacs-lisp/ert-x.el (ert-simulate-command):
11797 Check deferred-action-list (which is obsolete) is bound.
11798
11799 * subr.el (with-wrapper-hook): Doc fixes.
11800
11801 * simple.el (filter-buffer-substring-functions)
11802 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11803
11804 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11805
11806 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11807 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11808
11809 2012-02-04 Leo Liu <sdl.web@gmail.com>
11810
11811 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11812
11813 2012-02-04 Glenn Morris <rgm@gnu.org>
11814
11815 * image.el (image-extension-data): Add obsolete alias.
11816
11817 * isearch.el (isearch-update): Doc fix.
11818
11819 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11820
11821 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11822
11823 2012-02-03 Glenn Morris <rgm@gnu.org>
11824
11825 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11826 (image-animate-timeout): Doc fix.
11827
11828 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11829
11830 2012-02-02 Glenn Morris <rgm@gnu.org>
11831
11832 * server.el (server-auth-dir): Doc fix.
11833 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11834
11835 * subr.el (run-mode-hooks): Doc fix.
11836
11837 2012-02-02 Juri Linkov <juri@jurta.org>
11838
11839 * image-mode.el (image-toggle-display-image): Remove tautological
11840 `major-mode' from the `derived-mode-p' test.
11841
11842 2012-02-02 Kenichi Handa <handa@m17n.org>
11843
11844 * composite.el (compose-region): Cancel previous change.
11845
11846 2012-02-02 Kenichi Handa <handa@m17n.org>
11847
11848 * composite.el (compose-region, compose-string): Signal error for
11849 a null string component (Bug#6988).
11850
11851 2012-02-01 Chong Yidong <cyd@gnu.org>
11852
11853 * view.el (view-buffer-other-window, view-buffer-other-frame):
11854 Handle special modes like view-buffer (Bug#10650).
11855 (view-buffer): Simplify.
11856
11857 * frame.el (set-frame-font): Tweak meaning of third argument.
11858
11859 * dynamic-setting.el (font-setting-change-default-font):
11860 Use set-frame-font (Bug#9982).
11861
11862 2012-02-01 Glenn Morris <rgm@gnu.org>
11863
11864 * progmodes/compile.el (compilation-internal-error-properties):
11865 Respect compilation-first-column in the "*compilation*" buffer.
11866
11867 * emacs-lisp/easy-mmode.el (define-minor-mode):
11868 Relax :variable's test for a named function.
11869
11870 2012-01-31 Alan Mackenzie <acm@muc.de>
11871
11872 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11873 off by one error.
11874
11875 2012-01-31 Chong Yidong <cyd@gnu.org>
11876
11877 * frame.el (set-frame-font): New arg ALL-FRAMES.
11878
11879 * menu-bar.el (menu-set-font): Use set-frame-font.
11880
11881 * faces.el (face-spec-reset-face): Don't apply unspecified
11882 attribute values to the default face.
11883
11884 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11885
11886 * progmodes/cwarn.el (cwarn): Remove dead link.
11887 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11888 Remove * from defcustom docstrings.
11889 (turn-on-cwarn-mode): Make obsolete.
11890 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11891 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11892
11893 2012-01-31 Glenn Morris <rgm@gnu.org>
11894
11895 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11896 Fix :variable handling of mode a symbol not equal to modefun.
11897 Allow named functions to be used as the cdr of :variable.
11898
11899 2012-01-30 Glenn Morris <rgm@gnu.org>
11900
11901 * emacs-lisp/authors.el (authors-fixed-entries):
11902 Remove reference to deleted file rnewspost.el.
11903
11904 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11905
11906 * window.el (window-with-parameter): Remove unused variable `windows'.
11907 (window--side-check): Remove unused variable `code'.
11908 (window--resize-siblings): Remove unused variable `first'.
11909 (adjust-window-trailing-edge): Remove unused variable `failed'.
11910 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11911 Use `let', not `let*'.
11912 (balance-windows-2): Remove unused variable `found'.
11913 (window--state-put-2): Remove unused variable `splits'.
11914 (window-state-put): Remove unused variable `selected'.
11915 (same-window-p): Use `string-match-p'.
11916 (display-buffer-assq-regexp): Remove unused variable `value'.
11917 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11918 Mark argument ALIST as ignored.
11919 (pop-to-buffer): Remove unused variable `old-window'.
11920
11921 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11922
11923 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11924 and .lzma compressed files.
11925
11926 2012-01-29 Chong Yidong <cyd@gnu.org>
11927
11928 * frame.el (window-system-default-frame-alist): Doc fix.
11929
11930 * dynamic-setting.el (font-setting-change-default-font): Don't
11931 change the default face if SET-FONT argument is non-nil (Bug#9982).
11932
11933 2012-01-29 Samuel Bronson <naesten@gmail.com>
11934
11935 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11936
11937 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11938
11939 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11940 breakpoints in files outside current directory (Bug#6098).
11941
11942 2012-01-29 Chong Yidong <cyd@gnu.org>
11943
11944 * progmodes/python.el: Require ansi-color at top-level.
11945
11946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11947 Define and use in Emacs Lisp mode (Bug#9360).
11948 (lisp-mode-abbrev-table): Add doc.
11949 (lisp-mode-variables): Don't set local-abbrev-table.
11950 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11951
11952 2012-01-28 Roland Winkler <winkler@gnu.org>
11953
11954 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11955
11956 2012-01-28 Roland Winkler <winkler@gnu.org>
11957
11958 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11959 (bibtex-set-dialect): Use it. Either set global values of
11960 dialect-dependent variables or bind these variables buffer-locally
11961 (Bug#10254).
11962 (bibtex-mode): Call bibtex-set-dialect via
11963 hack-local-variables-hook.
11964 (bibtex-dialect): Update docstring.
11965 Add safe-local-variable predicate.
11966 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11967 bibtex-set-dialect.
11968 (bibtex-mode-map): Define menu for each dialect.
11969 (bibtex-entry): Fix docstring.
11970
11971 2012-01-28 Chong Yidong <cyd@gnu.org>
11972
11973 * eshell/esh-arg.el (eshell-quote-argument): New function.
11974
11975 * eshell/esh-ext.el (eshell-invoke-batch-file):
11976 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11977 first arg to eshell-parse-command (Bug#10523).
11978
11979 2012-01-28 Drew Adams <drew.adams@oracle.com>
11980
11981 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11982 `default-directory' is non-nil.
11983
11984 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11985
11986 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11987 line that displays system-configuration-options. (Bug#9924)
11988
11989 2012-01-28 Drew Adams <drew.adams@oracle.com>
11990
11991 * descr-text.el (describe-char): Show information about POS, in
11992 addition to information about the character at POS. Improve and
11993 update the doc string. Change "code point" to "code point in
11994 charset", to avoid confusion with the character's Unicode code
11995 point shown above that. (Bug#10129)
11996
11997 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11998
11999 * descr-text.el (describe-char): Show the raw character, not only
12000 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12001 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12002 for the reasons.
12003
12004 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12005
12006 * emacs-lisp/package.el (package-install):
12007 Run package-refresh-contents if there is no archive yet (Bug#9798).
12008
12009 2012-01-28 Chong Yidong <cyd@gnu.org>
12010
12011 * emacs-lisp/package.el (package-maybe-load-descriptor):
12012 New function, split from package-maybe-load-descriptor.
12013 (package-maybe-load-descriptor): Use it.
12014 (package-download-transaction): Fully load required packages
12015 inside the loop, so that `require' calls work (Bug#10593).
12016 (package-install): No need to call package-initialize now.
12017
12018 2012-01-28 Chong Yidong <cyd@gnu.org>
12019
12020 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12021
12022 * tooltip.el (tooltip-mode): Doc fix.
12023 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12024
12025 * frame.el (set-cursor-color): Doc fix (Bug#352).
12026
12027 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12028 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12029
12030 * cus-edit.el (custom-buffer-create-internal): Fix search button
12031 action (Bug#10542).
12032 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12033
12034 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12035
12036 * dired.el (dired-mark-files-regexp):
12037 Include any subdirectory components. (Bug#10445)
12038
12039 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12040
12041 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12042 Handle [host]:port syntax. (Bug#10533)
12043
12044 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12045
12046 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12047
12048 2012-01-26 Glenn Morris <rgm@gnu.org>
12049
12050 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12051 * term.el (term-raw-escape-map): Use Control-X-prefix.
12052 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12053
12054 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12055
12056 * window.el (window-state-get, window--state-get-1): Don't deal
12057 with fixed-sizeness of windows. Simplify code.
12058
12059 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12060
12061 * window.el (window--state-get-1, window--state-put-2):
12062 Don't save and restore the mark.
12063
12064 2012-01-25 Chong Yidong <cyd@gnu.org>
12065
12066 * custom.el (custom-variable-p): Doc fix.
12067
12068 2012-01-25 Glenn Morris <rgm@gnu.org>
12069
12070 * dired.el (dired-goto-file): Handle some of the more common
12071 characters that `ls -b' escapes. (Bug#10596)
12072
12073 * progmodes/compile.el (compilation-next-error-function):
12074 Respect compilation-first-column in the "*compilation*" buffer.
12075 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12076
12077 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12078
12079 2012-01-24 Glenn Morris <rgm@gnu.org>
12080
12081 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12082
12083 2012-01-24 Julien Danjou <julien@danjou.info>
12084
12085 * color.el (color-rgb-to-hsl): Fix value computing.
12086 (color-hue-to-rgb): New function.
12087 (color-hsl-to-rgb): New function.
12088 (color-clamp, color-saturate-hsl, color-saturate-name)
12089 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12090 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12091
12092 2012-01-24 Glenn Morris <rgm@gnu.org>
12093
12094 * vc/vc-rcs.el (vc-rcs-create-tag):
12095 * vc/vc-sccs.el (vc-sccs-create-tag):
12096 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12097
12098 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12099
12100 * eshell/esh-util.el (eshell-read-hosts-file):
12101 Skip comment lines. (Bug#10549)
12102
12103 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12104
12105 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12106
12107 * subr.el (display-delayed-warnings): Doc fix.
12108 (collapse-delayed-warnings): New function to collapse identical
12109 adjacent warnings.
12110 (delayed-warnings-hook): Add it.
12111
12112 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12113
12114 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12115
12116 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12117 (tramp-default-user-alist): Don't add "pscp".
12118 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12119 property "login-as", if set. (Bug#10530)
12120
12121 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12122
12123 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12124 "plink1" and "psftp". (Bug#10530)
12125
12126 2012-01-21 Kenichi Handa <handa@m17n.org>
12127
12128 * international/mule-cmds.el (prefer-coding-system): Show a
12129 warning message if the default value of file-name-coding-system
12130 was not changed.
12131
12132 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12133
12134 * windmove.el (windmove-reference-loc):
12135 Fix windmove-reference-loc miscalculation.
12136
12137 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12138
12139 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12140 default unit.
12141
12142 2012-01-21 Glenn Morris <rgm@gnu.org>
12143
12144 * international/mule.el (auto-coding-alist): Add .tbz.
12145
12146 * files.el (local-enable-local-variables): Doc fix.
12147 (inhibit-local-variables-regexps): Rename from
12148 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12149 Doc fix. Add some extensions from auto-coding-alist.
12150 (inhibit-local-variables-suffixes):
12151 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12152 (inhibit-local-variables-p):
12153 New function, extracted from set-auto-mode-1.
12154 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12155 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12156 (hack-local-variables): Doc fix. Make the mode-only case
12157 respect enable-local-variables and friends.
12158 Respect inhibit-local-variables-regexps for file-locals, but
12159 not for directory-locals.
12160 (set-visited-file-name):
12161 Take account of inhibit-local-variables-regexps.
12162 Whether it applies may change as the file name is changed.
12163 * jka-cmpr-hook.el (jka-compr-install):
12164 * jka-compr.el (jka-compr-uninstall):
12165 Update for inhibit-first-line-modes-suffixes name change.
12166
12167 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12168
12169 * help-macro.el (make-help-screen): Temporarily restore original
12170 binding for minor-mode-map-alist (Bug#10454).
12171
12172 2012-01-19 Julien Danjou <julien@danjou.info>
12173
12174 * color.el (color-name-to-rgb): Use the white color to find the max
12175 color component value and return correctly computed values.
12176 (color-name-to-rgb): Add missing float conversion for max value.
12177
12178 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12179
12180 * window.el (window--state-get-1, window-state-get): Do not use
12181 special state value for window-persistent-parameters.
12182 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12183 (window--state-put-2): Reset all window parameters to nil before
12184 assigning values of persistent parameters.
12185
12186 2012-01-18 Alan Mackenzie <acm@muc.de>
12187
12188 Eliminate sluggishness and hangs in fontification of "semicolon
12189 deserts".
12190
12191 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12192 Change value 10000 -> 3000.
12193 (c-state-safe-place): Reformulate so it doesn't stack up an
12194 infinite number of wrong entries in c-state-nonlit-pos-cache.
12195 (c-determine-limit-get-base, c-determine-limit): New functions to
12196 determine backward search limits disregarding literals.
12197 (c-find-decl-spots): Amend commenting.
12198 (c-cheap-inside-bracelist-p): New function which detects "={".
12199
12200 * progmodes/cc-fonts.el
12201 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12202 backward search.
12203 (c-font-lock-declarations): Fix an occurrence of point being
12204 undefined. Check additionally for point being in a bracelist or
12205 near a macro invocation without a semicolon so as to avoid a
12206 fruitless time consuming search for a declarator. Give a more
12207 precise search limit for declarators using the new
12208 c-determine-limit.
12209
12210 2012-01-18 Glenn Morris <rgm@gnu.org>
12211
12212 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12213 (set-auto-mode): Doc fixes.
12214
12215 2012-01-17 Glenn Morris <rgm@gnu.org>
12216
12217 * isearch.el (search-nonincremental-instead): Fix doc typo.
12218
12219 * dired.el (dired-insert-directory): Handle newlines in directory name.
12220 (dired-build-subdir-alist): Unescape newlines in directory name.
12221
12222 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12223
12224 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12225 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12226 (tramp-action-terminal): Use it. (Bug#10530)
12227
12228 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12231
12232 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12233
12234 * window.el (window-state-ignored-parameters): Remove variable.
12235 (window--state-get-1): Rename argument MARKERS to IGNORE.
12236 Handle persistent window parameters. Make copy of clone-of
12237 parameter only if requested. (Bug#10348)
12238 (window--state-put-2): Install a window parameter only if it has
12239 a non-nil value or an existing parameter shall be overwritten.
12240
12241 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12242
12243 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12244
12245 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12246
12247 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12248 don't pass the (nil) value of `upnode' to string-match.
12249
12250 2012-01-14 Chong Yidong <cyd@gnu.org>
12251
12252 * startup.el (command-line): Fix X resource class for cursorColor.
12253 Fix values recognized by the cursorBlink resource.
12254
12255 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12256
12257 * epg.el (epg--make-temp-file): Avoid permission race condition
12258 when running on old Emacs versions (bug#10403).
12259
12260 2012-01-14 Glenn Morris <rgm@gnu.org>
12261
12262 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12263
12264 2012-01-13 Alan Mackenzie <acm@muc.de>
12265
12266 Fix filling for when filladapt mode is enabled.
12267
12268 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12269 c-mask-paragraph, pass in `fill-paragraph' rather than
12270 `fill-region-as-paragraph'. (This is a reversion of a previous
12271 change.)
12272 * progmodes/cc-mode.el (c-basic-common-init):
12273 Make fill-paragraph-handle-comment buffer local and set it to nil.
12274
12275 2012-01-13 Glenn Morris <rgm@gnu.org>
12276
12277 * dired.el (dired-switches-escape-p): New function.
12278 (dired-insert-directory): Use dired-switches-escape-p.
12279 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12280
12281 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12282
12283 2012-01-12 Glenn Morris <rgm@gnu.org>
12284
12285 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12286 changes in adaptive-fill-regexp. (Bug#10276)
12287
12288 2012-01-11 Alan Mackenzie <acm@muc.de>
12289
12290 Fix Emacs bug #10463 - put `widen's around the critical spots.
12291
12292 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12293 widen around each invocation of c-state-pp-to-literal. Remove an
12294 unused let variable.
12295
12296 2012-01-11 Glenn Morris <rgm@gnu.org>
12297
12298 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12299 Doc fix.
12300
12301 2012-01-10 Chong Yidong <cyd@gnu.org>
12302
12303 * net/network-stream.el (network-stream-open-starttls):
12304 Avoid emitting a confusing error message when the server gives a bad
12305 response to the capability command.
12306
12307 2012-01-10 Glenn Morris <rgm@gnu.org>
12308
12309 * mail/unrmail.el (unrmail): Tweak previous change.
12310
12311 2012-01-09 Chong Yidong <cyd@gnu.org>
12312
12313 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12314
12315 2012-01-08 Alan Mackenzie <acm@muc.de>
12316
12317 Optimise font locking in long enum definitions.
12318
12319 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12320 arm to a cond form to handle enums.
12321 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12322 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12323
12324 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12325
12326 * files.el (move-file-to-trash): Preserve default file modes on error.
12327 (Bug#10401)
12328
12329 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12330
12331 * faces.el (set-face-attribute): Clarify the meaning of the nil
12332 frame (bug#10294).
12333
12334 * subr.el (with-selected-frame): Mention that the selected frame
12335 is restored (bug#9980).
12336
12337 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12338 (bug#9759).
12339
12340 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12341 (password-read): Don't autoload unused function.
12342
12343 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12344
12345 * progmodes/which-func.el (which-func-mode): Turn into a
12346 non-interactive function and mark as obsolete (bug#10428).
12347
12348 2012-01-06 Chong Yidong <cyd@gnu.org>
12349
12350 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12351 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12352 functions, along with 1 and -1.
12353
12354 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12355
12356 * time.el (display-time-load-average)
12357 (display-time-default-load-average): Doc fixes. See the thread
12358 starting at
12359 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12360 for the details.
12361
12362 2012-01-06 Glenn Morris <rgm@gnu.org>
12363
12364 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12365 has no messages. (Bug#10377)
12366
12367 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12368 than Info-edit. (Bug#10385)
12369
12370 * time.el (display-time-load-average, display-time-next-load-average):
12371 Doc fixes.
12372
12373 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12374 local setting of buffer-read-only to the input buffer. (Bug#10419)
12375
12376 * calendar/calendar.el (calendar-mode):
12377 Locally set scroll-margin to 0. (Bug#10379)
12378
12379 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12380
12381 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12382
12383 2012-01-05 Glenn Morris <rgm@gnu.org>
12384
12385 * eshell/em-unix.el (diff-no-select): Autoload it.
12386 (eshell/diff): Use diff-no-select. (Bug#10420)
12387
12388 2012-01-05 Chong Yidong <cyd@gnu.org>
12389
12390 * shell.el (shell-dynamic-complete-functions): Revert last change.
12391 (shell-command-completion-function): New function.
12392 (shell-completion-vars): Use it to implement
12393 shell-completion-execonly (Bug#10417).
12394
12395 * custom.el (enable-theme): Don't set custom-safe-themes.
12396
12397 * cus-theme.el (custom-theme-merge-theme):
12398 Ignore custom-enabled-themes and custom-safe-themes.
12399
12400 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12401
12402 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12403 first prompt in `sql-interacive-mode'.
12404 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12405 keywords.
12406 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12407 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12408 context of original buffer. Invoke `sql-login-hook'.
12409
12410 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12411
12412 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12413 letters in cite-prefix.
12414
12415 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12416
12417 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12418
12419 2012-01-03 Chong Yidong <cyd@gnu.org>
12420
12421 * shell.el (shell-dynamic-complete-functions):
12422 Put pcomplete-completions-at-point, so as to try
12423 comint-filename-completion first (Bug#10417).
12424
12425 2012-01-02 Richard Stallman <rms@gnu.org>
12426
12427 * battery.el (battery-status-function):
12428 Detect when to use battery-yeeloong-sysfs.
12429 (battery-echo-area-format): Add string for Yeeloong.
12430 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12431 (battery-yeeloong-sysfs): New function.
12432
12433 2012-01-02 Chong Yidong <cyd@gnu.org>
12434
12435 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12436 (dirtrack): Merge code for handling relative filenames in prompt
12437 from shell-dir-cookie-watcher.
12438 (dirtrack-debug-message): New arg to avoid excess format calls.
12439
12440 * shell.el (shell-dir-cookie-re): Variable deleted.
12441 (shell-dir-cookie-watcher): Function deleted.
12442 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12443 with dirtrack-mode.
12444
12445 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12446
12447 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12448 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12449 libgnutls-26.dll.
12450
12451 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12452
12453 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12454
12455 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12456
12457 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12458 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12459
12460 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12463 also for alternative shells.
12464 (tramp-open-connection-setup-interactive-shell): Check, whether
12465 the shell is a busybox.
12466 (tramp-send-command): Don't suppress multiple prompts for
12467 busyboxes, it hurts.
12468
12469 2011-12-28 Chong Yidong <cyd@gnu.org>
12470
12471 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12472 (gdb-get-source-file): Move mode line update to
12473 gdb-get-source-file (Bug#10087).
12474
12475 2011-12-25 Chong Yidong <cyd@gnu.org>
12476
12477 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12478 gud-gdb-marker-filter without taking it as an argument.
12479 (gud-gdb-run-command-fetch-lines): Caller changed.
12480 (gud-gdb-completion-function): New variable.
12481 (gud-gdb-completion-at-point): Use it.
12482 (gud-gdb-completions-1): Split from gud-gdb-completions.
12483
12484 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12485 function as separate arguments.
12486 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12487 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12488 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12489 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12490 (gdb-stopped, def-gdb-auto-update-trigger)
12491 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12492 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12493 Callers changed.
12494 (gud-gdbmi-completions): New function.
12495 (gdb): Use it for generating the completion table.
12496
12497 2011-12-24 Alan Mackenzie <acm@muc.de>
12498
12499 Introduce a mechanism to widen the region used in context font
12500 locking. Use this to protect declarations from losing their contexts.
12501
12502 * progmodes/cc-langs.el (c-before-font-lock-functions):
12503 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12504 (c-before-context-fontification-functions): New defvar, a list of
12505 functions to be run just before context (etc.) font locking.
12506
12507 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12508 New, functionality extracted from
12509 c-neutralize-syntax-in-and-mark-CPP.
12510 (c-in-after-change-fontification): New variable.
12511 (c-after-change): Set c-in-after-change-fontification.
12512 (c-set-fl-decl-start): Rejig its interface, so it can be called
12513 from both after-change and context fontifying.
12514 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12515 New functions.
12516 (c-standard-font-lock-fontify-region-function): New variable.
12517 (c-font-lock-fontify-region): New function.
12518
12519 2011-12-24 Juri Linkov <juri@jurta.org>
12520
12521 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12522 (Bug#10348)
12523
12524 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12525
12526 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12527 existence of source file. (Bug#10325)
12528
12529 2011-12-23 Alan Mackenzie <acm@muc.de>
12530
12531 Fix unstable fontification inside templates.
12532
12533 * progmodes/cc-langs.el (c-before-font-lock-functions):
12534 Newly created from the singular version. The (c c++ objc) entry now
12535 additionally has c-set-fl-decl-start. The other languages (apart
12536 from AWK) have that as a single entry.
12537
12538 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12539 The functionality for "local" declarations has been extracted to
12540 c-set-fl-decl-start.
12541
12542 * progmodes/cc-mode.el (c-common-init, c-after-change):
12543 Changes due to pluralisation of c-before-font-lock-functions.
12544 (c-set-fl-decl-start): New function, extracted from
12545 c-font-lock-enclosing-decls and enhanced.
12546
12547 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12548
12549 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12550
12551 2011-12-22 Juri Linkov <juri@jurta.org>
12552
12553 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12554
12555 2011-12-22 Chong Yidong <cyd@gnu.org>
12556
12557 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12558
12559 2011-12-21 Drew Adams <drew.adams@oracle.com>
12560
12561 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12562
12563 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12564
12565 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12566
12567 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12568
12569 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12570 highlighting and support. Fix up comments for capitalization.
12571 (cfengine-mode-debug): New var.
12572 (cfengine3-mode): Change the modeline indicator to "CFE3".
12573 (cfengine3-font-lock-keywords): Improve defun highlighting.
12574 (cfengine2-actions): Rename from `cfengine-actions'.
12575 (cfengine2-font-lock-keywords): Rename from
12576 `cfengine-font-lock-keywords'.
12577 (cfengine2-imenu-expression): Rename from
12578 `cfengine-imenu-expression'.
12579 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12580 (cfengine2-beginning-of-defun): Rename from
12581 `cfengine-beginning-of-defun'.
12582 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12583 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12584 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12585 modeline indicator to "CFE2".
12586 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12587 (cfengine-mode-abbrevs): Mark obsolete.
12588
12589 2011-12-21 Chong Yidong <cyd@gnu.org>
12590
12591 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12592 filename argument.
12593
12594 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12595
12596 * window.el (window-normalize-buffer-to-display): Remove.
12597 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12598
12599 2011-12-19 Chong Yidong <cyd@gnu.org>
12600
12601 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12602 Don't signal an error in a predicate function; return non-nil.
12603 (vc-dir-mark-file): Move the error here.
12604 (vc-dir-mark-unmark): If acting on the region, keep going if one
12605 of the entries cannot be marked/unmarked.
12606 (vc-dir-mark-all-files): If current entry is a directory, mark
12607 only child files, as documented.
12608
12609 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12610
12611 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12612 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12613 addition.
12614
12615 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12616
12617 * term/ns-win.el (ns-get-selection-internal)
12618 (ns-store-selection-internal): Declare.
12619 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12620 Declare as obsolete.
12621 (ns-get-pasteboard, ns-paste-secondary):
12622 Use ns-get-selection-internal.
12623 (ns-set-pasteboard, ns-copy-including-secondary):
12624 Use ns-store-selection-internal.
12625
12626 2011-12-17 Chong Yidong <cyd@gnu.org>
12627
12628 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12629 (vc-deduce-fileset): Doc fix.
12630
12631 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12632
12633 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12634
12635 2011-12-13 Sam Steingold <sds@gnu.org>
12636
12637 * man.el (Man-getpage-in-background): When running under a
12638 window-system, ignore $MANWIDTH and $COLUMNS.
12639
12640 2011-12-15 Kenichi Handa <handa@m17n.org>
12641
12642 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12643 (setup-ethiopic-environment-internal): Comment out key-binding for
12644 ethio-toggle-punctuation.
12645
12646 2011-12-13 Alan Mackenzie <acm@muc.de>
12647
12648 Add the switch statement to AWK Mode.
12649
12650 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12651 "default" to the keywords regexp.
12652
12653 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12654 expression as the rest.
12655 (c-nonlabel-token-key): Allow string literals for AWK.
12656 Refactor for the other modes.
12657
12658 Large brace-block initialisation makes CC Mode slow: Fix.
12659 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12660 routines. Limit backward searching in c-font-lock-enclosing.decl.
12661
12662 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12663 pp-state and literal type in addition to the limits.
12664 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12665 (c-state-literal-at): Use the above new defun.
12666 (c-slow-in-literal, c-fast-in-literal): Remove.
12667 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12668
12669 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12670 being in a literal. Add a limit for backward searching.
12671
12672 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12673 c-slow-in-literal.
12674
12675 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12678
12679 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12680
12681 * window.el (delete-other-windows): Use correct frame in call to
12682 window-with-parameter.
12683
12684 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12685
12686 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12687 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12688 (makefile-gmake-statements, makefile-makepp-statements):
12689 Use it and add new makepp keywords.
12690 (makefile-makepp-font-lock-keywords): Add new patterns.
12691 (makefile-match-function-end): Match new [...] and [[...]].
12692
12693 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12694
12695 * ses.el (ses-call-printer-return, ses-cell-property-get)
12696 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12697 (ses-create-cell-variable, ses-reset-header-string)
12698 (ses-cell-set-formula, ses-repair-cell-reference-all)
12699 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12700 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12701 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12702 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12703 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12704 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12705 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12706 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12707 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12708 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12709 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12710 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12711
12712 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12713
12714 * ses.el: The overall change is to add cell renaming, that is
12715 setting fancy names for cell symbols other than name matching
12716 "\\`[A-Z]+[0-9]+\\'" regexp .
12717 (ses-create-cell-variable): New defun.
12718 (ses-relocate-formula): Relocate formulas only for cells the
12719 symbols of which are not renamed, i.e. symbols whose names do not
12720 match regexp "\\`[A-Z]+[0-9]+\\'".
12721 (ses-relocate-all): Relocate values only for cells the symbols of
12722 which are not renamed.
12723 (ses-load): Create cells variables as the (ses-cell ...) are read,
12724 in order to check row col consistency with cell symbol name only
12725 for cells that are not renamed.
12726 (ses-replace-name-in-formula): New defun.
12727 (ses-rename-cell): New defun.
12728
12729 2011-12-11 Chong Yidong <cyd@gnu.org>
12730
12731 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12732 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12733
12734 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12735
12736 * window.el (other-window): Fix docstring.
12737
12738 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12739
12740 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12741 `from' or `to' address before taking its substring.
12742 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12743 encoded name is chopped in the middle of the encoded string, and
12744 thus displayed encoded.
12745
12746 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12747
12748 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12749
12750 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12751
12752 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12753 to use texinfo-update-node and commands that call it if the
12754 Texinfo file uses @node lines without next/prev/up pointers.
12755 Correct outdated description about texinfo-master-menu.
12756 (texinfo-all-menus-update, texinfo-master-menu)
12757 (texinfo-update-node, texinfo-every-node-update)
12758 (texinfo-multiple-files-update): Doc fix. Warn against updating
12759 all the @node lines.
12760 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12761 argument is numeric. Explain better in the doc string what the
12762 function really does.
12763 (texinfo-insert-master-menu-list): Improve the error message
12764 displayed if there's no menu in the Top node.
12765 (Bug#2975) See also this thread:
12766 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12767
12768 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12769
12770 * speedbar.el (speedbar-supported-extension-expressions):
12771 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12772
12773 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12774
12775 * printing.el (pr-mode-alist):
12776 * simple.el (filter-buffer-substring-functions)
12777 (completion-list-insert-choice-function):
12778 * window.el (window-with-parameter, window-atom-root)
12779 (window-sides-slots, window-size-fixed, window-min-delta)
12780 (window-max-delta, window--resize-mini-window)
12781 (window--resize-child-windows-normal, window-tree)
12782 (delete-other-windows, quit-window, split-window)
12783 (display-buffer-record-window, special-display-buffer-names)
12784 (special-display-regexps, special-display-popup-frame)
12785 (same-window-p, split-window-sensibly)
12786 (display-buffer-overriding-action, display-buffer-alist)
12787 (display-buffer-base-action, display-buffer, switch-to-buffer)
12788 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12789 (fit-window-to-buffer, recenter-positions)
12790 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12791 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12792 and remove unneeded backslashes in docstrings.
12793
12794 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12797
12798 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12799 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12800 end in ".mk".
12801 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12802 when reading the makefile (bug#10116).
12803
12804 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12807 (bug#10116).
12808
12809 2011-12-06 Glenn Morris <rgm@gnu.org>
12810
12811 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12812
12813 2011-12-06 Chong Yidong <cyd@gnu.org>
12814
12815 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12816
12817 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * textmodes/table.el (table-shorten-cell): Fix typo.
12820
12821 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12822
12823 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12824
12825 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12826
12827 * descr-text.el (describe-char): Fix display of strong
12828 right-to-left characters and directional embeddings and overrides.
12829
12830 * simple.el (what-cursor-position): Fix display of codepoints of
12831 strong right-to-left characters.
12832
12833 2011-12-05 Chong Yidong <cyd@gnu.org>
12834
12835 * faces.el (read-color): Doc fix.
12836
12837 2011-12-05 Glenn Morris <rgm@gnu.org>
12838
12839 * align.el (align--set-marker): Add doc-string.
12840 Don't try to move something that is not a marker. (Bug#10216)
12841
12842 2011-12-04 Glenn Morris <rgm@gnu.org>
12843
12844 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12845 overly zealous deletion of trailing whitespace.
12846
12847 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12848
12849 * server.el (server-delete-client): On Windows, do not try to delete
12850 the only terminal.
12851 (server-process-filter): On Windows, treat requests for a tty frame as
12852 if they were for a GUI frame if the running server is in GUI mode.
12853
12854 2011-12-03 Glenn Morris <rgm@gnu.org>
12855
12856 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12857
12858 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * electric.el: Streamline electric-indent's hook.
12861 (electric-indent-chars): Revert to simple list.
12862 (electric-indent-functions): New var.
12863 (electric-indent-post-self-insert-function): Use it.
12864
12865 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12866 there's no inferior buffer (bug#10196).
12867 (prolog-consult-compile): Don't use toggle-read-only.
12868
12869 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12870
12871 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12872 interrupt. (Bug#10187)
12873
12874 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12877 (bug#9160).
12878
12879 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12880 (bug#10191).
12881
12882 2011-12-02 Juri Linkov <juri@jurta.org>
12883
12884 * info.el (Info-search): Display "end of manual" when Isearch
12885 reaches the end of single-file Info manual. (Bug#9918)
12886
12887 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12888
12889 * isearch.el (isearch-message-prefix): Run the input method part
12890 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12891
12892 2011-12-02 Juri Linkov <juri@jurta.org>
12893
12894 * isearch.el (isearch-occur): Use `word-search-regexp' for
12895 `isearch-word'.
12896 (isearch-search-and-update): Add condition for `isearch-word' and
12897 call `word-search-regexp'. (Bug#10145)
12898
12899 2011-12-01 Glenn Morris <rgm@gnu.org>
12900
12901 * eshell/em-hist.el (eshell-hist-initialize):
12902 Handle eshell-history-size nil and HISTSIZE set or unset.
12903 (eshell-history-file-name, eshell-history-size): Fix custom type.
12904
12905 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12908
12909 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12910
12911 * progmodes/verilog-mode.el (verilog-pretty-expr):
12912 Rework verilog-pretty-expr to handle new assignment operators in system
12913 verilog, such as += *= and the like.
12914 (verilog-assignment-operator-re): Regular expression to find the
12915 assigment operator in a verilog assignment.
12916 (verilog-assignment-operation-re): Regular expression to find an
12917 assignment statement for pretty-expr.
12918 (verilog-in-attribute-p): Query returns true if point is in an
12919 attribute context; used to skip these for expression line up from
12920 pretty-expr.
12921 (verilog-in-parameter-p): Query returns true if point is in an
12922 parameter definition context; used to skip these for expression
12923 line up from pretty-expr.
12924 (verilog-in-parenthesis-p): Query returns true if point is in a
12925 parenthetical expression, specifically ( ) but not [ ] or { };
12926 used by pretty-expr.
12927 (verilog-just-one-space): If there is no space, don't add one.
12928 (verilog-get-lineup-indent-2): Specifically skip just attribute
12929 contexts for expression lineup, rather than skipping all
12930 parenthetical expressions.
12931 (verilog-calculate-indent): Fix comment, and fix indent.
12932 (verilog-do-indent): Indent declarations in lists (suggested by
12933 Joachim Lechner).
12934 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12935 skeleton items.
12936 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12937 by Alain Mellan).
12938
12939 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12940
12941 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12942 parameters with embedded comments. Reported by Ray Stevens.
12943 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12944 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12945 Reported by Tim Holt.
12946 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12947 instantiated by upper module causing wrong expansion until AUTOed a
12948 second time. Reported by K C Buckenmaier.
12949 (verilog-diff-auto): Fix showing .* as a difference when
12950 `verilog-auto-star-save' off. Reported by Dan Dever.
12951 (verilog-auto-reset, verilog-read-always-signals)
12952 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12953 temporary signals in reset list if
12954 verilog-auto-reset-blocking-in-non is nil, and match assignment
12955 style to each signal's assignment type, bug381.
12956 Reported by Thomas Esposito.
12957 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12958 (verilog-uvm-statement-re): Support UVM indentation and
12959 highlighting, with old OVM keywords only.
12960 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12961 Support AUTOTIEOFF creating non-wire data types.
12962 Suggested by Jonathan Greenlaw.
12963 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12964 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12965 (verilog-inject-sense, verilog-read-inst-pins)
12966 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12967 Fix mismatching parenthesis inside commented out code when deleting
12968 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12969 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12970 non-numeric vector width. Reported by Alex Reed.
12971 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12972 detecting signals with parameter widths. Reported by Alex Reed.
12973 (verilog-auto-delete-trailing-whitespace):
12974 With `verilog-auto-delete-trailing-whitespace' remove trailing
12975 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12976 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12977 Fix verilog-scan-cache corruption when running user AUTO expansion
12978 hooks that call indentation routines.
12979 (verilog-simplify-range-expression): Fix typo ignoring lower case
12980 identifiers.
12981 (verilog-delete-auto): Fix delete-autos to also remove user created
12982 automatics, as long as they start with AUTO.
12983 (verilog-batch-diff-auto, verilog-diff-auto)
12984 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12985 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12986 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12987 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12988 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12989 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12990 is disabled and its cache will get corrupt, causing AUTOS not to
12991 expand. Instead use only -quick functions.
12992 (verilog-scan-region): Fix scanning over escaped quotes.
12993 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12994 (verilog-re-search-backward-quick)
12995 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12996 related functions now ignore strings, to fix misparsing of strings
12997 with magic comments embedded in them.
12998 (verilog-read-auto-template):
12999 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13000 Reported by Brad Dobbie.
13001 (verilog-read-auto-template):
13002 Fix 'verilog-auto-inst-template-numbers' with comments.
13003 Reported by Brad Dobbie.
13004 (verilog-auto-inst, verilog-auto-inst-param)
13005 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13006 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13007 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13008 debugging templates without merge conflicts, bug357.
13009 Reported by Brad Dobbie.
13010 (verilog-read-auto-template):
13011 Fix verilog-auto-inst-template-numbers with multiple templates.
13012 Reported by Brad Dobbie.
13013 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13014 abbrevs so user won't be asked to save.
13015 (verilog-read-auto-lisp-present): Fix to start at beginning of
13016 buffer in case called outside of verilog-auto.
13017 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13018 to "X-2". Reported by Matthew Myers.
13019 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13020 all inputs from module templates. Reported by Leith Johnson.
13021 (verilog-module-inside-filename-p): Fix locating programs as with
13022 modules.
13023 (verilog-auto-inst-port): Fix vl-width expressions when using
13024 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13025 (verilog-decls-get-regs, verilog-decls-get-signals,
13026 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13027 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13028 verilog-read-decls): Combine reg and wire structures into one var
13029 structure to represent SystemVerilog concepts.
13030 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13031 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13032 (verilog-auto-wire-type, verilog-insert-definition):
13033 Add verilog-auto-wire-type and AUTOLOGIC to support using
13034 SystemVerilog "logic" keyword instead of "wire"/"reg".
13035 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13036 to declares outputs that also have assignments (presumably in an
13037 ifdef or generate if so there's not a driver conflict).
13038 Reported by Matthew Myers.
13039 (verilog-auto-declare-nettype, verilog-insert-definition):
13040 Add verilog-auto-declare-nettype to fix declarations using
13041 `default_nettype none. Reported by Julian Gorfajn.
13042 (verilog-read-always-signals-recurse, verilog-read-decls)
13043 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13044 malformed end statement, bug325. Reported by Joshua Wise and
13045 Andrew Drake.
13046 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13047 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13048 when expanding .* in interfaces, bug320.
13049 Reported by Pierre-David Pfister.
13050 (verilog-read-module-name): Fix import statements between module
13051 name and open parenthesis, bug317.
13052 Reported by Pierre-David Pfister.
13053 (verilog-simplify-range-expression): Fix simplification of
13054 multiplications inside AUTOWIRE connections, bug303.
13055 (verilog-auto-inst-port): Support parameter expansion in
13056 multidimensional arrays.
13057 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13058 after "assert property". Reported by Julian Gorfajn.
13059 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13060 with multiplication, bug303.
13061 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13062 Reported by Jan Frode Lonnum.
13063
13064 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13065
13066 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13067 (hfy-shell-file-name, hfy-shell):
13068 * international/fontset.el (x-decompose-font-name): Fix typos.
13069
13070 2011-11-29 Ken Brown <kbrown@cornell.edu>
13071
13072 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13073 (gdb-version): Remove defvar.
13074 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13075 (gdb-gud-context-command, gdb-non-stop-handler)
13076 (gdb-current-context-command, gdb-stopped): Use it.
13077 (gdb-init-1): Enable pretty printing here.
13078 (gdb-non-stop-handler): Don't enable pretty-printing here.
13079 Check to see if the target supports non-stop mode; if not, turn off
13080 non-stop mode. Use the following.
13081 (gdb-check-target-async): New defun.
13082 (gud-watch, gdb-stopped): Fix whitespace.
13083 (gdb-get-source-file): Don't try to display the source file if
13084 `gdb-main-file' is nil.
13085
13086 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * align.el: Try to generate fewer markers (bug#10047).
13089 (align--set-marker): New macro.
13090 (align-region): Use it.
13091
13092 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13095
13096 2011-11-29 Chong Yidong <cyd@gnu.org>
13097
13098 * indent.el (indent-for-tab-command, indent-according-to-mode):
13099 Doc fix.
13100 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13101
13102 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13103
13104 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13105 aware of remote file names. (Bug#10124)
13106
13107 2011-11-29 Chong Yidong <cyd@gnu.org>
13108
13109 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13110
13111 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * files.el (find-file): Don't use force-same-window (bug#10144).
13114 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13115 use pop-to-buffer if the selected window can't be used.
13116 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13117
13118 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13119
13120 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13121 special-mode-map.
13122
13123 2011-11-28 Chong Yidong <cyd@gnu.org>
13124
13125 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13126
13127 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13128
13129 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13130 gdb-get-source-file-list on gdb-create-source-file-list.
13131
13132 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13133
13134 * whitespace.el (whitespace-newline): Use a different foreground
13135 color for 16-color light-background displays.
13136
13137 2011-11-24 Chong Yidong <cyd@gnu.org>
13138
13139 * window.el (display-buffer--special-action): Doc fix.
13140
13141 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13142
13143 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13144 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13145 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13146 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13147 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13148 (avl-tree-stack-first):
13149 * emacs-lisp/cconv.el (cconv--analyse-use):
13150 * net/gnutls.el (gnutls-negotiate): Fix typos.
13151
13152 2011-11-24 Glenn Morris <rgm@gnu.org>
13153
13154 * lpr.el (lpr-windows-system, lpr-lp-system):
13155 * mail/binhex.el (binhex-begin-line):
13156 * progmodes/grep.el (grep-history, grep-find-history):
13157 * textmodes/flyspell.el:
13158 * vc/pcvs-defs.el (cvs-global-menu):
13159 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13160 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13161 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13162
13163 * net/tls.el: Fix case of "GnuTLS".
13164
13165 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13166
13167 * version.el (emacs-build-system): Give it a doc-string.
13168
13169 2011-11-24 Juri Linkov <juri@jurta.org>
13170
13171 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13172
13173 2011-11-24 Glenn Morris <rgm@gnu.org>
13174
13175 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13176 if called on a non-mime message just toggle the headers. (Bug#8006)
13177
13178 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13179
13180 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13181 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13182 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13183 (allout-rebullet-heading, allout-open-sibtopic)
13184 (allout-toggle-current-subtree-encryption)
13185 (allout-toggle-subtree-encryption, allout-encrypt-string)
13186 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13187 (allout-distinctive-bullets-string, allout-auto-activation):
13188 * window.el (window-normalize-buffer-to-display):
13189 * progmodes/verilog-mode.el (verilog-batch-indent):
13190 * textmodes/bibtex.el (bibtex-field-braces-opt)
13191 (bibtex-field-strings-opt):
13192 * vc/cvs-status.el (cvs-tree-merge):
13193 Fix typos.
13194
13195 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13196
13197 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13198 `non-essential' to t, in order to avoid remote connections.
13199
13200 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13201
13202 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13203 On MS-DOS and MS-Windows, compare with loaddefs.el
13204 case-insensitively.
13205
13206 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13207
13208 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13209
13210 2011-11-23 Glenn Morris <rgm@gnu.org>
13211
13212 * paths.el (rmail-file-name): Reformat the doc-string so that it
13213 is picked up.
13214
13215 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13216 (rmail-auto-file): Ignore case in the "special" field names,
13217 as mail-fetch-field does for all others.
13218
13219 * mail/rmail.el (rmail-forward):
13220 * mail/rmailkwd.el (rmail-set-label):
13221 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13222 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13223
13224 * mail/rmail.el (rmail-current-message): Doc fix.
13225
13226 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13227
13228 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13231
13232 2011-11-22 Glenn Morris <rgm@gnu.org>
13233
13234 * mail/rmailmm.el (test-rmail-mime-handler)
13235 (test-rmail-mime-bulk-handler)
13236 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13237
13238 2011-11-21 Juri Linkov <juri@jurta.org>
13239
13240 * calc/calc.el (calc-read-key-sequence):
13241 Let-bind `input-method-function' to nil. (Bug#10018)
13242
13243 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13244
13245 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13246 Tell the caller that the next line needs recomputation, even
13247 though it doesn't start a sexp (bug#10094).
13248
13249 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13250
13251 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13252
13253 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13254
13255 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13256 Use force-same-window.
13257
13258 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13259
13260 * descr-text.el (describe-char-unicode-data):
13261 * json.el (json-string-escape):
13262 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13263 (Footnote-unicode, Footnote-style-p):
13264 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13265
13266 2011-11-20 Chong Yidong <cyd@gnu.org>
13267
13268 * window.el (replace-buffer-in-windows): Restore interactive spec.
13269
13270 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13273
13274 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13275 (byte-compile-global-not-obsolete-vars): New var.
13276 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13277 Use it.
13278 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13279
13280 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13281
13282 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13283 * progmodes/pascal.el (electric-pascal-equal):
13284 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13285 * xml.el (xml-substitute-special): Fix typos.
13286
13287 2011-11-20 Glenn Morris <rgm@gnu.org>
13288
13289 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13290 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13291 Doc fixes.
13292 (rmail-decode-mime-charset): Mark as obsolete.
13293
13294 * mail/rmailsum.el (rmail-message-regexp-p-1):
13295 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13296 Before using mime functions, check they are set. (Bug#10077)
13297
13298 2011-11-19 Juri Linkov <juri@jurta.org>
13299
13300 * info.el (Info-finder-find-node): Use `package--builtins' instead
13301 of `package-alist'. Use node names formed by the pattern "Keyword "
13302 and the keyword name.
13303
13304 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13305
13306 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13307
13308 2011-11-19 Juri Linkov <juri@jurta.org>
13309
13310 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13311 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13312 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13313 `old-history', `old-history-forward'. Add let-binding
13314 `window-selected'. Remove calls to `kill-buffer',
13315 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13316 before calling `Info-find-node', so `Info-find-node-2' will reread
13317 the Info file. Restore window positions only when `window-selected'
13318 is non-nil.
13319
13320 2011-11-19 Juri Linkov <juri@jurta.org>
13321
13322 * isearch.el (isearch-lazy-highlight-new-loop):
13323 Remove condition `(not isearch-error)'. (Bug#9918)
13324
13325 * misearch.el (multi-isearch-search-fun): Add condition
13326 `(not bound)' to ignore lazy-highlighting search.
13327 Add the search-failed message "end of multi" when the end of
13328 multi-sequence is reached. Uncapitalize the search-failed
13329 message "Repeat for next buffer".
13330
13331 * info.el (Info-search): Add the search-failed message
13332 "end of the manual" when the end of the manual is reached
13333 in Isearch mode.
13334
13335 2011-11-19 Juri Linkov <juri@jurta.org>
13336
13337 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13338 Use non-destructive `remove' instead of `delete' because
13339 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13340 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13341
13342 2011-11-19 Juri Linkov <juri@jurta.org>
13343
13344 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13345 to nil instead of binding `search-ring' and `regexp-search-ring'.
13346 (Bug#9185)
13347
13348 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13349
13350 * simple.el (line-move): Force movement by logical lines for any
13351 hscrolled window, not only when auto-hscroll-mode is on.
13352 (line-move-visual): Update doc string to that effect. (Bug#10076)
13353
13354 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13355
13356 * language/european.el (macintosh): Define as alias for mac-roman.
13357
13358 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13359
13360 * mail/rmailmm.el (rmail-mime-display-header)
13361 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13362 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13363 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13364 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13365 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13366 of a raw aref.
13367 (rmail-mime-entity-segment): To get past the tagline, move forward
13368 2 more lines, to account for the 2 empty lines that precede and
13369 follow the line with the buttons.
13370 (rmail-mime-update-tagline): Move one more line, to get past the
13371 empty line that follows the buttons in the tagline. (Bug#9520)
13372
13373 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13374
13375 * window.el (window-max-delta-1, window-min-delta-1)
13376 (window-min-size-1, window-state-get-1, window-state-put-1)
13377 (window-state-put-2): Use "window--" prefix.
13378
13379 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13382 (smie-warning-count): New var.
13383 (smie-set-prec2tab): Use it.
13384 (smie-bnf->prec2): Improve warnings. Add docstring.
13385 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13386 (smie-bnf--set-class): New function.
13387 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13388 corner case.
13389
13390 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13391 (compilation-error-properties, compilation-move-to-column):
13392 Handle compilation-first-column while in the target buffer.
13393
13394 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13395 Don't hardcode point-min==1.
13396
13397 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13398 (eshell-rewrite-for-command): Remove workaround.
13399 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13400 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13401 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13402
13403 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13404
13405 2011-11-17 Glenn Morris <rgm@gnu.org>
13406
13407 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13408 Ignore buffer-local generated-autoload-file if it is the same
13409 as the global value. (Bug#10049)
13410
13411 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13412
13413 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13414 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13415 (reftex-toc-previous-heading, reftex-toc-max-level)
13416 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13417 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13418 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13419 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13420 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13421 (reftex-toc-rename-label, reftex-toc-visit-location)
13422 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13423 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13424 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13425 leaving "*toc*" only for references to the buffer.
13426
13427 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13428
13429 * window.el (window-resize, delete-window, split-window):
13430 Replace window-splits by window-combination-resize.
13431 * cus-start.el (window-splits): Replace by window-combination-resize.
13432
13433 2011-11-17 Glenn Morris <rgm@gnu.org>
13434
13435 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13436 Make bash entry derive from sh entry, not shell entry.
13437
13438 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13439
13440 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13441 local file name.
13442
13443 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13444
13445 * menu-bar.el (menu-bar-file-menu):
13446 * printing.el (pr-ps-utility):
13447 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13448 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13449 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13450 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13451 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13452 (icalendar--convert-cyclic-to-ical)
13453 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13454 (icalendar--convert-ical-to-diary)
13455 (icalendar--convert-recurring-to-diary)
13456 (icalendar--convert-non-recurring-all-day-to-diary)
13457 (icalendar-import-format-sample):
13458 * progmodes/idlw-shell.el (idlwave-shell-mode):
13459 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13460 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13461 (vhdl-ps-print-init): Fix typos.
13462
13463 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13464
13465 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13466 FSF and collapse date sequence, obscure author/maintainer email address
13467 better, remove extra version line, track relocation of author's webpage.
13468
13469 * progmodes/python.el (python-pdbtrack-input-prompt)
13470 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13471 regular python pdb prompts. Adjustments shamelessly taken exactly as
13472 suggested in EmacsWiki page (tiny change):
13473 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13474
13475 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13476
13477 * expand.el (expand-pos, expand-index, expand-point):
13478 Remove redundant info from docstring.
13479 (expand-add-abbrevs): Doc fix.
13480 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13481 (expand-sample-perl-mode-expand-list): Fix typos.
13482
13483 * net/dbus.el (dbus-event-member-name):
13484 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13485 * term/pc-win.el (msdos-create-frame-with-faces):
13486 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13487
13488 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13489
13490 * window.el (split-window, window-state-get-1)
13491 (window-state-put-1, window-state-put-2): Rename occurrences of
13492 window-nest to window-combination-limit.
13493 * cus-start.el (window-nest): Rename to window-combination-limit.
13494
13495 2011-11-16 Chong Yidong <cyd@gnu.org>
13496
13497 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13498 regexp (Bug#10033).
13499
13500 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13501
13502 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13503 `completing-read' will remove *Completions* and will preserve
13504 current-buffer for us.
13505 (tmm-add-prompt): Users of *Completions* will always (re)set its
13506 major mode.
13507 (tmm-old-comp-map): Remove.
13508
13509 2011-11-16 Glenn Morris <rgm@gnu.org>
13510
13511 * mail/rmailedit.el: Require rmailmm when compiling.
13512 (rmail-old-mime-state): New declaration.
13513 (rmail-edit-current-message): If editing a mime message,
13514 edit the "raw" message from the mbox buffer.
13515 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13516
13517 2011-11-15 Glenn Morris <rgm@gnu.org>
13518
13519 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13520 which wasn't being used. Add optional arg to force given state.
13521 (rmail-mime): Add optional arg to force given state.
13522
13523 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13524
13525 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13526 * frame.el (display-mm-dimensions-alist):
13527 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13528 (outline-move-subtree-down):
13529 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13530 (newsticker--treeview-do-get-node):
13531 * net/quickurl.el (quickurl-list-buffer-name):
13532 * progmodes/dcl-mode.el (dcl-mode):
13533 * progmodes/gdb-mi.el (gdb-mapcar*):
13534 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13535
13536 2011-11-15 Glenn Morris <rgm@gnu.org>
13537
13538 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13539 in a boolean sense, so just make it a boolean, and fix the doc.
13540 (rmail-show-mime-function, rmail-mime-feature)
13541 (rmail-require-mime-maybe): Doc fixes.
13542 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13543
13544 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13545
13546 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13547
13548 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13549 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13550 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13551 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13552
13553 2011-11-15 Glenn Morris <rgm@gnu.org>
13554
13555 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13556 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13557 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13558 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13559 (rmail-mime, rmail-show-mime): Doc fixes.
13560
13561 * term/ns-win.el (mode-line-frame-identification):
13562 Leave it alone. (Bug#10051)
13563
13564 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13565
13566 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13567 Handle empty buffers. (Bug#9978)
13568
13569 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13570
13571 * international/mule.el (define-charset):
13572 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13573 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13574 * progmodes/verilog-mode.el (verilog-backward-token):
13575 * textmodes/ispell.el (lookup-words):
13576 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13577
13578 2011-11-14 Glenn Morris <rgm@gnu.org>
13579
13580 * progmodes/executable.el
13581 (executable-make-buffer-file-executable-if-script-p):
13582 Handle file-modes returning nil.
13583
13584 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13585 message - not necessary, and causes problems. (Bug#9831)
13586
13587 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13588
13589 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13590
13591 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13592 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13593 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13594
13595 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13596
13597 * window.el (window-resize, delete-window): Use window-splits
13598 variable instead of function.
13599 (window-state-get-1, window-state-put-2, window-state-put):
13600 Don't deal with windows' splits status.
13601
13602 2011-11-12 Glenn Morris <rgm@gnu.org>
13603
13604 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13605 (apropos-documentation): Doc fixes.
13606
13607 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13608
13609 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13610 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13611
13612 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * electric.el (electric-indent-post-self-insert-function): Make it
13615 possible for a char to only indent in some circumstances.
13616 (electric-indent-mode): Simplify.
13617
13618 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13619
13620 * window.el (windows-with-parameter): Remove unused function.
13621 (windows-at-side): Rename to window-at-side-list.
13622 (window-check, window-atom-check, window-atom-check-1)
13623 (window-side-check, window-size-ignore, window-size-fixed-1)
13624 (window-in-direction-2): Prefix with "window--".
13625 (window-tree-1): Rename to window--subtree, fix doc-string.
13626
13627 2011-11-11 Glenn Morris <rgm@gnu.org>
13628
13629 * subr.el (eval-after-load): If FILE is already loaded,
13630 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13631
13632 2011-11-10 Glenn Morris <rgm@gnu.org>
13633
13634 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13635 Call svn via vc-svn-command rather than vc-do-command.
13636 (vc-svn-command): Add --non-interactive. (Bug#9993)
13637 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13638
13639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13640 Add toggle-read-only. (Bug#7292)
13641 * files.el (toggle-read-only): Mention that it should only
13642 be used interactively. (Bug#10006)
13643
13644 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13645
13646 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13647 Adjust regexp for OCaml warnings.
13648
13649 * electric.el (electric-pair-post-self-insert-function): Let user
13650 turn it off buffer-locally (bug#9932).
13651
13652 * progmodes/python.el (python-beginning-of-statement):
13653 Rewrite (bug#2703).
13654
13655 * progmodes/compile.el: Better handle TABs (bug#9749).
13656 (compilation-internal-error-properties)
13657 (compilation-next-error-function): Obey the target buffer's
13658 compilation-error-screen-columns.
13659
13660 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13661
13662 * progmodes/meta-mode.el: Remove obsolete comments.
13663 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13664 Fix typos in docstrings.
13665
13666 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13667
13668 * window.el (window-size-fixed-p): Rewrite doc-string.
13669 (window-resizable-p): Rename to window--resizable-p. Update callers.
13670 (window--resizable): New function. Make all callers of
13671 window-resizable call window--resizable instead.
13672 (window-resizable): Rewrite in terms of window--resizable.
13673
13674 2011-11-08 Glenn Morris <rgm@gnu.org>
13675
13676 * progmodes/delphi.el (delphi-mode-syntax-table):
13677 Let define-derived-mode define a proper syntax table. (Bug#9994)
13678
13679 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 * window.el: Stay away from defsubst.
13682 (window-list-no-nils): Remove.
13683 (window-state-get-1, window-state-get): Use backquote instead.
13684
13685 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13686
13687 * emacs-lisp/find-func.el (find-function-read):
13688 Fix incorrect use of default argument in `completing-read'.
13689
13690 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13691
13692 * window.el (display-buffer-function, special-display-function):
13693 Mention display-buffer-record-window but do not mention
13694 help-setup parameter in doc-strings.
13695 (window-min-delta): Fix doc-string typo.
13696
13697 2011-11-08 Chong Yidong <cyd@gnu.org>
13698
13699 * window.el (window-total-height, window-total-width): Doc fix.
13700 (window-body-size): Move from C.
13701 (window-body-height, window-body-width): Move to C.
13702
13703 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13704
13705 * window.el: Make special-display like display-buffer-alist (bug#9532).
13706 (display-buffer--special-action): New function, morphed
13707 from display-buffer--special.
13708 (display-buffer): Use it to handle special-display-buffers at higher
13709 priority (just after display-buffer-alist).
13710 (display-buffer-fallback-action, display-buffer--other-frame-action)
13711 (pop-to-buffer-same-window): Remove display-buffer--special.
13712
13713 2011-11-07 Glenn Morris <rgm@gnu.org>
13714
13715 * calendar/cal-menu.el (cal-menu-set-date-title):
13716 Do nothing if not in a calendar. (Bug#9976)
13717
13718 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13719
13720 * files.el (find-file): Always use selected-window.
13721
13722 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13723
13724 * window.el (window-combinations): Make WINDOW argument
13725 mandatory. Rewrite doc-string.
13726 (walk-window-subtree, window-atom-check, window-min-delta)
13727 (window-max-delta, window--resize-this-window)
13728 (window--resize-root-window-vertically, window-tree)
13729 (balance-windows, window-state-put): Rewrite doc-strings as to
13730 not mention the term "subwindow".
13731 (window--resize-subwindows-skip-p): Rename to
13732 window--resize-child-windows-skip-p.
13733 (window--resize-subwindows-normal): Rename to
13734 window--resize-child-windows-normal.
13735 (window--resize-subwindows): Rename to
13736 window--resize-child-windows.
13737 (window-or-subwindow-p): Rename to window--in-subtree-p.
13738
13739 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13740
13741 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13742 Ensure that mbox format messages end in two newlines (Bug#9974).
13743
13744 2011-11-06 Chong Yidong <cyd@gnu.org>
13745
13746 * window.el (window-combination-p): Function deleted; its
13747 side-effect is not used in any existing code.
13748 (window-combinations, window-combined-p): Call window-*-child
13749 directly.
13750
13751 2011-11-05 Chong Yidong <cyd@gnu.org>
13752
13753 * window.el (window-valid-p): Rename from window-any-p.
13754 (window-size-ignore, window-state-get): Callers changed.
13755 (window-normalize-window): Rename from window-normalize-any-window.
13756 New arg LIVE-ONLY, replacing window-normalize-live-window.
13757 (window-normalize-live-window): Delete.
13758 (window-combination-p, window-combined-p, window-combinations)
13759 (walk-window-subtree, window-atom-root, window-min-size)
13760 (window-sizable, window-sizable-p, window-size-fixed-p)
13761 (window-min-delta, window-max-delta, window-resizable)
13762 (window-resizable-p, window-full-height-p, window-full-width-p)
13763 (window-current-scroll-bars, window-point-1, set-window-point-1)
13764 (window-at-side-p, window-in-direction, window-resize)
13765 (adjust-window-trailing-edge, maximize-window, minimize-window)
13766 (window-deletable-p, delete-window, delete-other-windows)
13767 (record-window-buffer, unrecord-window-buffer)
13768 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13769 (quit-window, split-window, window-state-put)
13770 (set-window-text-height, fit-window-to-buffer)
13771 (shrink-window-if-larger-than-buffer): Callers changed.
13772
13773 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13774
13775 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13776 rfc2047-decode-string.
13777 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13778 warnings.
13779
13780 * window.el (window-body-height, window-body-width): Mention in
13781 the doc string that the return values are in frame's canonical
13782 units. (Bug#9949)
13783
13784 2011-11-03 Alan Mackenzie <acm@muc.de>
13785
13786 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13787 change in cc-engine.el.
13788
13789 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13792
13793 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13794
13795 * window.el (quit-window): Call unrecord-window-buffer after
13796 showing another buffer in the window. (Bug#9937)
13797 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13798
13799 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13800
13801 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13802 Accept status with more than 9 shelves. (Bug#9935)
13803 Reported by Colin D Bennett <colin@gibibit.com>.
13804
13805 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13806
13807 * help.el (with-help-window): Don't reference
13808 temp-buffer-show-specifiers in doc-string.
13809
13810 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13811
13812 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13813 menu-item.
13814
13815 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13816
13817 * whitespace.el: New version 13.2.2.
13818 (whitespace-newline-mode): Disable properly. Reported by Sarah
13819 <EmacsWiki>.
13820
13821 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13822
13823 * net/newst-treeview.el: Remove "Time-stamp".
13824 (newsticker--group-manage-orphan-feeds): Do not call
13825 newsticker--treeview-tree-update.
13826 (newsticker-treeview-update, newsticker-treeview):
13827 Call newsticker--treeview-tree-update if necessary.
13828
13829 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13830
13831 * window.el (window-iso-combination-p, window-iso-combined-p)
13832 (window-iso-combinations): Remove "iso-" infix.
13833 Suggested by Chong Yidong.
13834 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13835 (window-max-delta-1, window-resize, window--resize-siblings)
13836 (window--resize-this-window, adjust-window-trailing-edge)
13837 (split-window, balance-windows-1)
13838 (shrink-window-if-larger-than-buffer):
13839 * calendar/calendar.el (calendar-generate-window):
13840 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13841
13842 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13845 in place (bug#9907).
13846 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13847 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13848 (eshell-structure-basic-command, eshell-rewrite-while-command)
13849 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13850 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13851 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13852 (eshell-do-pipelines-synchronously, eshell-eval-command):
13853 Use backquotes and prefer setq to set.
13854 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13855 (eshell-macrop): Use functionp.
13856 (eshell-do-eval): Handle multiple expressions in `while' body.
13857
13858 2011-10-30 Chong Yidong <cyd@gnu.org>
13859
13860 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13861 instead of set-mark (Bug#9810).
13862
13863 2011-10-30 Chong Yidong <cyd@gnu.org>
13864
13865 * window.el (split-window-below, split-window-right): Rename from
13866 split-window-above-each-other and split-window-side-by-side
13867 respectively. All callers changed.
13868 (split-window-sensibly, split-window-sensibly): Use them.
13869 (split-window-keep-point): Doc fix.
13870
13871 * isearch.el: Add isearch-scroll property to split-window-below
13872 and split-window-right.
13873
13874 * follow.el (follow-mode):
13875 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13876 * progmodes/ada-xref.el (ada-gdb-application):
13877 * emulation/vip.el (vip-buffer-in-two-windows):
13878 * image-dired.el (image-dired-dired-with-window-configuration):
13879 * dired-x.el (dired-do-find-marked-files):
13880 * dired.el (dired-pop-to-buffer):
13881 * bs.el (bs--show-with-configuration):
13882 * vc/emerge.el (emerge-setup-windows):
13883 * textmodes/two-column.el (2C-two-columns):
13884 * textmodes/reftex-toc.el (reftex-toc):
13885 * progmodes/gdb-mi.el (gdb-setup-windows):
13886 * progmodes/fortran.el (fortran-window-create):
13887 * net/newst-treeview.el (newsticker--treeview-window-init):
13888 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13889 * emulation/tpu-edt.el (tpu-gold-map):
13890 * emulation/crisp.el (crisp-mode-map):
13891 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13892
13893 2011-10-29 Chong Yidong <cyd@gnu.org>
13894
13895 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13896
13897 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13898
13899 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13900 forged Ispell output (Bug#7904).
13901
13902 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13903
13904 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * doc-view.el: Avoid ugly errors about not finding nil.
13907 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13908 (doc-view-dvipdf-program, doc-view-unoconv-program)
13909 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13910 Avoid nil or absolute file name as default value.
13911 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13912
13913 2011-10-28 Alan Mackenzie <acm@muc.de>
13914
13915 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13916
13917 2011-10-28 Alan Mackenzie <acm@muc.de>
13918
13919 Amend the handling of c-beginning/end-of-defun in nested declaration
13920 scopes.
13921
13922 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13923 cc-langs.el. Change it to a defcustom.
13924
13925 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13926 cc-vars.el.
13927
13928 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13929 Prevent "class foo : bar" being spuriously recognized as a label.
13930
13931 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13932 Add parameter `inclusive' (to include enclosing braces in the region).
13933 (c-widen-to-enclosing-decl-scope): New function.
13934 (c-while-widening-to-decl-block): New macro.
13935 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13936 outward for defun boundaries, and correspondingly change symbol
13937 `respect-enclosure' to `go-outward'.
13938 (c-declaration-limits): Change algorithm to report only the "innermost"
13939 defun's boundaries.
13940
13941 2011-10-28 Deniz Dogan <deniz@dogan.se>
13942
13943 * net/rcirc.el (rcirc-mode): Use hard newlines.
13944
13945 2011-10-28 Alan Mackenzie <acm@muc.de>
13946
13947 Amend to indent and fontify macros "which include their own semicolon"
13948 correctly, using the "virtual semicolon" mechanism.
13949
13950 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13951
13952 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13953 Recode to scan one line at a time rather than having \n and \r
13954 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13955 (c-forward-label): Amend for virtual semicolons.
13956 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13957
13958 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13959 of the new C macros.
13960
13961 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13962 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13963 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13964 (c-opt-cpp-macro-define): Make into a full language variable.
13965 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13966 AWK Mode (including \n, \r) removed, no longer needed.
13967
13968 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13969 Invoke c-make-macro-with-semi-re.
13970
13971 * progmodes/cc-vars.el (c-macro-with-semi-re):
13972 (c-macro-names-with-semicolon): New variables.
13973 (c-make-macro-with-semi-re): New function.
13974
13975 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * vc/log-edit.el: Fill empty field rather than adding new one.
13978 (log-edit-add-field): New function.
13979 (log-edit-insert-changelog): Use it.
13980
13981 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13982
13983 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13984
13985 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13986
13987 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13988 (gdb--check-interpreter): New function.
13989 (gdb): Use it.
13990
13991 2011-10-27 Glenn Morris <rgm@gnu.org>
13992
13993 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13994 (least-positive-float, least-negative-float)
13995 (least-positive-normalized-float, least-negative-normalized-float)
13996 (float-epsilon, float-negative-epsilon):
13997 Remove unnecessary declarations.
13998
13999 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14000 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14001 (least-positive-float, least-negative-float)
14002 (least-positive-normalized-float, least-negative-normalized-float)
14003 (float-epsilon, float-negative-epsilon): Add doc-strings,
14004 based on those in cl.texi.
14005
14006 * files.el (set-visited-file-name): If the major-mode changed,
14007 reload the local variables. (Bug#9796)
14008
14009 2011-10-27 Chong Yidong <cyd@gnu.org>
14010
14011 * subr.el (change-major-mode-after-body-hook): New hook.
14012 (run-mode-hooks): Run it.
14013
14014 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14015 Use change-major-mode-before-body-hook.
14016
14017 * simple.el (fundamental-mode):
14018 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14019 change introducing fundamental-mode-hook.
14020
14021 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14022
14023 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14024
14025 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14026
14027 * ido.el (ido-file-name-all-completions-1): Do not require
14028 tramp.el explicitly. (Bug#7583)
14029
14030 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * progmodes/octave-mod.el:
14033 * progmodes/octave-inf.el: Update maintainer.
14034
14035 2011-10-26 Chong Yidong <cyd@gnu.org>
14036
14037 * subr.el (with-wrapper-hook): Rewrite doc.
14038
14039 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14040
14041 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14042 filenames "/method:foo:". (Bug#9793)
14043
14044 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14047 (bug#9865).
14048
14049 2011-10-24 Glenn Morris <rgm@gnu.org>
14050
14051 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14052
14053 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14054
14055 * notifications.el: Add the requirement of a running D-Bus session
14056 bus to the Commentary.
14057
14058 2011-10-24 Juri Linkov <juri@jurta.org>
14059
14060 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14061 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14062 (Bug#9364)
14063
14064 2011-10-24 Juri Linkov <juri@jurta.org>
14065
14066 * info.el (Info-following-node-name-re): Add newline to the list
14067 of allowed characters for leading space. (Bug#9824)
14068
14069 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14070
14071 * progmodes/octave-inf.el (inferior-octave-mode-map):
14072 Fix C-c C-h binding.
14073 * progmodes/octave-mod.el (octave-help): Remove.
14074
14075 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14076
14077 Sync with Tramp 2.2.3.
14078
14079 * net/tramp-cache.el (top): Pacify byte-compiler using
14080 `init-file-user' and `site-run-file'.
14081
14082 * net/trampver.el: Update release number.
14083
14084 2011-10-23 Chong Yidong <cyd@gnu.org>
14085
14086 * files.el (toggle-read-only): Remove obsolete comment about
14087 version control.
14088
14089 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14090 for toggle-read-only. Note that this hasn't called vc-next-action
14091 since 2008-05-02, though it wasn't documented at the time.
14092
14093 * vc/ediff-init.el (ediff-toggle-read-only-function):
14094 Use toggle-read-only.
14095
14096 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14097
14098 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14099 of c-parse-state.
14100
14101 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14102 correct faulty logical expression.
14103 (c-parse-state-state, c-record-parse-state-state):
14104 (c-replay-parse-state-state): New defvar/defuns.
14105 (c-debug-parse-state): Use new functions.
14106
14107 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14108
14109 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14110 last fix. Use window-in-direction correctly.
14111
14112 2011-10-21 Chong Yidong <cyd@gnu.org>
14113
14114 * progmodes/idlwave.el (idlwave-mode):
14115 * progmodes/vera-mode.el (vera-mode): No need to set
14116 require-final-newline; that's done in prog-mode.
14117 Suggested by Stefan Monnier.
14118
14119 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14120
14121 * mouse.el (mouse-drag-window-above)
14122 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14123 (mouse-drag-mode-line-1, mouse-drag-header-line)
14124 (mouse-drag-vertical-line-rightward-window): Remove.
14125 (mouse-drag-line): New function.
14126 (mouse-drag-mode-line, mouse-drag-header-line)
14127 (mouse-drag-vertical-line): Call mouse-drag-line.
14128 * window.el (window-at-side-p, windows-at-side): New functions.
14129
14130 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14131
14132 * tar-mode.el (tar-grind-file-mode):
14133 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14134
14135 2011-10-21 Chong Yidong <cyd@gnu.org>
14136
14137 * progmodes/idlwave.el (idlwave-mode):
14138 * progmodes/vera-mode.el (vera-mode):
14139 Use mode-require-final-newline.
14140
14141 2011-10-20 Glenn Morris <rgm@gnu.org>
14142
14143 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14144
14145 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14146
14147 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14148
14149 2011-10-20 Chong Yidong <cyd@gnu.org>
14150
14151 * emulation/cua-base.el (cua-mode):
14152 * mail/footnote.el (footnote-mode):
14153 * mail/mailabbrev.el (mail-abbrevs-mode):
14154 * net/xesam.el (xesam-minor-mode):
14155 * progmodes/bug-reference.el (bug-reference-mode):
14156 * progmodes/cap-words.el (capitalized-words-mode):
14157 * progmodes/compile.el (compilation-minor-mode)
14158 (compilation-shell-minor-mode):
14159 * progmodes/gud.el (gud-tooltip-mode):
14160 * progmodes/hideif.el (hide-ifdef-mode):
14161 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14162 * progmodes/subword.el (subword-mode):
14163 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14164 * progmodes/which-func.el (which-function-mode):
14165 * term/tvi970.el (tvi970-set-keypad-mode):
14166 * term/vt100.el (vt100-wide-mode):
14167 * textmodes/flyspell.el (flyspell-mode):
14168 * textmodes/ispell.el (ispell-minor-mode):
14169 * textmodes/nroff-mode.el (nroff-electric-mode):
14170 * textmodes/paragraphs.el (use-hard-newlines):
14171 * textmodes/refill.el (refill-mode):
14172 * textmodes/reftex.el (reftex-mode):
14173 * textmodes/rst.el (rst-minor-mode):
14174 * textmodes/sgml-mode.el (html-autoview-mode)
14175 (sgml-electric-tag-pair-mode):
14176 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14177 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14178 * emulation/crisp.el (crisp-mode):
14179 * emacs-lisp/eldoc.el (eldoc-mode):
14180 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14181 minor mode behavior.
14182
14183 2011-10-19 Juri Linkov <juri@jurta.org>
14184
14185 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14186 the list of hard-coded chars with escape-glyph face.
14187
14188 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14191
14192 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14193
14194 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14195 running process.
14196
14197 2011-10-19 Glenn Morris <rgm@gnu.org>
14198
14199 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14200 Ignore ignored files. (Bug#9726)
14201
14202 2011-10-19 Chong Yidong <cyd@gnu.org>
14203
14204 Doc fix for minor modes, stating that an omitted argument enables
14205 the mode unconditionally when called from Lisp.
14206
14207 * abbrev.el (abbrev-mode):
14208 * allout.el (allout-mode):
14209 * autoinsert.el (auto-insert-mode):
14210 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14211 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14212 (global-auto-revert-mode):
14213 * battery.el (display-battery-mode):
14214 * composite.el (global-auto-composition-mode)
14215 (auto-composition-mode):
14216 * delsel.el (delete-selection-mode):
14217 * desktop.el (desktop-save-mode):
14218 * dired-x.el (dired-omit-mode):
14219 * dirtrack.el (dirtrack-mode):
14220 * doc-view.el (doc-view-minor-mode):
14221 * double.el (double-mode):
14222 * electric.el (electric-indent-mode, electric-pair-mode):
14223 * emacs-lock.el (emacs-lock-mode):
14224 * epa-hook.el (auto-encryption-mode):
14225 * follow.el (follow-mode):
14226 * font-core.el (font-lock-mode):
14227 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14228 * help.el (temp-buffer-resize-mode):
14229 * hilit-chg.el (highlight-changes-mode)
14230 (highlight-changes-visible-mode):
14231 * hi-lock.el (hi-lock-mode):
14232 * hl-line.el (hl-line-mode, global-hl-line-mode):
14233 * icomplete.el (icomplete-mode):
14234 * ido.el (ido-everywhere):
14235 * image-file.el (auto-image-file-mode):
14236 * image-mode.el (image-minor-mode):
14237 * iswitchb.el (iswitchb-mode):
14238 * jka-cmpr-hook.el (auto-compression-mode):
14239 * linum.el (linum-mode):
14240 * longlines.el (longlines-mode):
14241 * master.el (master-mode):
14242 * mb-depth.el (minibuffer-depth-indicate-mode):
14243 * menu-bar.el (menu-bar-mode):
14244 * minibuf-eldef.el (minibuffer-electric-default-mode):
14245 * mouse-sel.el (mouse-sel-mode):
14246 * msb.el (msb-mode):
14247 * mwheel.el (mouse-wheel-mode):
14248 * outline.el (outline-minor-mode):
14249 * paren.el (show-paren-mode):
14250 * recentf.el (recentf-mode):
14251 * reveal.el (reveal-mode, global-reveal-mode):
14252 * rfn-eshadow.el (file-name-shadow-mode):
14253 * ruler-mode.el (ruler-mode):
14254 * savehist.el (savehist-mode):
14255 * scroll-all.el (scroll-all-mode):
14256 * scroll-bar.el (scroll-bar-mode):
14257 * server.el (server-mode):
14258 * shell.el (shell-dirtrack-mode):
14259 * simple.el (auto-fill-mode, transient-mark-mode)
14260 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14261 (line-number-mode, column-number-mode, size-indication-mode)
14262 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14263 * strokes.el (strokes-mode):
14264 * time.el (display-time-mode):
14265 * t-mouse.el (gpm-mouse-mode):
14266 * tool-bar.el (tool-bar-mode):
14267 * tooltip.el (tooltip-mode):
14268 * type-break.el (type-break-mode-line-message-mode)
14269 (type-break-query-mode):
14270 * view.el (view-mode):
14271 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14272 (global-whitespace-mode, global-whitespace-newline-mode):
14273 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14274
14275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14276 Fix autogenerated docstring.
14277
14278 2011-10-19 Juri Linkov <juri@jurta.org>
14279
14280 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14281 by checking environment variables "DESKTOP_SESSION" and
14282 "XDG_CURRENT_DESKTOP". (Bug#9779)
14283
14284 2011-10-19 Juri Linkov <juri@jurta.org>
14285
14286 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14287 (browse-url-chromium-program, browse-url-chromium-arguments):
14288 New defcustoms.
14289 (browse-url-default-browser): Check for `browse-url-chromium' and
14290 call `browse-url-chromium-program'.
14291 (browse-url-chromium): New command. (Bug#9779)
14292
14293 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14294
14295 * facemenu.el (list-colors-duplicates): On Windows, detect more
14296 duplicates by assuming that only colors matching "^System" are
14297 special "system colors". (Bug#9722)
14298
14299 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14300
14301 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14302 to distinguish the author from the committer.
14303
14304 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14305
14306 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14307
14308 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14309
14310 * international/mule.el (sgml-html-meta-auto-coding-function):
14311 Add support for detecting encoding in HTML5 specified only as
14312 <meta charset="UTF-8">. Implementation just makes http-equiv and
14313 content-type parts from HTML4 encoding string optional. (Bug#9716)
14314
14315 2011-10-18 Glenn Morris <rgm@gnu.org>
14316
14317 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14318
14319 2011-10-18 Chong Yidong <cyd@gnu.org>
14320
14321 * faces.el (cursor): Doc fix.
14322
14323 2011-10-17 Chong Yidong <cyd@gnu.org>
14324
14325 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14326
14327 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14328
14329 * dirtrack.el (dirtrack): Support shell buffers with path
14330 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14331
14332 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14333
14334 * json.el: Bump version to 1.3 and note change in History.
14335 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14336
14337 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * comint.el (comint-insert-input, comint-send-input)
14340 (comint-get-old-input-default, comint-backward-matching-input)
14341 (comint-next-prompt): Use nil instead of `input' for field property of
14342 past user input (bug#114).
14343
14344 * minibuffer.el (completion--replace): Inherit surrounding properties
14345 (bug#114).
14346 (minibuffer-complete-and-exit): Use it.
14347
14348 * comint.el (comint--table-subvert): Quote the all-completions output
14349 (bug#9160).
14350
14351 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14352
14353 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14354
14355 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14356 window on right of selected. (Bug#9350) Reword other window
14357 entries and separate them from frame entries.
14358
14359 2011-10-15 Glenn Morris <rgm@gnu.org>
14360
14361 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14362 Doc fixes.
14363
14364 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14365
14366 * net/network-stream.el (network-stream-open-starttls):
14367 Improve detection of failure due to lack of TLS support.
14368
14369 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14370 putting the input text in front and in bold.
14371
14372 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14375
14376 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14377 empty buffer.
14378
14379 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14380 unread-command-events rather than pushing yet-another event.
14381
14382 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14383
14384 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14385 the explanation of the possible choices. Make the options passed
14386 to completing-read shorter.
14387
14388 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14389
14390 * textmodes/flyspell.el (flyspell-large-region): Make sure
14391 extended character mode is used if defined (Bug#1339).
14392
14393 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14394
14395 * simple.el (what-cursor-position): Fix the display of the
14396 character info for LRE, LRO, RLE, and RLO characters by appending
14397 an invisible PDF.
14398
14399 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14402 even in case of error; add debug spec; simplify data flow.
14403 (with-timeout-handler): Remove.
14404
14405 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14406
14407 Fix Bug#6019, Bug#9315.
14408
14409 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14410 complete `buffer-file-name', the local file name part could look
14411 remotely (for example on VMS).
14412
14413 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14414 `tramp-run-real-handler'.
14415 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14416 already quoted by '"'.
14417
14418 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14419 Let `file-name-handler-alist' be nil, the local file name part
14420 could look remotely (for example on VMS).
14421
14422 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14425 from here...
14426 (flyspell-post-command-hook): ...to here.
14427
14428 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14431 if not needed.
14432 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14433 using completion. Protect against "slow" callers.
14434 Remove the "message hack".
14435
14436 2011-10-11 Juri Linkov <juri@jurta.org>
14437
14438 * isearch.el (isearch-lazy-highlight-word): New variable.
14439 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14440 Use it. (Bug#9727)
14441
14442 2011-10-11 Glenn Morris <rgm@gnu.org>
14443
14444 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14445 like f90-previous-statement does.
14446
14447 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14448
14449 * eshell/eshell.el (eshell-command): History should be saved
14450 only in interactive use, to avoid error.
14451
14452 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14453
14454 * minibuffer.el (completion-file-name-table): Fix last change,
14455 i.e. ignore normal errors but not the other ones.
14456
14457 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14458
14459 * window.el (special-display-buffer-names)
14460 (special-display-regexps): Remove some remnants of earlier
14461 changes from doc-strings.
14462 (quit-windows-on): New function.
14463
14464 * vc/vc.el (vc-revert, vc-rollback):
14465 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14466 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14467 (Bug#6183) (Bug#7074) (Bug#7447)
14468
14469 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14470
14471 * window.el (frame-auto-hide-function): Add version tag.
14472 (Bug#9699)
14473
14474 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14475
14476 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14477 condition.
14478
14479 2011-10-09 Leo Liu <sdl.web@gmail.com>
14480
14481 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14482 (Bug#9701)
14483
14484 2011-10-08 Glenn Morris <rgm@gnu.org>
14485
14486 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14487 before the first code statement zero indent. (Bug#9690)
14488
14489 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14490
14491 * simple.el (count-words-region): Always count in the region.
14492 Report the number of lines and characters too.
14493 (count-words): New command, which counts in the buffer if the
14494 region is inactive, as count-words-region used to.
14495 (count-words--message): New function. Handle plurals.
14496 (count-lines-region): Make it an alias for count-words-region.
14497
14498 * bindings.el (esc-map): Replace count-lines-region with
14499 count-words-region.
14500
14501 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14502
14503 * window.el (window--delete): Delete dedicated frame
14504 unconditionally when argument KILL is non-nil. (Bug#9699)
14505 (switch-to-buffer): Fix doc-string typo.
14506
14507 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14508
14509 * eshell/eshell.el (eshell-command): Avoid using hooks.
14510
14511 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14512
14513 * bindings.el ([M-left],[M-right]): Bind to left-word and
14514 right-word respectively.
14515
14516 2011-10-07 Glenn Morris <rgm@gnu.org>
14517
14518 * cus-start.el (debug-on-quit): Fix custom type.
14519
14520 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14521
14522 * subr.el (define-key-after): Clarify that the function is not
14523 useful for non-menu keymaps.
14524
14525 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14526
14527 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14528
14529 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14530 in current minibuffer (Fix bug with recursive minibuffers).
14531
14532 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14533
14534 * progmodes/gdb-mi.el (gdb): Doc fix.
14535
14536 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14537
14538 * window.el (frame-auto-hide-function): New option replacing
14539 frame-auto-delete. Suggested by Stefan Monnier.
14540 (window--delete): Call frame-auto-hide-function instead of
14541 investigating frame-auto-delete.
14542 (window-point-1, set-window-point-1): New functions.
14543 (window-in-direction, record-window-buffer, window-state-get-1)
14544 (display-buffer-record-window): Use window-point-1 instead of
14545 window-point.
14546 (set-window-buffer-start-and-point): Use set-window-point-1.
14547
14548 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14551
14552 2011-10-05 Glenn Morris <rgm@gnu.org>
14553
14554 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14555 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14556
14557 2011-10-05 Leo Liu <sdl.web@gmail.com>
14558
14559 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14560 works with buffer object.
14561
14562 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * mpc.el (mpc-tool-bar-map): Add labels.
14565
14566 2011-10-04 Glenn Morris <rgm@gnu.org>
14567
14568 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14569
14570 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14571
14572 * window.el (window--delete): New function.
14573 (frame-auto-delete): Resuscitate option.
14574 (bury-buffer, replace-buffer-in-windows)
14575 (quit-window): Rewrite using window--delete.
14576 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14577 Pass display-buffer-mark-dedicated to window--display-buffer-2
14578 (Bug#9639).
14579
14580 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14583 returns a list (bug#9554). Add remote file name completion.
14584 * comint.el (comint--table-subvert): Curry and get quote&unquote
14585 functions as arguments.
14586 (comint--complete-file-name-data): Adjust call accordingly.
14587 * pcomplete.el (pcomplete--table-subvert): Remove.
14588 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14589
14590 * minibuffer.el (completion-table-case-fold): Use currying.
14591 (completion--styles-type, completion--cycling-threshold-type):
14592 New constants.
14593 (completion-styles, completion-category-overrides)
14594 (completion-cycle-threshold): Use them.
14595 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14596 completion-table-case-fold.
14597
14598 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14599
14600 * minibuffer.el (completion-category-overrides): Fix type of styles
14601 and add more user friendly tags (bug#9660).
14602
14603 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14604
14605 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14606 (mule-input-method-string): New widget.
14607 (default-input-method, language-info-custom-alist): Use it.
14608
14609 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * pcomplete.el: Require comint.
14612 (pcomplete--common-suffix): Remove.
14613 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14614 (pcomplete--table-subvert): Sync with comint--table-subvert.
14615 (pcomplete--entries): Use comint-completion-file-name-table.
14616 * comint.el (comint-unquote-filename): Simplify.
14617 (comint-completion-file-name-table): New function (bug#9616).
14618 (comint--complete-file-name-data): Use it.
14619
14620 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14621 (pcmpl-gnu-tar-buffer): Remove.
14622 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14623 around. Make sure pcomplete-suffix-list is only changed temporarily.
14624 Don't look inside the tar's file if it's too large.
14625
14626 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14627
14628 * cus-edit.el (custom-mode-map):
14629 * epa.el (epa-key-list-mode-map):
14630 * man.el (Man-mode-map):
14631 * startup.el (splash-screen-keymap):
14632 * simple.el (special-mode-map): Use scroll-up-command and
14633 scroll-down-command.
14634
14635 * progmodes/idlw-help.el (idlwave-help-mode-map):
14636 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14637 * net/newst-plainview.el (newsticker-mode-map):
14638 * emulation/ws-mode.el (wordstar-mode-map):
14639 * emulation/vi.el (vi-com-map):
14640 * calc/calc-graph.el (calc-graph-show-dumb):
14641 * term/sun.el (terminal-init-sun):
14642 * term/ns-win.el (global-map):
14643 * progmodes/grep.el (grep-mode-map):
14644 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14645 * mail/rmail.el (rmail-mode-map):
14646 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14647
14648 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14649 custom-safe-themes as special.
14650
14651 2011-10-01 Julien Danjou <julien@danjou.info>
14652
14653 * notifications.el (notifications-notify): Fix docstring.
14654
14655 2011-10-01 Per Starbäck <per@starback.se>
14656
14657 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14658
14659 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14660
14661 * startup.el (command-line-1): Fix last fix by inserting
14662 initial-scratch-message into *scratch* before displaying it.
14663 (Bug#9605) and (Bug#9636)
14664
14665 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14666
14667 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14668 window is hscrolled, move by logical lines. (Bug#9607)
14669 (line-move-visual): Update the doc string to the above effect.
14670
14671 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (display-buffer-record-window): When WINDOW is the
14674 selected window use `point' instead of `window-point'. (Bug#9626)
14675
14676 * startup.el (command-line-1): Use insert-before-markers when
14677 inserting initial-scratch-message. (Bug#9605)
14678
14679 * help.el (help-window): Remove variable.
14680
14681 2011-09-29 Glenn Morris <rgm@gnu.org>
14682
14683 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14684
14685 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14686
14687 * descr-text.el (describe-char-categories): Accept category
14688 descriptions more than one line long.
14689
14690 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14691
14692 * simple.el (delete-trailing-whitespace): Fix last change.
14693
14694 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14695 Don't confuse "y => 3" as the beginning of a `y' operation.
14696
14697 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14698 object has more than 4 slots (bug#9613).
14699
14700 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14701
14702 * subr.el (with-output-to-temp-buffer):
14703 * net/quickurl.el (quickurl, quickurl-browse-url):
14704 Fix typos in docstrings.
14705
14706 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14707
14708 * minibuffer.el (completion-styles)
14709 (completion-category-overrides): Cross reference each other in doc
14710 strings.
14711
14712 2011-09-27 Glenn Morris <rgm@gnu.org>
14713
14714 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14715 to split-string. (Bug#9606)
14716
14717 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14718
14719 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14720 (bug#9615).
14721
14722 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14723
14724 * emacs-lisp/package.el (list-packages): Fix echo area message.
14725
14726 2011-09-27 Leo Liu <sdl.web@gmail.com>
14727
14728 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14729
14730 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * net/dbus.el (dbus-unregister-object): Don't release services for
14733 registered signals. (Bug#9581)
14734
14735 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14736
14737 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14738 function that picks between cfengine 2 and 3 support
14739 automatically. Update docs accordingly.
14740
14741 2011-09-22 Kenichi Handa <handa@m17n.org>
14742
14743 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14744 ZERO.
14745 (indian-itrans-v5-table-for-tamil): New variable.
14746 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14747
14748 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14749
14750 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14751 that's true if the current command involved collapsing of text.
14752 It's reset to false at the beginning of the next command.
14753 (allout-post-command-business): Move the cursor to the beginning
14754 of entry if the cursor is hidden and collapsing activity just
14755 happened.
14756
14757 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14758
14759 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14760 tracking (Bug#9541).
14761
14762 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14763
14764 * net/newst-reader.el (newsticker-html-renderer)
14765 (newsticker-show-news): Automatically load html rendering package
14766 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14767 because w3m-fill-column is let-bound" and the error "Symbol's value
14768 as variable is void: w3m-fill-column".
14769
14770 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14771
14772 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14773 Release services only if they are defined. (Bug#9581)
14774
14775 2011-09-23 Richard Stallman <rms@gnu.org>
14776
14777 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14778 distinguish start of paragraph from start of its text.
14779
14780 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14781
14782 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14783 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14784 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14785
14786 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14787
14788 * international/mule-diag.el (mule-diag): Insert a newline after
14789 each fontset description.
14790
14791 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14792
14793 * simple.el (delete-trailing-whitespace):
14794 Document last change; simplify.
14795
14796 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14797
14798 * simple.el (delete-trailing-whitespace): Also delete
14799 extra newlines at the end of the buffer.
14800
14801 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14802 (picture-newline): Use forward-line so as to ignore fields.
14803
14804 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * subr.el (with-wrapper-hook): Fix edebug spec.
14807
14808 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14809
14810 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14811 (bug#4538).
14812
14813 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14814
14815 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14816 Fix nasty bug using wrong cached values.
14817
14818 2011-09-23 Alan Mackenzie <acm@muc.de>
14819
14820 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14821
14822 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14823
14824 * window.el (pop-to-buffer): Ensure right window is selected if we
14825 chose another frame.
14826
14827 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14828
14829 * simple.el (what-cursor-position): Use get-char-property-change
14830 and next-single-char-property-change, to be able to show display
14831 properties that come from overlays as well as text properties.
14832
14833 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14834
14835 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14836
14837 * cmuscheme.el (run-scheme, switch-to-scheme):
14838 * cus-edit.el (customize-group, custom-buffer-create)
14839 (customize-browse):
14840 * info.el (info):
14841 * shell.el (shell):
14842 * mail/sendmail.el (mail):
14843 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14844
14845 2011-09-22 Richard Stallman <rms@gnu.org>
14846
14847 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14848 move back only to line beg, don't move back over blank lines.
14849
14850 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14851
14852 * files.el (copy-directory): Set directory attributes only in case
14853 they could be retrieved from the source directory. (Bug#9565)
14854
14855 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14856
14857 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14858 (hs-find-block-beginning, hs-hide-level-recursive):
14859 Ignore strings as well as comments. (Bug#9502)
14860
14861 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14862
14863 * progmodes/sql.el (sql-comint-postgres):
14864 Convert port number to a string. (Bug#9566)
14865
14866 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14867
14868 * window.el (quit-window): Undedicate window when switching to
14869 previous buffer. Reported by Thierry Volpiatto
14870 <thierry.volpiatto@gmail.com>.
14871 (special-display-popup-frame): When popping up a new frame reset
14872 its previous buffers to nil. Simplify code.
14873
14874 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14875
14876 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14877 and process filter, as done also in `shell-command'.
14878
14879 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14880
14881 * window.el (set-window-buffer-start-and-point):
14882 Call set-window-start with NOFORCE argument t.
14883 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14884 (quit-window): Reword doc-string. Handle new format of
14885 quit-restore parameter. Don't delete window if it has a
14886 previous buffer we can show instead of the present one.
14887 (display-buffer-record-window): Rewrite using a new format for
14888 the quit-restore window parameter
14889 (special-display-popup-frame, display-buffer-same-window)
14890 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14891 (display-buffer-pop-up-window, display-buffer-use-some-window):
14892 Adapt symbol passed to display-buffer-record-window.
14893 * help.el (help-window-setup): Handle new format of quit-restore
14894 parameter.
14895
14896 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * faces.el (face-list): Fix docstring (bug#9564).
14899
14900 * window.el (display-buffer--action-function-custom-type):
14901 Don't include internal functions in the Custom interface.
14902
14903 2011-09-20 Juri Linkov <juri@jurta.org>
14904
14905 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14906 (Info-forward-node, Info-backward-node, Info-next-preorder)
14907 (Info-last-preorder): Use it. (Bug#9528)
14908
14909 2011-09-20 Juri Linkov <juri@jurta.org>
14910
14911 * info.el (Info-last-preorder): Visit last menu item only when
14912 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14913
14914 2011-09-20 Julien Danjou <julien@danjou.info>
14915
14916 * password-cache.el (password-cache-remove): Remove entries even if the
14917 value is nil, so that password with a nil value (negative caching) is
14918 possible to invalidate.
14919
14920 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14921
14922 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14923 all whitespace around breakpoint. (Bug#9553)
14924 (f90-find-breakpoint): Only break at whitespace inside a comment.
14925
14926 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14927
14928 * minibuffer.el (completion-file-name-table): Keep track of errors.
14929 (completion-table-with-predicate): Handle the case where pred1 is nil.
14930 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14931
14932 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14933
14934 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14935 (debugger-return-value): Signal an error if the debugging context does
14936 not await any return value.
14937
14938 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14939 * image-mode.el (image-toggle-display-text)
14940 (image-toggle-display-image): Stay away from evil `intangible'.
14941
14942 2011-09-19 Leo Liu <sdl.web@gmail.com>
14943
14944 * replace.el (occur-revert-arguments): Make it permanent-local.
14945 (occur-mode): Don't call font-lock-defontify.
14946
14947 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14948
14949 * net/ldap.el (ldap-search-internal): Don't push empty search
14950 result (Bug#9508).
14951
14952 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14953
14954 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14955
14956 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14957
14958 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14959 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14960
14961 2011-09-18 Juri Linkov <juri@jurta.org>
14962
14963 * buff-menu.el (Buffer-menu-mode-map):
14964 * dired.el (dired-mode-map):
14965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14966 (lisp-interaction-mode-map):
14967 * emacs-lisp/package.el (package-menu-mode-map):
14968 * epa.el (epa-key-list-mode-map):
14969 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14970 (menu-bar-options-menu):
14971 * outline.el (outline-mode-menu-bar-map):
14972 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14973 * vc/vc-dir.el (vc-dir-menu-map):
14974 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14975 Capitalize non-function content words in menu item strings.
14976
14977 * dired.el (dired-mode-map): Add menu item for
14978 `image-dired-dired-toggle-marked-thumbs'.
14979
14980 2011-09-18 Juri Linkov <juri@jurta.org>
14981
14982 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14983 to `isearch-case-fold-search' and restore its original value
14984 after the `isearch-mode' call.
14985
14986 2011-09-18 Juri Linkov <juri@jurta.org>
14987
14988 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14989 because `zgrep' returns 1 for successful matches (bug#9226).
14990
14991 2011-09-18 Juri Linkov <juri@jurta.org>
14992
14993 * info.el (Info-extract-menu-node-name): Check the second match
14994 for empty string (second test-case of bug#9528).
14995 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14996 intermediate nodes to the history (first test-case of bug#9528).
14997
14998 2011-09-18 Juri Linkov <juri@jurta.org>
14999
15000 * info.el (Info-mode-syntax-table): New variable.
15001 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15002
15003 2011-09-18 Juri Linkov <juri@jurta.org>
15004
15005 * info.el (Info-file-supports-index-cookies):
15006 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15007 outputs one more line for long file names (bug#4142).
15008
15009 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15010
15011 * newcomment.el (comment-normalize-vars): If prompting for
15012 comment-start, set comment-start-skip too (Bug#8424).
15013
15014 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15015
15016 * icomplete.el: Fix previous fix of Bug#5849.
15017 (icomplete-mode): Don't set completion-show-inline-help.
15018 (icomplete-minibuffer-setup): Set completion-show-inline-help
15019 locally during icompletion.
15020
15021 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15022
15023 * woman.el (woman2-process-escapes): Don't delete unrecognized
15024 escapes (Bug#7843).
15025
15026 * files.el (inhibit-first-line-modes-regexps): Add image files.
15027 (hack-local-variables-prop-line): Return nil for malformed
15028 prop-lines (Bug#9044).
15029
15030 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15031
15032 * net/tramp.el (top): Don't require 'shell.
15033 (tramp-methods): Fix docstring.
15034 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15035 Return complete remote file name. Handle "smb" case.
15036 Use `tramp-tmpdir', if defined for the respective method.
15037 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15038
15039 * net/tramp-compat.el (top): Require 'shell.
15040
15041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15042 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15043 `tramp-current-host'.
15044 (tramp-get-remote-tmpdir): Remove.
15045
15046 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15047 `tramp-tmpdir' entries.
15048 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15049 (tramp-smb-handle-file-attributes): Ignore errors.
15050 (tramp-smb-wait-for-output): Check also for process end.
15051
15052 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15053
15054 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15055 when sending QUIT (bug#9312).
15056
15057 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15058
15059 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15060 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15061 occur-mode-display-occurrence.
15062 (occur-edit-mode): Add usage message.
15063 (occur-cease-edit): New command.
15064 (occur-after-change-function): Use text properties to find the
15065 position of the prefix text.
15066 (occur-engine): Set stickiness of prefix text properties.
15067
15068 2011-09-17 Glenn Morris <rgm@gnu.org>
15069
15070 * progmodes/etags.el (complete-tag):
15071 Fix call to completion-in-region. (Bug#9526)
15072
15073 2011-09-17 Juri Linkov <juri@jurta.org>
15074
15075 * textmodes/ispell.el (ispell-word): Add to the error message
15076 the word, ispell program name and current dictionary (bug#9121).
15077 (ispell-tex-arg-end): Capitalize "error" in the error message.
15078
15079 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15080
15081 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15082 check. (Bug#4251)
15083
15084 2011-09-17 Juri Linkov <juri@jurta.org>
15085
15086 * window.el (window-safe-min-height, window-safe-min-width):
15087 Fix typos (followup to bug#9522).
15088
15089 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15090
15091 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15092
15093 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15094
15095 * simple.el (line-move): If goal-column is set, move by logical
15096 lines, not by display lines. (Bug#971)
15097 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15098 to reflect the above change.
15099
15100 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * image.el (imagemagick-register-types): Use regexp-opt.
15103
15104 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15105
15106 * window.el (display-buffer-base-action): Rename from
15107 display-buffer-default-action. Make default value empty.
15108 (display-buffer-overriding-action): Convert to defvar.
15109 (display-buffer-fallback-action): New var.
15110
15111 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15112
15113 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15114 declaration.
15115 (package--add-to-archive-contents): If there is a duplicate entry
15116 with an older version, remove it.
15117 (package-menu-mark-delete, package-menu-mark-install)
15118 (package-menu-mark-unmark): Make unused args optional.
15119 (package-menu-mark-obsolete-for-deletion):
15120 Use package-menu-get-status instead of a regexp search.
15121 (package-menu-get-status): Use tabulated-list-entry.
15122 (package-menu-mark-upgrades): New command.
15123 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15124 (package-menu-execute): Do installation before deletion.
15125 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15126 instead of checking major-mode.
15127 (package-menu--find-upgrades): New function.
15128
15129 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15130
15131 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15132 passwords in the log buffer.
15133 (smtpmail-process-filter): Update the process marker so that the
15134 "broken by peer" status message is inserted in the right place.
15135
15136 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15139 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15140 bibtex-completion-at-point-function.
15141 (bibtex-completion-at-point-function): Use them.
15142
15143 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15144
15145 * mpc.el (mpc-constraints-tag-lookup): New function.
15146 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15147 also to browser "album|playlist".
15148
15149 2011-09-14 Juri Linkov <juri@jurta.org>
15150
15151 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15152 (isearch-edit-string): Use length of `isearch-string' when
15153 `isearch-fail-pos' returns nil.
15154 (isearch-message): Remove duplicate code and call
15155 `isearch-fail-pos' with arg `t'.
15156
15157 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15158
15159 * replace.el (occur-mode-goto-occurrence): Don't force using other
15160 window (Bug#9499).
15161
15162 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15163
15164 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15165
15166 * window.el (display-buffer-window): Remove.
15167 (display-buffer-record-window): Use help-setup window parameter
15168 instead of variable display-buffer-window.
15169 (display-buffer-function, special-display-buffer-names)
15170 (special-display-function): Mention help-setup parameter instead
15171 of display-buffer-window in doc-string.
15172 * help.el (help-window-setup): New argument help-window.
15173 Use help-window-setup parameter instead of display-buffer-window.
15174 Reword some messages.
15175 (with-help-window): Pass window used for displaying the buffer
15176 to help-window-setup. Don't set display-buffer-window.
15177
15178 2011-09-13 Glenn Morris <rgm@gnu.org>
15179
15180 * emacs-lisp/debug.el (debugger-make-xrefs):
15181 Preserve point. (Bug#9462)
15182
15183 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15184
15185 * window.el (window-deletable-p): Use next-frame.
15186
15187 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15188
15189 * window.el (window-auto-delete): Remove.
15190 (window-deletable-p): Remove argument FORCE. Don't deal with
15191 dedication and previous buffers.
15192 (switch-to-prev-buffer): Don't delete window.
15193 (delete-windows-on): Delete a window's frame if and only if the
15194 window is dedicated.
15195 (replace-buffer-in-windows): Delete buffer's window or frame if
15196 and only if window is dedicated.
15197 (quit-window): Handle quit-restore as before last change.
15198 (bury-buffer): Delete window only if window-deletable-p returns t.
15199
15200 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15201
15202 * window.el (window-deletable-p): Never delete the last frame on a
15203 given terminal.
15204
15205 2011-09-13 Glenn Morris <rgm@gnu.org>
15206
15207 * help.el (describe-key-briefly): Copy previous standard-output change.
15208
15209 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15210
15211 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15212
15213 2011-09-13 Glenn Morris <rgm@gnu.org>
15214
15215 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15216 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15217
15218 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15219
15220 * dired-aux.el (dired-mark-read-string): Don't return default
15221 value on empty input (Bug#9361).
15222 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15223 Omit initial minibuffer contents.
15224 (dired-do-chmod): Signal an error on empty input.
15225 (dired-mark-read-string): Don't return default on empty input.
15226
15227 * files.el (file-modes-symbolic-to-number): Doc fix.
15228
15229 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15230
15231 * international/mule-cmds.el (ucs-completions): Remove.
15232 (read-char-by-name): Use complete-with-action instead; add metadata.
15233
15234 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * window.el (display-buffer--action-function-custom-type)
15237 (display-buffer--action-custom-type): New vars.
15238 (display-buffer-alist, display-buffer-default-action)
15239 (display-buffer-overriding-action): Add defcustom types.
15240
15241 * frame.el (delete-other-frames): Doc fix (Bug#276).
15242
15243 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15244
15245 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15246
15247 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15248
15249 Change modes that used same-window-* vars to use switch-to-buffer.
15250
15251 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15252 Use switch-to-buffer.
15253
15254 * cus-edit.el (customize-group, custom-buffer-create)
15255 (customize-browse, custom-buffer-create-other-window):
15256 Use switch-to-buffer or switch-to-buffer-other-window.
15257
15258 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15259 (Info-prev, Info-up, Info-speedbar-goto-node)
15260 (info-display-manual): Use switch-to-buffer.
15261 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15262
15263 * mail/sendmail.el (mail): Use switch-to-buffer.
15264 (mail-recover): Use switch-to-buffer-other-window.
15265
15266 * cmuscheme.el (run-scheme, switch-to-scheme):
15267 * ielm.el (ielm):
15268 * shell.el (shell):
15269 * net/rlogin.el (rlogin):
15270 * net/telnet.el (telnet, rsh):
15271 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15272
15273 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15274
15275 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15276
15277 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15278
15279 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15280 so don't mention it (bug#9301).
15281 (dired-sort-toggle-or-edit): Clarify string further.
15282
15283 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15284 match `x', `w32' and `ns', like the manual says (bug#9029).
15285
15286 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15287 (process-kill-buffer-query-function): Mention the buffer name in
15288 the query.
15289
15290 * image-mode.el (image-next-line): The line parameter is mandatory
15291 (bug#9258).
15292
15293 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15294 which can be useful (bug#9301).
15295
15296 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15297
15298 * subr.el (match-string): Mention that the current buffer should
15299 be the same as the search was done in (bug#9282).
15300
15301 * facemenu.el: Disable the remove-* commands if the mark isn't
15302 active (bug#9162).
15303
15304 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15305
15306 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15307 of display-buffer.
15308 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15309
15310 * replace.el (occur-mode-goto-occurrence)
15311 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15312 and display-buffer.
15313
15314 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15315 display-buffer.
15316
15317 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15318 special-display and same-window variables.
15319 (mail-other-window): Use switch-to-buffer-other-window.
15320 (mail-other-frame): USe switch-to-buffer-other-frame.
15321
15322 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15323 Use display-buffer-other-frame.
15324 (gdb-display-gdb-buffer): Use pop-to-buffer.
15325
15326 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15327
15328 * progmodes/python.el: Don't set same-window-buffer-names.
15329
15330 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15331
15332 * window.el (display-buffer-alist): Add *Python*.
15333
15334 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15335
15336 * window.el (display-buffer-alist): Add entry for buffers
15337 previously handled same-window-*.
15338 (display-buffer-alist, display-buffer-default-action)
15339 (display-buffer-overriding-action): Mark as risky.
15340 (display-buffer-alist): Document action function changes.
15341 (display-buffer--same-window-action)
15342 (display-buffer--other-frame-action): New variables.
15343 (switch-to-buffer, display-buffer-other-frame): Use them.
15344 (display-buffer): Rename reuse-frame entry to reusable-frames.
15345 (display-buffer-reuse-selected-window): Function deleted.
15346 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15347 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15348 (display-buffer-special): New function.
15349 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15350 display-buffer-reuse-or-pop-window. Split off special-display
15351 part into display-buffer-special.
15352 (display-buffer-use-some-window): Don't perform any special
15353 pop-up-frames handling.
15354 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15355 (display-buffer--maybe-same-window): Rename from
15356 display-buffer-maybe-same-window.
15357
15358 * info.el: Don't set same-window-regexps.
15359 (info-setup): New function.
15360 (info-other-window, info): Call it.
15361
15362 * cus-edit.el: Don't set same-window-regexps.
15363 (customize-group): New argument.
15364 (customize-group-other-window): Use it.
15365 (customize-face, customize-face-other-window): Likewise.
15366 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15367
15368 * net/rlogin.el:
15369 * net/telnet.el:
15370 * progmodes/gud.el: Don't set same-window-regexps.
15371
15372 * cmuscheme.el:
15373 * ielm.el:
15374 * shell.el:
15375 * mail/sendmail.el:
15376 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15377
15378 2011-09-10 Juri Linkov <juri@jurta.org>
15379
15380 * isearch.el (isearch-edit-string): Remove obsolete mention of
15381 `C-w' (`isearch-yank-word-or-char') from docstring.
15382 (isearch-query-replace): Fix typo in docstring (bug#9466).
15383
15384 2011-09-10 Juri Linkov <juri@jurta.org>
15385
15386 * paren.el (show-paren-function): Don't show escaped parens.
15387 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15388
15389 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15390
15391 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15392 (mm-default-file-encoding): Remove autoload forms, they are
15393 replaced with autoload cookies in mml.el and mm-encode.el.
15394 (mail-add-attachment): New command.
15395 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15396 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15397 the doc string.
15398 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15399
15400 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15401
15402 * simple.el (count-words-region): Use buffer if there's no region
15403 (bug#9429).
15404
15405 2011-09-09 Juri Linkov <juri@jurta.org>
15406
15407 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15408 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15409 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15410
15411 2011-09-09 Alan Mackenzie <acm@muc.de>
15412
15413 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15414 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15415
15416 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15417
15418 Fix for Savannah bug#9392.
15419 * simple.el (mail-encode-mml): New defvar.
15420
15421 * mail/rmail.el (mail-encode-mml): Add a defvar.
15422 (rmail-enable-mime-composing): Default to t.
15423 (rmail-forward): Use MIME method of forwarding only if both
15424 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15425 Set mail-encode-mml non-nil if the MIME method was used.
15426
15427 * mail/sendmail.el (mml-to-mime): Add autoload form.
15428 (mail-encode-mml): Add a defvar.
15429 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15430 to nil.
15431 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15432 message through mml-to-mime, and reset mail-encode-mml to nil.
15433
15434 2011-09-09 Glenn Morris <rgm@gnu.org>
15435
15436 * woman.el (woman-if-body): When processing an .el block,
15437 do not delete the next .el block as well. (Bug#9447)
15438 (woman-special-characters): Add oq, cq, and hy characters.
15439
15440 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15441
15442 * window.el (window-deletable-p): Make sure window is live before
15443 invoking window-prev-buffers.
15444
15445 2011-09-08 Leo Liu <sdl.web@gmail.com>
15446
15447 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15448
15449 2011-09-08 Juri Linkov <juri@jurta.org>
15450
15451 * progmodes/compile.el (compilation-environment): Make it
15452 a defcustom (bug#8340).
15453
15454 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15455
15456 * window.el (frame-auto-delete): Rename to window-auto-delete.
15457 Make it control auto-deletion of windows and/or frames.
15458 (window-deletable-p): New argument FORCE. Rewrite conditions
15459 for deleting window/frame. (Bug#9419)
15460 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15461 Rewrite handling of case when window/frame can be deleted.
15462 (delete-windows-on): Call window-deletable-p with new FORCE
15463 argument t. (Bug#9456)
15464
15465 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15466
15467 * help-mode.el (help-mode): Restore autoload.
15468
15469 2011-09-07 Juri Linkov <juri@jurta.org>
15470
15471 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15472 `compilation-environment'. Set buffer-local
15473 `compilation-environment' to `thisenv' later after (funcall mode).
15474 (Bug#8340)
15475
15476 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15477 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15478 instead of replacing its value. (Bug#8340)
15479
15480 2011-09-07 Juri Linkov <juri@jurta.org>
15481
15482 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15483 based on text properties put by `grep-filter' instead of matching
15484 escape sequences.
15485 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15486 to the value of `grep-error-screen-columns' (bug#9438).
15487
15488 2011-09-07 Juri Linkov <juri@jurta.org>
15489
15490 * simple.el (next-error-highlight, next-error-highlight-no-select):
15491 Doc fix (bug#9432).
15492
15493 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15494
15495 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15496 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15497
15498 2011-09-07 Leo Liu <sdl.web@gmail.com>
15499
15500 * net/rcirc.el (rcirc-mode): Conditionally initialize
15501 rcirc-input-ring.
15502
15503 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * emacs-lisp/find-func.el (find-function-C-source): Only set
15506 find-function-C-source-directory after checking that we found a source
15507 file there (bug#9440).
15508
15509 2011-09-06 Alan Mackenzie <acm@muc.de>
15510
15511 * isearch.el (isearch-other-meta-char): Wherever a key list is
15512 unread, "unread" the prefix arg, too. This fixes bug #8901.
15513
15514 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15515
15516 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15517
15518 2011-09-05 Juri Linkov <juri@jurta.org>
15519
15520 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15521
15522 2011-09-05 Juri Linkov <juri@jurta.org>
15523
15524 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15525 keeping point where processing of grep matches begins, and
15526 continue to delete remaining escape sequences from the same point.
15527 (grep-filter): Make leading zero optional in "0?1;31m" because
15528 git-grep emits "\033[1;31m" escape sequences unlike expected
15529 "\033[01;31m" as GNU Grep does (bug#9408).
15530 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15531
15532 2011-09-05 Juri Linkov <juri@jurta.org>
15533
15534 * subr.el (y-or-n-p): Capitalize "yes".
15535
15536 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15537
15538 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15539 `tramp-cache-unload-hook' where appropriate.
15540 (tramp-methods): Rename `tramp-remote-sh' to
15541 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15542 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15543
15544 * net/tramp-sh.el (top): Don't require 'shell.
15545 (tramp-methods): Add `tramp-remote-shell' and
15546 `tramp-remote-shell-args' entries.
15547 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15548 (tramp-sh-handle-shell-command): Remove.
15549 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15550 Use `tramp-remote-shell'.
15551
15552 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15553
15554 * mail/sendmail.el (sendmail-query-once-function): Delete.
15555 (sendmail-query-once): Save directly to send-mail-function.
15556 Update message-send-mail-function too.
15557
15558 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15559
15560 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15561
15562 * progmodes/python.el (python-mode-map): Use correct function to
15563 start python interpreter from menu-bar (as reported by Geert
15564 Kloosterman).
15565 (inferior-python-mode-map): Fix typo.
15566 (python-shell-map): Remove.
15567
15568 2011-09-03 Deniz Dogan <deniz@dogan.se>
15569
15570 * net/rcirc.el (rcirc-print): Simplify code for
15571 rcirc-scroll-show-maximum-output. There is no need to walk
15572 through all windows to find the right one.
15573
15574 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15575
15576 * help.el (help-return-method): Doc fix.
15577
15578 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15579
15580 * window.el (window-deletable-p): Don't return a non-nil value
15581 when there's a buffer that was shown in the window before.
15582 (Bug#9419)
15583 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15584 Set window's previous buffers to nil.
15585
15586 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15587
15588 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15589 newline before and after the tag line, so it doesn't interfere
15590 with determining the paragraph direction of bidirectional text.
15591
15592 2011-09-03 Leo Liu <sdl.web@gmail.com>
15593
15594 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15595
15596 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15597
15598 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15599 (pop-to-buffer): Change interactive spec. Pass second argument
15600 directly to display-buffer.
15601 (display-buffer): Fix interactive spec. Use functionp to
15602 distinguish between a function and a list of functions.
15603
15604 * abbrev.el (edit-abbrevs):
15605 * arc-mode.el (archive-extract):
15606 * autoinsert.el (auto-insert):
15607 * bookmark.el (bookmark-bmenu-list):
15608 * files.el (find-file):
15609 * view.el (view-buffer):
15610 * progmodes/compile.el (compilation-goto-locus):
15611 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15612
15613 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15614
15615 * window.el (display-buffer-alist): Doc fix.
15616 (display-buffer): Add docstring. Don't treat
15617 display-buffer-default specially.
15618 (display-buffer-reuse-selected-window)
15619 (display-buffer-same-window, display-buffer-maybe-same-window)
15620 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15621 (display-buffer-pop-up-window)
15622 (display-buffer-reuse-or-pop-window)
15623 (display-buffer-use-some-window): New functions.
15624 (display-buffer-default-action): Use them.
15625 (display-buffer-default): Delete.
15626 (pop-to-buffer-1): Fix choice of actions.
15627
15628 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * minibuffer.el (completion--insert-strings): Don't get confused by
15631 completion entries that end with an LF char.
15632
15633 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15634
15635 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15636
15637 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15638
15639 * window.el (display-buffer): Restore interactive spec.
15640 (display-buffer-same-window, display-buffer-other-window):
15641 New functions.
15642 (pop-to-buffer-1): New function. Use the above.
15643 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15644 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15645
15646 * view.el (view-buffer-other-window, view-buffer-other-frame):
15647 Just use pop-to-buffer.
15648
15649 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15650
15651 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15652
15653 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15654
15655 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15656
15657 2011-08-31 Richard Stallman <rms@gnu.org>
15658
15659 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15660 of the separation of rmail-view-buffer from rmail-buffer.
15661 If you say no to "replace original", the decrypt is in the
15662 view buffer. If you say yes, the decrypt goes into the
15663 rmail buffer also.
15664
15665 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15666
15667 * window.el (display-buffer-window): Rewrite doc-string.
15668 (display-buffer-record-window): New function.
15669 (display-buffer-macro-specifiers)
15670 (display-buffer-even-window-sizes, display-buffer-set-height)
15671 (display-buffer-set-width, display-buffer-in-window)
15672 (display-buffer-reuse-window, display-buffer-split-specifiers)
15673 (display-buffer-side-specifiers, display-buffer-split-window-1)
15674 (display-buffer-split-window, display-buffer-split-atom-window)
15675 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15676 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15677 (display-buffer-other-window-means-other-frame)
15678 (display-buffer-normalize-special)
15679 (display-buffer-normalize-default)
15680 (display-buffer-normalize-argument)
15681 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15682 (display-buffer-normalize-specifiers, display-buffer-frame)
15683 (display-buffer-same-window, display-buffer-same-frame)
15684 (display-buffer-other-window)
15685 (display-buffer-same-frame-other-window)
15686 (display-buffer-other-frame, pop-to-buffer-same-window)
15687 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15688 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15689 (switch-to-buffer-same-frame)
15690 (switch-to-buffer-other-window-same-frame)
15691 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15692 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15693 (display-buffer-alist-set): Remove.
15694 (display-buffer-function, special-display-buffer-names)
15695 (special-display-regexps, special-display-function):
15696 In doc-string refer to display-buffer-window and quit-restore
15697 parameter.
15698 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15699 (special-display-frame-alist, special-display-popup-frame)
15700 (same-window-buffer-names, same-window-regexps, same-window-p)
15701 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15702 (split-window-preferred-function, split-height-threshold)
15703 (split-width-threshold, window-splittable-p)
15704 (split-window-sensibly, window--try-to-split-window)
15705 (window--frame-usable-p, even-window-heights)
15706 (window--even-window-heights, window--display-buffer-1)
15707 (window--display-buffer-2, display-buffer-other-frame):
15708 Restore old Emacs 23 code, order and doc-strings where applicable.
15709 (display-buffer-default, display-buffer-assq-regexp): New functions.
15710 (display-buffer-alist): Rewrite doc-string.
15711 (display-buffer-default-action)
15712 (display-buffer-overriding-action): New variables.
15713 (display-buffer, switch-to-buffer): Rewrite.
15714 (pop-to-buffer): Restore Emacs 23 behavior but use
15715 window-normalize-buffer-to-display.
15716 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15717 Restore Emacs 23 behavior but use
15718 window-normalize-buffer-to-switch-to.
15719 (pop-to-buffer-same-window): Rewrite.
15720 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15721 Rewrite using Emacs 23 options.
15722
15723 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15724
15725 * net/tramp.el (tramp-root-regexp): Remove.
15726 (tramp-completion-file-name-regexp-unified)
15727 (tramp-completion-file-name-regexp-separate)
15728 (tramp-completion-file-name-regexp-url): Don't use leading volume
15729 letter on w32 systems. (Bug#5303, Bug#9311)
15730 (tramp-drop-volume-letter): Simplify definition.
15731 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15732
15733 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15734
15735 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15736 (bug#9356).
15737
15738 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15739
15740 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15741
15742 2011-08-29 Juri Linkov <juri@jurta.org>
15743
15744 * isearch.el (isearch-done): Don't display message "Mark saved"
15745 when arg `edit' is non-nil to prevent its flicker in the echo area.
15746
15747 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15748
15749 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15750 obsolete packages for deletion.
15751
15752 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15753
15754 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15755 (help-mode): Derive help-mode from special-mode. Don't invoke
15756 view-mode from help-mode.
15757 (help-xref-override-view-map): Remove.
15758 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15759 view-mode is not used anymore.
15760
15761 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15762
15763 * server.el (server-port): Doc fix.
15764
15765 * cus-theme.el (custom-theme-choose-mode): Inherit from
15766 special-mode (Bug#9124).
15767 (custom-theme-choose-mode-map): Add special-mode to parent.
15768
15769 2011-08-28 Alan Mackenzie <acm@muc.de>
15770
15771 * progmodes/cc-fonts.el
15772 (c-make-font-lock-BO-decl-search-function): New function.
15773 (c-basic-matchers-after - "Fontify the clauses after various
15774 keywords"): Extract the three keyword lists for the 3 erroneous
15775 constructs from the list of four, and use the new function above
15776 in place of an old one.
15777
15778 2011-08-28 Deniz Dogan <deniz@dogan.se>
15779
15780 * net/rcirc.el (rcirc-insert-prev-input)
15781 (rcirc-insert-next-input): Remove unused argument.
15782
15783 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15784
15785 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15786
15787 2011-08-27 Alan Mackenzie <acm@muc.de>
15788
15789 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15790 handle function pointer parameters properly.
15791
15792 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15793
15794 * window.el (display-buffer-reuse-window): Fix case where
15795 selected window was reused with non-nil OTHER-WINDOW argument.
15796 (Bug#9381)
15797
15798 2011-08-27 Deniz Dogan <deniz@dogan.se>
15799
15800 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15801 oftc's NickServ messages.
15802
15803 2011-08-27 Glenn Morris <rgm@gnu.org>
15804
15805 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15806
15807 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15808
15809 * emacs-lisp/package.el (package-install): Call package-initialize
15810 if called interactively.
15811
15812 2011-08-26 Leo Liu <sdl.web@gmail.com>
15813
15814 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15815
15816 2011-08-25 Juri Linkov <juri@jurta.org>
15817
15818 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15819 `search-whitespace-regexp' (bug#9364).
15820
15821 2011-08-25 Juri Linkov <juri@jurta.org>
15822
15823 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15824 `regexp-search-ring' to their global values to protect from
15825 updating by `read-from-minibuffer' (bug#9185).
15826
15827 2011-08-25 Juri Linkov <juri@jurta.org>
15828
15829 * textmodes/ispell.el (ispell-command-loop): Add newline
15830 at the end of the "Use option `i'..." line.
15831
15832 2011-08-25 Juri Linkov <juri@jurta.org>
15833
15834 * battery.el (display-battery-mode): If `battery-status-function'
15835 or `battery-mode-line-format' is nil, display the message and set
15836 `display-battery-mode' to nil (bug#9363).
15837
15838 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15839
15840 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15841 bidi-string-mark-left-to-right; they are unnecessary now.
15842
15843 2011-08-25 Deniz Dogan <deniz@dogan.se>
15844
15845 * net/quickurl.el: Documentation typo fixes.
15846
15847 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15848
15849 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15850
15851 2011-08-25 Glenn Morris <rgm@gnu.org>
15852
15853 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15854
15855 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15856 (smtpmail-via-smtp): Handle nil response from smtp.
15857
15858 2011-08-24 Juri Linkov <juri@jurta.org>
15859
15860 * proced.el (proced-marked): Inherit from `error' instead of
15861 `font-lock-warning-face'.
15862
15863 * ibuffer.el (ibuffer-marked-face): Change default face from
15864 `font-lock-warning-face' to `warning'.
15865 (ibuffer-deletion-face): Change default face from
15866 `font-lock-type-face' to `error'.
15867
15868 * battery.el (battery-update): Use the face `error' instead of
15869 `font-lock-warning-face' (bug#6117).
15870
15871 2011-08-24 Juri Linkov <juri@jurta.org>
15872
15873 * faces.el (success): Change face color from "Green3" to
15874 "ForestGreen" on light background (bug#9353).
15875
15876 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15877
15878 * window.el (quit-window): Rename from quit-restore-window.
15879 Use same arglist as old quit-window.
15880 (frame-auto-delete): Doc fix.
15881
15882 * view.el (view-mode-exit): Use quit-window.
15883
15884 2011-08-24 Juri Linkov <juri@jurta.org>
15885
15886 * isearch.el (isearch-ring-adjust1): Start visiting previous
15887 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15888 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15889 for empty search string (when the last search string is reused
15890 automatically) to adjust the isearch ring to the last element and
15891 prepare the correct index for further M-p commands (bug#9185).
15892
15893 2011-08-24 Kenichi Handa <handa@m17n.org>
15894
15895 * international/ucs-normalize.el: If decomposition property of
15896 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15897 nil.
15898 (nfd, nfkd): Likewise.
15899
15900 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15901
15902 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15903 from process filters aren't reliably transmitted to the surrounding
15904 accept-process-output.
15905 (mpc-proc-check): New function.
15906 (mpc-proc-sync): Use it (bug#8293)
15907
15908 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15911 Add compatibility functions (bug#9313).
15912
15913 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15914
15915 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15916
15917 * international/uni-bidi.el: Regenerate.
15918
15919 2011-08-23 Kenichi Handa <handa@m17n.org>
15920
15921 * international/charprop.el:
15922 * international/uni-bidi.el:
15923 * international/uni-category.el:
15924 * international/uni-combining.el:
15925 * international/uni-comment.el:
15926 * international/uni-decimal.el:
15927 * international/uni-decomposition.el:
15928 * international/uni-digit.el:
15929 * international/uni-lowercase.el:
15930 * international/uni-mirrored.el:
15931 * international/uni-name.el:
15932 * international/uni-numeric.el:
15933 * international/uni-old-name.el:
15934 * international/uni-titlecase.el:
15935 * international/uni-uppercase.el: Regenerate.
15936
15937 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15938
15939 * help.el (help-window-setup): Fix message displayed when other
15940 window is reused. (Bug#9341)
15941
15942 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15943
15944 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15945 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15946
15947 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15948 Mark obsolete.
15949 * shell.el (shell-parse-pcomplete-arguments): New function.
15950 (shell-completion-vars): Use it instead (bug#9160).
15951
15952 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15955 strings and comments (bug#9333).
15956
15957 * emacs-lisp/debug.el (debug-arglist): New function.
15958 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15959 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15960
15961 2011-08-22 Juri Linkov <juri@jurta.org>
15962
15963 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15964 Revert regexp that highlights output switches to its old
15965 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15966
15967 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15968 to check for empty output (bug#9226).
15969
15970 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15971
15972 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15973 symbol-constituent as the default, as that stops font-lock from
15974 working properly (Bug#8843).
15975
15976 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15977
15978 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15979 `coding-system-for-*' around the process open call to avoid
15980 auth-source side effects.
15981 (smtpmail-try-auth-methods): Expand the secret password.
15982 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15983 probe hangs.
15984
15985 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15986
15987 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15988
15989 * emacs-lisp/find-func.el (find-function-noselect): New arg
15990 lisp-only.
15991
15992 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15993 signal an error for built-in functions (Bug#6664).
15994
15995 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
15997 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15998 (smtpmail-try-auth-methods): Use it.
15999
16000 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16001
16002 * font-lock.el (font-lock-fontify-region)
16003 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16004 (font-lock-default-unfontify-buffer)
16005 (font-lock-default-fontify-region)
16006 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16007
16008 * progmodes/compile.el (compilation-error-properties):
16009 Fix confusion between file struct and message struct (Bug#9319).
16010 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16011 `ant' regexp.
16012
16013 * net/browse-url.el (browse-url-firefox): Don't call
16014 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16015
16016 2011-08-20 Glenn Morris <rgm@gnu.org>
16017
16018 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16019
16020 * tutorial.el (tutorial--default-keys): Update some default bindings.
16021
16022 * files.el (hack-local-variables): Fully ignore case for "mode:".
16023
16024 2011-08-20 Alan Mackenzie <acm@muc.de>
16025
16026 Resolve invalid use of a regexp in regexp-opt.
16027
16028 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16029 detection for a java annotation.
16030
16031 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16032 detection for a java annotation.
16033
16034 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16035 handling for java.
16036 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16037
16038 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16039
16040 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16041 (Bug#9274).
16042
16043 2011-08-20 Alan Mackenzie <acm@muc.de>
16044
16045 Fontify CPP expressions correctly when starting in the middle of
16046 such a construct. Mainly for when jit-lock etc. starts a chunk
16047 here.
16048
16049 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16050 variable.
16051 (c-make-font-lock-search-form): New function, extracted from
16052 c-make-font-lock-search-function.
16053 (c-make-font-lock-search-function): Use the above function.
16054 (c-make-font-lock-context-search-function): New function.
16055 (c-cpp-matchers): Enhance the preprocessor expression case with
16056 the above function
16057 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16058 which takes an expression.
16059
16060 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16061
16062 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16063
16064 * window.el (display-buffer-reuse-window)
16065 (display-buffer-pop-up-window): Don't reuse or split a side
16066 window.
16067
16068 2011-08-19 Glenn Morris <rgm@gnu.org>
16069
16070 * files.el (hack-local-variables-prop-line, hack-local-variables):
16071 Downcase "Mode:". (Bug#9331)
16072
16073 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16074
16075 * international/characters.el: Add L and R categories.
16076
16077 * subr.el (bidi-string-mark-left-to-right): Rename from
16078 string-mark-left-to-right. Use category search.
16079
16080 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16081
16082 2011-08-18 Juri Linkov <juri@jurta.org>
16083
16084 * faces.el (error, warning, success): New faces with definitions
16085 copied from old default values of `font-lock-warning-face',
16086 `compilation-warning', `compilation-info' (bug#6117).
16087
16088 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16089
16090 * progmodes/compile.el (compilation-error): Inherit from `error'.
16091 (compilation-warning): Inherit from `warning'.
16092 (compilation-info): Inherit from `success'.
16093
16094 * dired.el (dired-marked): Inherit from `warning'.
16095 (dired-flagged): Inherit from `error'.
16096
16097 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16098
16099 * mail/smtpmail.el (auth-source): Require to avoid problems with
16100 binding variables (bug#9298). Also clean up some unused
16101 autoloads.
16102
16103 * net/network-stream.el (network-stream-open-starttls):
16104 Support using starttls.el without using gnutls-cli.
16105
16106 2011-08-17 Juri Linkov <juri@jurta.org>
16107
16108 * progmodes/grep.el (rgrep): Handle the case when
16109 `grep-find-command' is a cons cell (bug#9278).
16110
16111 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16112
16113 * window.el (display-buffer-pop-up-frame): Run frame creation
16114 function with BUFFER current (as special-display-popup-frame
16115 does). Reported by Drew Adams.
16116
16117 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16118
16119 * epa-mail.el: Simplify GnuPG group expansion using
16120 epg-expand-group.
16121 (epa-mail-group-alist, epa-mail-group-modtime)
16122 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16123 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16124 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16125 Remove.
16126
16127 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16128
16129 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16130
16131 2011-08-16 Alan Mackenzie <acm@muc.de>
16132
16133 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16134 Correct, to avoid the inside of macros.
16135
16136 2011-08-16 Richard Stallman <rms@gnu.org>
16137
16138 * epa-mail.el: Handle GnuPG group definitions.
16139 (epa-mail-group-alist, epa-mail-group-modtime)
16140 (epa-mail-gnupg-conf-file): New variables.
16141 (epa-mail-parse-groups, epa-mail-sync-groups)
16142 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16143 (epa-mail-expand-recipients): New functions.
16144 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16145
16146 * mail/rmail.el (rmail-epa-decrypt): New command.
16147
16148 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16149 Don't bind buffer-read-only, just inhibit-read-only.
16150 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16151 (epa-decrypt-armor-in-region): Make error message clearer.
16152
16153 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16156 and "a2b" to "ab" for `prefix'.
16157
16158 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16159
16160 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16161 filter groups.
16162 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16163 Fourquet (Bug#8804).
16164
16165 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16166
16167 * startup.el (argi): Declare as global variable (bug#9275).
16168
16169 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16170
16171 * subr.el (string-mark-left-to-right): Search the entire string
16172 for RTL script, not just the terminating character. Doc fix.
16173
16174 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16175
16176 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16177 New function.
16178 (js--regexp-literal, js-syntax-propertize-function): Remove.
16179 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16180 (js-mode-map): Don't rebind electric keys.
16181 (js-insert-and-indent): Remove.
16182 (js-mode): Setup electric-layout and electric-indent instead.
16183
16184 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16185
16186 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16187
16188 * epa.el (epa-progress-callback-function): Fix the logic of
16189 displaying progress.
16190 * epa-file.el (epa-file-insert-file-contents): Make progress
16191 display more user-friendly.
16192 (epa-file-write-region): Ditto.
16193
16194 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16195
16196 * subr.el (string-mark-left-to-right): New function.
16197
16198 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16199 Use string-mark-left-to-right.
16200 (list-buffers-noselect): Caller changed.
16201
16202 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16203 Use string-mark-left-to-right.
16204 (tabulated-list-print): Recenter after moving point.
16205
16206 2011-08-10 Juri Linkov <juri@jurta.org>
16207
16208 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16209 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16210 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16211
16212 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16213
16214 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16215 (Bug#7554).
16216
16217 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16218
16219 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16220 character. (Bug#6594)
16221
16222 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16223
16224 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16225 (image-dired--with-db-file): New macro.
16226 (image-dired-write-tags, image-dired-remove-tag)
16227 (image-dired-create-gallery-lists, image-dired-write-comments)
16228 (image-dired-get-comment, image-dired-mark-tagged-files)
16229 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16230 (image-dired-gallery-generate): Use insert-file-contents.
16231
16232 * time.el (display-time-world-list, display-time-world-display):
16233 * time-stamp.el (time-stamp-string):
16234 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16235 set-time-zone-rule (Bug#7337).
16236
16237 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16238
16239 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16240 (epg-error-to-string, epg-errors-to-string): New function.
16241 (epg-wait-for-completion): Reverse errors list.
16242 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16243 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16244 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16245 (epg-sign-keys, epg-generate-key-from-file)
16246 (epg-generate-key-from-string): Format errors by using
16247 epg-errors-to-string (bug#9255).
16248 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16249
16250 2011-08-07 Juri Linkov <juri@jurta.org>
16251
16252 * faces.el (list-faces-display): Remove extra angle bracket
16253 from `help-mode-map'.
16254
16255 * info.el (Info-history-toc-nodes): Doc fix.
16256
16257 * longlines.el (longlines-mode): Doc fix.
16258
16259 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16260
16261 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16262 of statements and in a few more cases (bug#9183).
16263
16264 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16265 New functions.
16266 (cl-transform-lambda): Use them (bug#9239).
16267
16268 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16269
16270 * window.el (display-buffer-same-window)
16271 (display-buffer-same-frame, display-buffer-other-window)
16272 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16273 (pop-to-buffer-other-window)
16274 (pop-to-buffer-same-frame-other-window)
16275 (pop-to-buffer-other-frame): Make them defuns.
16276 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16277
16278 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * subr.el (make-composed-keymap): Move from C. Change calling
16281 convention, and improve docstring to bring attention to a subtle point.
16282 * minibuffer.el (completing-read-default): Adjust accordingly.
16283
16284 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16285
16286 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16287 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16288
16289 * net/trampver.el: Update release number.
16290
16291 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16292
16293 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16294 "in" (bug#9190).
16295
16296 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16297
16298 * mail/sendmail.el (sendmail-query-once): Restore the current
16299 buffer after querying (bug#9074).
16300
16301 * dired.el (dired-flagged): Use different faces for marked and
16302 flagged files (bug#6117).
16303
16304 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16305 (bug#4433).
16306
16307 * ido.el (ido-mode): Switch off the message if called
16308 non-interactively.
16309
16310 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16311 before 587, since it appears that that's more likely to work for
16312 more people.
16313
16314 * cus-edit.el (custom-file): When running under emacs -q, always
16315 refuse to save the customizations, even if the .emacs file doesn't
16316 exist.
16317
16318 * info.el: Remove the `Info-beginning-of-buffer' function
16319 (bug#8325).
16320
16321 * net/network-stream.el (network-stream-open-starttls):
16322 Use `starttls-available-p' to see whether starttls.el can be used.
16323
16324 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16325
16326 * window.el (display-buffer-in-window): Don't set dedicated status
16327 of window here (Bug#9215).
16328 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16329 (display-buffer-pop-up-side-window)
16330 (display-buffer-in-side-window): Set dedicated status of window here.
16331
16332 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16333
16334 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16335 before binding generated-autoload-file.
16336
16337 2011-08-01 Deniz Dogan <deniz@dogan.se>
16338
16339 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16340
16341 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16342
16343 Sync with Tramp 2.2.2.
16344
16345 * net/trampver.el: Update release number.
16346
16347 2011-07-30 Juri Linkov <juri@jurta.org>
16348
16349 * dired-aux.el (dired-touch-initial): Remove function.
16350 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16351 current time, and `default' to the last modification time of the
16352 current marked file (bug#6887).
16353
16354 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16355
16356 * simple.el (goto-line): Use string-to-number to provide a
16357 numeric argument to read-number (bug#9163).
16358
16359 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16360
16361 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16362 connection process, it could be nil.
16363
16364 2011-07-27 Leo Liu <sdl.web@gmail.com>
16365
16366 Simplify url handling in rcirc-mode.
16367
16368 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16369 (rcirc-browse-url-at-mouse): Remove.
16370 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16371
16372 2011-07-26 Alan Mackenzie <acm@muc.de>
16373
16374 Fontify bitfield declarations properly.
16375
16376 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16377 (c-symbol-chars): Now exported as a lang variable.
16378 (c-not-primitive-type-keywords): New lang variable.
16379
16380 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16381 QT keyword "more" to prevent "more slots: ...." being spuriously
16382 parsed as a bitfield declaration.
16383
16384 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16385 Refactor and enhance to handle bitfield declarations.
16386 (c-punctuation-in): New function.
16387 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16388 declarations properly.
16389
16390 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16391
16392 * calendar/icalendar.el (icalendar--all-events): Take care of
16393 multiple vcalendars in a single file.
16394 (icalendar--convert-float-to-ical): Checkdoc fixes.
16395
16396 2011-07-25 Deniz Dogan <deniz@dogan.se>
16397
16398 * image.el (insert-image): Clarifying docstring.
16399
16400 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16401
16402 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16403 `tramp-send-command-and-check' if there is no error.
16404 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16405
16406 2011-07-22 Alan Mackenzie <acm@muc.de>
16407
16408 Prevent cc-langs.elc being loaded at run time.
16409
16410 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16411 cc-langs.
16412
16413 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16414 "(require 'cc-langs)". Quote a form so it will evaluate at
16415 (cc-mode's) compilation time.
16416
16417 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16418
16419 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16420 loading. (Bug#9114)
16421
16422 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16423
16424 * window.el (display-buffer-pop-up-window)
16425 (display-buffer-pop-up-side-window)
16426 (display-buffer-in-side-window): Call display-buffer-set-height
16427 and display-buffer-set-width after setting the new window's
16428 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16429
16430 2011-07-20 Sam Steingold <sds@gnu.org>
16431
16432 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16433 (etags-tags-included-tables): Call `convert-standard-filename' on
16434 the file names contained in TAGS so that windows Emacs can handle
16435 TAGS files created by cygwin ctags.
16436
16437 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16440 which apparently didn't work.
16441
16442 2011-07-19 Roland Winkler <winkler@gnu.org>
16443
16444 * proced.el (proced-send-signal): For *Marked Processes* buffer
16445 put point at beginning of buffer.
16446
16447 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16448
16449 * proced.el (proced-format): Make header lines align with the text
16450 (bug#1779).
16451
16452 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16453
16454 * view.el (view-buffer): Allow running in `special' modes if we're
16455 visiting a file (bug#8615).
16456
16457 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16458
16459 * window.el (display-buffer-alist-of-strings-p)
16460 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16461 New functions.
16462 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16463 more accurately.
16464
16465 2011-07-18 Alan Mackenzie <acm@muc.de>
16466
16467 Fontify declarators properly when, e.g., a jit-lock chunk begins
16468 inside a declaration.
16469
16470 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16471
16472 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16473 New function.
16474 (c-complex-decl-matchers): Insert reference to
16475 c-font-lock-enclosing-decls.
16476
16477 * progmodes/cc-engine.el (c-backward-single-comment):
16478 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16479 to nil around calls to (forward-comment -1).
16480
16481 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16482
16483 * image.el (put-image): Doc typo fix.
16484
16485 * progmodes/etags.el (tags-search): Doc typo fix.
16486
16487 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16488 password if we get errors 550 to 554.
16489
16490 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16491
16492 * net/gnutls.el (gnutls-log-level): Remove.
16493
16494 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16495 indentation character (bug#6380).
16496
16497 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16498
16499 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16500 to clarify what the problem is (bug#4291).
16501
16502 * simple.el (current-kill): Clarify what
16503 `interprogram-paste-function' does (bug#7500).
16504 (auto-fill-mode): Document `auto-fill-function' in relation to
16505 `auto-fill-mode' (bug#2470).
16506
16507 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16508
16509 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16510 method if slot is read-only (bug#9035).
16511
16512 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16513
16514 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16515 * window.el (pop-to-buffer): Select window used even if it was
16516 selected before, see discussion of (Bug#8615), (Bug#6954).
16517 Pass argument NORECORD on to select-frame-set-input-focus.
16518
16519 2011-07-15 Glenn Morris <rgm@gnu.org>
16520
16521 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16522 Respect help-form.
16523
16524 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16525
16526 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16527 (gnutls-negotiate): Use it.
16528
16529 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16530
16531 * net/gnutls.el (gnutls-negotiate):
16532 Upcase `gnutls-algorithm-priority'.
16533
16534 2011-07-15 Glenn Morris <rgm@gnu.org>
16535
16536 * jka-compr.el (jka-compr-verbose): Move from here...
16537 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16538 Add missing :version tag.
16539 * info.el: No need to require jka-compr when compiling.
16540
16541 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16542
16543 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16544 (gnutls-negotiate): Use it.
16545
16546 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16547
16548 * info.el (Info-beginning-of-buffer): New command.
16549 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16550 announcing `b' as the key (bug#8325).
16551 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16552
16553 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16554
16555 * international/mule-cmds.el
16556 (describe-specified-language-support): Make the error message
16557 clearer (bug#8905).
16558
16559 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16560
16561 * isearch.el (isearch-barrier): Add a doc string, since it's
16562 mentioned in a function doc string (bug#8678).
16563
16564 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16565
16566 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16567 buffer argument (Bug#9083) and self-identifying label argument.
16568
16569 2011-07-15 Glenn Morris <rgm@gnu.org>
16570
16571 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16572
16573 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16574
16575 * man.el (Man-fontify-manpage): Fix message when formatting the
16576 man page (bug#7929).
16577
16578 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16579
16580 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16581 argument LRM; if non-nil, append an invisible LRM character to the
16582 buffer name.
16583 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16584 last argument non-nil, when formatting buffer names.
16585 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16586 paragraph direction.
16587
16588 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16589
16590 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16591 the man page name (bug#7929).
16592
16593 * image.el (put-image): Mention the `put-image' overlay property
16594 (bug#7834).
16595
16596 * scroll-bar.el (set-scroll-bar-mode): Mention that
16597 `scroll-bar-mode' lists the values (bug#7772).
16598
16599 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16600 command (bug#7729).
16601
16602 * rect.el (apply-on-rectangle): Return the point after the last
16603 operation.
16604 (string-rectangle): Go to the point after the last operation
16605 (bug#7522).
16606
16607 * printing.el (pr-toggle-region): Clarify the documentation
16608 slightly (bug#7493).
16609
16610 * time.el (display-time-update):
16611 Allow `display-time-mail-function' to return nil (bug#7158).
16612 Fix suggested by Detlev Zundel.
16613
16614 * vc/diff.el (diff): Clarify the order the file names are read
16615 (bug#7111).
16616
16617 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16618 the doc string (bug#7015).
16619
16620 * font-lock.el (font-lock-maximum-decoration): Mention what
16621 numeric levels mean (bug#6935).
16622
16623 * startup.el (initial-buffer-choice): Don't mention the `none'
16624 selection, which is against policy.
16625
16626 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16627
16628 * window.el (display-buffer-normalize-special):
16629 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16630
16631 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16632
16633 * subr.el (version<, version<=, version=): Mention "-CVS" and
16634 "-12345" alpha version numbers.
16635
16636 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16637
16638 * bindings.el: Add advertised binding for set-mark-command
16639 (Bug#5772).
16640
16641 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16642
16643 * bindings.el (mode-line-other-buffer):
16644 * bookmark.el (bookmark-bmenu-2-window):
16645 * bs.el (bs-cycle-next, bs-cycle-previous):
16646 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16647 switch-to-buffer.
16648
16649 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16650 Delete.
16651
16652 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16653
16654 * follow.el (follow-debug-message, follow-redisplay):
16655 * jka-cmpr-hook.el (with-auto-compression-mode):
16656 Fix typos in docstrings.
16657
16658 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16659
16660 * subr.el (with-silent-modifications): Clarify somewhat what the
16661 macro inhibits (bug#6525).
16662
16663 * simple.el (eval-expression): Note what it does if called
16664 interactively (bug#6495).
16665
16666 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16667
16668 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16669 Use pop-to-buffer buffer-or-name if it is nil.
16670
16671 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16672 Remove switch-to-buffer.
16673
16674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16675
16676 * files.el (make-directory): Clarify that an error will be raised
16677 if there's an error (bug#6397).
16678
16679 * startup.el (initial-buffer-choice): Add `none' as a choice
16680 (bug#6234).
16681
16682 * subr.el (add-hook): Clarify section about buffer-local hooks
16683 (bug#6218).
16684
16685 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16686
16687 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16688
16689 * tabify.el (untabify): Preserve the current column so that point
16690 doesn't move (bug#6032).
16691
16692 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16693
16694 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16695 Rewrite to avoid awkward possessive "s" (bug#5986).
16696
16697 2011-07-13 Glenn Morris <rgm@gnu.org>
16698
16699 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16700 (dired-insert-directory): Give a message the first time
16701 if ls is found not to support --dired.
16702
16703 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16704
16705 * simple.el (toggle-truncate-lines): Clarify what is toggled
16706 (bug#5580). Text by Drew Adams.
16707
16708 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16709
16710 * simple.el (blink-matching-open): Make the error message from the
16711 last change less verbose.
16712
16713 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16714
16715 * font-lock.el (font-lock-comment-face): Use the high contrast
16716 "yellow" color for font-lock-comment-face on low color terminals
16717 using a dark background color (bug#4221).
16718
16719 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720
16721 * dired.el (dired-insert-set-properties): Make the doc string
16722 reflect what it does now (bug#5325).
16723
16724 * simple.el (blink-matching-open): Say that we were unable to find
16725 the match within the limit, if we're limited (bug#5122).
16726
16727 * international/mule-cmds.el (prefer-coding-system): Add an
16728 example (bug#4869).
16729
16730 * progmodes/etags.el (tags-search): Document `file-list-form'
16731 (bug#4731).
16732
16733 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16734
16735 * net/browse-url.el (browse-url-default-browser)
16736 (browse-url-browser-function): Make the default browser choice a
16737 bit more logical (bug#4300). Also clean up the doc string.
16738
16739 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16740
16741 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16742 binary endings (bug#4440).
16743
16744 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16745
16746 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16747 which can be pretty annoying (bug#8971).
16748
16749 * jka-compr.el (jka-compr-verbose): New variable, and use
16750 throughout (bug#8971).
16751
16752 * info.el (Info-find-file): Fall back on the installation
16753 directory if we can't find the info node anywhere else.
16754
16755 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16756
16757 * vc/vc.el (vc-revert-file):
16758 Don't set file time-stamp in the past. (Bug#5181)
16759
16760 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16761
16762 * files.el (after-find-file): Give a better error message when
16763 trying to find a symlink that points to a file that doesn't exist
16764 (bug#4398).
16765
16766 * progmodes/cc-vars.el: Remove (probably) misleading comment
16767 (bug#4396).
16768
16769 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16770
16771 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16772
16773 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16774
16775 * mouse-sel.el: Hack restoring functionality, while keeping
16776 compatibility with 2010-07-03 changes to mouse selection.
16777 (mouse-sel-primary-overlay): New var.
16778 (mouse-sel-selection-alist): Use it.
16779 (mouse-sel-mode): Doc fix; remove points that are default features
16780 of mouse.el.
16781
16782 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16783
16784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16785 Fix previous fix (bug#2490).
16786
16787 2011-07-12 Roland Winkler <winkler@gnu.org>
16788
16789 * textmodes/bibtex.el (bibtex-initialize):
16790 Use pop-to-buffer-same-window.
16791 (bibtex-search-entries): Fix interactive call.
16792
16793 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16794
16795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16796 Fontise bytecomp Error lines more correctly (bug#2490).
16797 Fix suggested by Johan Bockgård.
16798
16799 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16800
16801 * dired-x.el (dired-guess-default): Use `delete-dups'.
16802
16803 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16804
16805 * dired.el (dired-mark-prompt):
16806 * dired-aux.el (dired-read-shell-command): Doc fix.
16807
16808 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16809
16810 * mail/sendmail.el (sendmail-query-once):
16811 Use `customize-save-variable' unconditionally, now that it works under
16812 emacs -Q.
16813
16814 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16815
16816 * cus-edit.el (custom-file): Take an optional no-error variable.
16817 (customize-save-variable): Set the variable, and give a warning if
16818 running under "emacs -q".
16819
16820 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16821
16822 * loadhist.el (unload-feature-special-hooks):
16823 Add `auto-coding-functions', `fill-nobreak-predicate' and
16824 `find-directory-functions' (bug#5327).
16825
16826 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16827
16828 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16829
16830 * cus-edit.el (custom-guess-name-alist): -alist variables should
16831 use the `alist' type (bug#3120). Suggested by Drew Adams.
16832
16833 * printing.el: Add documentation to all the `pr-toggle-' commands.
16834
16835 2011-07-11 Leo Liu <sdl.web@gmail.com>
16836
16837 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16838 backends where it makes sense (bug#2623).
16839
16840 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841
16842 * dired-x.el (dired-guess-default): Remove duplicate shell command
16843 entries (bug#2028).
16844 (dired-guess-default): Fix grammar in doc string (bug#2028).
16845 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16846
16847 * subr.el (remove-duplicates): New conveniency function.
16848
16849 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16850
16851 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16852 (bug#1526).
16853
16854 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16855
16856 * window.el (display-buffer-normalize-default): Don't invert
16857 meaning of even-window-heights. Reported by Eli Zaretskii
16858 <eliz@gnu.org>.
16859
16860 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16861
16862 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16863
16864 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16865
16866 * window.el (display-buffer): Fix arguments to
16867 display-buffer-reuse-window in last change.
16868
16869 * faces.el (link): Use a less saturated blue on light backgrounds.
16870
16871 * startup.el (fancy-startup-text, fancy-about-text)
16872 (fancy-startup-tail): Use font-lock faces, for background safety.
16873
16874 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16875
16876 * emulation/viper-cmd.el (viper-change-state-to-vi):
16877 Limit triggering of abbrev expansion (Bug#9038).
16878
16879 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16880
16881 * window.el (display-buffer-default-specifiers): Remove.
16882 (display-buffer-macro-specifiers): Remove default specifiers.
16883 (display-buffer-alist): Default to nil.
16884 (display-buffer-reuse-window): New optional argument other-window.
16885 (display-buffer-pop-up-window): Allow splitting internal
16886 windows. Check whether a live window was created.
16887 (display-buffer-other-window-means-other-frame)
16888 (display-buffer-normalize-arguments): Rename to
16889 display-buffer-normalize-argument and rewrite. Set the
16890 other-window specifier.
16891 (display-buffer-normalize-special): New function.
16892 (display-buffer-normalize-options): Rename to
16893 display-buffer-normalize-default and rewrite.
16894 (display-buffer-normalize-options-inhibit): Remove.
16895 (display-buffer-normalize-specifiers): Rewrite.
16896 (display-buffer): Process other-window specifier and call
16897 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16898 more faithfully.
16899 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16900 (display-buffer-alist-set): Don't handle 'unset default values.
16901 (display-buffer-in-window, display-buffer-alist-set):
16902 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16903 <tassilo@member.fsf.org>.
16904
16905 2011-07-09 Leo Liu <sdl.web@gmail.com>
16906
16907 * register.el (insert-register): Restore accidental change on
16908 2011-06-26. (Bug#9028)
16909
16910 2011-07-09 Glenn Morris <rgm@gnu.org>
16911
16912 * subr.el (remq): Handle the empty list. (Bug#9024)
16913
16914 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16915
16916 * mail/sendmail.el (send-mail-function): No longer delay custom
16917 initialization.
16918 * custom.el (custom-initialize-delay): Doc fix.
16919
16920 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16921
16922 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16923
16924 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16925
16926 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16927 human-friendly prompt.
16928
16929 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16932 provided by a particular plugin.
16933
16934 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16935
16936 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16937 save customizations (with "emacs -Q"), just set the variable
16938 instead of erroring out.
16939
16940 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16941
16942 2011-07-08 Juri Linkov <juri@jurta.org>
16943
16944 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16945 (archive-zip-update-case): Use 7z if found by `executable-find'.
16946 The order of searching the available programs is the same as in
16947 `archive-zip-extract' (bug#8968).
16948
16949 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16950
16951 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16952 (menu-bar-options-menu): Tweak descriptions.
16953
16954 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16955
16956 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16957 menu items into verb phrases (bug#1421). Also refill to fit under
16958 80 columns.
16959
16960 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16961
16962 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16963 (Info-read-node-name): Doc fix (Bug#1084).
16964
16965 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16966 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16967 (end-of-sexp, beginning-of-sexp)
16968 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16969 (forward-symbol, forward-same-syntax, word-at-point)
16970 (sentence-at-point): Doc fix (Bug#1144).
16971
16972 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16973
16974 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16975 should cover it (bug#1281).
16976
16977 * cus-edit.el (custom-show): Mark as obsolete.
16978
16979 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16980 negotiation fails, then possibly try again with a non-encrypted
16981 connection (bug#9017).
16982
16983 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16984 be used.
16985
16986 2011-07-07 Richard Stallman <rms@gnu.org>
16987
16988 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16989 property, and handle its changed format.
16990 Look for the correct line number.
16991 Use file's line contents (but not past first =) to find
16992 correct line in message.
16993
16994 2011-07-07 Kenichi Handa <handa@m17n.org>
16995
16996 * international/characters.el (build-unicode-category-table):
16997 Delete it.
16998 (unicode-category-table): Set it by unicode-property-table-internal.
16999
17000 * international/mule-cmds.el (char-code-property-alist): Move to
17001 to src/chartab.c.
17002 (get-char-code-property): Call unicode-property-table-internal to
17003 load a file. Call get-unicode-property-internal where necessary.
17004 (put-char-code-property): Call unicode-property-table-internal to
17005 load a file. Call put-unicode-property-internal where necessary.
17006 put-unicode-property-internal where necessary.
17007 (char-code-property-description):
17008 Call unicode-property-table-internal to load a file.
17009
17010 * international/charprop.el:
17011 * international/uni-bidi.el:
17012 * international/uni-category.el:
17013 * international/uni-combining.el:
17014 * international/uni-comment.el:
17015 * international/uni-decimal.el:
17016 * international/uni-decomposition.el:
17017 * international/uni-digit.el:
17018 * international/uni-lowercase.el:
17019 * international/uni-mirrored.el:
17020 * international/uni-name.el:
17021 * international/uni-numeric.el:
17022 * international/uni-old-name.el:
17023 * international/uni-titlecase.el:
17024 * international/uni-uppercase.el: Regenerate.
17025
17026 * loadup.el: Load international/charprop.el before
17027 international/characters.
17028
17029 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17030
17031 * window.el (next-buffer, previous-buffer): Signal an error if
17032 called from a minibuffer window.
17033
17034 * bindings.el: Revert 2011-07-04 change.
17035
17036 2011-07-06 Richard Stallman <rms@gnu.org>
17037
17038 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17039 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17040 Treat markers like ints.
17041 (rmail-mime-entity): Doc fix.
17042
17043 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17044
17045 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17046 defcustom again for backwards compatibility.
17047
17048 * simple.el (shell-command-on-region): Fill.
17049
17050 * dired-aux.el (dired-kill-line): Add a doc string.
17051
17052 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17053 to "\\sw\\|\\s_" (bug#358).
17054
17055 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17056 (dired-unmark-backward): Ditto.
17057 (dired-flag-backup-files): Ditto.
17058
17059 * dired-x.el (dired-mark-sexp): Ditto.
17060
17061 2011-07-06 Richard Stallman <rms@gnu.org>
17062
17063 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17064 (rmail-mime-entity): New arg TRUNCATED.
17065 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17066 New functions.
17067 (rmail-mime-save): Warn if entity is truncated.
17068 (rmail-mime-toggle-hidden): Likewise, for showing.
17069 (rmail-mime-process-multipart): Record when an entity is truncated.
17070
17071 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17072 if ENTITY is a string.
17073
17074 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17075
17076 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17077 of faces when `M-C-x'-ing their definitions (bug#8378).
17078 Also clean up the code slightly.
17079
17080 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17081 because that makes the colors go away.
17082
17083 * mail/sendmail.el (send-mail-function): Change the default to
17084 `sendmail-query-once'.
17085 (sendmail-query-once): Add an autoload cookie.
17086
17087 * net/network-stream.el (network-stream-open-starttls): Try using
17088 a plain connection even if the server offered STARTTLS, and we
17089 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17090 capability. This should make smtpmail.el work in slightly more
17091 configurations.
17092
17093 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17094
17095 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17096 New defun.
17097 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17098
17099 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17100
17101 * progmodes/sql.el: Version 3.0
17102 (sql-product-alist): Add product :completion-object,
17103 :completion-column, and :statement attributes.
17104 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17105 (sql-mode-syntax-table): Mark all punctuation.
17106 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17107 ansi keywords.
17108 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17109 (sql-mode-oracle-font-lock-keywords): Improve.
17110 (sql-oracle-show-reserved-words): New function for development.
17111 (sql-product-font-lock): Simplify for source code buffers.
17112 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17113 New functions.
17114 (sql-highlight-product): Set product specific syntax table.
17115 (sql-mode-map): Add statement movement functions.
17116 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17117 New variable.
17118 (sql-statement-regexp, sql-beginning-of-statement)
17119 (sql-end-of-statement, sql-signum): New functions.
17120 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17121 (sql-show-sqli-buffer): Bug fix.
17122 (sql-interactive-mode): Store connection data as buffer local.
17123 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17124 with sql-interactive-mode.
17125 (sql-save-connection): Save buffer local settings.
17126 (sql-connection-menu-filter): Change menu entry name.
17127 (sql-product-interactive): Bug fix.
17128 (sql-preoutput-hold): New variable.
17129 (sql-interactive-remove-continuation-prompt): Bug fixes.
17130 (sql-debug-redirect): New variable.
17131 (sql-str-literal): New function.
17132 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17133 Redesign.
17134 (sql-oracle-save-settings, sql-oracle-restore-settings)
17135 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17136 (sql-completion-object, sql-completion-column)
17137 (sql-completion-sqlbuf): New variables.
17138 (sql-build-completions-1, sql-build-completions)
17139 (sql-try-completion): New functions.
17140 (sql-read-table-name): Use them.
17141 (sql-contains-names): New buffer local variable.
17142 (sql-list-all, sql-list-table): Use it.
17143 (sql-oracle-completion-types): New variable.
17144 (sql-oracle-completion-object, sql-sqlite-completion-object)
17145 (sql-postgres-completion-object): New functions.
17146
17147 2011-07-06 Glenn Morris <rgm@gnu.org>
17148
17149 * window.el (pop-to-buffer): Doc fix.
17150
17151 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17152
17153 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17154
17155 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17156
17157 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17158
17159 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17160
17161 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17162
17163 * button.el (button): Inherit from link face. Suggested by Dan
17164 Nicolaescu.
17165
17166 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17167
17168 * progmodes/gdb-mi.el: Fit in 80 columns.
17169 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17170 switch-to-buffer.
17171
17172 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17173 if imenu is simply not configured (bug#8941).
17174
17175 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17176
17177 * allout.el (allout-post-undo-hook): New allout outline-change
17178 event hook to signal undo activity.
17179 (allout-post-command-business): Run allout-post-undo-hook if an
17180 undo just occurred.
17181 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17182 * allout-widgets.el (allout-widgets-after-undo-function):
17183 Ensure the integrity of the current item's decoration after it has been
17184 in the vicinity of an undo.
17185 (allout-widgets-mode): Include allout-widgets-after-undo-function
17186 on the new allout-post-undo-hook.
17187
17188 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17189
17190 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17191 Let define-derived-mode define it.
17192 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17193 cycles of abbrev-table inheritance (bug#8998).
17194
17195 2011-07-05 Roland Winkler <winkler@gnu.org>
17196
17197 * textmodes/bibtex.el: Add support for biblatex.
17198 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17199 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17200 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17201 (bibtex-entry-alist, bibtex-field-alist): New variables.
17202 (bibtex-entry-field-alist): Obsolete alias for
17203 bibtex-BibTeX-entry-alist.
17204 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17205 (bibtex-set-dialect): New command.
17206 (bibtex-entry-type, bibtex-entry-head)
17207 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17208 Bind via bibtex-set-dialect.
17209 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17210 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17211 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17212 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17213 Define via bibtex-set-dialect.
17214 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17215 Obey bibtex-no-opt-remove-re.
17216 (bibtex-vec-push, bibtex-vec-incr): New functions.
17217 (bibtex-format-entry, bibtex-field-list)
17218 (bibtex-print-help-message, bibtex-validate)
17219 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17220
17221 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17222
17223 * progmodes/compile.el (compilation-goto-locus):
17224 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17225 * bs.el (bs-cycle-next, bs-cycle-previous):
17226 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17227 * bindings.el (mode-line-other-buffer):
17228 * autoinsert.el (auto-insert):
17229 * arc-mode.el (archive-extract):
17230 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17231
17232 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17233
17234 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17235 Fix check of `emacs-lock-unlockable-modes'.
17236 Coerce true values of `emacs-lock--try-unlocking' to t.
17237
17238 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17239
17240 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17241 * emacs-lock.el: New file.
17242
17243 2011-07-05 Julien Danjou <julien@danjou.info>
17244
17245 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17246 than `boundp' to check if face is set.
17247
17248 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * register.el (registerv-make):
17251 * window.el (window-min-height): Fix typos in docstrings.
17252
17253 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17254
17255 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17256 Update doc string.
17257
17258 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17259
17260 * server.el (server-execute): Catch quit and call
17261 `server-return-error' to pass the error back to emacsclient and
17262 close the connection (bug#8942).
17263
17264 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17265
17266 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17267 insecure exception for current topic. Also note that auto-saves
17268 are handled differently.
17269
17270 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17271 State variables for tracking auto-save inhibition situation.
17272
17273 (allout-write-contents-hook-handler): Rename from
17274 'allout-write-file-hook-handler', and describe how it depends on
17275 write-contents-functions sensitivity to non-nil value to prevent
17276 file write.
17277
17278 (allout-auto-save-hook-handler): Remove. auto-save does not check
17279 this in individual buffers, only in the starting buffer, so this
17280 is not the right way for us to inhibit auto-save in a buffer
17281 according to its condition.
17282
17283 (allout-mode): Use new allout-write-contents-hook-handler, and
17284 only with write-contents-functions. Remove auto-save provisions -
17285 they're implemented elsewhere.
17286
17287 (allout-before-change-handler): If undo is in progress, note that
17288 for attention of allout-post-command-business.
17289
17290 (allout-post-command-business): If the command we're following was
17291 an undo, check for change in the status of encrypted items and
17292 adjust auto-save inhibitions accordingly.
17293
17294 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17295 according to whether there are or aren't any plain-text topics
17296 pending encryption.
17297
17298 (allout-inhibit-auto-save-info-for-decryption):
17299 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17300 if there are plain-text topics pending encryption.
17301
17302 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17303 buffer-saved-size and some allout state to not inhibit auto-saves
17304 if there are no longer any plain-text topics pending encryption.
17305
17306 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17307 No longer provide for exemption of the current topic.
17308
17309 2011-07-04 Juri Linkov <juri@jurta.org>
17310
17311 Add 7z operations to delete and save changed members (bug#8968).
17312 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17313 New defcustoms.
17314 (archive-7z-write-file-member): New function.
17315 (archive-7z-summarize): Fix the number of dashes in the
17316 listing output.
17317
17318 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17321 (bug#8958).
17322
17323 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17324
17325 * bindings.el: Ignore next-buffer and previous-buffer in
17326 minibuffer-local-map.
17327
17328 * font-lock.el (font-lock-builtin-face): Change light background
17329 color to dark slate blue (Bug#6693).
17330
17331 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17332
17333 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17334
17335 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17338 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17339 Add switch-to-buffer.
17340
17341 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17342
17343 * isearch.el (isearch-search-fun-function): Clarify further the
17344 meaning of the function returned.
17345
17346 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17347
17348 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17349
17350 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17351 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17352 Use it.
17353 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17354 `tramp-default-remote-path' does not exist.
17355 (tramp-send-command-and-read): New optional argument NOERROR.
17356 (tramp-open-connection-setup-interactive-shell)
17357 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17358 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17359 (tramp-process-sentinel): Flush also process' connection property.
17360 (tramp-sh-handle-start-file-process): Do not set process
17361 sentinel. It is done now ...
17362 (tramp-maybe-open-connection): ... here. (Bug#8929)
17363
17364 2011-07-04 MON KEY <monkey@sandpframing.com>
17365
17366 * play/animate.el (animate-string): Doc fixes and allow changing
17367 the buffer name (bug#5417).
17368
17369 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17370
17371 * play/animate.el (animation-buffer-name): Rename from *animate*.
17372
17373 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17374
17375 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17376 This is simpler and helps future-proof the code.
17377 (timer-until): Use time-subtract and float-time.
17378 (timer--time-less-p): Use time-less-p.
17379
17380 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17381
17382 * type-break.el (timep): Use the value of `float-time' to avoid a
17383 byte-compiler warning.
17384
17385 * server.el (server-eval-and-print): Return any result, even nil.
17386
17387 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17388
17389 * type-break.el: Accept time formats that the builtins accept.
17390 (timep, type-break-time-difference): Accept any format that
17391 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17392 This is simpler and helps future-proof the code.
17393 (type-break-time-difference): Round rather than ignoring
17394 subseconds components.
17395
17396 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17397
17398 * info.el (Info-apropos-matches): Make non-interactive, since it
17399 doesn't seem to do anything useful as a command (bug#8829).
17400
17401 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17402
17403 * frame.el (frame-background-mode, frame-set-background-mode):
17404 Move from faces.el.
17405 (frame-default-terminal-background): New function.
17406
17407 * custom.el (custom-push-theme): Don't record faces in `changed'
17408 theme; this doesn't work correctly for per-frame face settings.
17409 (disable-theme): Use face-set-after-frame-default to reset faces.
17410 (custom--frame-color-default): New function.
17411
17412 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17413
17414 * dired.el (dired-flagging-regexp): Remove unused variable
17415 (bug#8769).
17416
17417 2011-03-29 Kevin Ryde <user42@zip.com.au>
17418
17419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17420 `perl-Test2' extend to match possible "fail #N" rep count
17421 (bug#8377).
17422
17423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17424
17425 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17426 `smtpmail-via-smtp' now returns the error instead of nil.
17427
17428 * isearch.el (isearch-search-fun-function): Clarify the doc string
17429 (bug#8101).
17430
17431 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17432
17433 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17434 unnecessary spaces (bug#8987).
17435
17436 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17437
17438 * net/network-stream.el (open-network-stream): Use the
17439 :end-of-capability command thoughout.
17440
17441 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17442
17443 * net/network-stream.el (open-network-stream): Add the
17444 :end-of-capability command parameter, used by pop3.el.
17445
17446 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17447
17448 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17449
17450 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17451 for list)" (bug#6475).
17452
17453 * files.el (file-expand-wildcards): Ignore non-readable
17454 sub-directories while trying to find matches instead of signaling
17455 an error (bug#6297).
17456
17457 * man.el (Man-reference-regexp): Allow matching possible
17458 word-wrapped references (bug#6289).
17459
17460 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17461 for consistency with the other vc buffers (bug#6197).
17462 (vc-checkin): Ditto.
17463
17464 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17465
17466 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17467
17468 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17469
17470 * custom.el (defcustom): Clarify that :set is only used in the
17471 Customize user interface (bug#6089).
17472
17473 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17474 associated with a file, refuse to run instead of erroring out
17475 (bug#6084).
17476
17477 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17478 the doc string, since it appears that using `fill-column' always
17479 controls the width (bug#7845).
17480
17481 * simple.el (shell-command-on-region): Say where the error output
17482 went if `shell-command-default-error-buffer' is set (bug#6857).
17483
17484 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17485
17486 * allout.el (allout-yank-processing): Adjust cursor position for
17487 backwards-deleted space.
17488
17489 (allout-rebullet-heading): Register changes with
17490 allout-exposure-changed-hook, so the modified topic is properly
17491 decorated.
17492
17493 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17494
17495 * minibuffer.el (completion-in-region): Document PREDICATE
17496 (bug#7136).
17497
17498 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17499 of keyword/argument pairs (bug#6904).
17500
17501 * replace.el (multi-occur):
17502 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17503
17504 2011-07-02 Drew Adams <drew.adams@oracle.com>
17505
17506 * dired.el (dired-mark-if): Make the message about whether it's
17507 marking or unmarking clearer (bug#8523).
17508
17509 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17510
17511 * disp-table.el (display-table-print-array): New function.
17512 (describe-display-table): Use it to print the vectors more pretty
17513 (Bug#8859).
17514
17515 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17516
17517 * window.el (window-state-get-1): Don't assign clone numbers.
17518 Add clone-of item to list of window parameters.
17519 (window-state-put-2): Don't process clone numbers.
17520 (display-buffer-alist): Fix doc-string.
17521
17522 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17523
17524 * subr.el (remq): Don't allocate if it's not needed.
17525 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17526 (keymap--merge-bindings): New functions.
17527 (keymap-canonicalize): Use them to refine the canonicalization.
17528 * minibuffer.el (minibuffer-local-completion-map)
17529 (minibuffer-local-must-match-map): Move initialization from C.
17530 (minibuffer-local-filename-completion-map): Move initialization from C;
17531 don't inherit from anything here.
17532 (minibuffer-local-filename-must-match-map): Make obsolete.
17533 (completing-read-default): Use make-composed-keymap to combine
17534 minibuffer-local-filename-completion-map with either
17535 minibuffer-local-must-match-map or
17536 minibuffer-local-filename-completion-map.
17537
17538 2011-07-01 Glenn Morris <rgm@gnu.org>
17539
17540 * type-break.el (type-break-time-sum): Use dolist.
17541
17542 * textmodes/flyspell.el (flyspell-word-search-backward):
17543 Replace CL function.
17544
17545 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17546
17547 * mouse.el (mouse--strip-first-event): New function.
17548 (function-key-map): Use it to map fringe clicks to normal clicks
17549 by default.
17550
17551 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17552 (vc-bzr-revision-completion-table): Add support for annotate and date.
17553
17554 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17555 inherit from parent.
17556
17557 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17558
17559 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17560 (dired-show-file-type): Doc fixup (bug#8818).
17561
17562 * dired.el (dired-mode): Fix up the doc string as suggested by
17563 Drew Adams (bug#8817).
17564
17565 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17566 cookie, since the manual says that it should be possible to add
17567 this function to `find-file-hook' (bug#8709).
17568
17569 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17570
17571 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17572 here. Noted Ted Zlatanov as the maintainer.
17573 (cfengine-common-settings, cfengine-common-syntax): New functions
17574 to set up common things between `cfengine-mode' and
17575 `cfengine3-mode'.
17576 (cfengine3-mode): New mode.
17577 (cfengine3-defuns cfengine3-defuns-regex
17578 (cfengine3-class-selector-regex cfengine3-category-regex)
17579 (cfengine3-vartypes cfengine3-font-lock-keywords)
17580 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17581 (cfengine3-indent-line): Add from cfengine3.el.
17582
17583 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17584
17585 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17586
17587 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17588
17589 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17590
17591 * window.el (same-window-buffer-names, same-window-regexps)
17592 (same-window-p, special-display-frame-alist)
17593 (special-display-popup-frame, special-display-function)
17594 (special-display-buffer-names, special-display-regexps)
17595 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17596 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17597 (split-window-preferred-function, split-height-threshold)
17598 (split-width-threshold, even-window-heights)
17599 (display-buffer-mark-dedicated, window-splittable-p)
17600 (split-window-sensibly, window-safely-shrinkable-p):
17601 Un-obsolete.
17602 (display-buffer): Don't spread args with function specifier
17603 because special-display-popup-frame won't like it.
17604
17605 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17606
17607 Time-stamp simplifications and fixes.
17608 These improve accuracy slightly, and future-proof the code
17609 against some potential changes to current-time format.
17610
17611 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17612 by using time-since and float-time.
17613
17614 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17615 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17616 + NNN microseconds".
17617
17618 * type-break.el (type-break-time-sum): Rewrite using time-add.
17619
17620 * play/hanoi.el (hanoi-current-time-float): Remove.
17621 All uses replaced by float-time.
17622
17623 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17624 This yields a more-accurate answer.
17625 (rng-time-to-float): Remove; no longer needed.
17626
17627 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17628
17629 * calendar/timeclock.el (timeclock-seconds-to-time):
17630 Defalias to seconds-to-time, since they're the same thing.
17631
17632 * emacs-lisp/elp.el (elp-elapsed-time):
17633 * emacs-lisp/benchmark.el (benchmark-elapse):
17634 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17635
17636 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17637
17638 * window.el (bury-buffer): Don't iconify the only frame.
17639 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17640 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17641
17642 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17643
17644 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17645 Add mouse-yank-primary.
17646
17647 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17648
17649 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17650
17651 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17654 (find-library-name): Use it to find relative load names when provided
17655 absolute file name (bug#8803).
17656
17657 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17658
17659 * textmodes/flyspell.el (flyspell-word): Consider words that
17660 differ only in case as potential doublons (bug#5687).
17661
17662 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17663 Remove two rather uninteresting debugging-like messages to make
17664 debbugs.el more silent.
17665
17666 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17667 a password-like phrase.
17668
17669 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17670
17671 * progmodes/cc-guess.el: New file.
17672
17673 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17674
17675 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17676 derived from `c-basic-common-init'.
17677
17678 * progmodes/cc-mode.el (top-level): Require cc-guess.
17679 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17680
17681 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17682
17683 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17684
17685 2011-06-30 Alan Mackenzie <acm@muc.de>
17686
17687 * progmodes/cc-engine.el (c-guess-continued-construct):
17688 Correct the handling of template-args-cont, particularly for when font
17689 lock is disabled. Name this case as "CASE G".
17690
17691 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17692
17693 * allout.el (allout-yank-processing): Fix injection of extra space
17694 between bullet and non-whitespace character in first topic when
17695 pasting, ensuring that the actual spacing in the pasted topic
17696 following the bullet char is preserved. This extra space was
17697 causing pasted encrypted topics to get a decrypted status even
17698 when the content was actually still encrypted. Now the decryption
17699 status from before the paste is preserved.
17700
17701 (allout-flag-region): Set all allout overlays so they evaporate
17702 when reduced to zero length (evanescent), to prevent overlay
17703 leakage.
17704
17705 2011-06-30 Glenn Morris <rgm@gnu.org>
17706
17707 * w32-fns.el (w32-charset-info-alist): Declare.
17708
17709 * find-dired.el (find-grep-options): Simplify.
17710
17711 * term/ns-win.el (ns-set-resource): Declare.
17712
17713 * ses.el (row, col): Declare dynamic variables honestly.
17714
17715 * textmodes/reftex-parse.el (index-tags): Declare.
17716
17717 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17718
17719 * cus-edit.el (customize-push-and-save): New function.
17720
17721 * files.el (hack-local-variables-confirm): Use it.
17722
17723 * custom.el (load-theme): New arg NO-CONFIRM.
17724 Use customize-push-and-save (Bug#8720).
17725 (custom-enabled-themes): Doc fix.
17726
17727 * cus-theme.el (customize-create-theme)
17728 (custom-theme-merge-theme): Callers to load-theme changed.
17729
17730 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17731
17732 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17733 short URLs have at least one dot in them (bug #7614).
17734
17735 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17736 nil, because using a pty is apparently too slow (bug #895).
17737
17738 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17739
17740 * mail/sendmail.el (sendmail-query-once): New function.
17741 (sendmail-query-once-function): New variable.
17742
17743 2011-06-29 Glenn Morris <rgm@gnu.org>
17744
17745 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17746
17747 * ses.el (top-level): Require cl when compiling.
17748 (ses-set-localvars): Fix error statement.
17749 Call it at compile time to silence a storm of warnings.
17750
17751 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17752
17753 * window.el (normalize-live-buffer): Rename to
17754 window-normalize-buffer.
17755 (normalize-live-frame): Rename to window-normalize-frame.
17756 (normalize-any-window): Rename to window-normalize-any-window.
17757 (normalize-live-window): Rename to window-normalize-live-window.
17758 (make-window-atom): Rename to window-make-atom.
17759 (window-resize-reset): Rename to window--resize-reset.
17760 (window-resize-reset-1): Rename to window--resize-reset-1.
17761 (resize-mini-window): Rename to window--resize-mini-window.
17762 (resize-subwindows-skip-p): Rename to
17763 window--resize-subwindows-skip-p.
17764 (resize-subwindows-normal): Rename to
17765 window--resize-subwindows-normal.
17766 (resize-subwindows): Rename to window--resize-subwindows.
17767 (resize-other-windows): Rename to window--resize-siblings.
17768 (resize-this-window): Rename to window--resize-this-window.
17769 (resize-root-window): Rename to window--resize-root-window.
17770 (resize-root-window-vertically): Rename to
17771 window--resize-root-window-vertically.
17772 (normalize-buffer-to-display): Rename to
17773 window-normalize-buffer-to-display.
17774 (normalize-buffer-to-switch-to): Rename to
17775 window-normalize-buffer-to-switch-to.
17776 Correspondingly update all callers of the functions listed
17777 above.
17778 (display-buffer-alist, display-buffer-normalize-arguments)
17779 (display-buffer-normalize-options, display-buffer)
17780 (display-buffer-alist-set): Use "function" instead of
17781 "fun-with-args".
17782
17783 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17784
17785 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17786 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17787 debbugs.gnu.org. Mention acknowledgment email.
17788
17789 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17790
17791 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17792 buffer multibyteness, since it shouldn't matter.
17793
17794 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17795
17796 * window.el (display-buffer-in-side-window): Handle dedicated
17797 windows as in display-buffer-reuse-window.
17798 (display-buffer-normalize-alist): Use value of override
17799 specifier.
17800 (display-buffer-normalize-specifiers): Use value of
17801 other-window-means-other-frame specifier.
17802 (display-buffer-alist): Rewrite some texts in widgets.
17803 (display-buffer): Spread arguments when calling function
17804 specified by fun-with-args.
17805
17806 2011-06-28 Deniz Dogan <deniz@dogan.se>
17807
17808 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17809 Unnest `let'.
17810
17811 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17812 selectors (Bug#5732).
17813 (css-proprietary-nmstart-re): Use `regexp-opt'.
17814
17815 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17816
17817 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17818 (eshell-ls-date-format): New defcustom.
17819 (eshell-ls-file): Use it.
17820
17821 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17822
17823 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17824
17825 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17826
17827 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17828 (ange-ftp-make-tmp-name): New arg.
17829 (ange-ftp-file-local-copy): Use it.
17830
17831 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17832
17833 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17834 no-conversion (Bug#8870).
17835
17836 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17837
17838 * window.el (window-right, window-left, window-child)
17839 (window-child-count, window-last-child)
17840 (window-iso-combination-p, walk-window-tree-1)
17841 (window-atom-check-1, window-tree-1, delete-window)
17842 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17843 new naming conventions - window-vchild, window-hchild,
17844 window-next and window-prev are now called window-top-child,
17845 window-left-child, window-next-sibling and window-prev-sibling
17846 respectively.
17847 (resize-window-reset): Rename to window-resize-reset.
17848 (resize-window-reset-1): Rename to window-resize-reset-1.
17849 (resize-window): Rename to window-resize.
17850 (window-min-height, window-min-width)
17851 (resize-mini-window, resize-this-window, resize-root-window)
17852 (resize-root-window-vertically, adjust-window-trailing-edge)
17853 (enlarge-window, shrink-window, maximize-window)
17854 (minimize-window, delete-window, quit-restore-window)
17855 (split-window, balance-windows, balance-windows-area-adjust)
17856 (balance-windows-area, window-state-put-2)
17857 (display-buffer-even-window-sizes, display-buffer-set-height)
17858 (display-buffer-set-width, set-window-text-height)
17859 (fit-window-to-buffer): Rename all "resize-window" prefixed
17860 calls to use the "window-resize" prefix convention.
17861 (display-buffer-alist): Fix symbol for label specifier.
17862 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17863 corresponding specifier.
17864 Reported by Juanma Barranquero <lekktu@gmail.com>.
17865
17866 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17867
17868 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17869 convention.
17870 (ses-call-printer): Does not pass an empty string to formatter when the
17871 cell is empty to keep from barking printer Calc math-format-value.
17872
17873 2011-06-27 Richard Stallman <rms@gnu.org>
17874
17875 * battery.el (battery-mode-line-limit): New variable.
17876 (battery-update): Handle it.
17877
17878 * mail/rmailmm.el (rmail-mime-process-multipart):
17879 Handle truncated messages.
17880
17881 2011-06-27 Glenn Morris <rgm@gnu.org>
17882
17883 * progmodes/flymake.el (flymake-err-line-patterns):
17884 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17885
17886 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17887
17888 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17889 (ses--clean-!, ses--clean-_): New functions.
17890 (ses-range): Add configurability of readout order, and conversion
17891 to Calc vector.
17892
17893 * ses.el (ses-repair-cell-reference-all): New function.
17894 (ses-cell-symbol): Set macro as safe, so that it can be used in
17895 formulas.
17896
17897 * ses.el: Update cycle detection algorithm.
17898 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17899 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17900 (ses-set-localvars): New function.
17901 (ses-make-cell): Add property-list as a cell element.
17902 (ses-cell-property-get-fun, ses-cell-property-get)
17903 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17904 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17905 New functions.
17906 (ses-cell-property-set, ses-cell-property-pop)
17907 (ses-cell-property-get-handle): New macro.
17908 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17909 New aliases, used for code readability.
17910 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17911 cycle detection.
17912 (ses-self-reference-early-detection): New defcustom.
17913 (ses-formula-references): Robustify against self-referring cells.
17914 (ses-mode): Use ses-set-localvars.
17915 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17916 before lauching the update processing.
17917 (ses-initialize-Dijkstra-attempt): New function.
17918 (ses-recalculate-cell): Update for cycle detection based on
17919 Dijkstra algorithm.
17920
17921 * ses.el: Fix commenting and indenting convention.
17922
17923 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17924
17925 * bs.el (bs-cycle-next): Complete last change.
17926
17927 2011-06-27 Drew Adams <drew.adams@oracle.com>
17928
17929 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17930
17931 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17932
17933 * net/network-stream.el (network-stream-open-starttls):
17934 Don't re-get capabilities unless we've reestablished connection.
17935 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17936
17937 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17938 to binary to possibly avoid line encoding issues on Windows (among
17939 other things).
17940
17941 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17942
17943 * net/network-stream.el (open-network-stream): Return an :error
17944 saying what the problem was, if possible.
17945
17946 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17947 server.
17948
17949 * net/network-stream.el (network-stream-open-starttls): If we
17950 wanted to use STARTTLS, and the server offered it, but we weren't
17951 able to because we had no STARTTLS support, then close the connection.
17952 (open-network-stream): Return an :error element, if present.
17953
17954 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17955
17956 * hl-line.el (hl-line-sticky-flag): Doc fix.
17957 (global-hl-line-sticky-flag): New option (Bug#8323).
17958 (global-hl-line-highlight): Obey it.
17959
17960 * vc/vc.el (vc-revert-show-diff): Default to t.
17961
17962 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17963
17964 * allout-widgets.el (allout-widgets-post-command-business):
17965 Stop decorating intermediate isearch matches. They're not being
17966 undecorated when an isearch is continued past, and isearch
17967 automatically collapses them. This leads to "widget leaks", where
17968 decorated items accumulate in collapsed areas. Lines with lots of
17969 hidden widgets can slow down cursor travel, substantially.
17970 Too much complicated machinery would be needed to ensure undecoration,
17971 so we're doing without this nicety.
17972
17973 (allout-widgets-tally-string): Don't try to do a hash-table-count
17974 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17975 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17976 *Messages* when allout-widgets-maintain-tally is t.
17977
17978 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17979
17980 * window.el (display-buffer-normalize-argument): Rename to
17981 display-buffer-normalize-arguments. Handle special meaning of
17982 LABEL argument. Respect special-display-function when popping up
17983 a new frame. Fix code searching for a window showing the buffer
17984 on another frame.
17985 (display-buffer-normalize-specifiers):
17986 Call display-buffer-normalize-arguments.
17987 (display-buffer-in-window): Don't undedicate the window if its
17988 buffer remains the same.
17989 Reported by Drew Adams <drew.adams@oracle.com>.
17990 (display-buffer-alist): Add choice for same-window macro
17991 specfier.
17992 (display-buffer): Mention special meaning of LABEL argument in
17993 doc-string. Fix quoting. Don't pop up a new frame even as
17994 fallback.
17995
17996 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17997
17998 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17999 avoid deleting the current window in some cases (bug#8911).
18000
18001 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18002
18003 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18004 (Bug#8934)
18005
18006 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18007
18008 * net/network-stream.el (network-stream-open-starttls):
18009 Use built-in TLS support if `gnutls-available-p' is true.
18010 (network-stream-open-tls): Ditto.
18011
18012 2011-06-26 Leo Liu <sdl.web@gmail.com>
18013
18014 * register.el (registerv): New struct.
18015 (registerv-make): New function.
18016 (jump-to-register, describe-register-1, insert-register):
18017 Support the jump-func, print-func and insert-func slot of a registerv
18018 struct. (Bug#8415)
18019
18020 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18021
18022 * vc/vc.el (vc-revert-show-diff): New defcustom.
18023 (vc-diff-internal): New arg specifying diff buffer.
18024 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18025 reuse an existing *vc-diff* buffer (Bug#8927).
18026
18027 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18028
18029 2011-06-26 Glenn Morris <rgm@gnu.org>
18030
18031 * progmodes/f90.el (f90-critical-indent): New option.
18032 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18033 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18034 (f90-mode): Doc fix.
18035 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18036 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18037 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18038 (f90-match-end): Handle block, critical.
18039
18040 2011-06-25 Glenn Morris <rgm@gnu.org>
18041
18042 * calendar/diary-lib.el (diary-included-files): Doc fix.
18043 (diary-include-files): New function, extracted from
18044 diary-include-other-diary-files and diary-mark-included-diary-files.
18045 (diary-include-other-diary-files, diary-mark-included-diary-files):
18046 Just call diary-include-files.
18047 (diary-mark-entries): Reset diary-included-files on first call.
18048
18049 * calendar/diary-lib.el (diary-mark-entries)
18050 (diary-mark-included-diary-files):
18051 Visit included diary-files in temp buffers.
18052
18053 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18054 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18055 (f90-start-block-re, f90-imenu-generic-expression)
18056 (f90-looking-at-program-block-start, f90-no-block-limit):
18057 Add support for submodules.
18058
18059 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18060 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18061
18062 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18063
18064 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18065 buffer-file-type before setting its value, to avoid disastrous
18066 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18067
18068 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18069
18070 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18071
18072 * ses.el (ses-unload-function):
18073 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18074
18075 * proced.el (proced-unload-function):
18076 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18077
18078 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18079
18080 * server.el (server-create-window-system-frame): Add parameters arg.
18081 (server-process-filter): Doc fix. Handle frame-parameters.
18082
18083 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18084
18085 Fix bug#8730, bug#8781.
18086
18087 * loadhist.el (unload--set-major-mode): New function.
18088 (unload-feature): Use it.
18089
18090 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18091 (python-unload-function): New function.
18092
18093 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18094
18095 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18096
18097 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18098
18099 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18100 the candidates list.
18101
18102 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18103
18104 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18105
18106 2011-06-23 Richard Stallman <rms@gnu.org>
18107
18108 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18109 (rmail-variables): Set next-error-move-function.
18110 (rmail-what-message): Take argument POS.
18111 (rmail-next-error-move): New function.
18112
18113 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18116 messages for adjacent non-terminals.
18117
18118 2011-06-23 Richard Stallman <rms@gnu.org>
18119
18120 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18121 (rmail-show-message-1): Preserve buffer modified flag.
18122 (rmail-start-mail): Don't specify use of rmail-mail-return;
18123 that's done by mail-bury now.
18124 (rmail-mail-return): Handle arg NEWBUF.
18125
18126 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18127
18128 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18129 SIZE is a number.
18130
18131 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18132
18133 * window.el (get-lru-window, get-mru-window)
18134 (get-largest-window): Never return a minibuffer window.
18135 (display-buffer-pop-up-window): Fix a bug that could lead to
18136 reusing the minibuffer window.
18137 (display-buffer): Pass original specifier argument to
18138 display-buffer-function instead of the normalized one.
18139 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18140
18141 2011-06-22 Leo Liu <sdl.web@gmail.com>
18142
18143 * minibuffer.el (completing-read-function)
18144 (completing-read-default): Move from minibuf.c.
18145
18146 2011-06-22 Richard Stallman <rms@gnu.org>
18147
18148 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18149 to Rmail even if not started by a special Rmail command.
18150
18151 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18152 Copy the buffer currently showing just one message.
18153
18154 2011-06-22 Roland Winkler <winkler@gnu.org>
18155
18156 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18157 (bibtex-clean-entry): First delete the old key so that a
18158 customized algorithm for generating the new key does not get
18159 confused by the old key.
18160 (bibtex-url): Obey regexp of first step.
18161 (bibtex-search-entries): Do not use add-to-list with local
18162 list-var.
18163
18164 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18165
18166 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18167 stored a user name, then query for the password first, instead of
18168 waiting for SMTP to give an error message and the trying again.
18169
18170 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18171
18172 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18173 BUFFER in call-process.
18174
18175 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18176
18177 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18178 QUIT twice.
18179 (smtpmail-try-auth-methods): Require user name and password from
18180 auth-source.
18181
18182 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18183
18184 * window.el (display-buffer-default-specifiers)
18185 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18186 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18187 (split-window): Normalize SIDE argument (Bug#8916).
18188
18189 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18190 (special-display-frame-alist, special-display-popup-frame):
18191 Remove duplicate declarations. These are now in window.el.
18192
18193 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18194
18195 * mail/smtpmail.el (smtpmail-via-smtp):
18196 Set :use-starttls-if-possible so that we always use STARTTLS if the
18197 server supports it. SMTP servers that support STARTTLS commonly
18198 require it.
18199
18200 * net/network-stream.el (network-stream-open-starttls): Support
18201 upgrading to STARTTLS always, even if we don't have built-in support.
18202 (open-network-stream): Add the :always-query-capabilities keyword.
18203
18204 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18205 upgrades with `open-network-stream', and rely solely on
18206 auth-source for all credentials. Big changes throughout the file,
18207 but in particular:
18208 (smtpmail-auth-credentials): Remove.
18209 (smtpmail-starttls-credentials): Remove.
18210 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18211 MAIL FROM, too.
18212
18213 * net/network-stream.el (network-stream-open-starttls):
18214 Provide support for client certificates both for external and built-in
18215 STARTTLS.
18216 (auth-source): Require.
18217 (open-network-stream): Document the :client-certificate keyword.
18218 (network-stream-certificate): Change cert-cert to cert and
18219 cert-key to key.
18220
18221 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18222
18223 * net/tramp-cache.el (top): Don't load the persistency file when
18224 "emacs -Q" has been called.
18225
18226 2011-06-21 Tim Harper <timcharper@gmail.com>
18227
18228 * term/ns-win.el (ns-initialize-window-system):
18229 Set application-specific `ApplePressAndHoldEnabled' system
18230 resource to NO as it is not yet supported by the NS port.
18231
18232 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18233
18234 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18235 (list-dynamic-libraries): ...not here.
18236
18237 2011-06-21 Leo Liu <sdl.web@gmail.com>
18238
18239 * subr.el (sha1): Implement sha1 using secure-hash.
18240
18241 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18242
18243 * window.el (display-buffer-alist): In default value do not
18244 enforce searching a window on any but the selected frame.
18245 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18246 (display-buffer-select-window): Remove function.
18247 (display-buffer-in-window): When a window on another frame gets
18248 reused, do not select it any more but just raise its frame if
18249 necessary (Bug#8851) and (Bug#8856).
18250 (display-buffer-normalize-options): Handle pop-up-frames related
18251 options more faithfully.
18252 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18253 window if it is on another frame.
18254 (display-buffer-alist, display-buffer-default-specifiers):
18255 Don't make new frame unsplittable by default.
18256 (display-buffer-normalize-argument): Fix doc-string typo and use
18257 'same-frame-other-window instead of 'other-window when associating
18258 with display-buffer-macro-specifiers.
18259
18260 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18261
18262 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18263 New functions.
18264 (5x5-mode-map, 5x5-mode-menu): Bind them.
18265 (5x5-draw-grid): Tweak the solver's rendering.
18266
18267 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18268
18269 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18270 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18271
18272 2011-06-21 Drew Adams <drew.adams@oracle.com>
18273
18274 * menu-bar.el: Use function variable instead of switch-to-buffer.
18275 (menu-bar-select-buffer-function): New variable.
18276 (menu-bar-update-buffers): Use it (bug#8876).
18277
18278 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18279
18280 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18281 variable's status.
18282
18283 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18284
18285 * x-dnd.el (x-dnd-version-from-flags)
18286 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18287 and long as number (Bug#8899).
18288 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18289
18290 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18291
18292 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18293 (completion-try-completion, completion-all-completions): Compute the
18294 metadata argument if it's missing; make it optional (bug#8795).
18295
18296 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18297 (widget-complete): Use new :completion-function property.
18298 (widget-completions-at-point): New function.
18299 (default): Use :completion-function instead of :complete.
18300 (widget-default-completions): Rename from widget-default-complete;
18301 Rewrite.
18302 (widget-string-complete, widget-file-complete, widget-color-complete):
18303 Remove functions.
18304 (file, symbol, function, variable, coding-system, color):
18305 * international/mule-cmds.el (default-input-method, charset)
18306 (language-info-custom-alist):
18307 * cus-edit.el (face): Use new property :completions.
18308
18309 * progmodes/pascal.el (pascal-completions-at-point): New function.
18310 (pascal-mode): Use it.
18311 (pascal-mode-map): Use completion-at-point.
18312 (pascal-toggle-completions): Make obsolete.
18313 (pascal-complete-word, pascal-show-completions):
18314 * progmodes/octave-mod.el (octave-complete-symbol):
18315 Redefine as obsolete alias.
18316 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18317 Signal absence of completion info for old Octave,
18318 (inferior-octave-complete): Redefine as obsolete alias.
18319 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18320 (meta-completions-at-point): Rename from meta-complete-symbol and
18321 adapt it for use on completion-at-point-functions.
18322 (meta-common-mode): Use it.
18323 (meta-looking-at-backward, meta-match-buffer): Remove.
18324 (meta-complete-symbol): Redefine as obsolete alias.
18325 (meta-common-mode-map): Use completion-at-point.
18326 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18327 (makefile-mode-map): Use completion-at-point.
18328 (makefile-completions-at-point): Rename from makefile-complete and
18329 adapt it for use on completion-at-point-functions.
18330 (makefile-mode): Use it.
18331 (makefile-complete): Redefine as obsolete alias.
18332
18333 2011-06-20 Deniz Dogan <deniz@dogan.se>
18334
18335 * net/rcirc.el: Delete trailing whitespaces once and for all.
18336
18337 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18338
18339 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18340
18341 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18342
18343 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18344
18345 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18346
18347 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18348
18349 * window.el (display-buffer-other-window-means-other-frame):
18350 Call display-buffer-normalize-alist.
18351 (display-buffer-normalize-specifiers-1): Rename to
18352 display-buffer-normalize-argument. New argument other-frame.
18353 Rewrite.
18354 (display-buffer-normalize-specifiers-2): Rename to
18355 display-buffer-normalize-options.
18356 (display-buffer-normalize-alist-1): New function.
18357 (display-buffer-normalize-specifiers-3): Rename to
18358 display-buffer-normalize-alist.
18359 Call display-buffer-normalize-alist-1.
18360 (display-buffer-normalize-options-inhibit): New variable.
18361 (display-buffer-normalize-specifiers): Rewrite calling
18362 display-buffer-normalize-alist,
18363 display-buffer-normalize-argument, and
18364 display-buffer-normalize-options. Don't call the latter if
18365 display-buffer-normalize-options-inhibit is non-nil.
18366 (frame-auto-delete): New option.
18367 (window-deletable-p): Use frame-auto-delete.
18368 (window-list-no-nils, window-state-ignored-parameters)
18369 (window-state-get-1, window-state-get, window-state-put-list)
18370 (window-state-put-1, window-state-put-2, window-state-put):
18371 New functions.
18372 (display-buffer-normalize-options): Move special-display-p group
18373 after pop-up-frame group (Bug#8851) and (Bug#8856).
18374
18375 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18378 groups (Bug#8776).
18379 (rx-submatch-n): New function.
18380 (rx): Document it.
18381
18382 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18383 (Bug#8768).
18384
18385 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18386
18387 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18388
18389 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18390 anytime existing face settings are present (Bug#8889).
18391
18392 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18393 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18394 Remove unused argument.
18395
18396 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18397
18398 * window.el (display-buffer-default-specifiers):
18399 Remove pop-up-frame. Add pop-up-window-min-height,
18400 pop-up-window-min-width, and another reuse-window specifier
18401 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18402 (display-buffer-normalize-specifiers-2):
18403 Handle split-height-threshold and split-width-threshold also when
18404 pop-up-windows is unset. Add a reuse-window specifier for the
18405 case popping up a new window fails.
18406 (special-display-popup-frame): Remove double quoting.
18407 (display-buffer-normalize-specifiers-1): Fix thinko.
18408
18409 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18412 according to comint-completion-addsuffix.
18413
18414 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18415 (pcomplete-suffix-list): Mark as obsolete.
18416 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18417 pcomplete-seen in the closure.
18418 (pcomplete-comint-setup): Setup completion-at-point as well.
18419 (pcomplete--entries): New function.
18420 (pcomplete--env-regexp): New var.
18421 (pcomplete-entries): Rewrite to work with partial-completion and
18422 without relying on pcomplete-suffix-list.
18423 (pcomplete-pare-list): Remove, unused.
18424
18425 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18426
18427 * window.el (display-buffer-alist): Set pop-up-window-min-height
18428 and pop-up-window-min-width in default value. Reported by
18429 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18430 other-window-means-other-frame.
18431 (display-buffer-macro-specifiers): Comment out entry for
18432 other-window specifier.
18433 (display-buffer-other-window-means-other-frame): New function.
18434 (display-buffer-normalize-specifiers-1): New arguments
18435 buffer-name and label. Treat other-window case specially.
18436 (display-buffer-normalize-specifiers-2): Treat other-window case
18437 specially.
18438 (display-buffer-normalize-specifiers-3): New function.
18439 (display-buffer-normalize-specifiers):
18440 Call display-buffer-normalize-specifiers-3.
18441
18442 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18443
18444 * window.el (same-window-p): Fix two typos introduced when
18445 adding with-no-warnings.
18446 (display-buffer-normalize-specifiers-1): Don't check
18447 pop-up-frames for 'unset initialization.
18448 (display-buffer-normalize-specifiers-2): Major rewrite using
18449 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18450 (pop-up-frames, display-buffer-reuse-frames)
18451 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18452 Suggested by David Engster <deng@randomsample.de>.
18453 (even-window-heights): Initialize to 'unset.
18454 (display-buffer-alist-set): Handle new 'unset initializations.
18455 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18456 other window case.
18457
18458 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18459
18460 * window.el (display-buffer-normalize-specifiers-1):
18461 Respect current value of pop-up-frames for most reasonable values of
18462 second argument of display-buffer (Bug#8865).
18463 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18464 (switch-to-buffer-other-window-same-frame)
18465 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18466 Adams (Bug#8875).
18467 (display-buffer): Don't check noninteractive when calling
18468 display-buffer-pop-up-frame.
18469 (display-buffer-pop-up-frame): Never pop up a frame in
18470 noninteractive mode (Bug#8857).
18471 (enlarge-window, shrink-window): Don't report an error when the
18472 window can't be resized as requested (Bug#8862).
18473
18474 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18475
18476 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18477
18478 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18479
18480 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18481
18482 2011-06-15 Alan Mackenzie <acm@muc.de>
18483
18484 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18485 for declarators, disable knr checking to speed up for normal files.
18486 2: Refactor, replacing a sequence of nested if forms by a cond form.
18487
18488 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18489
18490 * net/network-stream.el (open-network-stream): Add the keyword
18491 :always-query-capabilities for the case where you want to force a
18492 `plain' network connection, but the protocol still requires the
18493 capabilitiy command (i.e., SMTP and EHLO).
18494
18495 * subr.el (process-live-p): Rename from `process-alive-p' for
18496 consistency with other `-live-p' functions.
18497
18498 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18499
18500 * window.el (same-window-buffer-names, same-window-regexps)
18501 (special-display-frame-alist, special-display-popup-frame)
18502 (special-display-function, special-display-buffer-names)
18503 (special-display-regexps, pop-up-frame-alist)
18504 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18505 (pop-up-windows, split-window-preferred-function)
18506 (split-height-threshold, split-width-threshold, even-window-heights)
18507 (display-buffer-mark-dedicated): Don't encourage the use of
18508 display-buffer-alist from Elisp code.
18509
18510 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18511
18512 * progmodes/python.el (python-mode): Derive from prog-mode.
18513 * progmodes/ps-mode.el (ps-mode):
18514 * progmodes/mixal-mode.el (mixal-mode):
18515 * progmodes/cfengine.el (cfengine-mode):
18516 * progmodes/ld-script.el (ld-script-mode): Likewise.
18517
18518 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18519
18520 * window.el (display-buffer-alist): Trim default value to avoid
18521 popping up a new frame (Bug#8857) or reusing an arbitrary window
18522 on another frame.
18523 (display-buffer): Do not fall back on popping up a new frame in
18524 batch mode (Bug#8857).
18525
18526 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18527
18528 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18529 (custom-theme-summary): New function.
18530 (customize-themes): Use it.
18531
18532 2011-06-13 Glenn Morris <rgm@gnu.org>
18533
18534 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18535
18536 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18537
18538 * help.el (help-window): Remove variable.
18539 (help-window-point-marker, temp-buffer-max-height)
18540 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18541 (help-print-return-message): Don't set help-window.
18542 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18543 (help-window-setup-finish): Remove.
18544 (help-window-display-message, help-window-setup)
18545 (with-help-window): Major rewrite based on new
18546 display-buffer-window variable.
18547
18548 * help-mode.el (help-mode-finish): Remove help-window related
18549 code.
18550
18551 * view.el (view-exits-all-viewing-windows): Remove reference to
18552 view-return-to-alist in doc-string.
18553 (view-return-to-alist): Make obsolete.
18554 (view-buffer): Call pop-to-buffer-same-window and remove
18555 undo-window code.
18556 (view-buffer-other-window): Call pop-to-buffer-other-window and
18557 simplify code. Ignore second argument.
18558 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18559 simplify code. Ignore second argument.
18560 (view-return-to-alist-update): Make obsolete.
18561 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18562 Rewrite using quit-restore window parameters.
18563 (view-mode-exit): Rename second argument to EXIT-ONLY.
18564 Rewrite using quit-restore-window.
18565 (View-exit, View-exit-and-edit, View-leave, View-quit)
18566 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18567 appropriate arguments.
18568 (view-end-message): Use quit-restore window parameter.
18569
18570 * window.el (display-buffer-function): Rewrite doc-string.
18571 (display-buffer-window, display-buffer-alist): New variables.
18572 (display-buffer-split-specifiers)
18573 (display-buffer-side-specifiers)
18574 (display-buffer-macro-specifiers): New constants.
18575 (display-buffer-even-window-sizes, display-buffer-set-height)
18576 (display-buffer-set-width, display-buffer-select-window)
18577 (display-buffer-in-window, display-buffer-reuse-window)
18578 (display-buffer-split-window-1, display-buffer-split-window)
18579 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18580 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18581 (display-buffer-in-side-window, normalize-buffer-to-display)
18582 (display-buffer-normalize-specifiers-1)
18583 (display-buffer-normalize-specifiers-2)
18584 (display-buffer-normalize-specifiers, display-buffer-frame):
18585 New functions.
18586 (display-buffer): Major rewrite.
18587 (display-buffer-other-window, display-buffer-other-frame)
18588 (pop-to-buffer, switch-to-buffer-other-window)
18589 (switch-to-buffer-other-frame): Rewrite.
18590 (display-buffer-same-window, display-buffer-same-frame)
18591 (display-buffer-same-frame-other-window)
18592 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18593 (pop-to-buffer-other-window)
18594 (pop-to-buffer-same-frame-other-window)
18595 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18596 (switch-to-buffer-other-window-same-frame): New functions.
18597 (same-window-p, special-display-p): Rewrite disabling warnings.
18598 Make obsolete.
18599 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18600 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18601 Make obsolete
18602 (same-window-buffer-names, same-window-regexps)
18603 (special-display-frame-alist, special-display-popup-frame)
18604 (special-display-function, special-display-buffer-names)
18605 (special-display-regexps, pop-up-frame-alist)
18606 (pop-up-frame-function, split-window-preferred-function)
18607 (split-height-threshold, split-width-threshold)
18608 (even-window-heights): Make obsolete.
18609
18610 2011-06-12 Glenn Morris <rgm@gnu.org>
18611
18612 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18613 Misc simplifications.
18614
18615 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18616
18617 * window.el (window-safely-shrinkable-p): Restore function which
18618 was inadvertently removed in change from 2011-06-11. Declare as
18619 obsolete.
18620
18621 * calendar/calendar.el (calendar-generate-window):
18622 Use window-iso-combined-p instead of combination of one-window-p and
18623 window-safely-shrinkable-p.
18624
18625 2011-06-12 Glenn Morris <rgm@gnu.org>
18626
18627 * progmodes/fortran.el (fortran-mode-syntax-table):
18628 * progmodes/f90.el (f90-mode-syntax-table):
18629 Set % to punctuation. (Bug#8820)
18630 (f90-find-tag-default): Remove, no longer needed.
18631
18632 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18633
18634 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18635
18636 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18637
18638 * image.el (image-animated-p): Return animation delay in seconds.
18639 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18640 (image-animate-timeout): Remove DELAY argument. Don't assume
18641 every subimage has the same delay; get it from image-animated-p.
18642 (image-animate): Caller changed.
18643
18644 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18645
18646 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18647 to ignored backtrace functions.
18648
18649 2011-06-11 Glenn Morris <rgm@gnu.org>
18650
18651 * calendar/appt.el (appt-disp-window-function): Doc fix.
18652 (appt-check): Handle overlapping appointments. (Bug#8337)
18653
18654 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18655
18656 * window.el (window-tree-1, window-tree): New functions, moving
18657 the latter to window.el.
18658 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18659 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18660 (bw-refresh-edges): Remove.
18661 (balance-windows-1, balance-windows-2): New functions.
18662 (balance-windows): Rewrite in terms of window tree functions,
18663 balance-windows-1 and balance-windows-2.
18664 (bw-adjust-window): Remove.
18665 (balance-windows-area-adjust): New function with functionality of
18666 bw-adjust-window but using resize-window.
18667 (set-window-text-height): Rewrite doc-string.
18668 Use normalize-live-window and resize-window.
18669 (enlarge-window-horizontally, shrink-window-horizontally):
18670 Rename argument to DELTA.
18671 (window-buffer-height): New function.
18672 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18673 Rewrite using new window resize routines.
18674 (kill-buffer-and-window, mouse-autoselect-window-select):
18675 Use ignore-errors instead of condition-case.
18676 (quit-window): Call delete-frame instead of delete-windows-on
18677 for the only buffer on frame.
18678
18679 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18680
18681 * loadup.el (top-level): Load window before files for the sake
18682 of replace-buffer-in-windows.
18683
18684 * files.el (read-buffer-to-switch)
18685 (switch-to-buffer-other-window)
18686 (switch-to-buffer-other-frame, display-buffer-other-frame):
18687 Move to window.el.
18688
18689 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18690 (previous-buffer): Move to window.el.
18691
18692 * bindings.el (unbury-buffer): Move to window.el.
18693
18694 * window.el (delete-other-windows-vertically): Move after
18695 definition of delete-other-windows.
18696 (other-window, delete-windows-on, replace-buffer-in-windows):
18697 Move here from window.c.
18698 (record-window-buffer, unrecord-window-buffer)
18699 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18700 (switch-to-next-buffer): New functions.
18701 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18702 from simple.el. Call switch-to-next-buffer.
18703 (previous-buffer): Move here from simple.el.
18704 Call switch-to-prev-buffer.
18705 (bury-buffer): Move here from buffer.c. Switch to previous
18706 buffer when window cannot be deleted.
18707 (unbury-buffer): Move here from bindings.el.
18708 (ctl-x-map): Move binding for other-window from window.c to
18709 here.
18710 (read-buffer-to-switch, switch-to-buffer-other-window)
18711 (switch-to-buffer-other-frame): Move here from files.el.
18712 (normalize-buffer-to-switch-to): New functions.
18713 (switch-to-buffer): Move here from buffer.c.
18714 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18715
18716 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18717
18718 * window.el (window-min-height, window-min-width): Move here
18719 from window.c. Add defcustoms and rewrite doc-strings.
18720 (resize-mini-window, resize-window): New functions.
18721 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18722 Move here from window.c.
18723 (maximize-window, minimize-window): New functions.
18724 (delete-window, delete-other-windows, split-window): Move here
18725 from window.c.
18726 (window-split-min-size): New function.
18727 (split-window-keep-point): Mention split-window-above-each-other
18728 instead of split-window-vertically.
18729 (split-window-above-each-other, split-window-vertically):
18730 Rename split-window-vertically to split-window-above-each-other
18731 and provide defalias for old definition.
18732 (split-window-side-by-side, split-window-horizontally):
18733 Rename split-window-horizontally to split-window-side-by-side
18734 and provide defalias for the old definition.
18735 (ctl-x-map): Move bindings for delete-window,
18736 delete-other-windows and enlarge-window here from window.c.
18737 Replace bindings for split-window-vertically and
18738 split-window-horizontally by bindings for
18739 split-window-above-each-other and split-window-side-by-side.
18740
18741 * cus-start.el (all): Remove entries for window-min-height and
18742 window-min-width. Add entries for window-splits and
18743 window-nest.
18744
18745 2011-06-09 Glenn Morris <rgm@gnu.org>
18746
18747 * calendar/appt.el (appt-mode-line): New function.
18748 (appt-check, appt-disp-window): Use it.
18749
18750 * files.el (hack-one-local-variable-eval-safep):
18751 Allow minor-modes with explicit +/-1 arguments.
18752
18753 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18754
18755 * term/xterm.el (xterm): Add defgroup.
18756 (xterm-extra-capabilities): Add defcustom to supply known xterm
18757 capabilities, skip querying them, or query them (default).
18758 (terminal-init-xterm): Use it.
18759 (terminal-init-xterm-modify-other-keys): New function to set up
18760 modifyOtherKeys support to simplify `terminal-init-xterm'.
18761
18762 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18763
18764 * window.el (resize-window-reset, resize-window-reset-1)
18765 (resize-subwindows-skip-p, resize-subwindows-normal)
18766 (resize-subwindows, resize-other-windows, resize-this-window)
18767 (resize-root-window, resize-root-window-vertically)
18768 (window-deletable-p, window-or-subwindow-p)
18769 (frame-root-window-p): New functions.
18770
18771 2011-06-09 Glenn Morris <rgm@gnu.org>
18772
18773 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18774 (ange-ftp-get-files): Use it.
18775
18776 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18777
18778 * mail/sendmail.el (mail-recover-1, mail-recover):
18779 * files.el (recover-file, recover-session):
18780 Handle dired-listing-switches not being just a single short option.
18781
18782 2011-06-09 Glenn Morris <rgm@gnu.org>
18783
18784 * calendar/appt.el (appt-display-message, appt-disp-window):
18785 Handle lists of appointments.
18786
18787 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18788
18789 * window.el (one-window-p): Move down in code.
18790 Rewrite doc-string.
18791 (window-current-scroll-bars): Rewrite doc-string.
18792 Normalize live window argument.
18793 (walk-windows, get-window-with-predicate, count-windows):
18794 Rewrite doc-string. Use window-list-1.
18795 (window-in-direction-2, window-in-direction, get-mru-window):
18796 New functions.
18797
18798 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18799
18800 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18801 Doc fix (Bug#8713).
18802
18803 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18806
18807 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18808
18809 * loadhist.el (unload-feature-special-hooks):
18810 Add `comint-output-filter-functions'.
18811
18812 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18813
18814 * calendar/appt.el (appt-check): Move some initializations into the let.
18815
18816 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18817
18818 * window.el (window-height): Defalias to window-total-height.
18819 (window-width): Defalias to window-body-width.
18820
18821 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18822
18823 * image-mode.el (image-toggle-animation): New command.
18824 (image-mode-map): Bind it to RET.
18825 (image-mode): Update message.
18826 (image-toggle-display-image): Avoid a spurious cache flush.
18827 (image-transform-rotation): Doc fix.
18828 (image-transform-properties): Return quickly in the normal case.
18829 (image-animate-loop): Rename from image-animate-max-time.
18830
18831 * image.el (image-animate-max-time): Move to image-mode.el.
18832 (create-animated-image): Remove unnecessary function.
18833 (image-animate): Rename from image-animate-start. New arg.
18834 (image-animate-stop): Remove; just use image-animate-timer.
18835 (image-animate-timer): Use car-safe.
18836 (image-animate-timeout): Rename argument.
18837
18838 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18839
18840 * window.el (get-lru-window, get-largest-window): Move here from
18841 window.c. Rename first argument to ALL-FRAMES.
18842 Rephrase doc-strings.
18843 (get-buffer-window-list): Rewrite using window-list-1.
18844 Rephrase doc-string.
18845 (window-safe-min-height, window-safe-min-width): New constants.
18846 (window-size-ignore, window-min-size, window-min-size-1)
18847 (window-sizable, window-sizable-p, window-size-fixed-1)
18848 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18849 (window-max-delta-1, window-max-delta, window-resizable)
18850 (window-resizable-p, window-total-height, window-total-width)
18851 (window-body-width): New functions.
18852 (window-full-height-p, window-full-width-p): Rewrite using
18853 window-total-size.
18854 (window-body-height): Rewrite using window-body-size.
18855
18856 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18857
18858 * window.el (window-right, window-left, window-child)
18859 (window-child-count, window-last-child, window-any-p)
18860 (normalize-live-buffer, normalize-live-frame)
18861 (normalize-any-window, normalize-live-window)
18862 (window-iso-combination-p, window-iso-combined-p)
18863 (window-iso-combinations)
18864 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18865 (windows-with-parameter, window-with-parameter)
18866 (window-atom-root, make-window-atom, window-atom-check-1)
18867 (window-atom-check, window-side-check, window-check):
18868 New functions.
18869 (ignore-window-parameters, window-sides, window-sides-vertical)
18870 (window-sides-slots): New variables.
18871 (window-size-fixed): Move down in code. Minor doc-string fix.
18872
18873 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18874
18875 * comint.el (comint-dynamic-complete-as-filename)
18876 (comint-dynamic-complete-filename): Correctly call
18877 completion-in-region.
18878
18879 2011-06-05 Deniz Dogan <deniz@dogan.se>
18880
18881 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18882 in last change.
18883
18884 2011-06-05 Deniz Dogan <deniz@dogan.se>
18885
18886 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18887 (rcirc): Use it to prompt for encryption.
18888
18889 2011-06-05 Roland Winkler <winkler@gnu.org>
18890
18891 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18892 (bibtex-search-entries): New command bound to C-c C-a.
18893 (bibtex-display-entries): New function.
18894
18895 2011-06-05 Roland Winkler <winkler@gnu.org>
18896
18897 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18898 (bibtex-insert-kill): After yanking insert newline if necessary.
18899 (bibtex-initialize): Call bibtex-string-files-init only once.
18900 (bibtex-mode): Do not call easy-menu-add.
18901 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18902 (bibtex-yank): Set arg properly if nil.
18903
18904 2011-06-05 Roland Winkler <winkler@gnu.org>
18905
18906 * textmodes/bibtex.el (bibtex-search-entry-globally):
18907 New variable.
18908 (bibtex-search-entry): Use it.
18909
18910 2011-06-05 Roland Winkler <winkler@gnu.org>
18911
18912 * textmodes/bibtex.el (bibtex-entry-format): New option
18913 sort-fields.
18914 (bibtex-format-entry, bibtex-reformat): Honor this option.
18915 (bibtex-parse-entry): Return fields in proper order.
18916
18917 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * doc-view.el (doc-view-remove-if): Move computation of result out
18920 of `dolist' to silence misleading lexical-binding warning.
18921
18922 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18923
18924 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18925 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18926
18927 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18928
18929 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18930 "SunOS 5.10".
18931
18932 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18933
18934 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18935 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18936 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18937 (tramp-parse-putty):
18938 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18939 (tramp-completion-function-alist-ssh)
18940 (tramp-completion-function-alist-telnet)
18941 (tramp-completion-function-alist-su)
18942 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18943 cookie.
18944
18945 * net/tramp-ftp.el:
18946 * net/tramp-sh.el:
18947 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18948 load "tramp.el" `tramp-set-completion-function'.
18949
18950 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * shell.el: Require and use pcomplete.
18953 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18954 (shell-completion-vars): Set pcomplete-default-completion-function.
18955
18956 2011-06-04 Deniz Dogan <deniz@dogan.se>
18957
18958 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18959 `memq' (Bug#8799).
18960
18961 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18962
18963 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18964
18965 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18966
18967 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18968 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18969 * vc/log-view.el (log-view-beginning-of-defun):
18970 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18971 (smerge-refine-forward, smerge-refine-chopup-region):
18972 Silence warning for unused `dotimes' counter variables.
18973
18974 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18975
18976 * net/tramp.el (tramp-with-progress-reporter): Rename from
18977 with-progress-reporter. Use `declare'.
18978 * net/tramp-smb.el:
18979 * net/tramp-sh.el:
18980 * net/tramp-gvfs.el: Update all uses.
18981
18982 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18983
18984 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18985 buffer isn't killed before making it current.
18986
18987 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18988
18989 Silence various byte-compiler warnings.
18990 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18991 `access-type' and new obsolescence format.
18992 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18993 new format.
18994 (byte-compile-check-variable): New `access-type' argument.
18995 Only warn if the access-type is obsolete.
18996 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18997 (byte-compile-variable-set): Adjust callers.
18998 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18999 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19000 setting it as obsolete.
19001 * simple.el (minibuffer-completing-symbol):
19002 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19003 access as obsolete.
19004 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19005 obsolete yet.
19006 * international/quail.el (quail-mouse-choose-completion): Remove unused
19007 code referring to obsolete var.
19008 (quail-choose-completion-string): Remove.
19009 * server.el (server-clients-with, server-kill-buffer-query-function)
19010 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19011 * proced.el (proced-send-signal):
19012 * emacs-lisp/lisp.el (lisp-complete-symbol):
19013 Replace completion-annotate-function with completion-extra-properties.
19014
19015 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19016
19017 * simple.el (goto-line): Use read-number.
19018 (overriding-map-is-bound): Remove.
19019 (saved-overriding-map): Change default.
19020 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19021 Take the map as argument.
19022 (universal-argument, negative-argument, digit-argument): Use it.
19023 (restore-overriding-map): Adjust.
19024 (do-auto-fill): Use fill-forward-paragraph.
19025 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19026
19027 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19028 (minibuffer-inactive-mode): New major mode.
19029 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19030 the *Messages* buffer" hack.
19031 (mouse-popup-menubar): Don't burp if the event is a normal key.
19032
19033 Miscellaneous tweaks.
19034 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19035 lexical scoping as in subr.el's dolist and dotimes.
19036 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19037 Silence compiler warning.
19038 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19039 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19040 * international/ccl.el (ccl-compile): Trivial simplification.
19041 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19042 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19043 `printflag' argument.
19044 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19045 Purecopy the whole obsolescence data.
19046
19047 2011-06-01 Leo Liu <sdl.web@gmail.com>
19048
19049 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19050 improve doc-string as suggested by Marco Pessotto
19051 <melmothx@gmail.com>.
19052 (rcirc-print): Fix last change.
19053
19054 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19055
19056 * minibuffer.el (complete-with-action): Return nil for the metadata and
19057 boundaries of non-functional tables.
19058 (completion-table-dynamic): Return nil for the metadata.
19059 (completion-table-with-terminator): Add default case, using
19060 complete-with-action.
19061 (completion--metadata): New function.
19062 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19063 to try and avoid pathological performance problems.
19064 (completion--embedded-envvar-table): Return `category' metadata.
19065
19066 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19067
19068 * subr.el (process-alive-p): New tiny convenience function.
19069
19070 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19071
19072 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19073 content but also its previous major mode.
19074
19075 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19076
19077 * emacs-lisp/debug.el (debug): Restore the previous content of the
19078 *Backtrace* buffer when we exit with C-M-c.
19079
19080 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19081
19082 * minibuffer.el: Add metadata method to completion tables.
19083 (completion-category-overrides): New defcustom.
19084 (completion-metadata, completion--field-metadata)
19085 (completion-metadata-get, completion--styles)
19086 (completion--cycle-threshold): New functions.
19087 (completion-try-completion, completion-all-completions):
19088 Add `metadata' argument to choose completion-styles.
19089 (completion--do-completion): Use metadata to choose cycling.
19090 (completion-all-sorted-completions): Use metadata for sorting.
19091 Remove :completion-cycle-penalty which is not needed any more.
19092 (completion--try-word-completion): Add `metadata' argument.
19093 (minibuffer-completion-help): Check metadata for annotation function
19094 and sorting.
19095 (completion-file-name-table): Return `category' metadata.
19096 (minibuffer-completing-file-name): Make obsolete.
19097 * simple.el (minibuffer-completing-symbol): Make obsolete.
19098 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19099 completion-try-completion.
19100
19101 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19102
19103 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19104
19105 2011-05-30 Leo Liu <sdl.web@gmail.com>
19106
19107 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19108 (rcirc-print): Decode all incoming messages (bug#8744).
19109 (rcirc-decode-coding-system): Allow value nil for automatic coding
19110 system detection.
19111
19112 2011-06-01 Glenn Morris <rgm@gnu.org>
19113
19114 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19115
19116 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19117
19118 * image.el (image-animate-max-time): Allow nil and t values.
19119 Default to nil.
19120 (create-animated-image): Doc fix.
19121 (image-animate-start): Remove second arg; just use
19122 image-animate-max-time.
19123 (image-animate-timeout): Doc fix. Args changed.
19124
19125 * image-mode.el (image-toggle-display-image): Ensure that the
19126 image spec passed to the animate timer is the same object as in
19127 the buffer's display property (Bug#6981).
19128 (image-transform-properties): Doc fix.
19129
19130 * image.el (image-animate-max-time): Default to nil.
19131
19132 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19133
19134 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19135 entire buffer list (Bug#8184).
19136
19137 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19138
19139 * image.el (imagemagick-types-inhibit)
19140 (imagemagick-register-types): Doc fix.
19141
19142 2011-05-29 Deniz Dogan <deniz@dogan.se>
19143
19144 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19145 default.
19146
19147 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19148
19149 * select.el: Don't perform clipboard-manager saving in hooks;
19150 leave the hooks empty.
19151
19152 2011-05-28 Leo Liu <sdl.web@gmail.com>
19153
19154 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19155 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19156 (occur-edit-mode): New major mode (Bug#8463).
19157 (occur-after-change-function): New function.
19158 (occur-engine): Give Occur tags a read-only property.
19159
19160 2011-05-28 Kevin Ryde <user42@zip.com.au>
19161
19162 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19163
19164 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19165
19166 * bindings.el (help-echo): Make the initial non-indicator dash
19167 empty on graphical terminals (Bug#7295).
19168
19169 * files.el (auto-mode-alist): Move config rule after the
19170 in-stripping one (Bug#8547).
19171
19172 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19173
19174 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19175 setting (Bug#8740).
19176
19177 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19178
19179 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19180 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19181 (Bug#8539).
19182
19183 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19184
19185 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19186
19187 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19188
19189 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19190 (hs-hide-block-at-point, hs-find-block-beginning)
19191 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19192 (Bug#8279).
19193
19194 2011-05-28 Glenn Morris <rgm@gnu.org>
19195
19196 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19197
19198 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19199
19200 * help-fns.el (describe-function-1): If the function is a derived
19201 major mode, print the parent mode.
19202
19203 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19204 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19205
19206 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * minibuffer.el (completion--capf-wrapper): Check applicability before
19209 returning non-nil for non-exclusive completion data.
19210 * progmodes/etags.el (tags-completion-at-point-function):
19211 * info-look.el (info-lookup-completions-at-point): Mark as
19212 non-exclusive.
19213 (info-complete): Adjust accordingly.
19214
19215 * info-look.el: Convert to lexical-binding and completion-at-point.
19216 (info-lookup-completions-at-point): New function.
19217 (info-complete): Use it and completion-in-region.
19218
19219 2011-05-28 Drew Adams <drew.adams@oracle.com>
19220
19221 * isearch.el: Let M-e start with point at the first mismatched char.
19222 (isearch-fail-pos): New function.
19223 (isearch-edit-string): Use it.
19224
19225 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19226
19227 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19228
19229 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19230
19231 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19232 traversal functions for avl-trees.
19233 (avl-tree--stack): New struct.
19234 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19235 (avl-tree-enter): Add optional `updatefun' arg.
19236 (avl-tree--do-enter): Add optional `updatefun' arg.
19237 Change return value.
19238 (avl-tree-delete): Add optional `test' and `nilflag' args.
19239 (avl-tree--do-delete): Add `test' and `nilflag' args.
19240 Change return value.
19241 (avl-tree-member): Add optional `nilflag'
19242 (avl-tree-member-p): New function.
19243 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19244 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19245 (avl-tree-stack-empty-p): New functions.
19246
19247 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19248 avl-tree--del-balance1 and make it work both ways.
19249 (avl-tree--del-balance2): Remove.
19250 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19251 make it work both ways.
19252 (avl-tree--enter-balance2): Remove.
19253 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19254 New macros.
19255 (avl-tree--mapc, avl-tree-map): Add direction argument.
19256
19257 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19258
19259 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19260
19261 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19262
19263 * select.el: Support clipboard managers with built-in function
19264 x-clipboard-manager-save, via delete-frame-functions and
19265 kill-emacs-hook.
19266 (xselect-convert-to-targets): Add MULTIPLE target to list.
19267 (xselect-convert-to-save-targets): New function.
19268
19269 2011-05-27 Kenichi Handa <handa@m17n.org>
19270
19271 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19272 let-binding rfc2047-encode-encoded-words to nil.
19273
19274 2011-05-27 Glenn Morris <rgm@gnu.org>
19275
19276 * mail/emacsbug.el: Don't require url-util.
19277
19278 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19279
19280 * files.el (set-auto-mode):
19281 Also respect mode: entries at the end of the file. (Bug#8586)
19282
19283 2011-05-26 Glenn Morris <rgm@gnu.org>
19284
19285 * files.el (hack-local-variables-prop-line, hack-local-variables):
19286 Downcase mode names, as seems to be traditional.
19287 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19288
19289 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19290 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19291
19292 2011-05-25 Julien Danjou <julien@danjou.info>
19293
19294 * textmodes/rst.el (rst-define-level-faces): Do not define face
19295 symbol if it is already defined.
19296
19297 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19298
19299 * play/5x5.el (5x5-new-game, 5x5-randomize):
19300 Reset 5x5-solver-output to nil when a new grid is cast.
19301 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19302 these debugging traces, as defmacro breaks the compiled code.
19303
19304 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19305
19306 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19307
19308 2011-05-24 Leo Liu <sdl.web@gmail.com>
19309
19310 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19311 (vc-bzr-sha1): Adapt.
19312
19313 * sha1.el: Remove. Function `sha1' is now builtin.
19314
19315 * bindings.el: Provide sha1 feature.
19316
19317 2011-05-24 Kenichi Handa <handa@m17n.org>
19318
19319 * mail/sendmail.el: Require `rfc2047'.
19320 (mail-insert-from-field): Do not perform RFC2047 encoding.
19321 (mail-encode-header): New function.
19322 (sendmail-send-it): Set buffer-file-coding-system of the work
19323 buffer to the return value of select-message-coding-system.
19324 Call mail-encode-header.
19325
19326 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19327
19328 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19329
19330 * mail/supercite.el (sc-default-cite-frame):
19331 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19332
19333 2011-05-24 Glenn Morris <rgm@gnu.org>
19334
19335 * progmodes/python.el (brm-menu): Declare.
19336
19337 * emulation/viper.el (viper-set-hooks): Declare.
19338
19339 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19340 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19341 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19342 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19343 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19344 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19345
19346 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19347
19348 Add an :exit-function for completion-at-point.
19349
19350 * minibuffer.el (completion--done): New fun.
19351 (completion--do-completion): Use it. New arg `expect-exact'.
19352 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19353 since completion--do-completion does it for us now.
19354 (minibuffer-force-complete): Use completion--done and
19355 completion--replace. Handle sole-completion case with more care.
19356 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19357 (completion-extra-properties): New var.
19358 (completion-annotate-function): Make obsolete.
19359 (minibuffer-completion-help): Adjust accordingly.
19360 Use completion-list-insert-choice-function.
19361 (completion-at-point, completion-help-at-point):
19362 Bind completion-extra-properties.
19363 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19364 * simple.el (completion-list-insert-choice-function): New var.
19365 (completion-setup-function): Preserve it.
19366 (choose-completion): Pay attention to it, shuffle the code a bit.
19367 (choose-completion-string): New arg `insert-function'.
19368
19369 * textmodes/bibtex.el: Convert to lexical binding.
19370 (bibtex-mode-map): Use completion-at-point.
19371 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19372 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19373 (bibtex-complete): Define as obsolete alias.
19374 (bibtex-complete-internal): Remove.
19375 (bibtex-format-entry): Remove unused sub-group in regexp.
19376 * shell.el (shell--command-completion-data)
19377 (shell-environment-variable-completion):
19378 * pcomplete.el (pcomplete-completions-at-point):
19379 * comint.el (comint--complete-file-name-data): Use :exit-function
19380 instead of completion-table-with-terminator so it also works for
19381 choose-completion.
19382
19383 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19384
19385 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19386
19387 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19388 (bug#8710).
19389
19390 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19391
19392 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19393
19394 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19395 customization variable and implement: If non-nil, auto-fill will
19396 be inhibited while on topic's header line.
19397
19398 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19399
19400 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19401 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19402 always have a solution in grid size = 5 cases.
19403 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19404 (5x5-solver-output, 5x5-log-buffer): New vars.
19405 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19406 Make these variables buffer local to achieve 5x5 multi-session-ness.
19407 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19408 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19409 (5x5-solve-suggest): New funs.
19410 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19411 randomize a grid so that we ensure that there is always a solution.
19412 (5x5-make-random-grid): Allow other movement than flipping.
19413
19414 2011-05-23 Kevin Ryde <user42@zip.com.au>
19415
19416 * emacs-lisp/advice.el (ad-read-advised-function):
19417 Use `function-called-at-point' as the default, if it has
19418 advice and passes PREDICATE.
19419
19420 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19423 byte-compile-lambda if it's actually a lambda.
19424
19425 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19426 Fix function quoting. Use backquote better.
19427
19428 2011-05-22 Yuanle Song <sylecn@gmail.com>
19429
19430 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19431 matching (Bug#8516).
19432
19433 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19434
19435 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19436 different face (Bug#8178).
19437
19438 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19439
19440 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19441 defface (Bug#8144).
19442
19443 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19444
19445 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19446 funcall as well (bug#8712). Warn when performing those conversions.
19447 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19448
19449 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19450
19451 2011-05-22 Glenn Morris <rgm@gnu.org>
19452
19453 * files.el (hack-local-variables-prop-line): Small simplifications.
19454 (hack-local-variables, hack-local-variables-prop-line):
19455 If MODE-ONLY, return the mode, rather than just `t'.
19456
19457 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19458
19459 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19460
19461 2011-05-21 Glenn Morris <rgm@gnu.org>
19462
19463 * files.el (hack-local-variables-prop-line, hack-local-variables):
19464 If only interested in the mode, don't bother doing the other stuff.
19465
19466 * image-mode.el (image-after-revert-hook):
19467 Redraw all frames on which the image is visible. (Bug#8567)
19468
19469 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19470
19471 * wid-edit.el (widget-checklist-match-inline):
19472 Fix 2011-04-19 change. (Bug#8649)
19473
19474 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19475
19476 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19477 Also allow singlespace after single-letter capitals followed by a dot.
19478
19479 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19480 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19481
19482 2011-05-20 Nix <nix@esperi.org.uk>
19483
19484 * files.el (basic-save-buffer-2):
19485 Fix handling of break-hardlink-on-save with non-existent files.
19486
19487 2011-05-19 Deniz Dogan <deniz@dogan.se>
19488
19489 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19490 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19491
19492 2011-05-19 Glenn Morris <rgm@gnu.org>
19493
19494 * progmodes/f90.el (f90-type-def-re):
19495 Handle "type, bind(c)". (Bug#8691)
19496
19497 * emacs-lisp/autoload.el (batch-update-autoloads):
19498 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19499
19500 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19501
19502 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19503 property for the correct connection in case of multihops.
19504
19505 2011-05-18 Glenn Morris <rgm@gnu.org>
19506
19507 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19508 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19509
19510 Rationalize calendar handling of day and month abbrev-arrays.
19511 * calendar/calendar.el (calendar-customized-p): New function.
19512 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19513 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19514 Add :set function.
19515 (calendar-abbrev-length, calendar-day-abbrev-array)
19516 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19517 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19518 Elements may no longer be nil.
19519 (calendar-day-name, calendar-month-name):
19520 Update for changed nature of abbrev arrays.
19521 * calendar/diary-lib.el (diary-name-pattern):
19522 Update for changed nature of abbrev arrays.
19523 (diary-mark-entries-1): Update calendar-make-alist calls.
19524 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19525 * calendar/cal-html.el (cal-html-day-abbrev-array):
19526 Simply inherit from calendar-day-abbrev-array.
19527
19528 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19529
19530 * progmodes/grep.el (grep-mode): Disable default
19531 compilation-directory-matcher setting (bug#8684).
19532
19533 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19534
19535 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19536 instead of "head" and "tail". There were problems with SunOS 5.9,
19537 and it performs better.
19538
19539 2011-05-17 Glenn Morris <rgm@gnu.org>
19540
19541 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19542
19543 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19544 Replace obsolete function.
19545
19546 * shell.el (pcomplete-parse-arguments-function): Declare.
19547
19548 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19549 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19550 (appt-check): Doc fixes.
19551 (appt-disp-window-function, appt-delete-window-function):
19552 Remove needless special case in custom :type.
19553 (appt-display-count): Default to 0, not nil.
19554 (appt-check): Reset appt-display-count to 0, not nil.
19555
19556 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19557
19558 * progmodes/python.el (python-font-lock-keywords):
19559 Add the Python 3.X keyword "nonlocal" (bug#8639).
19560
19561 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19562
19563 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19564
19565 2011-05-16 Kevin Ryde <user42@zip.com.au>
19566
19567 * info-look.el (makefile-automake-mode): New setups, looking in
19568 automake manual, then makefile-mode.
19569 (makefile-mode): Remove automake manual, have it just in
19570 makefile-automake-mode since there's various things different or
19571 not relevant to plain make.
19572 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19573 believe a hypothetical automake-mode would go to makefile-mode,
19574 not the other way around.
19575
19576 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19577
19578 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19579 hunk-end tags (Bug#8672).
19580
19581 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19582 vc-annotate-show-diff-revision-at-line (Bug#8671).
19583
19584 2011-05-14 Glenn Morris <rgm@gnu.org>
19585
19586 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19587 in the middle of an existing one with multiple authors. (Bug#8645)
19588 (change-log-font-lock-keywords): Also handle multiple author lines
19589 with leading tabs. (Bug#8644)
19590
19591 * calendar/appt.el (appt-check): Rename some local variables.
19592 Some simplification/reordering.
19593
19594 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19595 (feedmail-sendmail-f-doesnt-sell-me-out)
19596 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19597 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19598 (feedmail-queue-runner-message-sender): Set :version.
19599 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19600 (bbdb-dwim-net-address, vm-mail): Declare.
19601 (feedmail-binmail-gnulinuxish-template):
19602 Rename from feedmail-binmail-linuxish-template.
19603 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19604 Use insert-buffer-substring.
19605
19606 2011-05-14 Bill Carpenter <bill@carpenter.org>
19607
19608 * mail/feedmail.el (feedmail-patch-level): Increase.
19609 (feedmail-debug): New custom group.
19610 (feedmail-confirm-outgoing-timeout)
19611 (feedmail-sendmail-f-doesnt-sell-me-out)
19612 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19613 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19614 (feedmail-sender-line, feedmail-from-line)
19615 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19616 (feedmail-spray-this-address)
19617 (feedmail-spray-address-fiddle-plex-list)
19618 (feedmail-queue-use-send-time-for-date)
19619 (feedmail-queue-use-send-time-for-message-id)
19620 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19621 (feedmail-buffer-eating-function):
19622 Doc fixes.
19623 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19624 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19625 (feedmail-message-action-scroll-down): New functions.
19626 (feedmail-queue-directory, feedmail-queue-draft-directory):
19627 Use expand-file-name.
19628 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19629 Remove C-v help entry.
19630 (feedmail-queue-buffer-file-name): New variable.
19631 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19632 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19633 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19634 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19635 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19636 (feedmail-message-action-toggle-spray)
19637 (feedmail-run-the-queue-no-prompts)
19638 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19639 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19640 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19641 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19642 (feedmail-envelope-deducer, feedmail-fiddle-from)
19643 (feedmail-fiddle-sender, feedmail-default-date-generator)
19644 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19645 (feedmail-fiddle-spray-address)
19646 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19647 (feedmail-fiddle-list-of-fiddle-plexes)
19648 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19649 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19650 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19651 Change default. Doc fix.
19652 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19653 (feedmail-binmail-linuxish-template): New constant.
19654 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19655 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19656 (feedmail-send-it): Add debug call.
19657 Use feedmail-queue-buffer-file-name, and
19658 feedmail-send-it-immediately-wrapper.
19659 (feedmail-message-action-send): Add debug call.
19660 Use feedmail-send-it-immediately-wrapper.
19661 (feedmail-queue-express-to-queue): Add debug call.
19662 Run feedmail-queue-express-hook.
19663 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19664 (feedmail-message-action-help-blat):
19665 Rename from feedmail-queue-send-edit-prompt-help-first.
19666 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19667 Check line-endings. Handle errors better.
19668 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19669 Doc fix. Add debug call.
19670 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19671 Use feedmail-queue-send-edit-prompt-inner.
19672 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19673 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19674 from feedmail-queue-send-edit-prompt.
19675 (feedmail-queue-send-edit-prompt-help)
19676 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19677 (feedmail-tidy-up-slug): Add debug call.
19678 Respect feedmail-queue-slug-suspect-regexp.
19679 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19680 (feedmail-dump-message-to-queue): Add debug call.
19681 Expand queue-directory.
19682 (feedmail-dump-message-to-queue): Change message slightly.
19683 Use feedmail-say-chatter.
19684 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19685 (feedmail-send-it-immediately-wrapper): New function.
19686 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19687 Insert empty string rather than newline. Handle full-frame case.
19688 Use catch/throw. Use feedmail-say-chatter.
19689 (feedmail-fiddle-from): Try mail-host-address.
19690 (feedmail-default-message-id-generator): Doc fix.
19691 Bind system-time-locale. Handle missing end.
19692 (feedmail-fiddle-x-mailer): Add debug call.
19693 Handle feedmail-x-mailer-line being nil.
19694 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19695 Add debug call. Use buffer-substring-no-properties.
19696 (feedmail-say-debug, feedmail-say-chatter): New functions.
19697 (feedmail-find-eoh): Give an explicit error.
19698
19699 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19700
19701 * net/newst-treeview.el (newsticker-treeview-face): Change default
19702 family from helvetica to sans.
19703 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19704 etc/images/newsticker.
19705
19706 * net/newst-reader.el (newsticker-feed-face): Change default
19707 family from helvetica to sans.
19708
19709 * net/newst-plainview.el (newsticker-new-item-face)
19710 (newsticker-old-item-face, newsticker-immortal-item-face)
19711 (newsticker-obsolete-item-face, newsticker-date-face)
19712 (newsticker-statistics-face): Change default family from
19713 helvetica to sans.
19714 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19715 etc/images/newsticker.
19716
19717 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19718 (newsticker--process-auto-mark-filter-match): Tell user about
19719 auto-marking.
19720
19721 2011-05-13 Didier Verna <didier@xemacs.org>
19722
19723 Common Lisp indentation improvements on defmethod and lambda-lists.
19724 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19725 TODO entries.
19726 (lisp-lambda-list-keyword-parameter-indentation)
19727 (lisp-lambda-list-keyword-parameter-alignment)
19728 (lisp-lambda-list-keyword-alignment): New customizable user options.
19729 (lisp-indent-defun-method): Improve docstring.
19730 (extended-loop-p): Fix comment.
19731 (lisp-indent-lambda-list-keywords-regexp): New variable.
19732 (lisp-indent-lambda-list): New function.
19733 (lisp-indent-259): Use it.
19734 (lisp-indent-defmethod): Support for more than one
19735 method qualifier and properly indent methods lambda-lists.
19736 (defgeneric): Provide a missing common-lisp-indent-function property.
19737
19738 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19739
19740 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19741 bounds for the empty string (bug#8667).
19742
19743 2011-05-13 Glenn Morris <rgm@gnu.org>
19744
19745 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19746
19747 * mail/sendmail.el (sendmail-program): Try executable-find first.
19748 (sendmail-send-it): `sendmail-program' cannot be unbound.
19749
19750 * calendar/appt.el (appt-make-list): Simplify.
19751 (appt-time-msg-list): Doc fix.
19752 (appt-check): Change mode-line message at the time of the appointment.
19753
19754 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19755
19756 * progmodes/ld-script.el (ld-script-keywords)
19757 (ld-script-builtins): Update keywords list.
19758
19759 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19760
19761 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19762
19763 * shell.el (shell-completion-vars): New function.
19764 (shell-mode):
19765 * simple.el (read-shell-command): Use it.
19766 (blink-matching-open): No need for " [...]" in minibuffer-message.
19767
19768 2011-05-12 Glenn Morris <rgm@gnu.org>
19769
19770 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19771 (appt-check): Simplify.
19772
19773 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19774
19775 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19776 literal "/dev/null".
19777
19778 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19779
19780 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19781 Fix typo.
19782
19783 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19784
19785 * progmodes/which-func.el (which-function):
19786 Use add-log-current-defun instead of add-log-current-defun-function,
19787 which might not be defined (Bug#8260).
19788
19789 2011-05-12 Glenn Morris <rgm@gnu.org>
19790
19791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19792 Let byte-compile-initial-macro-environment always take precedence.
19793
19794 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19795
19796 * net/rcirc.el: Add support for SSL/TLS connections.
19797 (rcirc-server-alist): New field `encryption'.
19798 (rcirc): Check `encryption' settings.
19799 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19800 Merge make-local-variable into `set'.
19801 (rcirc--connection-open-p): New function.
19802 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19803 the process is not a network process (e.g. running gnutls-cli).
19804 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19805 Make rcirc-(en|de)code-coding-system local here.
19806 (rcirc-mode): Merge make-local-variable into `set'.
19807 (rcirc-parent-buffer): Make permanent buffer-local.
19808 (rcirc-multiline-minor-mode): Don't do it here.
19809 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19810 there's no server buffer.
19811
19812 2011-05-11 Glenn Morris <rgm@gnu.org>
19813
19814 * newcomment.el (comment-kill): Prefix "unused" local.
19815
19816 * term/w32console.el (get-screen-color): Declare.
19817
19818 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19819 Handle symbol elements of byte-compile-initial-macro-environment.
19820
19821 2011-05-10 Leo Liu <sdl.web@gmail.com>
19822
19823 * bookmark.el (bookmark-bmenu-mode-map):
19824 Bind bookmark-bmenu-search to `/'.
19825
19826 * mail/footnote.el: Convert to utf-8 encoding.
19827 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19828 (Footnote-unicode): New function.
19829 (footnote-style-alist): Add unicode style to the list.
19830 (footnote-style): Doc fix.
19831
19832 2011-05-10 Jim Meyering <meyering@redhat.com>
19833
19834 Fix doubled-word typos.
19835 * international/quail.el (quail-insert-kbd-layout): and and -> and
19836 * kermit.el: and and -> and
19837 * net/ldap.el (ldap-search-internal): to to -> to
19838 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19839 * progmodes/js.el (js-mode): and and -> and
19840 * textmodes/artist.el (artist-move-to-xy): at at -> at
19841 (artist-draw-region-trim-line-endings): if if -> if
19842 And Safetyc -> Safety.
19843 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19844
19845 2011-05-10 Glenn Morris <rgm@gnu.org>
19846 Stefan Monnier <monnier@iro.umontreal.ca>
19847
19848 * files.el (hack-one-local-variable-eval-safep):
19849 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19850
19851 2011-05-10 Glenn Morris <rgm@gnu.org>
19852
19853 * calendar/diary-lib.el (diary-list-entries-hook)
19854 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19855 (diary-nongregorian-marking-hook, diary-list-entries)
19856 (diary-include-other-diary-files, diary-mark-entries)
19857 (diary-mark-included-diary-files): Doc fixes.
19858
19859 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19860
19861 * misc.el: Require tabulated-list.el during compilation.
19862
19863 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19864
19865 * progmodes/compile.el (compilation-start):
19866 Run compilation-filter-hook for the async case too.
19867 (compilation-filter-hook): Doc fix.
19868
19869 2011-05-09 Deniz Dogan <deniz@dogan.se>
19870
19871 * wdired.el: Remove outdated installation comment. Fix usage
19872 comment.
19873
19874 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19875
19876 * misc.el: Implement new command `list-dynamic-libraries'.
19877 (list-dynamic-libraries--loaded-only-p): New variable.
19878 (list-dynamic-libraries--refresh): New function.
19879 (list-dynamic-libraries): New command.
19880
19881 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19882
19883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19884 Fix the ant regexp to handle end-line and end-column info from jikes.
19885 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19886 higher priority to avoid clobbering by gnu.
19887
19888 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19889
19890 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19891 if the face has existing theme settings (Bug#8454).
19892
19893 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19894
19895 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19896 Only match variables declared via `my' or `our' (Bug#8261).
19897
19898 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19899 special file names `.' and `..' (Bug#8259).
19900
19901 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19902
19903 * progmodes/grep.el (grep-mode-font-lock-keywords):
19904 Remove buffer-changing entries.
19905 (grep-filter): New function.
19906 (grep-mode): Add it to compilation-filter-hook.
19907
19908 * progmodes/compile.el (compilation-filter-hook)
19909 (compilation-filter-start): New defvars.
19910 (compilation-filter): Call compilation-filter-hook prior to
19911 updating the process mark.
19912
19913 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19914
19915 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19916
19917 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19918
19919 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19920 mailclient-send-it even if window-system is nil. (Bug#8595)
19921
19922 * term/w32console.el (terminal-init-w32console):
19923 Call get-screen-color and use its output to set the frame
19924 background-mode. (Bug#8597)
19925
19926 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19927
19928 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19929 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19930 New functions.
19931 (defgeneric, eieio--defmethod): Use them.
19932 (eieio-defgeneric): Remove.
19933 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19934
19935 2011-05-07 Glenn Morris <rgm@gnu.org>
19936
19937 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19938 Use let rather than let*.
19939 (timeclock-find-discrep): Remove unused local.
19940
19941 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19942
19943 * calendar/appt.el (appt-time-msg-list): Doc fix.
19944
19945 2011-05-06 Noah Friedman <friedman@splode.com>
19946
19947 * apropos.el (apropos-print-doc): Only use
19948 emacs-lisp-docstring-fill-column when it is bound to an integer,
19949 per that variable's documentation.
19950
19951 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19952
19953 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19954 and warnings are not silently discarded (e.g. use -d instead of -P).
19955
19956 2011-05-06 Glenn Morris <rgm@gnu.org>
19957
19958 * calendar/appt.el (appt-message-warning-time): Doc fix.
19959 (appt-warning-time-regexp): New option.
19960 (appt-make-list): Respect appt-message-warning-time.
19961
19962 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19963 New options.
19964 (diary-add-to-list): Strip comments from the displayed string.
19965 (diary-mode): Set comment-start and comment-end.
19966
19967 * vc/diff-mode.el (smerge-refine-subst): Declare.
19968 (diff-refine-hunk): Don't require smerge-mode when compiling.
19969
19970 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19971
19972 * simple.el (list-processes): Return nil as the docstring says.
19973
19974 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19975
19976 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19977 to "".
19978 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19979 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19980 determining of binary transfer. (Bug#7383)
19981
19982 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19983
19984 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19985 Fix port computation bug. (Bug#8618)
19986
19987 2011-05-05 Glenn Morris <rgm@gnu.org>
19988
19989 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19990
19991 * simple.el (shell-dynamic-complete-functions)
19992 (comint-dynamic-complete-functions): Declare.
19993
19994 * net/network-stream.el (gnutls-negotiate):
19995 * simple.el (tabulated-list-print): Fix declarations.
19996
19997 * progmodes/gud.el (syntax-symbol, syntax-point):
19998 Remove unnecessary and incorrect declarations.
19999
20000 * emacs-lisp/check-declare.el (check-declare-scan):
20001 Handle byte-compile-initial-macro-environment in bytecomp.el.
20002
20003 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20004
20005 Fix earlier half-done eieio-defmethod change (bug#8338).
20006 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20007 Streamline and change calling convention.
20008 (defmethod): Adjust accordingly and simplify.
20009 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20010 new eieio--defmethod.
20011 (slot-boundp): Minor CSE simplification.
20012
20013 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20014
20015 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20016 (glasses-make-readable): Use glasses-separate-capital-groups.
20017
20018 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20019
20020 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20021 (warning-series): Doc fix.
20022 (display-warning): Don't try to create the buffer if we just found it.
20023
20024 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20025
20026 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20027 (autoload-find-generated-file): New function.
20028 (generate-file-autoloads): Bind generated-autoload-file to
20029 buffer-file-name.
20030 (update-file-autoloads, update-directory-autoloads):
20031 Use autoload-find-generated-file. If called interactively, prompt for
20032 output file (Bug#7989).
20033 (batch-update-autoloads): Doc fix.
20034
20035 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20036
20037 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20038
20039 2011-05-04 Glenn Morris <rgm@gnu.org>
20040
20041 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20042 function, so it follows changes in calendar-date-style.
20043 (diary-fancy-date-matcher): New function.
20044 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20045 (diary-fancy-font-lock-fontify-region-function):
20046 Use diary-fancy-date-pattern as a function.
20047
20048 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20049 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20050
20051 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20052
20053 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20054 instead of positional arguments. Allow :keylist and :crlfiles
20055 arguments.
20056 (open-gnutls-stream): Call it.
20057
20058 * net/network-stream.el (network-stream-open-starttls): Adjust to
20059 call `gnutls-negotiate' with :process and :hostname arguments.
20060
20061 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20062
20063 * minibuffer.el (completion--message): New function.
20064 (completion--do-completion, minibuffer-complete)
20065 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20066 (completion--do-completion): Don't ignore completion-auto-help when in
20067 icomplete-mode.
20068
20069 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20070 internal encoding (e.g. tibetan zero is not whitespace).
20071 (global-whitespace-mode): Prefer save-current-buffer.
20072 (whitespace-trailing-regexp): Remove useless save-match-data.
20073 (whitespace-empty-at-bob-regexp): Minor simplification.
20074
20075 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20076
20077 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20078
20079 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20080
20081 * textmodes/ispell.el (ispell-add-per-file-word-list):
20082 Use `concat' to create string for insertion.
20083
20084 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20085
20086 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20087 Avoid open-line which runs post-self-insert-hook.
20088 (bibtex-fill-entry): Remove unused `end' var.
20089
20090 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20091
20092 * textmodes/ispell.el (ispell-add-per-file-word-list):
20093 Protect against `nil' value of `comment-start' (Bug#8579).
20094
20095 2011-05-03 Leo Liu <sdl.web@gmail.com>
20096
20097 * isearch.el (isearch-yank-pop): New command.
20098 (isearch-mode-map): Bind it to `M-y'.
20099 (isearch-forward): Mention it.
20100
20101 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20102
20103 * simple.el (minibuffer-complete-shell-command): Remove.
20104 (minibuffer-local-shell-command-map): Use completion-at-point.
20105 (read-shell-command): Setup completion vars here instead.
20106 (read-expression-map): Bind TAB to symbol completion.
20107
20108 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20109 error directly rather via storing it into `results'.
20110
20111 2011-05-02 Leo Liu <sdl.web@gmail.com>
20112
20113 * vc/diff.el: Fix description.
20114
20115 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20116
20117 * server.el (server-eval-at): New function.
20118
20119 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20120
20121 * net/network-stream.el (open-network-stream): Take a :nowait
20122 parameter and pass it on to `make-network-process'.
20123 (network-stream-open-plain): Ditto.
20124
20125 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20126
20127 * faces.el (face-spec-set-match-display): Don't match toolkit
20128 options on terminal frames.
20129
20130 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20131
20132 * progmodes/pascal.el: Use lexical binding.
20133 (pascal-mode-map): Remove author preferences.
20134
20135 * pcomplete.el (pcomplete-std-complete): Don't abuse
20136 completion-at-point.
20137
20138 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20139
20140 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20141 removing code that has been dead since 1991 or so.
20142
20143 * startup.el (command-line): When warning about "_emacs", use a
20144 delayed warning to allow the user to filter it out.
20145
20146 2011-04-28 Deniz Dogan <deniz@dogan.se>
20147
20148 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20149 user has not joined.
20150
20151 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20152
20153 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20154 aren't any completions at point.
20155
20156 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20157
20158 * subr.el (display-delayed-warnings): New function.
20159 (delayed-warnings-hook): New variable.
20160
20161 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20162
20163 * minibuffer.el (completion-at-point, completion-help-at-point):
20164 Don't presume that a given completion-at-point-function will always
20165 use the same calling convention.
20166
20167 * pcomplete.el (pcomplete-completions-at-point):
20168 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20169 pcomplete-seen is non-nil.
20170 (pcomplete-comint-setup): Also recognize the new comint/shell
20171 completion functions.
20172 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20173 pcomplete-seen is non-nil.
20174
20175 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20176
20177 * calendar/icalendar.el (diary-lib): Add require statement.
20178 (icalendar--create-uid): Read out a uid from a text-property on
20179 the first character in the entry. This allows for code to add its
20180 own uid to the entry.
20181 (icalendar--convert-float-to-ical): Add export of
20182 `diary-float'-entries save for those with the optional DAY
20183 argument.
20184
20185 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20186
20187 * subr.el (shell-quote-argument): Use alternate escaping strategy
20188 when we spot a variable reference in a string.
20189
20190 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20191
20192 * cus-start.el (all): Define customization for debug-on-event.
20193
20194 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20195
20196 * subr.el (shell-quote-argument): Escape correctly under Windows.
20197
20198 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20199
20200 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20201
20202 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20203
20204 * net/tramp.el (tramp-process-actions): Add POS argument.
20205 Delete region between POS and (pos).
20206
20207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20208 Use `nil' position in `tramp-process-actions' call.
20209 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20210
20211 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20212 position in `tramp-process-actions' call.
20213
20214 * net/trampver.el: Update release number.
20215
20216 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20217
20218 * custom.el (defcustom): Obey lexical-binding.
20219
20220 Fix octave-inf completion problems reported by Alexander Klimov.
20221 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20222 Inherit from octave-mode-syntax-table.
20223 (inferior-octave-mode): Set info-lookup-mode.
20224 (inferior-octave-completion-at-point): New function.
20225 (inferior-octave-complete): Use it and completion-in-region.
20226 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20227 comint-filename-completion.
20228 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20229 symbol elements which shouldn't be word elements.
20230 (octave-font-lock-keywords, octave-beginning-of-defun)
20231 (octave-function-header-regexp): Adjust regexps accordingly.
20232 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20233
20234 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20235
20236 * net/gnutls.el (gnutls-errorp): Declare before first use.
20237
20238 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20239
20240 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20241 verify-error, and verify-hostname-error parameters. Check whether
20242 default trustfile exists before going to use it. Add missing
20243 argument to gnutls-message-maybe call. Return value.
20244 Reported by Claudio Bley <claudio.bley@gmail.com>.
20245 (open-gnutls-stream): Add usage example.
20246
20247 * net/network-stream.el (network-stream-open-starttls): Give host
20248 parameter to `gnutls-negotiate'.
20249 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20250 * subr.el (shell-quote-argument): Escape correctly under Windows.
20251
20252 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20253
20254 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20255 Use correct match group (bug#8438).
20256
20257 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20258
20259 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20260 (package-menu--generate): New arg specifying packages to show.
20261 (package-menu-refresh, package-menu-execute, list-packages):
20262 Callers changed.
20263 (package-show-package-list): New function, replacing deleted
20264 package--list-packages (renamed because it is non-internal).
20265
20266 * finder.el (finder-list-matches): Use package-show-package-list
20267 instead of deleted package--list-packages.
20268
20269 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20270 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20271 (vc-annotate-mode-map): Bind it to RET.
20272
20273 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20274
20275 * progmodes/etags.el (next-file): Don't use set-buffer to change
20276 buffers (Bug#8478).
20277
20278 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20279
20280 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20281
20282 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20283 (apropos-accumulator): Doc fix.
20284 (apropos-function, apropos-macro, apropos-command)
20285 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20286 (apropos-plist): Add face property.
20287 (apropos-symbols-internal): Fix indentation.
20288 (apropos-print): Simplify help, and recognize apropos-multi-type.
20289 (apropos-print-doc): Use button-type-get to extract the button's
20290 face property. Fill docstring (Bug#8352).
20291
20292 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20293
20294 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20295
20296 * play/mpuz.el (mpuz-silent): Doc fix.
20297 (mpuz-mode-map): Use mapc.
20298 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20299 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20300 Fix typos in docstrings.
20301
20302 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20303 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20304
20305 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20306
20307 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20308
20309 * minibuffer.el (completion--do-completion): Avoid the "Next char
20310 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20311
20312 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20313 mouse-2 into unread-command-events, it is interpreted correctly.
20314
20315 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20316 (image-toggle-display): Doc fix.
20317
20318 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20319
20320 * textmodes/page.el (what-page): Use line-number-at-pos to
20321 calculate line number (Bug#6825).
20322
20323 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20324
20325 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20326 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20327 Pass argument NO-DEFAULT to `find-tag-interactive'.
20328
20329 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20330
20331 Lexical-binding cleanup.
20332
20333 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20334 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20335 * progmodes/ada-prj.el (ada-prj-initialize-values)
20336 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20337 (ada-prj-show-value):
20338 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20339 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20340 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20341 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20342 * progmodes/bug-reference.el (bug-reference-push-button):
20343 * progmodes/fortran.el (fortran-line-length):
20344 * progmodes/glasses.el (glasses-change):
20345 * progmodes/octave-mod.el (octave-fill-paragraph):
20346 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20347 (python-pdbtrack-grub-for-buffer, python-sentinel):
20348 * progmodes/sql.el (sql-save-connection):
20349 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20350 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20351 Mark unused parameters.
20352
20353 * progmodes/compile.el (compilation--flush-directory-cache)
20354 (compilation--flush-parse, compile-internal): Mark unused parameters.
20355 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20356 (compilation-next-error-function): Remove unused variable `timestamp'.
20357
20358 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20359 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20360
20361 * progmodes/dcl-mode.el (dcl-end-of-command):
20362 Remove unused variable `start'.
20363 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20364 (dcl-option-value-basic, dcl-option-value-offset)
20365 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20366 Mark unused parameters.
20367 (dcl-save-local-variable): Remove unused variable `val'.
20368 (mode): Declare.
20369
20370 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20371 Mark unused parameters.
20372 (delphi-ignore-changes): Move before first use.
20373 (delphi-charset-token-at): Remove unused variable `start'.
20374 (delphi-else-start): Remove unused variable `if-count'.
20375 (delphi-comment-block-start, delphi-comment-block-end):
20376 Remove unused variable `kind'.
20377 (delphi-indent-line): Remove unused variable `new-point'.
20378
20379 * progmodes/ebrowse.el (ebrowse-files-list)
20380 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20381 Mark unused parameters. Don't quote `lambda'.
20382 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20383 Don't quote `lambda'.
20384 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20385 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20386 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20387 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20388 Use `ignore-errors'.
20389 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20390 (ebrowse-view/find-file-and-search-pattern)
20391 (ebrowse-view/find-member-declaration/definition):
20392 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20393 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20394 Rename parameter PREFIX-ARG to PREFIX.
20395 (ebrowse-tags-read-name): Remove unused variables `start' and
20396 `member-info'.
20397 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20398 to `tags-file'.
20399
20400 * progmodes/etags.el (local-find-tag-hook): Declare.
20401 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20402 Mark unused parameters.
20403
20404 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20405 (executable-interpret): Mark unused parameter.
20406
20407 * progmodes/flymake.el (flymake-process-sentinel)
20408 (flymake-after-change-function)
20409 (flymake-create-temp-with-folder-structure)
20410 (flymake-get-include-dirs-dot): Mark unused parameters.
20411 (flymake-safe-delete-directory): Remove unused variable `err'.
20412
20413 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20414 (speedbar-timer-fn, speedbar-line-text)
20415 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20416 (speedbar-center-buffer-smartly): Declare functions.
20417 (gdb-find-watch-expression): Remove unused variable `array'.
20418 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20419 (gdb-starting): Mark unused parameters.
20420 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20421 (gdb-table-string): Remove unused variable `res'.
20422 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20423 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20424 (gdb-display-buffer): Remove unused variable `cur-size'.
20425
20426 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20427 allow lexical-binding compilation.
20428 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20429 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20430 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20431 Mark unused parameters.
20432 (gud-gdb-marker-filter): Remove unused variable `match'.
20433 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20434 lambda expressions and funcall them, instead of using `fset'.
20435
20436 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20437 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20438
20439 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20440 variable `header-beg'; use `let'.
20441
20442 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20443 `restart', `last-sexp' and `at-do'.
20444
20445 * progmodes/js.el (js--debug): Mark unused parameter.
20446 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20447 (js--splice-into-items): Remove unused variable `item'.
20448 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20449
20450 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20451 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20452 (makefile-complete): Remove unused variable `try'.
20453 (makefile-fill-paragraph, makefile-match-function-end):
20454 Mark unused parameters.
20455
20456 * progmodes/octave-inf.el (inferior-octave-complete):
20457 Remove unused variable `proc'.
20458 (inferior-octave-output-digest): Mark unused parameter.
20459
20460 * progmodes/perl-mode.el (perl-calculate-indent):
20461 Remove unused variable `err'.
20462
20463 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20464 (prolog-indent-line): Mark unused parameters.
20465 (prolog-indent-line): Remove unused variable `beg'.
20466
20467 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20468 (reporter-dont-compact-list): Declare.
20469
20470 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20471 Remove unused variable `char'.
20472 (sh-debug): Mark unused parameter.
20473 (sh-get-indent-info): Remove unused variable `start'.
20474 (sh-calculate-indent): Remove unused variable `var'.
20475
20476 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20477 (simula-electric-keyword): Remove unused variable `null'.
20478 (simula-search-backward, simula-search-forward): Remove unused
20479 variables `begin' and `end'.
20480
20481 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20482 Remove unused variable `pos'.
20483 (vera-electric-tab, vera-comment-uncomment-region):
20484 Mark unused parameters.
20485 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20486
20487 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20488
20489 * emacs-lisp/package.el (package--builtins, package-alist)
20490 (package-load-descriptor, package-built-in-p, package-activate)
20491 (define-package, package-installed-p)
20492 (package-compute-transaction, package-buffer-info)
20493 (package--push): Doc fix. Distinguish more clearly between
20494 version strings and version lists.
20495
20496 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20497
20498 Lexical-binding cleanup.
20499
20500 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20501 (5x5-make-mutate-best):
20502 * play/fortune.el (fortune-in-buffer):
20503 * play/gomoku.el (gomoku-init-display):
20504 * play/solitaire.el (solitaire, solitaire-do-check):
20505 * play/tetris.el (tetris-default-update-speed-function):
20506 Mark unused parameters.
20507
20508 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20509 (bubbles--shift): Remove unused variable `char-org'.
20510 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20511 (bubbles--show-images): Remove unused variable `char'.
20512
20513 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20514 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20515 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20516 (decipher-analyze-buffer): Use ?\s.
20517 (decipher-make-checkpoint): Remove unused variable `mapping'.
20518
20519 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20520
20521 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20522 Remove unused variable `result'; use `let'.
20523
20524 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20525 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20526 (gametree-children-shown-p, gametree-compute-reduced-score):
20527 Use `ignore-errors'.
20528
20529 * play/handwrite.el (ps-lpr-switches): Declare.
20530 (handwrite): Remove unused variables `pmin' and `lastp'.
20531
20532 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20533
20534 * play/landmark.el (landmark-init-display)
20535 (landmark-update-naught-weights): Mark unused parameters.
20536 (landmark-y): Remove unused variable `noise'. Simplify.
20537 (landmark-human-plays): Remove unused variable `score'.
20538
20539 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20540 (mpuz-try-proposal): Remove unused variable `game'.
20541
20542 * play/zone.el (life-patterns): Declare.
20543
20544 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20545
20546 * vc/vc.el (ediff-vc-internal): Declare function.
20547
20548 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20549
20550 * shell.el: Use lexical-binding and std completion UI.
20551 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20552 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20553 comint-preoutput-filter-functions rather than on
20554 comint-output-filter-functions.
20555 (shell-command-completion, shell--command-completion-data)
20556 (shell-filename-completion, shell-environment-variable-completion)
20557 (shell-c-a-p-replace-by-expanded-directory): New functions.
20558 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20559 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20560 (shell-dynamic-complete-environment-variable): Use them.
20561 (shell-dynamic-complete-as-environment-variable)
20562 (shell-dynamic-complete-as-command): Remove.
20563 (shell-match-partial-variable): Match past point.
20564 * comint.el: Clean up use of completion-at-point-functions.
20565 (comint-completion-at-point): New function.
20566 (comint-mode): Use it completion-at-point-functions.
20567 (comint-dynamic-complete): Make it obsolete.
20568 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20569 (comint-c-a-p-replace-by-expanded-history): New function.
20570 (comint-dynamic-complete-functions)
20571 (comint-replace-by-expanded-history): Use it.
20572 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20573 termination strings. Try harder to avoid second try-completion.
20574 (completion-in-region-mode-map): Disable bindings that don't work yet.
20575
20576 * comint.el: Use lexical-binding. Require CL.
20577 (comint-dynamic-complete-functions): Use comint-filename-completion.
20578 (comint-completion-addsuffix): Tweak custom type.
20579 (comint-filename-completion, comint--common-suffix)
20580 (comint--common-quoted-suffix, comint--table-subvert)
20581 (comint--complete-file-name-data): New functions.
20582 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20583 (comint-dynamic-list-filename-completions): Use them.
20584 (comint-dynamic-simple-complete): Make obsolete.
20585
20586 * minibuffer.el (completion-in-region-mode):
20587 Keep completion-in-region-mode--predicate global.
20588 (completion-in-region--postch):
20589 Assume completion-in-region-mode--predicate is not null.
20590
20591 * progmodes/flymake.el (flymake-start-syntax-check-process):
20592 Obey `dir'. Simplify.
20593
20594 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20595 we're in VC after all.
20596
20597 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20598
20599 * vc/vc.el (vc-diff-build-argument-list-internal)
20600 (vc-version-ediff, vc-ediff): New commands.
20601 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20602
20603 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20604
20605 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20606 add sanity check.
20607
20608 * obsolete/erc-hecomplete.el: Make obsolete.
20609 * obsolete/: Standardize obsolescence info in the header.
20610
20611 2011-04-20 Glenn Morris <rgm@gnu.org>
20612
20613 * calendar/solar.el (solar-horizontal-coordinates):
20614 Use the longitude argument rather than `calendar-longitude'.
20615 (solar-date-next-longitude): Remove unused locals.
20616
20617 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20618
20619 * whitespace.el: New version 13.2.1.
20620
20621 2011-04-20 felix <EmacsWiki> (tiny change)
20622
20623 * whitespace.el (global-whitespace-mode): Keep highlight when
20624 switching between major modes on a file.
20625
20626 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20627
20628 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20629 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20630 multi-line comments as well.
20631
20632 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20633
20634 Lexical-binding cleanup.
20635
20636 * arc-mode.el (archive-mode-revert):
20637 * cmuscheme.el (scheme-interactively-start-process):
20638 * custom.el (custom-initialize-delay):
20639 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20640 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20641 * emacs-lock.el (emacs-lock-clear-sentinel):
20642 * ezimage.el (defezimage):
20643 * follow.el (follow-avoid-tail-recenter):
20644 * fringe.el (set-fringe-mode-1):
20645 * generic-x.el (bat-generic-mode-compile):
20646 * help-mode.el (help-info-variable, help-do-xref)
20647 (help-mode-revert-buffer):
20648 * help.el (view-emacs-todo):
20649 * iswitchb.el (iswitchb-completion-help):
20650 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20651 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20652 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20653 * locate.el (locate-update):
20654 * longlines.el (longlines-encode-region)
20655 (longlines-after-change-function):
20656 * outline.el (outline-isearch-open-invisible):
20657 * ps-def.el (declare-function, charset-dimension, char-width)
20658 (encode-char):
20659 * ps-mule.el (ps-mule-plot-string):
20660 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20661 (recentf-edit-list-select, recentf-edit-list-validate)
20662 (recentf-open-files-action):
20663 * rect.el (delete-whitespace-rectangle-line)
20664 (rectangle-number-line-callback):
20665 * register.el (window-configuration-to-register)
20666 (frame-configuration-to-register):
20667 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20668 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20669 (xselect-convert-to-targets, xselect-convert-to-delete)
20670 (xselect-convert-to-filename, xselect-convert-to-charpos)
20671 (xselect-convert-to-lineno, xselect-convert-to-colno)
20672 (xselect-convert-to-os, xselect-convert-to-host)
20673 (xselect-convert-to-user, xselect-convert-to-class)
20674 (xselect-convert-to-name, xselect-convert-to-integer)
20675 (xselect-convert-to-atom, xselect-convert-to-identity):
20676 * subr.el (declare, ignore, process-kill-without-query)
20677 (text-clone-maintain):
20678 * terminal.el (te-get-char, te-tic-sentinel):
20679 * tool-bar.el (tool-bar-make-keymap):
20680 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20681 * type-break.el (type-break-mode, type-break-noninteractive-query):
20682 * view.el (View-back-to-mark):
20683 * wid-browse.el (widget-browse-action, widget-browse-widget)
20684 (widget-browse-widgets, widget-browse-sexp):
20685 * widget.el (define-widget-keywords):
20686 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20687 Mark unused parameters.
20688
20689 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20690 (align-areas): Remove unused variable `look'.
20691 (align-region): Remove unused variables `real-end' and `pos-list'.
20692
20693 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20694
20695 * bindings.el (mode-line-modified, mode-line-remote):
20696 Mark unused parameters.
20697 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20698
20699 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20700 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20701
20702 * comint.el (comint-history-isearch-pop-state)
20703 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20704 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20705 (comint-substitute-in-file-name): Doc fix.
20706
20707 * completion.el (cmpl-statistics-block): Mark unused parameter.
20708 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20709 (save-completions-to-file, load-completions-from-file):
20710 Remove unused local variable `e'.
20711
20712 * composite.el (compose-chars): Remove unused variable `len'.
20713 (lgstring-insert-glyph): Remove unused variable `g'.
20714 (compose-glyph-string): Remove unused variables `ascent',
20715 `descent', `lbearing' and `rbearing'.
20716 (compose-glyph-string-relative): Remove unused variables
20717 `lbearing', `rbearing' and `wadjust'.
20718 (compose-gstring-for-graphic): Remove unused variables `header',
20719 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20720 (compose-gstring-for-terminal): Remove unused variables `header'
20721 and `nchars'. Use `let', not `let*'.
20722
20723 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20724 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20725 (Custom-buffer-done, custom-buffer-create-internal)
20726 (custom-browse-visibility-action, custom-browse-group-tag-action)
20727 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20728 (widget-magic-mouse-down-action, custom-toggle-parent)
20729 (custom-add-parent-links, custom-toggle-hide-variable)
20730 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20731 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20732 (custom-face-menu-create, custom-variable-menu-create, get)
20733 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20734 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20735 (customize-apropos): Remove unused variable `tests'.
20736 (custom-group-value-create): Remove unused variable `hidden-p'.
20737 (sort-fold-case): Declare.
20738
20739 * cus-theme.el (custom-reset-standard-faces-list)
20740 (custom-reset-standard-variables-list): Declare.
20741 (customize-create-theme, custom-theme-revert, custom-theme-write)
20742 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20743 Mark unused parameters.
20744
20745 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20746
20747 * delim-col.el (delimit-columns-max): Move defvar before first use.
20748
20749 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20750 (describe-char): Don't quote `lambda'. Mark unused parameter.
20751
20752 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20753 (auto-insert): Declare.
20754 (desktop-restore-file-buffer): Rename desktop-* parameters;
20755 mark unused ones.
20756 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20757 (desktop-buffer): Rename desktop-* parameters.
20758
20759 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20760 (dframe-reposition-frame-xemacs, dframe-help-echo)
20761 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20762 Mark unused parameters.
20763
20764 * dired-aux.el (backup-extract-version-start, overwrite-query)
20765 (overwrite-backup-query, rename-regexp-query)
20766 (rename-non-directory-query): Declare.
20767 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20768 (dired-add-entry): Remove unused variable `orig-file-name'.
20769 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20770 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20771 `dired-copy-preserve-time' directly.
20772 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20773 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20774
20775 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20776 (dired-virtual-revert, dired-make-relative-symlink):
20777 Mark unused parameters.
20778 (manual-program): Declare.
20779 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20780 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20781 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20782
20783 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20784
20785 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20786
20787 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20788 Declare.
20789
20790 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20791
20792 * electric.el (Electric-command-loop): Rename parameter
20793 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20794
20795 * expand.el (expand-in-literal): Remove unused variable `here'.
20796
20797 * facemenu.el (facemenu-add-new-color):
20798 Remove unused variable `docstring'.
20799
20800 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20801 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20802 (face-attr-construct): Mark unused parameter. Doc fix.
20803 (read-color): Remove unused variable `hex-string'.
20804
20805 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20806 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20807 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20808 (display-buffer-other-frame): Remove unused variable `old-window'.
20809 (kill-buffer-hook): Declare.
20810 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20811 Mark unused parameters.
20812 (after-find-file): Pass 1 to `auto-save-mode', not t.
20813
20814 * files-x.el (auto-insert): Declare.
20815 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20816
20817 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20818 variable `buf'. Mark unused parameter.
20819 (find-lisp-insert-directory): Mark unused parameter.
20820
20821 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20822 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20823 (format-common-tail): Remove, unused.
20824 (format-deannotate-region): Remove unused variable `loc'.
20825 (format-annotate-region): Remove unused variable `p'.
20826 (format-annotate-single-property-change): Remove unused variables
20827 `default' and `tail'.
20828
20829 * forms.el (read-file-filter): Declare.
20830 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20831
20832 * frame.el (frame-creation-function-alist): Mark unused parameter.
20833 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20834
20835 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20836 Remove unused parameters.
20837 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20838 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20839
20840 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20841 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20842 (hfy-prepare-tag-map): Mark unused parameters.
20843 (htmlfontify-buffer): Use `called-interactively-p'.
20844
20845 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20846 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20847 (ibuffer-do-occur): Mark unused parameters.
20848 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20849 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20850
20851 * ibuffer.el: Don't quote `lambda'.
20852 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20853 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20854 Mark unused parameters.
20855
20856 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20857 (ido-completing-read): Mark unused parameters.
20858 (ido-copy-current-word): Mark unused parameters;
20859 remove unused variable `name'.
20860 (ido-sort-merged-list): Remove unused parameter `dirs'.
20861
20862 * ielm.el (ielm-input-sender): Mark unused parameter.
20863 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20864 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20865 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20866 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20867 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20868
20869 * image-dired.el (image-dired-display-thumbs): Remove unused
20870 variables `curr-file' and `count'.
20871 (image-dired-remove-tag): Remove unused variable `start'.
20872 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20873 variable `curr-file'
20874 (image-dired-rotate-original): Remove unused variable `temp-file'.
20875 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20876 Remove unused variable `file'.
20877 (image-dired-gallery-generate): Remove unused variable `curr'.
20878 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20879
20880 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20881
20882 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20883
20884 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20885
20886 * isearch.el (minibuffer-history-symbol): Declare.
20887 (isearch-edit-string): Remove unused variable `err'.
20888 (isearch-message-prefix, isearch-message-suffix):
20889 Mark unused parameters.
20890
20891 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20892
20893 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20894
20895 * makesum.el (double-column): Remove unused variable `cnt'.
20896
20897 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20898 (ido-ignore-item-temp-list): Declare.
20899
20900 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20901 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20902 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20903 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20904 `mouse-col-delta'.
20905
20906 * mouse-sel.el (mouse-extend-internal):
20907 Remove unused variable `orig-window-frame'.
20908
20909 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20910 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20911 Move declarations before first use.
20912 (pcomplete-opt): Mark unused parameters; doc fix.
20913
20914 * proced.el (proced-revert): Mark unused parameter.
20915 (proced-send-signal): Remove unused variable `err'.
20916
20917 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20918 Rename parameter PREFIX-ARG to ARG.
20919 (ps-basic-plot-string, ps-basic-plot-whitespace):
20920 Mark unused parameters.
20921
20922 * replace.el (replace-count): Define.
20923 (occur-revert-function): Mark unused parameters.
20924 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20925 (isearch-case-fold-search, isearch-string): Declare.
20926 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20927 bind `case-fold-search'. Remove unused variables `beg' and `end',
20928 and simplify.
20929 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20930 COUNT and bind `replace-count'.
20931 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20932 to COUNT.
20933
20934 * savehist.el (print-readably, print-string-length): Declare.
20935
20936 * shadowfile.el (shadow-expand-cluster-in-file-name):
20937 Remove unused variable `cluster'.
20938 (shadow-copy-file): Remove unused variable `i'.
20939 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20940 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20941 (shadow-define-literal-group, shadow-define-regexp-group)
20942 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20943
20944 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20945 (shell): Use `called-interactively-p'.
20946 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20947
20948 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20949 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20950 (delete-backward-char): Remove unused variable `ocol'.
20951 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20952 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20953 (event-apply-hyper-modifier, event-apply-shift-modifier)
20954 (event-apply-control-modifier, event-apply-meta-modifier):
20955 Mark unused parameters.
20956 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20957 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20958
20959 * speedbar.el (speedbar-ignored-directory-expressions)
20960 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20961 (speedbar-find-file, speedbar-dir-follow)
20962 (speedbar-directory-buttons-follow, speedbar-tag-find)
20963 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20964 (speedbar-buffers-line-directory, speedbar-buffer-click):
20965 Mark unused parameters.
20966 (speedbar-tag-file): Remove unused variable `mode'.
20967 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20968
20969 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20970
20971 * talk.el (talk): Remove unused variable `display'.
20972
20973 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20974 (tar-write-region-annotate): Mark unused parameter.
20975
20976 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20977 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20978 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20979 warning by another.
20980
20981 * time-stamp.el (time-stamp-string-preprocess):
20982 Remove unused variable `require-padding'.
20983
20984 * tree-widget.el (widget-glyph-enable): Declare.
20985 (tree-widget-action): Mark unused parameter.
20986
20987 * w32-fns.el (x-get-selection): Mark unused parameter.
20988 (autoload-make-program, generated-autoload-file): Declare.
20989
20990 * wdired.el (wdired-revert): Mark unused parameters.
20991 (wdired-xcase-word): Remove unused variable `err'.
20992
20993 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20994 (whitespace-help-scroll): Remove unused variable `data-help'.
20995
20996 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20997 (widget-image-insert, widget-after-change, default)
20998 (widget-default-format-handler, widget-default-notify)
20999 (widget-default-prompt-value, widget-info-link-action)
21000 (widget-url-link-action, widget-function-link-action)
21001 (widget-variable-link-action, widget-file-link-action)
21002 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21003 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21004 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21005 (widget-insert-button-action, widget-delete-button-action, visibility)
21006 (widget-documentation-link-action, widget-documentation-string-action)
21007 (widget-const-prompt-value, widget-regexp-match, symbol)
21008 (widget-coding-system-prompt-value)
21009 (widget-key-sequence-value-to-external, sexp)
21010 (widget-sexp-value-to-internal, character, vector, cons)
21011 (widget-choice-prompt-value, widget-boolean-prompt-value)
21012 (widget-color--choose-action): Mark unused parameters.
21013 (widget-item-match-inline, widget-choice-match-inline)
21014 (widget-checklist-match, widget-checklist-match-inline)
21015 (widget-group-match): Rename parameter VALUES to VALS.
21016 (widget-field-value-set): Remove unused variable `size'.
21017 (widget-color-action): Remove unused variables `value' and `start'.
21018
21019 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21020 variable `dir'. Doc fix.
21021 (windmove-find-other-window): Don't pass it.
21022
21023 * window.el (count-windows): Mark unused parameter.
21024 (bw-adjust-window): Remove unused variable `err'.
21025
21026 * woman.el (woman-file-name): Remove unused variable `default'.
21027 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21028 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21029 (global-font-lock-mode): Declare.
21030 (woman-decode-region): Mark unused parameter.
21031 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21032
21033 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21034 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21035 (x-dnd-handle-moz-url): Remove unused variable `title'.
21036 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21037
21038 * xml.el (xml-parse-tag, xml-parse-attlist):
21039 Remove unused variable `pos'.
21040
21041 2011-04-19 Glenn Morris <rgm@gnu.org>
21042
21043 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21044 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21045 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21046 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21047 * calendar/cal-html.el (cal-html-insert-minical):
21048 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21049 (calendar-mark-date-pattern):
21050 Prefix "unused" locals.
21051
21052 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21053 optional argument `style'.
21054
21055 * calendar/appt.el (appt-make-list):
21056 * calendar/cal-china.el (calendar-chinese-date-string):
21057 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21058 (diary-hebrew-yahrzeit):
21059 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21060 * calendar/calendar.el (calendar-generate-window):
21061 * calendar/time-date.el (time-to-days):
21062 Remove unused local variables.
21063
21064 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21065
21066 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21067 glyphless-char-display table.
21068 (tabulated-list-glyphless-char-display): New var.
21069
21070 2011-04-18 Sam Steingold <sds@gnu.org>
21071
21072 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21073 to acknowledgments.
21074
21075 2011-04-17 Glenn Morris <rgm@gnu.org>
21076
21077 * calendar/diary-lib.el (diary-sexp-entry):
21078 * calendar/holidays.el (holiday-sexp):
21079 Set debug-on-error rather than the removed stack-trace-on-error.
21080
21081 2011-04-16 Glenn Morris <rgm@gnu.org>
21082
21083 * progmodes/f90.el: Use lexical-binding.
21084 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21085
21086 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21087
21088 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21089 (mail-mode): Setup mailalias completion here instead.
21090 * mail/mailalias.el: Use lexical-binding.
21091 (pattern, mailalias-done): Declare dynamic.
21092 (mail-completion-at-point-function): New function, from mail-complete.
21093 (mail-complete): Use it.
21094 (mail-completion-expand): New function.
21095 (mail-get-names): Use it.
21096 (mail-directory, mail-directory-process, mail-directory-stream):
21097 Don't use `pattern' for lexically bound arg.
21098
21099 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21100
21101 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21102 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21103 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21104
21105 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21106 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21107 (byte-interactive-p): Define them again, for use when inlining
21108 old code.
21109
21110 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21111
21112 * loadup.el: Use `string-to-number', not `string-to-int'.
21113
21114 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21115
21116 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21117 gud-gdb-complete-command.
21118 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21119 (gud-gdb-completion-at-point): New function.
21120 (gud-gdb-completions): Remove.
21121
21122 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21123
21124 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21125 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21126 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21127 whether `executable-find' is bound.
21128
21129 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21130
21131 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21132
21133 * minibuffer.el (completion-in-region-mode-predicate)
21134 (completion-in-region-mode--predicate): New vars.
21135 (completion-in-region, completion-in-region--postch)
21136 (completion-in-region-mode): Use them.
21137 (completion--capf-wrapper): Also return the hook function.
21138 (completion-at-point, completion-help-at-point):
21139 Adjust and provide a predicate.
21140
21141 Preserve arg names for advice of subr and lexical functions (bug#8457).
21142 * help-fns.el (help-function-arglist): Consolidate the subr and
21143 new-byte-code cases. Add argument `preserve-names' to extract names
21144 from the docstring when needed.
21145 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21146 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21147 (ad-arglist): Use help-function-arglist's new arg.
21148 (ad-definition-type): Use cond.
21149
21150 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21151
21152 * autorevert.el (auto-revert-handler):
21153 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21154 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21155 Don't quote lambda.
21156
21157 * image-mode.el (image-transform-set-scale):
21158 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21159
21160 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21161
21162 * net/network-stream.el (network-stream-open-starttls): Only do
21163 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21164 Upgrades via gnutls-cli are too slow to be done opportunistically.
21165
21166 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21167
21168 * dframe.el (dframe-current-frame): Remove spurious quote.
21169
21170 2011-04-12 Glenn Morris <rgm@gnu.org>
21171
21172 * calendar/cal-tex.el (cal-tex-end-document):
21173 Try to automatically use latin1 input if needed.
21174
21175 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21176 Don't try to cons a mark onto an empty element.
21177
21178 2011-04-11 Leo Liu <sdl.web@gmail.com>
21179
21180 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21181 buffers.
21182 (ido-kill-buffer-at-head): Support killing virtual buffers.
21183
21184 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21185
21186 * minibuffer.el (completion-show-inline-help): New var.
21187 (completion--do-completion, minibuffer-complete)
21188 (minibuffer-force-complete, minibuffer-complete-word):
21189 Inhibit minibuffer messages if completion-show-inline-help is nil.
21190
21191 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21192 to avoid interference from inline help (Bug#5849).
21193
21194 2011-04-10 Leo Liu <sdl.web@gmail.com>
21195
21196 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21197 Fix typo.
21198
21199 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21200
21201 * image-mode.el (image-toggle-display-image): Signal an error if
21202 not in Image mode.
21203 (image-transform-mode, image-transform-resize)
21204 (image-transform-set-rotation): Doc fix.
21205 (image-transform-set-resize): Delete.
21206 (image-transform-set-scale, image-transform-fit-to-height)
21207 (image-transform-fit-to-width): Handle image-toggle-display-image
21208 and image-transform-resize directly.
21209
21210 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21211
21212 * doc-view.el (doc-view-fit-width-to-window)
21213 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21214 New functions for fitting the shown image to the Emacs window size.
21215 (doc-view-mode-map): Add bindings for the new functions.
21216
21217 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21218
21219 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21220 Fix typo in docstring.
21221
21222 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21223
21224 * files.el (file-size-human-readable): Produce one digit after
21225 decimal, like "ls -lh" does.
21226
21227 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21228 the file size representation.
21229
21230 * simple.el (list-processes): If async subprocesses are not
21231 available, error out with a clear error message.
21232
21233 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21234
21235 * help.el (help-form-show): New function, to be called from C.
21236 Put help-form output in a buffer named differently than *Help*.
21237
21238 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21239
21240 * files.el (file-size-human-readable): New function.
21241
21242 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21243 computing the representation inline. Don't require `cl'.
21244
21245 2011-04-08 Glenn Morris <rgm@gnu.org>
21246
21247 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21248
21249 * net/browse-url.el (browse-url-firefox):
21250 Test system-type, not system-configuration.
21251
21252 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21253 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21254 Use log-edit-empty-buffer-p. (Bug#7598)
21255
21256 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21257 (rlogin-mode-map): Initialize in the defvar.
21258 (rlogin): Use ignore-errors.
21259
21260 * replace.el (occur-mode-map): Some fixes for menu items.
21261
21262 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21263
21264 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21265
21266 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21267
21268 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21269 issuing unused warnings.
21270
21271 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21272 macro directly.
21273
21274 * simple.el: Lisp reimplement of list-processes. Based on an
21275 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21276 (process-menu-mode): New major mode.
21277 (list-processes--refresh, list-processes):
21278 (process-menu-visit-buffer): New functions.
21279
21280 * files.el (save-buffers-kill-emacs): Don't assume any return
21281 value of list-processes, which is undocumented anyway.
21282
21283 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21284
21285 * emacs-lisp/tabulated-list.el: New file.
21286
21287 * emacs-lisp/package.el: Use Tabulated List mode.
21288 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21289 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21290 table format using Tabulated List mode variables.
21291 (package--push): New macro, replacing package-list-maybe-add.
21292 (package-menu--generate): Use package--push. Renamed from
21293 package--generate-package-list.
21294 (package-menu-refresh, list-packages): Use it.
21295 (package-menu--print-info): Rename from package-print-package.
21296 Return insertion data instead of inserting it directly.
21297 (package-menu-describe-package, package-menu-execute):
21298 Use tabulated-list-get-id.
21299 (package-menu-mark-delete, package-menu-mark-install)
21300 (package-menu-mark-unmark, package-menu-backup-unmark)
21301 (package-menu-mark-obsolete-for-deletion):
21302 Use tabulated-list-put-tag.
21303 (package--list-packages, package-menu-revert)
21304 (package-menu-get-package, package-menu-get-version)
21305 (package-menu-sort-by-column): Functions deleted.
21306 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21307 (package-menu--status-predicate, package-menu--version-predicate)
21308 (package-menu--name-predicate)
21309 (package-menu--description-predicate): Handle arguments in the
21310 Tabulated List format.
21311 (package-list-packages-no-fetch): Call list-packages.
21312
21313 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21314
21315 * files.el (after-find-file-from-revert-buffer): Remove variable.
21316 (after-find-file): Don't bind it.
21317 (revert-buffer-in-progress-p): New variable.
21318 (revert-buffer): Bind it.
21319 Pass nil for `after-find-file-from-revert-buffer'.
21320
21321 * saveplace.el (save-place-find-file-hook): Use new variable
21322 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21323
21324 2011-04-06 Glenn Morris <rgm@gnu.org>
21325
21326 * Makefile.in (AUTOGEN_VCS): New variable.
21327 (autoloads): Use $AUTOGEN_VCS.
21328
21329 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21330 * calendar/calendar.el (calendar-mode-map):
21331 Check for toolkit scroll bars. (Bug#8305)
21332
21333 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21334
21335 * minibuffer.el (completion-in-region--postch)
21336 (completion-in-region-mode): Remove unnecessary messages.
21337
21338 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21339
21340 * font-lock.el (font-lock-refresh-defaults):
21341 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21342 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21343
21344 * info.el (Info-directory-list, Info-read-node-name-2)
21345 (Info-split-parameter-string): Doc fixes.
21346 (Info-virtual-nodes): Reflow docstring.
21347 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21348 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21349 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21350 Fix typos in docstrings.
21351 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21352 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21353 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21354 (Info-restore-desktop-buffer): Mark unused parameters.
21355 (Info-directory-find-file, Info-directory-find-node)
21356 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21357 (Info-virtual-index-find-node, Info-apropos-find-file)
21358 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21359 Mark unused parameters; fix typos in docstrings.
21360 (Info-virtual-index): Remove unused local variable `nodename'.
21361
21362 2011-04-05 Deniz Dogan <deniz@dogan.se>
21363
21364 * net/rcirc.el: Update my e-mail address.
21365 (rcirc-mode-map): Remove M-o binding.
21366
21367 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21368
21369 * startup.el (command-line): Save the cursor's theme-face
21370 directly, instead of using face-override-spec.
21371
21372 * custom.el (load-theme): Minor optimization in assigning faces.
21373
21374 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21375
21376 * help-fns.el (describe-variable): Complete all variables having
21377 documentation, including keywords.
21378 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21379
21380 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21381
21382 Convert to lexical-binding.
21383
21384 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21385 (bs--get-marked-string, bs--get-modified-string)
21386 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21387 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21388 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21389
21390 * ehelp.el (electric-help-execute-extended)
21391 (electric-help-ctrl-x-prefix):
21392 * hexl.el (hexl-revert-buffer-function):
21393 * linum.el (linum-after-change, linum-after-scroll):
21394 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21395
21396 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21397
21398 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21399
21400 * epa-dired.el:
21401 * epa-mail.el:
21402 * epa-hook.el:
21403 * epa-file.el:
21404 * epa.el:
21405 * epg.el: Use lexical binding.
21406
21407 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21408
21409 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21410
21411 * textmodes/flyspell.el (flyspell-word): Recognize default
21412 dictionary case for flyspell-mark-duplications-exceptions.
21413 Use regexp matching for languages.
21414 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21415 default dictionary (Bug#7926).
21416
21417 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21418
21419 * emacs-lisp/package.el (package--with-work-buffer):
21420 Recognize https URLs.
21421
21422 * net/network-stream.el: Move from gnus/proto-stream.el.
21423 Change prefix to network-stream throughout.
21424 (open-protocol-stream): Merge into open-network-stream, leaving
21425 open-protocol-stream as an alias. Handle nil BUFFER args.
21426
21427 * subr.el (open-network-stream): Move to net/network-stream.el.
21428
21429 2011-04-02 Glenn Morris <rgm@gnu.org>
21430
21431 * find-dired.el (find-exec-terminator): New option.
21432 (find-ls-option): Test for -ls support.
21433 (find-ls-subdir-switches): Test for -b in find-ls-option.
21434 (find-dired, find-grep-dired): Doc fixes.
21435 (find-dired): Use find-exec-terminator.
21436
21437 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21438 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21439 (find-name-arg): Remove purecopy.
21440
21441 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21442 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21443 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21444 accordingly. Don't add the null-device if not needed.
21445
21446 * files.el (save-some-buffers): Doc fix.
21447
21448 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21449
21450 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21451
21452 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21453
21454 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21455 Use `dolist' rather than `mapcar'.
21456
21457 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21458
21459 Add lexical binding.
21460
21461 * subr.el (apply-partially): Use new closures rather than CL.
21462 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21463 (dolist, dotimes): Use slightly different expansion for lexical code.
21464 (functionp): Move to C.
21465 (letrec): New macro.
21466 (with-wrapper-hook): Use it and apply-partially instead of CL.
21467 (eval-after-load): Preserve lexical-binding.
21468 (save-window-excursion, with-output-to-temp-buffer): Turn them
21469 into macros.
21470
21471 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21472
21473 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21474 than the arglist.
21475 (help-add-fundoc-usage): Don't add `Not documented'.
21476 (help-function-arglist): Handle closures, subroutines, and new
21477 byte-code-functions.
21478 (help-make-usage): Remove leading underscores.
21479 (describe-function-1): Handle closures.
21480 (describe-variable): Use special-variable-p for completion.
21481
21482 * files.el (lexical-binding): Declare safe.
21483
21484 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21485 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21486 (pcase): Add `let' pattern.
21487 Change memoization so it actually works.
21488 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21489 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21490 <let>: New case.
21491
21492 * emacs-lisp/macroexp.el: Use lexical binding.
21493 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21494 Don't convert ' to #' without checking that it's indeed quoting
21495 a lambda.
21496
21497 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21498 Use eval-sexp-add-defvars.
21499 (eval-sexp-add-defvars): New fun.
21500
21501 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21502
21503 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21504 Don't autoload.
21505 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21506 than the internal `byte-compile-lambda'.
21507 (defmethod): Don't hide code under quotes.
21508 (eieio-defmethod): New `code' argument.
21509
21510 * emacs-lisp/eieio-comp.el: Remove.
21511
21512 * emacs-lisp/edebug.el (edebug-eval-defun)
21513 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21514 (edebug-toggle): Avoid `eval'.
21515
21516 * emacs-lisp/disass.el (disassemble-internal): Handle new
21517 `closure' objects.
21518 (disassemble-1): Handle new byte codes.
21519
21520 * emacs-lisp/cl.el (pushnew): Silence warning.
21521
21522 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21523 (cl-byte-compile-throw): Remove.
21524 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21525
21526 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21527 closures.
21528
21529 * emacs-lisp/cconv.el: New file.
21530
21531 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21532 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21533 (byte-compile-initial-macro-environment):
21534 Handle declare-function here.
21535 (byte-compile--lexical-environment): New var.
21536 (byte-stack-ref, byte-stack-set, byte-discardN)
21537 (byte-discardN-preserve-tos): New lap codes.
21538 (byte-interactive-p): Don't use any more.
21539 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21540 New macros.
21541 (byte-compile-lapcode): Use them and handle new lap codes.
21542 (byte-compile-obsolete): Remove.
21543 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21544 (byte-compile-arglist-warn): Check late def of inlinable funs.
21545 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21546 since they should have been expanded by now.
21547 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21548 (byte-compile-from-buffer): Remove unused second arg.
21549 (byte-compile-preprocess): New function.
21550 (byte-compile-toplevel-file-form): New function to distinguish
21551 file-form calls from outside from file-form calls from hunk-handlers.
21552 (byte-compile-file-form): Simplify.
21553 (byte-compile-file-form-defsubst): Remove.
21554 (byte-compile-file-form-defmumble): Simplify now that
21555 byte-compile-lambda always returns a byte-code-function.
21556 (byte-compile): Preprocess.
21557 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21558 Remove, not used any more.
21559 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21560 (byte-compile-make-args-desc): New funs.
21561 (byte-compile-lambda): Handle lexical functions. Always return
21562 a byte-code-function.
21563 (byte-compile-reserved-constants): New var, to make up room for
21564 closed-over variables.
21565 (byte-compile-constants-vector): Obey it.
21566 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21567 (byte-compile-macroexpand-declare-function): New function.
21568 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21569 byte-code-functions.
21570 (byte-compile-form): Check obsolescence here.
21571 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21572 (byte-compile-variable-ref): Remove.
21573 (byte-compile-dynamic-variable-op): New fun.
21574 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21575 (byte-compile-variable-set): New funs.
21576 (byte-compile-discard): Add 2 args.
21577 (byte-compile-stack-ref, byte-compile-stack-set)
21578 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21579 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21580 macroexpand-all instead.
21581 (byte-compile-quote-form): Remove.
21582 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21583 (byte-compile-bind, byte-compile-unbind): New funs.
21584 (byte-compile-let): Handle let* and lexical binding.
21585 (byte-compile-let*): Remove.
21586 (byte-compile-catch, byte-compile-unwind-protect)
21587 (byte-compile-track-mouse, byte-compile-condition-case):
21588 Handle a new :fun-body form, used for lexical scoping.
21589 (byte-compile-save-window-excursion)
21590 (byte-compile-with-output-to-temp-buffer): Remove.
21591 (byte-compile-defun): Simplify.
21592 (byte-compile-stack-adjustment): New fun.
21593 (byte-compile-out): Use it.
21594 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21595
21596 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21597 handler any more.
21598
21599 * emacs-lisp/byte-opt.el: Use lexical binding.
21600 (byte-inline-lapcode): Remove (to bytecomp).
21601 (byte-compile-inline-expand): Pay attention to inlining to/from
21602 lexically bound code.
21603 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21604 any more.
21605 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21606 any more and don't call compiler-macros.
21607 (byte-compile-splice-in-already-compiled-code): Remove.
21608 (byte-code): Don't inline any more.
21609 (disassemble-offset): Receive `bytes' as argument rather than via
21610 dynamic scoping.
21611 (byte-compile-tag-number): Declare before first use.
21612 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21613 `return' even if make-spliceable.
21614 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21615 obsolete interactive-p.
21616 (byte-optimize-lapcode): Optimize new lap-codes.
21617 Don't trip up on new form of `byte-constant' lap code.
21618
21619 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21620
21621 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21622
21623 * custom.el (custom-initialize-default, custom-declare-variable):
21624 Use `defvar'.
21625
21626 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21627 New variables.
21628 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21629 (COMPILE_FIRST): Add macroexp and cconv.
21630 * makefile.w32-in: Mirror changes in Makefile.in.
21631
21632 * vc/cvs-status.el:
21633 * vc/diff-mode.el:
21634 * vc/log-edit.el:
21635 * vc/log-view.el:
21636 * vc/smerge-mode.el:
21637 * textmodes/bibtex-style.el:
21638 * textmodes/css-mode.el:
21639 * startup.el:
21640 * uniquify.el:
21641 * minibuffer.el:
21642 * newcomment.el:
21643 * reveal.el:
21644 * server.el:
21645 * mpc.el:
21646 * emacs-lisp/smie.el:
21647 * doc-view.el:
21648 * dired.el:
21649 * abbrev.el: Use lexical binding.
21650
21651 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21652
21653 * info.el (info-display-manual): New function.
21654
21655 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21656
21657 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21658
21659 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21660
21661 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21662 an entry for that server in rcirc-authinfo. (Bug#8385)
21663
21664 2011-03-31 Glenn Morris <rgm@gnu.org>
21665
21666 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21667
21668 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21669
21670 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21671
21672 * progmodes/python.el (python-default-interpreter)
21673 (python-python-command-args, python-jython-command-args)
21674 (python-which-shell, python-which-args, python-which-bufname)
21675 (python-file-queue, python-comint-output-filter-function)
21676 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21677 variables and functions.
21678
21679 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21682 (completion-in-region-mode): New minor mode.
21683 (completion-in-region): Use it.
21684 (completion-in-region--data, completion-in-region-mode-map): New vars.
21685 (completion-in-region--postch): New function.
21686 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21687 New vars.
21688 (completion--capf-wrapper): New function.
21689 (completion-at-point): Use it to track well-behavedness of
21690 hook functions.
21691 (completion-help-at-point): New command.
21692
21693 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21694
21695 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21696 syntax class to search for whitespace on a single line
21697 (Message-ID: <4D938140.4030905@redhat.com>).
21698
21699 2011-03-30 Leo Liu <sdl.web@gmail.com>
21700
21701 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21702 New commands.
21703 (edit-abbrevs-map): Bind them here.
21704 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21705
21706 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21707
21708 * allout.el (allout-hide-by-annotation, allout-flag-region):
21709 Reduce possibility of overlay leakage by making them volatile.
21710
21711 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21712 hash is not shared between buffers. Mode initialization is
21713 responsible for giving it a useful starting value.
21714 (allout-item-span): Reduce possibility of overlay leakage by
21715 making them volatile.
21716 (allout-widgets-count-buttons-in-region): Add diagnostic function
21717 for tracking down button overlay leaks.
21718
21719 2011-03-29 Leo Liu <sdl.web@gmail.com>
21720
21721 * ido.el (ido-read-internal): Use the default history var
21722 minibuffer-history if no HISTORY is specified.
21723
21724 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21725
21726 * net/imap.el (imap-shell-open, imap-process-connection-type):
21727 Use imap-process-connection-type for 'shell' streams as well as
21728 Kerberos, SSL, other subprocesses.
21729
21730 2011-03-28 Leo Liu <sdl.web@gmail.com>
21731
21732 * abbrev.el (abbrev-table-empty-p): New function.
21733 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21734 nonempty ones. (Bug#5937)
21735
21736 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21737
21738 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21739
21740 2011-03-27 Leo Liu <sdl.web@gmail.com>
21741
21742 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21743 for foreground and background colors.
21744 (ansi-color-make-color-map): Adapt.
21745
21746 2011-03-25 Leo Liu <sdl.web@gmail.com>
21747
21748 * midnight.el (midnight-time-float): Remove. Note it calculates
21749 the microsecond component incorrectly and seconds-to-time does the
21750 same job.
21751 Remove redundant (require 'timer).
21752
21753 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21754 (ido-completions): Remove unused arguments. (Bug#8329)
21755
21756 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21757
21758 * minibuffer.el (completion--flush-all-sorted-completions):
21759 Remove itself from hook.
21760 (completion-at-point): Let the functions perform the completion
21761 immediately and return nil or t.
21762 * comint.el (comint-dynamic-complete-functions): Now identical to
21763 completion-at-point-functions.
21764 (comint-dynamic-list-input-ring): Remove unused var `index'.
21765 (comint--match-partial-filename, comint--unquote&expand-filename):
21766 New funs, split from comint-match-partial-filename.
21767 (comint-dynamic-complete): Use completion-at-point.
21768 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21769
21770 2011-03-24 Drew Adams <drew.adams@oracle.com>
21771
21772 * thingatpt.el: Support `defun'.
21773
21774 2011-03-23 Leo Liu <sdl.web@gmail.com>
21775
21776 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21777
21778 * help-mode.el (help-mode-finish): Tweak regexp.
21779
21780 2011-03-23 Glenn Morris <rgm@gnu.org>
21781
21782 * eshell/esh-opt.el (eshell-eval-using-options):
21783 Do not bind unused local variable `eshell-option-stub'.
21784
21785 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21786
21787 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21788
21789 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21790 keymap variable in `with-no-warnings' to avoid a warning when the
21791 keymap has been already `defconst'ed.
21792
21793 2011-03-22 Leo Liu <sdl.web@gmail.com>
21794
21795 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21796 encode all chars in abbrevs; otherwise use emacs-mule or
21797 utf-8-emacs. (Bug#8308)
21798
21799 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21800
21801 * simple.el (backward-delete-char-untabify):
21802 Avoid warning about using `delete-backward-char'.
21803
21804 * image.el (image-type-file-name-regexps): Make it variable.
21805 `imagemagick-register-types' modifies it, and the user may want
21806 to add new extensions for known image types.
21807 (imagemagick-register-types): Throw error if not using ImageMagick.
21808
21809 2011-03-22 Leo Liu <sdl.web@gmail.com>
21810
21811 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21812 located before rcirc-prompt-end-marker.
21813 (rcirc-complete): Error if point is not after rcirc prompt.
21814 Handle the case when table is nil.
21815 (rcirc-user-authenticated): Define to fix compiler warning.
21816
21817 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21818
21819 * custom.el (custom--inhibit-theme-enable): Make it affect only
21820 custom-theme-set-variables and custom-theme-set-faces.
21821 (provide-theme): Ignore custom--inhibit-theme-enable.
21822 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21823 (custom-enabling-themes): Delete variable.
21824 (enable-theme): Accept only loaded themes as arguments.
21825 Ignore the special custom-enabled-themes variable.
21826 (custom-enabled-themes): Forbid themes from setting this.
21827 Eliminate use of custom-enabling-themes.
21828 (custom-push-theme): Quote "changed" custom var entry.
21829
21830 2011-03-21 Leo Liu <sdl.web@gmail.com>
21831
21832 * ido.el (ido-read-internal): Add ido-selected to history instead
21833 of user input.
21834
21835 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21836
21837 * subr.el (deferred-action-list, deferred-action-function):
21838 Mark obsolete.
21839
21840 2011-03-21 Leo Liu <sdl.web@gmail.com>
21841
21842 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21843 change on 2011-02-13 (bug#8309).
21844
21845 * minibuffer.el (read-file-name-function): Change default value.
21846 (read-file-name--defaults): Rename from read-file-name-defaults.
21847 (read-file-name-default): Rename from read-file-name.
21848 (read-file-name): Call read-file-name-function.
21849
21850 2011-03-21 Glenn Morris <rgm@gnu.org>
21851
21852 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21853 Doc fixes.
21854
21855 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21856
21857 * cus-theme.el: Add missing provide statement.
21858 (customize-create-theme): Extract theme value correctly.
21859 (custom-theme-visit-theme): Autoload.
21860 (customize-create-theme): Prompt before inserting default faces.
21861
21862 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21863
21864 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21865 units and musical notes.
21866
21867 2011-03-20 Leo Liu <sdl.web@gmail.com>
21868
21869 * ido.el (ido-read-internal): Use completing-read-default.
21870 (ido-completing-read): Fix compatibility with completing-read.
21871
21872 2011-03-20 Christian Ohler <ohler@gnu.org>
21873
21874 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21875 (ert-delete-all-tests): Use `called-interactively-p' rather than
21876 `interactive-p'.
21877 (ert--make-xrefs-region): Respect END.
21878
21879 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21880
21881 * dired-aux.el (dired-create-directory): Signal an error if the
21882 directory already exists (Bug#8246).
21883
21884 * facemenu.el (list-colors-display): Call list-faces-display
21885 inside with-help-window.
21886 (list-colors-print): Use display property to align the final
21887 column, instead of checking window-width.
21888
21889 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21890
21891 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21892 windows-nt systems.
21893 (emerge-protect-metachars): Quote correctly for ms-dos and
21894 windows-nt systems.
21895
21896 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21897
21898 * info.el (info-initialize): Replace all uses of `:' with
21899 path-separator for compatibility with non-Unix systems.
21900 Cache quoting of path-separator. (Bug#8258)
21901
21902 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21903
21904 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21905 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21906 (mouse-avoidance-mode): Fix typos in docstrings.
21907
21908 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21909
21910 * startup.el (package-subdirectory-regexp): Move from package.el.
21911 Omit \\` and \\', and let callers add them.
21912
21913 * emacs-lisp/package.el (package-strip-version)
21914 (package-load-all-descriptors): Add \\` and \\' to
21915 package-subdirectory-regexp before using it.
21916 (package-untar-buffer): New arg DIR; ensure that file untars only
21917 into this expected directory. Remove superfluous delete-region.
21918 (package-unpack): Caller changed.
21919 (package-tar-file-info): Use package-subdirectory-regexp.
21920
21921 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21922
21923 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21924 diff-mode-shared-map (bug#8284).
21925 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21926
21927 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21928
21929 * calendar/time-date.el (format-seconds): Use assoc instead of
21930 assoc-string, since assoc-string doesn't exist in XEmacs.
21931
21932 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21933
21934 * custom.el (custom-known-themes): Reflow docstring.
21935 (custom-theme-load-path): Fix typo in docstring.
21936 (load-theme): Fix typo in error message.
21937 (custom-available-themes, custom-variable-theme-value):
21938 Use `let', not `let*'.
21939
21940 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21941
21942 * calc/README: Mention inclusion of musical notes.
21943
21944 * calc/calc-units.el (calc-lu-quant): Rename from
21945 `calc-logunits-quantity'.
21946 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21947 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21948 (calc-db): Rename from `calc-dblevel'.
21949 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21950 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21951 (calc-np): Rename from `calc-nplevel'.
21952 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21953 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21954 (calc-lu-plus): Rename from `calc-logunits-add'.
21955 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21956 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21957 (calc-lu-minus): Rename from `calc-logunits-sub'.
21958 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21959 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21960 (calc-lu-times): Rename from `calc-logunits-mul'.
21961 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21962 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21963 (calc-lu-divide): Rename from `calc-logunits-div'.
21964 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21965 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21966
21967 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21968 functions being autoloaded.
21969
21970 * calc/calc.el (calc-lu-power-reference): Rename from
21971 `calc-logunits-power-reference'.
21972 (calc-lu-field-reference): Rename from
21973 `calc-logunits-field-reference'.
21974
21975 * calc/calc-help.el (calc-l-prefix-help):
21976 Mention musical note functions.
21977
21978 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21979
21980 * minibuffer.el (completion-all-sorted-completions):
21981 Use :completion-cycle-penalty text property if present.
21982
21983 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21984
21985 * allout.el (allout-yank-processing): Adjust for new rebulleting
21986 regime so bullet being yanked is used without prompting the user
21987 for a choice.
21988
21989 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21990
21991 * startup.el (command-line): Warn the user that _emacs is deprecated.
21992
21993 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21994
21995 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21996 (delphi-verbose, delphi-comment-face, delphi-string-face)
21997 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21998 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21999 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22000 (delphi-new-comment-line, delphi-font-lock-defaults)
22001 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22002 Fix typos in docstrings.
22003
22004 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22005
22006 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22007 Invert the roles of character and string values for INSTEAD, so a
22008 string is used for the more common case of a defaulting prompt.
22009
22010 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22011
22012 * progmodes/ruby-mode.el (ruby-backward-sexp):
22013 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22014 * play/gamegrid.el (gamegrid-make-face):
22015 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22016 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22017 * notifications.el (notifications-notify):
22018 * net/xesam.el (xesam-search-engines):
22019 * net/quickurl.el (quickurl-list-insert):
22020 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22021
22022 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22023
22024 * startup.el (command-line): Update package subdirectory regexp.
22025
22026 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22027
22028 * allout.el (allout-abbreviate-flattened-numbering)
22029 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22030
22031 * subr.el (read-char-choice): Only show the cursor after the prompt,
22032 not after the answer.
22033
22034 2011-03-15 Kevin Ryde <user42@zip.com.au>
22035
22036 * help-fns.el (variable-at-point): Skip leading quotes, if any
22037 (bug#8253).
22038
22039 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22040
22041 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22042 warning message.
22043
22044 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22045
22046 * shell.el (shell): When called interactively, offer to change the
22047 shell file name on remote hosts.
22048
22049 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22050
22051 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22052 integration for LDAP parameters. The host, base, user or binddn,
22053 and secret tokens can be specified in a netrc file, for instance.
22054 This is optional because an `auth-source' parameter must be
22055 specified in the search attributes.
22056
22057 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22058
22059 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22060
22061 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22062
22063 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22064 into declaration. Remove redundant and harmful binding.
22065
22066 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22067
22068 * files.el (file-ownership-preserved-p): Pass `integer' as an
22069 explicit 2nd argument to `file-attributes'. If the file's owner
22070 is the Administrators group on Windows, and the current user is
22071 Administrator, consider that a match.
22072
22073 * server.el (server-ensure-safe-dir): Consider server directory
22074 safe on MS-Windows if its owner is the Administrators group while
22075 the current Emacs user is Administrator. Use `=' to compare
22076 numerical UIDs, since they could be integers or floats.
22077
22078 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22079
22080 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22081
22082 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22083
22084 Sync with Tramp 2.2.1.
22085
22086 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22087
22088 * net/trampver.el: Update release number.
22089
22090 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22091
22092 * progmodes/compile.el (compilation--previous-directory): Fix up
22093 various nil/dead-marker mismatches (bug#8014).
22094 (compilation-directory-properties, compilation-error-properties):
22095 Don't call it at a position past the one we're about to change.
22096
22097 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22098 Disable obsolescence warnings in the file that declares it.
22099
22100 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22101
22102 * allout-widgets.el (allout-widgets-tally):
22103 Initialize allout-widgets-tally as a hash table rather than nil to
22104 prevent mode-line redisplay warnings. Also, clarify the module
22105 description and fix a comment typo.
22106
22107 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22108
22109 * help-fns.el (describe-variable): Don't complete keywords.
22110 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22111
22112 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22113
22114 * emacs-lisp/package.el (package-version-join): Impose a standard
22115 string representation for pre/alpha/beta version lists.
22116 (package-unpack-single): Standardize the directory name by passing
22117 it through package-version-join.
22118 (package-strip-rcs-id): Accept any version string that does not
22119 signal an error in version-to-list.
22120
22121 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22122
22123 * simple.el (delete-trailing-whitespace): Return nil for the
22124 benefit of `write-file-functions'.
22125
22126 2011-03-10 Glenn Morris <rgm@gnu.org>
22127
22128 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22129
22130 * vc/vc-git.el (vc-git-program): New option.
22131 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22132 (vc-git--call): Use it.
22133
22134 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22135
22136 * cus-edit.el (Custom-newline): If no button at point, look
22137 for a subgroup button at start-of-line. (Bug#2298)
22138
22139 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22140
22141 2011-03-10 Julien Danjou <julien@danjou.info>
22142
22143 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22144 `cursor-type' is nil.
22145
22146 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22147
22148 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22149
22150 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22151
22152 * allout.el: Change so yank of distinctive-bullet items
22153 preserves the existing header prefix, rebulleting it if necessary,
22154 rather than replacing it. This is necessary for proper operation
22155 of cooperative addons like allout-widgets.
22156 (allout-make-topic-prefix, allout-rebullet-heading):
22157 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22158 value as alternate bullet to be used, instead of prompting the user
22159 for a bullet character.
22160
22161 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22162
22163 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22164 Do not use `tramp-file-name-port', because this returns also
22165 `tramp-default-port'.
22166
22167 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22168
22169 * net/rcirc.el (rcirc-handler-001): Remove useless
22170 with-rcirc-process-buffer.
22171 (rcirc-check-auth-status): Swap arguments to string-match.
22172
22173 2011-03-09 Glenn Morris <rgm@gnu.org>
22174
22175 * shell.el (shell-mode):
22176 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22177
22178 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22179 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22180
22181 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22182
22183 * emacs-lisp/package.el (package-refresh-contents)
22184 (package-menu-execute): Use condition-case-no-debug.
22185
22186 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22187
22188 * simple.el (shell-command-to-string): Use `process-file'.
22189
22190 * emacs-lisp/package.el (package-tar-file-info): Handle also
22191 remote files.
22192
22193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22194 Use `equal' for upload base check.
22195
22196 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22197
22198 * textmodes/texinfo.el (texinfo-environments):
22199 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22200
22201 2011-03-08 Glenn Morris <rgm@gnu.org>
22202
22203 * cus-start.el (cursor-in-non-selected-windows):
22204 Fix :set quoting oddness. (Bug#8192)
22205
22206 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22207 in some setf expressions. (Bug#2159)
22208
22209 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22210
22211 * custom.el (custom-available-themes): Return themes in
22212 alphabetical order.
22213
22214 See ChangeLog.15 for earlier changes.
22215
22216 ;; Local Variables:
22217 ;; coding: utf-8
22218 ;; End:
22219
22220 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22221
22222 This file is part of GNU Emacs.
22223
22224 GNU Emacs is free software: you can redistribute it and/or modify
22225 it under the terms of the GNU General Public License as published by
22226 the Free Software Foundation, either version 3 of the License, or
22227 (at your option) any later version.
22228
22229 GNU Emacs is distributed in the hope that it will be useful,
22230 but WITHOUT ANY WARRANTY; without even the implied warranty of
22231 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22232 GNU General Public License for more details.
22233
22234 You should have received a copy of the GNU General Public License
22235 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.