Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
7 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
8 (cl-progv): Don't rely on dynamic scoping to find the body.
9 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
10 (cl--proclaims-deferred): Rename from the "cl-" prefix.
11 (cl-declaim): Use backquotes.
12 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
13 Use "cl--" prefix for the object's tag.
14
15 * ses.el: Use advice-add/remove.
16 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
17 (copy-region-as-kill, yank): Use advice-add.
18 (ses-unload-function): Use advice-remove.
19
20 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
21
22 * button.el: Make them work in header-lines (bug#12817).
23 (button-map): Add bindings for header-line and mode-line use.
24 (button-get, button-put, button-label): `button' may now be a string.
25 (button-activate): Don't make it a defsubst.
26 (button--area-button-p, button--area-button-string): New functions.
27 (make-text-button): Fix the return value when `beg' was a string.
28 (push-button): Handle the mode-line case.
29
30 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
33 (sql-signum): Remove. Use `cl-signum' instead.
34 (sql-read-passwd): Remove; use read-passwd instread.
35 (sql-get-login-ext): Use read-string.
36 (sql-get-login): Use dolist and pcase.
37 (sql--completion-table): Rename from sql-try-completion.
38 Use complete-with-action.
39 (sql-mode): Don't change abbrev-all-caps globally.
40 (sql-connect): Don't rely on dynamic scoping for `new-name'.
41 (sql-postgres-completion-object): Initialize vars in their `let'.
42 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
43 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
44 (sql-comint-interbase): Use a single append, without setq.
45 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
46
47 * hi-lock.el: Rework the default face and the serialize regexp code.
48 (hi-lock--auto-select-face-defaults): Remove.
49 (hi-lock-string-serialize-serial): Remove.
50 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
51 make weak.
52 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
53 equal string.
54 (hi-lock-set-pattern): Adjust accordingly.
55 (hi-lock--regexps-at-point): Simplify accordingly.
56 (hi-lock--auto-select-face-defaults): Remove.
57 (hi-lock--last-face): New var to replace it.
58 (hi-lock-read-face-name): Rewrite (bug#11095).
59 (hi-lock-unface-buffer): Arrange for the face to be the next default.
60
61 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
62
63 * net/tramp.el (tramp-replace-environment-variables):
64 Hide compiler warning.
65 (tramp-file-name-for-operation): Remove `executable-find',
66 `start-process', `call-process' and `call-process-region'.
67
68 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
69
70 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
71 compatibility.
72
73 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
74
75 2012-12-06 Chong Yidong <cyd@gnu.org>
76
77 * ffap.el (ffap-replace-file-component): Fix typo.
78
79 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
82 fix open-paren-like token test (bug#12785).
83
84 2012-12-06 Glenn Morris <rgm@gnu.org>
85
86 * mail/rmailsum.el (rmail-new-summary): Tweak for
87 rmail-maybe-display-summary changing buffer. (Bug#13066)
88
89 2012-12-06 Juri Linkov <juri@jurta.org>
90
91 * info.el (Info-fontify-node): Don't hide the last newline.
92 (Bug#12272)
93
94 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
95
96 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
97 so as to enable message-read-from-minibuffer to expand mail aliases.
98
99 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
102 the `intangible' property.
103 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
104
105 2012-12-05 Deniz Dogan <deniz@dogan.se>
106
107 * net/rcirc.el (rcirc-urls): Update documentation.
108 (rcirc-condition-filter): New function.
109 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
110 and exclude consecutive duplicate URLs (Bug#6082).
111
112 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
113
114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
115 Check return code of copy command.
116
117 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
118 Use group `tramp'. Add version.
119
120 2012-12-05 Chong Yidong <cyd@gnu.org>
121
122 * ffap.el (ffap-url-regexp): Don't require matching at front of
123 string (Bug#4952).
124 (ffap-url-p): If only a substring matches, return that.
125 (ffap-url-at-point): Use the return value of ffap-url-p.
126 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
127 (find-file-at-point, dired-at-point, dired-at-point-prompter)
128 (ffap-guess-file-name-at-point): Likewise.
129 (ffap-replace-file-component): Fix typo.
130
131 * info.el (info-display-manual): Add existing Info buffers, whose
132 files may not be in Info-directory-list, to the completion.
133 (info--manual-names): New helper function.
134
135 2012-12-05 Glenn Morris <rgm@gnu.org>
136
137 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
138 New functions, for detecting and resolving conflicts. (Bug#10709)
139
140 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
141
142 * hi-lock.el (hi-lock-auto-select-face): New user variable.
143 (hi-lock-auto-select-face-defaults): New buffer local variable.
144 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
145 (hi-lock-unface-buffer): Prompt user with useful defaults.
146 With prefix arg, unhighlight all hi-lock patterns in buffer.
147
148 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
151
152 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
153
154 * Makefile.in (TRAMP_SRC):
155 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
156
157 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
158
159 * net/tramp-adb.el: New package.
160
161 2012-12-04 Chong Yidong <cyd@gnu.org>
162
163 * terminal.el: Move to obsolete/.
164
165 * longlines.el: Move to obsolete/.
166
167 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
168 Remove code referring to longlines mode.
169
170 2012-12-03 Juri Linkov <juri@jurta.org>
171
172 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
173
174 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
175
176 * textmodes/ispell.el (ispell-init-process)
177 (ispell-start-process, ispell-internal-change-dictionary):
178 Make sure personal dictionary name is expanded after initial
179 `default-directory' value. Use expanded strings for
180 keep/restart checks and for value (Bug#13019).
181
182 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
183
184 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
185
186 2012-12-03 Leo Liu <sdl.web@gmail.com>
187
188 * files.el (dir-locals-read-from-file): Check file non-empty
189 before reading. (Bug#13038)
190
191 2012-12-03 Glenn Morris <rgm@gnu.org>
192
193 * jka-cmpr-hook.el (jka-compr-get-compression-info):
194 Remove any version extension before checking filename. (Bug#13006)
195 (jka-compr-compression-info-list): Belated :version bump.
196
197 2012-12-03 Chong Yidong <cyd@gnu.org>
198
199 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
200
201 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
202 (buffer-menu): Doc fix (Bug#12294).
203
204 2012-12-03 Roland Winkler <winkler@gnu.org>
205
206 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
207 of diary-show-all-entries in the diary buffer (Bug#12994).
208
209 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
210
211 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
212 "<STDIN>". This is binary safe.
213
214 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
215
216 * calc/calc-forms.el (math-absolute-from-iso-dt)
217 (math-date-to-iso-dt, math-parse-iso-date-validate)
218 (math-iso-dt-to-date): New functions.
219 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
220 (math-fd-isoweekday): New variables.
221 (calc-date-notation, math-parse-standard-date, math-format-date)
222 (math-format-date-part): Add support for more formatting codes.
223
224 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
225
226 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
227 current buffer's file name when called interactively (Bug#12488).
228
229 2012-12-02 Juri Linkov <juri@jurta.org>
230
231 * info.el (info-display-manual): Don't clobber an existing Info
232 buffer (Bug#10770). Add completion (Bug#10771).
233
234 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
235
236 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
237 before using it for comparison (Bug#5297).
238
239 2012-12-01 Jari Aalto <jari.aalto@cante.net>
240
241 * textmodes/css-mode.el (css-current-defun-name): New function.
242 (css-mode): Use it.
243
244 * textmodes/sgml-mode.el (html-current-defun-name): New function.
245 (html-mode): Use it.
246
247 2012-12-01 Chong Yidong <cyd@gnu.org>
248
249 Modularize add-log-current-defun (Bug#2224).
250 Suggested by Jari Aalto.
251
252 * vc/add-log.el (add-log-current-defun-function): Doc fix.
253 (add-log-current-defun): Move mode-specific code to other files.
254 (add-log-lisp-like-modes, add-log-c-like-modes)
255 (add-log-tex-like-modes): Variables deleted.
256
257 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
258 (lisp-mode-variables): Use it.
259
260 * progmodes/cc-mode.el (c-common-init):
261 * progmodes/cperl-mode.el (cperl-mode): Set a value for
262 add-log-current-defun-function.
263
264 * progmodes/m4-mode.el (m4-current-defun-name): New function.
265 (m4-mode): Use it.
266
267 * progmodes/perl-mode.el (perl-current-defun-name): New.
268 (perl-mode): Use it.
269
270 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
271 Use lisp-current-defun-name.
272
273 * textmodes/tex-mode.el (tex-current-defun-name): New.
274 (tex-common-initialization): Use it.
275
276 * textmodes/texinfo.el (texinfo-current-defun-name): New.
277 (texinfo-mode): Use it.
278
279 2012-12-01 Chong Yidong <cyd@gnu.org>
280
281 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
282 * progmodes/autoconf.el (autoconf-mode):
283 * progmodes/js.el (js-mode):
284 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
285 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
286 * progmodes/perl-mode.el (perl-mode):
287 * progmodes/sh-script.el (sh-mode, sh-set-shell):
288 * textmodes/css-mode.el (css-mode):
289 * textmodes/sgml-mode.el (html-mode, sgml-mode)
290 (sgml-tags-invisible, sgml-guess-indent):
291 * textmodes/tex-mode.el (tex-common-initialization)
292 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
293 (doctex-mode, plain-tex-mode, latex-mode):
294 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
295
296 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
297
298 * vc/vc-hg.el (vc-hg-next-revision):
299 Ensure use of default "tip" output format. (Bug#6968)
300
301 2012-12-01 Kim F. Storm <storm@cua.dk>
302
303 * startup.el (fancy-startup-tail): Add a clickable link
304 (Bug#2176).
305
306 2012-12-01 Chong Yidong <cyd@gnu.org>
307
308 * startup.el (fancy-startup-tail): Improve the message about
309 auto-save files (Bug#2176).
310
311 * files.el (recover-session): Improve the descriptive message, and
312 use substitute-command-keys.
313
314 2012-12-01 Glenn Morris <rgm@gnu.org>
315
316 * ido.el (ido-file-internal):
317 Handle other-window, other-frame for dired. (Bug#13036)
318
319 2012-11-30 Glenn Morris <rgm@gnu.org>
320
321 * icomplete.el (icomplete-separator): Fix :version.
322
323 2012-11-30 Chong Yidong <cyd@gnu.org>
324
325 * shell.el (shell): For C-u M-x shell, use an inactive shell
326 buffer as the default (Bug#1975).
327 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
328 (shell-mode): Use them to reapply ansi colorization if Shell mode
329 is re-enabled.
330
331 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
332
333 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
334
335 2012-11-30 Samuel Bronson <naesten@gmail.com>
336
337 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
338 flag to xargs, for compatibility with BSD xargs (Bug#11703).
339
340 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
341
342 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
343 by move-to-column (Bug#3234).
344
345 2012-11-30 Chong Yidong <cyd@gnu.org>
346
347 * longlines.el (longlines-wrap-line, longlines-encode-region):
348 Preserve text properties (Bug#1425).
349
350 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
351
352 * vc/vc.el (vc-register): Allow registering a file which is
353 already registered with a different backend (Bug#10589).
354
355 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
356 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * icomplete.el: Change separator; add ido-style commands.
359 (icomplete-show-key-bindings): Remove custom var.
360 (icomplete-get-keys): Remove function.
361 (icomplete-forward-completions, icomplete-backward-completions):
362 New commands.
363 (icomplete-minibuffer-map): New var.
364 (icomplete-minibuffer-setup): Use it.
365 (icomplete-exhibit): Don't delay if the list of completions is known.
366 (icomplete-separator): New custom.
367 (icomplete-completions): Use it.
368 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
369 (minibuffer-force-complete-and-exit): New command.
370 (minibuffer--complete-and-exit): New function extracted from
371 minibuffer-complete-and-exit.
372 (minibuffer-complete-and-exit): Use it.
373
374 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
375 error message when the file doesn't exist (bug#12974).
376
377 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
378
379 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
380
381 2012-11-29 Glenn Morris <rgm@gnu.org>
382
383 * files.el (hack-dir-local-variables): Warn if try to set
384 coding via dir-locals, since it doesn't work. (Bug#7169)
385
386 Add desktop support for restoring vc-dir buffers. (Bug#10606)
387 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
388 Set buffer-local value of desktop-save-buffer.
389 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
390 New functions.
391 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
392 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
393
394 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
395 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
396 Doc fix.
397 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
398 Doc fixes.
399
400 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
401
402 * calc/calc-forms.el (calc-date-notation): Fix regexp
403 used to find time codes. Fix symbol for seconds.
404
405 2012-11-27 Glenn Morris <rgm@gnu.org>
406
407 * emacs-lisp/derived.el (derived-mode-make-docstring):
408 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
409
410 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * textmodes/table.el (table-insert): Don't use `symbol-name' on
413 lexically scoped variables (bug#13005).
414
415 2012-11-27 Glenn Morris <rgm@gnu.org>
416
417 * vc/vc-hooks.el (vc-mistrust-permissions):
418 Default to t, to avoid data-loss. (Bug#11490)
419
420 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
421
422 * progmodes/python.el (python-indent-guess-indent-offset):
423 If indentation is guessed make python-indent-offset buffer-local.
424
425 Fix Imenu regression.
426 * progmodes/python.el (python-nav-beginning-of-defun):
427 Fix forward movement when statement(s) separates point from defun.
428 (python-imenu-prev-index-position): New function.
429
430 2012-11-27 Eli Zaretskii <eliz@gnu.org>
431
432 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
433
434 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
435 Don't set buffer-file-type. Return nil. (Bug#12989)
436
437 2012-11-27 Glenn Morris <rgm@gnu.org>
438
439 * hippie-exp.el (hippie-expand-try-functions-list):
440 Re-autoload it. (Bug#12982)
441
442 2012-11-27 Eli Zaretskii <eliz@gnu.org>
443
444 * descr-text.el (describe-char-padded-string):
445 Call internal-char-font only on GUI frames. (Bug#11964)
446
447 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
448
449 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
450 and obsoletion message.
451
452 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
455 the constructs to keep outside of the `cl-block' (bug#12977).
456
457 2012-11-27 Chong Yidong <cyd@gnu.org>
458
459 * mouse.el (mouse-drag-line): Even if the line is not draggable,
460 keep reading until we get the up-event anyway, in order to process
461 the up-event for mouse-1-click-follows-link (Bug#12971).
462
463 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
466 base function is not yet defined (bug#12965).
467 (ad-activate-advised-definition): Use ad-compile-function.
468 (ad-activate): Use cond.
469
470 2012-11-25 Leo Liu <sdl.web@gmail.com>
471
472 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
473 (Bug#12979)
474
475 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
476
477 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
478 reftex-section-info-function in order to be compatible with
479 Texinfo integration.
480
481 * textmodes/reftex.el (reftex-section-pre-regexp)
482 (reftex-section-post-regexp, reftex-section-info-function):
483 New variable.
484 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
485 reftex-section-post-regexp, and reftex-section-info-function in order
486 to be compatible with Texinfo integration.
487
488 * textmodes/reftex-toc.el (reftex-toc-promote-action):
489 use reftex-section-pre-regexp variable in order to be compatible with
490 Texinfo integration.
491
492 2012-11-25 Chong Yidong <cyd@gnu.org>
493
494 * faces.el: Make face-spec-set more analogous to setq.
495 (face-spec-set): Change the third arg to specify whether this
496 function is being called via defface, customize, or a third party.
497 Set the appropriate symbol properties. Clear the override spec if
498 setting via Custom. Initialize face if necessary. (Bug#4988)
499 (face-spec-recalc): Allow theme faces to completely replace the
500 defface spec, in the same way as custom faces (Bug#8454).
501
502 * cus-face.el (custom-declare-face): Move face initialization to
503 face-spec-set.
504 (custom-theme-set-faces): Don't initialize the face name here, as
505 that is now done in face-spec-set.
506
507 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
508 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
509 Simplify by using the new arg to face-spec-set.
510
511 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
512 reset face-override-spec too, and use custom-declare-face.
513
514 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
515
516 * term/ns-win.el (ns-initialize-window-system): Move creation of
517 fontsets here (Bug#11964).
518
519 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
520
521 * ses.el (ses-rename-cell): Correct bug on mode-line update after
522 cell renaming.
523
524 2012-11-24 Chong Yidong <cyd@gnu.org>
525
526 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
527 obsolete.
528
529 * custom.el (custom-theme-set-variables): Use a topological sort
530 for ordering by custom dependencies (Bug#12952).
531 (custom--sort-vars, custom--sort-vars-1): New functions.
532
533 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
536 lexical-binding (bug#12938).
537
538 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
539
540 * image-mode.el (image-transform-check-size): Use assertions only
541 for images of type imagemagick.
542
543 Otherwise no error, image-transform-fit-to-{width,height} is
544 silently ignored, as before. Doc fix.
545
546 2012-11-24 Chong Yidong <cyd@gnu.org>
547
548 * faces.el (color-defined-p): Doc fix (Bug#12853).
549
550 2012-11-24 Juri Linkov <juri@jurta.org>
551
552 * dired.el (dired-mark): Add optional arg `interactive'.
553 Check for `use-region-p' if `interactive' is non-nil.
554 (dired-unmark, dired-flag-file-deletion): Add optional arg
555 `interactive'. Call `dired-mark' with the arg `interactive'.
556 (Bug#10624)
557
558 * wdired.el: Revert 2012-10-17 change partly and replace it with
559 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
560 (wdired-finish-edit): Add marks for new file names to
561 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
562 after `revert-buffer'.
563 (wdired-do-renames): Remove calls to `dired-remove-file',
564 `dired-add-file', `dired-add-entry'. (Bug#11795)
565
566 2012-11-24 Alan Mackenzie <acm@muc.de>
567
568 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
569
570 Fix bugs in the state cache. Enhance a debugging mechanism.
571 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
572 "brace at column zero" strategy for C++.
573 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
574 (c-parse-state-point): New variable.
575 (c-record-parse-state-state): Record old parse state with
576 `copy-tree'. Record previous value of point.
577 (c-debug-parse-state-double-cons): New debugging function.
578 (c-debug-parse-state): Call the above new function.
579 (c-toggle-parse-state-debug): Output a confirmatory message.
580
581 * progmodes/cc-mode.el (c-before-change, c-after-change):
582 Call c-invalidate-state-cache from `c-before-change' instead of
583 `c-after-change'.
584
585 2012-11-23 Chong Yidong <cyd@gnu.org>
586
587 * find-cmd.el (find-constituents): Add executable, ipath,
588 readable, samefile, writable, daystart, regextype (Bug#12856).
589
590 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
593
594 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
595
596 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
597 definition. This fixes a bootstrap failure.
598 (calc-gregorian-switch): In menu, put dates before regions.
599 This is easier to follow, lines up better in the menu, and lets us
600 coalesce regions that switch at the same time. Give country
601 names, not "Vatican", as that's better for non-expert users.
602 Use names that are stable between the date of switch and now, e.g.,
603 Bohemia and Moravia (which existed then and now) and not
604 Czechoslovakia (which didn't exist then and doesn't exist now).
605 What is now the U.S. mostly did not switch at the same time as
606 Britain, so omit the U.S. Correct spelling of "Britain".
607 Catholic Switzerland was too much of a mess, so omit it.
608
609 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
610
611 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
612 after the variable is changed.
613
614 2012-11-21 Daniel Colascione <dancol@dancol.org>
615
616 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
617 in SQL declarations for font-lock.
618 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
619
620 2012-11-21 Glenn Morris <rgm@gnu.org>
621
622 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
623 (face-italic-p): Add optional argument "inherit".
624
625 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
626 Remove -p suffix from names, for consistency with other set-face-*.
627 (set-face-inverse-video): Fix interactive spec.
628 * play/gamegrid.el (gamegrid-make-mono-tty-face):
629 * textmodes/table.el (table--update-cell-face):
630 Use set-face-inverse-video rather than now obsolete alias.
631
632 2012-11-21 Eli Zaretskii <eliz@gnu.org>
633
634 * simple.el (line-move): Don't call line-move-partial if
635 scroll-conservatively is in effect. (Bug#12927)
636
637 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
640 Fallback on completion-at-point rather than
641 pcomplete-expand-and-complete, and only if pcomplete actually failed.
642 (eshell-cmpl-initialize): Setup completion-at-point.
643
644 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
645
646 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
647
648 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
649
650 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
651 are remote, check out-of-band property for both.
652
653 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * window.el (switch-to-buffer): Re-add the warning that was lost in the
656 code rewrite.
657
658 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
659
660 More minor time fixes.
661 * calendar/time-date.el: Commentary fix.
662 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
663 too much other code depends on (0 0) time stamps.
664 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
665 Add a couple of FIXME comments.
666
667 Minor cleanup for times as lists of four integers.
668 * files.el (dir-locals-directory-cache):
669 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
670 Doc fixes.
671 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
672 * ps-bdf.el (bdf-file-newer-than-time):
673 Process four-integers time stamps, not two. Doc fixes.
674
675 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * uniquify.el (uniquify-managed): Use defvar-local.
678 (rename-buffer, create-file-buffer): Advise with advice-add.
679 (uniquify-unload-function): Unadvise accordingly.
680
681 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
682 (trace-buffer): Don't purecopy.
683 (trace-entry-message, trace-exit-message): Add `context' arg.
684 (trace--timer): New var.
685 (trace-make-advice): Adjust for use in nadvice.
686 Add `context' argument. Delay `display-buffer' via a timer.
687 (trace-function-internal): Use advice-add.
688 (trace--read-args): New function.
689 (trace-function-foreground, trace-function-background): Use it.
690 (trace-function): Rename to trace-function-foreground and redefine as
691 an alias to that new name.
692 (untrace-function, untrace-all): Adjust to the use of nadvice.
693
694 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
695
696 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
697
698 * subr.el (called-interactively-p-functions): New var.
699 (internal--called-interactively-p--get-frame): New macro.
700 (called-interactively-p, interactive-p): Rewrite in Lisp.
701 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
702 (called-interactively-p-functions): Use it.
703 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
704 (called-interactively-p-functions): Use it.
705 * allout.el (allout-called-interactively-p): Don't assume
706 called-interactively-p is a subr.
707
708 2012-11-20 Glenn Morris <rgm@gnu.org>
709
710 * profiler.el (profiler-report-mode-map): Add a menu.
711 No need to bind `q' because we derive from special-mode.
712 (profiler-report-find-entry): Handle calls from the menu-bar.
713
714 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * emacs-lisp/byte-run.el (defun-declarations-alist):
717 Allow a compiler-macro to be a lambda expression.
718
719 * progmodes/python.el: Use cl-lib. Move var declarations outside of
720 eval-when-compile.
721 (python-syntax-context): Add compiler-macro.
722 (python-font-lock-keywords): Simplify with De Morgan.
723
724 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
725
726 * files.el (load-file): Require match in minibuffer selection, as was
727 the case in Emacs-20 before we changed the spec to allow .elc files
728 (bug#12935).
729
730 * json.el: Don't require cl since we don't use it.
731 * color.el: Don't require cl.
732 (color-complement): `caddr' -> `nth 2'.
733
734 * calendar/time-date.el (time-to-seconds): De-obsolete.
735
736 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
737
738 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
739 year numbers.
740 (math-date-to-julian-dt): Adjust the initial approximation for the
741 year to deal with the new definition of the DATE.
742
743 2012-11-19 Daniel Colascione <dancol@dancol.org>
744
745 * term/w32-win.el (cygwin-convert-path-from-windows):
746 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
747
748 2012-11-18 Chong Yidong <cyd@gnu.org>
749
750 * filecache.el (file-cache--read-list): New function.
751 (file-cache-add-directory-list, file-cache-add-file-list)
752 (file-cache-delete-file-list, file-cache-delete-directory-list):
753 Use it to read a list of files or directories (Bug#12846).
754 (file-cache-add-file, file-cache-add-directory)
755 (file-cache-delete-file-list, file-cache-delete-file-regexp)
756 (file-cache-delete-directory): Print an message.
757
758 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
759
760 * calc/calc-forms.el (math-date-to-dt): Use integer date when
761 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
762
763 2012-11-18 Glenn Morris <rgm@gnu.org>
764
765 * image.el (insert-image, insert-sliced-image): Doc fix.
766
767 2012-11-18 Chong Yidong <cyd@gnu.org>
768
769 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
770 (Bug#12810).
771
772 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
773
774 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
775 response when the target file is in a subdirectory (Bug#12757).
776
777 2012-11-18 Chong Yidong <cyd@gnu.org>
778
779 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
780
781 2012-11-18 Glenn Morris <rgm@gnu.org>
782
783 * emacs-lisp/cl-lib.el (face-underline-p):
784 Use set-face-underline rather than the alias set-face-underline-p.
785
786 * window.el (with-temp-buffer-window): Doc fix.
787 * subr.el (with-output-to-temp-buffer):
788 Add doc xref to with-temp-buffer-window.
789
790 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
791
792 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
793 * calc/calc.el (math-format-date-cache): Declare.
794
795 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
796
797 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
798 It also uses January 1, 1 AD as its day number 1.
799 * calc/calc-forms.el (math-julian-date-beginning)
800 (math-julian-date-beginning-int): Implement this.
801
802 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
803
804 * descr-text.el (quail-find-key):
805 * dired.el (desktop-file-name):
806 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
807 * generic-x.el (comint-mode, comint-exec):
808 * image-dired.el (widget-forward):
809 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
810 (speedbar-change-expand-button-char)
811 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
812 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
813 * printing.el (easy-menu-add-item, easy-menu-remove-item)
814 (widget-field-action, widget-value-set):
815 * speedbar.el (imenu--make-index-alist):
816 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
817 (ring-length, ring-insert):
818 * vcursor.el (compare-windows-skip-whitespace):
819 * woman.el (dired-get-filename):
820 Declare functions.
821
822 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
823
824 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
825
826 * calc/calc.el (calc-gregorian-switch): New variable.
827
828 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
829 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
830 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
831 (math-leap-year-p): Add option to distinguish between Julian
832 and Gregorian calendars.
833 (math-day-number): Use `math-day-in-year' to do the computations.
834 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
835 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
836 to do the computations.
837 (math-date-to-dt): Use `math-date-to-julian-dt' and
838 `math-date-to-gregorian-dt' to do the computations.
839 (calcFunc-weekday, math-format-date-part): Use the new version of
840 the DATE to determine the weekday.
841 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
842 when necessary.
843
844 2012-11-17 Eli Zaretskii <eliz@gnu.org>
845
846 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
847 Cygwin; otherwise use 'file:'. (Bug#12914)
848 (cygwin-convert-path-from-windows): Declare, to avoid
849 byte-compiler warnings.
850
851 2012-11-17 Andreas Politz <politza@fh-trier.de>
852
853 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
854 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
855 prefix and negative numeric prefix args (Bug#12795).
856
857 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
858
859 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
860 Don't signal an error with a score that is too low to add to the
861 list of top scores. (Bug#12779)
862
863 2012-11-17 Chong Yidong <cyd@gnu.org>
864
865 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
866
867 * filecache.el (file-cache-add-file): Handle relative file name in
868 the argument (Bug#12694).
869
870 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
871
872 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
873
874 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
877
878 * emacs-lisp/cl-lib.el: Set more meaningful version number.
879
880 2012-11-16 Martin Rudalics <rudalics@gmx.at>
881
882 * window.el (enlarge-window, shrink-window): Don't mention return
883 value in doc-string (Bug#12896).
884 (window--display-buffer): Don't resize frames - it won't work
885 with all window managers and defeat pop-up-frame-alist.
886 (display-buffer-alist): In doc-string explain that CONDITION can
887 be a function and which arguments are passed to it (Bug#12854).
888 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
889 expressions (Bug#12854).
890 (display-buffer): Pass ACTION argument to
891 display-buffer-assq-regexp.
892
893 2012-11-16 Glenn Morris <rgm@gnu.org>
894
895 * window.el (fit-frame-to-buffer-bottom-margin)
896 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
897
898 * faces.el (face-underline-p): Use face-attribute-specified-or.
899
900 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
901
902 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
903
904 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
907
908 2012-11-16 Glenn Morris <rgm@gnu.org>
909
910 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
911 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
912
913 * faces.el (face-underline-p): Doc fix. Handle :underline being
914 things other than `t' (a string, a list).
915 (face-inverse-video-p): Doc fix.
916 (set-face-underline): Rename it back from set-face-underline-p.
917 Doc fix. Allow interactive input of values other than t.
918 (read-face-attribute): Apply formatting to :underline,
919 since like :box and :stipple it can take list values.
920
921 * term.el (ansi-term): Don't let C-x escape-char binding
922 clobber the more standard C-c binding. (Bug#12842)
923
924 * subr.el (set-temporary-overlay-map): Doc fix.
925
926 2012-11-16 Martin Rudalics <rudalics@gmx.at>
927
928 * window.el (record-window-buffer)
929 (display-buffer-record-window): When copying the markers to
930 window-point preserve window-point-insertion-type. (Bug#12588)
931
932 2012-11-16 Glenn Morris <rgm@gnu.org>
933
934 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
935 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
936 Use new names for hooks rather than obsolete aliases.
937
938 2012-11-15 Daniel Colascione <dancol@dancol.org>
939
940 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
941 prefix instead of "file:" so that when FILE-NAME begins with "//",
942 as it does when the target file is on a network share, url-handler
943 isn't confused.
944
945 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
948 a preactivated advice from an old advice.el; they're not compatible!
949
950 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
951
952 * emacs-lisp/nadvice.el (advice--make-interactive-form):
953 Fix string-spec case.
954
955 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
956
957 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
960 (advice--buffer-local-function-sample): New var.
961 (advice--set-buffer-local, advice--buffer-local): New functions.
962 (add-function, remove-function): Use them.
963
964 2012-11-15 Drew Adams <drew.adams@oracle.com>
965
966 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
967
968 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
971 potential binding of print-gensym to t, and prettify (back)quotes in
972 case they appear in args's default values (bug#12884).
973
974 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
977 (advice-eval-interactive-spec): New function.
978 (advice--make-interactive-form): Support around advice (bug#12844).
979
980 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
983 more strict. Add docstring.
984 (ruby-expression-expansion-re): Extract from
985 `ruby-match-expression-expansion'.
986 (ruby-syntax-propertize-function): After everything else, search
987 for expansions in string literals, mark their insides as
988 whitespace syntax and save match data for font-lock.
989 (ruby-font-lock-keywords): Use the 2nd group from expression
990 expansion matches.
991 (ruby-match-expression-expansion): Use the match data saved to the
992 text property in ruby-syntax-propertize-function.
993
994 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
997 (bug#12879).
998
999 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1000
1001 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1002 start/end keyword a bit harder. Works with different values of N.
1003 Add more comments.
1004 (ruby-end-of-block): Update accordingly.
1005
1006 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * woman.el (woman-file-name): Don't mess with unread-command-events
1009 (bug#12861).
1010
1011 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1012 Remove out of date self-require hack.
1013 (ad-do-advised-functions): Use simple `dolist'.
1014 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1015 (ad-advice-definition): Redefine as functions.
1016 (ad-advice-classes): Move before first use.
1017 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1018 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1019 (ad--defalias-fset): Remove functions.
1020 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1021 (ad-get-orig-definition): Rewrite.
1022 (ad-make-advised-definition-docstring): Change base docstring.
1023 (ad-real-orig-definition): Rewrite.
1024 (ad-map-arglists): Change name of called function.
1025 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1026 (ad-make-advised-definition): Simplify.
1027 (ad-assemble-advised-definition): Tweak for new calling context.
1028 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1029 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1030 function and call ad-activate if needed.
1031 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1032 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1033 (ad-compile-function): Compile ad-Advice-*.
1034 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1035 (ad-start-advice, ad-stop-advice): Remove.
1036
1037 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1038
1039 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1040 period before class method names, not after. Remove handling of
1041 one impossible case. Add comments.
1042
1043 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * emacs-lisp/advice.el: Remove support for freezing.
1046 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1047 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1048 Remove support for `freeze'.
1049
1050 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1051 override the default.
1052 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1053 cl--dotimes/dolist.
1054 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1055 `cl' is loaded.
1056
1057 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1058 from add-advice.
1059 (advice--strip-macro): New function.
1060 (advice--defalias-fset): Use them to handle macros.
1061 (advice-add): Use them.
1062 (advice-member-p): Correctly handle macros.
1063
1064 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1067 Never font-lock the beginning of singleton class as heredoc.
1068
1069 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1072
1073 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1074
1075 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1076 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1077 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1078
1079 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1080
1081 Fix end-of-defun misbehavior.
1082 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1083 python-beginning-of-defun-function. Handle nested defuns
1084 correctly.
1085 (python-nav-end-of-defun): Rename from
1086 python-end-of-defun-function. Ensure forward movement.
1087 (python-info-current-defun): Reimplement to work as intended
1088 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1089 parent defuns as soon as possible.
1090
1091 2012-11-13 Glenn Morris <rgm@gnu.org>
1092
1093 * progmodes/flymake.el (flymake-error-bitmap)
1094 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1095 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1096
1097 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1098
1099 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1100 backward, always stop at indentation. Reverts the change from
1101 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1102
1103 2012-11-13 Glenn Morris <rgm@gnu.org>
1104
1105 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1106 Add ibuffer-filter-by-derived-mode.
1107
1108 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1109 the same name shadowing each other.
1110
1111 * window.el (with-temp-buffer-window): Doc tweak.
1112
1113 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1114
1115 * help.el (temp-buffer-max-height):
1116 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1117 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1118
1119 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * emacs-lisp/nadvice.el: New package.
1122 * subr.el (special-form-p): New function.
1123 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1124 (elp-all-instrumented-list): Remove var.
1125 (elp-not-profilable): Remove elp-wrapper.
1126 (elp-profilable-p): Use autoloadp and special-form-p.
1127 (elp--advice-name): New const.
1128 (elp-instrument-function): Use advice-add.
1129 (elp--instrumented-p): New predicate.
1130 (elp-restore-function): Use advice-remove.
1131 (elp-restore-all, elp-reset-all): Use mapatoms.
1132 (elp-set-master): Use elp--instrumented-p.
1133 (elp--make-wrapper): Rename from elp-wrapper, return a function
1134 suitable for advice-add. Use cl-inf.
1135 (elp-results): Use mapatoms+elp--instrumented-p.
1136 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1137 (debug-function-list): Remove var.
1138 (debug): Rename arg, and then let-bind it explicitly inside.
1139 (debugger-setup-buffer): Rename arg.
1140 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1141 (debugger-frame-number): Adjust to new debug-on-entry setup.
1142 (debug--implement-debug-on-entry): Rename from
1143 implement-debug-on-entry, add argument.
1144 (debugger-special-form-p): Remove, use special-form-p instead.
1145 (debug-on-entry): Use advice-add.
1146 (debug--function-list): New function.
1147 (cancel-debug-on-entry): Use it, along with advice-remove.
1148 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1149 (debugger-list-functions): Use debug--function-list instead of
1150 debug-function-list.
1151 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1152 (ad-special-form-p): Remove, use special-form-p instead.
1153 (ad-set-advice-info): Use add-function and remove-function.
1154 (ad--defalias-fset): Adjust accordingly.
1155
1156 2012-11-10 Glenn Morris <rgm@gnu.org>
1157
1158 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1159 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1160 (report-emacs-bug-create-existing-bugs-buffer)
1161 (report-emacs-bug-parse-query-results)
1162 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1163
1164 * term.el (term-default-fg-color, term-default-bg-color):
1165 Make obsolete, rather than just saying "deprecated" in the doc.
1166
1167 * term.el (term): Rename from `term-face'.
1168 (term-current-face, ansi-term-color-vector)
1169 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1170 Update all users.
1171
1172 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1173
1174 * server.el (server-create-window-system-frame): Handle Nextstep
1175 specially (Bug#12780).
1176
1177 2012-11-10 Glenn Morris <rgm@gnu.org>
1178
1179 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1180 Unautoload, and make obsolete. (Bug#7449)
1181
1182 2012-11-10 Chong Yidong <cyd@gnu.org>
1183
1184 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1185 rename from diff-remove-trailing-whitespace (Bug#12831).
1186
1187 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1190 miscompilation of trace.el.
1191
1192 2012-11-10 Glenn Morris <rgm@gnu.org>
1193
1194 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1195
1196 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1199 (bug#12812).
1200
1201 2012-11-10 Chong Yidong <cyd@gnu.org>
1202
1203 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1204 a defcustom with an appropriate :set function.
1205 (minibuffer-default--in-prompt-regexps): New function.
1206
1207 2012-11-10 Glenn Morris <rgm@gnu.org>
1208
1209 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1210 (define-modify-macro): Doc fixes.
1211
1212 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1213 (gv-define-simple-setter): Update doc of `fix-return'.
1214
1215 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1218 twice when `fix-return' is set (bug#12813).
1219
1220 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1221 gv-define-simple-setter (bug#12812).
1222
1223 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1224 (bug#12756).
1225
1226 2012-11-10 Glenn Morris <rgm@gnu.org>
1227
1228 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1229
1230 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1231 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1232 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1233 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1234
1235 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1236
1237 2012-11-10 Leo Liu <sdl.web@gmail.com>
1238
1239 * ido.el (ido-set-matches-1): Improve flex matching performance by
1240 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1241
1242 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1245 (ad--defalias-fset): New function.
1246 (ad-safe-fset): Remove.
1247 (ad-make-freeze-definition): Use cl-letf*.
1248
1249 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * subr.el (dolist): Don't bind VAR in RESULT.
1252
1253 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1254 (fset, documentation): Don't save real def since we don't advise.
1255 (ad-do-advised-functions): Remove problematic `result-form'.
1256 (ad-safe-fset): `ad-real-fset' => `fset'.
1257 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1258 uses CL's dolist internally.
1259 (ad-arglist): Remove unused arg `name'.
1260 (ad-docstring, ad-make-advised-docstring):
1261 `ad-real-documentation' => `documentation'.
1262 (warning-suppress-types): Declare.
1263 (ad-set-arguments): Simple CSE.
1264 (ad-recover-normality): Sanity check.
1265
1266 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1267 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1268
1269 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1270
1271 * ses.el: symbol to coordinate mapping is made by symbol property
1272 `ses-cell'. This means that the same mapping is done for all SES
1273 sheets. That is good enough for cells with standard A1 names, but
1274 not for named cell. So a hash map is added for the latter.
1275 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1276 (ses-sym-rowcol): Use hashmap for named cell.
1277 (ses-is-cell-sym-p): New defun.
1278 (ses-decode-cell-symbol): New defun.
1279 (ses-create-cell-variable): Add cell to hashmap when name is not
1280 A1-like.
1281 (ses-rename-cell): Check that cell new name is not already in
1282 spreadsheet with the use of ses-is-cell-sym-p
1283 (ses-rename-cell): Use hash map for named cells, but accept also
1284 renaming back to A1-like.
1285
1286 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * emacs-lisp/advice.el: Use new dynamic docstrings.
1289 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1290 Use dynamic-docstring-function instead of ad-advice-info.
1291 (ad--make-advised-docstring): New function extracted from
1292 ad-make-advised-docstring.
1293 (ad-make-advised-docstring): Use it.
1294 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1295 from sql-help.
1296 (sql-help): Use it with dynamic-docstring-function.
1297
1298 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1299
1300 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * files.el (hack-one-local-variable--obsolete): New function.
1303 (hack-one-local-variable): Use it for obsolete settings.
1304
1305 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1306 the new name.
1307
1308 * progmodes/js.el (js--filling-paragraph): New var.
1309 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1310 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1311 less sneaky.
1312
1313 2012-11-08 Julien Danjou <julien@danjou.info>
1314
1315 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1316 `auto-mode-alist' (Bug#12835).
1317
1318 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1321 (perl--prettify-symbols-alist): New const.
1322 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1323 New functions.
1324 (perl-font-lock-keywords-2): Use them.
1325 (perl-electric-noindent-p): New function.
1326 (perl-mode): Use it to set up electric-indent-mode.
1327 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1328 (perl-mode-map): Remove bindings for them.
1329 (perl-imenu-generic-expression, perl-outline-level):
1330 Match functions&packages in column>0.
1331
1332 * env.el (env--substitute-vars-regexp): New const.
1333 (substitute-env-vars): Use it. Add `only-defined' arg.
1334 * net/tramp.el (tramp-replace-environment-variables): Use it.
1335
1336 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1337 Byte-compile *before* eval in eval-and-compile.
1338 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1339 (byte-compile-file-form-autoload): Don't hide actual definition.
1340 (byte-compile-maybe-guarded): Accept `functionp' as well.
1341
1342 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1343
1344 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * notifications.el (notifications-get-server-information-method):
1347 New defconst.
1348 (notifications-get-capabilities): Fix docstring.
1349 (notifications-get-server-information): New defun.
1350
1351 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1352
1353 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1354 readability.
1355
1356 * textmodes/ispell.el: Experimental support for support debugging.
1357 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1358 buffer for ispell.
1359 (ispell-print-if-debug): New function to print stuff to
1360 `ispell-debug-buffer' if debugging is enabled.
1361 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1362 show some debugging info.
1363 (ispell-buffer-with-debug): New function that creates a debugging
1364 buffer and calls `ispell-buffer' with debugging enabled.
1365
1366 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1367 comment in autoconf mode. (Bug#12768)
1368
1369 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1370
1371 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1372 frame-first-window, frame-root-window, frame-selected-window,
1373 minibuffer-selected-window, minibuffer-window,
1374 window-absolute-pixel-edges, window-at, window-body-height,
1375 window-body-width, window-display-table, window-combination-limit,
1376 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1377 window-inside-edges, window-inside-pixel-edges, window-left-child,
1378 window-left-column, window-margins, window-next-buffers,
1379 window-next-sibling, window-new-normal, window-new-total,
1380 window-normal-size, window-parameter, window-parameters, window-parent,
1381 window-pixel-edges, window-point, window-prev-buffers,
1382 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1383 window-start, window-text-height, window-top-child, window-top-line,
1384 window-total-height, window-total-width and window-use-time to the list
1385 of functions without side-effects.
1386 (toplevel): Add window-valid-p to the list of error-free functions
1387 without side-effects.
1388
1389 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1390
1391 * textmodes/ispell.el (ispell-program-name):
1392 Update spellchecker parameters when customized.
1393
1394 2012-11-04 Glenn Morris <rgm@gnu.org>
1395
1396 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1397
1398 2012-11-04 Chong Yidong <cyd@gnu.org>
1399
1400 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1401 same-window-* variables.
1402
1403 2012-11-04 Juri Linkov <juri@jurta.org>
1404
1405 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1406 (isearch-describe-key, isearch-describe-mode): Use a display
1407 action instead of binding same-window-* variables (Bug#10040).
1408
1409 2012-11-03 Glenn Morris <rgm@gnu.org>
1410
1411 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1412 Rename handler properties back from cl-- to cl-. (Bug#12788)
1413
1414 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1415
1416 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1417
1418 * term/pc-win.el: Don't load term/internal from here.
1419
1420 * loadup.el: Load term/internal from here.
1421
1422 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1423
1424 * progmodes/python.el (inferior-python-mode): Fix hang in
1425 jit-lock (Bug#12645).
1426
1427 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1428
1429 * window.el (switch-to-visible-buffer)
1430 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1431
1432 2012-11-03 Glenn Morris <rgm@gnu.org>
1433
1434 * emacs-lisp/cl-lib.el (cl--random-time):
1435 Rename from cl-random-time. (Bug#12773)
1436 (cl--gensym-counter, cl--random-state): Update callers.
1437 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1438
1439 2012-11-03 Chong Yidong <cyd@gnu.org>
1440
1441 * cus-start.el: Make cursor-type customizable (Bug#11633).
1442
1443 2012-11-02 Glenn Morris <rgm@gnu.org>
1444
1445 * filecache.el: No need to load find-lisp when compiling.
1446 (find-lisp-find-files): Autoload it.
1447 (file-cache-add-directory-recursively): Don't require find-lisp.
1448
1449 * image.el (image-type-from-file-name): Trivial simplification.
1450
1451 * emacs-lisp/bytecomp.el (byte-compile-eval):
1452 Decouple "noruntime" and "cl-functions" warnings.
1453
1454 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1455
1456 * play/gomoku.el (gomoku-display-statistics): Update mode line
1457 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1458
1459 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1460
1461 * window.el (quit-restore-window): If the window has been
1462 created on an existing frame and ended up as the sole window on
1463 that frame, do not delete it (Bug#12764).
1464
1465 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1468 Rename from sh--inside-arithmetic-expression, handle more cases
1469 (bug#11263).
1470
1471 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1472 (sh-font-lock-open-heredoc): Use it (bug#12770).
1473
1474 2012-10-30 Glenn Morris <rgm@gnu.org>
1475
1476 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1477
1478 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1479
1480 2012-10-29 Chong Yidong <cyd@gnu.org>
1481
1482 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1483 function key is stored in a keyboard macro (Bug#4894).
1484
1485 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1486
1487 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1490 header comments".
1491 (diff-unified->context, diff-context->unified)
1492 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1493
1494 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1495
1496 * files.el (find-alternate-file): Only ask one question (bug#12487).
1497
1498 2012-10-29 Chong Yidong <cyd@gnu.org>
1499
1500 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1501 Suggested by Dan Nicolaescu (Bug#6326).
1502
1503 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1504
1505 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1506
1507 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1508
1509 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1510
1511 * face-remap.el (face-remap-add-relative): Handle the case where a
1512 face-remapping-alist entry is a cons cell (Bug#12762).
1513
1514 2012-10-29 Kevin Ryde <user42@zip.com.au>
1515
1516 * woman.el (woman-parse-numeric-value): Handle picas correctly
1517 (Bug#12639).
1518
1519 2012-10-29 Glenn Morris <rgm@gnu.org>
1520
1521 * emacs-lisp/cl.el (defsetf): Doc fix.
1522
1523 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1526 syntax to the matching opener, if any (bug#12547).
1527 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1528 matching open as a "case-(".
1529 (sh-smie-rc-grammar): Add a corresponding rule for it.
1530
1531 2012-10-28 Daniel Hackney <dan@haxney.org>
1532
1533 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1534 "PKGNAME-autoloads.el" in case we created it.
1535
1536 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1539 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1540 (completion--twq-all): Disable too-strict assertions.
1541
1542 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1543
1544 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1545
1546 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1547 text to match the real keybindings.
1548
1549 2012-10-27 Juri Linkov <juri@jurta.org>
1550
1551 * wdired.el (wdired-keep-marker-rename): New defcustom.
1552 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1553 (Bug#11795)
1554
1555 * dired.el (dired-keep-marker-rename): Add reference to
1556 `wdired-keep-marker-rename' in the docstring.
1557 Add default character value ?R to display initially in
1558 Customization UI instead of ?@.
1559
1560 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1561
1562 * window.el (display-buffer): In doc-string describe
1563 window-height and window-width alist entries.
1564
1565 * time.el (display-time-world): Restore fit-window-to-buffer
1566 behavior.
1567
1568 2012-10-27 Chong Yidong <cyd@gnu.org>
1569
1570 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1571
1572 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1573
1574 * minibuffer.el (completion-category-overrides): New completion
1575 category `bookmark' (bug#11131).
1576
1577 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1580 Silence bogus compiler warnings for ad-do-it.
1581
1582 * bookmark.el (bookmark-completing-read): Set the completion category
1583 to `bookmark' (bug#11131).
1584
1585 2012-10-26 Bastien <bzg@altern.org>
1586 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * face-remap.el: Use lexical-binding.
1589 (text-scale-adjust): Improve docstring. Use itself for the temporary
1590 overlay-map bindings, so as to repeat the "Use..." message each time.
1591
1592 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/macroexp.el (macroexp--expand-all):
1595 Obey byte-compile-warning-enabled-p (bug#12486).
1596
1597 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1598 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1599
1600 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1601
1602 * mouse.el (mouse-drag-line): Move last form into preceding when
1603 clause (Bug#12731).
1604
1605 * help.el (resize-temp-buffer-window): Fix doc-string.
1606
1607 2012-10-25 David Engster <deng@randomsample.de>
1608
1609 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1610 Remove. This feature is already integrated in imenu.
1611
1612 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1613 always loaded. Require `speedbar' unconditionally.
1614
1615 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1618
1619 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1620
1621 * net/ldap.el (ldap-search-internal): The official ldif format starts
1622 with a "version: 1" header (bug#12724).
1623
1624 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1625 (bug#12721).
1626
1627 2012-10-25 Glenn Morris <rgm@gnu.org>
1628
1629 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1630
1631 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * minibuffer.el (minibuffer-force-complete): Use one more marker
1634 for the temporary-overlay-map command (bug#12619).
1635
1636 2012-10-24 Chong Yidong <cyd@gnu.org>
1637
1638 * time.el (display-time-world-mode): Derive from special-mode.
1639 (display-time-world): Use display-buffer (Bug#12708).
1640 (display-time-world-mode-map): Variable deleted.
1641 (display-time-world-display): Wrap the final delete-char inside
1642 inhibit-read-only.
1643
1644 2012-10-24 Chong Yidong <cyd@gnu.org>
1645
1646 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1647 Doc fix.
1648
1649 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1650
1651 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * minibuffer.el (completion--all-sorted-completions-location): New var.
1654 (completion--cache-all-sorted-completions)
1655 (completion--flush-all-sorted-completions): Use it.
1656 (completion-in-region, completion-in-region--postch)
1657 (completion-at-point, completion-help-at-point): Use markers in
1658 completion-in-region--data (bug#12619).
1659
1660 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * progmodes/compile.el (compilation-start): Try to handle common
1663 quoting of `cd' argument (bug#12640).
1664
1665 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1666 (bug#12671).
1667
1668 2012-10-23 Glenn Morris <rgm@gnu.org>
1669
1670 * progmodes/gud.el (gud-menu-map):
1671 Check gdb-active-process is bound. (Bug#12358)
1672
1673 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * repeat.el (repeat): Set real-this-command (bug#12232).
1676
1677 * htmlfontify.el (hfy-post-html-hook):
1678 * filesets.el (filesets-cache-fill-content-hook):
1679 * arc-mode.el (archive-extract-hook):
1680 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1681 * net/rcirc.el (rcirc-sentinel-functions)
1682 (rcirc-receive-message-functions, rcirc-activity-functions)
1683 (rcirc-print-functions):
1684 * net/dbus.el (dbus-event-error-functions):
1685 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1686 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1687 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1688 * term/sun.el (sun-raw-prefix-hooks):
1689 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1690
1691 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1692
1693 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1694 Set `tramp-chunksize' to 1. This improves the performance.
1695 (tramp-smb-wait-for-output): Add timeout to
1696 `tramp-accept-process-output' calls.
1697
1698 2012-10-23 Chong Yidong <cyd@gnu.org>
1699
1700 * faces.el (font-list-limit): Define as an obsolete variable.
1701
1702 * startup.el (command-line):
1703 * cus-start.el: Don't refer to font-list-limit.
1704
1705 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1706
1707 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * subr.el (internal-temp-output-buffer-show): Rename from
1710 temp-output-buffer-show, since previously compiled files expect this name.
1711
1712 2012-10-23 Glenn Morris <rgm@gnu.org>
1713
1714 * image.el (image-type-from-file-name): If multiple types match,
1715 return the first one that is supported. (Bug#9045)
1716
1717 2012-10-22 Glenn Morris <rgm@gnu.org>
1718
1719 * image.el (imagemagick-enabled-types): Doc fix.
1720
1721 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1722
1723 * progmodes/which-func.el (which-func-current): The hash-table may have
1724 an explicit nil (bug#12338).
1725
1726 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * electric.el (electric-pair-delete-selection-self-insert-function):
1729 Rename to electric-pair-will-use-region, return a boolean.
1730 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1731
1732 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1733 (delete-selection-pre-hook): Use use-region-p.
1734 (delete-selection-self-insert-function): Remove.
1735 (self-insert-command): Obey self-insert-uses-region-functions.
1736 (self-insert-iso): Revert to previous setting, since we don't actually
1737 know what that command does.
1738 (delete-selection-self-insert-hooks): Remove.
1739
1740 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1741
1742 * delsel.el (delete-selection-helper): New function, extracted from
1743 delete-selection-pre-hook.
1744 (delete-selection-pre-hook): Use it.
1745 (delete-selection-self-insert-function): New function.
1746 (delete-selection-self-insert-hooks): New hook.
1747 (self-insert-command, self-insert-iso): Use it.
1748 * electric.el (electric-pair-syntax): New function, extracted from
1749 electric-pair-post-self-insert-function.
1750 (electric-pair-post-self-insert-function): Use it.
1751 (electric-pair-delete-selection-self-insert-function): New function.
1752 (electric-pair-mode): Require delsel and setup
1753 delete-selection-self-insert-hooks (bug#11520).
1754
1755 2012-10-20 Chong Yidong <cyd@gnu.org>
1756
1757 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1758 no changes to show (Bug#12586).
1759
1760 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1761 list explicitly (Bug#12571).
1762
1763 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1764
1765 * progmodes/flymake.el (flymake-create-temp-inplace):
1766 Use file-truename.
1767
1768 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1769
1770 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1771
1772 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1773
1774 * calc/calc-units.el (math-extract-units): Properly extract powers
1775 of units.
1776
1777 2012-10-20 Daniel Colascione <dancol@dancol.org>
1778
1779 * frame.el (make-frame): Set x-display-name as we used to in order
1780 to unbreak creating an X11 frame from an Emacs daemon started
1781 without a display.
1782
1783 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1786 the same completion-field (bug#12221).
1787
1788 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1789
1790 * emacs-lisp/debug.el (debug): Record height of debugger window
1791 also when debugger will be back (Bug#8789).
1792
1793 2012-10-18 Chong Yidong <cyd@gnu.org>
1794
1795 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1796 Convert to defcustom.
1797 (gdb-get-source-file): Don't bind pop-up-windows.
1798
1799 * progmodes/gud.el (gud-display-line): Don't specially re-use
1800 other frames for the gdb-mi case (Bug#12648).
1801
1802 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * emacs-lisp/advice.el: Clean up commentary a bit.
1805 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1806 (byte-code-function-p): Never redefine.
1807
1808 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1809
1810 2012-10-18 Glenn Morris <rgm@gnu.org>
1811
1812 * dired.el (dired-sort-toggle): Some ls implementations only allow
1813 a single option string. (Bug#12666)
1814
1815 * minibuffer.el (completion-cycle-threshold): Doc fix.
1816
1817 2012-10-17 Kenichi Handa <handa@gnu.org>
1818
1819 * international/mule.el (set-keyboard-coding-system):
1820 Recover input meta mode when the new coding system doesn not use 8-bit.
1821 Supply TERMINAL arg to set-input-meta-mode.
1822
1823 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1824
1825 * wdired.el (wdired-old-marks): New variable.
1826 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1827 (wdired-do-renames): Move point with renamed file and don't lose
1828 mark status (Bug#11795).
1829
1830 2012-10-16 Juri Linkov <juri@jurta.org>
1831
1832 * replace.el (query-replace-help): Mention multi-buffer replacement
1833 keys in the Help message. (Bug#12655)
1834
1835 2012-10-15 Chong Yidong <cyd@gnu.org>
1836
1837 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1838
1839 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1840
1841 * window.el (display-buffer): Doc fix.
1842
1843 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1844 Adjust the msft regexp to the output of Studio 2010, and move msft
1845 before edg-1. See the discussion on emacs-devel,
1846 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1847 for the details.
1848
1849 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1852 (oset): Move uses of object-class-fast macro after its definition.
1853
1854 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1855
1856 2012-10-13 Chong Yidong <cyd@gnu.org>
1857
1858 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1859 enabled, re-enable it (Bug#11963).
1860
1861 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1862
1863 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1864 non-nil, restore window configuration (Bug#12623).
1865
1866 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * help-fns.el (describe-variable, describe-function-1):
1869 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1870
1871 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1872
1873 2012-10-12 Glenn Morris <rgm@gnu.org>
1874
1875 * mail/rmailsum.el (rmail-header-summary):
1876 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1877
1878 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1879
1880 * progmodes/python.el (python-mode-map):
1881 Replace subtitute-key-definition with proper command remapping.
1882 (python-nav--up-list): Fix behavior for blocks on the same level.
1883
1884 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1885
1886 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1887
1888 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1889 changes to the format of load-history.
1890
1891 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1892 completion-ignore-case in case that var is buffer-local (bug#12615).
1893
1894 2012-10-11 Kenichi Handa <handa@gnu.org>
1895
1896 * international/eucjp-ms.el: Re-generated.
1897
1898 2012-10-10 Kenichi Handa <handa@gnu.org>
1899
1900 * select.el (xselect--encode-string): If a coding is specified for
1901 selection, and that is compatible with COMPOUND_TEXT, use it.
1902
1903 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1904
1905 * window.el (switch-to-buffer-preserve-window-point): New option.
1906 (switch-to-buffer):
1907 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1908
1909 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1912 Don't document nil as a useful value (bug#12583).
1913
1914 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1915
1916 * net/tramp.el (tramp-debug-message):
1917 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1918 (with-tramp-progress-reporter): Rename from
1919 `tramp-with-progress-reporter'.
1920 (with-tramp-file-property, with-tramp-connection-property):
1921 Move from tramp-cache.el, rename from `with-file-property' and
1922 `with-connection-property', respectively.
1923
1924 * net/tramp-cache.el: Remove `with-file-property' and
1925 `with-connection-property'.
1926
1927 * net/tramp.el:
1928 * net/tramp-gvfs.el:
1929 * net/tramp-sh.el:
1930 * net/tramp-smb.el: Adapt callees.
1931
1932 * net/trampver.el: Update release number.
1933
1934 2012-10-09 Glenn Morris <rgm@gnu.org>
1935
1936 * w32-fns.el (set-message-beep):
1937 * term/w32-win.el (set-message-beep): Update declarations.
1938
1939 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1942 (mode-line-widen, mode-line-input-method-map)
1943 (mode-line-coding-system-map, mode-line-remote)
1944 (mode-line-unbury-buffer, mode-line-bury-buffer)
1945 (mode-line-next-buffer, mode-line-previous-buffer):
1946 Replace save-selected-window+select-window => with-selected-window.
1947
1948 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1949 * progmodes/cc-vars.el (bq-process): Remove, unused.
1950
1951 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1952
1953 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1954
1955 Implemented `backward-up-list'-like navigation.
1956 * progmodes/python.el (python-nav-up-list)
1957 (python-nav-backward-up-list): New functions.
1958 (python-mode-map): Define substitute key for backward-up-list to
1959 python-nav-backward-up-list.
1960
1961 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1962
1963 * progmodes/python.el (python-fill-paragraph): Rename from
1964 python-fill-paragraph-function. Fixed fill-paragraph for
1965 decorators (Bug#12605).
1966
1967 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1968
1969 * progmodes/python.el (python-shell-output-filter): Handle extra
1970 carriage return in OSX (Bug#12409).
1971
1972 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1973
1974 Fix shell handling of unbalanced quotes and parens in output.
1975 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1976 (python-syntax-propertize-function): Use it.
1977 (python-shell-output-syntax-table): New var.
1978 (inferior-python-mode): Prevent unbalanced parens/quotes from
1979 previous output mess with current input context.
1980
1981 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1982
1983 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1984 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1985
1986 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1987
1988 * ffap.el (ffap-replace-file-component): Support Tramp file name
1989 syntax, not only ange-ftp's one.
1990
1991 2012-10-08 Glenn Morris <rgm@gnu.org>
1992
1993 * cus-start.el (message-log-max): Set :version.
1994
1995 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1996
1997 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1998
1999 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2000 the minibuffer window (Bug#10851).
2001
2002 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2003
2004 Enhancements on forward-sexp movement.
2005 * progmodes/python.el (python-nav-beginning-of-statement)
2006 (python-nav-end-of-statement): Return point-marker.
2007 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2008 (python-info-current-symbol)
2009 (python-info-statement-starts-block-p): Rename from
2010 python-info-beginning-of-block-p.
2011 (python-info-statement-ends-block-p): Rename from
2012 python-info-end-of-block-p.
2013 (python-info-beginning-of-statement-p)
2014 (python-info-end-of-statement-p)
2015 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2016 New functions.
2017
2018 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2021 frame-selected-windows.
2022
2023 2012-10-08 Daniel Colascione <dancol@dancol.org>
2024
2025 * battery.el (battery-status-function): Check for
2026 w32-battery-status itself, not system-time windows-nt.
2027
2028 * frame.el: Require cl-lib.
2029 (display-format-alist): New variable mapping frame types to
2030 functions that initialize them.
2031 (window-system-for-display): New function: interprets
2032 display-format-alist.
2033 (make-frame-on-display): Remove existing display-selection logic
2034 and just forward to make-frame, which will now DTRT.
2035 (make-frame): Restructure to use window-system-for-display to
2036 figure out how to create a frame on a given display.
2037 (display-mouse-p): Look for frame-type w32, not a particular
2038 system-type.
2039
2040 * loadup.el: Load w32 lisp code when we have the w32 feature.
2041
2042 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2043 system-type windows-nt.
2044
2045 * server.el (server-create-window-system-frame): Look for window
2046 type.
2047 (server-proces-filter): Only force a window system when windows-nt
2048 _and_ w32. Explain why.
2049
2050 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2051 of window systems we configure for the mode.
2052
2053 * startup.el (command-line): Mark window system is initialized
2054 after we've done it.
2055
2056 * common-win.el (x-select-text): Look for w32, not windows-nt.
2057
2058 * ns-win.el: Require cl-lib. Add ourselves to
2059 display-format-alist.
2060 (ns-initialize-window-system): Assert we're not initialized twice.
2061
2062 * w32-win.el: Enable lexical binding; require cl-lib; add
2063 ourselves to display-format-alist.
2064 (w32-handle-dropped-file): Convert incoming dropped files from
2065 Windows paths to Cygwin ones before passing them on to the rest of
2066 Emacs.
2067 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2068 (w32-initialize-window-system): Assert we're not initialized twice.
2069
2070 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2071 (x-initialize-window-system): Assert we're not initialized twice.
2072
2073 * w32-common-fns.el: New File.
2074 (w32-version, w32-using-nt, w32-get-clipboard-data)
2075 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2076 (w32-charset-info-alist, x-last-selected, text)
2077 (x-get-selection-value, x-selection-value): Move here.
2078
2079 * w32-fns.el: Require w32-common-fns.
2080 (w32-version, w32-using-nt, w32-get-clipboard-data)
2081 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2082 (w32-charset-info-alist, x-last-selected, text)
2083 (x-get-selection-value, x-selection-value): Move to
2084 w32-common-fns.
2085
2086 * w32-vars.el:
2087 (w32-allow-system-shell, w32-system-shells): Define only in
2088 non-cygwin case.
2089
2090 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2093 (read-passwd): Remove a few more potential sources of leaks.
2094
2095 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2096
2097 * progmodes/python.el (inferior-python-mode)
2098 (python-shell-make-comint): Fix initialization of local
2099 variables copied from parent buffer.
2100
2101 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2102
2103 * term/ns-win.el (ns-read-file-name): Update declaration to match
2104 nsfns.m.
2105 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2106 it is set when font is acted upon.
2107
2108 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2109
2110 Enhancements to indentation.
2111 * progmodes/python.el (python-indent-context): Give priority to
2112 inside-string context. Make comments indentation markers.
2113 (python-indent-region): Do not mess with strings, unless it's the
2114 enclosing set of quotes.
2115
2116 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * window.el (internal--before-save-selected-window)
2119 (internal--after-save-selected-window): New functions extracted from
2120 save-selected-window. Make sure we return the `alist' we construct.
2121 (save-selected-window): Use them.
2122
2123 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2124 Use with-selected-window.
2125
2126 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2127 forms that define macros (bug#12593).
2128
2129 2012-10-07 Kenichi Handa <handa@gnu.org>
2130
2131 * international/mule-conf.el (compound-text-with-extensions):
2132 Add :mime-charset property as x-ctext.
2133
2134 2012-10-07 Stefan Merten <smerten@oekonux.de>
2135
2136 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2137 (rst-indent-literal-normal, rst-indent-literal-minimized)
2138 (rst-indent-comment): Correct :version tag.
2139 (rst-official-cvs-rev): Correct version string.
2140
2141 2012-10-07 Glenn Morris <rgm@gnu.org>
2142
2143 * mail/rmailmm.el (rmail-mime-process-multipart):
2144 Do not confuse a multipart message with an epilogue
2145 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2146
2147 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2148
2149 Fix shell output retrieval and comint-prompt-regexp init.
2150 * progmodes/python.el (inferior-python-mode):
2151 (python-shell-make-comint): Fix initialization of
2152 comint-prompt-regexp from copied file local variables.
2153 (python-shell-fetched-lines): Remove var.
2154 (python-shell-output-filter-in-progress): Rename from
2155 python-shell-fetch-lines-in-progress.
2156 (python-shell-output-filter-buffer): Rename from
2157 python-shell-fetch-lines-string.
2158 (python-shell-fetch-lines-filter): Delete function.
2159 (python-shell-output-filter): New function.
2160 (python-shell-send-string-no-output): Use them.
2161
2162 2012-10-07 Glenn Morris <rgm@gnu.org>
2163
2164 * hi-lock.el (hi-lock-process-phrase):
2165 Try to make it less fragile. (Bug#7161)
2166
2167 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2168
2169 2012-10-06 Glenn Morris <rgm@gnu.org>
2170
2171 * ehelp.el (electric-help-mode): Use help-mode rather than
2172 non-existent mode `help'.
2173 (electric-help-map): Use button-buffer-map. (Bug#10917)
2174
2175 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2176 (reftex-create-bibtex-footer): Fix custom types.
2177
2178 * progmodes/sh-script.el (sh-indent-after-continuation):
2179 Add explicit :group.
2180
2181 * textmodes/rst.el (rst-preferred-decorations)
2182 (rst-shift-basic-offset): Clarify obsolescence versions.
2183
2184 * profiler.el (profiler): Add missing group :version tag.
2185 * avoid.el (mouse-avoidance-banish-position):
2186 * proced.el (proced-renice-command):
2187 * calc/calc.el (calc-ensure-consistent-units):
2188 * calendar/icalendar.el (icalendar-import-format-uid):
2189 * net/tramp.el (tramp-save-ad-hoc-proxies):
2190 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2191 * progmodes/flymake.el (flymake-error-bitmap)
2192 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2193 * progmodes/sh-script.el (sh-indent-after-continuation):
2194 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2195 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2196 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2197 (vhdl-array-index-record-field-in-sensitivity-list)
2198 (vhdl-indent-comment-like-next-code-line):
2199 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2200 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2201 (reftex-cite-key-separator, reftex-create-bibtex-header)
2202 (reftex-create-bibtex-footer):
2203 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2204 (rst-indent-literal-normal, rst-indent-literal-minimized)
2205 (rst-indent-comment): Add missing custom :version tags.
2206
2207 * calendar/timeclock.el (timeclock-modeline-display):
2208 Add missing obsolete alias for renamed user option.
2209
2210 * strokes.el (strokes-modeline-string):
2211 * emulation/crisp.el (crisp-mode-modeline-string):
2212 * eshell/esh-mode.el (eshell-status-in-modeline):
2213 Aliases to defcustoms must come before the defcustom.
2214
2215 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2216 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2217 (cal-tex-cursor-week-monday): Doc fixes.
2218 (cal-tex-cursor-week2-summary): Doc fix.
2219 Rename from cal-tex-cursor-week-at-a-glance.
2220
2221 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2222 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2223
2224 * calendar/calendar.el (calendar-mode-map):
2225 Add cal-tex-cursor-week2-summary.
2226
2227 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2230
2231 * subr.el (read-passwd-map): New var.
2232 (read-passwd): Use `read-string' again.
2233 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2234
2235 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2236
2237 * register.el (append-to-register, prepend-to-register):
2238 Deactivate mark, as does `copy-to-register' (bug#12389).
2239
2240 2012-10-06 Chong Yidong <cyd@gnu.org>
2241
2242 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2243
2244 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2245
2246 * international/characters.el: Fix simple mistake ((car chars) ->
2247 elt), delete duplicated code.
2248
2249 2012-10-06 Glenn Morris <rgm@gnu.org>
2250
2251 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2252
2253 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2254
2255 * color.el (color-hsl-to-rgb): Fix incorrect results for
2256 small and large hue values. (Bug#12559)
2257
2258 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2259
2260 Enhancements to docstring formatting when filling paragraphs.
2261 * progmodes/python.el (python-fill-docstring-style): Rename from
2262 python-fill-string-style. Added new style.
2263 (python-fill-string): Use new style. Better checks for
2264 docstrings.
2265
2266 2012-10-05 Glenn Morris <rgm@gnu.org>
2267
2268 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2269
2270 * color.el (color-name-to-rgb, color-rgb-to-hex)
2271 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2272 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2273 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2274 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2275
2276 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2277
2278 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2279
2280 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2281 to get the correct size across symlinks.
2282
2283 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2284
2285 2012-10-04 Juri Linkov <juri@jurta.org>
2286
2287 * replace.el (query-replace-interactive): Declare obsolete.
2288 (query-replace-read-from): Add the last incremental search string
2289 to the list of default values accessible via M-n.
2290 (map-query-replace-regexp): Use `read-regexp'.
2291 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2292 (map-query-replace-regexp, replace-string, replace-regexp):
2293 Fix docstrings to replace mentions of `query-replace-interactive'
2294 with alternatives. (Bug#12526)
2295
2296 2012-10-04 Juri Linkov <juri@jurta.org>
2297
2298 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2299 (dired-pop-to-buffer): Declare obsolete.
2300 (dired-mark-pop-up): Doc fix.
2301
2302 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2303
2304 Allow user to set docstring style for fill-paragraph.
2305 * progmodes/python.el
2306 (python-fill-comment-function, python-fill-string-function)
2307 (python-fill-decorator-function, python-fill-paren-function):
2308 Remove :safe for defcustoms.
2309 (python-fill-string-style): New defcustom
2310 (python-fill-paragraph-function): Enhance context detection.
2311 (python-fill-string): Honor python-fill-string-style settings.
2312
2313 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2314
2315 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2316 after setting its buffer (Bug#10805).
2317
2318 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2319
2320 Fix cornercase for string syntax.
2321 * progmodes/python.el (python-syntax-propertize-function):
2322 Simplify and enhance the regexp for unescaped quotes. Now it also
2323 matches quotes in weird situations like the single quote in
2324 "something\"'".
2325 (python-syntax-stringify): Simplify num-quotes detecting code.
2326
2327 2012-10-03 Glenn Morris <rgm@gnu.org>
2328
2329 * help-macro.el (three-step-help):
2330 Revert 2012-09-29 change. (Bug#12567)
2331
2332 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2333
2334 * menu-bar.el (kill-this-buffer): Don't do anything when
2335 `menu-frame' is not alive or visible (Bug#8184).
2336
2337 * emacs-lisp/debug.el (debug): When quitting the debugger window
2338 restore current buffer (Bug#12502).
2339
2340 2012-10-02 Chong Yidong <cyd@gnu.org>
2341
2342 * progmodes/hideif.el (hif-lookup, hif-defined):
2343 Handle semantic-c-takeover-hideif.
2344
2345 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2346
2347 Change sampling interval units from ms to ns.
2348 * profiler.el (profiler-sampling-interval): Change units
2349 from ms to ns, multiplying the default by 1000000 so that
2350 it remains 1 ms.
2351 (profiler-report-cpu-line-format): Give enough room for
2352 the maximum counters on 64-bit hosts.
2353 (profiler-report-render-calltree-1): Call them "CPU samples",
2354 not "Time (ms)", since they are not milliseconds now (and
2355 never really were).
2356
2357 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2358
2359 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2360 Fix querying BBDB for entries without a last name (Bug#11580).
2361
2362 2012-10-02 Chong Yidong <cyd@gnu.org>
2363
2364 * emacs-lisp/eieio.el: Restore Version header.
2365
2366 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * vc/diff-mode.el (diff--auto-refine-data): New var.
2369 (diff-hunk): Use it to delay refinement.
2370 (diff-mode): Remove overlays when we turn off font-lock.
2371
2372 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2373 (table-initialize-table-fixed-width-mode)
2374 (table-set-table-fixed-width-mode): Remove functions.
2375 (table-command-list): Move initialization into declaration.
2376 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2377 (table-with-cache-buffer): Use `declare'.
2378 (table-span-cell): Simplify via CSE.
2379 (table-fixed-width-mode): Use define-minor-mode.
2380 (table-call-interactively, table-funcall, table-apply): Remove.
2381 (table-function): New function, to replace them.
2382
2383 * bookmark.el (bookmark-search-pattern): Remove var.
2384 (bookmark-read-search-input): Remove function.
2385 (bookmark-bmenu-search): Reimplement using a minibuffer.
2386
2387 * faces.el (modeline): Remove obsolete face name.
2388
2389 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2390 and give a non-nil default value.
2391 (add-change-log-entry): Simplify accordingly.
2392
2393 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2394
2395 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2396 (vc-git-log-edit-toggle-amend): New function.
2397 (vc-git-log-edit-toggle-signoff): New function.
2398 (vc-git-log-edit-mode): New major mode.
2399 (vc-git-log-edit-mode-map): Keymap for it.
2400 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2401
2402 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2403 header names.
2404 (log-edit-toggle-header): New function.
2405 (log-edit-extract-headers): Accept function values in HEADERS alist.
2406
2407 2012-10-01 David Engster <deng@randomsample.de>
2408
2409 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2410 from symbol property and change message to be more consistent with
2411 Emacs proper.
2412 (eieio-describe-generic): Add filename for each implementation.
2413 Fix indices for generic and normal methods.
2414 (eieio-method-def, eieio-class-def): New buttons.
2415 (eieio-help-find-method-definition)
2416 (eieio-help-find-class-definition): New functions.
2417 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2418 class, constructor and method definitions.
2419
2420 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2421 information in symbol property.
2422 (scoped-class): Remove.
2423 (eieio-slot-name-index, call-next-method): Check if it is bound.
2424
2425 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2426
2427 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2428 (eieio-custom-mode): New major mode.
2429 (eieio-customize-object): Use it.
2430
2431 2012-10-01 Eric Ludlam <zappo@gnu.org>
2432
2433 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2434 specifying the expected class, and whether subclassing is allowed.
2435 (eieio-persistent-convert-list-to-object):
2436 (eieio-persistent-validate/fix-slot-value)
2437 (eieio-persistent-slot-type-is-class-p): New functions.
2438 (eieio-named::slot-missing): Doc fix.
2439
2440 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2441 Stop using unused publd variable.
2442
2443 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2444 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2445 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2446 (eieio-speedbar-handle-click): Do not specify a class for the
2447 method. Fixes method invocation order problems with EDE.
2448
2449 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2452 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2453
2454 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2455
2456 * bookmark.el (bookmark-version-control): Give tags in the
2457 :type choices (Bug#12309), and improve doc string.
2458 (bookmark-write-file): Bind `print-circle' to `t' to allow
2459 circular custom bookmark types. (Bug#12503)
2460
2461 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2462
2463 Revert the FOLLOW-SYMLINKS change for file-attributes.
2464 * files.el (remote-file-name-inhibit-cache, after-find-file):
2465 * time.el (display-time-file-nonempty-p): Undo last change.
2466
2467 * profiler.el (profiler-sampling-interval): Change default back to 1.
2468 See Stefan Monnier in
2469 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2470
2471 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2472
2473 Shell output catching a la gud-gdb.
2474 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2475 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2476 New Vars.
2477 (python-shell-fetch-lines-filter): New function.
2478 (python-shell-send-string-no-output): Use them.
2479
2480 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2481
2482 * profiler.el (profiler-sampling-interval): Rename from
2483 profiler-sample-interval.
2484 (profiler-sampling-interval): Default to 10.
2485 (profiler-find-profile): New command (was profiler-find-log).
2486 (profiler-find-profile-other-window): New command.
2487 (profiler-find-profile-other-frame): New command.
2488 (profiler-profile): Introduce API-level data structure.
2489
2490 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2491
2492 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2493 * files.el (remote-file-name-inhibit-cache):
2494 * time.el (display-time-file-nonempty-p): Use it.
2495 * files.el (after-find-file): Don't chase links before calling
2496 file-exists-p, as file-exists-p already does the right thing.
2497
2498 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2499
2500 Merge from standalone RefTeX repository.
2501
2502 The following ChangeLog entries are shortened versions of the
2503 original ones with file paths adapted. A not so strongly edited
2504 version of the original ChangeLog can be found in the commit log.
2505
2506 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2507 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2508 Correctly handle new value type returned by `reftex-citation'.
2509
2510 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2511 that entries with whitespace at various places are found.
2512 Doc fix. Include entries that are cross-referenced from cited entries.
2513 Include @String definitions in the resulting bib file. Add header
2514 and footer defined in `reftex-create-bibtex-header' and
2515 `reftex-create-bibtex-footer'.
2516 (reftex-do-citation): Make it possible again to insert
2517 non-existent entries. Save match data when asking for optional
2518 arguments. Return all keys, not just the first one.
2519 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2520 all citations in the same line.
2521 (reftex-parse-bibtex-entry): Accept additional optional argument
2522 `raw' and keep quotes or braces if it is non-nil. Match fields
2523 containing hyphens besides word constituents.
2524 (reftex-get-string-refs): New function.
2525 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2526 and ask if it should be reread in case it did.
2527 (reftex-pop-to-bibtex-entry)
2528 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2529 entries with spaces or tabs in front of arguments.
2530 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2531 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2532 Match entries containing numbers and symbol constituents.
2533 (reftex-do-citation, reftex-figure-out-cite-format):
2534 Use `reftex-cite-key-separator'.
2535
2536 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2537 (reftex-mouse-view-crossref): Explain why point is set.
2538
2539 * textmodes/reftex-global.el: Whitespace changes.
2540
2541 * textmodes/reftex-index.el: Move provide statement to end of
2542 file.
2543 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2544 (reftex-index-visit-phrases-buffer): Set marker when visiting
2545 buffer. This allows for returning from the phrases file to the
2546 file one was just editing instead of the file where the last
2547 phrases was added from.
2548 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2549 punctuation syntax as it usually is not used as string quote in
2550 TeX-related modes and may occur unmatched. The change also
2551 prevents fontification of quoted content.
2552 (reftex-index-phrases-mode): Use it.
2553
2554 * textmodes/reftex-parse.el (reftex-parse-from-file):
2555 Move backward one char if a `\' was matched after a section macro.
2556 (reftex-parse-from-file): Use beginning of match instead of end as
2557 bound.
2558
2559 * textmodes/reftex-ref.el: Adapt creation of
2560 `reftex-<package>-<macro>' functions to new structure of
2561 `reftex-ref-style-alist'.
2562 (reftex-reference): Use `reftex-ref-style-list' function.
2563 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2564 reference macro if `reftex-ref-macro-prompt' is non-nil.
2565 (reftex-reference): Pass refstyle to `reftex-format-special'.
2566 Determine reference macro by looking at
2567 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2568 Use only one special format function.
2569 (reftex-varioref-vref, reftex-fancyref-fref)
2570 (reftex-fancyref-Fref): Remove definitions. The functions are now
2571 generated from `reftex-ref-style-alist'.
2572 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2573 Remove.
2574 (reftex-format-special): New function.
2575
2576 * textmodes/reftex-sel.el
2577 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2578 of `reftex-ref-style-alist'. Remove code for testing macro type.
2579 (reftex-select-toggle-varioref)
2580 (reftex-select-toggle-fancyref): Remove.
2581 (reftex-select-cycle-ref-style-internal)
2582 (reftex-select-cycle-ref-style-forward)
2583 (reftex-select-cycle-ref-style-backward): New functions.
2584 (reftex-select-label-map): Use `v' and `V' for general cycling
2585 through reference styles. Add `p' for switching between number
2586 and page reference types.
2587
2588 * textmodes/reftex-toc.el (reftex-re-enlarge):
2589 Call `enlarge-window' only if there is something to do because in Emacs
2590 the horizontal version throws an error even if the parameter is 0.
2591
2592 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2593 (reftex-plug-into-AUCTeX): Doc fix.
2594 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2595 string. Adapt to new name.
2596 (reftex-ref-style-alist): Change structure so that it is not
2597 possible to use multiple different package names within a style.
2598 Remove the symbols for symbols for macro type distinction.
2599 Add characters for macro selection.
2600 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2601 (reftex-create-bibtex-footer): New variables.
2602 (reftex-format-ref-function): Mention third argument of special
2603 format function.
2604 (reftex-ref-style-alist, reftex-ref-style-default-list):
2605 New variables.
2606 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2607 to new implementation. Mark as obsolete. Add compatibility code
2608 for honoring the variable values in case they are set.
2609 (reftex-cite-format-builtin, reftex-bibliography-commands):
2610 Add support for ConTeXt.
2611 (reftex-format-ref-function, reftex-format-cite-function):
2612 Fix custom type.
2613 (reftex-cite-key-separator): New variable.
2614
2615 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2616 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2617 `reftex-syntax-table' because parens have to retain their paren
2618 syntax in order for parsing of BibTeX entries like @book(...) to
2619 work.
2620 (reftex-in-comment): Do not error out if `comment-start-skip' is
2621 not set. Deal correctly with escaped comment characters.
2622 (reftex-tie-multifile-symbols): Add doc string.
2623 Initialize `reftex-ref-style-list'.
2624 (reftex-untie-multifile-symbols): Add doc string.
2625 (reftex-add-index-macros): Doc fix.
2626 (reftex-ref-style-activate, reftex-ref-style-toggle)
2627 (reftex-ref-style-list): New functions.
2628 (reftex-mode-menu): Use them. Adapt to new structure of
2629 `reftex-ref-style-alist'.
2630 (reftex-select-with-char): Kill the RefTeX Select buffer when
2631 done.
2632 (reftex-remove-if): New function.
2633 (reftex-erase-all-selection-and-index-buffers)
2634 (reftex-mode-menu): Reference styles are now computed from
2635 `reftex-ref-style-alist'. Fix typo.
2636 (reftex-report-bug): New function.
2637 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2638 algorithms with O(n log n). Introduce optional argument SORT (not
2639 yet used).
2640
2641 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2642
2643 Enhancements for triple-quote string syntax.
2644 * progmodes/python.el (python-syntax-propertize-function):
2645 Match both quote cases in one regexp.
2646 (python-syntax-stringify): Handle matches properly.
2647
2648 2012-09-30 Juri Linkov <juri@jurta.org>
2649
2650 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2651 to nil around the call to `insert' to prevent
2652 directory time modification by lock_file. (Bug#2295)
2653 * tar-mode.el (tar-summarize-buffer): Idem.
2654
2655 2012-09-30 Juri Linkov <juri@jurta.org>
2656
2657 * facemenu.el (list-colors-sort): Add option "Luminance".
2658 (list-colors-sort-key): Implement it.
2659
2660 * vc/diff-mode.el (diff-refine-removed):
2661 * vc/ediff-init.el (ediff-fine-diff-A):
2662 * vc/smerge-mode.el (smerge-refined-removed):
2663 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2664
2665 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2666
2667 * term/ns-win.el (x-file-dialog): New function.
2668
2669 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2670
2671 * ido.el (ido-max-directory-size): Default to nil; the current
2672 default is small for POSIX systems, and impractical on Windows 7
2673 now that lstat returns directory sizes for NTFS.
2674
2675 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2676
2677 In buffer display functions handle window-height/window-width
2678 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2679 * window.el (window--display-buffer): New argument ALIST.
2680 Obey window-height and window-width alist entries.
2681 (window--try-to-split-window): New argument ALIST.
2682 Bind window-combination-limit to t when the window's size shall be
2683 changed and window-combination-limit equals `window-size'.
2684 (display-buffer-in-atom-window)
2685 (display-buffer-in-major-side-window)
2686 (display-buffer-in-side-window, display-buffer-same-window)
2687 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2688 (display-buffer-pop-up-window, display-buffer-below-selected)
2689 (display-buffer-at-bottom, display-buffer-in-previous-window)
2690 (display-buffer-use-some-window): Adjust all callers of
2691 window--display-buffer and window--try-to-split-window.
2692 (fit-frame-to-buffer): New option.
2693 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2694 is non-nil.
2695 (display-buffer-in-major-side-window): Evaluate window-height /
2696 window-width alist entries.
2697
2698 * help.el (temp-buffer-resize-frames)
2699 (temp-buffer-resize-regexps): Remove options.
2700 (temp-buffer-resize-mode): Adjust doc-string.
2701 (resize-temp-buffer-window): Don't consult
2702 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2703 temp-buffer-resize-frames.
2704
2705 * dired.el (dired-mark-pop-up):
2706 Call display-buffer-below-selected with a fit-window-to-buffer alist
2707 entry.
2708
2709 2012-09-30 Chong Yidong <cyd@gnu.org>
2710
2711 * server.el (server-host): Document the security implications.
2712 (server-auth-key): Doc fix.
2713
2714 * startup.el (initial-buffer-choice): Doc fix.
2715
2716 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2717
2718 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2719 restriction change.
2720
2721 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2722
2723 * help-fns.el (help-fns--obsolete): Fix last change.
2724
2725 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2728 (minor-mode-map-alist): Remove redundant code.
2729
2730 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2731 visited in a buffer.
2732 (cvs-insert-visited-file): New function.
2733 (find-file-hook): Use it.
2734
2735 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2736
2737 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2738 chose face.
2739 (log-edit-empty-buffer-p): Don't require a space after a header.
2740
2741 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2742
2743 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2744
2745 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2746 a proper minor-mode.
2747
2748 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2749
2750 2012-09-29 Glenn Morris <rgm@gnu.org>
2751
2752 * winner.el (winner-mode): Remove variable (let define-minor-mode
2753 handle it).
2754 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2755 Doc fixes.
2756 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2757 (winner-mode): Use define-minor-mode.
2758
2759 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2760 the full definition in loaddefs, rather than duplicating it.
2761
2762 * help-macro.el (three-step-help): No need to autoload defcustom.
2763
2764 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2765 (inferior-lisp-program, inferior-lisp-load-command)
2766 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2767 No need to autoload defcustoms.
2768
2769 * hippie-exp.el (hippie-expand-try-functions-list)
2770 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2771 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2772 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2773 (hippie-expand-only-buffers): No need to autoload defcustoms.
2774 * progmodes/vhdl-mode.el (vhdl-line-expand):
2775 Explicitly load hippie-exp, so it does not get autoloaded
2776 while hippie-expand-try-functions-list is let-bound.
2777
2778 2012-09-28 Glenn Morris <rgm@gnu.org>
2779
2780 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2781
2782 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2783 Only "cl.el" counts as cl these days.
2784
2785 2012-09-28 Juri Linkov <juri@jurta.org>
2786
2787 Display archive errors in the echo area instead of inserting
2788 to the file buffer.
2789
2790 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2791 to STDERR-TEST that can be a regexp matching a successful output.
2792 Create a temporary file and redirect stderr to it. Search for
2793 STDERR-TEST in the stderr output and display it in the echo area
2794 if no match is found.
2795 (archive-extract-by-file): New function like
2796 `archive-extract-by-stdout' but extracting archives to files
2797 and looking for successful matches in stdout. Function body is
2798 mostly copied from `archive-rar-extract'.
2799 (archive-rar-extract): Use `archive-extract-by-file'.
2800 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2801
2802 2012-09-28 Leo Liu <sdl.web@gmail.com>
2803
2804 * pcomplete.el (pcomplete-show-completions):
2805 Use minibuffer-message to make pcomplete usable in minibuffer.
2806
2807 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2808
2809 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * type-break.el: Use lexical-binding.
2812 (type-break-mode): Use define-minor-mode.
2813
2814 * emacs-lisp/pcase.el (pcase--mark-used): New.
2815 (pcase--u1): Use it (bug#12512).
2816
2817 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2818 in load-history with the right file name.
2819
2820 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2821
2822 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2823 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2824 (doc-view-get-bounding-box): Make bounding box slicing work for
2825 ODF and DVI documents.
2826
2827 2012-09-28 Glenn Morris <rgm@gnu.org>
2828
2829 * type-break.el (type-break-mode, type-break-interval)
2830 (type-break-good-rest-interval, type-break-keystroke-threshold):
2831 No need to autoload.
2832 (type-break-good-rest-interval, type-break-keystroke-threshold):
2833 Add :set-after.
2834
2835 2012-09-28 Chong Yidong <cyd@gnu.org>
2836
2837 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2838 Add :version tag.
2839
2840 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2843
2844 2012-09-27 Glenn Morris <rgm@gnu.org>
2845
2846 * faces.el (x-display-name): Declare (for without-x builds).
2847
2848 * linum.el (linum-format): Don't autoload it. Improve :type.
2849
2850 * progmodes/tcl.el: Don't require outline when compiling.
2851 (outline-regexp, outline-level): Declare.
2852 * textmodes/sgml-mode.el: Don't require outline when compiling.
2853 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2854
2855 * term.el (term-ansi-reset):
2856 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2857
2858 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2859 files for RCS and SCCS. (Bug#9781)
2860
2861 2012-09-27 Chong Yidong <cyd@gnu.org>
2862
2863 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2864 change; value should be t.
2865
2866 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * image-mode.el: Use lexical-binding.
2869 (image-mode-winprops): Use t to stand for the window of
2870 a buffer that's not displayed.
2871 * doc-view.el (doc-view-new-window-function): Handle the new
2872 t in winprops.
2873 (doc-view-enlarge): Make it a real nop if the size is not changed.
2874 (doc-view-display): Handle the case where the buffer is not (yet?)
2875 displayed in any window.
2876 (doc-view-saved-settings): New var.
2877 (doc-view-mode): Use it.
2878 (doc-view-fallback-mode): Set it.
2879
2880 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2881 Set lexical-binding.
2882 (minibuffer-eldef-shorten-default): New var.
2883 (minibuffer-default-in-prompt-regexps): Use it for new default.
2884 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2885
2886 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2887
2888 * international/uni-bidi.el:
2889 * international/uni-category.el:
2890 * international/uni-name.el:
2891 * international/uni-numeric.el: Regenerate.
2892
2893 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2894 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * profiler.el: New file.
2897
2898 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2901 (testcover-reinstrument): Simplify with CSE.
2902
2903 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2906
2907 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2908
2909 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2910 (verilog-auto-input, verilog-auto-insert-lisp)
2911 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2912 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2913 (verilog-auto-unused, verilog-auto-wire)
2914 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2915 newline. Reported by Andrew Jones.
2916 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2917 Reported by Brad Dobbie.
2918 (verilog-batch-delete-trailing-whitespace):
2919 Create verilog-batch-delete-trailing-whitespace.
2920 Reported by Brad Dobbie.
2921 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2922 parameters from another module. Reported by Dan Katz.
2923 (verilog-auto, verilog-auto-assign-modport)
2924 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2925 AUTOINOUTMODPORT for UVM interface module shell generation.
2926 Reported by Brad Dobbie.
2927 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2928 standard behavior.
2929 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2930 Reported by Matt Martin.
2931
2932 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2933
2934 * window.el (window--resize-child-windows): When resizing child
2935 windows proportionally, process them in reverse order to
2936 preserve the "when splitting a window the new one gets the odd
2937 line" behavior.
2938 (window--resize-root-window-vertically): When resizing the
2939 minibuffer window try to affect only windows at the bottom of the
2940 frame. (Bug#12419)
2941
2942 2012-09-25 Chong Yidong <cyd@gnu.org>
2943
2944 * subr.el (declare): Doc fix.
2945
2946 * help-fns.el (help-fns--obsolete): Handle macros properly.
2947
2948 2012-09-25 Chong Yidong <cyd@gnu.org>
2949
2950 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2951 this function obsolete.
2952
2953 * calendar/cal-x.el (calendar-two-frame-setup)
2954 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2955 * calendar/calendar.el (american-calendar, european-calendar)
2956 (calendar-for-loop):
2957 * comint.el (comint-dynamic-simple-complete)
2958 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2959 * desktop.el (desktop-load-default):
2960 * dired-x.el (dired-omit-here-always)
2961 (dired-hack-local-variables, dired-default-directory):
2962 * emacs-lisp/derived.el (derived-mode-class):
2963 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2964 * emacs-lock.el (toggle-emacs-lock):
2965 * epa.el (epa-display-verify-result):
2966 * epg.el (epg-sign-keys, epg-start-sign-keys)
2967 (epg-passphrase-callback-function):
2968 * eshell/esh-util.el (eshell-for):
2969 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2970 (eshell-add-to-window-buffer-names):
2971 * files.el (locate-file-completion):
2972 * imenu.el (imenu-example--create-c-index)
2973 (imenu-example--create-lisp-index)
2974 (imenu-example--lisp-extract-index-name)
2975 (imenu-example--name-and-position):
2976 * international/mule-cmds.el (princ-list):
2977 * international/mule-diag.el (decode-codepage-char):
2978 * international/mule-util.el (detect-coding-with-priority):
2979 * iswitchb.el (iswitchb-read-buffer):
2980 * mail/mailalias.el (mail-complete):
2981 * mail/sendmail.el (mail-sent-via):
2982 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2983 (mouse-major-mode-menu):
2984 * password-cache.el (password-read-and-add):
2985 * pcomplete.el (pcomplete-parse-comint-arguments):
2986 * progmodes/sh-script.el (sh-maybe-here-document):
2987 * replace.el (query-replace-regexp-eval):
2988 * savehist.el (savehist-load):
2989 * simple.el (choose-completion-delete-max-match):
2990 * term.el (term-dynamic-simple-complete):
2991 * vc/ediff-init.el (ediff-check-version):
2992 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2993 * vc/vc.el (vc-diff-switches-list):
2994 * view.el (view-return-to-alist-update): Likewise.
2995
2996 * subr.el (eval-next-after-load, makehash, insert-string)
2997 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2998 mark obsolete.
2999 (mode-line-inverse-video): Variable deleted.
3000
3001 * international/mule-util.el (string-to-sequence): Remove.
3002
3003 * calendar/calendar.el (calendar-version):
3004 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3005 (icalendar-convert-diary-to-ical):
3006 * cus-edit.el (custom-mode):
3007 * ansi-color.el (ansi-color-unfontify-region):
3008 * international/latin1-disp.el (latin1-char-displayable-p):
3009 * progmodes/cwarn.el (turn-on-cwarn-mode):
3010 * progmodes/which-func.el (which-func-update-1):
3011 Use define-obsolete-function-alias.
3012
3013 * net/newst-backend.el (newsticker-cache-filename):
3014 * net/newst-treeview.el (newsticker-groups-filename):
3015 Fix incorrect obsolescence declaration.
3016
3017 * allout.el (allout-passphrase-hint-string): Likewise.
3018 (allout-init): Use a declare form to mark obsolete.
3019
3020 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3021 this applies to functions.
3022
3023 * iswitchb.el (iswitchb-read-buffer): Move code of
3024 iswitchb-define-mode-map here, and delete that obsolete function.
3025
3026 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3027 font-lock-reference-face.
3028
3029 2012-09-25 Glenn Morris <rgm@gnu.org>
3030
3031 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3032 Doc fixes.
3033
3034 * eshell/em-term.el (eshell-term-name):
3035 Default to term-term-name. (Bug#12485)
3036
3037 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3038
3039 * progmodes/python.el (python-shell-send-buffer): Better handling
3040 of "if __name__ == '__main__':" conditionals when sending the buffer.
3041
3042 2012-09-24 Glenn Morris <rgm@gnu.org>
3043
3044 * eshell/esh-cmd.el (eshell-find-alias-function):
3045 Tighten up file-name regexp. (Bug#12499)
3046
3047 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3048
3049 Enhancements for triple-quote string syntax.
3050 * progmodes/python.el (python-quote-syntax): Remove.
3051 (python-syntax-propertize-function): New value.
3052 (python-syntax-count-quotes, python-syntax-stringify):
3053 New functions.
3054
3055 2012-09-24 Chong Yidong <cyd@gnu.org>
3056
3057 * mail/supercite.el (sc-version): Remove obsolete function.
3058 (sc-describe): Don't mark as obsolete, since it is bound.
3059 (sc-submit-bug-report): Remove.
3060
3061 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3062 (cvs-commit-buffer-require-final-newline): Remove.
3063 (log-edit-require-final-newline)
3064 (log-edit-changelog-full-paragraphs): Default to t.
3065
3066 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3067 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3068 * vc/vc.el (vc-checkout-carefully): Likewise.
3069
3070 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3071 (emerge-version): Remove.
3072
3073 * progmodes/compile.el (compile-internal): Remove.
3074 (compilation-parse-errors-function): Fix typo.
3075
3076 * international/mule.el (set-char-table-default): Remove.
3077 (set-coding-priority, make-coding-system, generic-char-p)
3078 (charset-list, charset-bytes, charset-id): Use declare to mark
3079 functions as obsolete.
3080
3081 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3082 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3083 * vc/vc-hooks.el (vc-default-registered): Don't use
3084 vc-master-templates.
3085
3086 * font-lock.el (font-lock-reference-face):
3087 Use define-obsolete-variable-alias.
3088
3089 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3090 * calendar/calendar.el (calendar-font-lock-keywords):
3091 * calendar/diary-lib.el (diary-font-lock-keywords)
3092 (diary-fancy-font-lock-keywords):
3093 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3094 * textmodes/reftex-index.el (reftex-insert-index):
3095 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3096 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3097 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3098 * progmodes/prolog.el (prolog-font-lock-keywords):
3099 * progmodes/idlwave.el (idlwave-idl-keywords):
3100 * progmodes/ada-mode.el (ada-font-lock-keywords):
3101 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3102
3103 2012-09-24 Glenn Morris <rgm@gnu.org>
3104
3105 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3106
3107 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3108
3109 * progmodes/python.el (python-indent-line): More consistent cursor
3110 movement behavior.
3111
3112 2012-09-23 Stefan Merten <smerten@oekonux.de>
3113
3114 * textmodes/rst.el: Fix compiler warning.
3115
3116 2012-09-23 Roland Winkler <winkler@gnu.org>
3117
3118 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3119 Transcribe also LaTeX hyphenation.
3120 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3121 bibtex-reformat-previous-options.
3122
3123 2012-09-23 Roland Winkler <winkler@gnu.org>
3124
3125 * proced.el (proced-renice-command): New variable.
3126 (proced-marked-processes): New function.
3127 (proced-with-processes-buffer): New macro.
3128 (proced-send-signal): Use them.
3129 (proced-renice): New command bound to r.
3130
3131 2012-09-23 Roland Winkler <winkler@gnu.org>
3132
3133 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3134 ibuffer-saved-filter-groups has one element, shortcut the call of
3135 completing-read. (Bug#12331)
3136
3137 2012-09-23 Chong Yidong <cyd@gnu.org>
3138
3139 * bindings.el (mode-line-toggle-read-only):
3140 * bs.el (bs-toggle-readonly):
3141 * buff-menu.el (Buffer-menu-toggle-read-only):
3142 * dired.el (dired-toggle-read-only):
3143 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3144
3145 2012-09-23 Chong Yidong <cyd@gnu.org>
3146
3147 * image.el (image-type-available-p): Adapt to init-image-library
3148 argument changes.
3149
3150 2012-09-22 Juri Linkov <juri@jurta.org>
3151
3152 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3153 `dired-toggle-read-only'. (Bug#12462)
3154
3155 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3156
3157 * subr.el (temp-output-buffer-show): New function.
3158 (with-output-to-temp-buffer): Call temp-output-buffer-show
3159 instead of internal-temp-output-buffer-show.
3160
3161 2012-09-22 Chong Yidong <cyd@gnu.org>
3162
3163 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3164 (Bug#12462).
3165
3166 * repeat.el (repeat): Doc fix (Bug#12348).
3167
3168 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3169 (Bug#10909).
3170
3171 * simple.el (shell-command-on-region): Doc fix.
3172 (read-only-mode): Doc fix.
3173
3174 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3175
3176 * emacs-lisp/timer.el (run-with-idle-timer)
3177 (timer-activate-when-idle): Warn against reinvoking an idle timer
3178 from within its own timer action. (Bug#12447)
3179
3180 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3181
3182 * cus-start.el (window-combination-limit): Add new optional
3183 values.
3184 * window.el (temp-buffer-window-show)
3185 (window--try-to-split-window): Handle new values of
3186 window-combination-limit (Bug#1806).
3187 (split-window): Test window-combination-limit for t instead of
3188 non-nil.
3189 (display-buffer-at-bottom): New buffer display action function.
3190 * help.el (temp-buffer-resize-regexps): New option.
3191 (temp-buffer-resize-mode): Rewrite doc-string.
3192 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3193 Don't resize reused window. Suggested by Glenn Morris.
3194
3195 2012-09-22 Stefan Merten <smerten@oekonux.de>
3196
3197 * textmodes/rst.el: Revamp section title faces.
3198 (rst-official-version)
3199 (rst-package-emacs-version-alist): Sync with official version
3200 V1.4.0.
3201 (rst-faces-defaults, rst-set-level-default)
3202 (rst-level-face-max, rst-level-face-base-color)
3203 (rst-level-face-base-light, rst-level-face-format-light)
3204 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3205 (rst-adornment-faces-alist): Match new setup.
3206 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3207 (rst-level-5, rst-level-6): New faces.
3208
3209 2012-09-22 Chong Yidong <cyd@gnu.org>
3210
3211 * simple.el (undo): Handle indirect buffers (Bug#8207).
3212
3213 2012-09-21 Leo Liu <sdl.web@gmail.com>
3214
3215 IDO: Disable match re-ordering for buffer switching.
3216 * ido.el (ido-buffer-disable-smart-matches): New variable.
3217 (ido-set-matches-1): Use it. (Bug#2042)
3218
3219 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3220
3221 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3222 Fix 2011-05-17 change. (Bug#12418)
3223
3224 2012-09-21 Leo Liu <sdl.web@gmail.com>
3225
3226 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3227
3228 2012-09-21 Glenn Morris <rgm@gnu.org>
3229
3230 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3231 Be more robust about locating simple.el.
3232
3233 2012-09-21 Glenn Morris <rgm@gnu.org>
3234
3235 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3236
3237 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3238
3239 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3240
3241 2012-09-20 Juri Linkov <juri@jurta.org>
3242
3243 * replace.el (query-replace-read-from): Use `read-regexp' instead
3244 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3245 (occur-read-primary-args): Use `read-regexp' instead of
3246 `read-string'.
3247 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3248 `read-from-minibuffer'.
3249 * isearch.el (isearch-occur): Use `read-regexp' instead of
3250 `read-string'.
3251 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3252 `read-from-minibuffer'.
3253 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3254 of `read-string'. (Bug#7567)
3255
3256 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3257 and allow accepting a list of strings prepended to a list of
3258 standard default values. Doc fix. (Bug#12321)
3259
3260 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3261
3262 * replace.el (read-regexp): Don't add ": " when PROMPT already
3263 ends with a colon and space. (Bug#12321)
3264
3265 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3266
3267 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3268 error.
3269
3270 2012-09-20 Stefan Merten <smerten@oekonux.de>
3271
3272 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3273 Fixes feature request bug#11711.
3274 (rst-mode): Create `imenu-create-index-function'.
3275 (rst-get-stripped-line): Delete after refactoring.
3276 (rst-section-tree, rst-section-tree-rec)
3277 (rst-section-tree-point): Refactor and document properly.
3278 (rst-imenu-find-adornments-for-position)
3279 (rst-imenu-convert-cell, rst-imenu-create-index):
3280 New function.
3281
3282 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3285 (macroexp--expand-all): Use it.
3286 (macroexp--funcall-and-return): Remove by folding it into its sole
3287 caller (macroexp--warn-and-return).
3288 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3289 Use macroexp--obsolete-warning.
3290
3291 * calc/calc.el: Fix last change by removing the whole chunk, since it
3292 was only needed back when Calc was not bundled.
3293
3294 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3295
3296 * emacs-lisp/debug.el (debug): Restore assignment to
3297 debugger-old-buffer removed on 2012-09-08.
3298
3299 2012-09-20 Juri Linkov <juri@jurta.org>
3300
3301 * dired-aux.el (dired-diff): Remove (require 'diff) since
3302 `diff-latest-backup-file' is now autoloaded.
3303
3304 2012-09-20 Chong Yidong <cyd@gnu.org>
3305
3306 * vc/diff.el (diff-latest-backup-file): Autoload.
3307
3308 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * calc/calc.el: Remove redundant autoload shape check.
3311 (sel-mode): Don't defvar.
3312 (calc-get-stack-element): Add `sel-mode' arg instead.
3313 (calc-top, calc-top-list): Pass it this additional argument.
3314 * calc/calc-store.el (calc-store-map):
3315 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3316 (calc-map-equation, calc-outer-product, calc-inner-product):
3317 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3318
3319 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3320
3321 2012-09-19 Juri Linkov <juri@jurta.org>
3322
3323 * dired-aux.el (dired-diff): Add (require 'diff) because
3324 `diff-latest-backup-file' is not autoloaded.
3325 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3326 of `dired-get-filename' to t to not report error when there is
3327 no default file on the current line.
3328
3329 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3332 macroexp--eval-if-compile.
3333 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3334 (macroexp--expand-all): Use them (bug#12371).
3335
3336 * doc-view.el (doc-view-guess-paper-size)
3337 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3338
3339 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3340
3341 New feature: set optimal slice from BoundingBox information.
3342 * doc-view.el (doc-view-mode-map): Add keybinding.
3343 (doc-view-menu): Add menu entry.
3344 (doc-view-set-slice): Adapt docstring.
3345 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3346 (doc-view-scale-bounding-box)
3347 (doc-view-set-slice-from-bounding-box): New functions.
3348 (doc-view-paper-sizes): New defvar.
3349
3350 2012-09-19 Glenn Morris <rgm@gnu.org>
3351
3352 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3353 (byte-compile-log-warning): Autoload. (Bug#12371)
3354
3355 * calendar/calendar.el (calendar-american-month-header)
3356 (calendar-european-month-header, calendar-iso-month-header)
3357 (calendar-month-header): New options.
3358 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3359 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3360
3361 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3362
3363 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3364
3365 2012-09-18 Juri Linkov <juri@jurta.org>
3366
3367 * dired-aux.el (dired-diff): Restore original functionality of
3368 getting the default value, but keep new feature of using the
3369 latest existing backup file (`diff-latest-backup-file').
3370
3371 2012-09-18 Juri Linkov <juri@jurta.org>
3372
3373 * dired.el (dired-mark): If the region is active in Transient Mark
3374 mode, mark all files in the active region. Doc fix.
3375 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3376 Doc fix. (Bug#10624)
3377
3378 2012-09-18 Juri Linkov <juri@jurta.org>
3379
3380 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3381 attributes for M-n are pulled from the file at point.
3382 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3383 Suggested by Drew Adams. (Bug#10624)
3384
3385 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3388 whitespace after "end".
3389 (ruby-do-end-to-brace): Collapse block to one line if it fits
3390 within fill-column.
3391
3392 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3393
3394 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3395 value.
3396 (debug): Don't remove debugger window when debugger is expected
3397 to be back.
3398
3399 2012-09-18 Chong Yidong <cyd@gnu.org>
3400
3401 * custom.el (defface): Doc fix.
3402
3403 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3404
3405 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3406
3407 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3408 to initialize query-on-exit; then test that instead (bug#12288).
3409
3410 2012-09-17 Stefan Merten <smerten@oekonux.de>
3411
3412 * textmodes/rst.el: Add support for `testcover'.
3413 (rst-defcustom-testcover, rst-testcover-add-compose)
3414 (rst-testcover-add-1value): New functions.
3415 (rst-portable-mark-active-p): Replace by `use-region-p'.
3416 (rst-update-section, rst-classify-adornment)
3417 (rst-find-title-line): Mark `1value' forms.
3418 (rst-classify-adornment): Remove superfluous form.
3419 (rst-update-section, rst-get-adornments-around)
3420 (rst-adornment-complete-p, rst-get-next-adornment)
3421 (rst-adjust, rst-promote-region)
3422 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3423 (rst-find-pfx-in-region, rst-section-tree-rec)
3424 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3425 (rst-toc-node, rst-toc, rst-forward-section)
3426 (rst-iterate-leftmost-paragraphs)
3427 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3428 (rst-bullet-list-region)
3429 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3430 (rst-compile-find-conf, rst-compile)
3431 (rst-repeat-last-character): Fix style.
3432
3433 2012-09-17 Chong Yidong <cyd@gnu.org>
3434
3435 * comint.el (comint--complete-file-name-data): Don't add a space
3436 if the status is `sole'; that adds a gratuitous space in the
3437 completion-cycling case (Bug#12092).
3438
3439 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3440
3441 2012-09-17 Richard Stallman <rms@gnu.org>
3442
3443 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3444 only in the mime-shown mode, not in raw mode.
3445 (rmail-mime): Toggle off mime by displaying the message without
3446 mime processing. (Bug#12305)
3447
3448 * mail/rmail.el (rmail-retry-failure):
3449 Turn off mime processing first. (Bug#12037)
3450
3451 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3452
3453 2012-09-17 Chong Yidong <cyd@gnu.org>
3454
3455 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3456 (shell-dynamic-complete-functions): Convert to defcustom.
3457 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3458
3459 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3460 * comint.el (comint-prompt-read-only):
3461 * custom.el (defcustom):
3462 * hi-lock.el (hi-lock-mode):
3463 * ibuffer.el (ibuffer-formats):
3464 * ielm.el (ielm-prompt-read-only):
3465 * novice.el (disable-command):
3466 * saveplace.el (toggle-save-place):
3467 * speedbar.el (speedbar-supported-extension-expressions):
3468 * startup.el (auto-save-list-file-prefix, init-file-user)
3469 (after-init-hook, inhibit-startup-echo-area-message):
3470 * strokes.el (strokes-help):
3471 * time-stamp.el (time-stamp):
3472 * calendar/calendar.el (calendar, diary-file):
3473 * calendar/diary-lib.el (diary-mail-entries, diary)
3474 (diary-list-entries-hook):
3475 * calendar/holidays.el (holidays, calendar-holidays):
3476 * calendar/lunar.el (lunar-phases):
3477 * calendar/solar.el (sunrise-sunset):
3478 * emulation/edt.el (edt-load-keys):
3479 * emulation/viper.el (viper-mode):
3480 * eshell/em-alias.el (eshell-command-aliases-list):
3481 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3482 * international/ogonek.el (ogonek-information):
3483 * net/tramp-cmds.el (tramp-bug):
3484 * net/quickurl.el (quickurl-reread-hook-postfix):
3485 * play/decipher.el (decipher-font-lock-keywords):
3486 * progmodes/cc-styles.el (c-set-style):
3487 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3488 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3489 * progmodes/octave-mod.el (octave-mode):
3490 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3491 * progmodes/verilog-mode.el (verilog-read-defines):
3492 * textmodes/two-column.el (2C-mode): Likewise.
3493
3494 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3495
3496 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3497 that holds many addresses.
3498
3499 2012-09-16 Chong Yidong <cyd@gnu.org>
3500
3501 * align.el (align-areas): Call the indication function with
3502 positions instead of markers for arguments (Bug#12343).
3503
3504 * files.el (parse-colon-path): Use split-string (Bug#12351).
3505
3506 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3507 (display-buffer-function): Mark as obsolete.
3508
3509 * progmodes/compile.el (compilation-parse-errors): Accept list
3510 values similar to font-lock-keywords (Bug#12136).
3511 Suggested by Oleksandr Manzyuk.
3512 (compilation-error-regexp-alist): Doc fix.
3513
3514 2012-09-15 Glenn Morris <rgm@gnu.org>
3515
3516 * version.el (emacs-bzr-version-bzr): New function.
3517 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3518
3519 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3520 checkouts, check the parent dirstate matches the branch.
3521 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3522 empty string.
3523
3524 * version.el (emacs-bzr-version): Doc fix.
3525 (emacs-bzr-version-dirstate): New function.
3526 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3527 is local try and check that it matches the branch. If not, just
3528 use dirstate information. (Bug#12441)
3529
3530 2012-09-14 Juri Linkov <juri@jurta.org>
3531
3532 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3533 (Bug#12399)
3534
3535 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3538
3539 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3540 Remove obsolete byte-compiler hack that tried to silence some warnings.
3541 (edebug-submit-bug-report): Remove.
3542 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3543 Remove aliases, use the un-prefixed name instead.
3544 (edebug-pop-to-buffer): Consider other frames.
3545 (edebug-original-read):: Make it more obvious that it's always defined.
3546 (edebug--make-form-data-entry, edebug--form-data-name)
3547 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3548 single-dashed name, and implement with cl-defstruct.
3549 (edebug-set-form-data-entry): Use the standard accessors.
3550 (edebug-make-top-form-data-entry): Use push.
3551 (edebug-no-match): Drop useless `funcall'.
3552 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3553 to functions.
3554 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3555 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3556 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3557 (easy-menu-define, with-custom-print): Remove redundant specs.
3558 (edebug-outside-overriding-local-map)
3559 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3560 (edebug--display): Bind unread-command-events directly to nil rather
3561 than binding it to unread-command-events and later setting it to nil.
3562 (edebug--display): Kill edebug-eval-buffer here...
3563 (edebug--recursive-edit): ...rather than here.
3564 Bind standard-output and standard-input.
3565 (edebug-eval): Check cl-macroexpand-all is fboundp.
3566 (edebug-temp-display-freq-count): Fix last change.
3567
3568 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3569 * subr.el (noreturn, 1value): Add `debug' spec.
3570 * emacs-lisp/advice.el: Require cl-lib.
3571 (ad-copy-tree): Remove, use copy-tree instead.
3572 (ad-dolist): Remove use dolist or cl-dolist instead.
3573 (ad-do-return): Remove, use cl-return instead.
3574 (defadvice): Add `debug' spec.
3575
3576 2012-09-13 Juri Linkov <juri@jurta.org>
3577
3578 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3579 (Bug#12399)
3580
3581 2012-09-13 Glenn Morris <rgm@gnu.org>
3582
3583 * calc/calc.el (math-compose-expr):
3584 * calc/calc-ext.el (math-compose-expr):
3585 * progmodes/cc-defs.el (cl-macroexpand-all):
3586 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3587 (cl-macroexpand-all): Update declarations.
3588
3589 * vc/vc.el: No need to require ediff.
3590 (ediff-load-version-control): Declare.
3591 (ediff-vc-internal): Fix declaration.
3592 (vc-version-ediff): Require ediff.
3593
3594 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3595
3596 Use a more backwards-compatible timer format (Bug#12430).
3597 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3598 being right after USECS, as that better supports old code that
3599 inadvisedly looked directly at the timer vector.
3600
3601 2012-09-13 Kenichi Handa <handa@gnu.org>
3602
3603 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3604 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3605 `coding-priority' property of these language environment.
3606
3607 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3608
3609 Fix glitches caused by addition of psec to timers (Bug#12430).
3610 * image.el (image-animate-timer):
3611 * time.el (display-time-world-timer):
3612 Use timer--function and timer--args rather than raw access to
3613 timer vector.
3614
3615 2012-09-13 Glenn Morris <rgm@gnu.org>
3616
3617 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3618 If not compiling a file, try using load-file-name.
3619
3620 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3623 Fix last change.
3624 (edebug-update-eval-list): Use `push'.
3625
3626 * emacs-lisp/edebug.el: Use lexical-binding.
3627 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3628 Mark unused args with underscore.
3629 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3630 (edebug-form-data): Use defvar-local.
3631 (edebug-make-before-and-after-form, edebug-make-after-form):
3632 Use backquote.
3633 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3634 Not dynamically scoped any more.
3635 (edebug--enter-trace): Add arguments `function' and `args'.
3636 Rename from edebug-enter-trace.
3637 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3638 (edebug--update-coverage): Add `after-index' and `value' args.
3639 Rename from edebug-update-coverage.
3640 (edebug-slow-after): Call it accordingly.
3641 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3642 edebug-recursive-edit.
3643 (edebug--display): Call it accordingly. Add args `value',
3644 `offset-index', and `arg-mode'. Rename from edebug-display.
3645 (edebug-debugger, edebug): Call it accordingly.
3646 (edebug-eval-display-list): Use dolist.
3647
3648 2012-09-12 Juri Linkov <juri@jurta.org>
3649
3650 * info.el (Info-search): Don't check for isearch-mode and
3651 isearch-regexp before let-binding search-spaces-regexp to
3652 Info-search-whitespace-regexp.
3653 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3654 search-whitespace-regexp if isearch-lax-whitespace or
3655 isearch-regexp-lax-whitespace is non-nil.
3656 (Info-mode): Don't set local variable search-whitespace-regexp.
3657 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3658
3659 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3662 (debugger-env-macro): Remove support for unread-command-char.
3663
3664 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3665 the temporary map re-appearing on emulation-mode-map-alists.
3666
3667 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3668 since 22.1.
3669
3670 * ehelp.el (with-electric-help): Accept functions in
3671 electric-help-form-to-execute.
3672 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3673 And replace unread-command-char -> unread-command-events.
3674
3675 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3676
3677 Sync with Tramp 2.2.6.
3678
3679 * net/tramp.el (tramp-accept-process-output): Don't use
3680 JUST-THIS-ONE in the XEmacs case.
3681
3682 * net/trampver.el: Update release number.
3683
3684 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3685
3686 * emacs-lisp/debug.el (debugger-previous-window-height):
3687 New variable.
3688 (debug): When debugger-jumping-flag is non-nil try to restore
3689 height of debugger window. (Bug#8789)
3690
3691 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3694 overriding-local-map and pre/post-command-hook here.
3695 (edebug-recursive-edit): Do it here instead (bug#12345).
3696 (edebug-outside-unread-command-char): Remove all uses of
3697 unread-command-char.
3698
3699 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3700 inhibit-debugger is bound instead.
3701
3702 2012-09-11 Bastien Guerry <bzg@gnu.org>
3703
3704 * subr.el (set-temporary-overlay-map): Add a docstring.
3705 (Bug#12346)
3706
3707 2012-09-11 Bastien Guerry <bzg@gnu.org>
3708
3709 * minibuffer.el (completion-table-subvert): Fix docstring.
3710 (Bug#12347)
3711
3712 2012-09-11 Bastien Guerry <bzg@gnu.org>
3713
3714 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3715
3716 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3717
3718 * progmodes/sql.el: Version 3.1
3719 (sql-db2-escape-newlines): New variable.
3720 (sql-escape-newlines-filter): Use it.
3721
3722 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3725
3726 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3727
3728 * vc/diff-mode.el (diff-mode-menu):
3729 Bind diff-remove-trailing-whitespace.
3730
3731 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3734 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3735 (emacs-lisp-byte-code-mode): New functions.
3736 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3737 (eval-defun-2): Remove bogus interactive spec.
3738 (lisp-indent-line): Remove redundant whole-exp code, now done in
3739 indent-according-to-mode.
3740 (save-match-data): Remove redundant indent data.
3741
3742 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3743 Use `declare'.
3744
3745 2012-09-09 Juri Linkov <juri@jurta.org>
3746
3747 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3748 (replace-lax-whitespace, query-replace-regexp)
3749 (query-replace-regexp-eval, replace-regexp): Doc fix.
3750 (perform-replace, replace-highlight): Let-bind
3751 isearch-lax-whitespace to replace-lax-whitespace and
3752 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3753
3754 * isearch.el (isearch-query-replace): Let-bind
3755 replace-lax-whitespace to isearch-lax-whitespace and
3756 replace-regexp-lax-whitespace to
3757 isearch-regexp-lax-whitespace. (Bug#10885)
3758
3759 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3762
3763 2012-09-09 Alan Mackenzie <acm@muc.de>
3764
3765 * progmodes/cc-engine.el (c-state-cache-init):
3766 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3767 (c-record-parse-state-state):
3768 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3769
3770 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3771
3772 * register.el (register-separator): Rename from
3773 separator-register. All uses changed. Doc fix.
3774 (register): Fix version.
3775
3776 2012-09-09 Chong Yidong <cyd@gnu.org>
3777
3778 * replace.el (query-replace-map): Bind four new symbols for
3779 requesting window scrolling.
3780
3781 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3782 query-replace-map (Bug#8948).
3783
3784 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3785
3786 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3787 since they are now in query-replace-map.
3788
3789 * window.el (scroll-other-window-down): Make the arg optional.
3790
3791 2012-09-09 Chong Yidong <cyd@gnu.org>
3792
3793 * files.el (hack-local-variables-confirm): Use quit-window to kill
3794 the *Local Variables* buffer.
3795
3796 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3797
3798 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3799 not just expect to be at its beginning. Adjust callees.
3800 Succeed when do-end block has no space before the pipe character.
3801 (ruby-brace-to-do-end): When the original block is one-liner,
3802 convert to multiline. Reindent the result.
3803
3804 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3805
3806 * register.el (register): New group.
3807 (separator-register): New user option.
3808 (increment-register): Route it to `append-to-register', if
3809 register contains text. Implication is that `C-x r +' can now be
3810 used for appending to a text register (bug#12217).
3811 (append-to-register, prepend-to-register): Add separator based on
3812 `separator-register'.
3813
3814 2012-09-08 Alan Mackenzie <acm@muc.de>
3815
3816 AWK Mode: make auto-newline work when there's "==" in the pattern.
3817 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3818 correctly.
3819 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3820 Test more rigorously for "=" token.
3821
3822 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3823
3824 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3825 Only fail when reached LIMIT.
3826
3827 2012-09-08 Chong Yidong <cyd@gnu.org>
3828
3829 * dired.el (dired-mode-map): Don't bind M-=.
3830
3831 * dired-aux.el (dired-diff): Use backup file as default.
3832
3833 2012-09-08 Drew Adams <drew.adams@oracle.com>
3834
3835 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3836
3837 2012-09-08 Chong Yidong <cyd@gnu.org>
3838
3839 * subr.el (syntax-after, syntax-class): Doc fix.
3840
3841 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3842
3843 * window.el (display-buffer-in-previous-window): New buffer
3844 display action function.
3845
3846 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3847 (debugger-previous-window): New variable.
3848 (debug): Rewrite using display-buffer-in-previous-window,
3849 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3850
3851 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3854
3855 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3856
3857 * progmodes/python.el (python-shell-send-string):
3858 When default-directory is remote, create temp file on remote
3859 filesystem.
3860 (python-shell-send-file): When file is remote, pass local view of
3861 file paths to remote Python interpreter. (Bug#12340)
3862
3863 2012-09-07 Chong Yidong <cyd@gnu.org>
3864
3865 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3866
3867 * files.el (after-find-file): Don't fail on a read-only buffer if
3868 require-final-newline is `visit' or `visit-save' (Bug#11156).
3869
3870 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3871
3872 * userlock.el (ask-user-about-supersession-threat):
3873 Use read-char-choice (Bug#12093).
3874
3875 2012-09-07 Chong Yidong <cyd@gnu.org>
3876
3877 * subr.el (buffer-narrowed-p): New function.
3878
3879 * ses.el (ses-widen):
3880 * simple.el (count-words--buffer-message):
3881 * net/browse-url.el (browse-url-of-buffer): Use it.
3882
3883 * simple.el (count-words-region): Don't signal an error if there
3884 is a non-nil prefix arg and the mark is not set.
3885
3886 * help.el (describe-key-briefly): Allow the message to be seen
3887 when invoked from the minibuffer (Bug#7014).
3888
3889 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3890
3891 * progmodes/ruby-mode.el (ruby-end-of-defun)
3892 (ruby-beginning-of-defun): Simplify, allow indentation before
3893 block beginning and end keywords.
3894 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3895 (ruby-end-of-defun): Expect that the point is at the beginning of
3896 the defun.
3897
3898 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3899
3900 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3901 (bug#12367).
3902 (cl--make-usage-args): Strip _ from argument names.
3903
3904 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3905
3906 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3907 obsolete alias speedbar-key-map.
3908 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3909 (vhdl-index-menu-init): Don't use obsolete variable
3910 font-lock-maximum-size.
3911
3912 2012-09-06 Chong Yidong <cyd@gnu.org>
3913
3914 * frame.el (window-system-version): Mark as obsolete.
3915
3916 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3917 of obsolete variable speedbar-key-map.
3918
3919 2012-09-06 Juri Linkov <juri@jurta.org>
3920
3921 * replace.el (replace-lax-whitespace): New defcustom.
3922 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3923 (replace-string, replace-regexp): Mention it in docstrings.
3924 (perform-replace, replace-highlight): Let-bind
3925 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3926 to the values of replace-lax-whitespace and regexp-flag.
3927 Don't let-bind search-whitespace-regexp. (Bug#10885)
3928
3929 * isearch.el (isearch-query-replace): Let-bind
3930 replace-lax-whitespace instead of let-binding
3931 replace-search-function and replace-re-search-function.
3932 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3933 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3934 (isearch-toggle-symbol): Set isearch-regexp to nil
3935 in isearch-word mode (like in isearch-toggle-word).
3936
3937 2012-09-06 Juri Linkov <juri@jurta.org>
3938
3939 * replace.el (replace-search-function)
3940 (replace-re-search-function): Set default values to nil.
3941 (perform-replace): Let-bind isearch-related variables based on
3942 replace-related values, call `isearch-search-fun' and let-bind
3943 the result to `search-function'. Remove code that sets
3944 `search-function' and `search-string' separately for
3945 `delimited-flag'.
3946 (replace-highlight): Add new argument `delimited-flag' and
3947 rename other arguments to the names used in `perform-replace'.
3948 Let-bind `isearch-word' to the argument `delimited-flag'.
3949 (Bug#10885, bug#10887)
3950
3951 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3952
3953 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3954 ruby-beginning-of-indent, simplify, allow all keywords to have
3955 indentation before them.
3956 (ruby-beginning-of-indent): Adjust for above. Search until the
3957 found point is not inside a string or comment.
3958 (ruby-font-lock-keywords): Allow symbols to start with "@"
3959 character, give them higher priority than variables.
3960 (ruby-syntax-propertize-function)
3961 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3962 matchers. Expression expansions are not comments when inside a
3963 string, and there comment syntax status is irrelevant.
3964 (ruby-match-expression-expansion): New function. Check that
3965 expression expansion is inside a string, and it's not escaped.
3966 (ruby-font-lock-keywords): Use it.
3967
3968 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3969
3970 * help.el (temp-buffer-max-height): New default value.
3971 (temp-buffer-resize-frames): New option.
3972 (resize-temp-buffer-window): Optionally resize frame.
3973
3974 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3975 (fit-frame-to-buffer): New function.
3976
3977 2012-09-05 Glenn Morris <rgm@gnu.org>
3978
3979 * emulation/cua-rect.el (cua--init-rectangles):
3980 * textmodes/picture.el (picture-mode-map):
3981 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3982 like forward-char and backward-char. (Bug#12317)
3983
3984 2012-09-05 Leo Liu <sdl.web@gmail.com>
3985
3986 * progmodes/flymake.el (flymake-warning-re): New variable.
3987 (flymake-parse-line): Use it.
3988
3989 2012-09-05 Glenn Morris <rgm@gnu.org>
3990
3991 * calendar/holidays.el (holiday-christian-holidays):
3992 Rename an entry. (Bug#12289)
3993
3994 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3997 (bug#12222).
3998
3999 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * loadup.el: Load macroexp. Remove hack.
4002 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4003 (macroexp--expand-all): Use it to get better warnings.
4004 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4005 (internal-macroexpand-for-load): New functions.
4006 (macroexp--pending-eager-loads): New var.
4007 (emacs-startup-hook): New hack to replace one in loadup.el.
4008 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4009 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4010 (cl-psetf): Simplify.
4011 (cl-defstruct): Add indent rule.
4012
4013 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4014
4015 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4016 over `user-mail-address' for the SMTP MAIL FROM envelope.
4017 (smtpmail-via-smtp): Ditto.
4018
4019 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4020
4021 * progmodes/ruby-mode.el: Clean up keybindings.
4022 (ruby-mode-map): Don't bind ruby-electric-brace,
4023 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4024 backward-kill-word, reindent-then-newline-and-indent.
4025 (ruby-mark-defun): Remove.
4026 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4027 (ruby-mode): Set local beginning-of-defun-function and
4028 end-of-defun-function values.
4029
4030 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (temp-buffer-window-setup-hook)
4033 (temp-buffer-window-show-hook): New hooks.
4034 (temp-buffer-window-setup, temp-buffer-window-show)
4035 (with-temp-buffer-window): New functions.
4036 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4037 (special-display-popup-frame): Make sure the window used shows BUFFER.
4038
4039 * help.el (temp-buffer-resize-mode): Fix doc-string.
4040 (resize-temp-buffer-window): New optional argument WINDOW.
4041
4042 * files.el (recover-file, save-buffers-kill-emacs):
4043 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4044
4045 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4046
4047 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4048 remote definition of `default-directory', ensure we can connect.
4049
4050 2012-09-02 Juri Linkov <juri@jurta.org>
4051
4052 Toggle whitespace matching mode with M-s SPC.
4053 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4054
4055 * isearch.el (search-whitespace-regexp): Doc fix.
4056 Remove cons cell customization.
4057 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4058 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4059 New variables.
4060 (isearch-forward, isearch-forward-regexp): Doc fix.
4061 (isearch-toggle-lax-whitespace): New command.
4062 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4063 (re-search-forward-lax-whitespace)
4064 (re-search-backward-lax-whitespace): New functions.
4065 (isearch-whitespace-regexp): Remove function.
4066 (isearch-query-replace): Let-bind replace-search-function and
4067 replace-re-search-function.
4068 (isearch-occur): Let-bind search-spaces-regexp according to the
4069 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4070 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4071 condition for C-q SPC.
4072 (isearch-search-fun-default): Use new functions mentioned above.
4073 (isearch-search-forward, isearch-search-backward): Remove functions.
4074 (isearch-search): Don't let-bind search-spaces-regexp.
4075 (isearch-lazy-highlight-space-regexp): Remove variable.
4076 (isearch-lazy-highlight-lax-whitespace)
4077 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4078 (isearch-lazy-highlight-new-loop): Use them.
4079 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4080
4081 2012-09-02 Chong Yidong <cyd@gnu.org>
4082
4083 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4084
4085 2012-09-02 Glenn Morris <rgm@gnu.org>
4086
4087 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4088
4089 2012-09-01 Glenn Morris <rgm@gnu.org>
4090
4091 * term.el: Tidy up menu definitions.
4092 (term-mode-map): Use easymenu for In/Out, Complete menus.
4093 (term-pager-break-map): Initialize in the defvar.
4094 (term-terminal-menu, term-signals-menu): Define with easymenu.
4095 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4096 (term-pager-menu): New, extracted from term-process-pager.
4097 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4098 (term-update-mode-line): Propertize line/char and page items.
4099 (term-process-pager): Move keymap initialization elsewhere.
4100
4101 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4102
4103 * window.el (switch-to-prev-buffer): Handle additional values of
4104 BURY-OR-KILL argument. Don't switch in minibuffer window.
4105 (switch-to-next-buffer): Don't switch in minibuffer window.
4106 (quit-restore-window): New function based on quit-window.
4107 Handle additional values of former KILL argument.
4108 (quit-window): Call quit-restore-window with appropriate
4109 interpretation of KILL argument.
4110 (display-buffer-below-selected): New buffer display action
4111 function.
4112
4113 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * minibuffer.el (completion-at-point-functions): Complete docstring
4116 (bug#12254).
4117
4118 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4119
4120 Better seed support for (random).
4121 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4122 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4123 * play/mpuz.el, play/tetris.el, play/zone.el:
4124 * calc/calc-comb.el (math-init-random-base):
4125 * play/blackbox.el (bb-init-board):
4126 * play/life.el (life):
4127 * server.el (server-use-tcp):
4128 * type-break.el (type-break):
4129 Remove unnecessary call to (random t).
4130 * net/sasl.el (sasl-unique-id-function):
4131 Change (random t) to (random), now that the latter is more random.
4132 * play/life.el (life-initialized): Remove no-longer-needed var.
4133
4134 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4135
4136 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4137 Consider frame's buffer predicate when choosing the buffer.
4138 (Bug#12081)
4139
4140 2012-08-30 Richard Stallman <rms@gnu.org>
4141
4142 * simple.el (special-mode-map): Delete binding for `z'.
4143
4144 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4145
4146 * progmodes/compile.el (compilation-always-kill): Doc fix.
4147
4148 2012-08-30 Chong Yidong <cyd@gnu.org>
4149
4150 * window.el (display-buffer-reuse-frames): Make the obsolescence
4151 message more informative.
4152
4153 2012-08-30 Glenn Morris <rgm@gnu.org>
4154
4155 * paren.el (show-paren-delay):
4156 Add a :set function. Doc fix. (Bug#12297)
4157
4158 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4159
4160 * progmodes/compile.el (compilation-always-kill): New var.
4161 (compilation-start): Use it.
4162
4163 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4166 * files.el (read-only-mode): Move to simple.el.
4167
4168 * files.el (read-only-mode): New minor mode.
4169 (toggle-read-only): Use it and mark obsolete.
4170 (find-file--read-only):
4171 * vc/vc.el (vc-next-action, vc-checkout):
4172 * vc/vc-cvs.el (vc-cvs-checkout):
4173 * obsolete/vc-mcvs.el (vc-mcvs-update):
4174 * ffap.el (ffap--toggle-read-only): Update callers.
4175
4176 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4177
4178 * eshell/esh-ext.el (eshell-external-command): Do not examine
4179 remote shell scripts.
4180 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4181
4182 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4183 "/usr/local/sbin".
4184
4185 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4188
4189 2012-08-28 Leo Liu <sdl.web@gmail.com>
4190
4191 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4192 completion-at-point. (Bug#12220)
4193
4194 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4195
4196 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4197
4198 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4201 be buffer-local; add delete-trailing-whitespace (bug#12259).
4202
4203 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4204
4205 * progmodes/hideif.el (hif-compress-define-list):
4206 Fix typo. (Bug#11951)
4207
4208 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4209
4210 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4211 buffer local setting.
4212
4213 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4214 rcirc-encode-coding-system.
4215
4216 2012-08-28 Leo Liu <sdl.web@gmail.com>
4217
4218 * net/rcirc.el (rcirc-split-message): New function.
4219 (rcirc-send-message): Use it. (Bug#12051)
4220
4221 2012-08-28 Juri Linkov <juri@jurta.org>
4222
4223 * info.el (Info-fontify-node): Hide empty lines at the end of
4224 the node. (Bug#12272)
4225
4226 2012-08-27 Drew Adams <drew.adams@oracle.com>
4227
4228 * dired.el (dired-pop-to-buffer): Make window start at beginning
4229 of buffer (Bug#12281).
4230
4231 2012-08-26 Chong Yidong <cyd@gnu.org>
4232
4233 * window.el (special-display-regexps, special-display-frame-alist)
4234 (special-display-buffer-names, special-display-function)
4235 (display-buffer-reuse-frames): Mark as obsolete.
4236
4237 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4238
4239 * help.el (help-print-return-message): Don't treat
4240 display-buffer-reuse-frames specially.
4241
4242 2012-08-26 Chong Yidong <cyd@gnu.org>
4243
4244 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4245 New variable, replacing gdb-frame-parameters.
4246 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4247 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4248 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4249 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4250 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4251 the functions directly with gdb-display-buffer-other-frame-action.
4252 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4253 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4254 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4255 (gdb-display-registers-buffer): Define directly.
4256 (def-gdb-display-buffer): Macro deleted.
4257 (gdb-display-buffer): Remove second and third args, callers don't
4258 use them. Defer to the default display-buffer behavior, apart
4259 from making windows dedicated.
4260 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4261
4262 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4263
4264 * window.el (display-buffer-pop-up-frame): Handle a
4265 pop-up-frame-parameters alist entry.
4266 (display-buffer): Document it.
4267
4268 2012-08-26 Chong Yidong <cyd@gnu.org>
4269
4270 * isearch.el (search-whitespace-regexp): Make string and nil
4271 values apply to both ordinary and regexp search. Allow a cons
4272 cell value to distinguish between the two.
4273 (isearch-whitespace-regexp, isearch-search-forward)
4274 (isearch-search-backward): New functions.
4275 (isearch-occur, isearch-search-fun-default, isearch-search)
4276 (isearch-lazy-highlight-new-loop): Use them.
4277 (isearch-forward, isearch-forward-regexp): Doc fix.
4278
4279 2012-08-26 Chong Yidong <cyd@gnu.org>
4280
4281 * faces.el (help-argument-name): Always inherit from italic
4282 (Bug#12213).
4283
4284 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4285
4286 * window.el (window--even-window-heights): Even heights when
4287 WINDOW and the selected window form a vertical combination.
4288 (display-buffer-use-some-window): Provide that window used gets
4289 sized back by quit-window. (Bug#11880) and (Bug#12091)
4290
4291 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4292
4293 Fix file time stamp problem with bzr and CVS (Bug#12001).
4294 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4295 in the file's time stamp, since the version control system loses
4296 that information.
4297
4298 2012-08-22 Juri Linkov <juri@jurta.org>
4299
4300 * info.el (Info-fontify-node): Hide the suffix of the
4301 Info file name in the header line. (Bug#12187)
4302
4303 2012-08-22 Glenn Morris <rgm@gnu.org>
4304
4305 * calendar/cal-tex.el (cal-tex-weekly-common):
4306 Restore leading blank page.
4307
4308 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4309
4310 * misc.el (forward-to-word, backward-to-word): Activate or extend
4311 the region under `shift-select-mode'. (Bug#12231)
4312
4313 2012-08-22 Bastien Guerry <bzg@gnu.org>
4314
4315 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4316 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4317 gives details on why the space is never needed.
4318
4319 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4320
4321 * window.el (walk-window-tree, window-with-parameter):
4322 New optional argument MINIBUF to control whether these functions
4323 should run on the minibuffer window.
4324 (window-at-side-list): Don't operate on minibuffer window.
4325 (window-in-direction): Simplify and rewrite doc-string.
4326 (window--size-ignore): Rename to window--size-ignore-p.
4327 Update callers.
4328 (display-buffer-in-atom-window, window--major-non-side-window)
4329 (window--major-side-window, display-buffer-in-major-side-window)
4330 (delete-side-window, display-buffer-in-side-window):
4331 New functions.
4332 (window--side-check, window-deletable-p, delete-window)
4333 (delete-other-windows, split-window): Handle side windows and
4334 atomic windows appropriately.
4335 (window--display-buffer): Call display-buffer-record-window also
4336 when the window buffer did not change.
4337
4338 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4339
4340 * help-fns.el (help-fns--key-bindings):
4341 Abbreviate non-symbol remap targets. (Bug#12174)
4342
4343 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4344
4345 * dired.el (dired-mark-remembered): Don't clobber point.
4346 (Bug#11795)
4347
4348 2012-08-22 Glenn Morris <rgm@gnu.org>
4349
4350 * progmodes/bug-reference.el (bug-reference): New custom group.
4351 (bug-reference-bug-regexp): Make it a defcustom.
4352
4353 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4354
4355 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4356 (js-paren-indent-offset, js-square-indent-offset)
4357 (js-curly-indent-offset): Add :safe (Bug#12257).
4358
4359 2012-08-22 Edward O'Connor <hober0@gmail.com>
4360
4361 * json.el (json-key-format): Add error properties.
4362 (json-encode-key): New function.
4363 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4364 Use json-encode-key.
4365
4366 2012-08-22 Glenn Morris <rgm@gnu.org>
4367
4368 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4369 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4370 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4371 Update for above change.
4372
4373 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4374
4375 * cus-face.el (custom-face-attributes): Fix customize type for the
4376 :underline attribute. (Bug#11805)
4377
4378 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4379
4380 * window.el (window-point-1, set-window-point-1): Remove.
4381 (window-in-direction, record-window-buffer)
4382 (set-window-buffer-start-and-point, split-window-below)
4383 (window--state-get-1, display-buffer-record-window):
4384 Replace calls to window-point-1 and set-window-point-1 by calls to
4385 window-point and set-window-point respectively.
4386
4387 2012-08-21 Glenn Morris <rgm@gnu.org>
4388
4389 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4390 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4391 Use it.
4392
4393 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4394 (cal-tex-shortday): New function.
4395 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4396 (cal-tex-cursor-filofax-daily): Use the above.
4397
4398 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4399 New functions.
4400 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4401 (cal-tex-cursor-filofax-week): Use them.
4402
4403 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4404 New constants.
4405 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4406 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4407
4408 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4409 (cal-tex-end-document): Don't rely on buffer name.
4410
4411 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4412 Use cal-tex-vspace.
4413 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4414 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4415 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4416 Use cal-tex-arg.
4417
4418 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4419 (cal-tex-cursor-week, cal-tex-cursor-week2)
4420 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4421 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4422 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4423 (cal-tex-insert-preamble, cal-tex-b-document)
4424 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4425 Improve cal-tex-cmd usage.
4426
4427 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4428 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4429 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4430 (cal-tex-weekly-paper): New function.
4431 (cal-tex-cursor-week, cal-tex-cursor-week2)
4432 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4433 (cal-tex-cursor-day): Use it.
4434
4435 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4436 (cal-tex-cursor-filofax-week): Remove leading blank page.
4437
4438 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4439 Add autoload cookie. For now at least, don't use color, since
4440 no other cal-tex function does.
4441
4442 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4443 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4444 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4445
4446 2012-08-21 Juri Linkov <juri@jurta.org>
4447
4448 * info.el (Info-file-attributes): New variable.
4449 (info-insert-file-contents): Add file attributes to
4450 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4451 `Info-toc-nodes' when previous modtime of the Info file is less
4452 than new modtime.
4453 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4454 of info.el. (Bug#12230)
4455
4456 2012-08-20 Glenn Morris <rgm@gnu.org>
4457
4458 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4459 * calendar/holidays.el (calendar-holiday-list):
4460 Report errors with display-warning rather than beep'n'sleep.
4461
4462 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * net/tramp.el (tramp-accept-process-output): Accept only output
4465 from PROC. Otherwise, process filters and sentinels might be
4466 confused. (Bug#12145)
4467
4468 2012-08-20 Chong Yidong <cyd@gnu.org>
4469
4470 * descr-text.el (describe-text-properties-1): Use overlays-in to
4471 report on empty overlays (Bug#3322).
4472
4473 2012-08-20 Glenn Morris <rgm@gnu.org>
4474
4475 * mail/rmailout.el (rmail-output-read-file-name):
4476 Trap and report errors in rmail-output-file-alist elements.
4477
4478 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4479 since most non-font-lock faces are not also variables).
4480
4481 2012-08-20 Edward Reingold <reingold@iit.edu>
4482
4483 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4484 New function. (Bug12160)
4485
4486 2012-08-19 Glenn Morris <rgm@gnu.org>
4487
4488 * mail/rmailout.el (rmail-output-read-file-name):
4489 Fix previous change (when the alist is nil or does not match).
4490
4491 2012-08-19 Chong Yidong <cyd@gnu.org>
4492
4493 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4494 (Bug#12228).
4495
4496 2012-08-18 Chong Yidong <cyd@gnu.org>
4497
4498 * simple.el (yank-handled-properties): New defcustom.
4499 (yank-excluded-properties): Add font-lock-face and category.
4500 (yank): Doc fix.
4501
4502 * subr.el (remove-yank-excluded-properties):
4503 Obey yank-handled-properties. The special handling of font-lock-face
4504 and category is now done this way, instead of being hard-coded.
4505 (insert-for-yank-1): Remove font-lock-face handling.
4506 (yank-handle-font-lock-face-property)
4507 (yank-handle-category-property): New function.
4508
4509 2012-08-17 Glenn Morris <rgm@gnu.org>
4510
4511 * mail/rmailout.el (rmail-output-read-file-name):
4512 Check rmail-output-file-alist against the full message body
4513 in the correct rmail buffer. (Bug#12214)
4514
4515 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4516
4517 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4518 Eliminate superfluous prompt. (Bug#12203)
4519
4520 2012-08-17 Chong Yidong <cyd@gnu.org>
4521
4522 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4523 font spec, set the font directly (Bug#3228).
4524
4525 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4526
4527 * window.el (delete-window): Fix last fix.
4528
4529 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4530
4531 * window.el (window-valid-p): Move to window.c.
4532 (window-child, window-child-count, window-last-child)
4533 (window-normalize-window, window-combined-p)
4534 (window-combinations, window-atom-root, window-min-size)
4535 (window-sizable, window-sizable-p, window-size-fixed-p)
4536 (window-min-delta, window-max-delta, window--resizable)
4537 (window--resizable-p, window-resizable, window-total-size)
4538 (window-full-height-p, window-full-width-p, window-body-size)
4539 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4540 (minimize-window, window-deletable-p, delete-window)
4541 (delete-other-windows, set-window-buffer-start-and-point)
4542 (next-buffer, previous-buffer, split-window, balance-windows-2)
4543 (set-window-text-height, window-buffer-height)
4544 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4545 (truncated-partial-width-window-p): Minor code adjustments.
4546 In doc-strings state whether the argument window has to denote a
4547 live, valid or any window.
4548
4549 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4550
4551 * progmodes/subword.el (subword-forward-function)
4552 (subword-backward-function, subword-forward-regexp)
4553 (subword-backward-regexp): New variables.
4554 (subword-forward, subword-forward-internal, subword-backward-internal):
4555 Use new variables, eg so that different "word" definitions
4556 can be easily used. (Bug#11411)
4557
4558 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4561 for composite selectors.
4562 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4563 operation just because we can't find a previous revision.
4564
4565 2012-08-15 Chong Yidong <cyd@gnu.org>
4566
4567 * frame.el (set-frame-font): Accept font objects.
4568
4569 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4572
4573 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4574
4575 * man.el (Man-overstrike-face, Man-underline-face)
4576 (Man-reverse-face): Remove variables.
4577 (Man-overstrike, Man-underline, Man-reverse): New faces.
4578 (Man-fontify-manpage): Use them instead of the variables.
4579 (Man-cleanup-manpage): Comment change.
4580 (Man-ansi-color-map): New variable.
4581 (Man-fontify-manpage): Use it.
4582 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4583
4584 Implement ANSI SGR parameters 22-27 (bug#12146).
4585 * ansi-color.el (ansi-colors): Doc fix.
4586 (ansi-color-context, ansi-color-context-region): Doc fix.
4587 (ansi-color--find-face): New function.
4588 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4589 Rename the local variable `face' to `codes' since it is now a list of
4590 ansi codes. Doc fix.
4591 (ansi-color-get-face): Remove.
4592 (ansi-color-parse-sequence): New function, derived from
4593 ansi-color-get-face.
4594 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4595 codes 22-27.
4596
4597 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * subr.el (read-passwd): Allow use from a minibuffer.
4600
4601 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4602
4603 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4604 inside comments and strings as identifiers.
4605
4606 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4607 expression to evaluate. This allows to evaluate expressions with
4608 embedded whitespace.
4609 (gud-tooltip-tips): Add a blank before the newline in the
4610 message-box text, for the benefit of message-box emulation on
4611 MS-Windows.
4612
4613 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4614 messages from GDB, pop them up in a tooltip to give feedback to
4615 user.
4616 (gdb-tooltip-print-1): Quote the expression to evaluate.
4617 This allows to evaluate expressions with embedded whitespace.
4618 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4619 if the TTY name is nil or empty (which happens when communicating
4620 with the inferior via pipes, e.g. on MS-Windows).
4621 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4622 don't send that to the GUD buffer.
4623
4624 2012-08-14 Glenn Morris <rgm@gnu.org>
4625
4626 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4627 Optimize away setq-default with no args, as for setq. (Bug#12195)
4628
4629 2012-08-14 Chong Yidong <cyd@gnu.org>
4630
4631 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4632
4633 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4634 (Bug#12085).
4635
4636 2012-08-14 Glenn Morris <rgm@gnu.org>
4637
4638 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4639
4640 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4641
4642 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4643 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4644 Use cached shell name.
4645
4646 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4647
4648 * progmodes/python.el (python-shell-send-string):
4649 (python-shell-send-setup-code): Do not use `format' with `message'.
4650
4651 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4652
4653 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4654 (ruby-percent-literal-beg-re): New constant.
4655 (ruby-syntax-general-delimiters-goto-beg): Rename to
4656 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4657 (ruby-syntax-propertize-general-delimiters): Rename to
4658 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4659 popular term. Adjust comments everywhere.
4660 (ruby-syntax-propertize-percent-literal): Only propertize when not
4661 inside a simple string or comment. When the literal is unclosed,
4662 leave the text after it unpropertized.
4663 (ruby-syntax-methods-before-regexp): New constant.
4664 (ruby-syntax-propertize-function): Use it to recognize regexps.
4665 Don't look at the text after regexp, just use the whitelist.
4666
4667 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4668
4669 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4670 non-nil always load the compiled file if it exists. (Bug#12197)
4671
4672 2012-08-14 Chong Yidong <cyd@gnu.org>
4673
4674 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4675 (hi-lock-set-pattern): When deciding whether to use font lock or
4676 overlays, look at font-lock-mode instead of font-lock-fontified
4677 (Bug#12168).
4678 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4679 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4680
4681 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4682
4683 * subr.el (internal--after-with-selected-window): Fix typo
4684 (Bug#12193).
4685
4686 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4687
4688 Use `completion-table-dynamic' for completion functions.
4689 * progmodes/python.el
4690 (python-shell-completion--do-completion-at-point)
4691 (python-shell-completion--get-completions):
4692 Remove functions.
4693 (python-shell-completion-complete-at-point): New function.
4694 (python-completion-complete-at-point): Use it.
4695
4696 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4697
4698 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4699 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4700
4701 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * subr.el (function-get): Refine `autoload' arg so it can also
4704 autoload functions for gv.el (bug#12191).
4705 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4706 autoloads macros.
4707
4708 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4709 Prefer pcase-let over destructuring-bind.
4710 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4711 Also, remove whitespace as we go, rather than after accumulating the
4712 various places.
4713
4714 * subr.el (internal--before-with-selected-window)
4715 (internal--after-with-selected-window): Fix typo seleted->selected.
4716 (with-selected-window): Adjust callers.
4717 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4718
4719 2012-08-13 Bastien Guerry <bzg@gnu.org>
4720
4721 * window.el (special-display-popup-frame): Minor docstring
4722 enhancement. (Bug#12172)
4723
4724 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4725
4726 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4727 type 1-6.
4728 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4729 extended headers.
4730
4731 * files.el (hack-local-variables-filter): Remove useless eval.
4732
4733 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4734
4735 * subr.el (with-selected-window): Fix last change.
4736
4737 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * subr.el (internal--before-with-seleted-window)
4740 (internal--after-with-seleted-window): New functions.
4741 (with-selected-window): Use them, to replace dependency on
4742 tty-top-frame.
4743
4744 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4745
4746 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4747 binding for `newline'.
4748 (ruby-move-to-block): When moving backward, stop at block opening,
4749 not indentation.
4750 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4751 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4752 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4753 `ruby-toggle-block'.
4754
4755 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * ibuffer.el (ibuffer-do-toggle-read-only):
4758 * dired.el (dired-toggle-read-only):
4759 * buff-menu.el (Buffer-menu-toggle-read-only):
4760 * bindings.el (mode-line-toggle-read-only):
4761 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4762
4763 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4764
4765 * descr-text.el (describe-char): Put the overlays over the
4766 "displayed as" character.
4767
4768 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4769
4770 * calc/calc-units.el (math-default-units-table): Give an
4771 initial value.
4772 (math-put-default-units): Add options to put composite units and
4773 unit systems in the default units table.
4774 (calc-convert-units): Send composite units to
4775 `math-put-default-units' when appropriate.
4776
4777 2012-08-11 Glenn Morris <rgm@gnu.org>
4778
4779 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4780
4781 * tutorial.el (help-with-tutorial):
4782 * emacs-lisp/copyright.el (copyright-update-directory):
4783 * emacs-lisp/autoload.el (autoload-find-generated-file)
4784 (autoload-find-file): Disable local eval: (for insurance).
4785
4786 * files.el (hack-local-variables-filter): If an eval: form is not
4787 known to be safe, and enable-local-variables is :safe, then ignore
4788 the form totally, as is done for non-eval forms. (Bug#12155)
4789 This is CVE-2012-3479.
4790
4791 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4794 (rx-form): Simplify.
4795
4796 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4799 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4800 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4801 (ruby-syntax-propertize-function): Adjust for changes in
4802 `ruby-syntax-propertize-heredoc'.
4803
4804 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4805
4806 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4807 binding (use `M-;' instead).
4808 (ruby-singleton-class-p): New function.
4809 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4810
4811 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4814
4815 2012-08-10 Chong Yidong <cyd@gnu.org>
4816
4817 * progmodes/python.el (python-shell-get-process-name): Don't mess
4818 with same-window-buffer-names.
4819
4820 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4821 (eshell-remove-from-window-buffer-names): Make obsolete.
4822 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4823 (eshell): Just use pop-to-buffer-same-window instead.
4824
4825 2012-08-10 Chong Yidong <cyd@gnu.org>
4826
4827 * bindings.el: Bind M-= back to count-words-region.
4828
4829 * simple.el (count-words-region): Accept a prefix arg for acting
4830 on the entire buffer.
4831 (count-words--buffer-message): New helper function.
4832
4833 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4836 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4837 (event-start, event-end): Use posn-at-point to return a more
4838 informative posn.
4839 (posnp): New function.
4840 * mouse.el (popup-menu-normalize-position): Use it.
4841
4842 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4843
4844 * mouse.el (popup-menu-normalize-position): New function.
4845 (popup-menu): Use `popup-menu-normalize-position' to normalize
4846 the form for POSITION argument.
4847
4848 * term/x-win.el (x-menu-bar-open):
4849 Use the value returend from (posn-at-point) as position
4850 passed to `popup-menu'.
4851
4852 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4853
4854 * calc/calccomp.el (math-compose-expr): Add extra argument
4855 indicating that parentheses should be put around products in
4856 denominators. Give multiplication precedence over division during
4857 composition.
4858
4859 2012-08-09 Chong Yidong <cyd@gnu.org>
4860
4861 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4862 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4863 (Man-untabify-command, manual-program): Convert to defcustom
4864 (Bug#10429).
4865
4866 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4867
4868 * descr-text.el (describe-char): Don't insert extra newlines
4869 (Bug#10127).
4870
4871 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4872 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4873
4874 * align.el (align-region): Delete temporary markers (Bug#10047).
4875 Plus some code cleanups.
4876
4877 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4878
4879 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4880 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4881 (python-shell-internal-last-output): Use make-local-variable
4882 instead of make-variable-buffer-local.
4883
4884 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4885
4886 * progmodes/python.el: Enhancements to forward-sexp.
4887 (python-nav-forward-sexp): Rename from
4888 python-nav-forward-sexp-function.
4889 (python-nav--forward-sexp, python-nav--backward-sexp):
4890 New functions.
4891
4892 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4893
4894 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4895 modes and simplification modes.
4896
4897 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * delsel.el (delete-selection-pre-hook): Don't propagate the
4900 file-supersession signals (bug#12161).
4901
4902 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4905 (cl-map-extents): Add compatibility aliases (bug#12135).
4906
4907 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4908
4909 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4910 tests by `ignore-error'.
4911 (tramp-find-shell): Open also a new shell, when cache is already
4912 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4913
4914 2012-08-08 Juri Linkov <juri@jurta.org>
4915
4916 * bookmark.el: Add `defaults' property to the bookmark record.
4917 (bookmark-current-buffer): Doc fix.
4918 (bookmark-make-record): Add `defaults' property with default values
4919 to the bookmark record.
4920 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4921 with `bookmark-insert-current-bookmark'.
4922 (bookmark-set): Get `defaults' property from the bookmark record
4923 and use it in `read-from-minibuffer'.
4924 (bookmark-insert-current-bookmark): Remove function.
4925
4926 * info.el (Info-bookmark-make-record): Add `defaults' property
4927 with values of canonical Info node name, the current Info file
4928 name and the current Info node name. (Bug#12107)
4929
4930 2012-08-08 Juri Linkov <juri@jurta.org>
4931
4932 * files.el (basic-save-buffer): Use `buffer-name' as the default
4933 of `read-file-name' when buffer is not visiting a file (bug#12128).
4934
4935 2012-08-08 Juri Linkov <juri@jurta.org>
4936
4937 * info.el (Info-isearch-search): Doc fix.
4938 (Info-search): Change search-failed message from "initial node" to
4939 "end of node" (bug#12078).
4940 (Info-isearch-search): Change `isearch-string-state' to
4941 `isearch--state-string'.
4942
4943 2012-08-08 Glenn Morris <rgm@gnu.org>
4944
4945 * language/persian.el: Remove file.
4946 * language/misc-lang.el: Move unique part of persian.el here.
4947 * loadup.el: Remove language/persian.
4948
4949 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4950
4951 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4952
4953 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4954
4955 * progmodes/python.el Fixed defsubst warning.
4956 (python-syntax-context) Rename from python-info-ppss-context.
4957 (python-syntax-context-type): Rename from
4958 python-info-ppss-context-type.
4959 (python-syntax-comment-or-string-p): Rename from
4960 python-info-ppss-comment-or-string-p.
4961
4962 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4963
4964 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4965
4966 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4967
4968 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4969 a defcustom that is quoted with backquote.
4970
4971 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4972 Fix handling of interactive spec when the body uses return.
4973 (math-do-arg-check, math-define-function-body): Use backquote forms.
4974 * calc/calc-ext.el (math-defcache): Likewise.
4975 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4976 * allout.el (allout-new-exposure): Likewise.
4977 * calc/calcalg2.el (math-tracing-integral): Likewise.
4978 * info.el (Info-last-menu-item): Likewise.
4979 * emulation/vip.el (vip-loop): Likewise.
4980 * textmodes/artist.el (artist-funcall): Likewise.
4981 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4982 Construct menu-item directly.
4983
4984 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4985 Don't declare.
4986
4987 2012-08-07 Chong Yidong <cyd@gnu.org>
4988
4989 * simple.el (deactivate-mark): Preserve text properties when
4990 saving the primary selection (Bug#8384).
4991
4992 2012-08-07 Kevin Ryde <user42@zip.com.au>
4993
4994 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4995 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4996 and continue processing (Bug#12110).
4997
4998 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5001 syntax-propertize-function (bug#10095).
5002
5003 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5006 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5007 describe-function-1.
5008 (describe-function-1): Use them. Move compiler macro after sig.
5009 (help-fns--compiler-macro): Use function-get. Assume we're already in
5010 standard-output. Adjust layout to new call order.
5011
5012 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5013 re-binding a symbol that has a symbol-macro (bug#12119).
5014
5015 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5016
5017 * language/persian.el: New file. (Bug#11812)
5018 * loadup.el: Add language/persian.el.
5019
5020 2012-08-06 Chong Yidong <cyd@gnu.org>
5021
5022 * window.el (window--maybe-raise-frame): New function.
5023 (window--display-buffer): Split off from here.
5024 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5025 (display-buffer-pop-up-window, display-buffer-use-some-window):
5026 Obey an inhibit-switch-frame action alist entry.
5027 (display-buffer): Update doc.
5028
5029 * replace.el (occur-after-change-function): Avoid losing focus by
5030 using the inhibit-switch-frame display parameter (Bug#12139).
5031
5032 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5033
5034 Make internal shell process buffer names start with space.
5035 * progmodes/python.el (python-shell-make-comint): Add optional
5036 argument INTERNAL.
5037 (run-python-internal): Use it.
5038 (python-shell-internal-get-or-create-process): Check for new
5039 internal buffer names.
5040
5041 2012-08-06 Glenn Morris <rgm@gnu.org>
5042
5043 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5044 Do less getting and setting of environment variables.
5045
5046 2012-08-05 Chong Yidong <cyd@gnu.org>
5047
5048 * proced.el (proced): Add substitution string to docstring to
5049 trigger autoloading of the proced library on C-h f (Bug#1768).
5050
5051 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5052 Don't show defvars which have no second argument (Bug#8638).
5053
5054 * imenu.el (imenu-generic-expression): Move documentation here
5055 from imenu--generic-function.
5056 (imenu--generic-function): Refer to imenu-generic-expression.
5057
5058 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5059
5060 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5061 indentation declaration.
5062 (viper-loop): Add indentation declaration (Bug#7025).
5063
5064 2012-08-05 Chong Yidong <cyd@gnu.org>
5065
5066 * help-fns.el (describe-variable): Add hyperlink for
5067 directory-local variables files. Improve buffer-local and
5068 permanent-local reporting; suggested by MON KEY (Bug#6644).
5069
5070 * help-mode.el (help-dir-local-var-def): New button type.
5071
5072 * files.el (kill-buffer-hook): Provide a defvar.
5073
5074 2012-08-05 Glenn Morris <rgm@gnu.org>
5075
5076 * eshell/esh-ext.el (eshell/addpath):
5077 Also update eshell-path-env. (Bug#12013)
5078
5079 2012-08-05 Chong Yidong <cyd@gnu.org>
5080
5081 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5082
5083 * fringe.el (fringe-styles): Add docstring.
5084 (fringe--check-mode): New function.
5085 (set-fringe-mode, set-fringe-style): Use it.
5086 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5087
5088 * files.el (set-auto-mode): Fix invalid setq call.
5089
5090 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * isearch.el: Misc simplification; use defstruct.
5093 (isearch-mode-map): Dense maps now work like sparse ones.
5094 (isearch--state): New defstruct.
5095 (isearch-string-state, isearch-message-state, isearch-point-state)
5096 (isearch-success-state, isearch-forward-state)
5097 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5098 (isearch-wrapped-state, isearch-barrier-state)
5099 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5100 replaced by defstruct's accessors.
5101 (isearch--set-state): Rename from isearch-top-state and change
5102 calling convention.
5103 (isearch-push-state): Use new isearch--get-state.
5104 (isearch-toggle-word): Disable regexp when enabling word.
5105 (isearch-message-prefix): Remove unused arg _c-q-hack.
5106 (isearch-message-suffix): Remove unused arg _ellipsis.
5107
5108 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5109
5110 * simple.el (list-processes--refresh): For a server use :host or
5111 :local as the address.
5112 (list-processes): Doc fix.
5113
5114 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5115
5116 * lisp/mpc.el: Support password in host argument.
5117 (mpc--proc-connect): Parse and use new password element.
5118 Set mpc-proc variable instead of returning process.
5119 (mpc-proc): Adjust accordingly.
5120
5121 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5122
5123 * whitespace.el (whitespace-display-mappings): Use Unicode
5124 codepoints, instead of emacs-mule codepoints. See
5125 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5126 for the details.
5127
5128 * files.el (file-truename): Don't skip symlink-chasing part on
5129 windows-nt. Incorporate the resolution of 8+3 short aliases on
5130 Windows into the loop that recursively chases symlinks.
5131 Compare directory and its parent case-insensitively on MS-Windows and
5132 MS-DOS.
5133
5134 2012-08-03 Chong Yidong <cyd@gnu.org>
5135
5136 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5137
5138 * sort.el (sort-regexp-fields): Doc fix.
5139
5140 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5141
5142 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5143 labels regex position point at the expected place.
5144
5145 2012-08-03 MON KEY <monkey@sandpframing.com>
5146
5147 * net/imap.el (imap-interactive-login, imap-authenticate)
5148 (imap-mailbox-lsub, imap-mailbox-list)
5149 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5150 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5151 (imap-parse-response): Doc fix.
5152
5153 2012-08-03 João Távora <joaotavora@gmail.com>
5154
5155 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5156 if sexp scanning does not move point (Bug#5734).
5157
5158 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5159
5160 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5161 Add listings, minted, and ctable packages.
5162 (reftex-label-alist-builtin): Move listings, minted, and ctable
5163 entries before LaTeX.
5164 (reftex-label-alist): Docfix.
5165
5166 2012-08-02 Bastien Guerry <bzg@gnu.org>
5167
5168 * replace.el (occur): Fix docstring (bug#12122).
5169
5170 2012-08-02 Glenn Morris <rgm@gnu.org>
5171
5172 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5173
5174 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5175
5176 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5177 * international/mule-cmds.el: Create
5178 inactivate-current-input-method-function as an obsolete alias for
5179 deactivate-current-input-method-function. See Katsumi Yamaoka in
5180 <http://bugs.gnu.org/10150#46>.
5181
5182 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5183
5184 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5185 of nested `if's.
5186
5187 2012-08-01 Glenn Morris <rgm@gnu.org>
5188
5189 * progmodes/autoconf.el (autoconf-definition-regexp):
5190 Add AH_TEMPLATE, adjust submatch numbering.
5191 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5192 (autoconf-current-defun-function): Update for above change.
5193 (autoconf-current-defun-function): First skip to end of current word.
5194
5195 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5196
5197 * calendar/cal-html.el (cal-html-insert-agenda-days):
5198 Fix typo. (Bug#12018)
5199
5200 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5201
5202 Shell processes: enhancements to startup and CEDET compatibility.
5203 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5204 (python-shell-make-comint): accept-process-output at startup.
5205 (run-python-internal): Set inferior-python-mode-hook to nil.
5206 (python-shell-internal-get-or-create-process): call sit-for.
5207 (python-preoutput-result): Add obsolete alias.
5208 (python-shell-internal-send-string): Use it.
5209 (python-shell-send-setup-code): Remove call to
5210 accept-process-output.
5211
5212 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5215 (Bug#12108)
5216
5217 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5218
5219 * calc-mode.el (calc-basic-simplification-mode): Rename from
5220 `calc-limited-simplification-mode'.
5221 (calc-alg-simplification-mode): New function.
5222 (calc-set-simplify-mode): Adjust message.
5223
5224 * calc.el (calc-set-mode-line): Adjust mode line display for
5225 basic simplification mode.
5226
5227 * calc-help.el (calc-m-prefix-help): Update help message.
5228
5229 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5230 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5231
5232 2012-07-31 Bastien Guerry <bzg@gnu.org>
5233
5234 * man.el (man): Fix comment. (bug#12101)
5235
5236 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5237
5238 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5239 Don't return a non-nil value when no suitable buffer was found.
5240
5241 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5242
5243 * progmodes/python.el (run-python-internal): Disable font lock for
5244 internal shells.
5245
5246 2012-07-30 Stefan Merten <smerten@oekonux.de>
5247
5248 * textmodes/rst.el: Silence `checkdoc-ispell'.
5249 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5250 (rst-official-version, rst-official-cvs-rev)
5251 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5252 (rst-mode-map): New key binding.
5253
5254 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5255
5256 Update .PHONY listings in makefiles.
5257 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5258 autoloads, update-subdirs, updates, bzr-update, update-authors,
5259 compile-onefile, compile-calc, backup-compiled-files,
5260 compile-after-backup, compile-one-process, mh-autoloads,
5261 bootstrap-clean, distclean, maintainer-clean.
5262
5263 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5264
5265 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5266 (calc-set-mode-line): Don't display "AlgSimp ".
5267
5268 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5269 (calc-lim-simplify-mode): New function.
5270 (calc-set-simplify-mode): Default to 'alg.
5271 (calc-default-simplify-mode): Make algebraic simplifications
5272 the default.
5273
5274 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5275 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5276
5277 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5278 indicate new simplification modes.
5279
5280 * calc/README: Mention new default simplification mode.
5281
5282 * calc/calc.el (math-normalize-error): New variable.
5283 (math-normalize): Set `math-normalize-error' to t
5284 when there's an error.
5285
5286 * calc/calc-alg.el (math-simplify): Don't simplify when
5287 `math-normalize' returns an error.
5288
5289 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5290
5291 * international/mule-cmds.el (set-locale-environment): Revert last
5292 change, since display-graphic-p returns nil when this function is
5293 called during startup. Instead...
5294
5295 * term/w32console.el (terminal-init-w32console): ...setup the
5296 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5297
5298 2012-07-29 Juri Linkov <juri@jurta.org>
5299
5300 * simple.el (goto-line): Don't display default line number in the
5301 prompt because it should be displayed by `read-number' (bug#9952).
5302 Add the current line number to the defaults of `goto-line' to
5303 allow its easier modification by users with `M-n' (bug#9201).
5304
5305 * subr.el (read-number): Support multiple default values like in
5306 other minibuffer reading functions. Replace `read' with
5307 `string-to-number' for consistency with `number-to-string'.
5308
5309 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5310
5311 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5312 * emulation/viper-init.el (viper-deactivate-input-method-action):
5313 Rename from viper-inactivate-input-method-action.
5314 (viper-deactivate-input-method):
5315 Rename from viper-inactivate-input-method.
5316 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5317 * international/mule-cmds.el (deactivate-input-method):
5318 Rename from inactivate-input-method.
5319 Also run input-method-deactivate-hook.
5320 (deactivate-current-input-method-function):
5321 Rename from inactivate-current-input-method-function.
5322 (input-method-deactivate-hook): New hook.
5323 (input-method-inactivate-hook): Mark obsolete.
5324 (inactivate-input-method): Mark obsolete.
5325
5326 * international/quail.el (quail-activate):
5327 Also run quail-deactivate-hook.
5328 (quail-deactivate): Rename from quail-inactivate.
5329 * international/robin.el (robin-activate):
5330 Also run robin-deactivate-hook.
5331 (robin-deactivate): Rename from robin-inactivate.
5332
5333 2012-07-29 Chong Yidong <cyd@gnu.org>
5334
5335 * simple.el (indicate-copied-region): New function.
5336 (kill-ring-save): Split off from here.
5337
5338 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5339 (kill-rectangle): Set deactivate-mark to t on read-only error.
5340
5341 * register.el (copy-to-register, copy-rectangle-to-register):
5342 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5343 (append-to-register, prepend-to-register): Call indicate-copied-region.
5344
5345 2012-07-29 Juri Linkov <juri@jurta.org>
5346
5347 * simple.el (async-shell-command-buffer): New defcustom.
5348 (shell-command): Use it. (Bug#4719)
5349
5350 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5351
5352 * international/mule-cmds.el (set-locale-environment): In a
5353 console session on MS-Windows, set up keyboard and terminal
5354 encoding from the OEM codepage, not the ANSI codepage.
5355 (Bug#12055)
5356
5357 2012-07-28 Chong Yidong <cyd@gnu.org>
5358
5359 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5360 gdb-get-location.
5361
5362 2012-07-28 Leo Liu <sdl.web@gmail.com>
5363
5364 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5365 the alist (bug#12029).
5366
5367 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5368
5369 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5370 (compile-always, compile-first)
5371 ($(lisp)/calendar/cal-loaddefs.el)
5372 ($(lisp)/calendar/diary-loaddefs.el)
5373 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5374 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5375 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5376 instead of on update-subdirs.
5377 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5378
5379 2012-07-28 Chong Yidong <cyd@gnu.org>
5380
5381 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5382 directory if vc-deduce-backend returns nil (Bug#7350).
5383
5384 * simple.el (delete-trailing-lines): New option.
5385 (delete-trailing-whitespace): Obey it (Bug#11879).
5386
5387 2012-07-28 David Engster <deng@randomsample.de>
5388
5389 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5390 Explanation of new 'symbol-qnames feature in doc-strings.
5391 (xml-maybe-do-ns): Return expanded names as plain symbols if
5392 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5393 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5394
5395 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5396
5397 Consistent completion in inferior python with emacs -nw.
5398 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5399 binding in inferior-python-mode-map with "\t".
5400 (python-shell-completion-complete-at-point)
5401 (python-completion-complete-at-point): Remove interactive spec.
5402
5403 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5404
5405 * calc/calccomp.el (math-compose-expr): Undo previous change.
5406
5407 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5408
5409 * progmodes/python.el (python-mode-map): Add keybinding for
5410 run-python.
5411 (python-shell-make-comint): Fix pop-to-buffer call.
5412 (run-python): Autoload. New arg SHOW.
5413 (python-shell-get-or-create-process): Do not pop python process
5414 buffer.
5415
5416 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5417
5418 * notifications.el (notifications-on-action-signal)
5419 (notifications-on-closed-signal): Use also the bus address for the map.
5420 (notifications-notify, notifications-close-notification)
5421 (notifications-get-capabilities): Add optional argument BUS.
5422
5423 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5424
5425 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5426 Add support for the lstlisting and minted environments, and for the
5427 ctable macro.
5428 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5429 labels written in keyvals syntax.
5430
5431 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5432
5433 * calc/calccomp.el (math-compose-expr): Use parentheses when
5434 there is a product in the denominator of a fraction.
5435
5436 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5437
5438 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5439 ($(lisp)/calendar/diary-loaddefs.el)
5440 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5441 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5442 Fixes failures in parallel bootstrap because subdirs.el is being
5443 rewritten while the autoload files are built at the same time,
5444 which needs to load subdirs.el.
5445
5446 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5447
5448 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5449 (mouse-drag-line): Don't exit tracking when a switch-frame or
5450 switch-window event occurs (Bug#12006).
5451
5452 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * mouse.el (popup-menu): Fix last change.
5455
5456 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 Autoload from Lisp with more care. Follow aliases when looking for
5459 function properties.
5460 * subr.el (autoloadp): New function.
5461 (symbol-file): Use it.
5462 (function-get): New function.
5463 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5464 autoload-do-load.
5465 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5466 (lisp-indent-function):
5467 * emacs-lisp/gv.el (gv-get):
5468 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5469 * emacs-lisp/byte-opt.el (byte-optimize-form):
5470 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5471 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5472 Use function-get.
5473 * emacs-lisp/cl.el: Don't propagate function properties any more.
5474
5475 * speedbar.el (speedbar-add-localized-speedbar-support):
5476 * emacs-lisp/disass.el (disassemble-internal):
5477 * desktop.el (desktop-load-file):
5478 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5479 (describe-function-1):
5480 * emacs-lisp/find-func.el (find-function-noselect):
5481 * emacs-lisp/elp.el (elp-instrument-function):
5482 * emacs-lisp/advice.el (ad-has-proper-definition):
5483 * apropos.el (apropos-safe-documentation, apropos-macrop):
5484 * emacs-lisp/debug.el (debug-on-entry):
5485 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5486 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5487 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5488
5489 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5490
5491 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5492 function, not an obsolete variable (Bug#12046).
5493
5494 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5495
5496 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5497
5498 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5499
5500 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5501 window only if it is still live (Bug#12034).
5502
5503 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5504
5505 * subr.el (redirect-frame-focus): Add advertised calling
5506 convention (Bug#12030).
5507
5508 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5509
5510 Prefer typical American spelling for "acknowledgment".
5511 * vc/add-log.el (change-log-acknowledgment): Rename from
5512 change-log-acknowledgement, with an alias for the old name.
5513
5514 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5515
5516 * calc-alg.el (math-simplify-divide): Don't cross multiply
5517 in an equation when the lhs is a variable.
5518
5519 2012-07-24 Julien Danjou <julien@danjou.info>
5520
5521 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5522 Remove, unused.
5523
5524 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5525
5526 * startup.el (command-line): Don't display an empty user name in
5527 the error message about non-existent home directory, when
5528 init-file-user was set to an empty string. See
5529 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5530 for the details and context.
5531
5532 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5533
5534 * ses.el (ses-cell-formula-aset): New macro.
5535 (ses-cell-references-aset): New macro.
5536 (ses-cell-p): New function.
5537 (ses-rename-cell): Do no longer rely on complex operations like
5538 ses-cell-set-formula or ses-set-cell to change the cell and handle
5539 the undo at the same time, but rather use lower level new macros
5540 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5541 the undo directly. Refresh the mode line.
5542
5543 2012-07-21 Leo Liu <sdl.web@gmail.com>
5544
5545 * progmodes/cc-cmds.el (c-defun-name):
5546 Use match-string-no-properties instead for consistency.
5547
5548 2012-07-20 Leo Liu <sdl.web@gmail.com>
5549
5550 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5551 (Bug#7879)
5552
5553 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5554
5555 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5558 * progmodes/bug-reference.el, misearch.el: Provide themselves
5559 (bug#11915).
5560
5561 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5562 of narrowed buffer (bug#11966).
5563
5564 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5565
5566 * ses.el (ses-rename-cell): Set new name also in reference list of
5567 cells of which the renamed cell depends.
5568
5569 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5570
5571 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5572 to check whether menu-bar is shown or not. If not shown,
5573 show the menu-bar as a popup menu instead of using tmm.
5574 * mouse.el (popup-menu): Accept `point' as `position' argument.
5575
5576 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5577
5578 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5579 up inside string symbol literal (bug#11923).
5580
5581 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5582
5583 * startup.el (fancy-startup-text): Read the whole tutorial, not
5584 just its first 256 bytes. Prevents gibberish in display of the
5585 tutorial title.
5586
5587 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5588
5589 Drop idle buffer compaction due to an absence of the
5590 proved efficiency.
5591 * compact.el: Remove.
5592
5593 2012-07-19 Sam Steingold <sds@gnu.org>
5594
5595 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5596 vc-bzr-pull & vc-bzr-merge-branch.
5597 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5598 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5599 for consistency with compilation-error-regexp-alist.
5600 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5601 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5602 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5603 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5604
5605 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * emacs-lisp/chart.el: Use lexical-binding.
5608 (chart-emacs-storage): Don't hardcode the list of entries.
5609
5610 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5611
5612 Next round of tweaks caused by Fgarbage_collect changes.
5613 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5614
5615 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5616
5617 Compact buffers when idle.
5618 * compact.el: New file.
5619
5620 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * subr.el (eventp): Presume that if it looks vaguely like an event,
5623 it's an event (bug#10190).
5624
5625 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5626
5627 Enhancements to ppss related code (thanks Stefan).
5628 * progmodes/python.el (python-indent-context)
5629 (python-indent-calculate-indentation, python-indent-dedent-line)
5630 (python-indent-electric-colon, python-nav-forward-block)
5631 (python-mode-abbrev-table)
5632 (python-info-assignment-continuation-line-p): Simplify checks
5633 for ppss context.
5634 (python-info-continuation-line-p): Cleanup.
5635 (python-info-ppss-context): Do not catch 'quote.
5636 (python-info-ppss-context-type)
5637 (python-info-ppss-comment-or-string-p): Simplify.
5638
5639 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5640
5641 * progmodes/python.el: Enhancements to eldoc support.
5642 (python-info-current-symbol): New function.
5643 (python-eldoc-at-point): Use python-info-current-symbol.
5644 (python-info-current-defun): Fix cornercase on first defun scan.
5645 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5646 and signal error when no inferior python process is available.
5647
5648 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5649
5650 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5651 assume it's always t.
5652 (vc-git-registered): Remove caching, the function is only called
5653 once.
5654 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5655
5656 2012-07-18 Chong Yidong <cyd@gnu.org>
5657
5658 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5659
5660 * simple.el (count-words): Report on narrowing (Bug#9959).
5661
5662 * bindings.el: Bind M-= to count-words.
5663
5664 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5665
5666 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5667
5668 * progmodes/sh-script.el (sh-imenu-generic-expression):
5669 Capture a function with `function' keyword and without parentheses
5670 like "function FOO" (bug#11856).
5671
5672 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5673
5674 * window.el (split-window-sensibly): Make WINDOW argument
5675 optional.
5676
5677 2012-07-18 Chong Yidong <cyd@gnu.org>
5678
5679 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5680
5681 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5682 and make C-x 8 RET exit isearch (Bug#11439).
5683
5684 * international/iso-transl.el: Move isearch-mode-map key
5685 definitions to isearch.el.
5686
5687 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5690 (eieio-defclass): Use gv-define-setter when possible.
5691
5692 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5693
5694 Reflect recent changes in Fgarbage_collect.
5695 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5696 reflect new format of data returned by Fgarbage_collect.
5697
5698 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5699
5700 New utility functions + python-info-ppss-context fix (Bug#11910).
5701 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5702 (python-info-ppss-comment-or-string-p): New functions.
5703 (python-info-ppss-context): Small fix for string check.
5704
5705 2012-07-17 Juri Linkov <juri@jurta.org>
5706
5707 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5708 (dired-do-async-shell-command): Don't add `*' at the end of the
5709 command (Bug#11815).
5710 (dired-do-shell-command): Doc fix.
5711 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5712 Join the individual commands using either "&" or ";" as the
5713 separator depending on the values of these trailing characters.
5714 At the end re-add the trailing "&". (Bug#10598)
5715
5716 * simple.el (async-shell-command): Sync the interactive spec with
5717 `shell-command'. Doc fix.
5718 (shell-command): Doc fix.
5719
5720 2012-07-17 Juri Linkov <juri@jurta.org>
5721
5722 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5723
5724 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5725
5726 Final renames and doc fixes for movement commands (bug#11899).
5727 * progmodes/python.el (python-nav-beginning-of-statement):
5728 Rename from python-nav-statement-start.
5729 (python-nav-end-of-statement): Rename from
5730 python-nav-statement-end.
5731 (python-nav-beginning-of-block): Rename from
5732 python-nav-block-start.
5733 (python-nav-end-of-block): Rename from python-nav-block-end.
5734
5735 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5736
5737 * progmodes/python.el (python-shell-send-string-no-output):
5738 Allow accept-process-output to quit, keeping shell process ready for
5739 future interactions (Bug#11868).
5740
5741 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5744
5745 * emacs-lisp/elint.el (elint-find-args-in-code):
5746 Use help-function-arglist, so as to handle lexical byte-code.
5747
5748 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5749 change (bug#11826).
5750
5751 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5754 Avoid spuriously marking the buffer as modified because of c-is-sws.
5755
5756 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5757 as not-a-comment (bug#11946).
5758
5759 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5760 for uninterned vars.
5761
5762 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5763 Use read-event since we don't really want to read chars but bytes.
5764
5765 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5766 $$..$$ but also $..$ using regexps (bug#11953).
5767 Use tex-verbatim for \url and \path.
5768 (tex-font-lock-keywords): Define as defconst like the others.
5769 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5770
5771 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5772
5773 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5774 alias for insert-char.
5775
5776 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5777
5778 * progmodes/python.el: Simplified imenu implementation.
5779 (python-nav-jump-to-defun): Remove command.
5780 (python-mode-map): Use `imenu' instead.
5781 (python-nav-list-defun-positions-cache)
5782 (python-imenu-include-defun-type, python-imenu-make-tree)
5783 (python-imenu-subtree-root-label, python-imenu-index-alist):
5784 Remove vars.
5785 (python-nav-list-defun-positions, python-nav-read-defun)
5786 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5787 (python-imenu-make-tree, python-imenu-create-index):
5788 Remove functions.
5789 (python-mode): Update to interact with imenu by setting
5790 `imenu-extract-index-name-function' only.
5791
5792 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5793
5794 * progmodes/python.el: Enhancements to navigation commands.
5795 (python-nav-backward-sentence)
5796 (python-nav-forward-sentence): Remove.
5797 (python-nav-backward-statement, python-nav-forward-statement)
5798 (python-nav-statement-start, python-nav-statement-end)
5799 (python-nav-backward-block, python-nav-forward-block)
5800 (python-nav-block-start, python-nav-block-end)
5801 (python-nav-forward-sexp-function)
5802 (python-info-current-line-comment-p)
5803 (python-info-current-line-empty-p): New functions.
5804 (python-indent-context): Use `python-nav-statement-start'.
5805
5806 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5807
5808 * eshell/em-ls.el (eshell/ls): Use `apply'.
5809
5810 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5811 multi-hops, instead of Tramp internals.
5812
5813 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5814
5815 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5816 when F1 and F2 are located on different hosts.
5817
5818 2012-07-14 Chong Yidong <cyd@gnu.org>
5819
5820 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5821 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5822 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5823 (xterm-mouse--read-event-sequence-1000)
5824 (xterm-mouse--read-event-sequence-1006): New functions. For old
5825 mouse protocol, handle M-mouse-X events correctly.
5826 (xterm-mouse-event): New arg specifying mouse protocol.
5827 (turn-on-xterm-mouse-tracking-on-terminal)
5828 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5829 sequence to toggle extended coordinates on newer XTerms.
5830 This appears to be harmless on terminals which do not support this.
5831
5832 2012-07-14 Leo Liu <sdl.web@gmail.com>
5833
5834 Add fringe bitmap indicators for flymake. (Bug#11253)
5835 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5836 (flymake-make-overlay): New arg BITMAP.
5837 (flymake-error-bitmap, flymake-warning-bitmap)
5838 (flymake-fringe-indicator-position): New user variables.
5839
5840 * fringe.el: New bitmap exclamation-mark.
5841
5842 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5843
5844 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5845 also (Bug#7879).
5846
5847 2012-07-14 Chong Yidong <cyd@gnu.org>
5848
5849 * electric.el (electric-pair-post-self-insert-function): Fix pair
5850 insertion in empty-region case (Bug#11520).
5851
5852 2012-07-14 Chong Yidong <cyd@gnu.org>
5853
5854 * bindings.el: Consolidate ctl-x-r-map bindings.
5855 Bind copy-rectangle-as-kill to C-x r w.
5856
5857 * rect.el, register.el: Move bindings to bindings.el.
5858
5859 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5860
5861 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5862
5863 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5864
5865 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5866
5867 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5868
5869 * bindings.el (top): Use `mapc' instead of `mapcar'.
5870
5871 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5872
5873 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5874
5875 * progmodes/sql.el (sql-comint): Suppress the check for program on
5876 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5877 (Bug#11908)
5878
5879 2012-07-13 Chong Yidong <cyd@gnu.org>
5880
5881 * bindings.el: Assign a non-nil permanent-local property to
5882 per-buffer variables which lack a default value (Bug#11930).
5883
5884 * help-fns.el (describe-variable): In the "automatically becomes
5885 local" notice, take note of permanent-local variables.
5886
5887 2012-07-13 Chong Yidong <cyd@gnu.org>
5888
5889 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5890 to allow printing the message when called from Lisp.
5891
5892 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5893 Remove toggle-read-only.
5894
5895 * bs.el (bs-toggle-readonly):
5896 * buff-menu.el (Buffer-menu-toggle-read-only):
5897 Remove with-no-warnings around toggle-read-only.
5898
5899 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5900 Remove with-no-warnings around toggle-read-only.
5901 (ffap-read-only, ffap-read-only-other-window)
5902 (ffap-read-only-other-frame): Callers changed.
5903
5904 * help-mode.el: Don't require view package.
5905 (help-mode-finish): Set buffer-read-only instead of calling
5906 toggle-read-only.
5907
5908 * bindings.el (mode-line-toggle-read-only):
5909 * dired.el (dired-toggle-read-only):
5910 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5911 with non-nil second arg.
5912
5913 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5914 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5915 directly.
5916
5917 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5918
5919 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5920 not incf.
5921
5922 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 More CL cleanups and reduction of use of cl.el.
5925 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5926 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5927 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5928 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5929 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5930 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5931 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5932 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5933 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5934 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5935 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5936 * eshell/em-cmpl.el, eshell/em-banner.el:
5937 * calendar/parse-time.el: Use cl-lib.
5938 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5939 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5940 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5941 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5942 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5943 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5944 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5945 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5946 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5947 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5948 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5949 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5950 `lambda' rather than with `quote'.
5951 (eshell-do-opt): Adjust accordingly.
5952 (eshell-process-option): Simplify.
5953 * eshell/esh-var.el:
5954 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5955 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5956 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5957 to `pcase--dontcare'.
5958 * emacs-lisp/cl.el (labels): Mark obsolete.
5959 (cl--letf, letf): Move to cl-lib.
5960 (cl--letf*, letf*): Remove.
5961 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5962 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5963 (cl-progv): Rewrite.
5964 (cl--letf, cl-letf): Move from cl.el.
5965 (cl-letf*): New macro.
5966 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5967
5968 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5969
5970 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5971
5972 2012-07-11 Chong Yidong <cyd@gnu.org>
5973
5974 * vc/log-edit.el (log-edit-vc-backend): New variable.
5975 (log-edit): Doc fix.
5976
5977 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5978 argument of log-edit to set up all local variables.
5979 (vc-start-logentry): New optional arg specifying VC backend.
5980
5981 * vc/vc.el (vc-checkin): Use it.
5982 (vc-deduce-fileset): Handle Log Edit buffers.
5983 (vc-diff): Make first argument optional too.
5984
5985 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5986
5987 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5988
5989 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5990 command, just in case. The function is not needed anymore.
5991 (eshell-external-command): Do not call `eshell-remote-command'.
5992
5993 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 Reduce use of (require 'cl).
5996 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5997 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5998 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5999 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6000 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6001 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6002 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6003 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6004 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6005 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6006 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6007 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6008 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6009 (byte-compile-unfold-bcf, byte-compile-check-variable):
6010 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6011 (byte-compile-nilconstp):
6012 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6013 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6014
6015 * emacs-lisp/gv.el (cond): Make it a valid place.
6016 (if): Simplify slightly.
6017
6018 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6019 (pcase--self-quoting-p): New function.
6020 (pcase--u1): Use it.
6021
6022 2012-07-10 Glenn Morris <rgm@gnu.org>
6023
6024 * emacs-lisp/authors.el (authors-fixed-entries):
6025 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6026
6027 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6028
6029 Rename configure.in to configure.ac (Bug#11603).
6030 * emacs-lisp/authors.el (authors-canonical-file-name):
6031 * progmodes/autoconf.el (autoconf-mode):
6032 Prefer configure.ac to configure.in.
6033
6034 2012-07-08 Chong Yidong <cyd@gnu.org>
6035
6036 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6037 Implement the mouse-1-click-follows-link handling properly.
6038
6039 * info.el (Info-link-keymap): Use follow-link mechanism for
6040 header-line links (Bug#374).
6041
6042 * simple.el (deactivate-mark): Do not set the primary selection
6043 if another program has acquired it (Bug#11772).
6044
6045 2012-07-07 Kevin Ryde <user42@zip.com.au>
6046
6047 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6048 (woman-decode-region): Replace escaped-escapes without destroying
6049 bold or underline (Bug#11552).
6050 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6051
6052 2012-07-07 Chong Yidong <cyd@gnu.org>
6053
6054 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6055 (interprogram-cut-function, interprogram-paste-function):
6056 Mention that we typically mean the clipboard.
6057
6058 2012-07-06 Glenn Morris <rgm@gnu.org>
6059
6060 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6061
6062 * files.el (toggle-read-only): Restrict message to interactive use.
6063
6064 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6065
6066 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6067
6068 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6069
6070 2012-07-06 Glenn Morris <rgm@gnu.org>
6071
6072 * Makefile.in (compile-one-process): Rename from "recompile".
6073
6074 * Makefile.in (bzr-update): "compile" is the same as "recompile
6075 autoloads", but parallelizable, so use that instead.
6076
6077 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6078
6079 * window.el (quit-window): Always restore window height when
6080 it's saved in quit-restore parameter (Bug#11810).
6081
6082 2012-07-06 Glenn Morris <rgm@gnu.org>
6083
6084 * simple.el (kill-whole-line): Doc tweak.
6085
6086 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6087
6088 * files.el (file-relative-name): Compare file names
6089 case-insensitively if on MS-Windows or MS-DOS, or if
6090 read-file-name-completion-ignore-case is non-nil. Don't use
6091 case-fold-search for this purpose. (Bug#11827)
6092
6093 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6094
6095 * calendar/cal-dst.el (calendar-current-time-zone):
6096 Return calendar-current-time-zone-cache if non-nil.
6097
6098 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6099 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6100
6101 * calendar/cal-dst.el (calendar-current-time-zone):
6102 Return calendar-current-time-zone-cache if non-nil.
6103
6104 2012-07-06 Glenn Morris <rgm@gnu.org>
6105
6106 * Makefile.in (cvs-update): Remove old alias.
6107
6108 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6109
6110 Sync with Tramp 2.2.6-pre.
6111
6112 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6113 compatible declaration.
6114
6115 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6116 Protect `list-load-path-shadows' call.
6117
6118 * net/tramp-compat.el (top): Require packages, which aren't
6119 autoloaded anymore for XEmacs. Protect call of
6120 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6121 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6122 it hurts at least for SXEmacs.
6123 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6124 standard-value for `temporary-file-directory'.
6125
6126 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6127 Redirect stderr to /dev/null.
6128 (tramp-sh-handle-write-region): uid and gid can be floats.
6129 Reported by Russell Sim <russell.sim@gmail.com>.
6130 (tramp-sh-handle-vc-registered): Hide errors.
6131 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6132 and `start-file-process'.
6133 (tramp-maybe-open-connection): Check also whether `non-essential'
6134 is bound.
6135
6136 2012-07-04 Chong Yidong <cyd@gnu.org>
6137
6138 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6139 (xml-parse-tag): Likewise, and avoid changing entity tables.
6140 (xml-syntax-table): Define from scratch, making sure not to give
6141 x2000 and other Unicode spaces whitespace syntax, since those are
6142 not spaces in XML.
6143 (xml-parse-fragment): Delete unused function.
6144 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6145 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6146 (xml-entity-ref, xml-pe-reference-re)
6147 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6148 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6149 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6150 (xml-entity-value-re): Use syntax references in regexps where
6151 possible; no need to define inside a let-binding.
6152 (xml-parse-dtd): Use xml-pe-reference-re.
6153 (xml-entity-or-char-ref-re): New defconst.
6154 (xml-parse-string, xml-substitute-special): Use it.
6155
6156 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6159 (find-file--read-only): New function.
6160 (find-file-read-only, find-file-read-only-other-window)
6161 (find-file-read-only-other-frame): Use it.
6162 (insert-file-contents-literally): Don't `fset'.
6163 (get-free-disk-space): Use locate-dominating-file.
6164
6165 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6166 function is already compiled.
6167
6168 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6169
6170 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6173 files on the same host.
6174
6175 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6176
6177 * help-fns.el (describe-function-1): Only call
6178 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6179
6180 2012-07-03 Chong Yidong <cyd@gnu.org>
6181
6182 * xml.el: Protect parser against XML bombs.
6183 (xml-entity-expansion-limit): New variable.
6184 (xml-parse-string, xml-substitute-special): Use it.
6185 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6186
6187 2012-07-03 Glenn Morris <rgm@gnu.org>
6188
6189 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6190 Allow linking to specific messages in debbugs reports (eg 123#5).
6191
6192 2012-07-02 Chong Yidong <cyd@gnu.org>
6193
6194 * xml.el: Fix entity and character reference expansion, allowing
6195 them to expand into markup as per XML spec.
6196 (xml-default-ns): New variable.
6197 (xml-entity-alist): Use XML spec definitions for lt and amp.
6198 (xml-parse-region): Make first two arguments optional.
6199 Discard text properties.
6200 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6201 All callers changed.
6202 (xml-parse-tag): Call xml-parse-tag-1. For backward
6203 compatibility, this function should not modify buffer contents.
6204 (xml-parse-tag-1): Fix opening-tag regexp.
6205 (xml-parse-string): Rewrite, handling entity and character
6206 references properly.
6207 (xml--entity-replacement-text): Signal an error if a parameter
6208 entity is undefined.
6209
6210 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * comint.el (comint-output-filter): Filter out repeated prompts.
6213
6214 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6215 and file-name-absolute-p.
6216 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6217 internal calls.
6218
6219 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6220
6221 Spelling fixes.
6222 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6223 Rename from byte-compile--refiy-function. All uses changed.
6224
6225 2012-07-01 Chong Yidong <cyd@gnu.org>
6226
6227 * xml.el (xml--parse-buffer): New function. Move most of
6228 xml-parse-region here.
6229 (xml-parse-region): Copy region into a temporary buffer, since
6230 parameter entity substitution requires changing buffer contents.
6231 Use xml--parse-buffer.
6232 (xml-parse-file): Use xml--parse-buffer.
6233 (xml-parse-dtd): Make parameter entity substitution work right.
6234 Use proper regexps for ELEMENT declarations (Bug#7172).
6235
6236 2012-06-30 Glenn Morris <rgm@gnu.org>
6237
6238 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6239
6240 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6241 Remove outdated and unnecessary dbus declarations.
6242
6243 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6244
6245 * emacs-lisp/timer.el (timer-until): Subtract results of
6246 float-time, instead of taking float-time of the result of
6247 time-subtract, since float-time signals an error for negative time
6248 arguments.
6249
6250 2012-06-30 Chong Yidong <cyd@gnu.org>
6251
6252 * xml.el (xml-*-re): Convert defvars into defconsts, and
6253 eval-and-compile them so eval-and-compile works on derivatives.
6254 (xml--entity-replacement-text): Use eval-and-comple.
6255
6256 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6257
6258 * vc/vc-git.el (vc-git-registered): Use cache property
6259 `git-registered'.
6260 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6261 `vc-git-working-revision' in order to benefit from the cache.
6262 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6263
6264 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6265
6266 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6267 removed (likely outside Emacs). (Bug#11757)
6268
6269 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * emacs-lisp/cl-lib.el: Require macroexp.
6272
6273 2012-06-30 Chong Yidong <cyd@gnu.org>
6274
6275 * xml.el: Implement XML parameter entities.
6276 (xml-parameter-entity-alist): New variable.
6277 (xml-parse-region, xml-parse-fragment): Preserve previous values
6278 of xml-entity-alist and xml-parameter-entity-alist, so that
6279 repeated calls on different documents do not change them.
6280 (xml-parse-tag): Fix doctype regexp.
6281 (xml--entity-replacement-text): New function.
6282 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6283 properly requires url retrieval which is unimplemented.
6284 (xml-escape-string): Doc fix.
6285
6286 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6289
6290 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6291
6292 * fringe.el (fringe-mode): Doc fix.
6293
6294 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6297 is non-nil.
6298 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6299 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6300
6301 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6302
6303 * calendar/cal-dst.el (calendar-current-time-zone):
6304 Return calendar-current-time-zone-cache if non-nil.
6305
6306 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6307
6308 * progmodes/which-func.el (which-func-format):
6309 Add mouse-face. (Bug#11698)
6310
6311 2012-06-29 Leo Liu <sdl.web@gmail.com>
6312
6313 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6314
6315 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * minibuffer.el (minibuffer-confirm-exit-commands):
6318 Add completion-at-point (bug#11725).
6319
6320 2012-06-29 Glenn Morris <rgm@gnu.org>
6321
6322 * progmodes/f90.el (f90-font-lock-keywords-2):
6323 Add some preprocessor elements. (Bug#10499)
6324
6325 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6328 Use syntax-propertize (bug#11739).
6329
6330 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6331
6332 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6333
6334 2012-06-28 Julien Danjou <julien@danjou.info>
6335
6336 * term.el (term-handle-colors-array): Use a set of new faces to
6337 color the terminal. Also uses :inverse-video property.
6338 (term-default-fg-color): Set to nil by default, deprecate in favor
6339 of `term-face'.
6340 (term-default-bg-color): Set to nil by default, deprecate in favor
6341 of `term-face'.
6342 (term-current-face): Use `term-face' by default.
6343 (term-bold-attribute): Variable deleted.
6344
6345 2012-06-28 Glenn Morris <rgm@gnu.org>
6346
6347 * simple.el (completion-list-mode-finish):
6348 Don't use toggle-read-only. (Since completion-list-mode has
6349 a special mode-class, it wasn't doing anything extra anyway.)
6350
6351 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 Make inlining of other-mode interpreted functions work (bug#11799).
6354 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6355 (byte-compile): Use it to fix compilation of lexical-binding closures.
6356 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6357 function, if needed.
6358
6359 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * help-mode.el (help-make-xrefs): Don't just withstand
6362 cyclic-variable-indirection but any error in documentation-property.
6363
6364 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6365 memory use.
6366 * bindings.el (bindings--define-key): New function.
6367 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6368 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6369 * bindings.el: Use it to purecopy define-key bindings.
6370
6371 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6372
6373 * emacs-lisp/cl.el (flet): Mark obsolete.
6374 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6375 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6376 * progmodes/js.el (js-c-fill-paragraph):
6377 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6378 (ebrowse-switch-member-buffer-to-derived-class):
6379 * play/5x5.el (5x5-solver): Use cl-flet.
6380
6381 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6382 (cl--symbol-function): New macro.
6383 (cl--letf, cl--letf*): Use it.
6384
6385 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6386 Strip "toggle-" if any.
6387
6388 2012-06-27 Glenn Morris <rgm@gnu.org>
6389
6390 * info.el (Info-default-directory-list): Move here from paths.el.
6391 * paths.el: Remove file, which is now empty.
6392 * loadup.el: No longer load "paths".
6393
6394 * custom.el (custom-initialize-delay): Doc fix.
6395
6396 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6397 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6398 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6399 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6400 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6401 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6402 * eshell/eshell.el (eshell-defgroup): Remove alias.
6403
6404 2012-06-27 Chong Yidong <cyd@gnu.org>
6405
6406 * help.el (help-enable-auto-load): New variable.
6407
6408 * help-fns.el (help-fns--autoloaded-p): New function.
6409 (describe-function-1): Refer to a function as "autoloaded" if it
6410 was autoloaded at any time in the past. Perform autoloading if
6411 help-enable-auto-load is non-nil.
6412
6413 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6414
6415 * makefile.w32-in (compile, compile-always): Depend on
6416 update-subdirs, not on subdirs.el. Otherwise, several different
6417 sub-targets of 'bootstrap' running in parallel could
6418 simultaneously write to subdirs.el, producing a garbled file.
6419
6420 2012-06-26 Sam Steingold <sds@gnu.org>
6421
6422 * files.el (file-name-base): New convenience function.
6423 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6424 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6425 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6426 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6427 * textmodes/ispell.el, textmodes/reftex-ref.el:
6428 * textmodes/tex-mode.el: Use it.
6429 Did not touch cedet and org because they are maintained elsewhere.
6430
6431 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6432
6433 * calendar/calendar.el (calendar-exit): Don't try to delete or
6434 iconify last frame. See:
6435 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6436
6437 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6438
6439 * server.el (server-process-filter): Remember dir in the
6440 process's `server-client-directory' properties.
6441
6442 2012-06-24 Chong Yidong <cyd@gnu.org>
6443
6444 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6445 non-tag text.
6446
6447 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6448
6449 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6450
6451 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * help-fns.el (describe-variable): Don't croak when doc is not found.
6454 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6455 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6456 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6457 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6458 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6459 ((lambda ..) ..).
6460 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6461
6462 2012-06-23 Chong Yidong <cyd@gnu.org>
6463
6464 * info.el (Info-mouse-follow-link): Accept symbol values of
6465 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6466 (Info-fontify-node): Use Info-link-keymap for all navigation
6467 buttons, with link-args property to perform the desired action.
6468 (Info-link-keymap): Doc fix.
6469 (Info-next-link-keymap, Info-prev-link-keymap)
6470 (Info-up-link-keymap): Delete now-unused keymaps.
6471
6472 2012-06-23 Chong Yidong <cyd@gnu.org>
6473
6474 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6475
6476 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6477 system abbrevs.
6478
6479 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6480
6481 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6484 (bug#11719).
6485
6486 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6487 the requote function doesn't work properly (bug#11714).
6488
6489 2012-06-23 Glenn Morris <rgm@gnu.org>
6490
6491 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6492
6493 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 Further GV/CL cleanups.
6496 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6497 gv-expander.
6498 (gv--defun-declaration): New function.
6499 (defun-declarations-alist): Use it.
6500 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6501 (gv-place): Autoload.
6502 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6503 original definition of dotimes and dolist.
6504 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6505 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6506 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6507 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6508 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6509 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6510 to the function's definition.
6511 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6512 * window.el:
6513 * files.el:
6514 * faces.el:
6515 * env.el: Don't use CL.
6516
6517 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6518
6519 Support higher-resolution time stamps (Bug#9000).
6520
6521 * calendar/time-date.el (with-decoded-time-value): New arg
6522 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6523 (encode-time-value): New optional arg PICO. New type 3.
6524 (time-to-seconds) [!float-time]: Support the new picoseconds
6525 component if it's used.
6526 (seconds-to-time, time-subtract, time-add):
6527 Support ps-resolution time stamps as well.
6528
6529 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6530 (timerp): Timer vectors now have length 9, not 8.
6531 (timer--time): Support new-style (4-part) time stamps.
6532 (timer-next-integral-multiple-of-time): Time stamps now have
6533 picosecond resolution, so take a bit more care about rounding.
6534 (timer-relative-time, timer-inc-time): New optional arg psecs.
6535 (timer-set-time-with-usecs): Set psecs to 0.
6536 (timer--activate): Check psecs component, too.
6537
6538 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6539
6540 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6543 Move the non-essential binding to the post/pre-command-hook where it is
6544 more obviously correct.
6545
6546 * subr.el (read-passwd): Don't use a history at all.
6547 * savehist.el (savehist-save): Remove password saved accidentally
6548 because of the above bug.
6549
6550 2012-06-22 Bastien Guerry <bzg@gnu.org>
6551
6552 * files.el (toggle-read-only): Display a message telling whether
6553 the buffer is read-only or not (bug#11726).
6554
6555 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * emacs-lisp/gv.el: New file.
6558 * subr.el (push, pop): Extend to generalized variables.
6559 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6560 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6561 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6562 gv-define-simple-setter, and gv-define-expander.
6563 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6564 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6565 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6566 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6567 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6568 gv-letplace.
6569 (cl-defstruct): Don't define setf-method any more.
6570 * emacs-lisp/cl.el (flet): Don't autoload.
6571 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6572 (define-setf-expander, defsetf, define-modify-macro)
6573 (cl-struct-setf-expander): Move from cl-lib.el.
6574 * emacs-lisp/syntax.el:
6575 * emacs-lisp/ewoc.el:
6576 * emacs-lisp/smie.el:
6577 * emacs-lisp/cconv.el:
6578 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6579 (timer--time): Use gv-define-simple-setter.
6580 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6581 to avoid coding-system problems in subr.el. Adjust all users.
6582 (macroexp--maxsize, macroexp-small-p): New functions.
6583 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6584 * scroll-bar.el (scroll-bar-mode):
6585 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6586 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6587 * winner.el (winner-configuration, winner-make-point-alist)
6588 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6589 * files.el (locate-file-completion-table): Avoid list*.
6590
6591 2012-06-22 Chong Yidong <cyd@gnu.org>
6592
6593 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6594 (dired-create-files): Doc fix (Bug#11329).
6595 (dired-do-copy): Doc fix (Bug#11334).
6596 (dired-mark-read-string): Doc fix (Bug#11553).
6597
6598 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6599 Doc fix (Bug#11326).
6600 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6601 (dired-dwim-target): Doc fix.
6602
6603 * wdired.el (wdired-mode): Doc fix.
6604
6605 2012-06-22 Glenn Morris <rgm@gnu.org>
6606
6607 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6608 (pcmpl-rpm-cache-stamp-file): New constant.
6609 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6610 (pcmpl-rpm-packages): Optionally cache list of packages.
6611
6612 * pcmpl-rpm.el (pcmpl-rpm): New group.
6613 (pcmpl-rpm-query-options): New option.
6614 (pcmpl-rpm-packages): No need to inline it.
6615 Use pcmpl-rpm-query-options.
6616
6617 * calendar/calendar.el (calendar-in-read-only-buffer):
6618 Avoid some needless mode changes.
6619
6620 2012-06-21 Chong Yidong <cyd@gnu.org>
6621
6622 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6623 (desktop-path): Remove . from the default value (Bug#10977).
6624 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6625
6626 2012-06-20 Chong Yidong <cyd@gnu.org>
6627
6628 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6629
6630 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6631
6632 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6633 (bug#11201).
6634
6635 2012-06-20 Chong Yidong <cyd@gnu.org>
6636
6637 * term.el (term-window-width): Handle the case of a missing right
6638 fringe (Bug#8837).
6639 (term-check-size): Use window-text-height (Bug#5445).
6640 (term-mode): Use define-derived-mode. Minor cleanups.
6641 Set font-lock-defaults (Bug#7692).
6642 (term-move-columns, term-insert-char, term-emulate-terminal)
6643 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6644
6645 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6646
6647 * net/ange-ftp.el (ange-ftp-get-passwd):
6648 Bind `enable-recursive-minibuffers'.
6649 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6650
6651 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6652
6653 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6654
6655 2012-06-19 Glenn Morris <rgm@gnu.org>
6656
6657 * progmodes/python.el (python-mode): Derive from prog-mode.
6658
6659 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6660
6661 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6662 (edt-user-menu-bar-update-buffers): New functions.
6663 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6664
6665 2012-06-19 Chong Yidong <cyd@gnu.org>
6666
6667 * subr.el (with-selected-window): Preserve the selected window's
6668 terminal's top-frame (Bug#4702).
6669
6670 * window.el (save-selected-window): Likewise.
6671
6672 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * progmodes/python.el (python-rx-constituents): Move backquote.
6675 (python-skeleton-define, python-define-auxiliary-skeleton):
6676 Use `declare'.
6677
6678 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * minibuffer.el (read-file-name-default): Revert the patch from
6681 2012-06-17.
6682
6683 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6686 (pcase--u1, pcase--q1): Don't use apply-partially.
6687
6688 2012-06-18 Glenn Morris <rgm@gnu.org>
6689
6690 * progmodes/python.el (python-proc, python-buffer)
6691 (python-send-receive, python-send-string): Fix obsolete versions.
6692
6693 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6694
6695 * window.el (special-display-p): Completely remove stringp
6696 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6697
6698 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6699
6700 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6701
6702 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6703
6704 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6705 * net/tramp-sh.el (tramp-maybe-open-connection):
6706 Throw if `non-essential' is non-nil.
6707
6708 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6709
6710 * window.el (special-display-p): Signal an error if BUFFER-NAME
6711 is not a string (Bug#11713).
6712
6713 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6714
6715 * progmodes/python.el (python-info-beginning-of-backslash):
6716 Rename from python-info-beginning-of-backlash, as a spelling fix.
6717
6718 2012-06-17 Chong Yidong <cyd@gnu.org>
6719
6720 * term.el (term-emulate-terminal): If term-check-size is called,
6721 move point to the process mark without resetting point (Bug#4635).
6722
6723 2012-06-17 Glenn Morris <rgm@gnu.org>
6724
6725 * international/mule-cmds.el (mule-menu-keymap)
6726 (set-language-environment, set-locale-environment): Doc tweaks.
6727
6728 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6729
6730 * cus-face.el (custom-face-attributes): Add wave-style underline
6731 attribute.
6732 * faces.el (set-face-attribute): Update docstring to describe
6733 wave-style underline attribute.
6734
6735 2012-06-16 Chong Yidong <cyd@gnu.org>
6736
6737 * term/xterm.el (terminal-init-xterm): Discard input before
6738 querying background mode (Bug#10959).
6739
6740 2012-06-16 Stefan Merten <smerten@oekonux.de>
6741
6742 * textmodes/rst.el: Added and corrected some comments.
6743 (rst-re-alist-def): Improve symbol syntax.
6744 (rst-mode-syntax-table): Correct syntax entries.
6745 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6746 (rst-official-version, rst-official-cvs-rev): Update version
6747 information.
6748
6749 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6752 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6753
6754 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6755
6756 * progmodes/python.el: New python.el merge.
6757 (python-guess-indent): Obsolete var.
6758 (python-indent-guess-indent-offset): New defcustom.
6759 (python-indent): Obsolete var.
6760 (python-indent-offset): New defcustom.
6761 (python-python-command, python-jython-command): Delete var.
6762 (python-shell-interpreter): New defcustom.
6763 (python-pdbtrack-do-tracking-p): Delete var.
6764 (python-pdbtrack-activate): New defcustom.
6765 (python-use-skeletons): Obsolete var.
6766 (python-skeleton-autoinsert): New defcustom.
6767 (inferior-python-filter-regexp, python-continuation-offset)
6768 (python-honour-comment-indentation, python-indent-string-contents)
6769 (python-jython-packages, python-mode-hook)
6770 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6771 (python-shell-prompt-alist)
6772 (python-source-modes): Delete defcustoms.
6773 (python-check-buffer-name, python-eldoc-setup-code)
6774 (python-eldoc-string-code, python-ffap-setup-code)
6775 (python-ffap-string-code, python-fill-comment-function)
6776 (python-fill-decorator-function, python-fill-paren-function)
6777 (python-fill-string-function, python-imenu-include-defun-type)
6778 (python-imenu-make-tree, python-imenu-subtree-root-label)
6779 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6780 (python-shell-compilation-regexp-alist)
6781 (python-shell-completion-module-string-code)
6782 (python-shell-completion-pdb-string-code)
6783 (python-shell-completion-setup-code)
6784 (python-shell-completion-string-code)
6785 (python-shell-enable-font-lock, python-shell-exec-path)
6786 (python-shell-extra-pythonpaths)
6787 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6788 (python-shell-process-environment)
6789 (python-shell-prompt-block-regexp)
6790 (python-shell-prompt-output-regexp)
6791 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6792 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6793 (python-shell-virtualenv-path): New defcustoms.
6794 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6795 (inferior-python-mode-syntax-table, python--prompt-regexp)
6796 (python-buffer, python-command python-python-command)
6797 (python-default-template, python-imports, python-indent-index)
6798 (python-indent-list, python-indent-list-length)
6799 (python-mode-running, python-pdbtrack-is-tracking-p)
6800 (python-preoutput-continuation, python-preoutput-leftover)
6801 (python-preoutput-result, python-preoutput-skip-next-prompt)
6802 (python-prev-dir/file, python-recursing)
6803 (python-saved-check-command, python-version-checked)
6804 (python-which-func-length-limit)
6805 (view-return-to-alist): Delete vars.
6806 (python-check-custom-command, python-dotty-syntax-table)
6807 (python-imenu-index-alist, python-indent-current-level)
6808 (python-indent-dedenters, python-indent-levels)
6809 (python-nav-beginning-of-defun-regexp)
6810 (python-nav-list-defun-positions-cache)
6811 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6812 (python-shell-internal-buffer)
6813 (python-skeleton-available): New vars.
6814 (def-python-skeleton): Delete macro.
6815 (python-skeleton-define): New macro.
6816 (python-define-auxiliary-skeleton, python-rx): New macros.
6817 (python-insert-class): Delete command.
6818 (python-skeleton-class): New command.
6819 (python-insert-def): Delete command.
6820 (python-skeleton-def): New command.
6821 (python-insert-for): Delete command.
6822 (python-skeleton-for): New command.
6823 (python-insert-if): Delete command.
6824 (python-skeleton-if): New command.
6825 (python-insert-try/except, python-insert-try/finally): Delete commands.
6826 (python-skeleton-try): New command.
6827 (python-insert-while): Delete command.
6828 (python-skeleton-while): New command.
6829 (python-backspace): Delete command.
6830 (python-indent-dedent-line-backspace): New command.
6831 (python-electric-colon): Delete command.
6832 (python-indent-electric-colon): New command.
6833 (python-guess-indent): Delete command.
6834 (python-indent-guess-indent-offset): New command.
6835 (python-shift-left): Delete command.
6836 (python-indent-shift-left): New command.
6837 (python-shift-right): Delete command.
6838 (python-indent-shift-right): New command.
6839 (python-find-function): Delete command.
6840 (python-nav-jump-to-defun): New command.
6841 (python-next-statement): Delete command.
6842 (python-nav-forward-sentence): New command.
6843 (python-previous-statement): Delete command.
6844 (python-nav-backward-sentence): New command.
6845 (python-fill-paragraph): Delete command.
6846 (python-fill-paragraph-function): New command.
6847 (python-send-buffer): Delete command.
6848 (python-shell-send-buffer): New command.
6849 (python-send-defun): Delete command.
6850 (python-shell-send-defun): New command.
6851 (python-send-region, python-send-region-and-go): Delete commands.
6852 (python-shell-send-region)
6853 (python-shell-switch-to-shell): New commands.
6854 (python-send-string): Delete command.
6855 (python-shell-send-string): New command.
6856 (python-switch-to-python): Delete command.
6857 (python-shell-switch-to-shell): New command.
6858 (python-describe-symbol): Delete command.
6859 (python-eldoc-at-point): New command.
6860 (python--set-prompt-regexp, python-args-to-list)
6861 (python-after-info-look, python-check-version)
6862 (python-check-comint-prompt, python-find-imports)
6863 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6864 (python-unload-function, python-expand-template)
6865 (python-maybe-jython, python-preoutput-filter)
6866 (python-pdbtrack-get-source-buffer)
6867 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6868 (python-pdbtrack-toggle-stack-tracking)
6869 (python-pdbtrack-track-stack-file, python-initial-text)
6870 (python-first-word, python-comment-line-p, python-send-command)
6871 (python-setup-brm, python-sentinel, python-set-proc)
6872 (python-skip-out, python-input-filter, python-outdent-p)
6873 (python-outline-level, python-backslash-continuation-line-p)
6874 (python-end-of-block, python-end-of-statement, python-mark-block)
6875 (python-beginning-of-block, python-beginning-of-statement)
6876 (python-blank-line-p, python-beginning-of-string)
6877 (python-open-block-statement-p): Delete functions.
6878 (python-indent-line, python-indent-line-1): Delete functions.
6879 (python-indent-line): New function.
6880 (python-indentation-levels): Delete function.
6881 (python-indent-calculate-levels): New function.
6882 (python-proc): Delete function.
6883 (python-shell-get-process): New function.
6884 (python-send-receive): Delete function.
6885 (python-shell-send-string-no-output): New function.
6886 (python-module-path): Delete function.
6887 (python-ffap-module-path): New function.
6888 (python-completion-at-point)
6889 (python-symbol-completions): Delete functions.
6890 (python-completion-complete-at-point): New function.
6891 (python-load-file): Delete function.
6892 (python-shell-send-file): New function.
6893 (python-calculate-indentation): Delete function.
6894 (python-indent-calculate-indentation): New function.
6895 (python-skip-comments/blanks): Delete function.
6896 (python-util-forward-comment): New function.
6897 (python-continuation-line-p): Delete function.
6898 (python-info-continuation-line-p): New function.
6899 (python-which-func, python-current-defun): Delete function.
6900 (python-info-current-defun): New function.
6901 (python-beginning-of-defun): Delete function.
6902 (python-nav-beginning-of-defun): New function.
6903 (python-close-block-statement-p)
6904 (python-block-end-p): Delete function.
6905 (python-info-closing-block): New function.
6906 (python-comint-output-filter-function)
6907 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6908 (python-fill-comment, python-fill-decorator, python-fill-paren)
6909 (python-fill-string, python-imenu-make-element-tree)
6910 (python-imenu-make-tree, python-imenu-tree-assoc)
6911 (python-indent-context, python-indent-dedent-line)
6912 (python-indent-line-function)
6913 (python-indent-post-self-insert-function)
6914 (python-indent-toggle-levels)
6915 (python-info-assignment-continuation-line-p)
6916 (python-info-beginning-of-backlash)
6917 (python-info-block-continuation-line-p)
6918 (python-info-closing-block-message)
6919 (python-info-line-ends-backslash-p)
6920 (python-info-looking-at-beginning-of-defun)
6921 (python-info-ppss-context, python-info-ppss-context-type)
6922 (python-nav-list-defun-positions, python-nav-read-defun)
6923 (python-nav-sentence-end, python-nav-sentence-start)
6924 (python-pdbtrack-comint-output-filter-function)
6925 (python-pdbtrack-set-tracked-buffer)
6926 (python-shell-calculate-exec-path)
6927 (python-shell-calculate-process-environment)
6928 (python-shell-completion--do-completion-at-point)
6929 (python-shell-completion--get-completions)
6930 (python-shell-completion-complete-at-point)
6931 (python-shell-completion-complete-or-indent)
6932 (python-shell-get-or-create-process)
6933 (python-shell-get-process-name)
6934 (python-shell-internal-get-or-create-process)
6935 (python-shell-internal-get-process-name)
6936 (python-shell-internal-send-string, python-shell-make-comint)
6937 (python-shell-parse-command, python-shell-send-setup-code)
6938 (python-skeleton-add-menu-items)
6939 (python-util-clone-local-variables, python-util-position)
6940 (run-python-internal, python-indentation-levels)
6941 (python-nav-beginning-of-defun)
6942 (python-completion-complete-at-point): New functions.
6943 (run-python): Change arguments. New API requirements.
6944
6945 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6948 (bug#11649).
6949
6950 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6951 (macroexp--expand-all): Use it.
6952
6953 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6954 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6955 Use `cl-function' instead.
6956
6957 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6958
6959 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6960 Suggested by Stefan Monnier while discussing bug#11657.
6961
6962 2012-06-14 Sam Steingold <sds@gnu.org>
6963
6964 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6965
6966 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6967
6968 * play/doctor.el (doctor-doc): Remove parameter and use
6969 doctor-sent instead of sent.
6970 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6971
6972 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * files.el: Require cl-lib.
6975 (file-name-non-special): Replace case -> cl-case.
6976
6977 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6978
6979 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6980 mapping from #' to function*.
6981
6982 2012-06-13 Chong Yidong <cyd@gnu.org>
6983
6984 * mouse.el (mouse-drag-track): Do not set the mark if the user
6985 releases the mouse without selecting anything (Bug#11588).
6986
6987 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6990 as well (bug#11646).
6991
6992 * loadup.el: Count byte-code functions as well.
6993
6994 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6995 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6996
6997 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6998 (bug#11649). Add cl-defun and cl-defmacro.
6999
7000 2012-06-13 Drew Adams <drew.adams@oracle.com>
7001
7002 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7003 Fix last change.
7004
7005 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7006
7007 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7008 Otherwise, it blocks in batch mode.
7009
7010 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * help-mode.el (bookmark-make-record-default): Declare.
7013
7014 2012-06-13 Chong Yidong <cyd@gnu.org>
7015
7016 * emacs-lisp/package.el (list-packages): Compute a list of
7017 packages that are newly-available since the last list-packages
7018 invocation.
7019 (package-menu--new-package-list): New var.
7020 (package-menu--generate, package-menu--print-info)
7021 (package-menu--status-predicate, package-menu-mark-install):
7022 Handle new status label "new".
7023
7024 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7027 conversion to backquotes.
7028
7029 2012-06-12 Chong Yidong <cyd@gnu.org>
7030
7031 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7032 Rename from gud-inhibit-global-bindings.
7033
7034 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7035
7036 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7037 hook from nxml-glyph-set-hook.
7038
7039 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7040 declaration.
7041
7042 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7043
7044 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7045 Convert to defcustom.
7046
7047 2012-06-12 Drew Adams <drew.adams@oracle.com>
7048
7049 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7050 New functions.
7051 (help-mode): Use them.
7052
7053 2012-06-11 Glenn Morris <rgm@gnu.org>
7054
7055 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7056 Use preprocessor face for directives.
7057 (fortran-directive-re): Doc fix.
7058
7059 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7062 conversion to backquotes (bug#11652).
7063
7064 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7065 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7066 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7067 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7068 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7069 (cl-ninth, cl-tenth): Mark them as inlinable.
7070 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7071 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7072 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7073 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7074 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7075 (cl-list*, cl-adjoin): Don't put an autoload manually.
7076 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7077 (cl--compiler-macro-list*): Add autoload cookie.
7078 (cl--compiler-macro-cXXr): New function.
7079
7080 * help-fns.el (help-fns--compiler-macro): New function extracted from
7081 describe-function-1; follow aliases and use `compiler-macro' property.
7082 (describe-function-1): Use it.
7083
7084 2012-06-11 Chong Yidong <cyd@gnu.org>
7085
7086 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7087 is uninstalled, if imagemagick is installed.
7088
7089 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * emacs-lisp/cl-lib.el: Use lexical-binding.
7092 (cl-map-extents, cl-maclisp-member): Remove.
7093 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7094 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7095 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7096 * emacs-lisp/cl-extra.el: Use lexical-binding.
7097 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7098 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7099 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7100 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7101 * emacs-lisp/cl-seq.el: Use lexical-binding.
7102 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7103 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7104 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7105 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7106 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7107 CL's internals.
7108
7109 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7110
7111 Sync with Tramp 2.2.6-pre.
7112
7113 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7114 `print-length' and `print-level' to nil, in order to avoid
7115 truncation. Reported by Christopher Schmidt
7116 <christopher@ristopher.com>.
7117
7118 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7119
7120 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7121 New defmacro.
7122 (tramp-compat-copy-directory): Add optional argument
7123 COPY-CONTENTS. It is not handled yet.
7124
7125 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7126 (tramp-ftp-file-name-p): Simplify.
7127
7128 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7129 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7130 connection vector.
7131
7132 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7133 (tramp-methods): Do not use `tramp-password-end-of-line'.
7134 (tramp-completion-function-alist-putty): Handle UNIX case.
7135 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7136 (tramp-do-file-attributes-with-stat)
7137 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7138 gid as real numbers. They could run out of integer range on cygwin.
7139 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7140 (tramp-sh-handle-expand-file-name): Handle hops.
7141 (tramp-open-connection-setup-interactive-shell):
7142 Use `tramp-cleanup'. Move check for busyboxes ...
7143 (tramp-find-shell): ... here. Simplify implementation.
7144 Set "remote-shell" property also for alternative shells.
7145 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7146 If failing, a regular file would be written otherwise.
7147 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7148 (tramp-find-inline-encoding): Cache the coding commands in the
7149 process cache. Apply test command on the remote side, if defined.
7150 (tramp-find-inline-compress): Cache the compress commands in the
7151 process cache.
7152 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7153 when requested. Handle hops.
7154 (tramp-current-connection): New defvar.
7155 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7156 Throw `suppress', if there was a failed connection shortly before.
7157 Handle user interrupt. (Bug#10187)
7158 (tramp-get-inline-compress, tramp-get-inline-coding):
7159 Read connection properties from the process cache.
7160
7161 * net/tramp-smb.el (tramp-smb-server-version)
7162 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7163 New defconsts.
7164 (tramp-smb-prompt): Extend for powershell prompt.
7165 (tramp-smb-file-name-handler-alist): Add handlers for
7166 `process-file', `shell-command' and `start-file-process'.
7167 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7168 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7169 (tramp-smb-file-name-p): Simplify.
7170 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7171 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7172 (tramp-smb-shell-quote-argument): New defuns.
7173 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7174 Implement using "tar". By this, time-stamps are preserved.
7175 (tramp-smb-handle-copy-file): Handle also the case of directories.
7176 (tramp-smb-do-file-attributes-with-stat)
7177 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7178 Use `tramp-get-connection-buffer').
7179 (tramp-smb-handle-rename-file): Use "rename", when source and
7180 target are on the same share.
7181 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7182 Use `tramp-smb-server-version'.
7183 (tramp-smb-wait-for-output): Remove prompt.
7184
7185 * net/tramp.el (top): Require 'cl.
7186 (tramp-methods, tramp-rsh-end-of-line):
7187 Remove `tramp-password-end-of-line' from docstring.
7188 (tramp-save-ad-hoc-proxies): New defcustom.
7189 (tramp-completion-function-alist): Adapt docstring.
7190 (tramp-default-password-end-of-line): Remove defcustom.
7191 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7192 (tramp-user-regexp, tramp-file-name-regexp-unified)
7193 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7194 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7195 (tramp-remote-file-name-spec-regexp): New defconst.
7196 (tramp-file-name-structure): Extend structure for hops.
7197 (tramp-get-method-parameter): Move up.
7198 (tramp-file-name-p, tramp-dissect-file-name)
7199 (with-parsed-tramp-file-name): Handle hops.
7200 (tramp-file-name-hop): New defun.
7201 (tramp-make-tramp-file-name): New optional arg HOP.
7202 (tramp-message-show-progress-reporter-message): New defvar.
7203 (tramp-with-progress-reporter): Use it. We cannot use
7204 `tramp-message-show-message' here, because this suppresses also
7205 error buffers.
7206 (tramp-error-with-buffer): Suppress buffer view, if
7207 `tramp-message-show-message' is nil.
7208 Use `tramp-get-connection-buffer'.
7209 (tramp-cleanup): New defun.
7210 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7211 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7212 an error unchanged.
7213 (tramp-completion-handle-file-name-all-completions): Handle hops.
7214 Fix an error when called from ido.
7215 (tramp-completion-dissect-file-name): Use better local variable
7216 name. Add hop to the vector.
7217 (tramp-handle-insert-file-contents): Use progress-reporter for the
7218 whole scenario.
7219 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7220 to `t'.
7221 (tramp-check-for-regexp): Simplify search.
7222 (tramp-enter-password): Remove it. Move implementation ...
7223 (tramp-action-password): ... here.
7224 (tramp-mode-string-to-int, tramp-local-host-p)
7225 (tramp-make-tramp-temp-file, tramp-read-passwd)
7226 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7227 Set tramp-autoload cookie.
7228
7229 * net/trampver.el: Update release number.
7230
7231 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7232 Michael Albinus <michael.albinus@gmx.de>
7233
7234 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7235 (tramp-parse-group, tramp-parse-file)
7236 (tramp-parse-shostkeys-sknownhosts): New defuns.
7237 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7238 (tramp-parse-shosts-group, tramp-parse-sconfig)
7239 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7240 (tramp-parse-sknownhosts, tramp-parse-hosts)
7241 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7242 Use them.
7243 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7244 (tramp-parse-putty-group): Don't narrow.
7245 (tramp-parse-putty): Make a loop.
7246 (tramp-file-name-handler): Catch the `suppress' signal.
7247
7248 2012-06-11 Chong Yidong <cyd@gnu.org>
7249
7250 * image.el (imagemagick-register-types): Put the ImageMagick entry
7251 at the end of image-type-file-name-regexps.
7252
7253 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7254
7255 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7256 (pcase, pcase-let*, pcase-dolist): Use them.
7257
7258 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * emacs-lisp/pcase.el (pcase--let*): New function.
7261 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7262 (pcase--expand): Use macroexp-let².
7263
7264 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7267 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7268 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7269 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7270 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7271 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7272
7273 2012-06-10 Glenn Morris <rgm@gnu.org>
7274
7275 * mail/rmail.el (rmail-yank-current-message): Leave point at
7276 correct position. (Bug#11660)
7277
7278 2012-06-10 Chong Yidong <cyd@gnu.org>
7279
7280 * allout-widgets.el: Fix code header.
7281
7282 2012-06-10 Chong Yidong <cyd@gnu.org>
7283
7284 * cus-edit.el (customize-changed-options-previous-release):
7285 Bump to 24.1.
7286
7287 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7288
7289 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7290
7291 2012-06-09 Chong Yidong <cyd@gnu.org>
7292
7293 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7294
7295 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7296
7297 * window.el (special-display-popup-frame): Don't use
7298 window--display-buffer (Bug#11651).
7299
7300 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7301
7302 Fix parallel builds: make sure loaddefs.el is not being written
7303 while Lisp files are compiled.
7304 (compile): Don't depend on 'mh-autoloads'.
7305 (compile-CMD, compile-SH): Depend on 'autoloads'.
7306 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7307
7308 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7309
7310 2012-06-09 Chong Yidong <cyd@gnu.org>
7311
7312 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7313 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7314 Doc fixes (Bug#11225).
7315
7316 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7319 a function if there's a clear indication that it has a compiler-macro.
7320 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7321 (macro-declarations-alist): Add arglist to declaration functions.
7322 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7323 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7324 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7325 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7326 Also add autoload to find the compiler macro.
7327 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7328 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7329 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7330 (cl--compiler-macro-get): New functions, replacing calls to
7331 cl-define-compiler-macro.
7332 (cl-typep) [compiler-macro]: Use macroexp-let².
7333
7334 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7335
7336 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7337 string properly, fixes Bug#11473.
7338
7339 2012-06-08 Chong Yidong <cyd@gnu.org>
7340
7341 * faces.el (set-face-attribute): Doc fix.
7342 (modify-face): Don't use :bold and :italic.
7343 (error, warning, success): Tweak definitions.
7344
7345 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7346 (custom-modified, custom-set, custom-changed, custom-themed)
7347 (custom-saved, custom-button, custom-button-mouse)
7348 (custom-button-pressed, custom-state, custom-comment-tag)
7349 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7350 (custom-group-subtitle): Use new-style face specs.
7351 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7352 (custom-set-face, custom-changed-face, custom-saved-face)
7353 (custom-button-face, custom-button-pressed-face)
7354 (custom-documentation-face, custom-state-face)
7355 (custom-comment-face, custom-comment-tag-face)
7356 (custom-variable-tag-face, custom-variable-button-face)
7357 (custom-face-tag-face, custom-group-tag-face-1)
7358 (custom-group-tag-face): Remove obsolete face alias.
7359
7360 * epa.el (epa-validity-high, epa-validity-medium)
7361 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7362 (epa-field-name, epa-field-body):
7363 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7364 (font-lock-keyword-face, font-lock-builtin-face)
7365 (font-lock-function-name-face, font-lock-variable-name-face)
7366 (font-lock-type-face, font-lock-constant-face):
7367 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7368 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7369 * speedbar.el (speedbar-button-face, speedbar-file-face)
7370 (speedbar-directory-face, speedbar-tag-face)
7371 (speedbar-selected-face, speedbar-highlight-face)
7372 (speedbar-separator-face):
7373 * whitespace.el (whitespace-newline, whitespace-space)
7374 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7375 (whitespace-line, whitespace-space-before-tab)
7376 (whitespace-space-after-tab, whitespace-indentation)
7377 (whitespace-empty):
7378 * emulation/cua-base.el (cua-global-mark):
7379 * eshell/em-prompt.el (eshell-prompt):
7380 * net/newst-plainview.el (newsticker-new-item-face)
7381 (newsticker-old-item-face, newsticker-immortal-item-face)
7382 (newsticker-obsolete-item-face, newsticker-date-face)
7383 (newsticker-statistics-face, newsticker-default-face):
7384 * net/newst-reader.el (newsticker-feed-face)
7385 (newsticker-extra-face, newsticker-enclosure-face):
7386 * net/newst-treeview.el (newsticker-treeview-face)
7387 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7388 (newsticker-treeview-immortal-face)
7389 (newsticker-treeview-obsolete-face)
7390 (newsticker-treeview-selection-face):
7391 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7392 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7393 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7394 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7395 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7396 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7397 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7398 (mpuz-text):
7399 * progmodes/vera-mode.el (vera-font-lock-number)
7400 (vera-font-lock-function, vera-font-lock-interface):
7401 * textmodes/table.el (table-cell): Use new-style face specs, and
7402 don't use the old :bold and :italic attributes.
7403
7404 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7405 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7406 (ebrowse-member-class, ebrowse-progress): Likewise.
7407 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7408 (ebrowse-file-name-face, ebrowse-default-face)
7409 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7410 (ebrowse-progress-face): Remove obsolete faces.
7411
7412 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7413 Inherit from error and warning faces respectively.
7414
7415 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7416 Likewise.
7417 (flyspell-incorrect-face, flyspell-duplicate-face):
7418 Remove obsolete aliases.
7419
7420 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7421
7422 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7423 Avoid infloop.
7424
7425 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * startup.el (argv, argi): Make lexically scoped.
7428 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7429 * emacs-lisp/cl-macs.el: Use lexical-binding.
7430 Rename cl-bind-* to cl--bind-*.
7431 * files.el: Don't require `cl' since it doesn't use it.
7432 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7433
7434 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7435
7436 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7437 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7438 instead of calling external sort utility.
7439 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7440
7441 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7442
7443 * descr-text.el (describe-char): Mention how to insert the
7444 character, if the current input method doesn't support it.
7445 See the discussion in this thread for the details:
7446 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7447
7448 2012-06-08 Sam Steingold <sds@gnu.org>
7449
7450 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7451 XF86Back to previous-buffer.
7452 (minibuffer-local-map): Bind them to next-history-element and
7453 previous-history-element respectively.
7454 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7455 help-go-back respectively.
7456 * info.el (Info-mode-map): Bind them to Info-history-forward and
7457 Info-history-back respectively.
7458 These are the keys next to Up on the ThinkPad keyboard.
7459
7460 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7463 * emacs-lisp/cl-macs.el: Provide itself.
7464 (cl--labels-convert-cache): New var.
7465 (cl--labels-convert): New function.
7466 (cl-flet, cl-labels): New implementation with new semantics, relying on
7467 lexical-binding.
7468 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7469 (cl-closure-vars, cl--function-convert-cache)
7470 (cl--function-convert): Move from cl-macs.el.
7471 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7472 rename by removing the "cl-" prefix.
7473 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7474
7475 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7478 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7479 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7480 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7481 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7482 (cl-hash-table-count): Add old compatibility aliases.
7483
7484 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7485 Use macroexpand-all-environment instead.
7486 (cl--old-macroexpand): New var.
7487 (cl--sm-macroexpand): New function.
7488 (cl-symbol-macrolet): Use it during macro expansion.
7489 (cl--function-convert-cache): New var.
7490 (cl--function-convert): New function, extracted from
7491 cl-macroexpand-all.
7492 (cl-lexical-let): Use it.
7493
7494 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7495 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7496 (cl-member): Remove old alias.
7497
7498 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7499 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7500 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7501 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7502 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7503 (cl-macroexpand-cmacs): Remove var.
7504 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7505 Use macroexpand-all instead.
7506
7507 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7510 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7511 (macroexp-copyable-p): New functions and macros.
7512 * emacs-lisp/edebug.el (edebug-unwrap):
7513 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7514 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7515 (pcase--let*): Remove.
7516 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7517 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7518 macroexp-const-p instead.
7519 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7520
7521 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7522 instead of "cl-" for internal definitions. Use macroexp-const-p.
7523 (cl-old-bc-file-form): Remove var.
7524 (cl-const-exprs-p): Remove fun.
7525 (cl-labels, cl-macrolet): Use backquote.
7526 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7527 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7528 (cl-define-setf-expander): Rename from cl-define-setf-method.
7529 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7530
7531 * international/mule-cmds.el: Don't require CL.
7532 (view-hello-file): Don't use `letf'.
7533
7534 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * tmm.el (tmm-prompt): Use string-prefix-p.
7537 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7538 (tmm-add-prompt): Use minibuffer-completion-help.
7539 (tmm-delete-map): Remove.
7540
7541 * subr.el (kbd): Make it its own function.
7542
7543 2012-06-07 Stefan Merten <smerten@oekonux.de>
7544
7545 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7546 Silence compiler warnings. Fix versions.
7547 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7548 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7549 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7550 (rst-package-emacs-version-alist): Correct Emacs version to
7551 represent major merge with upstream.
7552 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7553
7554 2012-06-06 Glenn Morris <rgm@gnu.org>
7555
7556 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7557 Only print environment variables if set.
7558
7559 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7562 (macroexp--cons): Rename from maybe-cons.
7563 (macroexp--accumulate): Rename from macroexp-accumulate.
7564 (macroexp--all-forms): Rename from macroexpand-all-forms.
7565 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7566 (macroexp--expand-all): Rename from macroexpand-all-1.
7567
7568 2012-06-06 Sam Steingold <sds@gnu.org>
7569
7570 * calendar/calendar.el (calendar-in-read-only-buffer):
7571 Call `special-mode' to enable the standard read-only keybindings.
7572
7573 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7576 with "loading" messages (bug#11635).
7577
7578 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * files.el (enable-remote-dir-locals): New option.
7581 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7582
7583 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7584 Ensure, that the temp directory is local.
7585
7586 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7587 `temporary-file-directory'.
7588
7589 * progmodes/python.el (python-send-region): Ensure, that the
7590 temporary file is created also in the remote case.
7591
7592 2012-06-06 Glenn Morris <rgm@gnu.org>
7593
7594 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7595 (vc-rcs-update-changelog): Use it.
7596
7597 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7598
7599 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7600 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7601 (vc-sccs-diff): Replace use of the external vcdiff script.
7602
7603 2012-06-05 Glenn Morris <rgm@gnu.org>
7604
7605 * ledit.el: Move to obsolete/.
7606
7607 2012-06-05 Sam Steingold <sds@gnu.org>
7608
7609 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7610 patch (Bug#11140).
7611
7612 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/cust-print.el: Move to obsolete.
7615
7616 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7617 compiler-macro expansion.
7618
7619 Add native compiler-macro support.
7620 * emacs-lisp/macroexp.el (macroexpand-all-1):
7621 Support compiler-macros directly. Properly follow aliases and apply
7622 the compiler macros more thoroughly.
7623 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7624 macroexpand now properly follows aliases.
7625 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7626 (cl-compiler-macroexpand): Use new prop.
7627 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7628
7629 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7630
7631 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7632
7633 * window.el (get-lru-window, get-mru-window, get-largest-window):
7634 New argument NOT-SELECTED to avoid picking the selected window.
7635 (window--display-buffer-1, window--display-buffer-2): Replace by
7636 new function window--display-buffer
7637 (display-buffer-same-window, display-buffer-reuse-window)
7638 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7639 Use window--display-buffer.
7640 (display-buffer-use-some-window): Remove temporary dedication
7641 hack by calling get-lru-window and get-largest-window with
7642 NOT-SELECTED argument non-nil. Call window--display-buffer.
7643
7644 2012-06-05 Glenn Morris <rgm@gnu.org>
7645
7646 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7647 Replace external vcdiff script.
7648
7649 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7652
7653 2012-06-04 Chong Yidong <cyd@gnu.org>
7654
7655 * image.el (imagemagick-types-inhibit): Revert last change.
7656 Add INFO and M.
7657 (imagemagick-enabled-types): Remove CIN and EPS*.
7658
7659 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * emacs-lisp/cl-lib.el: Rename from cl.el.
7662 * emacs-lisp/cl.el: New compatibility file.
7663 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7664 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7665 to obey the "cl-" prefix.
7666 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7667
7668 2012-06-03 Glenn Morris <rgm@gnu.org>
7669
7670 * emacs-lisp/authors.el (authors-aliases): Addition.
7671
7672 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7673 Fix :version.
7674
7675 2012-06-03 Stefan Merten <smerten@oekonux.de>
7676
7677 * textmodes/rst.el: Add comments.
7678 (rst-transition, rst-adornment): New faces.
7679 (rst-adornment-faces-alist): Make default safe to reevaluate.
7680 Fixes
7681 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7682 Improve customization tags.
7683 (rst-define-level-faces): Clarify meaning.
7684
7685 2012-06-03 Chong Yidong <cyd@gnu.org>
7686
7687 * progmodes/compile.el (compilation-mode-line-fail)
7688 (compilation-mode-line-run, compilation-mode-line-exit):
7689 New faces.
7690 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7691
7692 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7693
7694 * progmodes/which-func.el (which-func-update-ediff-windows):
7695 New function. Use it in ediff-select-hook (Bug#11478).
7696
7697 2012-06-03 Chong Yidong <cyd@gnu.org>
7698
7699 * bindings.el: Remove explicit help text from format-mode-line.
7700 It is now supplied by mode-line-default-help-echo.
7701 (mode-line-front-space, mode-line-end-spaces)
7702 (mode-line-misc-info): New variables.
7703 (mode-line-modes, mode-line-position): Move the default value to
7704 the variable definition.
7705 (mode-line-default-help-echo): New defcustom.
7706 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7707 (mode-line-modified-help-echo): New functions.
7708 (mode-line-mule-info, mode-line-modified): Use them.
7709 (mode-line-eol-desc, propertized-buffer-identification):
7710 Consistency fixes for help text.
7711 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7712 set-buffer-file-coding-system (Bug#289).
7713 (mode-line-mule-info-help-echo): Update help text.
7714
7715 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * simple.el (execute-extended-command): Set real-this-command
7718 (bug#11506).
7719
7720 2012-06-02 Chong Yidong <cyd@gnu.org>
7721
7722 Remove incorrect uses of "modeline" in comments, docstrings, and
7723 function/variable names (Bug#10329).
7724
7725 * cus-edit.el (mode-line):
7726 * dframe.el (dframe-mouse-hscroll):
7727 * emacs-lisp/re-builder.el:
7728 * emacs-lisp/easy-mmode.el (define-minor-mode):
7729 * frame.el (set-frame-name):
7730 * help.el (lookup-minor-mode-from-indicator):
7731 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7732 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7733 (c-toggle-hungry-state):
7734 * progmodes/antlr-mode.el (antlr-language-alist):
7735 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7736 * progmodes/vhdl-mode.el (vhdl-mode):
7737 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7738 * term/ns-win.el (ns-face-at-pos):
7739 * term/sup-mouse.el (sup-mouse-report):
7740 * textmodes/flyspell.el (flyspell-mode-line-string):
7741 * textmodes/ispell.el (ispell-highlight-face):
7742 * textmodes/reftex-global.el:
7743 * vc/vc-arch.el (vc-arch-mode-line-string):
7744 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7745 * vc/vc-git.el (vc-git-mode-line-string):
7746 * vc/vc-hooks.el (vc-display-status)
7747 (vc-default-mode-line-string):
7748 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7749
7750 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7751
7752 * dired.el (dired-sort-set-mode-line): Rename from
7753 dired-sort-set-modeline. All callers changed.
7754
7755 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7756 eshell-status-in-modeline.
7757
7758 * foldout.el (foldout-mode-line-string): Rename from
7759 foldout-modeline-string. All callers changed.
7760 (foldout-update-mode-line): Rename from foldout-update-modeline.
7761
7762 * subr.el (redraw-modeline): Make into obsolete alias.
7763
7764 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7765 timeclock-modeline-display. Make old name an alias.
7766 (timeclock-update-mode-line): Likewise. All callers changed.
7767 (timeclock-mode-line-display): No need to check before using
7768 add-hook.
7769 (timeclock-relative, timeclock-day-over-hook)
7770 (timeclock-use-elapsed, timeclock-mode-string)
7771 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7772
7773 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7774 crisp-mode-modeline-string.
7775
7776 * play/solitaire.el (solitaire-build-mode-line): Rename from
7777 solitaire-build-modeline. All callers changed.
7778
7779 * play/zone.el (zone-hiding-mode-line): Rename from
7780 zone-hiding-modeline. All callers changed.
7781 (zone): Remove unusued `modeline-hidden-level' property.
7782
7783 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7784 xscheme-modeline-initialize. All callers changed.
7785
7786 * strokes.el (strokes-lighter): Rename from
7787 strokes-modeline-string.
7788
7789 * textmodes/sgml-mode.el (html-face-tag-alist)
7790 (html-tag-face-alist): Use mode-line face instead of obsolete
7791 alias modeline.
7792
7793 2012-06-02 Stefan Merten <smerten@oekonux.de>
7794
7795 * textmodes/rst.el: Always require `cl'.
7796 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7797
7798 2012-06-02 Chong Yidong <cyd@gnu.org>
7799
7800 * image.el (imagemagick-enabled-types): Rename from
7801 imagemagick-types-enable. Add many more types.
7802 (imagemagick-types-inhibit): Change default to nil.
7803 (imagemagick-filter-types): Caller changed.
7804
7805 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * emacs-lisp/cl-macs.el: Use backquotes.
7808 (cl-transform-function-property): Use eval-and-compile rather than
7809 abusing `require'.
7810 (defstruct): Use declare-function instead of with-no-warnings.
7811
7812 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7813 (byte-compile-output-docform): Re-add the print-circle bindings.
7814 (byte-compile-fix-header): Use #$ just because it's shorter.
7815 (byte-compile-output-file-form): Remove defun/defmacro.
7816
7817 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7818
7819 * simple.el (choose-completion): Remove now obsolete binding for
7820 owindow.
7821
7822 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7825 in order to avoid "Stack overflow in regexp matcher".
7826
7827 2012-05-31 Glenn Morris <rgm@gnu.org>
7828
7829 * image.el: For clarity, call imagemagick-register-types at
7830 top-level, rather than relying on a custom :initialize.
7831 (imagemagick-types-enable): New option. (Bug#11557)
7832 (imagemagick-filter-types): New function. (Bug#7406)
7833 (imagemagick-register-types): Use imagemagick-filter-types.
7834 If disabling support, remove elements altogether rather
7835 than using an impossible regexp.
7836 (imagemagick-types-inhibit): Give it the default init function.
7837
7838 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7841 Handle arbitrary file name lengths (Bug#11585).
7842
7843 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7844
7845 * desktop.el (desktop-read): Clear previous and next buffers for
7846 all windows and bury *Messages* buffer (bug#11556).
7847
7848 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 Add `declare' for `defun'. Align `defmacro's with it.
7851 * emacs-lisp/easy-mmode.el (define-minor-mode)
7852 (define-globalized-minor-mode): Don't autoload the var definitions.
7853 * emacs-lisp/byte-run.el: Use lexical-binding.
7854 (defun-declarations-alist, macro-declarations-alist): New vars.
7855 (defmacro, defun): Use them.
7856 (make-obsolete, define-obsolete-function-alias)
7857 (make-obsolete-variable, define-obsolete-variable-alias):
7858 Use `declare'.
7859 (macro-declaration-function): Mark obsolete.
7860 * emacs-lisp/autoload.el: Use lexical-binding.
7861 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7862
7863 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7864
7865 * textmodes/ispell.el (ispell-with-no-warnings):
7866 Define as a macro.
7867 (ispell-kill-ispell, ispell-change-dictionary):
7868 Use `called-interactively-p' for Emacs instead of obsolete
7869 `interactive-p'.
7870
7871 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7874 (macro-declaration-function): Move var from C code.
7875 (macro-declaration-function): Define function with defalias.
7876 * emacs-lisp/macroexp.el (macroexpand-all-1):
7877 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7878 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7879 defun/defmacro any more.
7880 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7881 Provide fallback for unknown arglist.
7882 (byte-compile-arglist-warn): Change calling convention.
7883 (byte-compile-output-file-form): Move print-vars binding.
7884 (byte-compile-output-docform): Simplify accordingly.
7885 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7886 (byte-compile-defmacro-declaration): Remove.
7887 (byte-compile-file-form-defmumble): Generalize to defalias.
7888 (byte-compile-output-as-comment): Return byte-positions.
7889 Simplify callers accordingly.
7890 (byte-compile-lambda): Use `assert'.
7891 (byte-compile-defun, byte-compile-defmacro): Remove.
7892 (byte-compile-file-form-defalias):
7893 Use byte-compile-file-form-defmumble.
7894 (byte-compile-defalias-warn): Remove.
7895
7896 2012-05-29 Stefan Merten <smerten@oekonux.de>
7897
7898 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7899 possible. Fix authors. Improve comments. Improve loading of `cl'.
7900
7901 (rst-mode-abbrev-table): Merge definition.
7902 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7903 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7904
7905 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7906
7907 * calendar/icalendar.el
7908 (icalendar-export-region): Export UID properly.
7909
7910 2012-05-29 Leo Liu <sdl.web@gmail.com>
7911 * calendar/icalendar.el (icalendar-import-format):
7912 Add `icalendar-import-format-uid' (Bug#11525).
7913 (icalendar-import-format-uid): New.
7914 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7915 Export UID.
7916
7917 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7920 different alternative patterns.
7921 (pcase-codegen): Be more careful to preserve identity.
7922 (pcase--u1): Don't forget to mark vars as used.
7923
7924 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7925 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7926 (byte-compile-from-buffer): ...rather than here.
7927
7928 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7929 functions from byte-compile-function-environment.
7930
7931 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7932
7933 * window.el (window-deletable-p): Avoid deleting the root window
7934 of a frame with an active minibuffer.
7935
7936 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7937
7938 * simple.el (choose-completion): Use quit-window (Bug#11567).
7939
7940 2012-05-29 Chong Yidong <cyd@gnu.org>
7941
7942 * whitespace.el (whitespace-cleanup): Fix usage of
7943 whitespace-empty-at-bob-regexp (Bug#11492).
7944
7945 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7946
7947 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7948 revert (Bug#11488).
7949
7950 2012-05-29 Juri Linkov <juri@jurta.org>
7951
7952 * isearch.el (isearch-mode-map): Bind `M-s _' to
7953 `isearch-toggle-symbol'. Bind `M-s c' to
7954 `isearch-toggle-case-fold'.
7955 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7956 (isearch-forward): Add `M-s _' to the docstring.
7957 (isearch-forward-symbol, isearch-toggle-case-fold)
7958 (isearch-symbol-regexp): New functions. (Bug#11381)
7959
7960 2012-05-29 Juri Linkov <juri@jurta.org>
7961
7962 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7963 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7964 a function, call it to get the regexp.
7965 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7966 property `isearch-message-prefix' instead of the string "word ".
7967 (isearch-search-fun-default): For the case of `isearch-word',
7968 return a lambda that calls re-search-forward/re-search-backward
7969 with a regexp returned by `word-search-regexp' or by the function
7970 in `isearch-word'.
7971
7972 2012-05-29 Juri Linkov <juri@jurta.org>
7973
7974 * isearch.el (isearch-search-fun-default): New function.
7975 (isearch-search-fun): Move default part to the new function
7976 `isearch-search-fun-default'.
7977 (isearch-search-fun-function): Set the default value to
7978 `isearch-search-fun-default'. (Bug#11381)
7979
7980 * comint.el (comint-history-isearch-end):
7981 Use `isearch-search-fun-default'.
7982 (comint-history-isearch-search): Use `isearch-search-fun-default'
7983 and remove spacial case for `isearch-word'.
7984 (comint-history-isearch-wrap): Remove spacial case for
7985 `isearch-word'.
7986
7987 * hexl.el (hexl-isearch-search-function):
7988 Use `isearch-search-fun-default'.
7989
7990 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7991 Use `word-search-regexp' for `isearch-word'.
7992
7993 * misearch.el (multi-isearch-search-fun):
7994 Use `isearch-search-fun-default'.
7995
7996 * simple.el (minibuffer-history-isearch-search):
7997 Use `isearch-search-fun-default' and remove spacial case for
7998 `isearch-word'.
7999 (minibuffer-history-isearch-wrap): Remove spacial case for
8000 `isearch-word'.
8001
8002 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8003 Remove spacial case for `isearch-word'.
8004 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8005
8006 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8007
8008 Decrease XEmacs incompatibilities.
8009 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8010 Use `string-match'.
8011 (flyspell-delete-region-overlays): Use alternative definition for
8012 XEmacs.
8013 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8014 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8015 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8016 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8017 `define-obsolete-face-alias' under XEmacs, but old method.
8018
8019 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8020 `with-no-warnings' definition or Emacs alias.
8021 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8022 (ispell-word): Do not use `region-p' if XEmacs.
8023
8024 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8025
8026 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8027 Check for `ispell-dictionary-base-alist' instead of full
8028 `ispell-dictionary-alist'.
8029 (ispell-init-process): Show spellchecker when starting new Ispell
8030 process.
8031
8032 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8035 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8036
8037 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8038
8039 * version.el (motif-version-string, gtk-version-string)
8040 (ns-version-string): Declare.
8041
8042 2012-05-27 Juri Linkov <juri@jurta.org>
8043
8044 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8045 after the `eval-defun-1' specialcaseing
8046 like in `edebug-eval-defun' (bug#10181).
8047
8048 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8049 like in `eval-defun-1'.
8050
8051 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8052
8053 * mail/sendmail.el (mail-yank-region):
8054 Recognize rmail-yank-current-message in addition to insert-buffer.
8055 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8056 a *mail* buffer created through rmail-start-mail with sendmail as
8057 mail-user-agent.
8058
8059 2012-05-27 Chong Yidong <cyd@gnu.org>
8060
8061 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8062 Default to 256 (Bug#11267).
8063
8064 * help.el (describe-mode): Doc fix.
8065
8066 2012-05-26 Glenn Morris <rgm@gnu.org>
8067
8068 * w32-fns.el (w32-init-info): Remove.
8069 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8070
8071 * info.el (info-initialize): For self-contained NS builds, put the
8072 included info/ directory at the front. (Bug#2791)
8073
8074 * paths.el (Info-default-directory-list): Make it a defcustom,
8075 mainly so that we can use custom-initialize-delay.
8076
8077 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * subr.el (buffer-has-markers-at): Mark obsolete.
8080
8081 * subr.el (lambda): Use declare.
8082
8083 * emacs-lisp/lisp-mode.el (lambda):
8084 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8085
8086 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8087
8088 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8089
8090 2012-05-26 Glenn Morris <rgm@gnu.org>
8091
8092 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8093
8094 2012-05-25 Glenn Morris <rgm@gnu.org>
8095
8096 * paths.el: Remove no-byte-compile.
8097 * loadup.el: No need to load paths.el uncompiled.
8098
8099 * image.el (imagemagick-types-inhibit): Doc fix.
8100
8101 * version.el: Remove no-byte-compile and associated formatting.
8102 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8103 is ancient code from when there was an "inc-vers.el".
8104
8105 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * progmodes/gdb-mi.el: Minor style changes.
8108 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8109 Turn into minor modes.
8110 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8111 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8112 (gdb-shell): Remove unneeded let-binding.
8113 (gdb-get-many-fields): Eliminate O(n²) behavior.
8114
8115 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8116
8117 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8118 platforms that don't link in fontset.c.
8119
8120 2012-05-25 Juri Linkov <juri@jurta.org>
8121
8122 Use the same diff color scheme as in modern VCSes (bug#10181).
8123
8124 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8125 to avoid confusion with `diff-added' that now uses green colors.
8126 (diff-removed): Use shades of red.
8127 (diff-added): Use shades of green.
8128 (diff-changed): Leave just the yellow color.
8129 (diff-use-changed-face): New variable.
8130 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8131 how to highlight context diff changes.
8132 (diff-refine-change): Use shades of yellow.
8133 (diff-refine-removed): New face that uses shades of red.
8134 (diff-refine-added): New face that uses shades of green.
8135 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8136 `diff-refine-removed' in the call to `smerge-refine-subst'
8137 depending on the value of `diff-use-changed-face'.
8138
8139 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8140 (smerge-other): Use shades of green.
8141 (smerge-base): Use shades of yellow.
8142 (smerge-refined-change): Empty face.
8143 (smerge-refined-removed): New face that uses shades of red.
8144 (smerge-refined-added): New face that uses shades of green.
8145 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8146 args `props-r' and `props-a', and use them. Doc fix.
8147 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8148 on its value use different faces `smerge-refined-change',
8149 `smerge-refined-removed', `smerge-refined-added' in the call to
8150 `smerge-refine-subst'.
8151
8152 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8153 Add face condition `min-colors 88' with shades of red.
8154 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8155 `min-colors 88' with shades of green.
8156 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8157 `min-colors 88' with shades of yellow.
8158
8159 2012-05-24 Glenn Morris <rgm@gnu.org>
8160
8161 * paths.el (prune-directory-list, remote-shell-program): Move to...
8162 * files.el (prune-directory-list, remote-shell-program): ...here.
8163 For the latter, delay initialization, prefer ssh, just search PATH.
8164
8165 * paths.el (term-file-prefix): Move to faces.el (the only user).
8166 * faces.el (term-file-prefix): Move here, make it a defcustom.
8167
8168 * paths.el (news-directory, news-path, news-inews-program):
8169 Move to gnus/nnspool.el.
8170
8171 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8172
8173 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8174 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8175 Make the latter a defcustom, with a delayed initialization.
8176
8177 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8178 These were deleted from Gnus itself late 2010.
8179
8180 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8181
8182 * progmodes/which-func.el (which-func-ff-hook):
8183 Check against user-error, not error.
8184
8185 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8186 cl-specs.el, which no longer exists.
8187
8188 2012-05-22 Glenn Morris <rgm@gnu.org>
8189
8190 * info.el (info-emacs-bug): New command.
8191 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8192 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8193
8194 2012-05-21 Glenn Morris <rgm@gnu.org>
8195
8196 * makefile.w32-in (update-subdirs-SH):
8197 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8198
8199 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8202
8203 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8204 Simplify Maven regexp, and make sure the file can't start with a space
8205 (bug#11517).
8206
8207 2012-05-21 Glenn Morris <rgm@gnu.org>
8208
8209 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8210 Scrap superfluous subshells.
8211
8212 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8215 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8216
8217 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8218
8219 * calc/calc.el (calc-ensure-consistent-units): New variable.
8220
8221 * calc/calc-units.el (math-consistent-units-p)
8222 (math-check-unit-consistency): New functions.
8223 (calc-quick-units, calc-convert-units):
8224 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8225 is non-nil.
8226 (calc-extract-units): Fix typo.
8227
8228 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8231
8232 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8233 (flyspell-default-deplacement-commands): Don't spell check after
8234 repeated window/frame switches (e.g. triggered by mouse-movement).
8235 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8236 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8237 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8238 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8239 Remove unused vars.
8240 (flyspell-get-casechars, flyspell-get-not-casechars):
8241 Simplify; Don't bother removing a ] just to add it back.
8242 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8243
8244 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8245
8246 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8247 New functions.
8248 (math-function-table): Add support for more C functions.
8249
8250 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8251
8252 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8253 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8254 Protect delay handling for otherchars against empty otherchars.
8255
8256 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8259 their respective macro declarations.
8260 * skeleton.el (define-skeleton):
8261 * progmodes/compile.el (define-compilation-mode):
8262 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8263 (define-ibuffer-filter):
8264 * emacs-lisp/generic.el (define-generic-mode):
8265 * emacs-lisp/easy-mmode.el (define-minor-mode)
8266 (define-globalized-minor-mode):
8267 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8268 * emacs-lisp/byte-run.el (defsubst):
8269 * custom.el (deftheme): Add doc-string metadata.
8270
8271 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8274
8275 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8278
8279 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8280 * emacs-lisp/cl-macs.el: Idem.
8281 * emacs-lisp/cl-specs.el: Remove.
8282
8283 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 Minor renaming of internal CL functions and variables.
8286 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8287 (cl--position): Rename from cl-position.
8288 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8289 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8290 (cl--random-state): Rename from *random-state*.
8291
8292 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8295 parens around the arg list (bug#11499).
8296
8297 2012-05-17 Juri Linkov <juri@jurta.org>
8298
8299 * isearch.el (word-search-regexp, word-search-backward)
8300 (word-search-forward, word-search-backward-lax)
8301 (word-search-forward-lax): Move functions from search.c
8302 (bug#10145, bug#11381).
8303
8304 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8305
8306 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8307 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8308 Delay for otherchars as for normal word components.
8309
8310 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * minibuffer.el (completion--sifn-requote): Fix last change.
8313 (minibuffer-local-must-match-filename-map):
8314 Move define-obsolete-variable-alias before its var.
8315
8316 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8319
8320 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8321 behavior.
8322 (completion--string-equal-p): New function.
8323 (completion--twq-all): Use it to get better assertion failure data.
8324
8325 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8326 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8327 (shell--requote-argument): New functions.
8328 (shell-completion-vars): Use them.
8329 (shell--parse-pcomplete-arguments): Rename from
8330 shell-parse-pcomplete-arguments.
8331 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8332 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8333 Obey comint-file-name-quote-list.
8334
8335 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8336 (smie-indent-keyword): Use it.
8337
8338 2012-05-14 Stefan Merten <smerten@oekonux.de>
8339
8340 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8341
8342 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * net/rlogin.el (rlogin-mode-map): Fix last change.
8345
8346 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8347
8348 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8349 the following \r\n using a single `process-send-string', since the
8350 Lotus SMTP server refuses to accept any commands if they are sent
8351 with two `process-send-string's (Bug#11444).
8352
8353 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * shell.el (shell-parse-pcomplete-arguments):
8356 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8357
8358 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8359
8360 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8361 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8362 (image-transform-width, image-transform-fit-width): New functions.
8363 (image-transform-properties): Use them.
8364 (image-transform-check-size): New function.
8365 (image-toggle-display-image): Use it (for testing).
8366 (image-transform-set-rotation): Reduce angle mod 360.
8367 Delete obsolete comment.
8368
8369 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8370
8371 * image-mode.el: Fix scaling (bug#11399).
8372 (image-transform-resize): Doc fix.
8373 (image-transform-properties): Default scale is 1 and height should
8374 be an integer.
8375
8376 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8377
8378 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8379 than hard-coding `car', to fix misbehavior when moving forward.
8380
8381 2012-05-13 Chong Yidong <cyd@gnu.org>
8382
8383 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8384 (tabulated-list-entries, tabulated-list-padding)
8385 (tabulated-list-sort-key): Make permanent-local.
8386
8387 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8388 (electric-buffer-list): Put electric buffer menu
8389 command descriptions in this docstring, instead of the docstring
8390 of electric-buffer-menu-mode. Code cleanups.
8391 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8392 Electric-buffer-menu-mode.
8393 (electric-buffer-update-highlight): Minor code cleanup.
8394
8395 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8398 (Bug#11447)
8399
8400 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 Move define-obsolete-variable-alias before the var's definition.
8403 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8404 * tooltip.el (tooltip-hook):
8405 * textmodes/reftex-toc.el (reftex-toc-map):
8406 * textmodes/reftex-sel.el (reftex-select-label-map)
8407 (reftex-select-bib-map):
8408 * textmodes/reftex-index.el (reftex-index-map)
8409 (reftex-index-phrases-map):
8410 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8411 * progmodes/meta-mode.el (meta-mode-map):
8412 * novice.el (disabled-command-hook):
8413 * loadhist.el (unload-hook-features-list):
8414 * frame.el (blink-cursor):
8415 * files.el (find-file-not-found-hooks, write-file-hooks)
8416 (write-contents-hooks):
8417 * emulation/tpu-edt.el (GOLD-map):
8418 * emacs-lock.el (emacs-lock-from-exiting):
8419 * emacs-lisp/generic.el (generic-font-lock-defaults):
8420 * emacs-lisp/chart.el (chart-map):
8421 * dos-fns.el (register-name-alist):
8422 * dired-x.el (dired-omit-files-p):
8423 * desktop.el (desktop-enable):
8424 * cus-edit.el (custom-mode-hook):
8425 * buff-menu.el (buffer-menu-mode-hook):
8426 * bookmark.el (bookmark-read-annotation-text-func)
8427 (bookmark-exit-hooks):
8428 * allout.el (allout-mode-deactivate-hook)
8429 (allout-exposure-change-hook, allout-structure-added-hook)
8430 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8431 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8432 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8433 comes before the corresponding variable's definition.
8434
8435 2012-05-12 Chong Yidong <cyd@gnu.org>
8436
8437 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8438 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8439 (Buffer-menu-mode-map): Bind it.
8440 (Buffer-menu--pretty-name): Add a mouse-face property.
8441
8442 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8445 (prolog-upper-case-string, prolog-lower-case-string)
8446 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8447 (prolog-use-smie, prolog-smie-grammar): New vars.
8448 (prolog-smie-forward-token, prolog-smie-backward-token)
8449 (prolog-smie-rules): New funs.
8450 (prolog-comment-indent): Remove.
8451 (prolog-mode-variables): Use default comment indentation instead.
8452 Setup SMIE.
8453 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8454 (prolog-mode): Don't call them any more.
8455 (prolog-electric-colon, prolog-electric-dash)
8456 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8457
8458 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8459
8460 * minibuffer.el (completion--twq-all): Again, allow case differences.
8461
8462 * term.el: Move keymap initialization code to be more idiomatic.
8463 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8464 (term-terminal-menu): Move initialization into declaration.
8465 (term-escape-char): Let the user set it in her .emacs.
8466
8467 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8468 Provide SMIE-based indentation (not enabled by default yet).
8469 (sh-mode-map): Don't bind electric keys.
8470 Use electric-pair-mode instead of skeleton-pair.
8471 (sh-assignment-regexp): Fit within 80 columns.
8472 (sh-indent-supported): Specify actual shell name instead of boolean.
8473 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8474 (sh-maybe-here-document): Use it. Make obsolete.
8475 (sh-electric-here-document-mode) New minor mode.
8476 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8477 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8478 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8479 (sh-smie-rc-grammar, sh-use-smie): New vars.
8480 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8481 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8482 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8483 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8484 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8485 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8486 (sh-set-shell): Use smie-setup if requested.
8487
8488 * term.el (term-set-escape-char): Properly set term-escape-char.
8489 See http://stackoverflow.com/questions/10524656.
8490
8491 2012-05-10 Chong Yidong <cyd@gnu.org>
8492
8493 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8494 Use url-generic-parse-url, and handle host names and Windows
8495 filenames properly.
8496 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8497 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8498 URL schemes to work on.
8499 (ffap--toggle-read-only): New function.
8500 (ffap-read-only, ffap-read-only-other-window)
8501 (ffap-read-only-other-frame): Use it.
8502 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8503 necessary for ffap-url-unwrap-remote.
8504
8505 2012-05-10 Dave Abrahams <dave@boostpro.com>
8506
8507 * cus-start.el (create-lockfiles): Add it.
8508
8509 2012-05-09 Chong Yidong <cyd@gnu.org>
8510
8511 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8512 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8513
8514 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8517
8518 2012-05-09 Chong Yidong <cyd@gnu.org>
8519
8520 * ansi-color.el (ansi-color-process-output): Check for validity of
8521 comint-last-output-start before using it. This avoids a bad
8522 interaction with gdb-mi's input/output buffer.
8523
8524 2012-05-09 Glenn Morris <rgm@gnu.org>
8525
8526 * files.el (dir-locals-read-from-file):
8527 Mention dir-locals in any error message.
8528
8529 2012-05-09 Chong Yidong <cyd@gnu.org>
8530
8531 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8532 package (Bug#11410).
8533
8534 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8535 variables into description.
8536
8537 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8540 shell-delimiter-argument-list (bug#11348).
8541 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8542
8543 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8544
8545 * textmodes/rst.el: Silence byte-compiler warnings.
8546 (rst-re-alist, rst-reset-section-caches): Move around.
8547 (rst-re): Use `characterp', not `char-valid-p'.
8548 (font-lock-beg, font-lock-end): Declare.
8549
8550 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8551 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8552
8553 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8554
8555 2012-05-08 Glenn Morris <rgm@gnu.org>
8556
8557 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8558
8559 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * vc/log-edit.el: Add GNU coding standards highlighting.
8562 (log-edit-font-lock-gnu-style)
8563 (log-edit-font-lock-gnu-keywords): New vars.
8564 (log-edit-font-lock-keywords): New fun.
8565 (log-edit-mode): Don't fold case in font-lock.
8566 (log-edit-font-lock-keywords): Do not assume case-folding.
8567
8568 * imenu.el: Misc cleanup. Make docstrings out of comments.
8569 Use lexical-binding.
8570 (imenu--index-alist, imenu--last-menubar-index-alist)
8571 (imenu-menubar-modified-tick): Use defvar-local.
8572 (imenu--split-menu): Remove unused var.
8573 (imenu--cleanup-seen): Declare as global.
8574 (imenu--cleanup): Use dolist.
8575
8576 * subr.el (defvar-local): Add debug spec and doc-string position.
8577
8578 2012-05-08 Glenn Morris <rgm@gnu.org>
8579
8580 * language/burmese.el, language/cham.el, language/czech.el:
8581 * language/english.el, language/georgian.el, language/greek.el:
8582 * language/japanese.el, language/khmer.el, language/korean.el:
8583 * language/lao.el, language/misc-lang.el, language/romanian.el:
8584 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8585 * language/thai.el, language/utf-8-lang.el:
8586 Remove no-byte-compile setting.
8587
8588 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8589
8590 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8591
8592 * progmodes/make-mode.el (makefile-browse):
8593 Remove unnecessary interactive. (Bug#11324)
8594
8595 2012-05-07 Glenn Morris <rgm@gnu.org>
8596
8597 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8598
8599 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8600
8601 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * loadup.el: Preload newcomment.el.
8604 * newcomment.el: Move autoload-only code to toplevel.
8605
8606 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8607 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8608 Handle new :right-align column property.
8609 (tabulated-list-print-col): Idem, plus use `display' text-property to
8610 try and preserve alignment for variable pitch fonts.
8611
8612 2012-05-07 Chong Yidong <cyd@gnu.org>
8613
8614 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8615 (tabulated-list-use-header-line): New var.
8616 (tabulated-list-init-header): Use it.
8617 (tabulated-list-print-fake-header): New function.
8618 (tabulated-list-print): Use it.
8619 (tabulated-list-sort-button-map): Add non-header-line commands.
8620 (tabulated-list-init-header): Add column name property to basic
8621 labels as well.
8622 (tabulated-list-col-sort): Handle non-header-line button case.
8623 (tabulated-list--sort-by-column-name): Fix a corner case.
8624
8625 * buff-menu.el (list-buffers--refresh):
8626 Handle Buffer-menu-use-header-line.
8627
8628 2012-05-06 Chong Yidong <cyd@gnu.org>
8629
8630 * buff-menu.el: Convert to Tabulated List mode.
8631 (Buffer-menu-buffer+size-width): Make obsolete.
8632 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8633 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8634 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8635 documentation into docstring of buffer-menu.
8636 (Buffer-menu-toggle-files-only): Add an informative message.
8637 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8638 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8639 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8640 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8641 (Buffer-menu-execute, Buffer-menu-select)
8642 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8643 (Buffer-menu-bury): Use Tabulated List machinery.
8644 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8645 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8646 Delete.
8647 (list-buffers--refresh): New function.
8648 (list-buffers-noselect): Use it.
8649 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8650 (Buffer-menu--pretty-file-name): New helper functions.
8651
8652 * loadup.el: Preload tabulated-list.
8653
8654 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8655 tabulated-list-sort-column.
8656 (tabulated-list-init-header): Add the initial aligning space even
8657 if tabulated-list-padding is zero.
8658
8659 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8660
8661 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8662 whose cdr is not a cons cell correctly (bug#11038).
8663
8664 2012-05-06 Chong Yidong <cyd@gnu.org>
8665
8666 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8667 Accept additional plist in column descriptors.
8668 (tabulated-list-init-header): Obey it.
8669 (tabulated-list-get-entry): New function.
8670 (tabulated-list-put-tag): Use it. Use string-width instead of
8671 length.
8672 (tabulated-list--column-number): New function.
8673 (tabulated-list-print): Use it.
8674 (tabulated-list-print-col): New function.
8675 Set `tabulated-list-column-name' property on each column's text.
8676 (tabulated-list-print-entry): Use it.
8677 (tabulated-list-delete-entry, tabulated-list-set-col):
8678 New functions.
8679 (tabulated-list-sort-column): New command (Bug#11337).
8680
8681 * buff-menu.el (list-buffers): Move C-x C-b binding from
8682 buff-menu.el to bindings.el.
8683
8684 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8685 :advertised-binding feature.
8686
8687 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8688
8689 * progmodes/compile.el (compilation-internal-error-properties):
8690 Calculate start position correctly when end-col is set but
8691 end-line is not (Bug#11382).
8692
8693 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8694
8695 * man.el (Man-unindent): Use text-property-default-nonsticky to
8696 prevent untabify from inheriting face properties (Bug#11408).
8697
8698 2012-05-05 Stefan Merten <smerten@oekonux.de>
8699
8700 * textmodes/rst.el: Major merge with upstream development up to
8701 Docutils SVN r7399 / rst.el V1.2.1.
8702
8703 Clarify maintainership and authors.
8704
8705 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8706 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8707 (rst-official-version, rst-official-cvs-rev, rst-version)
8708 (rst-package-emacs-version-alist): New functions and variables
8709 for version information.
8710
8711 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8712 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8713 (rst-mode-syntax-table, rst-mode): New and corrected functions
8714 and variables representing reStructuredText features.
8715
8716 (rst-re): New function for reStructuredText regexes. Use in
8717 many places.
8718
8719 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8720 (rst-mode-map): Rebind keys.
8721
8722 (rst-mode-lazy, rst-font-lock-keywords)
8723 (rst-font-lock-extend-region)
8724 (rst-font-lock-extend-region-internal)
8725 (rst-font-lock-extend-region-extend)
8726 (rst-font-lock-find-unindented-line-limit)
8727 (rst-font-lock-find-unindented-line-match)
8728 (rst-adornment-level, rst-font-lock-adornment-level)
8729 (rst-font-lock-adornment-match)
8730 (rst-font-lock-handle-adornment-pre-match-form)
8731 (rst-font-lock-handle-adornment-matcher): Major revision of
8732 font-locking. Integrate with other code. Use `jit-lock-mode'.
8733
8734 (rst-preferred-adornments, rst-adjust-hook)
8735 (rst-new-adornment-down, rst-preferred-bullets)
8736 (rst-preferred-bullets, rst-indent, rst-indent-width)
8737 (rst-indent-field, rst-indent-literal-normal)
8738 (rst-indent-literal-minimized, rst-indent-comment): Change,
8739 extend and improve customization.
8740
8741 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8742 (rst-normalize-cursor-position, rst-get-decoration)
8743 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8744 (rst-rstrip, rst-toc-insert-find-delete-contents)
8745 (rst-shift-fill-region, rst-compute-bullet-tabs)
8746 (rst-debug-print-tabs, rst-debug-mark-found)
8747 (rst-shift-region-guts, rst-shift-region-right)
8748 (rst-shift-region-left, rst-use-char-classes)
8749 (rst-font-lock-keywords-function)
8750 (rst-font-lock-indentation-point)
8751 (rst-font-lock-find-unindented-line-begin)
8752 (rst-font-lock-find-unindented-line-end)
8753 (rst-font-lock-find-unindented-line)
8754 (rst-font-lock-adornment-point, rst-font-lock-level)
8755 (rst-adornment-level-alist): Remove functions and variables.
8756
8757 (rst-compare-adornments, rst-get-adornment-match)
8758 (rst-suggest-new-adornment, rst-get-adornments-around)
8759 (rst-adornment-complete-p, rst-get-next-adornment)
8760 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8761 (rst-straighten-adornments): Standardize function names to
8762 use "adornment" instead of "decoration". Correct callers.
8763 Similar standardizing in many places.
8764
8765 (rst-update-section, rst-adjust, rst-promote-region)
8766 (rst-enumerate-region, rst-bullet-list-region)
8767 (rst-repeat-last-character): Correct use of `interactive'.
8768
8769 (rst-classify-adornment, rst-find-all-adornments)
8770 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8771 (rst-find-leftmost-column, rst-repeat-last-character):
8772 Refactor functions.
8773
8774 (rst-find-title-line, rst-reset-section-caches)
8775 (rst-get-adornments-around, rst-adjust-adornment-work)
8776 (rst-arabic-to-roman, rst-roman-to-arabic)
8777 (rst-insert-list-pos, rst-insert-list-new-item)
8778 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8779 New functions.
8780
8781 (rst-all-sections, rst-section-hierarchy)
8782 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8783 New variables.
8784
8785 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8786 configuration instead of only buffer. Change where necessary.
8787
8788 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8789 (rst-shift-region, rst-adaptive-fill): New functions for
8790 indentation and filling.
8791
8792 (rst-comment-line-break, rst-comment-indent)
8793 (rst-comment-insert-comment, rst-comment-region)
8794 (rst-uncomment-region): New functions for handling comments.
8795
8796 (rst-compile): Quote shell arguments.
8797
8798 (rst-compile-pdf-preview, rst-compile-slides-preview):
8799 Delete temporary files after use.
8800
8801 2012-05-05 Glenn Morris <rgm@gnu.org>
8802
8803 * calendar/cal-html.el: Optionally include holidays in the output.
8804 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8805 (cal-html-holidays): New option.
8806 (cal-html-css-default): Add holiday entry.
8807 (holiday-in-range): Autoload it.
8808 (cal-html-htmlify-entry): Add optional class argument.
8809 (cal-html-htmlify-list): Add optional holidays argument.
8810 (cal-html-insert-agenda-days): Include holidays in the output.
8811 (cal-html-one-month): Maybe include holidays.
8812
8813 * calendar/holidays.el (holiday-in-range):
8814 Move here from cal-tex-list-holidays.
8815 * calendar/cal-tex.el (cal-tex-list-holidays):
8816 Make it an obsolete alias for holiday-in-range. Update all callers.
8817
8818 2012-05-05 Chong Yidong <cyd@gnu.org>
8819
8820 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8821 Nextstep.
8822
8823 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8824
8825 * files.el (file-auto-mode-skip): New var.
8826 (set-auto-mode-1): Use it.
8827
8828 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * repeat.el: Use lexical-binding.
8831 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8832 (repeat-undo-count): Remove.
8833 (repeat):
8834 * progmodes/octave-mod.el (octave-abbrev-start):
8835 * progmodes/f90.el (f90-abbrev-start):
8836 * face-remap.el (text-scale-adjust):
8837 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8838
8839 * emacs-lisp/pcase.el (pcase--let*): New function.
8840 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8841 a bit more.
8842 (pcase--split-pred): Be more clever about ruling out overlap between
8843 a predicate and some constant pattern.
8844 (pcase--q1): Use `null' instead of (eq foo nil).
8845
8846 * subr.el (setq-local, defvar-local): New macros.
8847 (kbd): Redefine as an alias.
8848 (with-selected-window): Leave unrelated frames alone.
8849 (set-temporary-overlay-map): New function.
8850
8851 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * subr.el (user-error): New function.
8854 * window.el (switch-to-buffer):
8855 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8856 (smerge-match-conflict):
8857 * simple.el (previous-matching-history-element)
8858 (next-matching-history-element, goto-history-element, undo-more)
8859 (undo-start):
8860 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8861 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8862 (next-file, tags-loop-scan, list-tags, complete-tag):
8863 * progmodes/compile.el (compilation-loop):
8864 * mouse.el (mouse-minibuffer-check):
8865 * man.el (Man-bgproc-sentinel, Man-goto-page):
8866 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8867 (Info-history-forward, Info-follow-reference, Info-menu)
8868 (Info-extract-menu-item, Info-extract-menu-counting)
8869 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8870 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8871 (Info-next-reference, Info-prev-reference, Info-index)
8872 (Info-index-next, Info-follow-nearest-node)
8873 (Info-copy-current-node-name):
8874 * imenu.el (imenu--make-index-alist)
8875 (imenu-default-create-index-function, imenu-add-to-menubar):
8876 * files.el (basic-save-buffer, recover-file):
8877 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8878 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8879 (checkdoc-message-text, checkdoc-defun):
8880 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8881 * cus-edit.el (customize-changed-options, customize-rogue)
8882 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8883 (custom-variable-mark-to-reset-standard)
8884 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8885 (custom-file):
8886 * completion.el (check-completion-length):
8887 * comint.el (comint-search-arg)
8888 (comint-previous-matching-input-string-position)
8889 (comint-previous-matching-input)
8890 (comint-replace-by-expanded-history-before-point, comint-send-input)
8891 (comint-copy-old-input, comint-backward-matching-input)
8892 (comint-goto-process-mark, comint-set-process-mark):
8893 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8894 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8895
8896 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * dabbrev.el (dabbrev--ignore-case-p): New function.
8899 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8900 Use it.
8901
8902 * files.el (automount-dir-prefix): Mark as obsolete.
8903
8904 2012-05-04 Glenn Morris <rgm@gnu.org>
8905
8906 * patcomp.el, play/bruce.el: Move to obsolete/.
8907
8908 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8909
8910 Fix minor Y10k bugs.
8911 * arc-mode.el (archive-unixdate):
8912 * autoinsert.el (auto-insert-alist):
8913 * calc/calc-forms.el (math-this-year):
8914 * emacs-lisp/copyright.el (copyright-current-year)
8915 (copyright-update-year, copyright):
8916 * tar-mode.el (tar-clip-time-string):
8917 * time.el (display-time-update):
8918 Don't assume years have 4 digits.
8919
8920 2012-05-04 Chong Yidong <cyd@gnu.org>
8921
8922 * dos-w32.el (file-name-buffer-file-type-alist)
8923 (direct-print-region-use-command-dot-com):
8924 * ffap.el (ffap-menu-regexp):
8925 * find-file.el (ff-special-constructs):
8926 * follow.el (follow-debug):
8927 * forms.el (forms--debug):
8928 * iswitchb.el (iswitchb-all-frames):
8929 * ido.el (ido-all-frames):
8930 * emacs-lisp/timer.el (timer-max-repeats):
8931 * mail/feedmail.el (feedmail-mail-send-hook)
8932 (feedmail-mail-send-hook-queued):
8933 * mail/footnote.el (footnote-signature-separator):
8934 * mail/mailabbrev.el (mail-alias-separator-string)
8935 (mail-abbrev-mode-regexp):
8936 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8937 * progmodes/idlwave.el (idlwave-libinfo-file)
8938 (idlwave-default-completion-case-is-down)
8939 (idlwave-library-routines): Convert defvars to defcustoms.
8940
8941 * mail/rmail.el (rmail-decode-mime-charset):
8942 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8943 (idlwave-shell-fix-inserted-breaks)
8944 (idlwave-shell-activate-alt-keybindings)
8945 (idlwave-shell-use-breakpoint-glyph):
8946 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8947
8948 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8951
8952 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8953
8954 * progmodes/verilog-mode.el (font-lock-keywords):
8955 Fix mis-highligting auto. Reported by Craig Barner.
8956 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8957 defines from global name space. Reported by Dan Dever.
8958 (verilog-auto-reset, verilog-auto-reset-widths)
8959 (verilog-auto-tieoff): Support using unbased numbers for
8960 AUTORESET and AUTOTIEOFF.
8961 (verilog-submit-bug-report): Update variable list.
8962 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8963 parenthesis from not matching. Reported by Michael Rytting.
8964 (verilog-auto-template-lint): Fix hash error when linting modules
8965 with no used templates.
8966 (verilog-warn, verilog-warn-error)
8967 (verilog-warn-fatal): When non-interactive report multiple
8968 warnings before exiting. Suggested by Brad Dobbie.
8969 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8970 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8971 to report unused template errors. Reported by Brad Dobbie.
8972 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8973 nets, bug438. Reported by Vns Blore.
8974 (verilog-auto-inout-module, verilog-auto-reg)
8975 (verilog-read-decls, verilog-read-sub-decls-sig)
8976 (verilog-signals-edit-wire-reg, verilog-signals-with):
8977 Fix passing of Verilog data types in ANSI input/output ports
8978 such as "output logic" into the AUTOs. Special case "wire" and
8979 "reg" for backwards compatibility presuming Verilog 2001.
8980 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8981 (verilog-preprocess): Fix replication of preprocess output.
8982 Reported by Brad Dobbie.
8983 (verilog-auto-inst-interfaced-ports):
8984 Create verilog-auto-inst-interfaced-ports, bug429.
8985 Reported by Julian Gorfajn.
8986 (verilog-after-save-font-hook)
8987 (verilog-before-save-font-hook): New variable.
8988 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8989 (verilog-save-font-mods): Wrap disabling fontification, reported
8990 by David Rogoff.
8991 (verilog-do-indent, verilog-pretty-declarations-auto)
8992 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8993 Reported by Pierre-David Pfister.
8994 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8995 of class declarations, bug292. Reported by Kevin Heilman.
8996 (verilog-read-decls): Fix 'parameter type' not appearing in
8997 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8998 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8999 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9000 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9001 Reported by David Kravitz.
9002
9003 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9004
9005 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9006 assignment with tests in ifs and for loops.
9007 (verilog-extended-complete-re, verilog-complete-reg): Change so
9008 that DPI inport functions don't look like fuction declarations.
9009 (verilog-pretty-expr): Don't line up assignment
9010 operations to the test and increment in if and for loops
9011 (verilog-extended-complete-re, verilog-complete-reg): Change so
9012 that DPI inport functions don't look like fuction declarations.
9013
9014 2012-05-03 Kenichi Handa <handa@m17n.org>
9015
9016 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9017 decoding, and show a warning message without signaling an error
9018 (Bug#11282).
9019
9020 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * emacs-lisp/bytecomp.el
9023 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9024 since cconv.el might have introduced :fun-body, internal-make-closure,
9025 and friends for bytecomp to handle (bug#11391).
9026 * custom.el (defcustom): Avoid ((λ ..) ..).
9027
9028 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9031
9032 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * notifications.el (dbus-debug):
9035 * term/linux.el (gpm-mouse-enable):
9036 * term/screen.el (xterm-register-default-colors): Declare.
9037
9038 2012-05-02 Chong Yidong <cyd@gnu.org>
9039
9040 * cus-start.el (gc-cons-percentage, exec-suffixes)
9041 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9042 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9043 (make-cursor-line-fully-visible, void-text-area-pointer)
9044 (font-list-limit): Add customization data.
9045
9046 * allout.el (allout-exposure-change-functions)
9047 (allout-structure-added-functions)
9048 (allout-structure-deleted-functions)
9049 (allout-structure-shifted-functions): Rename abnormal hooks from
9050 *-hook, and convert to defcustoms.
9051 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9052 Convert to defcustoms.
9053 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9054
9055 * allout-widgets.el: Hook callers changed.
9056
9057 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9058
9059 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9060 the yanked message in preference to the default value of
9061 buffer-file-coding-system.
9062
9063 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9064
9065 * window.el (display-buffer--action-function-custom-type):
9066 Fix entry.
9067
9068 2012-05-02 Alan Mackenzie <acm@muc.de>
9069
9070 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9071
9072 2012-05-01 Glenn Morris <rgm@gnu.org>
9073
9074 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9075
9076 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9077
9078 * cus-edit.el (custom-variable-documentation): Simplify with format.
9079
9080 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9081 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * simple.el (suggest-key-bindings, execute-extended-command):
9084 Move from keyboard.c.
9085
9086 2012-05-01 Chong Yidong <cyd@gnu.org>
9087
9088 * follow.el: Eliminate advice.
9089 (set-process-filter, process-filter, sit-for): Advice deleted.
9090 (follow-mode-off-hook): Obsolete hook removed.
9091 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9092 Vars deleted.
9093 (follow-auto): Use a :set function.
9094 (follow-mode): Rewritten. Don't advise process filters.
9095 (follow-switch-to-current-buffer-all, follow-scroll-up)
9096 (follow-scroll-down): Assume follow-mode is bound.
9097 (follow-comint-scroll-to-bottom)
9098 (follow-align-compilation-windows): New functions.
9099 (follow--window-sorter): New function.
9100 (follow-all-followers): Use it to explicitly sort windows by their
9101 positions; don't make assumptions about next-window order.
9102 (follow-windows-start-end, follow-delete-other-windows-and-split)
9103 (follow-calc-win-start): Doc fix.
9104 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9105 vertical-motion unnecessarily.
9106 (follow-adjust-window): New function.
9107 (follow-post-command-hook): Use it.
9108 (follow-call-set-process-filter, follow-call-process-filter)
9109 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9110 (follow-stop-intercept-process-output, follow-generic-filter):
9111 Functions deleted.
9112 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9113 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9114 New functions, replacing advice on scroll-bar-* commands.
9115 (follow-mwheel-scroll): New function (Bug#4112).
9116
9117 * comint.el (comint-adjust-point): New function.
9118 (comint-postoutput-scroll-to-bottom): Use it.
9119 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9120
9121 2012-05-01 Glenn Morris <rgm@gnu.org>
9122
9123 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9124 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9125 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9126 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9127 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9128 Remove no-byte-compile setting.
9129
9130 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9133 all-completions code to not return a number in the last cdr.
9134
9135 2012-04-30 Leo Liu <sdl.web@gmail.com>
9136
9137 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9138 read-only error.
9139
9140 2012-04-29 Chong Yidong <cyd@gnu.org>
9141
9142 * follow.el (follow-calc-win-end): Rewrite to handle partial
9143 screen lines correctly (Bug#8390).
9144 (follow-avoid-tail-recenter): Minor cleanup.
9145
9146 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 Avoid the obsolete `assoc' package.
9149 * speedbar.el (speedbar-refresh): Avoid adelete.
9150 (speedbar-file-lists): Simplify and avoid aput.
9151 * man.el (Man--sections, Man--refpages): New vars, replacing
9152 Man-sections-alist and Man-refpages-alist.
9153 (Man-build-section-alist, Man-build-references-alist):
9154 Use them; avoid aput.
9155 (Man--last-section, Man--last-refpage): New vars.
9156 (Man-follow-manual-reference): Use them.
9157 Use the `default' arg of completing-read.
9158 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9159
9160 2012-04-27 Chong Yidong <cyd@gnu.org>
9161
9162 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9163
9164 * startup.el (x-apply-session-resources): New function.
9165
9166 * term/ns-win.el (ns-initialize-window-system):
9167 * term/w32-win.el (w32-initialize-window-system):
9168 * term/x-win.el (x-initialize-window-system): Use it to properly
9169 set menu-bar-mode and other vars from X resources, even if the
9170 initial frame is not a window-system frame (Bug#2299).
9171
9172 * subr.el (read-key): Avoid running filter function when setting
9173 up temporary tool bar entries (Bug#9922).
9174
9175 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9178 (Bug#11344)
9179
9180 2012-04-27 Chong Yidong <cyd@gnu.org>
9181
9182 * select.el (xselect--encode-string): New function, split from
9183 xselect-convert-to-string.
9184 (xselect-convert-to-string): Use it.
9185 (xselect-convert-to-filename, xselect-convert-to-os)
9186 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9187 returned strings are properly encoded (Bug#11315).
9188
9189 2012-04-27 Chong Yidong <cyd@gnu.org>
9190
9191 * simple.el (delete-active-region): Move to killing custom group.
9192
9193 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9194
9195 * progmodes/which-func.el (which-func-current): Quote %
9196 characters for mode-line processing.
9197
9198 2012-04-27 Chong Yidong <cyd@gnu.org>
9199
9200 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9201 reaching eob (Bug#11286).
9202
9203 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9204
9205 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9206 (gdb): Make it buffer-local and init to zero.
9207 (gdb-control-commands-regexp): New variable.
9208 (gdb-send): Don't wrap in "-interpreter-exec console" if
9209 gdb-control-level is positive. Increment gdb-control-level
9210 whenever the command matches gdb-control-commands-regexp, and
9211 decrement it each time the command is "end". (Bug#11279)
9212
9213 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (adjust-window-trailing-edge, enlarge-window)
9216 (shrink-window, window-resize):
9217 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9218 windows (Bug#11276).
9219
9220 2012-04-27 Chong Yidong <cyd@gnu.org>
9221
9222 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9223 fix "missing prefix" warning. All callers changed.
9224
9225 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * emacs-lisp/assoc.el: Move to obsolete/.
9228
9229 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9232
9233 * term/ns-win.el (ns-define-service):
9234 * progmodes/pascal.el (pascal-goto-defun):
9235 * progmodes/js.el (js--read-tab):
9236 * progmodes/etags.el (tags-lazy-completion-table):
9237 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9238 * emacs-lisp/ewoc.el (ewoc--wrap):
9239 * emacs-lisp/assoc.el (aput, adelete, amake):
9240 * doc-view.el (doc-view-convert-current-doc):
9241 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9242
9243 2012-04-26 Chong Yidong <cyd@gnu.org>
9244
9245 * image.el (image-type-from-buffer): Only return supported image
9246 type (Bug#9045).
9247
9248 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9249 value, for symmetry with diff-end-of-hunk.
9250 (diff-split-hunk, diff-find-source-location)
9251 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9252 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9253 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9254 compute the relevant hunk or file properly (Bug#6005).
9255 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9256
9257 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * vc/vc-mtn.el:
9260 * vc/vc-hg.el:
9261 * vc/vc-git.el:
9262 * vc/vc-dir.el:
9263 * vc/vc-cvs.el:
9264 * vc/vc-bzr.el:
9265 * vc/vc-arch.el:
9266 * vc/vc.el: Replace lexical-let by lexical-binding.
9267 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9268 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9269 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9270
9271 2012-04-26 Chong Yidong <cyd@gnu.org>
9272
9273 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9274 (diff-mode-shared-map): Bind it to / and [remap undo].
9275
9276 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9277 (ediff-window-setup-function): Use it as the default, to set up
9278 windows based on whether the current frame is graphical (Bug#2138).
9279 (ediff-choose-window-setup-function-automatically): Make obsolete.
9280
9281 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9282
9283 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * ffap.el: Remove old code for obsolete package.
9286 (ffap-complete-as-file-p): Remove.
9287
9288 Use completion-table-with-quoting for comint and pcomplete.
9289 * comint.el (comint--unquote&requote-argument)
9290 (comint--unquote-argument, comint--requote-argument): New functions.
9291 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9292 (comint-quote-filename): Use regexp-opt-charset.
9293 (comint--common-suffix, comint--common-quoted-suffix)
9294 (comint--table-subvert): Remove.
9295 (comint-unquote-function, comint-requote-function): New vars.
9296 (comint--complete-file-name-data): Use them with
9297 completion-table-with-quoting.
9298 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9299 * pcomplete.el (pcomplete-arg-quote-list)
9300 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9301 (pcomplete-unquote-argument-function): Default to non-nil.
9302 (pcomplete-unquote-argument): Simplify.
9303 (pcomplete--common-quoted-suffix): Remove.
9304 (pcomplete-requote-argument-function): New var.
9305 (pcomplete--common-suffix): New function.
9306 (pcomplete-completions-at-point): Use completion-table-with-quoting
9307 and completion-table-subvert.
9308
9309 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9310 (minibuffer--double-dollars): Preserve properties.
9311 (completion--sifn-requote): New function.
9312 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9313
9314 * minibuffer.el: Add support for completion of quoted/escaped data.
9315 (completion-table-with-quoting, completion-table-subvert): New funs.
9316 (completion--twq-try, completion--twq-all): New functions.
9317 (completion--nth-completion): New function.
9318 (completion-try-completion, completion-all-completions): Use it.
9319
9320 2012-04-25 Leo Liu <sdl.web@gmail.com>
9321
9322 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9323 Use compilation-message if available to find real filename.
9324
9325 2012-04-25 Chong Yidong <cyd@gnu.org>
9326
9327 * vc/diff-mode.el (diff-setup-whitespace): New function.
9328 (diff-mode): Use it.
9329
9330 * vc/diff.el (diff-sentinel):
9331 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9332 Whitespace mode variables based on diff style (Bug#8612).
9333
9334 2012-04-25 Leo Liu <sdl.web@gmail.com>
9335
9336 * progmodes/python.el (python-send-region): Add suffix .py to the
9337 temp file.
9338
9339 * files.el (auto-mode-alist): Use javascript-mode instead.
9340
9341 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9342
9343 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9344
9345 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9346 (soap-resolve-references-for-array-type): Hack to prevent self
9347 references, see Bug#9.
9348 (soap-parse-envelope): Report the contents of the 'detail' node
9349 when receiving a fault reply.
9350 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9351
9352 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9353 (soap-inspect-simple-type): New function.
9354
9355 * net/soap-client.el (soap-simple-type): New struct.
9356 (soap-default-xsd-types, soap-default-soapenc-types)
9357 (soap-decode-basic-type, soap-encode-basic-type):
9358 support unsignedInt and double basic types.
9359 (soap-resolve-references-for-simple-type)
9360 (soap-parse-simple-type, soap-encode-simple-type): New function.
9361 (soap-parse-schema): Parse xsd:simpleType declarations.
9362
9363 * net/soap-client.el (soap-default-xsd-types)
9364 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9365 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9366 the local name of "soapenc:Array".
9367 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9368 decoding integer, byte and anyURI xsd types.
9369
9370 2012-04-25 Chong Yidong <cyd@gnu.org>
9371
9372 * cus-edit.el (custom-buffer-create-internal): Update header text.
9373
9374 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9375
9376 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9377 settings on 'system-type', not on 'window-system'. On MS-Windows,
9378 set interactive-mode on in GDB.
9379
9380 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9383 (ruby-syntax-propertize-regexp): Remove.
9384 (ruby-syntax-propertize-function): Split regexp into chunks.
9385 Match following code directly.
9386
9387 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9388
9389 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9390 (ruby-syntax-propertize-regexp): New function.
9391 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9392 by a special keyword.
9393
9394 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9395 (ruby-syntax-general-delimiters-goto-beg)
9396 (ruby-syntax-propertize-general-delimiters): New functions.
9397 (ruby-syntax-propertize-function): Use them to handle GDL.
9398 (ruby-font-lock-keywords): Move old handling of GDL...
9399 (ruby-font-lock-syntactic-keywords): .. to here.
9400 (ruby-calculate-indent): Adjust indentation for GDL.
9401
9402 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9403
9404 * notifications.el (top): Remove unneeded declarations.
9405 (notifications-specification-version): Change to "1.2".
9406 (notifications-interface, notifications-notify-method)
9407 (notifications-close-notification-method): Fix docstring.
9408 (notifications-get-capabilities-method): New defconst.
9409 (notifications-notify): Add :action-items, :resident and
9410 :transient hints. Change "image_data" to "image-data" and
9411 "image_path" to "image-path".
9412 (notifications-get-capabilities): New defun.
9413
9414 2012-04-24 Leo Liu <sdl.web@gmail.com>
9415
9416 * progmodes/python.el: Move hideshow setup to the end.
9417
9418 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9419
9420 * window.el (handle-select-window): Clear echo area since this is
9421 no more done by read_char (Bug#11304).
9422
9423 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9426 and `/ M' to filter-derived-mode.
9427 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9428 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9429 (ibuffer-mark-by-mode): Use default rather than initial-input.
9430 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9431
9432 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9433
9434 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9435 (ibuffer-filter-by-derived-mode): New filter.
9436 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9437
9438 2012-04-23 Andreas Politz <politza@fh-trier.de>
9439
9440 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9441
9442 2012-04-23 Chong Yidong <cyd@gnu.org>
9443
9444 * cus-edit.el (customize-apropos, customize-apropos-options):
9445 Disable matching of non-option variables (Bug#11176).
9446 (customize-option, customize-option-other-window)
9447 (customize-changed-options): Doc fix.
9448 (customize-apropos-options, customize-apropos-faces)
9449 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9450
9451 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9452 Fix word list splitting (Bug#11132).
9453 (apropos-symbol, apropos-keybinding, apropos-label)
9454 (apropos-property, apropos-function-button)
9455 (apropos-variable-button, apropos-misc-button): New faces.
9456 (apropos-symbol-face, apropos-keybinding-face)
9457 (apropos-label-face, apropos-property-face, apropos-match-face):
9458 Variables removed (Bug#8396).
9459 (apropos-library-button, apropos-format-plist, apropos-print)
9460 (apropos-print-doc, apropos-describe-plist): Callers changed.
9461
9462 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/xesam.el (xesam-mode-map): Use let-bound map in
9465 initialization. (Bug#11292)
9466
9467 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9468
9469 Preserve ispell session localwords when switching back to
9470 original buffer.
9471
9472 * textmodes/ispell.el (ispell-buffer-session-localwords):
9473 New buffer-local variable to hold buffer session localwords.
9474 (ispell-kill-ispell): Add option 'clear to delete session
9475 localwords.
9476 (ispell-command-loop, ispell-change-dictionary)
9477 (ispell-buffer-local-words): Preserve session localwords when
9478 needed.
9479
9480 * textmodes/flyspell.el (flyspell-process-localwords)
9481 (flyspell-do-correct): Preserve session localwords when needed.
9482
9483 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9484
9485 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9486 using obsolete `translation-table-for-input'.
9487 (ispell-word, ispell-process-line, ispell-complete-word):
9488 Use plain `insert' instead of removed `ispell-insert-word'.
9489
9490 2012-04-22 Chong Yidong <cyd@gnu.org>
9491
9492 * cus-edit.el (custom-variable-menu)
9493 (custom-variable-reset-saved, custom-face-menu)
9494 (custom-face-reset-saved): If there is no saved value, make the
9495 "reset-saved" operation bring back the default (Bug#9509).
9496 (custom-face-state): Properly detect themed faces.
9497
9498 * faces.el (face-spec-set): Stop supporting deprecated form of
9499 third arg.
9500
9501 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9502
9503 Move functions from C to Lisp. Make non-blocking method calls
9504 the default. Implement further D-Bus standard interfaces.
9505
9506 * net/dbus.el (dbus-message-internal): Declare function.
9507 Remove unneeded function declarations.
9508 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9509 (dbus-message-type-method-return, dbus-message-type-error)
9510 (dbus-message-type-signal): Declare variables. Remove local
9511 definitions.
9512 (dbus-interface-dbus, dbus-interface-peer)
9513 (dbus-interface-introspectable, dbus-interface-properties)
9514 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9515 Adapt docstring.
9516 (dbus-interface-objectmanager): New defconst.
9517 (dbus-call-method, dbus-call-method-asynchronously)
9518 (dbus-send-signal, dbus-method-return-internal)
9519 (dbus-method-error-internal, dbus-register-service)
9520 (dbus-register-signal, dbus-register-method): New defuns, moved
9521 from dbusbind.c
9522 (dbus-call-method-handler, dbus-setenv)
9523 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9524 New defuns.
9525 (dbus-call-method-non-blocking): Make it an obsolete function.
9526 (dbus-unregister-object, dbus-unregister-service)
9527 (dbus-handle-event, dbus-register-property)
9528 (dbus-property-handler): Obey the new structure of
9529 `bus-registered-objects'.
9530 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9531 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9532 Use `dbus-call-method'.
9533
9534 2012-04-22 Chong Yidong <cyd@gnu.org>
9535
9536 * cus-edit.el (custom-commands, custom-reset-menu)
9537 (Custom-reset-standard): Tweak labels.
9538 (custom-reset-button-menu): Change default to t.
9539 (custom-buffer-create-internal): For the custom-reset-button-menu
9540 case, put the revert button first.
9541 (custom-group-subtitle): New face.
9542 (custom-group-value-create): Align docstring to a specific column.
9543
9544 * wid-edit.el (widget-documentation-link-add): Don't handle
9545 indentation in this function.
9546 (widget-documentation-string-indent-to): New function.
9547 (widget-documentation-string-value-create): Use it.
9548
9549 * autorevert.el (auto-revert):
9550 * epg-config.el (epg):
9551 * ibuffer.el (ibuffer):
9552 * mpc.el (mpc):
9553 * ses.el (ses):
9554 * eshell/eshell.el (eshell):
9555 * net/ange-ftp.el (ange-ftp):
9556 * progmodes/ebnf2ps.el (postscript):
9557 * progmodes/flymake.el (flymake):
9558 * progmodes/prolog.el (prolog):
9559 * progmodes/verilog-mode.el (verilog-mode):
9560 * progmodes/which-func.el (which-func):
9561 * term/xterm.el (xterm):
9562 * textmodes/picture.el (picture):
9563 * textmodes/tildify.el (tildify):
9564 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9565 customization buffers.
9566
9567 2012-04-22 Alan Mackenzie <acm@muc.de>
9568
9569 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9570 Adding a ) can hide the resulting (..) from searches. Fix it.
9571 Bound the backward search to the position of the existing (.
9572
9573 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9574
9575 * progmodes/verilog-mode.el (verilog-mode): Check whether
9576 which-func-modes is t before adding verilog-mode.
9577 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9578
9579 2012-04-21 Leo Liu <sdl.web@gmail.com>
9580
9581 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9582
9583 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9584
9585 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9586 filling of the last column of a table (Bug#5635).
9587 (woman-find-next-control-line): New arg, specifying an additional
9588 regexp component for the control line.
9589 (woman2-roff-buffer): Use it.
9590 (woman-break-table): New function.
9591 (woman2-TS): Use it.
9592
9593 2012-04-21 Chong Yidong <cyd@gnu.org>
9594
9595 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9596 (woman-horizontal-escapes, woman-negative-vertical-space)
9597 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9598 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9599
9600 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * minibuffer.el (completion-file-name-table): Complete user names.
9603
9604 2012-04-20 Leo Liu <sdl.web@gmail.com>
9605
9606 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9607 and pcase-let*.
9608
9609 2012-04-20 Chong Yidong <cyd@gnu.org>
9610
9611 * server.el (server-execute): Respect initial-buffer-choice if it
9612 is a string and there are no files to open (Bug#2825).
9613 (server-create-window-system-frame, server-create-tty-frame):
9614 Don't switch buffers here.
9615 (server-process-filter): Only try to open a window system frame if
9616 compiled with graphical support (Bug#8314).
9617
9618 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9619
9620 * battery.el (battery-echo-area-format): Display remaining time
9621 for sysfs backend too (Bug#11269).
9622 (battery-linux-sysfs): Fix conditional for the charge.
9623
9624 2012-04-20 Chong Yidong <cyd@gnu.org>
9625
9626 * progmodes/gdb-mi.el (gdb): Revert previous change.
9627 (gdb-inferior-io--init-proc): New function.
9628 (gdb-init-1): Use it.
9629 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9630 responsible for allocating a new pty and hooking it to gdb when
9631 the old pty gets an EIO due to process exit.
9632 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9633 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9634 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9635
9636 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9637
9638 * window.el (window-min-size, window-sizable, window-min-delta)
9639 (window-max-delta, window--resizable, window-resizable)
9640 (window-total-size, window-full-height-p, window-full-width-p)
9641 (window-in-direction, window--resize-mini-window, window-resize)
9642 (window--resize-child-windows-normal)
9643 (window--resize-child-windows, window--resize-siblings)
9644 (window--resize-this-window, adjust-window-trailing-edge)
9645 (enlarge-window, shrink-window): Doc fixes.
9646
9647 2012-04-20 Chong Yidong <cyd@gnu.org>
9648
9649 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9650 New function to call delete-process on the gdb-inferior buffer's pty.
9651 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9652 pty process (Bug#11273).
9653 (gdb-update): New arg to suppress talking to the gdb process.
9654 (gdb-done-or-error): Use it.
9655 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9656 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9657 sentinel not being called.
9658
9659 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9660
9661 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9662
9663 2012-04-20 Glenn Morris <rgm@gnu.org>
9664
9665 * net/network-stream.el (open-network-stream): Doc fix.
9666
9667 2012-04-20 Chong Yidong <cyd@gnu.org>
9668
9669 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9670
9671 2012-04-20 Alan Mackenzie <acm@muc.de>
9672
9673 Ensure searching for keywords is case sensitive.
9674
9675 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9676 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9677 (c-defun-name, c-mark-function, c-cpp-define-name)
9678 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9679 (c-context-line-break): Bind case-fold-search to nil.
9680
9681 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9682 Bind case-fold-search to nil.
9683
9684 2012-04-20 Chong Yidong <cyd@gnu.org>
9685
9686 * mail/sendmail.el (mail-bury): Call return action with the right
9687 Rmail buffer (Bug#11242).
9688
9689 * server.el (server-process-filter): Handle corner case where both
9690 tty and nowait options are present (Bug#11102).
9691
9692 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9693
9694 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9695 (top level): Put into the executable the ident-style '$Id:' tag on
9696 windows-nt as well.
9697
9698 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * electric.el (electric-indent-post-self-insert-function): Check that
9701 electric-indent-mode is enabled in current buffer.
9702
9703 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * imenu.el (imenu-progress-message): Restore; it is "used" in
9706 erc/erc-imenu.el and net/snmp-mode.el.
9707
9708 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9711 (mouse-avoidance-nudge-mouse): Remove unused binding.
9712
9713 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9714
9715 * descr-text.el (describe-char):
9716 * progmodes/python.el (python-describe-symbol):
9717 Don't call `toggle-read-only', set `buffer-read-only'.
9718
9719 * imenu.el (imenu-default-goto-function): Mark unused args.
9720 (imenu-progress-message): Remove obsolete macro; all callers changed.
9721
9722 * subr.el (keymap-canonicalize): Remove unused binding.
9723 (read-passwd): Mark unused arg.
9724
9725 * tutorial.el (tutorial--display-changes): Remove unused binding.
9726 (tutorial--save-tutorial-to): Remove unused variable.
9727
9728 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9729 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9730 (package-generate-autoloads, package-menu--generate)
9731 (package-menu--find-upgrades): Remove unused bindings.
9732
9733 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9734 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9735 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9736 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9737 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9738 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9739 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9740 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9741 (cua-delete-char-rectangle): Mark unused args.
9742 (cua-align-rectangle): Remove unused binding.
9743
9744 * mail/rmail.el (compilation--message->loc)
9745 (epa--find-coding-system-for-mime-charset): Declare.
9746
9747 * net/dbus.el (dbus-register-service): Declare.
9748 (dbus-name-owner-changed-handler): Remove unused binding.
9749
9750 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9751 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9752 (nxml-scan-backward-within): Mark unused arg.
9753 (nxml-dynamic-markup-word): Remove unused binding.
9754
9755 * mouse.el (mouse-menu-major-mode-map):
9756 * emacs-lisp/authors.el (authors-scan-change-log)
9757 (authors-add-to-author-list):
9758 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9759 * emacs-lisp/smie.el (smie-auto-fill):
9760 * mail/sendmail.el (mail-bury):
9761 * mail/unrmail.el (unrmail):
9762 * net/tls.el (open-tls-stream):
9763 * textmodes/picture.el (picture-mouse-set-point):
9764 Remove unused bindings.
9765
9766 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9767
9768 * net/tramp.el (tramp-action-password): Let-bind
9769 `enable-recursive-minibuffers' to t.
9770
9771 2012-04-18 Sam Steingold <sds@gnu.org>
9772
9773 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9774 instead of 'string to accommodate values like [f11].
9775 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9776 * progmodes/gdb-mi.el: Likewise.
9777
9778 2012-04-18 Leo Liu <sdl.web@gmail.com>
9779
9780 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9781 current buffer.
9782 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9783 LOCAL is nil.
9784
9785 2012-04-18 Chong Yidong <cyd@gnu.org>
9786
9787 * simple.el (line-move): Use forward-line if in batch mode
9788 (Bug#11053).
9789
9790 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9791
9792 * files.el (after-find-file): Do not try to add a final newline if
9793 the buffer is read-only (Bug#11156).
9794
9795 2012-04-17 Richard Stallman <rms@gnu.org>
9796
9797 * mail/rmail.el (rmail-start-mail):
9798 Pass (rmail-mail-return...) for the return-action.
9799 Pass (rmail-yank-current-message...) for the yank-action.
9800 (rmail-yank-current-message): New function.
9801 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9802 (rmail-reply): Likewise.
9803 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9804
9805 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9806 buffer, not the last. Reject temp buffers. Use the rmail-mode
9807 buffer, not newbuf.
9808
9809 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9810
9811 * server.el (server-ensure-safe-dir): Simplify.
9812
9813 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/smie.el: Provide smarter auto-filling.
9816 (smie-auto-fill): New function.
9817 (smie-setup): Use it.
9818
9819 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9820
9821 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9822
9823 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9824 (comment-indent): Use it.
9825
9826 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9827
9828 * ses.el: The overall change is to add cell renaming, that is
9829 setting fancy names for cell symbols other than name matching
9830 "\\`[A-Z]+[0-9]+\\'" regexp .
9831 (ses-localvars): Add ses--renamed-cell-symb-list.
9832 (ses-create-cell-variable): New defun.
9833 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9834 (ses-relocate-formula): Relocate formulas only for cells the
9835 symbols of which are not renamed, i.e. symbols whose names do not
9836 match regexp "\\`[A-Z]+[0-9]+\\'".
9837 (ses-relocate-all): Relocate values only for cells the symbols of
9838 which are not renamed.
9839 (ses-load): Create cells variables as the (ses-cell ...) are read,
9840 in order to check row col consistency with cell symbol name only
9841 for cells that are not renamed.
9842 (ses-replace-name-in-formula): New defun.
9843 (ses-rename-cell): New defun.
9844
9845 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9846
9847 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9848 New option (bug#11118).
9849 (perl-calculate-indent): Respect it.
9850
9851 2012-04-17 Glenn Morris <rgm@gnu.org>
9852
9853 * dired-aux.el (dired-mark-read-string): Doc fix.
9854
9855 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9856
9857 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9858 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9859
9860 2012-04-17 Glenn Morris <rgm@gnu.org>
9861
9862 * mouse.el (mouse-drag-track):
9863 * speedbar.el (speedbar-frame-mode):
9864 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9865
9866 2012-04-16 Leo Liu <sdl.web@gmail.com>
9867
9868 * progmodes/python.el: Trivial cleanup.
9869
9870 2012-04-16 Glenn Morris <rgm@gnu.org>
9871
9872 * vc/vc.el (vc-string-prefix-p):
9873 * vc/pcvs-util.el (cvs-string-prefix-p):
9874 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9875 * mpc.el (mpc-string-prefix-p):
9876 Make all of these into obsolete aliases for string-prefix-p.
9877 Update callers.
9878 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9879
9880 * textmodes/two-column.el: Move custom options to the start.
9881 (frame-width): Remove compat definition.
9882 (2C-associate-buffer, 2C-dissociate):
9883 Use with-current-buffer rather than save-excursion.
9884 (2C-dissociate): Force a mode-line update.
9885 (2C-autoscroll): Use ignore-errors.
9886
9887 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9888 Autoload trivia.
9889
9890 * emacs-lisp/cl-extra.el (*random-state*):
9891 Remove unnecessary declaration.
9892
9893 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9894
9895 * play/cookie1.el (cookie-snarf):
9896 Give an explicit error if input file cannot be read.
9897
9898 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9899
9900 * progmodes/perl-mode.el (c-macro-expand):
9901 Remove unnecessary autoload (it is in loaddefs.el).
9902
9903 * textmodes/picture.el (picture-desired-column)
9904 (picture-update-desired-column): Convert comments to doc-strings.
9905 (picture-substitute): Remove function.
9906 (picture-mode-map): Initialize in the defvar.
9907
9908 * woman.el: Remove eval-after-load for tar-mode.
9909 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9910 (woman-tar-extract-file): Autoload it.
9911
9912 * frame.el (automatic-hscrolling): Make this alias obsolete.
9913
9914 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9915
9916 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9917 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9918 (ispell-dictionary-base-alist): Revert to original XEmacs
9919 friendly version for default. [:alpha:] will be added in
9920 `ispell-set-spellchecker-params' if needed.
9921
9922 2012-04-16 Chong Yidong <cyd@gnu.org>
9923
9924 * image.el (imagemagick--file-regexp): New variable.
9925 (imagemagick-register-types): Use it.
9926 (imagemagick-types-inhibit): Add :set function. Allow new value
9927 of t to inhibit all types.
9928
9929 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9930 so we can preload it.
9931
9932 * loadup.el (fboundp): Preload regexp-opt, needed by
9933 imagemagick-register-types.
9934
9935 2012-04-15 Chong Yidong <cyd@gnu.org>
9936
9937 * frame.el (scrolling): Remove nearly unused customization group.
9938
9939 * scroll-all.el (scroll-all-mode): Move to windows group.
9940
9941 2012-04-15 Chong Yidong <cyd@gnu.org>
9942
9943 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9944
9945 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9948 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9949
9950 2012-04-15 Glenn Morris <rgm@gnu.org>
9951
9952 * simple.el (process-file-side-effects): Doc fix.
9953
9954 2012-04-15 Glenn Morris <rgm@gnu.org>
9955
9956 * international/mule-cmds.el (set-language-environment): Doc fix.
9957
9958 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9959
9960 * server.el (server-auth-key, server-generate-key): Doc fixes.
9961 (server-get-auth-key): Doc fix. Use `string-match-p'.
9962 (server-start): Reflow docstring.
9963
9964 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9965
9966 * server.el (server-generate-key): `called-interactively-p'
9967 requires a parameter.
9968
9969 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9970
9971 * server.el (server-auth-key): New variable.
9972 (server-generate-key, server-get-auth-key): New function.
9973 (server-start): Use the new variable and functions to allow
9974 setting a permanent server key (bug#9423).
9975
9976 2012-04-14 Leo Liu <sdl.web@gmail.com>
9977
9978 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9979
9980 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9981
9982 Spelling fixes.
9983 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9984 Emacs uses American spelling.
9985
9986 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9989 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9990 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9991 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9992
9993 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * progmodes/which-func.el (which-func-modes): Change default.
9996
9997 2012-04-14 Kim F. Storm <storm@cua.dk>
9998
9999 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10000 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10001
10002 2012-04-14 Chong Yidong <cyd@gnu.org>
10003
10004 * custom.el (custom-theme-set-variables): Doc fix.
10005
10006 2012-04-14 Glenn Morris <rgm@gnu.org>
10007
10008 * international/mule.el (set-auto-coding-for-load): Doc fix.
10009
10010 2012-04-14 Alan Mackenzie <acm@muc.de>
10011
10012 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10013 imenu work again for Objective C Mode. Correct the *-index values,
10014 these having been disturbed by a previous change in 2011-08.
10015
10016 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10017 Correct two search limits.
10018
10019 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10022
10023 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10024
10025 * international/characters.el: Fix sorting.
10026
10027 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10028
10029 * international/characters.el: Add more missing Latin case pairs.
10030
10031 2012-04-14 Glenn Morris <rgm@gnu.org>
10032
10033 * files.el (dir-locals-set-class-variables): Doc fix.
10034
10035 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10036
10037 * international/characters.el: Add set-case-syntax-pair call for
10038 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10039 counterpart. (Bug#11209)
10040
10041 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10042
10043 2012-04-14 Glenn Morris <rgm@gnu.org>
10044
10045 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10046
10047 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10048
10049 * textmodes/ispell.el (ispell-dictionary-base-alist):
10050 Add data for Hebrew.
10051
10052 2012-04-14 Chong Yidong <cyd@gnu.org>
10053
10054 * net/rcirc.el (rcirc-cmd-quit):
10055 Revert 2012-03-18 change (Bug#11192).
10056
10057 2012-04-14 Glenn Morris <rgm@gnu.org>
10058
10059 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10060
10061 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10062
10063 * minibuffer.el (completion-in-region-mode-map):
10064 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10065
10066 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10067
10068 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10069
10070 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10071
10072 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10073 to allow `C-M-f' and `C-M-b' to move to the nearest path
10074 separator (bug#9511).
10075
10076 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10077
10078 * avoid.el: Require cl when compiling. And also move the
10079 `provide' to the end.
10080
10081 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10082
10083 * avoid.el (mouse-avoidance-banish-position): New variable.
10084 (mouse-avoidance-banish-destination): Use it (bug#10165).
10085
10086 2012-04-13 Leo Liu <sdl.web@gmail.com>
10087
10088 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10089
10090 2012-04-13 Ken Brown <kbrown@cornell.edu>
10091
10092 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10093 this is no longer needed now that cygstart understands file:// URLs.
10094 (browse-url-filename-alist): For the same reason, don't modify
10095 file:// URLs on Cygwin.
10096
10097 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10100 the region on shift if the binding is already shifted (bug#11221).
10101
10102 2012-04-12 Glenn Morris <rgm@gnu.org>
10103
10104 * mail/mailpost.el: Move to obsolete/.
10105
10106 2012-04-12 Drew Adams <drew.adams@oracle.com>
10107
10108 * imenu.el (imenu--generic-function): Ignore invisible definitions
10109 (bug#10123).
10110
10111 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10112
10113 * hexl.el (hexl-bits): New variable.
10114 (hexl-options): Mention the variable in the doc string.
10115 (hexl-rulerise, hexl-line-displen): New functions.
10116 (hexl-mode): Mention the new variable.
10117 (hexl-mode, hexl-current-address, hexl-current-address):
10118 Use the displen.
10119 (hexl-ascii-start-column): New function.
10120 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10121 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10122
10123 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10124
10125 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10126 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10127 the encoding, as expected by hunspell.
10128
10129 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 * battery.el (battery--linux-sysfs-regexp): New const.
10132 (battery-status-function): Use it. Remove yeeloong special case.
10133 (battery-yeeloong-sysfs): Remove.
10134 (battery-echo-area-format): Remove yeeloong special case.
10135
10136 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10139 Reported by Noah Friedman.
10140
10141 * subr.el (read-passwd): Use read-string.
10142
10143 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10144
10145 * vcursor.el (vcursor-move): Increase the priority of the overlay
10146 (bug#9663).
10147
10148 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10149
10150 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10151 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10152
10153 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10154
10155 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10156 define-minor-mode (bug#10760).
10157
10158 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10159
10160 * progmodes/grep.el (rgrep): Tweak the find command line so
10161 that directories matching `grep-find-ignored-files' won't be
10162 pruned (bug#10351).
10163
10164 2012-04-11 Chong Yidong <cyd@gnu.org>
10165
10166 * startup.el (command-line): Remove support for long-obsolete
10167 variable font-lock-face-attributes.
10168
10169 2012-04-11 Glenn Morris <rgm@gnu.org>
10170
10171 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10172
10173 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * window.el (window--state-get-1): Obey window-point-insertion-type.
10176
10177 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10178
10179 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10180 to previous function when point is on the first character of a
10181 function. Take care of that in `narrow-to-defun' (bug#6157).
10182
10183 2012-04-11 Glenn Morris <rgm@gnu.org>
10184
10185 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10186 not just file-errors.
10187
10188 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10189 (vc-bzr-sha1): Use internal sha1.
10190
10191 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10194
10195 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10196
10197 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10198 that start in the middle of the line (bug#10496).
10199
10200 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10201
10202 * battery.el (battery-linux-proc-acpi): Only one battery is
10203 discharged at a time, but that seems to confuse battery.el when
10204 computing `rate-type' for the battery not being discharged
10205 (bug#10332).
10206
10207 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10210
10211 * international/quail.el: Use dolist and simplify.
10212 (quail-define-package, quail-update-keyboard-layout)
10213 (quail-define-rules): Use dolist.
10214 (quail-insert-kbd-layout, quail-get-translation): CSE.
10215
10216 * tmm.el: Use dolist, remove left over hook.
10217 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10218 Use dolist.
10219 (calendar-load-hook): Don't mess with it.
10220
10221 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10222 Use derived-mode-p. Run the diff asynchronously.
10223
10224 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
10226 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10227
10228 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10229
10230 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10231 (list-dynamic-libraries--loaded): New function.
10232 (list-dynamic-libraries--refresh): Use it.
10233
10234 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10235
10236 * progmodes/python.el (python-fill-paragraph):
10237 Make python-fill-region in a multiline string work when font-lock is
10238 disabled (bug#7018).
10239
10240 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10241
10242 * language/european.el (cp775): Add oem/legacy (en)coding on
10243 DOS/MS Windows for the Baltic languages. There are still plenty
10244 of texts written in this encoding/codepage (bug#6519).
10245
10246 2012-04-10 Glenn Morris <rgm@gnu.org>
10247
10248 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10249 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10250
10251 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10252
10253 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10254 next-line "n" and previous-line "p" in order to make recentf more
10255 consistent with ibuffer, dired or org-mode (bug#9387).
10256
10257 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10258
10259 * image.el (put-image): Return the overlay created instead of the
10260 optional input string (bug#7834). Note that this may break code
10261 that is (for some reason or other) depending on `put-image'
10262 returning the string.
10263
10264 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10265
10266 * simple.el (zap-to-char): Allow zapping using input methods
10267 (bug#1580).
10268
10269 * textmodes/fill.el (fill-region): Leave point and mark where they
10270 were before filling (bug#5399).
10271
10272 2012-04-09 Glenn Morris <rgm@gnu.org>
10273
10274 * version.el (emacs-bzr-get-version):
10275 Handle lightweight checkouts of local branches.
10276
10277 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10278
10279 * international/characters.el: Recover lost case pairs. (Bug#11209)
10280
10281 2012-04-09 Chong Yidong <cyd@gnu.org>
10282
10283 * custom.el (custom-variable-p): Return nil for non-symbol
10284 arguments instead of signaling an error.
10285 (user-variable-p): Obsolete alias for custom-variable-p.
10286
10287 * apropos.el (apropos-variable):
10288 * files-x.el (read-file-local-variable):
10289 * simple.el (set-variable):
10290 * woman.el (woman-mini-help):
10291 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10292
10293 2012-04-09 Glenn Morris <rgm@gnu.org>
10294
10295 * startup.el (normal-top-level): Don't look for leim-list.el
10296 in places where it will not be found. (Bug#910)
10297
10298 * international/mule-cmds.el (set-default-coding-systems):
10299 * files.el (normal-mode):
10300 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10301 This function was removed with ucs-tables.el in 2008.
10302
10303 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10304
10305 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10306 ispell-encoding8-command to "-i", without a trailing space.
10307 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10308 separate command-line arguments, to specify the encoding, since
10309 that's how hunspell expects it.
10310
10311 2012-04-08 Glenn Morris <rgm@gnu.org>
10312
10313 * loadup.el: Load bindings before cus-start.
10314 This reduces somewhat the number of "rogue" settings in emacs -Q.
10315
10316 2012-04-07 Glenn Morris <rgm@gnu.org>
10317
10318 * version.el (emacs-bzr-get-version): New function.
10319 (emacs-bzr-version): New variable.
10320 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10321 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10322
10323 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10324
10325 * international/uni-bidi.el, international/uni-category.el:
10326 * international/uni-combining.el, international/uni-decimal.el:
10327 * international/uni-decomposition.el, international/uni-digit.el:
10328 * international/uni-lowercase.el, international/uni-mirrored.el:
10329 * international/uni-name.el, international/uni-numeric.el:
10330 * international/uni-titlecase.el, international/uni-uppercase.el:
10331 Update for Unicode 6.1.
10332
10333 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10334
10335 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10336
10337 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
10339 * window.el (shrink-window): Mention the `window-min-height'
10340 variable in the doc string.
10341
10342 2012-04-05 Bastien Guerry <bzg@altern.org>
10343
10344 * color.el (color-lighten-name): Fix typo.
10345
10346 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10347
10348 * server.el (server--on-display-p): New function.
10349 (server--on-display-p): Use it.
10350
10351 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10352
10353 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10354 (bug#11145).
10355
10356 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * comint.el (comint--common-quoted-suffix): Check string boundary
10359 before comparing (bug#11158).
10360 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10361
10362 2012-04-04 Chong Yidong <cyd@gnu.org>
10363
10364 * minibuffer.el (completion-extra-properties): Doc fix.
10365
10366 * subr.el (delayed-warnings-hook): Doc fix.
10367
10368 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10369
10370 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10371 selection (Bug#11159).
10372 (epa-insert-keys): Inform that the default public key will be
10373 exported if no key is selected.
10374
10375 2012-04-04 Richard Stallman <rms@gnu.org>
10376
10377 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10378
10379 2012-04-03 Chong Yidong <cyd@gnu.org>
10380
10381 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10382 mail-insert-file, not its obsolete alias mail-attach-file.
10383
10384 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10385
10386 * notifications.el (notifications-notify): Fix docstring.
10387
10388 2012-04-02 Glenn Morris <rgm@gnu.org>
10389
10390 * emacs-lisp/authors.el (authors-aliases): Another addition.
10391
10392 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10393
10394 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10395 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10396 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10397
10398 2012-04-01 Chong Yidong <cyd@gnu.org>
10399
10400 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10401 Handle root directory properly.
10402 (copy-directory): Caller changed.
10403
10404 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10405 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10406
10407 2012-03-31 Glenn Morris <rgm@gnu.org>
10408
10409 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10410
10411 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10412
10413 * calendar/calendar.el (calendar-window-list)
10414 (calendar-hide-window): Restore. (Bug#11140)
10415 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10416
10417 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10418
10419 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10420
10421 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10422 Check if file is a symlink (Bug#10489).
10423
10424 * files.el (copy-directory): Likewise.
10425
10426 2012-03-30 Chong Yidong <cyd@gnu.org>
10427
10428 * image.el (imagemagick-types-inhibit)
10429 (imagemagick-register-types): Doc fix.
10430
10431 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10432
10433 * textmodes/ispell.el (ispell-get-extended-character-mode):
10434 Disable extended-char-mode for hunspell. hunspell does not support it
10435 and treats ~word as ordinary words in pipe mode.
10436
10437 2012-03-30 Glenn Morris <rgm@gnu.org>
10438
10439 * tutorial.el (help-with-tutorial): Ensure local variables don't
10440 happen to make the buffer read-only. (Bug#11127)
10441
10442 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10445 (perl-calculate-indent): Return `noindent' in strings.
10446
10447 2012-03-28 Sam Steingold <sds@gnu.org>
10448
10449 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10450 instead of the broken adhockery which does not prevent calendar
10451 buffers from being displayed at random after exit.
10452 (calendar-window-list, calendar-hide-window): Remove the broken
10453 adhockery.
10454
10455 2012-03-28 Glenn Morris <rgm@gnu.org>
10456
10457 * replace.el (query-replace-map): Doc fix.
10458
10459 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10460
10461 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10462 contents. (Bug#11109)
10463
10464 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10467 (bug#11077).
10468 (avl-tree--check, avl-tree--check-node): New funs.
10469
10470 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10471
10472 * window.el (switch-to-visible-buffer): New option.
10473 (switch-to-prev-buffer, switch-to-next-buffer):
10474 Observe switch-to-visible-buffer. Make sure that checking for a window
10475 showing a buffer already is done on the same frame.
10476
10477 2012-03-27 Glenn Morris <rgm@gnu.org>
10478
10479 * startup.el (mail-host-address): Doc fix.
10480
10481 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10484 than 197 variables.
10485
10486 2012-03-26 Ami Fischman <ami@fischman.org>
10487
10488 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10489
10490 2012-03-26 Glenn Morris <rgm@gnu.org>
10491
10492 * files.el (save-buffers-kill-emacs): Doc fix.
10493
10494 * startup.el (normal-top-level, command-line, command-line-1):
10495 Give them doc strings.
10496
10497 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10498
10499 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10500 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10501
10502 2012-03-25 Chong Yidong <cyd@gnu.org>
10503
10504 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10505 theme if it was previously enabled before (Bug#11031).
10506
10507 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10508 spec with custom-face-get-current-spec if its :shown-value is not
10509 determined yet (Bug#9337).
10510 (customize-create-theme, custom-theme-revert): Doc fixes.
10511
10512 * button.el (button-at): Minor addition to docstring.
10513
10514 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10515
10516 * vc/vc.el (vc-merge): Fix a prompt.
10517
10518 2012-03-24 Chong Yidong <cyd@gnu.org>
10519
10520 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10521 point (Bug#9623).
10522
10523 * button.el (button-at): Minor addition to docstring.
10524
10525 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * newcomment.el (comment-choose-indent): No space after BOL.
10528
10529 2012-03-22 Sam Steingold <sds@gnu.org>
10530
10531 * window.el (switch-to-prev-buffer): Revert last patch because the
10532 bug turned out to be an advertised feature (Elisp manual 28.14).
10533
10534 2012-03-22 Glenn Morris <rgm@gnu.org>
10535
10536 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10537 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10538
10539 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10540
10541 * net/network-stream.el (network-stream-open-starttls): Make error
10542 message under Windows be less misleading.
10543
10544 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10545
10546 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10547 understands (bug#9942).
10548
10549 2012-03-22 Chong Yidong <cyd@gnu.org>
10550
10551 * simple.el (end-of-visible-line): Handle return value of
10552 next-single-property-change properly (Bug#9371).
10553
10554 2012-03-22 Kenichi Handa <handa@m17n.org>
10555
10556 * international/quail.el (quail-insert-kbd-layout): Fix previous
10557 change. To avoid unwanted bidi reordering, use
10558 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10559
10560 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10561
10562 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10563 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10564 (ruby-beginning-of-indent): Be more careful with the difference
10565 between word-boundary and symbol boundary.
10566 (ruby-mode-syntax-table): Make : a symbol constituent.
10567
10568 2012-03-21 Andreas Politz <politza@fh-trier.de>
10569
10570 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10571
10572 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * progmodes/etags.el (tags-completion-at-point-function):
10575 Improve last fix.
10576
10577 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10578
10579 2012-03-21 Sam Steingold <sds@gnu.org>
10580
10581 * progmodes/etags.el (tags-completion-at-point-function):
10582 Avoid the error when point is inside the pattern.
10583
10584 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10585
10586 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10587 line (Bug#10855).
10588
10589 2012-03-21 Drew Adams <drew.adams@oracle.com>
10590
10591 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10592
10593 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10594
10595 * ido.el (ido-set-current-directory, ido-read-internal)
10596 (ido-choose-completion-string, ido-completion-help): Handle nil
10597 value of ido-completion-buffer (Bug#11008).
10598
10599 2012-03-21 Sam Steingold <sds@gnu.org>
10600
10601 * window.el (switch-to-prev-buffer): Do not switch to a visible
10602 window previous buffer, just like with the frame previous buffers.
10603
10604 2012-03-21 Chong Yidong <cyd@gnu.org>
10605
10606 * faces.el (make-face, make-empty-face, copy-face):
10607 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10608 Doc fixes.
10609
10610 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10611
10612 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10613 (widget-complete): Remove broken use of it.
10614
10615 2012-03-20 Chong Yidong <cyd@gnu.org>
10616
10617 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10618 Use string-width and truncate-string-width to handle arbitrary
10619 characters.
10620
10621 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10622
10623 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10624 to draw rectangles, not squares. (Regression introduced by revno
10625 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10626
10627 2012-03-18 Chong Yidong <cyd@gnu.org>
10628
10629 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10630 it is not yet defined (for temacs).
10631
10632 2012-03-18 Leo Liu <sdl.web@gmail.com>
10633
10634 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10635 prefix.
10636
10637 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10638
10639 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10640 (ispell-choices-win-default-height, ispell-silently-savep)
10641 (ispell-dictionary-alist, ispell-encoding8-command)
10642 (ispell-check-version, ispell-aspell-find-dictionary)
10643 (ispell-valid-dictionary-list, ispell-words-keyword)
10644 (ispell-get-word, ispell-internal-change-dictionary)
10645 (ispell-region, ispell-skip-region-list)
10646 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10647 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10648 (ispell-message-text-end, ispell-message)
10649 (ispell-buffer-local-parsing): Doc fix.
10650
10651 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10652
10653 * htmlfontify.el: Add support for code block fontification for ODT
10654 export (Bug #9914).
10655 (hfy-optimisations): Define new option
10656 `body-text-only'
10657 (hfy-fontify-buffer): Honor above setting.
10658 (hfy-begin-span, hfy-end-span): New routines factored out form
10659 `hfy-fontify-buffer'.
10660 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10661 that permit insertion of custom tags.
10662 (hfy-fontify-buffer): Use above handlers.
10663 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10664 (hfy-face-to-css): Re-defined to be a variable.
10665 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10666 over multiple runs. This is made possible by having the caller let
10667 bind a special variable `hfy-user-sheet-assoc'.
10668 (htmlfontify-string): New defun.
10669 (hfy-compile-face-map): Make sure that the last char in the
10670 buffer is correctly fontified.
10671 (hfy-face-resolve-face): Whitespace only change.
10672
10673 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10674
10675 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10676 message more clear.
10677
10678 2012-03-16 Leo Liu <sdl.web@gmail.com>
10679
10680 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10681
10682 2012-03-16 Alan Mackenzie <acm@muc.de>
10683
10684 Further optimise the handling of large macros.
10685
10686 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10687 limit to a call of `c-literal-limits'.
10688 (c-determine-+ve-limit): New function.
10689 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10690 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10691 In CASE 5B, restrict a search limit to 500.
10692 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10693
10694 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10695 Restrict macro bounds to +-500 from after-change's BEG END.
10696
10697 2012-03-16 Leo Liu <sdl.web@gmail.com>
10698
10699 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10700
10701 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10702
10703 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10704 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10705
10706 2012-03-16 Glenn Morris <rgm@gnu.org>
10707
10708 * view.el (view-buffer, view-buffer-other-window)
10709 (view-buffer-other-frame): Doc fixes re special mode-class.
10710
10711 * subr.el (eval-after-load): If named feature is provided not from
10712 a file, run after-load forms. (Bug#10946)
10713
10714 * calendar/calendar.el (calendar-insert-at-column):
10715 Handle non-unit-width characters a bit better. (Bug#10978)
10716
10717 2012-03-15 Chong Yidong <cyd@gnu.org>
10718
10719 * emacs-lisp/ring.el (ring-extend): New function.
10720 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10721
10722 * comint.el (comint-read-input-ring)
10723 (comint-add-to-input-history): Grow comint-input-ring lazily.
10724
10725 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10728 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10729
10730 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10731 (imenu-add-to-menubar): Don't add a redundant index.
10732 (imenu-update-menubar): Handle a dynamically composed keymap.
10733
10734 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10735
10736 * mail/sendmail.el (mail-encode-header):
10737 Bind rfc2047-encode-encoded-words to nil.
10738
10739 2012-03-13 Glenn Morris <rgm@gnu.org>
10740
10741 * calendar/calendar.el (calendar-string-spread):
10742 Handle non-unit-width characters a bit better. (Bug#10978)
10743
10744 2012-03-13 Leo Liu <sdl.web@gmail.com>
10745
10746 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10747 directory and file as argument (Bug#10822).
10748
10749 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10750
10751 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10752 For dynamically generated code, follow $PC.
10753 (gdb-disassembly-handler-custom): Handle no function name case.
10754
10755 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10756
10757 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10758 * emulation/ws-mode.el (ws-query-replace):
10759 * sort.el (sort-regexp-fields):
10760 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10761
10762 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * dabbrev.el: Fix cycle completion order (bug#10963).
10765 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10766 (dabbrev-completion): Don't use an obarray; provide
10767 a cycle-sort-function.
10768
10769 2012-03-12 Leo Liu <sdl.web@gmail.com>
10770
10771 * simple.el (kill-new): Use equal-including-properties for comparison.
10772 (kill-do-not-save-duplicates): Doc fix.
10773
10774 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * dabbrev.el: Fix cycle completion (bug#10963).
10777 Use lexical binding and wrap to 80 columns.
10778 (dabbrev-completion): Delay computing the list of completions.
10779
10780 2012-03-12 Kenichi Handa <handa@m17n.org>
10781
10782 * international/quail.el (quail-insert-kbd-layout): Surround each
10783 row by LRO and PDF instead of inserting many LRMs. Pad the left
10784 and right of each non-spacing marks. Insert invisible space
10785 between lower and upper characters to prevent composition.
10786
10787 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * minibuffer.el (minibuffer-complete): Don't get confused when the
10790 function is run twice via different commands (bug#10958).
10791 (complete-with-action): Fix docstring.
10792
10793 2012-03-12 Chong Yidong <cyd@gnu.org>
10794
10795 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10796 (nxml-completion-at-point-function): New function.
10797 (nxml-mode): Use it.
10798 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10799
10800 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10801 Load generated autoloads file before byte compiling (Bug#10970).
10802 (package--make-autoloads-and-compile): New helper fun.
10803
10804 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10805
10806 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10807
10808 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10809
10810 * autorevert.el (auto-revert-handler): Ensure, that
10811 file-readable-p is applied only for local files or in
10812 auto-revert-tail-mode.
10813
10814 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10815
10816 * server.el (server-eval-at): Handle non-tcp connections.
10817 Decode result string.
10818
10819 * server.el (server-msg-size): New constant.
10820 (server-reply-print): New function.
10821 (server-eval-and-print): Use it.
10822 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10823 Handle -print-nonl.
10824
10825 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10826
10827 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10828 (Bug#10987).
10829
10830 2012-03-11 Chong Yidong <cyd@gnu.org>
10831
10832 * simple.el (goto-line): Doc fix (Bug#9938).
10833
10834 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10835
10836 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10837 when finished (Bug#10963).
10838
10839 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10840
10841 * window.el (split-window-below): Fix bug in case where
10842 split-window-keep-point is nil (Bug#10971).
10843
10844 2012-03-11 Juri Linkov <juri@jurta.org>
10845
10846 * replace.el (replace-highlight): Set isearch-word to nil
10847 unconditionally. (Bug#10887)
10848
10849 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10850
10851 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10852 mairix-replace-illegal-chars; all callers changed. Don't remove
10853 ^, ~, and = characters: they are meaningful in mairix search specs.
10854 (mairix-widget-create-query): Add usage information about mairix
10855 search forms: negating words, searching for substrings, etc.
10856
10857 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10858
10859 * international/fontset.el (font-encoding-alist): Add an entry for
10860 ksx1001 (Bug#5667).
10861
10862 2012-03-10 Richard Stallman <rms@gnu.org>
10863
10864 * mail/sendmail.el (mail-encode-header):
10865 Set rfc2047-encode-encoded-words.
10866
10867 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10868
10869 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10870 view buffer means not swapped.
10871 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10872 (rmail-write-region-annotate): Error if real text has disappeared.
10873
10874 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10875
10876 2012-03-10 Chong Yidong <cyd@gnu.org>
10877
10878 * emulation/cua-rect.el (cua--init-rectangles):
10879 * emulation/cua-base.el (cua--init-keymaps):
10880 Add delete-forward-char to remappings (Bug#9666).
10881
10882 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10883
10884 * speedbar.el (speedbar-unhighlight-one-tag-line):
10885 Avoid unhighlighting due to frame switching (Bug#10275).
10886
10887 2012-03-10 Chong Yidong <cyd@gnu.org>
10888
10889 * minibuffer.el (completion-in-region, completion-help-at-point):
10890 Give the completion field overlay a high priority (Bug#6830).
10891
10892 * dired.el (dired-goto-file): Recognize absolute file name
10893 listings (Bug#7126).
10894 (dired-goto-file-1): New helper function.
10895 (dired-toggle-read-only): Inhibit warnings.
10896
10897 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10898
10899 * net/dbus.el (dbus-property-handler): Return empty array if
10900 there are no properties.
10901
10902 2012-03-09 Leo Liu <sdl.web@gmail.com>
10903
10904 * savehist.el (savehist-printable): Stricter check for string
10905 value (Bug#10937).
10906
10907 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10908
10909 * mail/smtpmail.el (smtpmail-send-it):
10910 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10911 valid mbox format.
10912
10913 2012-03-09 Glenn Morris <rgm@gnu.org>
10914
10915 * files.el (dir-locals-find-file):
10916 Don't check result is regular, readable.
10917 (dir-locals-read-from-file): Demote errors.
10918
10919 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10920
10921 * international/quail.el (quail-insert-kbd-layout):
10922 Insert invisible LRM characters before each character in a keyboard
10923 layout cell, to prevent their reordering by bidi display engine.
10924 For details, see the discussion in
10925 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10926
10927 2012-03-08 Alan Mackenzie <acm@muc.de>
10928
10929 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10930 the starting position; make it extend the marked region when
10931 invoked repeatedly - all under appropriate circumstances.
10932 Fixes bugs #5525, #10906.
10933
10934 2012-03-08 Glenn Morris <rgm@gnu.org>
10935
10936 * files.el (locate-dominating-file, dir-locals-find-file):
10937 Undo 2012-03-06 change.
10938
10939 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10940
10941 * international/quail.el (quail-help):
10942 Force bidi-paragraph-direction be left-to-right. See discussion in
10943 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10944 for the reason.
10945
10946 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10947
10948 Avoid superfluous registering of signals. (Bug#10807)
10949
10950 * notifications.el (notifications-on-action-object)
10951 (notifications-on-close-object): New defvars.
10952 (notifications-on-action-signal, notifications-on-closed-signal):
10953 Unregister the signal if not needed any longer.
10954 (notifications-notify): Register `notifications-action-signal' or
10955 `notifications-closed-signal', if :on-action or :on-close has been
10956 passed as argument.
10957
10958 2012-03-07 Chong Yidong <cyd@gnu.org>
10959
10960 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10961 non-X platforms.
10962
10963 2012-03-06 Glenn Morris <rgm@gnu.org>
10964
10965 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10966 (x-disown-selection-internal, x-get-selection-internal):
10967 Doc fix (add arglist signatures). (Bug#10783)
10968
10969 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10970
10971 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10972 Handle breakpoints with no "type".
10973
10974 2012-03-06 Glenn Morris <rgm@gnu.org>
10975
10976 * files.el (locate-dominating-file): Add optional predicate argument.
10977 (dir-locals-find-file): Make use of above change.
10978
10979 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10980
10981 * info.el (Info-insert-dir): Also try "dir.gz".
10982
10983 2012-03-06 Glenn Morris <rgm@gnu.org>
10984
10985 * files.el (dir-locals-find-file):
10986 Ignore non-readable or non-regular files. (Bug#10928)
10987
10988 * files.el (locate-dominating-file): Doc fix.
10989
10990 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10991
10992 * calendar/calendar.el (calendar-set-mode-line):
10993 `getenv' returns a string. (Bug#10951)
10994
10995 2012-03-05 Leo Liu <sdl.web@gmail.com>
10996
10997 * simple.el (backward-delete-char-untabify): Constrain point to
10998 field (Bug#10939).
10999
11000 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11001
11002 2012-03-05 Chong Yidong <cyd@gnu.org>
11003
11004 * simple.el (count-words): If called from Lisp, return the word
11005 count, for symmetry with `count-lines'. Arglist changed.
11006 (count-words--message): Args changed. Consolidate counting code
11007 from count-words and count-words-region.
11008 (count-words-region): Caller changed.
11009 (count-lines-region): Make it an obsolete alias.
11010
11011 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11012
11013 * saveplace.el (save-place-to-alist)
11014 (save-place-ignore-files-regexp): Allow value nil to disable this
11015 feature.
11016
11017 2012-03-04 Chong Yidong <cyd@gnu.org>
11018
11019 * faces.el (face-spec-reset-face): For the default face, reset the
11020 attributes to default values (Bug#10748).
11021
11022 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11023
11024 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11025 previous patch: Check `message-send-mail-function', and not the
11026 default function (bug#10897).
11027
11028 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11029
11030 * notifications.el (notifications-on-action-signal)
11031 (notifications-on-closed-signal): Check for unique service name of
11032 incoming event. Fix error in removing entry.
11033 (top): Register for signals with wildcard service name.
11034 (notifications-notify): Use daemon unique service name for map entries.
11035
11036 2012-03-04 Chong Yidong <cyd@gnu.org>
11037
11038 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11039
11040 2012-03-04 Glenn Morris <rgm@gnu.org>
11041
11042 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11043 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11044 (expand-abbrev, define-abbrev-table): Doc fixes.
11045
11046 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11047
11048 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11049 `message-default-send-mail-function' and not `send-mail-function'
11050 when doing the prompting for `sendmail-query-once' before sending
11051 in Message buffers (bug#10897).
11052
11053 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11054 This is inconsistent with all the other stream functions, which leave
11055 the setting up to the higher levels (if so wanted) (bug#10931).
11056
11057 2012-03-02 Alan Mackenzie <acm@muc.de>
11058
11059 Depessimize the handling of very large macros.
11060
11061 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11062 (c-macro-cache-syntactic): New variables to implement a one
11063 element macro cache.
11064 (c-invalidate-macro-cache): New function.
11065 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11066 Adapt to use the new cache.
11067 (c-state-safe-place): Use better the cache of safe positions.
11068 (c-state-semi-nonlit-pos-cache)
11069 (c-state-semi-nonlit-pos-cache-limit):
11070 New variables for...
11071 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11072 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11073 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11074 Use c-state-semi-safe-place.
11075
11076 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11077 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11078
11079 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * jka-compr.el (jka-compr-call-process):
11082 Apply `file-accessible-directory-p' only when the default directory is
11083 not remote.
11084
11085 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11086
11087 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11088 access of FILE2, if FILE1 does not exist.
11089
11090 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11091 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11092
11093 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11094 Add "PAGER=" to `process-environment'.
11095
11096 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11097
11098 * progmodes/sql.el: Bug fix
11099 (sql-get-login-ext): Save login values in globals.
11100 (sql-get-login): Use new version of `sql-get-login-ext'.
11101 (sql-interactive-mode): Set global `sql-connection' to nil.
11102 (sql-connect): Set global values for connection.
11103 (sql-product-interactive): Save global values as buffer local.
11104
11105 2012-02-29 Leo Liu <sdl.web@gmail.com>
11106
11107 * abbrev.el (define-abbrevs): Reset sys to nil.
11108
11109 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11110
11111 * files.el (file-equal-p): Rename from `files-equal-p'.
11112 Return nil when one or both files don't exist.
11113 (file-subdir-of-p): Now only top directory must exists,
11114 return nil if it doesn't.
11115 (copy-directory): No need to test with `file-subdir-of-p' after
11116 creating dir.
11117 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11118 to `file-equal-p'.
11119
11120 2012-02-28 Glenn Morris <rgm@gnu.org>
11121
11122 * shell.el (shell-mode):
11123 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11124 * play/landmark.el (landmark-font-lock-face-O):
11125 * play/handwrite.el (handwrite):
11126 * play/gomoku.el (gomoku-O):
11127 * net/browse-url.el (browse-url-browser-display):
11128 * international/mule.el (define-charset):
11129 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11130 * filesets.el (filesets-find-file-delay):
11131 * eshell/em-xtra.el (eshell-xtra):
11132 * eshell/em-unix.el (eshell-grep):
11133 * emulation/viper.el (viper-mode):
11134 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11135 * emacs-lisp/easymenu.el (easy-menu-define):
11136 * calendar/timeclock.el (timeclock-use-display-time):
11137 * bs.el (bs-mode):
11138 * bookmark.el (bookmark-save-flag):
11139 Doc fix (standardize possessive apostrophe usage).
11140
11141 2012-02-27 Chong Yidong <cyd@gnu.org>
11142
11143 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11144 Fix key-binding lookup for ESC key (Bug#9146).
11145
11146 * font-lock.el (font-lock-specified-p): Rename from
11147 font-lock-spec-present. Callers changed.
11148
11149 2012-02-27 Daniel Hackney <dan@haxney.org>
11150
11151 * emacs-lisp/package.el (package-compute-transaction):
11152 Handle holding a package version to t in package-load-list.
11153
11154 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11155
11156 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11157 (tramp-get-inode, tramp-get-device): Use cached values.
11158
11159 2012-02-26 Alan Mackenzie <acm@muc.de>
11160
11161 Check there is a font-lock specification before doing initial
11162 fontification.
11163
11164 * font-core.el (font-lock-mode): Move the conditional from
11165 :after-hook to font-lock-initial-fontify.
11166 (font-lock-default-function): Move the check for a specification
11167 to font-lock-spec-present.
11168
11169 * font-lock.el (font-lock-initial-fontify): Call ...
11170 (font-lock-spec-present): New function.
11171
11172 2012-02-26 Jim Blandy <jimb@red-bean.com>
11173
11174 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11175 (gdb-send): Apply it to the operand of the '-interpreter-exec
11176 console' command, so that we can pass arguments with (say) quotes
11177 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11178
11179 2012-02-26 Chong Yidong <cyd@gnu.org>
11180
11181 * help-fns.el (describe-function-1): Clarify description of
11182 remapping (Bug#10844).
11183
11184 * files.el (files-equal-p): Doc fix.
11185 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11186 and quit the loop once a mismatch is found.
11187
11188 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11189
11190 * bs.el (bs--show-with-configuration): Don't throw an error
11191 if the window cannot be split; otherwise, subsequent calls to
11192 bs-show fail, restoring a stale window config. (Bug#10882)
11193
11194 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11195
11196 * term/ns-win.el (global-map): Bind ns-drag-file to
11197 ns-find-file (Bug#5855, Bug#10050).
11198
11199 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11200
11201 * calendar/parse-time.el (parse-time-string): Allow extractor to
11202 return nil.
11203
11204 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/tramp.el (tramp-file-name-for-operation):
11207 Add `files-equal-p' and `file-subdir-of-p'.
11208
11209 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11210 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11211 Add COPY-CONTENTS argument.
11212
11213 2012-02-25 Chong Yidong <cyd@gnu.org>
11214
11215 Add custom groups for VC backends, for consistency with vc-bzr.
11216
11217 * vc/vc-arch.el (vc-arch):
11218 * vc/vc-cvs.el (vc-cvs):
11219 * vc/vc-git.el (vc-git):
11220 * vc/vc-hg.el (vc-hg):
11221 * vc/vc-mtn.el (vc-mtn):
11222 * vc/vc-rcs.el (vc-rcs):
11223 * vc/vc-sccs.el (vc-sccs):
11224 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11225 All relevant defcustoms reassigned.
11226
11227 2012-02-25 Chong Yidong <cyd@gnu.org>
11228
11229 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11230
11231 * term/x-win.el (x-initialize-window-system): Reduce default for
11232 x-selection-timeout to 5 seconds (Bug#8869).
11233
11234 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11235
11236 * files.el (files-equal-p, file-subdir-of-p): New functions.
11237 (copy-directory): Error when trying to copy a directory on itself.
11238 Add missing copy-contents arg to tramp handler.
11239 * dired-aux.el (dired-copy-file-recursive): Same.
11240 (dired-create-files): Modify destination when source is equal to
11241 dest when copying files.
11242 Return also when dest is a subdir of source. (Bug#10489)
11243
11244 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11247 (Bug#10874)
11248
11249 2012-02-23 Alan Mackenzie <acm@muc.de>
11250
11251 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11252 parameter "after-hook:" to allow the expansion to run code after
11253 the execution of the mode hooks.
11254
11255 * font-lock.el (font-lock-initial-fontify): New function extracted
11256 from font-lock-mode-internal.
11257
11258 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11259 :after-hook.
11260
11261 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11264 (completion--cache-all-sorted-completions): New function.
11265 (completion-all-sorted-completions): Use it.
11266 (completion--do-completion, minibuffer-force-complete):
11267 Use it to re-instate the flush hook.
11268
11269 * icomplete.el (icomplete-completions): Replace last fix with a better
11270 one (bug#10850).
11271
11272 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11273
11274 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11275 when it might call us back infinitely (bug#10797).
11276
11277 2012-02-23 Glenn Morris <rgm@gnu.org>
11278
11279 * minibuffer.el (completion-category-overrides): Doc fix.
11280
11281 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11284 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11285
11286 2012-02-23 Glenn Morris <rgm@gnu.org>
11287
11288 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11289 (authors-obsolete-files-regexps, authors-ignored-files)
11290 (authors-ambiguous-files, authors-renamed-files-alist):
11291 Add more entries.
11292
11293 2012-02-23 Juri Linkov <juri@jurta.org>
11294
11295 * isearch.el (isearch-occur): Sync interactive spec with occur's
11296 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11297
11298 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11299
11300 2012-02-22 Juri Linkov <juri@jurta.org>
11301
11302 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11303 (ucs-insert): Doc fix. Check for hex digits in the string.
11304 Don't display `nil' in the error message. (Bug#10857)
11305
11306 2012-02-22 Alan Mackenzie <acm@muc.de>
11307
11308 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11309
11310 2012-02-22 Glenn Morris <rgm@gnu.org>
11311
11312 * ffap.el (ffap-c-path):
11313 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11314
11315 2012-02-22 Chong Yidong <cyd@gnu.org>
11316
11317 * custom.el (load-theme): Doc fix.
11318
11319 2012-02-22 Glenn Morris <rgm@gnu.org>
11320
11321 * dired-x.el (dired-guess-shell-alist-default):
11322 Remove escape sequences from nroff output. (Bug#172)
11323
11324 2012-02-21 Glenn Morris <rgm@gnu.org>
11325
11326 * vc/emerge.el (emerge-defvar-local):
11327 Set `permanent-local' property rather than unused `preserved'.
11328
11329 * textmodes/picture.el (picture-delete-char): New alias.
11330 (picture-mode-map): Use it. (Bug#10860)
11331 (picture-mode): Doc fix.
11332
11333 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11334
11335 * newcomment.el (uncomment-region-default): Remove unused binding.
11336
11337 2012-02-21 Glenn Morris <rgm@gnu.org>
11338
11339 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11340 (picture-self-insert, picture-tab-chars): Doc fix.
11341 (picture-mode-map): Fix C-a, C-e.
11342
11343 2012-02-20 Glenn Morris <rgm@gnu.org>
11344
11345 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11346
11347 2012-02-20 Leo Liu <sdl.web@gmail.com>
11348
11349 * icomplete.el (icomplete-completions): Check FROM arg before
11350 passing to substring (Bug#10850).
11351
11352 2012-02-19 Chong Yidong <cyd@gnu.org>
11353
11354 * comint.el: Require ansi-color.
11355 (comint-output-filter-functions): Add ansi-color-process-output.
11356
11357 * ansi-color.el: Don't set comint-output-filter-functions; it is
11358 now in the initial value defined in comint.el.
11359 (ansi-color-apply-face-function): New variable.
11360 (ansi-color-apply-on-region): Use it.
11361 (ansi-color-apply-overlay-face): New function.
11362
11363 * shell.el (shell): No need to require ansi-color.
11364 (shell-mode): Use ansi-color-apply-face-function to highlight
11365 color escapes using font-lock-face property (Bug#10835).
11366
11367 2012-02-19 Chong Yidong <cyd@gnu.org>
11368
11369 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11370 mode-line formats (Bug#10839).
11371
11372 2012-02-18 Glenn Morris <rgm@gnu.org>
11373
11374 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11375
11376 * mail/undigest.el (unforward-rmail-message): Doc fix.
11377
11378 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11379
11380 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11381
11382 * international/characters.el (script-list): Sync with the latest
11383 Unicode Character Database.
11384
11385 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11386
11387 * international/titdic-cnv.el: Remove duplicate coding tag.
11388 * language/cham.el: Likewise.
11389 * language/tai-viet.el: Likewise.
11390
11391 2012-02-18 Glenn Morris <rgm@gnu.org>
11392
11393 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11394 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11395 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11396 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11397 * calendar/holidays.el (holiday-bahai-holidays)
11398 (calendar-holidays, list-holidays):
11399 Use utf-8 Bahá'í in doc-strings, menus, etc.
11400
11401 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11402
11403 * saveplace.el (save-place-ignore-files-regexp): New variable
11404 allowing for excluding files from saving their location of point.
11405 The default value matches the temporary commit message editing
11406 files from Git, SVN, Bazaar, and Mercurial.
11407 (save-place-to-alist): Use it.
11408
11409 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11410 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * newcomment.el (uncomment-region-default): Don't leave extra space
11413 when an arg is provided (bug#8150).
11414
11415 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11416
11417 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11418
11419 2012-02-17 Glenn Morris <rgm@gnu.org>
11420
11421 * net/socks.el: Require network-stream. (Bug#10599)
11422
11423 2012-02-17 Kenichi Handa <handa@m17n.org>
11424
11425 * international/charprop.el:
11426 * international/uni-name.el:
11427 * international/uni-old-name.el:
11428 * international/uni-comment.el: Regenerate.
11429
11430 2012-02-16 Glenn Morris <rgm@gnu.org>
11431
11432 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11433 Interactively in calendar buffer, give an error if not on a date.
11434
11435 2012-02-15 Glenn Morris <rgm@gnu.org>
11436
11437 * shell.el (shell-delimiter-argument-list):
11438 Revert 2011-02-17 change. (Bug#8027)
11439
11440 2012-02-15 Chong Yidong <cyd@gnu.org>
11441
11442 * minibuffer.el (completion-at-point-functions): Doc fix.
11443
11444 * custom.el (defcustom): Doc fix; note use of defvar.
11445
11446 2012-02-15 Glenn Morris <rgm@gnu.org>
11447
11448 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11449 Doc fixes.
11450
11451 2012-02-14 Glenn Morris <rgm@gnu.org>
11452
11453 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11454
11455 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11456
11457 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11458 way the ports list is computed.
11459 (smtpmail-query-smtp-server): Prompt the user for a port number if
11460 we can't connect to any of the standard ports (bug#10810).
11461
11462 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11463
11464 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11465
11466 2012-02-13 Glenn Morris <rgm@gnu.org>
11467
11468 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11469
11470 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11471
11472 * net/gnutls.el (gnutls-trustfiles): New variable.
11473 (gnutls-negotiate): Use it.
11474
11475 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11476
11477 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11478 does its stuff if Gnus is running.
11479
11480 2012-02-13 Alan Mackenzie <acm@muc.de>
11481
11482 Fix a loop in c-set-fl-decl-start.
11483
11484 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11485 c-backward-syntactic-ws actually moves backwards.
11486
11487 2012-02-13 Leo Liu <sdl.web@gmail.com>
11488
11489 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11490 beginning so that all \C-o chars are removed.
11491
11492 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11493
11494 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11495
11496 2012-02-12 Alan Mackenzie <acm@muc.de>
11497
11498 Fix infinite loop with long macros.
11499 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11500
11501 2012-02-12 Chong Yidong <cyd@gnu.org>
11502
11503 * window.el (display-buffer): Doc fix (Bug#10785).
11504
11505 2012-02-12 Glenn Morris <rgm@gnu.org>
11506
11507 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11508 (x-disown-selection-internal, x-get-selection-internal):
11509 Sync docs with the xselect.c versions.
11510
11511 * allout-widgets.el: Add missing license notice.
11512
11513 2012-02-11 Glenn Morris <rgm@gnu.org>
11514
11515 * select.el (x-get-selection-internal, x-own-selection-internal)
11516 (x-disown-selection-internal):
11517 * x-dnd.el (x-get-selection-internal): Update declarations.
11518
11519 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11520
11521 * window.el (window-sides-slots):
11522 * tool-bar.el (tool-bar-position):
11523 * term/xterm.el (xterm-extra-capabilities):
11524 * ses.el (ses-self-reference-early-detection):
11525 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11526 (verilog-auto-wire-type)
11527 (verilog-auto-delete-trailing-whitespace)
11528 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11529 (verilog-auto-tieoff-declaration):
11530 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11531 (sql-oracle-statement-starters, sql-oracle-scan-on):
11532 * progmodes/prolog.el (prolog-align-comments-flag)
11533 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11534 (prolog-left-indent-regexp, prolog-paren-indent-p)
11535 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11536 (prolog-types, prolog-mode-specificators)
11537 (prolog-determinism-specificators, prolog-directives)
11538 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11539 (prolog-electric-dot-flag)
11540 (prolog-electric-dot-full-predicate-template)
11541 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11542 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11543 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11544 (prolog-program-switches, prolog-prompt-regexp)
11545 (prolog-debug-on-string, prolog-debug-off-string)
11546 (prolog-trace-on-string, prolog-trace-off-string)
11547 (prolog-zip-on-string, prolog-zip-off-string)
11548 (prolog-use-standard-consult-compile-method-flag)
11549 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11550 (prolog-imenu-max-lines, prolog-info-predicate-index)
11551 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11552 (prolog-char-quote-workaround):
11553 * progmodes/cc-vars.el (c-defun-tactic):
11554 * net/tramp.el (tramp-encoding-command-interactive)
11555 (tramp-local-end-of-line):
11556 * net/soap-client.el (soap-client):
11557 * net/netrc.el (netrc-file):
11558 * net/gnutls.el (gnutls):
11559 * minibuffer.el (completion-category-overrides)
11560 (completion-cycle-threshold)
11561 (completion-pcm-complete-word-inserts-delimiters):
11562 * man.el (Man-name-local-regexp):
11563 * mail/feedmail.el (feedmail-display-full-frame):
11564 * international/characters.el (glyphless-char-display-control):
11565 * eshell/em-ls.el (eshell-ls-date-format):
11566 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11567 (lisp-lambda-list-keyword-parameter-indentation)
11568 (lisp-lambda-list-keyword-parameter-alignment):
11569 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11570 * dired-x.el (dired-omit-verbose):
11571 * cus-theme.el (custom-theme-allow-multiple-selections):
11572 * calc/calc.el (calc-highlight-selections-with-faces)
11573 (calc-lu-field-reference, calc-lu-power-reference)
11574 (calc-note-threshold):
11575 * battery.el (battery-mode-line-limit):
11576 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11577 (archive-7z-update):
11578 * allout.el (allout-prefixed-keybindings)
11579 (allout-unprefixed-keybindings)
11580 (allout-inhibit-auto-fill-on-headline)
11581 (allout-flattened-numbering-abbreviation):
11582 * allout-widgets.el (allout-widgets-auto-activation)
11583 (allout-widgets-icons-dark-subdir)
11584 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11585 (allout-widgets-theme-dark-background)
11586 (allout-widgets-theme-light-background)
11587 (allout-widgets-item-image-properties-emacs)
11588 (allout-widgets-item-image-properties-xemacs)
11589 (allout-widgets-run-unit-tests-on-load)
11590 (allout-widgets-time-decoration-activity)
11591 (allout-widgets-hook-error-post-time)
11592 (allout-widgets-track-decoration):
11593 Add missing :version tags to new defcustoms and defgroups.
11594
11595 * progmodes/sql.el (sql-ansi-statement-starters)
11596 (sql-oracle-statement-starters): Add custom type.
11597
11598 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11599 (prolog-system-version): Give it a type.
11600
11601 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11602
11603 * term/pc-win.el (x-select-text, x-selection-owner-p)
11604 (x-own-selection-internal, x-disown-selection-internal)
11605 (x-get-selection-internal): Sync doc strings and argument lists
11606 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11607
11608 2012-02-11 Leo Liu <sdl.web@gmail.com>
11609
11610 * progmodes/python.el (python-end-of-statement): Fix infinite
11611 loop. (Bug#10788)
11612
11613 2012-02-10 Glenn Morris <rgm@gnu.org>
11614
11615 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11616 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11617
11618 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11619
11620 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11621 about SMTP before checking the From header.
11622
11623 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11624 into own function for reuse by emacsbug.el.
11625
11626 2012-02-10 Leo Liu <sdl.web@gmail.com>
11627
11628 * subr.el (condition-case-unless-debug): Rename from
11629 condition-case-no-debug. All callers changed.
11630 (with-demoted-errors): Fix caller.
11631
11632 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11633 * nxml/rng-valid.el (rng-do-some-validation):
11634 * emacs-lisp/package.el (package-refresh-contents)
11635 (package-menu-execute):
11636 * desktop.el (desktop-create-buffer):
11637 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11638
11639 2012-02-10 Glenn Morris <rgm@gnu.org>
11640
11641 * textmodes/bibtex.el:
11642 Add missing :version tags for new/changed defcustoms.
11643
11644 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11645
11646 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11647
11648 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11649 (smtpmail-via-smtp): Use it, or fall back on the From address.
11650 (smtpmail-send-it): Ditto.
11651
11652 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11655 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11656 (byte-compile-tmp-var): New const.
11657 (byte-compile-defvar): Use it to minimize .elc size.
11658 Just use `defvar' rather than simulate it (bug#10761).
11659
11660 2012-02-09 Glenn Morris <rgm@gnu.org>
11661
11662 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11663
11664 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11665 Add :version tags.
11666
11667 * progmodes/compile.el (compilation-error-screen-columns)
11668 (compilation-first-column, compilation-filter-start): Doc fixes.
11669
11670 * vc/log-view.el (log-view-toggle-entry-display):
11671 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11672
11673 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11674 (report-emacs-bug-can-use-xdg-email):
11675 (report-emacs-bug-insert-to-mailer): Doc fixes.
11676 (report-emacs-bug): Message fix.
11677
11678 * net/browse-url.el (browse-url-can-use-xdg-open)
11679 (browse-url-xdg-open): Doc fixes.
11680
11681 * electric.el (electric-indent-mode, electric-pair-mode)
11682 (electric-layout-rules, electric-layout-mode): Doc fixes.
11683 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11684
11685 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11686
11687 * server.el (server-unselect-display): Don't inadvertently kill
11688 the current buffer. (Bug#10729)
11689
11690 2012-02-08 Glenn Morris <rgm@gnu.org>
11691
11692 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11693 (sql-list-table): Doc fixes.
11694
11695 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11696 Comment out (does nothing).
11697
11698 * completion.el (dynamic-completion-mode):
11699 * dirtrack.el (dirtrack-debug-mode):
11700 * electric.el (electric-layout-mode):
11701 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11702 * face-remap.el (text-scale-mode, buffer-face-mode):
11703 * iimage.el (iimage-mode):
11704 * image-mode.el (image-transform-mode):
11705 * minibuffer.el (completion-in-region-mode):
11706 * scroll-lock.el (scroll-lock-mode):
11707 * simple.el (next-error-follow-minor-mode):
11708 * tar-mode.el (tar-subfile-mode):
11709 * tooltip.el (tooltip-mode):
11710 * vcursor.el (vcursor-use-vcursor-map):
11711 * wid-browse.el (widget-minor-mode):
11712 * emulation/tpu-edt.el (tpu-edt-mode):
11713 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11714 * international/iso-ascii.el (iso-ascii-mode):
11715 * language/thai-util.el (thai-word-mode):
11716 * mail/supercite.el (sc-minor-mode):
11717 * net/goto-addr.el (goto-address-mode):
11718 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11719 * progmodes/cwarn.el (cwarn-mode):
11720 * progmodes/flymake.el (flymake-mode):
11721 * progmodes/glasses.el (glasses-mode):
11722 * progmodes/hideshow.el (hs-minor-mode):
11723 * progmodes/pascal.el (pascal-outline-mode):
11724 * textmodes/enriched.el (enriched-mode):
11725 * vc/smerge-mode.el (smerge-mode):
11726 Doc fixes (minor mode argument).
11727
11728 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11729
11730 * ls-lisp.el (ls-lisp-sanitize): New function.
11731 (ls-lisp-insert-directory): Use it to fix or remove any elements
11732 in file-alist with missing attributes. (Bug#4673)
11733
11734 2012-02-07 Alan Mackenzie <acm@muc.de>
11735
11736 Fix spurious recognition of c-in-knr-argdecl.
11737
11738 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11739 putative K&R region.
11740
11741 2012-02-07 Alan Mackenzie <acm@muc.de>
11742
11743 * progmodes/cc-engine.el (c-forward-objc-directive):
11744 Prevent looping in "#pragma mark @implementation".
11745
11746 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11747
11748 * notifications.el (notifications-on-closed-signal): Make `reason'
11749 optional. (Bug#10744)
11750
11751 2012-02-07 Glenn Morris <rgm@gnu.org>
11752
11753 * emacs-lisp/easy-mmode.el (define-minor-mode):
11754 Doc fixes for the macro and the mode it defines.
11755
11756 * image.el (imagemagick-types-inhibit): Doc fix.
11757
11758 * cus-start.el (imagemagick-render-type): Add it.
11759
11760 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11761
11762 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11763 Set the default at load time, too, so that `font-lock-fontify-buffer'
11764 can be called without setting up the entire mode first. This fixes
11765 a bug in `mm-inline-text' with C MIME parts.
11766
11767 2012-02-06 Chong Yidong <cyd@gnu.org>
11768
11769 * simple.el (list-processes--refresh): Delete exited processes
11770 (Bug#8094).
11771
11772 * comint.el (comint-next-prompt): next-single-char-property-change
11773 and prev-single-char-property-change never return nil (Bug#8657).
11774
11775 * custom.el (defcustom): Doc fix (Bug#9711).
11776
11777 2012-02-05 Chong Yidong <cyd@gnu.org>
11778
11779 * cus-edit.el (custom-variable-reset-backup): Quote the value
11780 before storing it in the customized-value property (Bug#6712).
11781 (custom-display): Add a customization type tag.
11782 (custom-buffer-create-internal): Improve tooltip message.
11783
11784 * wid-edit.el (widget-field-value-get): New optional arg to
11785 suppress trailing whitespace truncation.
11786 (character): Use it (Bug#2689).
11787
11788 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11791 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11792
11793 2012-02-05 Chong Yidong <cyd@gnu.org>
11794
11795 * cus-edit.el (custom-variable-value-create): For mismatched
11796 types, show the current value (Bug#7600).
11797
11798 * custom.el (defcustom): Doc fix.
11799
11800 2012-02-05 Glenn Morris <rgm@gnu.org>
11801
11802 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11803
11804 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11807 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11808 (pp-last-sexp): Use `looking-at-p'.
11809
11810 2012-02-04 Glenn Morris <rgm@gnu.org>
11811
11812 * files.el (revert-buffer):
11813 Doc fix (mention revert-buffer-in-progress-p).
11814
11815 * emacs-lisp/ert-x.el (ert-simulate-command):
11816 Check deferred-action-list (which is obsolete) is bound.
11817
11818 * subr.el (with-wrapper-hook): Doc fixes.
11819
11820 * simple.el (filter-buffer-substring-functions)
11821 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11822
11823 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11824
11825 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11826 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11827
11828 2012-02-04 Leo Liu <sdl.web@gmail.com>
11829
11830 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11831
11832 2012-02-04 Glenn Morris <rgm@gnu.org>
11833
11834 * image.el (image-extension-data): Add obsolete alias.
11835
11836 * isearch.el (isearch-update): Doc fix.
11837
11838 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11839
11840 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11841
11842 2012-02-03 Glenn Morris <rgm@gnu.org>
11843
11844 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11845 (image-animate-timeout): Doc fix.
11846
11847 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11848
11849 2012-02-02 Glenn Morris <rgm@gnu.org>
11850
11851 * server.el (server-auth-dir): Doc fix.
11852 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11853
11854 * subr.el (run-mode-hooks): Doc fix.
11855
11856 2012-02-02 Juri Linkov <juri@jurta.org>
11857
11858 * image-mode.el (image-toggle-display-image): Remove tautological
11859 `major-mode' from the `derived-mode-p' test.
11860
11861 2012-02-02 Kenichi Handa <handa@m17n.org>
11862
11863 * composite.el (compose-region): Cancel previous change.
11864
11865 2012-02-02 Kenichi Handa <handa@m17n.org>
11866
11867 * composite.el (compose-region, compose-string): Signal error for
11868 a null string component (Bug#6988).
11869
11870 2012-02-01 Chong Yidong <cyd@gnu.org>
11871
11872 * view.el (view-buffer-other-window, view-buffer-other-frame):
11873 Handle special modes like view-buffer (Bug#10650).
11874 (view-buffer): Simplify.
11875
11876 * frame.el (set-frame-font): Tweak meaning of third argument.
11877
11878 * dynamic-setting.el (font-setting-change-default-font):
11879 Use set-frame-font (Bug#9982).
11880
11881 2012-02-01 Glenn Morris <rgm@gnu.org>
11882
11883 * progmodes/compile.el (compilation-internal-error-properties):
11884 Respect compilation-first-column in the "*compilation*" buffer.
11885
11886 * emacs-lisp/easy-mmode.el (define-minor-mode):
11887 Relax :variable's test for a named function.
11888
11889 2012-01-31 Alan Mackenzie <acm@muc.de>
11890
11891 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11892 off by one error.
11893
11894 2012-01-31 Chong Yidong <cyd@gnu.org>
11895
11896 * frame.el (set-frame-font): New arg ALL-FRAMES.
11897
11898 * menu-bar.el (menu-set-font): Use set-frame-font.
11899
11900 * faces.el (face-spec-reset-face): Don't apply unspecified
11901 attribute values to the default face.
11902
11903 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11904
11905 * progmodes/cwarn.el (cwarn): Remove dead link.
11906 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11907 Remove * from defcustom docstrings.
11908 (turn-on-cwarn-mode): Make obsolete.
11909 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11910 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11911
11912 2012-01-31 Glenn Morris <rgm@gnu.org>
11913
11914 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11915 Fix :variable handling of mode a symbol not equal to modefun.
11916 Allow named functions to be used as the cdr of :variable.
11917
11918 2012-01-30 Glenn Morris <rgm@gnu.org>
11919
11920 * emacs-lisp/authors.el (authors-fixed-entries):
11921 Remove reference to deleted file rnewspost.el.
11922
11923 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11924
11925 * window.el (window-with-parameter): Remove unused variable `windows'.
11926 (window--side-check): Remove unused variable `code'.
11927 (window--resize-siblings): Remove unused variable `first'.
11928 (adjust-window-trailing-edge): Remove unused variable `failed'.
11929 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11930 Use `let', not `let*'.
11931 (balance-windows-2): Remove unused variable `found'.
11932 (window--state-put-2): Remove unused variable `splits'.
11933 (window-state-put): Remove unused variable `selected'.
11934 (same-window-p): Use `string-match-p'.
11935 (display-buffer-assq-regexp): Remove unused variable `value'.
11936 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11937 Mark argument ALIST as ignored.
11938 (pop-to-buffer): Remove unused variable `old-window'.
11939
11940 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11941
11942 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11943 and .lzma compressed files.
11944
11945 2012-01-29 Chong Yidong <cyd@gnu.org>
11946
11947 * frame.el (window-system-default-frame-alist): Doc fix.
11948
11949 * dynamic-setting.el (font-setting-change-default-font): Don't
11950 change the default face if SET-FONT argument is non-nil (Bug#9982).
11951
11952 2012-01-29 Samuel Bronson <naesten@gmail.com>
11953
11954 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11955
11956 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11957
11958 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11959 breakpoints in files outside current directory (Bug#6098).
11960
11961 2012-01-29 Chong Yidong <cyd@gnu.org>
11962
11963 * progmodes/python.el: Require ansi-color at top-level.
11964
11965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11966 Define and use in Emacs Lisp mode (Bug#9360).
11967 (lisp-mode-abbrev-table): Add doc.
11968 (lisp-mode-variables): Don't set local-abbrev-table.
11969 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11970
11971 2012-01-28 Roland Winkler <winkler@gnu.org>
11972
11973 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11974
11975 2012-01-28 Roland Winkler <winkler@gnu.org>
11976
11977 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11978 (bibtex-set-dialect): Use it. Either set global values of
11979 dialect-dependent variables or bind these variables buffer-locally
11980 (Bug#10254).
11981 (bibtex-mode): Call bibtex-set-dialect via
11982 hack-local-variables-hook.
11983 (bibtex-dialect): Update docstring.
11984 Add safe-local-variable predicate.
11985 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11986 bibtex-set-dialect.
11987 (bibtex-mode-map): Define menu for each dialect.
11988 (bibtex-entry): Fix docstring.
11989
11990 2012-01-28 Chong Yidong <cyd@gnu.org>
11991
11992 * eshell/esh-arg.el (eshell-quote-argument): New function.
11993
11994 * eshell/esh-ext.el (eshell-invoke-batch-file):
11995 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11996 first arg to eshell-parse-command (Bug#10523).
11997
11998 2012-01-28 Drew Adams <drew.adams@oracle.com>
11999
12000 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12001 `default-directory' is non-nil.
12002
12003 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12004
12005 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12006 line that displays system-configuration-options. (Bug#9924)
12007
12008 2012-01-28 Drew Adams <drew.adams@oracle.com>
12009
12010 * descr-text.el (describe-char): Show information about POS, in
12011 addition to information about the character at POS. Improve and
12012 update the doc string. Change "code point" to "code point in
12013 charset", to avoid confusion with the character's Unicode code
12014 point shown above that. (Bug#10129)
12015
12016 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12017
12018 * descr-text.el (describe-char): Show the raw character, not only
12019 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12020 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12021 for the reasons.
12022
12023 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12024
12025 * emacs-lisp/package.el (package-install):
12026 Run package-refresh-contents if there is no archive yet (Bug#9798).
12027
12028 2012-01-28 Chong Yidong <cyd@gnu.org>
12029
12030 * emacs-lisp/package.el (package-maybe-load-descriptor):
12031 New function, split from package-maybe-load-descriptor.
12032 (package-maybe-load-descriptor): Use it.
12033 (package-download-transaction): Fully load required packages
12034 inside the loop, so that `require' calls work (Bug#10593).
12035 (package-install): No need to call package-initialize now.
12036
12037 2012-01-28 Chong Yidong <cyd@gnu.org>
12038
12039 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12040
12041 * tooltip.el (tooltip-mode): Doc fix.
12042 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12043
12044 * frame.el (set-cursor-color): Doc fix (Bug#352).
12045
12046 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12047 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12048
12049 * cus-edit.el (custom-buffer-create-internal): Fix search button
12050 action (Bug#10542).
12051 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12052
12053 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12054
12055 * dired.el (dired-mark-files-regexp):
12056 Include any subdirectory components. (Bug#10445)
12057
12058 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12059
12060 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12061 Handle [host]:port syntax. (Bug#10533)
12062
12063 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12064
12065 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12066
12067 2012-01-26 Glenn Morris <rgm@gnu.org>
12068
12069 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12070 * term.el (term-raw-escape-map): Use Control-X-prefix.
12071 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12072
12073 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12074
12075 * window.el (window-state-get, window--state-get-1): Don't deal
12076 with fixed-sizeness of windows. Simplify code.
12077
12078 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12079
12080 * window.el (window--state-get-1, window--state-put-2):
12081 Don't save and restore the mark.
12082
12083 2012-01-25 Chong Yidong <cyd@gnu.org>
12084
12085 * custom.el (custom-variable-p): Doc fix.
12086
12087 2012-01-25 Glenn Morris <rgm@gnu.org>
12088
12089 * dired.el (dired-goto-file): Handle some of the more common
12090 characters that `ls -b' escapes. (Bug#10596)
12091
12092 * progmodes/compile.el (compilation-next-error-function):
12093 Respect compilation-first-column in the "*compilation*" buffer.
12094 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12095
12096 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12097
12098 2012-01-24 Glenn Morris <rgm@gnu.org>
12099
12100 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12101
12102 2012-01-24 Julien Danjou <julien@danjou.info>
12103
12104 * color.el (color-rgb-to-hsl): Fix value computing.
12105 (color-hue-to-rgb): New function.
12106 (color-hsl-to-rgb): New function.
12107 (color-clamp, color-saturate-hsl, color-saturate-name)
12108 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12109 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12110
12111 2012-01-24 Glenn Morris <rgm@gnu.org>
12112
12113 * vc/vc-rcs.el (vc-rcs-create-tag):
12114 * vc/vc-sccs.el (vc-sccs-create-tag):
12115 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12116
12117 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12118
12119 * eshell/esh-util.el (eshell-read-hosts-file):
12120 Skip comment lines. (Bug#10549)
12121
12122 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12123
12124 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * subr.el (display-delayed-warnings): Doc fix.
12127 (collapse-delayed-warnings): New function to collapse identical
12128 adjacent warnings.
12129 (delayed-warnings-hook): Add it.
12130
12131 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12132
12133 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12134
12135 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12136 (tramp-default-user-alist): Don't add "pscp".
12137 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12138 property "login-as", if set. (Bug#10530)
12139
12140 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12141
12142 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12143 "plink1" and "psftp". (Bug#10530)
12144
12145 2012-01-21 Kenichi Handa <handa@m17n.org>
12146
12147 * international/mule-cmds.el (prefer-coding-system): Show a
12148 warning message if the default value of file-name-coding-system
12149 was not changed.
12150
12151 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12152
12153 * windmove.el (windmove-reference-loc):
12154 Fix windmove-reference-loc miscalculation.
12155
12156 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12157
12158 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12159 default unit.
12160
12161 2012-01-21 Glenn Morris <rgm@gnu.org>
12162
12163 * international/mule.el (auto-coding-alist): Add .tbz.
12164
12165 * files.el (local-enable-local-variables): Doc fix.
12166 (inhibit-local-variables-regexps): Rename from
12167 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12168 Doc fix. Add some extensions from auto-coding-alist.
12169 (inhibit-local-variables-suffixes):
12170 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12171 (inhibit-local-variables-p):
12172 New function, extracted from set-auto-mode-1.
12173 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12174 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12175 (hack-local-variables): Doc fix. Make the mode-only case
12176 respect enable-local-variables and friends.
12177 Respect inhibit-local-variables-regexps for file-locals, but
12178 not for directory-locals.
12179 (set-visited-file-name):
12180 Take account of inhibit-local-variables-regexps.
12181 Whether it applies may change as the file name is changed.
12182 * jka-cmpr-hook.el (jka-compr-install):
12183 * jka-compr.el (jka-compr-uninstall):
12184 Update for inhibit-first-line-modes-suffixes name change.
12185
12186 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12187
12188 * help-macro.el (make-help-screen): Temporarily restore original
12189 binding for minor-mode-map-alist (Bug#10454).
12190
12191 2012-01-19 Julien Danjou <julien@danjou.info>
12192
12193 * color.el (color-name-to-rgb): Use the white color to find the max
12194 color component value and return correctly computed values.
12195 (color-name-to-rgb): Add missing float conversion for max value.
12196
12197 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12198
12199 * window.el (window--state-get-1, window-state-get): Do not use
12200 special state value for window-persistent-parameters.
12201 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12202 (window--state-put-2): Reset all window parameters to nil before
12203 assigning values of persistent parameters.
12204
12205 2012-01-18 Alan Mackenzie <acm@muc.de>
12206
12207 Eliminate sluggishness and hangs in fontification of "semicolon
12208 deserts".
12209
12210 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12211 Change value 10000 -> 3000.
12212 (c-state-safe-place): Reformulate so it doesn't stack up an
12213 infinite number of wrong entries in c-state-nonlit-pos-cache.
12214 (c-determine-limit-get-base, c-determine-limit): New functions to
12215 determine backward search limits disregarding literals.
12216 (c-find-decl-spots): Amend commenting.
12217 (c-cheap-inside-bracelist-p): New function which detects "={".
12218
12219 * progmodes/cc-fonts.el
12220 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12221 backward search.
12222 (c-font-lock-declarations): Fix an occurrence of point being
12223 undefined. Check additionally for point being in a bracelist or
12224 near a macro invocation without a semicolon so as to avoid a
12225 fruitless time consuming search for a declarator. Give a more
12226 precise search limit for declarators using the new
12227 c-determine-limit.
12228
12229 2012-01-18 Glenn Morris <rgm@gnu.org>
12230
12231 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12232 (set-auto-mode): Doc fixes.
12233
12234 2012-01-17 Glenn Morris <rgm@gnu.org>
12235
12236 * isearch.el (search-nonincremental-instead): Fix doc typo.
12237
12238 * dired.el (dired-insert-directory): Handle newlines in directory name.
12239 (dired-build-subdir-alist): Unescape newlines in directory name.
12240
12241 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12242
12243 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12244 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12245 (tramp-action-terminal): Use it. (Bug#10530)
12246
12247 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12250
12251 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12252
12253 * window.el (window-state-ignored-parameters): Remove variable.
12254 (window--state-get-1): Rename argument MARKERS to IGNORE.
12255 Handle persistent window parameters. Make copy of clone-of
12256 parameter only if requested. (Bug#10348)
12257 (window--state-put-2): Install a window parameter only if it has
12258 a non-nil value or an existing parameter shall be overwritten.
12259
12260 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12261
12262 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12263
12264 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12265
12266 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12267 don't pass the (nil) value of `upnode' to string-match.
12268
12269 2012-01-14 Chong Yidong <cyd@gnu.org>
12270
12271 * startup.el (command-line): Fix X resource class for cursorColor.
12272 Fix values recognized by the cursorBlink resource.
12273
12274 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12275
12276 * epg.el (epg--make-temp-file): Avoid permission race condition
12277 when running on old Emacs versions (bug#10403).
12278
12279 2012-01-14 Glenn Morris <rgm@gnu.org>
12280
12281 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12282
12283 2012-01-13 Alan Mackenzie <acm@muc.de>
12284
12285 Fix filling for when filladapt mode is enabled.
12286
12287 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12288 c-mask-paragraph, pass in `fill-paragraph' rather than
12289 `fill-region-as-paragraph'. (This is a reversion of a previous
12290 change.)
12291 * progmodes/cc-mode.el (c-basic-common-init):
12292 Make fill-paragraph-handle-comment buffer local and set it to nil.
12293
12294 2012-01-13 Glenn Morris <rgm@gnu.org>
12295
12296 * dired.el (dired-switches-escape-p): New function.
12297 (dired-insert-directory): Use dired-switches-escape-p.
12298 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12299
12300 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12301
12302 2012-01-12 Glenn Morris <rgm@gnu.org>
12303
12304 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12305 changes in adaptive-fill-regexp. (Bug#10276)
12306
12307 2012-01-11 Alan Mackenzie <acm@muc.de>
12308
12309 Fix Emacs bug #10463 - put `widen's around the critical spots.
12310
12311 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12312 widen around each invocation of c-state-pp-to-literal. Remove an
12313 unused let variable.
12314
12315 2012-01-11 Glenn Morris <rgm@gnu.org>
12316
12317 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12318 Doc fix.
12319
12320 2012-01-10 Chong Yidong <cyd@gnu.org>
12321
12322 * net/network-stream.el (network-stream-open-starttls):
12323 Avoid emitting a confusing error message when the server gives a bad
12324 response to the capability command.
12325
12326 2012-01-10 Glenn Morris <rgm@gnu.org>
12327
12328 * mail/unrmail.el (unrmail): Tweak previous change.
12329
12330 2012-01-09 Chong Yidong <cyd@gnu.org>
12331
12332 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12333
12334 2012-01-08 Alan Mackenzie <acm@muc.de>
12335
12336 Optimise font locking in long enum definitions.
12337
12338 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12339 arm to a cond form to handle enums.
12340 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12341 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12342
12343 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12344
12345 * files.el (move-file-to-trash): Preserve default file modes on error.
12346 (Bug#10401)
12347
12348 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12349
12350 * faces.el (set-face-attribute): Clarify the meaning of the nil
12351 frame (bug#10294).
12352
12353 * subr.el (with-selected-frame): Mention that the selected frame
12354 is restored (bug#9980).
12355
12356 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12357 (bug#9759).
12358
12359 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12360 (password-read): Don't autoload unused function.
12361
12362 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * progmodes/which-func.el (which-func-mode): Turn into a
12365 non-interactive function and mark as obsolete (bug#10428).
12366
12367 2012-01-06 Chong Yidong <cyd@gnu.org>
12368
12369 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12370 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12371 functions, along with 1 and -1.
12372
12373 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12374
12375 * time.el (display-time-load-average)
12376 (display-time-default-load-average): Doc fixes. See the thread
12377 starting at
12378 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12379 for the details.
12380
12381 2012-01-06 Glenn Morris <rgm@gnu.org>
12382
12383 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12384 has no messages. (Bug#10377)
12385
12386 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12387 than Info-edit. (Bug#10385)
12388
12389 * time.el (display-time-load-average, display-time-next-load-average):
12390 Doc fixes.
12391
12392 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12393 local setting of buffer-read-only to the input buffer. (Bug#10419)
12394
12395 * calendar/calendar.el (calendar-mode):
12396 Locally set scroll-margin to 0. (Bug#10379)
12397
12398 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12399
12400 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12401
12402 2012-01-05 Glenn Morris <rgm@gnu.org>
12403
12404 * eshell/em-unix.el (diff-no-select): Autoload it.
12405 (eshell/diff): Use diff-no-select. (Bug#10420)
12406
12407 2012-01-05 Chong Yidong <cyd@gnu.org>
12408
12409 * shell.el (shell-dynamic-complete-functions): Revert last change.
12410 (shell-command-completion-function): New function.
12411 (shell-completion-vars): Use it to implement
12412 shell-completion-execonly (Bug#10417).
12413
12414 * custom.el (enable-theme): Don't set custom-safe-themes.
12415
12416 * cus-theme.el (custom-theme-merge-theme):
12417 Ignore custom-enabled-themes and custom-safe-themes.
12418
12419 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12420
12421 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12422 first prompt in `sql-interacive-mode'.
12423 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12424 keywords.
12425 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12426 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12427 context of original buffer. Invoke `sql-login-hook'.
12428
12429 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12430
12431 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12432 letters in cite-prefix.
12433
12434 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12435
12436 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12437
12438 2012-01-03 Chong Yidong <cyd@gnu.org>
12439
12440 * shell.el (shell-dynamic-complete-functions):
12441 Put pcomplete-completions-at-point, so as to try
12442 comint-filename-completion first (Bug#10417).
12443
12444 2012-01-02 Richard Stallman <rms@gnu.org>
12445
12446 * battery.el (battery-status-function):
12447 Detect when to use battery-yeeloong-sysfs.
12448 (battery-echo-area-format): Add string for Yeeloong.
12449 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12450 (battery-yeeloong-sysfs): New function.
12451
12452 2012-01-02 Chong Yidong <cyd@gnu.org>
12453
12454 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12455 (dirtrack): Merge code for handling relative filenames in prompt
12456 from shell-dir-cookie-watcher.
12457 (dirtrack-debug-message): New arg to avoid excess format calls.
12458
12459 * shell.el (shell-dir-cookie-re): Variable deleted.
12460 (shell-dir-cookie-watcher): Function deleted.
12461 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12462 with dirtrack-mode.
12463
12464 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12465
12466 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12467 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12468 libgnutls-26.dll.
12469
12470 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12471
12472 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12473
12474 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12475
12476 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12477 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12478
12479 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12480
12481 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12482 also for alternative shells.
12483 (tramp-open-connection-setup-interactive-shell): Check, whether
12484 the shell is a busybox.
12485 (tramp-send-command): Don't suppress multiple prompts for
12486 busyboxes, it hurts.
12487
12488 2011-12-28 Chong Yidong <cyd@gnu.org>
12489
12490 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12491 (gdb-get-source-file): Move mode line update to
12492 gdb-get-source-file (Bug#10087).
12493
12494 2011-12-25 Chong Yidong <cyd@gnu.org>
12495
12496 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12497 gud-gdb-marker-filter without taking it as an argument.
12498 (gud-gdb-run-command-fetch-lines): Caller changed.
12499 (gud-gdb-completion-function): New variable.
12500 (gud-gdb-completion-at-point): Use it.
12501 (gud-gdb-completions-1): Split from gud-gdb-completions.
12502
12503 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12504 function as separate arguments.
12505 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12506 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12507 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12508 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12509 (gdb-stopped, def-gdb-auto-update-trigger)
12510 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12511 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12512 Callers changed.
12513 (gud-gdbmi-completions): New function.
12514 (gdb): Use it for generating the completion table.
12515
12516 2011-12-24 Alan Mackenzie <acm@muc.de>
12517
12518 Introduce a mechanism to widen the region used in context font
12519 locking. Use this to protect declarations from losing their contexts.
12520
12521 * progmodes/cc-langs.el (c-before-font-lock-functions):
12522 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12523 (c-before-context-fontification-functions): New defvar, a list of
12524 functions to be run just before context (etc.) font locking.
12525
12526 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12527 New, functionality extracted from
12528 c-neutralize-syntax-in-and-mark-CPP.
12529 (c-in-after-change-fontification): New variable.
12530 (c-after-change): Set c-in-after-change-fontification.
12531 (c-set-fl-decl-start): Rejig its interface, so it can be called
12532 from both after-change and context fontifying.
12533 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12534 New functions.
12535 (c-standard-font-lock-fontify-region-function): New variable.
12536 (c-font-lock-fontify-region): New function.
12537
12538 2011-12-24 Juri Linkov <juri@jurta.org>
12539
12540 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12541 (Bug#10348)
12542
12543 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12544
12545 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12546 existence of source file. (Bug#10325)
12547
12548 2011-12-23 Alan Mackenzie <acm@muc.de>
12549
12550 Fix unstable fontification inside templates.
12551
12552 * progmodes/cc-langs.el (c-before-font-lock-functions):
12553 Newly created from the singular version. The (c c++ objc) entry now
12554 additionally has c-set-fl-decl-start. The other languages (apart
12555 from AWK) have that as a single entry.
12556
12557 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12558 The functionality for "local" declarations has been extracted to
12559 c-set-fl-decl-start.
12560
12561 * progmodes/cc-mode.el (c-common-init, c-after-change):
12562 Changes due to pluralisation of c-before-font-lock-functions.
12563 (c-set-fl-decl-start): New function, extracted from
12564 c-font-lock-enclosing-decls and enhanced.
12565
12566 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12569
12570 2011-12-22 Juri Linkov <juri@jurta.org>
12571
12572 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12573
12574 2011-12-22 Chong Yidong <cyd@gnu.org>
12575
12576 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12577
12578 2011-12-21 Drew Adams <drew.adams@oracle.com>
12579
12580 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12581
12582 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12583
12584 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12585
12586 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12587
12588 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12589 highlighting and support. Fix up comments for capitalization.
12590 (cfengine-mode-debug): New var.
12591 (cfengine3-mode): Change the modeline indicator to "CFE3".
12592 (cfengine3-font-lock-keywords): Improve defun highlighting.
12593 (cfengine2-actions): Rename from `cfengine-actions'.
12594 (cfengine2-font-lock-keywords): Rename from
12595 `cfengine-font-lock-keywords'.
12596 (cfengine2-imenu-expression): Rename from
12597 `cfengine-imenu-expression'.
12598 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12599 (cfengine2-beginning-of-defun): Rename from
12600 `cfengine-beginning-of-defun'.
12601 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12602 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12603 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12604 modeline indicator to "CFE2".
12605 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12606 (cfengine-mode-abbrevs): Mark obsolete.
12607
12608 2011-12-21 Chong Yidong <cyd@gnu.org>
12609
12610 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12611 filename argument.
12612
12613 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12614
12615 * window.el (window-normalize-buffer-to-display): Remove.
12616 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12617
12618 2011-12-19 Chong Yidong <cyd@gnu.org>
12619
12620 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12621 Don't signal an error in a predicate function; return non-nil.
12622 (vc-dir-mark-file): Move the error here.
12623 (vc-dir-mark-unmark): If acting on the region, keep going if one
12624 of the entries cannot be marked/unmarked.
12625 (vc-dir-mark-all-files): If current entry is a directory, mark
12626 only child files, as documented.
12627
12628 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12629
12630 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12631 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12632 addition.
12633
12634 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12635
12636 * term/ns-win.el (ns-get-selection-internal)
12637 (ns-store-selection-internal): Declare.
12638 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12639 Declare as obsolete.
12640 (ns-get-pasteboard, ns-paste-secondary):
12641 Use ns-get-selection-internal.
12642 (ns-set-pasteboard, ns-copy-including-secondary):
12643 Use ns-store-selection-internal.
12644
12645 2011-12-17 Chong Yidong <cyd@gnu.org>
12646
12647 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12648 (vc-deduce-fileset): Doc fix.
12649
12650 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12651
12652 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12653
12654 2011-12-13 Sam Steingold <sds@gnu.org>
12655
12656 * man.el (Man-getpage-in-background): When running under a
12657 window-system, ignore $MANWIDTH and $COLUMNS.
12658
12659 2011-12-15 Kenichi Handa <handa@m17n.org>
12660
12661 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12662 (setup-ethiopic-environment-internal): Comment out key-binding for
12663 ethio-toggle-punctuation.
12664
12665 2011-12-13 Alan Mackenzie <acm@muc.de>
12666
12667 Add the switch statement to AWK Mode.
12668
12669 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12670 "default" to the keywords regexp.
12671
12672 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12673 expression as the rest.
12674 (c-nonlabel-token-key): Allow string literals for AWK.
12675 Refactor for the other modes.
12676
12677 Large brace-block initialisation makes CC Mode slow: Fix.
12678 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12679 routines. Limit backward searching in c-font-lock-enclosing.decl.
12680
12681 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12682 pp-state and literal type in addition to the limits.
12683 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12684 (c-state-literal-at): Use the above new defun.
12685 (c-slow-in-literal, c-fast-in-literal): Remove.
12686 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12687
12688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12689 being in a literal. Add a limit for backward searching.
12690
12691 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12692 c-slow-in-literal.
12693
12694 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12697
12698 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12699
12700 * window.el (delete-other-windows): Use correct frame in call to
12701 window-with-parameter.
12702
12703 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12704
12705 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12706 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12707 (makefile-gmake-statements, makefile-makepp-statements):
12708 Use it and add new makepp keywords.
12709 (makefile-makepp-font-lock-keywords): Add new patterns.
12710 (makefile-match-function-end): Match new [...] and [[...]].
12711
12712 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12713
12714 * ses.el (ses-call-printer-return, ses-cell-property-get)
12715 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12716 (ses-create-cell-variable, ses-reset-header-string)
12717 (ses-cell-set-formula, ses-repair-cell-reference-all)
12718 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12719 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12720 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12721 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12722 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12723 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12724 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12725 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12726 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12727 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12728 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12729 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12730
12731 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12732
12733 * ses.el: The overall change is to add cell renaming, that is
12734 setting fancy names for cell symbols other than name matching
12735 "\\`[A-Z]+[0-9]+\\'" regexp .
12736 (ses-create-cell-variable): New defun.
12737 (ses-relocate-formula): Relocate formulas only for cells the
12738 symbols of which are not renamed, i.e. symbols whose names do not
12739 match regexp "\\`[A-Z]+[0-9]+\\'".
12740 (ses-relocate-all): Relocate values only for cells the symbols of
12741 which are not renamed.
12742 (ses-load): Create cells variables as the (ses-cell ...) are read,
12743 in order to check row col consistency with cell symbol name only
12744 for cells that are not renamed.
12745 (ses-replace-name-in-formula): New defun.
12746 (ses-rename-cell): New defun.
12747
12748 2011-12-11 Chong Yidong <cyd@gnu.org>
12749
12750 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12751 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12752
12753 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12754
12755 * window.el (other-window): Fix docstring.
12756
12757 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12758
12759 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12760 `from' or `to' address before taking its substring.
12761 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12762 encoded name is chopped in the middle of the encoded string, and
12763 thus displayed encoded.
12764
12765 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12768
12769 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12770
12771 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12772 to use texinfo-update-node and commands that call it if the
12773 Texinfo file uses @node lines without next/prev/up pointers.
12774 Correct outdated description about texinfo-master-menu.
12775 (texinfo-all-menus-update, texinfo-master-menu)
12776 (texinfo-update-node, texinfo-every-node-update)
12777 (texinfo-multiple-files-update): Doc fix. Warn against updating
12778 all the @node lines.
12779 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12780 argument is numeric. Explain better in the doc string what the
12781 function really does.
12782 (texinfo-insert-master-menu-list): Improve the error message
12783 displayed if there's no menu in the Top node.
12784 (Bug#2975) See also this thread:
12785 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12786
12787 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12788
12789 * speedbar.el (speedbar-supported-extension-expressions):
12790 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12791
12792 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12793
12794 * printing.el (pr-mode-alist):
12795 * simple.el (filter-buffer-substring-functions)
12796 (completion-list-insert-choice-function):
12797 * window.el (window-with-parameter, window-atom-root)
12798 (window-sides-slots, window-size-fixed, window-min-delta)
12799 (window-max-delta, window--resize-mini-window)
12800 (window--resize-child-windows-normal, window-tree)
12801 (delete-other-windows, quit-window, split-window)
12802 (display-buffer-record-window, special-display-buffer-names)
12803 (special-display-regexps, special-display-popup-frame)
12804 (same-window-p, split-window-sensibly)
12805 (display-buffer-overriding-action, display-buffer-alist)
12806 (display-buffer-base-action, display-buffer, switch-to-buffer)
12807 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12808 (fit-window-to-buffer, recenter-positions)
12809 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12810 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12811 and remove unneeded backslashes in docstrings.
12812
12813 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12816
12817 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12818 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12819 end in ".mk".
12820 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12821 when reading the makefile (bug#10116).
12822
12823 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12826 (bug#10116).
12827
12828 2011-12-06 Glenn Morris <rgm@gnu.org>
12829
12830 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12831
12832 2011-12-06 Chong Yidong <cyd@gnu.org>
12833
12834 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12835
12836 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12837
12838 * textmodes/table.el (table-shorten-cell): Fix typo.
12839
12840 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12841
12842 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12843
12844 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12845
12846 * descr-text.el (describe-char): Fix display of strong
12847 right-to-left characters and directional embeddings and overrides.
12848
12849 * simple.el (what-cursor-position): Fix display of codepoints of
12850 strong right-to-left characters.
12851
12852 2011-12-05 Chong Yidong <cyd@gnu.org>
12853
12854 * faces.el (read-color): Doc fix.
12855
12856 2011-12-05 Glenn Morris <rgm@gnu.org>
12857
12858 * align.el (align--set-marker): Add doc-string.
12859 Don't try to move something that is not a marker. (Bug#10216)
12860
12861 2011-12-04 Glenn Morris <rgm@gnu.org>
12862
12863 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12864 overly zealous deletion of trailing whitespace.
12865
12866 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12867
12868 * server.el (server-delete-client): On Windows, do not try to delete
12869 the only terminal.
12870 (server-process-filter): On Windows, treat requests for a tty frame as
12871 if they were for a GUI frame if the running server is in GUI mode.
12872
12873 2011-12-03 Glenn Morris <rgm@gnu.org>
12874
12875 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12876
12877 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * electric.el: Streamline electric-indent's hook.
12880 (electric-indent-chars): Revert to simple list.
12881 (electric-indent-functions): New var.
12882 (electric-indent-post-self-insert-function): Use it.
12883
12884 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12885 there's no inferior buffer (bug#10196).
12886 (prolog-consult-compile): Don't use toggle-read-only.
12887
12888 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12889
12890 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12891 interrupt. (Bug#10187)
12892
12893 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12896 (bug#9160).
12897
12898 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12899 (bug#10191).
12900
12901 2011-12-02 Juri Linkov <juri@jurta.org>
12902
12903 * info.el (Info-search): Display "end of manual" when Isearch
12904 reaches the end of single-file Info manual. (Bug#9918)
12905
12906 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12907
12908 * isearch.el (isearch-message-prefix): Run the input method part
12909 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12910
12911 2011-12-02 Juri Linkov <juri@jurta.org>
12912
12913 * isearch.el (isearch-occur): Use `word-search-regexp' for
12914 `isearch-word'.
12915 (isearch-search-and-update): Add condition for `isearch-word' and
12916 call `word-search-regexp'. (Bug#10145)
12917
12918 2011-12-01 Glenn Morris <rgm@gnu.org>
12919
12920 * eshell/em-hist.el (eshell-hist-initialize):
12921 Handle eshell-history-size nil and HISTSIZE set or unset.
12922 (eshell-history-file-name, eshell-history-size): Fix custom type.
12923
12924 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12927
12928 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12929
12930 * progmodes/verilog-mode.el (verilog-pretty-expr):
12931 Rework verilog-pretty-expr to handle new assignment operators in system
12932 verilog, such as += *= and the like.
12933 (verilog-assignment-operator-re): Regular expression to find the
12934 assigment operator in a verilog assignment.
12935 (verilog-assignment-operation-re): Regular expression to find an
12936 assignment statement for pretty-expr.
12937 (verilog-in-attribute-p): Query returns true if point is in an
12938 attribute context; used to skip these for expression line up from
12939 pretty-expr.
12940 (verilog-in-parameter-p): Query returns true if point is in an
12941 parameter definition context; used to skip these for expression
12942 line up from pretty-expr.
12943 (verilog-in-parenthesis-p): Query returns true if point is in a
12944 parenthetical expression, specifically ( ) but not [ ] or { };
12945 used by pretty-expr.
12946 (verilog-just-one-space): If there is no space, don't add one.
12947 (verilog-get-lineup-indent-2): Specifically skip just attribute
12948 contexts for expression lineup, rather than skipping all
12949 parenthetical expressions.
12950 (verilog-calculate-indent): Fix comment, and fix indent.
12951 (verilog-do-indent): Indent declarations in lists (suggested by
12952 Joachim Lechner).
12953 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12954 skeleton items.
12955 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12956 by Alain Mellan).
12957
12958 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12959
12960 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12961 parameters with embedded comments. Reported by Ray Stevens.
12962 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12963 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12964 Reported by Tim Holt.
12965 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12966 instantiated by upper module causing wrong expansion until AUTOed a
12967 second time. Reported by K C Buckenmaier.
12968 (verilog-diff-auto): Fix showing .* as a difference when
12969 `verilog-auto-star-save' off. Reported by Dan Dever.
12970 (verilog-auto-reset, verilog-read-always-signals)
12971 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12972 temporary signals in reset list if
12973 verilog-auto-reset-blocking-in-non is nil, and match assignment
12974 style to each signal's assignment type, bug381.
12975 Reported by Thomas Esposito.
12976 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12977 (verilog-uvm-statement-re): Support UVM indentation and
12978 highlighting, with old OVM keywords only.
12979 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12980 Support AUTOTIEOFF creating non-wire data types.
12981 Suggested by Jonathan Greenlaw.
12982 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12983 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12984 (verilog-inject-sense, verilog-read-inst-pins)
12985 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12986 Fix mismatching parenthesis inside commented out code when deleting
12987 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12988 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12989 non-numeric vector width. Reported by Alex Reed.
12990 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12991 detecting signals with parameter widths. Reported by Alex Reed.
12992 (verilog-auto-delete-trailing-whitespace):
12993 With `verilog-auto-delete-trailing-whitespace' remove trailing
12994 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12995 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12996 Fix verilog-scan-cache corruption when running user AUTO expansion
12997 hooks that call indentation routines.
12998 (verilog-simplify-range-expression): Fix typo ignoring lower case
12999 identifiers.
13000 (verilog-delete-auto): Fix delete-autos to also remove user created
13001 automatics, as long as they start with AUTO.
13002 (verilog-batch-diff-auto, verilog-diff-auto)
13003 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13004 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13005 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13006 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13007 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13008 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13009 is disabled and its cache will get corrupt, causing AUTOS not to
13010 expand. Instead use only -quick functions.
13011 (verilog-scan-region): Fix scanning over escaped quotes.
13012 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13013 (verilog-re-search-backward-quick)
13014 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13015 related functions now ignore strings, to fix misparsing of strings
13016 with magic comments embedded in them.
13017 (verilog-read-auto-template):
13018 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13019 Reported by Brad Dobbie.
13020 (verilog-read-auto-template):
13021 Fix 'verilog-auto-inst-template-numbers' with comments.
13022 Reported by Brad Dobbie.
13023 (verilog-auto-inst, verilog-auto-inst-param)
13024 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13025 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13026 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13027 debugging templates without merge conflicts, bug357.
13028 Reported by Brad Dobbie.
13029 (verilog-read-auto-template):
13030 Fix verilog-auto-inst-template-numbers with multiple templates.
13031 Reported by Brad Dobbie.
13032 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13033 abbrevs so user won't be asked to save.
13034 (verilog-read-auto-lisp-present): Fix to start at beginning of
13035 buffer in case called outside of verilog-auto.
13036 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13037 to "X-2". Reported by Matthew Myers.
13038 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13039 all inputs from module templates. Reported by Leith Johnson.
13040 (verilog-module-inside-filename-p): Fix locating programs as with
13041 modules.
13042 (verilog-auto-inst-port): Fix vl-width expressions when using
13043 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13044 (verilog-decls-get-regs, verilog-decls-get-signals,
13045 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13046 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13047 verilog-read-decls): Combine reg and wire structures into one var
13048 structure to represent SystemVerilog concepts.
13049 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13050 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13051 (verilog-auto-wire-type, verilog-insert-definition):
13052 Add verilog-auto-wire-type and AUTOLOGIC to support using
13053 SystemVerilog "logic" keyword instead of "wire"/"reg".
13054 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13055 to declares outputs that also have assignments (presumably in an
13056 ifdef or generate if so there's not a driver conflict).
13057 Reported by Matthew Myers.
13058 (verilog-auto-declare-nettype, verilog-insert-definition):
13059 Add verilog-auto-declare-nettype to fix declarations using
13060 `default_nettype none. Reported by Julian Gorfajn.
13061 (verilog-read-always-signals-recurse, verilog-read-decls)
13062 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13063 malformed end statement, bug325. Reported by Joshua Wise and
13064 Andrew Drake.
13065 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13066 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13067 when expanding .* in interfaces, bug320.
13068 Reported by Pierre-David Pfister.
13069 (verilog-read-module-name): Fix import statements between module
13070 name and open parenthesis, bug317.
13071 Reported by Pierre-David Pfister.
13072 (verilog-simplify-range-expression): Fix simplification of
13073 multiplications inside AUTOWIRE connections, bug303.
13074 (verilog-auto-inst-port): Support parameter expansion in
13075 multidimensional arrays.
13076 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13077 after "assert property". Reported by Julian Gorfajn.
13078 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13079 with multiplication, bug303.
13080 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13081 Reported by Jan Frode Lonnum.
13082
13083 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13084
13085 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13086 (hfy-shell-file-name, hfy-shell):
13087 * international/fontset.el (x-decompose-font-name): Fix typos.
13088
13089 2011-11-29 Ken Brown <kbrown@cornell.edu>
13090
13091 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13092 (gdb-version): Remove defvar.
13093 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13094 (gdb-gud-context-command, gdb-non-stop-handler)
13095 (gdb-current-context-command, gdb-stopped): Use it.
13096 (gdb-init-1): Enable pretty printing here.
13097 (gdb-non-stop-handler): Don't enable pretty-printing here.
13098 Check to see if the target supports non-stop mode; if not, turn off
13099 non-stop mode. Use the following.
13100 (gdb-check-target-async): New defun.
13101 (gud-watch, gdb-stopped): Fix whitespace.
13102 (gdb-get-source-file): Don't try to display the source file if
13103 `gdb-main-file' is nil.
13104
13105 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * align.el: Try to generate fewer markers (bug#10047).
13108 (align--set-marker): New macro.
13109 (align-region): Use it.
13110
13111 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13114
13115 2011-11-29 Chong Yidong <cyd@gnu.org>
13116
13117 * indent.el (indent-for-tab-command, indent-according-to-mode):
13118 Doc fix.
13119 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13120
13121 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13122
13123 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13124 aware of remote file names. (Bug#10124)
13125
13126 2011-11-29 Chong Yidong <cyd@gnu.org>
13127
13128 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13129
13130 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * files.el (find-file): Don't use force-same-window (bug#10144).
13133 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13134 use pop-to-buffer if the selected window can't be used.
13135 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13136
13137 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13138
13139 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13140 special-mode-map.
13141
13142 2011-11-28 Chong Yidong <cyd@gnu.org>
13143
13144 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13145
13146 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13147
13148 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13149 gdb-get-source-file-list on gdb-create-source-file-list.
13150
13151 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13152
13153 * whitespace.el (whitespace-newline): Use a different foreground
13154 color for 16-color light-background displays.
13155
13156 2011-11-24 Chong Yidong <cyd@gnu.org>
13157
13158 * window.el (display-buffer--special-action): Doc fix.
13159
13160 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13161
13162 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13163 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13164 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13165 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13166 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13167 (avl-tree-stack-first):
13168 * emacs-lisp/cconv.el (cconv--analyse-use):
13169 * net/gnutls.el (gnutls-negotiate): Fix typos.
13170
13171 2011-11-24 Glenn Morris <rgm@gnu.org>
13172
13173 * lpr.el (lpr-windows-system, lpr-lp-system):
13174 * mail/binhex.el (binhex-begin-line):
13175 * progmodes/grep.el (grep-history, grep-find-history):
13176 * textmodes/flyspell.el:
13177 * vc/pcvs-defs.el (cvs-global-menu):
13178 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13179 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13180 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13181
13182 * net/tls.el: Fix case of "GnuTLS".
13183
13184 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13185
13186 * version.el (emacs-build-system): Give it a doc-string.
13187
13188 2011-11-24 Juri Linkov <juri@jurta.org>
13189
13190 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13191
13192 2011-11-24 Glenn Morris <rgm@gnu.org>
13193
13194 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13195 if called on a non-mime message just toggle the headers. (Bug#8006)
13196
13197 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13198
13199 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13200 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13201 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13202 (allout-rebullet-heading, allout-open-sibtopic)
13203 (allout-toggle-current-subtree-encryption)
13204 (allout-toggle-subtree-encryption, allout-encrypt-string)
13205 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13206 (allout-distinctive-bullets-string, allout-auto-activation):
13207 * window.el (window-normalize-buffer-to-display):
13208 * progmodes/verilog-mode.el (verilog-batch-indent):
13209 * textmodes/bibtex.el (bibtex-field-braces-opt)
13210 (bibtex-field-strings-opt):
13211 * vc/cvs-status.el (cvs-tree-merge):
13212 Fix typos.
13213
13214 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13215
13216 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13217 `non-essential' to t, in order to avoid remote connections.
13218
13219 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13220
13221 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13222 On MS-DOS and MS-Windows, compare with loaddefs.el
13223 case-insensitively.
13224
13225 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13226
13227 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13228
13229 2011-11-23 Glenn Morris <rgm@gnu.org>
13230
13231 * paths.el (rmail-file-name): Reformat the doc-string so that it
13232 is picked up.
13233
13234 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13235 (rmail-auto-file): Ignore case in the "special" field names,
13236 as mail-fetch-field does for all others.
13237
13238 * mail/rmail.el (rmail-forward):
13239 * mail/rmailkwd.el (rmail-set-label):
13240 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13241 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13242
13243 * mail/rmail.el (rmail-current-message): Doc fix.
13244
13245 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13246
13247 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13250
13251 2011-11-22 Glenn Morris <rgm@gnu.org>
13252
13253 * mail/rmailmm.el (test-rmail-mime-handler)
13254 (test-rmail-mime-bulk-handler)
13255 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13256
13257 2011-11-21 Juri Linkov <juri@jurta.org>
13258
13259 * calc/calc.el (calc-read-key-sequence):
13260 Let-bind `input-method-function' to nil. (Bug#10018)
13261
13262 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13263
13264 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13265 Tell the caller that the next line needs recomputation, even
13266 though it doesn't start a sexp (bug#10094).
13267
13268 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13271
13272 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13275 Use force-same-window.
13276
13277 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13278
13279 * descr-text.el (describe-char-unicode-data):
13280 * json.el (json-string-escape):
13281 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13282 (Footnote-unicode, Footnote-style-p):
13283 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13284
13285 2011-11-20 Chong Yidong <cyd@gnu.org>
13286
13287 * window.el (replace-buffer-in-windows): Restore interactive spec.
13288
13289 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13290
13291 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13292
13293 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13294 (byte-compile-global-not-obsolete-vars): New var.
13295 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13296 Use it.
13297 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13298
13299 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13300
13301 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13302 * progmodes/pascal.el (electric-pascal-equal):
13303 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13304 * xml.el (xml-substitute-special): Fix typos.
13305
13306 2011-11-20 Glenn Morris <rgm@gnu.org>
13307
13308 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13309 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13310 Doc fixes.
13311 (rmail-decode-mime-charset): Mark as obsolete.
13312
13313 * mail/rmailsum.el (rmail-message-regexp-p-1):
13314 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13315 Before using mime functions, check they are set. (Bug#10077)
13316
13317 2011-11-19 Juri Linkov <juri@jurta.org>
13318
13319 * info.el (Info-finder-find-node): Use `package--builtins' instead
13320 of `package-alist'. Use node names formed by the pattern "Keyword "
13321 and the keyword name.
13322
13323 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13324
13325 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13326
13327 2011-11-19 Juri Linkov <juri@jurta.org>
13328
13329 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13330 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13331 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13332 `old-history', `old-history-forward'. Add let-binding
13333 `window-selected'. Remove calls to `kill-buffer',
13334 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13335 before calling `Info-find-node', so `Info-find-node-2' will reread
13336 the Info file. Restore window positions only when `window-selected'
13337 is non-nil.
13338
13339 2011-11-19 Juri Linkov <juri@jurta.org>
13340
13341 * isearch.el (isearch-lazy-highlight-new-loop):
13342 Remove condition `(not isearch-error)'. (Bug#9918)
13343
13344 * misearch.el (multi-isearch-search-fun): Add condition
13345 `(not bound)' to ignore lazy-highlighting search.
13346 Add the search-failed message "end of multi" when the end of
13347 multi-sequence is reached. Uncapitalize the search-failed
13348 message "Repeat for next buffer".
13349
13350 * info.el (Info-search): Add the search-failed message
13351 "end of the manual" when the end of the manual is reached
13352 in Isearch mode.
13353
13354 2011-11-19 Juri Linkov <juri@jurta.org>
13355
13356 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13357 Use non-destructive `remove' instead of `delete' because
13358 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13359 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13360
13361 2011-11-19 Juri Linkov <juri@jurta.org>
13362
13363 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13364 to nil instead of binding `search-ring' and `regexp-search-ring'.
13365 (Bug#9185)
13366
13367 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13368
13369 * simple.el (line-move): Force movement by logical lines for any
13370 hscrolled window, not only when auto-hscroll-mode is on.
13371 (line-move-visual): Update doc string to that effect. (Bug#10076)
13372
13373 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13374
13375 * language/european.el (macintosh): Define as alias for mac-roman.
13376
13377 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13378
13379 * mail/rmailmm.el (rmail-mime-display-header)
13380 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13381 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13382 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13383 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13384 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13385 of a raw aref.
13386 (rmail-mime-entity-segment): To get past the tagline, move forward
13387 2 more lines, to account for the 2 empty lines that precede and
13388 follow the line with the buttons.
13389 (rmail-mime-update-tagline): Move one more line, to get past the
13390 empty line that follows the buttons in the tagline. (Bug#9520)
13391
13392 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13393
13394 * window.el (window-max-delta-1, window-min-delta-1)
13395 (window-min-size-1, window-state-get-1, window-state-put-1)
13396 (window-state-put-2): Use "window--" prefix.
13397
13398 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13401 (smie-warning-count): New var.
13402 (smie-set-prec2tab): Use it.
13403 (smie-bnf->prec2): Improve warnings. Add docstring.
13404 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13405 (smie-bnf--set-class): New function.
13406 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13407 corner case.
13408
13409 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13410 (compilation-error-properties, compilation-move-to-column):
13411 Handle compilation-first-column while in the target buffer.
13412
13413 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13414 Don't hardcode point-min==1.
13415
13416 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13417 (eshell-rewrite-for-command): Remove workaround.
13418 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13419 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13420 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13421
13422 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13423
13424 2011-11-17 Glenn Morris <rgm@gnu.org>
13425
13426 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13427 Ignore buffer-local generated-autoload-file if it is the same
13428 as the global value. (Bug#10049)
13429
13430 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13431
13432 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13433 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13434 (reftex-toc-previous-heading, reftex-toc-max-level)
13435 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13436 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13437 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13438 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13439 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13440 (reftex-toc-rename-label, reftex-toc-visit-location)
13441 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13442 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13443 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13444 leaving "*toc*" only for references to the buffer.
13445
13446 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13447
13448 * window.el (window-resize, delete-window, split-window):
13449 Replace window-splits by window-combination-resize.
13450 * cus-start.el (window-splits): Replace by window-combination-resize.
13451
13452 2011-11-17 Glenn Morris <rgm@gnu.org>
13453
13454 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13455 Make bash entry derive from sh entry, not shell entry.
13456
13457 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13460 local file name.
13461
13462 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13463
13464 * menu-bar.el (menu-bar-file-menu):
13465 * printing.el (pr-ps-utility):
13466 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13467 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13468 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13469 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13470 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13471 (icalendar--convert-cyclic-to-ical)
13472 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13473 (icalendar--convert-ical-to-diary)
13474 (icalendar--convert-recurring-to-diary)
13475 (icalendar--convert-non-recurring-all-day-to-diary)
13476 (icalendar-import-format-sample):
13477 * progmodes/idlw-shell.el (idlwave-shell-mode):
13478 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13479 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13480 (vhdl-ps-print-init): Fix typos.
13481
13482 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13483
13484 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13485 FSF and collapse date sequence, obscure author/maintainer email address
13486 better, remove extra version line, track relocation of author's webpage.
13487
13488 * progmodes/python.el (python-pdbtrack-input-prompt)
13489 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13490 regular python pdb prompts. Adjustments shamelessly taken exactly as
13491 suggested in EmacsWiki page (tiny change):
13492 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13493
13494 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13495
13496 * expand.el (expand-pos, expand-index, expand-point):
13497 Remove redundant info from docstring.
13498 (expand-add-abbrevs): Doc fix.
13499 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13500 (expand-sample-perl-mode-expand-list): Fix typos.
13501
13502 * net/dbus.el (dbus-event-member-name):
13503 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13504 * term/pc-win.el (msdos-create-frame-with-faces):
13505 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13506
13507 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13508
13509 * window.el (split-window, window-state-get-1)
13510 (window-state-put-1, window-state-put-2): Rename occurrences of
13511 window-nest to window-combination-limit.
13512 * cus-start.el (window-nest): Rename to window-combination-limit.
13513
13514 2011-11-16 Chong Yidong <cyd@gnu.org>
13515
13516 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13517 regexp (Bug#10033).
13518
13519 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13522 `completing-read' will remove *Completions* and will preserve
13523 current-buffer for us.
13524 (tmm-add-prompt): Users of *Completions* will always (re)set its
13525 major mode.
13526 (tmm-old-comp-map): Remove.
13527
13528 2011-11-16 Glenn Morris <rgm@gnu.org>
13529
13530 * mail/rmailedit.el: Require rmailmm when compiling.
13531 (rmail-old-mime-state): New declaration.
13532 (rmail-edit-current-message): If editing a mime message,
13533 edit the "raw" message from the mbox buffer.
13534 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13535
13536 2011-11-15 Glenn Morris <rgm@gnu.org>
13537
13538 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13539 which wasn't being used. Add optional arg to force given state.
13540 (rmail-mime): Add optional arg to force given state.
13541
13542 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13545 * frame.el (display-mm-dimensions-alist):
13546 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13547 (outline-move-subtree-down):
13548 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13549 (newsticker--treeview-do-get-node):
13550 * net/quickurl.el (quickurl-list-buffer-name):
13551 * progmodes/dcl-mode.el (dcl-mode):
13552 * progmodes/gdb-mi.el (gdb-mapcar*):
13553 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13554
13555 2011-11-15 Glenn Morris <rgm@gnu.org>
13556
13557 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13558 in a boolean sense, so just make it a boolean, and fix the doc.
13559 (rmail-show-mime-function, rmail-mime-feature)
13560 (rmail-require-mime-maybe): Doc fixes.
13561 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13562
13563 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13564
13565 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13566
13567 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13568 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13569 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13570 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13571
13572 2011-11-15 Glenn Morris <rgm@gnu.org>
13573
13574 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13575 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13576 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13577 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13578 (rmail-mime, rmail-show-mime): Doc fixes.
13579
13580 * term/ns-win.el (mode-line-frame-identification):
13581 Leave it alone. (Bug#10051)
13582
13583 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13584
13585 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13586 Handle empty buffers. (Bug#9978)
13587
13588 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13589
13590 * international/mule.el (define-charset):
13591 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13592 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13593 * progmodes/verilog-mode.el (verilog-backward-token):
13594 * textmodes/ispell.el (lookup-words):
13595 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13596
13597 2011-11-14 Glenn Morris <rgm@gnu.org>
13598
13599 * progmodes/executable.el
13600 (executable-make-buffer-file-executable-if-script-p):
13601 Handle file-modes returning nil.
13602
13603 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13604 message - not necessary, and causes problems. (Bug#9831)
13605
13606 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13607
13608 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13609
13610 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13611 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13612 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13613
13614 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13615
13616 * window.el (window-resize, delete-window): Use window-splits
13617 variable instead of function.
13618 (window-state-get-1, window-state-put-2, window-state-put):
13619 Don't deal with windows' splits status.
13620
13621 2011-11-12 Glenn Morris <rgm@gnu.org>
13622
13623 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13624 (apropos-documentation): Doc fixes.
13625
13626 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13627
13628 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13629 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13630
13631 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * electric.el (electric-indent-post-self-insert-function): Make it
13634 possible for a char to only indent in some circumstances.
13635 (electric-indent-mode): Simplify.
13636
13637 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13638
13639 * window.el (windows-with-parameter): Remove unused function.
13640 (windows-at-side): Rename to window-at-side-list.
13641 (window-check, window-atom-check, window-atom-check-1)
13642 (window-side-check, window-size-ignore, window-size-fixed-1)
13643 (window-in-direction-2): Prefix with "window--".
13644 (window-tree-1): Rename to window--subtree, fix doc-string.
13645
13646 2011-11-11 Glenn Morris <rgm@gnu.org>
13647
13648 * subr.el (eval-after-load): If FILE is already loaded,
13649 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13650
13651 2011-11-10 Glenn Morris <rgm@gnu.org>
13652
13653 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13654 Call svn via vc-svn-command rather than vc-do-command.
13655 (vc-svn-command): Add --non-interactive. (Bug#9993)
13656 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13657
13658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13659 Add toggle-read-only. (Bug#7292)
13660 * files.el (toggle-read-only): Mention that it should only
13661 be used interactively. (Bug#10006)
13662
13663 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13666 Adjust regexp for OCaml warnings.
13667
13668 * electric.el (electric-pair-post-self-insert-function): Let user
13669 turn it off buffer-locally (bug#9932).
13670
13671 * progmodes/python.el (python-beginning-of-statement):
13672 Rewrite (bug#2703).
13673
13674 * progmodes/compile.el: Better handle TABs (bug#9749).
13675 (compilation-internal-error-properties)
13676 (compilation-next-error-function): Obey the target buffer's
13677 compilation-error-screen-columns.
13678
13679 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13680
13681 * progmodes/meta-mode.el: Remove obsolete comments.
13682 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13683 Fix typos in docstrings.
13684
13685 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13686
13687 * window.el (window-size-fixed-p): Rewrite doc-string.
13688 (window-resizable-p): Rename to window--resizable-p. Update callers.
13689 (window--resizable): New function. Make all callers of
13690 window-resizable call window--resizable instead.
13691 (window-resizable): Rewrite in terms of window--resizable.
13692
13693 2011-11-08 Glenn Morris <rgm@gnu.org>
13694
13695 * progmodes/delphi.el (delphi-mode-syntax-table):
13696 Let define-derived-mode define a proper syntax table. (Bug#9994)
13697
13698 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * window.el: Stay away from defsubst.
13701 (window-list-no-nils): Remove.
13702 (window-state-get-1, window-state-get): Use backquote instead.
13703
13704 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13705
13706 * emacs-lisp/find-func.el (find-function-read):
13707 Fix incorrect use of default argument in `completing-read'.
13708
13709 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13710
13711 * window.el (display-buffer-function, special-display-function):
13712 Mention display-buffer-record-window but do not mention
13713 help-setup parameter in doc-strings.
13714 (window-min-delta): Fix doc-string typo.
13715
13716 2011-11-08 Chong Yidong <cyd@gnu.org>
13717
13718 * window.el (window-total-height, window-total-width): Doc fix.
13719 (window-body-size): Move from C.
13720 (window-body-height, window-body-width): Move to C.
13721
13722 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * window.el: Make special-display like display-buffer-alist (bug#9532).
13725 (display-buffer--special-action): New function, morphed
13726 from display-buffer--special.
13727 (display-buffer): Use it to handle special-display-buffers at higher
13728 priority (just after display-buffer-alist).
13729 (display-buffer-fallback-action, display-buffer--other-frame-action)
13730 (pop-to-buffer-same-window): Remove display-buffer--special.
13731
13732 2011-11-07 Glenn Morris <rgm@gnu.org>
13733
13734 * calendar/cal-menu.el (cal-menu-set-date-title):
13735 Do nothing if not in a calendar. (Bug#9976)
13736
13737 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * files.el (find-file): Always use selected-window.
13740
13741 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13742
13743 * window.el (window-combinations): Make WINDOW argument
13744 mandatory. Rewrite doc-string.
13745 (walk-window-subtree, window-atom-check, window-min-delta)
13746 (window-max-delta, window--resize-this-window)
13747 (window--resize-root-window-vertically, window-tree)
13748 (balance-windows, window-state-put): Rewrite doc-strings as to
13749 not mention the term "subwindow".
13750 (window--resize-subwindows-skip-p): Rename to
13751 window--resize-child-windows-skip-p.
13752 (window--resize-subwindows-normal): Rename to
13753 window--resize-child-windows-normal.
13754 (window--resize-subwindows): Rename to
13755 window--resize-child-windows.
13756 (window-or-subwindow-p): Rename to window--in-subtree-p.
13757
13758 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13759
13760 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13761 Ensure that mbox format messages end in two newlines (Bug#9974).
13762
13763 2011-11-06 Chong Yidong <cyd@gnu.org>
13764
13765 * window.el (window-combination-p): Function deleted; its
13766 side-effect is not used in any existing code.
13767 (window-combinations, window-combined-p): Call window-*-child
13768 directly.
13769
13770 2011-11-05 Chong Yidong <cyd@gnu.org>
13771
13772 * window.el (window-valid-p): Rename from window-any-p.
13773 (window-size-ignore, window-state-get): Callers changed.
13774 (window-normalize-window): Rename from window-normalize-any-window.
13775 New arg LIVE-ONLY, replacing window-normalize-live-window.
13776 (window-normalize-live-window): Delete.
13777 (window-combination-p, window-combined-p, window-combinations)
13778 (walk-window-subtree, window-atom-root, window-min-size)
13779 (window-sizable, window-sizable-p, window-size-fixed-p)
13780 (window-min-delta, window-max-delta, window-resizable)
13781 (window-resizable-p, window-full-height-p, window-full-width-p)
13782 (window-current-scroll-bars, window-point-1, set-window-point-1)
13783 (window-at-side-p, window-in-direction, window-resize)
13784 (adjust-window-trailing-edge, maximize-window, minimize-window)
13785 (window-deletable-p, delete-window, delete-other-windows)
13786 (record-window-buffer, unrecord-window-buffer)
13787 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13788 (quit-window, split-window, window-state-put)
13789 (set-window-text-height, fit-window-to-buffer)
13790 (shrink-window-if-larger-than-buffer): Callers changed.
13791
13792 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13793
13794 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13795 rfc2047-decode-string.
13796 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13797 warnings.
13798
13799 * window.el (window-body-height, window-body-width): Mention in
13800 the doc string that the return values are in frame's canonical
13801 units. (Bug#9949)
13802
13803 2011-11-03 Alan Mackenzie <acm@muc.de>
13804
13805 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13806 change in cc-engine.el.
13807
13808 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13811
13812 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13813
13814 * window.el (quit-window): Call unrecord-window-buffer after
13815 showing another buffer in the window. (Bug#9937)
13816 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13817
13818 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13821 Accept status with more than 9 shelves. (Bug#9935)
13822 Reported by Colin D Bennett <colin@gibibit.com>.
13823
13824 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13825
13826 * help.el (with-help-window): Don't reference
13827 temp-buffer-show-specifiers in doc-string.
13828
13829 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13830
13831 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13832 menu-item.
13833
13834 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13835
13836 * whitespace.el: New version 13.2.2.
13837 (whitespace-newline-mode): Disable properly. Reported by Sarah
13838 <EmacsWiki>.
13839
13840 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13841
13842 * net/newst-treeview.el: Remove "Time-stamp".
13843 (newsticker--group-manage-orphan-feeds): Do not call
13844 newsticker--treeview-tree-update.
13845 (newsticker-treeview-update, newsticker-treeview):
13846 Call newsticker--treeview-tree-update if necessary.
13847
13848 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13849
13850 * window.el (window-iso-combination-p, window-iso-combined-p)
13851 (window-iso-combinations): Remove "iso-" infix.
13852 Suggested by Chong Yidong.
13853 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13854 (window-max-delta-1, window-resize, window--resize-siblings)
13855 (window--resize-this-window, adjust-window-trailing-edge)
13856 (split-window, balance-windows-1)
13857 (shrink-window-if-larger-than-buffer):
13858 * calendar/calendar.el (calendar-generate-window):
13859 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13860
13861 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13864 in place (bug#9907).
13865 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13866 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13867 (eshell-structure-basic-command, eshell-rewrite-while-command)
13868 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13869 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13870 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13871 (eshell-do-pipelines-synchronously, eshell-eval-command):
13872 Use backquotes and prefer setq to set.
13873 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13874 (eshell-macrop): Use functionp.
13875 (eshell-do-eval): Handle multiple expressions in `while' body.
13876
13877 2011-10-30 Chong Yidong <cyd@gnu.org>
13878
13879 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13880 instead of set-mark (Bug#9810).
13881
13882 2011-10-30 Chong Yidong <cyd@gnu.org>
13883
13884 * window.el (split-window-below, split-window-right): Rename from
13885 split-window-above-each-other and split-window-side-by-side
13886 respectively. All callers changed.
13887 (split-window-sensibly, split-window-sensibly): Use them.
13888 (split-window-keep-point): Doc fix.
13889
13890 * isearch.el: Add isearch-scroll property to split-window-below
13891 and split-window-right.
13892
13893 * follow.el (follow-mode):
13894 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13895 * progmodes/ada-xref.el (ada-gdb-application):
13896 * emulation/vip.el (vip-buffer-in-two-windows):
13897 * image-dired.el (image-dired-dired-with-window-configuration):
13898 * dired-x.el (dired-do-find-marked-files):
13899 * dired.el (dired-pop-to-buffer):
13900 * bs.el (bs--show-with-configuration):
13901 * vc/emerge.el (emerge-setup-windows):
13902 * textmodes/two-column.el (2C-two-columns):
13903 * textmodes/reftex-toc.el (reftex-toc):
13904 * progmodes/gdb-mi.el (gdb-setup-windows):
13905 * progmodes/fortran.el (fortran-window-create):
13906 * net/newst-treeview.el (newsticker--treeview-window-init):
13907 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13908 * emulation/tpu-edt.el (tpu-gold-map):
13909 * emulation/crisp.el (crisp-mode-map):
13910 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13911
13912 2011-10-29 Chong Yidong <cyd@gnu.org>
13913
13914 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13915
13916 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13917
13918 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13919 forged Ispell output (Bug#7904).
13920
13921 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13922
13923 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * doc-view.el: Avoid ugly errors about not finding nil.
13926 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13927 (doc-view-dvipdf-program, doc-view-unoconv-program)
13928 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13929 Avoid nil or absolute file name as default value.
13930 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13931
13932 2011-10-28 Alan Mackenzie <acm@muc.de>
13933
13934 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13935
13936 2011-10-28 Alan Mackenzie <acm@muc.de>
13937
13938 Amend the handling of c-beginning/end-of-defun in nested declaration
13939 scopes.
13940
13941 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13942 cc-langs.el. Change it to a defcustom.
13943
13944 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13945 cc-vars.el.
13946
13947 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13948 Prevent "class foo : bar" being spuriously recognized as a label.
13949
13950 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13951 Add parameter `inclusive' (to include enclosing braces in the region).
13952 (c-widen-to-enclosing-decl-scope): New function.
13953 (c-while-widening-to-decl-block): New macro.
13954 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13955 outward for defun boundaries, and correspondingly change symbol
13956 `respect-enclosure' to `go-outward'.
13957 (c-declaration-limits): Change algorithm to report only the "innermost"
13958 defun's boundaries.
13959
13960 2011-10-28 Deniz Dogan <deniz@dogan.se>
13961
13962 * net/rcirc.el (rcirc-mode): Use hard newlines.
13963
13964 2011-10-28 Alan Mackenzie <acm@muc.de>
13965
13966 Amend to indent and fontify macros "which include their own semicolon"
13967 correctly, using the "virtual semicolon" mechanism.
13968
13969 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13970
13971 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13972 Recode to scan one line at a time rather than having \n and \r
13973 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13974 (c-forward-label): Amend for virtual semicolons.
13975 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13976
13977 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13978 of the new C macros.
13979
13980 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13981 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13982 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13983 (c-opt-cpp-macro-define): Make into a full language variable.
13984 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13985 AWK Mode (including \n, \r) removed, no longer needed.
13986
13987 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13988 Invoke c-make-macro-with-semi-re.
13989
13990 * progmodes/cc-vars.el (c-macro-with-semi-re):
13991 (c-macro-names-with-semicolon): New variables.
13992 (c-make-macro-with-semi-re): New function.
13993
13994 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * vc/log-edit.el: Fill empty field rather than adding new one.
13997 (log-edit-add-field): New function.
13998 (log-edit-insert-changelog): Use it.
13999
14000 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14001
14002 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14003
14004 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14007 (gdb--check-interpreter): New function.
14008 (gdb): Use it.
14009
14010 2011-10-27 Glenn Morris <rgm@gnu.org>
14011
14012 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14013 (least-positive-float, least-negative-float)
14014 (least-positive-normalized-float, least-negative-normalized-float)
14015 (float-epsilon, float-negative-epsilon):
14016 Remove unnecessary declarations.
14017
14018 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14019 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14020 (least-positive-float, least-negative-float)
14021 (least-positive-normalized-float, least-negative-normalized-float)
14022 (float-epsilon, float-negative-epsilon): Add doc-strings,
14023 based on those in cl.texi.
14024
14025 * files.el (set-visited-file-name): If the major-mode changed,
14026 reload the local variables. (Bug#9796)
14027
14028 2011-10-27 Chong Yidong <cyd@gnu.org>
14029
14030 * subr.el (change-major-mode-after-body-hook): New hook.
14031 (run-mode-hooks): Run it.
14032
14033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14034 Use change-major-mode-before-body-hook.
14035
14036 * simple.el (fundamental-mode):
14037 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14038 change introducing fundamental-mode-hook.
14039
14040 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14041
14042 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14043
14044 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14045
14046 * ido.el (ido-file-name-all-completions-1): Do not require
14047 tramp.el explicitly. (Bug#7583)
14048
14049 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14050
14051 * progmodes/octave-mod.el:
14052 * progmodes/octave-inf.el: Update maintainer.
14053
14054 2011-10-26 Chong Yidong <cyd@gnu.org>
14055
14056 * subr.el (with-wrapper-hook): Rewrite doc.
14057
14058 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14059
14060 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14061 filenames "/method:foo:". (Bug#9793)
14062
14063 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14064
14065 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14066 (bug#9865).
14067
14068 2011-10-24 Glenn Morris <rgm@gnu.org>
14069
14070 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14071
14072 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14073
14074 * notifications.el: Add the requirement of a running D-Bus session
14075 bus to the Commentary.
14076
14077 2011-10-24 Juri Linkov <juri@jurta.org>
14078
14079 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14080 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14081 (Bug#9364)
14082
14083 2011-10-24 Juri Linkov <juri@jurta.org>
14084
14085 * info.el (Info-following-node-name-re): Add newline to the list
14086 of allowed characters for leading space. (Bug#9824)
14087
14088 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * progmodes/octave-inf.el (inferior-octave-mode-map):
14091 Fix C-c C-h binding.
14092 * progmodes/octave-mod.el (octave-help): Remove.
14093
14094 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14095
14096 Sync with Tramp 2.2.3.
14097
14098 * net/tramp-cache.el (top): Pacify byte-compiler using
14099 `init-file-user' and `site-run-file'.
14100
14101 * net/trampver.el: Update release number.
14102
14103 2011-10-23 Chong Yidong <cyd@gnu.org>
14104
14105 * files.el (toggle-read-only): Remove obsolete comment about
14106 version control.
14107
14108 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14109 for toggle-read-only. Note that this hasn't called vc-next-action
14110 since 2008-05-02, though it wasn't documented at the time.
14111
14112 * vc/ediff-init.el (ediff-toggle-read-only-function):
14113 Use toggle-read-only.
14114
14115 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14116
14117 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14118 of c-parse-state.
14119
14120 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14121 correct faulty logical expression.
14122 (c-parse-state-state, c-record-parse-state-state):
14123 (c-replay-parse-state-state): New defvar/defuns.
14124 (c-debug-parse-state): Use new functions.
14125
14126 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14127
14128 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14129 last fix. Use window-in-direction correctly.
14130
14131 2011-10-21 Chong Yidong <cyd@gnu.org>
14132
14133 * progmodes/idlwave.el (idlwave-mode):
14134 * progmodes/vera-mode.el (vera-mode): No need to set
14135 require-final-newline; that's done in prog-mode.
14136 Suggested by Stefan Monnier.
14137
14138 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14139
14140 * mouse.el (mouse-drag-window-above)
14141 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14142 (mouse-drag-mode-line-1, mouse-drag-header-line)
14143 (mouse-drag-vertical-line-rightward-window): Remove.
14144 (mouse-drag-line): New function.
14145 (mouse-drag-mode-line, mouse-drag-header-line)
14146 (mouse-drag-vertical-line): Call mouse-drag-line.
14147 * window.el (window-at-side-p, windows-at-side): New functions.
14148
14149 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14150
14151 * tar-mode.el (tar-grind-file-mode):
14152 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14153
14154 2011-10-21 Chong Yidong <cyd@gnu.org>
14155
14156 * progmodes/idlwave.el (idlwave-mode):
14157 * progmodes/vera-mode.el (vera-mode):
14158 Use mode-require-final-newline.
14159
14160 2011-10-20 Glenn Morris <rgm@gnu.org>
14161
14162 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14163
14164 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14165
14166 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14167
14168 2011-10-20 Chong Yidong <cyd@gnu.org>
14169
14170 * emulation/cua-base.el (cua-mode):
14171 * mail/footnote.el (footnote-mode):
14172 * mail/mailabbrev.el (mail-abbrevs-mode):
14173 * net/xesam.el (xesam-minor-mode):
14174 * progmodes/bug-reference.el (bug-reference-mode):
14175 * progmodes/cap-words.el (capitalized-words-mode):
14176 * progmodes/compile.el (compilation-minor-mode)
14177 (compilation-shell-minor-mode):
14178 * progmodes/gud.el (gud-tooltip-mode):
14179 * progmodes/hideif.el (hide-ifdef-mode):
14180 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14181 * progmodes/subword.el (subword-mode):
14182 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14183 * progmodes/which-func.el (which-function-mode):
14184 * term/tvi970.el (tvi970-set-keypad-mode):
14185 * term/vt100.el (vt100-wide-mode):
14186 * textmodes/flyspell.el (flyspell-mode):
14187 * textmodes/ispell.el (ispell-minor-mode):
14188 * textmodes/nroff-mode.el (nroff-electric-mode):
14189 * textmodes/paragraphs.el (use-hard-newlines):
14190 * textmodes/refill.el (refill-mode):
14191 * textmodes/reftex.el (reftex-mode):
14192 * textmodes/rst.el (rst-minor-mode):
14193 * textmodes/sgml-mode.el (html-autoview-mode)
14194 (sgml-electric-tag-pair-mode):
14195 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14196 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14197 * emulation/crisp.el (crisp-mode):
14198 * emacs-lisp/eldoc.el (eldoc-mode):
14199 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14200 minor mode behavior.
14201
14202 2011-10-19 Juri Linkov <juri@jurta.org>
14203
14204 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14205 the list of hard-coded chars with escape-glyph face.
14206
14207 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14210
14211 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14212
14213 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14214 running process.
14215
14216 2011-10-19 Glenn Morris <rgm@gnu.org>
14217
14218 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14219 Ignore ignored files. (Bug#9726)
14220
14221 2011-10-19 Chong Yidong <cyd@gnu.org>
14222
14223 Doc fix for minor modes, stating that an omitted argument enables
14224 the mode unconditionally when called from Lisp.
14225
14226 * abbrev.el (abbrev-mode):
14227 * allout.el (allout-mode):
14228 * autoinsert.el (auto-insert-mode):
14229 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14230 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14231 (global-auto-revert-mode):
14232 * battery.el (display-battery-mode):
14233 * composite.el (global-auto-composition-mode)
14234 (auto-composition-mode):
14235 * delsel.el (delete-selection-mode):
14236 * desktop.el (desktop-save-mode):
14237 * dired-x.el (dired-omit-mode):
14238 * dirtrack.el (dirtrack-mode):
14239 * doc-view.el (doc-view-minor-mode):
14240 * double.el (double-mode):
14241 * electric.el (electric-indent-mode, electric-pair-mode):
14242 * emacs-lock.el (emacs-lock-mode):
14243 * epa-hook.el (auto-encryption-mode):
14244 * follow.el (follow-mode):
14245 * font-core.el (font-lock-mode):
14246 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14247 * help.el (temp-buffer-resize-mode):
14248 * hilit-chg.el (highlight-changes-mode)
14249 (highlight-changes-visible-mode):
14250 * hi-lock.el (hi-lock-mode):
14251 * hl-line.el (hl-line-mode, global-hl-line-mode):
14252 * icomplete.el (icomplete-mode):
14253 * ido.el (ido-everywhere):
14254 * image-file.el (auto-image-file-mode):
14255 * image-mode.el (image-minor-mode):
14256 * iswitchb.el (iswitchb-mode):
14257 * jka-cmpr-hook.el (auto-compression-mode):
14258 * linum.el (linum-mode):
14259 * longlines.el (longlines-mode):
14260 * master.el (master-mode):
14261 * mb-depth.el (minibuffer-depth-indicate-mode):
14262 * menu-bar.el (menu-bar-mode):
14263 * minibuf-eldef.el (minibuffer-electric-default-mode):
14264 * mouse-sel.el (mouse-sel-mode):
14265 * msb.el (msb-mode):
14266 * mwheel.el (mouse-wheel-mode):
14267 * outline.el (outline-minor-mode):
14268 * paren.el (show-paren-mode):
14269 * recentf.el (recentf-mode):
14270 * reveal.el (reveal-mode, global-reveal-mode):
14271 * rfn-eshadow.el (file-name-shadow-mode):
14272 * ruler-mode.el (ruler-mode):
14273 * savehist.el (savehist-mode):
14274 * scroll-all.el (scroll-all-mode):
14275 * scroll-bar.el (scroll-bar-mode):
14276 * server.el (server-mode):
14277 * shell.el (shell-dirtrack-mode):
14278 * simple.el (auto-fill-mode, transient-mark-mode)
14279 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14280 (line-number-mode, column-number-mode, size-indication-mode)
14281 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14282 * strokes.el (strokes-mode):
14283 * time.el (display-time-mode):
14284 * t-mouse.el (gpm-mouse-mode):
14285 * tool-bar.el (tool-bar-mode):
14286 * tooltip.el (tooltip-mode):
14287 * type-break.el (type-break-mode-line-message-mode)
14288 (type-break-query-mode):
14289 * view.el (view-mode):
14290 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14291 (global-whitespace-mode, global-whitespace-newline-mode):
14292 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14293
14294 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14295 Fix autogenerated docstring.
14296
14297 2011-10-19 Juri Linkov <juri@jurta.org>
14298
14299 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14300 by checking environment variables "DESKTOP_SESSION" and
14301 "XDG_CURRENT_DESKTOP". (Bug#9779)
14302
14303 2011-10-19 Juri Linkov <juri@jurta.org>
14304
14305 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14306 (browse-url-chromium-program, browse-url-chromium-arguments):
14307 New defcustoms.
14308 (browse-url-default-browser): Check for `browse-url-chromium' and
14309 call `browse-url-chromium-program'.
14310 (browse-url-chromium): New command. (Bug#9779)
14311
14312 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14313
14314 * facemenu.el (list-colors-duplicates): On Windows, detect more
14315 duplicates by assuming that only colors matching "^System" are
14316 special "system colors". (Bug#9722)
14317
14318 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14321 to distinguish the author from the committer.
14322
14323 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14324
14325 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14326
14327 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14328
14329 * international/mule.el (sgml-html-meta-auto-coding-function):
14330 Add support for detecting encoding in HTML5 specified only as
14331 <meta charset="UTF-8">. Implementation just makes http-equiv and
14332 content-type parts from HTML4 encoding string optional. (Bug#9716)
14333
14334 2011-10-18 Glenn Morris <rgm@gnu.org>
14335
14336 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14337
14338 2011-10-18 Chong Yidong <cyd@gnu.org>
14339
14340 * faces.el (cursor): Doc fix.
14341
14342 2011-10-17 Chong Yidong <cyd@gnu.org>
14343
14344 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14345
14346 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14347
14348 * dirtrack.el (dirtrack): Support shell buffers with path
14349 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14350
14351 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14352
14353 * json.el: Bump version to 1.3 and note change in History.
14354 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14355
14356 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * comint.el (comint-insert-input, comint-send-input)
14359 (comint-get-old-input-default, comint-backward-matching-input)
14360 (comint-next-prompt): Use nil instead of `input' for field property of
14361 past user input (bug#114).
14362
14363 * minibuffer.el (completion--replace): Inherit surrounding properties
14364 (bug#114).
14365 (minibuffer-complete-and-exit): Use it.
14366
14367 * comint.el (comint--table-subvert): Quote the all-completions output
14368 (bug#9160).
14369
14370 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14371
14372 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14373
14374 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14375 window on right of selected. (Bug#9350) Reword other window
14376 entries and separate them from frame entries.
14377
14378 2011-10-15 Glenn Morris <rgm@gnu.org>
14379
14380 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14381 Doc fixes.
14382
14383 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14384
14385 * net/network-stream.el (network-stream-open-starttls):
14386 Improve detection of failure due to lack of TLS support.
14387
14388 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14389 putting the input text in front and in bold.
14390
14391 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14394
14395 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14396 empty buffer.
14397
14398 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14399 unread-command-events rather than pushing yet-another event.
14400
14401 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14402
14403 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14404 the explanation of the possible choices. Make the options passed
14405 to completing-read shorter.
14406
14407 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14408
14409 * textmodes/flyspell.el (flyspell-large-region): Make sure
14410 extended character mode is used if defined (Bug#1339).
14411
14412 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14413
14414 * simple.el (what-cursor-position): Fix the display of the
14415 character info for LRE, LRO, RLE, and RLO characters by appending
14416 an invisible PDF.
14417
14418 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14421 even in case of error; add debug spec; simplify data flow.
14422 (with-timeout-handler): Remove.
14423
14424 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14425
14426 Fix Bug#6019, Bug#9315.
14427
14428 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14429 complete `buffer-file-name', the local file name part could look
14430 remotely (for example on VMS).
14431
14432 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14433 `tramp-run-real-handler'.
14434 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14435 already quoted by '"'.
14436
14437 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14438 Let `file-name-handler-alist' be nil, the local file name part
14439 could look remotely (for example on VMS).
14440
14441 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14444 from here...
14445 (flyspell-post-command-hook): ...to here.
14446
14447 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14450 if not needed.
14451 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14452 using completion. Protect against "slow" callers.
14453 Remove the "message hack".
14454
14455 2011-10-11 Juri Linkov <juri@jurta.org>
14456
14457 * isearch.el (isearch-lazy-highlight-word): New variable.
14458 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14459 Use it. (Bug#9727)
14460
14461 2011-10-11 Glenn Morris <rgm@gnu.org>
14462
14463 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14464 like f90-previous-statement does.
14465
14466 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14467
14468 * eshell/eshell.el (eshell-command): History should be saved
14469 only in interactive use, to avoid error.
14470
14471 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14472
14473 * minibuffer.el (completion-file-name-table): Fix last change,
14474 i.e. ignore normal errors but not the other ones.
14475
14476 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14477
14478 * window.el (special-display-buffer-names)
14479 (special-display-regexps): Remove some remnants of earlier
14480 changes from doc-strings.
14481 (quit-windows-on): New function.
14482
14483 * vc/vc.el (vc-revert, vc-rollback):
14484 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14485 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14486 (Bug#6183) (Bug#7074) (Bug#7447)
14487
14488 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14489
14490 * window.el (frame-auto-hide-function): Add version tag.
14491 (Bug#9699)
14492
14493 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14494
14495 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14496 condition.
14497
14498 2011-10-09 Leo Liu <sdl.web@gmail.com>
14499
14500 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14501 (Bug#9701)
14502
14503 2011-10-08 Glenn Morris <rgm@gnu.org>
14504
14505 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14506 before the first code statement zero indent. (Bug#9690)
14507
14508 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14509
14510 * simple.el (count-words-region): Always count in the region.
14511 Report the number of lines and characters too.
14512 (count-words): New command, which counts in the buffer if the
14513 region is inactive, as count-words-region used to.
14514 (count-words--message): New function. Handle plurals.
14515 (count-lines-region): Make it an alias for count-words-region.
14516
14517 * bindings.el (esc-map): Replace count-lines-region with
14518 count-words-region.
14519
14520 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14521
14522 * window.el (window--delete): Delete dedicated frame
14523 unconditionally when argument KILL is non-nil. (Bug#9699)
14524 (switch-to-buffer): Fix doc-string typo.
14525
14526 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14527
14528 * eshell/eshell.el (eshell-command): Avoid using hooks.
14529
14530 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14531
14532 * bindings.el ([M-left],[M-right]): Bind to left-word and
14533 right-word respectively.
14534
14535 2011-10-07 Glenn Morris <rgm@gnu.org>
14536
14537 * cus-start.el (debug-on-quit): Fix custom type.
14538
14539 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14540
14541 * subr.el (define-key-after): Clarify that the function is not
14542 useful for non-menu keymaps.
14543
14544 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14545
14546 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14547
14548 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14549 in current minibuffer (Fix bug with recursive minibuffers).
14550
14551 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * progmodes/gdb-mi.el (gdb): Doc fix.
14554
14555 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14556
14557 * window.el (frame-auto-hide-function): New option replacing
14558 frame-auto-delete. Suggested by Stefan Monnier.
14559 (window--delete): Call frame-auto-hide-function instead of
14560 investigating frame-auto-delete.
14561 (window-point-1, set-window-point-1): New functions.
14562 (window-in-direction, record-window-buffer, window-state-get-1)
14563 (display-buffer-record-window): Use window-point-1 instead of
14564 window-point.
14565 (set-window-buffer-start-and-point): Use set-window-point-1.
14566
14567 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14570
14571 2011-10-05 Glenn Morris <rgm@gnu.org>
14572
14573 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14574 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14575
14576 2011-10-05 Leo Liu <sdl.web@gmail.com>
14577
14578 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14579 works with buffer object.
14580
14581 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14582
14583 * mpc.el (mpc-tool-bar-map): Add labels.
14584
14585 2011-10-04 Glenn Morris <rgm@gnu.org>
14586
14587 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14588
14589 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (window--delete): New function.
14592 (frame-auto-delete): Resuscitate option.
14593 (bury-buffer, replace-buffer-in-windows)
14594 (quit-window): Rewrite using window--delete.
14595 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14596 Pass display-buffer-mark-dedicated to window--display-buffer-2
14597 (Bug#9639).
14598
14599 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14600
14601 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14602 returns a list (bug#9554). Add remote file name completion.
14603 * comint.el (comint--table-subvert): Curry and get quote&unquote
14604 functions as arguments.
14605 (comint--complete-file-name-data): Adjust call accordingly.
14606 * pcomplete.el (pcomplete--table-subvert): Remove.
14607 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14608
14609 * minibuffer.el (completion-table-case-fold): Use currying.
14610 (completion--styles-type, completion--cycling-threshold-type):
14611 New constants.
14612 (completion-styles, completion-category-overrides)
14613 (completion-cycle-threshold): Use them.
14614 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14615 completion-table-case-fold.
14616
14617 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14618
14619 * minibuffer.el (completion-category-overrides): Fix type of styles
14620 and add more user friendly tags (bug#9660).
14621
14622 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14625 (mule-input-method-string): New widget.
14626 (default-input-method, language-info-custom-alist): Use it.
14627
14628 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14629
14630 * pcomplete.el: Require comint.
14631 (pcomplete--common-suffix): Remove.
14632 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14633 (pcomplete--table-subvert): Sync with comint--table-subvert.
14634 (pcomplete--entries): Use comint-completion-file-name-table.
14635 * comint.el (comint-unquote-filename): Simplify.
14636 (comint-completion-file-name-table): New function (bug#9616).
14637 (comint--complete-file-name-data): Use it.
14638
14639 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14640 (pcmpl-gnu-tar-buffer): Remove.
14641 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14642 around. Make sure pcomplete-suffix-list is only changed temporarily.
14643 Don't look inside the tar's file if it's too large.
14644
14645 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14646
14647 * cus-edit.el (custom-mode-map):
14648 * epa.el (epa-key-list-mode-map):
14649 * man.el (Man-mode-map):
14650 * startup.el (splash-screen-keymap):
14651 * simple.el (special-mode-map): Use scroll-up-command and
14652 scroll-down-command.
14653
14654 * progmodes/idlw-help.el (idlwave-help-mode-map):
14655 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14656 * net/newst-plainview.el (newsticker-mode-map):
14657 * emulation/ws-mode.el (wordstar-mode-map):
14658 * emulation/vi.el (vi-com-map):
14659 * calc/calc-graph.el (calc-graph-show-dumb):
14660 * term/sun.el (terminal-init-sun):
14661 * term/ns-win.el (global-map):
14662 * progmodes/grep.el (grep-mode-map):
14663 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14664 * mail/rmail.el (rmail-mode-map):
14665 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14666
14667 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14668 custom-safe-themes as special.
14669
14670 2011-10-01 Julien Danjou <julien@danjou.info>
14671
14672 * notifications.el (notifications-notify): Fix docstring.
14673
14674 2011-10-01 Per Starbäck <per@starback.se>
14675
14676 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14677
14678 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14679
14680 * startup.el (command-line-1): Fix last fix by inserting
14681 initial-scratch-message into *scratch* before displaying it.
14682 (Bug#9605) and (Bug#9636)
14683
14684 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14685
14686 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14687 window is hscrolled, move by logical lines. (Bug#9607)
14688 (line-move-visual): Update the doc string to the above effect.
14689
14690 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14691
14692 * window.el (display-buffer-record-window): When WINDOW is the
14693 selected window use `point' instead of `window-point'. (Bug#9626)
14694
14695 * startup.el (command-line-1): Use insert-before-markers when
14696 inserting initial-scratch-message. (Bug#9605)
14697
14698 * help.el (help-window): Remove variable.
14699
14700 2011-09-29 Glenn Morris <rgm@gnu.org>
14701
14702 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14703
14704 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * descr-text.el (describe-char-categories): Accept category
14707 descriptions more than one line long.
14708
14709 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14710
14711 * simple.el (delete-trailing-whitespace): Fix last change.
14712
14713 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14714 Don't confuse "y => 3" as the beginning of a `y' operation.
14715
14716 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14717 object has more than 4 slots (bug#9613).
14718
14719 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14720
14721 * subr.el (with-output-to-temp-buffer):
14722 * net/quickurl.el (quickurl, quickurl-browse-url):
14723 Fix typos in docstrings.
14724
14725 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14726
14727 * minibuffer.el (completion-styles)
14728 (completion-category-overrides): Cross reference each other in doc
14729 strings.
14730
14731 2011-09-27 Glenn Morris <rgm@gnu.org>
14732
14733 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14734 to split-string. (Bug#9606)
14735
14736 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14737
14738 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14739 (bug#9615).
14740
14741 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14742
14743 * emacs-lisp/package.el (list-packages): Fix echo area message.
14744
14745 2011-09-27 Leo Liu <sdl.web@gmail.com>
14746
14747 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14748
14749 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14750
14751 * net/dbus.el (dbus-unregister-object): Don't release services for
14752 registered signals. (Bug#9581)
14753
14754 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14755
14756 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14757 function that picks between cfengine 2 and 3 support
14758 automatically. Update docs accordingly.
14759
14760 2011-09-22 Kenichi Handa <handa@m17n.org>
14761
14762 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14763 ZERO.
14764 (indian-itrans-v5-table-for-tamil): New variable.
14765 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14766
14767 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14768
14769 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14770 that's true if the current command involved collapsing of text.
14771 It's reset to false at the beginning of the next command.
14772 (allout-post-command-business): Move the cursor to the beginning
14773 of entry if the cursor is hidden and collapsing activity just
14774 happened.
14775
14776 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14777
14778 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14779 tracking (Bug#9541).
14780
14781 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14782
14783 * net/newst-reader.el (newsticker-html-renderer)
14784 (newsticker-show-news): Automatically load html rendering package
14785 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14786 because w3m-fill-column is let-bound" and the error "Symbol's value
14787 as variable is void: w3m-fill-column".
14788
14789 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14792 Release services only if they are defined. (Bug#9581)
14793
14794 2011-09-23 Richard Stallman <rms@gnu.org>
14795
14796 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14797 distinguish start of paragraph from start of its text.
14798
14799 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14800
14801 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14802 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14803 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14804
14805 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14806
14807 * international/mule-diag.el (mule-diag): Insert a newline after
14808 each fontset description.
14809
14810 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 * simple.el (delete-trailing-whitespace):
14813 Document last change; simplify.
14814
14815 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14816
14817 * simple.el (delete-trailing-whitespace): Also delete
14818 extra newlines at the end of the buffer.
14819
14820 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14821 (picture-newline): Use forward-line so as to ignore fields.
14822
14823 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * subr.el (with-wrapper-hook): Fix edebug spec.
14826
14827 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14828
14829 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14830 (bug#4538).
14831
14832 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14833
14834 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14835 Fix nasty bug using wrong cached values.
14836
14837 2011-09-23 Alan Mackenzie <acm@muc.de>
14838
14839 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14840
14841 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14842
14843 * window.el (pop-to-buffer): Ensure right window is selected if we
14844 chose another frame.
14845
14846 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14847
14848 * simple.el (what-cursor-position): Use get-char-property-change
14849 and next-single-char-property-change, to be able to show display
14850 properties that come from overlays as well as text properties.
14851
14852 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14853
14854 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14855
14856 * cmuscheme.el (run-scheme, switch-to-scheme):
14857 * cus-edit.el (customize-group, custom-buffer-create)
14858 (customize-browse):
14859 * info.el (info):
14860 * shell.el (shell):
14861 * mail/sendmail.el (mail):
14862 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14863
14864 2011-09-22 Richard Stallman <rms@gnu.org>
14865
14866 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14867 move back only to line beg, don't move back over blank lines.
14868
14869 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14870
14871 * files.el (copy-directory): Set directory attributes only in case
14872 they could be retrieved from the source directory. (Bug#9565)
14873
14874 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14875
14876 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14877 (hs-find-block-beginning, hs-hide-level-recursive):
14878 Ignore strings as well as comments. (Bug#9502)
14879
14880 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14881
14882 * progmodes/sql.el (sql-comint-postgres):
14883 Convert port number to a string. (Bug#9566)
14884
14885 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14886
14887 * window.el (quit-window): Undedicate window when switching to
14888 previous buffer. Reported by Thierry Volpiatto
14889 <thierry.volpiatto@gmail.com>.
14890 (special-display-popup-frame): When popping up a new frame reset
14891 its previous buffers to nil. Simplify code.
14892
14893 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14894
14895 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14896 and process filter, as done also in `shell-command'.
14897
14898 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14899
14900 * window.el (set-window-buffer-start-and-point):
14901 Call set-window-start with NOFORCE argument t.
14902 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14903 (quit-window): Reword doc-string. Handle new format of
14904 quit-restore parameter. Don't delete window if it has a
14905 previous buffer we can show instead of the present one.
14906 (display-buffer-record-window): Rewrite using a new format for
14907 the quit-restore window parameter
14908 (special-display-popup-frame, display-buffer-same-window)
14909 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14910 (display-buffer-pop-up-window, display-buffer-use-some-window):
14911 Adapt symbol passed to display-buffer-record-window.
14912 * help.el (help-window-setup): Handle new format of quit-restore
14913 parameter.
14914
14915 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * faces.el (face-list): Fix docstring (bug#9564).
14918
14919 * window.el (display-buffer--action-function-custom-type):
14920 Don't include internal functions in the Custom interface.
14921
14922 2011-09-20 Juri Linkov <juri@jurta.org>
14923
14924 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14925 (Info-forward-node, Info-backward-node, Info-next-preorder)
14926 (Info-last-preorder): Use it. (Bug#9528)
14927
14928 2011-09-20 Juri Linkov <juri@jurta.org>
14929
14930 * info.el (Info-last-preorder): Visit last menu item only when
14931 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14932
14933 2011-09-20 Julien Danjou <julien@danjou.info>
14934
14935 * password-cache.el (password-cache-remove): Remove entries even if the
14936 value is nil, so that password with a nil value (negative caching) is
14937 possible to invalidate.
14938
14939 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14940
14941 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14942 all whitespace around breakpoint. (Bug#9553)
14943 (f90-find-breakpoint): Only break at whitespace inside a comment.
14944
14945 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14946
14947 * minibuffer.el (completion-file-name-table): Keep track of errors.
14948 (completion-table-with-predicate): Handle the case where pred1 is nil.
14949 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14950
14951 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14954 (debugger-return-value): Signal an error if the debugging context does
14955 not await any return value.
14956
14957 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14958 * image-mode.el (image-toggle-display-text)
14959 (image-toggle-display-image): Stay away from evil `intangible'.
14960
14961 2011-09-19 Leo Liu <sdl.web@gmail.com>
14962
14963 * replace.el (occur-revert-arguments): Make it permanent-local.
14964 (occur-mode): Don't call font-lock-defontify.
14965
14966 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14967
14968 * net/ldap.el (ldap-search-internal): Don't push empty search
14969 result (Bug#9508).
14970
14971 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14972
14973 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14974
14975 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14976
14977 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14978 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14979
14980 2011-09-18 Juri Linkov <juri@jurta.org>
14981
14982 * buff-menu.el (Buffer-menu-mode-map):
14983 * dired.el (dired-mode-map):
14984 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14985 (lisp-interaction-mode-map):
14986 * emacs-lisp/package.el (package-menu-mode-map):
14987 * epa.el (epa-key-list-mode-map):
14988 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14989 (menu-bar-options-menu):
14990 * outline.el (outline-mode-menu-bar-map):
14991 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14992 * vc/vc-dir.el (vc-dir-menu-map):
14993 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14994 Capitalize non-function content words in menu item strings.
14995
14996 * dired.el (dired-mode-map): Add menu item for
14997 `image-dired-dired-toggle-marked-thumbs'.
14998
14999 2011-09-18 Juri Linkov <juri@jurta.org>
15000
15001 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15002 to `isearch-case-fold-search' and restore its original value
15003 after the `isearch-mode' call.
15004
15005 2011-09-18 Juri Linkov <juri@jurta.org>
15006
15007 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15008 because `zgrep' returns 1 for successful matches (bug#9226).
15009
15010 2011-09-18 Juri Linkov <juri@jurta.org>
15011
15012 * info.el (Info-extract-menu-node-name): Check the second match
15013 for empty string (second test-case of bug#9528).
15014 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15015 intermediate nodes to the history (first test-case of bug#9528).
15016
15017 2011-09-18 Juri Linkov <juri@jurta.org>
15018
15019 * info.el (Info-mode-syntax-table): New variable.
15020 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15021
15022 2011-09-18 Juri Linkov <juri@jurta.org>
15023
15024 * info.el (Info-file-supports-index-cookies):
15025 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15026 outputs one more line for long file names (bug#4142).
15027
15028 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15029
15030 * newcomment.el (comment-normalize-vars): If prompting for
15031 comment-start, set comment-start-skip too (Bug#8424).
15032
15033 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15034
15035 * icomplete.el: Fix previous fix of Bug#5849.
15036 (icomplete-mode): Don't set completion-show-inline-help.
15037 (icomplete-minibuffer-setup): Set completion-show-inline-help
15038 locally during icompletion.
15039
15040 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15041
15042 * woman.el (woman2-process-escapes): Don't delete unrecognized
15043 escapes (Bug#7843).
15044
15045 * files.el (inhibit-first-line-modes-regexps): Add image files.
15046 (hack-local-variables-prop-line): Return nil for malformed
15047 prop-lines (Bug#9044).
15048
15049 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15050
15051 * net/tramp.el (top): Don't require 'shell.
15052 (tramp-methods): Fix docstring.
15053 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15054 Return complete remote file name. Handle "smb" case.
15055 Use `tramp-tmpdir', if defined for the respective method.
15056 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15057
15058 * net/tramp-compat.el (top): Require 'shell.
15059
15060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15061 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15062 `tramp-current-host'.
15063 (tramp-get-remote-tmpdir): Remove.
15064
15065 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15066 `tramp-tmpdir' entries.
15067 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15068 (tramp-smb-handle-file-attributes): Ignore errors.
15069 (tramp-smb-wait-for-output): Check also for process end.
15070
15071 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15072
15073 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15074 when sending QUIT (bug#9312).
15075
15076 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15077
15078 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15079 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15080 occur-mode-display-occurrence.
15081 (occur-edit-mode): Add usage message.
15082 (occur-cease-edit): New command.
15083 (occur-after-change-function): Use text properties to find the
15084 position of the prefix text.
15085 (occur-engine): Set stickiness of prefix text properties.
15086
15087 2011-09-17 Glenn Morris <rgm@gnu.org>
15088
15089 * progmodes/etags.el (complete-tag):
15090 Fix call to completion-in-region. (Bug#9526)
15091
15092 2011-09-17 Juri Linkov <juri@jurta.org>
15093
15094 * textmodes/ispell.el (ispell-word): Add to the error message
15095 the word, ispell program name and current dictionary (bug#9121).
15096 (ispell-tex-arg-end): Capitalize "error" in the error message.
15097
15098 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15099
15100 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15101 check. (Bug#4251)
15102
15103 2011-09-17 Juri Linkov <juri@jurta.org>
15104
15105 * window.el (window-safe-min-height, window-safe-min-width):
15106 Fix typos (followup to bug#9522).
15107
15108 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15109
15110 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15111
15112 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15113
15114 * simple.el (line-move): If goal-column is set, move by logical
15115 lines, not by display lines. (Bug#971)
15116 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15117 to reflect the above change.
15118
15119 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * image.el (imagemagick-register-types): Use regexp-opt.
15122
15123 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15124
15125 * window.el (display-buffer-base-action): Rename from
15126 display-buffer-default-action. Make default value empty.
15127 (display-buffer-overriding-action): Convert to defvar.
15128 (display-buffer-fallback-action): New var.
15129
15130 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15131
15132 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15133 declaration.
15134 (package--add-to-archive-contents): If there is a duplicate entry
15135 with an older version, remove it.
15136 (package-menu-mark-delete, package-menu-mark-install)
15137 (package-menu-mark-unmark): Make unused args optional.
15138 (package-menu-mark-obsolete-for-deletion):
15139 Use package-menu-get-status instead of a regexp search.
15140 (package-menu-get-status): Use tabulated-list-entry.
15141 (package-menu-mark-upgrades): New command.
15142 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15143 (package-menu-execute): Do installation before deletion.
15144 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15145 instead of checking major-mode.
15146 (package-menu--find-upgrades): New function.
15147
15148 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15149
15150 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15151 passwords in the log buffer.
15152 (smtpmail-process-filter): Update the process marker so that the
15153 "broken by peer" status message is inserted in the right place.
15154
15155 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15158 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15159 bibtex-completion-at-point-function.
15160 (bibtex-completion-at-point-function): Use them.
15161
15162 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15163
15164 * mpc.el (mpc-constraints-tag-lookup): New function.
15165 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15166 also to browser "album|playlist".
15167
15168 2011-09-14 Juri Linkov <juri@jurta.org>
15169
15170 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15171 (isearch-edit-string): Use length of `isearch-string' when
15172 `isearch-fail-pos' returns nil.
15173 (isearch-message): Remove duplicate code and call
15174 `isearch-fail-pos' with arg `t'.
15175
15176 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15177
15178 * replace.el (occur-mode-goto-occurrence): Don't force using other
15179 window (Bug#9499).
15180
15181 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15182
15183 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15184
15185 * window.el (display-buffer-window): Remove.
15186 (display-buffer-record-window): Use help-setup window parameter
15187 instead of variable display-buffer-window.
15188 (display-buffer-function, special-display-buffer-names)
15189 (special-display-function): Mention help-setup parameter instead
15190 of display-buffer-window in doc-string.
15191 * help.el (help-window-setup): New argument help-window.
15192 Use help-window-setup parameter instead of display-buffer-window.
15193 Reword some messages.
15194 (with-help-window): Pass window used for displaying the buffer
15195 to help-window-setup. Don't set display-buffer-window.
15196
15197 2011-09-13 Glenn Morris <rgm@gnu.org>
15198
15199 * emacs-lisp/debug.el (debugger-make-xrefs):
15200 Preserve point. (Bug#9462)
15201
15202 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15203
15204 * window.el (window-deletable-p): Use next-frame.
15205
15206 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15207
15208 * window.el (window-auto-delete): Remove.
15209 (window-deletable-p): Remove argument FORCE. Don't deal with
15210 dedication and previous buffers.
15211 (switch-to-prev-buffer): Don't delete window.
15212 (delete-windows-on): Delete a window's frame if and only if the
15213 window is dedicated.
15214 (replace-buffer-in-windows): Delete buffer's window or frame if
15215 and only if window is dedicated.
15216 (quit-window): Handle quit-restore as before last change.
15217 (bury-buffer): Delete window only if window-deletable-p returns t.
15218
15219 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15220
15221 * window.el (window-deletable-p): Never delete the last frame on a
15222 given terminal.
15223
15224 2011-09-13 Glenn Morris <rgm@gnu.org>
15225
15226 * help.el (describe-key-briefly): Copy previous standard-output change.
15227
15228 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15229
15230 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15231
15232 2011-09-13 Glenn Morris <rgm@gnu.org>
15233
15234 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15235 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15236
15237 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15238
15239 * dired-aux.el (dired-mark-read-string): Don't return default
15240 value on empty input (Bug#9361).
15241 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15242 Omit initial minibuffer contents.
15243 (dired-do-chmod): Signal an error on empty input.
15244 (dired-mark-read-string): Don't return default on empty input.
15245
15246 * files.el (file-modes-symbolic-to-number): Doc fix.
15247
15248 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * international/mule-cmds.el (ucs-completions): Remove.
15251 (read-char-by-name): Use complete-with-action instead; add metadata.
15252
15253 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15254
15255 * window.el (display-buffer--action-function-custom-type)
15256 (display-buffer--action-custom-type): New vars.
15257 (display-buffer-alist, display-buffer-default-action)
15258 (display-buffer-overriding-action): Add defcustom types.
15259
15260 * frame.el (delete-other-frames): Doc fix (Bug#276).
15261
15262 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15263
15264 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15265
15266 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15267
15268 Change modes that used same-window-* vars to use switch-to-buffer.
15269
15270 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15271 Use switch-to-buffer.
15272
15273 * cus-edit.el (customize-group, custom-buffer-create)
15274 (customize-browse, custom-buffer-create-other-window):
15275 Use switch-to-buffer or switch-to-buffer-other-window.
15276
15277 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15278 (Info-prev, Info-up, Info-speedbar-goto-node)
15279 (info-display-manual): Use switch-to-buffer.
15280 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15281
15282 * mail/sendmail.el (mail): Use switch-to-buffer.
15283 (mail-recover): Use switch-to-buffer-other-window.
15284
15285 * cmuscheme.el (run-scheme, switch-to-scheme):
15286 * ielm.el (ielm):
15287 * shell.el (shell):
15288 * net/rlogin.el (rlogin):
15289 * net/telnet.el (telnet, rsh):
15290 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15291
15292 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15293
15294 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15295
15296 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15297
15298 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15299 so don't mention it (bug#9301).
15300 (dired-sort-toggle-or-edit): Clarify string further.
15301
15302 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15303 match `x', `w32' and `ns', like the manual says (bug#9029).
15304
15305 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15306 (process-kill-buffer-query-function): Mention the buffer name in
15307 the query.
15308
15309 * image-mode.el (image-next-line): The line parameter is mandatory
15310 (bug#9258).
15311
15312 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15313 which can be useful (bug#9301).
15314
15315 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15316
15317 * subr.el (match-string): Mention that the current buffer should
15318 be the same as the search was done in (bug#9282).
15319
15320 * facemenu.el: Disable the remove-* commands if the mark isn't
15321 active (bug#9162).
15322
15323 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15326 of display-buffer.
15327 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15328
15329 * replace.el (occur-mode-goto-occurrence)
15330 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15331 and display-buffer.
15332
15333 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15334 display-buffer.
15335
15336 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15337 special-display and same-window variables.
15338 (mail-other-window): Use switch-to-buffer-other-window.
15339 (mail-other-frame): USe switch-to-buffer-other-frame.
15340
15341 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15342 Use display-buffer-other-frame.
15343 (gdb-display-gdb-buffer): Use pop-to-buffer.
15344
15345 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15346
15347 * progmodes/python.el: Don't set same-window-buffer-names.
15348
15349 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15350
15351 * window.el (display-buffer-alist): Add *Python*.
15352
15353 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15354
15355 * window.el (display-buffer-alist): Add entry for buffers
15356 previously handled same-window-*.
15357 (display-buffer-alist, display-buffer-default-action)
15358 (display-buffer-overriding-action): Mark as risky.
15359 (display-buffer-alist): Document action function changes.
15360 (display-buffer--same-window-action)
15361 (display-buffer--other-frame-action): New variables.
15362 (switch-to-buffer, display-buffer-other-frame): Use them.
15363 (display-buffer): Rename reuse-frame entry to reusable-frames.
15364 (display-buffer-reuse-selected-window): Function deleted.
15365 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15366 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15367 (display-buffer-special): New function.
15368 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15369 display-buffer-reuse-or-pop-window. Split off special-display
15370 part into display-buffer-special.
15371 (display-buffer-use-some-window): Don't perform any special
15372 pop-up-frames handling.
15373 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15374 (display-buffer--maybe-same-window): Rename from
15375 display-buffer-maybe-same-window.
15376
15377 * info.el: Don't set same-window-regexps.
15378 (info-setup): New function.
15379 (info-other-window, info): Call it.
15380
15381 * cus-edit.el: Don't set same-window-regexps.
15382 (customize-group): New argument.
15383 (customize-group-other-window): Use it.
15384 (customize-face, customize-face-other-window): Likewise.
15385 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15386
15387 * net/rlogin.el:
15388 * net/telnet.el:
15389 * progmodes/gud.el: Don't set same-window-regexps.
15390
15391 * cmuscheme.el:
15392 * ielm.el:
15393 * shell.el:
15394 * mail/sendmail.el:
15395 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15396
15397 2011-09-10 Juri Linkov <juri@jurta.org>
15398
15399 * isearch.el (isearch-edit-string): Remove obsolete mention of
15400 `C-w' (`isearch-yank-word-or-char') from docstring.
15401 (isearch-query-replace): Fix typo in docstring (bug#9466).
15402
15403 2011-09-10 Juri Linkov <juri@jurta.org>
15404
15405 * paren.el (show-paren-function): Don't show escaped parens.
15406 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15407
15408 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15409
15410 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15411 (mm-default-file-encoding): Remove autoload forms, they are
15412 replaced with autoload cookies in mml.el and mm-encode.el.
15413 (mail-add-attachment): New command.
15414 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15415 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15416 the doc string.
15417 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15418
15419 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15420
15421 * simple.el (count-words-region): Use buffer if there's no region
15422 (bug#9429).
15423
15424 2011-09-09 Juri Linkov <juri@jurta.org>
15425
15426 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15427 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15428 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15429
15430 2011-09-09 Alan Mackenzie <acm@muc.de>
15431
15432 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15433 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15434
15435 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15436
15437 Fix for Savannah bug#9392.
15438 * simple.el (mail-encode-mml): New defvar.
15439
15440 * mail/rmail.el (mail-encode-mml): Add a defvar.
15441 (rmail-enable-mime-composing): Default to t.
15442 (rmail-forward): Use MIME method of forwarding only if both
15443 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15444 Set mail-encode-mml non-nil if the MIME method was used.
15445
15446 * mail/sendmail.el (mml-to-mime): Add autoload form.
15447 (mail-encode-mml): Add a defvar.
15448 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15449 to nil.
15450 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15451 message through mml-to-mime, and reset mail-encode-mml to nil.
15452
15453 2011-09-09 Glenn Morris <rgm@gnu.org>
15454
15455 * woman.el (woman-if-body): When processing an .el block,
15456 do not delete the next .el block as well. (Bug#9447)
15457 (woman-special-characters): Add oq, cq, and hy characters.
15458
15459 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15460
15461 * window.el (window-deletable-p): Make sure window is live before
15462 invoking window-prev-buffers.
15463
15464 2011-09-08 Leo Liu <sdl.web@gmail.com>
15465
15466 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15467
15468 2011-09-08 Juri Linkov <juri@jurta.org>
15469
15470 * progmodes/compile.el (compilation-environment): Make it
15471 a defcustom (bug#8340).
15472
15473 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15474
15475 * window.el (frame-auto-delete): Rename to window-auto-delete.
15476 Make it control auto-deletion of windows and/or frames.
15477 (window-deletable-p): New argument FORCE. Rewrite conditions
15478 for deleting window/frame. (Bug#9419)
15479 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15480 Rewrite handling of case when window/frame can be deleted.
15481 (delete-windows-on): Call window-deletable-p with new FORCE
15482 argument t. (Bug#9456)
15483
15484 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15485
15486 * help-mode.el (help-mode): Restore autoload.
15487
15488 2011-09-07 Juri Linkov <juri@jurta.org>
15489
15490 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15491 `compilation-environment'. Set buffer-local
15492 `compilation-environment' to `thisenv' later after (funcall mode).
15493 (Bug#8340)
15494
15495 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15496 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15497 instead of replacing its value. (Bug#8340)
15498
15499 2011-09-07 Juri Linkov <juri@jurta.org>
15500
15501 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15502 based on text properties put by `grep-filter' instead of matching
15503 escape sequences.
15504 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15505 to the value of `grep-error-screen-columns' (bug#9438).
15506
15507 2011-09-07 Juri Linkov <juri@jurta.org>
15508
15509 * simple.el (next-error-highlight, next-error-highlight-no-select):
15510 Doc fix (bug#9432).
15511
15512 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15513
15514 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15515 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15516
15517 2011-09-07 Leo Liu <sdl.web@gmail.com>
15518
15519 * net/rcirc.el (rcirc-mode): Conditionally initialize
15520 rcirc-input-ring.
15521
15522 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15523
15524 * emacs-lisp/find-func.el (find-function-C-source): Only set
15525 find-function-C-source-directory after checking that we found a source
15526 file there (bug#9440).
15527
15528 2011-09-06 Alan Mackenzie <acm@muc.de>
15529
15530 * isearch.el (isearch-other-meta-char): Wherever a key list is
15531 unread, "unread" the prefix arg, too. This fixes bug #8901.
15532
15533 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15534
15535 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15536
15537 2011-09-05 Juri Linkov <juri@jurta.org>
15538
15539 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15540
15541 2011-09-05 Juri Linkov <juri@jurta.org>
15542
15543 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15544 keeping point where processing of grep matches begins, and
15545 continue to delete remaining escape sequences from the same point.
15546 (grep-filter): Make leading zero optional in "0?1;31m" because
15547 git-grep emits "\033[1;31m" escape sequences unlike expected
15548 "\033[01;31m" as GNU Grep does (bug#9408).
15549 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15550
15551 2011-09-05 Juri Linkov <juri@jurta.org>
15552
15553 * subr.el (y-or-n-p): Capitalize "yes".
15554
15555 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15556
15557 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15558 `tramp-cache-unload-hook' where appropriate.
15559 (tramp-methods): Rename `tramp-remote-sh' to
15560 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15561 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15562
15563 * net/tramp-sh.el (top): Don't require 'shell.
15564 (tramp-methods): Add `tramp-remote-shell' and
15565 `tramp-remote-shell-args' entries.
15566 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15567 (tramp-sh-handle-shell-command): Remove.
15568 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15569 Use `tramp-remote-shell'.
15570
15571 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15572
15573 * mail/sendmail.el (sendmail-query-once-function): Delete.
15574 (sendmail-query-once): Save directly to send-mail-function.
15575 Update message-send-mail-function too.
15576
15577 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15578
15579 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15580
15581 * progmodes/python.el (python-mode-map): Use correct function to
15582 start python interpreter from menu-bar (as reported by Geert
15583 Kloosterman).
15584 (inferior-python-mode-map): Fix typo.
15585 (python-shell-map): Remove.
15586
15587 2011-09-03 Deniz Dogan <deniz@dogan.se>
15588
15589 * net/rcirc.el (rcirc-print): Simplify code for
15590 rcirc-scroll-show-maximum-output. There is no need to walk
15591 through all windows to find the right one.
15592
15593 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15594
15595 * help.el (help-return-method): Doc fix.
15596
15597 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15598
15599 * window.el (window-deletable-p): Don't return a non-nil value
15600 when there's a buffer that was shown in the window before.
15601 (Bug#9419)
15602 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15603 Set window's previous buffers to nil.
15604
15605 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15606
15607 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15608 newline before and after the tag line, so it doesn't interfere
15609 with determining the paragraph direction of bidirectional text.
15610
15611 2011-09-03 Leo Liu <sdl.web@gmail.com>
15612
15613 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15614
15615 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15616
15617 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15618 (pop-to-buffer): Change interactive spec. Pass second argument
15619 directly to display-buffer.
15620 (display-buffer): Fix interactive spec. Use functionp to
15621 distinguish between a function and a list of functions.
15622
15623 * abbrev.el (edit-abbrevs):
15624 * arc-mode.el (archive-extract):
15625 * autoinsert.el (auto-insert):
15626 * bookmark.el (bookmark-bmenu-list):
15627 * files.el (find-file):
15628 * view.el (view-buffer):
15629 * progmodes/compile.el (compilation-goto-locus):
15630 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15631
15632 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15633
15634 * window.el (display-buffer-alist): Doc fix.
15635 (display-buffer): Add docstring. Don't treat
15636 display-buffer-default specially.
15637 (display-buffer-reuse-selected-window)
15638 (display-buffer-same-window, display-buffer-maybe-same-window)
15639 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15640 (display-buffer-pop-up-window)
15641 (display-buffer-reuse-or-pop-window)
15642 (display-buffer-use-some-window): New functions.
15643 (display-buffer-default-action): Use them.
15644 (display-buffer-default): Delete.
15645 (pop-to-buffer-1): Fix choice of actions.
15646
15647 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15648
15649 * minibuffer.el (completion--insert-strings): Don't get confused by
15650 completion entries that end with an LF char.
15651
15652 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15653
15654 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15655
15656 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15657
15658 * window.el (display-buffer): Restore interactive spec.
15659 (display-buffer-same-window, display-buffer-other-window):
15660 New functions.
15661 (pop-to-buffer-1): New function. Use the above.
15662 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15663 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15664
15665 * view.el (view-buffer-other-window, view-buffer-other-frame):
15666 Just use pop-to-buffer.
15667
15668 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15669
15670 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15671
15672 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15673
15674 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15675
15676 2011-08-31 Richard Stallman <rms@gnu.org>
15677
15678 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15679 of the separation of rmail-view-buffer from rmail-buffer.
15680 If you say no to "replace original", the decrypt is in the
15681 view buffer. If you say yes, the decrypt goes into the
15682 rmail buffer also.
15683
15684 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15685
15686 * window.el (display-buffer-window): Rewrite doc-string.
15687 (display-buffer-record-window): New function.
15688 (display-buffer-macro-specifiers)
15689 (display-buffer-even-window-sizes, display-buffer-set-height)
15690 (display-buffer-set-width, display-buffer-in-window)
15691 (display-buffer-reuse-window, display-buffer-split-specifiers)
15692 (display-buffer-side-specifiers, display-buffer-split-window-1)
15693 (display-buffer-split-window, display-buffer-split-atom-window)
15694 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15695 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15696 (display-buffer-other-window-means-other-frame)
15697 (display-buffer-normalize-special)
15698 (display-buffer-normalize-default)
15699 (display-buffer-normalize-argument)
15700 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15701 (display-buffer-normalize-specifiers, display-buffer-frame)
15702 (display-buffer-same-window, display-buffer-same-frame)
15703 (display-buffer-other-window)
15704 (display-buffer-same-frame-other-window)
15705 (display-buffer-other-frame, pop-to-buffer-same-window)
15706 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15707 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15708 (switch-to-buffer-same-frame)
15709 (switch-to-buffer-other-window-same-frame)
15710 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15711 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15712 (display-buffer-alist-set): Remove.
15713 (display-buffer-function, special-display-buffer-names)
15714 (special-display-regexps, special-display-function):
15715 In doc-string refer to display-buffer-window and quit-restore
15716 parameter.
15717 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15718 (special-display-frame-alist, special-display-popup-frame)
15719 (same-window-buffer-names, same-window-regexps, same-window-p)
15720 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15721 (split-window-preferred-function, split-height-threshold)
15722 (split-width-threshold, window-splittable-p)
15723 (split-window-sensibly, window--try-to-split-window)
15724 (window--frame-usable-p, even-window-heights)
15725 (window--even-window-heights, window--display-buffer-1)
15726 (window--display-buffer-2, display-buffer-other-frame):
15727 Restore old Emacs 23 code, order and doc-strings where applicable.
15728 (display-buffer-default, display-buffer-assq-regexp): New functions.
15729 (display-buffer-alist): Rewrite doc-string.
15730 (display-buffer-default-action)
15731 (display-buffer-overriding-action): New variables.
15732 (display-buffer, switch-to-buffer): Rewrite.
15733 (pop-to-buffer): Restore Emacs 23 behavior but use
15734 window-normalize-buffer-to-display.
15735 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15736 Restore Emacs 23 behavior but use
15737 window-normalize-buffer-to-switch-to.
15738 (pop-to-buffer-same-window): Rewrite.
15739 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15740 Rewrite using Emacs 23 options.
15741
15742 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15743
15744 * net/tramp.el (tramp-root-regexp): Remove.
15745 (tramp-completion-file-name-regexp-unified)
15746 (tramp-completion-file-name-regexp-separate)
15747 (tramp-completion-file-name-regexp-url): Don't use leading volume
15748 letter on w32 systems. (Bug#5303, Bug#9311)
15749 (tramp-drop-volume-letter): Simplify definition.
15750 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15751
15752 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15753
15754 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15755 (bug#9356).
15756
15757 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15758
15759 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15760
15761 2011-08-29 Juri Linkov <juri@jurta.org>
15762
15763 * isearch.el (isearch-done): Don't display message "Mark saved"
15764 when arg `edit' is non-nil to prevent its flicker in the echo area.
15765
15766 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15769 obsolete packages for deletion.
15770
15771 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15772
15773 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15774 (help-mode): Derive help-mode from special-mode. Don't invoke
15775 view-mode from help-mode.
15776 (help-xref-override-view-map): Remove.
15777 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15778 view-mode is not used anymore.
15779
15780 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15781
15782 * server.el (server-port): Doc fix.
15783
15784 * cus-theme.el (custom-theme-choose-mode): Inherit from
15785 special-mode (Bug#9124).
15786 (custom-theme-choose-mode-map): Add special-mode to parent.
15787
15788 2011-08-28 Alan Mackenzie <acm@muc.de>
15789
15790 * progmodes/cc-fonts.el
15791 (c-make-font-lock-BO-decl-search-function): New function.
15792 (c-basic-matchers-after - "Fontify the clauses after various
15793 keywords"): Extract the three keyword lists for the 3 erroneous
15794 constructs from the list of four, and use the new function above
15795 in place of an old one.
15796
15797 2011-08-28 Deniz Dogan <deniz@dogan.se>
15798
15799 * net/rcirc.el (rcirc-insert-prev-input)
15800 (rcirc-insert-next-input): Remove unused argument.
15801
15802 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15803
15804 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15805
15806 2011-08-27 Alan Mackenzie <acm@muc.de>
15807
15808 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15809 handle function pointer parameters properly.
15810
15811 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15812
15813 * window.el (display-buffer-reuse-window): Fix case where
15814 selected window was reused with non-nil OTHER-WINDOW argument.
15815 (Bug#9381)
15816
15817 2011-08-27 Deniz Dogan <deniz@dogan.se>
15818
15819 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15820 oftc's NickServ messages.
15821
15822 2011-08-27 Glenn Morris <rgm@gnu.org>
15823
15824 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15825
15826 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15827
15828 * emacs-lisp/package.el (package-install): Call package-initialize
15829 if called interactively.
15830
15831 2011-08-26 Leo Liu <sdl.web@gmail.com>
15832
15833 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15834
15835 2011-08-25 Juri Linkov <juri@jurta.org>
15836
15837 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15838 `search-whitespace-regexp' (bug#9364).
15839
15840 2011-08-25 Juri Linkov <juri@jurta.org>
15841
15842 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15843 `regexp-search-ring' to their global values to protect from
15844 updating by `read-from-minibuffer' (bug#9185).
15845
15846 2011-08-25 Juri Linkov <juri@jurta.org>
15847
15848 * textmodes/ispell.el (ispell-command-loop): Add newline
15849 at the end of the "Use option `i'..." line.
15850
15851 2011-08-25 Juri Linkov <juri@jurta.org>
15852
15853 * battery.el (display-battery-mode): If `battery-status-function'
15854 or `battery-mode-line-format' is nil, display the message and set
15855 `display-battery-mode' to nil (bug#9363).
15856
15857 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15858
15859 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15860 bidi-string-mark-left-to-right; they are unnecessary now.
15861
15862 2011-08-25 Deniz Dogan <deniz@dogan.se>
15863
15864 * net/quickurl.el: Documentation typo fixes.
15865
15866 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15867
15868 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15869
15870 2011-08-25 Glenn Morris <rgm@gnu.org>
15871
15872 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15873
15874 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15875 (smtpmail-via-smtp): Handle nil response from smtp.
15876
15877 2011-08-24 Juri Linkov <juri@jurta.org>
15878
15879 * proced.el (proced-marked): Inherit from `error' instead of
15880 `font-lock-warning-face'.
15881
15882 * ibuffer.el (ibuffer-marked-face): Change default face from
15883 `font-lock-warning-face' to `warning'.
15884 (ibuffer-deletion-face): Change default face from
15885 `font-lock-type-face' to `error'.
15886
15887 * battery.el (battery-update): Use the face `error' instead of
15888 `font-lock-warning-face' (bug#6117).
15889
15890 2011-08-24 Juri Linkov <juri@jurta.org>
15891
15892 * faces.el (success): Change face color from "Green3" to
15893 "ForestGreen" on light background (bug#9353).
15894
15895 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15896
15897 * window.el (quit-window): Rename from quit-restore-window.
15898 Use same arglist as old quit-window.
15899 (frame-auto-delete): Doc fix.
15900
15901 * view.el (view-mode-exit): Use quit-window.
15902
15903 2011-08-24 Juri Linkov <juri@jurta.org>
15904
15905 * isearch.el (isearch-ring-adjust1): Start visiting previous
15906 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15907 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15908 for empty search string (when the last search string is reused
15909 automatically) to adjust the isearch ring to the last element and
15910 prepare the correct index for further M-p commands (bug#9185).
15911
15912 2011-08-24 Kenichi Handa <handa@m17n.org>
15913
15914 * international/ucs-normalize.el: If decomposition property of
15915 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15916 nil.
15917 (nfd, nfkd): Likewise.
15918
15919 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15920
15921 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15922 from process filters aren't reliably transmitted to the surrounding
15923 accept-process-output.
15924 (mpc-proc-check): New function.
15925 (mpc-proc-sync): Use it (bug#8293)
15926
15927 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15930 Add compatibility functions (bug#9313).
15931
15932 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15933
15934 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15935
15936 * international/uni-bidi.el: Regenerate.
15937
15938 2011-08-23 Kenichi Handa <handa@m17n.org>
15939
15940 * international/charprop.el:
15941 * international/uni-bidi.el:
15942 * international/uni-category.el:
15943 * international/uni-combining.el:
15944 * international/uni-comment.el:
15945 * international/uni-decimal.el:
15946 * international/uni-decomposition.el:
15947 * international/uni-digit.el:
15948 * international/uni-lowercase.el:
15949 * international/uni-mirrored.el:
15950 * international/uni-name.el:
15951 * international/uni-numeric.el:
15952 * international/uni-old-name.el:
15953 * international/uni-titlecase.el:
15954 * international/uni-uppercase.el: Regenerate.
15955
15956 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15957
15958 * help.el (help-window-setup): Fix message displayed when other
15959 window is reused. (Bug#9341)
15960
15961 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15962
15963 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15964 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15965
15966 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15967 Mark obsolete.
15968 * shell.el (shell-parse-pcomplete-arguments): New function.
15969 (shell-completion-vars): Use it instead (bug#9160).
15970
15971 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15972
15973 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15974 strings and comments (bug#9333).
15975
15976 * emacs-lisp/debug.el (debug-arglist): New function.
15977 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15978 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15979
15980 2011-08-22 Juri Linkov <juri@jurta.org>
15981
15982 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15983 Revert regexp that highlights output switches to its old
15984 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15985
15986 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15987 to check for empty output (bug#9226).
15988
15989 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15990
15991 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15992 symbol-constituent as the default, as that stops font-lock from
15993 working properly (Bug#8843).
15994
15995 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
15997 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15998 `coding-system-for-*' around the process open call to avoid
15999 auth-source side effects.
16000 (smtpmail-try-auth-methods): Expand the secret password.
16001 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16002 probe hangs.
16003
16004 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16005
16006 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16007
16008 * emacs-lisp/find-func.el (find-function-noselect): New arg
16009 lisp-only.
16010
16011 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16012 signal an error for built-in functions (Bug#6664).
16013
16014 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16015
16016 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16017 (smtpmail-try-auth-methods): Use it.
16018
16019 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * font-lock.el (font-lock-fontify-region)
16022 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16023 (font-lock-default-unfontify-buffer)
16024 (font-lock-default-fontify-region)
16025 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16026
16027 * progmodes/compile.el (compilation-error-properties):
16028 Fix confusion between file struct and message struct (Bug#9319).
16029 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16030 `ant' regexp.
16031
16032 * net/browse-url.el (browse-url-firefox): Don't call
16033 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16034
16035 2011-08-20 Glenn Morris <rgm@gnu.org>
16036
16037 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16038
16039 * tutorial.el (tutorial--default-keys): Update some default bindings.
16040
16041 * files.el (hack-local-variables): Fully ignore case for "mode:".
16042
16043 2011-08-20 Alan Mackenzie <acm@muc.de>
16044
16045 Resolve invalid use of a regexp in regexp-opt.
16046
16047 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16048 detection for a java annotation.
16049
16050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16051 detection for a java annotation.
16052
16053 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16054 handling for java.
16055 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16056
16057 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16058
16059 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16060 (Bug#9274).
16061
16062 2011-08-20 Alan Mackenzie <acm@muc.de>
16063
16064 Fontify CPP expressions correctly when starting in the middle of
16065 such a construct. Mainly for when jit-lock etc. starts a chunk
16066 here.
16067
16068 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16069 variable.
16070 (c-make-font-lock-search-form): New function, extracted from
16071 c-make-font-lock-search-function.
16072 (c-make-font-lock-search-function): Use the above function.
16073 (c-make-font-lock-context-search-function): New function.
16074 (c-cpp-matchers): Enhance the preprocessor expression case with
16075 the above function
16076 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16077 which takes an expression.
16078
16079 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16080
16081 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16082
16083 * window.el (display-buffer-reuse-window)
16084 (display-buffer-pop-up-window): Don't reuse or split a side
16085 window.
16086
16087 2011-08-19 Glenn Morris <rgm@gnu.org>
16088
16089 * files.el (hack-local-variables-prop-line, hack-local-variables):
16090 Downcase "Mode:". (Bug#9331)
16091
16092 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16093
16094 * international/characters.el: Add L and R categories.
16095
16096 * subr.el (bidi-string-mark-left-to-right): Rename from
16097 string-mark-left-to-right. Use category search.
16098
16099 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16100
16101 2011-08-18 Juri Linkov <juri@jurta.org>
16102
16103 * faces.el (error, warning, success): New faces with definitions
16104 copied from old default values of `font-lock-warning-face',
16105 `compilation-warning', `compilation-info' (bug#6117).
16106
16107 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16108
16109 * progmodes/compile.el (compilation-error): Inherit from `error'.
16110 (compilation-warning): Inherit from `warning'.
16111 (compilation-info): Inherit from `success'.
16112
16113 * dired.el (dired-marked): Inherit from `warning'.
16114 (dired-flagged): Inherit from `error'.
16115
16116 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117
16118 * mail/smtpmail.el (auth-source): Require to avoid problems with
16119 binding variables (bug#9298). Also clean up some unused
16120 autoloads.
16121
16122 * net/network-stream.el (network-stream-open-starttls):
16123 Support using starttls.el without using gnutls-cli.
16124
16125 2011-08-17 Juri Linkov <juri@jurta.org>
16126
16127 * progmodes/grep.el (rgrep): Handle the case when
16128 `grep-find-command' is a cons cell (bug#9278).
16129
16130 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16131
16132 * window.el (display-buffer-pop-up-frame): Run frame creation
16133 function with BUFFER current (as special-display-popup-frame
16134 does). Reported by Drew Adams.
16135
16136 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16137
16138 * epa-mail.el: Simplify GnuPG group expansion using
16139 epg-expand-group.
16140 (epa-mail-group-alist, epa-mail-group-modtime)
16141 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16142 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16143 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16144 Remove.
16145
16146 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16147
16148 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16149
16150 2011-08-16 Alan Mackenzie <acm@muc.de>
16151
16152 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16153 Correct, to avoid the inside of macros.
16154
16155 2011-08-16 Richard Stallman <rms@gnu.org>
16156
16157 * epa-mail.el: Handle GnuPG group definitions.
16158 (epa-mail-group-alist, epa-mail-group-modtime)
16159 (epa-mail-gnupg-conf-file): New variables.
16160 (epa-mail-parse-groups, epa-mail-sync-groups)
16161 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16162 (epa-mail-expand-recipients): New functions.
16163 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16164
16165 * mail/rmail.el (rmail-epa-decrypt): New command.
16166
16167 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16168 Don't bind buffer-read-only, just inhibit-read-only.
16169 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16170 (epa-decrypt-armor-in-region): Make error message clearer.
16171
16172 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16173
16174 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16175 and "a2b" to "ab" for `prefix'.
16176
16177 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16178
16179 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16180 filter groups.
16181 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16182 Fourquet (Bug#8804).
16183
16184 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16185
16186 * startup.el (argi): Declare as global variable (bug#9275).
16187
16188 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16189
16190 * subr.el (string-mark-left-to-right): Search the entire string
16191 for RTL script, not just the terminating character. Doc fix.
16192
16193 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16194
16195 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16196 New function.
16197 (js--regexp-literal, js-syntax-propertize-function): Remove.
16198 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16199 (js-mode-map): Don't rebind electric keys.
16200 (js-insert-and-indent): Remove.
16201 (js-mode): Setup electric-layout and electric-indent instead.
16202
16203 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16204
16205 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16206
16207 * epa.el (epa-progress-callback-function): Fix the logic of
16208 displaying progress.
16209 * epa-file.el (epa-file-insert-file-contents): Make progress
16210 display more user-friendly.
16211 (epa-file-write-region): Ditto.
16212
16213 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16214
16215 * subr.el (string-mark-left-to-right): New function.
16216
16217 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16218 Use string-mark-left-to-right.
16219 (list-buffers-noselect): Caller changed.
16220
16221 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16222 Use string-mark-left-to-right.
16223 (tabulated-list-print): Recenter after moving point.
16224
16225 2011-08-10 Juri Linkov <juri@jurta.org>
16226
16227 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16228 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16229 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16230
16231 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16232
16233 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16234 (Bug#7554).
16235
16236 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16237
16238 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16239 character. (Bug#6594)
16240
16241 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16242
16243 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16244 (image-dired--with-db-file): New macro.
16245 (image-dired-write-tags, image-dired-remove-tag)
16246 (image-dired-create-gallery-lists, image-dired-write-comments)
16247 (image-dired-get-comment, image-dired-mark-tagged-files)
16248 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16249 (image-dired-gallery-generate): Use insert-file-contents.
16250
16251 * time.el (display-time-world-list, display-time-world-display):
16252 * time-stamp.el (time-stamp-string):
16253 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16254 set-time-zone-rule (Bug#7337).
16255
16256 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16257
16258 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16259 (epg-error-to-string, epg-errors-to-string): New function.
16260 (epg-wait-for-completion): Reverse errors list.
16261 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16262 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16263 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16264 (epg-sign-keys, epg-generate-key-from-file)
16265 (epg-generate-key-from-string): Format errors by using
16266 epg-errors-to-string (bug#9255).
16267 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16268
16269 2011-08-07 Juri Linkov <juri@jurta.org>
16270
16271 * faces.el (list-faces-display): Remove extra angle bracket
16272 from `help-mode-map'.
16273
16274 * info.el (Info-history-toc-nodes): Doc fix.
16275
16276 * longlines.el (longlines-mode): Doc fix.
16277
16278 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16281 of statements and in a few more cases (bug#9183).
16282
16283 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16284 New functions.
16285 (cl-transform-lambda): Use them (bug#9239).
16286
16287 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16288
16289 * window.el (display-buffer-same-window)
16290 (display-buffer-same-frame, display-buffer-other-window)
16291 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16292 (pop-to-buffer-other-window)
16293 (pop-to-buffer-same-frame-other-window)
16294 (pop-to-buffer-other-frame): Make them defuns.
16295 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16296
16297 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16298
16299 * subr.el (make-composed-keymap): Move from C. Change calling
16300 convention, and improve docstring to bring attention to a subtle point.
16301 * minibuffer.el (completing-read-default): Adjust accordingly.
16302
16303 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16304
16305 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16306 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16307
16308 * net/trampver.el: Update release number.
16309
16310 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16313 "in" (bug#9190).
16314
16315 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16316
16317 * mail/sendmail.el (sendmail-query-once): Restore the current
16318 buffer after querying (bug#9074).
16319
16320 * dired.el (dired-flagged): Use different faces for marked and
16321 flagged files (bug#6117).
16322
16323 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16324 (bug#4433).
16325
16326 * ido.el (ido-mode): Switch off the message if called
16327 non-interactively.
16328
16329 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16330 before 587, since it appears that that's more likely to work for
16331 more people.
16332
16333 * cus-edit.el (custom-file): When running under emacs -q, always
16334 refuse to save the customizations, even if the .emacs file doesn't
16335 exist.
16336
16337 * info.el: Remove the `Info-beginning-of-buffer' function
16338 (bug#8325).
16339
16340 * net/network-stream.el (network-stream-open-starttls):
16341 Use `starttls-available-p' to see whether starttls.el can be used.
16342
16343 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16344
16345 * window.el (display-buffer-in-window): Don't set dedicated status
16346 of window here (Bug#9215).
16347 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16348 (display-buffer-pop-up-side-window)
16349 (display-buffer-in-side-window): Set dedicated status of window here.
16350
16351 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16352
16353 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16354 before binding generated-autoload-file.
16355
16356 2011-08-01 Deniz Dogan <deniz@dogan.se>
16357
16358 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16359
16360 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16361
16362 Sync with Tramp 2.2.2.
16363
16364 * net/trampver.el: Update release number.
16365
16366 2011-07-30 Juri Linkov <juri@jurta.org>
16367
16368 * dired-aux.el (dired-touch-initial): Remove function.
16369 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16370 current time, and `default' to the last modification time of the
16371 current marked file (bug#6887).
16372
16373 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16374
16375 * simple.el (goto-line): Use string-to-number to provide a
16376 numeric argument to read-number (bug#9163).
16377
16378 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16379
16380 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16381 connection process, it could be nil.
16382
16383 2011-07-27 Leo Liu <sdl.web@gmail.com>
16384
16385 Simplify url handling in rcirc-mode.
16386
16387 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16388 (rcirc-browse-url-at-mouse): Remove.
16389 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16390
16391 2011-07-26 Alan Mackenzie <acm@muc.de>
16392
16393 Fontify bitfield declarations properly.
16394
16395 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16396 (c-symbol-chars): Now exported as a lang variable.
16397 (c-not-primitive-type-keywords): New lang variable.
16398
16399 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16400 QT keyword "more" to prevent "more slots: ...." being spuriously
16401 parsed as a bitfield declaration.
16402
16403 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16404 Refactor and enhance to handle bitfield declarations.
16405 (c-punctuation-in): New function.
16406 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16407 declarations properly.
16408
16409 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16410
16411 * calendar/icalendar.el (icalendar--all-events): Take care of
16412 multiple vcalendars in a single file.
16413 (icalendar--convert-float-to-ical): Checkdoc fixes.
16414
16415 2011-07-25 Deniz Dogan <deniz@dogan.se>
16416
16417 * image.el (insert-image): Clarifying docstring.
16418
16419 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16420
16421 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16422 `tramp-send-command-and-check' if there is no error.
16423 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16424
16425 2011-07-22 Alan Mackenzie <acm@muc.de>
16426
16427 Prevent cc-langs.elc being loaded at run time.
16428
16429 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16430 cc-langs.
16431
16432 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16433 "(require 'cc-langs)". Quote a form so it will evaluate at
16434 (cc-mode's) compilation time.
16435
16436 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16437
16438 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16439 loading. (Bug#9114)
16440
16441 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16442
16443 * window.el (display-buffer-pop-up-window)
16444 (display-buffer-pop-up-side-window)
16445 (display-buffer-in-side-window): Call display-buffer-set-height
16446 and display-buffer-set-width after setting the new window's
16447 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16448
16449 2011-07-20 Sam Steingold <sds@gnu.org>
16450
16451 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16452 (etags-tags-included-tables): Call `convert-standard-filename' on
16453 the file names contained in TAGS so that windows Emacs can handle
16454 TAGS files created by cygwin ctags.
16455
16456 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457
16458 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16459 which apparently didn't work.
16460
16461 2011-07-19 Roland Winkler <winkler@gnu.org>
16462
16463 * proced.el (proced-send-signal): For *Marked Processes* buffer
16464 put point at beginning of buffer.
16465
16466 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16467
16468 * proced.el (proced-format): Make header lines align with the text
16469 (bug#1779).
16470
16471 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16472
16473 * view.el (view-buffer): Allow running in `special' modes if we're
16474 visiting a file (bug#8615).
16475
16476 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16477
16478 * window.el (display-buffer-alist-of-strings-p)
16479 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16480 New functions.
16481 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16482 more accurately.
16483
16484 2011-07-18 Alan Mackenzie <acm@muc.de>
16485
16486 Fontify declarators properly when, e.g., a jit-lock chunk begins
16487 inside a declaration.
16488
16489 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16490
16491 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16492 New function.
16493 (c-complex-decl-matchers): Insert reference to
16494 c-font-lock-enclosing-decls.
16495
16496 * progmodes/cc-engine.el (c-backward-single-comment):
16497 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16498 to nil around calls to (forward-comment -1).
16499
16500 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16501
16502 * image.el (put-image): Doc typo fix.
16503
16504 * progmodes/etags.el (tags-search): Doc typo fix.
16505
16506 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16507 password if we get errors 550 to 554.
16508
16509 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16510
16511 * net/gnutls.el (gnutls-log-level): Remove.
16512
16513 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16514 indentation character (bug#6380).
16515
16516 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16517
16518 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16519 to clarify what the problem is (bug#4291).
16520
16521 * simple.el (current-kill): Clarify what
16522 `interprogram-paste-function' does (bug#7500).
16523 (auto-fill-mode): Document `auto-fill-function' in relation to
16524 `auto-fill-mode' (bug#2470).
16525
16526 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16527
16528 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16529 method if slot is read-only (bug#9035).
16530
16531 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16532
16533 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16534 * window.el (pop-to-buffer): Select window used even if it was
16535 selected before, see discussion of (Bug#8615), (Bug#6954).
16536 Pass argument NORECORD on to select-frame-set-input-focus.
16537
16538 2011-07-15 Glenn Morris <rgm@gnu.org>
16539
16540 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16541 Respect help-form.
16542
16543 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16544
16545 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16546 (gnutls-negotiate): Use it.
16547
16548 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16549
16550 * net/gnutls.el (gnutls-negotiate):
16551 Upcase `gnutls-algorithm-priority'.
16552
16553 2011-07-15 Glenn Morris <rgm@gnu.org>
16554
16555 * jka-compr.el (jka-compr-verbose): Move from here...
16556 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16557 Add missing :version tag.
16558 * info.el: No need to require jka-compr when compiling.
16559
16560 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16561
16562 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16563 (gnutls-negotiate): Use it.
16564
16565 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16566
16567 * info.el (Info-beginning-of-buffer): New command.
16568 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16569 announcing `b' as the key (bug#8325).
16570 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16571
16572 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16573
16574 * international/mule-cmds.el
16575 (describe-specified-language-support): Make the error message
16576 clearer (bug#8905).
16577
16578 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16579
16580 * isearch.el (isearch-barrier): Add a doc string, since it's
16581 mentioned in a function doc string (bug#8678).
16582
16583 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16584
16585 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16586 buffer argument (Bug#9083) and self-identifying label argument.
16587
16588 2011-07-15 Glenn Morris <rgm@gnu.org>
16589
16590 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16591
16592 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16593
16594 * man.el (Man-fontify-manpage): Fix message when formatting the
16595 man page (bug#7929).
16596
16597 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16598
16599 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16600 argument LRM; if non-nil, append an invisible LRM character to the
16601 buffer name.
16602 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16603 last argument non-nil, when formatting buffer names.
16604 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16605 paragraph direction.
16606
16607 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16608
16609 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16610 the man page name (bug#7929).
16611
16612 * image.el (put-image): Mention the `put-image' overlay property
16613 (bug#7834).
16614
16615 * scroll-bar.el (set-scroll-bar-mode): Mention that
16616 `scroll-bar-mode' lists the values (bug#7772).
16617
16618 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16619 command (bug#7729).
16620
16621 * rect.el (apply-on-rectangle): Return the point after the last
16622 operation.
16623 (string-rectangle): Go to the point after the last operation
16624 (bug#7522).
16625
16626 * printing.el (pr-toggle-region): Clarify the documentation
16627 slightly (bug#7493).
16628
16629 * time.el (display-time-update):
16630 Allow `display-time-mail-function' to return nil (bug#7158).
16631 Fix suggested by Detlev Zundel.
16632
16633 * vc/diff.el (diff): Clarify the order the file names are read
16634 (bug#7111).
16635
16636 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16637 the doc string (bug#7015).
16638
16639 * font-lock.el (font-lock-maximum-decoration): Mention what
16640 numeric levels mean (bug#6935).
16641
16642 * startup.el (initial-buffer-choice): Don't mention the `none'
16643 selection, which is against policy.
16644
16645 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16646
16647 * window.el (display-buffer-normalize-special):
16648 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16649
16650 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16651
16652 * subr.el (version<, version<=, version=): Mention "-CVS" and
16653 "-12345" alpha version numbers.
16654
16655 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16656
16657 * bindings.el: Add advertised binding for set-mark-command
16658 (Bug#5772).
16659
16660 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16661
16662 * bindings.el (mode-line-other-buffer):
16663 * bookmark.el (bookmark-bmenu-2-window):
16664 * bs.el (bs-cycle-next, bs-cycle-previous):
16665 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16666 switch-to-buffer.
16667
16668 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16669 Delete.
16670
16671 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16672
16673 * follow.el (follow-debug-message, follow-redisplay):
16674 * jka-cmpr-hook.el (with-auto-compression-mode):
16675 Fix typos in docstrings.
16676
16677 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16678
16679 * subr.el (with-silent-modifications): Clarify somewhat what the
16680 macro inhibits (bug#6525).
16681
16682 * simple.el (eval-expression): Note what it does if called
16683 interactively (bug#6495).
16684
16685 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16688 Use pop-to-buffer buffer-or-name if it is nil.
16689
16690 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16691 Remove switch-to-buffer.
16692
16693 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16694
16695 * files.el (make-directory): Clarify that an error will be raised
16696 if there's an error (bug#6397).
16697
16698 * startup.el (initial-buffer-choice): Add `none' as a choice
16699 (bug#6234).
16700
16701 * subr.el (add-hook): Clarify section about buffer-local hooks
16702 (bug#6218).
16703
16704 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16705
16706 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16707
16708 * tabify.el (untabify): Preserve the current column so that point
16709 doesn't move (bug#6032).
16710
16711 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16712
16713 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16714 Rewrite to avoid awkward possessive "s" (bug#5986).
16715
16716 2011-07-13 Glenn Morris <rgm@gnu.org>
16717
16718 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16719 (dired-insert-directory): Give a message the first time
16720 if ls is found not to support --dired.
16721
16722 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16723
16724 * simple.el (toggle-truncate-lines): Clarify what is toggled
16725 (bug#5580). Text by Drew Adams.
16726
16727 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16728
16729 * simple.el (blink-matching-open): Make the error message from the
16730 last change less verbose.
16731
16732 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16733
16734 * font-lock.el (font-lock-comment-face): Use the high contrast
16735 "yellow" color for font-lock-comment-face on low color terminals
16736 using a dark background color (bug#4221).
16737
16738 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16739
16740 * dired.el (dired-insert-set-properties): Make the doc string
16741 reflect what it does now (bug#5325).
16742
16743 * simple.el (blink-matching-open): Say that we were unable to find
16744 the match within the limit, if we're limited (bug#5122).
16745
16746 * international/mule-cmds.el (prefer-coding-system): Add an
16747 example (bug#4869).
16748
16749 * progmodes/etags.el (tags-search): Document `file-list-form'
16750 (bug#4731).
16751
16752 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16753
16754 * net/browse-url.el (browse-url-default-browser)
16755 (browse-url-browser-function): Make the default browser choice a
16756 bit more logical (bug#4300). Also clean up the doc string.
16757
16758 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16759
16760 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16761 binary endings (bug#4440).
16762
16763 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16764
16765 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16766 which can be pretty annoying (bug#8971).
16767
16768 * jka-compr.el (jka-compr-verbose): New variable, and use
16769 throughout (bug#8971).
16770
16771 * info.el (Info-find-file): Fall back on the installation
16772 directory if we can't find the info node anywhere else.
16773
16774 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16775
16776 * vc/vc.el (vc-revert-file):
16777 Don't set file time-stamp in the past. (Bug#5181)
16778
16779 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16780
16781 * files.el (after-find-file): Give a better error message when
16782 trying to find a symlink that points to a file that doesn't exist
16783 (bug#4398).
16784
16785 * progmodes/cc-vars.el: Remove (probably) misleading comment
16786 (bug#4396).
16787
16788 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16789
16790 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16791
16792 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16793
16794 * mouse-sel.el: Hack restoring functionality, while keeping
16795 compatibility with 2010-07-03 changes to mouse selection.
16796 (mouse-sel-primary-overlay): New var.
16797 (mouse-sel-selection-alist): Use it.
16798 (mouse-sel-mode): Doc fix; remove points that are default features
16799 of mouse.el.
16800
16801 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16802
16803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16804 Fix previous fix (bug#2490).
16805
16806 2011-07-12 Roland Winkler <winkler@gnu.org>
16807
16808 * textmodes/bibtex.el (bibtex-initialize):
16809 Use pop-to-buffer-same-window.
16810 (bibtex-search-entries): Fix interactive call.
16811
16812 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16813
16814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16815 Fontise bytecomp Error lines more correctly (bug#2490).
16816 Fix suggested by Johan Bockgård.
16817
16818 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16819
16820 * dired-x.el (dired-guess-default): Use `delete-dups'.
16821
16822 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16823
16824 * dired.el (dired-mark-prompt):
16825 * dired-aux.el (dired-read-shell-command): Doc fix.
16826
16827 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16828
16829 * mail/sendmail.el (sendmail-query-once):
16830 Use `customize-save-variable' unconditionally, now that it works under
16831 emacs -Q.
16832
16833 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16834
16835 * cus-edit.el (custom-file): Take an optional no-error variable.
16836 (customize-save-variable): Set the variable, and give a warning if
16837 running under "emacs -q".
16838
16839 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16840
16841 * loadhist.el (unload-feature-special-hooks):
16842 Add `auto-coding-functions', `fill-nobreak-predicate' and
16843 `find-directory-functions' (bug#5327).
16844
16845 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16846
16847 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16848
16849 * cus-edit.el (custom-guess-name-alist): -alist variables should
16850 use the `alist' type (bug#3120). Suggested by Drew Adams.
16851
16852 * printing.el: Add documentation to all the `pr-toggle-' commands.
16853
16854 2011-07-11 Leo Liu <sdl.web@gmail.com>
16855
16856 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16857 backends where it makes sense (bug#2623).
16858
16859 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16860
16861 * dired-x.el (dired-guess-default): Remove duplicate shell command
16862 entries (bug#2028).
16863 (dired-guess-default): Fix grammar in doc string (bug#2028).
16864 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16865
16866 * subr.el (remove-duplicates): New conveniency function.
16867
16868 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16869
16870 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16871 (bug#1526).
16872
16873 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16874
16875 * window.el (display-buffer-normalize-default): Don't invert
16876 meaning of even-window-heights. Reported by Eli Zaretskii
16877 <eliz@gnu.org>.
16878
16879 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16880
16881 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16882
16883 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * window.el (display-buffer): Fix arguments to
16886 display-buffer-reuse-window in last change.
16887
16888 * faces.el (link): Use a less saturated blue on light backgrounds.
16889
16890 * startup.el (fancy-startup-text, fancy-about-text)
16891 (fancy-startup-tail): Use font-lock faces, for background safety.
16892
16893 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16894
16895 * emulation/viper-cmd.el (viper-change-state-to-vi):
16896 Limit triggering of abbrev expansion (Bug#9038).
16897
16898 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16899
16900 * window.el (display-buffer-default-specifiers): Remove.
16901 (display-buffer-macro-specifiers): Remove default specifiers.
16902 (display-buffer-alist): Default to nil.
16903 (display-buffer-reuse-window): New optional argument other-window.
16904 (display-buffer-pop-up-window): Allow splitting internal
16905 windows. Check whether a live window was created.
16906 (display-buffer-other-window-means-other-frame)
16907 (display-buffer-normalize-arguments): Rename to
16908 display-buffer-normalize-argument and rewrite. Set the
16909 other-window specifier.
16910 (display-buffer-normalize-special): New function.
16911 (display-buffer-normalize-options): Rename to
16912 display-buffer-normalize-default and rewrite.
16913 (display-buffer-normalize-options-inhibit): Remove.
16914 (display-buffer-normalize-specifiers): Rewrite.
16915 (display-buffer): Process other-window specifier and call
16916 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16917 more faithfully.
16918 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16919 (display-buffer-alist-set): Don't handle 'unset default values.
16920 (display-buffer-in-window, display-buffer-alist-set):
16921 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16922 <tassilo@member.fsf.org>.
16923
16924 2011-07-09 Leo Liu <sdl.web@gmail.com>
16925
16926 * register.el (insert-register): Restore accidental change on
16927 2011-06-26. (Bug#9028)
16928
16929 2011-07-09 Glenn Morris <rgm@gnu.org>
16930
16931 * subr.el (remq): Handle the empty list. (Bug#9024)
16932
16933 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16934
16935 * mail/sendmail.el (send-mail-function): No longer delay custom
16936 initialization.
16937 * custom.el (custom-initialize-delay): Doc fix.
16938
16939 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16940
16941 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16942
16943 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16944
16945 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16946 human-friendly prompt.
16947
16948 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16951 provided by a particular plugin.
16952
16953 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16954
16955 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16956 save customizations (with "emacs -Q"), just set the variable
16957 instead of erroring out.
16958
16959 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16960
16961 2011-07-08 Juri Linkov <juri@jurta.org>
16962
16963 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16964 (archive-zip-update-case): Use 7z if found by `executable-find'.
16965 The order of searching the available programs is the same as in
16966 `archive-zip-extract' (bug#8968).
16967
16968 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16969
16970 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16971 (menu-bar-options-menu): Tweak descriptions.
16972
16973 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16974
16975 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16976 menu items into verb phrases (bug#1421). Also refill to fit under
16977 80 columns.
16978
16979 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16980
16981 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16982 (Info-read-node-name): Doc fix (Bug#1084).
16983
16984 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16985 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16986 (end-of-sexp, beginning-of-sexp)
16987 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16988 (forward-symbol, forward-same-syntax, word-at-point)
16989 (sentence-at-point): Doc fix (Bug#1144).
16990
16991 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16992
16993 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16994 should cover it (bug#1281).
16995
16996 * cus-edit.el (custom-show): Mark as obsolete.
16997
16998 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16999 negotiation fails, then possibly try again with a non-encrypted
17000 connection (bug#9017).
17001
17002 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17003 be used.
17004
17005 2011-07-07 Richard Stallman <rms@gnu.org>
17006
17007 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17008 property, and handle its changed format.
17009 Look for the correct line number.
17010 Use file's line contents (but not past first =) to find
17011 correct line in message.
17012
17013 2011-07-07 Kenichi Handa <handa@m17n.org>
17014
17015 * international/characters.el (build-unicode-category-table):
17016 Delete it.
17017 (unicode-category-table): Set it by unicode-property-table-internal.
17018
17019 * international/mule-cmds.el (char-code-property-alist): Move to
17020 to src/chartab.c.
17021 (get-char-code-property): Call unicode-property-table-internal to
17022 load a file. Call get-unicode-property-internal where necessary.
17023 (put-char-code-property): Call unicode-property-table-internal to
17024 load a file. Call put-unicode-property-internal where necessary.
17025 put-unicode-property-internal where necessary.
17026 (char-code-property-description):
17027 Call unicode-property-table-internal to load a file.
17028
17029 * international/charprop.el:
17030 * international/uni-bidi.el:
17031 * international/uni-category.el:
17032 * international/uni-combining.el:
17033 * international/uni-comment.el:
17034 * international/uni-decimal.el:
17035 * international/uni-decomposition.el:
17036 * international/uni-digit.el:
17037 * international/uni-lowercase.el:
17038 * international/uni-mirrored.el:
17039 * international/uni-name.el:
17040 * international/uni-numeric.el:
17041 * international/uni-old-name.el:
17042 * international/uni-titlecase.el:
17043 * international/uni-uppercase.el: Regenerate.
17044
17045 * loadup.el: Load international/charprop.el before
17046 international/characters.
17047
17048 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17049
17050 * window.el (next-buffer, previous-buffer): Signal an error if
17051 called from a minibuffer window.
17052
17053 * bindings.el: Revert 2011-07-04 change.
17054
17055 2011-07-06 Richard Stallman <rms@gnu.org>
17056
17057 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17058 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17059 Treat markers like ints.
17060 (rmail-mime-entity): Doc fix.
17061
17062 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17063
17064 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17065 defcustom again for backwards compatibility.
17066
17067 * simple.el (shell-command-on-region): Fill.
17068
17069 * dired-aux.el (dired-kill-line): Add a doc string.
17070
17071 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17072 to "\\sw\\|\\s_" (bug#358).
17073
17074 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17075 (dired-unmark-backward): Ditto.
17076 (dired-flag-backup-files): Ditto.
17077
17078 * dired-x.el (dired-mark-sexp): Ditto.
17079
17080 2011-07-06 Richard Stallman <rms@gnu.org>
17081
17082 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17083 (rmail-mime-entity): New arg TRUNCATED.
17084 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17085 New functions.
17086 (rmail-mime-save): Warn if entity is truncated.
17087 (rmail-mime-toggle-hidden): Likewise, for showing.
17088 (rmail-mime-process-multipart): Record when an entity is truncated.
17089
17090 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17091 if ENTITY is a string.
17092
17093 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17094
17095 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17096 of faces when `M-C-x'-ing their definitions (bug#8378).
17097 Also clean up the code slightly.
17098
17099 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17100 because that makes the colors go away.
17101
17102 * mail/sendmail.el (send-mail-function): Change the default to
17103 `sendmail-query-once'.
17104 (sendmail-query-once): Add an autoload cookie.
17105
17106 * net/network-stream.el (network-stream-open-starttls): Try using
17107 a plain connection even if the server offered STARTTLS, and we
17108 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17109 capability. This should make smtpmail.el work in slightly more
17110 configurations.
17111
17112 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17113
17114 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17115 New defun.
17116 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17117
17118 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17119
17120 * progmodes/sql.el: Version 3.0
17121 (sql-product-alist): Add product :completion-object,
17122 :completion-column, and :statement attributes.
17123 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17124 (sql-mode-syntax-table): Mark all punctuation.
17125 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17126 ansi keywords.
17127 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17128 (sql-mode-oracle-font-lock-keywords): Improve.
17129 (sql-oracle-show-reserved-words): New function for development.
17130 (sql-product-font-lock): Simplify for source code buffers.
17131 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17132 New functions.
17133 (sql-highlight-product): Set product specific syntax table.
17134 (sql-mode-map): Add statement movement functions.
17135 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17136 New variable.
17137 (sql-statement-regexp, sql-beginning-of-statement)
17138 (sql-end-of-statement, sql-signum): New functions.
17139 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17140 (sql-show-sqli-buffer): Bug fix.
17141 (sql-interactive-mode): Store connection data as buffer local.
17142 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17143 with sql-interactive-mode.
17144 (sql-save-connection): Save buffer local settings.
17145 (sql-connection-menu-filter): Change menu entry name.
17146 (sql-product-interactive): Bug fix.
17147 (sql-preoutput-hold): New variable.
17148 (sql-interactive-remove-continuation-prompt): Bug fixes.
17149 (sql-debug-redirect): New variable.
17150 (sql-str-literal): New function.
17151 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17152 Redesign.
17153 (sql-oracle-save-settings, sql-oracle-restore-settings)
17154 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17155 (sql-completion-object, sql-completion-column)
17156 (sql-completion-sqlbuf): New variables.
17157 (sql-build-completions-1, sql-build-completions)
17158 (sql-try-completion): New functions.
17159 (sql-read-table-name): Use them.
17160 (sql-contains-names): New buffer local variable.
17161 (sql-list-all, sql-list-table): Use it.
17162 (sql-oracle-completion-types): New variable.
17163 (sql-oracle-completion-object, sql-sqlite-completion-object)
17164 (sql-postgres-completion-object): New functions.
17165
17166 2011-07-06 Glenn Morris <rgm@gnu.org>
17167
17168 * window.el (pop-to-buffer): Doc fix.
17169
17170 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17171
17172 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17173
17174 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17175
17176 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17177
17178 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17179
17180 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17181
17182 * button.el (button): Inherit from link face. Suggested by Dan
17183 Nicolaescu.
17184
17185 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17186
17187 * progmodes/gdb-mi.el: Fit in 80 columns.
17188 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17189 switch-to-buffer.
17190
17191 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17192 if imenu is simply not configured (bug#8941).
17193
17194 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17195
17196 * allout.el (allout-post-undo-hook): New allout outline-change
17197 event hook to signal undo activity.
17198 (allout-post-command-business): Run allout-post-undo-hook if an
17199 undo just occurred.
17200 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17201 * allout-widgets.el (allout-widgets-after-undo-function):
17202 Ensure the integrity of the current item's decoration after it has been
17203 in the vicinity of an undo.
17204 (allout-widgets-mode): Include allout-widgets-after-undo-function
17205 on the new allout-post-undo-hook.
17206
17207 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17210 Let define-derived-mode define it.
17211 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17212 cycles of abbrev-table inheritance (bug#8998).
17213
17214 2011-07-05 Roland Winkler <winkler@gnu.org>
17215
17216 * textmodes/bibtex.el: Add support for biblatex.
17217 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17218 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17219 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17220 (bibtex-entry-alist, bibtex-field-alist): New variables.
17221 (bibtex-entry-field-alist): Obsolete alias for
17222 bibtex-BibTeX-entry-alist.
17223 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17224 (bibtex-set-dialect): New command.
17225 (bibtex-entry-type, bibtex-entry-head)
17226 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17227 Bind via bibtex-set-dialect.
17228 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17229 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17230 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17231 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17232 Define via bibtex-set-dialect.
17233 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17234 Obey bibtex-no-opt-remove-re.
17235 (bibtex-vec-push, bibtex-vec-incr): New functions.
17236 (bibtex-format-entry, bibtex-field-list)
17237 (bibtex-print-help-message, bibtex-validate)
17238 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17239
17240 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17241
17242 * progmodes/compile.el (compilation-goto-locus):
17243 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17244 * bs.el (bs-cycle-next, bs-cycle-previous):
17245 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17246 * bindings.el (mode-line-other-buffer):
17247 * autoinsert.el (auto-insert):
17248 * arc-mode.el (archive-extract):
17249 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17250
17251 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17252
17253 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17254 Fix check of `emacs-lock-unlockable-modes'.
17255 Coerce true values of `emacs-lock--try-unlocking' to t.
17256
17257 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17258
17259 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17260 * emacs-lock.el: New file.
17261
17262 2011-07-05 Julien Danjou <julien@danjou.info>
17263
17264 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17265 than `boundp' to check if face is set.
17266
17267 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17268
17269 * register.el (registerv-make):
17270 * window.el (window-min-height): Fix typos in docstrings.
17271
17272 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17273
17274 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17275 Update doc string.
17276
17277 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17278
17279 * server.el (server-execute): Catch quit and call
17280 `server-return-error' to pass the error back to emacsclient and
17281 close the connection (bug#8942).
17282
17283 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17284
17285 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17286 insecure exception for current topic. Also note that auto-saves
17287 are handled differently.
17288
17289 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17290 State variables for tracking auto-save inhibition situation.
17291
17292 (allout-write-contents-hook-handler): Rename from
17293 'allout-write-file-hook-handler', and describe how it depends on
17294 write-contents-functions sensitivity to non-nil value to prevent
17295 file write.
17296
17297 (allout-auto-save-hook-handler): Remove. auto-save does not check
17298 this in individual buffers, only in the starting buffer, so this
17299 is not the right way for us to inhibit auto-save in a buffer
17300 according to its condition.
17301
17302 (allout-mode): Use new allout-write-contents-hook-handler, and
17303 only with write-contents-functions. Remove auto-save provisions -
17304 they're implemented elsewhere.
17305
17306 (allout-before-change-handler): If undo is in progress, note that
17307 for attention of allout-post-command-business.
17308
17309 (allout-post-command-business): If the command we're following was
17310 an undo, check for change in the status of encrypted items and
17311 adjust auto-save inhibitions accordingly.
17312
17313 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17314 according to whether there are or aren't any plain-text topics
17315 pending encryption.
17316
17317 (allout-inhibit-auto-save-info-for-decryption):
17318 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17319 if there are plain-text topics pending encryption.
17320
17321 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17322 buffer-saved-size and some allout state to not inhibit auto-saves
17323 if there are no longer any plain-text topics pending encryption.
17324
17325 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17326 No longer provide for exemption of the current topic.
17327
17328 2011-07-04 Juri Linkov <juri@jurta.org>
17329
17330 Add 7z operations to delete and save changed members (bug#8968).
17331 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17332 New defcustoms.
17333 (archive-7z-write-file-member): New function.
17334 (archive-7z-summarize): Fix the number of dashes in the
17335 listing output.
17336
17337 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17340 (bug#8958).
17341
17342 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17343
17344 * bindings.el: Ignore next-buffer and previous-buffer in
17345 minibuffer-local-map.
17346
17347 * font-lock.el (font-lock-builtin-face): Change light background
17348 color to dark slate blue (Bug#6693).
17349
17350 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17351
17352 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17353
17354 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17357 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17358 Add switch-to-buffer.
17359
17360 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17361
17362 * isearch.el (isearch-search-fun-function): Clarify further the
17363 meaning of the function returned.
17364
17365 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17366
17367 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17368
17369 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17370 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17371 Use it.
17372 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17373 `tramp-default-remote-path' does not exist.
17374 (tramp-send-command-and-read): New optional argument NOERROR.
17375 (tramp-open-connection-setup-interactive-shell)
17376 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17377 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17378 (tramp-process-sentinel): Flush also process' connection property.
17379 (tramp-sh-handle-start-file-process): Do not set process
17380 sentinel. It is done now ...
17381 (tramp-maybe-open-connection): ... here. (Bug#8929)
17382
17383 2011-07-04 MON KEY <monkey@sandpframing.com>
17384
17385 * play/animate.el (animate-string): Doc fixes and allow changing
17386 the buffer name (bug#5417).
17387
17388 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17389
17390 * play/animate.el (animation-buffer-name): Rename from *animate*.
17391
17392 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17393
17394 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17395 This is simpler and helps future-proof the code.
17396 (timer-until): Use time-subtract and float-time.
17397 (timer--time-less-p): Use time-less-p.
17398
17399 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17400
17401 * type-break.el (timep): Use the value of `float-time' to avoid a
17402 byte-compiler warning.
17403
17404 * server.el (server-eval-and-print): Return any result, even nil.
17405
17406 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17407
17408 * type-break.el: Accept time formats that the builtins accept.
17409 (timep, type-break-time-difference): Accept any format that
17410 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17411 This is simpler and helps future-proof the code.
17412 (type-break-time-difference): Round rather than ignoring
17413 subseconds components.
17414
17415 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17416
17417 * info.el (Info-apropos-matches): Make non-interactive, since it
17418 doesn't seem to do anything useful as a command (bug#8829).
17419
17420 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17421
17422 * frame.el (frame-background-mode, frame-set-background-mode):
17423 Move from faces.el.
17424 (frame-default-terminal-background): New function.
17425
17426 * custom.el (custom-push-theme): Don't record faces in `changed'
17427 theme; this doesn't work correctly for per-frame face settings.
17428 (disable-theme): Use face-set-after-frame-default to reset faces.
17429 (custom--frame-color-default): New function.
17430
17431 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17432
17433 * dired.el (dired-flagging-regexp): Remove unused variable
17434 (bug#8769).
17435
17436 2011-03-29 Kevin Ryde <user42@zip.com.au>
17437
17438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17439 `perl-Test2' extend to match possible "fail #N" rep count
17440 (bug#8377).
17441
17442 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17443
17444 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17445 `smtpmail-via-smtp' now returns the error instead of nil.
17446
17447 * isearch.el (isearch-search-fun-function): Clarify the doc string
17448 (bug#8101).
17449
17450 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17451
17452 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17453 unnecessary spaces (bug#8987).
17454
17455 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17456
17457 * net/network-stream.el (open-network-stream): Use the
17458 :end-of-capability command thoughout.
17459
17460 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17461
17462 * net/network-stream.el (open-network-stream): Add the
17463 :end-of-capability command parameter, used by pop3.el.
17464
17465 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17466
17467 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17468
17469 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17470 for list)" (bug#6475).
17471
17472 * files.el (file-expand-wildcards): Ignore non-readable
17473 sub-directories while trying to find matches instead of signaling
17474 an error (bug#6297).
17475
17476 * man.el (Man-reference-regexp): Allow matching possible
17477 word-wrapped references (bug#6289).
17478
17479 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17480 for consistency with the other vc buffers (bug#6197).
17481 (vc-checkin): Ditto.
17482
17483 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17484
17485 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17486
17487 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17488
17489 * custom.el (defcustom): Clarify that :set is only used in the
17490 Customize user interface (bug#6089).
17491
17492 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17493 associated with a file, refuse to run instead of erroring out
17494 (bug#6084).
17495
17496 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17497 the doc string, since it appears that using `fill-column' always
17498 controls the width (bug#7845).
17499
17500 * simple.el (shell-command-on-region): Say where the error output
17501 went if `shell-command-default-error-buffer' is set (bug#6857).
17502
17503 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17504
17505 * allout.el (allout-yank-processing): Adjust cursor position for
17506 backwards-deleted space.
17507
17508 (allout-rebullet-heading): Register changes with
17509 allout-exposure-changed-hook, so the modified topic is properly
17510 decorated.
17511
17512 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513
17514 * minibuffer.el (completion-in-region): Document PREDICATE
17515 (bug#7136).
17516
17517 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17518 of keyword/argument pairs (bug#6904).
17519
17520 * replace.el (multi-occur):
17521 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17522
17523 2011-07-02 Drew Adams <drew.adams@oracle.com>
17524
17525 * dired.el (dired-mark-if): Make the message about whether it's
17526 marking or unmarking clearer (bug#8523).
17527
17528 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17529
17530 * disp-table.el (display-table-print-array): New function.
17531 (describe-display-table): Use it to print the vectors more pretty
17532 (Bug#8859).
17533
17534 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17535
17536 * window.el (window-state-get-1): Don't assign clone numbers.
17537 Add clone-of item to list of window parameters.
17538 (window-state-put-2): Don't process clone numbers.
17539 (display-buffer-alist): Fix doc-string.
17540
17541 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17542
17543 * subr.el (remq): Don't allocate if it's not needed.
17544 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17545 (keymap--merge-bindings): New functions.
17546 (keymap-canonicalize): Use them to refine the canonicalization.
17547 * minibuffer.el (minibuffer-local-completion-map)
17548 (minibuffer-local-must-match-map): Move initialization from C.
17549 (minibuffer-local-filename-completion-map): Move initialization from C;
17550 don't inherit from anything here.
17551 (minibuffer-local-filename-must-match-map): Make obsolete.
17552 (completing-read-default): Use make-composed-keymap to combine
17553 minibuffer-local-filename-completion-map with either
17554 minibuffer-local-must-match-map or
17555 minibuffer-local-filename-completion-map.
17556
17557 2011-07-01 Glenn Morris <rgm@gnu.org>
17558
17559 * type-break.el (type-break-time-sum): Use dolist.
17560
17561 * textmodes/flyspell.el (flyspell-word-search-backward):
17562 Replace CL function.
17563
17564 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 * mouse.el (mouse--strip-first-event): New function.
17567 (function-key-map): Use it to map fringe clicks to normal clicks
17568 by default.
17569
17570 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17571 (vc-bzr-revision-completion-table): Add support for annotate and date.
17572
17573 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17574 inherit from parent.
17575
17576 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17577
17578 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17579 (dired-show-file-type): Doc fixup (bug#8818).
17580
17581 * dired.el (dired-mode): Fix up the doc string as suggested by
17582 Drew Adams (bug#8817).
17583
17584 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17585 cookie, since the manual says that it should be possible to add
17586 this function to `find-file-hook' (bug#8709).
17587
17588 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17589
17590 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17591 here. Noted Ted Zlatanov as the maintainer.
17592 (cfengine-common-settings, cfengine-common-syntax): New functions
17593 to set up common things between `cfengine-mode' and
17594 `cfengine3-mode'.
17595 (cfengine3-mode): New mode.
17596 (cfengine3-defuns cfengine3-defuns-regex
17597 (cfengine3-class-selector-regex cfengine3-category-regex)
17598 (cfengine3-vartypes cfengine3-font-lock-keywords)
17599 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17600 (cfengine3-indent-line): Add from cfengine3.el.
17601
17602 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17603
17604 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17605
17606 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17607
17608 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17609
17610 * window.el (same-window-buffer-names, same-window-regexps)
17611 (same-window-p, special-display-frame-alist)
17612 (special-display-popup-frame, special-display-function)
17613 (special-display-buffer-names, special-display-regexps)
17614 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17615 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17616 (split-window-preferred-function, split-height-threshold)
17617 (split-width-threshold, even-window-heights)
17618 (display-buffer-mark-dedicated, window-splittable-p)
17619 (split-window-sensibly, window-safely-shrinkable-p):
17620 Un-obsolete.
17621 (display-buffer): Don't spread args with function specifier
17622 because special-display-popup-frame won't like it.
17623
17624 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17625
17626 Time-stamp simplifications and fixes.
17627 These improve accuracy slightly, and future-proof the code
17628 against some potential changes to current-time format.
17629
17630 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17631 by using time-since and float-time.
17632
17633 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17634 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17635 + NNN microseconds".
17636
17637 * type-break.el (type-break-time-sum): Rewrite using time-add.
17638
17639 * play/hanoi.el (hanoi-current-time-float): Remove.
17640 All uses replaced by float-time.
17641
17642 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17643 This yields a more-accurate answer.
17644 (rng-time-to-float): Remove; no longer needed.
17645
17646 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17647
17648 * calendar/timeclock.el (timeclock-seconds-to-time):
17649 Defalias to seconds-to-time, since they're the same thing.
17650
17651 * emacs-lisp/elp.el (elp-elapsed-time):
17652 * emacs-lisp/benchmark.el (benchmark-elapse):
17653 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17654
17655 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17656
17657 * window.el (bury-buffer): Don't iconify the only frame.
17658 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17659 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17660
17661 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17662
17663 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17664 Add mouse-yank-primary.
17665
17666 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17667
17668 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17669
17670 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17673 (find-library-name): Use it to find relative load names when provided
17674 absolute file name (bug#8803).
17675
17676 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17677
17678 * textmodes/flyspell.el (flyspell-word): Consider words that
17679 differ only in case as potential doublons (bug#5687).
17680
17681 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17682 Remove two rather uninteresting debugging-like messages to make
17683 debbugs.el more silent.
17684
17685 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17686 a password-like phrase.
17687
17688 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17689
17690 * progmodes/cc-guess.el: New file.
17691
17692 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17693
17694 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17695 derived from `c-basic-common-init'.
17696
17697 * progmodes/cc-mode.el (top-level): Require cc-guess.
17698 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17699
17700 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17701
17702 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17703
17704 2011-06-30 Alan Mackenzie <acm@muc.de>
17705
17706 * progmodes/cc-engine.el (c-guess-continued-construct):
17707 Correct the handling of template-args-cont, particularly for when font
17708 lock is disabled. Name this case as "CASE G".
17709
17710 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17711
17712 * allout.el (allout-yank-processing): Fix injection of extra space
17713 between bullet and non-whitespace character in first topic when
17714 pasting, ensuring that the actual spacing in the pasted topic
17715 following the bullet char is preserved. This extra space was
17716 causing pasted encrypted topics to get a decrypted status even
17717 when the content was actually still encrypted. Now the decryption
17718 status from before the paste is preserved.
17719
17720 (allout-flag-region): Set all allout overlays so they evaporate
17721 when reduced to zero length (evanescent), to prevent overlay
17722 leakage.
17723
17724 2011-06-30 Glenn Morris <rgm@gnu.org>
17725
17726 * w32-fns.el (w32-charset-info-alist): Declare.
17727
17728 * find-dired.el (find-grep-options): Simplify.
17729
17730 * term/ns-win.el (ns-set-resource): Declare.
17731
17732 * ses.el (row, col): Declare dynamic variables honestly.
17733
17734 * textmodes/reftex-parse.el (index-tags): Declare.
17735
17736 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17737
17738 * cus-edit.el (customize-push-and-save): New function.
17739
17740 * files.el (hack-local-variables-confirm): Use it.
17741
17742 * custom.el (load-theme): New arg NO-CONFIRM.
17743 Use customize-push-and-save (Bug#8720).
17744 (custom-enabled-themes): Doc fix.
17745
17746 * cus-theme.el (customize-create-theme)
17747 (custom-theme-merge-theme): Callers to load-theme changed.
17748
17749 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17750
17751 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17752 short URLs have at least one dot in them (bug #7614).
17753
17754 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17755 nil, because using a pty is apparently too slow (bug #895).
17756
17757 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17758
17759 * mail/sendmail.el (sendmail-query-once): New function.
17760 (sendmail-query-once-function): New variable.
17761
17762 2011-06-29 Glenn Morris <rgm@gnu.org>
17763
17764 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17765
17766 * ses.el (top-level): Require cl when compiling.
17767 (ses-set-localvars): Fix error statement.
17768 Call it at compile time to silence a storm of warnings.
17769
17770 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17771
17772 * window.el (normalize-live-buffer): Rename to
17773 window-normalize-buffer.
17774 (normalize-live-frame): Rename to window-normalize-frame.
17775 (normalize-any-window): Rename to window-normalize-any-window.
17776 (normalize-live-window): Rename to window-normalize-live-window.
17777 (make-window-atom): Rename to window-make-atom.
17778 (window-resize-reset): Rename to window--resize-reset.
17779 (window-resize-reset-1): Rename to window--resize-reset-1.
17780 (resize-mini-window): Rename to window--resize-mini-window.
17781 (resize-subwindows-skip-p): Rename to
17782 window--resize-subwindows-skip-p.
17783 (resize-subwindows-normal): Rename to
17784 window--resize-subwindows-normal.
17785 (resize-subwindows): Rename to window--resize-subwindows.
17786 (resize-other-windows): Rename to window--resize-siblings.
17787 (resize-this-window): Rename to window--resize-this-window.
17788 (resize-root-window): Rename to window--resize-root-window.
17789 (resize-root-window-vertically): Rename to
17790 window--resize-root-window-vertically.
17791 (normalize-buffer-to-display): Rename to
17792 window-normalize-buffer-to-display.
17793 (normalize-buffer-to-switch-to): Rename to
17794 window-normalize-buffer-to-switch-to.
17795 Correspondingly update all callers of the functions listed
17796 above.
17797 (display-buffer-alist, display-buffer-normalize-arguments)
17798 (display-buffer-normalize-options, display-buffer)
17799 (display-buffer-alist-set): Use "function" instead of
17800 "fun-with-args".
17801
17802 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17803
17804 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17805 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17806 debbugs.gnu.org. Mention acknowledgment email.
17807
17808 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17809
17810 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17811 buffer multibyteness, since it shouldn't matter.
17812
17813 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17814
17815 * window.el (display-buffer-in-side-window): Handle dedicated
17816 windows as in display-buffer-reuse-window.
17817 (display-buffer-normalize-alist): Use value of override
17818 specifier.
17819 (display-buffer-normalize-specifiers): Use value of
17820 other-window-means-other-frame specifier.
17821 (display-buffer-alist): Rewrite some texts in widgets.
17822 (display-buffer): Spread arguments when calling function
17823 specified by fun-with-args.
17824
17825 2011-06-28 Deniz Dogan <deniz@dogan.se>
17826
17827 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17828 Unnest `let'.
17829
17830 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17831 selectors (Bug#5732).
17832 (css-proprietary-nmstart-re): Use `regexp-opt'.
17833
17834 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17835
17836 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17837 (eshell-ls-date-format): New defcustom.
17838 (eshell-ls-file): Use it.
17839
17840 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17841
17842 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17843
17844 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17845
17846 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17847 (ange-ftp-make-tmp-name): New arg.
17848 (ange-ftp-file-local-copy): Use it.
17849
17850 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17851
17852 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17853 no-conversion (Bug#8870).
17854
17855 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17856
17857 * window.el (window-right, window-left, window-child)
17858 (window-child-count, window-last-child)
17859 (window-iso-combination-p, walk-window-tree-1)
17860 (window-atom-check-1, window-tree-1, delete-window)
17861 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17862 new naming conventions - window-vchild, window-hchild,
17863 window-next and window-prev are now called window-top-child,
17864 window-left-child, window-next-sibling and window-prev-sibling
17865 respectively.
17866 (resize-window-reset): Rename to window-resize-reset.
17867 (resize-window-reset-1): Rename to window-resize-reset-1.
17868 (resize-window): Rename to window-resize.
17869 (window-min-height, window-min-width)
17870 (resize-mini-window, resize-this-window, resize-root-window)
17871 (resize-root-window-vertically, adjust-window-trailing-edge)
17872 (enlarge-window, shrink-window, maximize-window)
17873 (minimize-window, delete-window, quit-restore-window)
17874 (split-window, balance-windows, balance-windows-area-adjust)
17875 (balance-windows-area, window-state-put-2)
17876 (display-buffer-even-window-sizes, display-buffer-set-height)
17877 (display-buffer-set-width, set-window-text-height)
17878 (fit-window-to-buffer): Rename all "resize-window" prefixed
17879 calls to use the "window-resize" prefix convention.
17880 (display-buffer-alist): Fix symbol for label specifier.
17881 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17882 corresponding specifier.
17883 Reported by Juanma Barranquero <lekktu@gmail.com>.
17884
17885 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17886
17887 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17888 convention.
17889 (ses-call-printer): Does not pass an empty string to formatter when the
17890 cell is empty to keep from barking printer Calc math-format-value.
17891
17892 2011-06-27 Richard Stallman <rms@gnu.org>
17893
17894 * battery.el (battery-mode-line-limit): New variable.
17895 (battery-update): Handle it.
17896
17897 * mail/rmailmm.el (rmail-mime-process-multipart):
17898 Handle truncated messages.
17899
17900 2011-06-27 Glenn Morris <rgm@gnu.org>
17901
17902 * progmodes/flymake.el (flymake-err-line-patterns):
17903 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17904
17905 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17906
17907 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17908 (ses--clean-!, ses--clean-_): New functions.
17909 (ses-range): Add configurability of readout order, and conversion
17910 to Calc vector.
17911
17912 * ses.el (ses-repair-cell-reference-all): New function.
17913 (ses-cell-symbol): Set macro as safe, so that it can be used in
17914 formulas.
17915
17916 * ses.el: Update cycle detection algorithm.
17917 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17918 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17919 (ses-set-localvars): New function.
17920 (ses-make-cell): Add property-list as a cell element.
17921 (ses-cell-property-get-fun, ses-cell-property-get)
17922 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17923 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17924 New functions.
17925 (ses-cell-property-set, ses-cell-property-pop)
17926 (ses-cell-property-get-handle): New macro.
17927 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17928 New aliases, used for code readability.
17929 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17930 cycle detection.
17931 (ses-self-reference-early-detection): New defcustom.
17932 (ses-formula-references): Robustify against self-referring cells.
17933 (ses-mode): Use ses-set-localvars.
17934 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17935 before lauching the update processing.
17936 (ses-initialize-Dijkstra-attempt): New function.
17937 (ses-recalculate-cell): Update for cycle detection based on
17938 Dijkstra algorithm.
17939
17940 * ses.el: Fix commenting and indenting convention.
17941
17942 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 * bs.el (bs-cycle-next): Complete last change.
17945
17946 2011-06-27 Drew Adams <drew.adams@oracle.com>
17947
17948 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17949
17950 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17951
17952 * net/network-stream.el (network-stream-open-starttls):
17953 Don't re-get capabilities unless we've reestablished connection.
17954 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17955
17956 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17957 to binary to possibly avoid line encoding issues on Windows (among
17958 other things).
17959
17960 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17961
17962 * net/network-stream.el (open-network-stream): Return an :error
17963 saying what the problem was, if possible.
17964
17965 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17966 server.
17967
17968 * net/network-stream.el (network-stream-open-starttls): If we
17969 wanted to use STARTTLS, and the server offered it, but we weren't
17970 able to because we had no STARTTLS support, then close the connection.
17971 (open-network-stream): Return an :error element, if present.
17972
17973 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17974
17975 * hl-line.el (hl-line-sticky-flag): Doc fix.
17976 (global-hl-line-sticky-flag): New option (Bug#8323).
17977 (global-hl-line-highlight): Obey it.
17978
17979 * vc/vc.el (vc-revert-show-diff): Default to t.
17980
17981 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17982
17983 * allout-widgets.el (allout-widgets-post-command-business):
17984 Stop decorating intermediate isearch matches. They're not being
17985 undecorated when an isearch is continued past, and isearch
17986 automatically collapses them. This leads to "widget leaks", where
17987 decorated items accumulate in collapsed areas. Lines with lots of
17988 hidden widgets can slow down cursor travel, substantially.
17989 Too much complicated machinery would be needed to ensure undecoration,
17990 so we're doing without this nicety.
17991
17992 (allout-widgets-tally-string): Don't try to do a hash-table-count
17993 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17994 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17995 *Messages* when allout-widgets-maintain-tally is t.
17996
17997 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17998
17999 * window.el (display-buffer-normalize-argument): Rename to
18000 display-buffer-normalize-arguments. Handle special meaning of
18001 LABEL argument. Respect special-display-function when popping up
18002 a new frame. Fix code searching for a window showing the buffer
18003 on another frame.
18004 (display-buffer-normalize-specifiers):
18005 Call display-buffer-normalize-arguments.
18006 (display-buffer-in-window): Don't undedicate the window if its
18007 buffer remains the same.
18008 Reported by Drew Adams <drew.adams@oracle.com>.
18009 (display-buffer-alist): Add choice for same-window macro
18010 specfier.
18011 (display-buffer): Mention special meaning of LABEL argument in
18012 doc-string. Fix quoting. Don't pop up a new frame even as
18013 fallback.
18014
18015 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18016
18017 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18018 avoid deleting the current window in some cases (bug#8911).
18019
18020 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18021
18022 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18023 (Bug#8934)
18024
18025 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18026
18027 * net/network-stream.el (network-stream-open-starttls):
18028 Use built-in TLS support if `gnutls-available-p' is true.
18029 (network-stream-open-tls): Ditto.
18030
18031 2011-06-26 Leo Liu <sdl.web@gmail.com>
18032
18033 * register.el (registerv): New struct.
18034 (registerv-make): New function.
18035 (jump-to-register, describe-register-1, insert-register):
18036 Support the jump-func, print-func and insert-func slot of a registerv
18037 struct. (Bug#8415)
18038
18039 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18040
18041 * vc/vc.el (vc-revert-show-diff): New defcustom.
18042 (vc-diff-internal): New arg specifying diff buffer.
18043 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18044 reuse an existing *vc-diff* buffer (Bug#8927).
18045
18046 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18047
18048 2011-06-26 Glenn Morris <rgm@gnu.org>
18049
18050 * progmodes/f90.el (f90-critical-indent): New option.
18051 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18052 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18053 (f90-mode): Doc fix.
18054 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18055 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18056 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18057 (f90-match-end): Handle block, critical.
18058
18059 2011-06-25 Glenn Morris <rgm@gnu.org>
18060
18061 * calendar/diary-lib.el (diary-included-files): Doc fix.
18062 (diary-include-files): New function, extracted from
18063 diary-include-other-diary-files and diary-mark-included-diary-files.
18064 (diary-include-other-diary-files, diary-mark-included-diary-files):
18065 Just call diary-include-files.
18066 (diary-mark-entries): Reset diary-included-files on first call.
18067
18068 * calendar/diary-lib.el (diary-mark-entries)
18069 (diary-mark-included-diary-files):
18070 Visit included diary-files in temp buffers.
18071
18072 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18073 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18074 (f90-start-block-re, f90-imenu-generic-expression)
18075 (f90-looking-at-program-block-start, f90-no-block-limit):
18076 Add support for submodules.
18077
18078 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18079 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18080
18081 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18082
18083 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18084 buffer-file-type before setting its value, to avoid disastrous
18085 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18086
18087 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18088
18089 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18090
18091 * ses.el (ses-unload-function):
18092 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18093
18094 * proced.el (proced-unload-function):
18095 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18096
18097 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18098
18099 * server.el (server-create-window-system-frame): Add parameters arg.
18100 (server-process-filter): Doc fix. Handle frame-parameters.
18101
18102 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18103
18104 Fix bug#8730, bug#8781.
18105
18106 * loadhist.el (unload--set-major-mode): New function.
18107 (unload-feature): Use it.
18108
18109 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18110 (python-unload-function): New function.
18111
18112 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18113
18114 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18115
18116 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18117
18118 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18119 the candidates list.
18120
18121 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18122
18123 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18124
18125 2011-06-23 Richard Stallman <rms@gnu.org>
18126
18127 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18128 (rmail-variables): Set next-error-move-function.
18129 (rmail-what-message): Take argument POS.
18130 (rmail-next-error-move): New function.
18131
18132 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18133
18134 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18135 messages for adjacent non-terminals.
18136
18137 2011-06-23 Richard Stallman <rms@gnu.org>
18138
18139 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18140 (rmail-show-message-1): Preserve buffer modified flag.
18141 (rmail-start-mail): Don't specify use of rmail-mail-return;
18142 that's done by mail-bury now.
18143 (rmail-mail-return): Handle arg NEWBUF.
18144
18145 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18146
18147 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18148 SIZE is a number.
18149
18150 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18151
18152 * window.el (get-lru-window, get-mru-window)
18153 (get-largest-window): Never return a minibuffer window.
18154 (display-buffer-pop-up-window): Fix a bug that could lead to
18155 reusing the minibuffer window.
18156 (display-buffer): Pass original specifier argument to
18157 display-buffer-function instead of the normalized one.
18158 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18159
18160 2011-06-22 Leo Liu <sdl.web@gmail.com>
18161
18162 * minibuffer.el (completing-read-function)
18163 (completing-read-default): Move from minibuf.c.
18164
18165 2011-06-22 Richard Stallman <rms@gnu.org>
18166
18167 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18168 to Rmail even if not started by a special Rmail command.
18169
18170 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18171 Copy the buffer currently showing just one message.
18172
18173 2011-06-22 Roland Winkler <winkler@gnu.org>
18174
18175 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18176 (bibtex-clean-entry): First delete the old key so that a
18177 customized algorithm for generating the new key does not get
18178 confused by the old key.
18179 (bibtex-url): Obey regexp of first step.
18180 (bibtex-search-entries): Do not use add-to-list with local
18181 list-var.
18182
18183 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18184
18185 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18186 stored a user name, then query for the password first, instead of
18187 waiting for SMTP to give an error message and the trying again.
18188
18189 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18190
18191 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18192 BUFFER in call-process.
18193
18194 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18195
18196 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18197 QUIT twice.
18198 (smtpmail-try-auth-methods): Require user name and password from
18199 auth-source.
18200
18201 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18202
18203 * window.el (display-buffer-default-specifiers)
18204 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18205 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18206 (split-window): Normalize SIDE argument (Bug#8916).
18207
18208 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18209 (special-display-frame-alist, special-display-popup-frame):
18210 Remove duplicate declarations. These are now in window.el.
18211
18212 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18213
18214 * mail/smtpmail.el (smtpmail-via-smtp):
18215 Set :use-starttls-if-possible so that we always use STARTTLS if the
18216 server supports it. SMTP servers that support STARTTLS commonly
18217 require it.
18218
18219 * net/network-stream.el (network-stream-open-starttls): Support
18220 upgrading to STARTTLS always, even if we don't have built-in support.
18221 (open-network-stream): Add the :always-query-capabilities keyword.
18222
18223 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18224 upgrades with `open-network-stream', and rely solely on
18225 auth-source for all credentials. Big changes throughout the file,
18226 but in particular:
18227 (smtpmail-auth-credentials): Remove.
18228 (smtpmail-starttls-credentials): Remove.
18229 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18230 MAIL FROM, too.
18231
18232 * net/network-stream.el (network-stream-open-starttls):
18233 Provide support for client certificates both for external and built-in
18234 STARTTLS.
18235 (auth-source): Require.
18236 (open-network-stream): Document the :client-certificate keyword.
18237 (network-stream-certificate): Change cert-cert to cert and
18238 cert-key to key.
18239
18240 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18241
18242 * net/tramp-cache.el (top): Don't load the persistency file when
18243 "emacs -Q" has been called.
18244
18245 2011-06-21 Tim Harper <timcharper@gmail.com>
18246
18247 * term/ns-win.el (ns-initialize-window-system):
18248 Set application-specific `ApplePressAndHoldEnabled' system
18249 resource to NO as it is not yet supported by the NS port.
18250
18251 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18252
18253 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18254 (list-dynamic-libraries): ...not here.
18255
18256 2011-06-21 Leo Liu <sdl.web@gmail.com>
18257
18258 * subr.el (sha1): Implement sha1 using secure-hash.
18259
18260 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18261
18262 * window.el (display-buffer-alist): In default value do not
18263 enforce searching a window on any but the selected frame.
18264 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18265 (display-buffer-select-window): Remove function.
18266 (display-buffer-in-window): When a window on another frame gets
18267 reused, do not select it any more but just raise its frame if
18268 necessary (Bug#8851) and (Bug#8856).
18269 (display-buffer-normalize-options): Handle pop-up-frames related
18270 options more faithfully.
18271 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18272 window if it is on another frame.
18273 (display-buffer-alist, display-buffer-default-specifiers):
18274 Don't make new frame unsplittable by default.
18275 (display-buffer-normalize-argument): Fix doc-string typo and use
18276 'same-frame-other-window instead of 'other-window when associating
18277 with display-buffer-macro-specifiers.
18278
18279 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18280
18281 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18282 New functions.
18283 (5x5-mode-map, 5x5-mode-menu): Bind them.
18284 (5x5-draw-grid): Tweak the solver's rendering.
18285
18286 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18287
18288 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18289 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18290
18291 2011-06-21 Drew Adams <drew.adams@oracle.com>
18292
18293 * menu-bar.el: Use function variable instead of switch-to-buffer.
18294 (menu-bar-select-buffer-function): New variable.
18295 (menu-bar-update-buffers): Use it (bug#8876).
18296
18297 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18298
18299 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18300 variable's status.
18301
18302 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18303
18304 * x-dnd.el (x-dnd-version-from-flags)
18305 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18306 and long as number (Bug#8899).
18307 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18308
18309 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18310
18311 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18312 (completion-try-completion, completion-all-completions): Compute the
18313 metadata argument if it's missing; make it optional (bug#8795).
18314
18315 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18316 (widget-complete): Use new :completion-function property.
18317 (widget-completions-at-point): New function.
18318 (default): Use :completion-function instead of :complete.
18319 (widget-default-completions): Rename from widget-default-complete;
18320 Rewrite.
18321 (widget-string-complete, widget-file-complete, widget-color-complete):
18322 Remove functions.
18323 (file, symbol, function, variable, coding-system, color):
18324 * international/mule-cmds.el (default-input-method, charset)
18325 (language-info-custom-alist):
18326 * cus-edit.el (face): Use new property :completions.
18327
18328 * progmodes/pascal.el (pascal-completions-at-point): New function.
18329 (pascal-mode): Use it.
18330 (pascal-mode-map): Use completion-at-point.
18331 (pascal-toggle-completions): Make obsolete.
18332 (pascal-complete-word, pascal-show-completions):
18333 * progmodes/octave-mod.el (octave-complete-symbol):
18334 Redefine as obsolete alias.
18335 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18336 Signal absence of completion info for old Octave,
18337 (inferior-octave-complete): Redefine as obsolete alias.
18338 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18339 (meta-completions-at-point): Rename from meta-complete-symbol and
18340 adapt it for use on completion-at-point-functions.
18341 (meta-common-mode): Use it.
18342 (meta-looking-at-backward, meta-match-buffer): Remove.
18343 (meta-complete-symbol): Redefine as obsolete alias.
18344 (meta-common-mode-map): Use completion-at-point.
18345 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18346 (makefile-mode-map): Use completion-at-point.
18347 (makefile-completions-at-point): Rename from makefile-complete and
18348 adapt it for use on completion-at-point-functions.
18349 (makefile-mode): Use it.
18350 (makefile-complete): Redefine as obsolete alias.
18351
18352 2011-06-20 Deniz Dogan <deniz@dogan.se>
18353
18354 * net/rcirc.el: Delete trailing whitespaces once and for all.
18355
18356 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18357
18358 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18359
18360 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18361
18362 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18363
18364 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18365
18366 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18367
18368 * window.el (display-buffer-other-window-means-other-frame):
18369 Call display-buffer-normalize-alist.
18370 (display-buffer-normalize-specifiers-1): Rename to
18371 display-buffer-normalize-argument. New argument other-frame.
18372 Rewrite.
18373 (display-buffer-normalize-specifiers-2): Rename to
18374 display-buffer-normalize-options.
18375 (display-buffer-normalize-alist-1): New function.
18376 (display-buffer-normalize-specifiers-3): Rename to
18377 display-buffer-normalize-alist.
18378 Call display-buffer-normalize-alist-1.
18379 (display-buffer-normalize-options-inhibit): New variable.
18380 (display-buffer-normalize-specifiers): Rewrite calling
18381 display-buffer-normalize-alist,
18382 display-buffer-normalize-argument, and
18383 display-buffer-normalize-options. Don't call the latter if
18384 display-buffer-normalize-options-inhibit is non-nil.
18385 (frame-auto-delete): New option.
18386 (window-deletable-p): Use frame-auto-delete.
18387 (window-list-no-nils, window-state-ignored-parameters)
18388 (window-state-get-1, window-state-get, window-state-put-list)
18389 (window-state-put-1, window-state-put-2, window-state-put):
18390 New functions.
18391 (display-buffer-normalize-options): Move special-display-p group
18392 after pop-up-frame group (Bug#8851) and (Bug#8856).
18393
18394 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18395
18396 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18397 groups (Bug#8776).
18398 (rx-submatch-n): New function.
18399 (rx): Document it.
18400
18401 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18402 (Bug#8768).
18403
18404 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18405
18406 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18407
18408 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18409 anytime existing face settings are present (Bug#8889).
18410
18411 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18412 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18413 Remove unused argument.
18414
18415 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18416
18417 * window.el (display-buffer-default-specifiers):
18418 Remove pop-up-frame. Add pop-up-window-min-height,
18419 pop-up-window-min-width, and another reuse-window specifier
18420 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18421 (display-buffer-normalize-specifiers-2):
18422 Handle split-height-threshold and split-width-threshold also when
18423 pop-up-windows is unset. Add a reuse-window specifier for the
18424 case popping up a new window fails.
18425 (special-display-popup-frame): Remove double quoting.
18426 (display-buffer-normalize-specifiers-1): Fix thinko.
18427
18428 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18431 according to comint-completion-addsuffix.
18432
18433 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18434 (pcomplete-suffix-list): Mark as obsolete.
18435 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18436 pcomplete-seen in the closure.
18437 (pcomplete-comint-setup): Setup completion-at-point as well.
18438 (pcomplete--entries): New function.
18439 (pcomplete--env-regexp): New var.
18440 (pcomplete-entries): Rewrite to work with partial-completion and
18441 without relying on pcomplete-suffix-list.
18442 (pcomplete-pare-list): Remove, unused.
18443
18444 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18445
18446 * window.el (display-buffer-alist): Set pop-up-window-min-height
18447 and pop-up-window-min-width in default value. Reported by
18448 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18449 other-window-means-other-frame.
18450 (display-buffer-macro-specifiers): Comment out entry for
18451 other-window specifier.
18452 (display-buffer-other-window-means-other-frame): New function.
18453 (display-buffer-normalize-specifiers-1): New arguments
18454 buffer-name and label. Treat other-window case specially.
18455 (display-buffer-normalize-specifiers-2): Treat other-window case
18456 specially.
18457 (display-buffer-normalize-specifiers-3): New function.
18458 (display-buffer-normalize-specifiers):
18459 Call display-buffer-normalize-specifiers-3.
18460
18461 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18462
18463 * window.el (same-window-p): Fix two typos introduced when
18464 adding with-no-warnings.
18465 (display-buffer-normalize-specifiers-1): Don't check
18466 pop-up-frames for 'unset initialization.
18467 (display-buffer-normalize-specifiers-2): Major rewrite using
18468 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18469 (pop-up-frames, display-buffer-reuse-frames)
18470 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18471 Suggested by David Engster <deng@randomsample.de>.
18472 (even-window-heights): Initialize to 'unset.
18473 (display-buffer-alist-set): Handle new 'unset initializations.
18474 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18475 other window case.
18476
18477 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18478
18479 * window.el (display-buffer-normalize-specifiers-1):
18480 Respect current value of pop-up-frames for most reasonable values of
18481 second argument of display-buffer (Bug#8865).
18482 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18483 (switch-to-buffer-other-window-same-frame)
18484 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18485 Adams (Bug#8875).
18486 (display-buffer): Don't check noninteractive when calling
18487 display-buffer-pop-up-frame.
18488 (display-buffer-pop-up-frame): Never pop up a frame in
18489 noninteractive mode (Bug#8857).
18490 (enlarge-window, shrink-window): Don't report an error when the
18491 window can't be resized as requested (Bug#8862).
18492
18493 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18494
18495 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18496
18497 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18498
18499 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18500
18501 2011-06-15 Alan Mackenzie <acm@muc.de>
18502
18503 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18504 for declarators, disable knr checking to speed up for normal files.
18505 2: Refactor, replacing a sequence of nested if forms by a cond form.
18506
18507 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18508
18509 * net/network-stream.el (open-network-stream): Add the keyword
18510 :always-query-capabilities for the case where you want to force a
18511 `plain' network connection, but the protocol still requires the
18512 capabilitiy command (i.e., SMTP and EHLO).
18513
18514 * subr.el (process-live-p): Rename from `process-alive-p' for
18515 consistency with other `-live-p' functions.
18516
18517 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 * window.el (same-window-buffer-names, same-window-regexps)
18520 (special-display-frame-alist, special-display-popup-frame)
18521 (special-display-function, special-display-buffer-names)
18522 (special-display-regexps, pop-up-frame-alist)
18523 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18524 (pop-up-windows, split-window-preferred-function)
18525 (split-height-threshold, split-width-threshold, even-window-heights)
18526 (display-buffer-mark-dedicated): Don't encourage the use of
18527 display-buffer-alist from Elisp code.
18528
18529 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18530
18531 * progmodes/python.el (python-mode): Derive from prog-mode.
18532 * progmodes/ps-mode.el (ps-mode):
18533 * progmodes/mixal-mode.el (mixal-mode):
18534 * progmodes/cfengine.el (cfengine-mode):
18535 * progmodes/ld-script.el (ld-script-mode): Likewise.
18536
18537 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18538
18539 * window.el (display-buffer-alist): Trim default value to avoid
18540 popping up a new frame (Bug#8857) or reusing an arbitrary window
18541 on another frame.
18542 (display-buffer): Do not fall back on popping up a new frame in
18543 batch mode (Bug#8857).
18544
18545 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18546
18547 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18548 (custom-theme-summary): New function.
18549 (customize-themes): Use it.
18550
18551 2011-06-13 Glenn Morris <rgm@gnu.org>
18552
18553 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18554
18555 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18556
18557 * help.el (help-window): Remove variable.
18558 (help-window-point-marker, temp-buffer-max-height)
18559 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18560 (help-print-return-message): Don't set help-window.
18561 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18562 (help-window-setup-finish): Remove.
18563 (help-window-display-message, help-window-setup)
18564 (with-help-window): Major rewrite based on new
18565 display-buffer-window variable.
18566
18567 * help-mode.el (help-mode-finish): Remove help-window related
18568 code.
18569
18570 * view.el (view-exits-all-viewing-windows): Remove reference to
18571 view-return-to-alist in doc-string.
18572 (view-return-to-alist): Make obsolete.
18573 (view-buffer): Call pop-to-buffer-same-window and remove
18574 undo-window code.
18575 (view-buffer-other-window): Call pop-to-buffer-other-window and
18576 simplify code. Ignore second argument.
18577 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18578 simplify code. Ignore second argument.
18579 (view-return-to-alist-update): Make obsolete.
18580 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18581 Rewrite using quit-restore window parameters.
18582 (view-mode-exit): Rename second argument to EXIT-ONLY.
18583 Rewrite using quit-restore-window.
18584 (View-exit, View-exit-and-edit, View-leave, View-quit)
18585 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18586 appropriate arguments.
18587 (view-end-message): Use quit-restore window parameter.
18588
18589 * window.el (display-buffer-function): Rewrite doc-string.
18590 (display-buffer-window, display-buffer-alist): New variables.
18591 (display-buffer-split-specifiers)
18592 (display-buffer-side-specifiers)
18593 (display-buffer-macro-specifiers): New constants.
18594 (display-buffer-even-window-sizes, display-buffer-set-height)
18595 (display-buffer-set-width, display-buffer-select-window)
18596 (display-buffer-in-window, display-buffer-reuse-window)
18597 (display-buffer-split-window-1, display-buffer-split-window)
18598 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18599 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18600 (display-buffer-in-side-window, normalize-buffer-to-display)
18601 (display-buffer-normalize-specifiers-1)
18602 (display-buffer-normalize-specifiers-2)
18603 (display-buffer-normalize-specifiers, display-buffer-frame):
18604 New functions.
18605 (display-buffer): Major rewrite.
18606 (display-buffer-other-window, display-buffer-other-frame)
18607 (pop-to-buffer, switch-to-buffer-other-window)
18608 (switch-to-buffer-other-frame): Rewrite.
18609 (display-buffer-same-window, display-buffer-same-frame)
18610 (display-buffer-same-frame-other-window)
18611 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18612 (pop-to-buffer-other-window)
18613 (pop-to-buffer-same-frame-other-window)
18614 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18615 (switch-to-buffer-other-window-same-frame): New functions.
18616 (same-window-p, special-display-p): Rewrite disabling warnings.
18617 Make obsolete.
18618 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18619 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18620 Make obsolete
18621 (same-window-buffer-names, same-window-regexps)
18622 (special-display-frame-alist, special-display-popup-frame)
18623 (special-display-function, special-display-buffer-names)
18624 (special-display-regexps, pop-up-frame-alist)
18625 (pop-up-frame-function, split-window-preferred-function)
18626 (split-height-threshold, split-width-threshold)
18627 (even-window-heights): Make obsolete.
18628
18629 2011-06-12 Glenn Morris <rgm@gnu.org>
18630
18631 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18632 Misc simplifications.
18633
18634 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18635
18636 * window.el (window-safely-shrinkable-p): Restore function which
18637 was inadvertently removed in change from 2011-06-11. Declare as
18638 obsolete.
18639
18640 * calendar/calendar.el (calendar-generate-window):
18641 Use window-iso-combined-p instead of combination of one-window-p and
18642 window-safely-shrinkable-p.
18643
18644 2011-06-12 Glenn Morris <rgm@gnu.org>
18645
18646 * progmodes/fortran.el (fortran-mode-syntax-table):
18647 * progmodes/f90.el (f90-mode-syntax-table):
18648 Set % to punctuation. (Bug#8820)
18649 (f90-find-tag-default): Remove, no longer needed.
18650
18651 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18652
18653 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18654
18655 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18656
18657 * image.el (image-animated-p): Return animation delay in seconds.
18658 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18659 (image-animate-timeout): Remove DELAY argument. Don't assume
18660 every subimage has the same delay; get it from image-animated-p.
18661 (image-animate): Caller changed.
18662
18663 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18664
18665 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18666 to ignored backtrace functions.
18667
18668 2011-06-11 Glenn Morris <rgm@gnu.org>
18669
18670 * calendar/appt.el (appt-disp-window-function): Doc fix.
18671 (appt-check): Handle overlapping appointments. (Bug#8337)
18672
18673 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18674
18675 * window.el (window-tree-1, window-tree): New functions, moving
18676 the latter to window.el.
18677 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18678 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18679 (bw-refresh-edges): Remove.
18680 (balance-windows-1, balance-windows-2): New functions.
18681 (balance-windows): Rewrite in terms of window tree functions,
18682 balance-windows-1 and balance-windows-2.
18683 (bw-adjust-window): Remove.
18684 (balance-windows-area-adjust): New function with functionality of
18685 bw-adjust-window but using resize-window.
18686 (set-window-text-height): Rewrite doc-string.
18687 Use normalize-live-window and resize-window.
18688 (enlarge-window-horizontally, shrink-window-horizontally):
18689 Rename argument to DELTA.
18690 (window-buffer-height): New function.
18691 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18692 Rewrite using new window resize routines.
18693 (kill-buffer-and-window, mouse-autoselect-window-select):
18694 Use ignore-errors instead of condition-case.
18695 (quit-window): Call delete-frame instead of delete-windows-on
18696 for the only buffer on frame.
18697
18698 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18699
18700 * loadup.el (top-level): Load window before files for the sake
18701 of replace-buffer-in-windows.
18702
18703 * files.el (read-buffer-to-switch)
18704 (switch-to-buffer-other-window)
18705 (switch-to-buffer-other-frame, display-buffer-other-frame):
18706 Move to window.el.
18707
18708 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18709 (previous-buffer): Move to window.el.
18710
18711 * bindings.el (unbury-buffer): Move to window.el.
18712
18713 * window.el (delete-other-windows-vertically): Move after
18714 definition of delete-other-windows.
18715 (other-window, delete-windows-on, replace-buffer-in-windows):
18716 Move here from window.c.
18717 (record-window-buffer, unrecord-window-buffer)
18718 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18719 (switch-to-next-buffer): New functions.
18720 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18721 from simple.el. Call switch-to-next-buffer.
18722 (previous-buffer): Move here from simple.el.
18723 Call switch-to-prev-buffer.
18724 (bury-buffer): Move here from buffer.c. Switch to previous
18725 buffer when window cannot be deleted.
18726 (unbury-buffer): Move here from bindings.el.
18727 (ctl-x-map): Move binding for other-window from window.c to
18728 here.
18729 (read-buffer-to-switch, switch-to-buffer-other-window)
18730 (switch-to-buffer-other-frame): Move here from files.el.
18731 (normalize-buffer-to-switch-to): New functions.
18732 (switch-to-buffer): Move here from buffer.c.
18733 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18734
18735 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18736
18737 * window.el (window-min-height, window-min-width): Move here
18738 from window.c. Add defcustoms and rewrite doc-strings.
18739 (resize-mini-window, resize-window): New functions.
18740 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18741 Move here from window.c.
18742 (maximize-window, minimize-window): New functions.
18743 (delete-window, delete-other-windows, split-window): Move here
18744 from window.c.
18745 (window-split-min-size): New function.
18746 (split-window-keep-point): Mention split-window-above-each-other
18747 instead of split-window-vertically.
18748 (split-window-above-each-other, split-window-vertically):
18749 Rename split-window-vertically to split-window-above-each-other
18750 and provide defalias for old definition.
18751 (split-window-side-by-side, split-window-horizontally):
18752 Rename split-window-horizontally to split-window-side-by-side
18753 and provide defalias for the old definition.
18754 (ctl-x-map): Move bindings for delete-window,
18755 delete-other-windows and enlarge-window here from window.c.
18756 Replace bindings for split-window-vertically and
18757 split-window-horizontally by bindings for
18758 split-window-above-each-other and split-window-side-by-side.
18759
18760 * cus-start.el (all): Remove entries for window-min-height and
18761 window-min-width. Add entries for window-splits and
18762 window-nest.
18763
18764 2011-06-09 Glenn Morris <rgm@gnu.org>
18765
18766 * calendar/appt.el (appt-mode-line): New function.
18767 (appt-check, appt-disp-window): Use it.
18768
18769 * files.el (hack-one-local-variable-eval-safep):
18770 Allow minor-modes with explicit +/-1 arguments.
18771
18772 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18773
18774 * term/xterm.el (xterm): Add defgroup.
18775 (xterm-extra-capabilities): Add defcustom to supply known xterm
18776 capabilities, skip querying them, or query them (default).
18777 (terminal-init-xterm): Use it.
18778 (terminal-init-xterm-modify-other-keys): New function to set up
18779 modifyOtherKeys support to simplify `terminal-init-xterm'.
18780
18781 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18782
18783 * window.el (resize-window-reset, resize-window-reset-1)
18784 (resize-subwindows-skip-p, resize-subwindows-normal)
18785 (resize-subwindows, resize-other-windows, resize-this-window)
18786 (resize-root-window, resize-root-window-vertically)
18787 (window-deletable-p, window-or-subwindow-p)
18788 (frame-root-window-p): New functions.
18789
18790 2011-06-09 Glenn Morris <rgm@gnu.org>
18791
18792 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18793 (ange-ftp-get-files): Use it.
18794
18795 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18796
18797 * mail/sendmail.el (mail-recover-1, mail-recover):
18798 * files.el (recover-file, recover-session):
18799 Handle dired-listing-switches not being just a single short option.
18800
18801 2011-06-09 Glenn Morris <rgm@gnu.org>
18802
18803 * calendar/appt.el (appt-display-message, appt-disp-window):
18804 Handle lists of appointments.
18805
18806 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18807
18808 * window.el (one-window-p): Move down in code.
18809 Rewrite doc-string.
18810 (window-current-scroll-bars): Rewrite doc-string.
18811 Normalize live window argument.
18812 (walk-windows, get-window-with-predicate, count-windows):
18813 Rewrite doc-string. Use window-list-1.
18814 (window-in-direction-2, window-in-direction, get-mru-window):
18815 New functions.
18816
18817 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18818
18819 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18820 Doc fix (Bug#8713).
18821
18822 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18823
18824 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18825
18826 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18827
18828 * loadhist.el (unload-feature-special-hooks):
18829 Add `comint-output-filter-functions'.
18830
18831 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18832
18833 * calendar/appt.el (appt-check): Move some initializations into the let.
18834
18835 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18836
18837 * window.el (window-height): Defalias to window-total-height.
18838 (window-width): Defalias to window-body-width.
18839
18840 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18841
18842 * image-mode.el (image-toggle-animation): New command.
18843 (image-mode-map): Bind it to RET.
18844 (image-mode): Update message.
18845 (image-toggle-display-image): Avoid a spurious cache flush.
18846 (image-transform-rotation): Doc fix.
18847 (image-transform-properties): Return quickly in the normal case.
18848 (image-animate-loop): Rename from image-animate-max-time.
18849
18850 * image.el (image-animate-max-time): Move to image-mode.el.
18851 (create-animated-image): Remove unnecessary function.
18852 (image-animate): Rename from image-animate-start. New arg.
18853 (image-animate-stop): Remove; just use image-animate-timer.
18854 (image-animate-timer): Use car-safe.
18855 (image-animate-timeout): Rename argument.
18856
18857 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18858
18859 * window.el (get-lru-window, get-largest-window): Move here from
18860 window.c. Rename first argument to ALL-FRAMES.
18861 Rephrase doc-strings.
18862 (get-buffer-window-list): Rewrite using window-list-1.
18863 Rephrase doc-string.
18864 (window-safe-min-height, window-safe-min-width): New constants.
18865 (window-size-ignore, window-min-size, window-min-size-1)
18866 (window-sizable, window-sizable-p, window-size-fixed-1)
18867 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18868 (window-max-delta-1, window-max-delta, window-resizable)
18869 (window-resizable-p, window-total-height, window-total-width)
18870 (window-body-width): New functions.
18871 (window-full-height-p, window-full-width-p): Rewrite using
18872 window-total-size.
18873 (window-body-height): Rewrite using window-body-size.
18874
18875 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18876
18877 * window.el (window-right, window-left, window-child)
18878 (window-child-count, window-last-child, window-any-p)
18879 (normalize-live-buffer, normalize-live-frame)
18880 (normalize-any-window, normalize-live-window)
18881 (window-iso-combination-p, window-iso-combined-p)
18882 (window-iso-combinations)
18883 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18884 (windows-with-parameter, window-with-parameter)
18885 (window-atom-root, make-window-atom, window-atom-check-1)
18886 (window-atom-check, window-side-check, window-check):
18887 New functions.
18888 (ignore-window-parameters, window-sides, window-sides-vertical)
18889 (window-sides-slots): New variables.
18890 (window-size-fixed): Move down in code. Minor doc-string fix.
18891
18892 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18893
18894 * comint.el (comint-dynamic-complete-as-filename)
18895 (comint-dynamic-complete-filename): Correctly call
18896 completion-in-region.
18897
18898 2011-06-05 Deniz Dogan <deniz@dogan.se>
18899
18900 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18901 in last change.
18902
18903 2011-06-05 Deniz Dogan <deniz@dogan.se>
18904
18905 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18906 (rcirc): Use it to prompt for encryption.
18907
18908 2011-06-05 Roland Winkler <winkler@gnu.org>
18909
18910 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18911 (bibtex-search-entries): New command bound to C-c C-a.
18912 (bibtex-display-entries): New function.
18913
18914 2011-06-05 Roland Winkler <winkler@gnu.org>
18915
18916 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18917 (bibtex-insert-kill): After yanking insert newline if necessary.
18918 (bibtex-initialize): Call bibtex-string-files-init only once.
18919 (bibtex-mode): Do not call easy-menu-add.
18920 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18921 (bibtex-yank): Set arg properly if nil.
18922
18923 2011-06-05 Roland Winkler <winkler@gnu.org>
18924
18925 * textmodes/bibtex.el (bibtex-search-entry-globally):
18926 New variable.
18927 (bibtex-search-entry): Use it.
18928
18929 2011-06-05 Roland Winkler <winkler@gnu.org>
18930
18931 * textmodes/bibtex.el (bibtex-entry-format): New option
18932 sort-fields.
18933 (bibtex-format-entry, bibtex-reformat): Honor this option.
18934 (bibtex-parse-entry): Return fields in proper order.
18935
18936 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18937
18938 * doc-view.el (doc-view-remove-if): Move computation of result out
18939 of `dolist' to silence misleading lexical-binding warning.
18940
18941 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18944 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18945
18946 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18947
18948 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18949 "SunOS 5.10".
18950
18951 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18952
18953 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18954 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18955 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18956 (tramp-parse-putty):
18957 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18958 (tramp-completion-function-alist-ssh)
18959 (tramp-completion-function-alist-telnet)
18960 (tramp-completion-function-alist-su)
18961 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18962 cookie.
18963
18964 * net/tramp-ftp.el:
18965 * net/tramp-sh.el:
18966 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18967 load "tramp.el" `tramp-set-completion-function'.
18968
18969 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18970
18971 * shell.el: Require and use pcomplete.
18972 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18973 (shell-completion-vars): Set pcomplete-default-completion-function.
18974
18975 2011-06-04 Deniz Dogan <deniz@dogan.se>
18976
18977 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18978 `memq' (Bug#8799).
18979
18980 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18981
18982 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18983
18984 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18985
18986 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18987 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18988 * vc/log-view.el (log-view-beginning-of-defun):
18989 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18990 (smerge-refine-forward, smerge-refine-chopup-region):
18991 Silence warning for unused `dotimes' counter variables.
18992
18993 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18994
18995 * net/tramp.el (tramp-with-progress-reporter): Rename from
18996 with-progress-reporter. Use `declare'.
18997 * net/tramp-smb.el:
18998 * net/tramp-sh.el:
18999 * net/tramp-gvfs.el: Update all uses.
19000
19001 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19002
19003 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19004 buffer isn't killed before making it current.
19005
19006 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 Silence various byte-compiler warnings.
19009 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19010 `access-type' and new obsolescence format.
19011 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19012 new format.
19013 (byte-compile-check-variable): New `access-type' argument.
19014 Only warn if the access-type is obsolete.
19015 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19016 (byte-compile-variable-set): Adjust callers.
19017 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19018 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19019 setting it as obsolete.
19020 * simple.el (minibuffer-completing-symbol):
19021 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19022 access as obsolete.
19023 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19024 obsolete yet.
19025 * international/quail.el (quail-mouse-choose-completion): Remove unused
19026 code referring to obsolete var.
19027 (quail-choose-completion-string): Remove.
19028 * server.el (server-clients-with, server-kill-buffer-query-function)
19029 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19030 * proced.el (proced-send-signal):
19031 * emacs-lisp/lisp.el (lisp-complete-symbol):
19032 Replace completion-annotate-function with completion-extra-properties.
19033
19034 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19035
19036 * simple.el (goto-line): Use read-number.
19037 (overriding-map-is-bound): Remove.
19038 (saved-overriding-map): Change default.
19039 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19040 Take the map as argument.
19041 (universal-argument, negative-argument, digit-argument): Use it.
19042 (restore-overriding-map): Adjust.
19043 (do-auto-fill): Use fill-forward-paragraph.
19044 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19045
19046 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19047 (minibuffer-inactive-mode): New major mode.
19048 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19049 the *Messages* buffer" hack.
19050 (mouse-popup-menubar): Don't burp if the event is a normal key.
19051
19052 Miscellaneous tweaks.
19053 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19054 lexical scoping as in subr.el's dolist and dotimes.
19055 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19056 Silence compiler warning.
19057 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19058 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19059 * international/ccl.el (ccl-compile): Trivial simplification.
19060 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19061 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19062 `printflag' argument.
19063 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19064 Purecopy the whole obsolescence data.
19065
19066 2011-06-01 Leo Liu <sdl.web@gmail.com>
19067
19068 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19069 improve doc-string as suggested by Marco Pessotto
19070 <melmothx@gmail.com>.
19071 (rcirc-print): Fix last change.
19072
19073 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19074
19075 * minibuffer.el (complete-with-action): Return nil for the metadata and
19076 boundaries of non-functional tables.
19077 (completion-table-dynamic): Return nil for the metadata.
19078 (completion-table-with-terminator): Add default case, using
19079 complete-with-action.
19080 (completion--metadata): New function.
19081 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19082 to try and avoid pathological performance problems.
19083 (completion--embedded-envvar-table): Return `category' metadata.
19084
19085 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19086
19087 * subr.el (process-alive-p): New tiny convenience function.
19088
19089 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19090
19091 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19092 content but also its previous major mode.
19093
19094 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19095
19096 * emacs-lisp/debug.el (debug): Restore the previous content of the
19097 *Backtrace* buffer when we exit with C-M-c.
19098
19099 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19100
19101 * minibuffer.el: Add metadata method to completion tables.
19102 (completion-category-overrides): New defcustom.
19103 (completion-metadata, completion--field-metadata)
19104 (completion-metadata-get, completion--styles)
19105 (completion--cycle-threshold): New functions.
19106 (completion-try-completion, completion-all-completions):
19107 Add `metadata' argument to choose completion-styles.
19108 (completion--do-completion): Use metadata to choose cycling.
19109 (completion-all-sorted-completions): Use metadata for sorting.
19110 Remove :completion-cycle-penalty which is not needed any more.
19111 (completion--try-word-completion): Add `metadata' argument.
19112 (minibuffer-completion-help): Check metadata for annotation function
19113 and sorting.
19114 (completion-file-name-table): Return `category' metadata.
19115 (minibuffer-completing-file-name): Make obsolete.
19116 * simple.el (minibuffer-completing-symbol): Make obsolete.
19117 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19118 completion-try-completion.
19119
19120 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19121
19122 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19123
19124 2011-05-30 Leo Liu <sdl.web@gmail.com>
19125
19126 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19127 (rcirc-print): Decode all incoming messages (bug#8744).
19128 (rcirc-decode-coding-system): Allow value nil for automatic coding
19129 system detection.
19130
19131 2011-06-01 Glenn Morris <rgm@gnu.org>
19132
19133 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19134
19135 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * image.el (image-animate-max-time): Allow nil and t values.
19138 Default to nil.
19139 (create-animated-image): Doc fix.
19140 (image-animate-start): Remove second arg; just use
19141 image-animate-max-time.
19142 (image-animate-timeout): Doc fix. Args changed.
19143
19144 * image-mode.el (image-toggle-display-image): Ensure that the
19145 image spec passed to the animate timer is the same object as in
19146 the buffer's display property (Bug#6981).
19147 (image-transform-properties): Doc fix.
19148
19149 * image.el (image-animate-max-time): Default to nil.
19150
19151 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19152
19153 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19154 entire buffer list (Bug#8184).
19155
19156 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19157
19158 * image.el (imagemagick-types-inhibit)
19159 (imagemagick-register-types): Doc fix.
19160
19161 2011-05-29 Deniz Dogan <deniz@dogan.se>
19162
19163 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19164 default.
19165
19166 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19167
19168 * select.el: Don't perform clipboard-manager saving in hooks;
19169 leave the hooks empty.
19170
19171 2011-05-28 Leo Liu <sdl.web@gmail.com>
19172
19173 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19174 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19175 (occur-edit-mode): New major mode (Bug#8463).
19176 (occur-after-change-function): New function.
19177 (occur-engine): Give Occur tags a read-only property.
19178
19179 2011-05-28 Kevin Ryde <user42@zip.com.au>
19180
19181 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19182
19183 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19184
19185 * bindings.el (help-echo): Make the initial non-indicator dash
19186 empty on graphical terminals (Bug#7295).
19187
19188 * files.el (auto-mode-alist): Move config rule after the
19189 in-stripping one (Bug#8547).
19190
19191 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19192
19193 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19194 setting (Bug#8740).
19195
19196 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19197
19198 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19199 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19200 (Bug#8539).
19201
19202 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19203
19204 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19205
19206 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19207
19208 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19209 (hs-hide-block-at-point, hs-find-block-beginning)
19210 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19211 (Bug#8279).
19212
19213 2011-05-28 Glenn Morris <rgm@gnu.org>
19214
19215 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19216
19217 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19218
19219 * help-fns.el (describe-function-1): If the function is a derived
19220 major mode, print the parent mode.
19221
19222 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19223 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19224
19225 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19226
19227 * minibuffer.el (completion--capf-wrapper): Check applicability before
19228 returning non-nil for non-exclusive completion data.
19229 * progmodes/etags.el (tags-completion-at-point-function):
19230 * info-look.el (info-lookup-completions-at-point): Mark as
19231 non-exclusive.
19232 (info-complete): Adjust accordingly.
19233
19234 * info-look.el: Convert to lexical-binding and completion-at-point.
19235 (info-lookup-completions-at-point): New function.
19236 (info-complete): Use it and completion-in-region.
19237
19238 2011-05-28 Drew Adams <drew.adams@oracle.com>
19239
19240 * isearch.el: Let M-e start with point at the first mismatched char.
19241 (isearch-fail-pos): New function.
19242 (isearch-edit-string): Use it.
19243
19244 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19245
19246 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19247
19248 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19249
19250 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19251 traversal functions for avl-trees.
19252 (avl-tree--stack): New struct.
19253 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19254 (avl-tree-enter): Add optional `updatefun' arg.
19255 (avl-tree--do-enter): Add optional `updatefun' arg.
19256 Change return value.
19257 (avl-tree-delete): Add optional `test' and `nilflag' args.
19258 (avl-tree--do-delete): Add `test' and `nilflag' args.
19259 Change return value.
19260 (avl-tree-member): Add optional `nilflag'
19261 (avl-tree-member-p): New function.
19262 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19263 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19264 (avl-tree-stack-empty-p): New functions.
19265
19266 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19267 avl-tree--del-balance1 and make it work both ways.
19268 (avl-tree--del-balance2): Remove.
19269 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19270 make it work both ways.
19271 (avl-tree--enter-balance2): Remove.
19272 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19273 New macros.
19274 (avl-tree--mapc, avl-tree-map): Add direction argument.
19275
19276 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19277
19278 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19279
19280 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19281
19282 * select.el: Support clipboard managers with built-in function
19283 x-clipboard-manager-save, via delete-frame-functions and
19284 kill-emacs-hook.
19285 (xselect-convert-to-targets): Add MULTIPLE target to list.
19286 (xselect-convert-to-save-targets): New function.
19287
19288 2011-05-27 Kenichi Handa <handa@m17n.org>
19289
19290 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19291 let-binding rfc2047-encode-encoded-words to nil.
19292
19293 2011-05-27 Glenn Morris <rgm@gnu.org>
19294
19295 * mail/emacsbug.el: Don't require url-util.
19296
19297 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19298
19299 * files.el (set-auto-mode):
19300 Also respect mode: entries at the end of the file. (Bug#8586)
19301
19302 2011-05-26 Glenn Morris <rgm@gnu.org>
19303
19304 * files.el (hack-local-variables-prop-line, hack-local-variables):
19305 Downcase mode names, as seems to be traditional.
19306 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19307
19308 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19309 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19310
19311 2011-05-25 Julien Danjou <julien@danjou.info>
19312
19313 * textmodes/rst.el (rst-define-level-faces): Do not define face
19314 symbol if it is already defined.
19315
19316 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19317
19318 * play/5x5.el (5x5-new-game, 5x5-randomize):
19319 Reset 5x5-solver-output to nil when a new grid is cast.
19320 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19321 these debugging traces, as defmacro breaks the compiled code.
19322
19323 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19324
19325 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19326
19327 2011-05-24 Leo Liu <sdl.web@gmail.com>
19328
19329 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19330 (vc-bzr-sha1): Adapt.
19331
19332 * sha1.el: Remove. Function `sha1' is now builtin.
19333
19334 * bindings.el: Provide sha1 feature.
19335
19336 2011-05-24 Kenichi Handa <handa@m17n.org>
19337
19338 * mail/sendmail.el: Require `rfc2047'.
19339 (mail-insert-from-field): Do not perform RFC2047 encoding.
19340 (mail-encode-header): New function.
19341 (sendmail-send-it): Set buffer-file-coding-system of the work
19342 buffer to the return value of select-message-coding-system.
19343 Call mail-encode-header.
19344
19345 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19346
19347 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19348
19349 * mail/supercite.el (sc-default-cite-frame):
19350 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19351
19352 2011-05-24 Glenn Morris <rgm@gnu.org>
19353
19354 * progmodes/python.el (brm-menu): Declare.
19355
19356 * emulation/viper.el (viper-set-hooks): Declare.
19357
19358 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19359 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19360 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19361 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19362 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19363 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19364
19365 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19366
19367 Add an :exit-function for completion-at-point.
19368
19369 * minibuffer.el (completion--done): New fun.
19370 (completion--do-completion): Use it. New arg `expect-exact'.
19371 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19372 since completion--do-completion does it for us now.
19373 (minibuffer-force-complete): Use completion--done and
19374 completion--replace. Handle sole-completion case with more care.
19375 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19376 (completion-extra-properties): New var.
19377 (completion-annotate-function): Make obsolete.
19378 (minibuffer-completion-help): Adjust accordingly.
19379 Use completion-list-insert-choice-function.
19380 (completion-at-point, completion-help-at-point):
19381 Bind completion-extra-properties.
19382 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19383 * simple.el (completion-list-insert-choice-function): New var.
19384 (completion-setup-function): Preserve it.
19385 (choose-completion): Pay attention to it, shuffle the code a bit.
19386 (choose-completion-string): New arg `insert-function'.
19387
19388 * textmodes/bibtex.el: Convert to lexical binding.
19389 (bibtex-mode-map): Use completion-at-point.
19390 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19391 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19392 (bibtex-complete): Define as obsolete alias.
19393 (bibtex-complete-internal): Remove.
19394 (bibtex-format-entry): Remove unused sub-group in regexp.
19395 * shell.el (shell--command-completion-data)
19396 (shell-environment-variable-completion):
19397 * pcomplete.el (pcomplete-completions-at-point):
19398 * comint.el (comint--complete-file-name-data): Use :exit-function
19399 instead of completion-table-with-terminator so it also works for
19400 choose-completion.
19401
19402 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19403
19404 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19405
19406 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19407 (bug#8710).
19408
19409 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19410
19411 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19412
19413 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19414 customization variable and implement: If non-nil, auto-fill will
19415 be inhibited while on topic's header line.
19416
19417 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19418
19419 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19420 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19421 always have a solution in grid size = 5 cases.
19422 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19423 (5x5-solver-output, 5x5-log-buffer): New vars.
19424 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19425 Make these variables buffer local to achieve 5x5 multi-session-ness.
19426 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19427 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19428 (5x5-solve-suggest): New funs.
19429 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19430 randomize a grid so that we ensure that there is always a solution.
19431 (5x5-make-random-grid): Allow other movement than flipping.
19432
19433 2011-05-23 Kevin Ryde <user42@zip.com.au>
19434
19435 * emacs-lisp/advice.el (ad-read-advised-function):
19436 Use `function-called-at-point' as the default, if it has
19437 advice and passes PREDICATE.
19438
19439 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19440
19441 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19442 byte-compile-lambda if it's actually a lambda.
19443
19444 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19445 Fix function quoting. Use backquote better.
19446
19447 2011-05-22 Yuanle Song <sylecn@gmail.com>
19448
19449 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19450 matching (Bug#8516).
19451
19452 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19453
19454 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19455 different face (Bug#8178).
19456
19457 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19458
19459 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19460 defface (Bug#8144).
19461
19462 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19463
19464 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19465 funcall as well (bug#8712). Warn when performing those conversions.
19466 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19467
19468 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19469
19470 2011-05-22 Glenn Morris <rgm@gnu.org>
19471
19472 * files.el (hack-local-variables-prop-line): Small simplifications.
19473 (hack-local-variables, hack-local-variables-prop-line):
19474 If MODE-ONLY, return the mode, rather than just `t'.
19475
19476 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19477
19478 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19479
19480 2011-05-21 Glenn Morris <rgm@gnu.org>
19481
19482 * files.el (hack-local-variables-prop-line, hack-local-variables):
19483 If only interested in the mode, don't bother doing the other stuff.
19484
19485 * image-mode.el (image-after-revert-hook):
19486 Redraw all frames on which the image is visible. (Bug#8567)
19487
19488 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19489
19490 * wid-edit.el (widget-checklist-match-inline):
19491 Fix 2011-04-19 change. (Bug#8649)
19492
19493 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19494
19495 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19496 Also allow singlespace after single-letter capitals followed by a dot.
19497
19498 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19499 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19500
19501 2011-05-20 Nix <nix@esperi.org.uk>
19502
19503 * files.el (basic-save-buffer-2):
19504 Fix handling of break-hardlink-on-save with non-existent files.
19505
19506 2011-05-19 Deniz Dogan <deniz@dogan.se>
19507
19508 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19509 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19510
19511 2011-05-19 Glenn Morris <rgm@gnu.org>
19512
19513 * progmodes/f90.el (f90-type-def-re):
19514 Handle "type, bind(c)". (Bug#8691)
19515
19516 * emacs-lisp/autoload.el (batch-update-autoloads):
19517 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19518
19519 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19520
19521 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19522 property for the correct connection in case of multihops.
19523
19524 2011-05-18 Glenn Morris <rgm@gnu.org>
19525
19526 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19527 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19528
19529 Rationalize calendar handling of day and month abbrev-arrays.
19530 * calendar/calendar.el (calendar-customized-p): New function.
19531 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19532 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19533 Add :set function.
19534 (calendar-abbrev-length, calendar-day-abbrev-array)
19535 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19536 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19537 Elements may no longer be nil.
19538 (calendar-day-name, calendar-month-name):
19539 Update for changed nature of abbrev arrays.
19540 * calendar/diary-lib.el (diary-name-pattern):
19541 Update for changed nature of abbrev arrays.
19542 (diary-mark-entries-1): Update calendar-make-alist calls.
19543 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19544 * calendar/cal-html.el (cal-html-day-abbrev-array):
19545 Simply inherit from calendar-day-abbrev-array.
19546
19547 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19548
19549 * progmodes/grep.el (grep-mode): Disable default
19550 compilation-directory-matcher setting (bug#8684).
19551
19552 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19553
19554 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19555 instead of "head" and "tail". There were problems with SunOS 5.9,
19556 and it performs better.
19557
19558 2011-05-17 Glenn Morris <rgm@gnu.org>
19559
19560 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19561
19562 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19563 Replace obsolete function.
19564
19565 * shell.el (pcomplete-parse-arguments-function): Declare.
19566
19567 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19568 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19569 (appt-check): Doc fixes.
19570 (appt-disp-window-function, appt-delete-window-function):
19571 Remove needless special case in custom :type.
19572 (appt-display-count): Default to 0, not nil.
19573 (appt-check): Reset appt-display-count to 0, not nil.
19574
19575 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19576
19577 * progmodes/python.el (python-font-lock-keywords):
19578 Add the Python 3.X keyword "nonlocal" (bug#8639).
19579
19580 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19581
19582 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19583
19584 2011-05-16 Kevin Ryde <user42@zip.com.au>
19585
19586 * info-look.el (makefile-automake-mode): New setups, looking in
19587 automake manual, then makefile-mode.
19588 (makefile-mode): Remove automake manual, have it just in
19589 makefile-automake-mode since there's various things different or
19590 not relevant to plain make.
19591 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19592 believe a hypothetical automake-mode would go to makefile-mode,
19593 not the other way around.
19594
19595 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19596
19597 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19598 hunk-end tags (Bug#8672).
19599
19600 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19601 vc-annotate-show-diff-revision-at-line (Bug#8671).
19602
19603 2011-05-14 Glenn Morris <rgm@gnu.org>
19604
19605 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19606 in the middle of an existing one with multiple authors. (Bug#8645)
19607 (change-log-font-lock-keywords): Also handle multiple author lines
19608 with leading tabs. (Bug#8644)
19609
19610 * calendar/appt.el (appt-check): Rename some local variables.
19611 Some simplification/reordering.
19612
19613 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19614 (feedmail-sendmail-f-doesnt-sell-me-out)
19615 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19616 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19617 (feedmail-queue-runner-message-sender): Set :version.
19618 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19619 (bbdb-dwim-net-address, vm-mail): Declare.
19620 (feedmail-binmail-gnulinuxish-template):
19621 Rename from feedmail-binmail-linuxish-template.
19622 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19623 Use insert-buffer-substring.
19624
19625 2011-05-14 Bill Carpenter <bill@carpenter.org>
19626
19627 * mail/feedmail.el (feedmail-patch-level): Increase.
19628 (feedmail-debug): New custom group.
19629 (feedmail-confirm-outgoing-timeout)
19630 (feedmail-sendmail-f-doesnt-sell-me-out)
19631 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19632 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19633 (feedmail-sender-line, feedmail-from-line)
19634 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19635 (feedmail-spray-this-address)
19636 (feedmail-spray-address-fiddle-plex-list)
19637 (feedmail-queue-use-send-time-for-date)
19638 (feedmail-queue-use-send-time-for-message-id)
19639 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19640 (feedmail-buffer-eating-function):
19641 Doc fixes.
19642 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19643 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19644 (feedmail-message-action-scroll-down): New functions.
19645 (feedmail-queue-directory, feedmail-queue-draft-directory):
19646 Use expand-file-name.
19647 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19648 Remove C-v help entry.
19649 (feedmail-queue-buffer-file-name): New variable.
19650 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19651 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19652 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19653 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19654 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19655 (feedmail-message-action-toggle-spray)
19656 (feedmail-run-the-queue-no-prompts)
19657 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19658 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19659 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19660 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19661 (feedmail-envelope-deducer, feedmail-fiddle-from)
19662 (feedmail-fiddle-sender, feedmail-default-date-generator)
19663 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19664 (feedmail-fiddle-spray-address)
19665 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19666 (feedmail-fiddle-list-of-fiddle-plexes)
19667 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19668 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19669 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19670 Change default. Doc fix.
19671 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19672 (feedmail-binmail-linuxish-template): New constant.
19673 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19674 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19675 (feedmail-send-it): Add debug call.
19676 Use feedmail-queue-buffer-file-name, and
19677 feedmail-send-it-immediately-wrapper.
19678 (feedmail-message-action-send): Add debug call.
19679 Use feedmail-send-it-immediately-wrapper.
19680 (feedmail-queue-express-to-queue): Add debug call.
19681 Run feedmail-queue-express-hook.
19682 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19683 (feedmail-message-action-help-blat):
19684 Rename from feedmail-queue-send-edit-prompt-help-first.
19685 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19686 Check line-endings. Handle errors better.
19687 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19688 Doc fix. Add debug call.
19689 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19690 Use feedmail-queue-send-edit-prompt-inner.
19691 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19692 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19693 from feedmail-queue-send-edit-prompt.
19694 (feedmail-queue-send-edit-prompt-help)
19695 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19696 (feedmail-tidy-up-slug): Add debug call.
19697 Respect feedmail-queue-slug-suspect-regexp.
19698 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19699 (feedmail-dump-message-to-queue): Add debug call.
19700 Expand queue-directory.
19701 (feedmail-dump-message-to-queue): Change message slightly.
19702 Use feedmail-say-chatter.
19703 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19704 (feedmail-send-it-immediately-wrapper): New function.
19705 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19706 Insert empty string rather than newline. Handle full-frame case.
19707 Use catch/throw. Use feedmail-say-chatter.
19708 (feedmail-fiddle-from): Try mail-host-address.
19709 (feedmail-default-message-id-generator): Doc fix.
19710 Bind system-time-locale. Handle missing end.
19711 (feedmail-fiddle-x-mailer): Add debug call.
19712 Handle feedmail-x-mailer-line being nil.
19713 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19714 Add debug call. Use buffer-substring-no-properties.
19715 (feedmail-say-debug, feedmail-say-chatter): New functions.
19716 (feedmail-find-eoh): Give an explicit error.
19717
19718 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19719
19720 * net/newst-treeview.el (newsticker-treeview-face): Change default
19721 family from helvetica to sans.
19722 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19723 etc/images/newsticker.
19724
19725 * net/newst-reader.el (newsticker-feed-face): Change default
19726 family from helvetica to sans.
19727
19728 * net/newst-plainview.el (newsticker-new-item-face)
19729 (newsticker-old-item-face, newsticker-immortal-item-face)
19730 (newsticker-obsolete-item-face, newsticker-date-face)
19731 (newsticker-statistics-face): Change default family from
19732 helvetica to sans.
19733 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19734 etc/images/newsticker.
19735
19736 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19737 (newsticker--process-auto-mark-filter-match): Tell user about
19738 auto-marking.
19739
19740 2011-05-13 Didier Verna <didier@xemacs.org>
19741
19742 Common Lisp indentation improvements on defmethod and lambda-lists.
19743 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19744 TODO entries.
19745 (lisp-lambda-list-keyword-parameter-indentation)
19746 (lisp-lambda-list-keyword-parameter-alignment)
19747 (lisp-lambda-list-keyword-alignment): New customizable user options.
19748 (lisp-indent-defun-method): Improve docstring.
19749 (extended-loop-p): Fix comment.
19750 (lisp-indent-lambda-list-keywords-regexp): New variable.
19751 (lisp-indent-lambda-list): New function.
19752 (lisp-indent-259): Use it.
19753 (lisp-indent-defmethod): Support for more than one
19754 method qualifier and properly indent methods lambda-lists.
19755 (defgeneric): Provide a missing common-lisp-indent-function property.
19756
19757 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19758
19759 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19760 bounds for the empty string (bug#8667).
19761
19762 2011-05-13 Glenn Morris <rgm@gnu.org>
19763
19764 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19765
19766 * mail/sendmail.el (sendmail-program): Try executable-find first.
19767 (sendmail-send-it): `sendmail-program' cannot be unbound.
19768
19769 * calendar/appt.el (appt-make-list): Simplify.
19770 (appt-time-msg-list): Doc fix.
19771 (appt-check): Change mode-line message at the time of the appointment.
19772
19773 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19774
19775 * progmodes/ld-script.el (ld-script-keywords)
19776 (ld-script-builtins): Update keywords list.
19777
19778 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19779
19780 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19781
19782 * shell.el (shell-completion-vars): New function.
19783 (shell-mode):
19784 * simple.el (read-shell-command): Use it.
19785 (blink-matching-open): No need for " [...]" in minibuffer-message.
19786
19787 2011-05-12 Glenn Morris <rgm@gnu.org>
19788
19789 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19790 (appt-check): Simplify.
19791
19792 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19793
19794 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19795 literal "/dev/null".
19796
19797 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19798
19799 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19800 Fix typo.
19801
19802 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19803
19804 * progmodes/which-func.el (which-function):
19805 Use add-log-current-defun instead of add-log-current-defun-function,
19806 which might not be defined (Bug#8260).
19807
19808 2011-05-12 Glenn Morris <rgm@gnu.org>
19809
19810 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19811 Let byte-compile-initial-macro-environment always take precedence.
19812
19813 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19814
19815 * net/rcirc.el: Add support for SSL/TLS connections.
19816 (rcirc-server-alist): New field `encryption'.
19817 (rcirc): Check `encryption' settings.
19818 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19819 Merge make-local-variable into `set'.
19820 (rcirc--connection-open-p): New function.
19821 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19822 the process is not a network process (e.g. running gnutls-cli).
19823 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19824 Make rcirc-(en|de)code-coding-system local here.
19825 (rcirc-mode): Merge make-local-variable into `set'.
19826 (rcirc-parent-buffer): Make permanent buffer-local.
19827 (rcirc-multiline-minor-mode): Don't do it here.
19828 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19829 there's no server buffer.
19830
19831 2011-05-11 Glenn Morris <rgm@gnu.org>
19832
19833 * newcomment.el (comment-kill): Prefix "unused" local.
19834
19835 * term/w32console.el (get-screen-color): Declare.
19836
19837 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19838 Handle symbol elements of byte-compile-initial-macro-environment.
19839
19840 2011-05-10 Leo Liu <sdl.web@gmail.com>
19841
19842 * bookmark.el (bookmark-bmenu-mode-map):
19843 Bind bookmark-bmenu-search to `/'.
19844
19845 * mail/footnote.el: Convert to utf-8 encoding.
19846 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19847 (Footnote-unicode): New function.
19848 (footnote-style-alist): Add unicode style to the list.
19849 (footnote-style): Doc fix.
19850
19851 2011-05-10 Jim Meyering <meyering@redhat.com>
19852
19853 Fix doubled-word typos.
19854 * international/quail.el (quail-insert-kbd-layout): and and -> and
19855 * kermit.el: and and -> and
19856 * net/ldap.el (ldap-search-internal): to to -> to
19857 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19858 * progmodes/js.el (js-mode): and and -> and
19859 * textmodes/artist.el (artist-move-to-xy): at at -> at
19860 (artist-draw-region-trim-line-endings): if if -> if
19861 And Safetyc -> Safety.
19862 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19863
19864 2011-05-10 Glenn Morris <rgm@gnu.org>
19865 Stefan Monnier <monnier@iro.umontreal.ca>
19866
19867 * files.el (hack-one-local-variable-eval-safep):
19868 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19869
19870 2011-05-10 Glenn Morris <rgm@gnu.org>
19871
19872 * calendar/diary-lib.el (diary-list-entries-hook)
19873 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19874 (diary-nongregorian-marking-hook, diary-list-entries)
19875 (diary-include-other-diary-files, diary-mark-entries)
19876 (diary-mark-included-diary-files): Doc fixes.
19877
19878 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19879
19880 * misc.el: Require tabulated-list.el during compilation.
19881
19882 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19883
19884 * progmodes/compile.el (compilation-start):
19885 Run compilation-filter-hook for the async case too.
19886 (compilation-filter-hook): Doc fix.
19887
19888 2011-05-09 Deniz Dogan <deniz@dogan.se>
19889
19890 * wdired.el: Remove outdated installation comment. Fix usage
19891 comment.
19892
19893 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19894
19895 * misc.el: Implement new command `list-dynamic-libraries'.
19896 (list-dynamic-libraries--loaded-only-p): New variable.
19897 (list-dynamic-libraries--refresh): New function.
19898 (list-dynamic-libraries): New command.
19899
19900 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19901
19902 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19903 Fix the ant regexp to handle end-line and end-column info from jikes.
19904 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19905 higher priority to avoid clobbering by gnu.
19906
19907 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19908
19909 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19910 if the face has existing theme settings (Bug#8454).
19911
19912 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19913
19914 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19915 Only match variables declared via `my' or `our' (Bug#8261).
19916
19917 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19918 special file names `.' and `..' (Bug#8259).
19919
19920 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19921
19922 * progmodes/grep.el (grep-mode-font-lock-keywords):
19923 Remove buffer-changing entries.
19924 (grep-filter): New function.
19925 (grep-mode): Add it to compilation-filter-hook.
19926
19927 * progmodes/compile.el (compilation-filter-hook)
19928 (compilation-filter-start): New defvars.
19929 (compilation-filter): Call compilation-filter-hook prior to
19930 updating the process mark.
19931
19932 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19935
19936 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19937
19938 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19939 mailclient-send-it even if window-system is nil. (Bug#8595)
19940
19941 * term/w32console.el (terminal-init-w32console):
19942 Call get-screen-color and use its output to set the frame
19943 background-mode. (Bug#8597)
19944
19945 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19946
19947 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19948 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19949 New functions.
19950 (defgeneric, eieio--defmethod): Use them.
19951 (eieio-defgeneric): Remove.
19952 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19953
19954 2011-05-07 Glenn Morris <rgm@gnu.org>
19955
19956 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19957 Use let rather than let*.
19958 (timeclock-find-discrep): Remove unused local.
19959
19960 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19961
19962 * calendar/appt.el (appt-time-msg-list): Doc fix.
19963
19964 2011-05-06 Noah Friedman <friedman@splode.com>
19965
19966 * apropos.el (apropos-print-doc): Only use
19967 emacs-lisp-docstring-fill-column when it is bound to an integer,
19968 per that variable's documentation.
19969
19970 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19971
19972 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19973 and warnings are not silently discarded (e.g. use -d instead of -P).
19974
19975 2011-05-06 Glenn Morris <rgm@gnu.org>
19976
19977 * calendar/appt.el (appt-message-warning-time): Doc fix.
19978 (appt-warning-time-regexp): New option.
19979 (appt-make-list): Respect appt-message-warning-time.
19980
19981 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19982 New options.
19983 (diary-add-to-list): Strip comments from the displayed string.
19984 (diary-mode): Set comment-start and comment-end.
19985
19986 * vc/diff-mode.el (smerge-refine-subst): Declare.
19987 (diff-refine-hunk): Don't require smerge-mode when compiling.
19988
19989 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19990
19991 * simple.el (list-processes): Return nil as the docstring says.
19992
19993 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19994
19995 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19996 to "".
19997 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19998 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19999 determining of binary transfer. (Bug#7383)
20000
20001 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20002
20003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20004 Fix port computation bug. (Bug#8618)
20005
20006 2011-05-05 Glenn Morris <rgm@gnu.org>
20007
20008 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20009
20010 * simple.el (shell-dynamic-complete-functions)
20011 (comint-dynamic-complete-functions): Declare.
20012
20013 * net/network-stream.el (gnutls-negotiate):
20014 * simple.el (tabulated-list-print): Fix declarations.
20015
20016 * progmodes/gud.el (syntax-symbol, syntax-point):
20017 Remove unnecessary and incorrect declarations.
20018
20019 * emacs-lisp/check-declare.el (check-declare-scan):
20020 Handle byte-compile-initial-macro-environment in bytecomp.el.
20021
20022 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20023
20024 Fix earlier half-done eieio-defmethod change (bug#8338).
20025 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20026 Streamline and change calling convention.
20027 (defmethod): Adjust accordingly and simplify.
20028 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20029 new eieio--defmethod.
20030 (slot-boundp): Minor CSE simplification.
20031
20032 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20033
20034 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20035 (glasses-make-readable): Use glasses-separate-capital-groups.
20036
20037 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20038
20039 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20040 (warning-series): Doc fix.
20041 (display-warning): Don't try to create the buffer if we just found it.
20042
20043 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20044
20045 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20046 (autoload-find-generated-file): New function.
20047 (generate-file-autoloads): Bind generated-autoload-file to
20048 buffer-file-name.
20049 (update-file-autoloads, update-directory-autoloads):
20050 Use autoload-find-generated-file. If called interactively, prompt for
20051 output file (Bug#7989).
20052 (batch-update-autoloads): Doc fix.
20053
20054 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20055
20056 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20057
20058 2011-05-04 Glenn Morris <rgm@gnu.org>
20059
20060 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20061 function, so it follows changes in calendar-date-style.
20062 (diary-fancy-date-matcher): New function.
20063 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20064 (diary-fancy-font-lock-fontify-region-function):
20065 Use diary-fancy-date-pattern as a function.
20066
20067 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20068 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20069
20070 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20071
20072 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20073 instead of positional arguments. Allow :keylist and :crlfiles
20074 arguments.
20075 (open-gnutls-stream): Call it.
20076
20077 * net/network-stream.el (network-stream-open-starttls): Adjust to
20078 call `gnutls-negotiate' with :process and :hostname arguments.
20079
20080 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20081
20082 * minibuffer.el (completion--message): New function.
20083 (completion--do-completion, minibuffer-complete)
20084 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20085 (completion--do-completion): Don't ignore completion-auto-help when in
20086 icomplete-mode.
20087
20088 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20089 internal encoding (e.g. tibetan zero is not whitespace).
20090 (global-whitespace-mode): Prefer save-current-buffer.
20091 (whitespace-trailing-regexp): Remove useless save-match-data.
20092 (whitespace-empty-at-bob-regexp): Minor simplification.
20093
20094 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20095
20096 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20097
20098 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20099
20100 * textmodes/ispell.el (ispell-add-per-file-word-list):
20101 Use `concat' to create string for insertion.
20102
20103 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20104
20105 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20106 Avoid open-line which runs post-self-insert-hook.
20107 (bibtex-fill-entry): Remove unused `end' var.
20108
20109 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20110
20111 * textmodes/ispell.el (ispell-add-per-file-word-list):
20112 Protect against `nil' value of `comment-start' (Bug#8579).
20113
20114 2011-05-03 Leo Liu <sdl.web@gmail.com>
20115
20116 * isearch.el (isearch-yank-pop): New command.
20117 (isearch-mode-map): Bind it to `M-y'.
20118 (isearch-forward): Mention it.
20119
20120 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20121
20122 * simple.el (minibuffer-complete-shell-command): Remove.
20123 (minibuffer-local-shell-command-map): Use completion-at-point.
20124 (read-shell-command): Setup completion vars here instead.
20125 (read-expression-map): Bind TAB to symbol completion.
20126
20127 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20128 error directly rather via storing it into `results'.
20129
20130 2011-05-02 Leo Liu <sdl.web@gmail.com>
20131
20132 * vc/diff.el: Fix description.
20133
20134 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20135
20136 * server.el (server-eval-at): New function.
20137
20138 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20139
20140 * net/network-stream.el (open-network-stream): Take a :nowait
20141 parameter and pass it on to `make-network-process'.
20142 (network-stream-open-plain): Ditto.
20143
20144 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20145
20146 * faces.el (face-spec-set-match-display): Don't match toolkit
20147 options on terminal frames.
20148
20149 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * progmodes/pascal.el: Use lexical binding.
20152 (pascal-mode-map): Remove author preferences.
20153
20154 * pcomplete.el (pcomplete-std-complete): Don't abuse
20155 completion-at-point.
20156
20157 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20158
20159 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20160 removing code that has been dead since 1991 or so.
20161
20162 * startup.el (command-line): When warning about "_emacs", use a
20163 delayed warning to allow the user to filter it out.
20164
20165 2011-04-28 Deniz Dogan <deniz@dogan.se>
20166
20167 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20168 user has not joined.
20169
20170 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20171
20172 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20173 aren't any completions at point.
20174
20175 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20176
20177 * subr.el (display-delayed-warnings): New function.
20178 (delayed-warnings-hook): New variable.
20179
20180 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20181
20182 * minibuffer.el (completion-at-point, completion-help-at-point):
20183 Don't presume that a given completion-at-point-function will always
20184 use the same calling convention.
20185
20186 * pcomplete.el (pcomplete-completions-at-point):
20187 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20188 pcomplete-seen is non-nil.
20189 (pcomplete-comint-setup): Also recognize the new comint/shell
20190 completion functions.
20191 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20192 pcomplete-seen is non-nil.
20193
20194 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20195
20196 * calendar/icalendar.el (diary-lib): Add require statement.
20197 (icalendar--create-uid): Read out a uid from a text-property on
20198 the first character in the entry. This allows for code to add its
20199 own uid to the entry.
20200 (icalendar--convert-float-to-ical): Add export of
20201 `diary-float'-entries save for those with the optional DAY
20202 argument.
20203
20204 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20205
20206 * subr.el (shell-quote-argument): Use alternate escaping strategy
20207 when we spot a variable reference in a string.
20208
20209 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20210
20211 * cus-start.el (all): Define customization for debug-on-event.
20212
20213 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20214
20215 * subr.el (shell-quote-argument): Escape correctly under Windows.
20216
20217 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20218
20219 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20220
20221 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20222
20223 * net/tramp.el (tramp-process-actions): Add POS argument.
20224 Delete region between POS and (pos).
20225
20226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20227 Use `nil' position in `tramp-process-actions' call.
20228 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20229
20230 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20231 position in `tramp-process-actions' call.
20232
20233 * net/trampver.el: Update release number.
20234
20235 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20236
20237 * custom.el (defcustom): Obey lexical-binding.
20238
20239 Fix octave-inf completion problems reported by Alexander Klimov.
20240 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20241 Inherit from octave-mode-syntax-table.
20242 (inferior-octave-mode): Set info-lookup-mode.
20243 (inferior-octave-completion-at-point): New function.
20244 (inferior-octave-complete): Use it and completion-in-region.
20245 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20246 comint-filename-completion.
20247 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20248 symbol elements which shouldn't be word elements.
20249 (octave-font-lock-keywords, octave-beginning-of-defun)
20250 (octave-function-header-regexp): Adjust regexps accordingly.
20251 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20252
20253 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20254
20255 * net/gnutls.el (gnutls-errorp): Declare before first use.
20256
20257 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20258
20259 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20260 verify-error, and verify-hostname-error parameters. Check whether
20261 default trustfile exists before going to use it. Add missing
20262 argument to gnutls-message-maybe call. Return value.
20263 Reported by Claudio Bley <claudio.bley@gmail.com>.
20264 (open-gnutls-stream): Add usage example.
20265
20266 * net/network-stream.el (network-stream-open-starttls): Give host
20267 parameter to `gnutls-negotiate'.
20268 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20269 * subr.el (shell-quote-argument): Escape correctly under Windows.
20270
20271 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20272
20273 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20274 Use correct match group (bug#8438).
20275
20276 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20277
20278 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20279 (package-menu--generate): New arg specifying packages to show.
20280 (package-menu-refresh, package-menu-execute, list-packages):
20281 Callers changed.
20282 (package-show-package-list): New function, replacing deleted
20283 package--list-packages (renamed because it is non-internal).
20284
20285 * finder.el (finder-list-matches): Use package-show-package-list
20286 instead of deleted package--list-packages.
20287
20288 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20289 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20290 (vc-annotate-mode-map): Bind it to RET.
20291
20292 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20293
20294 * progmodes/etags.el (next-file): Don't use set-buffer to change
20295 buffers (Bug#8478).
20296
20297 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20298
20299 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20300
20301 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20302 (apropos-accumulator): Doc fix.
20303 (apropos-function, apropos-macro, apropos-command)
20304 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20305 (apropos-plist): Add face property.
20306 (apropos-symbols-internal): Fix indentation.
20307 (apropos-print): Simplify help, and recognize apropos-multi-type.
20308 (apropos-print-doc): Use button-type-get to extract the button's
20309 face property. Fill docstring (Bug#8352).
20310
20311 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20312
20313 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20314
20315 * play/mpuz.el (mpuz-silent): Doc fix.
20316 (mpuz-mode-map): Use mapc.
20317 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20318 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20319 Fix typos in docstrings.
20320
20321 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20322 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20323
20324 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20325
20326 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20327
20328 * minibuffer.el (completion--do-completion): Avoid the "Next char
20329 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20330
20331 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20332 mouse-2 into unread-command-events, it is interpreted correctly.
20333
20334 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20335 (image-toggle-display): Doc fix.
20336
20337 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20338
20339 * textmodes/page.el (what-page): Use line-number-at-pos to
20340 calculate line number (Bug#6825).
20341
20342 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20343
20344 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20345 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20346 Pass argument NO-DEFAULT to `find-tag-interactive'.
20347
20348 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20349
20350 Lexical-binding cleanup.
20351
20352 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20353 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20354 * progmodes/ada-prj.el (ada-prj-initialize-values)
20355 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20356 (ada-prj-show-value):
20357 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20358 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20359 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20360 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20361 * progmodes/bug-reference.el (bug-reference-push-button):
20362 * progmodes/fortran.el (fortran-line-length):
20363 * progmodes/glasses.el (glasses-change):
20364 * progmodes/octave-mod.el (octave-fill-paragraph):
20365 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20366 (python-pdbtrack-grub-for-buffer, python-sentinel):
20367 * progmodes/sql.el (sql-save-connection):
20368 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20369 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20370 Mark unused parameters.
20371
20372 * progmodes/compile.el (compilation--flush-directory-cache)
20373 (compilation--flush-parse, compile-internal): Mark unused parameters.
20374 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20375 (compilation-next-error-function): Remove unused variable `timestamp'.
20376
20377 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20378 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20379
20380 * progmodes/dcl-mode.el (dcl-end-of-command):
20381 Remove unused variable `start'.
20382 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20383 (dcl-option-value-basic, dcl-option-value-offset)
20384 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20385 Mark unused parameters.
20386 (dcl-save-local-variable): Remove unused variable `val'.
20387 (mode): Declare.
20388
20389 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20390 Mark unused parameters.
20391 (delphi-ignore-changes): Move before first use.
20392 (delphi-charset-token-at): Remove unused variable `start'.
20393 (delphi-else-start): Remove unused variable `if-count'.
20394 (delphi-comment-block-start, delphi-comment-block-end):
20395 Remove unused variable `kind'.
20396 (delphi-indent-line): Remove unused variable `new-point'.
20397
20398 * progmodes/ebrowse.el (ebrowse-files-list)
20399 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20400 Mark unused parameters. Don't quote `lambda'.
20401 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20402 Don't quote `lambda'.
20403 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20404 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20405 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20406 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20407 Use `ignore-errors'.
20408 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20409 (ebrowse-view/find-file-and-search-pattern)
20410 (ebrowse-view/find-member-declaration/definition):
20411 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20412 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20413 Rename parameter PREFIX-ARG to PREFIX.
20414 (ebrowse-tags-read-name): Remove unused variables `start' and
20415 `member-info'.
20416 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20417 to `tags-file'.
20418
20419 * progmodes/etags.el (local-find-tag-hook): Declare.
20420 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20421 Mark unused parameters.
20422
20423 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20424 (executable-interpret): Mark unused parameter.
20425
20426 * progmodes/flymake.el (flymake-process-sentinel)
20427 (flymake-after-change-function)
20428 (flymake-create-temp-with-folder-structure)
20429 (flymake-get-include-dirs-dot): Mark unused parameters.
20430 (flymake-safe-delete-directory): Remove unused variable `err'.
20431
20432 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20433 (speedbar-timer-fn, speedbar-line-text)
20434 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20435 (speedbar-center-buffer-smartly): Declare functions.
20436 (gdb-find-watch-expression): Remove unused variable `array'.
20437 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20438 (gdb-starting): Mark unused parameters.
20439 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20440 (gdb-table-string): Remove unused variable `res'.
20441 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20442 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20443 (gdb-display-buffer): Remove unused variable `cur-size'.
20444
20445 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20446 allow lexical-binding compilation.
20447 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20448 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20449 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20450 Mark unused parameters.
20451 (gud-gdb-marker-filter): Remove unused variable `match'.
20452 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20453 lambda expressions and funcall them, instead of using `fset'.
20454
20455 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20456 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20457
20458 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20459 variable `header-beg'; use `let'.
20460
20461 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20462 `restart', `last-sexp' and `at-do'.
20463
20464 * progmodes/js.el (js--debug): Mark unused parameter.
20465 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20466 (js--splice-into-items): Remove unused variable `item'.
20467 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20468
20469 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20470 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20471 (makefile-complete): Remove unused variable `try'.
20472 (makefile-fill-paragraph, makefile-match-function-end):
20473 Mark unused parameters.
20474
20475 * progmodes/octave-inf.el (inferior-octave-complete):
20476 Remove unused variable `proc'.
20477 (inferior-octave-output-digest): Mark unused parameter.
20478
20479 * progmodes/perl-mode.el (perl-calculate-indent):
20480 Remove unused variable `err'.
20481
20482 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20483 (prolog-indent-line): Mark unused parameters.
20484 (prolog-indent-line): Remove unused variable `beg'.
20485
20486 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20487 (reporter-dont-compact-list): Declare.
20488
20489 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20490 Remove unused variable `char'.
20491 (sh-debug): Mark unused parameter.
20492 (sh-get-indent-info): Remove unused variable `start'.
20493 (sh-calculate-indent): Remove unused variable `var'.
20494
20495 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20496 (simula-electric-keyword): Remove unused variable `null'.
20497 (simula-search-backward, simula-search-forward): Remove unused
20498 variables `begin' and `end'.
20499
20500 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20501 Remove unused variable `pos'.
20502 (vera-electric-tab, vera-comment-uncomment-region):
20503 Mark unused parameters.
20504 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20505
20506 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20507
20508 * emacs-lisp/package.el (package--builtins, package-alist)
20509 (package-load-descriptor, package-built-in-p, package-activate)
20510 (define-package, package-installed-p)
20511 (package-compute-transaction, package-buffer-info)
20512 (package--push): Doc fix. Distinguish more clearly between
20513 version strings and version lists.
20514
20515 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20516
20517 Lexical-binding cleanup.
20518
20519 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20520 (5x5-make-mutate-best):
20521 * play/fortune.el (fortune-in-buffer):
20522 * play/gomoku.el (gomoku-init-display):
20523 * play/solitaire.el (solitaire, solitaire-do-check):
20524 * play/tetris.el (tetris-default-update-speed-function):
20525 Mark unused parameters.
20526
20527 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20528 (bubbles--shift): Remove unused variable `char-org'.
20529 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20530 (bubbles--show-images): Remove unused variable `char'.
20531
20532 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20533 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20534 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20535 (decipher-analyze-buffer): Use ?\s.
20536 (decipher-make-checkpoint): Remove unused variable `mapping'.
20537
20538 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20539
20540 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20541 Remove unused variable `result'; use `let'.
20542
20543 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20544 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20545 (gametree-children-shown-p, gametree-compute-reduced-score):
20546 Use `ignore-errors'.
20547
20548 * play/handwrite.el (ps-lpr-switches): Declare.
20549 (handwrite): Remove unused variables `pmin' and `lastp'.
20550
20551 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20552
20553 * play/landmark.el (landmark-init-display)
20554 (landmark-update-naught-weights): Mark unused parameters.
20555 (landmark-y): Remove unused variable `noise'. Simplify.
20556 (landmark-human-plays): Remove unused variable `score'.
20557
20558 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20559 (mpuz-try-proposal): Remove unused variable `game'.
20560
20561 * play/zone.el (life-patterns): Declare.
20562
20563 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20564
20565 * vc/vc.el (ediff-vc-internal): Declare function.
20566
20567 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20568
20569 * shell.el: Use lexical-binding and std completion UI.
20570 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20571 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20572 comint-preoutput-filter-functions rather than on
20573 comint-output-filter-functions.
20574 (shell-command-completion, shell--command-completion-data)
20575 (shell-filename-completion, shell-environment-variable-completion)
20576 (shell-c-a-p-replace-by-expanded-directory): New functions.
20577 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20578 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20579 (shell-dynamic-complete-environment-variable): Use them.
20580 (shell-dynamic-complete-as-environment-variable)
20581 (shell-dynamic-complete-as-command): Remove.
20582 (shell-match-partial-variable): Match past point.
20583 * comint.el: Clean up use of completion-at-point-functions.
20584 (comint-completion-at-point): New function.
20585 (comint-mode): Use it completion-at-point-functions.
20586 (comint-dynamic-complete): Make it obsolete.
20587 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20588 (comint-c-a-p-replace-by-expanded-history): New function.
20589 (comint-dynamic-complete-functions)
20590 (comint-replace-by-expanded-history): Use it.
20591 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20592 termination strings. Try harder to avoid second try-completion.
20593 (completion-in-region-mode-map): Disable bindings that don't work yet.
20594
20595 * comint.el: Use lexical-binding. Require CL.
20596 (comint-dynamic-complete-functions): Use comint-filename-completion.
20597 (comint-completion-addsuffix): Tweak custom type.
20598 (comint-filename-completion, comint--common-suffix)
20599 (comint--common-quoted-suffix, comint--table-subvert)
20600 (comint--complete-file-name-data): New functions.
20601 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20602 (comint-dynamic-list-filename-completions): Use them.
20603 (comint-dynamic-simple-complete): Make obsolete.
20604
20605 * minibuffer.el (completion-in-region-mode):
20606 Keep completion-in-region-mode--predicate global.
20607 (completion-in-region--postch):
20608 Assume completion-in-region-mode--predicate is not null.
20609
20610 * progmodes/flymake.el (flymake-start-syntax-check-process):
20611 Obey `dir'. Simplify.
20612
20613 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20614 we're in VC after all.
20615
20616 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20617
20618 * vc/vc.el (vc-diff-build-argument-list-internal)
20619 (vc-version-ediff, vc-ediff): New commands.
20620 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20621
20622 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20623
20624 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20625 add sanity check.
20626
20627 * obsolete/erc-hecomplete.el: Make obsolete.
20628 * obsolete/: Standardize obsolescence info in the header.
20629
20630 2011-04-20 Glenn Morris <rgm@gnu.org>
20631
20632 * calendar/solar.el (solar-horizontal-coordinates):
20633 Use the longitude argument rather than `calendar-longitude'.
20634 (solar-date-next-longitude): Remove unused locals.
20635
20636 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20637
20638 * whitespace.el: New version 13.2.1.
20639
20640 2011-04-20 felix <EmacsWiki> (tiny change)
20641
20642 * whitespace.el (global-whitespace-mode): Keep highlight when
20643 switching between major modes on a file.
20644
20645 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20646
20647 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20648 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20649 multi-line comments as well.
20650
20651 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20652
20653 Lexical-binding cleanup.
20654
20655 * arc-mode.el (archive-mode-revert):
20656 * cmuscheme.el (scheme-interactively-start-process):
20657 * custom.el (custom-initialize-delay):
20658 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20659 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20660 * emacs-lock.el (emacs-lock-clear-sentinel):
20661 * ezimage.el (defezimage):
20662 * follow.el (follow-avoid-tail-recenter):
20663 * fringe.el (set-fringe-mode-1):
20664 * generic-x.el (bat-generic-mode-compile):
20665 * help-mode.el (help-info-variable, help-do-xref)
20666 (help-mode-revert-buffer):
20667 * help.el (view-emacs-todo):
20668 * iswitchb.el (iswitchb-completion-help):
20669 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20670 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20671 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20672 * locate.el (locate-update):
20673 * longlines.el (longlines-encode-region)
20674 (longlines-after-change-function):
20675 * outline.el (outline-isearch-open-invisible):
20676 * ps-def.el (declare-function, charset-dimension, char-width)
20677 (encode-char):
20678 * ps-mule.el (ps-mule-plot-string):
20679 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20680 (recentf-edit-list-select, recentf-edit-list-validate)
20681 (recentf-open-files-action):
20682 * rect.el (delete-whitespace-rectangle-line)
20683 (rectangle-number-line-callback):
20684 * register.el (window-configuration-to-register)
20685 (frame-configuration-to-register):
20686 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20687 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20688 (xselect-convert-to-targets, xselect-convert-to-delete)
20689 (xselect-convert-to-filename, xselect-convert-to-charpos)
20690 (xselect-convert-to-lineno, xselect-convert-to-colno)
20691 (xselect-convert-to-os, xselect-convert-to-host)
20692 (xselect-convert-to-user, xselect-convert-to-class)
20693 (xselect-convert-to-name, xselect-convert-to-integer)
20694 (xselect-convert-to-atom, xselect-convert-to-identity):
20695 * subr.el (declare, ignore, process-kill-without-query)
20696 (text-clone-maintain):
20697 * terminal.el (te-get-char, te-tic-sentinel):
20698 * tool-bar.el (tool-bar-make-keymap):
20699 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20700 * type-break.el (type-break-mode, type-break-noninteractive-query):
20701 * view.el (View-back-to-mark):
20702 * wid-browse.el (widget-browse-action, widget-browse-widget)
20703 (widget-browse-widgets, widget-browse-sexp):
20704 * widget.el (define-widget-keywords):
20705 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20706 Mark unused parameters.
20707
20708 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20709 (align-areas): Remove unused variable `look'.
20710 (align-region): Remove unused variables `real-end' and `pos-list'.
20711
20712 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20713
20714 * bindings.el (mode-line-modified, mode-line-remote):
20715 Mark unused parameters.
20716 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20717
20718 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20719 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20720
20721 * comint.el (comint-history-isearch-pop-state)
20722 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20723 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20724 (comint-substitute-in-file-name): Doc fix.
20725
20726 * completion.el (cmpl-statistics-block): Mark unused parameter.
20727 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20728 (save-completions-to-file, load-completions-from-file):
20729 Remove unused local variable `e'.
20730
20731 * composite.el (compose-chars): Remove unused variable `len'.
20732 (lgstring-insert-glyph): Remove unused variable `g'.
20733 (compose-glyph-string): Remove unused variables `ascent',
20734 `descent', `lbearing' and `rbearing'.
20735 (compose-glyph-string-relative): Remove unused variables
20736 `lbearing', `rbearing' and `wadjust'.
20737 (compose-gstring-for-graphic): Remove unused variables `header',
20738 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20739 (compose-gstring-for-terminal): Remove unused variables `header'
20740 and `nchars'. Use `let', not `let*'.
20741
20742 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20743 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20744 (Custom-buffer-done, custom-buffer-create-internal)
20745 (custom-browse-visibility-action, custom-browse-group-tag-action)
20746 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20747 (widget-magic-mouse-down-action, custom-toggle-parent)
20748 (custom-add-parent-links, custom-toggle-hide-variable)
20749 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20750 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20751 (custom-face-menu-create, custom-variable-menu-create, get)
20752 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20753 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20754 (customize-apropos): Remove unused variable `tests'.
20755 (custom-group-value-create): Remove unused variable `hidden-p'.
20756 (sort-fold-case): Declare.
20757
20758 * cus-theme.el (custom-reset-standard-faces-list)
20759 (custom-reset-standard-variables-list): Declare.
20760 (customize-create-theme, custom-theme-revert, custom-theme-write)
20761 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20762 Mark unused parameters.
20763
20764 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20765
20766 * delim-col.el (delimit-columns-max): Move defvar before first use.
20767
20768 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20769 (describe-char): Don't quote `lambda'. Mark unused parameter.
20770
20771 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20772 (auto-insert): Declare.
20773 (desktop-restore-file-buffer): Rename desktop-* parameters;
20774 mark unused ones.
20775 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20776 (desktop-buffer): Rename desktop-* parameters.
20777
20778 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20779 (dframe-reposition-frame-xemacs, dframe-help-echo)
20780 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20781 Mark unused parameters.
20782
20783 * dired-aux.el (backup-extract-version-start, overwrite-query)
20784 (overwrite-backup-query, rename-regexp-query)
20785 (rename-non-directory-query): Declare.
20786 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20787 (dired-add-entry): Remove unused variable `orig-file-name'.
20788 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20789 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20790 `dired-copy-preserve-time' directly.
20791 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20792 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20793
20794 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20795 (dired-virtual-revert, dired-make-relative-symlink):
20796 Mark unused parameters.
20797 (manual-program): Declare.
20798 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20799 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20800 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20801
20802 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20803
20804 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20805
20806 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20807 Declare.
20808
20809 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20810
20811 * electric.el (Electric-command-loop): Rename parameter
20812 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20813
20814 * expand.el (expand-in-literal): Remove unused variable `here'.
20815
20816 * facemenu.el (facemenu-add-new-color):
20817 Remove unused variable `docstring'.
20818
20819 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20820 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20821 (face-attr-construct): Mark unused parameter. Doc fix.
20822 (read-color): Remove unused variable `hex-string'.
20823
20824 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20825 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20826 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20827 (display-buffer-other-frame): Remove unused variable `old-window'.
20828 (kill-buffer-hook): Declare.
20829 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20830 Mark unused parameters.
20831 (after-find-file): Pass 1 to `auto-save-mode', not t.
20832
20833 * files-x.el (auto-insert): Declare.
20834 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20835
20836 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20837 variable `buf'. Mark unused parameter.
20838 (find-lisp-insert-directory): Mark unused parameter.
20839
20840 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20841 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20842 (format-common-tail): Remove, unused.
20843 (format-deannotate-region): Remove unused variable `loc'.
20844 (format-annotate-region): Remove unused variable `p'.
20845 (format-annotate-single-property-change): Remove unused variables
20846 `default' and `tail'.
20847
20848 * forms.el (read-file-filter): Declare.
20849 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20850
20851 * frame.el (frame-creation-function-alist): Mark unused parameter.
20852 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20853
20854 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20855 Remove unused parameters.
20856 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20857 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20858
20859 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20860 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20861 (hfy-prepare-tag-map): Mark unused parameters.
20862 (htmlfontify-buffer): Use `called-interactively-p'.
20863
20864 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20865 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20866 (ibuffer-do-occur): Mark unused parameters.
20867 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20868 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20869
20870 * ibuffer.el: Don't quote `lambda'.
20871 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20872 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20873 Mark unused parameters.
20874
20875 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20876 (ido-completing-read): Mark unused parameters.
20877 (ido-copy-current-word): Mark unused parameters;
20878 remove unused variable `name'.
20879 (ido-sort-merged-list): Remove unused parameter `dirs'.
20880
20881 * ielm.el (ielm-input-sender): Mark unused parameter.
20882 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20883 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20884 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20885 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20886 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20887
20888 * image-dired.el (image-dired-display-thumbs): Remove unused
20889 variables `curr-file' and `count'.
20890 (image-dired-remove-tag): Remove unused variable `start'.
20891 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20892 variable `curr-file'
20893 (image-dired-rotate-original): Remove unused variable `temp-file'.
20894 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20895 Remove unused variable `file'.
20896 (image-dired-gallery-generate): Remove unused variable `curr'.
20897 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20898
20899 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20900
20901 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20902
20903 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20904
20905 * isearch.el (minibuffer-history-symbol): Declare.
20906 (isearch-edit-string): Remove unused variable `err'.
20907 (isearch-message-prefix, isearch-message-suffix):
20908 Mark unused parameters.
20909
20910 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20911
20912 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20913
20914 * makesum.el (double-column): Remove unused variable `cnt'.
20915
20916 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20917 (ido-ignore-item-temp-list): Declare.
20918
20919 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20920 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20921 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20922 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20923 `mouse-col-delta'.
20924
20925 * mouse-sel.el (mouse-extend-internal):
20926 Remove unused variable `orig-window-frame'.
20927
20928 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20929 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20930 Move declarations before first use.
20931 (pcomplete-opt): Mark unused parameters; doc fix.
20932
20933 * proced.el (proced-revert): Mark unused parameter.
20934 (proced-send-signal): Remove unused variable `err'.
20935
20936 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20937 Rename parameter PREFIX-ARG to ARG.
20938 (ps-basic-plot-string, ps-basic-plot-whitespace):
20939 Mark unused parameters.
20940
20941 * replace.el (replace-count): Define.
20942 (occur-revert-function): Mark unused parameters.
20943 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20944 (isearch-case-fold-search, isearch-string): Declare.
20945 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20946 bind `case-fold-search'. Remove unused variables `beg' and `end',
20947 and simplify.
20948 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20949 COUNT and bind `replace-count'.
20950 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20951 to COUNT.
20952
20953 * savehist.el (print-readably, print-string-length): Declare.
20954
20955 * shadowfile.el (shadow-expand-cluster-in-file-name):
20956 Remove unused variable `cluster'.
20957 (shadow-copy-file): Remove unused variable `i'.
20958 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20959 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20960 (shadow-define-literal-group, shadow-define-regexp-group)
20961 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20962
20963 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20964 (shell): Use `called-interactively-p'.
20965 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20966
20967 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20968 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20969 (delete-backward-char): Remove unused variable `ocol'.
20970 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20971 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20972 (event-apply-hyper-modifier, event-apply-shift-modifier)
20973 (event-apply-control-modifier, event-apply-meta-modifier):
20974 Mark unused parameters.
20975 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20976 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20977
20978 * speedbar.el (speedbar-ignored-directory-expressions)
20979 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20980 (speedbar-find-file, speedbar-dir-follow)
20981 (speedbar-directory-buttons-follow, speedbar-tag-find)
20982 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20983 (speedbar-buffers-line-directory, speedbar-buffer-click):
20984 Mark unused parameters.
20985 (speedbar-tag-file): Remove unused variable `mode'.
20986 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20987
20988 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20989
20990 * talk.el (talk): Remove unused variable `display'.
20991
20992 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20993 (tar-write-region-annotate): Mark unused parameter.
20994
20995 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20996 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20997 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20998 warning by another.
20999
21000 * time-stamp.el (time-stamp-string-preprocess):
21001 Remove unused variable `require-padding'.
21002
21003 * tree-widget.el (widget-glyph-enable): Declare.
21004 (tree-widget-action): Mark unused parameter.
21005
21006 * w32-fns.el (x-get-selection): Mark unused parameter.
21007 (autoload-make-program, generated-autoload-file): Declare.
21008
21009 * wdired.el (wdired-revert): Mark unused parameters.
21010 (wdired-xcase-word): Remove unused variable `err'.
21011
21012 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21013 (whitespace-help-scroll): Remove unused variable `data-help'.
21014
21015 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21016 (widget-image-insert, widget-after-change, default)
21017 (widget-default-format-handler, widget-default-notify)
21018 (widget-default-prompt-value, widget-info-link-action)
21019 (widget-url-link-action, widget-function-link-action)
21020 (widget-variable-link-action, widget-file-link-action)
21021 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21022 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21023 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21024 (widget-insert-button-action, widget-delete-button-action, visibility)
21025 (widget-documentation-link-action, widget-documentation-string-action)
21026 (widget-const-prompt-value, widget-regexp-match, symbol)
21027 (widget-coding-system-prompt-value)
21028 (widget-key-sequence-value-to-external, sexp)
21029 (widget-sexp-value-to-internal, character, vector, cons)
21030 (widget-choice-prompt-value, widget-boolean-prompt-value)
21031 (widget-color--choose-action): Mark unused parameters.
21032 (widget-item-match-inline, widget-choice-match-inline)
21033 (widget-checklist-match, widget-checklist-match-inline)
21034 (widget-group-match): Rename parameter VALUES to VALS.
21035 (widget-field-value-set): Remove unused variable `size'.
21036 (widget-color-action): Remove unused variables `value' and `start'.
21037
21038 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21039 variable `dir'. Doc fix.
21040 (windmove-find-other-window): Don't pass it.
21041
21042 * window.el (count-windows): Mark unused parameter.
21043 (bw-adjust-window): Remove unused variable `err'.
21044
21045 * woman.el (woman-file-name): Remove unused variable `default'.
21046 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21047 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21048 (global-font-lock-mode): Declare.
21049 (woman-decode-region): Mark unused parameter.
21050 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21051
21052 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21053 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21054 (x-dnd-handle-moz-url): Remove unused variable `title'.
21055 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21056
21057 * xml.el (xml-parse-tag, xml-parse-attlist):
21058 Remove unused variable `pos'.
21059
21060 2011-04-19 Glenn Morris <rgm@gnu.org>
21061
21062 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21063 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21064 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21065 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21066 * calendar/cal-html.el (cal-html-insert-minical):
21067 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21068 (calendar-mark-date-pattern):
21069 Prefix "unused" locals.
21070
21071 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21072 optional argument `style'.
21073
21074 * calendar/appt.el (appt-make-list):
21075 * calendar/cal-china.el (calendar-chinese-date-string):
21076 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21077 (diary-hebrew-yahrzeit):
21078 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21079 * calendar/calendar.el (calendar-generate-window):
21080 * calendar/time-date.el (time-to-days):
21081 Remove unused local variables.
21082
21083 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21084
21085 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21086 glyphless-char-display table.
21087 (tabulated-list-glyphless-char-display): New var.
21088
21089 2011-04-18 Sam Steingold <sds@gnu.org>
21090
21091 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21092 to acknowledgments.
21093
21094 2011-04-17 Glenn Morris <rgm@gnu.org>
21095
21096 * calendar/diary-lib.el (diary-sexp-entry):
21097 * calendar/holidays.el (holiday-sexp):
21098 Set debug-on-error rather than the removed stack-trace-on-error.
21099
21100 2011-04-16 Glenn Morris <rgm@gnu.org>
21101
21102 * progmodes/f90.el: Use lexical-binding.
21103 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21104
21105 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21106
21107 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21108 (mail-mode): Setup mailalias completion here instead.
21109 * mail/mailalias.el: Use lexical-binding.
21110 (pattern, mailalias-done): Declare dynamic.
21111 (mail-completion-at-point-function): New function, from mail-complete.
21112 (mail-complete): Use it.
21113 (mail-completion-expand): New function.
21114 (mail-get-names): Use it.
21115 (mail-directory, mail-directory-process, mail-directory-stream):
21116 Don't use `pattern' for lexically bound arg.
21117
21118 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21119
21120 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21121 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21122 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21123
21124 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21125 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21126 (byte-interactive-p): Define them again, for use when inlining
21127 old code.
21128
21129 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21130
21131 * loadup.el: Use `string-to-number', not `string-to-int'.
21132
21133 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21134
21135 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21136 gud-gdb-complete-command.
21137 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21138 (gud-gdb-completion-at-point): New function.
21139 (gud-gdb-completions): Remove.
21140
21141 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21142
21143 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21144 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21145 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21146 whether `executable-find' is bound.
21147
21148 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21149
21150 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21151
21152 * minibuffer.el (completion-in-region-mode-predicate)
21153 (completion-in-region-mode--predicate): New vars.
21154 (completion-in-region, completion-in-region--postch)
21155 (completion-in-region-mode): Use them.
21156 (completion--capf-wrapper): Also return the hook function.
21157 (completion-at-point, completion-help-at-point):
21158 Adjust and provide a predicate.
21159
21160 Preserve arg names for advice of subr and lexical functions (bug#8457).
21161 * help-fns.el (help-function-arglist): Consolidate the subr and
21162 new-byte-code cases. Add argument `preserve-names' to extract names
21163 from the docstring when needed.
21164 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21165 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21166 (ad-arglist): Use help-function-arglist's new arg.
21167 (ad-definition-type): Use cond.
21168
21169 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21170
21171 * autorevert.el (auto-revert-handler):
21172 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21173 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21174 Don't quote lambda.
21175
21176 * image-mode.el (image-transform-set-scale):
21177 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21178
21179 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21180
21181 * net/network-stream.el (network-stream-open-starttls): Only do
21182 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21183 Upgrades via gnutls-cli are too slow to be done opportunistically.
21184
21185 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21186
21187 * dframe.el (dframe-current-frame): Remove spurious quote.
21188
21189 2011-04-12 Glenn Morris <rgm@gnu.org>
21190
21191 * calendar/cal-tex.el (cal-tex-end-document):
21192 Try to automatically use latin1 input if needed.
21193
21194 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21195 Don't try to cons a mark onto an empty element.
21196
21197 2011-04-11 Leo Liu <sdl.web@gmail.com>
21198
21199 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21200 buffers.
21201 (ido-kill-buffer-at-head): Support killing virtual buffers.
21202
21203 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21204
21205 * minibuffer.el (completion-show-inline-help): New var.
21206 (completion--do-completion, minibuffer-complete)
21207 (minibuffer-force-complete, minibuffer-complete-word):
21208 Inhibit minibuffer messages if completion-show-inline-help is nil.
21209
21210 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21211 to avoid interference from inline help (Bug#5849).
21212
21213 2011-04-10 Leo Liu <sdl.web@gmail.com>
21214
21215 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21216 Fix typo.
21217
21218 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21219
21220 * image-mode.el (image-toggle-display-image): Signal an error if
21221 not in Image mode.
21222 (image-transform-mode, image-transform-resize)
21223 (image-transform-set-rotation): Doc fix.
21224 (image-transform-set-resize): Delete.
21225 (image-transform-set-scale, image-transform-fit-to-height)
21226 (image-transform-fit-to-width): Handle image-toggle-display-image
21227 and image-transform-resize directly.
21228
21229 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21230
21231 * doc-view.el (doc-view-fit-width-to-window)
21232 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21233 New functions for fitting the shown image to the Emacs window size.
21234 (doc-view-mode-map): Add bindings for the new functions.
21235
21236 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21237
21238 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21239 Fix typo in docstring.
21240
21241 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21242
21243 * files.el (file-size-human-readable): Produce one digit after
21244 decimal, like "ls -lh" does.
21245
21246 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21247 the file size representation.
21248
21249 * simple.el (list-processes): If async subprocesses are not
21250 available, error out with a clear error message.
21251
21252 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21253
21254 * help.el (help-form-show): New function, to be called from C.
21255 Put help-form output in a buffer named differently than *Help*.
21256
21257 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21258
21259 * files.el (file-size-human-readable): New function.
21260
21261 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21262 computing the representation inline. Don't require `cl'.
21263
21264 2011-04-08 Glenn Morris <rgm@gnu.org>
21265
21266 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21267
21268 * net/browse-url.el (browse-url-firefox):
21269 Test system-type, not system-configuration.
21270
21271 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21272 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21273 Use log-edit-empty-buffer-p. (Bug#7598)
21274
21275 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21276 (rlogin-mode-map): Initialize in the defvar.
21277 (rlogin): Use ignore-errors.
21278
21279 * replace.el (occur-mode-map): Some fixes for menu items.
21280
21281 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21282
21283 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21284
21285 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21286
21287 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21288 issuing unused warnings.
21289
21290 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21291 macro directly.
21292
21293 * simple.el: Lisp reimplement of list-processes. Based on an
21294 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21295 (process-menu-mode): New major mode.
21296 (list-processes--refresh, list-processes):
21297 (process-menu-visit-buffer): New functions.
21298
21299 * files.el (save-buffers-kill-emacs): Don't assume any return
21300 value of list-processes, which is undocumented anyway.
21301
21302 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21303
21304 * emacs-lisp/tabulated-list.el: New file.
21305
21306 * emacs-lisp/package.el: Use Tabulated List mode.
21307 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21308 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21309 table format using Tabulated List mode variables.
21310 (package--push): New macro, replacing package-list-maybe-add.
21311 (package-menu--generate): Use package--push. Renamed from
21312 package--generate-package-list.
21313 (package-menu-refresh, list-packages): Use it.
21314 (package-menu--print-info): Rename from package-print-package.
21315 Return insertion data instead of inserting it directly.
21316 (package-menu-describe-package, package-menu-execute):
21317 Use tabulated-list-get-id.
21318 (package-menu-mark-delete, package-menu-mark-install)
21319 (package-menu-mark-unmark, package-menu-backup-unmark)
21320 (package-menu-mark-obsolete-for-deletion):
21321 Use tabulated-list-put-tag.
21322 (package--list-packages, package-menu-revert)
21323 (package-menu-get-package, package-menu-get-version)
21324 (package-menu-sort-by-column): Functions deleted.
21325 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21326 (package-menu--status-predicate, package-menu--version-predicate)
21327 (package-menu--name-predicate)
21328 (package-menu--description-predicate): Handle arguments in the
21329 Tabulated List format.
21330 (package-list-packages-no-fetch): Call list-packages.
21331
21332 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21333
21334 * files.el (after-find-file-from-revert-buffer): Remove variable.
21335 (after-find-file): Don't bind it.
21336 (revert-buffer-in-progress-p): New variable.
21337 (revert-buffer): Bind it.
21338 Pass nil for `after-find-file-from-revert-buffer'.
21339
21340 * saveplace.el (save-place-find-file-hook): Use new variable
21341 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21342
21343 2011-04-06 Glenn Morris <rgm@gnu.org>
21344
21345 * Makefile.in (AUTOGEN_VCS): New variable.
21346 (autoloads): Use $AUTOGEN_VCS.
21347
21348 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21349 * calendar/calendar.el (calendar-mode-map):
21350 Check for toolkit scroll bars. (Bug#8305)
21351
21352 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21353
21354 * minibuffer.el (completion-in-region--postch)
21355 (completion-in-region-mode): Remove unnecessary messages.
21356
21357 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21358
21359 * font-lock.el (font-lock-refresh-defaults):
21360 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21361 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21362
21363 * info.el (Info-directory-list, Info-read-node-name-2)
21364 (Info-split-parameter-string): Doc fixes.
21365 (Info-virtual-nodes): Reflow docstring.
21366 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21367 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21368 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21369 Fix typos in docstrings.
21370 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21371 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21372 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21373 (Info-restore-desktop-buffer): Mark unused parameters.
21374 (Info-directory-find-file, Info-directory-find-node)
21375 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21376 (Info-virtual-index-find-node, Info-apropos-find-file)
21377 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21378 Mark unused parameters; fix typos in docstrings.
21379 (Info-virtual-index): Remove unused local variable `nodename'.
21380
21381 2011-04-05 Deniz Dogan <deniz@dogan.se>
21382
21383 * net/rcirc.el: Update my e-mail address.
21384 (rcirc-mode-map): Remove M-o binding.
21385
21386 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21387
21388 * startup.el (command-line): Save the cursor's theme-face
21389 directly, instead of using face-override-spec.
21390
21391 * custom.el (load-theme): Minor optimization in assigning faces.
21392
21393 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21394
21395 * help-fns.el (describe-variable): Complete all variables having
21396 documentation, including keywords.
21397 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21398
21399 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21400
21401 Convert to lexical-binding.
21402
21403 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21404 (bs--get-marked-string, bs--get-modified-string)
21405 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21406 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21407 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21408
21409 * ehelp.el (electric-help-execute-extended)
21410 (electric-help-ctrl-x-prefix):
21411 * hexl.el (hexl-revert-buffer-function):
21412 * linum.el (linum-after-change, linum-after-scroll):
21413 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21414
21415 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21416
21417 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21418
21419 * epa-dired.el:
21420 * epa-mail.el:
21421 * epa-hook.el:
21422 * epa-file.el:
21423 * epa.el:
21424 * epg.el: Use lexical binding.
21425
21426 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21427
21428 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21429
21430 * textmodes/flyspell.el (flyspell-word): Recognize default
21431 dictionary case for flyspell-mark-duplications-exceptions.
21432 Use regexp matching for languages.
21433 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21434 default dictionary (Bug#7926).
21435
21436 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21437
21438 * emacs-lisp/package.el (package--with-work-buffer):
21439 Recognize https URLs.
21440
21441 * net/network-stream.el: Move from gnus/proto-stream.el.
21442 Change prefix to network-stream throughout.
21443 (open-protocol-stream): Merge into open-network-stream, leaving
21444 open-protocol-stream as an alias. Handle nil BUFFER args.
21445
21446 * subr.el (open-network-stream): Move to net/network-stream.el.
21447
21448 2011-04-02 Glenn Morris <rgm@gnu.org>
21449
21450 * find-dired.el (find-exec-terminator): New option.
21451 (find-ls-option): Test for -ls support.
21452 (find-ls-subdir-switches): Test for -b in find-ls-option.
21453 (find-dired, find-grep-dired): Doc fixes.
21454 (find-dired): Use find-exec-terminator.
21455
21456 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21457 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21458 (find-name-arg): Remove purecopy.
21459
21460 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21461 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21462 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21463 accordingly. Don't add the null-device if not needed.
21464
21465 * files.el (save-some-buffers): Doc fix.
21466
21467 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21468
21469 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21470
21471 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21472
21473 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21474 Use `dolist' rather than `mapcar'.
21475
21476 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21477
21478 Add lexical binding.
21479
21480 * subr.el (apply-partially): Use new closures rather than CL.
21481 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21482 (dolist, dotimes): Use slightly different expansion for lexical code.
21483 (functionp): Move to C.
21484 (letrec): New macro.
21485 (with-wrapper-hook): Use it and apply-partially instead of CL.
21486 (eval-after-load): Preserve lexical-binding.
21487 (save-window-excursion, with-output-to-temp-buffer): Turn them
21488 into macros.
21489
21490 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21491
21492 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21493 than the arglist.
21494 (help-add-fundoc-usage): Don't add `Not documented'.
21495 (help-function-arglist): Handle closures, subroutines, and new
21496 byte-code-functions.
21497 (help-make-usage): Remove leading underscores.
21498 (describe-function-1): Handle closures.
21499 (describe-variable): Use special-variable-p for completion.
21500
21501 * files.el (lexical-binding): Declare safe.
21502
21503 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21504 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21505 (pcase): Add `let' pattern.
21506 Change memoization so it actually works.
21507 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21508 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21509 <let>: New case.
21510
21511 * emacs-lisp/macroexp.el: Use lexical binding.
21512 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21513 Don't convert ' to #' without checking that it's indeed quoting
21514 a lambda.
21515
21516 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21517 Use eval-sexp-add-defvars.
21518 (eval-sexp-add-defvars): New fun.
21519
21520 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21521
21522 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21523 Don't autoload.
21524 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21525 than the internal `byte-compile-lambda'.
21526 (defmethod): Don't hide code under quotes.
21527 (eieio-defmethod): New `code' argument.
21528
21529 * emacs-lisp/eieio-comp.el: Remove.
21530
21531 * emacs-lisp/edebug.el (edebug-eval-defun)
21532 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21533 (edebug-toggle): Avoid `eval'.
21534
21535 * emacs-lisp/disass.el (disassemble-internal): Handle new
21536 `closure' objects.
21537 (disassemble-1): Handle new byte codes.
21538
21539 * emacs-lisp/cl.el (pushnew): Silence warning.
21540
21541 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21542 (cl-byte-compile-throw): Remove.
21543 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21544
21545 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21546 closures.
21547
21548 * emacs-lisp/cconv.el: New file.
21549
21550 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21551 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21552 (byte-compile-initial-macro-environment):
21553 Handle declare-function here.
21554 (byte-compile--lexical-environment): New var.
21555 (byte-stack-ref, byte-stack-set, byte-discardN)
21556 (byte-discardN-preserve-tos): New lap codes.
21557 (byte-interactive-p): Don't use any more.
21558 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21559 New macros.
21560 (byte-compile-lapcode): Use them and handle new lap codes.
21561 (byte-compile-obsolete): Remove.
21562 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21563 (byte-compile-arglist-warn): Check late def of inlinable funs.
21564 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21565 since they should have been expanded by now.
21566 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21567 (byte-compile-from-buffer): Remove unused second arg.
21568 (byte-compile-preprocess): New function.
21569 (byte-compile-toplevel-file-form): New function to distinguish
21570 file-form calls from outside from file-form calls from hunk-handlers.
21571 (byte-compile-file-form): Simplify.
21572 (byte-compile-file-form-defsubst): Remove.
21573 (byte-compile-file-form-defmumble): Simplify now that
21574 byte-compile-lambda always returns a byte-code-function.
21575 (byte-compile): Preprocess.
21576 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21577 Remove, not used any more.
21578 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21579 (byte-compile-make-args-desc): New funs.
21580 (byte-compile-lambda): Handle lexical functions. Always return
21581 a byte-code-function.
21582 (byte-compile-reserved-constants): New var, to make up room for
21583 closed-over variables.
21584 (byte-compile-constants-vector): Obey it.
21585 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21586 (byte-compile-macroexpand-declare-function): New function.
21587 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21588 byte-code-functions.
21589 (byte-compile-form): Check obsolescence here.
21590 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21591 (byte-compile-variable-ref): Remove.
21592 (byte-compile-dynamic-variable-op): New fun.
21593 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21594 (byte-compile-variable-set): New funs.
21595 (byte-compile-discard): Add 2 args.
21596 (byte-compile-stack-ref, byte-compile-stack-set)
21597 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21598 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21599 macroexpand-all instead.
21600 (byte-compile-quote-form): Remove.
21601 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21602 (byte-compile-bind, byte-compile-unbind): New funs.
21603 (byte-compile-let): Handle let* and lexical binding.
21604 (byte-compile-let*): Remove.
21605 (byte-compile-catch, byte-compile-unwind-protect)
21606 (byte-compile-track-mouse, byte-compile-condition-case):
21607 Handle a new :fun-body form, used for lexical scoping.
21608 (byte-compile-save-window-excursion)
21609 (byte-compile-with-output-to-temp-buffer): Remove.
21610 (byte-compile-defun): Simplify.
21611 (byte-compile-stack-adjustment): New fun.
21612 (byte-compile-out): Use it.
21613 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21614
21615 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21616 handler any more.
21617
21618 * emacs-lisp/byte-opt.el: Use lexical binding.
21619 (byte-inline-lapcode): Remove (to bytecomp).
21620 (byte-compile-inline-expand): Pay attention to inlining to/from
21621 lexically bound code.
21622 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21623 any more.
21624 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21625 any more and don't call compiler-macros.
21626 (byte-compile-splice-in-already-compiled-code): Remove.
21627 (byte-code): Don't inline any more.
21628 (disassemble-offset): Receive `bytes' as argument rather than via
21629 dynamic scoping.
21630 (byte-compile-tag-number): Declare before first use.
21631 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21632 `return' even if make-spliceable.
21633 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21634 obsolete interactive-p.
21635 (byte-optimize-lapcode): Optimize new lap-codes.
21636 Don't trip up on new form of `byte-constant' lap code.
21637
21638 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21639
21640 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21641
21642 * custom.el (custom-initialize-default, custom-declare-variable):
21643 Use `defvar'.
21644
21645 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21646 New variables.
21647 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21648 (COMPILE_FIRST): Add macroexp and cconv.
21649 * makefile.w32-in: Mirror changes in Makefile.in.
21650
21651 * vc/cvs-status.el:
21652 * vc/diff-mode.el:
21653 * vc/log-edit.el:
21654 * vc/log-view.el:
21655 * vc/smerge-mode.el:
21656 * textmodes/bibtex-style.el:
21657 * textmodes/css-mode.el:
21658 * startup.el:
21659 * uniquify.el:
21660 * minibuffer.el:
21661 * newcomment.el:
21662 * reveal.el:
21663 * server.el:
21664 * mpc.el:
21665 * emacs-lisp/smie.el:
21666 * doc-view.el:
21667 * dired.el:
21668 * abbrev.el: Use lexical binding.
21669
21670 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21671
21672 * info.el (info-display-manual): New function.
21673
21674 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21675
21676 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21677
21678 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21679
21680 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21681 an entry for that server in rcirc-authinfo. (Bug#8385)
21682
21683 2011-03-31 Glenn Morris <rgm@gnu.org>
21684
21685 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21686
21687 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21688
21689 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21690
21691 * progmodes/python.el (python-default-interpreter)
21692 (python-python-command-args, python-jython-command-args)
21693 (python-which-shell, python-which-args, python-which-bufname)
21694 (python-file-queue, python-comint-output-filter-function)
21695 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21696 variables and functions.
21697
21698 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21699
21700 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21701 (completion-in-region-mode): New minor mode.
21702 (completion-in-region): Use it.
21703 (completion-in-region--data, completion-in-region-mode-map): New vars.
21704 (completion-in-region--postch): New function.
21705 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21706 New vars.
21707 (completion--capf-wrapper): New function.
21708 (completion-at-point): Use it to track well-behavedness of
21709 hook functions.
21710 (completion-help-at-point): New command.
21711
21712 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21713
21714 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21715 syntax class to search for whitespace on a single line
21716 (Message-ID: <4D938140.4030905@redhat.com>).
21717
21718 2011-03-30 Leo Liu <sdl.web@gmail.com>
21719
21720 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21721 New commands.
21722 (edit-abbrevs-map): Bind them here.
21723 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21724
21725 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21726
21727 * allout.el (allout-hide-by-annotation, allout-flag-region):
21728 Reduce possibility of overlay leakage by making them volatile.
21729
21730 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21731 hash is not shared between buffers. Mode initialization is
21732 responsible for giving it a useful starting value.
21733 (allout-item-span): Reduce possibility of overlay leakage by
21734 making them volatile.
21735 (allout-widgets-count-buttons-in-region): Add diagnostic function
21736 for tracking down button overlay leaks.
21737
21738 2011-03-29 Leo Liu <sdl.web@gmail.com>
21739
21740 * ido.el (ido-read-internal): Use the default history var
21741 minibuffer-history if no HISTORY is specified.
21742
21743 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21744
21745 * net/imap.el (imap-shell-open, imap-process-connection-type):
21746 Use imap-process-connection-type for 'shell' streams as well as
21747 Kerberos, SSL, other subprocesses.
21748
21749 2011-03-28 Leo Liu <sdl.web@gmail.com>
21750
21751 * abbrev.el (abbrev-table-empty-p): New function.
21752 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21753 nonempty ones. (Bug#5937)
21754
21755 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21756
21757 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21758
21759 2011-03-27 Leo Liu <sdl.web@gmail.com>
21760
21761 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21762 for foreground and background colors.
21763 (ansi-color-make-color-map): Adapt.
21764
21765 2011-03-25 Leo Liu <sdl.web@gmail.com>
21766
21767 * midnight.el (midnight-time-float): Remove. Note it calculates
21768 the microsecond component incorrectly and seconds-to-time does the
21769 same job.
21770 Remove redundant (require 'timer).
21771
21772 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21773 (ido-completions): Remove unused arguments. (Bug#8329)
21774
21775 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21776
21777 * minibuffer.el (completion--flush-all-sorted-completions):
21778 Remove itself from hook.
21779 (completion-at-point): Let the functions perform the completion
21780 immediately and return nil or t.
21781 * comint.el (comint-dynamic-complete-functions): Now identical to
21782 completion-at-point-functions.
21783 (comint-dynamic-list-input-ring): Remove unused var `index'.
21784 (comint--match-partial-filename, comint--unquote&expand-filename):
21785 New funs, split from comint-match-partial-filename.
21786 (comint-dynamic-complete): Use completion-at-point.
21787 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21788
21789 2011-03-24 Drew Adams <drew.adams@oracle.com>
21790
21791 * thingatpt.el: Support `defun'.
21792
21793 2011-03-23 Leo Liu <sdl.web@gmail.com>
21794
21795 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21796
21797 * help-mode.el (help-mode-finish): Tweak regexp.
21798
21799 2011-03-23 Glenn Morris <rgm@gnu.org>
21800
21801 * eshell/esh-opt.el (eshell-eval-using-options):
21802 Do not bind unused local variable `eshell-option-stub'.
21803
21804 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21805
21806 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21807
21808 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21809 keymap variable in `with-no-warnings' to avoid a warning when the
21810 keymap has been already `defconst'ed.
21811
21812 2011-03-22 Leo Liu <sdl.web@gmail.com>
21813
21814 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21815 encode all chars in abbrevs; otherwise use emacs-mule or
21816 utf-8-emacs. (Bug#8308)
21817
21818 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21819
21820 * simple.el (backward-delete-char-untabify):
21821 Avoid warning about using `delete-backward-char'.
21822
21823 * image.el (image-type-file-name-regexps): Make it variable.
21824 `imagemagick-register-types' modifies it, and the user may want
21825 to add new extensions for known image types.
21826 (imagemagick-register-types): Throw error if not using ImageMagick.
21827
21828 2011-03-22 Leo Liu <sdl.web@gmail.com>
21829
21830 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21831 located before rcirc-prompt-end-marker.
21832 (rcirc-complete): Error if point is not after rcirc prompt.
21833 Handle the case when table is nil.
21834 (rcirc-user-authenticated): Define to fix compiler warning.
21835
21836 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21837
21838 * custom.el (custom--inhibit-theme-enable): Make it affect only
21839 custom-theme-set-variables and custom-theme-set-faces.
21840 (provide-theme): Ignore custom--inhibit-theme-enable.
21841 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21842 (custom-enabling-themes): Delete variable.
21843 (enable-theme): Accept only loaded themes as arguments.
21844 Ignore the special custom-enabled-themes variable.
21845 (custom-enabled-themes): Forbid themes from setting this.
21846 Eliminate use of custom-enabling-themes.
21847 (custom-push-theme): Quote "changed" custom var entry.
21848
21849 2011-03-21 Leo Liu <sdl.web@gmail.com>
21850
21851 * ido.el (ido-read-internal): Add ido-selected to history instead
21852 of user input.
21853
21854 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21855
21856 * subr.el (deferred-action-list, deferred-action-function):
21857 Mark obsolete.
21858
21859 2011-03-21 Leo Liu <sdl.web@gmail.com>
21860
21861 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21862 change on 2011-02-13 (bug#8309).
21863
21864 * minibuffer.el (read-file-name-function): Change default value.
21865 (read-file-name--defaults): Rename from read-file-name-defaults.
21866 (read-file-name-default): Rename from read-file-name.
21867 (read-file-name): Call read-file-name-function.
21868
21869 2011-03-21 Glenn Morris <rgm@gnu.org>
21870
21871 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21872 Doc fixes.
21873
21874 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21875
21876 * cus-theme.el: Add missing provide statement.
21877 (customize-create-theme): Extract theme value correctly.
21878 (custom-theme-visit-theme): Autoload.
21879 (customize-create-theme): Prompt before inserting default faces.
21880
21881 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21882
21883 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21884 units and musical notes.
21885
21886 2011-03-20 Leo Liu <sdl.web@gmail.com>
21887
21888 * ido.el (ido-read-internal): Use completing-read-default.
21889 (ido-completing-read): Fix compatibility with completing-read.
21890
21891 2011-03-20 Christian Ohler <ohler@gnu.org>
21892
21893 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21894 (ert-delete-all-tests): Use `called-interactively-p' rather than
21895 `interactive-p'.
21896 (ert--make-xrefs-region): Respect END.
21897
21898 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21899
21900 * dired-aux.el (dired-create-directory): Signal an error if the
21901 directory already exists (Bug#8246).
21902
21903 * facemenu.el (list-colors-display): Call list-faces-display
21904 inside with-help-window.
21905 (list-colors-print): Use display property to align the final
21906 column, instead of checking window-width.
21907
21908 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21909
21910 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21911 windows-nt systems.
21912 (emerge-protect-metachars): Quote correctly for ms-dos and
21913 windows-nt systems.
21914
21915 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21916
21917 * info.el (info-initialize): Replace all uses of `:' with
21918 path-separator for compatibility with non-Unix systems.
21919 Cache quoting of path-separator. (Bug#8258)
21920
21921 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21922
21923 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21924 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21925 (mouse-avoidance-mode): Fix typos in docstrings.
21926
21927 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21928
21929 * startup.el (package-subdirectory-regexp): Move from package.el.
21930 Omit \\` and \\', and let callers add them.
21931
21932 * emacs-lisp/package.el (package-strip-version)
21933 (package-load-all-descriptors): Add \\` and \\' to
21934 package-subdirectory-regexp before using it.
21935 (package-untar-buffer): New arg DIR; ensure that file untars only
21936 into this expected directory. Remove superfluous delete-region.
21937 (package-unpack): Caller changed.
21938 (package-tar-file-info): Use package-subdirectory-regexp.
21939
21940 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21941
21942 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21943 diff-mode-shared-map (bug#8284).
21944 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21945
21946 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21947
21948 * calendar/time-date.el (format-seconds): Use assoc instead of
21949 assoc-string, since assoc-string doesn't exist in XEmacs.
21950
21951 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21952
21953 * custom.el (custom-known-themes): Reflow docstring.
21954 (custom-theme-load-path): Fix typo in docstring.
21955 (load-theme): Fix typo in error message.
21956 (custom-available-themes, custom-variable-theme-value):
21957 Use `let', not `let*'.
21958
21959 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21960
21961 * calc/README: Mention inclusion of musical notes.
21962
21963 * calc/calc-units.el (calc-lu-quant): Rename from
21964 `calc-logunits-quantity'.
21965 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21966 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21967 (calc-db): Rename from `calc-dblevel'.
21968 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21969 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21970 (calc-np): Rename from `calc-nplevel'.
21971 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21972 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21973 (calc-lu-plus): Rename from `calc-logunits-add'.
21974 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21975 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21976 (calc-lu-minus): Rename from `calc-logunits-sub'.
21977 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21978 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21979 (calc-lu-times): Rename from `calc-logunits-mul'.
21980 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21981 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21982 (calc-lu-divide): Rename from `calc-logunits-div'.
21983 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21984 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21985
21986 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21987 functions being autoloaded.
21988
21989 * calc/calc.el (calc-lu-power-reference): Rename from
21990 `calc-logunits-power-reference'.
21991 (calc-lu-field-reference): Rename from
21992 `calc-logunits-field-reference'.
21993
21994 * calc/calc-help.el (calc-l-prefix-help):
21995 Mention musical note functions.
21996
21997 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21998
21999 * minibuffer.el (completion-all-sorted-completions):
22000 Use :completion-cycle-penalty text property if present.
22001
22002 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22003
22004 * allout.el (allout-yank-processing): Adjust for new rebulleting
22005 regime so bullet being yanked is used without prompting the user
22006 for a choice.
22007
22008 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22009
22010 * startup.el (command-line): Warn the user that _emacs is deprecated.
22011
22012 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22013
22014 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22015 (delphi-verbose, delphi-comment-face, delphi-string-face)
22016 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22017 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22018 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22019 (delphi-new-comment-line, delphi-font-lock-defaults)
22020 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22021 Fix typos in docstrings.
22022
22023 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22024
22025 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22026 Invert the roles of character and string values for INSTEAD, so a
22027 string is used for the more common case of a defaulting prompt.
22028
22029 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22030
22031 * progmodes/ruby-mode.el (ruby-backward-sexp):
22032 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22033 * play/gamegrid.el (gamegrid-make-face):
22034 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22035 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22036 * notifications.el (notifications-notify):
22037 * net/xesam.el (xesam-search-engines):
22038 * net/quickurl.el (quickurl-list-insert):
22039 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22040
22041 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22042
22043 * startup.el (command-line): Update package subdirectory regexp.
22044
22045 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22046
22047 * allout.el (allout-abbreviate-flattened-numbering)
22048 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22049
22050 * subr.el (read-char-choice): Only show the cursor after the prompt,
22051 not after the answer.
22052
22053 2011-03-15 Kevin Ryde <user42@zip.com.au>
22054
22055 * help-fns.el (variable-at-point): Skip leading quotes, if any
22056 (bug#8253).
22057
22058 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22059
22060 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22061 warning message.
22062
22063 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22064
22065 * shell.el (shell): When called interactively, offer to change the
22066 shell file name on remote hosts.
22067
22068 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22069
22070 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22071 integration for LDAP parameters. The host, base, user or binddn,
22072 and secret tokens can be specified in a netrc file, for instance.
22073 This is optional because an `auth-source' parameter must be
22074 specified in the search attributes.
22075
22076 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22077
22078 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22079
22080 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22081
22082 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22083 into declaration. Remove redundant and harmful binding.
22084
22085 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22086
22087 * files.el (file-ownership-preserved-p): Pass `integer' as an
22088 explicit 2nd argument to `file-attributes'. If the file's owner
22089 is the Administrators group on Windows, and the current user is
22090 Administrator, consider that a match.
22091
22092 * server.el (server-ensure-safe-dir): Consider server directory
22093 safe on MS-Windows if its owner is the Administrators group while
22094 the current Emacs user is Administrator. Use `=' to compare
22095 numerical UIDs, since they could be integers or floats.
22096
22097 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22098
22099 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22100
22101 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22102
22103 Sync with Tramp 2.2.1.
22104
22105 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22106
22107 * net/trampver.el: Update release number.
22108
22109 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22110
22111 * progmodes/compile.el (compilation--previous-directory): Fix up
22112 various nil/dead-marker mismatches (bug#8014).
22113 (compilation-directory-properties, compilation-error-properties):
22114 Don't call it at a position past the one we're about to change.
22115
22116 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22117 Disable obsolescence warnings in the file that declares it.
22118
22119 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22120
22121 * allout-widgets.el (allout-widgets-tally):
22122 Initialize allout-widgets-tally as a hash table rather than nil to
22123 prevent mode-line redisplay warnings. Also, clarify the module
22124 description and fix a comment typo.
22125
22126 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22127
22128 * help-fns.el (describe-variable): Don't complete keywords.
22129 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22130
22131 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22132
22133 * emacs-lisp/package.el (package-version-join): Impose a standard
22134 string representation for pre/alpha/beta version lists.
22135 (package-unpack-single): Standardize the directory name by passing
22136 it through package-version-join.
22137 (package-strip-rcs-id): Accept any version string that does not
22138 signal an error in version-to-list.
22139
22140 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22141
22142 * simple.el (delete-trailing-whitespace): Return nil for the
22143 benefit of `write-file-functions'.
22144
22145 2011-03-10 Glenn Morris <rgm@gnu.org>
22146
22147 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22148
22149 * vc/vc-git.el (vc-git-program): New option.
22150 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22151 (vc-git--call): Use it.
22152
22153 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22154
22155 * cus-edit.el (Custom-newline): If no button at point, look
22156 for a subgroup button at start-of-line. (Bug#2298)
22157
22158 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22159
22160 2011-03-10 Julien Danjou <julien@danjou.info>
22161
22162 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22163 `cursor-type' is nil.
22164
22165 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22166
22167 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22168
22169 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22170
22171 * allout.el: Change so yank of distinctive-bullet items
22172 preserves the existing header prefix, rebulleting it if necessary,
22173 rather than replacing it. This is necessary for proper operation
22174 of cooperative addons like allout-widgets.
22175 (allout-make-topic-prefix, allout-rebullet-heading):
22176 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22177 value as alternate bullet to be used, instead of prompting the user
22178 for a bullet character.
22179
22180 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22181
22182 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22183 Do not use `tramp-file-name-port', because this returns also
22184 `tramp-default-port'.
22185
22186 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22187
22188 * net/rcirc.el (rcirc-handler-001): Remove useless
22189 with-rcirc-process-buffer.
22190 (rcirc-check-auth-status): Swap arguments to string-match.
22191
22192 2011-03-09 Glenn Morris <rgm@gnu.org>
22193
22194 * shell.el (shell-mode):
22195 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22196
22197 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22198 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22199
22200 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22201
22202 * emacs-lisp/package.el (package-refresh-contents)
22203 (package-menu-execute): Use condition-case-no-debug.
22204
22205 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22206
22207 * simple.el (shell-command-to-string): Use `process-file'.
22208
22209 * emacs-lisp/package.el (package-tar-file-info): Handle also
22210 remote files.
22211
22212 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22213 Use `equal' for upload base check.
22214
22215 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22216
22217 * textmodes/texinfo.el (texinfo-environments):
22218 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22219
22220 2011-03-08 Glenn Morris <rgm@gnu.org>
22221
22222 * cus-start.el (cursor-in-non-selected-windows):
22223 Fix :set quoting oddness. (Bug#8192)
22224
22225 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22226 in some setf expressions. (Bug#2159)
22227
22228 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22229
22230 * custom.el (custom-available-themes): Return themes in
22231 alphabetical order.
22232
22233 See ChangeLog.15 for earlier changes.
22234
22235 ;; Local Variables:
22236 ;; coding: utf-8
22237 ;; End:
22238
22239 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22240
22241 This file is part of GNU Emacs.
22242
22243 GNU Emacs is free software: you can redistribute it and/or modify
22244 it under the terms of the GNU General Public License as published by
22245 the Free Software Foundation, either version 3 of the License, or
22246 (at your option) any later version.
22247
22248 GNU Emacs is distributed in the hope that it will be useful,
22249 but WITHOUT ANY WARRANTY; without even the implied warranty of
22250 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22251 GNU General Public License for more details.
22252
22253 You should have received a copy of the GNU General Public License
22254 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.